Israeli drone strikes kill five, including children, in southern Lebanon
An Israeli drone strike killed five people, including three children, in the southern Lebanese town of Bint Jbeil on Sunday, Lebanon’s health ministry said.
Archived version: archive.is/newest/middleeastmo…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
US | 4.3 magnitude earthquake jolts the San Francisco Bay Area and people report feeling a sharp shake
An earthquake with a magnitude of 4.3 has awakened a number of people in the San Francisco Bay Area with a sharp jolt.
Archived version: archive.is/newest/apnews.com/a…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
How the billionaire class and wealthy landlords are conspiring against Zohran Mamdani
The wealthiest New Yorkers are desperately to rally support – and millions of dollars – for Andrew Cuomo to defeat the democratic socialist
Workers stage massive strike across Italy in support of Gaza
Unions put pressure on Prime Minister Giorgia Meloni over backing for Israel.
Archived version: archive.is/20250922112755/poli…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
Trump just made the Charlie Kirk memorial all about him - and naturally, spouted hate
It was the Trump show at the Charlie Kirk memorial, where the US president pushed hate, fear, and downright conspiracy theory
They’ve won in court, but ICE is still detaining and trying to deport them
Inside the “psychological torture” regime targeting migrants who can't be sent home.
Unions Improve Social Well-Being Even For Non-Members
Greater unionization rates improve the environment, income equality and public health, according to a new CCPA report.
JD Vance puts Charlie Kirk’s Christian faith front and center – with an eye on 2028
Vance puts Charlie Kirk’s Christian faith front and center – with an eye on 2028
Vice-president was in confessional mode as he eulogized his friend in Arizona – but speech could have political utility tooDavid Smith (The Guardian)
US | Airline Pilot Retirement Age Could Be Raised To 67, And It's Controversial
The retirement age for airline pilots may be raised from 65 to 67. Is this a sensible change, or does it compromise aviation safety?
LinkedIn will soon train AI models with data from European users
LinkedIn is preparing to switch on generative-AI training that draws from European members’ data, setting November 3, 2025 as the go-live date. The company says it will rely on “legitimate interests” as its legal basis and will offer an opt-out so members can refuse use of their data for training—promising that private messages are excluded. The change applies across the EU/EEA, United Kingdom, and Switzerland.
copymyjalopy likes this.
Tell the EU: Don’t Break Encryption with Chat Control
The EU’s Chat Control law would scan private messages and weaken encryption. Sign Mozilla Foundation’s petition to defend privacy and protect our digital future.
Ukraine Destroys Russian Ammo Depot With Over 19,000 Drones and Rare ZUBK14 Tank Missiles
Ukrainian forces targeted a key Russian ammunition depot in Bohdanivka, eliminating precision rounds and drones used by occupying troops in Luhansk.
Archived version: archive.is/newest/united24medi…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
copymyjalopy likes this.
Anger in Egypt after pharaoh’s gold bracelet stolen from a Cairo museum is melted down
Egyptians have expressed outrage after a 3,000-year-old bracelet belonging to an ancient pharaoh was stolen from Cairo's Egyptian Museum and melted down for gold.
Archived version: archive.is/20250922041112/apne…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
Poland will shoot down objects in clear-cut airspace violations, prime minister says
NATO member Poland will not hesitate to shoot down objects that violate its airspace and pose a threat, but will take a more cautious approach to situations that are less clear-cut, the prime minister said on Monday.
Archived version: archive.is/20250922105929/reut…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
The privately-educated elite still dominate the UK's most powerful roles
68% of FTSE100 chairs were privately educated. 62% of judges were. 50% of newspaper columnists too. See a pattern, here?
like this
Check two conditions in bash ? [solved]
Hi,
I trying to test two condition together (AND) under bash but it's not working...
The goal is ti have True when two variables are either not set or empty (empty string)
I've tried
if [[ -n VARIABLE1 && -n VARIABLE2 ]]; then
echo "OK"
fiHere I get the "OK" no matter what .
Thanks.
like this
Illness, animal deaths and water shortages: life inside Chile’s polluted ‘sacrifice zones’
Allegations of environmental breaches dog Anglo American’s mining operations. Now the company has been given the go-ahead for plans that communities say risk disaster
Archived version: archive.is/newest/theguardian.…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
Kmart Australia Illegally Used Mass-Facial Recognition in Stores
Over the two years until July 2022, Kmart captured the facial data of "tens or hundreds of thousands" of customers at store entrances and return counters[...] after a three-year investigation, privacy commissioner Carly Kind found Kmart's use of FRT was disproportionate, and the company did not gain consent to use it on shoppers
As part of the finding, Kmart has been ordered not to repeat the practice in the future, and will have to publish a statement on its website within 30 days explaining its use of FRT and the regulator's finding against it
TL;DR: As usual for this sort of thing, Kmart faces no real consequences (not even a fine ffs!). Meanwhile the Australian government is pushing forward with its mandatory age verification laws in spite of (or because of..) huge public backlash. I hate this country
ABC News
ABC News provides the latest news and headlines in Australia and around the world.Ange Lavoipierre (Australian Broadcasting Corporation)
like this
Enforces privacy laws
I mean, there didn't seem to be any consequences. No fines or anything like that. They were basically told that they can't use facial recognition for what they were using it for, but there are others ways they could still use it (outlined in the article).
They were given a free-pass, it seems.
Lawyers file criminal genocide complaint against 11 German politicians and CEOs
Lawyers have accused the German government and arms firms of aiding and abetting Israel's genocide in Gaza
thisisbutaname likes this.
Labour officials just suppressed 30 conference motions over Israel
The number of motions sent to the Labour conference demanding the party takes action on Israel has shot up, but the party is blocking them
Donations for Turning Point USA pour in after founder Charlie Kirk’s death
Fundraising efforts ramp up to open new chapters of influential far-right group as Kirk’s widow takes over as CEO
The powerful fundraising operation that rightwing activist Charlie Kirk led to build the influential college group Turning Point USA (TPUSA) is receiving a wave of support from large donors and Donald Trump allies since his murder, which suggests the group will remain a major force on the American right, campaign finance experts and consultants say.
New backing and appeals for help to sustain TPUSA have come from, among others, Lynn Friess, the widow of mega-donor Foster Friess, who was Kirk’s first major backer when he formed his campus-focused Republican group in 2012 at the age of 18. Friess pledged $1m to TPUSA days after the 31-year-old’s killing.
In an email to friends and allies on the right, Friess wrote on 14 September that her donation was to support a surge in “new TPUSA chapters springing up across the country … helping this incredible movement grow even stronger”.
Clip of Chinese academic dismantling Israeli genocide propagandist goes ultra-viral
There was an "absolutely extraordinary exchange" at Chinese forum where academic Yan Xuetong destroys an Israeli genocide apologist
Archived version: archive.is/newest/thecanary.co…
Disclaimer: The article linked is from a single source with a single perspective. Make sure to cross-check information against multiple sources to get a comprehensive view on the situation.
like this
Samsung phones embedded with 'unremovable' Israeli spyware
An Israeli tech firm has quietly embedded spyware into Samsung smartphones - and it poses a serious surveillance threat
like this
Rumor: Mafia: The Old Country Sequel In The Works
Actress Carina Conti has revealed in a livestream that Take-Two already approved a sequel for Mafia: The Old Country.
thisisbutaname likes this.
Verified Steam game steals streamer's cancer treatment donations
A gamer seeking financial support for cancer treatment lost $32,000 after downloading from Steam a verified game named Block Blasters that drained his cryptocurrency wallet.
like this
Right, so there’s no such thing as an unverified Steam game because every game has to be approved before it appears on the storefront.
So why does the article repeatedly bother to specify that this was a ‘verified Steam game’? By that metric, they’re all verified.
I’m not even mad about it, I’m just confused why they bothered adding the qualifier at all.
It's mentioned twice by the article. And the term is probably used because that how the gamer addressed it in their post. I can only speculate, I didn't write the article.
In any case, it's a huge fuck up by Valve and not for the first time.
Monday, September 22, 2025
Share
The Kyiv Independent [unofficial]
This newsletter is brought to you by Medical Bridges.
Medical Supplies for Ukraine’s Hospitals. Partnering for global health equity.
Russia’s war against Ukraine
Experienced fighters/soldiers dressed in medieval armor compete in a fighting tournament to raise funds for the Ukrainian military in Kyiv Oblast on Sept. 20, 2025. (Jose Colon/Anadolu via Getty Images)
3 Russian Mi-8 helicopters, radar station destroyed in occupied Crimea, Ukraine’s HUR says. “The Russian invaders’ air fleet in the temporarily occupied Crimea has been reduced again as a result of successful combat operations,” Ukraine’s military intelligence (HUR) said.
Ukrainian drones strike resort in occupied Crimea near Russian state dachas, Kremlin proxy says. A source reportedly told the Crimean Wind Telegram channel that “very important guests” were staying at the Foros resort at the time of the attack. The Kyiv Independent could not verify these claims.
Ukraine destroys Russian ‘terminator on tracks’ engineering vehicle in rare strike, military says. The rare strike marks only the third visually confirmed destruction of such a vehicle since the start of Russia’s full-scale invasion.
Ukraine has a massive new sea drone, could threaten Russia’s Crimean Bridge. Although the platform had been known for about a year, it was only now publicly displayed.
Your contribution helps keep the Kyiv Independent going. Become a member today.
Ukraine to begin exporting naval drones, other weapons, Zelensky says. Kyiv has drawn up proposals for a “controlled export” of Ukrainian weapons, particularly sea drones, President Volodymyr Zelensky said in his evening address on Sept. 21.
Russia’s ‘good-for-nothing’ general reportedly dismissed after Ukraine blunders. Russian Colonel General Alexander Lapin has been associated with battlefield setbacks since 2022.
More than 15,000 mobilized Russian soldiers killed in Ukraine identified by media investigation. The analysis shows that 42% of these deaths occurred within the first year after President Vladimir Putin announced Russia’s month-long “partial mobilization” in September 2022.
Fire erupts at electrical substation in Russia’s Krasnodar Krai after reported drone attack. Fires broke out an electrical substation in the town of Staroderevyankovskaya in southwest Russia amid a drone attack overnight on Sept. 22.
Read our exclusives
Ukraine war latest: Ukraine strikes oil refineries in Russia’s Saratov and Samara oblasts
“The Defense Forces of Ukraine are systematically implementing measures aimed at reducing the military-economic potential of the aggressor state. In particular, this is the undermining of the Russian Federation’s logistical capabilities in the oil refining sector,” the General Staff said.
Photo: Exilenova_plus/Telegram
From Crimea to Donbas, Russia’s “peace” has always meant more war. We’re here in Ukraine to give the world a reality check. Support independent journalism in this critical moment.
Human cost of Russia’s war
Russian attacks on Ukraine kill 1, injure 8, target rescue workers battling fire. Ukraine’s Air Force said Russian forces launched 54 Shahed-type attack and decoy drones overnight, of which air defenses intercepted 33.
General Staff: Russia has lost 1,101,610 troops in Ukraine since Feb. 24, 2022. The number includes 1,010 casualties that Russian forces suffered over the past day.
High-stakes autumn for Ukraine | Ukraine This Week
International response
NATO was ready to ‘use force’ against Russia, Estonia says after airspace incursion. “We saw on Friday that NATO is functioning very efficiently… even to the point that if we were truly forced to use the last resort, which is the use of force, then there was a readiness for that as well,” Estonian Defense Minister Hanno Pevkur said.
NATO jets intercept Russian spy plane over Baltic Sea, Germany says. The aircraft, an Il-20M, departed from Russia and entered international airspace without establishing communication, making visual identification the only way to confirm its presence.
UN Security Council to meet over Russian fighter jets violating Estonian airspace. This marks the first time in over 30 years that Estonia has requested an emergency meeting of the Security Council.
Trump vows to help defend Poland, Baltic countries if Russian escalations continue. U.S. President Donald Trump said on Sept. 21 he would help defend Poland and the Baltic nations if Russia continues to escalate.
Trump reiterates call for European allies to stop buying Russian oil. Trump again urged European countries to stop importing oil from Russia, during a dinner in Mount Vernon, Virginia, Bloomberg reported on Sept. 21.
Opinions and insights
Tragedy, unity, and defiance in Kyiv
“Cultural and social revival is strong in wartime Ukraine as an act of resistance against Russian efforts at erasure. Ukrainians are proudly, defiantly celebrating their own cultural diversity and history, including their own path of truth and reconciliation on the more challenging episodes of their national story,” Canadian Ambassador to Ukraine Natalka Cmoc writes.
Photo: Andrew Kravchenko/Bloomberg via Getty Images
This newsletter is open for sponsorship. Boost your brand’s visibility by reaching thousands of engaged subscribers. Click here for more details.
Today’s Ukraine Daily was brought to you by Chris York, Tymur Zadorozhnyy, Sonya Bandouil, Abbey Fenbert, and Olena Goncharova.
If you’re enjoying this newsletter, consider joining our membership program. Start supporting independent journalism today.
Share
Tragedy, unity, and defiance in Kyiv
The past month in Ukraine has been intense, even by the standards of this war. One of the most outspoken Ukrainian advocates for freedom, democracy, and human rights, former speaker of the Ukrainian Parliament Andriy Parubiy, was assassinated in bro…Natalka Cmoc (The Kyiv Independent)
Giorgia Meloni ospite a Domenica In: opposizioni all’attacco, la Rai risponde alle polemiche
Il debutto della nuova stagione di Domenica In su Rai 1 non poteva passare inosservato. Tra gli ospiti della prima puntata del 21 settembre 2025, dedicata ai 50 anni della trasmissione e all’iniziativa “Il Pranzo della Domenica – Italiani a tavola” per la candidatura della cucina italiana a Patrimonio UNESCO, è comparsa anche la Presidente del Consiglio Giorgia Meloni. La presenza della Premier ha scatenato immediate polemiche da parte delle opposizioni, che hanno accusato la Rai di utilizzo politico del servizio pubblico.
LEGGI L'ARTICOLO SU ATOM HEART MAGAZINE: Giorgia Meloni ospite a Domenica In: opposizioni all’attacco, la Rai risponde alle polemiche
Giorgia Meloni a Domenica In: polemica opposizioni, la Rai replica
La presenza di Giorgia Meloni a Domenica In scatena le opposizioni. Schlein e Floridia parlano di uso politico della Rai, la Rai si difende.Redazione (Atom Heart Magazine)
reshared this
« A Palestinian state will not be established west of the Jordan River. For years, I have prevented its establishment(...), we have doubled Jewish settlement in Judea and Samaria and we will continue. »
As an answer to most european state's recent recognition of Palestine : gov.il/en/pages/spoke-pm210925
There will be no Palestinian state. The response to the latest attempt to force upon us a terror state in the heart of our land will be given after my return from the United States
I have a clear message to those leaders who are recognizing a Palestinian state after the horrendous October 7 massacre: You are rewarding terror with an enormous prize.
And I have another message for you : it's not going to happen. There will be no Palestinian state to the west of the Jordan River.
For years I have prevented the creation of that terror state, against tremendous pressure, both domestic and from abroad.
We have done this with determination, and with astute statesmanship. Moreover, we have doubled the Jewish settlement in Judea and Samaria, and we will continue on this path.
The response to the latest attempt to force upon us a terror state in the heart of our land will be given after my return from the United States. Stand by.
Just in case it wasn’t clear enough. May he change his mind one day.
"From the river to the sea" only being a hate crime when it's directed at israelis.
In case some people here would be sensible to the argument of allowing a "terror state" inside your borders, the french president and others explicitly mentioned a demilitarized Palestine, implying that such state would chase down any palestinian aiming to take revenge against Israel, and continue to collaborate with Israel in doing so.
It's assumed that the support of anti-zionist states like Iran will also progressively fade with the decades if palestinians are happy. It'd only be a tiny bit of diversity in the Middle-East, their refusal would be understandable though since it's a clear unilateral loss(, also a symbolic loss if you interpret it in a weird way, like thinking that islam's victory isn't complete as long as christians and jews haven't converted), even if i hope that they'll eventually change their mind as well. No doubt that jewish states could be friends with muslims states and complement/teach each other(, e.g., jewish traditions guard against literalism, christian literalism insist on miracles, while muslim literalism insist on decontextualization, since the most glorious Prophet had to restrict the laws because of humanity's imperfections that wouldn't have accepted the final form, such as the total abolition of slavery for non-muslims as well, or some events where the law changed because they were asking too much from followers, such as drinking in moderation or temporarily staying aways from their wives, the spirit of the law may also sometimes seem too uncertain to seek so the letter is put forward, kinda thinking that the Quran would have been the exact same if it was revealed in 2025, the Best doesn't move). Museums/'Historical theme parks' aren't useless, Israel could be one.
"Recognizing" The Rubble Of Palestine
Notes From The Edge Of The Narrative MatrixCaitlin Johnstone (Caitlin’s Newsletter)
like this
[Solved] Seeking help with Fedora 42 KDE DNS resolution issues regarding reverse proxy on local network
Hello Everyone,
As the title says, I am having issues reaching my internally hosted resources via reverse proxy on my Fedora KDE install. I found little info about this, and I am wondering if I am on a wild goose chase.
Any help would be greatly appreciated, and sorry for the wall of text in advance!
Here's the anonymized setup:
192.168.1.10 is the docker host with web services on different ports
192.168.1.20 is the server that acts as a reverse proxy via caddy2, so I can use app.domain.example instead of ip:port and it handles certs from let's encrypt via DNS challenge. No ports are open to the internet. I VPN in when remote access is needed.
192.168.1.30 is the Pihole set up as the DHCP assigned local DNS. It has local DNS entries:
A record for caddy.domain.example mapped to 192.168.1.20
CNAME record for app.domain.example mapped to caddy.domain.example
This works perfectly fine on other devices and distros, windows, android etc.
On Fedora KDE live images 42 and 43 beta, and the installed OSs have this problem (currently have 42 installed so this is not a beta thing) Access works via IP:Port. It looks like it just doesn't want to take the reverse proxy route.
If I do an nslookup from the fedora device, it reaches pihole, and can resolve app.domain.example to caddy.domain.example, then that to 192.168.1.20.
nslookup app.domain.example
Server: 127.0.0.53
Address: 127.0.0.53#53
Non-authoritative answer:
app.domain.example canonical name = caddy.domain.exampe
Name: caddy.domain.example
Address: 192.168.1.20
caddy.domain.example canonical name = 192.168.1.20.resolvectl link 3 is the relevant one.
resolvectl
Global
Protocols: LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
resolv.conf mode: stub
Link 2 (enp3s0f0)
Current Scopes: none
Protocols: -DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Default Route: no
Link 3 (wlp1s0)
Current Scopes: DNS LLMNR/IPv4 LLMNR/IPv6
Protocols: +DefaultRoute LLMNR=resolve -mDNS -DNSOverTLS DNSSEC=no/unsupported
Current DNS Server: 192.168.1.30
DNS Servers: 192.168.1.30
DNS Domain: domain.local
Default Route: yesI can see it's using the stub resolver which I found some docs about but I am unsure what to change at this stage.
If I run traceroute for app.domain.example i get "No address associated with hostname"
I guess this is because here isn't any public records for this subdomain, only the wildcard pointing to my local Caddy IP for the certs.
Thanks for reading!
What happens if you add a local record to your local hosts file?
Also, are you using domain.local and not an actual custom domain?
I have a domain registered that I use, just didn't feel the need to mention it exactly. Hence why I anonymized my results. I did not change anything that would alter the troubleshooting steps, only the domain name and ip addresses are generic but otherwise consistent.
The domain and records are set up correctly on the provider end because I receive valid let's encrypt certs for my subdomains through caddy. The issue is only with Fedora. I checked a live of ubuntu and fedora iso on a second computer. Fedora consistently cannot resolve the domains on the default configuration while ubuntu and anything else I tried can.
I just tried adding the local IP:Port and the app.domain.example to the /etc/hosts file as the examples show. Restarted systemd-resolved but no dice. Ideally, I'd like to make this family friendly and avoid having to make client specific configurations anyway. So far only I run fedora at home, so my device has this issue only. I am partial to the OS otherwise, so I was hoping I could solve this.
EDIT
Sorry about that it dawned on my what you asked for really.
From the resolvedctl results DNS Domain: domain.local would be mydomainname.local. Yes I kept .local in the search domain fields for most of my things. Is this something that matters, or could this be a workaround if I changed it to my actual mydomainname.tld?
As far as I undertand this would work if mDNS was on. Not sure if LLMNR makes use of it the same way.
Solved by reading the docs, sort of...
By following the instructions to opt out of using systemd-resolved completely, it works.
fedoraproject.org/wiki/Changes…
This meant creating this simlink
sudo ln -sfv /run/systemd/resolve/resolv.conf /etc/resolv.conf
and creating this config file with the contents
sudo bash -c 'mkdir -p /etc/systemd/system-preset && echo "disable systemd-resolved.service" >/etc/systemd/system-preset/20-systemd-resolved-disable.preset'
But this wasn't enough. I had to stop the systemd-resolved.service as for some reason it did still start after a reboot, so I ran the following commands:
sudo systemctl disable systemd-resolved andsudo systemctl stop systemd-resolved
Now I am able to go through the caddy reverse proxy on my LAN.
This Month’s Two Tiny Changes
Each month during 2025 we’re offering two tiny changes which may help improve your life. This month …
- Buy secondhand clothes. No not cheap rubbish; you can buy good labels that you couldn’t otherwise afford online or at your local charity shop.
- Carve out more hours than you think you need for sleep.
Acqua o H₂O? La Scelta che Definisce la Nostra Libertà
Acqua o H2O? La Scelta che Definisce la Nostra Salute
Immaginiamo di essere in un deserto, assetati. Davanti a noi ci sono due cartelli: uno dice "Acqua", l'altro "H2O...Giuliano (Blogger)
reshared this
Trump’s H-1B visa fee isn’t just about immigration, it’s about fealty
Trump’s H-1B visa fee isn’t just about immigration, it’s about fealty
Trump’s H-1B visa fee isn’t just about immigration, it’s about making tech companies bend the knee in exchange for a pass.Terrence O'Brien (The Verge)
Apple as a future Graphene OEM?
Is Memory Tagging Extension (MTE) and/or Memory Integrity Encforcement (MIE) one of the requisite features for GrapheneOS?
The recent moves from Google that look like Android will become more of a "closed garden", and it might affect the furure of privacy ROMs.
I'm not sure if thats the same reason for this, but GrapheneOS have stated that they are working on a phone from another Android OEM. I have no idea if apple's chips allow exclusively ios or linux-like os on the system, but how feasable is it that they might consider Apple (given if the inclusion of MIE & MTE makes iPhones more compatible with gOS) in the future?
Memory Integrity Enforcement Changes the Game on iOS
Apple's new support for ARM's Memory Tagging Extension in iOS and their A19 SoC is an underrated feature for journalists, activists, and other high-profile figures.Jonah Aragon (Privacy Guides)
like this
like this
悪霊退散
Dynasty Reader » A Villainess Who Refuses to Break Off Her Engagement (and other short comics)
Online manga reader for scanlations released by Dynasty Scans and other Yuri groups.dynasty-scans.com
Wealth tax would be deadly for French economy, says Europe’s richest man
Wealth tax would be deadly for French economy, says Europe’s richest man
LVMH owner Bernard Arnault, who could take €1bn hit, says proposed 2% levy ‘aims to destroy liberal economy’Jasper Jolly (The Guardian)
‘Stop Worrying About AI’s Return on Investment’ said the wallet inspector
‘Stop being such a breadhead’ said the pickpocket
- video
pivottoai.libsyn.com/20250921-… - podcast
time: 7 min 14 sec
‘Stop Worrying About AI’s Return on Investment’ said the wallet inspector
Every few months, the Wall Street Journal runs its Technology Council Summit. The Journal wrote up last week’s summit with the best headline ever: [WSJ] Stop Worrying About AI’s Return on Investmen…Pivot to AI
“Yikes”: Internal emails reveal Ticketmaster helped scalpers jack up prices, FTC says
“Yikes”: Internal emails reveal Ticketmaster helped scalpers jack up prices, FTC says
FTC sued Ticketmaster and Live Nation for turning “blind eye” to scalpers.Ashley Belanger (Ars Technica)
like this
fubarx
in reply to Rick_C137 • • •harsh3466
in reply to Rick_C137 • • •-z.-nchecks to see if a string is not empty.Farnsworth
in reply to harsh3466 • • •[[, empty strings are falsy, so this also works:DeuxChevaux
in reply to Rick_C137 • • •[ condition1 ] && [ condition2 ] && echo "Good" || echo "Bad"suff
in reply to DeuxChevaux • • •Explanation
[is an alias for the programtest, so you can callman testfor more info.&&is bash syntax for conjunction. In A && B, B will only be called if A returned a exit code >0 (error). You can callman bashfor more info.||is bash syntax for disjunction. In A || B, B will only be called if A returned exit code =0 (success).trueandfalseare programs that just return exit codes 0 respectively 1.Farnsworth
in reply to DeuxChevaux • • •Never use
a && b || c. It is not the same asif a; then b; else c; fi: whenasucceeds butbfails, it will run bothbandc.I would not bother with
[unless you absolutely need compatibility with non-bash shells.BillibusMaximus
in reply to Rick_C137 • • •Farnsworth
in reply to BillibusMaximus • • •[[there is generally no need for quoting, except the right hand side of an=comparisonthingsiplay
in reply to Rick_C137 • • •kittenroar
in reply to Rick_C137 • • •Rick_C137
in reply to kittenroar • • •echo "OK"do not trigger.kittenroar
in reply to Rick_C137 • • •Then it is working. That is what that code was checking for.
Specifically, -n checks if the variable exists and also does not have a null value.
If you want to reverse it, ie, check that those conditions are not true, put an exclamation mark in front of the whole thing.
Rick_C137
in reply to Rick_C137 • • •Thank you all for yours input
What finally did work
If only Linux was using Python syntax that would be so much more intuitive...
sping
in reply to Rick_C137 • • •Linux does use Python syntax... in Python.
In Bash though, it uses Bash syntax.
Farnsworth
in reply to Rick_C137 • • •The variables need a dollar sign:
$VARIABLE1help testshows what-nand-zdo.dion_starfire
in reply to Rick_C137 • • •[ -z "${VAR1}" -a -z "${VAR2}" ]. Note in bash that there are minor differences in how[ ]and[[ ]]tests are handled. You can pull up a handy cheat sheet of the operands on most distros by runningman test, though you'll need to read through the CONDITIONAL EXPRESSIONS section ofman bashif you want to see the minor differences of the single vs double square bracket commands (mostly whether locale applies to string order, as well as whether operands are evaluated in numeric comparisons).