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 13y ago · link · parent

Advanced markov chains?

Edit: Nevermind, Github username matches HN..

comment 13y ago · link · parent

http://en.wikipedia.org/wiki/Jacob_Appelbaum

comment 13y ago · link · parent

I was confused at first too, but I think the idea is to throw off who Facebook, or anyone looking through Facebook's data, thinks you are. Quoting:

I hate Facebook's privacy policy (or lack of thereof)

If you only add real friends, there's too much signal and not enough noise to cover it up. This is in line with using tor and using fake locations that change frequently.

comment 13y ago · link · parent

There is no subscription. What are you unsubscribing from? Or just consider all such emails to be unsubscribed automatically after this one email, making a link pointless.

The reason for this is really for mass emails. It really should not apply when you send a few hand-written emails to a few people.

comment 13y ago · link · parent

Hence the use of callbacks for ordering reads and writes as required. Seems like we'd want promises though, for many interleaved reads and writes that are dependent on each other (which is not a great pattern, but might be unavoidable sometimes).

comment 13y ago · link · parent

This seems like something that should be solved by the dom api, rather than this (quite clever) workaround.

comment 13y ago · link · parent

Replace state over push state for this kind of history twiddling please.

comment 13y ago · link · parent

Isn't that mostly a matter of adjusting IPD and other calibration?

comment 13y ago · link · parent

Apparently, the main issue with eye strain from close monitors and such is the fact that your eyes have to focus closer. But the oculus has two screens and optics, which they use to let your eyes focus at infinite distance. Hence, eye strain is not an issue.

You'll get sick in the stomach long before any effect on your eyes in any case - having it on for hours on end is extremely unrealistic right now.

comment 13y ago · link · parent

in a matter of hours

TFA mentions this update happened weeks ago. How are you able to pin this down to the hour and correlate your traffic changes to the algo change if we don't know when the algo change happened exactly?

comment 13y ago · link · parent

Cache last N frames? (I don't know anything about video codecs)

I guess that would break when you jump to a specific location in the video, without the benefit of having cached the previous frame(s).

comment 13y ago · link · parent

I think Islam is compatible with evolution, though many Muslims would beg to differ. There is some notion of God having a hand in designing humans, but that is worked around easily enough by assuming either extremely high precision in initial conditions of the universe or allowing for strategically placed genetic mutations and such. Clearly unfalsifiable, but it this isn't science, or any sort of proof, but just a lack of contradiction with science.

Note, this doesn't mean I believe everything in Islam is the one and only truth.

comment 13y ago · link · parent

Both were due to cost, especially the servos. But I think a microcontroller capable of usb would not be particularly expensive, though more expensive than not having it.

comment 13y ago · link · parent

If we can get medical care to the point where, say, the 1970s standard of care is as cheap as food is, then we're basically at post-scarcity.

How so? Post-scarcity implies, to me at least, that nobody has to work to live: everything is abundant and free.

http://en.wikipedia.org/wiki/Post-scarcity_economy

comment 13y ago · link · parent

It is less efficient. But you are now obviously trolling, posing arguments that no rational person could possibly accept. "So, a few more keystrokes for each command, repeated for each such command. So what? Are you in a hurry to get somewhere? Do you want to live forever?"

I said no such thing. I said a keypress is more efficient than alternatives, and thus more efficient and faster.

Please reconsider who an external observer would mark as a troll in this conversation. But in fact, I don't think you're trolling, you just hate vim, and that's fine. And I like vim, and that doesn't make me a troll I hope.

comment 13y ago · link · parent

More of a motor than a gear.

comment 13y ago · link · parent

These don't seem like the most sound criticisms honestly.

It's still a command-line editor. Just like vi.

Not sure what the issue is there?

It cannot take advantage of the modern computing environment

gvim/macvim exists. They also give you regular clipboard support. Though I honestly don't get much out of all that, and am happy enough with vim in a terminal, but I understand the motivation.

To perform multiple operations ... requires you to switch modes

Vim is modal, yes, but what is the specific disadvantage of that? That it has a learning curve? Mode switches are generally single key presses, so it's not exactly onerous once you know what keys to press. Equivalents in "modern" text editors require use of the mouse, which while being much easier to figure out, is also much less efficient. Using the mouse, though just taking a bit longer each time, is enough for my brain do a switch and focus on that action instead of the code - unlike the vim mode switches I do all the time without thinking.

No, actually, in the vi days, to save paper one had to enter more keystrokes, not fewer

That sounds plausible, but not all that relevant to how one uses vim now.

former users of vi were astonished by how few keystrokes were required to accomplish things

Also irrelevant. Vim's text objects, which basically offers you a vocabulary for text manipulation, has no match and will generally allow vim to win in practically any keystroke comparison. It's not clear how well you know how to use vim, if it all, though you've clearly used and hated vi in a past life :).

comment 13y ago · link · parent

I wonder if this has changed over time as the HN community has grown - perhaps in the morning I'll try filtering out posts less than X days old and see how that affects the top results.

Note that popularity in terms of votes should also be normalized with respect to traffic/users.

comment 13y ago · link · parent

You might not be able to draw the first drawing right now, but if you as bad at drawing as the average person, I can't imagine it taking more than a few days or weeks (max) to get to that level, with a very modest time commitment. 10 years of practice dedicated to self-improvement? You'd be extremely technically proficient by then.

comment 13y ago · link · parent

You sure about your claims of insulin secretion in response to tasting anything sweet? I just googled up this article, which has references to a number of studies that generally disagrees with this notion: http://www.marksdailyapple.com/artificial-sweeteners-insulin...

The difference between these simple sugars and more complex carbohydrates is that (1) simple sugars are burnt really, really fast by our body, giving us an immediate fuel boost and (2) our body ends up generating insulin in excess.

Nitpicking, simple carbs can burn slower than complex ones. Eg some fruits vs white bread. Fruits will release fructose into your blood stream slowly due to fiber (and perhaps other reasons) compared to how quickly white bread will release glucose. What you really want is to know the glycemic index (GI) of the food you're eating. http://en.wikipedia.org/wiki/Glycemic_index

White bread, and many other "complex carbs" which are devoid of fiber etc due to processing have very high GI, and are worth avoiding as much as simple sugars. And many fruits/vegetables have much lower GI's despite being packed with fructose, and so may be fine for you even if you want to avoid sugar due to insulin response.

comment 13y ago · link · parent

I've been interested in using Ember.js in the frontend for a Rails app, especially after watching a mock competition between it and Angular [1]. But it's beta status kept me from using it, and even now I wonder if it really is production ready, or just API-stable (which they say they will be as per http://semver.org/). I also don't know if it's really worth the up-front cost of learning and slowing down initial development of a new product, especially while at a startup trying to set an aggressive release date for the product.

I'm also a bit worried about the need for everyone on the team to learn how Ember works and its conventions, when they already know how to figure out whatever mess of ad-hoc jQuery and random objects someone would write instead (as bad as that is for maintainability). And finally, I won't have the advantage of green field development, as there is an existing app which will be added to. So there will end up being a chunk of the app with Ember, and a (functionally separate) part of the app not using Ember at all.. Which does not seem ideal.

Anyone want to chime in with their experiences?

[1] https://vimeo.com/68215606 - Note it's a bit unfair with the project lead for Ember, tomdale, on one of the "cage match"

comment 13y ago · link · parent

I've been looking into natural language programming, and I recognize some things along those lines have been done. Most of them don't go the length though as far as I know, and have not applied real natural language processing (which we're only getting slightly good at in recent years) to try to semantically understand the English in order to compile it to real code.

The only such system I know if is Inform 7 [0][1], which is not really general purpose (though it seems to be quite flexible). There's also livecode [2], which is general purpose, but they did not seem to do any semantic parsing beyond some built-in fixed grammar rules and the language is not exactly "natural" (correct me if I'm wrong, I haven't tried it yet).

I also know of a few projects that manage to do this well for constrained domains. For instance, these guys [3] were able to take input parser specifications written in English and automatically create the input parser from its specification. But constraining the domain is what makes this work, and is not the way towards general purpose natural language programming.

Would you be so kind as to enumerate some of the work done for plain-English general purpose programming? I've gone out and looked myself, but I have not found all that much.

[0] http://www.spagmag.org/archives/backissues/SPAG44

[1] http://inform7.com/learn/papers/

[2] http://www.kickstarter.com/projects/1755283828/open-source-e...

[3] http://web.mit.edu/newsoffice/2013/writing-programs-using-or...

comment 13y ago · link · parent

You can, please see my reply to your parent.

comment 13y ago · link · parent

I had the same issue. Here's my config to solve it (ijkl become like arrow keys, h is insert instead):

    map k g<Down>
    map i g<Up>
    map j <Left>
    noremap h i
Note that with this config, we maintain the normal mode "inner" text objects with "h" instead of "i". So where you would previous type di' to delete inside quotes, now you'll dh'. And dh( instead of di(, etc. It all works, and I've been using this config for a couple years now.

comment 13y ago · link · parent

Point or not, I actually found it interesting. Quoting part of the quote:

You’ve got gigabyte disks; you’ve got megabyte RAMs.

The book this appears in was published 2009, though the interview with Chuck Moore surely happened somewhat earlier. But yay for triple order-of-magnitude improvements!

comment 13y ago · link · parent

Some interesting tidbits:

    The total trip time is approximately half an hour, with capsules 
    departing as often as every 30 seconds from each terminal and carrying 28
    people each. This gives a total of 7.4 million people each way that can be 
    transported each year on Hyperloop. The total cost of Hyperloop in this 
    analysis is under $6 billion USD. Amortizing this capital cost over 20 years and 
    adding daily operational costs gives a total of about $20 USD (in current year 
    dollars) plus operating costs per one-way ticket on the passenger Hyperloop.

    For aerodynamic efficiency, the velocity of a capsule in the Hyperloop is 
    - typically: 300 mph (480 kph) where local geography necessitates a tube bend radii 
      < 1.0 mile (1.6 km)
    - 760 mph (1,220 kph) where local geography allows a tube bend > 3.0
    miles (4.8 km) or where local geography permits a straight tube.

comment 13y ago · link · parent

I think you're not seeing the latest updates. Here's a direct link to the pdf: http://www.spacex.com/sites/spacex/files/hyperloop_alpha-201...

comment 13y ago · link · parent

Original ideas imply uncommon sense.

I like that way of putting it. To me, having uncommon sense is not synonymous with ignoring common sense. Why not use both!

comment 13y ago · link · parent

You make it sound worse than it is. Maybe it's just me, but he seemed to have some positive things to say during the actual demo. Just seems slightly staged at the end there is all. As for struggling to use the app, we don't all expect an early prototype + third-party app to have perfect usability.

Of course, this testimonial pales in comparison to, say, the Oculus Rift kickstarter video. But that product was further along at that point, and solving an easier problem.

Edit: Actually, I take that back. I didn't realize this was featured on their home page, which definitely should have a better testimonial. At least it reflects the reality of the tech at this point, setting the right expectations hopefully (in contrast to their main video).

comment 13y ago · link · parent

<sparkle> is implemented with just an animated gif background. Still, great stuff!
1
121314
21