News for hackers. Stuff that matters.

delsarto

Re:VMware Fusion and Workstation Are Now Free for All Users on Monday November 11, 2024 @08:04PM (#42111929)
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.

Re:The Unlikely Inventor of the Automatic Rice Cooker on Saturday November 02, 2024 @05:01PM (#42029206)
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
Without giving too much away, you would probably enjoy “Artemis” by Andy Weir.
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.
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)

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 sort of universally-known level the movie propelled it to.

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

Re:You can link an OpenPGP key to a German eID on Wednesday May 31, 2023 @05:24PM (#36144520)
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.

They also make good tankers when your refuelers strike https://australianaviation.com.au/2023/03/qantas-uses-a380-f...
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.
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...

Re:Git security vulnerability announced on Tuesday April 12, 2022 @11:18PM (#31010850)
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.
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)
Re:Tesla to recall vehicles that may disobey stop signs on Tuesday February 01, 2022 @02:37PM (#30167960)
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.

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!

Re:The naughty username checking system used by Twitch on Thursday October 07, 2021 @06:18AM (#28784414)
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!
Re:I quit – Peak indifference, big tobacco on Tuesday September 21, 2021 @05:42PM (#28610372)
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".
Re:I quit – Peak indifference, big tobacco on Tuesday September 21, 2021 @04:41PM (#28609653)
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...

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

Re:OpenAI Codex on Tuesday August 10, 2021 @08:27PM (#28136516)
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...
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.

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.

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.
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...

Older »