Tag: ProgrammingChildren:
- .NET,
- Ajax,
- Coding Style,
- Computer science,
- Databases,
- Programming languages,
- Regular expressions,
- Templating,
- Unicode,
- Unit Testing,
- Unix,
- Web,
- Web Services,
- wxWidgets,
- XML
-
Kirk Allen Evans's Blog : Getting Path from an XmlNode
¶ (0)
Tags: [C#, XML]
-
Easily refresh an UpdatePanel, using JavaScript | Encosia.
¶ (0)
Tags: [ASP.NET]
-
Worlds: Controlling the Scope of Side Effects | Lambda the Ultimate. It's a short paper, to read.
¶ (0)
Tags: [Programming languages]
-
jQuery: » jQuery, Microsoft, and Nokia:
Both Microsoft and Nokia are taking the major step of adopting jQuery as part of their official application development platform. Not only will they be using it for their corporate development but they will be providing it as a core piece of their platform for developers to build with... This means that jQuery will be distributed with Visual Studio (which will include jQuery intellisense, snippets, examples, and documentation).
¶ (0)
Tags: [Javascript]
-
Lifehacker: Control Remember the Milk from Ubiquity. Ok, this might get me to use Ubiquity.
¶ (0)
Tags: [Firefox]
-
Why ASP.NET AJAX UpdatePanels are dangerous | Encosia. PageMethods, neato. No reason to use Prototype, etc. with ASP.NET.
¶ (0)
Tags: [ASP.NET]
-
obout inc appears to have some high-quality ASP.NET controls.
¶
Tags: [ASP.NET]
-
Binary Fortress Software | ASP.NET ViewState Helper (via).
¶ (0)
Tags: [ASP.NET]
-
TreeView control stuff:
¶ (0)
Tags: [ASP.NET]
-
Moritz Lenz's blogs on Perl 6, intended for people familiar with Perl 5, have done a lot to get me re-interested in Perl 6, despite how long it's taken to develop.
My understanding is that a full release of Perl 6 is probably another year away, but it may have been worth the wait. Perl 6 looks like a really fun language.
¶ (0)
Tags: [Perl]
-
[squeak-dev] Using V8 for other languages (via):
One thing is clear: JavaScript is the assembly language of the Internet, at least for a few years now.
Edit: here was the thing I'd read on TraceMonkey a while back (via Simon).
Edit: One more post on TraceMonkey (to read).
¶ (0)
Tags: [Javascript]
The more I use ASP.NET, the more I can't stand it. I'm using the ASP.NET Ajax stuff and it'd be so much faster if I just did everything "manually" rather than navigating this maze of UpdatePanels and RegisterClientScriptBlocks and AsyncPostBackTriggers.
Web apps are just XmlHttpRequest + some JSON and CSS and DOM manipulation. I already know all that stuff. Why does Microsoft fail so hard at simplification that they make it more complex?
-
Lifehacker: Ubiquity Prototype Offers a Natural Language Web Command Line. Maybe I should make a Ubiquity command to "blog this" rather than using a bookmarklet Anyway... very cool.
¶ (0)
Tags: [Firefox]
-
Learn CSS Positioning in Ten Steps: position static relative absolute float. Handy guide.
¶ (0)
Tags: [CSS]
Just learned about the W3C Selectors API from Simon's blog. Turns out a native implementation is forthcoming in Firefox 3.1 (as well as Opera, IE 8, and WebKit), but in the meantime many Javascript libraries already implement the spec, Mootools, jQuery, and Prototype to name a few.
WebKit provides a speed test of a native implementation of querySelectorAll vs popular Javascript libraries (obviously the native implementation won't work for you unless you're using a Firefox beta). It's based on Mootools' test.
Lifehacker: Featured Firefox Extension: TagSifter Slices and Dices Your Bookmarks by Tag. I like the tag expression syntax they have. muffins - (cookies + brownies) ?donuts (?donuts means "the URL contains 'donuts').
People have proposed a tag query syntax.
I guess this is obvious, but the reason tags are so powerful and have caught on so much is that tags are sets whereas "folders" are trees, and sets ⊃ trees.
-
Looks like Python 3.0 is implementing John Lim's suggested syntax for octal literals (with a slight difference). I'd prefer John's Oc to Python 3.0's Oo, but it doesn't matter.
They've made a lot of nice cruft-removing changes to Python for 3.0.
¶ (0)
Tags: [Python]
or shoehorning in what the C# library should have included in the first place.
public static void Each<T>(this IEnumerable<T> source, Action<T> a){
foreach (var item in source)
a(item);
}
public static void Each(this IEnumerable source, Action<object> a){
foreach (var item in source)
a(item);
}
See my previous extension method, Join.
I should be able to do something like:
var table = new HtmlTable {
Rows = { // <-- error is here
from XmlNode p in node.SelectNodes("./property")
select new HtmlTableRow{
Cells = {
new HtmlTableCell{ InnerText = Server.HtmlEncode(p.Attributes["description"].Value) },
new HtmlTableCell{ InnerText = Server.HtmlEncode(p.InnerText) }
}
}
}
};
But I can't, because the LINQ code isn't "expanded" so the compiler complains that while it expects an HtmlTableRow element between the braces assigned to Rows, you're giving it a collection. But, you can't assign the collection to Rows directly because it's a read-only property.
Bad class design (Rows being read-only... same as Cells fwiw) or bad language design in that there's no way to "expand" the results of the LINQ query to do what seems natural in that spot?
Instead, I have to do:
var rows =
from XmlNode p in node.SelectNodes("./property")
select new HtmlTableRow{
Cells = {
new HtmlTableCell{ InnerText = Server.HtmlEncode(p.Attributes["description"].Value) },
new HtmlTableCell{ InnerText = Server.HtmlEncode(p.InnerText) }
}
};
var table = new HtmlTable();
foreach (var r in rows)
table.Rows.Add(r);
which is redundant.
-
Lifehacker: Manage Tasks and Calendars from Gmail using Remember the Milk and Firefox plugins.
¶ (0)
Tags: [Firefox]
-
Javascript Drag and Drop. Old, but pretty concise tutorial.
¶
Tags: [Javascript]
function getViewport(){
var e = window, a = 'inner';
if(!('innerWidth' in e)){
var t = document.documentElement
e = t && t.clientWidth ? t : document.body
a = 'client';
}
return {width: e[a+'Width'], height: e[a+'Height']}
}
Modified slightly from a comment here.
Edit: the code in that comment didn't fully implement the original, and broke when I tried it in IE. So I've updated the code above.
-
Sketchy LISP, An Introduction to Functional Programming in Scheme (via).
¶ (0)
Tags: [Books, Scheme]
-
Raphaël—JavaScript Library (via).
Raphaël is small JavaScript library that should simplify your work with vector graphics on the web. In case you want to create your own specific chart or image crop-n-rotate widget, you can simply achieve it with this library.
Raphaël uses SVG and VML as a base for graphics creation. Because of that every created object is a DOM object so you can attach JavScript event handlers or modify objects later. Raphaël’s goal is to provide adapter that will make drawing cross-browser and easy. Currently library supports Firefox 3.0+, Safari 3.0+, Opera 9.5+ and Internet Explorer 6.0+.
¶ (0)
Tags: [Javascript]
-
Second p0st: PHP hackery: quick and dirty anonymous objects. Eew.
¶ (0)
Tags: [PHP]
-
SitePen Blog » window.name Transport (via Keith and Simon). To read.
¶ (0)
Tags: [Javascript, To Read]
-
LINQ to Objects - 5 Minute Overview - Hooked on LINQ. Decent tutorial. Has examples of grouping and joins.
¶ (0)
Tags: [C#, LINQ]
-
Download LINQPad (via).
¶ (0)
Tags: [LINQ, Software, SQL]
-
C# 3.0: The Evolution Of LINQ And Its Impact On The Design Of C# (via). Very interesting explanation of how LINQ came about.
¶ (0)
Tags: [C#, LINQ]
-
New "Orcas" Language Feature: Extension Methods - ScottGu's Blog. Very informative post.
Edit: He also covers C# 3's query syntax (i.e. LINQ).
¶ (0)
Tags: [C#, LINQ]
|
Generated in about 0.198s. (Used 13 db queries) |
new⇒URL design
http://groups.google.com/group/coolndex/web/asian-girl-sucking-to-black-man...
derek: Oct 12, 12:13pm