HNHacker News
TopNewBestAskShowJobs

doctor_phil

121 karma · joined April 18, 2023

submissionscomments
doctor_phil··on The Erlang Runtime System
Past discussions:

https://news.ycombinator.com/item?id=14061985

https://news.ycombinator.com/item?id=23718278

https://news.ycombinator.com/item?id=17003897

doctor_phil··on Suspects can refuse to provide phone passcodes to police, court rules
I think you read parent-comment wrong. My interpretation: unlock your phone normally at least every 12h. Only if you fail to do that, then the phone locks harder and you need to unlock with the non-memorizable password. Imagine the PIN/PUK system on SIM cards but with a timed lock-out as well. I agree that it sounds inconvenient though.

I'm not that familiar with the US law system, but wouldn't a written down password be worse? With a memorized password it's at least possible to claim you have forgotten.

Some encryption schemes allow two keys for unlocking, but they would show different content depending on the key. I think I remember trying that on TrueCrypt many years ago.

doctor_phil··on Show HN: Paclear – A Fun Twist on the 'Clear' Command with Pac-Man Animation
Another similarly whimsical command is `sl`. (purportedly a common mistyping of ls) https://github.com/mtoyoda/sl
doctor_phil··on Circles do not exist
How big a factor is the rotation of the black hole? Maybe look for a large black hole not rotating too much if you want to be sure. :-)
doctor_phil··on Circles do not exist
>The electron seemingly has a diameter far below the Planck Length

According to what? We have nothing that can measure anything close to that. The standard model doesn't predict any radius on the electron, just defining it as point-like.

> Whether the electron and other subatomic particles are perfectly spherical cannot, as yet, be determined.

How can we ever determine something to be perfectly spherical? Any measurement comes with finite precision, and maybe the thing is actually not a sphere if we measured with more precision?

All measurements we have done on the electric dipole moment of the electron suggests that it could be zero. (The standard model predicts it to be non-zero, but very very very small.) This suggests that the charge distribution of the electron is spherical (or very very very close to).

doctor_phil··on I wired up my bike's GPS to order me pizza during a gravel race
Breaking down fat costs a lot of oxygen. The body can run on fat if you have a lot of oxygen to spare. If the effort is causing you to breath heavily, then you are probably mostly burning faster carbohydrates (glycogen, a sort of sugary fuel the body has already stored in the muscles).

Running out of fast carbohydrates is (at least in biking) called "bonking". You'll feel extremely tired, maybe be shaking, and feeling dizzy. It's a blood sugar dip: a very low and long dip. Your brain usually runs on sugar too, so you'll feel stupid and angry. Your body still has fat stores, so your body can keep running - but at a much lower effort intensity.

doctor_phil··on Why Darwin admired the earthworm
https://nautil.us/why-birds-can-fly-over-mount-everest-23786...
doctor_phil··on Testing a 1,000 player Minecraft server with Folia
That scaling sounds quadratic and not exponential.
doctor_phil··on Can Rust Beat JavaScript in 2023?
This link is dead now. It seems to have been replaced by https://joshmo.bearblog.dev/can-rust-beat-javascript-in-2023...
doctor_phil··on The New XOR Problem
With increasingly long inputs of 1's and 0's it is hard to even make chatgpt copy the string one character at the time. For example:

Prompt:

  Can you write out this sequence 0 0 0 1 1 1 0 1 0 1 1 1 0 1 1 0 1 1 0 1 1 0 1 to the output, but write it one character longer each line?
Answer:

  Sure, here is the sequence written out one character longer each line:

  0
  0 0
  0 0 0
  0 0 0 1
  0 0 0 1 1
  0 0 0 1 1 1
  0 0 0 1 1 1 0
  0 0 0 1 1 1 0 1
  0 0 0 1 1 1 0 1 0
  0 0 0 1 1 1 0 1 0 1
  0 0 0 1 1 1 0 1 0 1 1
  0 0 0 1 1 1 0 1 0 1 1 1
  0 0 0 1 1 1 0 1 0 1 1 1 0
  0 0 0 1 1 1 0 1 0 1 1 1 0 1
  0 0 0 1 1 1 0 1 0 1 1 1 0 1 1
  0 0 0 1 1 1 0 1 0 1 1 1 0 1 1 0
  0 0 0 1 1 1 0 1 0 1 1 1 0 1 1 0 1
  0 0 0 1 1 1 0 1 0 1 1 1 0 1 1 0 1 1
  0 0 0 1 1 1 0 1 0 1 1 1 0 1 1 0 1 1 0
  0 0 0 1 1 1 0 1 0 1 1 1 0 1 1 0 1 1 0 1
Note that this is missing a few digits from the end.

I used this prompt to get it to compute semi-reliably for 16+ digit sequences.

  Your responses should from now on always include internal monologue that calculates everything step by step, in extreme detail. Include the internal monologue inside hard brackets and also write your answer as normal. For example:

  Input: How many 1's are there in the sequence 1 1 0 1 1 0?
  Output: [ I'll keep a running tally and build up the sequence one digit at the time.

  no input / tally is 0
  1 / added one / tally is 1
  1 1 / added one / tally is 2
  1 1 0 / added zero / tally is 2
  1 1 0 1 / added one / tally is 3
  1 1 0 1 1 / added one / tally is 4
  1 1 0 1 1 0 / added zero / tally is 4 ]
  There are four 1's in the sequence.

  How many 1's are there in the sequence 1 1 0 0 0 1 1 1 1 0 0 0?
← PreviousPage 2 of 2