berserk.org

berserk.org header image

Entries Tagged as 'code'

Debug statements in ASP.NET when you aren’t subclassing Page

November 10th, 2005 · No Comments

If you’re the kind of developer who enjoys not using the debugger, and rather appreciates the use of logging statements, here’s a solution path to consider.
When you’re wanting to write things out to your page, you can use Response.Write. However if you’re deep into a class that doesn’t subclass Page you’re sort of stuck. […]

[Read more →]

Tags: code

10 Issues Facing Web 2.0 Going Into 2006

November 3rd, 2005 · No Comments

10 Issues Facing Web 2.0 Today
1. Excessive Hype.
2. Lack of Simple Definition
3. Aging Poster Children.
4. Needing A Permaconnection.
5. Ajax as the Official Web 2.0 Experience.
6. Excessive Attention On The Technology.
7. Really Bad Adherents.
8. Blogging Instead of Doing.
9. Not Facing Hard Truths.
10. Adopting The Lightweight Creation Model.
full text(web2.wsj2.com)

[Read more →]

Tags: code

Custom highlight validators in ASP.NET / C#

October 31st, 2005 · No Comments

[Normal view of the label/textfield]
[Failed validation view of label/textfield]
[Validation Summary showing accompanying error message.]
I figured I’d share a snippet of code that shows how to make a custom ASP.NET validator that I’ll call a HighlightRangeValidator.
Using this Validation scheme has a three part commitment. The idea here is to […]

[Read more →]

Tags: code

A Distributed Structured Storage System

October 29th, 2005 · No Comments

Jeff Dean (google) talked recently at the UW about BigTable.

Data in a single table is internally broken at arbitrary row boundaries to form contiguous regions of data called tablets. These tablets are distributed across a large pool of worker machines. The system is designed to manage several petabytes of data distributed across thousands […]

[Read more →]

Tags: code

Does Visual Studio Rot the Mind? ( Ruminations on the Psychology and Aesthetics of Coding)

October 26th, 2005 · No Comments

Abstract: Visual Studio can be one of the programmer’s best friends, but over the years it has become increasingly pushy, domineering, and suffering from unsettling control issues. Should we just surrender to Visual Studio’s insistence on writing our code for us? Or is Visual Studio sapping our programming intelligence rather than augmenting it? This talk […]

[Read more →]

Tags: code

Pragmatic Ajax

October 25th, 2005 · No Comments

In fact, after spending ten minutes examining Google Maps a bit deeper, we realized that, far from being the product of rocket scientists, the Google Maps interface is actually fairly straight-forward to implement. Perhaps, some might say, easy. Not “same-amount-of-effort-as-a-PHPweb- form” easy, but we were able to implement something a great deal like it in […]

[Read more →]

Tags: code

Programmers font

October 19th, 2005 · No Comments

I’ve been shopping for a new font lately, and I was pointed to ProFont (for Windows, for Macintosh, for Linux).
There’s an alternate there called ‘Sheldon’ which is just a minor variant.
All in all it is pretty good. It takes awhile to get used to it (seems small), but I’ve been […]

[Read more →]

Tags: computer · code

The Life

October 14th, 2005 · No Comments

The basic idea is that a developer comes up with an idea for an app,
implements it, ships it, and starts selling software licenses for,
typically, around $20-40 a pop. If he can sell 1,000 licenses in a
year, that’s a nice hobby. Sell 2,000, and he’s getting close; at
around 3,000 licenses per year, revenue is probably in […]

[Read more →]

Tags: code

Textmate and a remote editing workaround

October 8th, 2005 · No Comments

I’ve been delving into Ruby on Rails lately, and what seems to be the premier editor for this on OS X, TextMate. There are other editors out there of course, however TextMate really is a nice product, especially when dealing with a large amount of code.
Personally, I look for 3 main features when evaluating […]

[Read more →]

Tags: code

uploadr.py using new “User Auth” system

October 3rd, 2005 · No Comments

Sorry for the lateness here, but uploadr.py should now be working just fine with the new User AUTH system. The main problem here was that the older version wasn’t working for people who had signed up via their Yahoo accounts. This should hopefully take care of that issue.
This will entail you giving […]

[Read more →]

Tags: code · pictures