Reading view

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

We will pursue NHS if gender policies don't change, equalities watchdog warns

Reuters Crowds of people outside the Supreme Court, as it rules on an appeal by For Women Scotland. Reuters

New guidance for public bodies on single-sex spaces will be issued, after the UK Supreme Court unanimously ruled a woman is defined by biological sex under equalities law.

The Equality and Human Rights Commission (EHRC) says it is "working at pace" to provide an updated code of conduct for services, including the NHS and prisons.

The ruling could have implications for spaces such as hospital wards, changing rooms and domestic refuges.

The case was brought by women's rights campaigners who challenged the Scottish government, arguing sex-based protections should apply only to people that are born female.

On Wednesday judges ruled that when the term "woman" is used in the Equality Act it means a biological woman, and "sex" means biological sex.

This means a Gender Recognition Certificate (GRC) does not change a person's legal sex for the purposes of the Equality Act.

The Supreme Court justices argued this was the only consistent, coherent interpretation.

Baroness Kishwer Falkner, chairwoman of the Equality and Human Rights Commission, said the organisation was "pleased" the judgment addressed "difficulties" it highlighted in its submission to the court.

There is already Equality Act guidance which allows for women-only spaces, such as toilets, changing rooms and hospital wards in certain circumstances.

But under the new ruling a person who was born male but identifies as a woman does not have a right to use a space or service designated as women only.

That includes transgender women who have legally changed their gender and hold a GRC.

The equality watchdog says it expects its updated guidance to be in place by the summer.

The new guidance could also have an impact on women's sport, where the question over whether transgender women can participate has been a high-profile issue in recent years.

Sports have tightened up rules around transgender athletes at the elite levels. Athletics, cycling and aquatics have banned transgender women from taking part in women's events.

Other sports have put in place eligibility criteria. Earlier this month the English Football Association introduced stricter rules, but still allowed transgender women to continue to compete in the women's game as long as their testosterone was kept below a certain level.

Scottish Green MSP Maggie Chapman, a prominent campaigner for trans-rights, said: "This is a deeply concerning ruling for human rights and a huge blow to some of the most marginalised people in our society.

Trans rights campaigners have said they will be examining the judgment closely to decide on their next steps.

The UK government has welcomed the "clarity and confidence" for women and service providers brought by the judgement.

Health minister Karin Smyth said the government would be reviewing the ruling to "make sure we are fully compliant with it" and would be working with equality bodies to make sure organisations were fully compliant.

She said the government was not interested in "so-called culture wars" and believed that everybody should have "their dignity and privacy and their rights respected".

"I think now is the time to make sure that we look to the future, that rights are very clear for people and that service providers absolutely make sure they comply with the law," she said.

Scientists find 'strongest evidence yet' of life on distant planet

Cambridge University The bottom half of the frame shows a large blue planet with a shimmering atmosphere. Above it is space with a small red star above the planetCambridge University
Artwork of K2-18b, a faraway world that may be home to life

Scientists have found new but tentative evidence that a faraway world orbiting another star may be home to life.

A Cambridge team studying the atmosphere of a planet called K2-18b has detected signs of molecules which on Earth are only produced by simple organisms.

This is the second, and more promising, time chemicals associated with life have been detected in the planet's atmosphere by Nasa's James Webb Space Telescope (JWST).

But the team and independent astronomers stress that more data is needed to confirm these results.

The lead researcher, Prof Nikku Madhusudhan, told me at his lab at Cambridge University's Institute of Astronomy that he hopes to obtain the clinching evidence soon.

"This is the strongest evidence yet there is possibly life out there. I can realistically say that we can confirm this signal within one to two years."

Could this faraway world be home to life?

K2-18b is two and a half times the size of Earth and is seven hundred trillion miles away from us.

JWST is so powerful that it can analyse the chemical composition of the planet's atmosphere from the light that passes through from the small red Sun it orbits.

The Cambridge group has found that the atmosphere seems to contain the chemical signature of at least one of two molecules that are associated with life: dimethyl sulphide (DMS) and dimethyl disulphide (DMDS). On Earth, these gases are produced by marine phytoplankton and bacteria.

Prof Madhusudhan said he was surprised by how much gas was apparently detected during a single observation window.

"The amount we estimate of this gas in the atmosphere is thousands of times higher than what we have on Earth," he said.

"So, if the association with life is real, then this planet will be teeming with life," he told me.

Prof Madhusudhan went further: "If we confirm that there is life on k2-18b it should basically confirm that life is very common in the galaxy".

NASA The James Webb Space Telescope NASA
The James Webb Space Telescope is powerful enough to analyse the atmosphere of planets that are hudreds of trillions of miles away

There are lots of "ifs" and "buts" at this stage, as Prof Madhusudhan's team freely admits.

Firstly, this latest detection is not at the standard required to claim a discovery.

For that, the researchers need to be about 99.99999% sure that their results are correct and not a fluke reading. In scientific jargon that is a five sigma result.

These latest results are only three sigma, 99.7%. Which sounds a lot, but it is not enough to convince the scientific community. But it is much more than the one sigma result of 68% the team obtained 18 months ago,, which was greeted with much scepticism at the time.

But even if the Cambridge team obtains a five sigma result, that won't be conclusive proof that life exists on the planet, according to Prof Catherine Heymans of Edinburgh University and Scotland's Astronomer Royal, who is independent of the research team.

"Even with that certainty, there is still the question of what is the origin of this gas," she told BBC News.

"On Earth it is produced by microorganisms in the ocean, but even with perfect data we can't say for sure that this is of a biological origin on an alien world because loads of strange things happen in in the Universe and we don't know what other geological activity could be happening on this planet that might produce the molecules."

That view is one the Cambridge team agree with; they are working with other groups to see if DMS and DMDS can be produced by non-living means in the lab.

Other research groups have put forward alternative, lifeless, explanations for the data obtained from K2-18b. There is a strong scientific debate not only about whether DMS and DMDS are present but also the planet's composition.

The reason many researchers infer that the planet has a vast liquid ocean is the absence of the gas amonia in K2-18b's atmosphere. Their theory is that the ammonia is absorbed by a vast body of water below . But it could equally be explained by an ocean of molten rock, which would preclude life, according to Prof Oliver Shorttle of Cambridge University.

"Everything we know about planets orbiting other stars comes from the tiny amounts of light that glance off their atmospheres. So it is an incredibly tenuous signal that we are having to read, not only for signs of life, but everything else.

"With K2-18b part of the scientific debate is still about the structure of the planet," he said.

Dr Nicolas Wogan at Nasa's Ames Research Center has yet another interpretation of the data. He published research suggesting that K2-18b is a mini gas giant with no surface.

Both these alternative interpretations have also been challenged by other groups on the grounds that they are inconsistent with the data from JWST, which highlights the strong scientific debate surrounding K2-18b.

Prof Madhusudhan acknowledges that there is still a scientific mountain to climb if he is to answer one of the biggest questions in science. But he believes he and his team are on the right track.

"Decades from now, we may look back at this point in time and recognise it was when the living universe came within reach," he said.

"This could be the tipping point, where suddenly the fundamental question of whether we're alone in the universe is one we're capable of answering."

The research has been published in The Astrophysical Journal Letters.

King's Easter message: 'Humans are capable of both great cruelty and kindness'

EPA King Charles, head and shoulders, April 2025EPA
King Charles talked of humanity's capacity for both great cruelty and kindness

King Charles has issued an Easter message trying to build bridges between different faiths and recognising the efforts of those who provide humanitarian aid in wars and disasters.

"One of the puzzles of our humanity is how we are capable of both great cruelty and great kindness," said the King, in a message ahead of the traditional Maundy Service, held this year in Durham Cathedral.

The King and Queen Camilla will attend the service in which specially minted coins, the Maundy Money, are presented to 76 men and women, the same number as the King's age.

The King has promoted links between different religions - and this Christian message also praises the goodness in the Jewish and Islamic faiths.

In his message on the meaning of Easter, the King talks of the "paradox of human life" in which the heroism of humanitarian workers is contrasted with terrible scenes of suffering in war.

A new Humanitarian Medal has been launched, honouring those who risk their own lives to help others in emergencies and war zones, and the King hailed their selflessness and compassion.

For Christians, the Maundy Thursday service marks the Last Supper - and the King's message speaks of the humility of Jesus who "knelt and washed the feet of many of those who would abandon him".

The King said that for people of all religions who "seek the good of others" the core message is one of love for others.

"There are three virtues that the world still needs - faith, hope and love. And the greatest of these is love," said the King's message.

King Charles is a man of faith and was said by Palace officials to have been deeply moved by the religious mosaics he saw in Ravenna on last week's state visit to Italy.

The King missed last year's Maundy Service because of his cancer treatment, with the Queen giving out the Maundy Money on his behalf.

This year's Maundy coins will include a £5 one commemorating the Queen Mother and a 50p commemorating World War Two, with the recipients being people who have helped their local churches and community.

This is one of the oldest royal ceremonies, dating back at least as far as the 13th Century and the reign of King John.

Thin, purple banner promoting the Royal Watch newsletter with text saying, “Insider stories and expert analysis in your inbox every week”. There is also a graphic of a fleur-de-lis in white.

Sign up here to get the latest royal stories and analysis every week with our Royal Watch newsletter. Those outside the UK can sign up here.

Sloth has pioneering surgery to cure toothache

Chester Zoo Rico is on the operating table, surrounding by staff in blue scrubs. One of the operating team has a medical implement in his mouth.Chester Zoo
Rico underwent a three-hour operation at Chester Zoo

A sloth has had pioneering dental surgery to cure toothache.

Rico is believed to be the first sloth to undergo such an operation, which was carried out by a team at Chester Zoo working alongside dental experts from Newcastle University.

The two-toed sloth went under the knife after keepers noticed swellings on the sides of its face, with investigations showing two root abscesses.

Dentist Fiona Beddis said the university's team had never carried out the procedure on a sloth so it "really was a step into the unknown, so we are all delighted with the successful outcome".

Chester Zoo Rico the sloth is hanging upside down from a rope, with one leg wrapped around a wooden pole and greenery seen blurred out in the background. He has long light brown fur with long grey claws gripping onto the rope.Chester Zoo
Rico is thought to be the first sloth to undergo the operation

Ms Beddis said treating Rico had been a once-in-a-lifetime opportunity and it was "a great privilege to treat such a rare and beautiful animal".

Rico, who is 25 years old, had a three-hour operation at Chester Zoo's animal care centre, with the infected tissue surrounding two of the sloth's teeth removed.

Unlike a typical root canal, the dental experts went in through the bottom of Rico's tooth.

Dave Edwards from Newcastle University's School of Dental Sciences said the surgery involved removing the end of the tooth root and "sealing it with special cement".

He said it was "very challenging working on a sloth due to their unique anatomy, but also a very rewarding experience".

Resident zoo vet, Charlotte Bentley said the teeth that they operated on were "highly specialised and sharp molars".

Chester Zoo An x-ray shows Rico skeletal structure and medical tubes during the operation.Chester Zoo
Zoo staff had to undergo special training to enable them to carry out X-rays on Rico while conscious

Ms Bentley said sloths had "very different teeth to humans, which makes dentistry challenging".

"Whilst we couldn't save both teeth, the great news is that since his procedure, the abscesses have not come back, and his latest X-ray shows his filling is still in place," she added.

"It's safe to say that the treatment worked at treating his toothache."

Rico, who lives with Tina, a female two-toed sloth, in the zoo's jaguar house, has been regularly monitored since the surgery.

Rico's keeper, Brittany Williams, said "it could be slow progress calling Rico for health checks following the surgery as "he goes at his own pace", but she added: "I don't mind working at sloth speed."

Two-toed sloths are found across South America, where they face threats including habitat loss, logging and hunting for the illegal wildlife trade.

Chester Zoo is part of a conservation breeding programme working to safeguard the species across Europe.

Read more stories from Cheshire on the BBC, watch BBC North West Tonight on BBC iPlayer and follow BBC North West on X. You can also send story ideas via Whatsapp to 0808 100 2230.

Related internet links

Actress Michelle Trachtenberg died from diabetes complications

Watch: Michelle Trachtenberg on the red carpet over the years

US actress Michelle Trachtenberg died a natural death from complications caused by diabetes, according to the New York City medical examiner's office.

The 39-year-old actress was found "unconscious and unresponsive" in her New York City apartment in February.

Officials did not perform a post-mortem examination, but said toxicology tests determined Trachtenberg's cause of death.

The US actress was best known for playing Buffy the Vampire Slayer's younger sister Dawn Summers, and later took on the role of manipulative socialite Georgina Sparks in Gossip Girl as an adult.

Trachtenberg's family, who are Orthodox Jews, had reportedly objected to an autopsy, citing religious reasons.

Because there was no sign of foul play, the medical examiner did not overrule the relatives' objection.

An unnamed source told NBC News the actress had received a liver transplant before her death. The exact timing or reasoning of the operation is unclear.

Trachtenberg's sudden death shocked her fans.

She rose to fame as a childhood star making her debut in a number of Nickelodeon projects including the film Harriet the Spy.

In the early 2000s, she was nominated for several acting awards - including a Daytime Emmy Award - for her role in Buffy the Vampire Slayer.

She also starred in films including EuroTrip, Ice Princess, Killing Kennedy, and Sister Cities.

Following her death, fellow actors paid tribute.

Blake Lively, a Gossip Girl co-star, said everything Trachtenberg did "she did 200%".

"She laughed the fullest at someone's joke... she cared deeply about her work, she was fiercely loyal to her friends and brave for those she loved, she was big and bold and distinctly herself," Lively wrote on social media.

习近平走访东南亚盼联手抗美 学者:东盟难脚踏两条船

美中关税大战之际,中国领导人习近平访问东南亚强调抵制滥征关税,释出与东盟签订自由贸易升级议定书的意向。有学者告诉自由亚洲电台,习近平目的在倾销过剩产能、结成抗美同盟,但特朗普摆明堵死“洗产地”的关税战,东盟国家已无法再“脚踏两条船”。

习近平今年首次出访给了东盟,17日抵达柬埔寨,投书多家柬国媒体宣称“平等互利”是中柬命运共同体强大动力,强调两国共同反对霸权主义、共同抵制保护主义。

这是他访问东南亚最后一站。习近平14日抵达第一站越南,与越共总书记苏林会谈,签署45份合作文件,涵盖铁路连接计划、互联互通、人工智能等领域。习近平投书越南媒体指出,贸易战与关税战没有赢家,保护主义走不通。习近平会晤越南总理时表示,两国应该共同反对单边霸凌行径。

习近平上次访问马来西亚在12年前。此次大马首相安华接机,两人16日会晤时,习近平强调中马命运共同体,并表示,愿与地区国家一起,尽早签署中国-东盟自由贸易区升级《议定书》,团结、冲破单边主义和保护主义逆流,抵制脱钩断链、小院高墙和滥征关税。

习近平自备防弹红旗车 学者:如帝王出巡防暗杀

综合媒体报道,习近平访马来西亚时,自带防弹车,将专属“红旗N701”座驾运到马来西亚,马国警方启动反恐最高级维安,及可干扰无线电波及电话讯号的反恐车,以阻截遥控炸弹信号,还封锁管制136条道路,派出上千名警力维安和护送车队。中马进行双边会谈同时签署备忘录。

台湾的政治大学国际关系研究中心资深研究员宋国诚接受自由亚洲电台采访指出,习近平展现如封建王朝帝王出巡、万众肃敬风格,也防范出现像美国总统甘迺迪被射杀的事件。

习近平东盟“倒垃圾”? 收买抗美关税联盟

宋国诚分析习近平访东盟的二大目的:“一是将被阻挡在美国市场之外的四千多亿的输美货品,像倒垃圾一样倒到东协(盟)。另外他想利用体制的相近性,像社会主义兄弟国家的越南,以情感的绑架逼迫这些国家形成抗美关税联盟。”

宋国诚说,习近平借出访外交寻求突围,采取以边缘包围中心方式,以分散或转移被美国市场所围堵的中国出口的商品;但他访问的国家,同样遭特朗普课重税,越南、马来西亚、柬埔寨各被课征46%、24%、49%。

宋国诚举例:“越南是帮中国洗产地的重镇,每年从中国进口三百亿,对美出口三百一十四亿,我认为这十四亿差额是转口佣金、洗产地佣金。东协国家如果站在中国那边,中国接下来可能打你一百、二百的关税,这些国家受得了还是受不了?”

东盟表面奉承 实担忧与中国捆绑遭美关税重击

宋国诚说,中国透过大撒币搞“一带一路”贷款,这次跟越南又签了45个协议,摆明用金钱利诱,现实问题是,这些国家要选择持续受美国关税重磅打击的中国,还是设法利用软性弹判减缓美国的关税压力?如越南长期主张“筷子外交”,对美、对中一样,想脚踏两条船,但这次特朗普笃定把洗产地国家堵死。

宋国诚说:“东协国家表面奉承、封街像迎接帝王出巡一样,但现实问题没法让东协国家两边在那边取巧,如果敢站中国那边,美国商务部长已讲得很清楚,美国一样会对付你。我认为对习近平来讲是白忙一场、徒劳无功。”

旅美时事评论员蔡慎坤接受自由亚洲电台采访,也不认为习近平访问东盟,东盟国家就完全站在中国立场,因为真正出口地和市场还是在美国,如果跟美国对着干,对这些国家没有好处。

美国市场才是巨大蛋糕

蔡慎坤说:“美国一年三、四万亿美元商品的进口,对任何区域、经济体都是巨大的蛋糕、巨大的诱惑力,必然要跟美国有协商余地,要同等买美国的东西。如果中国跟东盟签自贸协议,都从这些国家获取顺差,这些国家的经济也会完全的失衡。”

蔡慎坤进一步分析,中国不可能给东南亚国家提供更大市场,他们的产品雷同,如果东盟和中国签协议,美国可能会将东盟和中国捆绑着一起打。何况美国对新加坡关税仅10%,而东盟内部关系复杂,南海问题还没解决,台海危机也迫在眉睫,要形成所谓统一战线不易。

马来西亚今年轮值东盟的主席国。蔡慎坤提到,去年中国对东盟出口将近六千五百亿美元,是最大出口地,即“洗产地”。去年中国对越南出口一千六百多亿,从越南进口只有几百亿,越南产业链齐全、经济量体也最大,习近平此行重点在收买越南。如果把越南捆绑一起,美国就很难找到中国产品替代地。

蔡慎坤说,马来西亚是穆斯林国家,汲取过去共产党发展马共造成威胁的教训,外交政策相对独立。去年中国从马来西亚购买的商品超过一千亿美元,马来西亚对中国出口顺差,当然愿意跟中国搞好经贸关系。至于柬埔寨对中国出口才十亿美金,中国对柬埔寨“洗产地”出口一百三十多亿美金,柬埔寨需中国援助,执政的洪森家族也需中共极权的支持。原本习近平计划去泰国,但因地震垮楼而生变。

蔡慎坤预测,中低端产业有可能移到台湾、日本,关税战给台湾带来机会,能不能堵住中国进到台湾缺口是考验,如果与美国谈得好,台湾未来可能又是亚洲新的四小龙。

中马“情同手足?” 台湾基进讽“器官外交”

习近平此行受到不少批判,马来西亚歌手黄明志在脸书称习近平是“挂着假笑的敌人”,暗讽他对维吾尔族监禁、酷刑,甚至残忍夺走器官,经常派军船入侵马国海域。有马国网红批判中国隐匿新冠疫情造成马国受害,但马来西亚拥抱人民币后明显倾斜,其论点受到不少网民认同。

新华社报道,中国与马来西亚是“情同手足”的知心朋友,台湾独派政党、基进党秘书长吴欣岱反讽不如说是“心肝宝贝”,据报道,此次高规格欢迎习近平的马国元首依布拉欣(Sultan Ibrahim),其子在十年前曾接受中国肝脏移植手术。吴欣岱质疑,面对中美关税战,极权中国有一个民主世界不会用的武器,就是“器官外交”。

责编:陈美华 许书婷

© AP

柬埔寨国王西哈莫尼17日在金边国际机场欢迎习近平抵达。

北京联通的套餐终于到期了,想问下目前有没有朋友办理的性价比比较高的套餐。

authony2020: 北京联通的套餐终于到期了,想问下目前有没有朋友办理的性价比比较高的套餐。之前联通的套餐是冰激凌 5G199 套餐,有一个副卡巨坑了两三年。现在想换成每月大于 30G 的全国流量,带个 300-500M 的宽带,有没有朋友近期办理过套餐的方便推荐一下。

求助 singbox 无法访问 docker hub 和 youtube 的问题

airycanon:

如题,是在 Mac 上用 Gui For SingBox 配置的,对应版本如下:

  • MacOS:15.4
  • Gui For SingBox:1.9.5
  • singbox 内核:1.11.7

开启之后可以访问 https://google.com 以及 https://docker.com
但是无法访问 https://hub.docker.com 以及 https://youtube.com

通过 curl 发现会返回一个错误的证书

 curl -vv https://hub.docker.com
* Host hub.docker.com:443 was resolved.
* IPv6: (none)
* IPv4: 157.240.12.5
*   Trying 157.240.12.5:443...
* Connected to hub.docker.com (157.240.12.5) port 443
* ALPN: curl offers h2,http/1.1
* (304) (OUT), TLS handshake, Client hello (1):
*  CAfile: /etc/ssl/cert.pem
*  CApath: none
* (304) (IN), TLS handshake, Server hello (2):
* (304) (IN), TLS handshake, Unknown (8):
* (304) (IN), TLS handshake, Certificate (11):
* (304) (IN), TLS handshake, CERT verify (15):
* (304) (IN), TLS handshake, Finished (20):
* (304) (OUT), TLS handshake, Finished (20):
* SSL connection using TLSv1.3 / AEAD-CHACHA20-POLY1305-SHA256 / [blank] / UNDEF
* ALPN: server accepted h2
* Server certificate:
*  subject: C=US; ST=California; L=Menlo Park; O=Meta Platforms, Inc.; CN=*.atlassolutions.com
*  start date: Jan 24 00:00:00 2025 GMT
*  expire date: Apr 24 23:59:59 2025 GMT
*  subjectAltName does not match host name hub.docker.com
* SSL: no alternative certificate subject name matches target host name 'hub.docker.com'
* Closing connection
curl: (60) SSL: no alternative certificate subject name matches target host name 'hub.docker.com'
More details here: https://curl.se/docs/sslcerts.html

curl failed to verify the legitimacy of the server and therefore could not
establish a secure connection to it. To learn more about this situation and
how to fix it, please visit the web page mentioned above.

对应的 singbox 配置如下,隐藏了节点的配置

{
  "log": {
    "disabled": false,
    "level": "info",
    "output": "",
    "timestamp": false
  },
  "experimental": {
    "clash_api": {
      "external_controller": "127.0.0.1:20123",
      "external_ui": "",
      "external_ui_download_url": "",
      "external_ui_download_detour": "🎯 Direct",
      "secret": "ID_r4fgwjn7",
      "default_mode": "rule",
      "access_control_allow_origin": [
        "*"
      ],
      "access_control_allow_private_network": false
    },
    "cache_file": {
      "enabled": true,
      "path": "cache.db",
      "cache_id": "",
      "store_fakeip": true,
      "store_rdrc": true,
      "rdrc_timeout": "7d"
    }
  },
  "inbounds": [
    {
      "type": "mixed",
      "tag": "mixed-in",
      "listen": "127.0.0.1",
      "listen_port": 20122,
      "tcp_fast_open": false,
      "tcp_multi_path": false,
      "udp_fragment": false
    }
  ],
  "outbounds": ["节点信息..."],
  "route": {
    "rules": [
      {
        "action": "route",
        "rule_set": [
          "Youtube",
          "Docker"
        ],
        "outbound": "🚀 Select"
      },
      {
        "action": "route",
        "rule_set": [
          "Bilibili"
        ],
        "outbound": "🎯 Direct"
      },
      {
        "action": "hijack-dns",
        "protocol": "dns"
      },
      {
        "action": "route",
        "clash_mode": "direct",
        "outbound": "🎯 Direct"
      },
      {
        "action": "route",
        "clash_mode": "global",
        "outbound": "GLOBAL"
      },
      {
        "action": "reject",
        "protocol": "quic"
      },
      {
        "action": "reject",
        "rule_set": [
          "Category-Ads"
        ]
      },
      {
        "action": "route",
        "rule_set": [
          "GeoSite-Private"
        ],
        "outbound": "🎯 Direct"
      },
      {
        "action": "route",
        "rule_set": [
          "GeoSite-CN"
        ],
        "outbound": "🎯 Direct"
      },
      {
        "action": "route",
        "rule_set": [
          "GeoIP-Private"
        ],
        "outbound": "🎯 Direct"
      },
      {
        "action": "route",
        "rule_set": [
          "GeoIP-CN"
        ],
        "outbound": "🎯 Direct"
      },
      {
        "action": "route",
        "rule_set": [
          "GeoLocation-!CN"
        ],
        "outbound": "🚀 Select"
      }
    ],
    "rule_set": [
      {
        "tag": "Youtube",
        "type": "remote",
        "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/sing/geo/geosite/youtube.srs",
        "format": "binary",
        "download_detour": "🚀 Select"
      },
      {
        "tag": "Docker",
        "type": "remote",
        "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/sing/geo/geosite/docker.srs",
        "format": "binary",
        "download_detour": "🚀 Select"
      },
      {
        "tag": "Bilibili",
        "type": "remote",
        "url": "https://github.com/MetaCubeX/meta-rules-dat/raw/refs/heads/sing/geo-lite/geosite/bilibili.srs",
        "format": "binary",
        "download_detour": "🚀 Select"
      },
      {
        "tag": "Category-Ads",
        "type": "remote",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/category-ads-all.srs",
        "format": "binary",
        "download_detour": "🎯 Direct"
      },
      {
        "tag": "GeoIP-Private",
        "type": "remote",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geoip/private.srs",
        "format": "binary",
        "download_detour": "🎯 Direct"
      },
      {
        "tag": "GeoSite-Private",
        "type": "remote",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/private.srs",
        "format": "binary",
        "download_detour": "🎯 Direct"
      },
      {
        "tag": "GeoIP-CN",
        "type": "remote",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geoip/cn.srs",
        "format": "binary",
        "download_detour": "🎯 Direct"
      },
      {
        "tag": "GeoSite-CN",
        "type": "remote",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/cn.srs",
        "format": "binary",
        "download_detour": "🎯 Direct"
      },
      {
        "tag": "GeoLocation-!CN",
        "type": "remote",
        "url": "https://testingcf.jsdelivr.net/gh/MetaCubeX/meta-rules-dat@sing/geo/geosite/geolocation-!cn.srs",
        "format": "binary",
        "download_detour": "🎯 Direct"
      }
    ],
    "auto_detect_interface": true,
    "final": "🐟 Fallback"
  },
  "dns": {
    "servers": [
      {
        "tag": "FakeIp",
        "address": "fakeip"
      },
      {
        "tag": "Local-DNS",
        "address": "https://223.5.5.5:443/dns-query",
        "address_resolver": "Local-DNS-Resolver",
        "detour": "🎯 Direct"
      },
      {
        "tag": "Local-DNS-Resolver",
        "address": "udp://223.5.5.5:53",
        "detour": "🎯 Direct"
      },
      {
        "tag": "Remote-DNS",
        "address": "tls://8.8.8.8:853",
        "address_resolver": "Remote-DNS-Resolver",
        "detour": "🚀 Select"
      },
      {
        "tag": "Remote-DNS-Resolver",
        "address": "udp://8.8.8.8:53",
        "detour": "🚀 Select"
      }
    ],
    "rules": [
      {
        "action": "route",
        "server": "Local-DNS",
        "outbound": "any"
      },
      {
        "action": "route",
        "rule_set": [
          "GeoLocation-!CN"
        ],
        "server": "Remote-DNS"
      },
      {
        "action": "route",
        "rule_set": [
          "GeoSite-CN"
        ],
        "server": "Local-DNS"
      }
    ],
    "disable_cache": false,
    "disable_expire": false,
    "independent_cache": false,
    "final": "Remote-DNS",
    "fakeip": {
      "enabled": true
    }
  }
}

求职 Web3 前端远程开发

q1745960380:

个人介绍

5 年 web3 前端经验 求远程 remote 工作。 web3 相关的 dapp ,脚本各类很多都做过,属于全干主前端

个人技能

熟练 React 熟悉 Solidity 智能合约开发 熟悉使用 ethers.js web3.js viem multicall 等合约交互库。 熟悉 Telegram 小程序,Telegram Bot 开发流程。

一直在 web3 生态领域工作,持续关注区块链技术发展。All in Web3 ,我爱 Web3

联系方式

微信:Q0oxOTk2MDA1MQ== 邮箱:cTE3NDU5NjAzODBAZ21haWwuY29t

请教一个服务器数据接收延迟问题

qianProgrammer:

基本场景:

服务器上部署了一个 Java 后端程序,作为数据的接入节点,有数个客户端通过 Socket 的方式连接到这个节点上,每个客户端会实时将数据传输到节点上,节点收到数据后做基本的结构化后将数据写入 Redis 队列,有定时任务会去读取 Redis 队列的数据,将数据批量写入到 MongoDB 。
各个客户端上是安装的 5G 流量卡。
业务场景是通过点阵笔设备提取学生的实时书写笔迹,每个客户端平均会连接 40 支笔,每支笔在完整书写一页的情况下传输的数据量在 27000 条左右,根据不同的试卷和学生进行分表。

基本环境:

当前数据服务器节点:12 核(vCPU) 24 GiB ,公网带宽 5M 。
数据库:Mongodb V8.0.6 ,部署在另外的服务器上,各节点相互之间通过内网连接。

问题描述:

偶尔发生,从日志观察有明显延迟情况,传输的数据中有记录数据的产生时间,这边收到数据做结构化的时候也会设置一个写入时间,两者相差有时候能达到 1 小时以上。
在客户端断开的情况下,数据节点还是会不停的输出收到数据。
从 Redis 的队列观察来看,数据的写入并不慢,数据基本上刚进入 Redis 就会被读取并写入库,不存在数据的积压情况。
从服务器 top 命令来看,这个数据采集的 Java 服务的 CPU 占用经常在 50-60 之间,还有另外一个做成绩识别的服务会占用到 40-140 之间。
load average: 1.33, 1.39, 1.56
Tasks: 213 total, 1 running, 212 sleeping, 0 stopped, 0 zombie
%Cpu(s): 7.6 us, 0.9 sy, 0.0 ni, 90.9 id, 0.0 wa, 0.0 hi, 0.6 si, 0.0 st
MiB Mem : 22870.4 total, 3022.4 free, 8054.5 used, 11793.5 buff/cache
MiB Swap: 0.0 total, 0.0 free, 0.0 used. 14421.1 avail Mem


核心诉求是课堂中的笔迹数据能够实时提取,
请各位大佬帮小弟分析下问题在哪里,个人业务开发做的比较多,这方面的知识相对浅薄。

做一个自建站,gin gorm,前端打算用 bootstrap+html 渲染 现在遇到个问题很头疼

jiaoguan1688: 前端打算用
bootstrap+html 渲染
下单页打算跳转到 element admin vue 的框架下单(体验感好)
因为下单页不需要 seo,只需要把首页 分类页 产品页使用 bootstrap html 渲染

现在遇到个思维问题 就是如果用 element admin 框架写下单页 就会发现风格不同
bootstrap 的页面就是常规电商站的页面 但是下单页突然跳到 vue 框架的页面 是不是给人感觉非常不协调

这要怎么样解决!让我头大
如果继续用 bootstrap 的页面写下单 支付 等等,虽然风格一致性,但是好像感觉没有 vue 的效果好

大专程序员,投简历三周, 0 面试,有点绝望

fingerxie:

做了 7 年的 java ,在中大厂做过小开发,在小厂做过技术组长,但是辞职这段时间以来,发现一点面试都没有,连外包都没有约面,也不知道何去何从了。

我其实挺喜欢写代码的,感觉这行挺有意思,也喜欢以程序员的方式去改变世界,但是不知道为什么,哪里都没机会

哎,我该怎么办,转行吗?

让 MCP 变得简单:每个人都应该可以一键实现服务集成

aiyanbo:

Image

原文地址

MCP 的出现是一件让人兴奋的事情,它标志着大家可以在同一个标准下开发和集成自己需要的服务。目前它的发展非常迅速,在 OpenTools 上一共收录了 43 个常用服务,在 Smithery 则是达到了惊人的 1946 个。

它们都提供了安装 MCP 服务的命令行,不过对于普通用户来说,想要在 Claude Desktop 上使用 MCP 服务可不那么简单。 因为:

  1. OpenTools 和 Smithery 提供的是 npx 命令,要使用它们需要先安装 npx (NodeJS 编程语言的一个包启动工具)。
  2. 遇到使用 Python 语言编写的 MCP 服务,还需要会设置 Python 运行环境,有的 MCP 服务需要 Python 3.11 以上,在默认的操作系统中可能并不提供。

是的,当你去尝试安装 NPX 和 Python 环境时,可能你会在文档里面发现可能还需要再安装一个 uv 。好吧,这听起来就不是一件简单的事情。如果我们不使用 OpenTools 和 Smithery ,我们还需要能找到 claude_desktop_config.json 文件把 MCP 服务配置上去。然后还需要设置环境变量和参数,才能让 MCP 服务运行起来。

所以我们有办法让 MCP 服务的安装和设置更简单吗?答案是肯定的。

要做到简单,我们需要做到以下几点:

  1. MCP 的运行环境(例如:NodeJS, Python )等是自动安装的,我们不应该在这里花费时间。
  2. MCP 的运行环境需要是隔离的,因为这样可以避免它们相互影响,上面我们就提到有点 MCP 服务需要 Python 3.10, 有的需要 Python 3.11 。
  3. 应该有一个 GUI, 这样我们选择需要的 MCP 服务,然后鼠标点击一下就可以安装。
  4. 然后我们可以在 GUI 上设置参数和环境变量。
  5. 最后,我们只需通过点击,就可以让安装设置好的 MCP 服务连接到任意客户端上,例如:Claude Desktop

接下来,我们探讨一下在技术上可以怎样实现这几点。

阶段 1:安装运行环境

NPX 命令包含在 NodJS 的安装包中,因此我们只需要根据平台和 CPU 架构下载 NodeJS 安装包,并且解压即可。例如:

wget https://nodejs.org/dist/v22.14.0/node-v22.14.0-darwin-arm64.tar.gz

tar -xzvf node-v22.14.0-darwin-arm64.tar.gz

同理,我们可以得到一个 Python 的运行环境。这些运行环境我们需要单独管理,让它们隔离起来,以免对系统的其他部分产生影响。

PS: 在 macOS 中有一个默认的 Python 程序,不过它的版本较低,因此我们还是需要安装它。

阶段 2:整理 MCP 服务数据

MCP 官方的 Github ( https://github.com/modelcontextprotocol/servers/tree/main/src ) 上 发布了一些服务,我们可以从服务的安装文档中提取运行时设置的参数,例如 brave-search 需要 BRAVE_API_KEY ,我们需要收集整理这些数据,以便能在 GUI 上设置 MCP 服务运行必须的参数。我们可以转换成这样的 JSON-SCHEMA 数据结构:

{
  "config": {
    "apiKey": {
      "name": "Brave api key",
      "type": string
    },
    "required": ["apiKey"]
  }
}

这一过程,我们需要程序化它,不然那么多的 MCP 服务通过人工的方式整理需要花大量的时间,不过我们可以在验证阶段只关注少量的 MCP 服务。

PS: Claude Desktop 的配置文件中有 args 和 env 之分,我认为我们不应该关心 MCP 服务如何使用 args 和 env, 我们只需要关心 MCP 服务需要什么参数。

阶段 3:可视化安装程序

这一个过程是非常复杂的,我们需要开发一个应用程序实现 MCP 服务的一键安装和设置。例如这样:

Image

用户可以选择自己需要的 MCP 服务,然后一键安装,通过可视化的程序配置。好在目前有许多的桌面应用程序开发框架可以简化这一过程。例如:Electron 和 Tauri 。

阶段 4:管理与连接 MCP 服务

Claude Desktop 需要通过修改 claude_desktop_config.json 文件来连接 MCP 服务,每一次安装 MCP 服务,我们都需要修改一次,那有没有可能我们只修改一次 claude_desktop_config.json 文件来实现动态连接 MCP 服务呢?答案是肯定的,为此我们可以借鉴 Nginx 的设计,实现一个 MCP 服务的动态代理,设计如下:

这样,我们不仅省去了每次安装 MCP 服务都需要去修改 claude_desktop_config.json 文件的操作,我们还能记录和审计 AI 模型都访问了哪些 MCP 服务,做了什么操作,访问了哪些资源等等。

我们开源了 mcp-proxy 的实现,源代码在这里 https://github.com/getmcp/mcp-proxy

结论

我对 MCP 的发展感到非常兴奋,我相信未来 MCP 服务的使用门槛会越来越低,会变得像在手机里安装一个应用那样简单。这是我的一个尝试,希望能对 MCP 服务的安装有所帮助。希望大家能喜欢 GetMCP ( https://getmcp.cc)。

十年老司机, 租车第一次上路感受, 另求行车记录仪推荐.

InDom:

我和室友都拿驾照十多年了没开过车, 周末逛了车展次日就租车练练车(看车不买车, 打算租一阵子再说).

本来计划找个僻静的地练练车感, 结果把车从停车场开到练车点发现很顺利, 于是就继续在马路上开了, 一天下来跑了 130 多公里, 围着城区周边几个景点绕了一个大圈.

这周末打算去灵岩寺, 估计要走省道跟高架, 计划五一去日照(考虑要走高速, 是租车开过去还是到了再租还没定)

大家怎么建议呢?

另外考虑到需要装一个行车记录仪, 但看了一圈发现很多都是静电贴的, 这玩意如果反复拆装需要换静电贴也是成本, 不知道大家有没有便于拆装且清晰的行车记录仪?

预算 200-300 左右吧? 如果没有合适的, 也许 500 以内也可以接受.

谢谢.

Gap 半年,三十岁程序员找工作记录完结

jiang1209: https://www.v2ex.com/t/1120657
https://www.v2ex.com/t/1123538

前两个帖子,同步下最新进展,找论坛的老哥内推后成功收到 offer 了,不出意外下周正式上班。
内推的职位我 boss 上也投过,打招呼没回应,一内推马上就有面试了。
还是投简历的人太多,冲淡了被回复的可能性,大家有内推还是尽量找内推进。

本次开始找工作到入职差不多 1 个月,整体还算顺利吧。
不出意外这份工作应该是最后一份开发工作,如果被裁了应该就正式转行了。

祝大家还在找工作的 v 友一切顺利!!!!!!!!

求上海回驻马店能当天下班晚上能到的路线

zhengmin451607:

刚来上海不久,上海回驻马店的动车只有一列,太难了。这次五一我只能买五一当天回去的票,到驻马店 18 点多。 我想 30 号下班就走然后晚上半夜就能到,研究了很久,目前最优解是请假 3 小时 15.30 走(我 18.30 下班),然后去虹桥站 1 小时(我在黄浦区圆明园路这上班),坐上海-武汉 16.55 出发-20.25 到达的动车票,然后武汉-驻马店 20.34 出发-21.37 到达的动车票。缺点是需要请假 3 小时,大概扣 350 块工资。

有没有朋友知道更优解,请假的时间更少但是总体费用差不多,或者请假的时间一样但是更早到达或者费用更少,或者未来有什么新的路线比如在建的铁路。 看过飞机,看过动车到郑州后租车开回驻马店,最后都 PASS 了。

27 寸 2k 显示器选购决赛圈,帮忙投投票

CodeWind:

趁着国补,想买个显示器,看中 27 寸 2k 规格的显示器,看中了微星 mag 275qf 和 sanc g72 max ,简述如下:

微星 mag 275qf:

  • 价格:646
  • 刷新率:180Hz
  • 亮度:300nit

sanc g72 max:

  • 价格:680
  • 刷新率:200Hz
  • 亮度:400nit

ps:显卡比较垃圾(AMD RX580 8G),不打游戏,且近两年没有换购显卡的打算。

❌