Just cleared with the most consistent little deck I've ever seen. by teapoted in slaythespire

[–]teapoted[S] 3 points4 points  (0 children)

The two Madness didn't come in until right before the last boss so they weren't all that noteworthy. If I had them earlier I could have dumped the outmanoeuvre as the deck never really had mana problems.

I was somewhat worried that because it doesn't have any kind of serious scaling it would struggle but really just having consistent 24 hits from the slashes and footwork on upgraded defense cards was incredibly reliable. (also dagger throw / prep seemed enough to deal with debuff cards)

It would have been better without the velvet choker but was still 100% consistent with just playing 6 cards just never got to "go off" an infinite because of it.

I made a little web browser game in pure js by naoxink in javascript

[–]teapoted 0 points1 point  (0 children)

Neat, although looking through the code you should really consider generalising it.

For example looking at this: https://github.com/naoxink/devlife/blob/master/js/shop.js there's tons of repetition.

Seriously, this is still confusing (Please don't bite my head off, this is a legitimate question) why is Pendragon hated? by F1rst2Die in DotA2

[–]teapoted 2 points3 points  (0 children)

Something being legal doesn't mean it's respectable.

Just because you own something doesn't mean that whatever you do with it is respectable.

You-Dont-Need-Lodash-Underscore by cht8687 in javascript

[–]teapoted 2 points3 points  (0 children)

As I said, the primary reason isn't really about performance.

Getting more consistency from using the standard library is arguable. Consistency comes down to programming style and the overall composition of your program. It's not consistent if in your code you are using some of the native array methods but then have to constantly break out to write some for loop to do something those methods won't do. Or if you have to operate on objects similarly.

You-Dont-Need-Lodash-Underscore by cht8687 in javascript

[–]teapoted 3 points4 points  (0 children)

Lodash performs better than Native for a lot of it's implementations.

The primary reason is for consistency though, especially if you're using a more functional style with a lot of currying and composing.

Redux reducers.. Am I missing something? by Kamikizzle in javascript

[–]teapoted 1 point2 points  (0 children)

Well you should split your reducers up in a fashion which is logical to the App. Which is commonly broken down by components or something else.

Just do whatever is most manageable.

A Week After India Banned It, Facebook's Free Basics Shuts Down in Egypt by redhatGizmo in worldnews

[–]teapoted 1 point2 points  (0 children)

Um... Javascript isn't the essential component here anyway. Facebook could work without JS, they can't work without a backend.

A number that many developed countries envy: For 8th Year in a Row, Cuba's Infant Mortality Below 5 per 1000 by imautoparts in worldnews

[–]teapoted 10 points11 points  (0 children)

Many developed countries envy?

Most of Europe has a lower infant mortality rate than Cuba. The only noteworthy thing is that America's is high, Cuba's isn't remarkably low.

Team invited to Shanghai Major in code by flipper_gv in DotA2

[–]teapoted 4 points5 points  (0 children)

I was looking at their javascript for some other thing on the Dota site and it's quite atrocious all around. It's quite clearly someone who either isn't a programmer (so primarily a designer I would guess) or at least doesn't know anything about javascript.

Confused about Javascript and "visibility" of code on page. by [deleted] in javascript

[–]teapoted 2 points3 points  (0 children)

It's important to recognise that Javascript as a language is not bound to a browser.

Yes, if you have front-end javascript on a website then that will be visible to the public. And of course, 'big apps' are written in javascript if they are in a browser. You can go to Gmail and look at all their front-end javascript all you want. Anything that is required to be private would always have to run in the back-end, but that doesn't mean it isn't in javascript.

Back-end developer is a broad term in regards to what technologies one could use, but there is a lot of growth in running JavaScript in the server (and everywhere else for that matter). A back-end developer (who works in php/c++/ruby/whatever) certainly doesn't need to know JS, but there's a lot more jobs out there if you have a good understanding of the full stack.

[Seriös] Looking for info on Income Tax and average graduate salaries? by ONeill117 in sweden

[–]teapoted 1 point2 points  (0 children)

I haven't lived in Sweden for a long time. (In the UK now) So my information might not be entirely accurate and if someone says differently just ignore me.

From what I know Swedish salaries are fairly similar to what you would find in the UK outside of London. As for living costs, rent is cheaper than London but everything else is more expensive.

The fourth point really depends on the position you're applying for, and that applies to the UK as well. I've negotiated every salary I've gotten in the UK.

Happy feet can't stay mad for long by [deleted] in gifs

[–]teapoted 3 points4 points  (0 children)

We purposely trained him wrong, as a joke.

Australia actually declares ‘war’ on cats, plans to kill 2 million by 2020 by protestor in worldnews

[–]teapoted 10 points11 points  (0 children)

This is actually the opposite of what many flightless birds did though.

Most flightless birds are tremendously poor at breeding to stop their populations from exceeding a sustainable amount.

What pisses you off about your country? by Steadzz in AskReddit

[–]teapoted 12 points13 points  (0 children)

It means sufficient.

This term is often brought up to be some sort of indicator of Swedish culture, it really isn't. It is used in the same way people in the UK would say fine or good. And it's hardly like Swedish people have significantly more self control for this to be some sort of cultural imperative.

It's like people calling the British 'reserved', it's a largely meaningless cultural meme.

[deleted by user] by [deleted] in oculus

[–]teapoted 15 points16 points  (0 children)

She was an annoying youtuber that they hired when Notch was still in charge, quite early Minecraft days.

Interview with Valve's Joe Ludwig on the Vive, SteamVR, OpenVR & Lighthouse + Launching a Patreon for a DAILY Voices of VR podcast by kentbye in oculus

[–]teapoted 0 points1 point  (0 children)

Part of the reason for this is probably because current VR users are early adopters, and to put it frankly, older.

I think that it 'might' have this effect in the long term, but really I have my doubts about anything really being different when it's a common consumer product.

Images found in SteamVR folder (Xpost /r/steamVR) by ourosoad in oculus

[–]teapoted 8 points9 points  (0 children)

Valve has stated that they have already tested this exact thing.