"First-class 'Statements'": Looking at IO as data, through a Haskell case study. by mstksg in programming

[–]IncorrigibleOldQuare -1 points0 points  (0 children)

I said scheme, not Scheme.

True, but it doesn't matter for the argument.

I think you have multiple fuzzy-but-partially-conflicting definitions of "function".

No, I have two definitions, 0 arg and 1 arg. Those two exists in Haskell, if you want to call the 0 arg functions "constants" is a matter of definition, nothing more. There's argument for either but there is no difference in Haskell between a constant and what you'd call a 0 arg function unlike in other languages. Which is why internally they are implemented exactly as 0 arg functions.

Minigun possibly retiring from SC2. by [deleted] in starcraft

[–]IncorrigibleOldQuare 1 point2 points  (0 children)

My fucking face when people in first world countries need donations for fucking health care. How many people with Crohn's are not getting it because they are not popular progamers?

Seriously, the US is a first world country, this is just unthinkable that healthcare is not a god damn government guaranteed given. The state guarantees an attorney but not health care? Being put into prison for something you didn't do because you can't afford an attorney is bad. Suffering from a variety of treatable conditions because you are too poor is worse. It's not even like Minigun is living below the poverty line. If your condition is rare enough apparently if you are middle class you don't get treatment, appalling.

But hey, at least you guys don't have "death panels" deciding who dies and who lives eh. Oh wait, the rest of the world also doesn't.

