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
N

Nicolas Dorier

@Nicolas Dorier
About
Posts
142
Topics
9
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • How flexible is your schedule?
    N Nicolas Dorier

    I am so flexible that I am called "free electron" sometimes. I don't like planning as it can make you blind for the numerous opportunities of the moment. My lifestyle is so anarchic, that one day I can sleep between 8am and 4pm, and the following day 10pm to 6am. I go to sleep when I'm sleepy, wake up when I'm awake, go to work when I'm bored being home, go back home when I'm bored working. My biological clock has no respect for sunlight. I like this lifestyle.

    The Lounge question lounge

  • How flexible is your schedule?
    N Nicolas Dorier

    The real voyage of discovery consists not in seeking new landscapes, but in having new eyes. Marcel Proust

    The Lounge question lounge

  • Don't know whether it's weird, or wonderful
    N Nicolas Dorier

    at least you don't need to spend money on an obfuscator.

    The Weird and The Wonderful

  • Who needs security through obscurity?
    N Nicolas Dorier

    True, it can weed out script kiddies searching for easy exploit to run. However, for a targeted attack, it does not trick the attacker very long, as there is lots of way to fingerprint the underlying server. I think a better protection is lying, not hiding. Make them believe you run on Apache while you are using IIS.

    The Weird and The Wonderful com security tools question

  • Forgive me, Father, for I have sinned.
    N Nicolas Dorier

    He catched you.

    The Lounge announcement

  • I thought this would happen only to others...
    N Nicolas Dorier

    Well, the problem is that even if you try to do it with this code :

    if(Thread.CurrentThread.CurrentCulture.ToString().StartWith("hu"))
    {
    throw new HttpException("Not authorized");
    }

    You are not even sure it will works correctly. :D

    The Lounge help

  • I thought this would happen only to others...
    N Nicolas Dorier

    Cultures are hard...

    Well, at this point I see no reason over not using StringComparison.InvariantCulture/CultureInfo.InvariantCulture in any code. In fact, this should be the default.

    The Lounge help

  • I thought this would happen only to others...
    N Nicolas Dorier

    Thread.CurrentThread.CurrentCulture = new CultureInfo("hu");
    string mechanism = "HMACSHA256";
    var v1 = mechanism.StartsWith("HMAC");

    mechanism = "HMAC-SHA256";
    var v2 = mechanism.StartsWith("HMAC");

    Result : v1 is false, but v2 is true. I was too lazy for using StringComparison.Ordinal, since, in my code all the strings were hardcoded... No way, ever, a bug would happen... Until an hungarian used it. Apparently, if you are hungarian, "CS" is counted as 1 letter, BUT in unicode this is 2 letters... :doh:

    The Lounge help

  • Many devs, by nature, are also entrepreneurs?
    N Nicolas Dorier

    you are wrong on the terminology. Steve Jobs is a business man and sales person. Wozniak is a developer. But both are entrepreneurs.

    The Lounge question com learning

  • Many devs, by nature, are also entrepreneurs?
    N Nicolas Dorier

    I will first respond to the fallacy of people thinking that a developer wanting to be entrepreneur needs to be a business man. This is false. This skill can be into one of your partners. A developer does not have to be a business man if he does not like it. Entrepreneur only means that you prefer creating a service that generate revenue instead of selling your time. Paycheck versus recurrent income and equities. It is a fallacy to mix up "being a business man" with "being an entrepreneur", these are two different things, you can be one without the other. It is not the nature developers to be entrepreneur, but the nature of their skills. Programming is one of the only job where you can create a service by investing nothing but your brain.

    The Lounge question com learning

  • Many devs, by nature, are also entrepreneurs?
    N Nicolas Dorier

    Well, an entrepreneur developer don't have to necessarily be the business person. This is why having good partners goes a long way to the success. Entrepreneur means you like to create a service that generate revenue, instead of selling your time. Thinking that the developer needs to be a business person for entrepreneurship is fallacy and dangerous if he does not like it.

    The Lounge question com learning

  • Holy s**f - Xamarin Forms!
    N Nicolas Dorier

    I know, but it is the best word to describe my impression after having used it several time. (And my customer who codes too would agree) The idea is cool, but the experience is filled with gotcha's and wtf bugs, thus the word "immature" is appropriate. If it stays immature considering the long time it has been around, there is two possible explanation : the skill of their developers is at question, or xamarin is focusing on something else now. Don't get me wrong, I like xamarin for what it permits us to do. But Xamarin Forms made me hate my life as a developer.

    The Lounge csharp c++ android ios mobile

  • Holy s**f - Xamarin Forms!
    N Nicolas Dorier

    on my side, I stopped coding on it 6 month ago. My customer is always working on it right now and getting highly frustrated. He is on the last version, and had every day its load of "gotcha" of things that render fine on Android, but fail on IOS. (bindings and "optimization" gotcha of ios) I suspect that it would have save him lots of time by not using Xamarin Forms, and have 1 project by plateform directly using the underlying UI API of every plateform. At first he was a huge fan of the concept, but lost too much time on gotcha and wtf situations.

    The Lounge csharp c++ android ios mobile

  • Holy s**f - Xamarin Forms!
    N Nicolas Dorier

    Having coded apps on that we found too many bugs. After the "hello world app", you are welcome to the nightmare of nasty binding that does not work for obscure reasons / new bugs at every updates / IOS "code optimizer" optimizing too much... It was a huge exercise in frustration on my side. Not yet mature.

    The Lounge csharp c++ android ios mobile

  • Blockchain Programming In C#
    N Nicolas Dorier

    only saying that you have a free ebook about bitcoin programming whether or not you want to contribute ;)

    The Insider News csharp

  • Blockchain Programming in C# part II
    N Nicolas Dorier

    I know that some people out there appreciate my articles on CP, so I hope you'll appreciate even more my ebook Blockchain Programming in C#[^]. Hope you'll get as much fun as me coding on Bitcoin. We need you. :)

    The Lounge csharp

  • Blockchain Programming In C#
    N Nicolas Dorier

    My apologies, sadly the delete button is in grey, I can't cancel. :/

    The Insider News csharp

  • Blockchain Programming In C#
    N Nicolas Dorier

    I know that some people out there appreciate my articles on CP, so I hope you'll appreciate even more my ebook Blockchain Programming in C#[^]. Hope you'll get as much fun as me coding on Bitcoin. We need you. :)

    The Insider News csharp

  • Programmer passion considered harmful
    N Nicolas Dorier

    Very interesting that the majority is denying 1/3 of their life doing something they deem not important. Instead of introspection, they blame it to their boss, coworker, society. As if others are responsible to make their 8H worthwhile to their own life. If you are thinking like that, change your job, or you will become an hollow body standing without any soul.

    The Insider News com

  • .Net schedulers?
    N Nicolas Dorier

    Using console app + built in Windows Scheduler. Does the job.

    The Lounge csharp design 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