Better HN
topnewbestaskshowjobs
Log inSign up

pietro

697 karma · joined Feb 20, 2007 (19y ago) · 234 submissions

Submissions

1.

Why Many Scientific Articles Are Wrong(daviddfriedman.blogspot.com ↗)

1 points · by pietro · 7y ago · discuss

2.

Imaging a Black Hole with the Event Horizon Telescope(youtube.com ↗)

2 points · by pietro · 7y ago · discuss

comment 8y ago · link · parent

So it's essentially a bridge to the nearest international airport from Macau?

comment 8y ago · link · parent

Parcel has first class support for TypeScript. It's amazingly simple: https://hackernoon.com/zero-config-typescript-bundling-with-...

comment 8y ago · link · parent

You won't be alone. In any real organization, you'll be part of an experienced team that's working towards the same goal as you, and if you're curious, open and appropriately humble, they'll teach you everything you need to know.

comment 8y ago · link · parent

Typewriters let you backspace _over_ what was already there, so we just typed the word, used backspace to get the beginning of the word, and then typed underscores until the word was effectively underlined.

In fact, you could double underline a word by moving half a line down (that was a thing) and then create the underline with equal signs.

comment 8y ago · link · parent

That, or `Array.from`. You can even create an array from a string:

    Array.from('string')
    [...'string']

8.

A quantitive analysis of the impact of arbitrary blockchain content on Bitcoin(blog.acolyer.org ↗)

2 points · by pietro · 8y ago · discuss

9.

The Twelve-Factor App(12factor.net ↗)

2 points · by pietro · 8y ago · discuss

comment 9y ago · link · parent

A master thesis is only one semester. He would have had plenty of time.

comment 9y ago · link · parent

Do you have any metrics that you can share?

comment 9y ago · link · parent

It depends. In our current app, all we needed to implement separately was the margin for the status bar, literally two lines of code.

But as we move further, we'll be looking into making the versions for both platform feel truly native, and that will require some changes to navigation components and the overall navigation paradigm (tabs vs. drawer, screens vs. cards etc.).

The platform differences are as much about design as about code, and I don't see how you can escape that work with any cross-platform framework. But React Native makes it very easy to implement in a way that lets us share all but a few components.

13.

Amazon Finds the Cause of Its AWS Outage: A Typo(wsj.com ↗)

3 points · by pietro · 9y ago · discuss

14.

The Ten Year Anniversary of the Apple TV(stratechery.com ↗)

3 points · by pietro · 9y ago · discuss

comment 10y ago · link · parent

The EU hasn't "announced" anything. There was a meeting between several influential people connected to the EU, and they reached an informal agreement on something related to freely accessible research. The "announcement" is nothing but the minutes of that meeting.

16.

100 Years Ago, Artists Were Asked to Depict the Year 2000(canyouactually.com ↗)

2 points · by pietro · 10y ago · discuss

comment 10y ago · link · parent

I thought I hated PDFs until I got my first Macbook and discovered Preview and two-finger zoom. Turns out, I just hated Acrobat and zooming with buttons.

comment 10y ago · link · parent

I wouldn't worry at all if I were you. You're incredibly lucky to enjoy your job, and life has so much more to offer than coding, including family and friends. Your lack of all-comsuming passion for coding could easily be your ticket to a better life.

comment 10y ago · link · parent

From what Dan Abramov has been posting on Twitter recently, findDOMNode() is in the process of being deprecated, so rather than writing

    const component = ReactDOM.findDOMNode(TestUtils.renderIntoDocument(
        <MyComponent {...props} />
    ));
we should be writing

    let node;
    const component = TestUtils.renderIntoDocument(
        <MyComponent {...props} ref={n => node = n}/>
    );
https://gist.github.com/gaearon/7f0e03d3028016bfabfad641720d...

comment 10y ago · link · parent

Yes, the ones related to Babel and Webpack.

comment 10y ago · link · parent

You can still get iPods in all sizes and colors. They're pretty decent.

comment 10y ago · link · parent

Click the "web" link below the title.

comment 10y ago · link · parent

No, but I never tried Adderall. Thanks for suggesting it!

comment 10y ago · link · parent

I lost most of my "grit" in a split second when I was hit by a car at age 17.

Until that moment, I was amazingly conscientious, and combined with a very high IQ it was logical to assume that I'd do very well in life. I still have the same IQ, but I can't for the life of me finish an education, save money, or eat the dessert last.

Apparently, "grit" is dependent on functions located somewhere in the left frontal lobe [1], and if you damage that particular part of the brain, no amount of training can bring it back to what it was. After years of training and therapy, I'm still essentially a reckless, gifted child. I've learned wonderful tricks to keep me on track in life, but they only get me so far.

I suspect that parenting has a similar effect to my training: It teaches the tricks, but doesn't address the underlying reality of sheer, physiological ability.

[1]: Probably the dorsolateral prefrontal cortex

comment 10y ago · link · parent

> The autonomous truck need not drive the whole route that a human driver does now.

Exactly. They'll be more like trains than trucks as we know them; they'll simply have more tracks available.

comment 10y ago · link · parent

Not for movies that we old people like. Either the movies are not to be found, or the quality is lousy, or it's seeded by one person with a dial-up connection.

comment 10y ago · link · parent

The association to the welfare state is complete bogus. Every last item of furniture in that article is from before the welfare state started its expansion in Scandinavia. Sweden and Denmark had lower taxes than the US until about 1960.

What Scandinavian designers offered at the time was something entirely different: International modernism in its purest form. The architects of the time, most notably Arne Jakobsen, were heavily inspired by German and American modernists. They were just better at it.

Jakobsen designed most of his chairs for a skyskraper in Copenhagen that's essentially a copy of Lever House on Park Avenue in NYC, and his mania for designing every last item in the skyskraper mirrored that of Mies van der Rohe, a German-American. At the time, it was considered "American" by Danes.

If there's anything special about Scandinavian design, and I believe there is, it's the constant search for purity.

There's not a single period in Scandinavian art history since the Protestant reformations of the 16th century that isn't dominated by the search for purity. Even baroque art from Scandinavia is strangely cool. It just happens to in vogue today, and since we practiced for centuries and it's engrained in our culture, we're very, very good at it.

Culture is much deeper than whatever political currents dominate a country at one partical point in time.

28.

Thanks for Ruining Another Game Forever, Computers(blog.codinghorror.com ↗)

10 points · by pietro · 10y ago · 3 comments

12345
8