Hacker Newsnew | past | comments | ask | show | jobs | submit | more dllthomas's commentslogin

I use tmux (or screen) as a bag for holding context. I set an environment variable before spawning it, and then key a lot of things in my .bashrc off that environment variable so I get context-specific functions/aliases/vars/etc, and keep them when I open a new window in an existing tmux. The single best part of this is separate histories for my development vs system administration vs whatever, although the rest is still quite useful.


> some people favor one parent, and some the other

A number of the responses here say things like this, and I'm picking this one somewhat arbitrarily to call out that "people" isn't the only dividing line - some people very much favor different sides of it at different times, in different moods, in different contexts, to varying degrees.


> the difference in Rust between just returning an error (a ? at the end of the expression that can return one) vs adding context is much higher

I don't disagree with what you've said, but I think this is likely to be read too strongly.

Adding a map_err before the ? is only a big step up in verbosity because the ? alone is so very terse.


I just always make my own error type and as part of their creation throw a backtrace into the struct. Then using `?` gives me a stack trace for free.


Yeah, if all the context you want is the backtrace, that works just fine.


Nit, but you also have to remove unsafeCoerce, some pointer stuff, and possibly a few other things.


Perhaps Devil's advocate, but my rebuttal would be that we're not necessarily comparing similar gains to correctness as to optimisation, and that perhaps the correctness gains can be better attained another way where the optimisation gains cannot.

(Personally I find a type checker tremendously valuable for communicating with myself - and my team, I suppose - about assumptions being made in other parts of the program, which can probably be accounted "correctness".)


"Wait, what did I change that impacted that test?"

An intersection between code coverage and a git diff once answered that handily for me.


No, the crime isn't staying in. The crime (if it is one) is choosing to stay in. If he reports on messages from 6mo ago with an auto-delete of 1wk, he was aware of it roughly 6mo ago (and taking it seriously enough to preserve things).


Though tbh I might take Bozo over Columbus.


> Can you do the first two years of education and credits at a community college, and transfer to a state school for the last 2 years?

That's what I did (albeit at a very different time in my life) and it worked well. Community colleges are usually quite supportive of students taking a light load for longer - it's a common need among their (actual and potential) students for a variety of reasons.


> UBI will not increase supply or decrease demand

Actually, I contend that it can increase supply of "housing sufficiently near sufficient income" by improving some marginal (existing or potential) housing.

Many devils in the details, of course.


Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: