Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
mckoss
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
76 ms
·
301.
▲
Idea Man? Ex-Microsoft geek reviews Paul Allen’s memoir
(geekwire.com)
3 points
by
mckoss
15y ago
|
0 comments
302.
▲
by
mckoss
15y ago
(I've been running social bookmarking site, Faves.com, since 2005). I still think there is a largely unmet need that fits into the "Social Bookmarking" niche. But I don't think "Social" is the best way to think about it. As an avid user (o
303.
▲
by
mckoss
15y ago
I've been thinking about a clean way to handle multiple inheritance (for mix-in style classes) in JavaScript for a while. I think this approach is the best I've come up with so far. There's more documentation (and source) on this github re
304.
▲
A Multiple Inheritance Pattern for JavaScript
(wiki.pageforest.com)
3 points
by
mckoss
15y ago
|
1 comments
305.
▲
by
mckoss
15y ago
Creating a programming system where the primary representation of a program is not text, but rather a dynamic data structure is the core idea behind Intentional Programming (Charles Simonyi's post-Microsoft company). http://intentsoft
306.
▲
by
mckoss
15y ago
At $500/mo, this is more like a "weekend-style" business, providing some nice walking around money even if not enough to pay the bills.
307.
▲
by
mckoss
15y ago
Didn't Linus forget newnode->count = 1;
308.
▲
by
mckoss
16y ago
Missed things like overloading in C++ (calling different functions by matching of their type signature, not just their name), template functions, generics, and exception handling (try/catch/throw).
309.
▲
by
mckoss
16y ago
Residual rates sold through Google AdSense are frequently below $0.50 CPM.
310.
▲
by
mckoss
16y ago
If library writers were to use CommonJS Modules (i.e. just use require() and exports), we'd be most of the way there. Require.js and AMD still feel like they are not appropriate in all scenarios (e.g., I really don't want or need a "loader"
311.
▲
by
mckoss
16y ago
Found a nice solution for multi-processors: http://u.go2.me/4Kx
312.
▲
by
mckoss
16y ago
I'm working on extending the example to allow for use of Web Workers.
313.
▲
An implementation of the Ambiguous Operator (Amb) in JavaScript
(wiki.pageforest.com)
2 points
by
mckoss
16y ago
|
2 comments
314.
▲
An Open Source Data Format for Puzzles (Crosswords, Sudoku, etc.)
(ipuz.org)
1 points
by
mckoss
16y ago
|
0 comments
315.
▲
by
mckoss
16y ago
tl;dr
316.
▲
Updated JavaScript namespace.js - now supports CommonJS Modules
(github.com)
1 points
by
mckoss
16y ago
|
0 comments
317.
▲
by
mckoss
16y ago
Amazing. Tried to run the current CPython port on iPad and the browser crashes. :-(
318.
▲
by
mckoss
16y ago
Very interesting. I wonder why Chrome wasn't mentioned at all in the survey. I would love to find some tools, like a Chrome extension, that could display an accessibility score for a web page and provide guidance on solving problems. For
319.
▲
by
mckoss
16y ago
TBD feature...
320.
▲
by
mckoss
16y ago
Thanks so much for the thoughtful feedback. BTW, can you explain why you can't do page rendering in JavaScript for accessibility? Is there reason screen readers can deal with dynamically generated HTML?
321.
▲
by
mckoss
16y ago
Yeah. In this app I used the (very nice) ShownDown.js as a MarkDown format generator. Which DOES properly sanitize most input. I then added the special <script> evaluation stuff as a cool "hack". As client-side JavaScript gets mo
322.
▲
by
mckoss
16y ago
Yes - this app is not a good example of doing this "right" (my bad). It should instead sanitize the input before displaying it (especially to another user).
323.
▲
by
mckoss
16y ago
Thanks for the pointer to unhosted - I've not seen this before. Sounds like a standard protocol to separate application from data storage - pretty similar to the Pageforest model - except federated!
324.
▲
by
mckoss
16y ago
Don't be hater ... come work with us! ;-) Seriously, thanks for giving it a try - I'd love to get your feedback on problems you have using the platform...
325.
▲
by
mckoss
16y ago
It is true that you'd need to write your app so that you either segregate user's input (the only one reading a document is the original user who created it), or sanitize user-entered data in the client before displaying it. I think this is
326.
▲
by
mckoss
16y ago
Please? ;-)
327.
▲
by
mckoss
16y ago
Good feedback. What I'm aiming for (and trying to see if there are others that this resonates with), is a higher level of abstraction for HTML5-centric application development. There's a lot to learn to build applications that span databas
328.
▲
by
mckoss
16y ago
Your JavaScript application uses a REST protocol, or, more usually, or client JavaScript storage wrapper: http://wiki.pageforest.com/#pageforest-api/storage Simpler apps will save their state in a document created for the user (up to 1 MB
329.
▲
by
mckoss
16y ago
User authentication is handled by the server, and then a session cookie is created on your application sub-domain. App writers don't have to worry about authentication - just redirect the user to the www.pageforest.com/sign-in/appid page, a
330.
▲
by
mckoss
16y ago
Good points. The back end is implemented on App Engine. But we provide an abstracted storage interface. Application can created "documents" (up to 1 MB of JSON, and saved using a HTTP PUT or POST). Our permissions model is based on the
More ›