39 points surprisetalk 2 days ago 23 comments
ReDress 1 hour ago | parent
Will this actually update the 'last modified' date for an already existing file?
Also, there's a standard way of processing command line arguments on Linux/Unix, which is not being followed here.
lycos 1 hour ago | parent
ReDress 1 hour ago | parent
But, okay, that could make a valid excuse.
But, what you cannot excuse yourself for, is that you don't really add any functionality. In fact, you don't reproduce all the functionality let alone adding more.
danielbln 1 hour ago | parent
_ache_ 1 hour ago | parent
Major bug in the first command.
Technically, yes, it updates the last modified date, by actually emptying the file. He should have use "w+" or "a" instead of "w".
PS: I like this guy.
el_psy_congroo 51 minutes ago | parent
dolmen 40 minutes ago | parent
KingOfCoders 39 minutes ago | parent
Might be a 9-5 coder.
sevenzero 24 minutes ago | parent
ReDress 19 minutes ago | parent
I seem to be closing in the completing the task nowadays, though.
It has been 5 years so far.
jcfrei 31 minutes ago | parent
ryandetzel 14 minutes ago | parent
whatthejesus 6 minutes ago | parent
So, don’t kid yourself! You enjoy it, and if you’ve mastered the skill then naturally you can save money over time. But I’d wager you spend more in hours mastering the skill than if you were to buy a couple pieces of furniture. ;)
JdeBP 12 minutes ago | parent
What it might illustrate is that "No AI" and long-format are currently seen as ways of attracting attention.
YetAnotherNick 5 minutes ago | parent
Not sure about coding though. There could be some thing which humans will do better. Maybe humans will always be better at understanding intent of other humans as they share same biology.
assumed_throwaw 21 minutes ago | parent
Just this morning, I was wondering if it would make sense to share it on HN. And here it it on the front page. What a small world.