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

Or bad players might get owned by better ones, conclude the other guy was cheating and the only way to compete is for them to cheat as well.

Sort of like nuclear weapons


This has happened in online chess, with some people admitting to using engines (ie cheating) to "confirm their suspicion that the other guy is cheating".

That is not the solution if you want to play competitively of whenever you feel like it.

Kernel level AC is a compromise for sure and it's the gamers job to assess if the game is worth the privacy risk but I'd say it's much more their right to take that risk than the cheaters right to ruin 9 other people's time for their own selfish amusement


Cheating may not be moral but it's better to put up with it than to cede control of our computers to the corporations that want to own it.

If it kills online gaming, then so be it. I accept that sacrifice. The alternative leads to the destruction of everything the word hacker ever stood for.


I'm sorry but you are fighting a crusade you can not win by definition. If I am free to use my computer for anything I want then I am also free to lock it down to enjoy my favorite game. If I care about my freedom I will have a dedicated machine for this game that I accept I will not have control over.

You are hijacking this thread about VOLUNTARY ceasing of freedom as if the small community even willing to install these is a slippery slope to something worse. You have a point when it comes to banking apps on rooted phones and I'm with you on that but this is not the thread for it


Valve drives significant development of compatibility layers for Linux for the sake of gaming. Their customer base is anything but small. There is potential for this kernel stuff to spill into the entire Linux ecosystem. It was bad enough having to deal with nvidia. I really don't want other companies screwing up the kernel.

again fighting against windmills, valve isn't even mentioned in the article. Valve's anti-cheat for CS2 is user-mode.

Do you have evidence valve is working to infect the linux kernel for everyone?


Realistically I don't see how Valve can avoid this. They want all those games on Steam Deck and the new console. Game devs want KAC. Therefore Valve can either provide them with some way to implement KAC - which effectively requires a "signed kernel / drivers only", same as on Windows - or tell them to go away. Why would they do the latter?

Mind you, it doesn't mean that the Linux kernel will be "infected for everyone". It means that we'll see the desktop Linux ecosystem forking into the "secure" Linux which you don't actually have full control of but which you need to run any app that demands a "secure" environment (it'll start with KAC but inevitably progress to other kinds of DRM such as video streaming etc). Or you can run Linux that you actually control, but then you're missing on all those things. Similar to the current situation with mainline Android and its user-empowering forks.


> we'll see the desktop Linux ecosystem forking into the "secure" Linux

> Or you can run Linux that you actually control, but then you're missing on all those things

We cannot allow this stuff to be normalized. We can't just sit by and allow ourselves to be discriminated against for the crime of owning our own devices. We should be able to have control and have all of those nice things.

Everything is gonna demand "secure" Linux. Banks want it because fraud. Copyright monopolists want it because copyright infringement. Messaging services want it because bots. Government wants it because encryption. At some point they might start demanding attestation to connect to the fucking internet.

If this stuff becomes normal it's over. They win. I can't be the only person who cares about this.


It has already become normal on mobile, which is where most users are.

You're not wrong - this is a very bad outcome! - but I'm afraid the battle has already been lost.


Streaming services already have a solution for environments where they can't run DRM - crap quality stream. My solution to their solution? torrents.

People can dual boot, what's wrong with a special gaming linux distribution?


From what I've read they actually tried to push back against it. I'm just saying this stuff is coming to our systems and should be resisted.

There's rational and then there's common sense, if put in that situation who in their right mind would take even a 50% chance that the entity is wrong and greed it for 1000$. All I'd need to know is that it is far more likely I get the million if I go into the game thinking I'd only one-box

No, that's exactly parent's point. The premise of the title can be read as "just create value, don't worry about monetizing, things will work out (financially)". Which is invalidated by FOSS

It isn’t. FOSS doesn’t just create value it gives it away for free usually in a not so friendly way to the point entire companies exist to streamline and support projects (eg redhat)

what in God's Name could you do in PHP that you can't do in a modern framework?

