73,504 reputation
15171300
bio website pelicandd.com
location France
age 28
visits member for 4 years, 7 months
seen 9 mins ago

Developer, architect, project manager, tester, and active DevOps supporter, I'm specializing myself in quality and productivity for the last two years, studying, observing and advising companies which have an important risk to fail their IT-related projects.

I worked with Microsoft stack for seven years, but recently started to build Linux-based DevOps infrastructure, learning Linux, bash, Python, Node.js, MongoDB, RabbitMQ, Redis and dozens of other things and completely loving it.

I'm also interested by photography and recently started shooting videos.

I'm mostly active on Programmers.SE, and also maintain my blog.

If you want to:


May
24
comment C# console app which calculate a volume of a box
I'm voting to close this question as off-topic because it is about debugging a piece of code.
May
20
comment What's the best practise for storing web server credentials for your web app deployment?
The three bullet points are more comments/notes than a part of the answer, which explains their off-topic character. I find them still relevant, especially in a context where the discussed example could easily use good placeholders instead of bad ones.
May
18
comment Design suggestions for converters in Java
@ThomasOwens: you're right, toString() is far from being a good example of OOP and SRP (especially since conversion from an integer or a double to a string is usually quite complex). I edited my answer to highlight the drawbacks you've noted.
May
18
comment Design suggestions for converters in Java
@ThomasOwens: Same reason as int or double has toString(): why would it convert itself to a string? By having a toLegacy(), consistency is ensured, making it easier to find the relevant method. Of course, there are cases when the slight benefit of consistency is not worth it, in which case one would probably use the pattern I described in the second part of my answer.
May
18
comment How do you handle saving blog tags in MVC?
@DanBeaulieu: no, if it works, then you're doing it right. Since you use a view model, the conversion from a string to a list is done automatically. This being said, it's difficult to understand your case without seeing any code. How is the binding done? What are the client-side controls for the list of tags?...
May
16
comment Parent class using methods defined in child
@user5061: when do you talk about warnings, do you mean warnings in your IDE? It looks like your editor reports warnings which are just informative rather than indicative of a error in your code.
May
16
comment Parent class using methods defined in child
@lxrec: What do you mean by "pure virtual class"? If you're talking about abstract classes, abc.ABCMeta is the right way (just like in the author's code).
May
9
comment Unable to insert datetime value into a MySQL table using PHP
Welcome to Programmers.SE. Questions like this belong on Stack Overflow where you already posted 14 questions: Programmers.SE is for conceptual questions only. You may either flag it to be migrated, or wait for five close votes.
May
7
comment Decision tree (?) reduction
@gnat: I consider this question to be more specific than the possible duplicate. It might be that the actual case (unlike the one shown in the table) has a non-uniform tree, where some nodes are only two levels deep, while others are eight levels deep. In the possible duplicate, the answers will force to have the same depth, which can lead to severe and very problematic duplication if the number of branches is big.
May
5
comment What factors influence how long the interview process takes?
You may want to ask other people who were interviewed by the same company how it went for them. Usually, it doesn't indicate anything bad: people are just busy, and it's difficult to get all three persons available for the whole day. By the way, the longest time I waited to get a job after the first interview was seven months.
May
5
comment Are there any good reasons to use ER Diagrams instead of UML Class Diagrams for data modeling? Is ERD the COBOL of data modeling?
ER diagrams describe the data. UML class diagrams describe classes. Those are two separate tools which solve two separate problems. They are not interchangeable. Also, UML is much more complicated, which may explain why it failed to gain traction among DBAs (and many developers as well, by the way).
May
4
comment Development and testing PHP script that gets variables from external server
Any decent payment solution has a sandbox feature which makes it possible to make a fake payment (or a fake failure) in order to test how your website reacts to different responses from the payment website.
May
4
comment Detect or Prevent Screen Capture Applications
possible duplicate of How to prevent code from leaking outside work?
May
4
comment Python rectangle packing
You may be interested by the Survey on two-dimensional packing article.
May
3
comment Should we define types for everything?
@Blrfl: while there are valid cases where deep inheritance is necessary, I usually see such inheritance in overdesigned code written with no attention to readability, resulting from compulsive pay-by-LOC attitude. Thus the negative character of this part of my answer.
May
1
comment PHP - How to structure this application
@Phorce: if none of the benefits of databases I've listed applies to your case, then yes, sessions seem quite appropriate.
May
1
comment PHP - How to structure this application
@Phorce: yes, that makes sense.
Apr
24
comment Java front-end, PHP/MySQL back end methodology
As I understand it, Jackson is just a JSON generator and parser. When working with SOAP, you are at a higher level of abstraction (at least in .NET Framework, but I'm sure Java and PHP have similar tools); for instance, you don't have to deal with raw URIs—you just declare your interface, and the remaining work is done automatically. If you're already at this level and the only thing which annoys you is to write the interface itself and bind it to the database, then take a look at WCF Data Services (previously called Microsoft Astoria)—Java should have something like that too.
Apr
20
comment Is performance the only reason not to use SignalR (websockets) entirely in lieu of a traditional REST API?
@gnychis: there are many solutions for that, but many of them are more related to the infrastructure itself (that is what serverfault.com is for). In general, throw more hardware and split users among domains, so that some connections are handled by sockets1.example.com, others by sockets2.example.com, etc. Quite effective but also quite expensive in terms of hardware and bandwidth.
Apr
18
comment Dependency injection vs dependency lookup in a layered architecture
@Flavius: Static makes somehow sense in a case of service locator pattern, but yes, it looks weird and is avoided by many developers. As for frontally answering the questions, I believe I did for the first one by listing the benefits and the drawbacks. I haven't answered your second question because its subjective aspect ("I use DI most of the time because of the drawback above" is not that interesting as an answer.)