Posts Tagged: artificial intelligence

Why We’ve Switched from OpenAI to Claude

OpenAI vs Claude AI

Over the past week, a significant and fast-moving controversy has unfolded in the AI industry – one that has caused us, along with many others, to take a hard look at which AI companies we choose to support and partner with.

We’ve decided to switch. From today, MIDAS is moving away from OpenAI and over to Claude, the AI assistant developed by Anthropic.

Here’s why.

What Happened

If you haven’t been following the news, here’s a quick summary. The US Department of Defense had been using Anthropic’s Claude AI on its classified networks – the first AI to be deployed in that context. As the contract came up for renegotiation, the Pentagon demanded that Anthropic remove two key restrictions from the agreement: a prohibition on using Claude to power fully autonomous weapons systems, and a prohibition on using it for mass domestic surveillance of American citizens.

Anthropic refused. Their CEO, Dario Amodei, was unequivocal: current AI models are simply not reliable enough to be trusted with lethal autonomous targeting decisions, and mass surveillance of citizens is incompatible with democratic values. The company had tried for months to reach a workable agreement, but the Pentagon’s position was that it required the ability to use AI for “all lawful purposes” without restriction – a standard that, as legal experts have noted, is far broader than it sounds.

The fallout was swift. President Trump ordered every federal agency to immediately cease using Anthropic’s technology. Defense Secretary Pete Hegseth announced Anthropic would be designated a national security supply chain risk. Hours later, OpenAI – having apparently been in talks throughout – announced it had struck a deal with the Pentagon to fill the gap.

Many of OpenAI’s own employees were furious. A number of them, along with other prominent tech figures, signed an open letter opposing the government’s retaliation against Anthropic. Sam Altman himself had written in an internal memo just days earlier that OpenAI shared Anthropic’s “red lines” – before going on to sign a deal that critics said those red lines were far less robustly protected.

The contrast in the two companies’ behaviour was stark and, for us, clarifying.

Why This Matters to Us

We’re a small UK software company. We make room booking software. We’re not in the defence industry, and the intricacies of US military contracting aren’t something we’d normally have strong opinions about.

But this issue isn’t really about US military contracts. It’s about what kind of company you’re doing business with – what they stand for, and what they’re willing to sacrifice to stay in favour with those in power.

Anthropic chose to walk away from a government contract worth up to $200 million rather than remove safeguards they believed were ethically essential. OpenAI, in the same week its CEO had privately affirmed those same values to his own staff, made the opposite choice.

We think that matters. The companies whose technology we choose to use reflect, in a small way, on us. And we’d rather reflect the values of a company that held its ground.

What We’ve Changed

We used OpenAI’s models primarily in two places within our products and workflows:

Miriam, our virtual assistant. When no live support agents are available, visitors to our website can get help from Miriam, our AI-powered chatbot. Miriam was previously powered by OpenAI. She’s now powered by Claude.

Code optimisation. As we written about previously, we’ve been using AI assistance to help our human developers optimise MIDAS source code – identifying opportunities to make our software run faster and more efficiently. We’ve switched that workflow from ChatGPT to Claude as well.

In both cases, the transition has been smooth. Claude is a highly capable model, and we’re pleased with the results so far.

We’re Not Alone

Claude surged to number one on the Apple App Store in the days following the controversy. Thousands of individuals and organisations made the same decision we did – not because Anthropic asked them to, but because the situation made the choice feel important.

It’s worth noting that this isn’t simply about picking a “winner” in a commercial rivalry. We genuinely hope the situation with Anthropic and the US government is resolved fairly and without further retaliation. Anthropic has, by all accounts, been one of the most thoughtful voices in AI development when it comes to safety and responsible deployment. The idea of that voice being sidelined – or punished for speaking up – should concern anyone who cares about where this technology is heading.

A Note on AI in MIDAS

As we’ve said before, AI is not taking over the development of MIDAS. Our software is, and will remain, built and maintained by our human team. But AI tools have become a genuinely useful part of how we work – and it matters to us that we use them thoughtfully, including being selective about whose tools we use and why.

If you have any questions about these changes, or about how AI is used in our products, please don’t hesitate to get in touch.


How we’re Optimizing Source Code with AI

Optimizing Software Code using AI

Often in the release notes for our MIDAS room scheduling software, you may see the entry “Code Optimization”.

What is “Code Optimization”?

Code optimization is the process of refining our software’s source code to make it execute more efficiently, consume fewer resources, or improve its overall performance. It involves strategically modifying source code whilst at the same time ensuring the new code still produces the correct results.

Key goals of source code optimization:

  • Enhanced speed: Executing tasks more quickly
  • Reduced resource consumption: Using less memory, CPU cycles, or power
  • Improved scalability: Handling larger workloads effectively
  • Maintainability: Making code easier to understand and modify

Some common source code optimization techniques involve:

  • Algorithm optimization: Choosing more efficient algorithms
  • Loop optimization: Reducing loop iterations or overhead
  • Memory optimization: Minimizing memory usage and allocations
  • Input/output optimization: Streamlining data reading and writing
  • Caching: Storing frequently used data for faster access
  • Compiler optimization: Leveraging compiler features for automatic optimization
  • Profiling: Identifying performance bottlenecks to focus optimization efforts

Code Optimization in MIDAS

Over the years we’ve been developing MIDAS, all our code optimization work has been done manually.

This work has involved attempting to simplify and rewrite parts of the source code to be more efficient.

AI Code Optimizing

In our latest release, MIDAS v4.35, for the very first time, a small section of source code has been optimized with the assistance of AI (or Artificial Intelligence).

We performed this AI code optimization as an experiment to see whether AI could potentially be used to aid our development processes in the future.

We chose a small “subroutine” from our software and asked an AI if it could optimize it for us.

A “subroutine” is essentially a small block of code which can be re-used and “called” repeatedly during a program’s execution.

The subroutine within the MIDAS software code that we asked an AI if it could optimize for us was basically a function which converts dates to “epoch” time.

Epoch time is the number of seconds that have elapsed since January 1, 1970 (midnight UTC/GMT).

How did the AI optimized code perform?

Our original subroutine was 15 lines of code long. Using AI to optimize code, reduced this subroutine down to just 9 lines of code.

However, the initial source code that the AI generated for us did not just work “out of the box”. In fact, it didn’t work at all!

But using this AI generated code as a “template”, our team was able to modify the generated code so that it worked and produced the correct results.

Our team then extensively tested the new subroutine to ensure that it consistently produced the same expected output as the original subroutine.

Once we had a working subroutine that we were confident in, the next step was to “benchmark” the new routine against the old one. After all, there would be no point in using the new routine if there were no performance gains to be had, or indeed if the new code performed worse than the original.

To test this, we ran each subroutine 10,000,000 (10 million times), and analyzed the results:

Our Original Subroutine:
30 wallclock secs (30.28 usr + 0.00 sys = 30.28 CPU) @ 330229.18/s (n=10000000)

AI Optimized Subroutine:
27 wallclock secs (27.09 usr + 0.00 sys = 27.09 CPU) @ 369085.41/s (n=10000000)

To explain the above results, over 10 million iterations of each subroutine, the new AI optimized subroutine was more efficient. It ran (executed) quicker, and consumed less processing (CPU) power to achieve the same results as the original subroutine.

On our test server, the optimized subroutine was able to run 369,085 times in the space of one second, compared with 330,229 times in the space of a second for the original subroutine.

Ok, so the original subroutine was pretty quick and efficient to begin with – but with the assistance of AI, we were able to improve its efficiency by almost 12%.

The future of AI code optimization

Firstly, don’t worry, Artificial Intelligence is not about to take over the development of our MIDAS software!

MIDAS has been – and will remain – coded, developed, and maintained by human programmers.

But our experiment – on a very small part of our code – has demonstrated that AI tools may be able to assist our human developers to write ever more efficient source code.

The result of such carefully applied optimizations is that our software can potentially run faster, use resources more efficiently, and provide a better overall user experience.


What AI thinks about MIDAS?

What rivals ChatGPT and Google Bard think about MIDAS

It’s an exciting time in the world of Artificial Intelligence (AI), especially when it comes to AI powered interactive chat “bots”.

You may well have heard about “ChatGPT“, which is funded by Microsoft, and who are now starting to integrate its capabilities into the Bing search engine.

You may have also heard about Google’s rival, “Bard” (now know as “Gemini”), who are also integrating their AI chat bot into their search engine.

So for a bit of fun, we decided to put both of these leading AI chat bots to the test. We asked them both a very simple question to see if they knew…

“What is MIDAS room booking software?”

Here’s what ChatGPT has to say…

MIDAS (which stands for Meeting Room Scheduling) is a web-based software application designed to help organizations manage their room booking and scheduling needs. The software allows users to book meeting rooms, conference rooms, and other facilities quickly and easily, and provides a range of tools to help manage the booking process efficiently.

MIDAS allows users to set up and manage multiple rooms, view real-time availability, and make bookings directly through the software. It also includes features such as email notifications, automated invoicing, and reporting tools to help track usage and optimize room allocation.

MIDAS is a popular choice for businesses, schools, and other organizations that need to manage their room scheduling needs efficiently. It is easy to use, flexible, and customizable, making it suitable for a wide range of applications.

– ChatGPT

Here’s what Google’s Bard has to say…

MIDAS is a cloud-based room booking software that helps businesses and organizations of all sizes manage their meeting and event spaces. With MIDAS, users can easily book rooms, track room availability, and manage room reservations. MIDAS also offers a variety of features that can help businesses save time and money, such as:

  • Real-time availability: MIDAS provides real-time availability of rooms, so users can always see which rooms are available and book them quickly and easily.
  • Group booking: MIDAS makes it easy for users to book rooms for groups, so they can easily coordinate their schedules and ensure that everyone has a space to meet.
  • Reporting: MIDAS provides detailed reports on room usage, so businesses can track their spending and make informed decisions about how to allocate their resources.
  • Integrations: MIDAS integrates with a variety of other business systems, so users can easily manage their room bookings from within their existing workflows.

MIDAS is a powerful and flexible room booking software that can help businesses and organizations of all sizes save time and money. With MIDAS, users can easily book rooms, track room availability, and manage room reservations. MIDAS also offers a variety of features that can help businesses save time and money, such as real-time availability, group booking, reporting, and integrations.

Here are some of the benefits of using MIDAS room booking software:

  • Save time and money: MIDAS can help businesses save time and money by automating the room booking process. With MIDAS, users can easily book rooms, track room availability, and manage room reservations. This can free up staff time to focus on other tasks, and it can also help businesses avoid overbooking and underutilizing their meeting and event spaces.
  • Improve efficiency: MIDAS can help businesses improve efficiency by providing a centralized platform for managing room bookings. With MIDAS, users can easily see which rooms are available, book rooms, and track room reservations. This can help businesses avoid the hassle of manually tracking room availability and booking rooms.
  • Increase collaboration: MIDAS can help businesses increase collaboration by providing a platform for users to share information about room bookings. With MIDAS, users can easily see which rooms are available, book rooms, and track room reservations. This can help businesses ensure that everyone is on the same page when it comes to meeting and event planning.

Overall, MIDAS is a powerful and flexible room booking software that can help businesses and organizations of all sizes save time and money. With MIDAS, users can easily book rooms, track room availability, and manage room reservations. MIDAS also offers a variety of features that can help businesses improve efficiency and increase collaboration.

– Bard

Our thoughts…

We have to admit that on this occasion, we preferred Google Bard’s response. It was certainly a more in depth summary of our MIDAS software.

ChatGPT’s response – whilst concise – was a little misleading. It claimed that “MIDAS” stands for “Meeting Room Scheduling”.

Whilst MIDAS is indeed a meeting room scheduling system, the acronym “MIDAS” itself doesn’t stand for “Meeting Room Scheduling”. For a clue as to what MIDAS does stand for, see this blog post.

AI chatbots are certainly having a bumpy ride of late.

Back in February this year, $100bn was wiped off Google’s parent company, Alphabet’s shares, after Bard made a mistake and investors became nervous.

More recently, a man widely considered to be the “godfather” of Artificial Intelligence, who quit his job at Google, has warned about the growing dangers from developments in the field.

When two big rivals – Google and Microsoft – both launch competing AI ChatBots, the race is on. Yet many are warning that we need to slow down AI development and ensure that ethics are taken into account.

In the fifteen plus years that we’ve been developing MIDAS, we’ve seen (and implemented) numerous technological advances. It’s exciting – if not also a little scary – to think where the advancements in AI might take us in just a few year’s time.

UPDATE: January 2024: We’ve used AI for the first time to help optimize some of our MIDAS code! Read more about this in our optimizing code with AI blog post.

UPDATE: February 2024: “Bard” has now been rebranded as “Gemini”.