HNHacker News
TopNewBestAskShowJobs

delsarto

1,116 karma · joined March 30, 2011

submissionscomments
delsarto··on VMware Fusion and Workstation Are Now Free for All Users
See also VMware Workstation Shifting from Proprietary Code to Using Upstream KVM (https://news.ycombinator.com/item?id=42013032) which I'm sure plays into this too ...

A while ago (like ~10 years ago) VMWare workstation, or some of the things virtualbox graphics drivers did, seemed to be the only reasonable ways to run a virtualised desktop with 3d or at more than 5fps. But these days virtio and spice seems to work just fine.

delsarto··on The inventor of the automatic rice cooker
My washing machine door works like that; BigClive has a great teardown which was quite helpful to explain to me why I couldn’t open the door! https://youtu.be/PIm7q_U3UEM?si=K6wUtHJe2Jm8tW6M
delsarto··on Against all odds, an asteroid mining company appears to be making headway
Without giving too much away, you would probably enjoy “Artemis” by Andy Weir.
delsarto··on NASA's Curiosity rover discovers a surprise in a Martian rock
Check out Mars Guy https://youtube.com/@marsguy?si=AFAci3mConZv1L5- Dr. Steve Ruff. Excellent videos from an expert, but one terrific thing is the use of common objects (like mars guy cutout) that gives you some better perspective on the images.
delsarto··on OpenDev is a collaboratory for open source software development at scale
One of the most interesting parts of OpenDev is that the infrastructure that builds and deploys all the OpenDev services is open.

Anyone can propose changes to practically all of the infrastructure via the https://opendev.org/opendev/system-config project.

Anyone can look through all of the changes; https://review.opendev.org/q/project:opendev/system-config+s...

Every change gets run through an extremely thorough CI system that tests the change and reports results, e.g. https://zuul.opendev.org/t/openstack/buildset/50ce144851224b...

Most of these CI jobs do things like apply your proposed change, deploy the service, then connect up a headless client and take screenshots of the results so you can confirm the correct behaviour of your change; e.g. http://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b62... is from a job that was modifying the gita deployment.

Humans approve changes for merge with Zuul, but Zuul commits the code. When Zuul merges the change, another set of jobs will push things to the production hosts automatically. There is a talk on the overall process at https://www.youtube.com/watch?v=apLHQ4DkIHU

There are obviously bastion hosts and private components to the production deployment, but as much as practical is completely open. There have been contributors with no special access that have developed the deployment of infrastructure services and admins helped only at the end committing some secrets and providing production hardware resources. More commonly, people who have CI issues can jump in and fix their own problems, especially relating to things specific to them (e.g. mirror setup on CI nodes, software versions used, etc.)

One cool thing is that the Zuul jobs publish their production deployment logs in public, but encrypted (these might contain secrets, so are not made open by default). If you work on a particular system, you can request to commit your public key to the service you like and access all the deployment logs. For example, say you are interested in maintaining codesearch.opendev.org. The "infra-prod-codesearch" job deploys changes relating to this service. You can look at all the jobs at https://zuul.opendev.org/t/openstack/builds?job_name=infra-p..., and every job has an artifact that lets you download the logs; e.g. https://zuul.opendev.org/t/openstack/build/c76ec695d19a4e9e9.... Details are at https://docs.opendev.org/opendev/system-config/latest/open-i...

Wikimedia is the only other platform I've seen with a comparable commitment to open infrastructure (unsurprisingly there has been collaboration between the two over the years)

delsarto··on Lost John Coltrane recording, from experimental phase with Eric Dolphy, emerges
One interesting tidbit about "My Favorite Things" is that it came out several years before the movie [1]. So it was a Broadway hit, but not yet at the universally-known level the movie propelled it to.

[1] https://twitter.com/ethan_iverson/status/1479513450900377603

delsarto··on You can link an OpenPGP key to a German eID
It's not exactly what you're saying but

https://keyoxide.org/

Is all the best ideas of keybase. Basically if you trust someone has control over multiple different accounts you can also trust their pgp key.

delsarto··on Qantas is bringing back Airbus A380s from the California desert
They also make good tankers when your refuelers strike https://australianaviation.com.au/2023/03/qantas-uses-a380-f...
delsarto··on Australian digital driving licenses can be defaced in minutes
The reverse engineering is certainly interesting, but the article headline seems like a bit of a beat-up since the app has a built in checker where you can scan the QR code shown and validate the details independently (the article does say this, at the end). It seems if you actually want to check a license this is better than having to identify if a physical card is a forgery.
delsarto··on Qantas ferried an engine on the wing of a 747 (2016)
I am dating myself but I'm old enough to have watched the Simpsons episode where this word was invented in its first airing. Maybe it is a word now, I mean it's no more or less ridiculous than other words, which somebody just made up at some point too.

https://www.merriam-webster.com/words-at-play/what-does-crom...

delsarto··on Git security vulnerability announced
I feel like title doesn't really focus on the specific behaviour change (not operating in a non-owned directories) that will be affecting a lot of CI/CD, which is what I was interesting in seeing discussion on.
delsarto··on A new history of Byzantium reveals the inner workings of a late antique empire
If, like me, your knowledge of Constantinople is limited to the They Might Be Giants song, an excellent light-ish read (as much as 100s of years of Byzantine, as in the ridiculously complex, history can be) is Ghost Empire by Richard Fidler https://en.m.wikipedia.org/wiki/Ghost_Empire_(book)
delsarto··on Tesla to recall vehicles that may disobey stop signs
In Australia, it's not just little side roads that run by school entrances that have this rule; the school zone thing applies even on fairly major free-flowing roads. Two examples I can think of are

https://www.google.com/maps/@-37.9293496,145.0051951,3a,59y,...

https://www.google.com/maps/@-33.7710688,151.0985503,3a,75y,...

As the usual speed limit is quite a bit higher at 70km/h, driving at 40km/h (25mph) outside these times would make you, at best, a rather annoying obstacle to surrounding traffic.

delsarto··on Stacked changes: how FB and Google engineers stay unblocked and ship faster
As the parent poster well knows (as they invented it) the trick here is that you write your jobs to install from a checkout the CI system does for you.

https://opendev.org/opendev/system-config/src/commit/0a27974...

is really nice practical example. What it does isn't even really that important; but it runs a simulation of deploying production code in OpenDev. This is a "devel" job, we deliberately test any changes against all the latest HEADs of the master/main/development branches of projects we use. This is a non-voting job -- a notice that what you're introducing might be fine now, but there is trouble brewing when our dependencies release their next version. Sometimes that's fine and a known issue, or upstream is broken, and other times it's something totally unique and needs to be fixed (this is why, despite AI being able to write code for you, so far the implications of using that code still need a human in the loop :)

The "required-projects" in the job definition tells Zuul what repositories this test needs.

You can clearly see how it handles various projects having "devel", "main" or "master" branches to pull from to get their latest versions.

In the "vars" section you can see we're setting variables that get passed to the job roles flagging "this is the devel job, don't install the latest release but use the source Zuul will checkout for you from here".

The amazing thing? If I make a change and this job fails, I may debug it and find that it wasn't actually my fault, but something in upstream Ansible committed recently. I can propose the fix upstream. They do all their CI, and that's fine. But I now put in my change comment

Depends-On: https://github.com/ansible/ansible/pull/1234

and magically Zuul will recognise that I want to apply that pull request to the Ansible tree in testing and set it up for me (as noted, Zuul can do this for all sorts of systems, not just github). Additionally, Zuul will not merge the change until the dependency is satisfied -- I can NOT commit broken code!

delsarto··on The naughty username checking system used by Twitch
In my help desk days I took a call from an irate person ranting about how we were telling her to "get a male sex change". Eventually I figured out she had become upset with "msexchange" showing up in the address!
delsarto··on I quit – Peak indifference, big tobacco
In a big picture sense they've managed to reverse engineer this from a message of "quit" (i.e. do not ingest anything, which is what basically all health-based quit campaigns are about) to "stop smoking" where their IQOS system, which uses non-combustable tobacco-in-a-cylindrical-package-with-a-filter tip "HeatSticks" is "not smoking".
delsarto··on I quit – Peak indifference, big tobacco
John Safran has just released a book Puff Piece about the incredible way Philip Morris has rebranded as a "health enterprise" and released the "heatstick" with their "vaping" IQOS platform (quotes are intentional, because as the books shows, words mean nothing!)

https://johnsafran.com/

The podcast below sums it up perfectly:

Three years ago, tobacco giant Philip Morris announced they were moving away from cigarettes and that they were campaigning to "unsmoke the world".

They said they would offer people a better alternative to the cigarette, a device that would give you your nicotine fix from a "HeatStick".

Author and documentary maker John Safran discovered the HeatStick is made primarily from tobacco, and that it still generates carcinogenic tar.

John soon found that Philip Morris were financing "anti-smoking" initiatives all over the world.

They look just like conventional Quit programs, but they are designed to shift people onto this new device.

https://www.abc.net.au/radio/programs/conversations/john-saf...

delsarto··on Apple fires engineering manager for allegedly leaking information
NIDA (Australia's, and one of the world's best acting schools) actually run a course "Influential Women" [1] that focuses on vocal presence for women in corporate environments.

[1] https://www.corporate.nida.edu.au/course/CWIB

delsarto··on OpenAI Codex
In the demo video on https://openai.com/blog/openai-codex/#spacegame it seems like it goes and does an image search for a picture of an asteroid, and them embeds without attribution a direct link to a image hosted on "d.newsweek.com". Not sure I'd call that a resounding example of generating good code...
delsarto··on UFOs: 'These objects show physics we don't understand'
8 I would say is a bit early, there is some pretty gory scenes, and adult themes like "working girls" you might not want to be explaining in detail. I would say 10-12, mine is in the middle.

Although I had to laugh at https://en.wikipedia.org/wiki/Firewalker_(The_X-Files) which is about a contagious alien(?) virus which I remember being super scary. The whole idea of viruses, pandemics and quarantine didn't really phase the kids at all. How times have changed.

delsarto··on UFOs: 'These objects show physics we don't understand'
I've been rewatching the X-Files with my kid on Disney+ and, wow, the restoration is amazing. It looks wonderful in 4K. It has brought new life for me as I originally watched it on an analogue broadcast or VHS recording of!

Weirdly there's some stock footage scenes that aren't HD. This led me to finding https://www.reddit.com/r/XFiles/comments/3w3lxl/the_blurays_... which is a great thread with lots of info on how the restoration was done.

I seem to remember the later parts of the series going a little off the rails. But so far it's great family watching for the right age.

I think you'll find better UFOs and conspiracy theories rewatching this than grainy fighter jet videos.

delsarto··on Linux with “memory folios”: a 7% performance boost when compiling the kernel
I wrote a thesis on this in 2008 (Transparent large-page support for Itanium Linux https://ts.data61.csiro.au/publications/theses_public/08/Wie...) and Matthew Wilcox was already involved in the area then. I admire his persistence, and have certainly have not kept up in the state of the art. Itanium had probably the greatest ability to select page size, probably more than any other architecture (?). On x86-64 you really only have 2mb or 4k to work with in a general purpose situation. It was difficult to show the benefits of managing all the different page sizes and, as this notes, re/writing everything to be aware of page sizes effectively. Those who had really big workloads that benefited from huge pinned mappings didn't really care that much either. It made the work hard to find traction at the time.
delsarto··on Freenode commits suicide, is no longer a serious IRC network
Sad to see something implode that has been taken for granted for literally decades. Shows that we should never forget someone is paying for the electricity in the background and finding ways to provide open infrastructure to our projects is an important endeavour. I find [1] similarly odd and it does not fill me with hope for the future.

I would encourage anyone to get involved in real open infrastructure through efforts such as https://opendev.org. Yes, resources are donated, but by a range of providers who have a vested in interest in what the community is producing. ARM64 has been a great example; Linaro providing hardware resources, which has enabled services to perform functional testing and build ARM64 Python wheels for publishing for a number of projects. This is a rising tide that floats all boats. No need to send a resume [2] and you can start contributing immediately [3,4].

It has been good run with IRC but I forsee moving to Matrix as the medium-term future and there's plenty of opportunity for others to get involved with that (building home servers, admining, writing bots that provide the services we current provide on IRC, doc updates, community building).

[1] https://fosshost.org/news/freenode-faq

[2] https://docs.fosshost.org/en/home/volunteering-opportunities

[3] https://opendev.org/opendev/system-config/

[4] https://review.opendev.org/q/project:opendev%252Fsystem-conf...

delsarto··on A Better Model for Stacked Pull Requests
This is pretty much done with https://zuul-ci.org/

You simply create a change and in the footer say

Depends-On: <pull request URL/gerrit URL/gitlab URL/etc>

Zuul will pull everything together, merge it all, and provide your tests with repos on disk that reflect the entire dependency chain. You write your test to install/run/etc. from these repos that have been prepared for you. The test might have only your change, or it might have 20 other changes; Zuul handles all this. This way you test everything together.

You don't need to spend resources speculatively running every possible combination; most changes probably don't affect each other (when you know they do; setup dependencies). But the trick is, you don't commit, Zuul does. It puts all approved changes in a queue, merges them and runs the "gate" tests. It does this in a smart way to try and batch as much as possible. When they pass, it commits the change. When something fails; either it won't merge with HEAD, or it's tests fail against HEAD, it gets rejected and you fix it up and go through the cycle again. It's impossible to commit anything broken to HEAD, because everything that is committed has been tested.

delsarto··on rms-open-letter.github.io
I'm not sure publishing a letter via pull requests on a closed-source platform owned by Microsoft is going to convince the Free Software Foundation (it's in the name) on the merits of the argument.
delsarto··on IPv6 Adoption Visualization
Yes, I actually pay a premium to go with an ISP that has a decent implementation of native IPv6. I work day-to-day with several clouds that are IPv6 only (they have IPv4 NAT for getting out) so it makes things significantly easier.
delsarto··on IPv6 Adoption Visualization
The problem with this is that most big services now support IPv6, and probably have CDN's literally co-located within your ISP, or very close to. Even if the tunnel endpoint is not that far from you, I found it still makes a big difference in day-to-day operation tunneling past these edge caches.
delsarto··on Voyager 2 is back online after eight months of radio silence
Richard Stephenson works in operations at the site of the antenna mentioned and sometimes gives some "behind the scenes" views, worth a follow https://twitter.com/nascom1

An older tour discussing how to contact Voyager 2 he gave at https://www.eevblog.com/2017/04/19/how-to-contact-the-voyage...

delsarto··on Wikimedia is moving to Gitlab
The git-review [1] tool makes it trivial to interface with Gerrit (it's likely packaged for your distro, see [2]). I've found many people struggling with Gerrit don't know about it and it has made their life significantly easier. It handles all the magic of pushing to refs so that you never need to know about it. You drop a .gitreview in your project and then your work-flow is literally

    $ git checkout -b my-feature-branch
    $ emacs ... <edit edit edit>
    $ git add -i ...
    $ git commit
    $ git review
     read reviews, edit
    $ git add -i ...
    $ git commit --amend
    $ git review # push new change revisions
You can download an upstream change to use locally with "git review -d 123456"

[1] https://docs.openstack.org/infra/git-review/ [2] https://www.mediawiki.org/wiki/Gerrit/git-review

delsarto··on Minecraft's “Pack.png” Seed Reversal Methodology
My uneducated guess at a summary after reading and watching the video; which is like distilling a Nobel prize effort into a sentence, it seems the two big parts are

a) The clouds are a static map that is placed at a fixed location and moves over in a known pattern per time-step. So by extracting the cloud map and correlating that to what you see in the image, because you know where the clouds started you can get a good idea of where you are in the map.

b) A high-up waterfall has a low chance of spawning because high waterfalls are rare to even try generating; and additionally it requires rock and air around it, further reducing the chance it can actually occur.

So (a) lets you know where you are, then you figure out the waterfall location from that (a lot of tricks described above to figure out perspective, etc.), then use elements of (b) as a fairly fine sieve on the generator ("could a waterfall generate at xyz") and you have a tractable way to find possible world seeds.

Maybe? A very fun project, anyway.

Page 1 of 4Next →