Better HN
topnewbestaskshowjobs
Log inSign up

jchavannes

449 karma · joined May 21, 2012 (14y ago) · 72 submissions

Submissions

comment 8y ago · link · parent

Is there a way to link to a number? Or enter a number to view the image?

comment 8y ago · link · parent

This is (one of the reasons) why you should use HTTPS Everywhere and enable blocking of all unencrypted requests. This isn't new.

You're susceptible to even worse MITM attacks if you allow unencrypted traffic when using public wifi.

comment 9y ago · link · parent

Thought I'd mention yours.org [1] which has multiple ways of monetizing content. With micropayments it's much more feasible to support this type of model. See their FAQ for more info [2].

[1] https://www.yours.org/

[2] https://www.yours.org/faq/

comment 9y ago · link · parent

Wikipedia article on this: https://en.wikipedia.org/wiki/Toba_catastrophe_theory#Geneti...

The Toba supereruption does correlate with a population decline, but evidence beyond that isn't very conclusive.

comment 9y ago · link · parent

They would need to MITM you. But take into account that it doesn't need to be Savitech. If Savitech was compromised, an attacker could get access to their private key.

In a sense, your security becomes dependent on the security of Savitech. I imagine their private key is not as securely stored as a real CA would store theirs. (e.g. with Superfish, Lenovo included the private key on all laptops, for anyone to grab[1])

[1] https://en.wikipedia.org/wiki/Superfish#Lenovo_security_inci...

comment 9y ago · link · parent

And yet somehow America didn't lose WWII. This type of rhetoric (that we need big government to make decisions for us) scares me a little.

Also, people don't need to be altruistic saviors, they can buy bonds.

comment 9y ago · link · parent

At least we'd have the choice to secure ourselves

comment 9y ago · link · parent

From a product perspective, it seems like a big decision and discussion about it may be insightful to those building other products.

From an engineering perspective, those who have Slack API integrations may be affected.

9.

A lingering farewell to the username(api.slack.com ↗)

93 points · by jchavannes · 9y ago · 92 comments

10.

MultiModel: Multi-Task Machine Learning Across Domains(research.googleblog.com ↗)

1 points · by jchavannes · 9y ago · discuss

comment 10y ago · link · parent

Yep. This is the code that's causing it[1]:

  var now = Date.now()/1000;
  var dt = now - then;
Adding this line fixes it:

  dt = dt > 1 ? 1 : dt;
[1] https://github.com/grondilu/grondilu.github.io/blob/47d41d/p...

comment 10y ago · link · parent

This is a good overview. The formula described is basically the Drake equation[1] - I'm surprised that isn't mentioned (other than in the sources) considering it is the basis of the Fermi Paradox.

There are lots of potential explanations for the Fermi Paradox[2]. One of the more popular theories is that we're intentionally not interacted with, for example the Prime Directive in Star Trek. Also, apparently 2001: A Space Odyssey is a rendition of the encounter of a type 1 civilization with a type 3 civilization[3]. This is along the lines of what was mentioned in the article about how earth is a young planet and that it would only take a relatively short amount of time (3.75 million years) to fully colonize the galaxy.

[1] https://en.wikipedia.org/wiki/Drake_equation

[2] https://en.wikipedia.org/wiki/Fermi_paradox#Hypothetical_exp...

[3] https://www.youtube.com/watch?v=6GooNhOIMY0&t=383

comment 10y ago · link · parent

https://en.wikipedia.org/wiki/Economics_and_patents

comment 11y ago · link · parent

From the article:

> Usually when a leap second is almost due, the NTP protocol says a server must indicate this to its clients by setting the “Leap Indicator” (LI) field in its response. [..] Rather than doing this, we applied a patch to our internal NTP servers to not set LI, and tell a small “lie” about the time, modulating this “lie” over a time window w before midnight

comment 11y ago · link · parent

  leap seconds, or the like
What else other than leap seconds are you referring to? Leap seconds are a problem for all time storage since most time parsers consider second 61 invalid [1]. They also only happen about once a year. Google just pretends they don't exist [2].

Converting from epoch to the local timezone is supported in pretty much every language. I'm not sure why you think it's such a pain.

[1] https://dev.mysql.com/doc/refman/5.0/en/time-zone-leap-secon...

[2] http://googleblog.blogspot.com/2011/09/time-technology-and-l...

comment 11y ago · link · parent

No mention of epoch time in the article? Just store using epoch and convert to local time zone when displaying. That's how *nix does it.

https://en.wikipedia.org/wiki/Unix_time

comment 11y ago · link · parent

I'm not sure why this isn't one of the top comments. The wheel size is a nonstarter.

18.

WordPress XSS 0day(arstechnica.com ↗)

9 points · by jchavannes · 11y ago · 3 comments

19.

Google Analytics Down for Majority of Users(google.com ↗)

11 points · by jchavannes · 11y ago · 2 comments

comment 12y ago · link · parent

How do you prove something is secure?

comment 12y ago · link · parent

For visualizing a large quantity of crons, I'd recommend something akin to https://github.com/federatedmedia/cronviz which will graphically show when jobs are scheduled to run.

comment 12y ago · link · parent

And how hard would it be for an attacker to use this logic?

  if crawler == twitter
    normal website
  else
    insert virus/spam
  fi
I am strongly averse to redirector links because of the security risk. You can't trust the destination.

comment 12y ago · link · parent

PHP. It was what I used initially so I could have access to our internal libs since our main application is in PHP. After crashing the ETL server a couple times though, I decided to try moving the heavy lifting to Go.

When we benchmarked them, what would take PHP 30 minutes, Go could do in less than 30 seconds. Only the transform is written in Go, the rest of the ETL is still in PHP.

comment 12y ago · link · parent

I built an ETL that uses a Go stream for the transform. Once the data has been processed it's written to disk on our analytics servers. Since it can keep up with the stream, memory footprint is very small (which also means we never have to hit disk on ETL servers).

Go outperformed our previous solution by over 60x, making our new bottleneck disk I/O instead of CPU.

comment 12y ago · link · parent

Yeah, I agree, but there are some use cases for a simple bash script. I updated the GIT repo with a PHP version that has output and errors like you said.

comment 12y ago · link · parent

Here's a bash script for running scripts in parallel (which I use in production at work).

https://github.com/jchavannes/procman

comment 13y ago · link · parent

I don't necessarily agree with the OP but here's how I see it. Yes, releasing this information would be harmful to both the company and the customers. But the principle is: "there is no safety net". And in the long run it will incentivize building higher quality products.

e.g. When I golf, I refuse to take mulligans because it keeps me in a state of mind of, "this is my only chance". Whenever I break this rule, the rest of the day my golfing is worse.

123