|
A series of "cooling off" laws that apply to executive and legislative personnel are (supposedly) in effect right now. These are not considered to be non-compete laws. The problems with them, IMHO, are the specifics of who they apply to and how long they apply; not enough people and not long enough, if you ask me. The military branch has its own set of regulations, which have just as many holes.
Be wary of strong drink. It can make you shoot at tax collectors - and miss.
Lazarus Long, "Time Enough For Love" by Robert A. Heinlein
|
|
|
|
|
AI tools can be used to ‘edit’ and ‘polish’ authors’ work, say the conference organizers, but text ‘produced entirely’ by AI is not allowed. OK for ye, but not for me
|
|
|
|
|
We just banned use of code generated by ChapGPT or Github copilot on our project.
These things are a menace in the state they are in today.
|
|
|
|
|
If a developer takes ChatGPT code, and refactors it, say changes variable / function names, and such, how will it be identified?
|
|
|
|
|
We do not have a fool proof way to achieve this. However, we are doing code reviews and we are aware of the teams coding practices, so we mostly have the idea whether the code is from Chat GPT or not. But as I said some leaks are inevitable, hence why these code generators are a menace.
|
|
|
|
|
And which AI is going to check if the text / code has been written by its supposed author or not?
M.D.V.
If something has a solution... Why do we have to worry about?. If it has no solution... For what reason do we have to worry about?
Help me to understand what I'm saying, and I'll explain it better to you
Rating helpful answers is nice, but saying thanks can be even nicer.
|
|
|
|
|
Avoiding the imperfection known as primitive obsession allows us to create high-quality, less error-prone code without much effort. For the non-cavepeople among us
|
|
|
|
|
But, it is the tracking and pursuit of wild beasts, followed by the kill, and dragging the future food back to my cave ...
... me make savage code useful stew bloody good, make fur robes keep wives warm.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
modified 6-Jan-23 3:21am.
|
|
|
|
|
I've read that if you press Ctrl-Shift-Q that you close all the windows. You might be pressing "Q" by mistake.
|
|
|
|
|
all dark, no moon ... good ... hunting.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
BillWoodruff wrote: all dark, no moon ... good ... hunting.
A religious icon wrote: I am the Light of the world; he who follows Me will not walk in the darkness, but will have the Light of life.
|
|
|
|
|
specific quotes from your-brand-of-scripture is inappropriate on every CodeProject forum for very good reasons. message reported as inappropriate.
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
Sweet,
Should we report your comments about Sanskrit and the Vedic scripture Bill?
Edit:
I'm just pointing out something I find hypocritical, if you check your post history you proclaimed your religion ages ago.
modified 6-Jan-23 4:29am.
|
|
|
|
|
You can report anything you want; anything you feel violates CodeProject's ethos.
There is a big difference between my comments on the history and linguistics of the Vedas and Sanskrit, on the Mahabharata as drama and metaphysical allegory, and a direct quote from a scripture used as a talking point. I very carefully avoided anything that showed disrespect for Hinduism the same way as I would carefully avoid showing disrespect for Christianity, Islam, etc.
The quote (in Urdu) I used from Kabir is poetry.
Glad to hear you read my posts !
«The mind is not a vessel to be filled but a fire to be kindled» Plutarch
|
|
|
|
|
|
Wrapping every primitive value in a class like that is going to dramatically increase the memory usage of the application, and potentially decrease the performance. After all, there's a reason Java has stack-allocated duplicates of certain heap-allocated classes.
The author should really be using a struct for the wrappers - and preferably a record struct .
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
In a similar vein, the ClubMember type in particular made me wish (again) that C# supported enum types with methods.
"If you don't fail at least 90 percent of the time, you're not aiming high enough."
Alan Kay.
|
|
|
|
|
Extension methods will get you close to that:
public enum ClubMember
{
NonMember,
Member,
}
public static class ClubMemberExtensions
{
public static decimal CalculateAmount(this ClubMember member, decimal productValue) => member switch
{
ClubMember.Member => productValue - 10,
_ => productValue,
};
}
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
What, no "stringly" typed data?
|
|
|
|
|
|
I thought the author’s “fixed” code was awful.
Why leave email as a string?
Boolean is the worst primitive for this, why did the author leave a boolean?
I am trying to get a law passed that all booleans should be converted enums.
If I see a class named ClubMember, I would never expect to call ClubMember.isMember(), ever.
Maybe ClubMember.getMembershipStatus().
Oof!
|
|
|
|
|
englebart wrote: I am trying to get a law passed that all booleans should be converted enums.
That's easy:
public enum Bool
{
True,
False,
FileNotFound,
} What Is Truth? - The Daily WTF[^]
"These people looked deep within my soul and assigned me a number based on the order in which I joined."
- Homer
|
|
|
|
|
Too funny. I used to visit that site, but their security was so bad that I thought I would pick up a virus from the comments.
That very meme flashed through my mind while I was posting.
|
|
|
|
|
Slack suffered a security incident over the holidays affecting some of its private GitHub code repositories. The company name also describes its security practices?
|
|
|
|
|
If I was cynical, I might have suspected this had something to do with recent layoffs at Slack/Salesforce.
|
|
|
|