Normal view

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

Israel Will Allow More Aid Into Gaza, Officials Say

The decision followed discussions with the European Union, which has pressed Israel to ease the dire humanitarian conditions for Palestinians in the territory.

© Saher Alghorra for The New York Times

Palestinians waiting in line to receive flour from an aid center in Gaza City in June.

Gregg Wallace faces backlash over autism defence for misconduct claims

10 July 2025 at 21:10
BBC/ShineTV A picture of Gregg Wallace on MasterChefBBC/ShineTV

Former MasterChef host Gregg Wallace is facing criticism from charities and groups working with disabled people after he appeared to link claims of misconduct he is facing to his autism diagnosis.

Several dozen people have come forward with allegations about Wallace, including inappropriate sexual comments, touching and groping, which he denies.

In a statement this week, the presenter defended himself and also said he had recently been diagnosed with autism, but that TV bosses had failed to "investigate my disability" or "protect me from what I now realise was a dangerous environment".

One charity told BBC News that autism is "not a free pass for bad behaviour", while others warned that such remarks risked stigmatising the autistic community.

Wallace has been sacked as MasterChef host, and a report into the accusations is expected to be published shortly. He has said it has cleared him of "the most serious and sensational allegations".

On Tuesday, Wallace wrote on Instagram: "My neurodiversity, now formally diagnosed as autism, was suspected and discussed by colleagues across countless seasons of MasterChef.

"Yet nothing was done to investigate my disability or protect me from what I now realise was a dangerous environment for over 20 years."

The Telegraph reported on Thursday that he plans to sue the BBC and the makers of MasterChef for discrimination on the grounds of his autism following his sacking.

And the Times reported friends of Wallace as saying his autism means he can't wear underwear, and that his condition was partly to blame for his alleged inappropriate behaviour.

Speaking to BBC News, Seema Flower, founder of disabilities consultancy Blind Ambition, said there was "no excuse" for being inappropriate to people in society.

"Where does it leave us if we use autism as excuse to behave in whatever way we like?" she asked.

Her comments were echoed by Emily Banks, founder of neurodiversity training body Enna.

"To be clear: being autistic is never an excuse for misconduct. It doesn't absolve anyone of responsibility, and it certainly doesn't mean you can't tell the difference between right and wrong."

Dan Harris, who runs the charity Neurodiversity in Business and is himself autistic, said people like him "may miss social cues sometimes".

"But autism is not a free pass for bad behaviour," he added.

"Comments like this stigmatise us and add an unfortunate negative focus on our community."

Last year, the charity Ambitious About Autism dropped Wallace as an ambassador in the wake of the original claims against him.

BBC/Shine TV A picture of Gregg WallaceBBC/Shine TV

The comments have also sparked debate online and on radio phone-ins.

On BBC Radio 2's Jeremy Vine Show, Jessie Hewitson, Director of NeuroUniverse, said people with autism "have been stereotyped since the dawn of time".

She said she worried that remarks like this risk "forming a connection in peoples' minds - either that autistic people behave inappropriately in the workplace or that we cannot take personal responsibility".

But on social media, many people responded positively to Wallace's post and sent him supportive messages.

And on BBC Radio 5 Live's Nicky Campbell Show, which dedicated an hour to the topic on Thursday, some callers were sympathetic.

One called Danielle, who is autistic, said people with the condition "can misread situations quite often".

"I think growing up undiagnosed, you grow up thinking everything you're doing is wrong because you're different and you then internalise a lot of that so you're very oversensitive as well," she said.

Another caller, Jake, said he thought Wallace should have had support a long time ago.

"You've got a man here who's clearly out of touch, he's been out of touch for a long time, he's had nobody putting him back in line, whether that's an employer, whether that's a friend, whether that's anybody, and at the moment that's what he needs.

"He needs some compassion to get him back where he needs to be and I feel for his mental health."

Report expected

As the face of BBC One cooking show MasterChef, Wallace, 60, was one of the most high-profile presenters on British television for 20 years.

He stepped aside from the show in November after an initial BBC News investigation, when 13 people accused him of making inappropriate sexual comments.

This week, new claims have come from 50 more people who say they encountered him across a range of shows and settings.

The majority say he made inappropriate sexual comments, while 11 women accuse him of inappropriate sexual behaviour, such as groping and touching.

The inquiry into allegations of misconduct against Wallace, has been conducted by an independent law firm on behalf of MasterChef's production company Banijay.

BBC News has not seen that report, but Wallace said it had found the "most damaging" allegations to be "baseless".

He also accused the BBC of "peddling baseless and sensationalised gossip masquerading as properly corroborated stories".

A spokesperson for Wallace has said he denies engaging in behaviour of a sexually harassing nature.

Banijay UK said: "While the external investigation is ongoing, we won't be commenting on individual allegations. We encourage anyone wishing to raise issues or concerns to contact us in confidence."

A BBC spokesperson said: "Banijay UK instructed the law firm Lewis Silkin to run an investigation into allegations against Gregg Wallace.

"We are not going to comment until the investigation is complete and the findings are published."

If you are affected by any of the issues in this story, help and support is available at BBC Action Line.

It's too easy to claim benefits in UK, Badenoch says

10 July 2025 at 21:48
Getty Images Kemi Badenoch, leader of the Conservatives, shown speaking at a business conference in June Getty Images

Kemi Badenoch will call for foreign nationals to be barred from claiming disability and sickness benefits, as she sets out plans for tighter curbs on welfare.

In a speech on Thursday, the Tory leader will describe Britain's benefits bill as a "ticking time bomb" that could "collapse the economy".

It comes after the party outlined some of its own proposals to reduce spending, after Labour largely gutted its own plan for benefits cuts after a backbench revolt.

Legislation to bring in remaining government cuts to sickness benefits was approved by MPs on Wednesday evening.

But other proposals, including changes to the eligibility criteria for disability benefits, have effectively been put on hold.

The government announced plans to shrink welfare spending in March, warning the working-age welfare bill was set to rise by nearly £30bn by 2030 and reforms to the system were required to ensure it remained sustainable.

It wanted to make it harder to claim personal independence payment (Pip), the main disability benefit in England, Wales and Northern Ireland, and make health-related top-ups for universal credit less generous.

But ministers significantly watered down the cuts earlier this month after a huge rebellion from Labour MPs, all but wiping out savings estimated to be worth £5bn a year by the end of the decade.

Plans to freeze the higher rate of universal credit for existing health-related claimants have been reversed, whilst all changes to the Pip system have been parked pending a government review into the assessment regime.

In her speech on Thursday, Badenoch will accuse Labour of being "beholden to left-wing MPs" and "turning a blind eye" to rising benefit costs.

She will also seek to create a dividing line with Reform UK over the two-child benefit cap, which Nigel Farage's party has pledged to scrap, branding him "Jeremy Corbyn with a pint and a cigarette".

"On welfare he shows his true colours - promising unaffordable giveaways with no plan to fix the system," she is expected to add.

A Labour spokesperson said "The Conservatives had 14 years to reform welfare - instead, they left the country with a broken system that holds people back and fails to support the most vulnerable."

The party also warned that the Conservative proposal could see disabled British nationals living abroad being denied support if other countries decided to take a similar approach.

Tory welfare proposals

The Conservatives have not backed the government's legislation to deliver the changes, arguing its proposals do not go far enough.

They have set out some plans of their own to shrink welfare spending in the form of amendments to the government's plans, which were defeated on Wednesday.

These include limiting access to Pips and the health-related part of universal credit to those with "less severe" mental health conditions, and preventing claimants from receiving payments without a face-to-face assessment.

They also say both benefits should only be paid to British citizens, with exceptions for those covered by international agreements, such as citizens from EU countries who have acquired settled status in the UK.

At the moment, foreign nationals gain access to the welfare system when they are granted indefinite leave to remain or refugee status. Applicants for Pip generally need to have lived in Britain for at least two of the last three years.

Asylum seekers are not allowed to apply for benefits, although they have access to taxpayer-funded accommodation and separate financial support.

Conservative shadow minister Neil O'Brien has said he has obtained figures under freedom of information laws showing universal credit payments to households containing at least one foreign national stood at £941m a month as of March.

But working out the exact scale of payments to non-UK nationals specifically is complicated, because the Department for Work and Pensions does not provide a breakdown of claimants by immigration status and nationality.

However, the department is due to publish the first such breakdown next week, and has committed to updates every three months thereafter.

Thin, red banner promoting the Politics Essential newsletter with text saying, “Get the latest political analysis and big moments, delivered straight to your inbox every weekday”. There is also an image of the Houses of Parliament.

Sign up for our Politics Essential newsletter to read top political analysis, gain insight from across the UK and stay up to speed with the big moments. It'll be delivered straight to your inbox every weekday.

Police declare major incident over Belfast bonfire site after power supply fears

10 July 2025 at 21:03
Drone footage shows the proximity of the bonfire to infrastructure.

The police have declared a major incident over a bonfire in south Belfast that is due to be lit on Friday as part of annual Twelfth events across Northern Ireland.

Belfast City Council have requested the police assist contractors to dismantle the bonfire before it is lit.

There are concerns that the power supply to Belfast City Hospital and the Royal Victoria Hospital would be put at risk because the bonfire lies near a major electricity substation.

On Thursday afternoon, bonfire builders voluntarily removed tiers of pallets from the top of the bonfire and told BBC News NI the action was an "olive branch" to those concerned.

PA Media yellow tape reads WARNING ASBESTOS in front of a tall bonfire. Houses are visible in the distancePA Media
The electricity substation buildings are behind the fence just metres from the bonfire, while asbestos is not far away

The Police Service of Northern Ireland (PSNI) said no decision had been taken on assisting the removal of the bonfire and they continued to work with agencies and community representatives on this matter.

Bonfires are lit as part of Eleventh night celebrations in some unionist areas of Northern Ireland, to usher in the Twelfth of July, the main date in the parading season.

The Twelfth commemorates the Battle of the Boyne in 1690 when the Protestant King William III - also known as King Billy and William of Orange - defeated Catholic King James II.

Bonfires were lit on 11 July to welcome - and guide - William.

There are separate concerns about the presence of asbestos at the bonfire site which is between the Donegall Road and the Westlink and the council voted to write to the environment minister to act immediately to have it removed.

The Deputy First Minister and DUP MLA, Emma Little-Pengelly, said: "No one wants anyone to be hurt or for there to be any risks to health or wellbeing".

On Facebook she said those involved in the bonfire had engaged for "some time" on "size and other mitigations" and she believed that would continue.

Earlier, Sinn Féin MLA Pat Sheehan told BBC's Good Morning Ulster programme that the police had a "responsibility" in the situation.

He said the issue had only been brought into the public domain because it is "the first time a bonfire has been held in this site".

He also called on action from the landowner and the Northern Ireland Environment Agency (NIEA) regarding the asbestos.

Sheehan had also urged unionist politicians to "show leadership" and said Emma Little Pengelly "should be out today calling for that bonfire to be dismantled. Where is her leadership?"

Carol Walsh is standing smiling in front of the bonfire, wearing a light blue t-shirt and her hair is pulled back in a ponytail. She is also wearing glasses. The sun is shining on her face.
Carol Walsh says the bonfire means everything to the community

Residents of the Village area of Belfast, where the bonfire is situated, said the bonfire means "everything".

"This bonfire has been going for all of our generations… and we want our next generations to know our culture. This isn't to get up anybody's nose.

"The children of this area have been collecting for the bonfire since Christmas time."

Billy Garrett is standing in front of the bonfire with stubbled grey hair and is wearing a grey and blue jacket. The sun is shining on his face.
Billy says this is another attack on their culture

Billy Garrett, another resident, said there was "a lot of frustration".

"It's just another attack on our culture and our traditions. We don't see any harm in what we're doing here, especially in the Village area of south Belfast. It's just knocking the heart out of everyone," he told BBC News NI.

He said the organisers of the bonfire site had been making sure it was safe since September last year.

"They've went through all the proper people to make sure it is safe for everyone in the community."

Gates with signs saying danger keep out
In a statement, the council said it previously took enforcement action and secured the site due to asbestos in 2011

Loyalist activist Jamie Bryson planned to take legal action to stop the bonfire being dismantled and has questioned the decision-making process behind the vote.

However, the council rejected claims that the decision to dismantle the bonfire breached legal guidelines and said the move was part of its "emergency" decision-making processes.

It also said it was in line with the rules of council, those cases on which an "inability to immediately implement a decision would result in a breach of statutory or contractual duty".

Power for hospitals

Belfast Health Trust said the bonfire was near a substation that supplies both hospitals.

Northern Ireland Electricity (NIE) said it had expressed concerns over the bonfire's "proximity to the substation causing potential risk to critical infrastructure and power outages".

The trust said it had contingency measures including back-up generators and it was confident there was no need to cancel any planned treatments or procedures.

The NIEA said it was first alerted to the issues of asbestos near the bonfire on 16 May and had been engaging with the landowner and the city council regularly since then.

An inspection was carried out and the NIEA said if the asbestos was not cleared by 11 July, "mitigating measures" would need to be put in place.

PA Media The bonfire at night stands with people facing it by a small fire. PA Media
People gathered at the south Belfast bonfire on Wednesday night

Tensions are escalated

Julian O'Neill
BBC News NI crime and justice correspondent

The PSNI appears to have been put between a rock and a hard place here by a political decision at the 11th hour.

One of its considerations is most certainly: Would any operation trigger disorder which could spread to other areas?

Just 36 hours ago, the PSNI felt the mood music going into the 12th of July was pretty positive.

Now we have a significant bonfire row which has escalated tensions.

We saw evidence last night of how the local community has reacted to the prospect of a police operation.

Site entrances were blocked, a protest took place on the road, people were in an around the bonfire, and there is also a risk it could be lit early if any operation is mobilised.

Who owns the site?

The landowners, Boron Developments, bought the site in the summer of 2017 and were made aware of asbestos at that time.

Boron Developments have said it engaged a waste management company to remove the asbestos but the company needed "no personnel" on the site in order to complete the removal of asbestos.

Due to people "bringing in materials and building the bonfire" the company told the landowners it could not complete its work.

Belfast City Council said while the lands at the site remained "the responsibility of the landowner" the council and the Northern Ireland Environment Agency (NIEA) were "working together in relation to this site".

The Department of Agriculture, Environment and Rural Affairs said it had put in place mitigations "over the past week including the further covering of the asbestos containing material, the use of fire-retardant material and the erection of additional fencing".

Five things Trump should know about Liberia after he praised leader's 'good English'

10 July 2025 at 22:59
Watch: Trump praises Liberian president's English, the country's official language

US President Donald Trump has praised Liberian President Joseph Boakai for speaking "good English" and asked him where he went to school.

What Trump might have missed is that Liberia shares a unique and long-standing connection with the US.

English is the country's official language and many Liberians speak with an American accent because of those historical ties to the US.

It may have been this accent that Trump picked up on.

Here are five things to know about the country:

Founded by freed slaves

Liberia was founded by freed African-American slaves in 1822 before declaring independence in 1847.

Thousands of black Americans and liberated Africans - rescued from transatlantic slave ships - settled in Liberia during the colonial era.

Former US President Abraham Lincoln officially declared Liberia's independence in 1862 but the country retained a lot of US heritage and it remained in the American "sphere of influence" during the colonial period.

Due to this integration, Liberian culture, landmarks, and institutions have a heavy African-American influence.

Ten of Liberia's 26 presidents were born in the US.

AFP via Getty Images Former US President George W. Bush wearing a black suit reaching out to dancers who are wearing traditional attire and holding Liberian flags AFP via Getty Images
Liberia shares a long-standing historical connection with the US

The capital is named after a former US president

Reuters A view of a busy street in Monrovia - with many cars and shops Reuters
Some streets in Monrovia are named after colonial American figures

Liberia's capital, Monrovia, was named in honour of America's 5th President, James Monroe, who was a strong supporter of the American Colonization Society (ACS).

The ACS was the organisation responsible for resettling freed African-Americans in West Africa - which eventually led to the founding of Liberia.

Not surprisingly the early architecture of the city was largely influenced by American-style buildings.

Many streets in Monrovia are named after colonial American figures, reflecting the city's founding and historical ties to the US.

Nearly identical flags

AFP via Getty Images Former US President George W. Bush and former Liberian President Ellen Johnson Sirleaf walk past Liberian and US flags AFP via Getty Images
There is a striking resemblance between the flags of the two countries

The flag of Liberia closely resembles the American flag. It features 11 alternating red and white stripes and a blue square with a single white star.

The white star symbolises Liberia as the first independent republic in Africa.

The US flag, in comparison, has 13 stripes representing the original 13 colonies and 50 stars, one for each state.

The Liberian flag was designed by seven black women - all born in America.

Ex-president's son plays for US football team

Reuters President Donald Trump wearing a suit and a yellow ties shakes hands with Timothy Weah, wearing white jumper Reuters
Timothy Weah, seen here shaking hands with President Donald Trump, plays for Juventus in Italy

Timothy Weah, the son of Liberia's former President George Weah, is an American professional soccer player who plays for Italian club Juventus as well as the US national team.

The 25-year-old forward was born in the US but began his professional career with Paris St-Germain in France, where he won the Ligue 1 title before moving on loan to the Scottish team, Celtic.

His father, George, is a Liberian football legend who won the Ballon d'Or in 1995 while playing for Juventus's Italian rivals AC Milan. He is the only African winner of this award - and went on to be elected president in 2018.

Former president won the Nobel Peace Prize

Reuters A close-up of Ellen Johnson Sirleaf wearing an African glasses and and an African headscarfReuters
Ellen Johnson Sirleaf served as the 24th president of Liberia from 2006 to 2018

Liberia produced Africa's first elected female president, Ellen Johnson Sirleaf.

She was elected in 2005, two years after the nation's bloody civil war ended, and served as president until 2018.

Sirleaf has a strong American background as she studied at Madison Business College and later went to Harvard University where she graduated as an economist.

She has received worldwide recognition and accolades for maintaining peace during her administration.

Her story is pitted with remarkable feats of defiance and courage.

In 2011, along with Leymah Gbowee and Tawakkul Karmān, she won the Nobel Prize for Peace for her efforts to further women's rights.

In 2016, Forbes listed her among the most powerful women in the world.

What do Liberians make of the comments?

There has been a mixed reaction.

Accountant Joseph Manley, 40, told the BBC that Trump should have been properly briefed before meeting Liberia's leader.

"Liberia has always been an English-speaking country. Our president represents a country with a rich educational tradition."

For human resources professional Henrietta Peter-Mogballah, The US president's surprise at Boakai's eloquence reflects a broader problem of global ignorance about African nations and its peoples.

"From travel experiences and observations, most citizens of other nations outside Africa do not know a lot about African countries," she said. "The few that know a little, their minds are clouded by narratives of war, poverty, and lack of education."

While many have criticised Trump, others see nothing wrong in his comments.

"I believe President Trump's remark was a genuine compliment on President Boakai's command of English," lawyer and politician Kanio Gbala told the BBC. "There is no evidence of sarcasm. Reading it as disrespectful may reflect political agendas."

More about Liberia from the BBC:

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

'You're not just a tennis player' - Wimbledon stars open up about mental health

10 July 2025 at 13:21

'You're not just a tennis player' - taking care of mental health

To play this video you need to enable JavaScript in your browser.

This video can not be played

Media caption,

Break away from tennis was necessary - Anisimova

  • Published

