Jump to content

  • Log In with Google      Sign In   
  • Create Account

Bacterius

Member Since 28 Feb 2011
Offline Last Active Today, 07:06 AM

Posts I've Made

In Topic: What theory explains this?

Yesterday, 05:44 AM


Even of the time length there, it is a fact (is?) that there is no observable acceleration before the object travels its speed? Man, how big force would that be, and it seems to not be emited by matter adjusting during collapse, too few energy to overcame donated energy of contact, right?

 

There is an acceleration, it's just extremely fast because the objects only touch for a very small amount of time and a large kinetic energy transfer is carried out over that time interval. The acceleration can be huge (like on the order of several thousand g's) but it isn't infinite.


In Topic: What theory explains this?

Yesterday, 04:01 AM


Force in Newton theory is explained over time, So what exactly acts in those phenomenas, and do they conflict with general mechanics or not at all?

 

Are you looking for https://en.wikipedia.org/wiki/Impulse_%28physics%29 ?


In Topic: Clinical studies on overlooking stupid bugs

10 February 2016 - 10:25 PM

It's not really specific to code or programmers. Have you never re-read a sentence you wrote several times without spotting a repeated article like "the the" or a missing word? Then you get someone else to read it and they spot it instantly, because they didn't write it so they don't "optimize away" the act of actually reading the sentence like you do because you already (believe you) know what's there and they don't.

 

One thing that I find helps is to add a generous amount of whitespace in your expressions, keep your lines short (not necessarily in terms of characters but in terms of information content) and not just cram everything into a tiny line full of symbols. For the rest, let the compiler check the syntax for you, and make sure that it can catch accessing undefined variables at compile-time or at least runtime with some kind of error. That should make sure that the syntax you write is approximately the syntax you had in mind.

 

I don't know about others but it's not rare for me to start coding something up, try and compile it 20-30 minutes later and spend a few seconds fixing a dozen little syntax errors or typos that I didn't catch (or didn't bother to) in my new code.


In Topic: Note to self

10 February 2016 - 12:58 AM

Fortunately we had good QA at a previous job, but once I was using SHDeleteFile and apparently instead of deleting a specific directory, I was deleting EVERY directory!

 

DELETE ALL THE DIRECTORIES!!!!

 

QA noticed it during install once Windows started throwing up errors.  Apparently not all critical files are locked at all times, but when it needs them and they aren't there then it's not a good thing.  XD

 

Good thing QA "noticed" it laugh.png


In Topic: Footware at work

06 February 2016 - 01:52 AM

If company policy permits it, I personally don't have a problem with people walking around in sandals or things like that. What really bothers me is when coworkers spend most of the day in their shoes and then randomly decide to take them off and immediately fill the surrounding area with the nasty smell of sweating feet. Maybe they can't smell it... but we sure can.


PARTNERS