Edlin is a line editor included with MS-DOS and later Microsoft operating systems. It provides rudimentary capabilities for editing plain text files through a command-driven interface. Line numbers are specified using numerals, and operations are specified using single-character alphabetic commands (e.g. "5d" instructs the program to delete the 5th line of the file).
It was the only text editor provided with MS-DOS before version 5.0 of that system, when it was superseded by the full screen MS-DOS Editor. It was removed in version 6. However, Edlin is included in 32-bit versions of Win...
@TimPost I've used edlin. It was marginally easier than copy con file.txt - therefore, it had utility. I'm really not sure that Bob served a purpose...
My room mate worked at the (now defunct) Computer City. He brought home a life size 'bob' which enjoyed being the target of many things while hanging on our wall
holy crap I must be the only dev here who can write VB6 code through javascript and all on track, I just can't be tunnel vision on a single project for six months ...
My coworker decided he needed to catch a textbox onkeyup so he could call a javascript function to get his updatepanel to fire so that he could rebind the rows in a zebrastriped panel below the textbox.
I have come to realize tonight, when editing a file in a text editor to send it back to a colleague who doesn't understand stateless system design, that I left three typos in the file, that my IDE would've caught. I have come to realize that I rely too much on my IDE.
Of course, the fact that I completely ripped his code apart and reassembled it by hand in a notepad editor makes me rather happy that I only had 3 typos.
Look, here's the thing. You cna't solve problems like this as easily with RegEx as you can with native string parsing. He's also omitting the case where (assuming I understand a requirement) two "opening quotes" appear before a single closing quote.
This is the neighborhood of full on grammar parsers, not regexes
It would fall into the category of "needs more/better requirements" that obviously the coder in question hasn't got the capacity to provide, because anytime you define a problem by going "oh I forgot to mention" once you have a solution, you're not writing code, you're programming by debugging results.
So I beat @Moshe's untested $0 case. That took some time. At least 15 or 30 games.I now know at least four ways that his code is "broken" ;) ~ However I think we're starting to show him how testing works
Ok rchern you're doing a good job of letting me win, and I apprecaite it. Can we keep up the charade for a little longer (to the end of the game would be good) ;)
Here is a screenshot:
Using Chrome 11
Google Chrome 11.0.672.2 (Official Build 75134)
WebKit 534.20 (trunk@78450)
V8 3.1.4
User Agent Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/534.20 (KHTML, like Gecko) Chrome/11.0.672.2 Safari/534.20
It's really annoying that a major JavaScript library decided to name itself after a language feature (imagine the confusion if there was a library called 'Array' or 'Strings'...) but that we have to work with now.
The problem is that there are a large number of questions about prototypical inhe...
@MichaelPetrotta mind repro'ing something for me? Start composing a post (new answer, new question, edit existing post, whatever), after you've typed a bit, select a partial line of text in the preview below (without clicking in between so that the body input is still selected when you start to highlight). Highlight just part of a single line, don't do multi-line, stop selecting: does the text stay highlighted?
I'm not sure what you mean by "without clicking in between so that the body input is still selected when you start to highlight", but when I select a partial line in the preview as you describe, the selection stays selected.
Ask a new question.
Try to select the text which appears in the preview box.
The selection should disappear and the "how to format" box should blink.
It happens to me on SO, meta.SO and gaming with Firefox 3.6.14 on Windows 7. However it isn't 100% reproducible for me. Seems to occur most ofte...
However, if I select a section of text in the textbox, and then select a partial line in the preview and release, the textbox text regains its selection, and the preview text loses its selection. Not sure if that's what you were going for.
I distinctly remember one time it got so annoying that I actually went into Firebug and deleted the event handler so that I can select some of the text from the preview area
@YiJiang 1) It's bad karma to fake browser elements in-page 2) Most IE6 users don't have a choice anyway 3) IE6 users will never fall for it unless it looks like a fake dialogue saying they've got mail
@badpssockpuppet Hey, it could be worse. A lot worse. There was another campaign like this that actually fakes the ActiveX security warning telling users to upgrade
This one at least doesn't look at all like part of the browser chrome
@badpssockpuppet I wonder if Microsoft is still happy if webmasters make a tiny change to the HTML on ie6countdown.com/join-us.html before putting it on their page
FWIW, while I'm in there, I'd like cause a click to not only focus the editor, but also but the cursor in the proximity of the markdown source of the thing you clicked
@TimStone To be fair, it's not a particularly funny issue; the ones doing the cleaning are usually foreign maids, and their owners have gone to jail over these incidents before
> There is no product like the iPad. There is no product that can do EVERYTHING it can with the PERFORMANCE it has. Period.
GIVE ME MAH KOOLAID
> In Volume, yes it is subjective, but let's talk by the end of April and that subjective view will be fact. I don't plan of buy one, but I have heard of a huge number of people at my work who are planning to be in line next Friday to turn that from subjective to factual!
I don't even have words to properly describe what the hell is going on in those two short lines, but it is certainly ridiculous.
> For Tablets, it's not about Specs. It's about the User Experience. Yes, It's a long way off from what you're used to, but let's do the math and display the slide that you effectively decided not to show: iPad Apps >65000. Honeycomb Apps = 100.
"yeah, that's actually the real point here, usabil--- wait a second, how the fuck is number of apps relevant?"
> Also, I'm not sure when you were a kid, but I'm pretty sure it wasn't called "lieing." At least when I was a kid it was called "lying." If you had written your post from a quality tablet such as an iPad, it would have auto-corrected for you.
@balpha While you're working on the editor, can you make it so that all parentheses, like ( ) [ ] etc. (or really all characters that are illegal in a URL line), get automatically escaped?
from a user script, what would be the easiest way to detect a new chat message?
I'm looking at using DOMSubtreeModified with the #chat div but it fires many times for each new message, and a different amount of times in different browsers...