So a CEO just emailed me to say good luck with my latest project.

That has never happened to me before.

My latest project, if anyone is interested, is a collaboration with Spoon (my English friend who just moved to Sweden to join me at Kambi) called Hearthclone.  In case it isn’t obvious from the name, it’s a clone of Hearthstone.  In HTML5.  Using socket.io to communicate with the (node) server which provides an authority.

quantumpsychiatrist:

cjbrowne said: Isn’t “impact” something like armor penetration in WoW and “attack” like attack power?

I’m not sure how those things are actually different either, but the general consensus seems to be that attack is for penetration, and vice versa. If you could come up with an approximate equation to demonstrate the effect that you think each has, I might be able to understand it then.

In WoW, armor penetration decreases the damage that an enemy’s armor will mitigate when hit, whereas attack power increases the base damage done by your attacks.  But since reading the interwebs, it seems impact is more like attack power (increasing the base damage) and attack is more like expertise, armor penetration and hit chance all rolled into one.

Expertise decreases the chance enemies will dodge/block/parry your attacks, and hit chance decreases the chance you will miss your enemy.

Back to Destiny, I think impact will have a higher overall effect than attack, which will give you a scaling increase in effect based on the difference in level between you and your enemy.

I’d stack impact for PvP with a little bit of attack, and vice-versa for PvE.

querySelector vs jquery class selector · jsPerf

Reminder that native APIs aren’t always more performant than libraries/shims.

(on my computer, document.querySelectorAll was 50% slower than jQuery)

But it would be nice to replace jQuery with querySelector anyway to cut down on third party dependencies (although I’d be shocked if jQuery ever really goes away now that it’s so engrained into our culture).

out-there-on-the-maroon:

amberrosesshavedhead:

221bbarricade:

favabean05:

staticdiplomat:

pickyourheartupoffthefloor:

the-goddamazon:

lancrebitch:

crunchierkatie:

i love seeing girls close ranks when their fella is cheating, instead of defending him and attacking the other girls. like seriously. it warms my cold, cold heart so much. 

i need the rest of this story, where did you put the body

I’ve always wanted to do this. I hope they all went out for ice cream later too.

i want an update on this

FUCKING AMAZING

FORCED TO FLEE WITH HIS NAN

Charlie Fisher was met by the girls shouting “liar, liar” as he walked out of arrivals.

A cheating boyfriend got his comeuppance when he touched down in the UK following a holiday – and walked straight into his three girlfriends.

Charlie Fisher, 20, had barely set foot on English soil at Luton Airport when he heard someone shouting ‘liar, liar’ – and saw the three girls he had been seeing being each other’s backs marching towards him.

Becky Connery, 17, said she planned the (not so) welcome party after finding out her love rat boyfriend had been texting a girl behind her back.

‘He came out and froze,’ she told The Sun.

The girls found each other through text and Facebook and hatched the plan (Picture: Lizzie Leeland-Cunningham)

‘We started calling him a cheat and a liar really loudly. He didn’t have anything to say.’

After seeing the message, Becky got in touch with the 20-year-old girl – who does not want to be identified – and together, the pair found a third girl through Facebook, Lizzie Leeland-Cunningham.

‘I just wanted to see his face when all three of us were in the same place,’ Lizzie, 19, told The Sun.

Becky later said that after confronting her cheating ex, he ‘ran to his nana’.

Charlie, from Hertfordshire, would invent friends and lie about family commitments in order to juggle the three girls, according to reports.

http://metro.co.uk/2014/09/16/rumbled-cheating-boyfriends-three-girlfriends-confront-him-together-at-airport-4870812/

Beautiful

IT GOT BETTER OH MY GOD

"FORCED TO FLEE WITH HIS NAN"

GIVE ME THIS SHOW NOW

SOMEONE WRITE THIS SHOW

… I SHOULD WRITE A SHOW BASED ON THIS

Anyone else notice how the newspaper censored the image but the internet didn’t? As if your image appearing in print media is somehow worse than it showing up online?

(Source: twirpy)

emberslash:

Probably the most offensive thing about the fic is the misuse of semicolons.

I am very passionate about semicolons.

You’re not the only one.

Got a Google Domains beta invite

Not available in my country yet.  :(

I have 2 to give away though.  Anyone in the US wanna buy domains from Google?

syntaxcoloring replied to your post “I just realised how hard it is to write FP-style JS”

It feels wrong to say it can’t do OOP properly. JS is okay at being prototypal, isn’t it?

Sorry for the late response.

JS is indeed okay at being prototypal.  But even if you grant it that, prototypal OOP is very skewed from most people’s perspectives of OOP and doesn’t feature things like abstract types or “true” access control (it can do private/privileged/public but has no notion of ‘friends’ or ‘protected’ members).

I could argue back and forth about the semantics of OOP, but a real-world example is happening at my workplace.  A bunch of ActionScript developers wrote a JavaScript client and thought “hey!  OOP exists here too!” and the result is a tangled mess of “AbstractBaseFoo” and “DoesSomethingMoreThanTheBaseFoobarPage”, and functors (FUNCTORS IN JAVASCRIPT!!! CAN YOU BELIEVE IT?!)

For the love of all that is good about JavaScript, do not pretend that JavaScript is anything like Java.

OOP might be the most popular way to structure a modern application, but it is by far not the only way.  The module pattern is what you’re interested in from OOP, and that’s not at all specific to OOP.

I just realised how hard it is to write FP-style JS

First of all, without TCO you can’t recurse forever - unless you use a requestAnimationFrame and introduce asynchronicity into your code, like that’s never going to go wrong.

Secondly, without (proper) language-level support for things like currying, you end up in a royal mess very quickly with argument.splice and whatnot.

Both of these will be solved in some intangible future where browser vendors all support ECMAScript 6 and the world is happy and jolly again, but as of today, right now, it’s working against what the language is designed to do.

After singing JS’ praises for straddling the boundaries of OOP, FP and PP for so long I’m quite shocked I’m about to say this:

JavaScript sucks at everything.

It can’t do OOP properly, it can’t do FP properly and it can’t quite do PP properly (although it gets closest to that one).

We need a new language for the web.  Maybe it’s Dart, maybe it’s not.  It sure as hell isn’t CoffeeScript, because that’s a preprocessor, not a language.  And a shitty one at that.

Maybe I’ll try to design one myself.

chupaflora:

So I’m about to order a new computer. It has:

  • A 6 Core 3.6 GHZ processor
  • 8 MB RAM
  • a 1 TB hard drive
  • a 250 GB solid state hard drive
  • a 2 GB video card

And I’m going to get windows 64 bit on it. I think the whole thing came out to a little over $600 with the two extra SATA cables and fan that I ordered.

So my question for someone who knows more about hardware than me - is this a decent price / decent specs? or is there something else I should be shooting for?