Live data from Hacker News

What Happened to Lee

wired.com

281–290 of 299 posts

Re: What Happened to Lee

#281

Terrifying. As a software engineer, shit like this scares me. I've felt like I'm on a steady, slow, decline for the last ~4 years. Is it just burnout? Do I need a new hobby? I used to love programming... Spent 12 hours a day jamming on it. Now, I struggle to keep my mind on a line of code for more than 5 minutes. At what point is it just burnout, or at what point is it something more? That's what's terrifying to me.…

I'm the same. Often incapable of grasping a solution which I know is just within reach. With some problems I can "feel" my brain just blocking, I can't visualise complex data structures. I'll spend days staring at a problem until I give up and ask a colleague who quickly points out the obviously solution. Pretty embarrassing.

Re: What Happened to Lee

#282

Terrifying. As a software engineer, shit like this scares me. I've felt like I'm on a steady, slow, decline for the last ~4 years. Is it just burnout? Do I need a new hobby? I used to love programming... Spent 12 hours a day jamming on it. Now, I struggle to keep my mind on a line of code for more than 5 minutes. At what point is it just burnout, or at what point is it something more? That's what's terrifying to me.…

After reading this I had to do a quick self-assessment. For the last few years or so (I'm 33, also a software engineer) I've noticed a pretty big decline in my mental state. I can't focus. I immediately forget what I just looked at, read or did. I completely zone out when people talk to me. I am just not present in any situation. What is strange is that I can actually notice it, not in real-time however. It's been wo…

I have similar problems. Some of it might be because of underlying issues we'll probably never learn about it, but some of it is also social media and information overload.

There's so much shit bombarding us every day, all engineered to provide a dopamine fix and I 100% believe it's affecting our brains.

Re: What Happened to Lee

#283
post #269

Earlier quoted context omitted.

As long as you have the necessary tooling for source control, versioning, code search, etc. -- why is it the pits? I mean, if you stick to a rigorous procedure of automatically exporting your stored procedures to files and committing them to git with messages... how is that different from any other development? Serious question -- I've done tons of database work but only a little bit with stored procedures, so wonder…

Let's say that when you deploy, you want to direct 1% of traffic to the new code, then 5%, then 25%, then 50%, and finally 100%. And if monitoring metrics go red at any point, automatically roll back. A typical canary deployment. How do you do that with a sproc? With normal application code, you can have the load balancer send an arbitrary percentage of traffic to the new instances of the service. A sproc binds the c…

>Let's say... you want... 1%... then 5%, then 25%

Honestly though, it feels like the argument you are making here is that it's impossible in general to incrementally roll out database changes? Sure, it's definitely not as simple or easy as spinning up new cloud application instances and diverting http requests, but it's not impossible or infeasible by any means. The problem with databases is that the best solutions are always so subjective and context specific. It's very hard to write out simple, easy-to-understand, "rules," or "concepts," or whatever. Every answer, to every hard problem, is "it depends."

What are we rolling out here? Does the sproc write data or read data? Both? From the same table/schema/server/etc? Does it move data around? How much data? Do you already have read-replicas? How is data replicated to those? Do you have any parallel-write setups with eventual consistency? What parts of the higher level application/platform utilize this part of the database that we want to change? Can we spin up a new DB instance, with the new sproc, and establish data replication/change resolution with the legacy system as we are rolling out the change? Should we move everything to the new system and set up the compat piece as a _forward_ compat on the legacy side instead? etc, etc, etc.

>But actually pausing execution and inspecting data? Good luck.

There are plenty of ways to do this. Copy-paste the code of the proc into your DB IDE of choice, and execute it line by line. If the proc is using temp tables or @variables or anything else you should be easily able to instantiate those locally too and see what the values look like. Use a transaction and rollback and you can run this stuff over and over on prod if you really want to be sure of what it does. As long as you aren't locking stuff in the DB improperly.

There's also the idea of writing sprocs in a more testable/verifiable way. Maybe you have progress tracking tables with status id columns and timestamps. Maybe you split up a long sproc into phases which each write their outputs into "intermediate tables" in some sort of "processing" schema. Maybe you write things to files somewhere to be consumed by some federated monitoring system. Idk, I could think of random ideas all day here. A lot of them probably sound dumb at face value, but I really don't think any of these goals sound infeasible.

Re: What Happened to Lee

#284
post #86

Earlier quoted context omitted.

> the preexisting, running total of human suffering and tragedy in this world points to the fact that transcendent reality, the realm of God or a God, must have an alternative interpretation for human events You're begging the question. It doesn't point to that at all. Furthermore, I'd feel terrible accepting that "fact" if I were faithful. It would reduce my faith to that in a demiurge who can't (ergo impotent) or w…

Exactly, unless one sees the suffering of others as suffering of NPCs or punishment for a former life, I cannot understand how one can believe in a benevolent omnipotent god. The cruelty that some have to endure is simply not explainable with a such a god. It cannot be benevolent AND omnipotent by definition. It becomes far far far more likely that there is simply no such a god. It's not like this dilemma is new so t…

I always hear this back from people, but it's a failure in understanding what's being said. You can't conceive of any future "knowledge" or state of being or most broadly, "configuration of reality" which could retroactively justify or "make right" proven and real human suffering already suffered. That is just not possible to you.

That is what you're saying. It's isomorphic to your argument; it is your argument's essence.

Expressed that way, the issue becomes apparent. We cannot conceive of something; it is inconceivable. But that inconceivability is exactly what the original argument is asserting - it's a thing beyond human conceptualization. Exactly.

All parties to the argument find agreement on this point.

Re: What Happened to Lee

#285
Reflecting on the horror, how much worse is this condition for the families who aren't healthcare-wealthy enough to afford diagnosis?

Those victims likely get written off as a worthless drain on society.

Re: What Happened to Lee

#286
I am in deep sadness over what has happened to Lee, and I feel for his family, especially Kristin.

I can't help but draw parallels between this story and Flowers for Algernon. It's just sad to see such a young brilliant mind be broken down by this disease.

I wasn't expecting him to be diagnosed with FTD, I will admit that reading the first part of the article painted a very different picture of what might be causing his issues.

Also, since he had a heart condition, I wonder if for some reason that might have accelerated his condition?

Re: What Happened to Lee

#287
post #282

Earlier quoted context omitted.

After reading this I had to do a quick self-assessment. For the last few years or so (I'm 33, also a software engineer) I've noticed a pretty big decline in my mental state. I can't focus. I immediately forget what I just looked at, read or did. I completely zone out when people talk to me. I am just not present in any situation. What is strange is that I can actually notice it, not in real-time however. It's been wo…

I have similar problems. Some of it might be because of underlying issues we'll probably never learn about it, but some of it is also social media and information overload. There's so much shit bombarding us every day, all engineered to provide a dopamine fix and I 100% believe it's affecting our brains.

This. I agree with.

I have to force myself to only check my phone at certain times, and ensure that I don't use it too often. Ever since I have enabled night mode on my iPhone I find myself less distracted and getting better sleep. I also put apps like instagram, snapchat inside folders on a different page so they are always out of my sight.

Re: What Happened to Lee

#288

Terrifying. As a software engineer, shit like this scares me. I've felt like I'm on a steady, slow, decline for the last ~4 years. Is it just burnout? Do I need a new hobby? I used to love programming... Spent 12 hours a day jamming on it. Now, I struggle to keep my mind on a line of code for more than 5 minutes. At what point is it just burnout, or at what point is it something more? That's what's terrifying to me.…

I'm in the same boat. Sometime in late spring 2018 my productivity plummeted. Same did my activity on StackOverflow.

However I think what's a huge contributing factor is gaining experience. With every structure we come up with, every function and/or abstraction we also build a mental picture of all the possible dependencies it comes with. We see the bigger picture. And we see the same (potential) paths of failure again and again and again…

I found that another favorite activity of mine didn't suffer: Designing electronics. I can still (productively) spend hours on tinkering with SPICE simulations, soldering in-situ projects, and so on.

And recently I also discovered that it's not programming itself that has become harder for me. It is programming in domains I am extremely familiar with that I'm less productive in. If it's in an area I'm not familiar with, things are much easier, because I don't see the big picture yet.

Re: What Happened to Lee

#289
post #280

Earlier quoted context omitted.

I'm sorry, that sounds awful. I think it definitely could be any combination of those things. The brain is a very delicate and sensitive machine. I don't have specific recommendations, but I think that the potential for recovery should be much higher than what people with neurodegenerative diseases suffer from, like what was described in this article. There're a lot of risk and uncertainty trade-offs, and everyone re…

> The brain is a very delicate and sensitive machine Something as simple as a prion can completely destroy it and then there's Phineas Gage, someone whom all neurobio students learn about on day one of their course. Neuroplasticity can be quite amazing. https://en.wikipedia.org/wiki/Phineas_Gage

Yep. A lot of it is personal biology and a lot is also chance. You can be shot in the head and survive with not much cognitive impairment, or you could hit your head against something and be unable to speak or feed yourself for the reset of your life. We are very pliable but it's sad that we're also still so fragile, at the level of the "mind" / "soul". Hopefully there'll eventually be a day where consciousness can be hosted in a much more safe way, for both biological and total immortality.

I don't think it's exactly correct to say "a prion" can destroy it. One single prion I don't think would cause significant damage in most cases, if there could somehow be only a single one. The issue is that it's believed a prion will gradually cause nearby proteins to misfold and also become prions, and then it probably starts recurring exponentially like a pathogen infection, and your brain physically deteriorates and falls apart with no way to stop or reverse it. A very similar deterioration process appears to happen with other disorders like Alzheimer's and the form of dementia discussed in this article, though the root cause still isn't understood.

Re: What Happened to Lee

#290
post #276

Earlier quoted context omitted.

> How do you correlate those errors at the application level? If only 1% of sproc calls are the new sproc, any elevated error rates in the application will be hard to see over typical noise. By using the DBs error reporting features to report back errors to the application, including information about which ultimate implementation was handling the request.

That only covers errors that occur inside the sproc, not errors that are caused by the sproc. For example: What if the new version of the sproc succeeds, but the data it returns causes the application code to fail in some way? The sproc metrics would report 100% success and the application error rate wouldn't get above noise until a significant fraction of traffic was using the new buggy version of the sproc. It's po…

@ggreer, the grand-grand...parent, wrote:

> there's no way to do a gradual deploy of the code

There could be version numbers?

    some_procedure_v1()
    some_procedure_v2()
and new v2 version application server code calls v2 stored procedures. And if v2 app server code gets rolled back / cancelled, then, the v2 stored procedures automatically won't be used any more.
Post reply on HN