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

With latest OS update - Apple watch series 7 decreased battery life, Siri started acting weird (sometimes I have to keep pressing crown till I finish the command, sometimes not). It stopped showing battery percentage while charging long back.

Apple is not an environment friendly company.


Imagine people in 1890s or so, hearing about this almost instant transfer of messages, news to any part of the world - would be nothing short of magical modern technology.


If they had a positive outlook on technological development, yea. But that's cultural and perhaps didn't get into full swing until the mid 1900s and has now waned. Look at today how many pessimists hate LLMs despite them being even more magical modern technology.


?? The system was completed in 1902. There had already been transatlantic telegraph cables (and I assume others) for many decades.


> though Android phones can

Interesting, as someone who has always used iPhones, wouldn't mind getting an Android phone for this.

Is there some app?


No it's provided as part of the Android OS. Very simple and intuitive to use and has been for the past 10 years since I started using it. The only thing that was annoying initially was that you couldn't pass through the WiFi that your phone is connected to but I think that was corrected in later versions of Android. For a time I was using one of my older Pixel phones as a WiFi extender to improve signal in my home's basement. Worked like a charm. I'm honestly surprised this isn't available on iOS.


> the basic human right of being allowed to return arrays from functions

While working in C, can’t count number of times I wanted to return an array


Which machine? Defibrillator or EKG?


GP likely means defibrillator. EKG along won't save life and it requires training to read EKG. An AED has a built-in smart EKG that can identify shockable fibrillation. There is also automatic CPR machine that can do chest compression. However manual CPR is still light years better than no CPR.


There’s similar app for Mac OS, Focus Bar https://apps.apple.com/us/app/focusbar/id443439127?mt=12


Does DNS blocking work with Apps (e.g. YouTube android) using Certificate pinning?


Certificate pinning prevents MITM. It doesn't prevent blocking.

What could prevent blocking is if the device uses DoH for DNS.


Not much familiar with Elixir OTP, but isn’t the approach OP took similar to Let It Crash philosophy of OTP?


Not really, you wouldn't normally kill or restart processes randomly in an OTP system. "Let it crash" is more about separating error handling from business logic.


Off topic, any tool to deduplicate files across different external Hard disks?

Over the years I made multiple copies of my laptop HDD to different external HDDs, ended up with lots of duplicate copies of files.


How would you want the duplicates resolved? Just reported in some interface or would you want the duplicates deleted off some machines automatically?

There are a few different ways you could solve it but it depends on what final outcome you need.


Just reporting in some plain text format so I can manually delete the duplicates, or create some script to delete.

I can't have like 10 external HDDs attached at the same time, so the tool needs to dump details (hashes?) somewhere on Mac HDD, and compare against those to find the duplicates.


Here you go:

    cd /path/to/drive
    find . -type f -exec sha256sum {} + | sed -E 's/^([^ ]+) \./\1,/' >> ~/all_hashes.txt
Run that for each drive, then when you're done run:

    sort ~/all_hashes.txt > ~/sorted_hashes.txt
    awk -F, 'NR==1{print;next} {print $0 | "sort | uniq -w64 -D"}' ~/sorted_hashes.txt > ~/non_unique_hashes.txt
The output in ~/non_unique_hashes.txt will contain only the non-unique hashes that appear on more than one path.


dupeGuru works pretty well.


I play different wav files when compile fails or succeeds, so I don’t need to switch to terminal from the editor. This in addition to Anybar(1) red/green icons.

1. https://github.com/tonsky/AnyBar


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

Search: