HNHacker News
TopNewBestAskShowJobs

jnotarstefano

298 karma · joined January 7, 2011

Currently building Air Gap (https://airgaphq.com), previously Senior Software Development Engineer at AWS and Junior Fellow at CERN
submissionscomments
jnotarstefano··on Python Interview Questions – Senior
I think it's a typo: "Whenever Python EXITS, why isn't..."
jnotarstefano··on Hundreds of Mysterious Stone ‘Gates’ Found in Saudi Arabia’s Desert
It seems to be known as the Qeshm salt dome: http://wikimapia.org/11589307/Qeshm-Salt-dome
jnotarstefano··on CERN and APS Announce Partnership for Open Access
I don't think that the link is pointing to the right press release. It should probably point to https://www.aps.org/publications/apsnews/updates/scoap3.cfm, which announces that APS will in fact join the SCOAP3 initiative.

(Another telltale sign is the fact that the link refers to Rolf Heuer as the Director General, but in fact he is the former Director General, while the current one is Fabiola Gianotti.)

jnotarstefano··on Show HN: Stop the Bullshit
That's an excellent idea. I wrote the copy on that page trying to convey "can I get your help against these bad people?", rather than something blaming the user, or a scary looking warning.

But showing them the _reason_ why a certain website is blocked can become an opportunity to teach people critical thought, something that other comment threads point out.

jnotarstefano··on Show HN: Stop the Bullshit
I disagree on this slope being slippery (or actually, this being a slope at all).

Let me be more precise, and use tptacek's words in https://news.ycombinator.com/item?id=12999887: "fake news = spam sites built from scripts consisting largely of a backcatalog nonsense stories [...] with a one or two carefully produced fake stories as a "payload".

I think this definition is as objective as it gets, and clearly excludes things I might disagree with politically, but are not the target of this extension.

jnotarstefano··on Show HN: Stop the Bullshit
I like "reality" : )

I chose "safety" because I think I copied Chrome's message when visiting a website with an invalid certificate.

jnotarstefano··on Show HN: Stop the Bullshit
Given two clusters, I can predict the class of a new article by choosing the cluster whose centroid is closest to the article.

So, given some training data that produced two reasonable clusters with respect to the ground truth, I have a model that I can expect to generalize well on new data.

Now, this is not what that notebook shows, because it's missing the evaluating on testing data! The main point of the notebook is that the Jaccard Distance of the tokens of the HTML of the page, despite being very simple, appears to generate a reasonable model.

jnotarstefano··on Show HN: Stop the Bullshit
Consider that I built it this night for http://lauzhack.com/, so it's not intended to be a fully-featured solution to the problem.

The main issue I wanted to address is the fact that such a blocker must be widely installed to be useful. Therefore, the Facebook message is intended to prod current users of the extensions to ask that their friends install it as well.

jnotarstefano··on Show HN: Stop the Bullshit
Exactly. Those are the only websites I'm interested in targeting with this extension.

For example, I would never blacklist Breitbart, because I'm not interested in censoring political opinions I disagree with. I just want to free us from the burden of these websites that add nothing to the world and leech attention from everyone.

jnotarstefano··on Google foobar
I'll bite. Why is "3" the wrong answer?
jnotarstefano··on Web Scraping to Create Open Data
I had to use a similar approach when creating a cluster analysis of the amendments in the Italian Senate [0].

The Italian Senate offers a SPARQL endpoint [1], which unfortunately doesn't offer access to the texts of the amendments. So I had to roll my own and create a small spider for them using Scrapy [2].

[0]: https://github.com/jacquerie/senato.py/blob/master/analysis....

[1]: http://dati.senato.it/23

[2]: https://github.com/jacquerie/senato.py/blob/master/senato/sp...

jnotarstefano··on LHC back in collision mode
If you happen to do that before the end of November, please send me an email (it should be in my profile): I'd love to talk to you over coffee!
jnotarstefano··on Show HN: “Who is hiring?” Map
And a Scala job has been placed in a town called Scala in Italy, not far from Naples.
jnotarstefano··on Can C++ become your new scripting language?
It's interesting to note that High Energy Physicists all around the world will answer "yes", in fact they even created a C++ interpreter: https://root.cern.ch/drupal/content/cint.
jnotarstefano··on Harj Taggar Is Building a New Technical Hiring Pipeline with TripleByte
Uhm, something weird happened. I tried booking without a visa to see the error, but it let my booking through (I then cancelled my reservation).
jnotarstefano··on Math for eight-year-olds: graph theory for kids
Yes, that's what I meant with "degree sequence". Thanks for the suggestion! That description is more succinct than it needs to be.
jnotarstefano··on Math for eight-year-olds: graph theory for kids
I apologize for the self promotion, but some people told me they immediately grasped the Havel-Hakimi Algorithm by solving this puzzle I made: http://jacquerie.github.io/hh/
jnotarstefano··on Graph of SICP chapters
I am not sure I understand this graph. When is there in an edge between two chapters? What is the "weight" of an edge?
jnotarstefano··on Show HN: Favatron – Your personal Twitter favorite automaton
Err... "fava" is a regional (but well-known) term for "penis" in italian. I bet you'll get some unexpected traffic and links from Italy.
jnotarstefano··on Is the Solar System Stable? (2011)
Sometimes the answer is "no, but it doesn't matter", as shown by two professors at my University: http://www.nature.com/nature/journal/v357/n6379/abs/357569a0...
jnotarstefano··on Ask HN: Who wants to be hired?
Pisa (Italy), Remote, Internship

Stack: Ruby, Rails, HTML5, CSS3, JavaScript, jQuery, D3.js, Git

Resume: https://github.com/jacquerie/cv/blob/master/cv_eng.pdf?raw=t...

Contact: jacopo.notarstefano [at] gmail.com

I am in my last year of my Master's Degree in Computer Science at the University of Pisa. I'm looking for a remote internship this summer on ANY technology, not just the ones I listed.

jnotarstefano··on Turing's sunflower
Another excellent source on this topic is a book I cited in the code comments called "The Algorithmic Beauty of Plants" by Prusinkiewicz and Lindenmayer, available online here: http://algorithmicbotany.org/papers/#abop
jnotarstefano··on A game based on the Havel-Hakimi algorithm
A friend pointed out that http://www.kongregate.com/games/ewmstaley/strand has a similar mechanic. I wasn't aware of this game when I created mine, though.
jnotarstefano··on LaTeX was not built for the web
Pandoc has almost all these features: http://johnmacfarlane.net/pandoc/

I think it's lacking the #include/#input feature, and I'm not sure whether it supports labels and internal references, but apparently it has some form of bibliography.

jnotarstefano··on Underwater Kites Can Harness Ocean Currents to Create Clean Energy
There's also 40South Energy in this space: http://www.40southenergy.com/wave-energy-converters/the-tech... (its founder was my linear algebra teacher).
jnotarstefano··on Richard Feynman: Cargo Cult Science (1974)
Excellent suggestions! Thank you, ot.
jnotarstefano··on Richard Feynman: Cargo Cult Science (1974)
I loved that. But I fear a blog post can't do justice to Pausch's excellent delivery.
jnotarstefano··on Richard Feynman: Cargo Cult Science (1974)
I love this speech so much I wrote an italian translation for my blog. Which other speeches in science do you think are worth a translation?
jnotarstefano··on Stealing Traction: How Youtube, Paypal, AirBnB grew through piggybacking
This is tangentially related, but here is less OT than in most discussions :)

I'm currently building http://www.bandol.it, a Humble Bundle clone targeted at Italian Independent Music (and, maybe, books).

I'm experiencing the dreaded chicken and egg problem: bands won't give me their music if I don't have a big following, while people won't follow me if I don't offer them good bands.

How did Humble Bundle solve this?

jnotarstefano··on \d less efficient than [0-9]
There seems to be a tiny bit of difference in Ruby too. This code:

    require 'benchmark'

    def random_string(length)
      result = (1..length).map { (65+rand(26)).chr }.join
      result[rand(length)] = rand(10).to_s if rand > 0.5
      result
    end

    Benchmark.bmbm do |b|
      b.report("\\d") do 
        (1..1000).count { random_string(1000).match(/\d/) }     
      end

      b.report("[0-9]") do 
        (1..1000).count { random_string(1000).match(/[0-9]/) }
      end

      b.report("[0123456789]") do 
        (1..1000).count { random_string(1000).match(/[0123456789]/) }
      end
    end
gives:

    ~/Code/ruby% ruby regex.rb
    Rehearsal ------------------------------------------------
    \d             0.690000   0.000000   0.690000 (  0.712500)
    [0-9]          0.690000   0.000000   0.690000 (  0.703990)
    [0123456789]   0.680000   0.010000   0.690000 (  0.705759)
    --------------------------------------- total: 2.070000sec
    
                       user     system      total        real
    \d             0.710000   0.000000   0.710000 (  0.791722)
    [0-9]          0.700000   0.000000   0.700000 (  0.708210)
    [0123456789]   0.690000   0.010000   0.700000 (  0.713355)
Page 1 of 2Next →