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

This is a cognitive problem. I also read you as doing a "double-take", even though you clearly wrote "triple-take". Another cognition issue. The unthinking mind reacting automatically without consulting our conscious. The solution is obviously to augment our brains with computers. :)

comment 14y ago · link · parent

Sure, except if you've worked with full web pages made of tables throughout, you know how they usually suck in terms of maintenance and how hard it is to make changes. It's also just a lot more boilerplate compared to doing it "the right way".

But if you know what you're doing, and you know why exactly you need a table here to do this particular thing (which should not be your entire web page due to maintenance issues), then go ahead and use a table. Like for emails it's pretty much a necessity (along with style attributes, sigh).

comment 14y ago · link · parent

I didn't notice there were no periods till I finished reading and then had a "hey, wait a second" glance back This is an experiment worth trying out: just write everything in this style for a while

The main problem I see here is figuring out whether a new sentence has been started when a Proper Noun or capitalized pronoun like "I" has been introduced I provide the current sentence as an example of that It's not so hard to figure out from context usually, but I'm sure there are easily constructed cases where the meaning changes based on the period Then again, much of the English language is like that

comment 14y ago · link · parent

No less than with Google owning Chrome, and people seem to be quite used to that.

comment 14y ago · link · parent

Can you please name this dental appliance? There is also a relatively minor surgery where silicon is embedded to prevent airway collapse (a common cause of sleep apnea).

comment 14y ago · link · parent

VPRI's STEPS project is one such project: http://www.vpri.org/pdf/tr2011004_steps11.pdf

comment 14y ago · link · parent

Thanks for the film recommendation. In a similar vein, I'd recommend Kevin Kelly's book, Out of Control: The New Biology of Machines, Social Systems, & the Economic World, which deals a lot with complexity of large systems and their parallels to biology and evolution.

I do think it's possible to create a system of "significant complexity" in a clean and not so evolutionary way, but only after creating a version or two that were developed incrementally, which necessarily end up with a lot of cruft.

comment 14y ago · link · parent

Unfortunately, worse is better. Sigh. Here's to VPRI/STEPS changing things sometime in the next 30 years, as much of a longshot that is.

comment 14y ago · link · parent

Yes, but not directly (jQuery is not written in a compatible way for dead code removal). Instead, use https://github.com/zgrossbart/jslim

comment 14y ago · link · parent

    66*24 + 24 + 3 = 1611
Every hour, 60 minute unit changes and 6 minute tens changes. 24 hour unit changes, and 3 hour tens changes.

comment 14y ago · link · parent

And yet more laconic: http://code.google.com/p/zen-coding/

comment 14y ago · link · parent

I've had this idea forever, but wanted to make it work in the as a terminal-based application. Being a noob a systems programming, I got stuck at getting a PTY working in C that would properly forward the escape sequences from vim to the player's terminal.

I wanted to just create a program that was simply a layer between the terminal and vim, so all the power of vim was automatically available. The game was going to involve manipulating the environment (made of text) to different goals. I had all sorts of minigames in my head. Unfortunately, way too ambitious, and I never even properly started it. This makes me really want to though, if only I had more time..

comment 14y ago · link · parent

Not the author, but affiliate links to car purchasing websites seems like the obvious one.

comment 14y ago · link · parent

That works less well for games than other applications. Unit testing isn't always appropriate.

525.

Stop A/B Testing and Make Out Like A Bandit(untyped.com ↗)

2 points · by ehsanu1 · 14y ago · discuss

comment 14y ago · link · parent

The problem with that is "Worse is Better". And there's just so much momentum behind current technologies, that switching seems almost unimaginable to most. Can you imagine not having Unix-like systems, and not being able to use C and all the languages built around that ecosystem?

But if you're looking for a replacement for the entire software stack we use today, one that tries to shun complexity (20k LOC for everything from kernel to common GUI apps), here you go: http://www.vpri.org/pdf/tr2011004_steps11.pdf

More info (see previous STEPS reports): http://vpri.org/html/writings.php

comment 14y ago · link · parent

vixen99 is saying you can't be a little unique, or very unique, but simply unique. Just as nobody is "slightly pregnant". No need to be insulted, though you may disagree with the assertion.

comment 14y ago · link · parent

That is pedantry. I understand your point, but when people say something is "very" unique, they mean it's not common, or is unusual in some way. "Slightly unique" makes little sense, but "somewhat unique", while somewhat awkward, can mean "unique in some aspects, but not others".

And if you want to be really pedantic, then you have to admit that most anything can be considered unique at fine enough levels of detail. But there is no point to calling something "unique" then; it loses meaning if everything is in fact unique. Uniqueness really is more of a spectrum, when applied to the real world.

comment 14y ago · link · parent

I think the effect on http://www.marketo.com/ (no affiliation) works better. I get inertial scrolling for instance, just feels more natural.

comment 14y ago · link · parent

Or maybe just: M↓

comment 14y ago · link · parent

I still use those text-objects, just with h instead of i. This is required because otherwise, you'll have issues when trying to move in visual and other modes.

comment 14y ago · link · parent

I didn't advocate using arrow keys, but rather using ijkl. Your suggestion is not mutually exclusive with my own, you can do both. :)

Though I guess the mappings I provided would have to be noremap instead of map.

comment 14y ago · link · parent

If anyone is apprehensive about vim's hjkl keys, and you like the arrow keys better, you can use ijkl instead and get all the benefits of the muscle memory you have built up for arrow keys, while still keeping your hands on the home row. Use this mapping:

    " remap h to i and use ijkl for inverse T cursor movement
    map k g<Down>
    map i g<Up>
    map j <Left>
    noremap h i
Then the 'i' key will be replaced by 'h'. So press 'h' to insert, or for inner selections, instead of 'i'. Also note the 'g' for up/down motions, which means it won't skip the wrapped part of lines - just remove the 'g' if you don't like that.

If you're worried this breaks anything else, I've had this interfere with just one other thing: a plugin that let me select text based on indentation of the line the cursor was on, but I made a few minor changes to the vimfile for the plugin and fixed that pretty easily. The other thing is that random servers won't have these mapped, but just copy the config over if you'll be doing a lot of text editing on that server. Otherwise, you can just fall back to using hjkl awkwardly.

comment 14y ago · link · parent

Why stop at DVCS?: http://www-formal.stanford.edu/jmc/future/objectivity.html

comment 14y ago · link · parent

Most people are probably happy relying on gzip for compression. It's "Good Enough" for most use cases. It seems like it made sense for you though.

comment 14y ago · link · parent

Perhaps they removed the web history itself, but kept whatever inferences they made, which are associated with your Google account. Which is about as bad as keeping the history, but it's probably completely separate system, which just uses the history for training purposes.

comment 14y ago · link · parent

It gives you plausible deniability, which is the point. Nobody can prove you really did those searches (though you can't prove the converse either).

comment 14y ago · link · parent

Based on Wikipedia's definition of this fallacy, I don't think your examples fit. From Wikipedia:

No true Scotsman is an informal logical fallacy, an ad hoc attempt to retain an unreasoned assertion.[1] When faced with a counterexample to a universal claim, rather than denying the counterexample or rejecting the original universal claim, this fallacy modifies the subject of the assertion to exclude the specific case or others like it by rhetoric, without reference to any specific objective rule.

The key part is "without reference to any specific objective rule", which I don't think you're taking into account.

comment 14y ago · link · parent

CoffeeScript can even be faster than hand-written JavaScript. See this comment I digged up by jashkenas: http://news.ycombinator.com/item?id=2443138

Also, from the CoffeeScript website:

The compiled output is readable and pretty-printed, passes through JavaScript Lint without warnings, will work in every JavaScript implementation, and tends to run as fast or faster than the equivalent handwritten JavaScript.

http://coffeescript.org/

comment 14y ago · link · parent

This sentence is false?

You seem to be contradicting and confirming your parent at the same time.

1
1718192021