HNHacker News
TopNewBestAskShowJobs

unculture

247 karma · joined October 7, 2010

submissionscomments
unculture··on Master these five concepts to master React
You know, this information isn't really readily available to us user interface people. At least, it's not obvious where to go to read about it.

I would love a brief history of GUI programming concepts and patterns if you could point to one.

unculture··on PHP Frameworks Code Complexity Comparison
The tool used is:

https://github.com/sebastianbergmann/phploc

Maybe it's doing things like contracting method calls to one line and making single statement if blocks one line.

unculture··on Ask HN: Overwhelmed with learning front-end, how do I proceed?
I couldn't help it, I'm sorry ;-). Although there is a point that Evan You has put a lot of effort into finessing the "developer experience" of using Vue. That includes vue-cli, "blessed" packages surrounding the main library (e.g. Vuex), being able to start using a script tag include if that's easiest, and clear documentation.

My "getting started" experience with React (which I use every day) was much more rocky. Admittedly this predates create-react-app.

unculture··on Ask HN: Overwhelmed with learning front-end, how do I proceed?
Vue comes with good preconfigured defaults, see vue-cli;

https://github.com/vuejs/vue-cli

Incidentally, vue-cli predates create-react-app.

unculture··on Vue.js is easier to learn than jQuery
You can totally use Redux, but conceptually Vuex is so similar that you may as well use that.

Also, Vue doesn't really have two way binding, just the v-model directive that is syntax sugar for handling an event to update component state.

unculture··on Comparison with Other Frameworks
If your success relies on search engine listings, it is still better to render the contents on the server to that the crawlers can index it (some still penalise JS only sites). You can then "hydrate" the SPA on the client for a better user experience.
unculture··on Comparison with Other Frameworks
You can drop down to JSX or plain JS render functions with Vue if you like, but JSX (which brings with it all the potential complexity of JS) is harder for many people to understand. The constraints of a (very!) simple templating DSL make things easier to read in the long run.
unculture··on Comparison with Other Frameworks
You can use JSX if you like with Vue. The templating language, should you choose to use it, really is very simple though. It doesn't take more than an hour or so to get the hang of.
unculture··on Dirty COW is a privilege escalation vulnerability in the Linux Kernel
Bad choice of name; in English English at least, "dirty cow" is a misogynist slur.
unculture··on Show HN: We Work Contract – London Web contract jobs with day rates
YunoJuno does this.
unculture··on An end to ‘bill shock’ as EU mobile roaming charges are slashed
I was able to circumvent whilst I was away earlier this year. I think it's harder now.
unculture··on An end to ‘bill shock’ as EU mobile roaming charges are slashed
Kids, mainly.
unculture··on An end to ‘bill shock’ as EU mobile roaming charges are slashed
Netflix on holiday is a number one use case for me.
unculture··on Announcing Vue.js 2.0
It's really easy to just pull Vue in via a script tag and get going with a data driven application. No build step required. You can take it much much further of course, but the beginner story is really compelling.
unculture··on IntelliJ IDEA 15 Released, Adds Kotlin to the Family of Supported JVM Languages
I think AceJump is your friend here.

https://plugins.jetbrains.com/plugin/7086?pr=

unculture··on How American Giant created the best sweatshirt known to man.
"Since there’s no retail middleman, everyone does better under the American Giant model—the clothing company, the factory workers, and you."

Everyone except the retail workers.

unculture··on What we’ve learned from Hacker School
Do you work from some sort of syllabus? Or is it more free form? Also, what sort of age-range are your students?
unculture··on Cornell Ergonomics Web finds standing desks present their own issues
They don't discuss sit-stand either, beyond saying that people only stand for 15 minutes a day, and they can't find benefits, which suggests to me that in the sit-stand group they effectively ended up studying people who sat all day.

So, are they saying sit-stand is ineffective, or are they saying that in practice people just sit?

