Hacker News new | past | comments | ask | show | jobs | submit | stuartmalcolm's comments login

> "both sides"

This has been the BBC response to criticism of its news reporting for a long time now.

However there are very few debates which have only two points of view, and the very act of reducing every issue to a "both sides" argument is a real problem for the BBC (well, for me anyway!)


Indeed, the fact that so much of British politics in recent years has be reduced to a binary proposition is probably a red flag.


Ah yes - the good old days when you could finger people that you didn't know:)

https://en.wikipedia.org/wiki/Finger_protocol


> assume ah=0; assume bx=0

Hmm. So the second time this program is run, it will fail?


No, AFAIK MS-DOS always initialises it to zero before starting the program. I'm trying to find a better reference, but I think this[0] effectively explains what state the registers are in on entry to your program.

Edit: I take that back. According to [1]:

  .COM-format executables begin running with the following register values:
  AL = 00h if first FCB has valid drive letter, FFh if not
  AH = 00h if second FCB has valid drive letter, FFh if not

[0] https://thestarman.pcministry.com/asm/debug/debug.htm#INIT

[1] http://www.delorie.com/djgpp/doc/rbinter/id/51/29.html


The value of BX is however strictly undefined, but practically always 0. Potentially some DOS will load this register with a different value, but probably no version of MS-DOS.


But why not explicitly set the register to 1 rather than assume its 0 and increment it by 1?


On x86, some instructions are longer than others. Incrementing is a single byte. Setting the value 1 if you don’t assume anything is going to be 2 bytes (al, ah, bl, etc.) or 4 bytes for (ax, bx, etc.)

This online x86/x64 assembler is great: https://defuse.ca/online-x86-assembler.htm


Saves one byte, I assume. Register targets are typically encoded in the opcode while direct values follow the opcode byte.


Probably because (IIRC) mov is 2 bytes and inc is only 1 byte and they're optimizing for minimum size.


Am I the only one that is noticing a lot of BBC articles reaching HN frontpage that have nothing to do with tech?


Paul Graham says it's for "anything that gratifies one's intellectual curiosity."

https://news.ycombinator.com/newsguidelines.html


Also "If they'd cover it on TV news, it's probably off-topic."


Indeed, consider this submission history for example

https://news.ycombinator.com/submitted?id=MiriamWeiner

As noted, it is not against the guidelines though. Personally, I just flag them.


HN is for more than tech.


It goes in cycles. If there's a good article from a new or irregular (for HN) site, you'll see a lot more articles from thast site show up on the frontpage.


It's a business article. HN is also about commerce.


Also no Agree on our tracking to read the article on BBC News, this popups makes me most of the time not read the article.


..only in fast mode iirc


Interesting article. I had not realised that Zork Implementation Language (ZIL) was Lisp!


Zork was implemented in a dialect of LISP called "MDL" aka "MIT Design Language" aka "Muddle" [1], which ZIL was based on.

Here's the original MDL source code, that people should study in school, which reads like an epic poem about heroic adventures such as Beowulf! [2]

I'd love for some academic egghead literary critic type to deconstruct [3] the Zork MDL source code, like Chaim Gingold deconstructed SimCity for their PhD thesis. [4]

[1] https://en.wikipedia.org/wiki/MDL_(programming_language)

[2] https://github.com/itafroma/zork-mdl

[3] http://www.fudco.com/chip/deconstr.html

[4] https://pqdtopen.proquest.com/doc/1806122688.html?FMT=ABS

http://pqdtopen.proquest.com/doc/1806122688.html?FMT=AI

https://docs.google.com/document/d/1DNAvqvKsuLGih8dWz9feEjea...


When people talk about electric cars.. this is what I picture.. ..Where's my hover-board dude?


Wow! Excellent. Thanks


The best question that I was asked by a 50-something when I was a 20-something was about my team:

"Do you want to be bailing out a sinking boat with them for the next 10 years?"

Now that I am nearly a 50-something myself, I still think its the most important question to ask!


> "..this is one of those occasions where we should be thankful we've moved forward."

Have we _really_ moved forward?

In 20 years time, will today's parallax-scrolling, advert-laden, click-bait sites look any less ridiculous?

Rotating skulls have not gone away..they have just changed appearance!


Oh yes, the 3MB click bait news article with practically zero content. To think you used to be able to fit an encyclopaedia on a floppy disk!


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

Search: