|
StatementTerminator wrote: implementing a "like" button or something similar. It's not critical that it works
Man, people split up because of a 'like' button. You don't 'like' in time -- you loose. It IS crtical.
Greetings - Jacek
|
|
|
|
|
That's OK, people who care about "like" buttons should be ostracized anyway.
On a side note, if I hear someone at my organization say one more time that our site needs to be more like Facebook, I'm going to garrote myself with a Cat5 cable.
|
|
|
|
|
Well, CP seems to go in that direction, too... It is a matter of time when it becomes "CodeBook". If it makes you feel better, I can vote you down
Greetings - Jacek
|
|
|
|
|
This is why I hate the facebook, I cannot hate things, can only like things. How in the world I am supposed to only like things.
|
|
|
|
|
Luiz Felipe Stangarlin wrote: This is why I hate the facebook, I cannot hate things, can only like things. <layer>How in the world I am supposed to only like things.
I think exactly opposite. While I'm not a huge fan of a facebook, this particular feature is fine for me. Whereas I do dislike various things, a non-existance of downvoting mechanism forces me to express the dislike in a commentary (hopefully constructive). No downvoting makes the website more positive, which is a desired feature for a social network. We all have enough univoters in the real life...
Anyway, there are a lot of "hatred groups" on FB. Giving a 'like' to them is a way to express hatred, if you really need to.
Greetings - Jacek
|
|
|
|
|
Looks to me like the original programmer was too lazy to handle an exception, and another programmer came along and added the helpful "Not good!" comment, and left it like that. I don't know which programmer to hate more.
Five bucks says that account.Save() has a return value indicating success.
|
|
|
|
|
Well if saving doesn't work now, it could work later...
|
|
|
|
|
RafagaX wrote: Well if saving doesn't work now, it could work later... Oh, yea! Really user friendly. I ask to save, it works fine. Except I don't know if it worked or not. So now I've got to retrieve the data. If it is retrieved, fine, it worked. If not, then I get to save again and then check again and...
|
|
|
|
|
If in the account class the Save method looked like this there might be a scenario where the eating of exceptions is fine:
try
{
// Some code to save the record to the db
....
}
catch(Exception ex)
{
logger.Log(ex);
throw;
}
|
|
|
|
|
I've read somewhere that this code is equivalent to:
try
{
}
catch { ; }
Then again, a LART would be more educational.
Pablo.
"Accident: An inevitable occurrence due to the action of immutable natural laws." (Ambrose Bierce, circa 1899).
|
|
|
|
|
|
I will not shoot you, but support team will do, after over 9000 calls from angry users...
|
|
|
|
|
I notice that a fair few of the recent posts here seem out of place.
Can't people read?
ps. I guess that by posting this, I now have to include myself in that category, but I'm hoping to be indulged.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Two wrongs don't make a right.
|
|
|
|
|
But three lefts do.
(well, someone had to do it!)
Quidquid latine dictum sit, altum viditur.
|
|
|
|
|
I resisted doing it myself.
|
|
|
|
|
And remember that there will always be a future in computer maintenance...
Assuming you were quoting the Deteriorata.
Psychosis at 10
Film at 11
Those who do not remember the past, are doomed to repeat it.
Those who do not remember the past, cannot build upon it.
|
|
|
|
|
It was better when it was the Hall of Shame, if you ask me.
|
|
|
|
|
Most of the time I just click the links from the main page to get to various threads, having no idea which forum they're in or what on earth the forum description is if any
|
|
|
|
|
Apparently some people can't even spell forum anymore let alone read a description about its purpose...
Rhys
"If you ever start taking things too seriously, just remember that we are talking monkeys on an organic spaceship flying through the Universe"
|
|
|
|
|
Well I had to have some kind of horror in their to justify posting to this forum
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
He was expecting the Intellisense to complete it for him.
Rhys Gravell wrote: Apparently some people can't even spell forum
Psychosis at 10
Film at 11
Those who do not remember the past, are doomed to repeat it.
Those who do not remember the past, cannot build upon it.
|
|
|
|
|
Quote: Can't people read? I'm fine, how are you?
There are only 10 types of people in the world, those who understand binary and those who don't.
|
|
|
|
|
Apologies if this subject has already been discussed before.
After stumbling upon last September's Best C# Article NET-CLR-Injection-Modify-IL-Code-during-Run-time and learning about endless security issues with the Java Runtime.
Are these platforms actually safer than conventional compiled executables?
Isn't the whole point of Data Execution Prevention (DEP) meant to stop run-time modification of running code? The CLR/JAVA Runtime engines have the only *native* code that DEP has any direct control of, but they are allowed to run without question, because of some dubious assumption that code for a virtual cpu/machine can do no real damage.
Maybe I'm wrong, but I can't help thinking that code under direct control of the 'real' cpu is safer than these virtualized runtime environments.
I'm not fully versed in .NET or Java coding. Anyone care to shed more light on the subject.
modified 9-May-13 20:02pm.
|
|
|
|
|
dusty_dex wrote: The CLR/JAVA Runtime are the only executable code DEP has any direct control of
Nope not true at all. It has full control over native code too. Also, don't forget that these runtimes are written in native code.
Just as a point of interest, some CPU's have a hardware based DEP[^]
.-.
|o,o|
,| _\=/_ .-""-.
||/_/_\_\ /[] _ _\
|_/|(_)|\\ _|_o_LII|_
\._. |\_/|"` |_| ==== |_|
|_|_| ||" || ||
|-|-| ||LI o ||
|_|_| ||'----'||
/_/ \_\ /__| |__\
|
|
|
|