Normal view

There are new articles available, click to refresh the page.
Today — 15 July 2025Main stream

Australian Premier Albanese Meets China’s Xi in Beijing

Prime Minister Anthony Albanese is trying to deepen ties with China, his country’s biggest trading partner, while being under pressure from the United States.

© Lukas Coch/AAP, via Reuters

Prime Minister Anthony Albanese of Australia arriving in Beijing on Monday.

What does RunningBoard do? 2 Managed apps

By: hoakley
15 July 2025 at 14:30

In the previous article I looked at how RunningBoard monitored an ordinary notarized macOS app, but didn’t manage its life cycle by limiting its access to resources such as memory, CPU or GPU. Here I extend that to the two types of app that are most likely to be managed by RunningBoard, Catalyst and iPadOS apps.

Catalyst

Apple introduced this as a streamlined way for developers of iPadOS apps to be able to create a version that runs in macOS from Catalina onwards. When running on macOS, Catalyst apps are dependent on RunningBoard’s life cycle management, UIKitSystem (which first appeared in macOS Mojave) to bridge between UIKit’s class framework in iPadOS and those in macOS, and additional -board services including FrontBoard, FuseBoard and BaseBoard. Catalyst apps also have access to some features in AppKit, the central class framework for apps developed for macOS, at least until SwiftUI has started to replace it.

Although Apple might have had high hopes of Catalyst bringing many new apps from iPadOS, it hasn’t proved popular with third-party developers, and the ability of Apple silicon Macs to run iPadOS and iOS apps has reduced its relevance to users.

Job descriptions

RunningBoard’s lengthy job descriptions recorded in the log early during the app launch process allow regular macOS, Catalyst and iPadOS apps to be distinguished easily. At the start of each job description, the Platform is recorded, 1 for macOS, 2 for iPadOS, and 6 for Catalyst.

Other differences in job descriptions include:

  • In EnvironmentVariables, iPadOS adds Container values for CFFIXED_USER_HOME and _DYLD_CLOSURE_HOME.
  • In AdditionalProperties, both Catalyst and iPadOS apps have “Managed” set to true, and SpawnConstraints containing their CDHashes.
  • In AdditionalProperties, iPadOS apps have a BeforeTranslocationBundlePath specified.

Catalyst launch

Catalyst apps are launched using the same basic sequence of events as regular macOS apps, with some additional overhead resulting from their UIKitSystem and -board service support. However, when they reach RunningBoard they become managed, in the test case denying it access to the GPU:
00.984295 com.apple.runningboard [app…] Memory Limits: active 0 inactive 0
00.984303 com.apple.runningboard [app…] This process will be managed.
00.984307 com.apple.runningboard <private> is not freezer eligible, disabling freezing.
00.985634 com.apple.runningboard [app…] Set jetsam priority to 0 [0] flag[1]
00.985649 com.apple.runningboard 3638 Set Darwin GPU to "deny"
00.985708 com.apple.runningboard 3638 setGPURole role to 2 (no effect for this process)
00.985715 com.apple.runningboard [app…] Disabled CPU monitoring
00.985716 com.apple.runningboard [app…] Reset CPU monitoring limits to defaults
00.985717 com.apple.runningboard [app…] Resumed CPU monitoring

where [app…] is the app identifier.

