Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
insin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
47 ms
·
571.
▲
by
insin
12y ago
I've tried something on the landing page now - it fakes the <ol>-numbered items based on the page number while it's waiting for the list of top story ids to load, and displays animated spinners while loading individual items
572.
▲
by
insin
12y ago
This was just the most simple way to get started. I was surprised the result wasn't _completely_ terrible :) Every individual item uses a ReactFireMixin method to register its own Firebase reference, binding the incoming data as an obj
573.
▲
by
insin
12y ago
Hoping to experiment with some of that soon. I implemented "x new comments" for Hacker New as a userscript [1]. Thinking of doing something similar by having new comments add themselves as "new" if you're already on
574.
▲
Show HN: React-hn – Supports all Hacker News API v0 item types
(github.com)
69 points
by
insin
12y ago
|
20 comments
575.
▲
by
insin
12y ago
Original source is here until I set up a proper repo (after modularising and setting up a build process): https://github.com/insin/insin.github.com/blob/master/react-...
576.
▲
by
insin
12y ago
Here's a React version with collapsible comments: http://insin.github.io/react-hn
577.
▲
by
insin
12y ago
Here's another React version which also does comments (and allows you to fold them - I needed to write a userscript for that before!). It's using react-router to switch between top stories, comments, individual comment and user pr
578.
▲
by
insin
12y ago
I wonder if anyone has created an Adblock Plus list for this? These rules will hide the popups on this page: blog.frontapp.com##div.sumome-popup blog.frontapp.com##div.sumome-scrollbox-popup Edit: looks like there is a list: h
579.
▲
by
insin
12y ago
Transcript is here: http://innuendostudios.tumblr.com/post/89201006992/this-is-p... The timed link in the grandparent post goes to this point in the video (the video uses “I hate Nickelback” as something to compar
580.
▲
by
insin
12y ago
To address the "explore using tcomb with React.js" point in tcomb's README, you'll find that it's a perfect fit, so go for it! Already having immutable instances all-but guarantees an easy performance boost down the
581.
▲
by
insin
12y ago
The docs recommend passing a callback for parent-child communication: http://facebook.github.io/react/tips/communicate-between-com...
582.
▲
by
insin
12y ago
Here's a Treadwater Interview which might give a flavour of how those Skype sessions go: https://www.youtube.com/watch?v=YGDkcLT8IqM
583.
▲
by
insin
12y ago
Adam Rutherford attended an Alpha Course and did a series of posts on the Guardian's Comment Is Free about it, if anyone's interested: http://www.theguardian.com/global/series/alpha-male Sounds like the
584.
▲
by
insin
13y ago
Are you using strict mode? It doesn't fall back to the global object as `this` (except for setTimeout/setInterval, which are specified that way) - since I've started using it, I find out pretty quickly if I was missing a `.bi
585.
▲
by
insin
13y ago
So it's a ComplexComplexApplicationComplexityManager.
586.
▲
by
insin
13y ago
Did you mean... http://en.wikipedia.org/wiki/Eurovision_Song_Contest
587.
▲
by
insin
13y ago
"float" is a perfectly cromulent layout technique.
588.
▲
by
insin
13y ago
https://github.com/insin/newforms The default branch is currently focused on using it with React to add client-side interaction and using React's server rendering - master (0.4.2) can be used for rendering and val
589.
▲
by
insin
13y ago
I think it depends entirely what you need to do and what your programming tastes are. Primarily, will Node's async nature bother you, or is one of the means of dealing via practices or libraries enough for you? I've not found anyt
590.
▲
by
insin
13y ago
Here's a JSXified version which assumes the existence of an "mshim" object which adapts tag calls and arguments to what m() expects: https://gist.github.com/insin/9639918
591.
▲
by
insin
13y ago
This is exactly why JSX is such a big win for this method of creating content - it's just sugar for the same function calls, but expressed in a form we're already used to multiply-nesting, with closing tags to help keep context a
592.
▲
Newforms – a form-handling library for React
(newforms.readthedocs.org)
2 points
by
insin
13y ago
|
0 comments
593.
▲
by
insin
13y ago
He did a bit of that routine on the same stage as her once [1]. I don't buy the above theory because if looks could kill, that would have been the end of Ed Byrne. [1] http://news.bbc.co.uk/2/hi/uk_news/n
594.
▲
by
insin
13y ago
You can also use your "project" (effectively: a module with a "settings" module) as an "app" (effectively: a module with a "models" module and a "templatetags" module if you need custom ones
595.
▲
by
insin
14y ago
TL;DR version: function(kwargs) { kwargs = _.extend({param1: true, param2: 42}, kwargs) // ... }
596.
▲
Big: an upside-down start-up incubator
(big.vc)
6 points
by
insin
14y ago
|
0 comments
597.
▲
by
insin
14y ago
Is the form definition-to-JavaScript code open source, by any chance? I ported django.forms to JavaScript so I could use it with Node.js, but it also runs on the client: https://github.com/insin/newforms Could be useful to plug the two to
598.
▲
by
insin
14y ago
It's blocked for me on BT, same message as The Pirate Bay > Error - site blocked
599.
▲
by
insin
14y ago
At JavaOne this year, the Nashorn team were also demoing Node.jar, a port of the Node.js APIs which runs on Nashorn. The talk one of the team members gave [1] on invokeDynamic and their under-the-hood Dynalink [2] library was pretty interes
600.
▲
by
insin
14y ago
It doesn't lack semicolons, it's only using them where necessary.
More ›