Wimbledon 2025

Dates: 30 June-13 July Venue: All England Club

Coverage: Live across BBC TV, radio and online with extensive coverage on BBC iPlayer, Red Button, Connected TVs and mobile app. Full coverage guide.

Before she was a Wimbledon semi-finalist, Amanda Anisimova was a teenage prodigy tipped to win Grand Slam titles.

She reached the 2019 French Open semi-finals as a 17-year-old, stunning defending champion Simona Halep along the way, and moved inside the world's top 25.

But four years later, Anisimova knew she needed to stop. Struggling with her mental health and burnout, she found it "unbearable" to be at tennis tournaments.

She did not touch a racquet for months. She took holidays, saw friends and family, attended her university in person for a semester, and stayed away from tennis until the itch returned.

Now set to face world number one Aryna Sabalenka on Thursday for a place in a first Grand Slam final, Anisimova is thankful she could take the time to reset.

"I learned a lot about myself, my interests off the court and just taking some time to breathe and live a normal life for a bit," the 23-year-old told BBC Radio 5 Live.

"What I've learned is to listen honestly to yourself, to your intuition and what your body is telling you."

With an 11-month season, players go from hotel room to hotel room around the world in a push for points and prize money.

That goes alongside the psychological impact of trying to break a losing streak, the pressure of trying to win a Grand Slam and abusive messages on social media.

Matteo Berrettini, who has spent three years battling injuries, said it was a "heavy" feeling to be on court, while world number three Alexander Zverev said he was "lacking joy" both inside and outside of tennis and had "never felt this empty before".

Andrey Rublev has been open about his struggles, telling the Guardian in January, external that he worked with a psychologist to stop feeling "that crazy anxiety and stress of not understanding what to do with my life".

He also has a new perspective. At one point, winning a Grand Slam was everything to Rublev. Now, he says he knows it would not change his life at all - but he also knows how difficult it is to give yourself space away from the sport.

"In the end, tennis is just the trigger point. It's something inside of you that you need to face," Rublev said.

"You tell Sascha [Zverev] to take a break, it will get tough for him. He would love to play. For sure, Casper [Ruud], maybe, for him it's also not easy."

Amanda Anisimova throws the ball to serve in her Wimbledon quarter-final against Anastasia PavlyuchenkovaImage source, Reuters
Image caption,

Amanda Anisimova is into a second Grand Slam semi-final

Five-time major winner Carlos Alcaraz said in a Netflix documentary that his biggest fear was that tennis would become an "obligation".

The relentless pursuit of success, the determination to clinch that long-awaited Grand Slam or to snap a losing streak against a particular player becomes a part of someone's personality, and they can find it difficult to know where tennis ends and they begin.

Alcaraz makes a concerted effort to enjoy himself on and off the court. It is not unusual to see him laughing after an amazing point - even when he was struggling against Fabio Fognini in the Wimbledon first round, he still managed to smile at his opponent's ridiculous shot-making.

He has also spoken about how mentally refreshing his trips to Ibiza have been, even if his team did not want him to go after his 2024 French Open triumph.

"It's about having fun playing tennis, have fun stepping on the court and not thinking about the result," the Spaniard said.

"It's just live in the moment."

Australian Open champion Madison Keys has spoken about how therapy helped her gain perspective.

The American previously worked with sports psychologists, but said focusing on sport "was not as helpful as I needed it to be".

"From a pretty young age, our identity becomes very wrapped up in being a tennis player," Keys said.

"That's great but when you have tough weeks, months and years on tour, that can take a toll on how you think about yourself as a person.

"Being able to dive into that and figure out how to separate the two and know that you're not just a tennis player, you're a full person that has all of these other really great attributes and interests, was a really important piece for me.

"That kind of made the tennis a bit easier."

Carlos Alcaraz hits a forehand during his Wimbledon quarter-final win against Cameron NorrieImage source, Getty Images
Image caption,

Carlos Alcaraz is a five-time Grand Slam champion

Sabalenka worked with a therapist for five years before deciding she was ready to "take responsibility", describing herself as "my own psychologist".

She talks openly with her team, saying: "We can talk about whatever. I know they're not going to judge me.

"They're not going to blame me. They just going to accept it, and we are going to work through."

Anisimova says her break was "a necessary thing" and put her on the trajectory she is on today.

Since returning to the tour, she has won the biggest title of her career at the WTA 1,000 event in Doha and broken into the world's top 10.

"It was something that I needed to for myself," she added.

"I definitely had to find my way back, really work on the fitness side, and get in my hours of training.

"It's been a journey. I finally found my game and my confidence."

To play this video you need to enable JavaScript in your browser.

This video can not be played

Media caption,

Anisimova saves five set to wrap up incredible tie-break victory

Related topics

What is an Isa and how might the rules change?

10 July 2025 at 19:44
Getty Images Woman sits at a desk with paperwork and a laptop in front of her. A smartphone in her hand has a calculator on the screen.Getty Images

Chancellor Rachel Reeves is thought to be planning to make changes to the rules surrounding tax-free Individual Savings Accounts (Isas).

The details are expected to be set out in her Mansion House speech on Tuesday - traditionally an opportunity for chancellors to outline their strategic vision to City leaders.

But some have warned against tampering with a very popular savings product.

What are Isas and how much money can you save in them?

An Individual Savings Account (Isa) is a savings or investment product which is treated differently for tax purposes.

Isas are offered by a host of banks, building societies, investment companies and other financial providers.

Any returns you make from an Isa are tax-free, but there is a limit to how much money you can put in each year.

The current £20,000 annual allowance can be used in one account or spread across multiple Isa products as you wish.

These accounts do not close automatically at the end of the tax year. When the next tax year begins, you can open a new Isa or - in some cases - can keep adding money to your existing accounts.

You have to be 18 to open an Isa. You also have to live in the UK or be a member of the armed forces or a so-called Crown servant who works abroad.

Isas were first introduced by then-chancellor Gordon Brown in 1999, but the annual allowance and the way they work have changed several times since then.

What is the difference between cash Isas and stocks and shares Isas?

Cash Isas are typically offered by banks or building societies, and function like a normal savings account.

Savers pay in money and interest gets added on top.

With regular saving accounts, once the interest goes above a certain threshold, you start to pay income tax.

A basic rate taxpayer can earn £1,000 in savings interest a year before paying tax. For higher rate taxpayer the limit is £500, but additional rate taxpayers don't have any allowance - they pay tax on all their savings income. Those on low incomes may get an extra allowance.

When the money is saved in a cash Isa, the interest is tax-free, however much you earn.

Cash Isas are very popular, with millions of savers holding billions of pounds in them.

Stocks and shares Isas work in much the same way.

However, instead of simply being held in an savings account, the money is invested in shares in companies, unit trusts, investment funds or bonds.

Unlike other investments any returns are protected from income tax and capital gains tax.

Crucially, while the returns can be greater, so too are the risks. The amount of money you have in a shares Isa can go down as well as up.

What other types of Isa are available?

Junior Isas allow young people to save - or let their parents save for them - until they reach 18 - when they can access regular Isas.

Lifetime Isas (Lisas) are designed to help people save towards a deposit when buying a first home, or for retirement. Savers can put in up to £4,000 a year and the government adds an extra 25%.

However, critics argue the rules about how they work are too strict, and some savers have fallen foul of property purchase price limits.

Innovative Finance Isas let people use other types of financial arrangements such as peer-to-peer loans, without going through a bank.

How might the Isa rules change?

Despite a lot of media speculation, Chancellor Rachel Reeves has not yet set out her plans.

Documents released by the Treasury as part of the Spending Review in June said only that the government was "looking at options" for Isa reform.

It wants to "get the balance right between cash and equities [shares] to earn better returns for savers, boost the culture of retail investment, and support the growth mission".

However, there is an expectation that Reeves will make an announcement at her Mansion House speech in the City of London on 15 July.

Many experts think she will reduce the annual allowance for putting money into a cash Isa.

Some have argued that she should scrap cash Isas completely, but that is considered extremely unlikely.

Why might the government cut the cash Isa limit?

It is thought the government wants to encourage savers to put money into stocks and shares Isas instead of cash Isas. This could potentially benefit British companies, and boost economic growth in the UK.

Many investment companies which sell stocks and shares Isas back the change, while banks and building societies who dominate the cash Isa market are against it.

Those in favour say there are billions of pounds languishing in savings accounts, which do not need to be accessed in a hurry.

They say that money could be better used for personal, and the greater, good by being invested in stocks and shares in the long-term, rather than sitting in savings accounts.

They want any change to the Isa rules to go hand-in-hand with other reforms to encourage personal investing.

What are the pitfalls of cutting the cash Isa allowance?

Opponents say there is little evidence that the move would encourage people to invest in shares instead of saving in cash.

They warn many people may not save at all, or would simply pay more tax on any money held in non-Isa accounts.

Building societies, in particular, point out it would also reduce the amount of money they receive from savers' deposits which can then be lent out as mortgages or other loans.

As a result, the cost of borrowing could rise.

Yesterday — 10 July 2025Main stream

租电 19.39 万元起,乐道 L90 这次真拼了

By: 芥末
10 July 2025 at 23:37

在发布会前两天的一场直播里,李斌谈到 L90 时讲到:

这个车的热度非常高…… 车的价格我们还是保持点悬念吧,但起售价肯定在 30 万以内,没办法,现在都得拼了。

蔚来确实很拼,27.99 万元的预售价格和 19.39 万的租电价格已经超出了很多人的预期,这个售价也可能会在 8 月正式发布时再降低一点。


而且不仅价格超预期,L90 这次的产品力同样超出了预期。

只是乐道总裁沈斐之前就决定不公开 L90 的订单数据,让我们没法说出那句「订单爆了」。

哪有空间魔术,背后都是技术