Nothing; but PHP, in experienced hands, will be waaay more productive for small-to-medium things. One issue is that experienced hands are increasingly hard to come by. Truly big, complicated things, built by large teams or numbers of teams, teams with a lot of average brains or AIs trained on average brains, will be better off in something like Typescript/React. And everyone wants to work on the big complicated stuff. So the "modern frameworks" will continue to dominate while smaller, more niche shops will wonder why they waste their time.

I worked at a startup, they built their API in PHP because it was easy and fast. Now they're successful, app doesn't scale, high latency etc. What does their php code do? 95% of it is calling a DB.

You're telling me today with LLM power multiplier it's THAT much faster to write in PHP compared to something that can actually have a future?


“PHP was so easy and fast that they’ve built such a successful startup they now have scaling problems” is, as far as I can tell, an endorsement of PHP and not a criticism of it.

I think the point here is that the scaling problem is hard because of PHP.

Scaling can be hard in PHP at the same time GGP comment's about PHP being in productive hands and thus being one of the reasons why PHP worked for them. Both of these can be true at the same time.

And for what its worth, Typescript scaling, although better than PHP is still somewhat of an issue and If you want to have massive scaling, Elixir/ (to-an-extent gleam) are developed for solving the scalability problem especially with Phoenix framework in Elixir-land.

So I guess, jack_pp comment's about PHP can also be applied to an degree towards Typescript as well so we should all use elixir, and also within the TS framework the question can be asked for (sveltekit/solid vs next-js/react)

I am more on the svelte side of things but I see people who love react and same for those who love PHP. So my opinion is sort of that everyone can run in their own languages.

Golang is another language to be taken into consideration especially with Htmx/datastar-go/alpine.


Scaling in PHP is easy. Has never actually been an issue in my entire career unless it was a badly designed database.

Yes, startup success has a direct correlation to the language chosen for your CRUD api…

> I worked at a startup, they built their API in PHP because it was easy and fast. Now they're successful

You can stop there! Sounds like PHP worked for them. Already doing better than 90% of startups.


If 95% of what app does is calling a DB, then the bottleneck is in the DB, not with the PHP.

You can use persistent DB connections, and app server such as FrankenPHP to persist state between requests, but that still wouldn't help if DB is the bottleneck.


Sometimes it’s still the app:

   rows = select all accounts
   for each row in rows:
       update row
But that’s not necessarily a PHP problem. N+1 queries are everywhere.

Depending on what you are doing, the above is not necessarily bad.. often much better than an SQL that locks an entire table (potentially blocking the whole DB, if this is one of the key tables).

> I worked at a startup, they built their API in PHP because it was easy and fast. Now they're successful, app doesn't scale, high latency etc. What does their php code do? 95% of it is calling a DB.

So PHP worked perfectly, but the DB is slow? Your DB isn't going any faster by switching to something else, if that's what you think.

PHP is the future, where React has been heading for years.


> Your DB isn't going any faster by switching to something else, if that's what you think.

Only true if none of the DB accesses are about stuff that could live as state across requests in a server that wasn't php. Sure, for some of that the DB's caching will be just as good, but for others, not at all.


That is possible, but it sounds unlikely to me.

In most cases you could add a shared cache to fix the problem - e.g. put your shared state in Redis, or in a file that is synced across servers (if its kept as state in a long running process it cannot need to be updated frequently).


Not scaling and high latency sound like a skill issue, not a PHP issue.

What does this even mean? If you've got scaling problems, it's not because you've used PHP.

by future do you mean Future<T> or metaphorical future? :)

I see what you did there.

PHP did better than python and perl. Python is doomed. PHP got a good jit already, a good OO lately, good frameworks, stable extensions. It has a company behind.

Unlike python or ruby which break right and left all the time on updates. you have to use bunkers of venvs, without any security updates. A nightmare.

PHP can scale and has a future.


Python is doomed? That's new.

