HNHacker News
TopNewBestAskShowJobs

edraferi

1,861 karma · joined February 1, 2013

submissionscomments
edraferi··on Decentralization Roundup for 2017
Then make a challenge on http://longbets.org/
edraferi··on Decentralization Roundup for 2017
True, but also a safe statement. Most high-risk revolutions / startups / ventures fail. It is vanishingly unlikely that any of these projects will see widespread adoption and success. So you can just say “that will never work” to everything and be right most of the time.

Of course, VCs make their money by occasionally finding the one that breaks the mold. Picking winners is hard.

edraferi··on How I went from programming to consulting (2012)
Some folks get nervous when they have to justify the actual value of their work. Sometimes it’s because doing irrelevant work well or relevant work poorly. More often, I think the business impact connection is just difficult to make. The further you get from pure sales, the harder it is. Regardless, you should always consider answering this question as part of your job.
edraferi··on How I went from programming to consulting (2012)
It’s the second one. If you have some expertise/ mastery of best practices in your area, then you can make a good living by implementing those things for organizations that would benefit from them, but don’t want to invest in staffing up that area permanently.

That’s consulting.

edraferi··on By ditching usernames, OKCupid is removing a crucial protective barrier
I know several married couples that met on eHarmony. Folks tell me they like it because the fee is a barrier to entry that keeps out non-serious folks, and the detailed profiles help you cut down the crowd to something manageable. Seems to work.
edraferi··on Ask HN: What is the most painful problem you have day-to-day as a software dev?
Software is used everywhere. If you care about the broader impact of your work, take your skills to an organization who’s mission you respect.
edraferi··on Pioneer: a game of lonely space adventure
Bravo! I’m going to check out some of these.

Huge fan of the culture series. It’s very interesting to see how Banks portrays humans in a scarcity-free society. A lot of the conflict centers on what you’re supposed to do with all the free time.

edraferi··on The Big Vitamin D Mistake
From the last couple sentences of the abstract:

This could lead to a recommendation of 1000 IU for children <1 year on enriched formula and 1500 IU for breastfed children older than 6 months, 3000 IU for children >1 year of age, and around 8000 IU for young adults and thereafter. Actions are urgently needed to protect the global population from vitamin D deficiency.

So 8000 IU for adults

edraferi··on Google's AlphaZero Beats Stockfish In 100-Game Match
Also, Stockfish was denied some initialization data that it usually uses:

The player with most strident objections to the conditions of the match was GM Hikaru Nakamura. While a heated discussion is taking place online about processing power of the two sides, Nakamura thought that was a secondary issue.

The American called the match "dishonest" and pointed out that Stockfish's methodology requires it to have an openings book for optimal performance. While he doesn't think the ultimate winner would have changed, Nakamura thought the size of the winning score would be mitigated.

edraferi··on Time Person of the Year 2017: The Silence Breakers
Victory in the Alabama Senate race is a binary signal that can hide a lot of information. If Moore wins, compare the margin of victory to pre-revelation polling. It's entirely possible that there's a major shift in public opinion, just not one large enough to make Alabama(!) blue.
edraferi··on From Bezos to Walton, Big Investors Back Fund for ‘Flyover’ Startups
This is only true until the Republicans exciting new tax plan goes into effect. It kills the State and Local Tax deduction (SALT) to allow them to cut the Corporate tax rate to 20% and eliminate the estate tax while only increasing the federal deficit by $1.5 Trillion ($1 Trillion if you account for increased economic growth).
edraferi··on Hello, world: this is WikiTribune
Interesting idea, if poorly defined at the moment. I wonder how editorial control will work out. Wikipedia has a lot of well documented problems that they’ll get a second chance to avoid.
edraferi··on Stanford CS007: Personal Finance For Engineers
Agree. In your 20s, your main competitive advantage is your ability to take risks. Plus your skill set is incomplete, so you’re likely to see much better returns from investing in yourself than the market.
edraferi··on Stockfish Wins Chess.com Computer Championship
Oh man Now I have to add a “contempt” parameter to everything I make!
edraferi··on A Guide to Not Getting Hacked
This is a pretty thorough introduction to personal digital security. It starts by emphasizing Threat Modeling, which lay users often forget.

