The Lounge is rated PG. If you're about to post something you wouldn't want your
kid sister to read then don't post it. No flame wars, no abusive conduct, no programming
questions and please don't post ads.
Soon you'll be looking knackered. Um, if Linux is so sh*thot, how come you're having to fix nasty kernel bugs?
Because he can, unlike in Windows.
"I controlled my laughter and simple said "No,I am very busy,so I can't write any code for you". The moment they heard this all the smiling face turned into a sad looking face and one of them farted. So I had to leave the place as soon as possible." - Mr.Prakash One Fine Saturday. 24/04/2004
How long did it take you to learn Linux well enough to become employed at
working on it
About a month.
The kernel is very similar to windows, PASSIVE is process, DISPATCH and DIRQ, soft and hard interrupt. DPCs are work items, spin locks are spinlocks and so on. The language is C and the protocols and HW interfacing are the same. The only difference is the API to the kernel and different tools; using test editors to edit code rather than VS, and having to use your own code profiling tools because browse info isn't built.
Debugging is different too. Windbg is a great tool, and Linux has nothing like it, so the best that can be done is with kgdb, which isn't bad. Once annoyance, you cant build an entire kernel in debug (un optimized) mode, only per file using #pragma. You have to do that to have proper step through in the kernel. You also cant break into the OS at boot time and automatically drop into a debugger on exception, like in Windows.
But it is so much easier to write code for, so many less hoops to jump through, that you can really focus on getting your work done rather than dicking around.
Right now I am trying to run the MSFT HCK client on Vista, to fix a bug in a third party windows driver, and the HCK client isn't a valid win32 app apparently. This is typical MSFT. Absoloute sh*tty experience. Days and days and days I have wasted f***ing around with this crap trying to get consistent results out of it and so far, zero. That's the Windows experience all over.
It's been hard not to notice that there are a bunch of you who aren't too shabby when it comes to a bit of keyboard action. There are, in fact, some painfully good (and incredibly generous) programmers hanging out here and I had an idea.
Last night I was up till the wee, wee hours of this morning fighting with some alternative WYSIWYG HTML editors for the article editor. Our current HTML WYSIWYG editor is, well, a little long in the tooth and I need to replace it to save my (and your) sanity. CKEditor seems the best so far - except that it refuses to do what I want it to and insists on mangling the HTML it's given. There is no "don't screw with my HTML" option.
We discussed, ages ago, the possibility of having you guys take on some interesting bits and pieces of CodeProject development and this seemed a perfect opportunity to give it a try.
This is just an experiment and if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.
first of all: My congratulations on the decision of replacing the old HTML Editor. From what I've heard, it started to nag not only on your sanity but on the sanity of the Members who don't write articles very frequently.
Chris Maunder wrote:
if there's interest then I'd love to open more and more up to let you guys start mixing things up a little.
Ahem.. I dare to bring up the Tasks-API again.
I will never again mention that Dalek Dave was the poster of the One Millionth Lounge Post, nor that it was complete drivel.
Did you ever see history portrayed as an old man with a wise brow and pulseless heart, waging all things in the balance of reason?
Is not rather the genius of history like an eternal, imploring maiden, full of fire, with a burning heart and flaming soul, humanly warm and humanly beautiful?
Training a telescope on one’s own belly button will only reveal lint. You like that? You go right on staring at it. I prefer looking at galaxies.
-- Sarah Hoyt
I just get so sick of the endless hoops you have to jump through to get anything running properly on windows, and how easily it breaks itself. And once it is broken, its 'total install'. Ghost, the Windows programmers go to tool....
It's a bit unrelated, but I've been working on a little CP desktop gadget[^] that I plan to publish here sometime as an article... and I had a question.
Are there any CodeProject API's for getting user notifications, or reporting messages/members?
The user notifications are more important, but the reporting would make the spam-detecting aspects of the application much easier to code.
At the moment the app uses a WebBrowserControl running in the background, refreshing every minute or so and then scraping the html for user notifications.
The human-approved reporting was going to use another WebBrowserControl and do some DOM invoking to click buttons and stuff.
when using specialized HTML editors such as FrontPage the software will put it's own HTML tags. and that is the same for all HTML editors. If the programmer wants total control then use notepad and they can always open the HTML doc on a HTML viewer such as Firefox.
FrontPage the software will put it's own HTML tags. and that is the same for all HTML editors
Not in my experience. I'm actually using FrontPage 2003 (Yes - FrontPage classic!) because it's so clean with it's HTML handling. Our HTMLArea based WYSIWYG editor doesn't often add tags. Obviously adding a paragraph or image will result in new tags being added, but they aren't unexpected tags.
A programming question would be "How do I do X". That would be unacceptable. However, "I can't do X because the stupid $#@! that was obviously written by blind monkeys on acid and never works no matter what I do even though I've not once looked at the manual or looked into the source code because I have better things to do, like blog about how crap X is" is considered on-topic and appropriate.
But Shirley that's a loophole? Instead of asking "How do I do X?", you just post a rant about how stupid it is that it's impossible to do X, and wait for people to prove you wrong by explaining how to do X in simple terms.
"These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer