Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
G

GlobX

@GlobX
About
Posts
165
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Regions: Love or Hate
    G GlobX

    I LOVE regions. If I really think about it though, it's more a side-effect of the regions than the regions themselves. I usually have a few main regions in my classes: private members, properties, constructors, methods, static methods etc. This has the wonderful direct effect of when I open one of my classes and I want to find property blah, I can pop open the properties region and it's there (I know I can use the drop-downs at the top of the code window but that's no fun!). It also has the, arguably, more useful side-effect of keeping all like-things together, so that when new people look at the code, it's much harder for them to put new properties at the bottom of the file instead of with the other properties. My logic here is, let's face it, most of us coders are "OCD" in the sense that we like order and symmetry and things like that, so putting a property outside of the properties region that's already defined makes you feel 'icky' and you want to move it. That's my 37 cents anyway...


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge csharp css visual-studio collaboration help

  • Loading of pictures and (un)covering them
    G GlobX

    Sounds like a good enough solution to me. You could either set the visibility of the picture box control to show/hide it, or replace the image with a "blank" one you already have - it all depends on the aesthetic you're going for. I would suggest pre-loading all the images (including the blank one) at startup and keeping them in memory (remembering to free them on close, GC may handle this for you, can't quite remember with images...). If you have a reasonable number of images, then this should be fine. Remember you'll only need one in-memory copy of the blank one although it may be used for all tiles. Another solution would be simply to draw something over the top of the images in order to hide them, for example a black rectangle or another image. This may be another solution worth looking into. Seems like you're on the right track though. Good luck!


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    modified on Wednesday, July 27, 2011 6:55 AM

    C# com game-dev performance tutorial question

  • The developing mind
    G GlobX

    _Maxxx_ wrote:

    Most 7-8 year olds can spell Bum, Poo and Wee

    Most 5-90 year olds still laugh at bum, poo and wee


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge wpf csharp com architecture

  • A question of grammar
    G GlobX

    Adopting a programmer's mindset, no sentence is complete without the word "should" :)


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge question csharp com tools help

  • Wedding presents
    G GlobX

    Small disposable cameras would be awesome fun, especially once the liquor began to flow. The last wedding I attended they did a similar thing and also had a chalkboard for guests to write a message on, then they would take a photo of them with the message then wipe the board. The happy couple didn't get a lot of the messages until their honeymoon when the photo album was ready, photos ordered chronologically... they started with messages like "We always knew!" and "Just married!" and ended with... well... nothing that needs to be repeated :) But very, very enjoyable for everyone.


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge com question

  • Poor old Australians
    G GlobX

    Celsius, most likely... This morning I tried to put the coffee jar lid on my cup of coffee and dropped it in there, then subsequently attempted to retrieve it from my cup of boiling water... I burnt my tongue because what do you do when you burn your fingers? You put them in your mouth! That's like a 100 point IQ penalty right there. Either that or I need a holiday...


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Soapbox html xml tutorial question announcement

  • You Don't Know God -- How Sad
    G GlobX

    And if I was Vishnu[^] I'd get more work done - 2 arms for work, 2 arms for CP...


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Back Room discussion question

  • Moved to the Soapbox?
    G GlobX

    It was probably our fault... I was standing on a 17 soapbox high soaptower


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge question

  • Poor old Australians
    G GlobX

    Haha, thanks for the warning, if so my IQ must be on par with the temperature of a glass of fridge water by now... I have been toying for a while with the idea of starting an anonymous "blog" type thing where I write responses to the ridiculous things said in that section and tell people how stupid they are. But I don't want to be that guy, you know the one with the turtleneck who pretends he knows everything about the world... Ah well, all those well articulated, thinly veiled insults will have to stay locked in the old brain box...


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Soapbox html xml tutorial question announcement

  • Poor old Australians
    G GlobX

    Christian Graus wrote:

    The US, by the way, is far worse in this regard than Australia.

    Agreed 100%! I guess you're right about the media thing, which is something I'm quite often annoyed with. Isn't a free media one of the sine quibus non of a functioning democracy, the thought being they will hold the democracy accountable for its actions? The capitalistic nature of the media seems not to do that idea justice. BTW are you a Brisbanite? Are you familiar with the free MX paper and its "vent your spleen" section? I have a masochistic need to read it every afternoon even though the ridiculous and useless comments in it make me angry/sad to be a human being...


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Soapbox html xml tutorial question announcement

  • Poor old Australians
    G GlobX

    Unfortunately a large proportion of the Australian public are stupid enough to NEED to be told what's good and what's not. However a lot of what they're being told is utterly ridiculous and incorrect. We live in an age of boundless information, but with no more capacity to process it than the generation before. There are so many conflicting world-views it seems whichever is shouted the loudest people tend to agree with. We are given the conclusions, not the facts with which to determine our OWN conclusion. I think you make a good point but it's not just Australia that's going this way, the whole world is going this way. It's like an apartheid of conservatism and liberalism. Soon there'll be conservative only pubs where they serve iced tea and fruit juice with barbershop quartets and slapstick comedy for entertainment, while the liberal pub over the road is handing out scotch by the bottle, serve up shots of a different kind during Heroin Happy Hour and all the barmaids are available (for a few hundred bucks). It's like moderate people don't exist any more, everybody's got some opinion they're going to shove down your throat.


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Soapbox html xml tutorial question announcement

  • Copy Changed Files
    G GlobX

    Mark Wallace wrote:

    perhaps because I want to do it automatically

    Well that's a given, I meant why would you do a full binary comparison when you can just check a flag instead?


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge database com tools question

  • Perception or Reality
    G GlobX

    Four - spectacles, testicles, wallet and watch. :)


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge game-dev architecture question

  • Copy Changed Files
    G GlobX

    I thought that this is what the archived attribute is for... can't you get the same effect with like a -M (or whatever) with xcopy? Why would you want to do full comparisons of files to see if they've changed when you can just look at the modified date or archived attributes?


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge database com tools question

  • How can you make "Singleton" pattern to "Nton"?
    G GlobX

    See here[^].


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge regex question

  • If it's nullable, then it can't be a boolean.
    G GlobX

    5!


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge question

  • Namesakes in the Workplace
    G GlobX

    There are 4 people including myself who use my name at my workplace, in the same office. Each one is in a different department (I am a developer, one's an account manager, one's in F&A and another in sales and marketing). I will often get calls for the others, which can be interesting. "Aw mate, you coming for golf today?" --- "sorry, who is this?" "I've got Jane Doe from Bob's Legal Firm on the line, she wants to know why the products she ordered haven't arrived yet." --- "Ah... wrong person." "I AM NOT PAYING THIS??! WHERE DO YOU GET OFF ON CHARGING THAT MUCH, FOR A [PRODUCT]?? THIS OTHER COMPANY DOES IT FOR HALF THAT?! I WANT TO SPEAK TO YOUR PRICING MANAGER!" --- "Sure thing, I'll put you through..." (seriously, this call happened... paraphrased of course) Keeps my day interesting :) Calls for me are "I need report X from 2 days ago" and "production is down, fix it" and "I have this urgent item, due three days ago, can you do it four days ago???", you know, the usual...


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge business

  • A Tricky Question
    G GlobX

    A man of much wisdom, I believe he also said (in his capacity as a marriage counselor) "foolish man give wife grand piano; wise man give wife upright organ".


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge question

  • A Tricky Question
    G GlobX

    I think you were approaching this from a philosophical perspective, don't worry, I get you. Check this out[^], it's actually a big unanswered question in Western philosophy. It's a question of whether the colour (i.e. what we see in our own personal vision) is a product directly of the wavelength, or more of the mind assigning that wavelength a visual interpretation. Either way, you can still teach someone what the colour "blue" is, because all "blues" have the same wavelength. Trippy, isn't it?? Confucius say "red is only a colour, but green is a way of life" :)


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge question

  • I freaking hate WPF
    G GlobX

    Heisenburg?


    Typical n-tiered architecture: DB <-> Junk(0) <-> ... <-> Junk(n-1) <-> Pretty

    The Lounge csharp wpf com tools json
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups