HNHacker News
TopNewBestAskShowJobs

paxswill

531 karma · joined July 13, 2010

<username>@<username>.com
submissionscomments
paxswill··on Apple, Google ban location tracking in apps using their contact-tracing system
Say Alice tests positive.

Contact tracing: Alice is able to say, “I was in contact with Bill and Carol.” Then authorities can talk to Bill and Carol, and have them trigger their phones to see who they’ve been near. But because that’s slow, most plans would upload the lists of who’s been near who to a central server. Then the authorities can do a simple query to see who’s been near who.

Exposure notification: Alice enters a code that she got with her positive test result in to the app. The app has been continually broadcasting rotating, random identifiers which it then uploads to the central service. The code she entered verifies to the central service that she has a legitimate positive result. Bob and Carol’s phones periodically check with the central server for the list of positive IDs. Their phones stored one of the IDs from Alice’s phone when they were near each other earlier. Once they get the latest list of infected IDs, their phones will alert them that they have been exposed and should be tested.

In CT, the central service has all the data, and you can trace contacts without the knowledge of the users. In EN, the service has a list of infected people, and everyone needs to check that list periodically.

Pretty sure there’s some subtlety with the IDs being a cryptographic sequence or something so there isn’t a gigantic list of IDs everybody is constantly pulling down, but this is the gist of it.

ETA: The FAQ from Apple+Google is a pretty quick rundown of where exactly each part of the data is stored and when it leaves your device. https://blog.google/documents/73/Exposure_Notification_-_FAQ...

paxswill··on New 13-inch MacBook Pro
This brought back memories of using my first computer, a Mac IIci my dad gave to me and my brother. We had the mouse set up in front of it in a way that it was way pretty easy to hit the reset and debugger buttons, which seemed to happen more often in the middle of a spited game for some reason...
paxswill··on Bad times in corporate wireless networks
Commenting from the perspective of iOS and its configuration profiles, you can configure them to match based on an HTTP connection (among other things). I haven't tested it (yet, I think I know what I'm playing with tomorrow), but if the URL is one that would require a TLS connection I would hope that iOS is checking that certificate. If it is and the domain of the URL is one you control that could be a way to implement the check (assuming that URL is also only available on networks you trust).
paxswill··on Bad times in corporate wireless networks
Having multiple access points with different BSSIDs (sibling comment explains those) but the same SSID and credentials is how network roaaming works. As a client's signal strength goes down (and also periodically) it will scan for other APs. If one of those APs (with the same SSID and credentials) has a better signal, the client will usually switch to it to maintain good connectivity. For larger corporate networks it's fairly common to have multiple APs for one SSID to have WiFi connectivity over a larger area, but it's becoming common even in home environments with the two APs being 2.4GHz and 5GHz.
paxswill··on Cooperative Corporation of Dot-Org Registrants
His personal blog is at jwz.org.
paxswill··on Hardware Microphone Disconnect in Mac and iPad
My understanding is that the chip is a proxy for when they started including it in the design. Similar to how some older macOS/OS X releases had requirements like, "faster than 867MHz", or "newer than 2012" instead of, "GPU must support Quartz Extreme" or "CPU must support XYZ instructions".
paxswill··on I think Catalina 10.15.4 broke SSH
Apple includes a customized version of OpenSSH. From what I recall from the last time I looked at it, the changes were mostly integrating the key retrieval mechanisms with the rest of macOS. For example, Apple's ssh-add can store key passphrase in Keychain with the -K option, and then later access those passphrase with the -A flag.
paxswill··on I think Catalina 10.15.4 broke SSH
Looks like that's for macOS 10.15.0 as version.h for that OpenSSH release is for 7.9p1 (macOS 10.15.4 has OpenSSH 8.1p1).
paxswill··on Apple releases new Covid-19 app and website based on CDC guidance
Even though the watches have the technical ability to measure spO2 right now, I’m not sure that’s even recorded anywhere. On the bright side there are references to it in iOS 14, so it might be coming soon.
paxswill··on Sanoid – Replication and Backups with ZFS
I love using Sanoid+Syncoid for keeping my laptop (with Xubuntu on ZFS) backed up to my NAS (running FreeNAS). In addition to the periodic snapshots Sanoid manages, I also have a small script (shameless plug [0]) that hooks into APT to take snapshots right before upgrades occur. It's already saved me decent chunk of time that would've been spent rebuilding from a botched upgrade.

0: https://github.com/paxswill/zfs-apt-snapshot

paxswill··on How we sort of automate updating system packages across our Ubuntu machines
Just thinking of another way to do this with (hopefully) less human interaction. A local apt repository (Using debmirror with some scripts to generate a list of allowed packages), and set most machines to use that repository. Then set up unattended-upgrades with some extra exclusions (like the kernel upgrades mentioned in the post). A subset of machines with some extra monitoring could be used as canaries, by pointing them at the standard repositories. For monitoring, maybe a dashboard that polls the machines for all installed packages and compares that version to those in the local mirror and the standard mirror?
paxswill··on Intel x86 Root of Trust: Loss of Trust
I'm curious if Apple's work on hardening their secure boot process on x86 affects this at all? For this unaware, this [0] video covers it over about seven minutes. Basically they claim to be enabling the IOMMU with a basic deny everything policy so that when the changeover to executing from RAM occurs and PCIe devices are brought up the IOMMU is able to deny possible malicious access to the firmware image.

It sounds from the end of the article that there are separate DMA/IOMMU processes for the CSME, but I'm not familiar enough with stuff this far down to know for certain.

https://youtu.be/3byNNUReyvE?t=124

paxswill··on Little known features of iTerm2
Would having them print directly in the shell prompt work? For bash, I combine PS0 support (in bash >=4.4) and PROMPT_COMMAND to do this.

My prompt command: https://github.com/paxswill/dotfiles/blob/c4c6d50123fc2535e2...

And PS0: https://github.com/paxswill/dotfiles/blob/c4c6d50123fc2535e2...

Basically the prompt command writes the current time stamp on the right edge of the window whenever the prompt is printed. Then PS0 overwrites that time stamp right before a command is executed.

If you want the time stamp on the left you can skip the prompt command and tput usage by using the \t escape code in PS1, but PS0 will need to be modified for the new location while still using tput.

paxswill··on Varoufakis to Publish Notorious Eurogroup Recordings from 2015 Meetings
Actually curious on this, my knowledge of financial theory is sorely lacking. To my understanding, states can (and do) issue debt through municipal bonds. Is this one of those “exceptions and loopholes”? My understanding of the Puerto Rican debt crisis is that their bonds were made more attractive because income from their bonds is tax exempt by federal law from most US income taxes. By (artificially) increasing the attractiveness of those bonds PR was able to borrow more money than they would otherwise.
paxswill··on Fax on the beach: The audacious, visionary, calamitous iPad of the 90s
There was IrDA (infrared based communication) that could be used for serial connections to other Newtons, computers printers and cell phones. It was slow though, so the better step up was an actual serial connection to either a modem or a cell phone (acting as a modem).

Later versions of the OS (2.1 for sure, and I think 2.0 could run a few specific Ethernet cards) had Ethernet (10Base-T, and technically 10Base2 I think) and Wifi (802.11b only) drivers written for them.

paxswill··on Dangerous domain corp.com goes up for sale
In the case of people using .test as a TLD we should be safe(r); .test is a reserved TLD along with .example, .invalid, .localhost and .local (the last being reserved in the long proposed mDNS RFC).
paxswill··on Behind Amazon’s HQ2 fiasco
Most of the incentives are tied to specific goals; the bulk of the money is tied to specific numbers of jobs being added above a certain pay level (I think it was 25k jobs with an average salary over $100k/year, but haven’t gone back to find the article). Other incentives are contingent on revenues from a specific tax (hotel rooms I think) going up. The other big incentive isn’t Amazon exclusive: building a new campus for Virginia Tech nearby and increased funding for STEM education within the state.
paxswill··on Epic Tells Customers It Will Stop Google Cloud Integrations
I’ve recently experienced two hospitals’ EMR systems (one using Epic, the other Cerner) from the patient’s perspective. Integrating/accessing my data from external systems (in my case Apple Health) is roughly equivalent–the important things are (mostly) there like test results, procedures, medications, etc; they just do some things differently that are annoying:

* The Cerner hospital will duplicate medications for a single visit. It also classifies a bunch of vital signs as lab test results, so things like blood pressure don’t get merged in with other sources of data.

* The Epic system seems to use more recent/complex FHIR structures, so occasionally there’ll be more info in the raw data (this is more a knock on Apple Health though).

The Epic system has a big advantage with MyChart though. It’s their app and website for accessing your records at various hospitals. Through the app you can get push notifications of test results and schedule procedures. The latter was nice as I’d get roughly 15-30 minutes of advance notice before having a procedure done. The discharge instructions being made available in the app is also very helpful. Finally, being able to browse the raw clinical notes through the website, and request a dump of all of my data is appreciated.