Later management includes regular state updates, such as
01.209325 com.apple.runningboard Update delivered for [app…] with taskState 4
01.209327 com.apple.runningboard Received state update for 3638 (app…, running-active-Visible

iPadOS launch

iPadOS and iOS apps are launched completely differently on macOS. Initially MIS, presumably MobileInstallationService, validates the app and its Wrapper, which are translocated to a hidden location in /private/var/folders, from where the wrapped app will be launched. Translocation isn’t intended as a security measure, as it is with macOS apps run there when in quarantine, but is required to work around two limitations:

  • iOS/iPadOS apps may expect to be run from a path that doesn’t contain whitespaces. The path to the translocation folder guarantees that.
  • In macOS, the user can run apps from (almost) any path, such as the Desktop, and can rename apps. The translocation path ensures the app’s name and path remain fixed.

Those are reflected in the following log entries, which have changed little since Big Sur:
00.946662 com.apple.mis Bundle: <private>
00.946662 com.apple.mis Is main executable: 0
00.953668 com.apple.syspolicy MIS validation result: 0
00.953673 com.apple.syspolicy Valid app wrapper: <private>
00.953719 com.apple.syspolicy appWrapperPolicyResult: <private>, AWPolicyResult: 1,1,0
00.956399 com.apple.securityd SecTranslocateCreateGeneric: created /private/var/folders/x4/[…]/d/Wrapper
00.965043 com.apple.launchservices LAUNCH: translocate to <private> from <private>
01.047816 com.apple.launchservices Marking <private> as .requiresSecureLaunch because it is PLATFORM_IOS or PLATFORM_MACCATALYST.
01.049878 com.apple.launchservices LAUNCH: _LSLaunchThruRunningboard: com.parrot.freeflight6 / <private>

FairPlay DRM is then accessed through the Secure Enclave Processor.

When it reaches the attention of RunningBoard, the app’s memory limits are set, it’s denied the GPU, and it’s then managed through its life cycle.
02.365127 com.apple.runningboard [app…:3466] Memory Limits: active 16384 inactive 16384
02.365137 com.apple.runningboard [app…:3466] This process will be managed.
02.365142 com.apple.runningboard <private> is not freezer eligible, disabling freezing.
02.365150 com.apple.runningboard Now tracking process: [app…:3466]
02.367347 com.apple.runningboard 3466 Set Darwin GPU to "deny"
02.367450 com.apple.runningboard 3466 setGPURole role to 2 (no effect for this process)
02.367460 com.apple.runningboard [app…:3466] Disabled CPU monitoring
02.367462 com.apple.runningboard [app…:3466] Reset CPU monitoring limits to defaults
02.367464 com.apple.runningboard [app…:3466] Resumed CPU monitoring
02.367496 com.apple.runningboard [app…:3466] set Memory Limits to Hard Inactive (16384)

where [app…:3466] is the app identifier.

That’s followed by frequent assertions and state updates.

PerfPowerServices

Some users have reported RunningBoard using high CPU %, sometimes associated with high levels from PerfPowerServices. By chance, during these tests I encountered a similar situation. For several seconds, the log was filled with entries recording com.apple.PerfPowerServices requesting management information from RunningBoard about most if not all services running at that time.

Many entry sequences followed the pattern:
00.004740 com.apple.runningboard PERF: Received request from [osservice<com.apple.PerfPowerServices>:976] (euid 0, auid 0) (persona (null)): lookupHandleForPredicate:error:
00.004743 com.apple.runningboard PERF: Received lookupHandleForPredicate request from [osservice<com.apple.PerfPowerServices>:976] (euid 0, auid 0) (persona (null))
00.004971 com.apple.runningboard _multiInstance = 0
00.004973 com.apple.runningboard _executablePath = /usr/sbin/cfprefsd
00.004974 com.apple.runningboard no additional launch properties found for <private>
00.005020 com.apple.runningboard _resolveProcessWithIdentifier pid 2712 euid 277 auid 277
00.005040 com.apple.runningboard Resolved pid 2712 to [osservice<com.apple.cfprefsd.xpc.agent(277)>:2712]
00.005089 com.apple.runningboard memorystatus_control error: MEMORYSTATUS_CMD_CONVERT_MEMLIMIT_MB(-1) returned -1 22 (Invalid argument)
00.005091 com.apple.runningboard memorystatus_control error: MEMORYSTATUS_CMD_CONVERT_MEMLIMIT_MB(0) returned -1 22 (Invalid argument)
00.007828 com.apple.runningboard Full encoding handle <private>, with data 44b0344500000a98, and pid 2712
00.008019 com.apple.runningboard [osservice<com.apple.cfprefsd.xpc.agent(277)>:2712] is not RunningBoard jetsam managed.
00.008040 com.apple.runningboard [osservice<com.apple.cfprefsd.xpc.agent(277)>:2712] This process will not be managed.

for multiple copies of cfprefsd, and many other processes.

Presumably PerfPowerServices is concerned with performance power services, but the purpose of these many requests is unknown. After a few seconds of frenetic activity, and more than 10,000 log entries, this subsided and normal running was resumed. If anyone can provide an explanation, I’d be most grateful.

Key points

  • RunningBoard job descriptions record the app Platform: 1 for macOS, 2 for iPadOS, and 6 for Catalyst.
  • Catalyst apps are managed by RunningBoard through a relatively normal launch sequence.
  • iPadOS/iOS apps are launched differently, in a Wrapper and translocated to avoid problems with their name and path in macOS.
  • iPadOS/iOS apps rely on FairPlay DRM accessed through the Secure Enclave.
  • iPadOS/iOS apps have memory limits imposed by RunningBoard.
  • PerfPowerServices can busy RunningBoard with many requests and high CPU %. The cause is unknown, but that high activity should settle of its own accord.

I'm disappointed but not done with Putin, Trump tells BBC

15 July 2025 at 13:07
Reuters US president Trump is speaking in the Oval Office. He wears a navy suit and red tie. Reuters

Donald Trump has said that he is disappointed but not done with Vladimir Putin, in an exclusive phone call with the BBC.

The US president was pressed on whether he trusts the Russian leader, and replied: "I trust almost no-one."

Trump was speaking hours after he announced plans to send weapons to Ukraine and warned of severe tariffs on Russia if there was no ceasefire deal in 50 days.

In a wide-ranging interview from the Oval Office, the president also endorsed Nato, having once described it as obsolete, and affirmed his support for the organisation's common defence principle.

The president made the phone call, which lasted 20 minutes, to the BBC after conversations about a potential interview to mark one year on since the attempt on his life at a campaign rally in Butler, Pennsylvania.

Asked about whether surviving the assassination attempt had changed him, Trump said he liked to think about it as little as possible.

"I don't like to think about if it did change me," Trump said. Dwelling on it, he added, "could be life-changing".

Having just met with Nato chief Mark Rutte at the White House, however, the president spent a significant portion of the interview expanding on his disappointment with the Russian leader.

Trump said that he had thought a deal was on the cards with Russia four different times.

When asked by the BBC if he was done with Putin, the president replied: "I'm disappointed in him, but I'm not done with him. But I'm disappointed in him."

Pressed on how Trump would get Putin to "stop the bloodshed" the US president said: "We're working it, Gary."

"We'll have a great conversation. I'll say: 'That's good, I'll think we're close to getting it done,' and then he'll knock down a building in Kyiv."

The conversation moved onto Nato, which Trump has previously criticised as "obsolete".

Asked if he still thought this was the case, he said: "No. I think Nato is now becoming the opposite of that" because the alliance was "paying their own bills".

He said he still believed in collective defence, because it meant smaller countries could defend themselves against larger ones.

President Trump was also asked about the UK's future in the world and said he thought it was a "great place - you know I own property there".

He spoke about how he was looking forward to an unprecedented second state visit to the UK in September this year.

On what he wanted to achieve during the visit, Trump said: "Have a good time and respect King Charles, because he's a great gentleman."

China growth beats expectations as Trump tariffs loom

15 July 2025 at 12:30
Getty Images An woman, wearing a blue shirt with orange details, works on the intelligent spinning production line at a workshop of Xin Feng Ming Group on 8 July, 2025 in Huzhou, Zhejiang Province of China. Getty Images

China's economy has slowed as trade turmoil triggered by US President Donald Trump's tariffs and a prolonged crisis in the property market weigh on growth.

Official figures show the world's second largest economy grew by 5.2% in the three months to the end of June, compared to the same time last year. That's down from 5.4% in the previous quarter.

But the country has so far avoided a sharp downturn, partly due to measures announced by Beijing to help support the economy and a fragile tariffs truce with Washington.

Trump has given China until 12 August to reach a long-term trade deal with the US to end a tit-for-tat trade war that saw their tariffs on each other soar to more than 100%.

Some economists expect China to miss its "around 5%" annual growth target this year.

"The real question is by how much. We believe it will defend a floor of 4%, which remains the minimum politically acceptable level," Dan Wang, director for China at consultancy Eurasia Group told the BBC.

A tariffs war between China's President Xi Jinping and Trump led to the US imposing a 145% levy on Chinese imports. In return, Beijing introduced a 125% duty on some US goods.

Washington has also hit countries with close economic ties to China with heavy levies.

Meta to spend hundreds of billions to build AI data centres

15 July 2025 at 11:59
Reuters A phone showing the text "Meta AI" rests on a keyboard. The picture has pink and purple tones. Reuters

Meta's founder Mark Zuckerberg has said the social media giant will spend hundreds of billions of dollars on building huge AI data centres in the US.

The first multi-gigawatt data centre, called Prometheus, is expected to come online in 2026, Zuckerberg said.

He said one of the sites would cover an area nearly the size of Manhattan (59.1 sq km/22.8 sq miles).

Meta has invested heavily in efforts to develop what it called "superintelligence" - technology that it said could out-think the smartest humans.

The company, which has made most of its money from online advertising, generated more than $160bn in revenue in 2024.

In a post on his social media platform, Threads, Zuckerberg said Meta was building several multi-gigawatt clusters, and that one cluster, called Hyperion, could scale up to five gigawatts over several years.

"We're building multiple more titan clusters as well. Just one of these covers a significant part of the footprint of Manhattan," he added.

Prometheus will be built in New Albany, Ohio, while Hyperion will be built in Louisiana and is expected to be fully online by 2030, Zuckerberg said.

He said Meta would "invest hundreds of billions of dollars... to build superintelligence" and that the centres had been given "names befitting their scale and impact".

Karl Freund, principal analyst at Cambrian AI Research, told the BBC, "clearly, Zuckerberg intends to spend his way to the top of the AI heap".

"The talent he is hiring will have access to some of the best AI Hardware in the world," Freund added.

Meta shares were trading 1% higher following the announcement, Reuters news agency reported. The stock has risen more than 20% so far this year.

There are at least 10,000 data centres around the world hosting the cloud - remote servers that store digital information - with most of them located in the US, followed by the UK and Germany.

AI-driven data centres are extremely energy and water intensive. One study estimates that these centres could consume 1.7 trillion gallons of water globally by 2027. A single AI query - for example, a request to ChatGPT - can use about as much water as a small bottle you'd buy from the corner shop.

差点被高空抛物砸中!

By: zzzbbb
15 July 2025 at 10:25
zzzbbb:

凌晨快一点的时候在小区内差点被楼上扔下来的奶茶杯砸到,大概掉在我前进路线的前面 2 米,从杯子里飞出来的东西看,剩下的东西虽然不多,但是整个杯子的底部都碎了(杯子是那种硬塑料的)。 这种冲击力大人被砸到肯定爆头,小孩被砸到也有丧命的可能。 我报了警,奶茶杯上有点单的标签,警察说肯定能找到的。 因为当时太晚了,警察叫我找时间到派出所做笔录,我决定中午不睡觉也要回去派出所做笔录。 另外,我网上查了下高空抛物罪还是挺重的,想了解下这些人的心理,家里没有垃圾桶可以扔吗?为什么非要从楼下扔东西下来。

为什么想不开要和大货车硬钢

By: muluc
15 July 2025 at 09:11
muluc:
转弯让直行没错,事实总算偏离轨道的

骑电动车的:没后视镜、在机动车道,不知道有没有非机动车道

大货车:没按喇叭,右转加速

思考了很多画面:
电动车:转弯路口减速观察后方,电动车走非机动车道。

大货车:我也不知道为什么加速,电动车说大货车没按喇叭提醒她,在思考大货车按喇叭不得吓一跳?

如果只是想备份相册,没有影音等其他需求,有必要上 NAS 吗?

By: qq1147
15 July 2025 at 10:27
qq1147:

偶然间翻到了自己在小米云服务里存的照片,差不多有 9 年了(这里也要感谢小米,好多年没用小米手机了云服务里的照片都还在),就想着能在本地把照片备份下来,了解了下 NAS 感觉太重了又没有必要,没有那么多照片需要保存且只备份相册使用场景太单一,除此以外还有几个需求也希望能满足:

  1. 自己家里有台闲置的笔记本电脑,如果能利用起来就更好了

  2. 家里还有好几部用坏了的旧安卓手机,小米和 oppo 的居多,里面也有很多照片视频,能否想办法把这些资料导出来呢,送去维修感觉不值当

差点被高空抛物砸中!

By: zzzbbb
15 July 2025 at 10:25
zzzbbb:

凌晨快一点的时候在小区内差点被楼上扔下来的奶茶杯砸到,大概掉在我前进路线的前面 2 米,从杯子里飞出来的东西看,剩下的东西虽然不多,但是整个杯子的底部都碎了(杯子是那种硬塑料的)。 这种冲击力大人被砸到肯定爆头,小孩被砸到也有丧命的可能。 我报了警,奶茶杯上有点单的标签,警察说肯定能找到的。 因为当时太晚了,警察叫我找时间到派出所做笔录,我决定中午不睡觉也要回去派出所做笔录。 另外,我网上查了下高空抛物罪还是挺重的,想了解下这些人的心理,家里没有垃圾桶可以扔吗?为什么非要从楼下扔东西下来。

一个新型 IT 培训模式

By: HMYang33
15 July 2025 at 10:07
HMYang33: 只教概念,看大量代码但人工会改参数改数字,却基本不写代码
拿 web 前端开发举例
第一节课讲基本架构,样式骨架逻辑分离的模式,然后让 AI 写一个贪吃蛇或五子棋小游戏,让同学辨认哪些是样式哪些是逻辑。然后让同学们把一部分代码交给 AI 随便改,随便试。
然后教前端中最原子化的东西都有哪些,盒模型,图片,视频,3D 区域,API ,函数,变量,判断,计算,循环。。随机打开五个网站,让同学辨认打开的网站是由哪些东西组合起来的
后面可以教 js 也可以教 css ,但是同样的,不推荐同学们人写代码,而是告诉 AI 在这个概念框架里想要切换成一个什么效果。。
若某个同学不管改几次,AI 都做不到想要的效果,那么老师就过来接手,看 prompt 是否合理,有没有给出代码上下文,是否 AI 在前文生成结果挖了坑。核心在于让同学明白 AI 的局限性
后面每一节课都是只灌输概念,同学在这个概念框架里尝试不同效果,flex 布局有伸缩的特性,常见的布局模式有两端对齐,均分 gap 等等。多多展示些常见的布局模式。同学们也多多尝试
在基础概念能支撑大部分网站时,开始带着同学们做网站,以简单的官网落地页为例子,现场演示如何拆分项目化解为一个一个小需求,然后老师来演示如何根据需求写出 AI 秒懂的 prompt ,复杂的需求需要拆成两次或更多 prompt ,有的时候还需要提前给 AI 喂料。

写到这里笔者突然感觉有点太偏激或者说前沿了,带出来的孩子都是过度依赖于 AI 的。不过现在这个时代不依赖 AI 都快没竞争力了

那些牙齿做全口贴面的人后续的用牙体验如何?

By: bloks
15 July 2025 at 10:06
bloks: 因为有一颗上门侧牙发育不良,导致牙齿本身小,两边缝隙好大,就去做了个贴面,有磨牙,做完后已经一个多月。用牙过程中感觉使不上劲,稍微用点力咬到食物会有轻微酸痛。

那些全口牙齿做贴面日常用牙体验怎么样,有做过的分享一下吗?

记录今天上班路上遇到的奇葩路人

By: SoulFlame
15 July 2025 at 10:04
SoulFlame: 早上骑电鸡经过一条双向窄道,前面公交到站停车上下客,逆向没有超车机会,大家停下等车。
就等了几秒钟,旁边一个骑电鸡五十多岁的大叔疯狂按喇叭,然后后面一辆 4 轮电动环卫车居然也跟着起哄按喇叭(原来脑残也会共鸣)。
公交上完客向前行驶 20 米遇到无信号灯路口,公交停车等待左转机会,那个大叔直行被堵过不去,这时候对着公交骂起“叼雷老母”,我都惊呆了,真是奇葩啊,也就是公交司机听不到,不然得干起来。

小固态硬盘,系统分区,这读写量也太大了吧

By: allplay
15 July 2025 at 10:03
allplay: ----------------------------------------------------------------------------
CrystalDiskInfo 9.2.3 (C) 2008-2024 hiyohiyo
Crystal Dew World: https://crystalmark.info/
----------------------------------------------------------------------------

OS : Windows 11 Pro 24H2 [10.0 Build 26100] (x64)
Date : 2025/07/15 9:55:58

-- Controller Map ----------------------------------------------------------
- Microsoft 存储空间控制器 [SCSI]
+ 标准 NVM Express 控制器 [SCSI]
- LITEON T11 256
+ 标准 NVM Express 控制器 [SCSI]
- ---NVMe ---
+ USB Attached SCSI (UAS) 大容量存储设备 [SCSI]
- ---

-- Disk List ---------------------------------------------------------------
(01) LITEON T11 256 : 256.0 GB [0/0/0, sq] - nv
(02) --- [2/2/0, sa1]
(03) --- [1/1/0, sq] - nv

----------------------------------------------------------------------------
(01) LITEON T11 256
----------------------------------------------------------------------------
Model : LITEON T11 256
Firmware : LTNFW3.0
Serial Number : ---
Disk Size : 256.0 GB
Interface : NVM Express
Standard : NVM Express 1.2
Transfer Mode : PCIe 3.0 x2 | PCIe 3.0 x2
Power On Hours : 9544 小时
Power On Count : 3081 次
Host Reads : 51701 GB
Host Writes : 41935 GB
Temperature : 35 C (95 F)
Health Status : 良好 (74 %)
Features : S.M.A.R.T., TRIM, VolatileWriteCache
Drive Letter : C: D:

-- S.M.A.R.T. --------------------------------------------------------------
ID RawValues(6) Attribute Name
01 000000000000 严重警告标志
02 000000000134 综合温度
03 000000000064 可用备用空间
04 000000000032 可用备用空间阈值
05 00000000001A 已用寿命百分比
06 00000676766B 读取单位计数
07 0000053DF2B8 写入单位计数
08 00004FD24399 主机读命令计数
09 000052D5490E 主机写命令计数
0A 00000000150B 控制器忙状态时间
0B 000000000C09 启动-关闭循环次数
0C 000000002548 通电时间(小时)
0D 000000007FD8 不安全关机计数
0E 000000000000 介质与数据完整性错误计数
0F 000000000086 错误日志项数

-
6 年的盘,加电 9544 小时,写入 41TB ,平均每小时写入 4.29GB
这个盘用来装系统分区和应用程序分区,装大体积文件的磁盘和分区隐去了。什么东西疯狂写入

飞利浦的空调怎么样?老爸在修空调师傅那 5200 块买了两台,怕被坑了

15 July 2025 at 09:59
bantoushui: 前段时间家里空调坏了,是 2019 年买的美的柜机,突然开不了机、没反应。我叫他先检查是不是插线板或者电路问题,结果他直接找了一个修空调的师傅上门,花了 500 块修好了。但最让我无语的是,他居然还在这个师傅那里买了两台飞利浦的空调装在卧室里,说是 5200 元一共,两台!

空调型号是 FAC35V1Aa9HR ,我查了一下参数,属于 1.5P 挂机,1 级能效,也就是还算正常,但这个价格和渠道让我有点怀疑是不是被坑了。不知道是不是“贴牌货”或者渠道很奇怪的那种。在网上收了一下这个型号还要 3000 多

其实我早就跟他说了,家里买电器一定让我来操作,至少被坑的几率小一些。可他还是习惯自己决定,而且从不讲价,这些年已经被坑了很多次:
1 ,买手机喜欢去本地的手机店,价格高,型号还旧。我妈的手机都是我帮她买的,一般买的是前两代的 iPhone ,性价比高很多。
2 ,买饮水机在店里贵了 500 块,我一查京东便宜得多。
3 ,有次去北京八达岭,他一转眼就在景区店里花 800 块买了两幅“长城画”,我后来在拼多多一看只要 20 、30 元……
4 ,家里装修也没让我管,他花了 16 万找人搞的,装修效果也就一般,客厅的柜机、电视、冰箱还是我网上买的,没算在那 16 万里。
还有其他很多类似的事情就不细说了……

我爸脾气也比较强势,别人说不得,尤其是我们这些做子女的,属于花钱大手大脚的那种,对人也大方。他前几年做小包工头挣了 100 来个,手里有点积蓄,现在虽然不如以前,每月也能一万左右,在我们这个小县城算是不错的了。所以他总觉得自己有主见,不听我们劝。

这次我又气得不行,怕他又被坑了。大家帮我看看,这个空调值不值,飞利浦这个牌子空调靠谱吗?
❌
❌