Most of the recommendations are standard (password manager, two factor authentication, basic OPSEC, ad blocking plugins) but it also has a fairly detailed discussion about the TOR browser. The recommendation to use a VPN may be controversial, but it includes a discussion of the relevant threat model, which helps.

edraferi··on “One Damn Slide After Another”: PowerPoint at Every Occasion for Speech (2016)
NY Times published an update about these kids in 2015 [0]. Basically the US immigration system prevented them from pursuing engineering within the United States. This was before DACA, and they were undocumented. Thus:

> Lorenzo Santillan considered becoming a mechanical engineer, but instead earned a cheaper associate degree in cooking. Today he works as a line cook.

> Luis Aranda studied cooking as well but did not complete a degree and now works as a janitor.

> Cristian Arcega [...] made it to Arizona State University on a scholarship. But [..] Arizona voters passed Proposition 300, an anti-immigrant measure that prohibits undocumented students from receiving any state financial aid or qualifying for in-state tuition — more than tripling his tuition. He dropped out and is now unemployed.

> Oscar Vazquez [got] a scholarship to A.S.U. [...] He graduated with a degree in mechanical engineering in 2009 and applied for legal residency [...] but he was also summarily banned from the United States for 10 years for living here without a visa. [...] After a year, his ban was reversed when Senator Richard J. Durbin, Democrat of Illinois, interceded on his behalf. Mr. Vazquez returned, enlisted in the Army, and served a tour of combat duty in Afghanistan. He is finally a citizen, and repairs trains in Montana for the railroad company BNSF.

[0] https://www.nytimes.com/2015/01/16/opinion/the-cruel-waste-o...

edraferi··on Gmail Launches Add-ons
I don't think it's quite so gloomy. A lot of cool add-on functionality relies on semantic markup in the email itself [0]. These are open standards by necessity -- any email provider can add support for them. For example, here's the standard for flight reservations [1].

I'm not sure how widely adopted they are, but Microsoft supports at least event discovery [2].

[0] https://developers.google.com/gmail/markup/

[1] http://schema.org/FlightReservation

[2] https://support.office.com/en-us/article/Automatically-add-t...

edit: formatting

edraferi··on Gmail Launches Add-ons
More information about the developer experience here:

https://gsuite-developers.googleblog.com/2017/10/gmail-add-o...

Edit: Looks like you build the add-ons with Google AppsScript. Very similar to Microsoft Office + VBA, on the web this time.

There's a CodeLab tutorial showing how to build a basic add-on that populates a Google Sheets file with receipt data from emails: https://codelabs.developers.google.com/codelabs/gmail-add-on...

edraferi··on Google's 'Advanced Protection' Locks Down Accounts Like Never Before
Which is the well-understood cost of getting an otherwise free, highly performant, unusually secure service for free.
edraferi··on I Fell 15,000 Feet and Lived
>The main, 24-foot parachute was just flapping in the breeze and was tangled in its own shroud lines. It hadn’t opened! I could see the white folds neatly arranged, fluttering feebly in the air.

> “This is very serious,” I thought.

edraferi··on Python Graph Gallery
Very cool resource, thanks for putting it out there. Noticed a couple areas for improvement:

Contribution instructions: Per the contributors page, it looks like an email is the way to go [0]. It would be nice to be able to run the standard Github workflow, but the relevant repo seems abandoned [1]

Site performance: The site looks good and has strong content, but loads slowly & inconsistently. (could just be the hug of death). Chrome warns the page is loading unauthenticated resources. I suggest you look at using a static website deployed to a CDN. Github pages, Netlify [2], etc are reasonable ways to do that. If you want comments, you can do that on Github.

[0] https://python-graph-gallery.com/contributors/ [1] https://github.com/holtzy/The-Python-Graph-Gallery [2] https://www.netlify.com/

edraferi··on Python Graph Gallery
Bokeh supports streaming data to existing graphs. This lets you define a graph, display it in a browser, and then push updates from your code. This is a lot lighter than doing a full draw in matplotlib, plus works over the web.

Here's an intro blog post from 2013 [0] and a current tutorial [1]. This functionality depends on Bokeh Server, docs here [2]

[0] https://www.anaconda.com/developer-blog/painless-streaming-p...

[1] http://nbviewer.jupyter.org/github/bokeh/bokeh-notebooks/blo...

[2] https://bokeh.pydata.org/en/latest/docs/user_guide/server.ht...

edraferi··on NextDoor Says Users Who Share Posts with Reporters Could Be Kicked Off the Site
Data can be replicated infinitely, for zero cost, with no notice to it's creator. The only effective way to protect data against universal distribution is to keep it on your machine (and keep that machine secure).

With Gmail, big G has everything. More relevant to the grandparent, the recipients of your mail have everything you send them. They can forward it anywhere and there's nothing you can do about it.

edraferi··on Keybase launches encrypted Git
Keybase has a public API [0]. There's a community Python library, but it appears to be unmaintained [1].

[0] https://keybase.io/docs/api/1.0/intro

[1] https://github.com/adamldoyle/python-keybase-client

edraferi··on Photos: what Puerto Rico’s unfolding humanitarian disaster looks like
It's on the front page of the Washington Post today.
edraferi··on Nuitka: a Python compiler
The Talk Python To Me podcast just did an episode on this [0] It's mainly an interview with Glyph (author of Twisted) about his PyCon 2016 talk "Shipping Software To Users With Python" [1]

[0] https://talkpython.fm/episodes/show/127/shipping-software-to...

[1] https://www.youtube.com/watch?v=5BqAeN-F9Qs

edraferi··on Is Deloitte a new poster child for bad security practices?
Problem is, the place is huge... 263,900 employees as of this year. [0] With that many people, you'll inevitably have numbskulls who upload critical security information to public websites. You'll also have so many services deployed that some of them will be wide open.

At that scale, even near-perfect controls will have enough chinks to sink you.

[0] https://en.wikipedia.org/wiki/Deloitte

edraferi··on Malicious software libraries found in PyPI posing as well known libraries
Man. You're right - that's a mess.
edraferi··on Malicious software libraries found in PyPI posing as well known libraries
Yes, Conda [0] is a package manager designed by Continuum Analytics (now Anaconda, Inc.) to support their Anaconda Distribution [1]. The distribution is free, and the Conda client is open source. However, Anaconda sells several enterprise products, including an on-premise Conda server ("Anaconda Repository").

In general, Conda does more package verification than pip, and the packages in the Anaconda distribution are more thoroughly vetted than PyPi. Conda-Forge [2] provides an escape hatch for less-vetted community code.

[0] https://conda.io/docs/index.html [1] https://www.anaconda.com/distribution/ [2] https://conda-forge.org/

edraferi··on Malicious software libraries found in PyPI posing as well known libraries
Yes, but they do filter bash_history client side, only transmitting pip-related commands. They did this to find additional common typos. The relevant code:

  def get_command_history():
    if os.name == 'nt':
      # handle windows
      # http://serverfault.com/questions/95404/
      #is-there-a-global-persistent-cmd-history
      # apparently, there is no history in windows :(
      return ''
  
    elif os.name == 'posix':
      # handle linux and mac
      cmd = 'cat {}/.bash_history | grep -E "pip[23]? install"'
      return os.popen(cmd.format(os.path.expanduser('~'))).read()
← PreviousPage 9 of 20Next →