Home Blog Page 2

Understanding the code modernization conundrum


Like many giant enterprises, we should navigate the wonder and chaos of legacy code. In our case, a long time of SQL procedures and enterprise logic that underpin a platform able to dealing with over 3 million concurrent customers and a whole lot of micro code deployments per week. It’s a posh machine. Contact one half, and also you danger breaking 10 others. That’s why modernizing the codebase is each a technical problem and a human one. It requires empathy, belief, and the power to make knowledgeable guesses.

Contained in the Innovation Engine

At bet365, the platform innovation perform was established to impress risk. We’re a small, specialised group charged with exploring rising and future applied sciences. Our intention is to determine the place they will have the best influence, and assist the broader group perceive find out how to use them meaningfully.

We’re enablers and ambassadors for change. Our work spans the whole lot from product improvement and cybersecurity to the way forward for the workforce. Our guiding mannequin is McKinsey’s Three Horizons of Development reimagined for innovation. Horizon 1 focuses on what we are able to implement in the present day. Horizon 2 explores what’s coming subsequent. Horizon 3 dares us to think about the longer term nobody is speaking about but.

This framework helps us steadiness ambition with pragmatism. It creates area to experiment with out shedding sight of operational worth, and it ensures our builders, architects, and stakeholders are all a part of the identical dialog.

When GenAI Met Builders

When GPT-4 dropped in 2023, the whole lot modified. Like most within the tech world, we have been fascinated. Generative AI supplied a tantalizing imaginative and prescient of the longer term crammed with quicker insights, on the spot summaries, and automatic refactoring. However the pleasure shortly gave strategy to doubt. We handed very succesful builders a robust LLM and stated, “Go for it.” The outcomes have been combined at finest.

They inserted code into the immediate home windows, stripped out context to save lots of area, and hoped the AI would perceive. It didn’t. Builders have been confused, pissed off, and, understandably, skeptical. They noticed the AI as a shortcut, not a associate, and when the output didn’t match expectations, frustration adopted. Many requested the identical query: “Why am I asking a machine to write down code I may simply write myself?”

What we realized was profound. The issue wasn’t the AI. It was the connection between the AI and the individual utilizing it. We had assumed that talent in software program engineering would robotically translate to talent in immediate engineering. It didn’t. Did we miss one thing? The purpose we couldn’t overlook was through the train, our builders have been finishing the duties persistently round 80% of estimated time. There was positively one thing right here. We simply weren’t positive what it was.  So, we went again to fundamentals.

Vibe Coding and the Limits of Belief

There’s a brand new time period in developer tradition: “vibe coding.” It’s the place you throw a bit of code at an LLM, get a response, tweak it, throw it again. Iterate quick. Ship quicker. It’s fashionable. It’s seductive. But it surely isn’t danger free.

With out a clear understanding of intention or context, vibe coding can shortly change into a recreation of trial and error. And when your system is as advanced as ours – many databases processing 500,000 transactions a second – “trial and error” isn’t adequate. We would have liked greater than vibes. We would have liked imaginative and prescient.

Context Over Content material

The turning level got here once we realized the true job wasn’t instructing AI find out how to write higher code. It was instructing people find out how to talk with AI. We realized a brand new mantra: intention + context + element. That’s what the AI wants. Not simply content material. Not simply “repair this perform.” However: “Right here’s what this code does, right here’s why it issues, and right here’s what I want it to change into.” This perception is essential.

Our builders, particularly these tackling essentially the most advanced, interdependent issues, tailored shortly. They have been used to considering deeply, offering rationale, and navigating ambiguity. They obtained it. They fed the AI what it wanted. They flourished. The distinction was mindset. We got here to name this phenomenon “the unreliable narrator.” Not simply the AI, however the developer. As a result of usually, the issue wasn’t that the machine obtained it unsuitable. It was at instances that we weren’t clear on what we have been asking.

RAG, GraphRAG, and the Energy of Grounded Context

To construct dependable, human-aligned AI assist we wanted a strategy to floor what the AI was seeing in truth. That’s the place we noticed the facility of Retrieval-Augmented Technology (RAG). RAG permits an AI mannequin to retrieve related context from an exterior supply – like documentation, system metadata, or a data base – earlier than producing a response. It’s quicker to implement and extra versatile than fine-tuning, making it excellent for dynamic, domain-intensive environments like ours. Builders can replace the data base with out retraining the mannequin, preserving outputs present and grounded.

However RAG has its limits. When a query spans a number of methods or requires reasoning throughout disconnected items of knowledge, conventional RAG, which is predicated on textual content similarity, begins to falter. That’s why we turned to GraphRAG, a extra superior strategy that makes use of a data graph to reinforce LLM outputs.

A data graph doesn’t simply maintain info, it encodes relationships. It captures how elements work together, the place dependencies lie, and what may break for those who change one thing. GraphRAG makes use of this construction to reinforce prompts at question time, giving the AI the relational context it must reply with precision. That is very true in environments the place accuracy is essential, and hallucinations are unacceptable.

As a real-world train, we checked out our SQL server property. We wished to construct a system that we may use to realize worthwhile perception on how the system works.

To construct it, we began by parsing all our database objects together with tables, views, procedures, capabilities, and many others. into summary syntax timber (ASTs). Utilizing Microsoft’s ScriptDOM, we extracted key info and used them to assemble the preliminary data graph. We overlaid this with pure language descriptions to additional clarify what every aspect did, and added runtime statistics like execution frequency, CPU time, and skim volumes.

The consequence was a wealthy, relational illustration of our SQL property, full with contextual insights about how objects are consumed and the way they work together. Then we surfaced this intelligence to builders via three core instruments:

  1. A chatbot that lets customers question the system in plain language
  2. A visualiser that renders a 3D map of dependencies and relationships
  3. A Cypher executor for superior graph querying and evaluation

What’s vital to notice is that many of the system’s worth lies within the graph, not the mannequin. The AI doesn’t must know the whole lot. It simply must know the place to look, and find out how to ask the precise questions. That’s the facility of grounding.

For us, GraphRAG wasn’t only a nice-to-have, it turned important. It helped us transfer from generic code help to one thing way more worthwhile: a system that understands what our code means, the way it behaves, and what it impacts.

We’re not simply writing code anymore. We’re curating it. We’re shaping the intentions behind it. Our builders now have tooling to realize additional perception to change into code reviewers, system designers, and transformation brokers at an skilled stage throughout large division spanning architectures. All from a easy interface permitting pure language inquiries That’s the true shift. The long run isn’t about AI doing our jobs. It’s about reimagining what the job is.

The success of our code modernization program has little to do with algorithms and the whole lot to do with perspective. We needed to unlearn previous habits, rethink our relationship with code, and embrace a tradition of curiosity. We needed to cease asking AI for solutions and begin giving it the precise questions. The expertise was the straightforward half. The individuals half, now that was the true breakthrough.

Globally, over 2.5 million COVID deaths prevented worldwide because of vaccines – NanoApps Medical – Official web site


Due to vaccinations towards SARS-CoV-2 within the interval 2020–2024, 2.533 million deaths have been prevented on the international degree; one dying was prevented for each 5,400 doses of vaccine administered.

Some 82% of the lives saved by vaccines concerned folks vaccinated earlier than encountering the virus, 57% through the omicron interval, and 90% concerned folks aged 60 years and older. In all, vaccines have saved 14.8 million years of life (one 12 months of life saved for 900 doses of vaccine administered).

These are a few of the knowledge launched in an unprecedented research printed within the journal Jama Well being Discussion board and coordinated by Prof. Stefania Boccia, Professor of Basic and Utilized Hygiene at Università Cattolica, with contributions from Dr. Angelo Maria Pezzullo, researcher generally and utilized hygiene, and Dr. Antonio Cristiano, a medical resident in hygiene and preventive medication.

The 2 researchers spent a interval at Stanford College, collaborating straight with the group of Professor John P.A. Ioannidis, director of the Meta-Analysis Innovation Heart (METRICS), within the context of the mission “European community employees eXchange for integrAting precision well being within the well being Care sysTems- ExACT.”

Professor Boccia and Dr. Pezzullo clarify, “Earlier than ours, a number of research tried to estimate lives saved by vaccines with totally different fashions and in numerous durations or components of the world, however this one is essentially the most complete as a result of it’s based mostly on worldwide knowledge, it additionally covers the omicron interval, it additionally calculates the variety of years of life that was saved, and it’s based mostly on fewer assumptions concerning the pandemic development.”

The consultants studied worldwide inhabitants knowledge, making use of a collection of statistical strategies to determine who among the many individuals who grew to become sick with COVID did both earlier than or after getting vaccinated, earlier than or after the omicron interval, and what number of of them died (and at what age).

“We in contrast this knowledge with the estimated knowledge modeled within the absence of COVID vaccination and have been then in a position to calculate the numbers of people that have been saved by COVID vaccines and the years of life gained on account of them,” Dr. Pezzullo explains.

It additionally turned out that a lot of the saved years of life (76%) concerned folks over 60 years of age, however residents in long-term care amenities contributed solely 2% of the whole quantity. Kids and adolescents (0.01% of lives saved and 0.1% of life years saved) and younger adults aged 20–29 (0.07% of lives saved and 0.3% of life years saved) contributed little or no to the whole profit.

Professor Boccia concludes, “These estimates are considerably extra conservative than earlier calculations that targeted primarily on the primary 12 months of vaccination, however clearly display an necessary total profit from COVID-19 vaccination over the interval 2020–2024.

“Many of the advantages, by way of lives and life-years saved, have been secured for a portion of the worldwide inhabitants who’re usually extra fragile, the aged.”

Extra info: International Estimates of Lives and Life-Years Saved by COVID-19 Vaccination Throughout 2020-2024, JAMA Well being Discussion board (2025).

Handle knowledge middle power consumption with good options


As AI, cryptocurrencies, and different resource-intensive applied sciences develop into mainstream, knowledge facilities are reaching unprecedented ranges of power consumption. With knowledge middle electrical energy consumption anticipated to greater than double by 2030, in keeping with the Worldwide Power Company, clever power effectivity has develop into a prime precedence for knowledge middle operators.

Clever power administration is about measuring, monitoring, and optimizing power consumption to unlock value financial savings, improve operational effectivity, and help vital scalability for AI and crypto workloads. It’s additionally very important for compliance with evolving laws and for demonstrating enterprise resilience via sustainable practices.

Let’s check out how investing in scalable, high-performance digital infrastructure and clever knowledge middle power administration may also help knowledge facilities meet efficiency calls for and power consumption objectives.

“Cisco presents industry-leading power administration via clever software program, environment friendly {hardware}, and insights all through its product vary, powered by international real-time knowledge concerning the carbon emissions of electrical energy … We’re proud to associate with Cisco to proceed pushing the boundaries for carbon-aware know-how and next-generation power administration.”
Olivier Corradi, Founder, CEO of Electrical energy Maps

1. Actual-time power monitoring and optimization

For knowledge middle operators, gaining granular insights into power consumption is essential for availability, value management, manageability, and compliance. We’re creating pointers with over 4 many years of networking experience to ship a extra complete and correct measurement method—particularly designed for advanced knowledge middle environments.

This enhanced methodology permits knowledge middle operators to ascertain an power administration baseline with visibility and reporting throughout 5 standardized metrics:

  • Power consumption (kWh)
  • Whole greenhouse gasoline (GHG) emissions (metric ton of CO2e)
  • Carbon depth (grams of CO2e per kWh)
  • Power value (USD)
  • Power combine (% from low carbon power sources)

Knowledge middle groups can entry this actionable knowledge via platforms like Cisco Nexus Dashboard, and so they can leverage Cisco Splunk to detect anomalies, lower prices, and plan for a extra energy-efficient digital future.

To simplify buying selections and reinforce our dedication to power optimization, up to date product knowledge sheets will function clear, constant sustainability profiles. Importantly, a few of our knowledge middle switches are actually ENERGY STAR®- and EPEAT-certified, serving to clients drive ROI selections, preserve compliance, and advance sustainability objectives.

2. Actual-time optimization and suggestions with AI

Reliability and efficiency are vital in knowledge facilities. Actual-time monitoring and superior analytics will present actionable insights that may assist cut back power utilization and prices, contributing on to manageability. These insights will embrace alerts for uncommon energy spikes, identification of underutilized (“zombie”) servers, and clever energy-saving suggestions—corresponding to good energy distribution models (PDUs) and server consolidation.

This may assist knowledge middle groups optimize power consumption for scalability and cost-effectiveness as resource-intensive workloads develop in dimension and complexity. With predictive analytics, AI-driven instruments, and state of affairs planning, directors will be capable to take exact, data-driven actions tailor-made to their distinctive power wants—driving steady resilience and availability.

3. Dynamic power effectivity and management

Knowledge middle operators want flexibility and manageability to adapt to evolving calls for, particularly with AI workloads. We’re pioneering efforts to combine power monitoring, power coverage, and associate ecosystem interoperability into an extensible, scalable, and simple resolution for knowledge facilities.

This good energy framework will ship constant energy administration modes throughout Cisco units, together with out-of-box delivery mode, efficiency mode, and low-power mode. This may allow knowledge middle groups to automate workflows and make knowledgeable selections about power efficiency tradeoffs inside their networks, guaranteeing optimum efficiency for vital AI knowledge middle workloads whereas successfully managing power consumption.

“You possibly can’t repair an issue you’ll be able to’t see. Establishing a reputable baseline is the muse to creating any progress. Cisco’s power administration technique empowers clients to handle power consumption by offering visibility, insights, and automation. This development continues to develop extra pressing with the AI revolution.”
Denise Lee, Vice President, Cisco Engineering Sustainability Workplace

Unmatched visibility with clever power administration

Our power administration technique displays a deep dedication to innovation and sustainability within the knowledge middle. With enhanced energy measurement capabilities, actionable insights, and built-in controls, we’re pioneering the best way for a extra sustainable and clever digital future.

This empowers knowledge middle clients to:

  • cut back operational and capital bills
  • improve enterprise resilience
  • enhance safety
  • maximize ROI for AI infrastructure
  • enhance power availability via extra environment friendly utilization

With greater than 40 years of management in safe networking, we’re redefining power administration as a strategic enabler for knowledge middle modernization. By way of unmatched visibility, embedded intelligence, and AI-driven automation, this complete method will contribute to a stronger ROI for knowledge middle investments—supporting our clients’ objectives for effectivity, sustainability, and long-term success.

 

Share:

ios – How can I generate a metadata.mov file for higher-resolution Dwell Photographs (e.g. 1440×2560)?


I am producing Dwell Photographs programmatically to be used as wallpapers on iOS. I am utilizing a recognized metadata.mov file bundled with the app (doubtless extracted from a working Dwell Picture with decision 1080×1920). This setup works effective once I use a video of the identical decision.

I am utilizing this open-source library to deal with the video-to-LivePhoto conversion:
https://github.com/TouSC/Video2LivePhoto

Nevertheless, once I attempt utilizing a higher-resolution video (e.g. 2560×1440) to keep away from black bars on high-resolution units (like iPhone 14 Professional Max), the Photographs app exhibits the Dwell Picture, however the movement element does not work—it simply says “Movement Not Accessible.”

I imagine the difficulty is that the static metadata.mov comprises resolution-specific metadata, which prevents it from working accurately with different video sizes.

  • Tried altering the decision of the video (e.g. 1440×2560, 1284×2778) – movement breaks.

  • Tried producing a brand new .mov file utilizing FFmpeg with a silent video observe, matching the brand new decision – Dwell Picture not acknowledged or exhibits errors.

  • Tried modifying the present metadata.mov with instruments like FFmpeg, AtomicParsley, Bento4, and mp4box – ensuing recordsdata typically break the Dwell Picture fully.

  • I anticipated to generate a sound metadata.mov (or related observe) that might assist the customized decision and restore Dwell Picture movement assist.

static func convertVideo(videoURL: URL, full: @escaping (_ success: Bool, _ errorMessage: String?) -> Void) {
    print("begin changing")
    
    guard let metaURL = Bundle.fundamental.url(forResource: "metadata", withExtension: "mov") else {
        full(false, "metadata.mov not discovered")
        return
    }

    let livePhotoSize = CGSize(width: 1440, top: 2560) // <-- up to date decision
    let livePhotoDuration = CMTime(worth: 550, timescale: 600)
    let assetIdentifier = UUID().uuidString

    guard let documentPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first else {
        full(false, "Doc path not discovered")
        return
    }

    let durationPath = documentPath + "/period.mp4"
    let acceleratePath = documentPath + "/speed up.mp4"
    let resizePath = documentPath + "/resize.mp4"
    let finalPath = resizePath

    removeFileIfExists(at: durationPath)
    removeFileIfExists(at: acceleratePath)
    removeFileIfExists(at: resizePath)

    let converter = Converter4Video(path: finalPath)

    Job {
        do {
            attempt await converter.durationVideo(at: videoURL, outputPath: durationPath, targetDuration: 3)
            attempt await converter.accelerateVideo(at: durationPath, to: livePhotoDuration, outputPath: acceleratePath)
            attempt await converter.resizeVideo(at: acceleratePath, outputPath: resizePath, outputSize: livePhotoSize)

            print("### resize Success")
            let picture = attempt await generateCGImage(finalPath: finalPath)

            await generateLivePhoto(
                picture: picture,
                documentPath: documentPath,
                assetIdentifier: assetIdentifier,
                metaURL: metaURL,
                converter: converter,
                full: full
            )
        } catch {
            print("Video conversion error: (error)")
            full(false, error.localizedDescription)
            return
        }
    }
}

Cisco AI Assistant-Your Shortcut to Smarter, Extra Productive IT


Think about a world the place community administration is drastically simplified, troubleshooting is accelerated, and each IT staff member operates like a seasoned professional. Cisco AI Assistant overcomes info overload in networking, simplifies operations, and unlocks peak productiveness. Powered by the superior Cisco Deep Community Mannequin, Cisco AI Assistant automates routine duties, predicts and prevents points earlier than they disrupt your enterprise, and places expert-level community insights at your fingertips.

Seamless integration of Cisco AI Assistant with Cisco platforms like Meraki and ThousandEyes will redefine what’s doable in community administration for your self and your complete IT division.

The facility of AI-driven insights

Managing trendy networks isn’t any small feat. With rising complexity and huge quantities of information, IT groups typically wrestle to extract significant insights throughout totally different networks and community layers. Maintaining with alerts and particulars will be overwhelming—we’ve encountered IT groups that obtain 1000’s of alerts per hour. This may and should be simplified.

Cisco AI Assistant is a generative AI interface that makes use of pretrained fashions tuned for domain-specific networking duties and integrates with a wealth of real-time knowledge to supply simplified, actionable insights (Determine 1).

Determine 1. Cisco AI Assistant question

By offering guided troubleshooting, Cisco AI Assistant simplifies root-cause evaluation and accelerates problem decision (Determine 2). It permits extra proactive IT operations by figuring out potential points and quickly helps determine and remediate these points after they come up.

Determine 2. Troubleshooting module

Put Cisco AI Assistant to work to:

  • Broaden end-to-end monitoring and visibility. Get summarized community well being info throughout shoppers, LAN, WAN, and functions. Cisco AI Assistant highlights impacted shoppers, units, and functions and prioritizes sensible alerts with clever root-cause evaluation by severity. By these real-time actionable insights, IT groups keep knowledgeable about community standing across the clock.
  • Supercharge troubleshooting. Cross-domain visibility accelerates root-cause evaluation. Guided workflows counsel remediation steps, and in lots of circumstances, automates decision. These options assist IT and networking groups repair points quick to attenuate downtime and efficiency degradation.
  • Automate and optimize workflows. Cisco AI Assistant can automate migration, configuration, and refresh throughout wi-fi, switching, and routing, saving IT employees time and decreasing complexity.
  • Guarantee each digital expertise. Cisco AI Assistant delivers deeper insights into community well being and efficiency throughout owned and unowned networks (powered by ThousandEyes). It proactively identifies points earlier than efficiency is impacted and ensures that the community meets service stage agreements.
  • Get organized. You may speak to it as you’d a human assistant, for instance, “Give me an replace on actions I’ve missed since I went to lunch, together with related conversations, community configuration modifications, Webex staff messages, and requests for my enter.”

Integration with Cisco ThousandEyes and the Meraki dashboard

The mixing with Cisco ThousandEyes and the Meraki dashboard enhances the capabilities of Cisco AI Assistant by bringing collectively knowledge insights and operational instruments. By its conversational interface, it helps customers perceive the basis reason for community points with minimal effort (Determine 3).

Determine 3. Utilizing Cisco AI Assistant with ThousandEyes

This integration democratizes entry to ThousandEyes insights, empowering IT customers like website reliability engineers (SREs), DevOps, and assist desk employees to confidently resolve advanced operational challenges. Utilizing pure language queries, customers can work together with Cisco AI Assistant to uncover actionable insights from the Meraki dashboard, reminiscent of figuring out community efficiency bottlenecks, analyzing machine connectivity, or monitoring bandwidth utilization. Moreover, Cisco AI Assistant can automate routine configurations and orchestrate modifications throughout Meraki units, decreasing handbook effort and making certain consistency.

AI-driven IT comes of age

Cisco AI Assistant is greater than only a device. By broadening entry to superior insights and automating advanced duties, it empowers organizations to ship resilient digital experiences and enhances teamwork and operational effectivity. With guided workflows and in-product explanations, staff members can upskill and confidently sort out advanced networking challenges like seasoned consultants. By automating repetitive duties, Cisco AI Assistant permits IT groups to shift their focus to strategic initiatives to unravel issues and drive innovation to propel organizations ahead.

By constantly evolving with updates and new options, it retains tempo with the fast developments in AI, making certain organizations keep forward of the curve. Whether or not it’s automating workflows, surfacing actionable insights, or minimizing handbook, repetitive duties, Cisco AI Assistant units a brand new customary for what’s doable in IT—empowering groups to do extra with much less and paving the best way for a better, extra agile future.

Join a free trial of Meraki and ThousandEyes to
expertise the facility of Cisco AI Assistant.

Share: