1,377 karma · joined Apr 26, 2011 (15y ago) · 616 submissions
I'm actually ehsanul (http://news.ycombinator.com/user?id=ehsanul) here on HN, but I switched Google accounts.
comment 14y ago · link · parent
comment 14y ago · link · parent
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
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
comment 14y ago · link · parent
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
comment 14y ago · link · parent
comment 14y ago · link · parent
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..
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
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
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
comment 14y ago · link · parent
" 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
comment 14y ago · link · parent
comment 14y ago · link · parent
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
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.