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

> At every place X in the following expression, introduce a boolean negation if there isn’t one (or, equivanently remove one if there is), and

I think it should read:

At every place X in the following expression, introduce a boolean negation if there isn’t one and remove one if there is, and

Maybe even better:

At every place X in the following expression, introduce a boolean negation. If you get two concecutive NOT's, they can be removed.

Next, I don't see how

  timespent <= duration
is the negation of

  duration > time_spent

?


A shift is faster than an add.


On 6502 they are both 2 cycles. On the vast majority of processors I'm aware of, "simple" alu operarations don't vary in execution time


On 8086 or ARM you can get a shift "for free" with your add, although on the 8086 you have to use the LEA instruction.


ADC #immediate is 2 cycles, as is ASL. Are you really multiplying a constant by 3 at runtime? Probably not. ADC zp is 3 cycles. Plus 2 cycles for the CLC.


The M68020 added a dedicated barrel shifter, which could execute much faster then the M68000.


Once I flew north-west at the time of sunset. I had the view of the most beautiful big red sun right at the edge a sea of snow white clouds for more than an hour.


> The vote was 136 for and 70 against.

Amazing that apparently noone just realizes that 136 is less than the double of 70.


?: "Since the word processor was irrelevant to the Shuttle, I wonder why this card wasn't removed to reduce weight."

!: "We obtained access to a Shuttle teleprinter (probably a development system that remained on the ground)"


Granted.


I once needed a special blade for my saw. They only offered a 3-pack so I ordered that, and received 3 3-packs.

I don't know, but I felt that I should report it. Fiddled around for som time on their reporting pages, but absolutely no way to report that kind of error.

Are you in my neighborhood? You can have 3 saw blades for one GG1000 ;-)


Go for what you already have. Use your supervisor to cut and twist your proposal plan to fit 5 months. I don't know where in this world you are, but where I've taught, a master's thesis is about demonstrating what you can do in the time given towards a relevant result. A proposal is a plan. Relevant mileposts should be reached, and the final goal to some extend. But details can be adjusted and cut during the process. A supervisor should help with adjusting the project plan. Up front as well as during your project.


My imagination hears the protesters yell Toxinough! Toxinough!


It is subtle. 'Radio activity' is one word, the same word, in German.


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

Search: