Better HN
topnewbestaskshowjobs
Log inSign up

ehsanu1

1,377 karma · joined Apr 26, 2011 (15y ago) · 616 submissions

ehsanul@ehsanul.com

I'm actually ehsanul (http://news.ycombinator.com/user?id=ehsanul) here on HN, but I switched Google accounts.

Submissions

comment 10y ago · link · parent

Aha, so that's what (human) dreaming is for.

comment 10y ago · link · parent

Both those versions should work the same from the compiler's point of view. But from a programmer's point of view, specifically someone migrating a JS system to TS, it's useful to read "oldVarType" instead of "any", because it tells you that it was just a quick way to migrate rather than necessarily designed to be "any".

comment 10y ago · link · parent

http://livereload.com/

comment 10y ago · link · parent

Audiobooks work for me.

comment 10y ago · link · parent

In the future, I imagine a single device that can do both. In that world, VR is just AR that occludes your entire vision. Then you use AR when you want to stay in your current environment, and VR when you want to be transported to a very different environment from the one you are physically in.

comment 10y ago · link · parent

I don't know which version of Ember the author is using, but note that last year Ember introduced a new rendering engine called glimmer which performs much better on the same benchmark:

https://www.isemberfastyet.com/

https://dbmonster.firebaseapp.com/

comment 10y ago · link · parent

But are those strictly react dependencies? Seems more like a demo that was doing a lot more than just using react. Eg, browserify is mentioned, but that's a totally separate project from react, completely orthogonal. So inexperience seems like a big factor here..

It's the ecosystem that's being complained about here it seems, rather than react specifically.

comment 10y ago · link · parent

What dependencies are required? I would have thought that for basic, no-frills use, you could just load react.js and use it with no other dependencies. Are you referring to the tooling setup required for JSX? I've never used react, just curious.

comment 10y ago · link · parent

"They're made out of meat": http://www.terrybisson.com/page6/page6.html

comment 10y ago · link · parent

Maybe introduce your friend to buddhist ideas of ending suffering via meditation. Might be another interesting discussion.

comment 10y ago · link · parent

There seem to be measurements in the slides I reference, so it wasn't exactly "future work". But of course it sucks that this work is not yet publicly available (AFAIK), probably due to not being 100% production ready yet. But I'm sure it's getting there.

comment 10y ago · link · parent

Search around for "Substrate VM". I see it referenced in some slide decks, and it's designed to make JVM startup much faster.

Here's an old slidedeck that talks about it: http://www.oracle.com/technetwork/java/jvmls2013wimmer-20140...

comment 10y ago · link · parent

This is the dawn of the age of rejuvenation biotechnology, with a near future of widespread support for that goal.

Seems to me like we're not that close to having "widespread support" in the general public for tackling aging, so I'm curious to know why you think this will change in the near future. Is it just that attitudes will change once everyone realizes how close to reality it is, rather than crazy sci-fi?

Isn't regulation also a problem here? That is, aging is not considered a disease in and of itself, making it difficult to authorize any human clinical trials? I thought it was necessary for SENS to piggy-back off of treatments for officially recognized diseases caused by aging. But I've been reading a book from 2007 about this stuff, so it's possible all that is completely out of date now.

Edit: sorry missed your last bit about regulation. I suppose with big-pharma lobbying, that could be cleared up easily enough, given the profit potential you mention.

comment 10y ago · link · parent

It can be an energy win if the background threads allow work to be completed much faster. That's because finishing earlier will allow CPUs to throttle down as soon as the work is done, thus cutting power usage.

comment 10y ago · link · parent

Surely you meant "Turn on HTTP pipelining"? Or is there something wrong with Apache's pipelining implementation?

comment 11y ago · link · parent

A linear rate is not very realistic here. Exponential decay would be better, but still probably completely useless as a predictive tool.

227.

Interactive Real Time Music Game (aka Twitch makes electronic music)(twitch.tv ↗)

2 points · by ehsanu1 · 11y ago · discuss

comment 11y ago · link · parent

http2 may help you with that. Your tooling could also potentially inline the components too, you don't have to make an http request for each one. That fact that Vulcanize didn't work too well for you for whatever reason seems like something that shouldn't be terribly difficult to fix.

comment 11y ago · link · parent

But as an outsider, obesity in the US is obviously a consequence of the prevalence of junk food and the marketing power of the food industry.

That doesn't sound like the most scientifically-founded assertion to me, especially given that you're looking for scientific evidence for or against low-carbohydrate diets. I guess it also doesn't necessarily tell you whether low-carb diets are any good or not, so it's a red herring here.

A really great book that points out many studies related to low-carbohydrate diets (especially experimental studies comparing against low-fat diets) is "The Art and Science of Low Carbohydrate Living". Written by two scientists who've spent their careers studying this, they point out that almost all studies which show poor results and undesirable side effects from a low-carb diet only last a few weeks - whereas it takes a few weeks for humans to adapt to a diet like that, so a study must necessarily get over that hump before making any conclusions.

Furthermore, low-carb diets cause people to lose a lot of electrolytes, which is the main cause of bad side effects, and many studies do not tell their low-carb subjects to supplement with salts. Studies which last longer than a few weeks tend to show favorable outcomes, generally with fat loss exceeding low-fat diets and better adherence as well over the long-term. If you want more details, I'd recommend you get the book.

comment 11y ago · link · parent

While not based on much real science/technology, Ramez Naam wrote a cool sci-fi book (trilogy actually) on this topic called Nexus.

comment 11y ago · link · parent

You can basically do this in vim with https://github.com/tpope/vim-fugitive

:Gblame to show a git blame sidebar, and P to open the file at that commit.

comment 11y ago · link · parent

It would be some array defined on the angular $scope object, presumably instantiated when an angular directive/controller is instantiated for a component. I'm guessing that's roughly analogous to "this.props" in the react example, though I'm not very familiar with react.

comment 11y ago · link · parent

It's missing the `ng-repeat="item in items"`.

234.

MyTime raises $9.3M to build mobile-first local business scheduling(techcrunch.com ↗)

39 points · by ehsanu1 · 11y ago · 7 comments

comment 11y ago · link · parent

Yes, this bothered me as well when reading Permutation City. But for the sake of argument, say we posit infinite computation (let's not worry about how that's possible), then would that objection still apply? Then it seems not all that necessary that the states are in order, but just that they exist at some point, regardless of mechanism.

comment 11y ago · link · parent

In case you weren't aware: https://github.com/rails/rails/pull/18160

comment 11y ago · link · parent

Strict moderation has managed to make a few subreddits decent to read, and I don't see much resentment there. Usually it's greatly appreciated. It wouldn't work if all subreddits were that way though, I could easily see some sort of resentment building up in that case.

Self-policing, in comparison, will always lead to eternal september above some threshold of user churn. That said, HN has weathered growth reasonably well. If nothing else, the median level of discourse on HN has not gotten much worse than it was years ago. But the mean level of discourse has probably gone down. Just my impressions, I have nothing to back this up of course.

comment 11y ago · link · parent

> the thread is too long for me to reply to the responses below. What an unfortunate design HN, as the "right of reply" has effectively been stripped from me.

You can probably reply now. IIRC, there is a delay in the reply link being available for long threads, as a very blunt measure to reduce fast/long back and forth arguments.

comment 11y ago · link · parent

http://arewewebyet.com/

Not mozilla though.

comment 11y ago · link · parent

Nice, and it nests too! Though with strange behavior after the first nesting.
1
789
21