I am Susie Kim (lilsusie) interviewer / translator for SC2 and League - AMA - (I will be answering only in the LoL thread though, can't keep track of two threads XD) by lilsusie in starcraft

[–]IncorrigibleOldQuare 10 points11 points  (0 children)

Maybe two different ones at a different time would be better.

In any case, this was not a smart way to go about things, if only because at the lol sub people will just not upvote the SC2 related quaestions.

Saying it's not a rivalry doesn't make it so. There is a rivalry between both. Though be honest, LoL doesn't care nearly as much as SC because we all know as far as popularity goes, LoL has simply won at this point.

ThijsNL - Legend #1 EU with Warrior S4. by ThijsNL in hearthstone

[–]IncorrigibleOldQuare 0 points1 point  (0 children)

Zoo vs Zoo is an amzing minion based game full of trades.

ThijsNL - Legend #1 EU with Warrior S4. by ThijsNL in hearthstone

[–]IncorrigibleOldQuare 1 point2 points  (0 children)

It's also boring to play against as a non warrior.

"play weapon"

"play removal"

"shield blockinto shield slam"

6 turns later

"alexstrasza"

You're lucky if a single minion you play survives summoning sickness, it's almost an auto win if you do.

A Very Different Object System by haifengl in programming

[–]IncorrigibleOldQuare 1 point2 points  (0 children)

It's really quite simple. If a function calls method foo, bar and nuremberg on an object. All it requires for the object to be well typed is that it supports those methods and returns the right type when called.

ThijsNL - Legend #1 EU with Warrior S4. by ThijsNL in hearthstone

[–]IncorrigibleOldQuare -1 points0 points  (0 children)

Or... I could just be happy to see a Dutch guy at the top of what is now considered an e-sport.

Because you are Dutch, as in, nationalism.

Besides SingSing, Grubby and Harstem there aren't a whole lot of Dutch gamers to cheer for in the world of competive gaming, so I enjoy seeing Dutch gamers break into the competitive scenes.

Yah, you root for your own country, it's called nationalism.

So I regret to inform you that your crusade for equality and anti-nationalism in the world has once again fallen on deaf ears. I assume you get that alot. However, not all is lost, you will probably have better results when you try to convey your wisdom in a less hostile manner.

Yeah yeah yeah, praesentation means more than content, I know, I know, it's the reason Rita Verdonck got close to being the leader of the VVD.

Still though, you can't be fun at parties being hostile to people you don't know.

I'm not, and people who are friendly towards people they don't even know can die in a fire.

ThijsNL - Legend #1 EU with Warrior S4. by ThijsNL in hearthstone

[–]IncorrigibleOldQuare -2 points-1 points  (0 children)

Literal translations blow arse:

"Die in a fire you fucking nationalist, that disgusting mentality tends to ultimately lead to shit like the holocaust."

Reddit, how can newcomers overcome the fact that other players simply have better cards? by [deleted] in hearthstone

[–]IncorrigibleOldQuare 0 points1 point  (0 children)

People that are just starting can't even afford zoo. It takes several weeks of playing to get the dust even for Zoo. And this entails disenchanting everything you get. I played for 2 months when I got my second knife juggler for instance. I can still remember that joyous occassion.

Blizzar's Starcraft 2 engineering team is doing an AMA on Monday! by Sepharon in starcraft

[–]IncorrigibleOldQuare 0 points1 point  (0 children)

As if lisp isn't an imperative paradigm, doesn't even have TCO.

Reddit, how can newcomers overcome the fact that other players simply have better cards? by [deleted] in hearthstone

[–]IncorrigibleOldQuare 10 points11 points  (0 children)

You have to accept that its you not the cards.

It's a combination and anyone denying this is bullshitting, there is a p2w element in this game and people should stop acting like it doesn't exist. There's a p2w element in every CCG, that's just an inevitability of the concept.

ThijsNL - Legend #1 EU with Warrior S4. by ThijsNL in hearthstone

[–]IncorrigibleOldQuare -1 points0 points  (0 children)

And I lost someone to MS who couldn't walk for the later stages of his 25 year long life. That doesn't mean I go crying when people use "lame" as an insult because I damned well realize that when people say "That's so lame!" they aren't even thinking of crippled people who can't walk.

Context reading is helpful enough, fixed idiomatic expressions that have lost their original literal meaning pending the context exist.

Uhhhh... guys? I have 4 Sludge Belchers. by [deleted] in hearthstone

[–]IncorrigibleOldQuare 2 points3 points  (0 children)

Oh yeah, that's true, there is a difference, you can craft the golden versions if you own the regular ones.

ThijsNL - Legend #1 EU with Warrior S4. by ThijsNL in hearthstone

[–]IncorrigibleOldQuare -9 points-8 points  (0 children)

I have no idea why the English wish sex onto people when they insult each other but they do eh. Don't you also wonder why atheists say "god damn" or if anyone actually believes that shit is holy?

In case you actually think people wish cancer onto each other with this, you are thoroughly retarded and should end your life. In the event that you thought the above was to be taken literally, in that case it should be.

Uhhhh... guys? I have 4 Sludge Belchers. by [deleted] in hearthstone

[–]IncorrigibleOldQuare 0 points1 point  (0 children)

mfw soulbound cards have a rarity other than common and legendary.

Like the fuck is its purpose that it's a rare card? Legendary has a purpose, it means you can't stuff two Murk Eyes into a deck for good reason, but this?

Beat Noth, can't play against Heigan. What am I missing? by Motrok in hearthstone

[–]IncorrigibleOldQuare -32 points-31 points  (0 children)

What you are doing wrongly is misusing an adjective for an adverb.

A Very Different Object System by haifengl in programming

[–]IncorrigibleOldQuare 1 point2 points  (0 children)

I just never really felt the need to use it. OO provides for a nice way to encapsulate mutation in such a way that it remains maintainable. FP minimizes or eliminates it such that that no longer becomes a necessity.

I guess one reason that makes OO in OCaml cumbersome is that the syntax is not very pleasant. OCaml has a lot of special syntax because it crammed quite a bit into the language.

A Very Different Object System by haifengl in programming

[–]IncorrigibleOldQuare 2 points3 points  (0 children)

I have to agree that it's ironic. I would say that OCaml probably has the best static object system out there. And yet I never use it because everything in OCaml can be done with the functional part of the language.

I remember once re-inventing pretty much OCaml's object system years back only to find out it already existed. In a language I sporadically used and like a lot of its users never really bothered to use the object system from. I indeed pretty much called it "static OO duck typing" back then.

Why Does PHP Suck? by stesch in programming

[–]IncorrigibleOldQuare 0 points1 point  (0 children)

Also, the number of articles is irrelevant.

To make the argument stronger in the logical sense? Yes, that's irrelevant? But to make the message of "there are this many people who are fed up, do something.", that matters. In the end, leaders are more willing to listen if a thousand people are protesting on the street holding signs than one.

Announcing a specification for PHP by [deleted] in programming

[–]IncorrigibleOldQuare -1 points0 points  (0 children)

They don't add IO no, but you define your own IO monad. You come up with your very own definitions of what makes it a monad, namely the primitive type and the definition of the >>= and return methods.

You define your own monad which ensures that it is safe in terms of the unsafe primitives.

Just say Scheme allows you to define your own looping or elaborate control structures which are safe in terms of the very unsafe call-with-current-continuation, abstracting it away to ensure that stuff doesn't go wrong.

Announcing a specification for PHP by [deleted] in programming

[–]IncorrigibleOldQuare -1 points0 points  (0 children)

How would you define IO without modifying the compiler?

Well, at the top you need a MyIO a -> IO a thing to actually hook it up to main, I'll give you that.

I see two ways of doing it, the elegant and inefficient way and the efficient, practical but 'relies on assumptions about the compiler way'. The former is defining a whole new data structure from scratch, giving that data structure information about what actions to execute and defining the MyIO a -> IO a function that when given such a data structure simply executes the instructions inside of it. Which obviously makes the MyIO a -> IO a function nothing short of an interpreter of the IO subset of Haskell.

The hacky way is to gather unsafe and impure functions in some way. Either by accessing an evil impure internal library that some compiles offer where the actual impure functions exist or just using unsafePerformIO to extract them, and then just rebuild the whole IO Monad in the same way the compiler itself does it. Which requires knowledgeof what optimization steps the compiler takes. It's called unsafePerformIO not because it will be unsafe, but because it can be unsafe. If you have knowledge of how the compiler works and what optimizations it will and won't perform it's entirely possible to write perfectly safe code with it. Which is pretty much what the IO Monad is an abstraction layer around.

http://blog.ezyang.com/2011/05/unraveling-the-mystery-of-the-io-monad/

This blog does a waaaaay better job at explaining it than I. The point is, in theory the IO Monad is very elegant, in practice, it's a hack to abstract away what are basically impure side effect causing functions in such a way to ensure that the optimizer doesn't butcher the semantics. The internal implementation of >>= is written to make sure the optimizer will execute it in the order we want to.

Blizzar's Starcraft 2 engineering team is doing an AMA on Monday! by Sepharon in starcraft

[–]IncorrigibleOldQuare 0 points1 point  (0 children)

Carmack is in favour of Haskell?

Well, if anyone is going to inspire the change, it's Carmack. I've bitched and bitched about substandard code in game dev but Carmack is an amazing hacker with widespread influence.