Hacker Newsnew | past | comments | ask | show | jobs | submit | jacobp100's commentslogin

I had a blog post on something similar (but less sophisticated)

https://jacobdoescode.com/2025/05/18/precomputing-transparen...


This is… essentially a BSP tree traversal without splitting polys that straddle a partition plane, right?

Since you’re on the topic, what ever happened to the multi threading stuff you were doing on JSC? Did it stop when you left Apple? Is the code still in JSC or did it get taken out?

I never really started on it other than writing up how to do it

Which multi-threading are you talking about?


iOS used to do this using the Cassowary constraint solver pre-SwiftUI. It’s the worst thing to work with. So much code turning on and off constraints, dynamically adding constraints when you have new views. And that’s before you get into conflicts

This might actually happen indirectly. Kagi’s new browser uses WebKit. macOS only now, but eventually it’ll come to windows

I have been using Kagi Orion on macOS and iPhone, so far so good.

I do a few apps that get about this, but the one most interesting to the audience here is a scientific calculator for iOS, iPadOS and macOS

https://jacobdoescode.com/technicalc

One time payment, no subscriptions or IAPs


This basically makes a rust server to do the routing, then uses the Boa JS engine to evaluate the JS to handle the route

With this approach, you might be able to do some multithreading to improve the throughput

However, each request is almost guaranteed to be slower because V8 will be faster than Boa

You could also achieve this by spinning up multiple NodeJS instances and putting an nginx server in front to do load balancing - which is pretty standard practice


On the nginx point — totally agree that nginx + multiple Node instances is a well-understood and effective setup. Titan isn’t trying to replace that pattern or compete with it directly. The motivation is removing Node from production entirely and shipping a single native Rust binary with a constrained runtime surface. That also enables a true multi-threaded execution model at the server level, rather than relying on process-level scaling. In environments where that matters — simpler deployment, embedded or edge use cases, tighter control over concurrency and memory — the trade-offs look different.

> You could also achieve this by spinning up multiple NodeJS instances and putting an nginx server in front to do load balancing - which is pretty standard practice

How does it compare in terms of HW resources?


I've done this in production plenty of times. Under load, nginx is insanely efficient. Practically all the CPU time ends up spent in your nodejs application server.

The worst part of a setup like this is deployment. There's just a lot of little moving pieces - like nginx needs to keep track of which frontend servers are up and which are down. How are you doing load balancing? You want to have websocket connections? That makes it more complex. How do you deploy code? Etc. Its great, but its not at all simple. Configuring nginx feels like its a little puzzle all of its own.


The reactors will also be cast in the UK by Sheffield Forgemasters


The EU were the ones who forced Royal Mail to be privatised


If this is the case, why are many other EU postal services still state-owned (e.g. Ireland, Poland, Cyprus, Greece)? The UK left the EU 5 years ago yet it’s still being used as cover for UK political decisions.


We live in a world where, for certain topics, people believe whatever narrative suits them at the time. Facts seem to not matter too much. Brexit is one of those topics.


Citation definitely needed for this one.


jacobp100 is referring to: https://eur-lex.europa.eu/eli/dir/2008/6/oj/eng

They did not force the privatisation of Royal Mail; it was first made a special sort of PLC back in 2000 so that it could access private money, and arguably that helped accelerate the EU belief that postal services needed competition.

But they did force competition in EU postal delivery, and that effectively drove the decision to essentially fully privatise Royal Mail so it could compete.

It also had a very unfortunate outbreak of Crozier Disease and that didn't help.


> Following the 2010 general election, the new Business Secretary in the coalition government, Vince Cable, asked Richard Hooper CBE to expand on his previous report, to account for EU Directive 2008/6/EC which called for the postal sector to be fully open to competition by 31 December 2012. Based on the updated Hooper Review, the government passed the Postal Services Act 2011. The act allowed for up to 90% of Royal Mail to be privatised, with at least 10% of shares to be held by Royal Mail employees.

https://en.wikipedia.org/wiki/Royal_Mail which links to https://web.archive.org/web/20150224033637/http://stakeholde... (the EU directive has gone from their website and isn't in archive.org) which says

> Summary of legal position: Article 7 of the EU Postal Directive (Financing of universal services), has required the progressive – and since 1 January 2013, total - liberalisation of postal services throughout the EU.

Hopefully this qualifies as a valid citation.


That’s a little misleading in terms of EU requirements: https://eur-lex.europa.eu/eli/dir/2008/6/oj/eng

“The external financing of the residual net costs of the universal service may still be necessary for some Member States. It is therefore appropriate to explicitly clarify the alternatives available in order to ensure the financing of the universal service, to the extent that this is needed and is adequately justified, while leaving Member States the choice of the financing mechanisms to be used. These alternatives include the use of public procurement procedures including, as provided for in the public procurement Directives, competitive dialogue or negotiated procedures with or without the publication of a contract notice and, whenever universal service obligations entail net costs of the universal service and represent an unfair burden on the designated universal service provider, public compensation and cost sharing between service providers and/or users in a transparent manner by means of contributions to a compensation fund. Member States may use other means of financing permitted by Community law, such as deciding, where and if necessary, that the profits accruing from other activities of the universal service provider(s) outside the scope of the universal service are to be assigned, in whole or in part, to the financing of the net costs of the universal service, as long as this is in line with the Treaty. Without prejudice to the obligation of Member States to uphold the Treaty rules on State aid, including specific notification requirements in this context, Member States may notify the Commission of the financing mechanisms used to cover any net costs of the universal service, which should be reflected in the regular reports that the Commission should present to the European Parliament and Council on the application of Directive 97/67/EC.”

IE Privatizing Royal mail was not required by the EU, instead they needed to allow for competition by UPS, FedEx etc.


"Open to competition" != "Privatised"


Other users have pointed out this isn't entirely accurate but i'm still shocked. My understanding was the job of the eu was to impose continent wide standards to enable free exchange between member states. How does dictating the policy of national postal services achieve any of that?


The EU generally doesn’t like state subsidies of services. Which makes sense, because state subsidies would provide an unfair advantage to companies operating in that state, over other member states. Reducing trade and competition across the bloc.

For postal services, the same applies. EU doesn’t like the idea of a state owned or subsidised postal business, preventing the entrance of competition from companies in other member states, or allowing the subsidised entities to expand and outcompete companies in other EU states.

The EU doesn’t set national postal policy. It only requires that the basic postal service is an open to competition from entities (private and public) in any EU member. With a carve outs for the funding of universal service (I.e. making sure that every address gets post regardless of profitability), where state aid is clearly needed.


Preventing governemt monopoles in a specific areas is what the eu predecessors started of back in the coal and steel days.


Every update slows your phone down temporarily, because there’s background processing that goes on for a while after. That’s always been the case


I’ve had it for days and it’s still slow


Upgraded my 12 mini. Performance is fine. Battery life is as it always was


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: