MRoderick

MRoderick

29p

31 comments posted · 1 followers · following 0

13 years ago @ roderick.dk - Disable Webpage Previe... · 0 replies · +1 points

This fix also works with Safari Version 6.0 (8536.25) on Mountain Lion

13 years ago @ roderick.dk - Disable Webpage Previe... · 0 replies · +1 points

Hey!

I've fixed the error on the website, and it's now possible to see all the instructions again.

/Morgan

13 years ago @ roderick.dk - Disable Webpage Previe... · 0 replies · +1 points

Thank you for reporting the error.
Something seems to go wrong with the generation of the website, I'll have to look into this.

14 years ago @ roderick.dk - Introducing Pubsubjs, ... · 0 replies · +2 points

Publish/Subscribe is not a replacement for Observer based patterns, such as most event systems are implemented.

I am working on an article that shows the difference between the two patterns, and discusses when the use of each of them is appropriate.

14 years ago @ roderick.dk - Introducing Pubsubjs, ... · 2 replies · 0 points

Thanks for the feedback, I've updated the first version of the test case to use the raw version of PubSubJS, http://jsperf.com/pubsubjs-vs-jquery-custom-event...

I am currently doing some refactoring of PubSubJS in a private branch, to see if I can speed up the asynchronous publishing of messages. If my hunch is correct, the speed will be much closer to synchronous publishing of messages. Hopefully I will soon find the time to complete this, and if JSPerf testing shows that my research has been successful, I'll merge it into master and do a new release.

I am also working on a little blog post examining the differences between the Observer pattern and Publish/Subscribe.

14 years ago @ roderick.dk - Code Retreat Berlin · 0 replies · +1 points

Interesting.

14 years ago @ roderick.dk - Code Retreat Berlin · 0 replies · +1 points

I think it would absolutely be worthwhile to do a code retreat in Copenhagen. If it turns out to be a success, then I think we could probably do it more than once, and perhaps also do one in Malmö.

15 years ago @ roderick.dk - Introducing Pubsubjs, ... · 1 reply · 0 points

The message is passed, so you can use the same subscriber for several different messages. Data is usually the optional argument, but in pubsub / events systems is customary to always pass the message or event.

15 years ago @ roderick.dk - jQuery Data Link consi... · 0 replies · +1 points

No, not at all ... it was an imagined scenario, for the sake of argument.

I've not proved that it exists or doesn't, and with no test cases, nor has anyone else ...

15 years ago @ roderick.dk - jQuery Data Link consi... · 0 replies · +1 points

Hostdude, thank you for your comments!

Perhaps it IS a contradiction, that I'd like to see other plugins blessed and become part of jQuery core. Perhaps a better solution would be rewriting parts of jQuery core where it could be stronger, just like what's going on with Ajax in 1.5b1 (basically a complete rewrite, which greatly improves error handling).

I agree, it could become a rather lengthy discussion of which plugins should become part of the core offering. Perhaps a better solution would be more official plugins, that would be actively maintained by the jQuery team (or a jQuery plugins team)?