News for hackers. Stuff that matters.
Re:Why MD5('240610708') is equal to MD5('QNKCDZO')? by michaelt on Wednesday April 12, 2023 @10:26AM (#35540259)
I'm not sure about comparing strings to numbers.

But I know I appreciate it when I can query my database with:

  SELECT * FROM orders WHERE delivery_day
    between '2023-04-10' and '2023-04-12'
Instead of using

  SELECT * FROM orders WHERE delivery_day 
    between PARSE_DATE('%Y-%m-%d', '2023-04-10')
    and PARSE_DATE('%Y-%m-%d', '2023-04-12')
So I can see why language designers put in some implicit conversions.
Re:Why MD5('240610708') is equal to MD5('QNKCDZO')? by jmalicki on Wednesday April 12, 2023 @04:14PM (#35546106)
The difference is that it won't turn "abcjhd" into "1970-01-01", but rather issue an error.