Better HN
topnewbestaskshowjobs
Log inSign up

dhx

3,029 karma · joined Oct 19, 2011 (15y ago) · 604 submissions

-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA512

David Hicks (dhx)

Web (IPv6 and IPv4): https://david.hicks.id.au

E-mail (IPv6 and IPv4): david@hicks.id.au

PGP: Public Key: https://david.hicks.id.au/pgp/728F3435.asc Key ID: 728F3435 Fingerprint: 2442 14B5 2E51 CB0F CA3B 9DB8 59E0 E7B7 728F 3435

Hacker News: https://news.ycombinator.com/user?id=dhx

Last updated: 2012-03-05

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEJEIUtS5Ryw/KO524WeDnt3KPNDUFAlqcjdcACgkQWeDnt3KP NDUoJQ//TTN8pul74acpaVWImkdxEzqU1xOtAn/JyrZtYLjO2XnMDJSF9fTYKD7o AT19lV6kZnMo0p0lsNg5tnk5QMJ96rqPhpelAiXBYkdfz3VfVVj3X3AOdkg5XRbm 6Uy1sa8Omp6Jo21wtUOE+jtSYWwEiUFn9NPl3B1aNZSUo/LuMTJve1IidJuW705m OCenqn/Ro8eZ6kUOUByWoDBbGlobAkZpBZEyzHCpczZ1nGj50mn4cssXxDG4St62 S+o9009ZMgjFtfIDTwI7gwaNCgn6ldBbwYwfMaPL2cs2Kxl05iqbM/KcsU/CLZE5 Dmh/0aPaYNJdg8PDjpItupxryNwwROB/lCigGsp+msiXtOJTENdCfojFF6ffiFTl Lxqfmbe+bn3JcqTOXzExPD0NXstx7sdetQZSwVnuCQGH4JjcUpyzKmrEw4ATvpXb VXWf00jXAMWhGHSQJLzecTXw8/iWWh0swIpLrokq3ISrMBwK2oAavZzPh4TpH5ao Y+VL0LkqAaiEpLyBAJDUFFdrJbDv9P82fZ8NFEiK3plgm5xfv62UOzFVIG+ezdDY PvfodliBtu/mLMc9YIjo5H59NtnmT4fXb8/LW5rNP7xSxWjMbCGiG3/pVSUx+FBN v74Ykn2ioBPNM3ApFC3kBrlS1K8jIcNgCfMQcH0oc7y6+e84NwY= =sBF3 -----END PGP SIGNATURE-----

Submissions

comment 1d ago · link · parent

I've attempted a conversion to an Australian equivalent job package and compared against an almost 1:1 equivalent currently advertised public service job in Canberra.

1/ Washington DC, Top Secret clearance, AUD$87-138k base salary, 40 hours/week, plus 1% retirement fund contribution, minus AUD$7000 private health insurance premiums after subsidy for a family, plus 13 days annual leave, plus 13 days sick leave, plus 12 public holidays.

2/ Canberra, Secret clearance (significantly less onerous than a US TS clearance), AUD$104-112k base salary, 37.5 hours/week, plus 15.4% retirement fund contribution, free public healthcare, minus 1% (AUD$1000-1100) tax surcharge for not having junk private health insurance or minus AUD$5000 for private health insurance premiums for mid-high tier policy for a family, plus 20 days annual leave, plus 18 days sick leave, plus 11 public holidays.

However--this currently advertised job in Canberra is well below Australian technology sector expectations for salary/benefits, particularly in Canberra which is the highest cost region of Australia to live. Typically the same job will end up being vacant due to lack of interest from qualified candidates and then performed by a labour hire employee.

A currently advertised equivalent labour hire position in Caberra for these cybersecurity analyst roles is AUD$160-170 per hour all inclusive, which equates to about AUD$230-245k base salary + AUD$32-34k retirement fund contribution, with same hours worked and same amount of holidays taken. The same labour hire position could also be filled with a permanent salaried employee of a private company rather than casual per-hour employee. Typically the permanent salaried employee receives ~30% less remuneration, covering the employer's risk of having a non-billable employee on their books when the labour hire contract ends. Taxation is higher in numerous ways for someone earning a labour hire or private sector salary but they're still much better off financially than a salaried public servant.

comment 4d ago · link · parent

One of the main reasons for the hate is _this_ project will be the intended coal seam natural gas power source. Landowners cannot refuse to having injection and extraction wells drilled on their agricultural land and pipes and access roads installed. They do however get some financial reimbursement for the loss of amenity in the land and for messing up the aquifers more than agriculture was already responsible for[1]. Some landowners are on board with it all due to the extra income they earn from their land from wells but many are furious because they don't get a choice in the matter or much ability to negotiate.

Take a look at Open Infrastructure Map which highlights the coal seam gas wells and electricity infrastructure in the region[2]. Look at visible imagery for an understanding of the _current_ scale of gas extraction and the impact it has on the landscape. It's approximately on par with environmental impacts of wind turbine installations throughout China if you ignore aquifer and carbon emission impacts.

At least this project proposal has the benefit of placing data centres in proximity to electricity generators avoiding extra load on transmission lines (and towers) which towns and cities will need for household and private transport electrification. And it also avoids wasting high value land in close proximity to towns and cities for buildings that are mostly empty and which require people and infrastructure to waste time and resources routing around in daily life.

[1] https://www.ogia.water.qld.gov.au/__data/assets/pdf_file/000...

[2] https://openinframap.org/#10.72/-27.2259/150.9398/A,B,L,O,P

comment 4d ago · link · parent

It's very lazy to blame open weight LLMs instead of the increased prevalence of [1] (both technologies such as routing protocols and choice of vendors and products) and the centralisation of network management which introduce many more single points of failure. Decades ago in a more decentralised model, failure of one or two routers here or there might have been limited in impact to one office building instead of all 50+ office buildings of an entire multinational company.

[1] https://en.wikipedia.org/wiki/Monoculture_%28computer_scienc...

comment 5d ago · link · parent

I don't get it. Couldn't this Chinese server manufacturer just download and include binary firmware blobs provided by AMD and hosted by other US companies, for example, GitHub (Microsoft) hosting of a coreboot AMD binary blobs repository? The blobs are increasingly a target of reverse engineering too thanks to the assistance of AI models--there can't be too many secrets remaining within the blobs.

comment 6d ago · link · parent

The paper behind this article estimates 403 hyperscale data centres in the US they studied had an electricity demand of 82TWh between May 2024 and April 2025, with Virginia's data centre market alone taking a 21.4TWh share.[1]

To contrast with China, their NEA published official figures for January-September 2026 (9 months) indicating (with some uncertainty due to translation) that their country-wide data centre demand was 79.3TWh over these first 9 months of year, and 9.8TWh for September alone. Hence the total Chinese data centre market perhaps could be estimated to be approximately 120TWh/y current consumption.

Are there any other statistics more recent than April 2025 for total US data centre market electricity consumption? I couldn't find anything useful from a quick search.

[1] Guidi, G., Dominici, F., Squartini, T. et al. Assessing the carbon emissions and energy consumption of US hyperscale data centres. Nat Sustain (2026). https://doi.org/10.1038/s41893-026-01985-7 https://www.nature.com/articles/s41893-026-01985-7

[2] https://www.nea.gov.cn/20261023/b1ac9a8faea04deebf4c43a7dcfe...

comment 1w ago · link · parent

Here is a copy of the PDF report: https://www.365fanatic.com/wp-content/uploads/2026/11/postin...

The original login-gated interim report for M365 customers is at: https://admin.cloud.microsoft/#/servicehealth/history/:/aler...

comment 1w ago · link · parent

The coordinates are not speculation. You can confirm with the images provided in the related CNN article from March[2]. They've also been attached to the relevant Wikipedia article since it was created on 11th March (+10 days after the attack).[1] The air/missile defence battery nearby is extremely obvious--all of them share approximately the same layout.

What perhaps may forever be speculation is why Iran chose to target this small compound. Maybe they called up Russia and borrowed an ELINT satellite and detected US military transmissions of interest from the communications tower next to this compound. Maybe they hacked the phone of some US military service member or followed them around. Or maybe they just saw in their own imagery that this compound was used over time for storing tanks and other equipment and therefore it was added to their list for this reason alone. My earlier comment just aims to highlight the fact the compound _could_ have been discovered to have a military purpose without fancy ELINT satellites, spies on the ground, etc. I doubt it was advertised. But it also wasn't particularly well hidden.

[1] https://en.wikipedia.org/wiki/2026_Port_Shuaiba_drone_attack

[2] https://edition.cnn.com/2026/03/02/politics/six-soldiers-kil...

comment 1w ago · link · parent

Vantor WV02 imagery of the site at 2024-12-19: https://livingatlas.arcgis.com/wayback/#mapCenter=48.13598%2...

It doesn't look immediately obvious from satellite imagery that the compound is important but it's got a large communications tower and is adjacent to a parking lot for what appears to be 50 tanks (at 2024-12-19), so perhaps got targeted because the tanks give away a military purpose and the mast is an obvious giveaway of something more important, as are all the barriers for stopping vehicles that you'd only bother installing if there were people working in the buildings.

Scrolling about there is (or was) also an air/missile defence battery nearby at: https://livingatlas.arcgis.com/wayback/#mapCenter=48.14840%2...

Seemingly the battery is there to protect the Mina Abdullah Refinery and Mina Al-Ahmadi Refinery which adjoin these sites, which Wikipedia indicates are together just a bit short of 1 million barrels per day capacity. The Kuwaiti government (probably?) has also more recently got the likes of Google, Esri, Vantor, whoever else to blur the refineries in more recent imagery, including the adjoining US military sites.

comment 2w ago · link · parent

Whilst the US is busy launching a bazillion remote sensing satellites and no doubt continues to have overall superiority, they're no longer the only country with "good enough" satellite constellations capable of keeping tabs on the world.[1]

Compare for example a preview image of a Superview-1 (50cm) swath over Al Udeid Air Base during the intensity of the war in March 2026 versus a preview image of a Jilin-1 (30cm) swath over Al Udeid Air Base from a few days ago.[2][3] These are both Chinese commercial satellite imagery providers and in both very low resolution preview images it's easy to zoom in and make out dark spots on the apron to estimate how many airframes are on the apron (almost none in March and many in November).

Even Sentinel-2 imagery (low resolution 10m) has proven good enough to find ships (but not track in real time of course) and observe black spots where buildings have been damaged.

Iran has repeatedly published high resolution SAR and visible imagery of targeted sites in gulf countries quite soon after attacks, demonstrating seemingly little difficulty with accurate targeting and assessing damage of fixed targets. Blurring imagery on Google Maps that is at best updated once a year is wasted effort when considering the high and rapidly increasing volume of remote sensing satellites in orbit from all sorts of countries.[1]

[1] https://www.polarisintelligence.co/spacecraft?mission_type=s...

[2] Superview-1 (50cm) swath preview of Al Udeid Air Base from 11 March 2026: https://imagehunter-api.apollomapping.com/static/img/preview...

[3] Jilin-1 (30cm) swath preview of Al Udeid Air Base from 2 November 2026: https://imagehunter-api.apollomapping.com/static/img/preview...

comment 2w ago · link · parent

Yes, correct for OpenWrt. OpenWrt defaults to dropbear for both server and client. However, more advanced users may optionally choose to replace it with OpenSSH, or install OpenSSH side-by-side, to gain additional features of OpenSSH.

  > root@OpenWrt:~# cat /etc/openwrt_release | grep DISTRIB_RELEASE
  > DISTRIB_RELEASE='25.12.6'

  > root@OpenWrt:~# which ssh
  > /usr/bin/ssh
  > root@OpenWrt:~# ssh -V
  > Dropbear v2025.89
  > root@OpenWrt:~# ldd /usr/bin/ssh
  >  /lib/ld-musl-aarch64.so.1 (0x7f8e120000)
  >  libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7f8e0b8000)
  >  libc.so => /lib/ld-musl-aarch64.so.1 (0x7f8e120000)

  > root@OpenWrt:~# which dropbear
  > /usr/sbin/dropbear
  > root@OpenWrt:~# dropbear -V
  > Dropbear v2025.89
  > root@OpenWrt:~# ldd /usr/sbin/dropbear
  >  /lib/ld-musl-aarch64.so.1 (0x7fbb900000)
  >  libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x7fbb898000)
  >  libc.so => /lib/ld-musl-aarch64.so.1 (0x7fbb900000)

  > root@OpenWrt:~# apk search openssh
  > openssh-client-10.6_p1-r2
  > openssh-client-utils-10.6_p1-r2
  > openssh-keygen-10.6_p1-r2
  > openssh-moduli-10.6_p1-r2
  > openssh-server-10.6_p1-r2
  > openssh-server-pam-10.6_p1-r2
  > openssh-sftp-avahi-service-10.6_p1-r2
  > openssh-sftp-client-10.6_p1-r2
  > openssh-sftp-server-10.6_p1-r2
  > openssh-sk-helper-10.6_p1-r2

comment 2w ago · link · parent

My complaints are generic to human-computer interfaces. Providing small icons in close proximity is poor design per [1]. Providing icons without text is also poor design, as summarised at [2]. We can argue more about how detailed labels should be--as I would equally complain about Gnome's context labels too. For example, "Open with..." is more useful as a menu with maximum 5-10 other applications to choose from. For example, will "Compress..." replace/remove my original file if I click on this action, or just create a compressed archive alongside the original?

[1] https://en.wikipedia.org/wiki/Fitts%27s_law

[2] https://www.nngroup.com/articles/icon-usability/

comment 2w ago · link · parent

Trying to understand the original Windows 11 context menu diagram as someone who hasn't used Windows 11 is surprisingly difficult. By contrast, Gnome 51's context menu (or earlier versions as far back as I remember) for a file/folder are unambiguous and easy to understand.

At the top of the Windows 11 context menu are some small icons without text for high usage actions which I assume are:

1. select-for-moving (cut), perhaps Gnome's "Move to..."

2. duplicate-in-place-with-number-appended-to-duplicate-filename or select-for-copying (copy), perhaps Gnome's "Copy to..."

3. something to do with the clipboard--maybe copy contents to clipboard

4. something to do with text entry--maybe rename the file/folder, perhaps Gnome's "Rename..."

5. share via social media applications or cloud file sharing applications, or move the file/folder locally perhaps Gnome's "Move to..."

6. move to recycle bin (delete)

Menu options with text are unambiguous for "Open", "Open with", "Compress to ZIP file", "Properties", although Gnome will state "Open with {name_of_default_app}" to make it clear exactly how a file will be opened without having to guess.

I guess "Copy as path" might just copy the full filesystem path to the clipboard. I can't remember the last time I wanted to do that.

I guess "Always keep on this device" prevents the file/folder being backed up to some cloud storage provider. I'd rather open up an application dedicated to cloud storage backups and be able to review current backup options there all in one place for all types of data/files.

The "Free up space" option I'm less clear on--will a local application pop up and suggest what I can delete within the folder, will a cloud storage provider application pop up and suggest the file not be synchronised with the local device and only be kept in cloud storage, etc.

The bottom option "Show more options" is not expandable so I assume there are so many other options an entire new window is needed to display them all. Maybe it'll give me useful but rarely used options from a list of hundreds available, such as "count how many words are in this file" for text files...?

comment 3w ago · link · parent

Completely speculating as I don't know the situation in Europe, but some possible reasons are:

- Remote alerting for the store manager/head office to quickly respond to a refrigerator failure after hours, providing options for saving valuable stock (e.g. move stock to another refrigerator).

- Maintaining an audit trail for cold chain management (e.g. regulator says you must keep an audit trail proving that a frozen fish has been kept below -30oC since it was processed on a ship all the way up to point of sale in a supermarket).

- Refrigerator manufacturer says a condition of warranty is that the refrigerator must provide remote telemetry proving some warranty condition has been met (e.g. regular cleaning cycle operated).

Note: all these speculated reasons are unidirectional data flows. So even if a valid reason exists for Internet connectivity, why can't it be limited to unidirectional data flows?

comment 3w ago · link · parent

The use-after-free occurs within ip_options_build (net/ipv4/ip_options.c) which CPU #2 processing the retransmitted SYN packet uses to read/copy options out of the unallocated/reallocated memory that CPU #1 had already freed up. Remember that the options header is variable length too so CPU #2 is seemingly under-reading/over-reading this variable length options header by some fairly random amount between 1-256 bytes depending on what data has been written to the reallocated memory.[1]

The undocumented part (per LKML discussions at least) is what happens next in the attack. Seemingly CPU #2 or CPU #3[2] comes along later to process the random jibberish options header and rarely (in Anthropic's case it took 48min locally) that random jibberish will be returned to the attacker (e.g. copy jibberish options header to a response packet?) and it'll expose a return pointer to a fixed kernel function. The attacker then crafts a SYN packet and retransmits it with an options header that places a return pointer in the right place, and hopes for another race to occur where CPU #3[2] executes a callback to an attacker-controlled pointer stored within the options header data. Anthrophic's case said it took 5min for this stage of the attack to work locally.

Someone will probably write this all up at some point and it'll be quite a long and detailed read of how the 48min and 5min stages of the attack work and perhaps this is where MPTCP code paths are involved due to the way they process the TCP options header data.

[1] https://en.wikipedia.org/wiki/Internet_Protocol_Options

[1] Author of the kernel patch suggests that CPU #3 (three way race) is needed per https://lore.kernel.org/netdev/CAL4WiiroQ8XyDzUnmuy5FmJ4SWfZ...

comment 3w ago · link · parent

For more on why MPTCP is not relevant--my limited understanding is the issue is with SYN retransmits.

SYN packet #1 is received and added to a request queue for processing.

SYN packet #2 is received and is a retransmit of SYN packet #1. It is matched to SYN packet #1 already in the request queue and now there is shared state between both SYN packets #1 and #2 in the request queue.

CPU #1 takes on the task of processing SYN packet #1.

CPU #2 takes on the task of processing SYN packet #2.

CPU #1 responds back with RST packet #1 (e.g. requested TCP port is not open) and _should_ defer the destruction of the request socket for SYN packet #1, as other CPUs may still be processing the shared state for the request socket as is the case for retransmitted SYN packets.[1] However, this deferred destruction wasn't occurring, and CPU #1 was _immediately_ destroying the request socket/shared state for SYN packet #1.

CPU #2 races with CPU #1 and reads from the request socket/shared state for SYN packet #1 after its _immediate_ destruction by CPU #1.

Linux's IPv6 handling is unaffected because in this IPv6 scenario, there is no shared state between SYN packets #1 and #2 in the request queue. Instead, each request socket has duplicate data.

Someone more knowledgeable can confirm/correct me on the above please.

[1] https://www.kernel.org/doc/html/latest/RCU/whatisRCU.html#rc...

comment 3w ago · link · parent

Fixed upstream in:[1]

7.3 (2026-10-18)

7.2.10 (2026-10-11)

6.18.56 (2026-10-11)

6.12.113 (2026-10-15)

6.6.159 (2026-10-15)

6.1.190 (2026-10-15)

5.15.225 (2026-10-15)

[1] https://lore.kernel.org/all/?q=tcp_v4_reqsk_destructor -- check for "kfree_rcu" being used instead of "kfree" within "tcp_v4_reqsk_destructor" (net/ipv4/tcp_ipv4.c)

comment 1mo ago · link · parent

See order 5(h) that sets out the limited conditions by which Apple can automatically remove, disable or block an application that has already been distributed and installed on a device. Importantly for Australia this list includes 5(h)(iii) for section 128 of the Online Safety Act 2021 and the receipt of an "app removal notice" from the Australian Government.[1] You can ignore the "subject to orders 12 and 13" as that just addresses timing of the orders coming into effect. An order in this judgement is anything numbered under the heading "AND THE COURT ORDERS THAT:" and preceding the heading "REASONS FOR JUDGMENT".

The nuance is the Online Safety Act 2021 does not have an "app distribution blocking notice" or "app blacklisting notice" or similar, therefore, I think the effect is Apple can't stop a Russian website distributing apps to Australian users who seek them out, but Apple can use a received "app removal notice" to then blacklist the relevant app on existing devices?

[1] https://www.legislation.gov.au/C2021A00076/latest/text

comment 1mo ago · link · parent

I think it's the wrong question to ask in 2026. By the time a CVE is published and then a new version of software released it's too late--the vulnerability is very likely to have been used in the wild for some period of time already, quite possibly by multiple actors who have independently discovered the vulnerability. Patching is essentially now an ineffective control for mitigating security risks--other controls have to be used instead.

Examples of the type of alternate questions to ask in 2026 may include:

- Does my software/system have a robust architecture where a failure of one component (e.g. RCE in a PHP process) has a minor impact, rather than a catastrophic impact? For example, a minor impact might be just the opportunity for an attacker to chain a PHP RCE with kernel LPE for some common syscall, rather than mass loss of every user's data to the attacker. I raised some PHP web application specific ideas in another thread at [1] but the answer to this question is product-agnostic and should consider microservices architecture vs. monolithic web application with access to everything, and use case/requirements development that considers matters such as users wanting to isolate their own access. For example, allowing bank users read only login for bank accounts vs. separate login for making transfers. Or implementing business process changes such as delayed commit for sensitive user actions--e.g. force delay a bank transfer by 24h and notify the user via various means giving them a chance to undo the transfer before they no longer can.

- How can I keep up-to-date with the latest software/system security architecture trends? What is the equivalent of [2] for learning about architecture patterns to potentially use for a simple eCommerce site, HR/finance web application, etc in 2026? For components of a web application such as interpreter, database server, etc--what options exist for each and how good is the project's choice of software languages, dependencies, etc to offer the strongest security protections in 2026? When was the last time I checked if someone had written an interpreter for PHP, Python, etc in Rust, SPARK, or whatever, or written an interpreter with much more comprehensive unit testing included?

- How quickly can my users or I detect security incidents / deviations of system behaviour from typical state? For example, [3] was discussed on HN today as once such detection mechanism where canary tokens are deliberately littered throughout a system or dataset. The security incident may have already happened, but early detection forces an attacker to burn their vulnerability chain quickly on their most highly prized target and not be able to use it against a mass of targets over a long duration of time.

[1] https://news.ycombinator.com/item?id=50184239

[2] https://aosabook.org/en/index.html

[3] https://news.ycombinator.com/item?id=50185630

comment 1mo ago · link · parent

These bad practices do matter because the fundamental principle of https://en.wikipedia.org/wiki/Defense_in_depth_(computing) which php-fpm (bundled with PHP) attempts to use through some fairly open sandboxing[1] defaults within https://raw.githubusercontent.com/php/php-src/refs/heads/mas...

The question to ask is should these defaults be tightened. For example, disallow read and execution of anything outside /var/www/, such as /usr/bin/sh. For example, block syscalls PHP won't ever use to limit chance of a compromised PHP process being able to utilise a LPE kernel vulnerability. And then update user installation documentation to explain the onus is on the user to open up very restrictive default permissions should they really have a need to do so.

[1] https://www.freedesktop.org/software/systemd/man/latest/syst...

comment 1mo ago · link · parent

> Even having a site that just returns echo "phone us on XXXX" is vulnerable apparently.

Vulnerable but perhaps with no impact. If you've setup your web server well, the vulnerable PHP process is sandboxed, at least to some degree, and an attacker executing their own code within the compromised PHP process can't move laterally through your internal networks, write files to disk, read files from disk, etc because you've locked down the PHP process.

In 2026, perhaps it's possible to:

1. Use systemd socket activation with Accept=yes [1] and strict sandboxing applied to a systemd service that executes the PHP interpreter. The result being each incoming request is dealt with inside an isolated PHP process spawned specifically to handle the request. Compromise of a PHP process doesn't impact any other concurrent requests, or any future requests, except through defined sandbox interfaces such as access to a database server socket.

2. For each user of the web application (perhaps including an 'anonymous' user too if anonymous users have access to dynamic content), if using PostgreSQL, create a role in PostgreSQL for each web application user. Then use row-level-security permissions and security barrier views within the database, and have the PHP process accept credentials from the user which are then needed to be passed through to PostgreSQL to login as that individual user.

It's not without some significant downsides:

1. It's complex and you might be the only person in the world trying to use PHP in this secure way. And if you're going this far, for a complex web application, it'd be best to split it into smaller web applications each with their own systemd service defining specific sandboxing constraints. E.g. microservice architecture where "login", "file upload", "user administration" are all separated with different sandboxing constraints applied to each.

2. Performance will suffer and you'll need more resources--for spawning new PHP processes from scratch for each request (although this is already the case with php-fpm which is most widely used), and for dealing with row-level-security in PostgreSQL (see e.g. LEAKPROOF functions).

The more common pattern I've come across on public websites in recent times that might mirror some of the above is client-side JavaScript dynamic rendering with API calls to a GraphQL database exposed on the Internet (using e.g. field-level access control). The user isolation problem is essentially pushed from PHP+PostgreSQL to a GraphQL implementation.

[1] https://www.freedesktop.org/software/systemd/man/latest/syst...

comment 1mo ago · link · parent

I'm not seeing any discussion here about woeful web application architectures from the 1990s still in use?

The single biggest problem I came across over a decade ago when maintaining an open source PHP web application was web applications at the time typically having access to a common database server role (often also common between users and administrators) which allowed a web application process to read and sometimes write to the entire database. No use of user-specific roles in database servers and row-level-security/column-level-security authorisation. At the time I don't think PostgreSQL even had row-level-security support built into it. A runaway PHP process could return the entire database to the attacker, or change every single row of data held within the database.

The second biggest and related problem was web applications accepting files uploaded from users, or having to generate reports (maybe with external software) and save them to disk for a user to download, and not being able to ensure a runaway PHP process can't just dump all of those files or reports to an attacker. You might have been able to store the user files (or at least a decryption key for the files) in a database but then you're back to dealing with problem (1) above.