今天 L90 的发布会的前半段可以总结为一句话,L90 很大,并且大的很有技术。

李斌用了三个词来描述 L90 的空间能力,分别是「座座都是 VIP」「6 人 10 箱无压力」「前后都能装行李」,并说乐道 L90 是市面上第一款做到了「人坐得下行李装不下」困境的大三排 SUV 产品。

如果只看数据,乐道 L90 车长 5145mm,轴矩 3110mm,作为对比,理想 L9 的车长 5218mm,轴距 3105mm,问界 M9 车长 5230mm,轴距 3110mm,也就是说,L90 用更短的车身尺寸做出了更长的轴距。

李斌大概花了 10 分钟时间来介绍蔚来是如何通过各种技术手段来实现大空间的:

基于蔚来十年纯电技术积累与全栈自研的全域 900V 架构,乐道 L90 实现了前舱区域小型化电机、高度集成 ITM、倾斜冷却模块等 36 项高效集成的系统设计,加上第三代一体式热管理系统,将原本前舱 49 个零件压缩为一个热控模块,于是才有了乐道 L90 巨大的前备箱空间。

L90 拥有超高集成度的智能配电单元,我们将高压配电单元车载充电机直流的转换器进行了高集成的整合形成了一个超薄的结构……

虽然听着有点不觉明历,最终交出的答卷就是乐道 L90 拥有了 4190mm 的纵向可用空间,其中一部分形成了 L90 最大的记忆点—— 一个 240L 的智能电动前备箱,这个容积已经接近了很多传统大三排 SUV 的后备箱。

记得雷军曾在发布会上讲过,前备箱越大代表车辆设计水平越高,那这么看来 L90 的前备箱不仅设计水平高,实用性也很强。

L90 将前备箱的开启和车辆的空气悬挂做了联动,在用户轻敲机盖开启前备箱的同时,车辆的空气悬挂也会快速降低来方便装载物品,同时为了丰富使用场景,官方还提供了软垫配件,放在前备箱内可以变成一个软包沙发,在钓鱼、露营等场景都有很强的实用性。

节省出来的另一部分空间则为 L90 带来了更好的乘坐舒适性,L90 的每一排的最大腿部空间都超过了 1 米,头部空间则分别达到了 1062mm、1076mm 和 962mm,这同时也要归功于蔚来对车辆底部的高压线柱进行了优化,因此消除了第三排的半角台阶。

L90 在保障乘坐舒适性上也下了不少功夫。新车六座版本为 2+2+2 的座椅布局,二排为两个独立座椅,副驾后方座椅支持零重力功能,L90 的第三排座椅实现了 38° 的最大靠背角度,330mm 的坐高和 92mm 的脚部垂向空间,确实可以称得上同级最强。座椅本身也采用了蔚来自研的高端座椅平台,其结合中国人体的生理曲线进行了特殊设计,并采用了 13 层的舒适结构和 15mm 厚度的复合层软泡棉进行填充。每个座位都配备了超大的舒适的软头枕,有效接触面积 450 cm², 一二排座椅也都标配了坐垫吹风、靠背吸风以及四种按摩模式和两种按摩力度。

L90 在座舱内的其他舒适性配置上也堪称「拉满」,搭载了智能三驱空调、8.8L 智能冰箱、前后双天幕、全电动遮阳帘以及双层隔音玻璃、杜比全景声认证音响、1600 万色隐藏式氛围灯等。

驾乘体验也是一辆家用 SUV 需要重点关注的部分。

L90 有后驱和四驱两种动力版本,其中,两驱版车型的驱动电机最大功率为 340 千瓦,百公里加速 5.9 秒,四驱版车型的综合输出功率为 440 千瓦, 百公里加速 4.7 秒。

新车底盘则采用了前双叉臂后五连杆的悬架弹簧与减震器一体的设计,空气悬架则拥有 100mm 的超大行程。蔚来还提到了他们对 L90 的设计思路并不是一味的做软做船,而是基于自研的「行云智享底盘」做了很多调试,不仅考虑了前排驾驶者的体感,也关注到了第三方乘客的舒适性,并且对制动、侧倾等场景都做了专门优化。自研的敏捷掉头功能,也让 L90 实现了 5.7 米的超小转弯半径。

此外,L90 配备的 4D 舒适领航功能也能够提前知路况,并且预先调节悬架参数,从而让车辆的乘坐体验更加平稳,车身姿态更加从容。与其他相比通过摄像头进行预瞄的技术路径不同,L90 采用的云端策略,能够对不同天气的变化拥有更好的适应性。

低能耗、好智驾和高智能

除了空间以外,家庭用车的另一个关键痛点是能耗。

L90 能耗的优化首先得益于比同尺寸大小的油车轻 200-300 公斤的车身重量,蔚来将 L90 的白车身重量优化到了 433.8 公斤,驱动电机和电池包的重量也都有所减轻。同时在 0.25 的风阻系数和异步电机同轴架构、超低滚阻轮胎以及第三代整车热管理系统的配合下,乐道 L90 最终实现了每公里 14.5 度电的能耗水平,标配 85 度长续航电池包的 CLTC 综合续航为 605 公里。

除了动态能耗之外,L90 对静态能耗也做了优化。新车守卫模式运行一天的能耗约为 1 度电,在满电模式下可以超长待机 1200 天。

新车同时采用了蔚来最新一代的数字架构,用高性能的四域融合的智能计算中心将整车控制和智能物联等功能高度集成了起来,配合天枢整车全域操作系统,能够完成瞬时的高并发调度处理全车的复杂的控制。

这套系统将 L90 的智能化水平提升到了全新的高度,覆盖了车联、车控、自动驾驶、数字座舱等全场景,实现了超低延时通讯。

在智驾能力上,L90 标配了包括 8 个视觉摄像头、7 个环视摄像头和 1 个 4D 毫米波雷达在内的 30 个高性能感知硬件,搭载的端到端模型技术也将让乐道 L90 实现全场景 NOA 领航辅助。

李斌重点介绍了这颗 4D 毫米波雷达:

这颗 4D 成像雷达的性能绝对是行业领先。

它拥有极强的穿透力,能穿透大雨,大雾,即使在恶劣天气和环境下,也能够持续稳定的保持最远探测距离,并且对高度信息还有强大精准的具体感知能力,能够非常清晰的区分出桥梁、侧边的隔离栏、路灯这样的一些静态障碍物,并且对于前车、前前车都有一个清晰的识别。

4D 点云数据的置信度,让智能辅助驾驶能带来轻松出行的同时,全程也能够保障安全。

在车内娱乐系统上,乐道 L90 采用了四屏布局,前排是一块 17.2 英寸的 3K 大屏加 35 英寸 AR-HUD 的组合,后排则准备了一块 17.3 英寸的 3K 吸顶屏和 8 英寸的操控屏幕来供后排乘客观影、查看导航、调节温度座椅等实用。

架构升级后的小乐语音助手也能进行主动思考,并且结合自己掌控的控制技能来为用户推荐合适的功能。比如小乐可以在夏天高温时主动感受车内温度,问你天热要不要开快速制冷,下暴雨的时候结合天气的情况和车窗的状态,主动建议你关闭车窗,并且它在不同的时间可以有不同的推荐,比如说工作日早上送孩子提前调空调温度,周末出游准备好导航和音乐等。

在发布会的最后,李斌明显有点颤抖。

蔚来自己也清楚知道,乐道之前的危机其实并不出在产品力上,而是之前遭遇的信任危机以及并不算快的销量增长率和一直持续的亏损让市场普遍担心公司的前景,然后造成恶性循环。

对于蔚来前景的担忧情绪,已经成了挡在蔚来面前最高的那座山,所以李斌从去年以来不断提及蔚来要在今年 4 季度盈利。

乐道 L60 最近确实卖的还不错,在 20 到 30 万的纯电 SUV 市场中销量稳居前 3 名,在 5 月 6 月更是创下了今年以来的交付新高。

在产品力没有变化的情况下,L60 销量的回暖,很大程度上要归功于蔚来自身的改变。蔚来目前已经逐步改善了组织能力,解决了产能与需求难以匹配,从而导致交付节奏紊乱的问题,ET5、ES6 和 EC6 在过去两个月的交付周期都有明显缩短。

L90 也汲取了 L60 的教训,在发布前就预备了大量现车。

不过正如李斌在发布会一开始感叹的那样,

人生的道路确实从来都不会一直是坦途,但是不管怎么起起伏伏,最终都会是向上的路。

伴随着乐道 L60 的回暖、萤火虫的交付超出预期以及这次 L90 的给力价格,蔚来想在 4 季度盈利,似乎努努力也够得到。

#欢迎关注爱范儿官方微信公众号:爱范儿(微信号:ifanr),更多精彩内容第一时间为您奉上。

爱范儿 | 原文链接 · 查看评论 · 新浪微博


EU chief von der Leyen survives rare confidence vote

10 July 2025 at 21:01
Reuters Ursula von der Leyen wearing a red jacket pointing and smiling at something off-cameraReuters
Ursula von der Leyen secured a second term as Commission chief last July

European Commission President Ursula von der Leyen has survived a confidence vote tabled by a far-right faction in the European Parliament.

Although the outcome was not a surprise, the fact that it came about at all was not a positive signal for von der Leyen, who began her second term as Commission chief only a year ago.

Confidence votes of this kind are rare and the last one was tabled against Jean-Claude Juncker more than a decade ago.

Two-thirds of all 720 Members of the European Parliament (MEPs) - or 480 - would have had to back the motion for it to pass.

Instead, only 175 voted in favour; 360 voted against and 18 abstained. The remaining MEPs did not vote.

The vote was initiated by Romanian far-right MEP Gheorghe Piperea, who accused von der Leyen of a lack of transparency over text messages she sent to the head of Pfizer during negotiations to secure Covid-19 vaccines.

The text of the motion said that von der Leyen's Commission could no longer be trusted to "uphold the principles of transparency, accountability, and good governance essential to a democratic Union".

During a fierce debate on Monday von der Leyen slammed her accusers as "conspiracy theorists".

Hitting back at Piperea and what she called "his world of conspiracies and alleged sinister plots", she said he and his cohort were "extremists", "anti-vaxxers" and "Putin apologists".

She also said the accusations against her over so-called Pfizergate were "simply a lie."

Piperea had the backing of figures such as Hungarian Prime Minister Viktor Orban, who posted on X a photo of von der Leyen alongside the caption "Time to go".

But his own European Conservatives and Reformists (ECR) group was split.

A sizeable portion of the ECR is made up by Brothers of Italy (FdI), the party of Italian Prime Minister Giorgia Meloni. FdI has been fostering a good relationship with von der Leyen and its MEPs voted against the motion.

In the end the votes in favour came primarily from the far-right groups Patriots for Europe (PfE) and the European of Sovereign Nations (ENS).

Von der Leyen survived the vote thanks to the support of her own centre-right European People's Party (EPP), the Socialist & Democrats (S&D), the liberal Renew, the Greens and left-wing groups.

However, the days in the lead-up to the vote saw several groupings caveat their support with gripes over von der Leyen's leadership.

Over the last year her centre-right EPP has increasingly teamed up with the far-right to pass amendments and resolutions on issues like migration and the environment, often irking liberals and left-wing parties.

Valérie Hayer, president of the centrist Renew Europe, echoed the sentiment, warning von der Leyen that her group's support was "not guaranteed" and urging the Commission chief to "take back control" of the EPP and end "alliances with the far right."

Ahead of the vote Iratxe García, leader of the S&D, said dismantling the Commission in the midst of geopolitical crisis would have been "irresponsible".

"Our vote doesn't mean that we are not critical of the European Commission," García said, citing "the recent shifts by von der Leyen towards far-right pledges."

Earlier this week there was a suggestion that the S&D might abstain from the vote, but were eventually persuaded to back von der Leyen after she reportedly ruled out cuts to social programmes in the upcoming budget.

As the vote against her leadership was taking place, Von der Leyen was giving a speech at the Ukraine Recovery Conference in Rome.

Shortly after the motion was turned down, however, she posted on X: "As external forces seek to destabilise and divide us, it is our duty to respond in line with our values."

"Thank you, and long live Europe," she added.

Five things Trump should know about Liberia after he praised leader's 'good English'

10 July 2025 at 22:59
Watch: Trump praises Liberian president's English, the country's official language

US President Donald Trump has praised Liberian President Joseph Boakai for speaking "good English" and asked him where he went to school.

What Trump might have missed is that Liberia shares a unique and long-standing connection with the US.

English is the country's official language and many Liberians speak with an American accent because of those historical ties to the US.

It may have been this accent that Trump picked up on.

Here are five things to know about the country:

Founded by freed slaves

Liberia was founded by freed African-American slaves in 1822 before declaring independence in 1847.

Thousands of black Americans and liberated Africans - rescued from transatlantic slave ships - settled in Liberia during the colonial era.

Former US President Abraham Lincoln officially declared Liberia's independence in 1862 but the country retained a lot of US heritage and it remained in the American "sphere of influence" during the colonial period.

Due to this integration, Liberian culture, landmarks, and institutions have a heavy African-American influence.

Ten of Liberia's 26 presidents were born in the US.

AFP via Getty Images Former US President George W. Bush wearing a black suit reaching out to dancers who are wearing traditional attire and holding Liberian flags AFP via Getty Images
Liberia shares a long-standing historical connection with the US

The capital is named after a former US president

Reuters A view of a busy street in Monrovia - with many cars and shops Reuters
Some streets in Monrovia are named after colonial American figures

Liberia's capital, Monrovia, was named in honour of America's 5th President, James Monroe, who was a strong supporter of the American Colonization Society (ACS).

The ACS was the organisation responsible for resettling freed African-Americans in West Africa - which eventually led to the founding of Liberia.

Not surprisingly the early architecture of the city was largely influenced by American-style buildings.

Many streets in Monrovia are named after colonial American figures, reflecting the city's founding and historical ties to the US.

Nearly identical flags

AFP via Getty Images Former US President George W. Bush and former Liberian President Ellen Johnson Sirleaf walk past Liberian and US flags AFP via Getty Images
There is a striking resemblance between the flags of the two countries

The flag of Liberia closely resembles the American flag. It features 11 alternating red and white stripes and a blue square with a single white star.

The white star symbolises Liberia as the first independent republic in Africa.

The US flag, in comparison, has 13 stripes representing the original 13 colonies and 50 stars, one for each state.

The Liberian flag was designed by seven black women - all born in America.

Ex-president's son plays for US football team

Reuters President Donald Trump wearing a suit and a yellow ties shakes hands with Timothy Weah, wearing white jumper Reuters
Timothy Weah, seen here shaking hands with President Donald Trump, plays for Juventus in Italy

Timothy Weah, the son of Liberia's former President George Weah, is an American professional soccer player who plays for Italian club Juventus as well as the US national team.

The 25-year-old forward was born in the US but began his professional career with Paris St-Germain in France, where he won the Ligue 1 title before moving on loan to the Scottish team, Celtic.

His father, George, is a Liberian football legend who won the Ballon d'Or in 1995 while playing for Juventus's Italian rivals AC Milan. He is the only African winner of this award - and went on to be elected president in 2018.

Former president won the Nobel Peace Prize

Reuters A close-up of Ellen Johnson Sirleaf wearing an African glasses and and an African headscarfReuters
Ellen Johnson Sirleaf served as the 24th president of Liberia from 2006 to 2018

Liberia produced Africa's first elected female president, Ellen Johnson Sirleaf.

She was elected in 2005, two years after the nation's bloody civil war ended, and served as president until 2018.

Sirleaf has a strong American background as she studied at Madison Business College and later went to Harvard University where she graduated as an economist.

She has received worldwide recognition and accolades for maintaining peace during her administration.

Her story is pitted with remarkable feats of defiance and courage.

In 2011, along with Leymah Gbowee and Tawakkul Karmān, she won the Nobel Prize for Peace for her efforts to further women's rights.

In 2016, Forbes listed her among the most powerful women in the world.

What do Liberians make of the comments?

There has been a mixed reaction.

Accountant Joseph Manley, 40, told the BBC that Trump should have been properly briefed before meeting Liberia's leader.

"Liberia has always been an English-speaking country. Our president represents a country with a rich educational tradition."

For human resources professional Henrietta Peter-Mogballah, The US president's surprise at Boakai's eloquence reflects a broader problem of global ignorance about African nations and its peoples.

"From travel experiences and observations, most citizens of other nations outside Africa do not know a lot about African countries," she said. "The few that know a little, their minds are clouded by narratives of war, poverty, and lack of education."

While many have criticised Trump, others see nothing wrong in his comments.

"I believe President Trump's remark was a genuine compliment on President Boakai's command of English," lawyer and politician Kanio Gbala told the BBC. "There is no evidence of sarcasm. Reading it as disrespectful may reflect political agendas."

More about Liberia from the BBC:

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

Brazil vows to match US tariffs after Trump threatens 50% levy

10 July 2025 at 19:30
Reuters Brazil's President Luiz Inácio Lula da Silva speaks during a joint press statement  at Planalto Palace in Brasilia, Brazil July 9, 2025. He is wearing a blue suit and wearing an ear piece during a joint press statement with the Indonesian president. Reuters

Brazilian President Luiz Inácio Lula da Silva has said he is ready to match any tariffs imposed on Brazil by the United States.

Lula was responding to Wednesday's threat by his US counterpart, Donald Trump, to impose a 50% import tax on Brazilian goods from 1 August.

In a letter, Trump cited Brazil's treatment of former President Jair Bolsonaro as a trigger for tariff-hike.

Bolsonaro is currently on trial for allegedly attempting to stage a coup against Lula after being defeated by him in the 2022 election.

Trump referred to Bolsonaro as "a highly respected leader throughout the world". "This Trial should not be taking place," he wrote, calling on Brazil to immediately end the "witch hunt" against the former president.

Trump's support for Bolsonaro does not come as a surprise as the two men have long been considered allies.

The US president had already slammed Brazil for its treatment of Bolsonaro on Monday, comparing it to the legal cases he himself had faced in US courts.

The 50% tariff threat was met with a robust and lengthy response by President Lula.

In a post on X, he stressed that Brazil was "a sovereign country with independent institutions and will not accept any tutelage".

The Brazilian leader also announced that "any unilateral tariff increases" would be met with reciprocal tariffs imposed on US goods.

The US is Brazil's second-largest trade partner after China, so the hike from a tariff rate of 10% to an eye-watering 50% - if it comes into force - would hit the South American nation hard.

But Lula also made a point of challenging Trump's assertion that the US had a trade deficit with Brazil, calling it "inaccurate".

Lula's rebuttal is backed up by US government data, which suggests the US had a goods trade surplus with Brazil of $7.4bn (£5.4bn) in 2024.

Brazil is the US's 15th largest trading partner and among its main imports from the US are mineral fuels, aircraft and machinery.

For its part, the US imports gas and petroleum, iron, and coffee from Brazil.

Brazil was not the only country Trump threatened with higher tariffs on Wednesday.

Japan, South Korea and Sri Lanka were among 22 nations which received letters warning of higher levies.

But the letter Trump sent to his Brazilian counterpart was the only one focussing matters beyond alleged trade deficits.

As well as denouncing the treatment of ex-President Bolsonaro, Trump slammed what he said were "secret and unlawful censorship orders to US social media platforms" which he said Brazil had imposed.

Trump Media, which operates the US president's Truth Social platform and is majority-owned by him, is among the US tech companies fighting Brazilian court rulings over orders suspending social media accounts.

