???
I am interested in Sleeping... I never seem to get enough of it...
Reading... The doorway to an alternate world and unbelievable as it sounds its better than alcohol
Writing Poetry... The perfect way to vent emotions..
Programming ... aahh that esoteric language. My favorite music are MLTR,The Corrs,Jagjit Singh... I could go on but really anything that sounds pleasant to the ears and suits my mood at the moment.... TV: I really have better things to do and when I don't anything goes.... Books: lets say whoever has read Fountainhead and Atlas Shrugged and loved it.. well I think we are gonna make great friends.. and then I like Alchemist,Kane and Abel,Pepsi to Apple(Steve Jobs) { By the way I don't use a MAC}.. lets stop it at that.
Member since Mar 25, 2008, follows 0 people, 0 public groups, 47 public bookmarks (63 total).
More »
Tags
| Recent Tags: |
|
|---|---|
| Top Tags: |
|
More »
Recent Bookmarks and Annotations
-
Bjarne Stroustrup on Educating Software Developers on 2008-12-10
-
In addition to the classical and essential foundations of computer science, such as algorithms, data structures, and machine architecture, we include repeated exposure to practical topics and projects. Repetition is necessary because students forget and integration of theoretical and practical parts is needed to create a balanced view. I’m very keen to fuse the theoretical base with practical skills. I see computer science as ideally an applied (engineering) discipline and see too many people disregarding either the theoretical or the practical parts.
-
I think aesthetics can be taught to many. Mostly it is a case of repeatedly showing students good examples and explaining why those examples are good. This takes time, years. I would like for programmers to present portfolios of their work, much in the way artist (including architects) have to.
-
-
Bjarne Stroustrup on Educating Software Developers on 2008-12-10
-
in fact they had never been taught about programming style because the department “taught computer science; not programming.” That is, programming was seen as a lowly skill that students either did not need or could easily pick up on their own.
I have seen the result of that attitude in new graduate students: It is rare that anyone thinks about the structure of their code or the implications for scaling and maintenance – those are not academic subjects. Students are taught good practical and essential topics, such as algorithms, data structures, machine architecture, programming languages, and “systems,” but only rarely do they “connect the dots” to see how it all fits together in a maintainable program. -
Few students see code as anything but a disposable entity needed to complete the next project and get good grades. Much of the emphasis in teaching encourages that view.
- 2 more annotations...
-
- 101 Ways to Manipulate the DataGridView Control on 2008-12-06
- PDFsharp - Home on 2008-12-05
-
Parsing OneNote XML with LINQ to XML - Nguyen Huu Hoa's Blog on 2008-11-26
-
private List<Data.ONSection> SelectSections(XElement xml)
{
List<Data.ONSection> sections =
(from section in xml.Elements()
where
(section.Name == oneNS + "SectionGroup") ||
(section.Name == oneNS + "Section")
// orderby section.Value
select new Data.ONSection
{
Name = section.Attribute("name").Value,
ID = section.Attribute("ID").Value,
SubSections = SelectSections(section),
Pages = SelectPages(section),
}).ToList();
return sections;
}// Get page information out of XML
private List<Data.ONPage> SelectPages(XElement xml)
{
List<Data.ONPage> pages =
(from page in xml.Elements(oneNS + "Page")
// orderby section.Value
select new Data.ONPage
{
Name = page.Attribute("name").Value,
ID = page.Attribute("ID").Value,
}).ToList();
return pages;
}
-
-
Inodes on 2008-11-24
-
Every directory also contains the name "."
(dot), a map to the directory itself, so the smallest link count of any Unix directory is
2: one for the map in the parent directory that gives the directory its "name",
and one for the dot map in the directory itself.
-
-
Building Ink Chat on 2008-11-19
-
Scrolling an InkOverlay in C#
-
-
Scrolling Ink in an InkOverlay - Tablet PC and Mobile PC Forums on 2008-11-19
-
<!-- Start Member Post -->
<!-- google_ad_section_start -->
I have made progress getting a RichTextBox to communicate the needed information to my InkOverlay object, but now I am having fits getting the InkOverlay to transform properly. I am using "Building Tablet PC Applications" as my only source of information on how to do this as I have found very little information on the web anywhere, including MSDN.I am getting the vertical offset of the RichTextBox contents in pixels, assuming that the top of the text is at position 0. I've tried all manner of ways of taking that pixel count and passing it to the Renderer, but nothing seems to cause the ink to display at the proper offset. It either scrolls too fast, doesn't scroll at all, scrolls too slow or, in same wild stabs at this, scrolls the wrong direction.Here is the current germane code, modified from "Building Tablet PC Applications" that handles the RichTextBox VScroll event:Dim g as Graphics = tp.CreateGraphics() ' tp is a Panel that hosts the' InkOverlay called iodim ptNewPos as PointptNewPos.X = 0 ' Interested in vertical move onlyptNewPos.Y = rtb.GetScrollBarPos(rtb.Handle, 1) ' returns the current scroll bar' position in pixelsptNewPos.Y = ptPrevPos.Y - ptNewPos.Y ' get the delta from last positionio.Renderer.PixelToInkSpace(g, ptNewPos) ' convert to HIMETRICio.Renderer.Move(ptNewPos.X, ptNewPos.Y) ' move the inkptPrevPos = ptNewPos ' save the current locationg.Dispose()tp.Invalidate()I've looked at this so much over the last five days, and modified the code so many times, that I can't even read it clearly any more. Anyone care to be a second set of eyes to see what obvious thing I am overlooking? All I want to do is scroll the ink up or down a fixed number of pixels.Thanks,
Mark<script type="text/javascript"></script>
<!-- google_ad_section_end -->
<!-- End Member Post -->
-
-
Integration By Parts on 2008-11-18
-
Integration by Parts
-
-
ASP.NET you can on 2008-11-17
-
try something like this:
<input type="button" onclick="document.execCommand('SaveAs',null,'C:\\temp\\thePage.html');" value="Save The Page" />
should do it
-
More »
Bookmark Lists
Diigo is about better ways to research, share and collaborate on information. Learn more »
Join Diigo