586 reputation
28
bio website
location Italy
age
visits member for 3 years, 11 months
seen Dec 17 at 13:35

Nov
13
comment Versioning business rules
Thank you, that's precisely what I mean, sorry, I didn't make it clear enough. I was referring to which type, as I know there are a few of them. Thank you again :)
Nov
13
comment Versioning business rules
True, I will try to play with a bunch of NoSQL solutions. Any suggestions as to which ones I might want to look into first?
Nov
13
comment Versioning business rules
Thank you for taking the time to write this up, you did bring up several good points. Externalizing the business rules would make it easier to version them, and it's true that a plugin architecture would lead to code duplication. An even more important point, though, is how old business rules could cope with changes in the database schema. What if the September2014 rule relies on a column that has been dropped as of December2014? Or even simply moved to another table?
Sep
9
comment Storing web app passwords so that they can be retrieved
@Broco I ended up doing just what I was asked. I wrote down my objections in a mail, the boss said it was ok and then I simply encrypted the passwords with a random long key. I couldn't spend any more time arguing with people who don't listen. I'm sorry I can't offer you any kind of clever insight into this particular issue.
Jul
2
comment Which algorithms do I need to look into?
@user61852: the context is that of a music workshop in which, each evening, students who have known each other for 10+ years and meet once a year, get to play a couple of tunes together. So resting is not a concern. Also, said musicians will be up till 4 in the morning jamming anyway ;)
Jul
2
comment Which algorithms do I need to look into?
@DanPichelman unless the bands Needs More Cowbellâ„¢.
Jul
2
comment Can't I just use all static methods?
+1. I would add that static methods make it hard-to-impossible to write tests, as in most cases you can't mock them: once any portion of your code depends on a static method, you can't substitute it with a no-op in your tests. A prime example in the .NET world would be classes like File, FileInfo and DirectoryInfo (and in fact, there are libraries which hide them behind interfaces that can then be injected as needed and mocked out in tests).
Feb
12
comment Storing web app passwords so that they can be retrieved
Correct, I mentioned Excel just to provide some context about how ridiculous the situation already is. I will look into your suggestion, even if I'm not sure it's worth the trouble.
Feb
12
comment Storing web app passwords so that they can be retrieved
First of all, thank you for your answer. Yours is a sound suggestion, in fact I did consider it for a while, but there was another requirement (which I admittedly forgot to mention): generate as few customer calls as possible. If my boss would discover that customers are calling because I didn't implement his obvious clear text solution I might have a tough time. A part of me just says "Fuck it, do what he wants and let customers sue him somewhere down the road", but the other part would feel horrible going down that route.
Feb
12
comment Storing web app passwords so that they can be retrieved
@MetaFight I'm no crypto wizard either, but that sounds like it could work. I will definitely look into it, thank you.
Feb
12
comment Storing web app passwords so that they can be retrieved
@tom yeah, well, but the spreadsheet won't be up to date the minute the user changes his password. Plus, the passwords would be stored in clear text anyway, so that would kind of defeat my purpose, would it not?
Feb
12
comment Storing web app passwords so that they can be retrieved
@m4tt1mus, as I wrote, a recovery mechanism is not feasible because I can't count on users even having an email address.
Feb
12
comment Storing web app passwords so that they can be retrieved
@salihrkc should I explain why accessing the passwords of the users you manage is a bad idea? Or why storing passwords in freaking clear text is bad?
Jun
26
comment How should I structure a solution for a long term project?
+1. @sooprise, don't waste your time trying to figure out what you don't know yet. Projects do tend to call for changes in their layout as time goes by. Plus, what others think of you is none of your business. If you care so much about structuring your project the way they want, by all means go ask them what you should do. Nothing is irreversible, especially since you'll be under source control and with powerful refactoring tools at your disposal. Forget about the mythical clean history: fuck-ups are going to happen, and that's exactly how you learn.
May
15
comment Information about how much time in spent in a function, based on the input of this function
You are sure right that the debugger somehow knows how to retrieve the values, but who knows what it's doing under the covers. I can guess they have some kind of infrastructure that comes into being when we run code in debug mode. One thing is for sure: with managed code you can't do it in a robust way. One might be able to pull it off using the CLR's unmanaged profiling API, though. But I suspect that would be a tough endeavor as well.
Mar
20
comment Is Software Testing Really Needed?
One short answer: yes, it is needed because shit hits the fan.
Feb
22
comment Using Agile development in a one person team
@davidhaskins: that's correct. Very few know that Agile programming dates back to 1886, thanks to Robert Louis Stevenson. His manuscript "Strange Case of Dr Jekyll and Mr Hyde" is considered to be the seminal work in this field.
Feb
20
comment Are there any downsides of 2 developers getting married?
Nice question, /me grabs a bucket of popcorn
Jan
27
comment Is this code bad enough to warrant a rewrite?
The choice of VB is itself a serious smell. Just kidding! :)
Jan
25
comment Amount of man hours to write a social network
@Corey +1. Facebook may suck according to some individuals, but since millions around the world seem to think otherwise, I don't see a serious Facebook competitor having a chance to succeed any time soon. As of now, FB is probably "good enough" for a lot of people. That being said, everything can happen.