Lula fought back on that front too, justifying the rulings by arguing that "Brazilian society rejects hateful content, racism, child pornography, scams, fraud, and speeches against human rights and democratic freedom".

Rafael Cortez, a political scientist with Brazilian consulting firm Tendências Consultoria, told BBC News Brasil that rather than hurt him, the overly political tone of Trump's letter could end up benefitting Lula.

"Those confronting Trump win at home when Trump and other conservative leaders speak out on issues pertaining to their countries. That happened, to a certain degree, in Mexico, and the elections in Canada and Australia," Mr Cortez says of other leaders who have challenged Trump and reaped the rewards in the form of rising popularity levels.

Creomar de Souza of the political risk consultancy Dharma Politics told BBC News Mundo's Mariana Schreiber that it would depend on the Lula government coming up with organised and united response if it is to "score a goal" against Trump.

Trump’s Push for Influence Over Fed Decisions May Hobble Next Chair

10 July 2025 at 23:24
The president hasn’t named a successor to Jerome H. Powell, but his insistence on someone who will lower interest rates has already raised doubts about their credibility.

© Kendrick Brinson for The New York Times

Whoever replaces Jerome H. Powell to lead the Federal Reserve will face scrutiny because of the president’s attacks on the central bank’s current leadership and his demands that the next chair lower interest rates.

使用 Claude Code 中转商的风险

By: jqknono
10 July 2025 at 21:26
jqknono:

最近发现一些 AI 相关帖子下,存在 claude code 中转的小广告。

其中转的基本原理就是 claude code 允许自己提供 API endpoint 和 key ,可以使用任意一个 OpenAI API 兼容的供应商,就这么简单。

进一点 claude token ,再混入一点 qwen ,混着卖,谁能察觉?

这种图财的都算善良胆小的, 这才能挣几个钱?

真正值钱的必然在存钱的地方, 在重要数据上.

中转 API 的风险, 就和未加密的 HTTP 中转代理的风险一样, 是最简单的 MITM(中间人) 攻击.

首先, claude code 倾向读取大量文件,来生成高质量回答。中间人只需极其简单的代码,就可以使用关键字过滤出你的各种关键数字资产。

其次,绝大多数 claude code 被允许自行执行命令,能窥探的未必只有当前文件夹。尝试去理解 claude code 行为模式, 它可以被用来远程代码执行攻击. 虽然 claude code 会将自己下一步要做什么打印出来, 但诸位想想自己 vide coding 时, 所有 steps 都看了吗? 在一次超长时间的执行中, 中间人可以通知 cc 去搜索读取不相关文件的重要信息, 将这次读取直接中间人自己保存, 不加入计算的上下文. 在一次数万字的输出中, 仅中间有几十个字能显示它有可疑操作, 注意力就是你所需的一切, 但这时候你就是没注意.

第三, 自行执行命令除了读, 写也是基本操作, 给你的文件加个密, 能不能做到? 这条纯属我瞎想. 不过 git 操作很多人是给了权限的, 中间人插几句话, 给你的库加个 remote MITM, push 到 MITM, 再给你的代码库git reset --hard init一下子, 再试试来个 force push, 行不行? GitHub 自建的库默认就能 force push. 要几个比特币好? 大模型的 git 操作溜不溜, 用过的都有感受, 这通操作用不上 claude 4.0 sonnet, 那贵了, gemini 2.5 flash 足以, 勒索也要讲究成本.

我还见一些萌新 sudo 也给大模型, 还有的 root 一把梭, 一点安全意识没有.

现在网上在各评论区刷中转的人实在太多了, 安利中转的比安利 Claude Code 的都多, 天下无利不起早, 不要信它们.

MITM 能做的事, Anthropic 和 Google 是不是也能做到? 如何真正保护数字资产安全? 不像 AES 的公开可信, 大模型的这个你只能相信商誉.

别为了省一点钱, 忽略了自己的财产安全, 数字资产也是资产.

以上纯属被迫害妄想, 大家自己明辩, 也可友好讨论. 如果导致谁没有薅到便宜甚至免费的 Claude Sonnet, 不要怪我.

真开源跨平台电子书阅读软件 Readest,即将发布正式版本 1.0

By: chrox
10 July 2025 at 21:17
chrox:

Readest 📚

经过 6 个月的高强度开发,开源电子书阅读器 Readest 项目共关闭了 685 个 Issue Ticket ,合并了 712 个 Pull Request ,即将发布 1.0 正式版!

Readest 是经典阅读器 Foliate 的 Tauri V2 重写版本,全面支持 macOS 、Windows 、Linux 、iOS 、Android 和 Web 平台,提供跨设备同步功能。目前已上架 App Store 和 Google Play ,支持 OAuth 社交登录和应用内购买。

预览:

Readest AnnotatorReadest FootnoteReadest WikipediaReadest Dark Mode

已支持功能列表:

  • 支持多种电子书格式:支持 EPUB 、MOBI 、AZW3 、TXT 、PDF 等多种格式;
  • 分页/滚动阅读模式:自由切换,适应不同阅读习惯;
  • 高效注释与标记:支持高亮、书签和笔记,轻松整理知识点;
  • 全文搜索与翻译:支持全文搜索,内置 DeepL 翻译工具和维基百科查询;
  • 双屏平行阅读:支持同时阅读两本书籍,满足学术研究和文本对比需求;
  • 个性化排版设置:字体、主题、颜色随心定制,专属阅读体验;
  • 内置同步服务器:500 MB 免费云存储空间,不限设备数量,登陆即可支持电子书、阅读进度、划线和笔记的多端同步;
  • 全书沉浸式翻译:无缝将整本书翻译为目标语言,支持双语显示模式,让你在阅读中自由切换语言;
  • TTS 语音朗读:支持 Edge TTS 和 MultiTTS 无限朗读书籍,多种音色可选,支持同一本书中使用多语言朗读。

未来计划支持的功能:

  • 与 Koreader 设备同步进度、划线和笔记;
  • 集成 OPDS / Calibre 线上书库;
  • 支持手写注释和导出笔记;
  • 支持高级阅读统计和书架管理;
  • 支持 AI 自动生成大纲摘要和问答。

立即体验 Readest !

❤️ 让阅读回归纯粹的乐趣!

项目地址

https://github.com/readest/readest

[社招] [组内直招] [滴滴] [北京] 工程推荐搜索方向

10 July 2025 at 20:33
carlding123: 滴滴外卖,工程侧推荐搜索方向

上班地址:回龙观天空之城
上班时间:10:00 多 ~ 21:00
简历发送邮箱: carlding123@163.com

职责:
1. go 语言。语言不重要,随便转
2. 外卖店铺菜品等推荐业务,搜索业务,lbs 场景
3. 特征平台,特征生产等
4. ai 在外卖场景下应用等
5. 性能优化方面

滴滴外卖这边待着确实还挺舒服的,一堆 5+年员工
日常住观里头的话,骑电动车就可以上班,通勤体验极佳

也可以推外卖其他组,和其他老板有一些交集,最近应该有一些 hc

需要内推滴滴其他岗位,可以看链接找岗位
http://talent.didiglobal.com/social/list/1
杭州、成都也有 office ,也可以看看

欢迎来投

[北京] 头部电网公司电力人工智能调度系统招聘前端、后端

10 July 2025 at 20:03
AllenDarwin:

后端开发工程师(头部电网公司电力人工智能调度系统)

岗位职责

  1. 系统设计与架构开发

    • 参与电力人工智能调度自动化系统的后端设计,支持底层算法应用集成的数据处理与接口封装。
    • 负责软件整体架构设计与系统集成测试,完成各关键功能模块的测试验证工作。
  2. 后台功能实现

    • 设计并实现软件 Demo 展示后台系统,支持快速验证与演示需求。
    • 配合研发需求,完成工程化相关工作,包括但不限于:
      • 技术文档整理与记录;
      • 功能测试与问题修复;
      • 接口规范设计与团队协作支持。

任职要求

  1. 学历与专业

    • 本科及以上学历,计算机、软件工程等相关专业优先。
  2. 工作经验

    • 2 年及以上后端开发或系统集成相关工作经验,具备复杂系统设计或人工智能项目经验者优先。
  3. 技术能力

    • 后端技术栈:
      • 精通 Python/Go 等后端语言;
      • 熟练掌握 Spring Boot/Django/Gin 等主流框架;
      • 熟悉 Docker/Kubernetes 容器化部署技术,具备实际工程部署经验。
    • 工程能力:
      • 具备较强的系统设计与实现能力,能独立完成接口封装、数据处理及性能优化。
  4. 软技能

    • 具备良好的团队协作能力,能配合研发需求完成系统设计与联调;
    • 有较强的问题分析与解决能力,注重代码质量与系统稳定性。
  5. 年龄要求

    • 年龄一般不超过 35 周岁。

前端开发工程师(头部电网公司电力人工智能调度系统)

岗位职责

  1. 前端交互开发与原型设计

    • 参与电力人工智能调度自动化系统的前端交互开发,完成原型( Demo )设计与功能实现。
    • 实现前后端数据交互,编写模块化、可维护性强的前端代码,优化前端性能(如加载速度、渲染效率)。
  2. 高性能前端架构设计

    • 根据研发需求,设计并构建高性能前端架构,包括框架搭建、模块化设计及核心业务逻辑开发。
    • 负责界面实现与功能集成,包括:
      • 操作日志采集通道设计;
      • “人在回路”协同优化机制构建;
      • 前后端联调集成与系统测试验证。
  3. 工程化支持

    • 配合研发需求,完成工程化相关工作,包括但不限于:
      • 技术文档整理与记录;
      • 功能测试与问题修复;
      • 接口规范设计与团队协作支持。

