|
|
I've been working furiously on my new IoC container and one of the things that it can do is enumerate the available services inside a container as well as enumerate the types that implement each service name and service type. Here's an example:
var services = from info in container.AvailableServices
where info.ServiceType == typeof(IMyService)
&& info.ServiceName == "MyService"
select container.GetService(info);
The problem is that graphics isn't my expertise, and I'm not sure if I have enough time to learn all the intricacies of either WPF or GraphViz in order to get this article up and running. I've got plenty of experience working with component architectures, but I'm going to need someone to help me get the graphical elements up and running in a short amount of time.
Any takers?
|
|
|
|
|
Does anyone know how to tweak windows xp so that the segmented green progress bar is a solid green colour without the vertical white line in each segement; and not have to install some other application language such as visual basic onto the xp operating system in order to run some new progress bar program.
Is there a registry editor tweak or a batch program etc; that could do this modification?
- thanks, robert w.
|
|
|
|
|
Wrong forum...
You are more likely to get an answer to this query if you posted it in the appropriate forum (Operating System forum, for instance)
|
|
|
|
|
1. I have a bunch of XP and Vista tips. Someone today asked about disabling the "encountered a problem..." pop-up. Would anyone like a compiled list of the tips I have bookmarked/piled up?
2. I have decided to start Microsoft certification--yes I know some here don't find value in it. I'd like to look at this in two parts. One, being personal experience, and two gather data from others who went through certification and compile data such as length of time to complete a course, were courses studied at the same time, any additional salary because of certification, etc.
Thanks!
Blog link to be reinstated at a later date.
|
|
|
|
|
That would be really cool, and something worth seeing
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
My Paranoid Hubby wrote: Would anyone like a compiled list of the tips I have bookmarked/piled up?
I think that would be a great article.
My Paranoid Hubby wrote: One, being personal experience, and two gather data from others who went through certification and compile data such as length of time to complete a course, were courses studied at the same time, any additional salary because of certification, etc.
I might not be the best person to answer this as I just last year got certifications after 14+ years as a developer. My experience with the exams is that they will test your knowledge of how things work and how to solve a problem in the recommended way (which isn't necessarily the same as the "real world" way). I haven't seen any salary differences, although that doesn't necessarily mean much. As for study time, etc., there was virtually none. I took all three exams in the same week, took them with nothing more than reviewing the MS Learning page for the exam to have an idea of what topics would have the focus for each exam (for one exam I did go to a 1 hour "exam prep" session which provided a minimum of study materials and some information on the relative percentages of questions from each focus topic.)
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
Cool idea...
Regards,
Rane
|
|
|
|
|
i want to work on something that manages staff time schedule. the rows indicate the time and the columns indicate the staff/employee. the logic of my app is when the start an end time is inputed it will color the datacells affected and show the details of the employee task. my problem is the details will appear on every datacell it will affect. is there a way in vb.net that same cells will be merged displaying a single values? i have seen an application in vb6 that display in datagrid what i need. here is the image:
www.freeimagehosting.net/uploads/0054d0cdb9.jpg[^]
the image show same dates merged into a single cell and displays a single value. hope there is a way in vb.net. ive tried to search for it in the web, i cant find any samples of it.
modified on Thursday, August 28, 2008 2:14 AM
|
|
|
|
|
This forum is for suggesting article ideas. You will do better asking this in one of the programming forums. That being said, you will need to use a third-party control in order to accomplish something like this.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
I don't know if any have been written, but I would really like to see some Ruby articles.
noodles
|
|
|
|
|
I've been tasked with inventorying 400+ PDFs
no way should I have to read 'em all by hand (as it were)
Q: anyone have a link to a VB/VBA source library for:
reading PDF
article's body of text
article's attribute
searching for key words in article
TIA
howard_nyc@yahoo.com
|
|
|
|
|
Unless you're asking for someone to write an article about this or planning on writing one yourself, this is the wrong forum. You would do better to ask in one of the programming related forums.
Scott Dorman Microsoft® MVP - Visual C# | MCPD
President - Tampa Bay IASA
[ Blog][ Articles][ Forum Guidelines] Hey, hey, hey. Don't be mean. We don't have to be mean because, remember, no matter where you go, there you are. - Buckaroo Banzai
|
|
|
|
|
Well - I've started on an article on database normalisation. The question is, do you think this would be useful/interesting? If so, I'll continue - if not, I'll stop and write an article on pig farming instead.
|
|
|
|
|
Of course, but it has to go over every normalization form and explain why every database created should conform to 6NF
|
|
|
|
|
Can you do both?
Regards,
--Perspx
"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia
Introduction to Object-Oriented JavaScript
|
|
|
|
|
Yes, it would be interesting and I was planning on doing one.
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
"Not only do you continue to babble nonsense, you can't even correctly remember the nonsense you babbled just minutes ago." - Rob Graham
|
|
|
|
|
Pete O'Hanlon wrote: do you think this would be useful/interesting?
Why not, Pete. I look forward to reading this. Please take this rose as a compliment in advance.
Cheers,
Syed Mehroz Alam
|
|
|
|
|
Why thank you. I hope I make it a compelling enough read then.
|
|
|
|
|
That would be great. I'd like to brush up on my normal forms... I don't know which is which anymore...
|
|
|
|
|
Oh definetly !!!! it is being always a puzzled question for me. I would like to suggest that please provide every NF by taking a single example in step by step manner.Most of the people give example but they are on different data,so don't teach their need.
"We can't solve problems by using the same kind of thinking we used when we created them"
|
|
|
|
|
The Elcitra Method (“el-SEE-tra”) For Programmers
The web is filled with a wonderful array of programming articles ... from MSDN, WikipediA, all the Universities, CodeProject and many more. You can Google, Live-Search or hit F1 in Visual Studio and find a beautifully written article from any point of the globe. I’ve sure benefited from (and am thankful for) all the articles I’ve read.
Unfortunately, as wonderful and plentiful as The Article Method (AM) of learning is, programmers will probably spend most of their life learning by The Elcitra Method (EM). Let me contrast the two methods:
AM - The programming objectives are clearly and concisely stated right up front ... often in the form of an “abstract”.
EM - Yea right!
AM - From the abstract, you can choose to become involved with the learning process or not.
EM - You have to earn a living.
AM - Presented by persons of known or accepted authority, assuring you that your time reading the article and exploring the code is well spent.
EM - I don't need no stink'n authority.
AM - Has a peer review and rating system to further assure you of the importance and excellence of the material presented.
EM - Would be happy if someone even glanced at it before it was released.
AM - There are usually references to sources and additional articles if needed.
EM - What?
AM - Code, when finally presented, comes well structured with clear and correct comments.
EM - Code just comes.
AM - Code often comes with additional code to debug or showcase the topic code.
EM - You're kidding!
AM - Exercises your insight and imagination.
EM - Tortures your brain.
AM - Found in the realms of education and discovery.
EM - Occurs mostly in the realm of delivery.
AM - You learn the art of programming ... outside in.
EM - You learn the reality of programming inside out.
AM - Teaches you how to write code.
EM - Forces you to read code.
The Elcitra Method sometimes occurs (without the torture) in the realms of education and discovery. You know, like when the professor comes into class … scribbles something on the board … turns and says “So let’s discuss this. Henry, what does it mean”? And a rich discussion ensues, driven by the students with guidance from the facilitator. Sometimes the event is captured to video for those students yet to be born.
Ok, you got me. Yes, the Elcitra Method of learning programming is really maintenance programming … where the code comes first, and you write the rest of the article. An elcitra is an article written backwards. Oh … and there is no facilitator … and no video … so there IS TORTURE.
The only reliable means of maintenance programming is the ability to speed read code … independent of embedded comments or documentation. This is more like “a brain muscle skill” such as pattern recognition, analysis, and synthesis skills. It is based on practice … not knowledge.
Programmers cannot avoid learning by The Elcitra Method. It will be forced upon them again and again. But they should not despair. For every 16 tortures or so (each experience may vary) … a rosebud of knowledge or insight appears. And what is beautiful about this kind of gained knowledge or insight is that they will feel the knowledge or insight as much as know it … they will feel it (even dream it) through the code. They will become as good as that guy in the Matrix who could read a waterfall of green bits on black background and know exactly what was happening on the CGI side of The Matrix.
So far, I have not found a web forum or site or any place for programmers to learn by The Elcitra Method … gently, that is, with the assistance of other programmers. Thus, I propose a new web site concept. Let us refer to this new concept as the “Code Only Articles Network” or COAN pronounced KoH-An. The COAN article is a hybrid of the Article Method and Elcitra Method, having some characteristics of each.
The COAN article:
1. The lead paragraph and topic is pure code. Some brief hints or goals may precede the code. All lines of code exceeding 80 characters width, after tabs (4 wide only) are expanded, will be wrapped in the ugliest fashion possible. Within the actual code, only cryptic or misleading or unimportant or totally obvious comments are allowed. (EG: “1=1 most of the time”)
2. Usually has a download with the topic code, plus any additional code to test or prove or showcase or compile or use the topic code and allow the reader to quickly establish the environment to play with the code. The download items are listed with a brief description, so you don’t have to download to know what it contains.
3. Usually targeted to engage the reader immediately, so size and complexity is more like a snippet, applet, algorithm, or class definition. If it gets too big … it may be a standard article … but big COAN articles are allowed.
4. Topic code goal can be anything the author desires, a complete or partial, elegant or cryptic, working or broken or incomplete, applet, algorithm, or class … whatever. There might (or not) be a note like “Find the bug.”, “Fill in the missing code.”, “How does this work?”, “What is the output?”, “How would you do this differently?”, or “What part of this code makes you laugh?”.
The COAN Site/Forum:
1. Tags each new COAN with a unique number, submitting site-member, title, language type, target audience (if any), date of arrival, and code licensing and copyright information (which may or may not be embedded in the COAN code).
2. Tags the COAN article with “days till archive” … essentially a countdown till the COAN will scroll off the web into an archive bucket. The archive bucket is not online so it does not impact the servers. This also reduces/eliminates the need for contributing editors … except as specified in 6.
3. Has a means to allow the reader to selectively view or browse the COAN article data base by those tags, and key words supplied by the readers.
4. Allows any interested readers submit questions or comments, additional code or whatever. This is where “the article part” actually gets written. This is where the fun begins and the torture is shared.
5. Allows the readers to extend the days to demise, or even pin it permanently to the web. There is NOT a “NO” vote. There is an only “I got something from this” vote, which adds a day or two to the days till archive. Even if the code topic gives you nothing, you could still get something from “the article” written by the other readers.
6. Has a means for readers to notify the web editors when an article is violating the site’s guidelines or ethics or has intellectual property issues.
Check out the Example COAN article at the bottom of these comments.
Some COAN articles could become classics. Some COAN articles could inspire fully formed articles. The vast majority will simply scroll off the end of the web, as well they should. This sure simplifies the web management issue.
However, as the COAN articles parade by, programmers would have an opportunity to teach and to learn programming via the Elcitra Method … with some guidance … and maybe even a video. At least they will be able to share their torture with others.
I have a lot more ideas about how this would work, but I don’t want to talk about them now.
g.CoderCat
Example COAN article:
COAN#3481772 BlankScreens (C#, beginners) Days till archive: 10
Create a new minor release with the additional colors #3399FF and #FF3366.
Supply documentation of: how to install and use BlankScreens.exe, and what it does.
CODE:
using System.Reflection; using System.Windows.Forms; using System.Drawing;
[assembly: AssemblyCompany("g.CoderCat (author)")]
[assembly: AssemblyCopyright("all beings")]
[assembly: AssemblyProduct("BlankScreens")]
[assembly: AssemblyVersion("0.0.3.*")]
internal static class BlankScreens
{ [System.STAThread] static void Main()
{ Application.Run(BlankForm.LoadAll()); }
class BlankForm : Form
{ static BlankForm[] zxForms = new BlankForm[Screen.AllScreens.Length];
static int ziColor = 0; static Color[] zxColors
= { Color.Black, Color.White, Color.Red, Color.Green, Color.Blue };
internal static BlankForm LoadAll() { return new BlankForm(0); }
BlankForm(int index)
{ SuspendLayout();
Text = "BlankScreen(" + index.ToString() + ")";
ShowInTaskbar = false;
FormBorderStyle = FormBorderStyle.None;
StartPosition = FormStartPosition.Manual;
BackColor = zxColors[ziColor];
Cursor.Dispose();
TopMost = true;
Bounds = Screen.AllScreens[index].Bounds;
#if(DEBUG) // no fun to DEBUG with fullscreens
if (System.Diagnostics.Debugger.IsAttached)
Size = new Size(111, 111);
#endif
Show();
if (index > 0) return;
zxForms[0] = this;
for (int i = 1; i < zxForms.Length; i++)
zxForms[i] = new BlankForm(i);
}
protected override void OnMouseDown(MouseEventArgs e)
{ if (e.Button == MouseButtons.Right) z_NextColor();
else z_DisposeAll();
}
protected override void OnKeyDown(KeyEventArgs e)
{ if (e.KeyCode == Keys.ControlKey) z_NextColor();
else z_DisposeAll();
}
static void z_DisposeAll()
{ for (int i = zxForms.Length - 1; i >= 0; i--)
zxForms[i].Dispose();
}
static void z_NextColor()
{ if (++ziColor >= zxColors.Length) ziColor = 0;
for (int i = 0; i < zxForms.Length; i++)
zxForms[i].BackColor = zxColors[ziColor];
} } }
DOWNLOAD:
• BlankScreens.cs – code, as above
• BlankScreens.csproj - for Visual Studio
• BlankScreens.ico - a new moon ... an arbitrary icon
• BlankScreens.build.bat - parameters for compiling with Csc.exe
• BlankScreens.exe - output of my csc.exe
g.CoderCat
|
|
|
|
|
"The clue train passed his station without stopping." - John Simmons / outlaw programmer
"Real programmers just throw a bunch of 1s and 0s at the computer to see what sticks" - Pete O'Hanlon
|
|
|
|
|
Paul,
Sorry you missed the clues. I was hoping for at least a chuckle if not a LOL ... but not a WTF. Ok. My bad. But I still think there is room for discussion.
"And I remember a long time ago, when we threw 0s and 1s at the computer ... we constantly ran out of 1s."
g.CoderCat
|
|
|
|
|
g.CoderCat wrote: I was hoping for at least a chuckle if not a LOL
Okey dokey - perhaps you should have used the Joke icon then.
|
|
|
|
|