HNHacker News
TopNewBestAskShowJobs

mangeletti

2,895 karma · joined July 18, 2013

submissionscomments
mangeletti··on Standing up for what's right
Is this 2017? We're taking ethics lessons from the CEO of Uber?
mangeletti··on Removing Python 2.x support from Django for version 2.0
Thanks for the reply.

What makes Pyramid better for you than e.g., Falcon?

From your comment, it sounds like a lot of the value you've gleaned from Pyramid is based on the framework staying out of your way, so why not use something 5x faster that does the same thing? Does Pyramid provide some unmatched abstractions? (I'm coming from a position of no true experience in Pyramid)

mangeletti··on Removing Python 2.x support from Django for version 2.0
I always expected Pyramid to offer some performance benefits over Django, given the origins (taking the best of framework X and Y), esp given that you can choose your own ORM (e.g., SQLAlchemy), etc.

However, once you're out of the unrealistic scenarios (single query benchmarks, etc.), it doesn't do that well[1]. It's not prohibitively slow, but to make the jump from something as well documented and with as large a community as Django, most developers would need to see major gains in one or more areas; performance, docs, community, coding efficiency, etc.

Pyramid doesn't offer these gains. It only makes promises about maintainability, which are hard to verify, unless you personally know somebody that you trust as a skilled developer, and who has worked on a sufficiently large enough project in Pyramid to make such claims... it's easy to see how this creates a hole that Pyramid has to dig itself out of.

Also, Pyramid still talks about "supporting your decisions", like Jinja2, etc., as if that's a problem people are still dealing with. Django supports Jinja2 even in the admin now, let alone being able to use whatever you want elsewhere. As a side note, I don't see many Python developers wanting to use anything other than Django templates (for simplicity and separation of concerns) or Jinja2 (for speed and flexibility) these days.

If the argument, in response to the aforementioned difficulty in verifying claims about maintainability, is "well, it's up to you; Pyramid stays out of the way", then the immediate response is that you're better off using Flask or Falcon; the former if you need third-party tools, and the latter if you need maximum raw speed, but still want Python. Both of those frameworks will drastically outperform Pyramid and stay out of your way.

IOW, I don't think Pyramid fills any reasonably sized and easily understood market gap.

1. https://www.techempower.com/benchmarks/#section=data-r13&hw=...

mangeletti··on Removing Python 2.x support from Django for version 2.0
I agree, but you know what; I think the new branding is worse :(

It's a shame, because I've wanted to try Pyramid since I watched their talk at PyCon 2011, but the branding (including the new 99 Designs looking logo / theme) has always made me think, "This will never really take off."

mangeletti··on One in five of us may 'hear' flashes of light
Get ready for every unique snowflake you know to claim that they have this new, special power :)
mangeletti··on GitHub is down
I don't think it can really be considered copying another company when both companies' logos are basically a Font Awesome icon[1,2].

No offense to either company; their logos are pragmatic.

1. http://fontawesome.io/icon/check-circle-o/

2. http://fontawesome.io/icon/check-square-o/

mangeletti··on GitHub is down
Down for me in Jupiter, FL.
mangeletti··on The IRS Homepage Is Blank
I'm in South Florida on XFINITY and it's blank, but if I view it from my T-Mobile connection on my phone it's not.

This is probably a caching issue.

mangeletti··on Python 3.6 Is Packed with Goodness
Raymond!

OP (but not author) here.

I watched a talk of yours at Pycon 2011. I very much enjoyed it. I also very much enjoy how amazing Python is, so thank you very much. I have been super excited for 3.6, because speed is one of the things I see is being most important to keep python defensible these days (with Go, et al).

Thanks again for all your hard work.

mangeletti··on [dead]
I agree.

Also, this reads like a list of 2014-2015's fastest growing technologies and trends.

mangeletti··on A Mysterious Virus That Could Cause Obesity
[removed my unsubstantiated complaints about the article]
mangeletti··on ClusterHQ is shutting down
It's likely that people within the organization already knew things weren't going well.

So, the bright side of this is that:

A) employees can spend the entire holiday week or two with their families, and

B) employees can start out their new year unencumbered by the stress of working for a failing company

Personally, I'd rather have it this way than come back from whatever fun holiday adventure I'm on to find out a week later that I'm losing my job... that's a terrible way to start the year's momentum.

mangeletti··on Bootstrap 4 drops IE9 support and goes full flexbox
The fact that it's somehow considered an insult to link to a CDN, rather than installing a gigabyte of tool chains that take years to learn, in order to achieve the exact same result... would be the reason nobody takes front end developers seriously.
mangeletti··on AMD responds to Linux kernel maintainer's rejection of AMDGPU patch
Maybe this is why their net is negative; because they don't allocate money to the right things.
mangeletti··on Dark Patterns – User Interfaces Designed to Trick People [video]
I don't think that any of these dark patterns represent the breaking of obligations by any party.

Dark patterns don't represent anything truly sinister, and in most cases they are perfectly legal. They are just bad UX because they're dishonest about their intent.

mangeletti··on Dark Patterns – User Interfaces Designed to Trick People [video]
Another dark pattern (used to gain more positive ratings in apps) is:

    Do you love our app?

      Yes         No
       |          |
       |          |
     ______     ______
     Opens      Does
     AppStore   Nothing
It's a bit like saying, "Do you love candidate X?", and then giving instructions for voting only to those who answer "yes".
mangeletti··on New York City mapped its trees and calculated each one’s economic benefits
Do you think it's strange that cities need to map nature to prove its economic value?

I've never understood the appeal of cities (other than a quick 1-2 day visit).

Cities are more inefficient[1], have more pollution[2], have less nature[3], stink like shit[4], have less happiness[5], have more noise[6], require subways and mass transit just to get around, are more expensive[7], etc. (the list almost doesn't end).

1. https://www.hks.harvard.edu/content/download/70101/1253214/v...

2. http://www.health.com/health/gallery/0,,20490855,00.html

3. I don't think I need a citation for this one

4. http://www.businessinsider.com/why-new-york-city-smells-in-t...

5. http://www.citylab.com/housing/2016/06/the-price-of-happines...

6. http://earthjournalism.net/resources/noise-pollution-managin...

7. http://www.bls.gov/opub/btn/volume-2/expenditures-of-urban-a...

mangeletti··on What is “:-!!” in C code?
Ha! That's epic.

Where does the alert come from?

mangeletti··on Amazon QuickSight Now Generally Available
Amazon will likely begin competing with many of their AWS customers.

Step 1: develop a Trojan horse to gather growth and profitability data (QuickSight).

Step 2: roll out home-grown apps to compete with their most profitable AWS customers.

This is exactly how Amazon.com operates[1].

I can only imagine how the conversation went:

    Bob:   We need to diversify!
    Earl:  You're right! Let's do some research.
    Susan: That'll cost a ton...
    Ed:    Eureka! We'll just let everyone give us their data.
           It'll be a quick sight into all the markets!
    Becky: Ed... You're a genius!
    Ed:    I am?
    Becky: Yes. We'll call it QuickSight!
1. https://www.bloomberg.com/news/articles/2016-04-20/got-a-hot...
mangeletti··on Donald Trump will now control drone assassinations and mass surveillance
It's not saying exactly what the comments are saying.

It is saying, essentially, "The Obama administration opened Pandora's box, and now we have an evil, bigoted, fascist dictator inheriting all of it."

mangeletti··on Donald Trump will now control drone assassinations and mass surveillance
So, Barack Obama's administration has been expanding the drone program, and illegally murdering people from the air, for years.

But… It's the next president that we should worry about, pertaining these same drones.

The kind of opposite-speak that the MSM uses has reached ludicrous levels.

This is much like reading, "Ted Bundy fears that the ideas he created will be used as inspiration by future mass murderers as they kill even more people.", except that analogy doesn't hold up, because Ted Bundy hasn't murdered anywhere near the amount of people that the Obama administration has.

mangeletti··on MacBook Pro with Touch Bar review: a touch of the future
I never look at my keyboard when I type, either.

I do, however, always look at my keyboard when I adjust the screen brightness or volume, or control iTunes (pause, next, previous).

The one exception to this is ESC, and I use it gratuitously.

mangeletti··on How Green Is That Grocery Bag Ban? (2014) [pdf]
Based on your description, I think your tl;dr was meant to read as, "Banning bags has no measurable benefit."
mangeletti··on Amazon sells out of the NES Classic Edition in less than a minute
I was doing this (refreshing).

I had the Amazon app open on my phone and the website on my MacBook. I added it to my cart from the app at approx 14:00:01 ET, and by the time I clicked the cart and then checkout I got an error message saying the item was sold out.

I was so pissed that this happened, because I had been planning to follow this diligently since the day it was announced, and I had no less than 3 calendar events in my phone so that my day would be replete with reminders. I had the other websites that were supposedly selling it open as well, as a failed backup plan.

I should have written a script.

mangeletti··on Google Trends Electionland
> 100% voted for the selected politician

Wrong.

This is not 1930s Dominican Republic. Politicians are not so stupid these days (at least not in terms of their political cleverness). Corruption is not so obvious when the public has become much more informed.

"Wholly corrupted" in election terms can be very correctly defined as "The politician selected is not the one who received the most intended actual votes", even if the vote disparity is a very small number. To extend it even further, you could include the fact that this can happen legally under the electoral college system, but what I am referring to is simply a situation where the lesser desired (by vote count) candidate wins, by means of the combined effects of a number of subtly and carefully corrupted systems.

mangeletti··on Google Trends Electionland
This is scary stuff.

Election "officials" could literally decide these "provisional" votes based on party, and they'd get away with it.

mangeletti··on Google Trends Electionland
It's also illegal to place an undue burden on somebody's constitutional right[1].

1. https://en.wikipedia.org/wiki/Undue_burden_standard

mangeletti··on Google Trends Electionland
Definitely.

EDIT

I hrhmmm, hope there is some evidence of my ballot.

mangeletti··on Google Trends Electionland
I just had to vote "provisional" myself (Palm Beach County).

I have a feeling there is going to be a lot of fraud reports against the Florida Board of Elections. We registered almost 2 weeks before our Oct 11 deadline, yet neither my wife nor I were in their system - we received no mail or anything from the BoE.

My vote, I'm absolutely certain now, will be thrown in the trash. Even if it isn't, the election will be over by the time it's "counted".

Think I'm simply spreading FUD? Take a look at the 2004 Florida general election... this state's election board is wholly corrupted.

mangeletti··on GoPro shows its vulnerability after horrific Q3 earnings
This coming Monday's low, in my humble opinion, not investment advice, is the best time to buy GPRO.
Page 1 of 23Next →