News for hackers. Stuff that matters.

pietro

So it's essentially a bridge to the nearest international airport from Macau?
Re:Announcing TypeScript 3.1 on Thursday September 27, 2018 @01:42PM (#18086854)
Parcel has first class support for TypeScript. It's amazingly simple: https://hackernoon.com/zero-config-typescript-bundling-with-...
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.
Re:My dad’s resume and skills from 1980 on Saturday August 18, 2018 @11:48AM (#17788999)
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.

Re:JavaScript- Lodash vs Js function vs. for vs. for each on Saturday May 12, 2018 @12:42AM (#17052507)
That, or `Array.from`. You can even create an array from a string:

    Array.from('string')
    [...'string']
Re:Leaving Apple Inc on Tuesday May 09, 2017 @08:19AM (#14299352)
A master thesis is only one semester. He would have had plenty of time.
Re:The tragedy of 100% code coverage (2016) on Tuesday May 09, 2017 @08:15AM (#14299326)
Do you have any metrics that you can share?
Re:ReactXP – A library for building cross-platform apps on Saturday April 08, 2017 @08:23AM (#14066579)
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.

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.
Re:Guido van Rossum: “PDF Must Die.” (2014) on Sunday August 14, 2016 @04:50AM (#12284848)
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.
Re:Is There Any Room for the Not-Passionate Developer? on Tuesday August 02, 2016 @08:33AM (#12209423)
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.
Re:Idiomatic React Testing Patterns on Wednesday July 13, 2016 @01:45PM (#12088117)
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...
Yes, the ones related to Babel and Webpack.
Re:Bluetooth 5 will quadruple the range, double the speed on Tuesday June 28, 2016 @09:20AM (#11993539)
You can still get iPods in all sizes and colors. They're pretty decent.
Re:Why Fruits and Veggies Are So Cheap in Chinatown on Sunday June 26, 2016 @11:51AM (#11981274)
Click the "web" link below the title.
Re:Is ‘grit’ overrated in explaining student success? on Wednesday May 25, 2016 @03:01PM (#11772228)
No, but I never tried Adderall. Thanks for suggesting it!
Re:Is ‘grit’ overrated in explaining student success? on Wednesday May 25, 2016 @11:06AM (#11770290)
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

> 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.

Re:The future is arriving too fast on Thursday April 07, 2016 @07:21AM (#11446358)
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.
Re:How Scandinavian design took over the world on Sunday March 27, 2016 @03:24AM (#11369225)
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.

Older »