Hacker Newsnew | past | comments | ask | show | jobs | submit | SFJulie2's commentslogin

And Part 2/2:

file.seek is your friend. You should not use any dynamic allocation to make it more robust (yes preallocating fixed memory size with "char circular_ring[N * MAX_SIZE]") Where N and MAX_SIZE are fixed.

Well. It requires a complete rewrite for this code to not create a risk for your users. Your code is like full of hidden landmine by lack of design.

And you know what?

It used to be standard knowledge for introduction to CS for scientific. You know why? Because no users of computers like to lose their precious data made during a very long measurement spilling huge amount of data and costing a lot of resources. (like gold, helium, molybden, electricity, time, wages of qualified operators....)

It seems like coders do not care of their users, like a builder thinking it is reasonable to build 50 store buildings on quicksands because people only judges builder by the look of their creation.


Please don't do this. Instead, vouch for a dead comment if you think it shouldn't be dead.

We banned SFjulie1: https://news.ycombinator.com/item?id=11141174. If you violate the rules of this community that badly, you forfeit the right to comment here.

We detached this comment from https://news.ycombinator.com/item?id=11141103 and marked it off-topic.


Roger that Dang.

How do I vouch for a dead comment?


Click on the comment's timestamp to go to its page, then click 'vouch'. But note that you need more than 30 karma before the 'vouch' and 'flag' links appear.


Hey Julie,

Do you live in a state of perpetual nausea? Because there is so much code out there like this...I fear it could overwhelm your life to worry about it.

I think the best we can do is just fix the stuff we want to use and ignore the rest..


Not Julie. It is a pun in french. Julie is like calling me Hanni when my real name is more like Hanniballs. And I still have my balls. So keep it julie1.

But I guess you may lack of context to get it right, as for the rest of your comment. ;)


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: