Normal view

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

What Xi Believes

10 January 2025 at 21:20

JPM, Work for US, IP

, ChinaTalk’s chief biotech correspondent, will be at JPM next week and would love to meet up. Respond to this email to connect.

You could cover AI for ChinaTalk full time this year courtesy of The Tarbell Center for AI Journalism. Apply for the fellowship here — applications are due February 28th.

Lastly, next week we’re diving deep into China and IP coming up with Adam Mossoff, a professor of law at GMU. A sneak peek:

What Xi Believes

Lizzi C. Lee is a fellow on Chinese Economy at Asia Society Policy Institute’s Center for China Analysis and the host of Wall St TV.

Reading the full text of Xi Jinping’s February 2023 speech — published on the last day of 2024, almost two years later, in Qiushi 求是 — isn’t how I expected to welcome the new year. It’s dense, grandiose, and filled with Marxist-Leninist jargon that demands a machete to cut through. This speech is vintage Xi — equal parts ideological lecture, historical justification, and political directive. It’s also the clearest articulation we’ve had of his vision for “Chinese-style modernization” (中国式现代化). And, as always with Xi, there’s no shortage of sharp critiques, bold ambitions, and ominous warnings.

Modernization, Xi-Style

Xi’s pitch is simple: modernization doesn’t have to follow the Western script. In fact, it shouldn’t. He blames Western modernization for prioritizing capital over people, resulting in runaway inequality, entrenched social divisions, and political instability. For Xi, this isn’t just a bug in the system — it’s the system’s defining feature.

Chinese modernization, he says, is different. It’s “people-centered,” aiming for a balance between material wealth and spiritual well-being. It’s a model designed to suit China’s history, culture, and governance system — not a one-size-fits-all approach borrowed from the West. And Xi doesn’t stop there: he frames it as a beacon for other developing nations, a way out of the “middle-income trap” that has snared so many others.

This might resonate with some, especially in a world where the Western model has lost some of its sheen. The problem lies in the art of the word balance. Xi’s model relies on the very market mechanisms he criticizes. For all his railing against capital, the Chinese economy still leans heavily on private enterprises, foreign investment, and global trade. Xi wants to avoid the pitfalls of capitalism while using its tools to fuel growth. If anything, his tendency to clamp down too much risks suffocating the economic dynamism he seeks to safeguard, embedding even more vulnerabilities into the system. That balancing act — rejecting Western modernity while borrowing liberally from it — is harder to achieve in practice.

The Party: Soulkeeper and Savior

If there’s one thing Xi makes clear, it’s that the Party is non-negotiable. Without the CCP, he says, Chinese modernization would “lose its soul” (丧失灵魂). That’s heavy stuff, and it underlines how deeply he ties the Party’s leadership to the nation’s success — or failure. Party leadership isn’t just important — it’s existential. Xi warns that losing the Party’s grip would spell doom for the entire project.

Interestingly, Xi seems clear-eyed about the challenges within his own ranks. He talks about the “deep-rooted problems” (深层次问题) that still plague the Party — issues that, if left unchecked, could stage a comeback. His warning is blunt: any lapse in discipline could let old problems “resurface like embers reigniting” (死灰复燃). This seems to reflect the constant tension within the Party to maintain control, enforce discipline, and keep its sprawling apparatus from falling into complacency.

Xi visiting Hunan province, March 2024. Source.

Xi’s disdain for procrastination is striking. “See risks early, act quickly, make decisive calls,” (见事早、行动快,当断则断、当机立断) he demands. And the language here is truly explosive (pun intended!): “Act decisively when action is needed; make bold, swift decisions. Don’t let small problems grow into big ones, or big problems explode” (当断则断、当机立断,不能让小事拖大、大事拖炸). The message is clear: inaction is dangerous, and delay is unforgivable. It’s the kind of directive that might inspire action — or strike terror — depending on where you sit in the Party hierarchy.

Lean Into the Struggle

If there’s one word that defines Xi’s speech, it’s struggle (斗争). He frames it as the CCP’s defining trait, a “political gene” forged through a century of adversity.

Struggle isn’t just a strategy for Xi — it’s practically a moral imperative. He frames it as the CCP’s key to its past victories and future survival. “Weakness” and “retreat,” he argues, lead only to decline. It’s a stark, almost combative philosophy, underpinned by his conviction that China’s path is righteous and its rise inevitable.

When it comes to cultivating young leaders, Xi is equally unsentimental. He wants cadres forged in the fire of practice and struggle. His metaphor of choice? “Let cadres, especially young ones, learn to swim by swimming” (在游泳中学会游泳). The best way to spot capable leaders, he suggests, is to see who thrives in “severe and complex struggles” (严峻复杂的斗争).

Subscribe now

But this obsession with struggle reveals as much about Xi’s insecurities as it does about his ambitions. [JS: he must see lazy cadres all the time whose hearts aren’t in the fight.] China’s rise, he acknowledges, is fraught with risks: economic pressures, geopolitical tensions, and internal dissent. Xi’s solution is to double down on the fight, whether it’s against foreign “containment,” domestic inefficiencies, or ideological wavering within the Party.

And here’s the irony: a system that constantly defines itself through struggle risks becoming trapped in a self-perpetuating cycle of conflict. Xi’s insistence on vigilance — his warning to cadres to “act decisively” and prevent “small risks from escalating into major crises” — sounds less like confidence and more like paranoia. It’s as if he’s bracing for a storm that never arrives but always looms on the horizon.

The West as the Convenient Villain

Xi’s critique of the West is one of the speech’s sharpest elements — and also one of its most revealing. He accuses Western modernization of being inherently exploitative, built on colonialism, inequality, and capital-driven greed. But Xi goes further, taking aim at what he calls the “myth” that modernization equals Westernization.

By positioning Chinese modernization as a viable and increasingly appealing alternative, he not only defends China’s path but also offers it as a model for other nations — though, as Xi claims, China won’t force it on others.

Of course, the focus of this messaging is other developing countries. In fact, Xi portrays China’s model not just as an alternative but as an improvement to the Western system, which he accuses of failing those who tried to copy it. It’s a not-so-subtle attempt to redefine modernization itself — and to shift the narrative away from Western dominance.

And while Xi rails against Western-style inequality, China’s own wealth gap remains an uncomfortable reality. The promise of “common prosperity” has been toned down in recent years, given economic malaise and the seemingly more urgent need to revive the animal spirits of the business community. Yet another reminder of how fast China can pivot (and how long the time delay of the Qiushi article is!).

Can Xi Deliver?

Xi’s speech is a declaration of ideological intent. It frames Chinese modernization as a project of historic significance, tied to the Party’s legitimacy, China’s rise, and even global civilization itself. It’s ambitious, audacious, and, yes, a little overwhelming. My main issue, though, is whether his vision is genuinely achievable. The message boils down to: “Do everything, perfectly, all at once.” It’s an impossible standard that Xi holds himself to. He wants to combine market efficiency with socialist equity, preserve environmental sustainability while driving industrial growth, and project confidence while guarding against constant threats. It’s a lot to ask of any system, let alone one as complex and unwieldy as China’s.

Share

Some might say that the competing priorities and contradictions may not be a bug but a feature. Like many Party documents, it attempts to cover every conceivable issue with sweeping mandates, but it leaves room for both ideological purity and pragmatic flexibility to adapt to changing circumstances. But Xi goes a step further. What is clear to me is that Xi isn’t just trying to reshape China. He’s trying to reshape the very idea of modernity itself.

Back to the topic of ideology and practicality, I do believe, though, compared with Xi’s predecessors, he is less about paying lip service to ideological purity and is actually a man of deep conviction in such beliefs — but that’s a topic for another day.

ChinaTalk is a reader-supported publication. To receive new posts and support our work, consider becoming a free or paid subscriber.

Constellation Energy to Buy Power Producer Calpine

10 January 2025 at 20:57
Constellation Energy’s deal to buy Calpine is being driven by fast-rising demand for electricity by the technology industry.

© Tamir Kalifa for The New York Times

Calpine’s natural gas power plants, like this one in Richmond, Texas, are increasingly valuable because of the rising demand for electricity from data centers.

Kremlin Confirms Readiness for Putin to Meet Trump

10 January 2025 at 20:43
The president-elect had said the Russian leader wanted to meet him to discuss the war in Ukraine. The Kremlin stopped short of that, saying it could only happen after he takes office.

© Doug Mills/The New York Times

President-elect Donald Trump at his Mar-a-Lago Club, on Thursday. Mr. Trump has repeatedly said that he could resolve the Russia-Ukraine war within 24 hours after entering office, without saying how.

叙利亚新政府任命三名维吾尔人担任高级军官

10 January 2025 at 21:17

2025-01-10T12:57:58.908Z
叙利亚内战中的“突厥斯坦伊斯兰党”维吾尔武装人员。(资料图)

(德国之声中文网)路透社前不久报道称,叙利亚新政府正在试图将各种反叛武装整合成一支专业化军队,而一些外籍战斗人员已经被任命为高级军官。

路透社12月30日报道称,叙利亚国防部新近任命的49名中高级军官中,包括三名维吾尔人,其中“突厥斯坦伊斯兰党”(TIP)叙利亚负责人阿卜杜勒阿齐兹·达乌德·胡达贝尔迪(Abdulaziz Dawood Khudaberdi )被任命为准将,另外两名维吾尔人毛兰·塔尔松·阿卜杜萨马德(Mawlan Tarsoun Abdussamad) 和阿卜杜萨拉姆·亚辛·艾哈迈德(Abdulsalam Yasin Ahmad) 则分别被授予上校军衔。

英国《经济学人》撰文指出,TIP成立于1997年,由流亡巴基斯坦的新疆维吾尔难民组建,并在之后与塔利班和基地组织建立了联系。中国和包括英国在内的一些国家已经将TIP列为恐怖组织。而TIP发起的袭击行动也成了中国政府在新疆对维吾尔及其他穆斯林少数民族实施打压政策的理由。

《经济学人》写道,中国在新疆严重践踏人权的行为,招致国际社会的广泛批评,同时也造成数以万计维吾尔人逃离家乡,其中部分人转道土耳其来到叙利亚,并加入了叙利亚的反叛武装。2017年,叙利亚驻华大使馆曾估计,大约有五千名维吾尔人正在参加叙利亚内战,其中大多数属于TIP。有报道称,中国方面对TIP在叙利亚的存在非常担心,并定期同阿萨德政权举行会谈,交换有关叙利亚境内维吾尔武装的信息。

叙利亚新领导人沙拉:“我同情维吾尔人,但他们与中国的斗争不是我们的斗争。”

2023年12月下旬,中国外交部发言人呼吁国际社会“认识到TIP的暴力本质”,并“对其采取严厉打击”。不过,相比之下,其他国家对TIP的看法较为温和。《经济学人》援引美国乔治华盛顿大学罗伯茨教授(Sean Roberts)的话写道,TIP对圣战并不感兴趣,也没有针对西方的敌意,他们的目标是实现新疆独立。

《经济学人》写道,尽管近期有三名TIP成员被提升至叙利亚军队的高层,但TIP可能无法利用叙利亚作为对外行动的基地。叙利亚新政府急需资金支持,因而很可能会努力取悦中国。此外,叙利亚新领导人艾哈迈德·沙拉也已明确表示:“我同情维吾尔人,但他们与中国的斗争不是我们的斗争。”

中国驻联合国大使傅聪:无论叙利亚局势如何发展,对恐怖主义“零容忍”的底线不能改变。

周三(1月8日),联合国安理会就叙利亚局势举行的会议上,中国常驻联合国代表傅聪表示,无论叙利亚国内局势如何发展,对恐怖主义“零容忍”的底线不能改变。傅聪说:“据报道,叙利亚军队近日向多名外国恐怖作战分子授予高级职位,其中包括安理会列名的恐怖组织‘突厥斯坦伊斯兰党’,也就是‘东伊运’的头目,中方对此表示严重关切。中方呼吁叙利亚履行反恐义务,防止任何恐怖势力利用叙领土威胁别国安全。”   

(综合报道)

© 2025年德国之声版权声明:本文所有内容受到著作权法保护,如无德国之声特别授权,不得擅自使用。任何不当行为都将导致追偿,并受到刑事追究。

Warning on gas prices as cold snap hits supplies

10 January 2025 at 20:29
Getty Images Woman with blonde hair in pink-ish top warms her hands on a gas fire Getty Images

Energy prices are at risk of rising after British Gas owner-Centrica warned about "concerningly low" storage levels due to the colder weather.

Centrica, which owns the country's largest gas storage facility, said the UK "has less than a week of gas demand in store".

There is no danger of the country running out of gas but it means the UK will need to buy more supplies from Continental Europe, the BBC understands.

Wholesale gas prices were lower in the UK on Friday.

UK records coldest night of winter as freeze to last into weekend

10 January 2025 at 19:15
PA Media A 4x4 makes its way through a snow-covered road in Scotton, Harrogate, North YorkshirePA Media
A 4x4 makes its way through a snow covered road in Harrogate, North Yorkshire

Commuters are being warned of icy roads and travel disruption, as temperatures plummeted again overnight across the UK.

Fresh weather warnings have been issued, with snow, ice and fog forecast across southern England, Wales, Northern Ireland and northern Scotland on Thursday.

It will be mainly dry elsewhere with winter sunshine, but temperatures could fall again to as low as -16C on Thursday night.

The cold snap has already brought heavy snowfall to some areas, and dozens of flood alerts and warnings are in place due to either heavy rain or melting snow.

On Wednesday the lowest temperature recorded was -8.4C (16F) in Shap, Cumbria, according to the Met Office.

It comes as an amber cold health alert remains in place for all of England until Sunday, meaning the forecast weather is expected to have significant impacts across health - including a rise in deaths.

The Hills/BBC Weather Watcher A sheep in Huddersfield in snow The Hills/BBC Weather Watcher
A sheep walks in snow in Huddersfield

The Met Office says travel disruption to road and rail services is likely on Thursday in areas covered by warnings, as well potential for accidents in icy places.

There are five warnings in place:

  • A yellow warning for snow and ice is in place for northern Scotland until midnight on Thursday
  • A yellow warning for ice has been issued until 10:30 across southern England and south-east Wales
  • Two yellow warnings for snow and ice are in force until 11:00 GMT - one across western Wales and north-west England, and south-west England; and another for Northern Ireland
  • A yellow warning for fog until 09:00 in Northern Ireland
Sue B/BBC Weather Watchers A snow sculpture in a garden in LeedsSue B/BBC Weather Watchers
A teenager made a snow sculpture of Venus in her garden in Leeds

On Wednesday snow caused some roads to close and motorists to be stationary for "long periods of time" in Devon and Cornwall, according to authorities there.

Gritters working into Thursday morning have been fitted with ploughs to clear routes in the area.

Car insurer RAC said it has seen the highest levels of demand for rescues in a three-day period since December 2022.

"Cold conditions will last until at least the weekend, so we urge drivers to remain vigilant of the risks posed by ice and, in some locations, snow," said RAC breakdown spokeswoman Alice Simpson.

National Rail have also advised passengers to check before they travel, as ice and snow can mean speed restrictions and line closures.

On Wednesday evening, poor weather was affecting Northern and Great Western Railway.

Buses are also replacing trains between Llandudno Junction and Blaenau Ffestiniog until Monday.

Reuters An car covered in snow in Buxton Reuters
A car covered in snow on a road in Buxton, Derbyshire

The wintry conditions have caused significant disruption across the UK since snow swept many parts of the country at the weekend.

Hundreds of schools were closed in England, Scotland and Northern Ireland, including schools in Yorkshire, Merseyside, the Midlands and Aberdeenshire.

The country has also been hit by widespread flooding in recent days. Currently there are 68 flood warnings - meaning flooding is expected - in England and three in Wales.

The weather is expected to be less cold over the weekend.

Sisters seemed fine before going missing, relative says

10 January 2025 at 20:21
Family handout Eliza and Henrietta Huszti smiling at a camera Family handout
Eliza and Henrietta Huszti were last seen in the early hours of Tuesday in Aberdeen city centre

Police are searching for two sisters in Aberdeen who were last seen three days ago.

Eliza and Henrietta Huszti, both 32 and who live in Aberdeen city centre, were last seen in Market Street at Victoria Bridge at about 02:12 GMT on Tuesday.

They then crossed the bridge and turned into a footpath next to the River Dee in the direction of Aberdeen Boat Club.

Police Scotland said they are carrying "extensive enquires" and searches to find the sisters, including the use of police dogs and the marine unit.

Family handout CCTV showing Eliza and Henrietta Huszti walking in Aberdeen city centreFamily handout
The Huszti sisters were last seen on CCTV in Aberdeen's Market Street at Victoria Bridge

Both Eliza and Henrietta are described as being white, slim build with long, brown hair.

Police said the side of Victoria Bridge in the Torry area, where they were last seen, contained many commercial and industrial units and searches are ongoing there.

It added it was urging businesses in and around the South Esplanade and Menzies Road area to review CCTV footage recorded in the early hours of Tuesday and dashcam footage.

Ch Insp Darren Bruce said: "We are continuing to speak to people who know Eliza and Henrietta and we urge anyone who has seen them or who has any information regarding their whereabouts to please contact 101 quoting incident number 0735 of Tuesday, 7 January, 2025."

安卓的 apk 不上架到各大应用市场是不是也都可以被简单地用浏览器在线安装?

10 January 2025 at 19:10
shuiguomayi:

范围: 国内市场的安卓手机。

iOS APP 如果不在 app Store, 则非常难安装,要搞越狱。以前的安卓手机只要能用手机浏览器下载一个 apk 文件就可以安装。七八年前用过安卓手机,所以不太知道其中的变化,如今🈶了很多困难和门槛了么?还是说跟以前没啥区别?

遇到一个关于设置中 auto Repository Detection(自动检测仓库)的 bug

By: remrin
10 January 2025 at 18:56
remrin:

平时开发都是用 ssh 连到编译服务器进行开发的,开发的代码和编译工具链都包含在了一个很大的repo 中,这个 repo 中有近百个 git 仓库,虽然每次开发只会在一个 git 仓库下修改,但是也需要打开其的仓库去查看代码,所以我每次都会打开这个 repo 的根目录,再去找需要开发的仓库,我的 autoRepositoryDetection 设置为 openEditors

按理说只会扫描到我当前正在编辑的文件所属的仓库,这里还没问题,只要我在终端中执行了一个错误的指令(随便一个输入一个不存在的都行),这个左侧的源代码管理器就会疯狂加载其他我没有打开过的仓库,直到把所有的仓库都扫出来,导致左侧源代码管理器中有上百个仓库,然后想找到我正在修改的仓库还挺费事,有没有人遇到过这个情况

deepseek v3/ qwen plus 都失败的编程题

By: mike163
10 January 2025 at 18:46
mike163:

一道编程题,deepseek v3 ,qwen 25 plus 都失败了。claude sonnet 3.5 果然厉害,一次搞定。gemini 2.0 think 模式也作对了。

从这个题来看,claude sonnet 确实是 coding 超级牛的。其他非逻辑模型,基本都搞不定。

Please create a Tetris game with the following requirements:

Basic Game Mechanics: Standard Tetris board layout Different shaped pieces (tetrominoes) Piece rotation and movement Line clearing when filled Game over detection Controls: Arrow keys for movement (left, right) Up arrow for rotation Down arrow/space for quick drop Automatic piece falling Scoring System: Base points for clearing lines Bonus scoring for multiple lines: 2 lines: 200 base + 200 bonus = 400 total 3 lines: 300 base + 300 bonus = 600 total Dynamic speed increases: Every 2000 points reduces interval by 100ms Starting at 1000ms Minimum interval of 100ms Visual level-up indication Visual Features: Next piece preview window Score display Lines cleared counter Game over screen Level up animations Bonus score animations High Score System: Store top 10 high scores in localStorage Display scores sorted high to low Include date for each score Highlight current score in the list Persistent between sessions Additional Features: Restart button on game over Clean, modern visual design Responsive controls Performance optimization Technical Requirements:

Use plain JavaScript (no frameworks) HTML5 Canvas for game rendering CSS for styling Local Storage for high scores Responsive design principles The implementation should focus on:

Clean, maintainable code Smooth gameplay experience Intuitive user interface Proper error handling Performance optimization Please provide the complete implementation with appropriate comments and documentation.

北京回龙观 上北鑫座小区 49 平开间 业主直租 4000/每月

By: andrewDDC
10 January 2025 at 18:46
andrewDDC:

北京回龙观 上北鑫座小区 业主直租


  • 小区:上北鑫座 7 层
  • 朝向: 南向 采光好
  • 面积:49 平开间
  • 有电梯
  • 集中供暖
  • 业主直租,无中介费
  • 租金 : 4000/月 押一付三
  • 家具家电: 冰箱 电视 洗衣机 热水器 净水器 电脑桌 衣柜吧台 高脚椅等

有同学搞过安卓密钥过期的解决方案吗?

By: jeesk
10 January 2025 at 18:44
jeesk:

公司的一个 App 在之前签名就过期了, 但是上架不允许过期的密钥.

可以使用轮替密钥, 生成 lineage, 然后再签名.

但是当我这样做后, 无论是 libchecker 还是 jadx , 生成的签名都是以前的老签名 jks.

但是使用 apksigner verify -v --print-certs 打印出来确实有 2 个签名.

  1. https://developer.android.com/tools/apksigner?hl=zh-cn#usage-sign
  2. https://juejin.cn/post/7195779037033578553

福建联通家宽开始流量限制

By: Yesr00
10 January 2025 at 18:38
Yesr00:

RT,最近使用百度网盘上传数据的时候发现带宽只有原来的 1/10,自行测速发现不是百度的问题,就是带宽不行,于是重启光猫,重启路由,故障依旧,打 10010 客服,客服回复说后台检测到我宽带异常,帮我清理缓存让我重启光猫再试,还是不行,再次致电还是说后台显示宽带状态异常,让社区经理上门查看,上门的时候就直接回复我说上行带宽被限制到最高 5Mbps 了。。。原本是 40-50Mbps...问我上传都用来做什么。我说百度网盘备份数据,也没有做 CDN 业务。。。甚至 NAS 我都没开机。。。刚搬家没几个月。。。社区经理就说,那没办法,省公司判定的,每个市上传流量前 20 直接限带宽。他们只能帮我们提工单到省公司处理,给不给解封是省公司负责,他们没有办法。

Apple ID 迁移 10 个月依旧卡在云上贵州

10 January 2025 at 18:18
marcusma06: 时间线:
2024/3/9 使用美国信用卡,修改中国大陆 AppleID 地区为美国
2024/4/XX icloud.com 可以访问,此时邮箱依旧卡在.cn

2024/12/8 电话联系中国客服,通话中转接台湾客服,在交流中,我展示了我的抓包数据,证实邮件客户端持续与.cn 通讯。

2025/12/15 客服邮件跟进,告知我需要继续等待。

直到目前,邮件还是链接.cn

这个问题非常烦心,因为在墙外无法访问.cn 。难道我查邮件还要挂回国节点?

[全职远程] 英国伦敦二游公司直招 unity 开发工程师

By: blogcool
10 January 2025 at 18:17
blogcool:

公司介绍

我们是一家总部位于伦敦的科技公司,专注于 unity 二次元移动端游戏开发,核心团队拥有超过 10 年的游戏开发和发行经验,致力于通过技术创新为玩家提供卓越的游戏体验。公司目前正在开发一款二次元卡牌手游,当前团队人数在 40 人左右。目前有多位 HC 开放,从中级到高级,欢迎您加入我们的创新旅程。

工作方式: 全职远程工作。

远程工作时间: 北京时间 10:00-20:00 。 包括吃饭时间以及需要与英国部门对接工作的上线时间。

工作语言: 全中文。

招聘中的职位

资深 unity 开发工程师(二次元方向):

岗位职责:

1.根据产品提供的需求,快速高质量的开发游戏核心玩法; 2.组织管理客户端资源,保证代码质量。 3.解决游戏线下和线上的问题。 4.对游戏客户端性能提出优化建议,并实践。 5.开发提高开发和团队协作的生产工具。 6.开发中遇到的疑难问题的攻坚解决。

任职需求:

1.5 年以上 Unity 引擎使用经验。至少完整参与过 2 款移动游戏的开发。熟练掌握 Unity 引擎在移动端的开发。 2.熟悉 Lua 、C#的语法和特性。 3.良好的算法和数据结构基础。 4.良好的逻辑思维和编程习惯,具备独立解决技术问题的能力 5.能熟练阅读英文技术文档,有很好的学习能力 6.良好的团队协作能力。 7.熟悉计算机图形学和渲染相关的优化。 8.熟悉计算机网络协议。

加分项: 有远程工作经验。

薪资福利: 中高级:25k-40k (面议)+项目奖金

投递说明: 所有职位都是公司直招,非中介。 投递简历后,我们会在一周内主动联系(一周内无反馈,视为不通过,没法一一回复,请理解)。

面试形式: 线上面试,正常流程会有二至三轮面试。

简历投递邮箱: luo.cwgz@gmail.com

境内备用投递邮箱:luo_cw1997@163.com

也欢迎评论或私信获取进一步信息~

求教,最近写了一段时间 C# WPF, 仅从写样式角度,感觉比起 HTML/CSS 非常麻烦,纯 windows 桌面应用 C#下有其他更好用的框架吗?

By: cyrbuzz
10 January 2025 at 18:05
cyrbuzz:

拿一个按钮来说:

HTML/css

<div class="btn"><div>icon</div>按钮</div>

.btn {
   color: red;
   border: 1px solid #75a4ff;
   padding: 10px;
   border-radius: 15px;
   height: 32px;
   width: 76px
   margin: 0 0 0 8px;
   font-size: 10px;
   cursor: pointer;
   display: flex;
   align-items: center;
   justify-content: center;
   &:hover {
       color: #fff;
       background: #75a4ff;
   }
}

C# wpf:

<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
    xmlns:local="clr-namespace:WpfApp1.Components">
    <Style TargetType="local:Button">
        <Setter Property="Background" Value="White"/>
        <Setter Property="BorderBrush" Value="#75a4ff"/>
        <Setter Property="BorderThickness" Value="1"/>
        <Setter Property="Height" Value="32"/>
        <Setter Property="Width" Value="76"/>
        <Setter Property="VerticalAlignment" Value="Center"/>
        <Setter Property="Padding" Value="2"/>
        <Setter Property="Margin" Value="8,0,0,0"/>
        <Setter Property="Foreground" Value="#75a4ff"/>
        <Setter Property="FontSize" Value="10"/>

        <Setter Property="Template">
            <Setter.Value>
                <ControlTemplate TargetType="local:Button">
                    <Border Background="{TemplateBinding Background}" BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="1" CornerRadius="15" Padding="2">
                        <StackPanel Orientation="Horizontal" VerticalAlignment="Center" HorizontalAlignment="Center">
                            <mah:FontIcon FontFamily="Segoe MDL2 Assets" FontSize="10" Glyph="&#xE948;" HorizontalAlignment="Left">
                                <mah:FontIcon.Style>
                                    <Style TargetType="mah:FontIcon">
                                        <Setter Property="Foreground" Value="#75a4ff"/>
                                        <Style.Triggers>
                                            <DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource AncestorType=local:Button}}" Value="True">
                                                <Setter Property="Foreground" Value="White"/>
                                            </DataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </mah:FontIcon.Style>
                            </mah:FontIcon>
                            <TextBlock Text="{Binding Content, RelativeSource={RelativeSource AncestorType=local:Button}}" Margin="8, 0, 0, 0">
                                <TextBlock.Style>
                                    <Style TargetType="TextBlock">
                                        <Setter Property="Foreground" Value="#75a4ff"/>
                                        <Style.Triggers>
                                            <DataTrigger Binding="{Binding IsMouseOver, RelativeSource={RelativeSource AncestorType=local:Button}}" Value="True">
                                                <Setter Property="Foreground" Value="White"/>
                                            </DataTrigger>
                                        </Style.Triggers>
                                    </Style>
                                </TextBlock.Style>
                            </TextBlock>
                        </StackPanel>
                    </Border>
                </ControlTemplate>
            </Setter.Value>
        </Setter>

        <Style.Triggers>
            <Trigger Property="IsMouseOver" Value="True">
                <Setter Property="Background" Value="#75a4ff"></Setter>
                <Setter Property="Cursor" Value="Hand"></Setter>
            </Trigger>
        </Style.Triggers>
    </Style>
</ResourceDictionary>

写起来相当难受= =。

Vooh - 可能是最接近原生 iOS App 的 PWA

By: wheelg
10 January 2025 at 18:02
wheelg:

前情提要

苦于现在各大音乐流媒体平台群雄割据,一个播放列表的音乐被拆的七零八落,听个歌都得开好几家会员,索性直接不用任何流媒体平台,直接听本地的歌曲。

iOS 上最好的听歌平台莫过于 Apple Music 了,但是取消订阅后只剩下了从电脑端 iTunes 导入歌曲的能力,每次想听点新歌都不方便,于是想到了做一个 PWA ,用来在手机上听下载的歌曲。

用最新的 Web 技术去不知名小网站下载 mp3 听歌的操作,有种在 21 世纪茹毛饮血的感觉了。

听起来这件事情很简单,但实际上,一旦扯到移动端适配,坑可就太多了,我准备用一系列文章来记录下 Vooh ,史上最接近原生 App 的 PWA 应用的诞生。这其中与浏览器厂商斗智斗勇的心酸血泪史,实在是几天几夜都说不完。

如果想了解 Vooh 的各种技术详情,可以持续关注我的博客专栏https://glink25.github.io/tag/Vooh/,后续也会将 Vooh 相关的代码开源

如你所见,Vooh 点击直达,感受 21 世纪新时代 Web 的魅力吧。

支持屏幕尺寸响应式,iPad 和 Desktop 也做了适配

支持移动端模拟 iOS 左滑返回

大量的模拟 iOS 原生的组件

音乐封面渐变取色

为了最佳的体验,请将 Vooh 作为 PWA 安装后使用,iOS 用户需要使用 Safari 的分享按钮添加到主屏幕,Android 用户需要下载 Chrome 浏览器才能安装到桌面。

对于安卓机型自带侧滑返回的机型,建议开启设置中的“路由兼容模式”,这是一个实验性功能,可以有效提升返回键的使用体验。

当然如果是非 Chrome/iOS 最新版的话当我没说。

版权声明:

Vooh 本身是做给个人使用的,并不提供音乐下载能力,里面的在线搜索功能实际上只有装饰的作用,为了游客可以更好地感受到 Vooh 的使用体验,无论怎么搜索结果都是固定的那几首测试用无版权歌曲。后续会增加文件夹读取功能和本地歌曲导入功能。

苹果开发者注册遇到问题 有没有过来人可以支招

By: duozsz
10 January 2025 at 18:02
duozsz:

这几天注册苹果开发者账号,遇到一个大坑,没想到苹果注册开发者都这么复杂 😭

我是在一台 m1 上注册的,因为想着把开发账号和平时的账号分开就用了一个全新的 email 和手机号,提交注册后不成功,APP Developer 上点了同意政策后提示“Your request could not be processed”,搜了一下说不能用新号。

然后又切换会之前常用的账号上来,一路注册走到了提交身份证照片,最后收到了邮件“Complete your enrollment in the Apple Developer Program.”里面有个链接让我点击继续后续的步骤,结果点了以后没有任何提示,就是让我在 Developer 操作,但是 Developer 上也没有任何新内容只有一个《立即注册》按钮,现在就卡在这里。

并且我用苹果的技术支持,第一次有回拨电话问了一些问题说帮我记录一下,后面遇到问题我再要回拨电话的时候直接说我电话打不通,让我用邮件,写了邮件还没收到回复,现在完全不知道该怎么办😭

想问问有经验的大佬,我这是不是被风控了注册失败了吧?后续要怎么操作,要重新换套资料注册么?

路由器 dns 解析 IP,浏览器无法正常访问

By: abelai
10 January 2025 at 18:02
abelai:

我在路由器新加了一条 dns 解析,例如 192.168.4.36/file-xx.com 这是解析到内网的一个 IP

然后在其他电脑上可以 ping 、telnet 、curl 都没有问题,但是只要用浏览器访问这个域名就会出现 502

试过其他端口也是一样的 502

因为需要每台局域网改 host 太麻烦,所以选择在路由器加解析

telnet https://files.catbox.moe/xsyrzn.png

ping https://files.catbox.moe/3cgk3w.png

curl https://files.catbox.moe/hr6j24.png

浏览器访问失败,其他浏览器也是一样 https://files.catbox.moe/mb76c2.png

URL 转静态 HTML 文件 API 数据接口

By: Parry
10 January 2025 at 17:52
Parry:

URL 转静态 HTML 文件 API 数据接口

网站工具 / HTML 高效转换 URL 到静态 HTML 生成静态 HTML 站点 / 永久存储。

gugudata_api_cover

1. 产品功能

支持非 SPA 网站内容转换; 超高的还原度与转换性能; 站点资源压缩到一个单一的文件; 输出 HTML 文件永久 CDN 存储地址; 输出可直接访问的 HTML 站点文件;

  • 全接口支持 HTTPS ( TLS v1.0 / v1.1 / v1.2 / v1.3 );
  • 全面兼容 Apple ATS ;
  • 全国多节点 CDN 部署;
  • 接口极速响应,多台服务器构建 API 接口负载均衡;
  • 接口调用状态与状态监控

2. API 文档

接口详情: https://www.gugudata.com/api/details/url2html

接口地址: https://api.gugudata.com/websitetools/url2html

返回格式: application/json; charset=utf-8

请求方式: POST

请求协议: HTTPS

请求示例: https://api.gugudata.com/websitetools/url2html

数据预览: https://www.gugudata.com/preview/url2html

接口测试: https://api.gugudata.com/websitetools/url2html/demo

3. 请求参数

参数名 参数类型 是否必须 默认值 备注
appkey string YOUR_APPKEY 付费后获取的 APPKEY
url string YOUR_VALUE 需要转换的网页 URL 地址,注意 SPA 类站点可能有获取不到页面内容的情况

4. 返回参数

参数名 参数类型 备注
DataStatus.StatusCode int 接口返回状态码
DataStatus.StatusDescription string 接口返回状态说明
DataStatus.ResponseDateTime string 接口数据返回时间
DataStatus.DataTotalCount int 此条件下的总数据量,一般用于分页计算
Data string 生成的 HTML 文件 CDN 地址

做了一个支持 个人申请微信支付 API 接口的平台

By: baoshu
10 January 2025 at 17:33
baoshu:

各位 v 友们,我开发了一个支持微信支付接口的支付平台。 支持个人、个体户、企业申请微信支付 API 接口。适合 pc 网站和手机网站接入微信支付能力。 后续可能会支持支付宝支付。

有需要支付 API 的联系我,正规支付,非二清。 网址是: https://pay.feinius.com/ ,底部有我联系方式。(添加请备注来意,黑产灰产勿扰,谢谢)

截止 1-25 号,开户仅收取 20 元开户费,v 友联系 给到综合服务费 1.7%。既收款 100 元结算 98.3 ,v 友 永久不涨服务费!

❌
❌