HNHacker News
TopNewBestAskShowJobs

agsnu

329 karma · joined February 5, 2021

submissionscomments
agsnu··on Photos of trains in the American West (2017)
Not for cross-country journeys yet (at least not alone), but battery powered locomotives are picking up steam...

https://www.forbes.com/sites/alanohnsman/2022/03/01/the-new-...

Apparently they largely have regenerative breaking already but nowhere to store the energy so dump it through resistors to vent it as heat, if they had big battery arrays the savings could be significant.

agsnu··on Apple held up Telegram’s latest update over emoji
At the point that they design their emoji from scratch? Emojipedia shows you what they look like on a variety of platforms, the blog post shows they look a lot like they started with Apple's (although in fairness WhatsApp's look very similar as well).
agsnu··on Animal melting pot created by climate change could lead to new disease outbreaks
https://www.theguardian.com/environment/2022/aug/01/climate-...
agsnu··on Rainwater everywhere on Earth unsafe to drink due to ‘forever chemicals’
https://en.wikipedia.org/wiki/Dark_Waters_(2019_film) is a great film.
agsnu··on The 13-Inch MacBook Air
macOS Ventura will include Rosetta for Linux. https://arstechnica.com/gadgets/2022/06/macos-ventura-will-e...
agsnu··on Ask HN: Can competitors catch up to Apple Silicon?
Apple was also the first vendor to ship an ARMv8-A compatible chip; I'm sure there have been reports that they heavily influenced the design of AArch64 but I can't dig them out right now.
agsnu··on US regulators to examine Boeing 737 Max production
I don't understand why anyone would fly Ryanair ;)
agsnu··on Cycling: Why Tunnels are Better than Bridges (2014)
I immediately thought of the Rotherhithe tunnel in London. While pedestrians and cyclists can use it, it's grim - see this video for example of someone walking it https://www.youtube.com/watch?v=hjAHzZa_pc8

Clearly for crossing any lengthy stretch of water, a bridge is much preferable to a tunnel.

agsnu··on Ask HN: Is there a TV on the market without “Smart TV” features?
Sony is shipping the Samsung QD OLED panels in their Bravia range as well, if that's any consolation
agsnu··on Ask HN: How are you dealing with the M1/ARM migration?
It sounds like they're just using MacStadium.
agsnu··on Parallels Desktop Pro now sends spam notifications with ads to your desktop
Everything has to use Apple's Hypervisor virtualization framework on Apple Silicon, there is basically no third party code execution at hypervisor or kernel level.
agsnu··on Running macOS in a Virtual Machine on Apple Silicon Macs
Big Sur was available for Apple Silicon; presumably there are new hooks in Monterey to support this virtualisation that Apple didn't see the need to backport. It's something of a sore point for Mac devs, as it means it's basically impossible to test their apps on Big Sur on Apple Silicon without having a dedicated box for it...
agsnu··on CentOS Linux 8 Reaches End-of-Life
Normally RHEL/CentOS releases are supported for 10y - CentOS 6 was 2010-2020, CentOS 7 is 2014-2024. 8 was released in 2019 so you might expect it to be supported through 2029, a year ago they announced it would be brought forward by 8 years.
agsnu··on A Tumblr developer on the App Store approval process
The escalation path mentioned in the original post ("developer support contact", I think more officially a Worldwide Developer Relations Partnership Manager) is invite-only.
agsnu··on Big data may not know your name, but it knows everything else
If you're interested in this topic, I recommend the chapter on Inference Control in Ross Anderson's excellent book "Security Engineering". It's one of the ones which is freely available on his web site https://www.cl.cam.ac.uk/~rja14/Papers/SEv3-ch11-7sep.pdf
agsnu··on A Tumblr developer on the App Store approval process
Let's be honest, it likely has much less to do with developer soft skills and more to do with the value Apple perceives from the app being on their platform. The big fish will have more sway; it makes good business sense but it's anti-competitive.
agsnu··on Xcode 13.2 contains Log4j vulnerability
It's part of the App Store upload process, and a legacy/holdover from using WebObjects 5 as part of the back-end for the original iTunes Music Store. WO5 was a full Java rewrite of WebObjects (which was originall Objective-C back when it was started at NeXT), because in around 2000 that seemed like a sensible choice given where the mindshare was in their target market (pretty enterprise - it was like $50k for a full deployment license at the time).
agsnu··on How I learned to stop worrying and push to master
I'm not sure I entirely follow the question. We don't attempt to have any tag in the repo itself representing what is "in production" - which itself is sort of a misnomer because of the iOS App Store 7 day phased release functionality anyway, plus of course lag in customers downloading updates onto their devices.

So if you need to patch something after a release branch point, there is inevitably a discussion dependent on the context of where any in flight release is - has it started rolling? if so how far is it? is it already completely rolled out? Are we halting the release or just following it immediately with a hotfix? Do we want the hotfix to go through phased release? We just have a separate dashboard tracking release status.

