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
M

Maarten Kools

@Maarten Kools
About
Posts
96
Topics
14
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • SOLVED :: Customer needs to send 1GB... what free tool would you recommend?
    M Maarten Kools

    Not sure if it was mentioned before, but WeTransfer?[^] It's free for up to 2GB.

    The Lounge question com sysadmin sales

  • Nullable<bool> ?
    M Maarten Kools

    The method at line 158 is called ApplyDefaultsAndClearEncryption, which is internal as well. true and false do have meaning, as well as leaving it undefined a.k.a. leave it to some setting to determine whether the value will be true or false. I agree the code is unclear (as well as the documentation), but it does serve its purpose. How would you otherwise suggest to fall back to a default (which may either be true or false)?

    The Weird and The Wonderful com cloud collaboration question

  • Nullable<bool> ?
    M Maarten Kools

    It's not a boolean, it's a Nullable. Assigning a value to the property basically says "ignore all settings and defaults and do whatever I tell you to do", whether that's true or false. So leave it to null to allow some configuration option to determine whether to require encryption, or assign a value to make sure it either requires encryption or not. If it were a regular boolean, it would be impossible to determine whether the developer specified false or whether it's just the default value of a boolean. Nullable does allow for that. Personally I would've chosen an enumeration, as it's much more verbose, but a Nullable does the trick as well.

    The Weird and The Wonderful com cloud collaboration question

  • Nullable<bool> ?
    M Maarten Kools

    null means it'll fall back to some default or setting, this is from the source:

    modifiedOptions.RequireEncryption =
    modifiedOptions.RequireEncryption
    ?? serviceClient.DefaultRequestOptions.RequireEncryption
    ?? BaseDefaultRequestOptions.RequireEncryption;

    TableRequestOptions.cs:135[^] Perhaps an enumeration would've made it clearer:

    enum RequireEncryption
    {
    Default,
    Yes,
    No
    }

    The Weird and The Wonderful com cloud collaboration question

  • MQOTD
    M Maarten Kools

    Hillary: The Movie[^]

    The Lounge com tools question

  • MQOTD
    M Maarten Kools

    No idea, I'm lost on this one.

    The Lounge com tools question

  • Adobe InDesign
    M Maarten Kools

    You can link text frames. Just create a second frame, and link it to the first one. Any text overflow on the first frame will continue in the next. Check out this InDesign Help[^] page. That's what you mean, right?

    The Lounge adobe css com tutorial code-review

  • MQOTD
    M Maarten Kools

    Behind the scenes at Flappie[^]!

    The Lounge com tools question

  • I... cannot speak
    M Maarten Kools

    Awwh c'mon, it's totally going to be epic! Check out the movie trailer[^]

    The Lounge csharp announcement

  • We use cookies
    M Maarten Kools

    Sometimes it does. Some websites do offer a different experience if you decline tracking cookies (functional cookies are still allowed), while others would just redirect you.

    The Lounge question code-review

  • 'Minecraft' creator Notch says selling Mojang to Microsoft was about keeping his sanity
    M Maarten Kools

    Reading some of those blog posts I can totally understand why he wanted out of it. Damned if you do, damned if you don't. That's what being famous on the Internet means I suppose. He'll be set for life now, and I'm sure it'll take a whole lot of pressure off his shoulders; let Microsoft deal with all that crap now.

    The Insider News csharp announcement

  • Happy International Bacon Day
    M Maarten Kools

    And here I was thinking it's Bacon Day every day... silly me :doh:

    The Lounge question adobe architecture

  • Who Is Marking Everything As SPAM / Abusive?
    M Maarten Kools

    Is that when you started with the gin?

    The Lounge question

  • There are two ways to argue with a woman...
    M Maarten Kools

    A shot of gin would probably help... then again, maybe more than a shot is needed in his case! :|

    The Lounge

  • I didn't realize this law was necessary
    M Maarten Kools

    Have you considered color coding with permanent markers?

    The Lounge

  • Truecrypt no longer available ?
    M Maarten Kools

    I've read people saying it's the same thing that happened to Lavabit[^]; they received a National Security Letter forcing them to give up their encryption keys to the government. I don't know what's true, we'll probably unlikely to find out either way. I don't see how a hack would force them to shut down indefinitely, so I'm inclined to go down the NSL route instead.

    The Lounge csharp security question announcement

  • MQOTD
    M Maarten Kools

    Big Buck Bunny[^]

    The Lounge com tools question

  • Are you kidding me?
    M Maarten Kools

    Hahaha, found another[^] gem!

    The Lounge com question

  • Nature fights back
    M Maarten Kools

    We should really try not to mess with nature, we only f*** it up even more :(

    The Lounge com

  • Timewaster OTD
    M Maarten Kools

    Just after midnight, and I finally got it! Please don't ever post something like that again... :wtf:

    The Lounge question
  • Login

  • Don't have an account? Register

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