I’m attempting to put in writing a UITest for SwiftUI hyperlink that I’ve arrange within the following method:
var physique: some View {
privacyPolicyLink
}
non-public func privacyPolicyLink(with url: URL) -> Textual content {
Textual content(.init("[privacy policy]((url))"))
.underline()
.applyStyling() // applies fonts and foreground shade
}
non-public var privacyPolicyURLView: Textual content {
textView(withDisplayText: "For extra data, please see our )
+ privacyPolicyLink(with: url)
+ textView(withDisplayText: ".")
}
non-public func textView(withDisplayText textual content: String) -> Textual content {
Textual content(textual content)
.applyStyling() // applies fonts and foreground shade
}
This renders wonderful and works as anticipated:
Nevertheless, I’m struggling to discover a strategy to faucet on the hyperlink in a UITest.
What I attempted:
Placing the three views in an HStack as an alternative of concatenating the textual content view. This does work, nonetheless, I am unable to go along with this method because the spacing turns into bizarre when the gadget font will increase and I must deal with it as a sentence moderately than 3 completely different components.
I attempted including an accessibilityIdentifier to the whole Textual content view after which tried discovering a hyperlink inside it
// Within the view
privacyPolicyURLView
.accessibilityIdentifier("privacyPolicyLabel")
// Within the take a look at
let privacyPolicyLabel: XCUIElementQuery = elementQuery(kind: .staticText, byIdentifier: "privacyPolicyLabel")
let privacyPolicyLink = privacyPolicyLabel.ingredient.hyperlinks["privacy policy"].firstMatch
privacyPolicyLink.faucet()
I get an error that No matches discovered.
I do one thing much like get hyperlinks through the app
let privacyPolicyLink = app.hyperlinks["privacy policy"].firstMatch
privacyPolicyLink.faucet()
I get an identical error Didn't faucet "privateness coverage" Hyperlink: No matches discovered for first question match sequence: Descendants matching kind Hyperlink -> Components matching predicate '"privateness coverage" IN identifiers', given enter App ingredient pid: 19868
Have you learnt any strategy to faucet the particular hyperlink inside a SwiftUI textual content view in a UITest ?
Sourcegraph is a strong code search and intelligence instrument that helps builders navigate and perceive massive codebases effectively. It gives superior search performance throughout a number of repositories, making it simpler to search out references, features, and dependencies. Moreover, Sourcegraph integrates with numerous improvement workflows to streamline code opinions and collaboration throughout groups.
Beyang Liu is the CTO and Co-Founder at Sourcegraph, the place he has labored for the previous twelve years. On this episode he joins the present with Sean Falconer to speak in regards to the frontier of leveraging AI in software program engineering.
Sean’s been an educational, startup founder, and Googler. He has printed works protecting a variety of matters from AI to quantum computing. At present, Sean is an AI Entrepreneur in Residence at Confluent the place he works on AI technique and thought management. You possibly can join with Sean on LinkedIn.
Builders, we’ve all been there… It’s 3 AM and your cellphone blares, jolting you awake. One other alert. You scramble to troubleshoot, however the complexity of your microservices setting makes it almost inconceivable to pinpoint the issue rapidly.
That’s why Chronosphere is on a mission that can assist you take again management with Differential Prognosis, a brand new distributed tracing characteristic that takes the guesswork out of troubleshooting. With only one click on, DDx robotically analyzes all spans and dimensions associated to a service, pinpointing the most probably explanation for the problem.
Don’t let troubleshooting drag you into the early hours of the morning. Simply “DDx it” and resolve points sooner.
See why Chronosphere was named a frontrunner within the 2024 Gartner Magic Quadrant for Observability Platforms at chronosphere.io/sed.
Understanding the small print of infrastructure instruments matter, and there’s no higher method to perceive that than trying instantly on the code. Open supply codebases give everybody the flexibility to examine, audit, and contribute to the software program they use, enhancing belief and transparency.
Bitwarden is a trusted open supply and end-to-end encrypted safety resolution that empowers companies and people to securely handle and share info on-line. Made by builders such as you, Bitwarden provides open supply options for just about each credential administration use case, from secrets and techniques administration to password administration and passwordless. Builders may even securely handle their ssh keys with the brand new Bitwarden ssh agent! Get began in your open supply safety journey at the moment and begin your free trial at Bitwarden.com!
In a serious leap ahead for productiveness software program, Sourcetable has introduced a $4.3 million seed spherical and the launch of what it calls the world’s first autonomous, AI-powered spreadsheet — a “self-driving” expertise that reimagines how people work together with knowledge.
With backing from high buyers together with Bee Companions, Julien Chaumond (Hugging Face), Preston-Werner Ventures (GitHub co-founder), Roger Bamford (MongoDB), and James Beshara (Magic Thoughts), Sourcetable is taking goal at an issue hiding in plain sight: regardless of over 750 million individuals utilizing spreadsheets day by day, most battle with even fundamental capabilities like VLOOKUP or pivot tables.
“AI is the most important platform shift for the reason that browser, with an even bigger alternative for disruption,” mentioned Eoin McMillan, CEO and co-founder. “As AI makes evaluation simpler, everyone turns into an analyst.”
From Handbook to Magical: A New Approach to Work With Knowledge
Sourcetable’s huge thought is deceptively easy: what when you may speak to your spreadsheet the way in which you speak to a colleague?
As a substitute of formulation and syntax, customers communicate or sort their requests in plain English, and Sourcetable’s AI handles every part — from constructing pivot tables and cleansing messy knowledge to producing visualizations and enriching datasets with web-sourced analysis.
This voice-first interface brings the expertise into what the corporate dubs “vibe mode,” echoing the rising observe of vibe coding — the place customers collaborate with AI in a extra fluid, artistic method, typically pushed by pure language or instinctive prompts.
Below the Hood: What Powers a Self-Driving Spreadsheet?
On the coronary heart of Sourcetable is a multi-model AI structure that well selects — and infrequently combines — one of the best AI fashions accessible from OpenAI, Anthropic, Meta (Llama), DeepSeek, Hugging Face, and others. In contrast to Microsoft Excel or Google Sheets, that are tied to their proprietary fashions, Sourcetable is model-agnostic, enabling it to combine cutting-edge capabilities on the day of launch.
However the actual magic lies within the firm’s real-time code analysis loop, a high-performance backend system that checks and verifies AI-generated actions earlier than they’re applied within the spreadsheet. This verification layer solves one of many hardest issues in AI automation: belief.
With out it, absolutely autonomous operations like creating multi-tab monetary fashions or formatting interlinked datasets could be unreliable. With it, Sourcetable turns into not only a good assistant, however a trusted co-pilot — or extra precisely, an autopilot.
From Technical Customers to Everybody
Sourcetable was initially designed for energy customers — knowledge scientists and SQL specialists — however the true breakthrough got here when the founders realized that AI may flatten the training curve for non-technical customers.
As a substitute of constructing instruments for specialists, they flipped the script: construct a instrument that makes everybody an skilled.
With options like:
AI System Help: Routinely generate formulation from pure language.
AI Chart Generator: Create compelling visualizations with easy prompts.
AI Analysis: Enrich datasets with web-based info.
Knowledge Cleansing & Summarization: Establish duplicates, standardize codecs, and condense 1000’s of rows into executive-ready summaries.
Artificial Knowledge Technology: Create real looking mock knowledge for forecasting, modeling, and testing.
Sourcetable makes high-level knowledge evaluation accessible to anybody, whether or not you are a college pupil, a startup founder, or a Fortune 500 government.
And it’s catching on — already in use by college and college students at establishments like Stanford, Oxford, Harvard, and Peking College.
The Future: Extra Than a Spreadsheet
Sourcetable isn’t simply reinventing the spreadsheet — it’s constructing the inspiration for a brand new form of AI-native working system for knowledge.
With upcoming options that allow AI brokers to learn and write to third-party methods, the platform is gearing up for seamless agent-to-agent communication — a future the place bots speak to bots to unravel issues, crunch numbers, and run operations with out human intervention.
On this imaginative and prescient, Sourcetable turns into a platform for AI-native productiveness, not only for people, however for AI brokers too.
“Sooner or later, it’s apparent that people received’t be doing spreadsheet grunt work,” mentioned Simar Singh, co-founder at Butternut AI. “We use Sourcetable to hurry up our inside analytics workflows.”
“Sourcetable is nice for importing knowledge and visualizing forecasts utilizing the AI assistant,” added Andrey Karmanov, Analysis Assistant at Waterloo College.
Closing Ideas
Spreadsheets haven’t seen a real platform disruption for the reason that launch of Google Sheets in 2006. With its self-driving spreadsheet and a daring imaginative and prescient for AI-native productiveness, Sourcetable could have simply modified that.
As the road between human and machine collaboration blurs, Sourcetable stands on the frontier — turning spreadsheets from a chore right into a artistic, conversational expertise.
Whether or not you’re cleansing knowledge, constructing fashions, or just making an attempt to make sense of rows and columns, Sourcetable’s message is evident: cease working in spreadsheets — and begin vibing with them.
Final week, CleanTechnica recapped among the newest developments in wi-fi EV charging, that includes the Pennsylvania-based agency InductEV. Our readers had many feedback and questions on wi-fi EV charging. The oldsters at InductEV learn all of them and kindly supplied their extra insights in an in depth e mail. Right here they’re, edited to avoid wasting house and keep away from repetition. I’ve additionally trimmed the feedback down and omitted some that have been redundant.
Is Dynamic Wi-fi EV Charging The Most Efficient Use Of Out there Assets?
Our first commenter famous that final week’s article uncared for to say the potential for wi-fi EV charging to assist speed up the uptake of V2X-enabled electrical automobiles. Additionally they endorsed the thought of putting a number of, stationary wi-fi chargers alongside a route, reasonably than putting in dynamic or en-route charging methods during which an EV can cost whereas in movement.
InductEV Responds: That’s an awesome level re: the alternatives with V2X participation. InductEV’s system is supported by InductAI, our proprietary Power and Charger Administration software program, which might optimize charging primarily based on renewable vitality availability and/or electrical energy charges.
Our charging {hardware} can be able to connecting and offering energy in <2 seconds as soon as car and floor pads are aligned, making even quick cease occasions useful for car vary.
The Fleet Electrification Angle
The fleet electrification motion has gotten loads of consideration from CleanTechnica through the years, and InductEV additionally took observe of that angle in the identical response. “We’ve additionally seen that on-route wi-fi charging presents an alternate that addresses the factors you elevate about useful resource allocation. As an alternative of requiring an enormous build-out of dynamic charging infrastructure or depot-based wired charging, our strategy permits for optimized fleet deployment, usually with fewer automobiles wanted total than a wired system,” the corporate defined.
“Our system allows automobiles to cost opportunistically at pure stops alongside their routes, successfully mirroring the continual operation you see with diesel automobiles with out the necessity for prolonged depot charging downtimes,” InductEV added. “By charging continuously and in smaller bursts on-route, automobiles can make the most of smaller batteries, which interprets straight into decrease upfront prices and lighter automobiles.
“We’ve seen that our on-route charging can ship greater than a 25% enchancment in Complete Price of Possession (TCO) and ~50% in annual Operational Expenditure (OpEx) financial savings in comparison with conventional wired depot charging. Plus, the usage of smaller batteries and avoiding deep discharge cycles can lengthen battery lifespan by as a lot as 2 to eight occasions, considerably lowering long-term alternative and recycling prices.”
Wi-fi EV Charging Vs. Pantographs
In fact, wired dynamic charging is virtually as outdated as electrical energy. Electrical trolley automobiles used to ply the streets of many US cities, powered by overhead traces. Commuter railways proceed to make use of them as properly.
That brings us to our second commenter, who instructed pantographs are the reply. “Far cheaper to automate overhead pantographs on the ends of bus traces so the motive force can push a button from the drivers seat to interact and disengage the charger. And way more environment friendly,” they wrote.
InductEV Responds: By way of effectivity, fashionable wi-fi charging methods are literally extra environment friendly than critics recommend. InductEV methods persistently reveal peak effectivity of 91% measured end-to-end—from the 480V AC grid enter to the DC output on the battery, with sustained discipline efficiency of over 88% effectivity throughout energy ranges and climate situations.
Wi-fi charging additionally comes with the good thing about no uncovered or transferring elements, eliminating the possibility of unintended harm or vandalism, saving on costly upkeep prices and useful actual property that might in any other case be occupied by the massive above-ground electrical tools required of pantograph methods or normal wired chargers.
This Is Not Your Mother and father’ (Or Your Grandparents’) Wi-fi EV Charging System
Equally, Commenter #3 and others instructed that hardware-centric EV charging methods are extra economical and environment friendly than wi-fi methods. One instructed a 3rd rail, just like these utilized in subways. Different commenters echoed the sentiment, together with one who said, “I’ve been constructing, driving value efficient EVs 33 yrs and all that point wi-fi EV charging has been hyped however by no means succeeding.”
InductEV Responds: Fashionable high-power wi-fi charging for EVs makes use of superior resonant DC-to-DC converter know-how, which is basically completely different from older inductive charging methods utilized in purposes like cell telephones.
Prices may be lowered by means of smaller batteries wanted on account of alternative charging, prolonged battery lifespan (2–8x) by avoiding deep biking, and lowered actual property prices as charging cupboards may be put in as much as 100 ft away from flush mounted chargers.
This additionally means much less upkeep, as our wi-fi chargers don’t have any transferring elements or obstructions.
We’re not seeing effectivity losses for larger energy purposes. It’s really comparable to standard plug-in charging: our effectivity information exhibits that our wi-fi warmth technology is comparable to standard plug-in charging, which has various ranges of effectivity from 86% to 95%. As talked about above our end-to-end effectivity has been measured at ~90% in precise buyer installations throughout climate situations.
The Security Issue, Amongst Different Advantages
Commenter #4 took observe of some extra advantages of wi-fi EV charging, together with security enhancements and the absence of a plug to fuss with. Theft prevention — “no extra stealing charging cables” — additionally made their checklist.
InductEV Response: Completely. We’ve seen elevated security from hands-free operations the place employees don’t have to deal with charging cables and even depart the car whereas it’s charging.
For instance, our system makes use of a self-resonant mechanism that generates a really slim conical electromagnetic discipline, strictly localized under the car. It exceeds all worldwide requirements for electromagnetic emissions, together with IEEE C95.1 and ICNIRP and car makers have confirmed that the fields emitted by the seat heaters far exceed these produced by the charging system.
As you’ve famous, wired charging cables and infrastructure create collision threat, which our flush mount installations get rid of. We’ve positively seen the good thing about our know-how utilized to fast bus stops, which permits automobiles to cost extra continuously on route, sipping electrical energy whereas in pure cease factors like loading docks and bus stops (alternative charging). This can be a recreation changer for industrial fleets.
On-route charging additionally permits for optimized fleet deployment, doubtlessly lowering fleet dimension by over 30% in comparison with depot-only charging, and may lengthen battery lifespan by 2–8 occasions, resulting in vital long-term value reductions.
Wi-fi charging additionally comes with the good thing about no uncovered or transferring elements, eliminating the possibility of unintended harm or vandalism and saving useful actual property that might in any other case be occupied by the massive above-ground electrical tools required of pantographs or normal wired chargers.
What The Analysts Say
The agency IMR Market Studies is amongst these looking on the present state of wi-fi EV charging, they usually like what they see. Final week IMR launched its newest report on wi-fi charging beneath the title “Wi-fi EV Chargers Market is Going To Growth.”
“This avoids the inconvenience of plugging cables, making charging extra handy, environment friendly, and relevant to a broad vary of purposes,” they summarize, paying attention to hands-free comfort, climate resistance, security hazard and theft avoidance, and compatibility with autonomous automobiles along with effectivity.
“New methods are able to as a lot as 90% effectivity in vitality switch and may connect with good grids for max use of energy,” IMR emphasizes.
Ideas? Drop a observe within the remark thread and tell us what you’re considering.
Picture (cropped): InductEV is among the many wi-fi EV charging innovators bringing new, high-performing chargers to the market (courtesy of InductEV).
Apple has been hit with a nice of €150 million ($162 million) by France’s competitors watchdog over the implementation of its App Monitoring Transparency (ATT) privateness framework.
The Autorité de la concurrence mentioned it is imposing a monetary penalty in opposition to Apple for abusing its dominant place as a distributor of cell functions for iOS and iPadOS units between April 26, 2021 and July 25, 2023.
ATT, launched by the iPhone maker with iOS 14.5, iPadOS 14.5, and tvOS 14.5, is a framework that requires cell apps to hunt customers’ specific consent to be able to entry their machine’s distinctive promoting identifier (i.e., the Identifier for Advertisers or IDFA) and monitor them throughout apps and web sites for functions focused promoting.
“Except you obtain permission from the person to allow monitoring, the machine’s promoting identifier worth shall be all zeros and chances are you’ll not monitor them,” Apple notes on its web site. “Whilst you can show the AppTrackingTransparency immediate everytime you select, the machine’s promoting identifier worth will solely be returned when you current the immediate and the person grants permission.”
App builders, apart from requesting for permission to trace the customers, are additionally required to state the aim behind why such monitoring is important within the first place.
“Whereas the target of the App Monitoring Transparency (‘ATT’) framework isn’t at its core problematic, how ATT is applied is neither crucial for nor proportionate with Apple’s acknowledged goal of defending private information,” it mentioned.
Describing ATT as “artificially advanced,” the regulatory authority mentioned the consent obtained through the framework doesn’t meet the authorized obligations required beneath the French Knowledge Safety Act, requiring builders to make use of their very own consent assortment options. This, it added, results in a number of consent pop-ups being exhibited to customers.
The Autorité additionally referred to as out two sorts of asymmetry in the way it’s applied. One among them issues the truth that consent for monitoring should be confirmed by the customers twice, whereas refusal is a one-step course of — a facet that it mentioned undermines the “neutrality of the framework.”
“Whereas publishers have been required to acquire double consent from customers for monitoring on third-party websites and functions, Apple didn’t ask for consent from customers of its personal functions (till the implementation of iOS 15),” it identified. “On account of this asymmetry, the CNIL fined Apple for infringing Article 82 of the French Knowledge Safety Act, which transposes the ePrivacy Directive.”
“The asymmetry stays at present insofar as Apple has launched a single ‘Customized Promoting’ pop-up to gather person consent for its personal information assortment, whereas persevering with to require double consent for third-party information assortment by publishers.”
It is value noting that the order doesn’t impose any particular adjustments to the framework. In line with Reuters, it is “as much as the corporate to ensure it now complied with the ruling.” The nice is chump change for Apple, which earned a internet revenue of $36.3 billion on revenues of $124.3 billion within the quarter ending December 28, 2024.
In a assertion shared with the Related Press, Cupertino mentioned the ATT immediate is constant for all builders, together with itself, and that it has obtained “robust assist” for the function from customers, privateness advocates, and information safety authorities globally.
Discovered this text fascinating? Observe us on Twitter and LinkedIn to learn extra unique content material we publish.