HNHacker News
TopNewBestAskShowJobs

moreati

1,777 karma · joined April 28, 2011

Python and Ansible developer. Recovering Sherlock. Armchair supervillain. Pun usually intended. He/they.

https://moreati.org.uk/ https://social.moreati.org.uk/@alex

[ my public key: https://keybase.io/moreati; my proof: https://keybase.io/moreati/sigs/0NRA_TnGMfWlFUd7jrTrJqT2QOxC7wD7yEyjNtxLc4c ]

submissionscomments
moreati··on Nuclear fusion plan at former Aberthaw Power Station
Headline is a bit misleading.

> Council officials are hoping a prototype nuclear fusion reactor could be built at a former power plant.

They've bid to be the site for Spherical Tokamak for Energy Production (STEP). The selection hasn't bee made yet, even if the project goes ahead.

moreati··on Minio Changes License to AGPL
For anyone else wondering: Cloud Native Compute Foundation https://www.cncf.io/

> a Linux Foundation project that was founded in 2015 to help advance container technology[1] and align the tech industry around its evolution.

> It was announced alongside Kubernetes 1.0, an open source container cluster manager, which was contributed to the Linux Foundation by Google as a seed technology. Founding members include Google, CoreOS, Mesosphere, Red Hat, Twitter, Huawei, Intel, Cisco, IBM, Docker, Univa, and VMware

-- https://en.wikipedia.org/wiki/Cloud_Native_Computing_Foundat...

moreati··on Show HN: I made a tool to communicate data using the PC speaker
I made a send-only Python client, back in the day. https://github.com/moreati/chirppy
moreati··on LG is getting out of the mobile phone business
For others wondering about KnockON

> With Knock ON you can set the phone to turn the screen on by quickly double-tapping the screen. Double-tap an empty area in the Home screen, Status Bar, or Lock screen to turn the screen off.

-- https://www.lg.com/us/support/help-library/lg-android-knock-...

moreati··on Show HN: A Chrome extension to see notifications for comments on your HN threads
If you're willing to share your HN username, and an email address there's http://www.hnreplies.com/. I've used it for several years. Previous discussions https://hn.algolia.com/?dateRange=all&page=0&prefix=false&qu...
moreati··on Show HN: Arc, an open-source Databricks alternative
> the famous 'Engineers Shouldn’t Write ETL' blog post

for anyone else wondering, this appears to be Engineers Shouldn’t Write ETL: A Guide to Building a High Functioning Data Science Department, by Jeff Magnusson in 2016 https://multithreaded.stitchfix.com/blog/2016/03/16/engineer....

moreati··on Ask HN: Has Google search been worse at finding information lately?
To head off any misunderstandings, what time period do you mean by "lately"? Past few hours? Days? Years?
moreati··on The Future of Group Messaging
In the last few weeks there was a chat app posted here (a Show HN?), that lets you retroactively create threads by selecting some existing messages. Wish I could remember the name, seems like a good feature.
moreati··on Declassified spacecrafts and orbital weapons of the USSR (2018)
I think it's a reference to Real Genius https://www.imdb.com/title/tt0089886/
moreati··on Pip has dropped support for Python 2
I'm not aware of any plans to fix the search API, but to be clear the website search still works, e.g. https://pypi.org/search/?q=foo
moreati··on NumPy 1.20
perhaps foundation, or base layer.
moreati··on Apple's MacBook revival plan: Bring back old features
I'm typing this on a MagSafe laptop. I don't like MagSafe.

The cables fray and the MagSafe tips wear out, that means buying an entire new charger (or soldering on a donor cable), I'm on my 5th or 6th. The surfaces get dirty, and because they just butt up (rather than sliding) they become high resistance and heat up.

If MagSafe 2021 doesn't fuse the cable to the charger brick, then I might consider it. The fickle electrical connection is inherent to the design though.

moreati··on PeerTube v3
Probably. I've also been in Open Source around 20 years, UK based. I don't recall hearing about Framasoft before.
moreati··on Happy New Year HN
Happy 2020.1 Superspeed Gen 2, from the USB Implementers Forum
moreati··on Google has removed the option to disable autoplay from Mobile Chrome
I choose not to visit those sites, they're on my (mental) block list. Typically if a link goes to a US news site, or a newspaper I won't follow it. As a result I get most general interest news from https://bbc.co.uk/news
moreati··on Hacking Portable Air Conditioners
This might be of interest https://www.youtube.com/watch?v=woZH85EiHNY
moreati··on OpenJDK Migrates to GitHub
PyPy uses Mercurial, hosted on a Gitlab fork https://doc.pypy.org/en/latest/contributing.html#source-cont...
moreati··on Report: ARM is for sale and Nvidia’s interested, Apple isn’t
https://en.wikipedia.org/wiki/Intermediate_representation
moreati··on Pickle’s Nine Flaws
Hawking my own (incomplete) contribution to Pickle security/analysis https://github.com/moreati/pickle-fuzz#rehabilitating-python...
moreati··on Mastering Jq: Part 1
I wrote https://github.com/moreati/jq-filter for using jq with as a filter in Ansible.
moreati··on Wireless Is a Trap
For anyone else wondering https://en.wikipedia.org/wiki/HDBaseT

> HDBaseT, promoted and advanced by the HDBaseT Alliance, is a consumer electronic (CE) and commercial connectivity standard for transmission of uncompressed high-definition video (HD), audio, power, home networking, Ethernet, USB, and some control signals, over a common category cable (Cat5e or above) using the same 8P8C modular connectors used by Ethernet.

moreati··on Cleaning My MacBook After 16800 Hours of Use
I have a similar 2013 vintage MBP. It's on it's 5th or 6th charger, 3rd charger board, 2nd battery, and 2nd speaker

https://twitter.com/moreati/status/1087046181434417152

Except for MagSafe it's a solid design.

moreati··on Linux Sucks 2020 [video]
Ubuntu, because it's the most common choice, so has the most coverage/support by other people and tools.

If I'm routinely going off-road, I want to stick to relatively known trails. I'll save scaling mountains for my holiday.

moreati··on Ansible Alternatives in Python
For reference, in Ansible land the two approaches to this would be https://docs.ansible.com/ansible/latest/cli/ansible-pull.htm... or https://github.com/ansible/awx (upstream project of Ansible Tower)
moreati··on Working Group Last Call: QUIC protocol drafts
Protocol Control Block for anyone else wondering https://www.oreilly.com/library/view/tcpip-illustrated/02016...
moreati··on Presentation Rules
What is a build? Another word for an animation? Web searches just throw up guides to making a presentation.

Edit: Found it. A build is a type of animation that builds up a slide in multiple steps, e.g. revealing steps of a flow in sequence https://www.techrepublic.com/article/creating-animated-build...

moreati··on Accidentally Turing-Complete
I'm still not sure if Python Pickles, without the GLOBAL opcode to call into Python, are Turing complete.

Python pickle files are a sequence of op-codes that run on the pickle VM. By default the VM allows calls to arbitrary Python functions. I'm still puzzling whether Python pickles without access to Python globals (e.g. using https://docs.python.org/3/library/pickle.html#restricting-gl...) are Turing complete. I don't think so, because the pickle VM has no branching or looping, but it does have a stack and my understanding of automata theory is not great.

My research/tinkering so far is https://github.com/moreati/pickle-fuzz

moreati··on Surprisingly Turing-Complete
Python pickle files are a sequence of op-codes that run on the pickle VM. By default the VM allows calls to arbitrary Python functions. I'm still puzzling whether Python pickles without access to Python globals (e.g. using https://docs.python.org/3/library/pickle.html#restricting-gl...) are Turing complete. I don't think so, because the pickle VM has no branching or looping, but it does have a stack and my understanding of automata theory is not great.

My research/tinkering so far is https://github.com/moreati/pickle-fuzz

moreati··on Writing Safe Shell Scripts (2019)
"easier to understand/remember the meaning of" would have been better phrasing. I can remember/infer what `set -o noglob` does, but not `set -f`.
moreati··on Writing Safe Shell Scripts (2019)
Instead of

    set -euf -o pipefail
please consider

    set -o errexit
    set -o nounset
    set -o noglob
    set -o pipefail
which is easier to lookup/search for if the reader is less familiar with shell scripting, and makes for cleaner diffs when a flag is removed/added.

Caveat: some of the longer forms might be Bashisms (e.g. not present in ksh, dash, etc.)

← PreviousPage 3 of 9Next →