Readit News logoReadit News
devinj commented on The most important goal in designing software is understandability   ntietz.com/blog/the-most-... · Posted by u/damethos
devinj · 2 years ago
If the reason understandability is important is that it means you get fewer defects etc, then really it isn't that it's important, it's that defects etc are important. This article is completely confusing means vs ends.
devinj commented on Remote code execution vulnerability in Google they are not willing to fix   giraffesecurity.dev/posts... · Posted by u/speedboat199
jeffbee · 3 years ago
People from outside Google freak out about this because at their company, in 99.9% of companies, running code on an engineer's workstation would immediately be the highest possible level of breach. Said process could silently insert code into repos, corrupt the build environment, replace packages in production, or whatever. If you never worked at a company that took it seriously it is hard to imagine that there are people who do take it seriously, and that it is possible to have technical defenses against committing unreviewed and unapproved code, poisoning the official build toolchain, or surreptitiously changing production software images.
devinj · 3 years ago
OP compromised more than one user's machine. So they could write the change on one machine, and send it to be reviewed and approved by another user.

(I work at Google but have no special insight. My opinions are my own.)

devinj commented on A Universal Cancer Treatment?   nautil.us/a-universal-can... · Posted by u/WithinReason
uwuemu · 3 years ago
> cancer cells ferment blood sugar

oh boy

devinj · 3 years ago
They do.

Eg https://www.cancer.gov/research/key-initiatives/ras/ras-cent...

Obviously not usually considered cause, but rather effect.

devinj commented on D.C.-area startup wants to solve the public bathroom problem   washingtonian.com/2022/08... · Posted by u/danso
technion · 3 years ago
If you could explain to an Australian here: I have either a pub or a McDonalds every two blocks that any person can walk into and use a restroom. This would include industrial areas. Is that not the case in Seattle?
devinj · 3 years ago
Surprisingly, yes, there's really not a lot of McDonald's or other chain fast food restaurants downtown. You can try exploring in Google maps to get a feel for it (consider eg the area around Mercer and Dexter Ave). You can get to one, but it may be a half hour detour on foot. What is closer will be awkward as they describe.
devinj commented on Bosque Programming Language   github.com/microsoft/Bosq... · Posted by u/bsg75
devinj · 6 years ago
The snark and meanness in this HN thread is totally uncalled for and why people don't publish code. I can't believe this thread is on the front page together with https://news.ycombinator.com/item?id=23157783 . Go read that, especially the ending comments on open source.

> I made this thing that I thought was cool and I gave it away, and what I got back were occasionally friendly people who nicely requested things from me, but more often angry users who demanded things of me, and rarely anyone saying thanks.

Deleted Comment

devinj commented on C++17 Standard Published   iso.org/standard/68564.ht... · Posted by u/whack
mratzloff · 8 years ago
It's not as major of an update as previous releases, but there are a lot of little convenience features.

String views, same-line nested namespaces, [[fallthrough]], if with init (I'm sure Google single-handedly got this included; it's very Go-reminiscent and really nice when not using exceptions), structured bindings, maybes with std::optional (occasionally useful), and even just something as simple as emplace returning a reference.

What fixes do you think std::move needs, out of curiosity?

devinj · 8 years ago
std::move should extend the lifetime of a temporary like static_cast does. (Or else not accept temporaries). Otherwise, no new features necessary. But that one bites sometimes.
devinj commented on Interview with Mr. Money Mustache   blog.ycombinator.com/dont... · Posted by u/craigcannon
mywittyname · 8 years ago
https://personal.vanguard.com/us/funds/snapshot?FundIntExt=I...

Yields 2.99% - 0.15% for expenses. So you'd need roughly 34 times spending to get by on dividends alone.

devinj · 8 years ago
SEC yield already includes expenses, so it's just 2.99%. (The actual dividend yield is 3.08%. I don't know where the other .06% comes from, but IANAA).
devinj commented on Jim Mellon and high-profile partners roll the dice on an anti-aging upstart   endpts.com/british-billio... · Posted by u/discombobulate
JoshTriplett · 8 years ago
> the limited capacity of our brain

That's both fixable and already something we have mechanisms to cope with. You already remember the highlights of your life, not every single waking moment.

> the mean time from birth to a fatal accident being around two hundred years.

I've seen various statistics for that, but in any case, all the more incentive to fix that, too. We don't avoid curing a disease just because other diseases still exist.

devinj · 8 years ago
Any finite sized brain will eventually repeat itself or halt, is probably the main point. This is probably not something we can work around.

u/devinj

KarmaCake day687February 25, 2010
About
I'm a programmer who enjoys video games and long walks on the beach.
View Original