HNHacker News
TopNewBestAskShowJobs

ajphdiv

129 karma · joined December 4, 2019

submissionscomments
ajphdiv··on Mozilla’s DNS over HTTPs
Seems to be a trend lately. Google recently announced they will start blocking downloads from http websites. Doesn't sound like a bad idea -- but isn't this more a discussion for IETF as well?
ajphdiv··on Should you self-host Google Fonts?
True. Saw this issue first hand on a company internal network.
ajphdiv··on Setting up a Raspberry Pi 4 home server
A big performance increase by putting the OS on a SSD. The read/write speed is much better than using the SD card. It takes a little tweaking to get the SSD to boot on the rpi 4, but can be done. Basically the SD card gets used a bootloader.

howto:

https://jamesachambers.com/raspberry-pi-4-usb-boot-config-gu...

ajphdiv··on An SSH server that knows who you are
Aside from IdentitiesOnly setting. I assume storing keys outside of ~/.ssh and calling each key via config file or ssh -i would render this useless. Perhaps even a simple bash function to rotate the needed key in/out of .ssh.
ajphdiv··on Apple store workers should be paid for time waiting to be searched, court rules
His fault for ordering it to the store -- and expecting it to be no problem to pick it up there?
ajphdiv··on Nextspace – NeXTSTEP-like desktop environment for Linux
Is the panel on the top left a right click menu or is that always there?
ajphdiv··on Let's Encrypt: an automated certificate authority to encrypt the entire web
Wow. Why did I not think of this. Thanks for sharing.
ajphdiv··on Show HN: Private cloud shell history. Open source server for bashhub
I always find my history not complete when using tmux. I started using these functions in my profile to collect everything. I don't remember the source of the functions.

  log_bash_persistent_history()
  {
      [[
          $(history 1) =~ ^\ *[0-9]+\ +([^\ ]+\ [^\ ]+)\ +(.*)$
      ]]
      local date_part="${BASH_REMATCH[1]}"
      local command_part="${BASH_REMATCH[2]}"
      if [ "$command_part" != "$PERSISTENT_HISTORY_LAST" ]
      then
          echo $date_part "|" "$command_part" >> ~/.persistent_history
          export PERSISTENT_HISTORY_LAST="$command_part"
      fi
  }

  run_on_prompt_command()
  {
      log_bash_persistent_history
  }


  alias phgrep='cat ~/.persistent_history|grep --color'
I like the idea of a hub, as I do a lot of work inside docker containers and vms -- so this could be tailored to help me collect all my history.
ajphdiv··on Disk Prices on Amazon
I think I hear /r/DataHoarder/ calling you.
ajphdiv··on Disk Prices on Amazon
When my son was small I would put him to bed every night with a book and then sit there in the dark and wait for him to fall asleep. I had a big pillow thing that I would sit on next to the crib (it was big enough that it had back support). Well, that hour of sitting there with my laptop was always one of my most productive hours of the day. Sometimes I would just sit there even after he fell asleep and continue to work.
ajphdiv··on Building personal search infrastructure for your knowledge and code
I self host a confluence server. All my content is available to me offline. Might be a bit overkill, but I have knowledge bases for all my work. If there is a web page I come across I can just copy/paste the content into a new post. Everything is searchable. It really is great. They offer a starter license, which is $10 per year:

https://www.atlassian.com/licensing/starter

ajphdiv··on 23andMe lays off 100 people as DNA test sales decline
There are very strict laws on how that DNA can be used. Only to identify remains.

You can also request it be destroyed:

https://www.health.mil/Military-Health-Topics/Research-and-I...

ajphdiv··on Reverse engineering course
There is also a GUI called Cutter that is powerd by radare2.

https://cutter.re

ajphdiv··on Everything I Know About SSDs
For the end user it is difficult. Files can be recovered as long garbage collection hasnt happened yet. SSDs require the space to be empty before new data can be written to it. So often times the deleted space is empty. If files are stored in the recycle bin or trash those can still be easily recovered.

It was once explained to me that writing to a HDD is like painting. Where new data can just be painted over the top of the old discarded data. While writing to an SSD is like writing on a chalk board where the old data has to be removed before you can write over it.

ajphdiv··on How to stay private when using Android
I'm thinking of trying to dump my smartphone for a flip phone. It's much easier to control tracking/privacy from a laptop. Maybe I don't need the Internet everywhere I go?
ajphdiv··on Encoding your WiFi access point password into a QR code
I setup a raspberry pi with a small display showing the weather forecast, next 5 calendar events and a QR code for the WIFI using this:

https://github.com/TeraTech/MMM-WiFiPassword

weather:

https://github.com/jclarke0000/MMM-DarkSkyForecast

Sits on the kitchen counter. Guest password is rotated and the display is auto-updated.

The raspberrypi is running MagicMirror, but I just have it outputting to a small display (7"). Looks great.

I use a Ubiquiti wifi AP and it has an API to change the guest password.

ajphdiv··on Switching from Chrome to Firefox
Sync can also be self hosted.

https://github.com/mozilla-services/syncserver

ajphdiv··on WireGuard is in net-next
Not OP. I have a wireguard server setup on my home network. Client installed on my mobile devices. The always on UDP connection seems to use less battery than my previous setup of a TCP VPN. I use this setup to allow my mobile devices to use my home recursive DNS server, which blocks tons of domains for tracking, ads, etc.
← PreviousPage 2 of 2