Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
sharkbrainguy
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
sharkbrainguy
13y ago
Is this helpful? http://en.wordpress.com/windows-live-writer/
2.
▲
by
sharkbrainguy
13y ago
2004 seems really late for the inception (or possibly formalisation) of Domain Specific Language, I assume that you're talking specifically about embedded (also called internal) DSLs, otherwise SQL at least is from 1986. As an earlier
3.
▲
by
sharkbrainguy
13y ago
It seems like for reduced calorie Coke specifically, it is marketed as "Diet Coke" or "Diet Coca Cola", in at least Australia[1], New Zealand[2], The United Kingdom[3], India, Israel and The US[4]. [1] https://
4.
▲
by
sharkbrainguy
14y ago
I think you've excluded the middle here, (#1.5 perhaps) one who thinks that your code is worthless/dangerous and does not call you a loser. It can be true that a piece of software is a poor replacement for an existing tool. It can be tr
5.
▲
by
sharkbrainguy
14y ago
I don't think a critique of the code in question is especially relevant to the main point of the article, i.e. the practice of mocking open-source projects. Debating the technical merits of this particular project can't really address that.
6.
▲
by
sharkbrainguy
14y ago
If you're after a standard library for Javascript, you could do worse than including es5-shim. Which has the advantage of being a library that (partially) implements a standard: Ecmascript 5. > es5-shim.js and es5-shim.min.js monk
7.
▲
by
sharkbrainguy
14y ago
Clearly jQuery isn't providing a lot of the things they are looking for in a standard library, as it is focussed on DOM manipulation and Ruby.js attempts to provide core types like Enumerables and Time.
8.
▲
by
sharkbrainguy
14y ago
You can achieve the same effect without using eval, which his many known problems in terms of security and performance. function render(tpl,data){ function lookup (obj, keys) { return (keys.length === 0
9.
▲
by
sharkbrainguy
14y ago
No, Javascript is not "just scheme" with a few bad design decisions. They have significant differences. Scheme has: call-with-current-continuation http://people.csail.mit.edu/jaffer/r4rs_8.html#IDX509 Tail Call Optimisation A numeri
10.
▲
by
sharkbrainguy
14y ago
I have the same reaction, because I prefer this: Q: "How much will lunch cost?" A: "$20" To this: Q: "How much will lunch cost?" A: "Either $0 or $200"
11.
▲
by
sharkbrainguy
15y ago
I think you're referring to John Key. http://en.wikipedia.org/wiki/John_Key
12.
▲
by
sharkbrainguy
15y ago
Pandoc does that already http://johnmacfarlane.net/pandoc/ Pandoc is written in haskell but there's c bindings to it https://github.com/toyvo/libpandoc so you can use it from anywhere.
13.
▲
by
sharkbrainguy
15y ago
I would also love an invite: @gmail.com edit: Invite Received! Email redacted! Thanks alot
14.
▲
by
sharkbrainguy
16y ago
Here's javascript, the other languages are left as an exercise. function Kitten(width, height, color) { var img, g, w, h; w = parseInt(width, 10); h = parseInt(height, 10); g = color ? "" : "g/";
15.
▲
by
sharkbrainguy
16y ago
commit only commits changes that have been staged
16.
▲
by
sharkbrainguy
16y ago
(function foo() { console.log("hello world"); setTimeout(foo, 1000); })();
17.
▲
by
sharkbrainguy
16y ago
Most javascript modules are defined inside a similar pattern, I'm surprised you haven't seen it yet. http://www.adequatelygood.com/2010/3/JavaScript-Module-Patte... https://github.com/jquery/jquery/blob/master/src/ajax.js
18.
▲
by
sharkbrainguy
16y ago
Chorus makes it super easy to embed live timelines from twitter, facebook, friendfeed, hackernews and github into webpages. https://github.com/sharkbrainguy/qorus is a port from the original MooTools module https://github.com/sharkbraing
19.
▲
Chorus: A jQuery plugin for embedding timelines
(github.com)
2 points
by
sharkbrainguy
16y ago
|
1 comments
20.
▲
by
sharkbrainguy
16y ago
The immediate-function pattern starts with an open paren. (function () { }());
21.
▲
by
sharkbrainguy
16y ago
If you're using mootools, I've written a simple wrapper for Embedly (available under BSD). https://github.com/sharkbrainguy/Chorus/blob/master/Source/E...
22.
▲
by
sharkbrainguy
16y ago
ah, I see I was reading completely wrong
23.
▲
by
sharkbrainguy
16y ago
http://keithmajhor.pastebin.com/xvgVAKve removed the implicit global
24.
▲
by
sharkbrainguy
16y ago
Good point, I was just using that because that's the domain, I normally use. I've just pushed an update to fix that. (also I updated the demo)
25.
▲
by
sharkbrainguy
16y ago
sure http://gerardpaapu.com/hncomments/
26.
▲
A jQuery plugin to embed a HN thread in a webpage (uses api.ihackernews.com)
(github.com)
13 points
by
sharkbrainguy
16y ago
|
5 comments
27.
▲
by
sharkbrainguy
16y ago
can I get dot.ww.com or kapo.ww.com -> gerardpaapu.com
28.
▲
by
sharkbrainguy
16y ago
I think you might have misread the code. Each `fn` is bound exactly once, `forEach` is not a loop.
29.
▲
by
sharkbrainguy
16y ago
(ITYM js2-mode) No. I use this to indent my JS: http://www.vim.org/scripts/script.php?script_id=1936 You could use JSLint plugin to get more of the features, but I've never gotten it to feel like js2-mode.
30.
▲
by
sharkbrainguy
16y ago
After examining the cube it precalculates an optimal (least moves) solution using Kociemba's algorithm, specifically it uses Cube Explorer by Herbert Kociemba.
More ›