134 karma · joined June 9, 2013
Submitted questions are approved by admins via rapid fire Y/N buttons, with ability to fix typos, etc.
This authenticates that user for something like 5-15 minutes or however long to participate in voting.
The data sync is fast enough to be useful for real-time games.
When it comes time to scale up, ditch the built-in mongo (or sql) and set up your DB cluster, and for the web bits, use something like https://github.com/meteorhacks/cluster and you are off to the horizontal scaling races.
In response to the linked posts criticism:
No API-based authentication: having a REST api to interface with Accounts is not there by default, but Meteor does support adding REST endpoints, where one could easily roll a solution that does a server-side auth and respond with an auth token which could be stored in the user's record as appropriate. I'd be surprised if there wasn't already a package available which does exactly this.
App shutdown: Once you are running a 'real' site, you will probably have a separate mongo instance. This solves most of the problems, however yes, it is still possible for some 'in-flight' data to be lost. Adding a maintenance mode like https://github.com/yogiben/meteor-maintenance-mode solves this though.
Subscriptions scalability: It's all about writing publish functions that only send what you need for a particular screen / template / page. In practice, it is not difficult and can scale up quite nicely: http://meteor.redandivory.com/
Server-side rendering for SEO: As the link points out, there are community packages that can make this happen. The beauty of meteor is the huge amount of community packages available that are almost universally of high quality. Their use should be encouraged, and is not considered "hacky".
My 2c.
http://eloquentjavascript.net/ does a great job, especially in the later chapters.
http://learn.shayhowe.com/advanced-html-css/responsive-web-d... 'Responsive' site design is a must-have now-a-days.
http://alistapart.com/article/dao The philosophy and theory of web design
I have some other links you may be interested in on a blog post I wrote a while back: http://mygen.ca/develop-developing-developers/
Left pane is ok. Right pane is unresponsive.
2) Install Gentoo
3) Set up ssh / webserver / mail server / irc / etc...
4) Buy domain and point to your server
5) Successfully run your own site/blog/wiki for a while, have it do neat stuff, write about and share your experiences of learning to be a sysadmin
6) While under oath, swear by the SysAdmins creed.
7) ???
8) Profit.
Best played after pressing ctrl + plus a few times.
Runs smooth.
Case study: If trying to manipulate some ~100 inline-block elements into a grid, with dynamic (say, zoomable + pannable + screen size dependant) width, height and offset. It makes way more sense to programmatically modify the stylesheet using the CSSOM API with fast calculated values, rather than applying unique styles to each of those 100 elements in the DOM, O(1) vs O(n) - yes?
Feeling like the missing link
There's another schematic
Look, she's gettin' me a drink
By putting flowers on his crypt
'Cause Valentino's lost the script
---
I know I'm being overdramatic
But I think I'm going to run that risk
I'm walking down that same old plank
And baby I'm about to tank
But everything will turn out fine
app <- -> exports.setup = it
in LiveScript seems to compile to
(function(it){ return exports.setup = it; })(function(app){})
which is pretty crazy.
Another one, just above some code making many deep monkey-patches to the Sequilize db driver:
/* HOLY FUCK THIS IS THE SKETCHIEST THING EVER */
made me smile.
I honestly cried when alt.* on usenet was lost. We lost so much.
It just 'fits' with the web. name@address.tld - it's fantastic.
The h1 "Welcome" is where we are letting the visitor know what our product is about and how it can help them.
The "Welcome" button is the 'Main Menu' where the visitor can navigate through the different modules of the app.
The text of this button changes depending on which module the visitor is in... so.. when on the Welcome page, it says, well, "Welcome".
I wonder if it would be better to change the way the text of the button operates, or adding in a 2nd main-menu control with all the modules listed within the welcome page, or something else?
However using the search reveals no recent results..