8 or 9 years old, with Visual Basic (actually VBA in Excel). An uncle taught me about programming and we built a Tamagotchi-like thing together. I'm 23 now :)
Daniel Lo Nigro
Posts
-
How old were you when you first wrote a line of code ? -
Image.FromFile and exceptionsYeah, I'm validating that an uploaded image is actually a valid image. I was just ranting about the framework using an OutOfMemoryException to signal an exception that doesn't relate to memory at all :)
-
Image.FromFile and exceptionsIn the .NET Framework, what exception would you expect Image.FromFile to throw if the image is invalid? Something like an "InvalidImageFormatException" or similar? Nope. It throws an OutOfMemoryException. MSDN says:
OutOfMemoryException
The file does not have a valid image format.
-or-
GDI+ does not support the pixel format of the file.Really? I doubt the system is actually running out of memory as it returns quickly.
-
Create a new programming language?A guy on a forum I frequently browse is building his own programming language mainly for web development as an experiment. It doesn't fit your "without using an existing programming language" criteria (as it is written in Java and will run on top of the Java Virtual Machine), but still an interesting topic. http://webdevrefinery.com/forums/topic/9856-tangle/
-
Ugliest website candidate?That's not that ugly! It's definitely usable and looks quite handy. Now, this is ugly: http://yvettesbridalformal.com/
-
IE9 --- Thumbs down after 60 secondsI'm glad to see there's other Opera users on here - There doesn't seem to be many of us :( I've been using it since around when version 6 or 7 came out. :)
-
FreePascal and DelphiPascal (using FreePascal) was the first language I learnt at university, a few years ago. It was great fun, seemed to be easily cross-platform.
DonaldDuvall wrote:
The only downsides I have noticed about the usage of FreePascal Compiler is that at times it seems unstable and FreePascal Compiler applications are a bit larger than Delphi ones.
The compiler seems unstable? I've never experienced issues with it. Lazarus seemed a bit buggy at times back when I tried it, but I never had issues with the compiler. There are some optimisation switches you can use when compiling your app. Perhaps try some of those, they should make the EXE a little bit smaller. Still big compared to C++, but that's mainly because everything is statically compiled - As far as I know, you don't need any runtime library at all to use a FreePascal application, it's all in the EXE.
-
FreePascal and DelphiDelphi apps are pretty large too, though!
-
Which Antivirus?I've been using NOD32 for many years now, it seems pretty good :)
-
10 CommandmentsFrom the Microsoft one: "Do not use a prefix for member variables (_, m_, s_, etc.). If you want to distinguish between local and member variables you should use “this.” in C# and “Me.” in VB.NET" What? I thought the .NET guidelines said to use an underscore? :wtf:
-
10 CommandmentsDoes that matter? Tabs should be used for indentation, spaces should be used for lining things up. The size of indentation does not matter at all. That's one of the advantages of tabs - The user can set their preferred tab size.
-
Who does not use jQuery these days?I don't use jQuery; I use MooTools. http://jqueryvsmootools.com/ is a pretty good overview and says a lot of the reasons why I like MooTools better :) jQuery is just focused on the DOM (and some AJAX), it's not useful for anything else. MooTools focuses on making JavaScript in general nice.
-
Silverlight deploymentThat's inefficient though - The cache won't be used at all. So, even if you don't change the file, it'll still be loaded from your server. A better idea is to put
myfile.swf?v=1
And then just increment the number every time you make a change :) If you have a deployment script and are using a version control system (like SVN), you could add something to that to insert the SVN revision when you deploy. :) Daniel15 :)