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 The next generation of wall chargers
I mentioned the Mu because it has a folding UK plug. Small chargers lose much of their smallness when using a standard UK plug.
moreati··on The next generation of wall chargers
For Brits and visitors to our shores there's https://www.themu.co.uk/collections/muone and https://www.kickstarter.com/projects/muone/mu-two-next-gener...
moreati··on 64 bits ought to be enough for anybody
My guess: there's not a _big_ market for it.

I half remember an article about stock trading companies overclocking servers and running them single threaded at max clock speed. The aim was shaving a few more microseconds from their response time. They accepted the reduced lifetime of the hardware, just replaced it sooner. I got the impression it was a niche market though.

moreati··on Configuring Ansible
I've tweeted a few Ansible tips and gotchas over the years, covering some of the corner cases and a few neat tricks

https://twitter.com/search?q=from%3Amoreati%20ansible%20tip&...

https://twitter.com/search?q=from%3Amoreati%20ansible%20gotc...

moreati··on ‘Juice Jacking’ Criminals Use Public USB Chargers to Steal Data
If the budget is $100, then bringing a compact mains charger seems easiest. E.g. https://www.themu.co.uk/collections/collection/products/amer...
moreati··on Python at Scale: Strict Modules
> using binary operators instead of awful things like Union

Do you mean like https://www.python.org/dev/peps/pep-0604/#id17 ?

> Inspired by Scala language [5], this proposal adds operator __or__() in the root type. With this new operator, it is possible to write int | str in place of Union[int,str]

moreati··on Graal Autovectorization
Does Graal being an Oracle project make anyone else nervous? I mean from a software license or patent perspective.

On the technical side there's much to like. However I worry that once Graal becomes popular, Oracle will announce something that makes it risky to use without paying for a per-seat license or support package. I'm probably just showing my bias, but they have form in this area.

moreati··on Tweet-a-Program
For anyone else wondering https://twitter.com/pythontap was created in 2014, apparently for the same purpose, but there was no follow through.

As an impromptu meeting point, I suggest https://twitter.com/hashtag/pythontap

moreati··on Lockheed's Skunk Works Building Bigger Fusion Reactor
http://julien.hillairet.free.fr/wiki/doku.php?id=list_of_fus... is the most complete list I've seen, of private fusion efforts
moreati··on ASCII fluid dynamics – A tiny fluid simulator that fits in 80x25 terminal
Is there a directory/collection of these? Simulations/visualizations/animations using the terminal.
moreati··on Hearing your touch: A new acoustic side channel on smartphones
> In controlled settings, our prediction model can on average classify the PIN entered 43% of the time and pattern 73% of the time within 5 attempts when selecting from a test set of 50 PINs and 50 patterns. In uncontrolled settings, while users are walking, our model can still classify 20% of the PINs and 40% of the patterns within 5 attempts.

https://www.cs.swarthmore.edu/~aviv/papers/aviv-acsac12-acce...

moreati··on The Case for Transmissible Alzheimer's Grows
Thank you, my eye tests have always used the air puff.
moreati··on The Case for Transmissible Alzheimer's Grows
What eye exam(s) involve physical contact between the eyeball and a medical instrument? Or did a joke just go sailing over my head?
moreati··on Airlander 10: World's longest aircraft gets full-production go-ahead
I think (medium confidence) the sales pitch is that it can hover. So it can deliver that cargo to wherever you ask. As opposed to the nearest big runway, or the nearest bit of paved road.
moreati··on Skim reading is the new normal. The effect on society is profound
Video speed browser extensions make it less bad. I use https://addons.mozilla.org/en-US/firefox/addon/videospeed/ and https://chrome.google.com/webstore/detail/video-speed-contro...
moreati··on Code with Mu: a simple Python editor for beginner programmers
It's GPL 3
moreati··on Chrome updated to temporarily remove the autoplay policy for the Web Audio API
I use https://chrome.google.com/webstore/detail/disable-html5-auto.... It mostly works - a few videos fail to play when I click, and a very few others manage to autoplay.
moreati··on Quiet for Android – TCP over sound
Thank you
moreati··on Quiet for Android – TCP over sound
> I remember reverse engineering the protocol and error correction mechanisms (it was a varient of the Reed-Solomon algorithm iirc)

Wow! Do you have a write up, or code? I tried to do the same [1], but got stuck on the error correction [2]. I'd love to get closure.

1. https://github.com/moreati/chirppy 2. https://math.stackexchange.com/questions/663643/discover-par...

moreati··on Ethereum Price Climbs to $360; Crypto Market Cap Pierces $160B
Ethereum is planning a switch from Proof of Work (burning CPU/GPU/ASIC cycles to secure the chain), to Delegated (?) Proof of Stake - people lock away some of their ETH holdings, some of those people are random selected to validate a block. They attest which transactions are valid, and put them in a block. If they're judged to be honest/correct they're rewarded with ETH in proportion to their stake. If they're found to have broken the rules their stake is not returned, or only partially returned.

PoS has detractors/claimed flaws, but it is definitely much less energy intensive than PoW.

moreati··on A hypothesis about how you might discover the next Twitter
I don't understand the first line. Is "FWD" an acronym, or are you imitating the subject line of a forwarded email?
moreati··on Tesla’s big battery in South Australia may prove the viability of renewables
I don't think it was ever 90 days, here's the original tweet

"Tesla will get the system installed and working 100 days from contract signature or it is free. That serious enough for you?" -- https://twitter.com/elonmusk/status/840032197637685249

moreati··on ODrive Project – Using inexpensive brushless motors in high performance robotics
I use https://chrome.google.com/webstore/detail/disable-html5-auto... to address this
moreati··on Reed-Solomon error-correcting code decoder
@nayuki In your Python code, the module 'fieldmath' imports 'numbers'. However it only uses a single reference - 'numbers.Integral'. Did you mean to remove this when you modified the code from your _Gauss-Jordan elimination over any field_ page?

ETA: Scratch that, numbers is a module in the stdlib https://docs.python.org/3/library/numbers.html#module-number... sorry for the confusion

moreati··on Reed-Solomon error-correcting code decoder
Do you still have that bruteforce code? I've been trying on and off to reverse engineer the RS ECC in Chirp, a (now discontinued) app for sharing tokens over speaker/microphone.

My current progress is summarised in https://math.stackexchange.com/questions/663643/discover-par... and https://github.com/moreati/chirppy/blob/master/trials.py

moreati··on Show HN: Pydb – a lightweight database with Python syntax queries, using ZeroMQ
It's not ideal. For instance if I as the caller wished to provide an empty dict-like object (e.g. dict_arg=collections.OrderedDict()), then your code would silently ignore it, and use a new dict.

Instead of checking for any object that evaluates to False, you should explicitly check for None, e.g.

   def func(list_arg=None, dict_arg=None):
       if list_arg is None:
           list_arg = []
       ...
moreati··on QuickCheck: A Lightweight Tool for Random Testing of Haskell Programs (2000) [pdf]
QuickCheck et al do a random walk to find a value that fails the tests. Typically the value is large, complicated and unwieldy - particularly if the test involves nested structures. It might by 10s of KBytes in size, and most of the value is irrelevant.

Minimization is the process of starting from that known value and simplifying it as much as possible while still failing the test. For example QuickCheck discovers a 1235 element list, that fails. The problem happens to be a 0 in the last element. Minimisation might simplify that list to [1, 0]. So finding the cause is quite a bit easier.

moreati··on Proposed server purchase for GitLab.com
What is lipo mode? Closest I can guess is a typo for 'limp mode'.
moreati··on Ask HN: What do you wish digital assistants (Siri, Alexa, etc.) could do?
@raybb Out of interest, why are you asking?
moreati··on Transparent DNS proxies
May I ask which ISP this is?
← PreviousPage 4 of 9Next →