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

The benchmark is Ken Thompson


Be careful. I wrote an emulator for the IBM 7094 so I could run and understand Thompson's grep. Even though I wrote it in Lisp it was...painful.

Thompson uses self-modifying code, so my emulator had to handle that.

Thompson's code is incredibly clever, and back when he wrote it self-modifying code was pretty common. But by modern standards it would have been a maintenance nightmare.

https://dl.acm.org/doi/epdf/10.1145/363347.363387


What is wrong with this layout?


There's nothing wrong with it, per se. It's just that it's overused and filled with random garbage stats that no one cares about.


Like last year at a cafe in a small town somewhere in Greece.

You make it sound like indoor smoking in public places is a thing of a past.


I'm not upgrading to Tahoe my personal macbook because of the audio crackling issue that I have on my work macbook

https://discussions.apple.com/thread/256143303


Thanks for the info. I'll delay longer.


> You treat your code as a means to an end to make a product for a user.

This sounds more like a product owner not a developer


You need to understand the context. The quote in Gita was to motivate the best warrior of the time at the battlefront facing opponents who were mainly his cousins and uncles.

In that context the quote is about performing the duties you were born to do without overthinking the consequences.


the context makes it even worse. its a strange kind of tribalism that is being promoted here. "do what you are asked to without understanding the real consequences". btw war is actual zero sum usually.


War is often times even negative sum game.


Do what you are asked to ≠ Your duty.

Duty of a warrior is to fight for his country/tribe/side. Duty of a king might be to reduce suffering for his subjects.


Historically, no. It's like Tennyson: Theirs not to make reply, Theirs not to reason why, Theirs but to do and die.


If there is HTML in the list then why not JSON?


> This introduces performance issues larger than the typical ones associated with vtable lookups.

Don't know about other programming languages but with Objective-C due to IMP caching the performance is close to C++ vtable

  Name Iterations Total time (sec) Time per (ns)
  C++ virtual method call 1000000000 1.5 1.5
  IMP-cached message send 1000000000 1.6 1.6

https://mikeash.com/pyblog/friday-qa-2016-04-15-performance-...


This is so true. I switch from iPhone 5s to iPhone SE to iPhone 13 mini. After my current phone dies I don't know what phone would I get next.


C has many syntactic sugar and [] operator is one of them. -> is another popular one.


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

Search: