Better HN
topnewbestaskshowjobs
Log inSign up

jonjamz

4 karma · joined Sep 5, 2011 (15y ago) · 9 submissions

I write code, produce music, and make clothes.
Submissions

1.

Ant Design's Disastrous Christmas Easter Egg(github.com ↗)

10 points · by jonjamz · 7y ago · 1 comment

comment 12y ago · link · parent

I would recommend checking out Kadira for optimizing your app. It's pretty amazing the kind of information you get out of it, and Kadira Academy teaches you a lot about Meteor's internals.

Also, if your app is now "suddenly slow", I'm guessing it's been around for a while. If you don't have the proper indexes on MongoDB it's going to get slower as it loads up with more data. I've experienced this first-hand, migrating a Rails app from Postgres to Meteor/MongoDB. We have millions of records, and one missed or incorrect index can slow the whole app down, sometimes unbearably.

comment 12y ago · link · parent

Since Meteor automatically scopes by file, you can write your template helpers and event handlers in the same file, and place a reactive data structure at the top of the file that both can access.

You could use reactive-object (my package), as it provides a fairly drop-in reactive object that supports arrays as reactive properties, including all the Array.prototype methods.

comment 12y ago · link · parent

Don't make Meteor sound like a toy, though, 'full stack' engineers worth their salt can do awesome things with it if they understand its inherent limitations. I ran Meteor with Redis before their official Redis implementation came out, and I used Redis pub/sub to sync in real-time between 8 different instances of Meteor in production. It rocked.

Just because a framework comes out supporting only MongoDB doesn't mean you have to use MongoDB for everything. It's still on Node.js, and it still supports NPM packages, with some small caveats.

comment 14y ago · link · parent

Yes, right now there is a PHP example implementation that should work on most shared hosting as well. No need to open terminal, much less have root access.

6.

Relayer: a free HTTP-based compiler for LESS, CoffeeScript, and more(relayer.co ↗)

2 points · by jonjamz · 14y ago · 3 comments

comment 15y ago · link · parent

> Kayak beware!

This definitely looks better than Kayak. ^_^

comment 15y ago · link · parent

> I wouldn't mind something that says "hey, you could save $x on this flight if you went to $nearby_airport instead of the one you're on."

Definitely. They could also just overlay that on the map like they do the popular destinations.

comment 15y ago · link · parent

I was just discussing this with a friend last night. There is a lot more to going global (or even targeting a new culture domestically) than simply translating your website and/or getting prepared for international shipping (if your product is physical). UX needs to be culturally savvy; ideally, the product/service would be adapted specifically for each culture. If that's out of the budget, a company should at least make sure that they aren't being unintentionally offensive.