⚡️’Direct threat’ — Ukraine’s 48th Separate Assault Battalion denounces commander replacement. “Changing the commander at a critical moment is a direct threat to the unit’s combat capability and undermines the trust of the fighters,” the statement read. kyivindependent.com/ukraines-4…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 16:17]
'Direct threat' — Ukraine's 48th Separate Assault Battalion denounces commander replacement
"Changing the commander at a critical moment is a direct threat to the unit's combat capability and undermines the trust of the fighters," the statement read.Kateryna Denisova (The Kyiv Independent)
⚡️Update: Ukraine hits 2 oil depots in Russia overnight kyivindependent.com/ukrainian-…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 11:25]
Ukrainian drones hit Russian oil depot in Tula Oblast, source claims
The drones, operated by Ukraine's military intelligence (HUR), hit the oil depot at least 10 times, a HUR source told the Kyiv Independent.Kateryna Denisova (The Kyiv Independent)
⚡️24-year-old Belarusian volunteer soldier killed in action near Bakhmut. Maria Zaitseva joined the Ukrainian army after the start of Russia’s full-scale war and fought with the 2nd International Legion Battalion. kyivindependent.com/24-year-ol…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 10:43]
24-year-old Belarusian volunteer soldier killed in action near Bakhmut
Maria Zaitseva joined the Ukrainian army after the start of Russia's full-scale war and fought with the 2nd International Legion Battalion.Kateryna Denisova (The Kyiv Independent)
⚡️Ukrainian drones hit Russian oil depot in Tula Oblast, source claims. The drones, operated by Ukraine’s military intelligence (HUR), hit the oil depot at least 10 times, a HUR source told the Kyiv Independent. kyivindependent.com/ukrainian-…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 08:50]
Ukrainian drones hit Russian oil depot in Tula Oblast, source claims
The drones, operated by Ukraine's military intelligence (HUR), hit the oil depot at least 10 times, a HUR source told the Kyiv Independent.Kateryna Denisova (The Kyiv Independent)
⚡️Russian attacks against Ukraine kill 9, injure 38 over past day. kyivindependent.com/russian-at…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 08:34]
Russian attacks against Ukraine kill 9, injure 38 over past day
Russia launched 39 drones, including Shahed-type, and four ballistic missiles of either the Iskander-M or the North Korean KN-23 model overnight, the Air Force reported.Kateryna Denisova (The Kyiv Independent)
These are the indicative estimates of Russia’s combat losses as of Jan. 18, according to the Armed Forces of Ukraine.
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 07:48]
Sanctions imposed by the outgoing U.S. administration against Antal Rogan, Prime Minister Viktor Orban’s cabinet chief and overseer of the secret service, have only strengthened Rogan’s position, Orban said during a state radio interview on Jan. 17. kyivindependent.com/hungarys-o…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 07:16]
Hungary's Orban defends ally Antal Rogan sanctioned by US, media reports
Sanctions imposed by the outgoing U.S. administration against Antal Rogan, Prime Minister Viktor Orban's cabinet chief and overseer of the secret service, have only strengthened Rogan's position, Orban said during a state radio interview on…Olena Goncharova (The Kyiv Independent)
⚡️Update: 4 killed, 3 injured in Russia’s attack on Kyiv. Russia launched an attack on Kyiv early in the morning on Jan. 18, killing at least four people, according to city authorities. kyivindependent.com/3-killed-f…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 05:51]
⚡️3 killed following Russia’s attack on Kyiv. Russia launched an attack on Kyiv early in the morning on Jan. 18, killing at least three people, according to city authorities. kyivindependent.com/3-killed-f…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 05:03]
4 killed, 3 injured following Russia's attack on Kyiv
Russia launched an attack on Kyiv early in the morning on Jan. 18, killing at least four people, according to city authorities.Olena Goncharova (The Kyiv Independent)
Explosions were heard in Kyiv overnight on Jan. 18 before air raid alert warned about the threat of Russia using ballistic missiles, according to Kyiv Independent reporters.
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 04:10]
⚡️Fire reported at oil depot in Russia’s Tula Oblast following drone attack. A fire erupted at an oil depot in the town of Uzlovaya in Tula Oblast following a Ukrainian drone attack on the facility on Jan. 18, regional Governor Dmitry Milyaev said. kyivindependent.com/fire-repor…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 01:18]
Fire reported at oil depot in Russia's Tula Oblast following drone attack
A fire erupted at an oil depot in the town of Uzlovaya in Russia's Tula Oblast following a Ukrainian drone attack on the facility overnight on Jan. 18, regional Governor Dmitry Milyaev said.Dmytro Basmat (The Kyiv Independent)
⚡️Media identifies nearly 89,000 Russian soldiers killed in Ukraine. Journalists have identified the names of 88,726 Russian soldiers who died during the full-scale invasion of Ukraine, according to a joint investigation by BBC Russia and Mediazona. kyivindependent.com/media-iden…
🐦🔗: nitter.oksocial.net/KyivIndepe…
[2025/01/18 00:55]
Freezing temperatures are expected during Trump's second inauguration (Alana Wise/NPR)
npr.org/2025/01/16/g-s1-43151/…
memeorandum.com/250117/p22#a25…
Freezing temperatures are expected during Trump's second inauguration
By Alana Wise / NPR. View the full context on memeorandum.memeorandum
Support for .env Files: Now Built into PhpStorm
#PHP #PhpStorm #News #Releases #Envfiles #20243
blog.jetbrains.com/phpstorm/20…
Support for .env Files: Now Built into PhpStorm | The PhpStorm Blog
.env files are widely used to configure applications by storing configuration settings, environment variables, and sensitive information. This eliminates the need to hardcode these values into the appThe JetBrains Blog
Ricordo il programma di NoStream
17 Gennaio ore 21.00 -> 2 de Nait - Racconti Perduti
21 Gennaio ore 20.30 -> Ciubekka - La Geopolitica su due ruote
In Serbia la polizia ha installato spyware nei cellulari di giornalisti e membri delle Ong
La documentata denuncia di Amnesty International nel report “Una prigione digitale” evidenzia i sistematici abusi delle forze dell'ordine di Belgrado che sorvegliano gli attivisti per reprimere il dissenso e controllare le manifestazioni della societ…Alessandro Ferrari (Altreconomia)
Sources: Trump plans an EO to elevate crypto to a national imperative or priority and create a crypto advisory council to advocate for industry priorities (Bloomberg)
bloomberg.com/news/articles/20…
techmeme.com/250116/p50#a25011…
Sources: Trump plans an EO to elevate crypto to a national imperative or priority and create a crypto advisory council to advocate for industry priorities
From Bloomberg. View the full context on Techmeme.Techmeme
Tower of Centocelle (Torre di Centocelle) in Rome, Italy
A medieval tower, dating back to the 12th century, lingers in the Roman countryside.#medieval #roman #towers #section-Atlas
Most adults are skeptical that Trump can address costs and other economic issues (AP-NORC)
apnorc.org/projects/most-adult…
memeorandum.com/250116/p55#a25…
Most adults are skeptical that Trump can address costs and other economic issues
From AP-NORC. View the full context on memeorandum.memeorandum
ACERBO(PRC): SALVINI SI DEVE DIMETTERE, MA I PROBLEMI DELLA RETE FERROVIARIA VENGONO DA LONTANO
Altra bocciatura per il peggior ministro dei trasporti della storia d’Italia. Il Tar nega vi fosse alcuna urgenza per la precettazione nello sciopero del 13 dRifondazione Comunista
Duolingo Sees Surge In US Users Learning Chinese Due To Incoming TikTok Ban #duolingo #rednote #socialmedia #tiktok
lowyat.net/2025/341093/duoling…
Duolingo Sees Surge In US Users Learning Chinese Due To Incoming TikTok Ban
Duolingo, the mobile app that teaches users new languages, has reported a surge of 216%, primarily among US users. The language they're trying to learn?John Law (Lowyat Media Group)
「ちいかわ」草むしり検定も“苦あれば楽あり”…マンガを読みながら勉強できる「ことわざ本」第2弾登場!
『ちいかわ』より、原作マンガのストーリーやイラストが楽しめる、“ことわざ本”第2弾「ちいかわ 人生のことわざ」が登場。2025年1月22日より、全国の書店で発売する。八羽汰 わちは (アニメ!アニメ!)
「ちいかわ」コラボ効果、企業が実感 パッケージで売上増「10-30代女性の獲得に成功」
なとりは16日、「なめらか チータラ」シリーズ6品と「チーズスモーク」の、全7品の「ちいかわ」パッケージを20日より期間限定で発売すると発表。「ちいかわ」とのコラボ効果についても明かした。 チルドタイプチーズ「なめらか チータラ」や「チーズスモーク」は、なめらかな食感が特長の商品で、主に40代以上の女性から支持を得ているという。2023年、2024年に「ちいかわ」とのコラボレーションパッケージを販売したところ、大きな反響があった。ORICON NEWS
研ナオコ、Mrs. GREEN APPLE・大森からの“プレゼント”公開 年下夫&愛犬とぬくぬく「半纏 大流行間違いない」
歌手でタレントの 研ナオコ (71)が16日、自身のインスタグラムを更新。年下夫(65)との“顔出し”夫婦ショットを公開した。 研は「マブダチから半纏のプレゼント 寒い日もこれを着てれば大丈夫 あったかーい 有難う!!」と報告し、3枚の写真をアップ。包まれてぬくぬくの愛犬ショットをはじめ、夫と“爆笑”する夫婦ショットなどがとらえられている。ORICON NEWS
youtube.com/watch?v=O5icowOXso…
#youtube_tbsnewsdig #NEWS #ニュース #最新ニュース #japan #ライブ #news #newslive #live #TBS #TBSNEWS #Japan
【LIVE】最新ニュースまとめ (Japan News Digest)|TBS NEWS DIG(1月16日)
TBS / JNNの最新ニュースをダイジェストでお届けします。#ニュースライブ #ニュース #tbs #japan #live #news #newsdig #まとめ #最新ニュース▼TBS NEWS DIG 公式サイト https://newsdig.tbs.co.jp/▼チャンネル登録をお願いします!htt...YouTube
youtube.com/watch?v=_-K5LZTG0g…
#youtube_tbsnewsdig #ニュース #NEWS #TBS #NEWSDIG #TBSNEWSDIG #最新ニュース
東京都のインフルエンザ患者報告数、1医療機関あたり「21.93人」 前週から約1.6倍に増加|TBS NEWS DIG
東京都は先ほど、季節性インフルエンザの最新の患者数を発表しました。年末からは大幅に減ったものの、「減少傾向にあるかは、来週の患者数を見るまでは判断できない」としています。東京都によりますと、都内418か所の医療機関に今月12日までの1週間に報告された季節性インフルエンザの患者数は9166人で、1医療機関あたり21...YouTube
youtube.com/watch?v=z2rETegG-k…
#youtube_tbsnewsdig #ニュース #NEWS #TBS #NEWSDIG #TBSNEWSDIG #最新ニュース
コンビニ各社が“食料備蓄”の必要性訴え 南海トラフ地震に備えを|TBS NEWS DIG
阪神・淡路大震災からあすで30年となるのを前に、コンビニ各社が備蓄の必要性を呼びかけました。都内に集まったのはコンビニチェーンのライバル7社です。各社が加盟する業界団体は災害時の物流について報告書をまとめ、「ローリングストック」と呼ばれる買い置きして食べた分を補充する備蓄方法の必要性を訴えました。セブン-イレブン...YouTube
youtube.com/watch?v=YP_j69qBT3…
#youtube_videomainichi #6367166909112 #facebook #スポーツ #ニュース #ユーチューブ
イチロー、岩瀬仁紀、掛布雅之ら4氏が野球殿堂入り
野球殿堂博物館(東京都文京区)は16日、今年の野球殿堂顕彰者として、日米通算4367安打を放ったイチロー氏(51)、日本プロ野球史上最多の407セーブを挙げた岩瀬仁紀氏(50)、阪神の主砲として活躍した掛布雅之氏(69)、元セ・リーグ審判部長の富沢宏哉氏(93)の4人を選出した。【撮影・後藤由耶、手塚耕一郎(一部...YouTube
#spiderforest #webcomic #webcomics #sarilho #comic |
sarilho.net/arquivo/comic/ch8p…
Ch8p03 – O Sarilho
Post-apocalyptic action/sci-fi comics about future romans who find an alien creature and have to deal with the international consequences of the discovery.sarilho.net
sarilho.net/ | #sarilho #MastoArt
O Sarilho – Romanos do futuro que moram no Peso da Régua e vão de missão até Arouca para recuperar um satélite.
Post-apocalyptic action/sci-fi comics about future romans who find an alien creature and have to deal with the international consequences of the discovery.sarilho.net
Egypt. Cairo. On the Nile shore near Boulac, with Dahableh making sail Zürich : Photoglob Company, ca. 1890-1910 Rivers,Boats,Coastlines,Cities & towns,Egypt Būlāq (Cairo) Nile River
#Egypt #Cairo #Boulac #Dahableh #Zürich #PhotoglobCompany #Cities& #NileRiver #Egyptian #Dahabeh #Būlāq #photography #historicalPhotos
Ci sono grossi ritardi e secondo l'Ufficio parlamentare di bilancio di questo passo è verosimile che se ne facciano 17mila in meno dell'obiettivo
ilpost.it/2025/01/15/asili-nid…
Live updates: Multiple officials tout Gaza ceasefire deal; Israel says details are still in flux (Andrew Wilks/Associated Press)
apnews.com/live/israel-hamas-c…
memeorandum.com/250115/p68#a25…
Live updates: Multiple officials tout Gaza ceasefire deal; Israel says details are still in flux
Multiple officials say Israel and Hamas have agreed to a ceasefire in Gaza and the release of hostages after more than 15 months of war.THE ASSOCIATED PRESS (AP News)
WATCH LIVE: Biden expected to announce Israel-Hamas ceasefire deal (PBS NewsHour)
pbs.org/newshour/politics/watc…
memeorandum.com/250115/p66#a25…
WATCH LIVE: Biden expected to announce Israel-Hamas ceasefire deal
The deal promises the release of dozens of hostages held by Hamas in phases, the release of hundreds of Palestinian prisoners in Israel and would allow hundreds of thousands of people displaced in Gaza to return to what remains of their homes.PBS News
Eterotopi@Jamsession
Sabato 18 gennaio, dalle 21:30 alle 00:30, presso Eterotopia - Spazio Pubblico Autogestito - via Risorgimento 21, San Giuliano Milanese, Via Risorgimento 21, San Giuliano Milanese; e anche online, su eterotopia.eu
Eterotopi@Jamsession:
Palco montato, porta il tuo strumento, porta la tua voce.
Fertile land for growing vegetables is at risk—but a scientific discovery could turn the tide
A large proportion of the vegetables consumed in Québec are grown in the Montérégie region in what are known as organic soils. Highly fertile and rich in organic matter, these soils are particularly well suited to vegetable production.Karolane Bourdon (Phys.org)
Decentralized Instagram alternative Pixelfed debuts iOS and Android apps; its Android app is the top Social app on Google Play in some markets, including the US (Sarah Perez/TechCrunch)
techcrunch.com/2025/01/14/dece…
techmeme.com/250114/p27#a25011…
Decentralized Instagram alternative Pixelfed launches mobile apps | TechCrunch
Pixelfed, a decentralized alternative to Instagram, has launched its official mobile apps. The service today runs on the same ActivityPub protocol thatSarah Perez (TechCrunch)
PRC: FURIO COLOMBO, GRANDE INTELLETTUALE DEMOCRATICO
Con Furio Colombo la cultura italiana perde un grande intellettuale di solida sensibilità democratica e antifascista, un grande giornalista che per decenni èRifondazione Comunista
reshared this
Firenado, ecco cosa sono i tornado di fuoco e perché sono pericolosi
Colonne di cenere, fiamme e polvere che possono sollevare oggetti al pari delle trombe d'aria. Noti come diavolo di fuoco possono essere pericolosi e distruttivi: variano di intensità, durata e diametro di estensione
Study links sugar-filled drinks to millions of heart disease and diabetes cases each year
The health risks associated with sugary drinks are becoming clearer thanks to a new study outlining just how widespread the issue has become.Joshua Hawkins (BGR)
Nel 2024,10.457 persone sono morte alle frontiere spagnole
Il rapporto di Ca-mimando FronterasProgetto Melting Pot Europa
"Unprecedented" growth: Facebook blocks links to Instagram alternative Pixelfed
Pixelfed is growing rapidly after Meta changed content moderation. It's now noted that Facebook is blocking links to Pixelfed.
Supercazzola parola "enciclopedica". La Treccani la inserisce tra i neologismi della politica
Il termine, inventato dagli "Amici miei" di Mario Monicelli, film culto del 1975, entra nella rubrica "Le parole della neopolitica"
My Thoughts on Kotlin: Perspectives after 4 years
tylerrussell.dev/2025/01/10/my…
Discussions: discu.eu/q/tylerrussell.dev/20…
My Thoughts on Kotlin: Perspectives after 4 years – tylerrussell.dev - discu.eu
Discussions and related articles for «My Thoughts on Kotlin: Perspectives after 4 years – tylerrussell.dev»discu.eu
Trump asks Supreme Court to halt Friday sentencing in hush money case (Washington Post)
washingtonpost.com/politics/20…
memeorandum.com/250108/p35#a25…
Trump asks Supreme Court to halt Friday sentencing in hush money case
From Washington Post. View the full context on memeorandum.memeorandum
Innovations in PHPUnit 12: Separation of test stubs and mock objects
Sebastian Bergmann, author of PHPUnit, talks in an interview about highlights and preparation tips for the release of version 12 in February 2025.
Your cookie banner says you cannot opt out of personalized ad tracking? Seriously?
I guess I'm opting out of your site, then.
I was 15. I didn’t actually talk to anyone. I was just like “Neat, someone from Australia.” And to explain the joke, Age/Sex/Location
thedevilspanties.com/archives/…
#1990s,#IRC,#technology
Video in su t.me/lombardiaincoeu/6283
#MastodonLMO
Lombardia Incoeu
Bon ann noeuv a tucc de Lombardia Incoeu, per un 2025 che l'è pussee bell de tucc i agn passad! 🗞 @lombardiaincoeuTelegram
Laboratorio aperto e condiviso di uncinetto, maglia, macramè e ricamo
Domenica 12 gennaio, dalle 16:00 alle 19:00, presso ZAM, Milano, via Sant'Abbondio 4
Laboratorio aperto e condiviso di uncinetto, maglia, macramè, ricamo e chi più ne ha più ne metta!
Unisciti a noi e sferruzza in compagnia 😊
#maglia #laboratorio #macramè #uncinetto #zam
「ちいかわ」新作一番くじの全ラインナップ公開!テーマはラーメン、時間になるとおしゃべりして教えてくれる「ヌードルタイマー」などを用意
「一番くじ ちいかわ ~みんなでラーメン~」の全ラインナップが公開!茶っプリン (アニメ!アニメ!)
「ちいかわ」可愛いお顔がちょこん…!お菓子やイヤホンを入れたくなる「ミニシリコンポーチ」がプライズに登場
「ちいかわ ミニシリコンポーチ」が、アミューズメント施設にて1月中旬より順次登場予定!八羽汰 わちは (アニメ!アニメ!)
hokkory.com/2024/12/31/2024ran…
#hokkory
2024年のほっこりニュース ベスト10
2024年もお疲れさまでした。今年もたくさんのニュースが現れ、たくさんの出来事や動物が和ませてくれました。それでは、2024年のほっこりニュースのベスト10を見ていきましょう。 集計方法 ツイッターで「こう ...awaumi (ほっこり癒しニュース)
- YouTube
Divertiti con i video e la musica che ami, carica contenuti originali e condividi tutto con amici, familiari e con il mondo su YouTube.www.youtube.com
- YouTube
Divertiti con i video e la musica che ami, carica contenuti originali e condividi tutto con amici, familiari e con il mondo su YouTube.www.youtube.com
This era of UI design was so visually appealing. We’ve somehow managed to come full circle and make modern UI design just as flat but somehow without any of the style
RE: tech.lgbt/@nina_kali_nina/1136…
SENZA CHIEDERE PERMESSO GENNAIO 2025
Quindicesima edizione
Ehi ehi ehi, arieccoci! Dopo quello che speriamo sia stato un bel capodanno per tuttx, giovedì al mercatino ce la chilliamo insieme!
Dalle 17 allestimento del mercatino, birrette e microfono aperto.
Dalle 19:30 cena veg a cura del mercatino
mercatinoautogestito.noblogs.o…
#MERCATINOAUTOGESTITODELRIUSOEDELLEAUTOPRODUZIONI #SENZACHIEDEREPERMESSO #APPUNTAMENTI
📰 Our soldiers are transporting four prisoners in full trailer at high speed: "Welcome to Ukraine!". VIDEO
👉 quotidianomotori.com/lifestyle…
Lego Icons Williams Racing FW14B e Nigel Mansell
Composto da 799 pezzi, il nuovo set riproduce con cura dettagli tecnici e storici della leggendaria Williams Racing FW14B di Nigel Mansell.Caterina Di Iorgi (Quotidiano Motori)
Errata Corrige il Ciubekka è il 21 Gennaio
Programma :
17 Gennaio ore 21.00 -> 2 de Nait - Racconti Perduti
21 Gennaio ore 20.30 -> Ciubekka - La Geopolitica su due ruote
I'm @shizamura and I create O Sarilho, a webcomic about future romans and war!
Want to support the comic? Want to toss me a coin? Well, I can show you the way:
sarilho.net/?utm_source=kad
ko-fi.com/shizamura
O Sarilho – Romanos do futuro que moram no Peso da Régua e vão de missão até Arouca para recuperar um satélite.
Post-apocalyptic action/sci-fi comics about future romans who find an alien creature and have to deal with the international consequences of the discovery.sarilho.net
Microsoft’s tone-deaf advice to Windows 10 users: just buy a new PC, you’re all rich, right?
Over 60% of Windows users are still using Windows 10, with only about 35% or so - and falling! - of them opting to use Windows 11. As we've talked about many times before, this is a major issue going into 2025, since Windows 10's support will end in Octob
NoStream ti attende
17 Gennaio ore 21.00 -> 2 de Nait - Racconti Perduti
20 Gennaio ore 20.30 -> Ciubekka - La Geopolitica su due ruote
🔥 BARAONDUB #2 🔥 soundsystem conference
Sabato 18 gennaio, dalle 22:00 alle 03:30, presso CSA Baraonda, Segrate, via Pacinotti 13
BARAONDUB #2 🔥
Torna la soundsystem conference nella storica Yard di Segrate inna big connection style!
3 sound in continua alternanza pronti a proporre il meglio della propria selezione, from the roots to the steppa!
------------------------------------------
⏬ SOUNDSYSTEM INNA DI YARD:
🔊 ANANDAMIDE (MI)
🔊 BACK A BUSH (MI)
🔊 HIGH VISION (LC)
------------------------------------------
H. 22.00 to 03.30
Don't be late!
💰 Ingresso 5€ a sostegno delle attività dello spazio
🍻 Bar popolare e sostenibile
📌 CSA BARAONDA, via Pacinotti 13 Segrate (MI)
✊ MEMBAH DAT: this is CONSCIOUS MUSIC for CONSCIOUS MASSIVE!
🖕 NO FASCI - NO RAZZISTI - NO MACHO
Scegli il Servizio Civile! Aperto il bando 2025-2026! - Per la pace
Se hai tra i 18 e i 29 anni non compiuti puoi candidarti a svolgere 12 mesi di Servizio Civile presso l'Agenzia della Pace di Perugia e organizzare insieme a noi e a tanti altri giovani la prossima Marcia PerugiAssisi del 12 ottobre 2025!Per la pace
Effective obfuscation
Silicon Valley's "effective altruism" and "effective accelerationism" only give a thin philosophical veneer to the industry's same old impulses.
citationneeded.news/effective-…
Effective obfuscation - by Molly White - Citation Needed
Silicon Valley's "effective altruism" and "effective accelerationism" only give a thin philosophical veneer to the industry's same old impulses.Molly White (Citation Needed)
Larry Garfield
in reply to Frost, wolf of winter 🐺🎄 • • •Frost, wolf of winter 🐺🎄
in reply to Larry Garfield • • •Larry Garfield
in reply to Frost, wolf of winter 🐺🎄 • • •Frost, wolf of winter 🐺🎄
in reply to Larry Garfield • • •Larry Garfield
in reply to Frost, wolf of winter 🐺🎄 • • •You haven't seen anything until you've seen Javascript...
Type juggling outside of a few very narrow conditions is just inherently dangerous.
Frost, wolf of winter 🐺🎄
in reply to Larry Garfield • • •@Crell Oh we use Javascript all the time and I personally love it! Not so much for its type handling, it can be a bit wonky (insert holy trinity meme), but y'know.
I'll take some type wonkiness in return for JS's immense flexibility and unopinionatedness. It doesn't try to force you into any one specific pattern or coding style (*cough*Rust).
Frost, wolf of winter 🐺🎄
in reply to Frost, wolf of winter 🐺🎄 • • •Larry Garfield
in reply to Frost, wolf of winter 🐺🎄 • • •+ means both addition and concatenate, in a language with no explicit types.
Nothing in PHP comes close to that level of dumb. (And PHP has plenty of dumb.)
Evert Pot
in reply to Larry Garfield • • •Larry Garfield
in reply to Evert Pot • • •@evert Because in practice it bites you about 10000x as often as "a string that happens to start with 0e will get coerced to 0 if you try to use it as a number."
Addition and concat are two of the most common operations. Using the same symbol for them when the types are inherently unknown is begging for trouble.
Frost, wolf of winter 🐺🎄
in reply to Frost, wolf of winter 🐺🎄 • • •PHP: Hypertext Preprocessor
www.php.netRet
in reply to Frost, wolf of winter 🐺🎄 • • •==Woozle Hypertwin
in reply to Frost, wolf of winter 🐺🎄 • • •Okay, that is messed up.
They're both evaluating as strings, but then the strings are being evaluated as numbers??
What's marked as a string should be considered a string until typecast to something else. Putting a number in a string should not cause it to be interpreted as a number.
Are the #PHP devs aware of this?
Gina Peter Banyard
in reply to Woozle Hypertwin • • •@woozle yes
This has been part of the language since forever.
I have a draft somewhere about what I want to change about comparison but working on other stuff rn.
Gina Peter Banyard
in reply to Gina Peter Banyard • • •Frost, wolf of winter 🐺🎄
in reply to Gina Peter Banyard • • •@Girgias @woozle Hahaha wow. And people say JavaScript is bad,,
PHP 8 seems to have a lot of nice stuff! We skipped, like, the entire history of PHP and only picked it up fairly recently.
Gina Peter Banyard
in reply to Frost, wolf of winter 🐺🎄 • • •@woozle some of us are pushing PHP to be better.
JS has the problem that you do not know what the client will be running.
But improving comparisons is something I want to work sooner than later, but it requires some rework at the engine level. Incredibly early draft is here github.com/Girgias/php-rfcs/bl…
php-rfcs/comparison-equality-semantics.md at master · Girgias/php-rfcs
GitHubBen Ramsey
in reply to Gina Peter Banyard • • •@Girgias @woozle If this particular example were changed to `===` (i.e., the identity operator, strict comparison), would it still evaluate to `true`?
I have a coding standards rule to always use strict comparison.
Larry Garfield
in reply to Ben Ramsey • • •@ramsey @Girgias @woozle It does not. === skips type juggling, so will compare the strings as strings rather than trying to convert them to ints.
3v4l.org/msiD9
msiD9 - created on 3v4l.org
3v4l.orgWoozle Hypertwin
in reply to Gina Peter Banyard • • •@Girgias
Thanks for your input on this!
I don't know if the answer to this question is impossibly complicated, but what I don't understand is why type-coercion has to take place for comparison operators when both sides of the comparison are the same type.
TLDR: I think what is happening here is that the
==operator has a clear preference for numeric coercion -- if a string can be interpreted as a properly-formatted number, it will do that. Only if a string cannot be interpreted that way will it reluctantly do a string comparison:Also, this is clearly happening at the point of the comparison, and not before:
... mostra di più
@Girgias
Thanks for your input on this!
I don't know if the answer to this question is impossibly complicated, but what I don't understand is why type-coercion has to take place for comparison operators when both sides of the comparison are the same type.
TLDR: I think what is happening here is that the
==operator has a clear preference for numeric coercion -- if a string can be interpreted as a properly-formatted number, it will do that. Only if a string cannot be interpreted that way will it reluctantly do a string comparison:Also, this is clearly happening at the point of the comparison, and not before:
The same rule appears to be in effect for
!=,>, and<.Also, this only happens for numerically-formatted contents; the strings 'true' and 'false' are not coerced to boolean values.
Editorializing
(The following is intended not so much as arguing with you as hoping to arm you with more information to present to those who might influence the decisionmaking process.)
There may be valid mental model reasons for doing this, but I think they really need to be spelled out clearly in the manual somewhere and mentioned whenever affected operators are discussed.
To me, right now, it makes no sense. The comparison is between two things that are unambiguously the same type, so there is no reason to coerce either of them to anything else.
There's not even any reason to be attempting to parse the contents of either string (to see if either one might be intended to represent a number).
A string should be a string unless it can't be. I'd rather see string-to-number comparisons generate an error than have this behavior.
The Manual Is Wrong?
This page heavily implies that coercion only takes place if there's a type-mismatch:
A warning-example on that page also clearly shows that while
0 == "a"used to coerce "a" to a number before the comparison (in php7), php8 no longer does -- which to my mind implies that in the problematic example which started this discussion, the coercion is taking place via a different mechanism, to wit:Because the string contents can be interpreted as a number, the '==' operator inexplicably decides to convert it.
It's not even following the usual string-to-int "empty string is zero, anything else is 1" conversion rule:
Even when both values have been parsed as strings and put into variables marked as type "string", these operators are peering inside the contents to see if they can be interpreted differently.
How does this make sense?
cc: @IceWolf
@cptwtf @ramsey
@Crell
PHP: Hypertext Preprocessor
www.php.netPaul Reinheimer
in reply to Woozle Hypertwin • • •@woozle @Girgias @cptwtf @ramsey @Crell
My guess is that a lot of choices were made when ~everything came in as a string over GET or POST. PHP tried really hard to do what people probably wanted. Register Globals filled the world with strings!
Woozle Hypertwin
in reply to Paul Reinheimer • • •@preinheimer @Girgias @cptwtf @ramsey @Crell
Well, PHP has remedied many other decisions that later turned out to be problematic -- I'd say this one is definitely ready to take its turn ^.^
Larry Garfield
in reply to Woozle Hypertwin • • •Blake C. Stacey
in reply to Frost, wolf of winter 🐺🎄 • • •Glyph
in reply to Frost, wolf of winter 🐺🎄 • • •Tursiae
in reply to Frost, wolf of winter 🐺🎄 • • •sabik
in reply to Frost, wolf of winter 🐺🎄 • • •@glyph
I like how the explanation is also subtly wrong
#PHP
Netux
in reply to Frost, wolf of winter 🐺🎄 • • •Preston Maness ☭
in reply to Frost, wolf of winter 🐺🎄 • • •CyberFrog
in reply to Frost, wolf of winter 🐺🎄 • • •Siaržuk
in reply to Frost, wolf of winter 🐺🎄 • • •eurosat7
in reply to Frost, wolf of winter 🐺🎄 • • •it's fine.
3v4l.org/3uDep
```php
declare(strict_types=1);
echo '0e99' === '0e88' ? 'bad' : 'good';
```
> Output for 4.3.0 - 4.3.11, 4.4.0 - 4.4.9, 5.0.0 - 5.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.31, 8.2.0 - 8.2.27, 8.3.0 - 8.3.16, 8.4.1 - 8.4.3
>> good
3uDep - created on 3v4l.org
3v4l.orghellhound gayming
in reply to Frost, wolf of winter 🐺🎄 • • •Chris [list of emoji]
in reply to Frost, wolf of winter 🐺🎄 • • •Have you read eev.ee/blog/2012/04/09/php-a-f… ?
Also: bad language != (bad design || bad programmer).
PHP: a fractal of bad design / fuzzy notepad
eev.ee