paxswill··on Open Source Is Insufficient to Solve Trust Problems in Hardware [video]
Previous discussion from bunnie's blog post on this talk: https://news.ycombinator.com/item?id=21891056
paxswill··on Croydon Shut Down
One of the things I've really liked about my local commuter rail (Virginia Railway Express [0]) is the level of detail and communication they have with the community/riders. Their RSS feed typically has a post if there's any delay over 10 minutes explaining the delay and how long it is expected to be. They'll also post when the GPS tracking for a train isn't working but is still on schedule. The after-incident reports are also really nice; this one [1] resulted in delays of over an hour and a half because of track slippage leaving a station. Since then VRE has been letting us (riders) know if they're reversing the engine placement to mitigate possible slippage, so we're able to see that they're actually implementing the changes they propose. Other disruptions are also communicated fairly clearly and promptly [2]. As a side note, I'm pleasantly surprised by the transparency with historical service levels [3] and passenger utilization [4].

Saying all this though, the level of service is low when compared to other countries' commuter rail systems. One of the challenges VRE works with is that it hasn't owned the rail lines it's running on; they're owned by a freight railroad and passenger rail is typically run at a lower priority than freight. There has been some recent movement though by the state [5] to significantly improve passenger rail transit, especially in the northern part of the state (almost certainly related to Amazon HQ2).

0: https://www.vre.org/

1: https://content.govdelivery.com/accounts/VAVRE/bulletins/26a...

2: https://content.govdelivery.com/accounts/VAVRE/bulletins/26f...

3: https://www.vre.org/service/daily-performance/

4: https://www.vre.org/service/rider/train-utilization-trends/ (not actually trends)

5: https://www.governor.virginia.gov/newsroom/all-releases/2019...

paxswill··on PayPal stops payouts to models on Pornhub
Even this depends. In DC political affiliation is a protected class.

https://ohr.dc.gov/protectedtraits

paxswill··on Electron apps cannot be submitted to the Apple store
Because of how Obj-C works, it’s not really possible to have completely hidden classes or methods. You can instantiate classes by name at runtime, and can similarly create a message (aka call a method) at runtime. This is basically the “concealed” option mentioned elsewhere. Because of this dynamism, it’s possible to recreate a header file from the compiled frameworks, and then just compile like normal.
paxswill··on Folding Paper Globes
My university had one in the science building and I played with it a bit. It was able to view various visualizations of data covering the globe (temperature I think might've been one, but I'm near positive weather was also available). They also had imagery of other planets loaded up, so you could spin Mars around to look at different spots.

It's not a very bright display; it is just a projector after all. That video plays pretty well to its strengths in a darker trade show, but in a bright atrium it's much harder to use. It's a little hard to describe, but the "viewing angle" isn't fantastic either. The surface is harder to see than I expected as it gets closer to being perpendicular to your eyes (yeah, obviously, but it seems to lose contrast/brightness or something).

paxswill··on Show HN: Cyberpunk web design made easy, really easy
It looks really cool, but it spikes my browser's (Firefox and Chromium on Ubuntu 19.04) CPU usage whenever it's active. Not even scrolling, just visible.

Reiterating though, this is really cool!

paxswill··on Daytripper
Use an encrypted disk, and overwrite the master keys (something like `cryptsetup luksErase <device>` on Linux, probably a combo of `fdesetup list`, `fdesetup remove` and `fdesetup removerecovery` for macOS) and then force a shutdown.
paxswill··on Enhancing our ZFS support on Ubuntu 19.10
Plugging a small script I wrote that is a bit more targeted than this by only snapshotting the datasets that are going to be changed. Haven't written a readme for it yet (or packaged it :) ) but both files have some header comments explaining how they're used and where they're put.

https://github.com/paxswill/zfs-apt-snapshot

paxswill··on Google unlocks 33% of publisher paywalls on July 30
Large scale NAT is one reason that would fail. Some mobile carriers have most of their customers behind a handful of IPs. Wikipedia has dealt with this a lot, and has a page explaining why conflating an IP address to a person isn't usually the way to go.

https://en.wikipedia.org/wiki/Wikipedia:IP_addresses_are_not...

paxswill··on Ask HN: Has anyone ever been hired from “Who wants to be hired?” threads?
Echoing this. I ran across my current employer in a Who’s Hiring post, bookmarked it for later, and then ran across them again an Angel List and applied. Been here for a few months now.
paxswill··on New Raspberry Pi 4 Firmware Lowers Temperature by 3-5°C
An IOMMU serves a slightly different purpose than a normal MMU. The graphic on Wikipedia [0] sums it up pretty well. The lack of an IOMMU would mean that if the firmware on the USB controller was malicious in some way, it could access memory it would otherwise not have access to.

0: https://en.wikipedia.org/wiki/Input%E2%80%93output_memory_ma...

paxswill··on uBlock Origin 1.20
No, other browsers on iOS are basically wrapping Safari. If you want ad blocking on iOS, you have to use an app that uses the content blocker API. My favorite is 1Blocker X, which seems to be pretty well reviewed as well.
← PreviousPage 3 of 8Next →