Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cnp
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
35 ms
·
331.
▲
by
cnp
12y ago
When people complain about these types of "steps", it makes me wonder if they're not thinking clearly about what these steps actually mean, especially for larger projects or when working on a team where synchronization is abs
332.
▲
by
cnp
12y ago
Not to mention that the require('path/to/file') "sugar syntax" is hardly mentioned anywhere and you end up having to track your imports 1 to 1, in order .
333.
▲
by
cnp
12y ago
Right here guys, right here. Lots of very real monetary lessons to be learned from the above
334.
▲
by
cnp
12y ago
Running your scroll within requestAnimationFrame isn't what makes the scrolling smooth, its the scroll multiplier which does it, making sure that deltas (or changes) in the y-position are normalized down into what will eventually be a
335.
▲
by
cnp
12y ago
After browsing around, you're GitHub repo is a learning treasure. Thanks for posting all of that stuff in such a clear way.
336.
▲
by
cnp
12y ago
Thanks so much for posting this! I haven't found anything this concise before, with such a specific target.
337.
▲
by
cnp
12y ago
Well, the way you should do it is abandon .jsx completely, and just stick to .coffee. Something like this: React.createClass render: -> {div, h1, span} = require 'reactionary' div class: 'home',
338.
▲
by
cnp
12y ago
Yeah, the hosting is fantastic, a devs dream. Already spammed my company with a link and a working example :)
339.
▲
by
cnp
12y ago
Well, not exactly. You made the fatal UI mistake --and by fatal I mean absolutely unusable for a great % of users-- of tying your viewport scroll to a fixed incremental +1 tick on the scroll wheel. If a user is using a MacBook touchpad, it
340.
▲
by
cnp
12y ago
Thanks for the response. I have, and its simple enough from the perspective of a developer that has been in the field for a little while, but since these services are getting more and more popular it seems like striving for absolute clarit
341.
▲
by
cnp
12y ago
While this isn't specific to hosting, one glaring thing that I've noticed in the documentation / tutorials is there are no clear instructions on how to retrieve data. In the Getting Started link at the top of your site, th
342.
▲
by
cnp
12y ago
Just deployed my first app and WOWOW that workflow is NICE.
343.
▲
by
cnp
12y ago
Totally. Since I started following React and digging into various links and resources the FP paradigm is really starting to make sense in terms of long-term benefit. Time for the next step, however.
344.
▲
by
cnp
12y ago
The latter. You would use html5's draggable, then update on complete. Check out http://webcloud.se/sortable-list-component-react-js/
345.
▲
by
cnp
12y ago
There's this: https://github.com/mereskin/jsxify But really, once you get used to keeping everything together it really does feel better . You just have to try it out. Personally, since I use CoffeeScript, I li
346.
▲
by
cnp
12y ago
I've been trying to move towards ClojureScript for a while, but there are so few introductory resources out there that allow you to navigate between the Clojure world and the JavaScript world in a way that makes sense to people who com
347.
▲
by
cnp
12y ago
I liked the layout as well. One thing I would change would be to make the code area wider than the demo area, as some of your lines wrap, where the demo area rarely needs a line break.
348.
▲
by
cnp
12y ago
Totally agree here, but this too is a double edged sword.
349.
▲
by
cnp
12y ago
This is definitely a "Sell this to your boss" type of post :) Great work.
350.
▲
by
cnp
12y ago
WOW! do I love the internet. Go you guys (and gals :) I couldn't imagine connecting like this even 10 years ago.
351.
▲
by
cnp
12y ago
In my experience, it's all about experience. Experience teaches you to come right out and ask questions, and not kill time when many of your coworkers most likely know or can intuit the answer. I'm all about hiring new devs and g
352.
▲
by
cnp
12y ago
:)
353.
▲
by
cnp
12y ago
Totally. That's one of my favorite things about CoffeeScript and I hope that eventually the keywords make it in to the final spec: if a isnt b or b is c then return e
354.
▲
by
cnp
12y ago
I think you're absolutely right. People aren't used to dealing with the functional paradigm that React has introduced and it's interesting, and in many cases the benefits are immediately apparent and in others are only appar
355.
▲
by
cnp
13y ago
I agree with this completely. Like everything, moderation is absolutely key. But that being said, unlike many drugs MDMA has a built-in cut-off switch (another perk) which basically prevents you from feeling anything more after about three
356.
▲
by
cnp
13y ago
Hangovers tend to occur when you've had MDMA mixed with one of the ever-more-frequent mixers such as methamphetamine, cocaine or even MDA, which actually targets dopamine receptors far more prominently than the serotonin and knock you
357.
▲
by
cnp
13y ago
I've personally seen MDMA fix two marriages, with one session each. Its divine stuff. I'm very happy that new studies have been completed or are being planned to further explore the psychotherapeutical side of the drug. But aside
358.
▲
by
cnp
13y ago
Browserify. I've never understood why people who are not constructing truly massive applications decide to go with Require.js, because in the end you just run r.js against the build to concatenate anyways. And the whole notion of &
359.
▲
by
cnp
13y ago
Totally agree. This article really made me tear up; the association is enough to destroy you in the end.
360.
▲
by
cnp
13y ago
Wow, that Tweetus demo is SO clunky, like a bad Flash site :/
More ›