If the arch wiki doesn’t have the answer, I just give up
If the arch wiki doesn’t have the answer, I just give up
Louis Rossmann made a video about it noday I think. They (apparently) don’t serve 4k in browsers, only if you use their propietary apps and allow to send them all your data
In my experience libretube with default instances is bad, I couldn’t even watch a single video without buffering every 3 minutes for a minute.
With a selfhosted instance however, libretube is perfect
I fear when lord gaben dies volvo will go public and enshittification will begin
If valve were public, and required to make a lot more money than the previous quarter, they would absolutely need (want?) to get the maximum amount of money from wherever they could. It’s what I think it’s happening with netflix & others. It doesn’t matter that (hypotetically) they make a billion dolars of revenue. They need to make more next quarter. So they need to raise prices, forbid account sharing, reduce content quarity, anything to earn as much money as possible for next quarter.
Volvo could earn a billion dollars, and if they don’t want to earn more, they could happily stay the same. They might even want to make moves thinking on the long term, such as keep customers happy and excited, or invest in new technologies like proton. Compared to netflix execs, who don’t care about the long term, they care about next quarter.
I don’t know a lot about the stock market, but it looks stupid to me to bet on infinite growth. If the company earns money, and I own shares, shouldn’t I earn money via dividends? It looks to me like the only way to make money is to buy low and sell high? Or is that just greed?
I use jellyfin a lot for anime, no plugins. I just label all my folders like kaguya_sama_[tmdbid-12345]
.
As long as the The Movie DB id is there, aboslutely no problems indexing.
Just to provide counter examples, in arch I can’t use the native steam package and play games with proton. It just doesn’t work. I think proton expects some ubuntu libraries or something (found something like that while spending 5 hours debugging nfs heat). And even if I manage to fix it, next time I update the system it’ll be broken again.
I use flatpak, and everything just works.
However, in arch if something is in the official repo or the AUR i prefer those.
In ubuntu I installed krita and gmic, but it doesn’t work. For some reason krita doesn’t find the gmic executable. Instead of debugging krita and gmic for hours I just installed the flatpak version, and it just works.
And yeah, app startup went from 5 to 7-10 seconds in krita, and from 1 to 2-3 seconds in firefox. It’s not snap, it’s 2023, we have SSDs.
Yeah I’m sure I wouldn’t even defeat the first enemy. The fights in yakuza were tedious, I HATE grinding, but the story was so good that I was able to finish the game. And everybody talks about how souls games are insanely hard, and yakuza is easy, but for me the yakuza bosses were kind of hard.
I don’t know how the souls game are, but in yakuza the fights were all the same: wait for enemy to attack, evade, attack enemy during his backswing, retreat, repeat. The same on witcher 3 (where the fights managed to bore me enough that i forgot about the story). Maybe there are actual strategies instead of following the boring safe path, but idk. I couldn’t figure them out.
Which is weird, because in dota the skill barrier is high, execution must be close to perfect to win big fights, you must coordinate with strangers, all 5 players need to be on the same page, you kind of need to read your opponent’s mind, process so much information in a short window of time, and yet I enjoy that so much more that regular action games. My theory is that I like dota better because fights are so short yet intense. It’s usually all decided in 10-30 seconds and there’s almost no repetition. Meanwhile, in the witcher I’m evading the griffin and shooting little arrows for 10 minutes non stop.
Me playing yakuza 0:
Could you elaborate on the htmx security holes? I only know about xss attacks, and for those it’s trivial to sanitize in the backend.
I too gravitate towards just templating for static or simple interactivity, but for pages that need SEO and interactivity I’m still wondering what’s a good solution that doesn’t involve SSR and a js framework. For a recent project I had I generated the html in php and sent a lot of pure js for dom manipulation
__invoke
is just for making a class Callable. Java has those with functional interfaces. __get
is just dynamic property resolution synax sugar. Instead of something like obj.get("property")
you do obj->property
.
Instead, I would like to see ADTs, generics, pattern matching, immutability, expressions everywhere and a better stdlib. Then one could call PHP functional.
It’s like how people say Javascript is functional. Sure, it has lambdas, anonymous functions, closures, const
. But those alone don’t make it functional.
Functional programming is very different (and at times hard). If you have the time you can check out F#, OCaml, Elixir, Erlang, Rust or Haskell (in order of difficulty imo). Those are more “pure” functional, rather than imperative/OOP with a touch of functional.
See how things work, what features they have and don’t have. How problems are solved in these languages. I think learning about one of them can give you a different perspective on what functional means. I discovered F# one day, got curious and discovered a whole different paradigm, a new perspective on programming. And learning about functional programming really made me a better programmer, even on procedural/OOP.
I’d say that PHP allows you to write very bad code (and makes that the default). It’s a language feature.
For example Java has a lot of NullPointerException because it was designed with null and without mechanisms to detect & prevent these errors. Any method can return null and cause a NPE. It’s just easy to ignore them. Modern languages like Go, Rust or Zig force you to handle null errors, and make it easy to do so. NPEs are a lasguage feature in Java.
In the same way PHP allows you to write any ugly code you want. There are no checks, no safety. People can write bad code, people can be lazy, people can be stupid. PHP allows it and empowers them.
I used to think that php was a bad language until recently (used php5 when i was just learning to program, cooked some delicious spaghetti). But after 5 years I had to use PHP at work. The language has improved a lot, but I think a lot of the bad parts are still there.
Like, why does stdclass exist? Why not just use associative arrays? Why are there warning, error, fatal errors, exceptions? Some functions throw exceptions, other raise errors, others return false, other fail silently and you have to call another function to check if there was an error (last_json_error
). Why do find functions return false
instead of -1
? Like every other language? Why can’t I use strings with numeric values as maps keys? (I can’t have ["001" => value]
, it gets casted to ["1" => value]
.
There are no generics, you have to use mixed
everywhere. The stdlib is an inconsistent mess, some_snake_case, someCamelCase, verb_noun, noun_verb, functions are not namespaced, everything is global. A lot of duplicates: die vs exit, print vs echo, etc. You are forced to use PSR & autoload to be able to use namespaces in a tolerable way, not including_once everywhere. No UTF-8 support, only ascii. You have to manually use mb_ functions. Variable scoping is weird. Variable variables? Why?
And all that is just comparing it to the average language. If compared to a modern language like Rust, Zig, Swift, php is light years behind.
It’s not hot garbage, but I wouldn’t call it “good”. There’s laravel, but not much more. PHP still makes you shoot yourself in the foot by default, unless you spend a lot of time learning its edge cases. Just like javascript.
I find that the only reason for SSR existence is to be able to just move a JS frontend to the backend for SEO/client performonce reasons with almost no effort. If the frontend really needs to be highly interactive then yeah, a FE framework makes things easier. But then you are locking yourself to using JS in the backend. Voluntarily locking yourself to use an objectively bad language.
Then there are the react/angular/other people, who build everything in these frontends.
I really hope tools like htmx gain traction, since it looks like a model able to solve the current JS madness.
I don’t think that’s the case. My country is also big, cities are apart by hundreds of km. But our cities still are dense, there are (almost) no suburbs, and roads are not giants. In my city (2nd largest in the country) the largest roads have 6 lanes. There is only 1 street with 8 lanes. A lot of important busy streets have 4 lanes. Most streets have only 2 lanes.
There are still sidewalks (many streets even have more sidewalk than road), there aren’t huge parking lots everywhere, public transportation is everywhere.
I really like donoteat’s video for why this is a problem
https://piped.araozu.dev/watch?v=rseaKBPkRPU
It’s not about the ‘feeling’ claustrophobic or not having green areas, it’s about the US’s obsession with cars and it’s consequences in the people
At least it’s not a giant macro
Deezer+Deemix -> Jellyfin -> Symfonium
That’s why I host all my shitty unfinished projects in a Gitea instance in my VPS. Now they actively cost me money and I feel (a tiny bit) more incentivized to do so something with them!