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

I think it’s partly because they are psychopaths (once had a manager that got promoted on my hard work while holding me down) and partly deserving of a little credit for not killing every alternate idea that ran contrary to their own.

Yeah, I don’t like either…


I’d be shocked if ANY doctor I’ve seen was moderately up to date with current research.

Maybe some in research hospitals stay informed, but I suspect none in private practice…


Yes. Vast majority of software engineers don’t stay up to date with the latest tools or frameworks either. They often just keep using whatever they learned and occasionally look for a new tool if they get stuck.

I don’t see why doctors have the energy to keep up with the latest research. This is why I think something like ChatGPT and doctor might be the best combo.


How does one actually add with this?

It's basically using the "-" embedded in the definition of the eml operator.

Table 4 shows the "size" of the operators when fully expanded to "eml" applications, which is quite large for +, -, ×, and /.

Here's one approach which agrees with the minimum sizes they present:

        eml(x, y             ) = exp(x) − ln(y) # 1 + x + y
        eml(x, 1             ) = exp(x)         # 2 + x
        eml(1, y             ) = e - ln(y)      # 2 + y
        eml(1, exp(e - ln(y))) = ln(y)          # 6 + y; construction from eq (5)
                         ln(1) = 0              # 7
After you have ln and exp, you can invert their applications in the eml function

              eml(ln x, exp y) = x - y          # 9 + x + y
Using a subtraction-of-subtraction to get addition leads to the cost of "27" in Table 4; I'm not sure what formula leads to 19 but I'm guessing it avoids the expensive construction of 0 by using something simpler that cancels:

                   x - (0 - y) = x + y          # 25 + {x} + {y}

Well, once you've derived unary exp and ln you can get subtraction, which then gets you unary negation and you have addition.

And then by using the fact that the exponential turns addition into multiplication, you get multiplication (and subtraction gives division).

Don't know adding, but multiplication has diagram on the last page of the PDF.

xy = eml(eml(1, eml(eml(eml(eml(1, eml(eml(1, eml(1, x)), 1)), eml(1, eml(eml(1, eml(y, 1)), 1))), 1), 1)), 1)

From Table 4, I think addition is slightly more complicated?


Thanks for posting that. You had a transcribing typo which was corrected in the ECMAScript below. Here's the calculation for 5 x 7:

    const eml = (x,y) => Math.exp(x) - Math.log(y);
    const mul = (x,y) => eml(eml(1,eml(eml(eml(1,eml(eml(1,eml(1,x)),1)),eml(1,eml(eml(1,eml(y,1)),1))),1)),1);
    console.log(mul(5,7));
> 35.00000000000001

For larger or negative inputs you get a NaN because ECMAScript has limited precision and doesn't handle imaginary numbers.


> For larger or negative inputs you get a NaN because ECMAScript has limited precision and doesn't handle imaginary numbers.

This also shows why EML is not practical for computation.


x+y = ln(exp(x) * exp(y))

exp(a) = eml(a, 1) ln(a)=eml(1,eml(eml(1,a),1))

Plugging those in is an excercise to the reader


You use multiplication in the first line, which you have not expressed through eml yet.

Because of how exp and log turn addition into multiplication and vice versa, once you have the one, you get the other easily.


might need to turn the paper sideways

I’m shocked that curl is fancy enough to start reading and outputting the HTTP response before the request has even been fully sent!

I wasn’t expecting that a “simple” command line application supports this kind of thing — the HTTP spec is crazy enough that I can’t say I’m surprised it’s not forbidden.


Did it used to be different?

A few years ago I thought I had used the ROCm drivers/libraries with hashcat on a RX580

Now it’s obsolete ?


I think every CEO should have the experience of posting a technical question to their company’s forums.

Intel makes Broadcom start to look good.


Have always felt stock buy-backs are equally terrible.

“We have all this money but we have no long term vision for how to grow the company. We’ll just keep doing what we’ve been doing prop up our share price instead”.


That's better than companies that have poor visions for growing the company where the money gets spent on projects that and don't generate an ROI for investors.

On a broader societal basis, it's often better for companies to stay in their lane, return profits to shareholders, and let shareholders invest in new companies with more growth potential.


It is a tax efficient way to return profits to share holders

I think there is some merit to the idea but I definitely avoid compiled tools and prefer to do it myself.

I like when I search for a local app for it to NOT do a Bing search. I’m just weird.

But I’d really like to know how to keep it debloated. How does one keep Windows Home Edition from wanting to install OneDrive, Teams, XBox, CoPilot, etc?

Sure they can be removed, but they’re just like “the cat came back the very next day…” song.


Reminds me of the part in National Lampoon’s Vegas Vacation when Clark Griswold goes to the 3rd rate casino and starts betting on weird things.

An emulated x86 atomic instruction wouldn’t need to use atomic instructions on ARM.

Why not?

They don’t have to match.

As an example, what about a divide instruction. A machine without an FPU can emulate a machine that has one. It will legitimately have to run hundreds/thousands of instructions to emulate a single divide instruction, it will certainly take longer.

Thats OK, just means the emulation is slower doing that than something like add that the host has a native instruction for. In ‘emulator time’ you still only ran one instruction. That world is still consistent.


? That's not how Windows on ARM emulation works. It uses dynamic JIT translation from x86 to ARM. When the compiler sees, e.g., lock add [mem], reg presumably it'll emit a ldadd, but that will have different semantics if the operand is misaligned.

You mean the locking would be done in software?

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

Search: