Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jedschmidt
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
31.
▲
by
jedschmidt
13y ago
Gaunt in 128 bytes of JavaScript: function(a,b){return a[b="replace"](/./g,a=function(a){return a[1]?String.fromCharCode(parseInt(a,2)):+(a==" ")})[b](/.{7}/g,a)} I first saw this neat trick
32.
▲
How to set up stress-free SSL on an OS X development machine
(gist.github.com)
3 points
by
jedschmidt
13y ago
|
0 comments
33.
▲
by
jedschmidt
13y ago
This is an awesome solution for folks using Backbone and who don't mind a tight framework coupling. But if you're not on Backbone, or don't want to add another constraint to how your app is built, it's pretty easy to set up your own Phantom
34.
▲
by
jedschmidt
14y ago
As a fairly regular user of Punchfork, I definitely wish it were still around, but this feels self-entitled. Let's not forget that the data Punchfork is letting users take out is the exact information they put in: a list of liked recipes. T
35.
▲
by
jedschmidt
14y ago
I (and all Punchfork users, I assume) received a notification on January 3rd, including the following: Initially, support for Punchfork will continue, but we will soon be retiring the Punchfork site, API and mobile apps. We be
36.
▲
Why I'm giving REST a rest
(roysvork.wordpress.com)
2 points
by
jedschmidt
14y ago
|
0 comments
37.
▲
by
jedschmidt
14y ago
Does anyone know how often they update their containers for other platforms? The maximum node.js version on Beanstalk is 0.8.21, but the current stable is now 0.10.0.
38.
▲
Literate CoffeeScript
(coffeescript.org)
234 points
by
jedschmidt
14y ago
|
108 comments
39.
▲
by
jedschmidt
14y ago
this is apparently blogspam that embeds the original article from iA: http://informationarchitects.net/blog/the-web-is-all-about-t...
40.
▲
by
jedschmidt
14y ago
You're being redirected because JavaScript is disabled. I should make this more clear.
41.
▲
by
jedschmidt
14y ago
Put your domo code into a function that takes data and returns a DOM object. BAM, there's your template. Your JavaScript code can only have one global object, I don't see a reason to pass it in instead of finding it for you.
42.
▲
by
jedschmidt
14y ago
This is great feedback, will definitely look into this.
43.
▲
by
jedschmidt
14y ago
Thanks for the reference to crate, I'd never heard of it. I'd imagine the pushback on ideas like this is much less in homoiconic lanugages like clojure, since when all is said and done everything is an AST.
44.
▲
by
jedschmidt
14y ago
I don't know much about Mason, but this isn't a templating engine; it's just a wrapper library on top of the DOM API. Since it doesn't need any compilation or coordination outside of the JavaScript process, it's much less complex, and compo
45.
▲
by
jedschmidt
14y ago
This is great feedback. - The caps are there to prevent global namespace collisions, since the chances of UPPERCASE global variables existing is smaller. I don't want to add lowercase names to the global, but they would be fine on the domo
46.
▲
by
jedschmidt
14y ago
I (the author) agree. It's not for nostalgia's sake, but to avoid namespace collisions on the global object.
47.
▲
by
jedschmidt
14y ago
Right. This entire page could've been rendered on the server. The point is that you can choose the best tradeoff for your app.
48.
▲
by
jedschmidt
14y ago
Hello there, author here. I'm still working on how to get the message across, but the idea is this: We all know CSS. We all know HTML. Most of us agree that neither is powerful enough to build modern web apps, hence the explosion of CSS-pre
49.
▲
by
jedschmidt
14y ago
Hey there (author here), can you explain what you mean by decoupling? I'm not sure how this is any less decoupled; you can still keep everything modular in separate files/systems. You can use this to compile your CSS and still LINK it as a
50.
▲
by
jedschmidt
14y ago
Exactly. Instead of learning arbitrary meta-languages on top of these technologies, I think we're better off just porting the syntax to JavaScript and using a more reliable and well-tested foundation to build abstractions.
51.
▲
dōmo: Markup, style, and code in one language
(domo-js.com)
83 points
by
jedschmidt
14y ago
|
75 comments
52.
▲
by
jedschmidt
14y ago
Don't hate the provider, hate the meme: http://knowyourmeme.com/memes/overly-attached-girlfriend
53.
▲
by
jedschmidt
14y ago
These are definitely good concerns. - Performance: It's about half of Underscore.js on Webkit[1], so it's not so horrible, and has yet to be optimized at all (such as by using document fragments, etc.) - Readability: The JS statement here i
54.
▲
by
jedschmidt
14y ago
You can still preserve modularity by pulling styles and markup into their own JavaScript modules and requiring them as you would any other module.
55.
▲
Rendering templates obsolete
(gist.github.com)
23 points
by
jedschmidt
14y ago
|
7 comments
56.
▲
by
jedschmidt
14y ago
As discussed previously on HN: http://news.ycombinator.com/item?id=4366555
57.
▲
Backbone.stickit: Yet another model-view binding plugin for Backbone.js
(nytimes.github.com)
1 points
by
jedschmidt
14y ago
|
0 comments
58.
▲
Online editor for reveal.js HTML presentations
(rvl.io)
2 points
by
jedschmidt
14y ago
|
0 comments
59.
▲
by
jedschmidt
14y ago
The text node approach is cross-browser, whereas I don't think this works on oldIE.
60.
▲
by
jedschmidt
14y ago
new Option("<div>in the browser, yes.</div>").innerHTML
More ›