任职要求

  1. 学历与专业

    • 本科及以上学历,计算机、软件工程等相关专业优先。
  2. 工作经验

    • 2 年及以上前端开发经验,具备复杂系统开发或人工智能相关项目经验者优先。
  3. 技术能力

    • 前端技术栈:
      • 精通 HTML5 、CSS3 、JavaScript ( ES6+);
      • 熟悉主流框架( React/Vue/Angular )及其实现原理。
    • 智能体框架(任选其一):
      • 熟悉智能体( Agent )开发框架(如 Coze 、Dify 、LangChain ),具备实际搭建经验。
  4. 软技能

    • 具备良好的团队协作能力,能配合研发需求完成系统设计与联调;
    • 有较强的问题分析与解决能力,注重代码质量与性能优化。
  5. 年龄要求

    • 年龄一般不超过 35 周岁。

简历投递邮箱

yangsisi@neps.hrl.ac.cn

Drizzle ORM:轻量级数据库工具

By: leia
10 July 2025 at 19:55
leia:

Drizzle ORM:轻量级数据库工具

在上一章中,我们探讨了 Cloudflare D1 如何作为一款高性能、低成本的边缘数据库解决方案,彻底改变了我们对数据库架构的认知.

但一般来说,我们很少在项目里裸写 sql,所以我们需要一个能简化操作和开发的ORM工具,但市面上绝大多数的ORM对于这种ServerLess 数据库的适配很差,需要解决各种依赖问题。 那么在尝试了一圈后,发现Drizzle是最好的搭配方案,选择它最核心的理由是:它没有三方依赖、且对ServerLess这个场景非常友好。 Drizzle 地址,建议看文档,中文只是阅读起来快一点,精简一点。

Schema:数据模型定义

Schema 是 Drizzle ORM 的基础,它定义了数据库表的结构和关系。

基本表定义

以下是一个简单的表定义示例:

import { sqliteTable, text, integer } from 'drizzle-orm/sqlite-core'

// 定义用户表
export const users = sqliteTable('users', {
  id: integer('id').primaryKey(),
  name: text('name').notNull(),
  email: text('email').notNull().unique(),
  createdAt: integer('created_at', { mode: 'timestamp' }).notNull().defaultNow()
})

Schema 组织方式

Drizzle 允许你灵活组织 Schema 文件,可以选择单文件或多文件方式:

单文件方式

适合小型项目,将所有表定义放在一个 schema.ts 文件中:

// src/db/schema.ts
import { sqliteTable, text, integer } from 'drizzle-orm/sqlite-core'

export const users = sqliteTable('users', {
  /* 列定义 */
})
export const posts = sqliteTable('posts', {
  /* 列定义 */
})

多文件方式

对于大型项目,可以将表定义分散到多个文件中:

📦 src
 └ 📂 db
    └ 📂 schema
       ├ 📜 users.ts
       ├ 📜 posts.ts
       └ 📜 comments.ts

命名约定转换

TypeScript 通常使用驼峰命名法( camelCase ),而数据库常用蛇形命名法( snake_case )。Drizzle 提供了自动转换功能:

// schema.ts
export const users = sqliteTable('users', {
  id: integer('id'),
  firstName: text('first_name') // 显式指定数据库列名
})

// 或使用自动转换
const db = drizzle(sqlite, {
  schema: { users },
  // 自动将 camelCase 转换为 snake_case
  casing: 'snake_case'
})

关系定义

Drizzle 支持定义表之间的关系:

export const posts = sqliteTable('posts', {
  id: integer('id').primaryKey(),
  title: text('title').notNull(),
  content: text('content'),
  userId: integer('user_id').references(() => users.id)
})

复用列定义

对于常见的列模式(如时间戳字段),可以创建可复用的定义:

// 通用时间戳字段
const timestamps = {
  createdAt: integer('created_at', { mode: 'timestamp' }).notNull().defaultNow(),
  updatedAt: integer('updated_at', { mode: 'timestamp' })
}

// 在多个表中复用
export const users = sqliteTable('users', {
  id: integer('id').primaryKey(),
  // ...其他字段
  ...timestamps
})

通过这种方式定义 Schema ,Drizzle 不仅提供了类型安全的数据访问,还能自动生成迁移脚本,大大简化了数据库管理工作。

数据库连接

Drizzle ORM 通过数据库驱动执行 SQL 查询。

数据库驱动就是指的一个中间层,负责将查询请求发送到数据库并处理返回的结果。Drizzle 支持多种数据库驱动,使其能够与各种数据库系统无缝集成。

基本连接方式

import { drizzle } from 'drizzle-orm/node-postgres'
import { users } from './schema'

// 创建数据库连接
const db = drizzle(process.env.DATABASE_URL)

// 使用连接执行查询
const usersCount = await db.$count(users)

Drizzle 的工作流程如下:

  1. 你的查询(如 db.$count(users))被转换为 SQL 语句(SELECT COUNT(*) FROM users
  2. SQL 语句通过数据库驱动发送到数据库
  3. 数据库返回结果,驱动将其转换为 JavaScript 对象
  4. Drizzle 将结果返回给你的应用

访问底层驱动

如果需要,你可以直接访问底层数据库驱动:

import { drizzle } from 'drizzle-orm/node-postgres'

const db = drizzle(process.env.DATABASE_URL)
const pool = db.$client // 访问底层 node-postgres 驱动

ServerLess 环境支持

Drizzle 原生支持各种边缘计算和 ServerLess 环境,这也是它与 Cloudflare D1 完美配合的原因:

// Neon 数据库( ServerLess PostgreSQL )
import { drizzle } from 'drizzle-orm/neon-http'
const db = drizzle(process.env.DATABASE_URL)

// Cloudflare D1
import { drizzle } from 'drizzle-orm/d1'
export default {
  async fetch(request, env) {
    const db = drizzle(env.DB)
    // 使用 db 执行查询
  }
}

特定运行时支持

Drizzle 还支持特定运行时的数据库驱动:

// Bun SQLite
import { drizzle } from 'drizzle-orm/bun-sqlite'
const db = drizzle() // 创建内存数据库
// 或
const db = drizzle('./sqlite.db') // 连接文件数据库

连接 URL 格式

数据库连接 URL 通常遵循以下格式:

postgresql://username:password@hostname/database_name

例如:

postgresql://alex:AbC123dEf@ep-cool-darkness-123456.us-east-2.aws.neon.tech/dbname

其中:

  • username: 数据库用户名
  • password: 数据库密码
  • hostname: 数据库服务器地址
  • database_name: 数据库名称

通过这种简单的连接方式,Drizzle 让你能够快速开始使用数据库,而不必担心复杂的配置和设置。

数据库查询

Drizzle 提供了两种主要的查询方式:SQL 风格语法和关系式 API 。这两种方式各有优势,可以根据不同场景选择使用。

SQL 风格查询

Drizzle 的核心理念是"如果你懂 SQL ,你就懂 Drizzle"。与其他 ORM 不同,Drizzle 不会抽象掉 SQL ,而是拥抱它,提供类似 SQL 的 API:

// 查询示例
const result = await db.select().from(posts).leftJoin(comments, eq(posts.id, comments.postId)).where(eq(posts.id, 10))

// 生成的 SQL
// SELECT *
// FROM posts
// LEFT JOIN comments ON posts.id = comments.post_id
// WHERE posts.id = 10

基本 CRUD 操作

  1. 查询数据
// 查询所有用户
    const allUsers = await db.select().from(users)
    
    // 查询特定字段
    const userNames = await db.select({ id: users.id, name: users.name }).from(users)
    
    // 条件查询
    import { eq, like } from 'drizzle-orm'
    const filteredUsers = await db.select().from(users).where(eq(users.email, 'test@example.com'))
  1. 插入数据
// 插入单条记录
await db.insert(users).values({
  name: '张三',
  email: 'zhangsan@example.com'
})

// 插入多条记录
await db.insert(users).values([
  { name: '李四', email: 'lisi@example.com' },
  { name: '王五', email: 'wangwu@example.com' }
])
  1. 更新数据
// 更新记录
await db.update(users).set({ name: '张三丰' }).where(eq(users.id, 1))
  1. 删除数据
// 删除记录
await db.delete(users).where(eq(users.id, 1))

关系式查询 API

对于需要获取嵌套关系数据的场景,Drizzle 提供了更简洁的关系式 API:

// 获取用户及其所有文章
const usersWithPosts = await db.query.users.findMany({
  with: {
    posts: true
  }
})

// 结果格式
// [
//   { id: 1, name: '张三', posts: [{ id: 1, title: '文章 1' }, ...] },
//   ...
// ]

这种方式特别适合获取嵌套数据,Drizzle 会自动处理关联和数据映射,同时保证只生成一条 SQL 查询,避免 N+1 查询问题。

高级查询技巧

Drizzle 支持查询组合和分区,让你能够构建复杂而灵活的查询:

  1. 组合条件查询
// 动态构建查询条件
function getProductsBy({ name, category, maxPrice }) {
  const filters = []
  if (name) filters.push(like(products.name, `%${name}%`))
  if (category) filters.push(eq(products.category, category))
  if (maxPrice) filters.push(lte(products.price, maxPrice))

  return db
    .select()
    .from(products)
    .where(filters.length ? and(...filters) : undefined)
}
  1. 子查询
// 使用子查询
const subquery = db.select().from(staff).leftJoin(users, eq(staff.userId, users.id)).as('staff_users')

const result = await db.select().from(tickets).leftJoin(subquery, eq(subquery.staff_users.userId, tickets.assignedTo))

通过这些灵活的查询方式,Drizzle 既保持了 SQL 的强大表达能力,又提供了更简洁的 API 来处理常见的数据访问模式,让数据库操作变得既直观又高效。

数据库迁移

数据库迁移是开发过程中的重要环节,Drizzle 通过 Drizzle Kit 工具提供了完整的迁移解决方案。

Drizzle Kit 简介

Drizzle Kit 是一个命令行工具,用于管理 SQL 数据库迁移:

npm install -D drizzle-kit

Drizzle Kit 提供了多种命令来满足不同的迁移需求:

命令 功能描述
generate 根据 Schema 生成 SQL 迁移文件
migrate 应用生成的 SQL 迁移文件到数据库
push 直接将 Schema 变更推送到数据库
pull 从数据库拉取 Schema 并转换为 Drizzle Schema
studio 启动 Drizzle Studio 用于可视化数据库管理
check 检查生成的迁移文件是否存在冲突
up 升级之前生成的迁移快照

配置 Drizzle Kit

Drizzle Kit 通过 drizzle.config.ts 文件进行配置:

// drizzle.config.ts
import { defineConfig } from 'drizzle-kit'

export default defineConfig({
  dialect: 'postgresql', // 数据库类型
  schema: './src/db/schema.ts', // Schema 文件路径
  out: './drizzle', // 迁移文件输出目录
  dbCredentials: {
    // 数据库连接信息(用于 migrate 、push 、pull 等命令)
    url: 'postgresql://user:password@host:port/dbname'
  }
})

主要配置项包括:

  • dialect: 数据库类型('postgresql'、'mysql'、'sqlite' 等)
  • schema: Schema 文件路径,支持 glob 模式匹配多个文件
  • out: 迁移文件输出目录,默认为 './drizzle'
  • dbCredentials: 数据库连接信息
  • migrations: 迁移相关配置,如迁移记录表名称

迁移工作流

1. 生成迁移文件 (generate)

当你修改 Schema 后,可以生成迁移文件:

npx drizzle-kit generate

这将在 out 目录中生成 SQL 迁移文件,包含从当前数据库状态到新 Schema 的所有必要更改。

你可以通过 --name 参数指定迁移文件的名称:

npx drizzle-kit generate --name=init

这将生成类似 0000_init.sql 的文件。

对于需要自定义 SQL 操作(如数据填充)的场景,可以生成空白迁移文件:

npx drizzle-kit generate --custom --name=seed-users

然后在生成的文件中添加自定义 SQL:

-- ./drizzle/0001_seed-users.sql
INSERT INTO "users" ("name") VALUES('张三');
INSERT INTO "users" ("name") VALUES('李四');

2. 应用迁移 (migrate)

生成迁移文件后,可以将其应用到数据库:

npx drizzle-kit migrate

Drizzle Kit 会在数据库中创建一个名为 __drizzle_migrations 的表,用于记录已应用的迁移。你可以自定义这个表:

// drizzle.config.ts
export default defineConfig({
  // ...其他配置
  migrations: {
    table: 'my_migrations', // 默认为 __drizzle_migrations
    schema: 'public' // PostgreSQL 专用,默认为 drizzle
  }
})

3. 直接推送 Schema (push)

在开发环境中,可以直接将 Schema 变更推送到数据库,跳过生成迁移文件的步骤:

npx drizzle-kit push

这个命令会分析当前数据库状态和 Schema 文件的差异,并直接应用变更,适合快速迭代的开发阶段。

4. 从数据库拉取 Schema (pull)

如果你有一个现有的数据库,可以从中拉取 Schema 并转换为 Drizzle Schema:

npx drizzle-kit pull

这对于将现有项目迁移到 Drizzle 特别有用。

多环境配置

对于有多个环境(开发、测试、生产)的项目,可以创建多个配置文件:

📦 项目根目录
     ├ 📜 drizzle-dev.config.ts
     ├ 📜 drizzle-prod.config.ts

使用时指定配置文件:

npx drizzle-kit push --config=drizzle-dev.config.ts

Drizzle Studio

Drizzle Kit 还提供了一个可视化工具 Drizzle Studio ,用于浏览和管理数据库:

npx drizzle-kit studio

这将启动一个本地服务器,通过浏览器界面可以查看表结构、数据记录,并执行基本的 CRUD 操作。

完整迁移流程示例

以下是一个完整的迁移流程示例:

  1. 定义 Schema:
// src/schema.ts
import { pgTable, serial, text } from 'drizzle-orm/pg-core'

export const users = pgTable('users', {
  id: serial('id').primaryKey(),
  name: text('name').notNull()
})
  1. 配置 Drizzle Kit:
// drizzle.config.ts
import { defineConfig } from 'drizzle-kit'

export default defineConfig({
  dialect: 'postgresql',
  schema: './src/schema.ts',
  dbCredentials: {
    url: 'postgresql://user:password@host:port/dbname'
  }
})
  1. 生成迁移文件:
npx drizzle-kit generate --name=init
  1. 应用迁移:
npx drizzle-kit migrate

完整配置示例

以下是一个包含所有可用选项的扩展配置示例:

import { defineConfig } from 'drizzle-kit'

export default defineConfig({
  out: './drizzle', // 迁移文件输出目录
  dialect: 'postgresql', // 数据库类型
  schema: './src/schema.ts', // Schema 文件路径
  driver: 'pglite', // 特定数据库驱动
  dbCredentials: {
    // 数据库连接信息
    url: './database/'
  },
  extensionsFilters: ['postgis'], // 忽略特定扩展的表
  schemaFilter: 'public', // 要管理的 schema
  tablesFilter: '*', // 要管理的表
  introspect: {
    // pull 命令的配置
    casing: 'camel' // 列名命名风格
  },
  migrations: {
    // 迁移记录配置
    prefix: 'timestamp', // 迁移文件前缀
    table: '__drizzle_migrations__', // 迁移记录表名
    schema: 'public' // 迁移记录表所在 schema
  },
  entities: {
    // 实体管理配置
    roles: {
      // 角色管理
      provider: '', // 数据库提供商
      exclude: [], // 排除的角色
      include: [] // 包含的角色
    }
  },
  breakpoints: true, // 是否在 SQL 中添加断点
  strict: true, // push 命令是否需要确认
  verbose: true // 是否打印详细日志
})

多配置文件支持

对于管理多个数据库或环境的项目,可以创建多个配置文件:

📦 项目根目录
 ├ 📜 drizzle-dev.config.ts
 ├ 📜 drizzle-prod.config.ts

使用时指定配置文件:

npx drizzle-kit generate --config=drizzle-dev.config.ts

主要配置项详解

  1. dialect:数据库类型
    1. 可选值:postgresqlmysqlsqlitetursosinglestore
    2. 适用命令:generatemigratepushpullcheckup
  2. schema:Schema 文件路径
    1. 类型:string | string[](支持 glob 模式)
    2. 适用命令:generatepush
    3. 示例:'./src/schema.ts''./src/schema/*.ts'
  3. out:迁移文件输出目录
    1. 类型:string
    2. 默认值:'drizzle'
    3. 适用命令:generatemigratepushpullcheckup
  4. dbCredentials:数据库连接信息
    1. 类型:URL 字符串或连接参数对象
    2. 适用命令:migratepushpull
    3. 示例:
      dbCredentials: {
        url: 'postgresql://user:password@host:port/db'
      }
      // 或
      dbCredentials: {
        host: 'host',
        port: 5432,
        user: 'user',
        password: 'password',
        database: 'dbname',
        ssl: true
      }
      
  5. migrations:迁移记录配置
    1. 类型:{ table: string, schema: string }
    2. 默认值:{ table: '__drizzle_migrations', schema: 'drizzle' }
    3. 适用命令:migrate
  6. tablesFilter:表过滤器
    1. 类型:string | string[]
    2. 适用命令:generatepushpull
    3. 示例:['users', 'posts', 'project1_*']
  7. schemaFilter:Schema 过滤器
    1. 类型:string[]
    2. 默认值:['public']
    3. 适用命令:generatepushpull
  8. extensionsFilters:扩展过滤器
    1. 类型:string[]
    2. 默认值:[]
    3. 适用命令:pushpull
    4. 示例:['postgis'](忽略 PostGIS 扩展创建的表)
  9. entities.roles:角色管理配置
    1. 类型:boolean | { provider: string, include: string[], exclude: string[] }
    2. 默认值:false
    3. 适用命令:pushpullgenerate
    4. 示例:
      entities: {
        roles: {
          provider: 'supabase',  // 使用 Supabase 预定义角色
          exclude: ['admin']     // 排除 admin 角色
        }
      }
      
  10. strict:严格模式
  11. 类型:boolean
  12. 默认值:false
  13. 适用命令:push
  14. 作用:执行 push 命令时是否需要确认 SQL 语句
  15. verbose:详细日志
  16. 类型:boolean
  17. 默认值:true
  18. 适用命令:generatepull
  19. 作用:是否打印详细的 SQL 语句
  20. breakpoints:SQL 断点
  21. 类型:boolean
  22. 默认值:true
  23. 适用命令:generatepull
  24. 作用:是否在生成的 SQL 中添加 --> statement-breakpoint 断点(对于不支持在一个事务中执行多个 DDL 语句的数据库如 MySQL 和 SQLite 很重要)

结束

讲这个的主要目的是为了给大家普及一下海外批量应用的基础套件的知识,欢迎更多的了解下

公司倒闭,帮同事做背调,对方只关心有没有劳务仲裁

By: acbingo
10 July 2025 at 19:39
acbingo:

前司在去年年底倒闭了,前两天同事找到了新工作,过来拜托我帮忙做下背调。今天下午接到了背调公司的电话,对面的小姐姐第一个问题就是问离职原因,在了解到离职原因是公司倒闭后,立马问有没有做劳动仲裁? 我连忙表示没有。然后又问了一大堆其它问题,挂电话前又问了我一遍有没有仲裁,我坚定的表示确实没有。

要下班了,又想起此事,只有叹息,不知道该怎么骂,也不知道该骂谁。

为什么我们社会发展成这个样子?

❌
❌