Better HN
topnewbestaskshowjobs
Log inSign up

functional-tree

5,415 karma · joined Feb 10, 2009 (17y ago) · 963 submissions

Submissions

comment 12y ago · link · parent

I've used Om for several projects and have never run into a bug in the framework.

comment 12y ago · link · parent

Agreed, and kudos for writing so much, so well, about these new paradigms.

comment 12y ago · link · parent

I think the name "transducers" is a little unfortunate only in that it sounds very foreign to most coders, leading the concept to potentially be ignored. Don't let the name "transducers" or the relation to Clojure scare you off; you don't have to know either thing to understand how transducers can be useful.

comment 12y ago · link · parent

A typical emacs setup includes a keybinding (C-c C-d) to display the docstring for the function under the cursor, as well as the invaluable "M-." to jump right to the function's source definition.

comment 12y ago · link · parent

We built tools that allow us to create and distribute applications and information at an incredible pace. The web, and the technologies surrounding it, emerged quickly, with bitter fights (Netscape v. Microsoft) and competing standards. Now we pay the price for that speed of innovation.

Fortunately, things are looking up: As the web stabilizes as a platform, and browser developers have time to pay back their code debt, applications will respond more quickly. Similarly, we're starting to see better toolkits like React and Om, which treat the browser more as an application platform and less like a document viewer.

I wholeheartedly agree with the sentiment behind this post. We developed the web quickly; as the web stabilizes, so can we step back and optimize the slow parts. And we are: HTTP 2.0, Servo, WebGL, asm.js, better JavaScript engines, better rendering engines, and better applications.

The browser isn't inherently a slow layer of abstraction; we just haven't refined the technology to a point where it's simple to create performant webpages. I think we're on the right track, but progress is slow when you're trying to upgrade everyone in the world.

comment 12y ago · link · parent

The interface seems unnecessarily confusing and unintuitive, though the ideas are worthwhile.

comment 12y ago · link · parent

(although server-sent-events are supported by just about everything except IE: http://caniuse.com/eventsource )

comment 12y ago · link · parent

I once heard that they don't store that info, though I would love to be proven wrong.

comment 12y ago · link · parent

Work is in progress; you can track it in https://bugzilla.mozilla.org/show_bug.cgi?id=516752

comment 12y ago · link · parent

I like to think most people would change their tone if they were talking to the creators face-to-face.

comment 12y ago · link · parent

I agree that it should have come up in the discussion; I think that even if it did, it is a reasonable decision to think that his appointment as a whole would be worth the risk.

That's really what this was -- a calculated risk, just like all CEO appointments. I think it's just as reasonable to believe that it could have gone the other way -- that there wouldn't have been as big of a backlash.

comment 12y ago · link · parent

It's unreasonable to expect the Mozilla Board to have the foresight of the community's reaction. There was no large sect upset by Brendan's appointment on political grounds. There were a few squeaky wheels, a few silent ones, and a silent majority that had no problem with it.

Hubris? Nah. They just misjudged the ability of the media and vocal critics to not spin a historical donation as a wildly out of scope controversy for the sake of attention, pageviews, and a misguided sense of social rights.

comment 12y ago · link · parent

The headline is pretty explicit: "siri knows when to stop listening".

comment 12y ago · link · parent

...copyright?

comment 13y ago · link · parent

It worked for me with `[row column]`.

comment 13y ago · link · parent

I'm saying two things:

- A 4K monitor has less DPI than a "retina" monitor, so you still see the pixels, thus it's not like someone took a 27" cinema display and doubled the pixels.

- Two 27" displays feel 'worse' to me: While it seems like dual 27" displays would be able to display more, I can't use them both horizontally because my head has to pan too much. And if I switch them to portrait, it's hard to fit two editing windows side-by-side in 1400 pixels comfortably.

So I like the 4K better than the 27" (or dual 27") setup I used before.

comment 13y ago · link · parent

Looks like it'll still be fairly expensive (~$4K+) if the exchange rate conversion is to be believed[1]. FWIW, I have an ASUS 4K monitor I purchased recently, and it feels like a world apart. It's not quite retina, but the extra real estate makes all the difference. I've used multiple 27" displays side-by-side before and the effect isn't nearly as useful even though the screen area is greater.

[1] https://www.google.com/search?q=HK%2441%2C899+to+usd&ie=utf-...

comment 13y ago · link · parent

PSA: The best way to delimit URLs is to enclose them with angle brackets (< and >) as per < http://www.ietf.org/rfc/rfc2396.txt >.

However, like many flaws with HN's underdeveloped software, you can't actually do that on HN because the parser includes the trailing > in the URL. So your best bet here is with whitespace.

comment 13y ago · link · parent

Cool, has anyone made something similar for Clojure?

comment 13y ago · link · parent

All snark aside, I wonder what the rationale was for doing this. It'd be a shame to load a website in a browser 20 years from now, only to see the site render incorrectly due to no-longer-implemented tags. Next, <center>?

It's tough, obviously, because we can't have cruft build up all over. But this seems like a fairly straightforward case that a browser could shim out in JavaScript by default. Blink is a pretty straightforward piece of internet history. It's not like <applet>, which, while also a piece of history, actually carries legitimate complexity/security risks.

comment 13y ago · link · parent

Context: The Game Closure SDK, a toolkit for developing games in JavaScript that run on the web, iOS, and Android, used to be dual-licensed as the GPL and a proprietary license. The previous license used to require users to display a GC splash screen, among other things. The MPL removes these restrictions.

Disclosure: I used to work at Game Closure.

52.

Game Closure SDK switches to the Mozilla Public License(gameclosure.com ↗)

1 points · by mcav · 13y ago · 1 comment

comment 13y ago · link · parent

People who upvote polls tend to forget to upvote the story as well.

comment 13y ago · link · parent

It's ambiguous the other way:

   (defn some-string []
      "is this a docstring or a return value?")

comment 13y ago · link · parent

I don't think so:

       "how will that impact X"
    vs "how will that affect X"

comment 13y ago · link · parent

It's often a mystery why people get hellbanned.

comment 13y ago · link · parent

It's unfortunate that the sites and links that stay up are the outliers we remember, rather than the norm.

comment 13y ago · link · parent

Next, someone should put that in LaTeX to automatically fix it rather than just detect it. (Or some sort of HTML/JS plugin, since using LaTeX again is somewhat disconnected from my immediate life goals).

comment 14y ago · link · parent

That command runs drip only for that particular invocation of the command. You can put the following:

    export JAVA_CMD=drip
into your ~/.profile (etc) file to have it affect all future Java launches from leiningen.
12345
33