Reading view

There are new articles available, click to refresh the page.

2024 年了,无聊想尝试下 neovim

COW: 听说体验有超越 vscode 的趋势,不知真假。主要写写 js py golang ,以脚本为主,偶尔写写 Web 项目,有没有实践过的老哥说说,还有在 wsl2 ,iterm2 上的兼容性怎么样?

Who is Magdeburg market attack suspect Taleb al-Abdulmohsen?

Reuters A pedestrian walkway through a Christmas market is littered with rubbish and other debrisReuters

On Friday evening, a man ploughed a car into a crowd of shoppers at a Christmas market in the German city of Magdeburg.

The attack has left five people dead and more than 200 injured, with many in a critical condition.

One man has been arrested over the attack, and police believe he was solely responsible.

German Chancellor Olaf Scholz travelled to Magdeburg on Saturday, and a city councillor declared Christmas over for the city.

How did the attack unfold?

Unverified footage on social media showed a black BMW travelling at high speeds through the pedestrian walkway between Christmas stalls.

Eyewitnesses described jumping out of the car's path, fleeing or hiding. One told the Reuters news agency that police were already at the venue and chased after the car before arresting the suspect.

Footage from verified sources showed armed police confronting and arresting a man who can be seen lying on the ground next to a stationary vehicle - a black BMW with significant damage to its front bumper.

BBC correspondent Damien McGuinness in Magdeburg reported that the market is "surrounded by concrete blocks". However, "there is a gap which is wide enough for pedestrians to go through, but tragically wide enough for a car to go into the Christmas market", he said.

City officials said around 100 police, medics and firefighters, as well as 50 rescue service personnel rushed to the scene in the aftermath of the attack.

Images from the scene on Friday night showed an area outside the market awash with blue lights as dozens of first responders attended to the injured.

Video shows arrest of Magdeburg attack suspect

Who are the victims?

Five people have died in the attack, one of whom is a child.

More than 200 people have been injured and at least 41 are in a critical condition.

The toll had earlier been reported as two dead and 68 injured, but was revised to the much higher totals on Saturday morning.

None of the victims have been identified yet.

Reuters Bouquets of flowers, candles and teddy bears lean against steps at a makeshift memorialReuters
Tributes have been left at a church by the scene

Who is the suspect?

German media has identified the suspect as Taleb A, a psychiatrist who lives in Bernburg, around 40km (25 miles) south of Magdeburg.

The motive behind the attack remains unclear, but authorities have reported that they believe he carried out the attack alone.

Originally from Saudi Arabia, he arrived in Germany in 2006 and in 2016 was recognised as a refugee.

He ran a website that aimed to help other former Muslims flee persecution in their Gulf homelands.

Evidenced by social media posts, the suspect is an outspoken critic of Islam, and has promoted conspiracy theories regarding a plot to seek Islamic supremacy in Europe.

A report from Der Spiegel said a complaint was filed against Taleb A with the authorities a year ago over statements he made. Officials did not see any concrete threat, the report says.

What have officials said about the attack?

"The reports from Magdeburg raise the worst fears," the German chancellor, Olaf Scholz, said on social media platform X.

Magdeburg's city councillor for public order, Ronni Krug, said the Christmas market will stay closed and that "Christmas in Magdeburg is over", according to German public broadcaster MDR.

That sentiment was echoed on the market's website, which in the wake of the attack featured only a black screen with words of mourning, announcing that the market was over.

The Saudi government expressed "solidarity with the German people and the families of the victims", in a statement on X, and "affirmed its rejection of violence".

UK Prime Minister Sir Keir Starmer said he was "horrified by the atrocious attack in Magdeburg", adding that his thoughts were with "the victims, their families and all those affected" in a post on X on Friday night.

Grief and anger in Magdeburg after Christmas market attack

EPA Flowers and candles next to the Christmas market in Magdeburg, Germany, 21 December 2024.EPA
Authorities are still trying to understand why the suspect carried out the deadly attack

Magdeburg's Christmas market is a sad sight. This should have been the busiest weekend of the season, but the whole area has been cordoned off and all the stands are shut.

Police are the only people walking around the boarded-up mulled wine and gingerbread stalls.

On the pavement, red candles flicker, tributes laid for the victims.

Lukas, a truck driver, told me he felt compelled to come to pay his respects. "I wasn't there when it happened," he told me.

"But I work here in Magdeburg. I'm here every day. I've driven by here a thousand times."

"It's a tragedy for everyone here in Magdeburg. The perpetrator should be punished."

"We can only hope that the victims and their families find the strength to deal with it."

There is sorrow here – but there is anger too.

Many people here see this attack as a terrible lapse in security. That is a claim the authorities reject, although they have admitted the attacker entered the market using a route planned for emergency responders.

Michael, who also came to pay tributes to the victims, said "there should've been better security".

"We should have been prepared better but that was not done properly."

Standing at the security cordon, I heard a group of locals complaining loudly about Germany's Chancellor Olaf Scholz and regional politicians.

"They are wasting our tax money, they are just looking out for themselves. They are not interested in us. We just hear empty promises," one man said.

"They are turning what happened here around and want to put the blame on the opposition and use it for their election campaign," he said.

On Saturday evening, around the same time as the square in front of Magdeburg's Gothic cathedral was filled with mourners watching a memorial service, a demonstration took place nearby.

Protesters held a banner that read "Remigration now!" – a concept popular among the far-right – and shouted "those who do not love Germany should leave Germany".

Suspect in German market attack appears in court as anger grows over security lapses

It is not clear yet what impact this attack may have on Germany's upcoming election.

Germany has been hit by a number of deadly Islamist attacks in the past, but investigators said the evidence they have gathered so far suggests a different picture in this case.

Germany's Interior Minister Nancy Faeser said the suspect appears to have been "Islamophobic".

The suspect, Taleb Al-Abdulmohsen, is from Saudi Arabia, and his social media posts suggest he had been critical of Islam.

He also expressed sympathy on social media for Germany's far-right political party, Alternative for Germany (AfD), re-tweeting posts from the party's leader and a far-right activist.

Another deadly crush in Nigeria at event offering free food

Getty Images Masses of tomatoes are held in woven basketsGetty Images
Food costs have surged in Nigeria over the last 18 months

The number of dead from a crowd crush in the south-east town of Okija in Nigeria has risen to 22, police say.

It is the third case this week of people being crushed to death at events where free food was being distributed.

The fatalities in Okija occurred at a charity event on Saturday, when residents rushed to collect Christmas donations, including rice and vegetable oil.

On the same day, a similar tragedy at a Catholic church in the capital city Abuja killed 10 people, while 35 children died during a carnival event on Wednesday in the city of Ibadan.

Police have now warned organisers to notify authorities before holding charity events in order to prevent such loss of life.

Toyin Abdul Kadri, who witnessed the crush at the Holy Trinity Catholic Church in Abuja, told AFP news agency the attendees "forced the gates and forced their selves inside".

The event involved "vulnerable and elderly individuals" and four children were killed, the police said.

In a social media post about the crushes, Amnesty International Nigeria wrote: "President Bola Tinubu's government must urgently prioritise addressing widespread hunger, higher unemployment and the rapidly falling standard of living."

Food and transportation costs have more than tripled in Nigeria in the last 18 months.

The global bout of inflation has been exacerbated by some of the policies of the government – designed to strengthen the economy in the long-term – such as ending a fuel subsidy.

In a statement on the deadly crushes, President Bola Tinubu said: "In a season of joy and celebration, we grieve with fellow citizens mourning the painful losses of their loved ones. Our prayers of divine comfort and healing are with them."

He urged state governments and the police to enforce strict crowd control measures, and has cancelled all his official engagements in honour of the victims.

He also noted the similarities between the incidents, including one earlier this week in the south-west city of Ibadan.

A crush at a school funfair there killed 35 children and seriously injured six others.

Thousands of people had turned up on the promise of free food.

Residents in Bashorun, a suburb of Ibadan, told the BBC the crowd soon exceeded 5,000 with many attempting to force their way through the school gate. Parents are said to have tried to scale the fence surrounding the compound to gain access.

Police spokesperson Olumuyiwa Adejobi said the three "tragic" incidents highlight the "urgent need for a more structured and effective approach to delivering aid to vulnerable communities and members of the public in general".

More BBC stories about Nigeria:

Getty Images/BBC A woman looking at her mobile phone and the graphic BBC News AfricaGetty Images/BBC

Go to BBCAfrica.com for more news from the African continent.

Follow us on Twitter @BBCAfrica, on Facebook at BBC Africa or on Instagram at bbcafrica

BBC Africa podcasts

程序员失业,回家养🐏,大家怎么看?

luck2023: 老家南方农村的,今年 34 岁了,没有对象,也没有买房,结婚不太现实。在 IT 这行工作差不多十年了,N 年之前走错过一段路,损失了不少钱。现在已经上岸了,目前手上存款 10 万左右。年底面临裁员,大概率要失业了,按照目前的经济行情,找工作已经很难了,想考虑回老家养羊,在 pdd 上看,一头羊也就 1500 块钱,买个 20 头羊养,不知道大家对我这个想法怎么看了,提些建议了。

学校发生这样的事,大家怎么看?

chenyongchanggg: 学生 a ,b 是一个班的朋友, 表现都不好。

班主任教育 b 的时候说:你想跟 a 学吗,他爸妈因为他经常吵架都想离婚了。

下课后 a 问 b:班主任都说什么了,b 说班主任说你爸妈瞒着你都离婚了。a 大怒 摔了班主任杯子,在教室辱骂班主任。

班主任发了朋友圈在医院。


大家怎么评这个事

分享一下最近我对我的 ZeroTier 做了什么!用 ZeroTier 节点作为网络出口!

Doiiars:

之前一直以来,我都在使用 zerotier 搭建内部局域网,但是我也想,为什么我不能用 zeortier 的某个节点作为出站节点?经过几周的休息(?),这周突然有空把这玩意做了。我分享一下具体细节。其实跟着官方文档走就不错了。

核心步骤就是配置转发和配置持久化问题。

为什么选择 ZeroTier ?

  • 完全免费且开源
  • 配置简单,维护成本低
  • 支持跨平台
  • 性能优秀,延迟低

前期准备

  1. 一台可用作出口节点的服务器(可以是 VPS 或者树莓派)
  2. 基本的 Linux 命令行操作知识
  3. root 或 sudo 权限

具体步骤

第一步:配置出口节点

  1. 创建 ZeroTier 网络(如果没有,先去官网创建)
  2. 安装 ZeroTier:
# 加入网络
sudo zerotier-cli join <你的网络 ID>
  1. 开启 IPv4 转发:
# 编辑配置文件
sudo nano /etc/sysctl.conf

# 添加以下内容
net.ipv4.ip_forward = 1

# 重载配置
sudo sysctl -p

# 验证设置
sudo sysctl net.ipv4.ip_forward

第二步:配置网络接口

  1. 获取网络接口名称:
ip link show
  1. 设置环境变量:
export ZT_IF=zthnhhqofq  # 你的 ZeroTier 接口名
export WAN_IF=eth0       # 你的外网接口名
  1. 配置 iptables 规则:
# 启用 NAT
sudo iptables -t nat -A POSTROUTING -o $WAN_IF -j MASQUERADE

# 允许转发
sudo iptables -A FORWARD -m conntrack --ctstate RELATED,ESTABLISHED -j ACCEPT
sudo iptables -A FORWARD -i $ZT_IF -o $WAN_IF -j ACCEPT

# 安装 iptables-persistent 使规则持久化
sudo apt-get install iptables-persistent
sudo netfilter-persistent save

第三步:网络配置(在 ZeroTier 管理面板)

  1. 进入 Central > Network > Settings > Managed Routes
  2. 添加路由规则:0.0.0.0/0 via <你的路由节点 ZeroTier IP>

第四步:客户端配置

  1. 在托盘应用中,找到对应网络的 "Allow Default" 选项并启用
  2. 为方便使用,可以添加以下命令到 ~/.bashrc
tunnel()
{
 sudo zerotier-cli set $nwid allowDefault=1
}

notunnel()
{
 sudo zerotier-cli set $nwid allowDefault=0
}

常见问题解决

验证配置

配置完成后,你可以通过以下命令检查 IP:

curl -4 ifconfig.co  # 检查 IPv4
curl -6 ifconfig.co  # 检查 IPv6

官方文档参考: https://docs.zerotier.com/exitnode/

题外话

我测试了一下,ip 的确变成了是出口节点的 ip 。

但是有一个问题:

google 和 youtube 我莫名其妙的无法访问。而 newbing 等其他网站却不受影响。 原因我还没有排查出来。

还有就是,这样的出站方式,中间流量由 zerotier 保证和控制。因此,实际上这样的流量路由转发,并没有主流的集中魔法协议的那种伪装防护功能。其实用性存疑。但是这给了一个如何利用 zerotier 的新思路。

实木床求推荐

wait404: 最近想入手一张实木床和床垫,床架看了源氏木语、京东京造的胡桃木,床垫还没开始看,看得眼花缭乱,想问一下各位大佬,有没有推荐的,或者有没有什么需要注意的坑?

天河-游泳次卡-转手出售

lzblalala:

天河-盟虎劲技运动馆-游泳次卡-出售

有没有广州天河-盈彩美居小区附近的朋友,我剩 22 张游泳卡

因个人原因要换租了,所以不再继续住在这边,有 22 张盟虎劲技运动馆的游泳次卡想出售

可开春后去游泳

原价一张 35 米来的,现在转售价一张 15 米吧,一共 22 张,所以一共是 330 米,有需要的可联系我

** 联系方式:bHpiMTc4MDcxMzgwMTI= **

[杭州外企]招资深 UI/UX

mumubin:

工作经验: 至少 7 年+/最好 10 年+,有 toB 软件的 UI/UX 经验

年龄:35 岁以上优先

技能要求: 英语听说流利

薪资: 30k - 50k

工作地点: 杭州

有意者请加 vx: UGFjaW5vLWZseQ==

北京 6 年全栈求捞

hillkinsham0001:

技术栈: nodejs ,nestjs ,熟练,从零到一开发项目。

数据库: mongodb

后端语言: python fastapi 熟练,项目开发维护。

前端: reactjs ,vue 均熟练开发项目(最近两年主要开发后端)

人格开朗,学习能力强

md, gitlab 也歧视我们

guoguobaba:

发现个 bug ,准备去报个 issue ,结果登录的时候要验证手机,发现没有+86 ,手工改网页也通不过。遂放弃了。

设置 cdn_host 会导致 repository file 显示不了内容,有人碰到过吗?

有没有懂智能家居开发的大神可以指导下的

Gct012: 我目前家里的地暖有一个温控面板,可以通过手机 app 远程控制( wifi ),但是这个 app 感觉有点粗糙,经常性会出现预设的配置加载不出来,手机上的设置无法在短时间内下达到温控器上这些情况(应该是后台服务网络较差)。因为这个温控器逻辑非常简单所以想自己弄一个 app 替换当前这个,后台服务器有白嫖的云主机。我之前没做过这个方向的开发(只能做一些基础的 java 和前端开发),想问下需要掌握哪些技能以及可行性

Apple Music Win 端使用问题

Chicagoake: 不知道各位在 Windows 平台使用 Apple music 有没有遇到这样的问题,正常下载正常登录账号,但是在登录账号后电脑直接卡死,鼠标可移动但无任何反应,只能使用开机键强制重启。

据说是 iTunes 和 Apple music 的遗留代码发力了,使用 Everything 可以查到 C 盘还有一部分残留文件,包括文件夹和 EXE 格式的文件,但是需要管理员权限才可删除。

OS:Windows 11 家庭中文版 24H2 最新版本
PS:今年九月份十月份还能正常使用,忘记具体时间开始出现问题,被迫转到网易云+本地音乐。

多心率设备评估软件 Multi HR

Likenttt:

Multi HR 是一款专门用于同时监测、记录和分析多个蓝牙心率设备的数据的软件。它支持实时数据可视化、数据导出以及专业的统计分析功能,特别适合运动科学研究、数码测评等领域的应用。

声明:本应用不用于医疗诊断,仅用于数码测评和科学研究。

主要功能

• 多设备同时连接与监测 • 实时心率数据可视化 • 数据记录与导出( Excel/CSV ) • 专业统计分析(皮尔逊相关系数、Bland-Altman 分析) • 支持 Polar 、佳明等主流支持 0x180D 服务的 BLE 心率设备(已经测试过 Polar H10 ,Polar Sense ,BigRun Team ,高驰 HR01 ,佳明 965 心率广播,明确不支持苹果手表,苹果手表心率数据需要通过第三方软件获取或通过蓝牙连接获取,并非通过 0x180D 服务获取)

iOS 版: https://apps.apple.com/us/app/multi-hr/id6739001386 安卓版: https://play.google.com/store/apps/details?id=com.niulasong.multihr

主页: https://multihr.li2niu.com/ 中文版教程: https://mp.weixin.qq.com/s/8bNwmT7eMsU7Dh518J8hcg

❌