• Activity
  • Votes
  • Comments
  • New
  • All activity
    1. Weekly US politics news and updates thread - week of September 30

      This thread is posted weekly - please try to post all relevant US political content in here, such as news, updates, opinion articles, etc. Extremely significant events may warrant a separate...

      This thread is posted weekly - please try to post all relevant US political content in here, such as news, updates, opinion articles, etc. Extremely significant events may warrant a separate topic, but almost all should be posted in here.

      This is an inherently political thread; please try to avoid antagonistic arguments and bickering matches. Comment threads that devolve into unproductive arguments may be removed so that the overall topic is able to continue.

      15 votes
    2. Ladybird chooses Swift as its successor language to C++

      I've copied the full tweet below (it's from August, I missed this news somehow): We've been evaluating a number of C++ successor languages for @ladybirdbrowser , and the one best suited to our...

      I've copied the full tweet below (it's from August, I missed this news somehow):

      We've been evaluating a number of C++ successor languages for @ladybirdbrowser , and the one best suited to our needs appears to be @SwiftLang 🪶

      Over the last few months, I've asked a bunch of folks to pick some little part of our project and try rewriting it in the different languages we were evaluating. The feedback was very clear: everyone preferred Swift!

      Why do we like Swift?

      First off, Swift has both memory & data race safety (as of v6). It's also a modern language with solid ergonomics.

      Something that matters to us a lot is OO. Web specs & browser internals tend to be highly object-oriented, and life is easier when you can model specs closely in your code. Swift has first-class OO support, in many ways even nicer than C++.

      The Swift team is also investing heavily in C++ interop, which means there's a real path to incremental adoption, not just gigantic rewrites.

      Strong ties to Apple?

      Swift has historically been strongly tied to Apple and their platforms, but in the last year, there's been a push for "swiftlang" to become more independent. (It's now in a separate GitHub org, no longer in "apple", for example).

      Support for non-Apple platforms is also improving, as is the support for other, LSP-based development environments.

      What happens next?

      We aren't able to start using it just yet, as the current release of Swift ships with a version of Clang that's too old to grok our existing C++ codebase. But when Swift 6 comes out of beta this fall, we will begin using it!

      No language is perfect, and there are a lot of things here that we don't know yet. I'm not aware of anyone doing browser engine stuff in Swift before, so we'll probably end up with feedback for the Swift team as well.

      I'm super excited about this! We must steer Ladybird towards memory safety, and the first step is selecting a successor language that we can begin adopting very soon. 🤓🐞


      Nitter link:

      https://nitter.poast.org/awesomekling/status/1822236888188498031

      Original post:

      https://x.com/awesomekling/status/1822236888188498031


      Some of Kling's replies in that thread are also pretty interesting:

      My general thoughts on Rust:
      - Excellent for short-lived programs that transform input A to output B
      - Clunky for long-lived programs that maintain large complex object graphs
      - Really impressive ecosystem
      - Toxic community

      In the end it came down to Swift vs Rust, and Swift is strictly better in OO support and C++ interop.


      The September monthly report for Ladybird released the day after I posted this. It provides basically the same information:

      This Month in Ladybird September 2024

      The section about Swift:

      Successor language search progress

      Over the past year, our core contributors have been exploring potential safe languages to complement or succeed C++. We evaluated several options, including Rust, Swift, Fil-C, and others. While some languages offered compelling features, many fell short in either C++ interoperability or providing the level of memory safety we needed.

      After extensive testing and discussion, Swift emerged as the top choice among our core developers, thanks to the new Swift 6 interoperability features and its growing cross-platform support. As a result, we’ve decided to adopt Swift as our C++ successor language.

      That said, this will be an incremental shift. The existing C++ codebase is deeply embedded in the project, and a complete rewrite would be impractical. Instead, we’ll be gradually introducing new components in Swift, carefully integrating them with our existing C++ code over time. Look forward to a dedicated blog post on the topic soon.

      25 votes
    3. Advice for a day in London

      A pretty quick work trip has been planned. I will fly into Heathrow Saturday morning. I'll have until Sunday evening to get to Warwick. I'll be in Warwick for 5 days before flying back out the...

      A pretty quick work trip has been planned. I will fly into Heathrow Saturday morning. I'll have until Sunday evening to get to Warwick. I'll be in Warwick for 5 days before flying back out the next Saturday.

      I'm looking for any general advice but also if there is anything specific to the following:

      • I'm going to book my own hotel in London the Saturday night I fly in. Saturday and Sunday are essentially my "tourist" days. Where is good to stay? Not too concerned with price.
      • I'm taking a train to Warwick and mostly have that figured out but is there an app or pass that I should add to my Apple wallet for transit around London?
      • I like museums of all types. Are there any in particular I should check out?
      • Any classic pubs or restaurants I should try to get to?
      • Once the week starts I don't think I'll have much time to do touristy stuff and I won't have a car. Any recommendations on things around Warwick/Birmingham that I can get to some evenings via train or bus?
      10 votes
    4. Simulating an ISP's access to your traffic

      Hey all, We're working on a press-freedom / anti-censorship project and we're testing a variety of scenarios in which a journalist's internet traffic is being monitored by a hostile state. We'd...

      Hey all,

      We're working on a press-freedom / anti-censorship project and we're testing a variety of scenarios in which a journalist's internet traffic is being monitored by a hostile state. We'd like to simulate an ISP's access to the journalist's traffic so we can run some packet collection and other tests to see what it looks like.

      What's the best way to do this? Put a few routers in series and collect on the last one?

      19 votes
    5. Portable monitor recommendation?

      Hi Tildes, I am going to Vienna in November (and if anyone wants to meet up send me a message! but that's another topic), and this is only half vacation, half for a work-related conference, so I...

      Hi Tildes, I am going to Vienna in November (and if anyone wants to meet up send me a message! but that's another topic), and this is only half vacation, half for a work-related conference, so I want to be able to easily spend a couple hours on work even during the vacation part. To make this easier, I want to buy a portable 2nd monitor that I can plug into my laptop.

      I have ZERO experience using such an item, and wasn't even 100% sure they really exist until I searched just now, so I don't think I have any flat requirements. However, I would super like if it takes touch input and comes with a pen! (no i do not want a tablet, I want a 2nd screen for my laptop that I can drag windows & paste between etc). It also should either be super lightweight or be safe to put in my checked luggage (preferably the latter). Minimum 1080p resolution, I don't think the size matters THAT much but at least the size of a normal laptop screen (and not netbook) would be good.

      (oops I thought I was pressing enter on a tag but it sent the whole post! edited a bit to finish writing it)

      23 votes
    6. Architecture blog recommendations?

      Morning, y’all! I’ve been a reader of Dezeen for years, but have lost touch with all the other architecture blogs I used to read via RSS (RIP Google Reader) pre-current internet. I like their...

      Morning, y’all! I’ve been a reader of Dezeen for years, but have lost touch with all the other architecture blogs I used to read via RSS (RIP Google Reader) pre-current internet. I like their combination of showcases and architecture news, though I do wish there was more technical information given.

      Anyone have any architecture blogs they’d love to recommend in a similar vein?

      8 votes
    7. Hamas was created and supported by Israel to oppose the seculars, divide Palestinians, and destroy the two-state solution

      This is a historical analysis of the subject, as such, it deserves its own topic. I'm using several sources. By using different sources of good to high quality, my aim is to create a historical...

      This is a historical analysis of the subject, as such, it deserves its own topic. I'm using several sources. By using different sources of good to high quality, my aim is to create a historical explanation based on convergence of evidence—the idea that difference sources supporting the argument makes for a much more robust case.

      I quote the passages I deem most relevant. Also, in order to boost credibility, I give a Media Bias/Fact Check profile about factuality of the each main source.

      The Japan Times — Israel's historical role in the rise of Hamas

      MB/FC Profile — Factual Reporting: High

      The international focus on the war in Gaza has helped obscure the fact that Israel in the 1980s aided the rise of the Islamist Hamas as a rival to the secular Palestinian Liberation Organization and its dominant faction, Yasser Arafat’s Fatah. Israel’s policy was clearly influenced by the U.S. training and arming of mujahideen (or Islamic holy warriors) in Pakistan from multiple countries to wage jihad against Soviet forces in Afghanistan.

      (...)

      Hamas, for its part, is alleged to have emerged out of the Israeli-financed Islamist movement in Gaza, with Israel’s then-military governor in that territory, Brig. Gen. Yitzhak Segev, disclosing in 1981 that he had been given a budget for funding Palestinian Islamists to counter the rising power of Palestinian secularists. Hamas, a spin-off of the Palestinian branch of the Muslim Brotherhood, was formally established with Israel’s support soon after the first Intifada flared in 1987 as an uprising against the Israeli occupation of Palestinian lands.

      Israel’s objective was twofold: to split the nationalist Palestinian movement led by Arafat and, more fundamentally, to thwart the implementation of the two-state solution for resolving the protracted Israeli-Palestinian conflict. By aiding the rise of an Islamist group whose charter rejected recognizing the Israeli state, Israel sought to undermine the idea of a two-state solution, including curbing Western support for an independent Palestinian homeland.

      Israel’s spy agency Mossad played a role in this divide-and-rule game in the occupied territories. In a 1994 book, “The Other Side of Deception,” Mossad whistleblower Victor Ostrovsky contended that aiding Hamas meshed with “Mossad’s general plan” for an Arab world “run by fundamentalists” that would reject “any negotiations with the West,” thereby leaving Israel as “the only democratic, rational country in the region.” Avner Cohen, a former Israeli religious affairs official involved in Gaza for over two decades, told a newspaper interviewer in 2009 that, “Hamas, to my great regret, is Israel’s creation.”

      (...)

      Israel, by contrast, persisted with its covert nexus with Hamas. With the consent of Israel, Qatar, a longtime sponsor of jihadi groups, funneled $1.8 billion to Hamas just between 2012 and 2021, according to the Haaretz newspaper.

      Israeli Prime Minister Benjamin Netanyahu, who has been in power for much of the past decade and a half, told a meeting of his Likud Party’s Knesset members in 2019 that, “Anyone who wants to thwart the establishment of a Palestinian state has to support bolstering Hamas and transferring money to Hamas,” adding, “This is part of our strategy — to isolate the Palestinians in Gaza from the Palestinians in the West Bank.”

      The Intercept — Blowback: How Israel Went From Helping Create Hamas to Bombing It

      MB/FC Profile — Factual Reporting: Mostly Factual

      But did you also know that Hamas — which is an Arabic acronym for “Islamic Resistance Movement” — would probably not exist today were it not for the Jewish state? That the Israelis helped turn a bunch of fringe Palestinian Islamists in the late 1970s into one of the world’s most notorious militant groups? That Hamas is blowback?

      This isn’t a conspiracy theory. Listen to former Israeli officials such as Brig. Gen. Yitzhak Segev, who was the Israeli military governor in Gaza in the early 1980s. Segev later told a New York Times reporter that he had helped finance the Palestinian Islamist movement as a “counterweight” to the secularists and leftists of the Palestine Liberation Organization and the Fatah party, led by Yasser Arafat (who himself referred to Hamas as “a creature of Israel.”)

      “The Israeli government gave me a budget,” the retired brigadier general confessed, “and the military government gives to the mosques.”

      “Hamas, to my great regret, is Israel’s creation,” Avner Cohen, a former Israeli religious affairs official who worked in Gaza for more than two decades, told the Wall Street Journal in 2009. Back in the mid-1980s, Cohen even wrote an official report to his superiors warning them not to play divide-and-rule in the Occupied Territories, by backing Palestinian Islamists against Palestinian secularists. “I … suggest focusing our efforts on finding ways to break up this monster before this reality jumps in our face,” he wrote.

      They didn’t listen to him. And Hamas, as I explain in the fifth installment of my short film series for The Intercept on blowback, was the result. To be clear: First, the Israelis helped build up a militant strain of Palestinian political Islam, in the form of Hamas and its Muslim Brotherhood precursors; then, the Israelis switched tack and tried to bomb, besiege, and blockade it out of existence.

      (...)

      “When I look back at the chain of events, I think we made a mistake,” David Hacham, a former Arab affairs expert in the Israeli military who was based in Gaza in the 1980s, later remarked. “But at the time, nobody thought about the possible results.”

      The Times of Israel — For years, Netanyahu propped up Hamas. Now it’s blown up in our faces

      MB/FC Profile — Factual Reporting: High

      For years, the various governments led by Benjamin Netanyahu took an approach that divided power between the Gaza Strip and the West Bank — bringing Palestinian Authority President Mahmoud Abbas to his knees while making moves that propped up the Hamas terror group.

      The idea was to prevent Abbas — or anyone else in the Palestinian Authority’s West Bank government — from advancing toward the establishment of a Palestinian state.

      Thus, amid this bid to impair Abbas, Hamas was upgraded from a mere terror group to an organization with which Israel held indirect negotiations via Egypt, and one that was allowed to receive infusions of cash from abroad.

      (...)

      Most of the time, Israeli policy was to treat the Palestinian Authority as a burden and Hamas as an asset. Far-right MK Bezalel Smotrich, now the finance minister in the hardline government and leader of the Religious Zionism party, said so himself in 2015.

      According to various reports, Netanyahu made a similar point at a Likud faction meeting in early 2019, when he was quoted as saying that those who oppose a Palestinian state should support the transfer of funds to Gaza, because maintaining the separation between the Palestinian Authority in the West Bank and Hamas in Gaza would prevent the establishment of a Palestinian state.

      While Netanyahu does not make these kind of statements publicly or officially, his words are in line with the policy that he implemented.

      The same messaging was repeated by right-wing commentators, who may have received briefings on the matter or talked to Likud higher-ups and understood the message.

      Reuters — EU's Borrell says Israel financed creation of Gaza rulers Hamas

      MB/FC Profile — Factual Reporting: Very High

      EU foreign policy chief Josep Borrell said on Friday that Israel had financed the creation of Palestinian militant group Hamas, publicly contradicting Prime Minister Benjamin Netanyahu who has denied such allegations.

      Opponents of the Israeli government and some global media have accused Natanyahu governments of boosting Gaza rulers Hamas for years, including by allowing Qatari financing of Gaza.

      "Yes, Hamas was financed by the government of Israel in an attempt to weaken the Palestinian Authority led by Fatah," Borrell said in a speech in the University of Valladolid in Spain without elaborating.

      45 votes