HNHacker News
TopNewBestAskShowJobs

TheZenPsycho

1,505 karma · joined November 20, 2012

I know a lot about JavaScript. Some might say, TOO much. I used to have another account ZenPsycho which I lost access to. I've made some interesting things for various large public cultural organisations in Australia. I enjoy pixels.
submissionscomments
TheZenPsycho··on Through the Warp Zone: Hacking Super Mario Brothers to unlock new worlds
I heard about it before nintendo power existed.
TheZenPsycho··on Through the Warp Zone: Hacking Super Mario Brothers to unlock new worlds
Of course, back then, in the 1980's, there was no publically available internet.

Knowledge of minus world was spread purely through word of mouth. We used our meat based networking protocols.

What barbaric times those were.

TheZenPsycho··on Game Mechanic Explorer – examples for game mechanics, algorithms, and effects
oh hi Don Hopkins. I KNOW WHO YOU ARE! welcome to whatever is left of Hacker News.
TheZenPsycho··on Game Mechanic Explorer – examples for game mechanics, algorithms, and effects
here is a link. http://s276.photobucket.com/user/jdaster64/media/smb_playerp...
TheZenPsycho··on There is no such thing as 'cheating' in art
What was the date on them?

The thing to keep in mind with stuff like that is usually it is not a straightforward case of they have trolled you and the museum as you may naively think.

If something is a blank red sheet of paper in a frame, perhaps dated from the early to mid 1960's they are likely referencing Kazemir Malevich, and making a joke about it perhaps along the lines of "I wonder how far I can take this minimalism thing and have people still call it art".

Once you can notice this, the cultural reference and context itself become the art- not necessarily the physical object, which, devoid of such historical or cultural context, is indeed just a blank fucking sheet of paper.

You may as well criticize Doge because you don't get why it's funny.

It's not funny, but you can still understand its context in internet cultural history. In 30 years you will remember doge as some significant cultural event, and contemporary artefacts will acquire value for being related to the event.

None of it is funny or good. but you remember it for its cultural significance.

A blank sheet of paper from the 1960's in a museum needs a little bit more help.

TheZenPsycho··on There is no such thing as 'cheating' in art
perhaps, but none of that really contradicts what I said. Just that there's little use for any kind of objective classification system for "art" and "not art" to a curator. Just a fuzzy wuzzy wibbly wobbly sense of what is culturally significant, valued, and/or a "good investment".

None of which has much to do with what you might think of as reasoning about "is" and "is not". The question is never asked. There's no point to it. No value in the asking. That's an "art critic's" job. not a Curator's job.

And even in Art Criticism, since the dawn of "Post Modernism" there's been an implicit almost non verbal agreement to never ever question the "Art"-ness of something. It's never about whether it is or is not. Only what an artist is attempting to say, or what you are able to grasp from a work. To question the is-ness is boring and pedestrian, and marks you immediately as someone who is not really clued in.

Questioning whether something is art or "Art" with a capital A is kind of equivalent to an ad hominem. It has nothing to do with anything. It's name calling. It's not taking the argument or the artwork for what it is.

TheZenPsycho··on There is no such thing as 'cheating' in art
having worked with some curators at similarly large (though not necessarily quite as well known) galleries, I'm pretty sure they use the

>"does someone call it art? Then it's art"

definition and have a poor opinion of anyone that attempts to be any stricter than that.

This comes from a painful history of curators dismissing lots of "modern" art in the 1960's, and thus missing out on lots of extremely lucrative investment opportunities.

TheZenPsycho··on Game Mechanic Explorer – examples for game mechanics, algorithms, and effects
I was thinking even broader, including mechanics for games like chess and checkers, and maybe a smattering of graph theory for analysing "decision trees". Pretty abstract game theoretical stuff, hopefully brought down to earth and made practical enough for a moron like me to understand in more detail than just those broad buzzwords I was just able to throw around.
TheZenPsycho··on Game Mechanic Explorer – examples for game mechanics, algorithms, and effects
I think it's that, regardless of the "strength" of your jump, the curve is always fast at first, then slowing against gravity following a natural quadratic-ish curve.

So strong jumps, and weak jumps both always look like the first "push" happened at the very start.