Jenkins pipeline wise very similar - land on main, will go in the next nightly build. If you need to patch a release, submit your patch to the relevant release branch, and the corresponding beta/production pipelines will trigger. (Release branches are protected and require special approval to merge to.)

agsnu··on How I learned to stop worrying and push to master
Generally the app store review process is much less of a problem than it used to be, with happy path being 24-48 hours rather than 1 week+.

Of course everything is context dependent (team size, codebase size, testing maturity, frequency of release), but I guess we found GitFlow seemed to be better aligned with modelling the "versioned software" approach - i.e. with releases determined by features, everybody knows/cares about what is in version 2.1 etc, you might have multiple releases all on the go at the same time with development happening for 2.1.1 bug fixes, 2.2 minor features, and maybe master has moved on to stuff that will ship in 3.x etc.

Definitely with less frequent releases (App Store Review taking 1+ weeks and being unpredictable probably had greater influence on release frequency) and a large team, we ended up with releases feeling quite painful - there was a lot of pressure to land features close to the deadline because the next release might not be for a while, meaning there was more churn on release branches as people tried to stabilise things that were borderline "ready".

Git Flow's release branching model added overhead - people might forget to merge back to develop, deal with conflicts or semantic brokenness if you had different targeted fixes on the release branch to mainline development (e.g. let's just disable this functionality for now on release branch and push it to the next version, fix forward on develop, merge release branch back to develop -> now it's disabled there too, have to unwind).

We switched many years ago (probably after reading https://barro.github.io/2016/02/a-succesful-git-branching-mo... ) to a time-based continuous release model - periodically cut a release from master (there are lots of teams shipping mobile apps on a monthly, 2 weekly or even weekly cadence these days), with trunk-based development and cactus branching for releases. If we need to hotfix just need to go to the most recent release tag/branch and ship a fix based off that point, no merging back between branches. If you need to fix a bug in the release, it's on you to make sure an appropriate fix is applied in both places, through e.g. cherry-picking, no need to worry about merging anything back anywhere.

Together with some other actions (cultural focus on reducing post-branch churn and investment in testing capability to gain confidence in release candidates faster, set in the context of a goal to increase release cadence; increased usage of feature flags; etc), we ended up significantly improving release frequency & predictability, which reduced the time for stakeholders to get changes shipped and visible to users from when they were "done" (especially valuable for small changes, of course).

Nobody ever really understood the utility of the "production" branch from GitFlow.

tl;dr GitFlow seemed to add overhead with little value; we switched to trunk based development and didn't look back.

agsnu··on Binance just transferred 6B Tethers to an unknown address
https://www.bloomberg.com/news/features/2021-10-07/crypto-my...

https://www.theverge.com/2021/10/15/22728253/tether-41-milli...

agsnu··on Trusting science leaves people vulnerable to believing pseudoscience
I expect to have to defer to authority because I recognise that it's infeasible for me personally to accumulate the total sum of human knowledge and experience. It might have been different in Galileo's day.
agsnu··on Fastly says single customer triggered bug behind mass internet outage
This doesn't look like a post mortem - it is a quick reaction/apology the day after and promise of a post mortem. It doesn't seem unreasonable that they need more time to dig in to the root causes.
agsnu··on Big Mail: Your inbox, upgraded
Presumably because the app is being sold through the iOS App Store and in that case Apple manages the relationship with the end user rather than the app developer.
agsnu··on iPad Camera Multitasking
Dev certs won't give you access to private entitlements
agsnu··on Swift on the Server (2020)
After leaving Apple, Chris Lattner (designer of Swift) ended up at Google for a while and there was an attempt to make Swift a first class language for Tensorflow. An interesting podcast on the topic from 2019: https://www.swiftbysundell.com/podcast/58/

Since then he has moved on to SiFive and S4TF has been shutdown. See HN discussion https://news.ycombinator.com/item?id=26117453

agsnu··on The joys of creating Xcode project files
Only in spirit. NeXTStep's ProjectBuilder was GNU Make based, and IIRC it directly edited Makefiles (restricted subset of make - and you weren't supposed to touch them by hand) and also had a PB.project file that contained some limited metadata.

What became Xcode started out life as "Project Builder" (with a space), which was where the pbxproj file format was introduced. This debuted with Mac OS X (possibly circa DP4?) and was a ground-up rewrite - new UI, new project format, new build system (originally it used Jam, a little-known build system created by Perforce, before switching to something custom... IIRC it would generate an ephemeral Jamfile at build time).

For a while both could be installed on the same system - you needed ye olde NeXT ProjectBuilder for WebObjects 4.5 projects, and it was known as ProjectBuilderWO on Mac OS X for a while as a result.

agsnu··on What went wrong with the Texas power grid?
Heat pump efficiency drops a lot when the temperature goes significantly below zero celsius
agsnu··on Homebrew 3.0
https://en.wikipedia.org/wiki/MacPorts (nee DarwinPorts) was started with the involvement/sponsorship of Apple and was probably the most popular Mac OS X package manager / port library around the mid-00s.
← PreviousPage 4 of 4