unculture··on Forrst now uses GitHub auth to let developers skip the invite queue
My github account didn't let me in, but then again I only have one repo that I use to store my vim dotfiles and suchlike. So, job done on Forrst's part, I suppose.

I am a developer though, for my sins, and would appreciate a vote or two. Or, ideally, three.

(removed the link to my profile, as some of you very kindly voted me in)

unculture··on IQ, Income and Wealth
Me too (or rather I wanted to stop reading, and should have...) - it was clear from that point that he was all set to make some sort of partisan political point. Surprise surprise, down the page he gets all polemic about the left and right.

What he's really itching to say is that poor people are poor because they're stupid. He won't say that because it's offensive and untrue, but it's what he feels.

unculture··on Cambridge (UK) Startup Weekend, 11–13th March
They're cool with that too, at least that's what the FAQ says. You just aren't allowed to hang around without taking part, I gather.

I just booked a ticket after seeing the article here, and I'm pretty excited. Even if my idea doesn't win any votes, It'll be a fun challenge for the weekend at least and just possibly a big opportunity.

Also, reading around I found a discount code for the event here: http://www.cabume.co.uk/the-cluster/inaugural-cambridge-star...

unculture··on Is genius simply the product of hard work?
This chap, Mr. Teachout, is the drama critic for the WSJ ( http://en.wikipedia.org/wiki/Terry_Teachout ), he's also a musician and librettist. The arts, and arts journalists in particular, have a vested interest in genius. If we suddenly find that genius isn't that magic "je ne sais qois" we thought it was for all those years, all that purple prose we wrote about artists in the past suddenly looks a bit stale.

In truth in the arts you have an almost unrestrained version of the Matthew effect - early success either through luck or hard work breeds more and more success. This is more true in drama than music - it is more difficult to tell a good actor from a bad actor than the equivalent violinists for example.

(Sour grapes alert :-)) I trained as an actor, and I know from my cohort that the ones who are really successful now weren't objectively any better than most of their colleagues at the beginning. Their entire careers now rest on the fact that they had two or three really lucky breaks in a row very early on - choosing the right speech at the showcase and getting that good agent, getting a good tv job early on etc. The upshot is that ten years later, they've been working on their craft constantly and so now ARE objectively better than the classmates they left behind, no contest. It is extremely unusual, though not unheard of, for someone who was unsuccessful at the beginning to go on to develop a high profile career and even then the examples you read about in the press are probably fabrications or half-truths (the cliche of the overnight success for example).

I find that arts journalists consistently misrepresent the element of luck. Perhaps because they don't understand, or it undermines them in some way. I've never read an article about an actor friend of mine that has told the truth about how they've come to be successful. It's always something along the lines of "they always new they were special", or "hard work got me where I am today". I'm not suggesting that the actor is lying, although I wouldn't blame them if they did. Your reputation is your career, and if you declare yourself to be a lucky chancer you might damage it. I've always thought that it is more likely to be the journalist justifying why we should look up to the interviewee.

In any case, does anyone here know what happened to Mozart's sister? Perhaps it was harder back then for a woman to be a composer than it was for men? The last orchestra I saw was 90% male, so this wouldn't surprise me one bit.

unculture··on [dead]
This. They've rather missed the point of the cascade; perhaps he only writes very simple CSS?

I've always preferred being a little more verbose, if only to avoid hidden side effects and improve readability. You can always compress later if it really bothers you.

unculture··on National Rail Have Killed My UK Train Times App
Could this be because of the change of government? The new government is dismantling all sorts of other central government internet projects - perhaps the data providers who were being pressured into making their feeds available are spotting a change in the political climate and a chance to keep the profits in-house.
unculture··on National Rail Have Killed My UK Train Times App
I catch your obvious double meaning, but it's worth pointing out again that these institutions get a lot of tax money, so we most definitely do have to stump up extra when tracks need repairing.
← PreviousPage 2 of 2