As I said before, the velocity approach looks a bit more like the character has a jetpack, and is rocketing into the air. That is, the accelleration is slow. then fast, then slow again (as gravity takes over). Instead of just fast then slow.

re:perception, derivatives, and discontinuities. I think you are right. In bezier curves, discontinuities are numbered according to which derivative the discontinuity occurs in. So if you draw a straight line with a corner in it, in adobe illustrator, that's a c0 discontinuity. A curved line, where the control points for the curve after the vector are the same angle, but different lengths are a c1 discontinuity (but c0 continuous), and so on.

It's useful to number these, but c0 continuous "looks" smooth, always.

edit: sorry, I've misnumbered these. I should say that g1 continuous always looks smooth.

http://www.clemson.edu/ces/credo/AID/ACIS_HELP/HTM/DATA/ACIS...

TheZenPsycho··on Game Mechanic Explorer – examples for game mechanics, algorithms, and effects
I tried my hand at a side scrolling platformer in phaser myself some time back.

When I came up to variable jump height I tried a solution very similar to the one presented here, but I just could not get my jumps to feel at all "right". Jump height that's modulated by initial or continued velocity feels weird and floaty and a bit hard to precisely control.

I finally broke down and found a detailed analysis of the physics maths used on the original Super Mario Bros. I discovered to my surprise that variable height was achieved SMB1 by temporarily reducing gravity during the time the button was held down, capped by a time limit. Using this rule, jumps feel very solid precise and look more realistic than the image of a character with a continuously firing rocket under its feet.

TheZenPsycho··on JSZip: Create, read and edit .zip files with JavaScript
a multipart http response saves what kind of file?
TheZenPsycho··on JSZip: Create, read and edit .zip files with JavaScript
Except that the primary utility of zip is usually not its compression. It's the combining of multiple files into one "file". Basically what tar was invented for, but with actual universal support on every OS.
TheZenPsycho··on JSZip: Create, read and edit .zip files with JavaScript
Once again, a hacker news commenter's idea of what in browser javascript performance is like is ridiculously 15 years out of date.

It's 2014 now. Your iphone is 10 times faster than your 1998 pentium 2. Even with the JS vm penalty.

Unless you're zipping 70mb files, there's no chance you're overwhelming anyone's browser.

The usecase for this is the same you'd have for any desktop application: A handy "binary file format" library. Data portability wins.

TheZenPsycho··on Shape Hover Effects with SVG
Cute but I thought we collectively outgrew animated hover effects in 2007.

Oh well I guess we'll never really grow up.

TheZenPsycho··on Brendan Eich Steps Down as Mozilla CEO
Because viewpoints are not opaque little packages whose contents do not matter.

Nor are they isolated from historical context.

TheZenPsycho··on Ink trap
Or make better designs that don't assume the scaffolding will be hidden.
TheZenPsycho··on Why Don’t We Have a General-Purpose Tree Editor?
I thought a gui is what we wanted?
TheZenPsycho··on Why CoffeeScript Isn't the Answer
that's in there, with the assumption that you're using the promises based node.js api, but if you aren't, and you're using Q, that part looks like this

    var readFile = Q.denodeify(FS.readFile);
which doesn't create the promise. it just wraps the readFile method so that it returns a promise when you call it.
TheZenPsycho··on Why CoffeeScript Isn't the Answer

    fs.readFile("person.json")
    .then(function(e, personJson) {
        var person = JSON.parse(personJson);
        return myDB.query("lastname", person.name);
    })
    .then(function(matched) {
        return msgQueue.push(JSON.stringify(matchesLastname));
    })
    .then(function(id) {
        log.info("Message sent to queue: " + id);
    });
TheZenPsycho··on Ink trap
It's post modernism. One of the principle elements of post modernism is that the structure becomes the decoration. The internal becomes external. The scaffold becomes external. The walls are stripped back and the plumbing is visible, and you might even add some extra scaffolding and pipes that serve no real purpose anymore.

Serifs themselves are another example of this phenomenon. When the first "Sans Serifs" were produced, as part of the modernism movement (unlike post modernism, modernism is about stripping back decoration and reducing things to their pure functional nature) they were called "Grotesk", and the hacker news of the day widely panned them for being useless and illegible and stupid.

Now it's just boring and normal.

In a post modernist web page, every element has border 1px, normally used only for debugging purposes, and a label explaining what type of HTML tag it is and what its attributes are.

It's a cheeky rebellion against art history. It's embracing the absurdity of our technological ignorance.

It's the teenager saying the word "LOL" out loud like it has no history or context.

TheZenPsycho··on Depackaging the Nintendo 3DS CPU
No one ever "needs" to add DRM. That is just an arbitrary business strategy among many possible strategies which may or may not actually work.
TheZenPsycho··on Gay Firefox developers boycott Mozilla to protest CEO hire
I find hypothetical scenarios quite challenging. I suppose it's possible the people within mozilla may pull another "mozilla" and spawn a new company made out of many of the same people to maintain its codebase.

I think it's more likely Mozilla, as an organisation, would fire or enfeeble Brendan Eich before that happens.

I only recently learned about the donation, so you have no idea the cognitive dissonance I have been going through.

I believe that, as a champion and a leader, you can't get anyone better than Brendan Eich for the free software movement. But as a symbol, and a figurehead, the donation is really problematic. If it had never come to light, if he had never revealed his inner feelings about homosexuals, would it be a problem for mozilla with him in this role? Maybe, I doubt it though. I think he is utterly professional at keeping those things seperate and interior.

On the other hand, it could very much affect his leadership abilities if he ever has to work directly with someone he knows to be gay. Or many someones. Or an entire company of someones.

This is not to justify his donation. Which was a bad bad idea on his part, and bad ethically speaking too, not just because he got caught. but that I think it's not enough to discard a whole person over.

But on the other hand.. can you sense my cognitive dissonance?

TheZenPsycho··on GNU ease.js
it's not bolt on. "class" means something subtly other than what you think it does, in this context, following in the long loved javascript tradition of looking eerily like java's syntax while behaving in weird utterly surprising ways. (surprising to a java developer).

But you know, you guys WANTED "classes" so there you go. ;)

TheZenPsycho··on GNU ease.js
that's been possible for years.

Pull your understanding of what javascript is out of 2005.

TheZenPsycho··on GNU ease.js
what language do you think it's like?
TheZenPsycho··on GNU ease.js
I assume this message is aimed at me. I'm not worried about ES6. ES6 classes are just syntactic sugar over prototypes, so it'll still confuse the FUCK out of java, c#, c++ and flash developers, because they are still SEMANTICALLY weird and confusing to people used to classical inheritence.

So I'm happy about that. As long as Java developers are unhappy with something, I likes it.

The awkward incantations you speak of are indeed awkward, I will admit.

I mean, how fucking confusing is

    Object.create({ your prototype here });
am I right? This is much better:

    MySpecialFramework.extend({ my prototy.. .*ahem* class here! })
TheZenPsycho··on Gay Firefox developers boycott Mozilla to protest CEO hire
Or be allowed to be included in the will of your loved one, or be allowed to visit them in the hospital, or be allowed to attend their funeral if your loved one's parents don't like you...

Can we argue it now?

Prohibiting same sex marriage is the government asserting that it is not possible for two people of the same sex to love one another, by any definition that would allow them to be considered legally "family", and that is definitely not equality.

TheZenPsycho··on Gay Firefox developers boycott Mozilla to protest CEO hire
And all it took to fork mariaDB was the support of several large corporations.
TheZenPsycho··on Gay Firefox developers boycott Mozilla to protest CEO hire
Yes that's the fantasy. The reality is you can't just casually fork a project as big as mozilla. The only way that codebase stays even barely maintained with security bug fixes, is with its army of coders. The great thing about FLOSS is that it's POSSIBLE. The not so great thing about it is, in many cases you're probably better off just starting from scratch.
TheZenPsycho··on Game Programming Patterns – Bytecode
You're probably right and it's totally irrelevant in this day and age with cheap memory and cpu power.

I can't help but remember fondly on the idea of the bytecodeVM that "Out of this World" used to draw vector graphics, and think "That. is. neat".

or the power and flexibility the SCUMM vm afforded story writers.

It's fetishistic and unrealistic I suppose, to think it would be cool to do some amazing game on some extremely primitive slow low power cheap machine that anyone could buy for like $10. The whole fantasy usually ends when you realise that the cost of displays is well beyond the cost any actual computer hardware you may consider.

← PreviousPage 3 of 22Next →