News for hackers. Stuff that matters.

pwaivers

I am hesitant to install the plugin because Chrome warns that it can "Read and change all your data on the websites you visit." Is this a normal authorization to give to Chrome extensions?

Overall I think it's a really cool extension idea and I would love to use it.

This is a really cool website!
Re:American Airlines bans masks with exhaust valves and vents on Wednesday August 12, 2020 @03:04PM (#24135566)
Not all of them. For example, the two masks pictures here do not: https://en.wikipedia.org/wiki/N95_mask.
Re:U.S. Economy Contracted at Record Rate Last Quarter on Thursday July 30, 2020 @09:22AM (#23997790)
Here's a pretty good explanation of how the figures are reported (and why it can be misleading): https://www.nytimes.com/2020/07/29/business/economy/us-gdp-r....
It's difficult to have both, no?
Re:The Coming Chip Wars on Thursday June 18, 2020 @01:00PM (#23565096)
Please read the rest of the article. It discusses how China could force TSMC to stop producing chips. It even covers the US foundry, and why it won't make a difference.
Re:A hands-on introduction to static code analysis on Monday May 04, 2020 @04:01PM (#23072618)
Thanks for this article, dolftax! I followed all the examples on my machine with no problem, and I learned some new stuff.

I have a question: how difficult is it to implement the ast? It seems like that the bulk of the work for this static code analysis.

Re:Don't Mess with Texas on Tuesday April 21, 2020 @08:55PM (#22940951)
What source do you have that Canada has disproportionate contributions, compared to the US? The Wikipedia page doesn't say that.
Re:Three free meals available daily for any New Yorker on Friday April 03, 2020 @01:45PM (#22772077)
Do you have a link for this? I see free meal for 18 and under in SF, but not for adults also.
Re:State projections for Covid-19 on Friday March 20, 2020 @05:00PM (#22641617)
Thanks. I did see that, but it should more than a (literal) asterisk at the bottom of the page.
Herd Immunity (https://en.wikipedia.org/wiki/Herd_immunity) means that everyone doesn't need to get it. The threshold for COVID-19 is estimated to be between 29-75%.
Re:State projections for Covid-19 on Friday March 20, 2020 @04:47PM (#22641501)
https://covidactnow.org/state/CA

This is missing a HUGE point. At the very end of the California "shelter-in-place" plan, the numbers will go up. What it doesn't show is that this will merely delay the epidemic to 3 months in the future. The chart useless with only a 3 month time horizon.

Re:S&P warns 1 in 10 US firms may default on debt on Friday March 20, 2020 @04:45PM (#22641488)
I don't think 12 months without revenue is "living on knifes edge"
Re:AirPods on Wednesday March 20, 2019 @09:45AM (#19442059)
I've never had latency issues while talking on the phone using my AirPods.
> "After pulling a few strings to get into the Takaoka plant, you will see the Gordian knot become untied."

Um... the Gordian knot was not untied, but rather cut by a sword. It's supposed to be a bold, out-of-the-box solution to a seemingly impossible problem. I don't know if the author of the article chose the wrong word on purpose.

Re:Dynamic Programming for Technical Interviews on Friday March 15, 2019 @12:04PM (#19400904)
To be more elegant, you can remove the "dp" array. If you want to keep track of the full list, then you only need to keep track of "dpl". Here is code that I wrote and it works:

  n = 10
  denom = [1, 3, 4]
  dpl = [[] for i in range(n+1)]
  def f(n):
      if dpl[n]:
          return dpl[n]
  
      if n <= 0:
          return []

      ans = list(range(n))  # this is the max size possible
      for i in denom:
          if n-i >= 0:
              new = f(n-i) + [i]  # append i to the end of the array
              if len(new) <= len(ans):
                  ans = new

      dpl[n] = ans
      return ans

  if __name__ == "__main__":
      sol = f(n)
      print(sol)
Re:Addressing Spotify’s Claims on Friday March 15, 2019 @10:36AM (#19400061)
> "We found Spotify’s claims about Apple Watch especially surprising. When Spotify submitted their Apple Watch app in September 2018, we reviewed and approved it with the same process and speed with which we would any other app. In fact, the Spotify Watch app is currently the No. 1 app in the Watch Music category."

A) I don't see it on the watch store, and B) that is a long time to finally get on the watch store!

Re:Launch HN: Superb AI (YC W19) – AI-Powered Training Data on Wednesday March 13, 2019 @05:43PM (#19384188)
It's really a matter of productivity. Creating training sets of data is a labor intensive process. It may not be worth the cost to do so, if they can outsource that work instead.
Re:Launch HN: Superb AI (YC W19) – AI-Powered Training Data on Wednesday March 13, 2019 @05:32PM (#19384083)
This is great. Thank you for posting.

What humans do you have tagging the images, after the AI portion? Are they the 13 employees you have now?

Do you think that you will need to focus on a couple of verticals, so that your AI will have more of an impact?

Re:Spotify to Apple: Time to Play Fair on Wednesday March 13, 2019 @04:28PM (#19383383)
> ...and they are clearly profitable enough if they can buy Super Bowl airtime.

This is not a good reason to limit how much money an app developer makes. You want to make the play field fair, regardless if there are some companies making a lot of money.

Re:Why the Amazon River Can't Be Crossed by Bridge (2018) on Wednesday March 13, 2019 @09:36AM (#19378438)
The matupás mentioned in the article are also really interesting: https://www.atlasobscura.com/articles/the-science-and-legend...
Re:Graying Out on Tuesday March 12, 2019 @03:57PM (#19372311)
I don't think the IM era is over. Now, there is Slack, Facebook Messenger, and Google Hangouts. These have some very cool features and you can easily set up a chat with all your friends.
Re:Common Mistakes When Hiring Software Engineers on Tuesday March 05, 2019 @03:46PM (#19314072)
> Better yet, design your interview question to be missing important details. This will give candidates the opportunity to discover the need for these details when they get to them and ask for them at that time. If the candidate never asks questions, great! You just identified a serious red flag you would have been hard pressed to find otherwise.

This is just another way to ask trick questions. You are purposely leaving out important information. I don't think this is a bad thing, but it is stressful to answer these questions.

Re:Common Mistakes When Hiring Software Engineers on Tuesday March 05, 2019 @03:42PM (#19314035)
> What are some traits shared by the best programmers you know? I'd wager things like introversion, thoughtfulness and detail orientation show up on your list.

I would not put introversion on that list. Great engineers can be either extroverted or introverted. It is irrelevant to quality of coding.

Re:How the N.Y. Public Library Fills Its Shelves on Monday March 04, 2019 @09:49AM (#19301655)
The famous books probably get rented more quickly.

They say in this article that public interest largely drives what the library buys. Even if you consider a book "trashy", it still may be very popular and culturally relevant.

Re:Is the Insect Apocalypse Upon Us? on Wednesday February 20, 2019 @09:30AM (#19208030)
> Betteridge's law of headlines is an adage that states: "Any headline that ends in a question mark can be answered by the word no."

The article says that the "insect apocalypse" is not going to happen, despite pretty strong evidence of insect decline. So Betteridge's Law does hold here.

Any links or suggestions?
It isn't lazy to want to listen to unlimited music from an app on your phone. Its an efficient and a very useful service. There are other options (like buying albums), but Spotify makes it easier.
Re:A Humility Training Exercise for Technical Interviewers on Monday February 04, 2019 @02:43PM (#19079898)
How would you automate it?

Older »