[-] vrek@programming.dev 5 points 1 month ago

Hmm yeah that's really weird... I can't think of a purpose for a check like that, plus even it was a valid reason throw an exception or return a result indicating failure, don't just corrupt the file

[-] vrek@programming.dev 5 points 1 month ago

One thing I wish one of the grocery list apps could do was to store recipes, then you choose which recipes you want that day/week/month whenever you go shopping, it's smart enough to know if 3 recipes need flour only put flour on once, then go through and mark ingredients you already have.

Like I can put in a recipe for penne alla vodka or fettuccine alfrado then if I select penne alla vodka it adds : Penne pasta Vodka sauce Heavy cream Mozzarella cheese Parmesan cheese Sausage

Etc to the list. Then I say actually I already have heavy cream and mark it as not needed.

[-] vrek@programming.dev 5 points 1 month ago

Why are we limited to straight lines? What about C parabolic? Or log(c base 3)?

[-] vrek@programming.dev 5 points 1 month ago

Supposedly they weren't able to terminate the call for any rrsson(at the time, almost a decade ago). I will agree it should of been escalated much faster though.

[-] vrek@programming.dev 5 points 1 month ago

Supposedly atleast at the time they were not allowed to terminate the call for any reason.

[-] vrek@programming.dev 5 points 2 months ago

Do you know the first words spoken from a native American to the pilgrims?

"Can I have a beer?"

No, I'm not joking. It was a native American named Samoset. He spoke perfect English and had crossed the Atlantic 6 times.

[-] vrek@programming.dev 5 points 2 months ago* (last edited 2 months ago)

There seems to be a popular community ich_el I think. For German memes... I don't understand a word of it but it has multiple posts a day.

I looked it up https://feddit.org/c/ich_iel

[-] vrek@programming.dev 5 points 3 months ago

You are right but I would love to see that court case. "yes your honor it said the character was copywrited at the beginning of launching the game and the full legal text was available in the options menu but if you pressed square, triangle, then square when the match was 3-2 and the opponent was at 172% stock the copywrite symbol didn't appear so I thought that instance was fair game" and the judge just responds "no"

[-] vrek@programming.dev 5 points 3 months ago

I had this happen to me. The program was only used internally but it was possibly the worst code that would compile. My personal favorite was the "login". When launching the program it accessed a local sql server. On that server was a table named "login" which you would assume had a list of all users and their passwords right?

Now that would be bad because you could launch ssms directly and just look at the table but when you did that there was 1 entry user "admin" password "admin".

But that's not all... When you look at the code these values are hard coded in. There is a linq query to check the login table for an entry with username "admin" and password "admin" and return the values in password. Now you might be thinking what the hell but here's the kicker...when it got the response back it checked len(password) => 5

Yup... Didn't check if password was correct just that the length of the password was equal to or greater than 5.

The actual username entry box? Yeah it didn't validate anything. You could just bang your hand on the keyboard and log in... Really you didn't even have to do that. You had to click or tab into the field and then click login. It didn't require you to enter anything just that the username field was active at some point.

[-] vrek@programming.dev 5 points 7 months ago

You know every time I've had any medical work done I've digitally signed my consent for them to treat me and to bill me...

Can we also wipe out all medical debt and then sue the hospitals for treating without consent?

[-] vrek@programming.dev 5 points 11 months ago

Atleast on America that is by law if publicly traded. Let's say a company discovers something that amazing, say cure for cancer and decides they are going to give it out for free for the benefit of mankind. They can be sued and will likely lose. Only real defense would be they thought the goodwill from giving away for free would earn the shareholders more money through goodwill towards the company. A smaller scale version of this would be like a farm raising animals in non-optimal conditions (for profit but nicer to the animals like free-range instead of cages). They could argue the customers will be willing to pay a premium for that.

If not publicly traded they can do whatever they want. If governmental they should have a goal or mission statement that states what their intent is(usually it's not profit) but if it's publically traded legally their only motive is profit to the shareholders.

[-] vrek@programming.dev 5 points 2 years ago

You want to make real money? Make with porn videos

If you are already half way there you can't just wait 10 minutes or you have to restart. You need the next video quickly.

view more: ‹ prev next ›

vrek

0 post score
0 comment score
joined 2 years ago