- Feature Articles
- CodeSOD
- Error'd
- Forums
-
Other Articles
- Random Article
- Other Series
- Alex's Soapbox
- Announcements
- Best of…
- Best of Email
- Best of the Sidebar
- Bring Your Own Code
- Coded Smorgasbord
- Mandatory Fun Day
- Off Topic
- Representative Line
- News Roundup
- Editor's Soapbox
- Software on the Rocks
- Souvenir Potpourri
- Sponsor Post
- Tales from the Interview
- The Daily WTF: Live
- Virtudyne
Admin
Admin
They may have been thinking of Alt+Left.
I can just see the developer creating this, testing it by pressing Alt+Backspace, oblivious to the fact that they had the wrong key combination.
But just like the developer, I won't over-think this.
Admin
I hate it when someone puts a big gray blob in front of my face and says, "Hey, look at this!".
Please, explain what the hell that gray blob is all about.
Admin
This reminds me of the time I had to catch some particularly tricking keystroke combinations originating from client terminals. Interesting story: There were perhaps a dozen keystroke combinations that needed handling, including a variety of modifier doubles and triple chords. Rather than implement the logic chain as a long series of if statements, I opted instead to compile the set of combinations into an internal memory structure with a dictionary lookup. Including sufficient documentation I believe I completed the task in no more than three hours. Still haven't heard of any problems to this day so I must have nailed it.
Admin
Admin
Admin
Shouldn't that be www-Punkt-bankofscotland-Punkt-de
Admin
But guessing and speculating wildly is so much easier than doing research!
Admin
I saw a FAQ on Javascript once that included the question, "What is the relationship between Javascript and Java?". The answer they gave was, "The names begin with the same four letters."
Admin
What a curious comment. Suppose someone said, "Seriously, if after 60 years of jets an aeronautical engineer -- regardless of when they started calling themselves one -- hasn't touched jet engines, please step away from the drafting board."
Because after all, now that jets have been invented, why would anyone design, build, and maintain propellor-driven aircraft?
Now that the automobile has been invented, why would anyone build a boat?
Now that laser printers have been invented, why would anyone make a pencil?
Etc etc. Just because a new technology has come along doesn't necessarily make all previously-existing technologies obsolete. And given that there's still a use for the older technologies, it stands to reason that some people will continue to work on the older technology and not have the time or inclination to work on the new technology. We can't all do everything. People specialize.
PS I spend about 95% of my time developing web apps. But I recognize the value of people who make desktop apps. Like the folks who make MW Word, Eclipse, Photoshop, etc.
Admin
And why do y=parse(x), when you can do
?Of course, before you even
you'll have to read the documentation of parselib_simple, libparse, libdissect (a fork of libparse with some elements from parselib), open_parser_lib (which was the result of the merging of free_parse_reader and parse2000.advanced), and MS_PARSE (free for non-commercial use), to see which one suits best your needs.Admin
Question is: how can you not be even a little curious how to build a web page in the 2nd half of your career? So, even though you've been programming mainframes for 30 years, you're no more advanced user of a browser than my wife (who knows how to facebook and gmail, and that's about it)? You can't be serious... I'm not impressed by your 30 years at all.
Admin
The point is: every one of those desktop or server developers are probably using Internet to research and learn, at least at home (in case their retard employer doesn't allow them to progress). If during last 15 years every one of those never stumbled upon a snippet of HTML and JavaScript, I don't know what to think of them. Even if they haven't stumbled upon those, they should have, by definition of being a developer, at some point, show at least a small amount of interest to just look at it (before they decide to not learn it, for example). E.g. I never wrote a line of Java, but I've seen snippets hundreds of times, and I'd feel confident to dive into it, if I had to. I don't get it...
Admin
In my case I have only been an official software developer for 4 years. I have done stuff in college with php (which lets not even go there), and post-college for random non work things which did involve the Internet I have used aspx and Grails. But none of my professional work has involved JavaScript (nor Java, hence why I accidently mistook the code snippet for Java and was confused). JavaScript, Java (and several of its frameworks), NoSQL, and Ruby are on my todo list of things to learn.
Admin
How can you not be curious how to build a desktop app like Word or Excel, which is much more complicated than a web page, and has been around longer?
Answer is... some people just don't care, just as I completely don't care how my CPU works.
Admin
Most people are missing the ingeniousness of this code. Instead of using event.altKey, the original programmer has realized that most people don't press alt and backspace together. Instead, users generally lead with the alt key and at a barely noticeable span of time later, follow with the backspace.
From this realization, we expert readers can see, that when the alt key is pressed, the first condition will register true, and then the backspace key will be pressed in ample time for the second condition to be tested.
Admin
jugis / quibus; what a fsckhead!
When is the last time you coded in assembly language? How about even in straight C?
When is the last time you coded source for a language rather than just used a language?
Do you know the difference between a spinlock, a semaphore, and a mutex?
Do you understand the electronics behind an address line change from a 0 to a 1?
When is the last time you coded at ring 0?
When is the last time you coded for an embedded processor like keyboard or wifi?
Do you understand how the speed of light limits the length of transmission lines in very high speed processors?
Do you understand the reason that silicon must be doped for standard bipolar and FET transistors to work?
All of these things and uncountable more are performed regularly so that people like you don't have to know about them.
I have coded in HTML, I have coded scripts that code HTML, but I don't presume that everyone has had the time in their long life to learn and use everything.
You must be really young to be so foolish. That is the reason they don't allow people so young to high office.
Sorry (everyone else) for the rant, but a man's got to know his limits.
Admin
Don't get me wrong, I'm sure the odd major COBOL program has been tossed, but it's the exception, not the rule.
For the record, I've worked professionally in SGML (long before HTML), Basic, Pascal, FORTRAN (assorted), assorted assemblers, SNOBOL, ALGOL, Ada, C, C++ and Java and only a smattering of HTML. I once had the, erm, pleasure of debugging a COBOL program. I have never worked in Perl, Javascript, or anything .NET yet they clearly have their value.
Admin
A year ago, today, never, yes, sort of, I don't think I have, never, I can imagine it, yes. Sorry I'm not much of a hardware person.
And in his defense, the initial WTF is not not having programmed in Javascript, but rather assuming that '' means char.
Admin
With the prevalence of the Web over the last 18+ years, if you are a programmer and haven't taken any kind of look into HTML then you are what I consider to be the worst kind of programmer: the uninquisitive kind.
I'm not talking about javascript. I'm not talking about XML. I'm not talking about CSS. I'm talking about plain old HTML. And I don't care if your job involves writing microcode for some embedded chip that won't get within a mile of a Web browser; the fact that you're on this site mean you're exposed to HTML on a regular basis. I just don't get how anyone could not care.
(I do, however, get that there are people who don't care. And I form an opinion of them based on that.)
Admin
I love the logic of switching to German error messages.
Admin
I'm willing to bet that at least every Visual Studio user (thus, developer on MS platform) knows basics about desktop programming, even though they may be spending most of their time working on web apps. Yes, they may be a lousy desktop developer, but they certainly know how to read that code. Even if that's not the case with other web developers, the fact is that EVERYONE who calls themselves a developer uses Internet (browser, HTML, JavaScript) and not being curious to view source code and how the hell all that functions is beyond me. But, winning this argument with you is impossible. Enjoy your COBOL.
Admin
Thank you, Lord - at least one sane here. Your (and mine) arguments are relatively (more than not) sound. It's almost like being a driver for 30 years and not know how to change a tire (or RECOGNIZE one, which is more accurate comparison here).
Admin
I think you're a dumbass. No, I don't know any of those things, but that's so beyond the point, and I'm not going to waste my time explaining that to you.
In the context of comparing knowing how to change a tire on a car: every mechanic and automotive engineer knows the mechanics of driving, but you cannot expect every driver to know the mechanics of car engine. Yet you can expect most drivers to know mechanics of changing a tire. There will always be drivers who don't want to (women and male-pussies), and there will always be drivers who physically cannot, but not being curious to KNOW how a tire is changed is plain incompetence. I piss on your 30 years of Assembly and COBOL. You probably create crap on daily basis.
Admin
Cookie if you know what that is from.
Admin
It's baling wire; for tying things up into bales, not for getting water out of a boat.
Admin
Darn! When will I ever learn to open the box first!
Admin
Admin
I can so ausgeführt werden!!
Admin
Seriously, fuck you. There are plenty of people who develop pretty darn important software without ever having to touch anything web-related. What you said is just the polar opposite of "If after about 17 years of Internet a developer - yada yada - hasn't touched Cobol , please step away from the fucking computer." and just about as smart a thing to say.
Admin
Why would you expect the programmers to care?
Admin
Either that, or the first person to try to fix it threw it away and started afresh.
Admin
Only if you're not worried about people asking "what's this Puntk?"
Admin
... in a different invocation of the event handler, where it will also fail to satisfy the test.
Admin
Ah. That might explain my problem ...
Admin
Though, many, if not most, web developers cannot seriously be considered developers.
Admin
There is a great deal of both men and women that have no fucking clue how to change tires. Even a fair amount of the ones that believe they do have no idea. I've worked in a tire shop, and I've seen enough fuckwits screw the basics of changing tires...
As far as programming and HTML goes, I could easily learn to do web development when the need arises, since I have the basics of development nailed. Much like random joe blow mechanic can easily change tires on a car if need be even if he never did it before in his life. That does not mean I have any interrest in HTML and it's ilk at the present time. There are lots of other shit that I spend my time learning. Not very different to how I expect my sodding car to work without me needing to change engine parts, tires and what not all the time, I expect the web to work without me needing to know exactly how it works. If it breaks, I notify the people that can fix it. Its their fucking job. Just as it is my fucking job to make operators capable of charging for your cell phone usage. you have no idea about any of the protocols, systems or principles that guide telecom, but Im pretty damn sure that you still use cell phones all the fucking time.
There, did I get enough curse words in the post for this framing forum?
Admin
Any idiot can tie things up in bales with baling wire. Only a true MacGyver can bail out a boat with it.
So I say youre wrong.
Admin
Not a WTF.
Admin
Admin
Admin
And no, changing a wheel by the side of the road isn't hard, but that doesn't mean I want to do it in the pouring rain, a howling gale, or (memorably, once) driving snow.
Admin
Are you saying "The last time I built an interpreter or compiler"? That was back in the mid-90s. It was a noddy microlanguage designed to exercise a signalling stack and related environment.
A semaphore is a bucket with tokens in it. A consumer takes tokens from the bucket, and a producer puts them in. If there are no tokens in the bucket, the consumer waits. If there are consumers waiting on an empty bucket, one of them will be released for each token put into the bucket by a producer.
A mutex is like a semaphore where the number of tokens in a non-empty bucket is limited to 1. This means only one consumer can have a token, and he is generally also a producer, in that when he is finished, he puts the token back in the bucket.
A spinlock is like a mutex, but instead of sleeping while waiting to be released, the consumer busy-waits. It produces a quicker response, but also makes priority inversion harder to avoid.
At the electronic level, it doesn't change from 0 to 1. It changes from low to high, or in some logic systems from high to low.
Current job, assuming you're talking about x86. Other architectures may number their rings differently, in particular by having 0 be the lowest-privileged ring, which I think shows I know more about this than you do.
A long while ago, and the most embeddedy of them was a TI Sensor Signal Processor with just 576 bits of memory.
Fuss, fuss, it's the rate of signal propagation rather than the speed of light as such. And that rate is usually substantially slower than the speed of light in a vacuum, and can be affected in electronic circuits by capacitive and inductive effects (which increase the time before the signal is "ready" at the new level).
I could blither all day about band gaps, Dirac holes, N- and P-doping, and the like. Most of it would be more or less subtly wrong, I'm sure, because it's been a long time since I learned about it, but it would be in the general neighbourhood of right. And the Redundancy Department of Redundancy wants their abbreviation back. The T in FET stands for transistor.
Admin
Admin
Admin
Or even use a development framework that quietly generates any JS you need and lets you develop in an IDE with content-assist, refactoring tools and a debugger.
Admin
TRWTF is that only using e in the Netscape section is actually correct -- Netscape (& Gecko) browsers will pass the event as a parameter to the function; IE and Webkit browsers will use a global window.event variable.
Admin
Some day you'll get out of the low-level layer and discover a whole new world!
Admin
Browsers are toys built on top of real programming. There's nothing wrong with an automotive engineer who isn't interested in how a wind-up toy car works.
I don't think anyone has said they haven't looked at HTML, but you talk about learning HTML like it's some grand undertaking. The Day I Learned HTML (I would make that <flash> if BBCode had the tag for it. Tell a programmer it's a markup language, give them a 3x5 card with the tags, done. That's why people don't care; they know there's very little to it and could learn it in half a day if they had to. HTML5, yeah, a little more complex, but that's not what you said.
And for the record, I was writing dynamic HTML pages before there were specific technologies for it, using Visual Basic 3 and an Access database. You were probably still in diapers while I was inventing ways to do things that there wasn't an easy way to do yet.
Admin
How do you come to the conclusion that not knowing intuitively one detail of JavaScript means I don't know Python?