Better HN
topnewbestaskshowjobs
Log inSign up

phpnode

7,416 karma · joined Oct 23, 2009 (17y ago) · 1,582 submissions

Founder of https://codemix.com/ - authoritative product context which makes sure coding agents build the right thing and humans stay in control.

Email: charles@codemix.com

Submissions

comment 11y ago · link · parent

I guess I failed to make this point properly, but Babel already supports static typing - you can use a plugin[0] and/or you can use it with Flow[1].

[0] https://github.com/codemix/babel-plugin-typecheck

[1] http://flowtype.org/

902.

Why Babel Matters(codemix.com ↗)

48 points · by phpnode · 11y ago · 28 comments

comment 11y ago · link · parent

Macros for JavaScript have been available for a long time[0], you can even use the C preprocessor[1]. Also I wrote a macro plugin for babel just yesterday [2]

[0] http://sweetjs.org/

[1] http://www.nongnu.org/espresso/js-cpp.html

[2] https://github.com/codemix/babel-plugin-macros

904.

Show HN: Hygienic macros for JavaScript(github.com ↗)

2 points · by phpnode · 11y ago · discuss

comment 11y ago · link · parent

AFAIK joyent have never once mentioned io.js in their communications, apart from to say "ha ha, what's that?"

comment 11y ago · link · parent

It actually had nothing to do with the pronouns or the angry mob, and everything to do with forcing a StrongLoop employee out.

comment 11y ago · link · parent

Is this sarcasm? io.js would not exist if joyent hadn't made significant mistakes, e.g. failing to ship a new release for years, also this political point scoring alienated a lot of people - https://www.joyent.com/blog/the-power-of-a-pronoun

comment 11y ago · link · parent

These kind of posts rather grate on me. OOP is a useful tool a lot of the time and sometimes it isn't, in this way it is identical to FP.

The whole problem is that people really like absolute statements, X bad, Y good. But the real world is no where near as simple as that.

comment 11y ago · link · parent

This is really great!

Refusey DO YOU REFUSE? We're refusing to drive things that matter.

http://tiffzhang.com/startup/index.html?s=61244441196

comment 11y ago · link · parent

offtopic - I've seen a number of blog posts using this hand drawn diagram style recently, does anyone happen to know how it's done? (answers other than "by hand" appreciated)

comment 11y ago · link · parent

There is an open pull request that adds "workers" to io.js, uses threads - https://github.com/iojs/io.js/pull/1159

comment 11y ago · link · parent

The zip files on that page contain the source for kdb, I thought I'd take a look at how it works.... nope! That is impenetrable

comment 11y ago · link · parent

no, he isn't:

> "To go out and buy new engines for the B-52, you'd have a really hard time fitting that into our program, but that's why we're interested in a public-private partnership, which would be a different way to amortize those engines over time and pay for them in the savings that they actually generate, instead of paying for them out of savings that you hope for.

This sounds like a Private Finance Initiative as the GP mentioned

comment 11y ago · link · parent

@dang why was this thread censored?

comment 11y ago · link · parent

> Also, is it a good idea to connect a machine that has an unprotected operating system to the internet?

If the operating system has no IP stack or networking of any kind then it's probably ok

comment 11y ago · link · parent

Would you trust those benchmarks if they did? Much better that a third party creates them

comment 11y ago · link · parent

Context: http://antirez.com/news/87

918.

Matt Stancliff's talk at RedisConf 2015(bcove.me ↗)

1 points · by phpnode · 11y ago · 1 comment

comment 11y ago · link · parent

Your email address isn't listed in your profile (you might have entered it in the "email" box, but that's not visible to other people)

comment 11y ago · link · parent

It looks like videos will be published "shortly", I wasn't there but I'd imagine there was some cross over with this post: https://groups.google.com/forum/#!search/a/redis-db/PxFeA0fH...

The guy is pretty passive aggressive in that thread which makes it hard to take his points seriously.

comment 11y ago · link · parent

Well that sounds like a very dubious move from Matt Stancliff, I wonder what the rationale was.

Edit - particularly galling given this graph https://github.com/antirez/redis/graphs/contributors

comment 11y ago · link · parent

I do occasionally glance at KIA, and frankly it is terrifying. There are a lot of angry, naive people there.

comment 11y ago · link · parent

This is the same kind of deluded apologism that the gamer gate crowd uses and it is dangerous. How can anyone judge the credibility of a threat made by a stranger on the internet? A threat is a threat.

comment 11y ago · link · parent

> LOVED BY 41169 DEVELOPERS

Where does this statistic come from? I only see 196 stars on github at https://github.com/Irrelon/ForerunnerDB

925.

Babel.js now compiles itself(github.com ↗)

3 points · by phpnode · 11y ago · discuss

comment 11y ago · link · parent

No, it shouldn't be surprising, but they are not correct, because bob is my name (it isn't).

comment 11y ago · link · parent

No, the official name for io.js is io.js, it is explicitly not Io.js. You can tell because this is what the owners of the project have clearly stated. Linguistic rules (which are rarely in fact rules), have nothing to do with it. If I tell you my name is "bob" and not "Bob" then I'm right because it's my name, you don't get to enforce your own preferences, just because of the language you speak.
1
303132
53