You use python docker images pinned to a stable version (3.11 etc), and between bigger versions, you test and handle any breaking changes.

I feel like this approach applies to pretty much every language?

Who on earth raw dogs on "language:latest" and just hopes for the best?

Granted I wouldn't be running Facebook's backend on something like this. But i feel that isn't a problem 95% of people need to deal with.


No, only to python. And partially ruby and ocaml. Not to typescript, perl or PHP.

What's so bad about Python's virtualenv? It's a good way to have an LKGC (Last Known Good Configuration). When a CVE happens, you spin up a new venv and do smoke test, canary test, blue/green deployment, and so on.

If the update breaks things, you go back to the old venv. If the update goes well, then you just delete the old venv.

Not implementing security updates the right way is just human laziness and has nothing to do with the language in use.



uv does not fix the need for venv's or docker containers. normal people update their libs with the hope to get problems fixed.

python people don't update their libs, because then everything will break right and left. so they keep their security problems running.


No matter how you look at it, the dependencies have to go somewhere. Node uses node_modules, most compiled languages require compiled libraries (or they're a huge blob), etc. Idk about PHP but I'm pretty sure 3rd party things for any given app also live somewhere. Different ways of managing dependencies. It's recommended that venvs are used in Python because you may accidentally nuke a system script by doing global installs, and otherwise there still needs to be some sort of 3p version handling when you have multiple projects going.

Once something works in Python (which uv now makes trivial; before it could be a pain), updating 3rd party packages rarely cause breakage. But yes, I think many who use it hardly update, because things usually continue to work for years and the attack surface is pretty narrow[0]. Heck just a few days ago I checked out a project that I hadn't touched in years, which I wrote in Python 3.7; updated to 3.13 and it continued to just work. Compare to PHP which has a far higher attack surface[1] and often has breaking changes. I've heard a couple nightmare stories of a v7.x -> v8.x move being delayed because it required a serious codebase rewrite.

[0] https://www.cvedetails.com/product/18230/Python-Python.html?... [1] https://www.cvedetails.com/product/128/PHP-PHP.html?vendor_i...


I don't think it's true that experienced hands will be faster in PHP than in Python or JS or whatever. It's just about what you know, and experienced hands are experienced.

PHP is faster to develop in then Pythin or JS then addin a framework like Laravel and you are already done.

Python has the curse of spaces or tabs and JS has the curse of npm.


PHP has the curse of T_PAAMAYIM_NEKUDOTAYIM.

Wasn’t expecting to see Hebrew here today.

Eh, you know, when the conversation has devolved to the level of "Python is slower to develop in than PHP because of spaces or tabs", you have to bust out the Hebrew.

You can build those things in modern frameworks, it will just be more headache and will feel outdated in 6 months.

Where are my backbone apps? In the trash? Me ember apps? Next to them. My create-react-apps? On top of those. My Next apps? Being trashed as we speak. My rails apps? Online and making money every year with minimal upgrade time. What the hell was I thinking.

I'm guessing you avoided the CoffeeScript era of Rails, which is a good thing.

6 years ago I was writing apps in typescript and react, if I was starting a new project today I'd write it in typescript and react.

People bicker about PHP and Javascript, sorry Typescript, like they aren't both mule languages peoppe pick up to get work done. They both matured really well through years of production use.

They are in the same group, similar pedigree. If you were programming purely for the art of it, you would have had time to discover much nicer languages than either, but that's not what most people are doing so it doesn't really matter. They're different but they're about as good as eachother.


Not have to "build" anything. You edit code and it is already deployed on your dev instance.

Deploying to production is just scp -rv * production:/var/www/

Beautifully simple. No npm build crap.


You trade having to compile for actually having code that can scale

Not sure what you’re talking about, I scaled to millions of users on a pair of boxes with PHP, and its page generation time absolutely crushed Rails/Django times. Apache with mod PHP auto scales wonderfully.

It scales just fine the same way everything else scales: put a load balancer in front of multiple instances of your app.

It can scale by the virtue of spending a lot less time processing the request

You don't know anything about the PHP ecosystem and it shows.

Making instant loading and user respecting sites.

Don’t confuse php the language with php the way of webmaster 2006 vintage.

Those webmasters built the web a lot of people are now nostalgic about already.

Could you give examples of the modern frameworks that you have in mind?

I have a S21 which was released in early 2022. Bought it new in late 2023 for 430€. I don't see any reason to get a new one currently. Had to service it twice for water damage to be honest but service was free


OK I had Samsung that was OK. Later after upgrades it became unusable, but that's it.


Handy only supports microphone input not files afaik


Why did you name it tesseract when there's already a very well known library with the same name?


Because naming things is one of the two hard problems in computer science — the other being cache invalidation and off-by-one errors.

More seriously: Tesseract (the 4D hypercube) felt right for a tool that adds a dimension to how you see architecture. And if you've seen Interstellar, there's a scene where the tesseract reveals the hidden structure behind everything — that's basically what this does for your codebase.

I was aware of the OCR library but figured a 40-year-old project can share its name with a newcomer. No one's going to accidentally npm install their way into a 3D architecture editor.


Is it superstition to deduce that I get gassy after eating beans? I need a scientific study to tell me this? Same for if a screen hurts my eyes (not long term, like truly my eyes hurt) when using bright white colors at night.


Yes, actually, if someone has direct scientific evidence contrary to the claim (I doubt such evidence exists for your first example as to the best of my knowledge the relationship between beans and gastrointestinal changes is well understood).

Your eyes could hurt for a variety of reasons - brightness, too long screen time, being dry for external reasons, etc. Most humans are poor at identifying the cause of one-off events: you may think it's because you turned on a blue-light filter, but it actually could be because you used your phone for an hour less.

That's why we have science to actually isolate variables and prove (or at least gather strong evidence for) things about the world, and why doctors don't (or at least shouldn't) make health-related recommendations based on vibes.


> if someone has direct scientific evidence contrary to the claim

Except they don't. This is evidence about one potential mechanism. Not evidence saying there are no other potential mechanisms.

This is actually a very common mistake in popular science writing, to confuse the two.


It's pretty clear, even on monitor, night and day difference at a push of a button. I'm not arguing if this helps you sleep better but it is pretty arrogant of you to tell me I can't figure out from my own experience if something is comfortable or not.


It’s about the equivalent of someone claiming my saying I find woollen clothing directly touching my skin to be irritating / itchy requires double blind randomised controlled studies to determine whether this is true at the population level.

There are eight billion of us, we can’t all be different, there must be at least some categories we can’t be sorted in to, maybe those who find woollen clothing itchy and those who don’t, and those who find blue-light reduction more comfortable and those who don’t.

One of my pet theories is that this hyper fixation on The Ultimate Truth via The Scientific Method is what happens when a society mints PhDs at an absurd rate. We went up with a lot of people who learn more and more about less and less, and a set of people who idolise those people and their output.


Nobody really cares if it's comfortable or not for you, the debate at hand is whether it's measurably more comfortable for the population at large.


That’s how it should be but the poster is literally calling the individual experiences of others “superstition” based on the population at large.


If your eyes routinely hurt when doing something, and then they stop routinely hurting after you make a change, that's pretty good reason to believe that there's a causal effect there.

Sometimes the causality is clear enough that you don't need sophisticated science to figure it out. Did you know that the only randomized controlled trial on the effectiveness of parachutes at preventing injury and death when jumping out of an airplane found that there is no effect? Given that, do you believe there really is no effect?


I have direct scientific evidence contrary to the claim that parachutes improve the safety of jumping out of airplanes.

https://www.bmj.com/content/363/bmj.k5094


There's a few viral shorts lately about tricking LLMs. I suspect they trick the dumbest models..

I tried one with Gemini 3 and it basically called me out in the first few sentences for trying to trick / test it but decided to humour me just in case I'm not.


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

Search: