10.4 C
New York
Friday, March 14, 2025
Home Blog Page 5

ios – .NET MAUI – Get machine mannequin quantity


I’m in search of a method to get the machine quantity (particularly for iPhone) in .NET MAUI like this:

iPhone4            => 4,
iPhone4S           => 4,
iPhone5            => 5,
iPhone5S           => 5,
iPhone5C           => 5,
iPhone6            => 6,
iPhone6Plus        => 6,
iPhone6S           => 6,
iPhone6SPlus       => 6,
iPhoneSE           => 6,
iPhone7            => 7,
iPhone7Plus        => 7,
iPhone8            => 8,
iPhone8Plus        => 8,
iPhoneX            => 10,
iPhoneXS           => 10,
iPhoneXSMax        => 10,
iPhoneXR           => 10,
iPhone11           => 11,
iPhone11Pro        => 11,
iPhone11ProMax     => 11,
iPhoneSE2          => 11,
iPhone12Mini       => 12,
iPhone12           => 12,
iPhone12Pro        => 12,
iPhone12ProMax     => 12,
iPhone13Mini       => 13,
iPhone13           => 13,
iPhone13Pro        => 13,
iPhone13ProMax     => 13,
iPhoneSE3          => 13,
iPhone14           => 14,
iPhone14Plus       => 14,
iPhone14Pro        => 14,
iPhone14ProMax     => 14,
iPhone15           => 15,
iPhone15Plus       => 15,
iPhone15Pro        => 15,
iPhone15ProMax     => 15,
iPhone16           => 16,
iPhone16Plus       => 16,
iPhone16Pro        => 16,
iPhone16ProMax     => 16,
iPhone16e          => 16,

I do know there have to be a method to get the identifiers like iPhone11,2 (iPhone XS) or iPhone17,3 (iPhone 16) like on this publish: The way to decide the present iPhone/machine mannequin?

However I cant determine how one can get them.

All I acquired is to make use of Microsoft.Maui.Gadgets.DeviceInfo

Utilizing DeviceInfo.Mannequin solely returns “iPhone” with none information concerning the mannequin quantity.

I wrote a prototype technique that reads the quantity by way of regex from the string returned by DeviceInfo.Title which returns one thing like “iPhone 16” by way of regex

public static bool IsIphoneModelNoHigherThan(int modelNo) 
{
    string deviceName = DeviceInfo.Present.Title;

    Match match = Regex.Match(deviceName, @"iPhones*(d+)");

    if (match.Success && int.TryParse(match.Teams[1].Worth, out int modelNumber))
    {
        return modelNumber > modelNo;
    }
    
    return false;
}

This in fact doesn’t work with fashions like iPhone SE/X/XR so I’m in search of a safer method to do it however DeviceInfo doesn’t appears to ship a lot details about the mannequin quantity.

Nationwide Robotics Programme launches RoboNexus to assist Singapore startups

0


Nationwide Robotics Programme launches RoboNexus to assist Singapore startups

Spinoff Robotics, which gives tethered drones for cleansing, is a participant in RoboNexus. Supply: Spinoff Robotics

Singapore is likely one of the prime international locations on this planet by way of robotics density, thanks partially to authorities promotion. The Nationwide Robotics Programme at present launched RoboNexus, an accelerator program designed to fast-track promising robotics startups and small and midsize enterprises, or SMEs, from Singapore onto the worldwide stage.

The Nationwide Robotics Programme (NRP) unveiled this system at RoboSG! 2025, Singapore’s largest robotics showcase. RoboNexus is meant to supply native startups with tailor-made mentorships, business-development assist, and world market entry.

“We’ve a rising and modern robotics start-up neighborhood that wishes to make a larger influence globally. We’ll improve our ecosystem for robotics start-ups in Singapore to collaborate, scale and seize world market alternatives.” acknowledged Tung Meng Fai, govt director (designate) of the NRP. “RoboNexus brings collectively public and private-sector companions to speed up robotics innovation into influence — strengthening our industries, empowering folks, and addressing world challenges.”

After South Korea, Singapore has the world’s second-highest robotic density, with 770 robots per 10,000 staff in 2023, in line with the Worldwide Federation of Robotics (IFR). The group famous that the nation, which positioned above China, Germany, and Japan, has a comparatively low variety of workers within the manufacturing business. By comparability, the U.S. had a robotic density of 295 items in 2023 and was ranked eleventh.


SITE AD for the 2025 Robotics Summit registration.
Register now so you do not miss out!


NRP focuses on startups in Singapore

The Nationwide Robotics Programme is a multi-agency nationwide program hosted by the Company for Science, Know-how and Analysis (A*STAR). The company oversees the analysis, improvement, and translation of robotics enablers and techniques in Singapore.

Established in 2016 as a part of the Analysis, Innovation and Enterprise (RIE) initiative, the NRP mentioned it goals to catalyze differentiated robotics capabilities by funding user-driven analysis and improvement. This system additionally makes use of the initiatives it funds to develop Singapore’s robotics expertise pool and nurture the native ecosystem.

Singapore introduced in April 2024 that it was investing $60 million within the NRP.

Since its pilot in September 2024, six firms have begun benefitting from RoboNexus.

  • LionsBot: This startup, based in 2018, has developed autonomous cleansing robots for industrial areas.
  • KABAM Robotics: The Co-Lab and Halo robots use Sensible+ to intelligently clear and safe services, in line with this firm, based in 2020.
  • dConstruct Robotics: Based in 2021, dConstruct makes use of simultaneous localization and mapping (SLAM) navigation and 3D digital twins to assist industries comparable to development, protection, and logistics.
  • Spinoff Robotics: Additionally based in 2021, Spinoff develops tethered drones for high-altitude industrial cleansing and inspections.
  • XSQUARE Applied sciences: This firm, based in 2019, affords autonomous forklifts and the Xymphony orchestration software program to assist warehouse operators handle labor shortages and rising operational calls for.
  • Globotix: This 2016-founded startup affords modular, multi-functional robots comparable to FLEXA for services administration.

LionsBot and KABAM Robotics tapped into analysis and expertise pipelines to speed up product improvement, whereas the opposite 4 firms have refined and deployed their applied sciences by means of end-user collaborations and expanded business partnerships.

In November 2024, three firms joined an NRP-led business and analysis journey to the U.S., assembly prime robotics firms, researchers, and buyers to discover enterprise alternatives, study from world finest practices, and strengthen their plans for worldwide progress.

“RoboNexus has performed a pivotal function in driving dConstruct Robotics’ growth, offering helpful world market insights, fostering strategic partnerships, and opening doorways to essential networks inside the Singapore authorities and internationally,” mentioned Chinn Lim, co-founder and CEO of dConstruct Robotics. “These collaborations have strengthened dConstruct Robotics’ market presence and sharpened its strategic focus, positioning the corporate for continued progress within the AI and robotics sector.’

With the official launch, RoboNexus is open for registrations from Singapore-based robotics firms and people seeking to set up operations in Singapore.

XSQARE Robotics is a Singapore company offering autonomous forklifts like the one shown here.

XSQARE mentioned its autonomous forklifts and software program assist optimize supplies dealing with. Supply: XSQARE Robotics

RoboSG! 2025 exhibits off Singapore’s improvements

NRP claimed that RoboSG! 2025 is Singapore’s largest robotics showcase, that includes greater than 75 robots throughout 65 cubicles spanning eight thematic zones. The 2-day occasion greater than doubled the dimensions of NRP’s first large-scale public occasion, NRP 6, in 2023.

Day 1 targeted on business engagement, whereas Day 2 opened to the general public to boost consciousness and encourage the following technology of robotics expertise. Attendees skilled stay demonstrations of robots for safety, facility administration, final mile-delivery, assistive healthcare and wellness.

JTC Corp.’s Punggol Digital District (PDD) hosted the occasion. PDD’s digital spine, the Open Digital Platform (ODP), affords a testbed for integrating robotics inside city infrastructure by means of real-time information, predictive upkeep, and digital twin know-how.

Dr. Tan See Leng, minister for manpower and second minister for commerce and business, officiated the RoboNexus launch. He was joined by Dr. Janil Puthucheary, minister in control of GovTech, and Alvin Tan, minister of state for tradition, neighborhood, and youth, in addition to commerce and business. Esben Østergaard, co-founder of Common Robots and co-founder and CEO of REInvest Robotics, sits on the RoboNexus Advisory Board.

Dr. Puthucheary, who can also be senior minister of state for digital improvement and knowledge and well being, witnessed the signing of 1 analysis collaboration settlement (RCA) and two memorandums of understanding (MoUs). The agreements plan to deliver collectively authorities companies, analysis establishments, and business leaders to advance robotics analysis, business collaboration, and industrial adoption.

“Our robotics ecosystem is rising steadily,” mentioned Prof Quek Tong Boon, chief govt of NRP, in his welcoming remarks. “When NRP first began eight years in the past, I couldn’t identify greater than 10 robotics provide firms in Singapore.”

“Two years in the past, I shared that NRP had by then mapped 205,” he added. “As of final week, we now have 302 firms in our database.”

The NRP’s earlier initiatives embrace RoboCluster, an enabler for sectors comparable to superior manufacturing, aviation, maritime, and services administration.

“RoboCluster facilitates shut collaboration amongst analysis establishments, robotics firms, authorities companies, and business finish customers, making certain robotics improvements handle business wants by means of scalable, impactful options,” mentioned the group.

 

 

openvpn server: why is my velocity low when the machine internet hosting openvpn server downloads from a linked vpn consumer?


I wrestle to repair sluggish downloads on a machine performing as each reverse proxy and openvpn server, when the reverse proxy serves content material from a vpn consumer.

I’ve three machines (in numerous places, completely different networks) that I have been utilizing to attempt to clear up this difficulty:

  • Server (Ubuntu 22)
  • Shopper (Ubuntu 22)
  • Laptop computer (Home windows 11)

The Server runs openVPN server v 2.6.13, and each Shopper and Laptop computer hook up with it.
The Server additionally runs a reverse proxy; accepting inbound connections and passing them to the VPN IP of Shopper. That is the place I noticed the issue initially; downloading information from the service on Shopper was performing actually dangerous.

Nevertheless; after digging round in reverse proxy settings for a bit with none enchancment I began utilizing iperf3 to exclude the reverse proxy as a supply of error.

I began an iperf3 server on Shopper, and ran assessments from Laptop computer and Server with the next command, to simulate Shopper sending information:

iperf3 -c [IP of Client] -R

that is the results of my take a look at between Server and Shopper:

Connecting to host [REDACTED], port 5201
Reverse mode, distant host [REDACTED] is sending
[  5] native [REDACTED] port 42646 linked to [REDACTED] port 5201
[ ID] Interval           Switch     Bitrate
[  5]   0.00-1.00   sec   454 KBytes  3.72 Mbits/sec
[  5]   1.00-2.00   sec   163 KBytes  1.33 Mbits/sec
[  5]   2.00-3.00   sec   308 KBytes  2.53 Mbits/sec
[  5]   3.00-4.00   sec   416 KBytes  3.41 Mbits/sec
[  5]   4.00-5.00   sec   404 KBytes  3.31 Mbits/sec
[  5]   5.00-6.00   sec   235 KBytes  1.92 Mbits/sec
[  5]   6.00-7.00   sec   184 KBytes  1.51 Mbits/sec
[  5]   7.00-8.00   sec   540 KBytes  4.43 Mbits/sec
[  5]   8.00-9.00   sec  94.7 KBytes   776 Kbits/sec
[  5]   9.00-10.00  sec   475 KBytes  3.89 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Switch     Bitrate         Retr
[  5]   0.00-10.04  sec  3.31 MBytes  2.76 Mbits/sec  309             sender
[  5]   0.00-10.00  sec  3.20 MBytes  2.68 Mbits/sec                  receiver

And that is the end result between Laptop computer and Shopper:

Connecting to host [REDACTED], port 5201
Reverse mode, distant host [REDACTED] is sending
[  5] native [REDACTED] port 37536 linked to [REDACTED] port 5201
[ ID] Interval           Switch     Bitrate
[  5]   0.00-1.00   sec  6.54 MBytes  54.9 Mbits/sec
[  5]   1.00-2.00   sec  7.95 MBytes  66.7 Mbits/sec
[  5]   2.00-3.00   sec  9.06 MBytes  76.0 Mbits/sec
[  5]   3.00-4.00   sec  7.83 MBytes  65.7 Mbits/sec
[  5]   4.00-5.00   sec  7.03 MBytes  59.0 Mbits/sec
[  5]   5.00-6.00   sec  3.69 MBytes  31.0 Mbits/sec
[  5]   6.00-7.00   sec  5.05 MBytes  42.3 Mbits/sec
[  5]   7.00-8.00   sec  6.37 MBytes  53.5 Mbits/sec
[  5]   8.00-9.00   sec  5.89 MBytes  49.4 Mbits/sec
[  5]   9.00-10.00  sec  6.62 MBytes  55.6 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Switch     Bitrate         Retr
[  5]   0.00-9.27   sec  67.9 MBytes  61.5 Mbits/sec  586             sender
[  5]   0.00-10.00  sec  66.0 MBytes  55.4 Mbits/sec                  receiver

Since each Laptop computer and Shopper join as VPN purchasers of Server, all communication between Laptop computer and Shopper move by means of Server, this has additionally been noticed by monitoring with iftop throughout a iperf3-test.

MTU is about at 1500 throughout all three machines, there’s negligeble cpu utilization improve throughout the take a look at runs.

I’ve tried setting sndbuf and rcvbuf to 0, having them at 512000, disabling NIC offloading (gro, tso, gso) on Server and Shopper however I observe no change for higher or worse updating these settings.

I can’t perceive why the bitrate is way decrease between Server and Shopper, in comparison with Laptop computer and Shopper (the place all information is distributed through Server)?

Any recommendation is appreciated, thanks upfront.

What the EPA’s rollback announcement means proper now


EPA Chief Lee Zeldin introduced what he’s calling the “greatest deregulatory motion in U.S. historical past,” inside the EPA by overhauling 31 environmental guidelines relationship again to the Obama period.

“[The EPA’s] announcement might put hundreds of thousands of People’ well being in jeopardy and is antithetical to EPA’s core mission,” stated Conrad Schneider, U.S. senior director on the Clear Air Job Drive. “Deregulating emissions from energy vegetation, oil and gasoline amenities, vehicles, vehicles and extra is harmful and faulty motion that may damage American’s security and wellbeing.”

Some guidelines dealing with overhaul embody:

  • Energy plant emissions rules (Clear Energy Plan 2.0): On Might 1, President Joe Biden’s EPA launched the Clear Energy Plan 2.0, requiring coal vegetation set to retire earlier than 2035 and 2040 to scale back emissions by 16 p.c; any coal vegetation working previous 2040 are anticipated to scale back emissions by 90 p.c.
  • Greenhouse Fuel Reporting Program (GHGRP): The Obama-era rule requires massive emitters, gas and industrial gasoline suppliers to report greenhouse gasoline emissions and different related data to the EPA.
  • Steam Electrical Energy Producing Effluent Pointers: Up to date in 2024, the rule locations strict tips on the extent of poisons launched in wastewater related to coal vegetation.
  • Expertise Transition Rule: This rule units limits on applied sciences that emit hydrofluorocarbons in particular sectors, requiring companies to transition to extra environment friendly fashions of the tech as its developed.
  • 2009 Endangerment Discovering: This Obama-era regulation classifies carbon dioxide, methane, nitrous oxide, hydrofluorocarbons, perfluorocarbons and sulfur hexafluoride as a public well being menace.

“The EPA might be reconsidering many suffocating guidelines that limit almost each sector of our financial system and price People trillions of {dollars},” Zeldin stated, with out providing proof, in a video posted together with the EPA’s assertion.

It’s vital to make clear that no rules have been modified as of but. Zeldin merely introduced his intention to “reassess” particular packages within the close to future. However even the potential of adjusting rules for which companies and utilities have needed to reconfigure their operations is destabilizing. And whereas some might discover it simpler to regulate to a change in comparatively latest coverage, Obama-era rules have been business-as-usual for greater than 15 years.

In any case, there is no such thing as a definitive timeline for these adjustments. And it’s doubtless that dismantling the reported 31 guidelines might be a sophisticated course of slowed by lawsuits.

“Earlier than finalizing any of those actions, the regulation says EPA should suggest its adjustments, justify them with science and the regulation, and take heed to the general public and reply to its issues,” stated Jackie Wong, senior vp for local weather and vitality at NRDC in an announcement.

The extent to which the EPA or the Trump administration will comply with the regulation stays an open query.

What’s subsequent

For sustainability professionals, the EPA’s introduced intentions — and potential for pushback — promise regulatory uncertainty. That may imply disruption to each day-to-day enterprise operations and long-term planning. Any investments or actions meant to adjust to Obama- or Biden-era guidelines could also be out of date if the related rules are stripped down or eliminated altogether. In brief, this improvement leaves many professionals with a large query mark on their 2025-2026 budgets transferring ahead.

Trellis will proceed to observe the story because it progresses.

New MassJacker Malware Targets Piracy Customers, Hijacking Cryptocurrency Transactions

0


Mar 14, 2025Ravie LakshmananSoftware program Safety / Cybercrime

New MassJacker Malware Targets Piracy Customers, Hijacking Cryptocurrency Transactions

Customers trying to find pirated software program are the goal of a brand new malware marketing campaign that delivers a beforehand undocumented clipper malware known as MassJacker, based on findings from CyberArk.

Clipper malware is a kind of cryware (as coined by Microsoft) that is designed to observe a sufferer’s clipboard content material and facilitate cryptocurrency theft by substituting copied cryptocurrency pockets addresses with an attacker-controlled one in order to reroute them to the adversary as an alternative of the supposed goal.

Cybersecurity

“The an infection chain begins at a website known as pesktop[.]com,” safety researcher Ari Novick stated in an evaluation printed earlier this week. “This website, which presents itself as a website to get pirated software program, additionally tries to get folks to obtain all kinds of malware.”

The preliminary executable acts as a conduit to run a PowerShell script that delivers a botnet malware named Amadey, in addition to two different .NET binaries, every compiled for 32- and 64-bit structure.

The binary, codenamed PackerE, is accountable for downloading an encrypted DLL, which, in flip, hundreds a second DLL file that launches the MassJacker payload by injecting it right into a professional Home windows course of known as “InstalUtil.exe.”

MassJacker Clipper Malware

The encrypted DLL incorporates options that improve its evasion and anti-analysis capacity, together with Simply-In-Time (JIT) hooking, metadata token mapping to hide perform calls, and a customized digital machine to interpret instructions versus operating common .NET code.

MassJacker, for its half, comes with its personal anti-debugging checks and a configuration to retrieve all of the common expression patterns for flagging cryptocurrency pockets addresses within the clipboard. It additionally contacts a distant server to obtain information containing the checklist of wallets below the risk actor’s management.

“MassJacker creates an occasion handler to run every time the sufferer copies something,” Novick stated. “The handler checks the regexes, and if it finds a match, it replaces the copied content material with a pockets belonging to the risk actor from the downloaded checklist.”

Cybersecurity

CyberArk stated it recognized over 778,531 distinctive addresses belonging to the attackers, with solely 423 of them containing funds totaling roughly $95,300. However the whole quantity of digital property held in all these wallets previous to them being transferred out stands at round $336,700.

What’s extra, cryptocurrency price about $87,000 (600 SOL) has been discovered parked in a single pockets, with over 350 transactions funneling cash into the pockets from completely different addresses.

Precisely who’s behind MassJacker is unknown, though a deeper examination of the supply code has recognized overlaps with one other malware often called MassLogger, which has additionally leveraged JIT hooking in an try to withstand evaluation efforts.

Discovered this text fascinating? Observe us on Twitter and LinkedIn to learn extra unique content material we submit.