Even a decade ago it was fairly common for web application developers (of the PHP sorts too) to be well aware of the need to make their web root read-only, put the web application source code into a read-only directory outside the web root, execute interpreters such as PHP with "nobody"-like permissions, launch a new interpreter process for each connection (not multiple threads within the same process), firewall off the server the web application sits on so a runaway PHP process can't connect to internal servers, etc. Outside of an attacker messing with a database, most other aspects of PHP web applications at the time were immutable if the web application developer / system administrator had setup the environment correctly.

Is there a solution for (1) and (2) for PHP web application development that has become popular in the proceeding decade?

edit: also nominating the shared $_SESSION state of PHP that was typical a decade ago to just be left to default (e.g. all PHP processes just read/write session files to a common /tmp directory). https://www.php.net/manual/en/function.session-set-save-hand... should probably instead be used by web application developers to somehow better isolate session state between users.

comment 1mo ago · link · parent

The consideration made in Perun's video, and I know it's quite different geographically for drones versus missiles, is a defender having to defend all important sites as if the attacker sent every drone or missile to a single target.

For a facility that Ukraine has decided would cause $10m in economic damage if hit by a Russian drone, how much should Ukraine spend on interception for that site to not make it worth Russia's expense to target it? Let's assume a Russian drone is $100k (current estimate in news for Geran-5 jet-powered drones). But Ukraine can build their Bars interceptor drone for half the cost at just $50k (low estimate from public rumours/reports). It wouldn't be worth Russia's expense to send more than 100 drones in a salvo at this target. For Ukraine, they should defend the site with $5m worth of Bars interceptor drones, assuming a very favourable 100% success rate (actual reported success rates are reported by media to be just 30%). Russia has now made every $10m facility in Ukraine cost $15m (+50% increase).

The defender is essentially forced to find a 10:1 or better cost advantage for their interceptors vs. incoming drones. This is hard to do when an interceptor and attack drone are substantially the same except for larger fuselage (cheap), larger fuel tank (cheap) and larger engine (possibly cheaper than making a small engine).

And perhaps that is the reason Russia and Ukraine are largely focussed on attack rather than defence in the hope of being first to cripple the other's economy and supply chain for munitions.

comment 1mo ago · link · parent

As a counter to point (a), Iranian missile salvos against Israel in recent years are stated by analysts to be militarily ineffective (or a failure) even if Iran has a 10:1 cost advantage. Reasons include:

1. US+Israel economies have a 100:1 size advantage over Iran's economy.

2. Israel is a very small area to defend, dramatically reducing the cost of anti-ballistic missile defence required. As little as 4 missile defence launch sites may cover the entire country.

Perun's video on the cost effectiveness of missile defence vs. attack is more focussed towards the economics of defence of an expansive country or region such as the United States, Saudi Arabia or the gulf region generally, where many missile defence sites would be required. Israel is a bit of an exception due to the small area needing to be defended.

Another minus specifically for Iran in the Iran/US+Israel war is being forced to build underground factories at much greater expense than an above-ground factory for Israeli interceptor missiles. I don't think analysts have been considering this long term cost in their cost comparison ratios. However, for both Iran and Israel--they're importing a lot of the components and materials from overseas anyway.

comment 1mo ago · link · parent

Perun (Australian military procurement geek) presented the maths for missile defence vs. attack and it's heavily weighted in favour of the attacker.[1] He also previously analysed the Ukrainian truck-full-of-drones attack against a Russian airbase and it was in this video (sorry no link I can't find it quickly) I think he investigated whether the cost-benefit exists to bury military and critical infrastructure underground (or use heavily hardened buildings).

Both topics are very relevant to the current conflicts of eastern Europe and the middle east. Perhaps I took away the wrong message but I don't think Perun would propose to stockpile interceptor missiles any time soon.

[1] https://www.youtube.com/watch?v=CpFhNXecrb4&t=2382s

comment 1mo ago · link · parent

Is it different from using seccomp with SECCOMP_RET_ERRNO and return code of EOPNOTSUPP for all filesystem syscalls?

comment 1mo ago · link · parent

Maintaining Gentoo ebuilds for complex packages such as Chromium is as peak Linux as one can get. You're talking about developers who _often_ discover and then submit upstream patches for the most obscure and difficult bugs that upstream projects haven't heard of. Often because Gentoo users are the only ones trying different compilation options, or they're the first to try building with more modern dependencies than the upstream project has yet attempted.

For just one of many examples, see [1] where the Gentoo developer had to submit a patch upstream for a Chromium build toolchain bug that to 99% of experienced Linux users is bordering on unintelligible due to how much specific knowledge is needed to understand the bug.

[1] https://bugs.gentoo.org/956054#c2

comment 1mo ago · link · parent

In parts of Australia there are designated "reference areas" which have a higher level of environmental protection than national parks. They are typically remote areas that humans do not visit and have not historically and directly disturbed. These areas are also typically less disturbed by other external factors such as seeding of non-endemic species by birds. Scientists use such areas as a reference to what other less protected areas of the environment would have looked like before human impact. In scientific journals you'll find surveys of such reference areas including the prevalence of different taxon, as well as surveys of national parks or other areas being compared.

I've tried to find similar for Finland. The closest I've found is [1] which maps "old forests" which are defined to be over 100 years old (not actually very old). The three examples [2], [3] and [4] are Google street view imagery of nearby "old forests" and all indicate a much higher biodiversity and natural planting than the site Google has cleared. The site Google has cleared and nearby forests are visible in overhead imagery as having a pattern of tree plantings (distinct rows/grid) and show visible disturbance for forestry trails (ground compaction), whereas the "old forest" sites don't have these patterns. The "old forest" sites also show variance in trunk diameters, greater separation between trunks, more forest floor diversity and more tree variety (both taxon and structure). Plantation forests have trees deliberately planted too close to each other to encourage upright growth habit, lower limbs are deliberately removed and trees thinned after some years, all to maximise the number of sawmill-ready trunks. Revegetation planting would look completely different to what occurred at the Google site.

Revegetation planting and ongoing management is also much more expensive to do correctly. It's a struggle to find success stories. Best examples likely involve aerial seeding and complex seed collection and preparation, as well as ongoing manual weed management and introduced species control for 20+ years. There is often a fair bit of complexity to simulating nature to make seeds viable--for example, refer to Przewalski's Horse case study where hoofed animals were reintroduced and found to be essential for embedding seeds at required depth and reshaping the terrain to support seed germination. More examples are water courses upstream having to be cleared of weeds first, introduced animals need to be excluded/culled, etc, etc.

[1] https://luontovahti.fi/vanhojametsia -- select Pohjois-Pohjanmaa as the area then zoom in near Muhos.

[2] https://maps.app.goo.gl/wncKi2JMxuPXC7Bc7

[3] https://maps.app.goo.gl/BX2ta5dQmihSgVAM6

[4] https://maps.app.goo.gl/4W3WvR5tH9wroVna7

comment 1mo ago · link · parent

"Forest" is a polite way to refer to what appears to be a monoculture plantation. To restore the land properly it would probably be necessary to remove 80%+ of the trees to make space for seeding or planting a diverse range of other species. Possibly 100% if the monoculture species already planted is not endemic.

Google street view imagery of the site showing logging completed by June 2026 and logs waiting collection: [1]

Sentinel-2 L2A imagery from 2026-10-11 showing the logged area: [2]

[1] https://www.google.com.au/maps/place/91500+Tahvola,+Finland/...

[2] https://browser.dataspace.copernicus.eu/?zoom=15&lat=64.8369...

comment 1mo ago · link · parent

See for example Rosado et al. v. Blanche et al., 1:26-cv-01532[1] which is an active case addressing whether the US federal government suppressed the first amendment rights of the "Eyes Up" application developer by pressuring Apple to remove this application for crowd-sourced recording/reporting of ICE incidents. An injunction has been granted with the following finding:[2]

"the Court finds that Plaintiffs are likely to succeed on the merits of their claim that Defendants violated their First Amendment rights through coercion of Facebook and Apple."

My reference to a press freedom index is due to a lack of "countries by freedom of software development" index. If such index existed, the methodology may have some commonality with a press freedom index.

Placing barriers in front of publishing of books, online content, software, etc all leads to some suppression of speech. The question is whether the benefits of the barriers placed outweigh the risks/negatives. In this case, why should anyone care what the passport number or residential address is of a student interested in a career in software development who is writing their first Android game?

[1] https://www.fire.org/cases/rosado-et-al-v-blanche-et-al

[2] https://www.fire.org/sites/default/files/2026/04/Memorandum%...

comment 1mo ago · link · parent

Google employees can pat themselves on the back for a job well done putting the same hurdles in place for software development that apply in a country 3rd last on the World Press Freedom Index.[1][2]

[1] https://developer.huawei.com/consumer/en/doc/start/rna-00000...

[2] https://en.wikipedia.org/wiki/World_Press_Freedom_Index#Rank...

12345
21