HackerTrans
TopNewTrendsCommentsPastAskShowJobs

brlewis

no profile record

comments

brlewis
·27 दिन पहले·discuss
The article gives anecdotal evidence that combining personal stories with advice in a book is more effective than delivering distilled information.
brlewis
·27 दिन पहले·discuss
I thought the explanation for podcasts was people who drive to and from work, and don't care for current radio shows.
brlewis
·2 वर्ष पहले·discuss
> you start to realize _why_ there's a stack, rather than just a single technology to rule them all

Architecturally, there are other cases besides message queues where there's no reason for introducing another layer in the stack, once you have a database, other than just because SQL isn't anybody's favorite programming language. And that's the real reason there's a stack.
brlewis
·3 वर्ष पहले·discuss
The rationalization given in this comment for the layoffs is obviously false. Google had ways of getting rid of underperformers without massive layoffs that they have been using for many years. Google has ways of getting rid of projects that do not involve layoffs.
brlewis
·6 वर्ष पहले·discuss
You are dismissing the paper's authors when they say "exposure levels and durations in our studies were greater than what people experience" by assuming they're ignorant of exposure levels and durations that people experience.
brlewis
·6 वर्ष पहले·discuss
This Hamming quote is gold. I like the way it tells how to put "know your audience" into practice:

... ask why you read some articles and not others. You had better write your report so when it is published ... as the readers are turning the pages they won't just turn your pages but they will stop and read yours. If they don't stop and read it, you won't get credit.
brlewis
·6 वर्ष पहले·discuss
Zuck was talking to Harvard's newspaper about Facebook shortly after he started coding it, and as soon as it was finished he sent it to a 300-member email list: https://en.wikipedia.org/wiki/History_of_Facebook#Facebook

I have a side project where you rate statements 1-5 for their truthfulness. "Zuck didn't have to sell Facebook" makes me feel like I need to add even lower numbers.
brlewis
·6 वर्ष पहले·discuss
This is only because the trust given to apps is insane. No distinction between foreground GPS and background GPS? Sure, I wouldn't want web sites to work that way either. But if permissions were sane there would be no reason not to have native apps and web apps ask for the same permissions in the same way.
brlewis
·7 वर्ष पहले·discuss
I think you have in mind something that's very different from create-react-app.
brlewis
·7 वर्ष पहले·discuss
I only used it recently, 3.0.1, but it has seemed clean to me. But I'm the opposite re. build methods. I'd rather not think about build methods and just stay focused on the app.
brlewis
·7 वर्ष पहले·discuss
Actually cra hides the boilerplate configuration in react-scripts. If you want to touch the configuration that you never need to touch, there's eject. It's my intention never to use eject.

The only useless thing I recall removing was some service worker code in the default template. If that bothers you it looks like they're making it easy for you to make your own template that's even leaner.
brlewis
·7 वर्ष पहले·discuss
Right, which goes back to the question shtylman asked about why doSomething couldn't be part of the try block. I'm tossing this form out there in case it helps. People sometimes forget that await can go wherever an expression goes.
brlewis
·7 वर्ष पहले·discuss
Another commenter pointed out that .catch is perfectly fine in the async/await world, even though you pretty much never use .then anymore. Here's another way of doing it:

  try {
    doSomething(await funcThatReturnSomeType());
  } catch (err) {
    doSomethingWithErr(err);
  }
brlewis
·9 वर्ष पहले·discuss
“It ain’t what you don’t know that gets you into trouble. It’s what you know for sure that just ain’t so.”

This is my favorite Mark Twain misquote because it's self-referential.
brlewis
·10 वर्ष पहले·discuss
In the 1980s Scheme was not performant enough. C was how you got tolerably fast programs. A lot of research, notably in garbage collection, has made Scheme much more performant since then. Additionally, computer hardware has improved to the point where people write useful programs in languages that are dramatically slower than Scheme, e.g. PHP, Python, Ruby.

You are conflating minimalism with the Scheme language because Scheme is often used to illustrate minimalism. Vectors and hash tables are not "all this other stuff", they're part of the language spec[1]. You're also throwing Lisp in there even though minimalism is not a central theme of Lisp.

[1] When you did SICP hash tables were not part of the language spec although implementations generally had them; they got standardized in 2007 with R6RS. But vectors were in the language spec since at least 1985.
brlewis
·11 वर्ष पहले·discuss
When are governments going to stop maintaining roads and bridges for terrorists to safely drive on?
brlewis
·11 वर्ष पहले·discuss
(1983)