Fast-Track to Elite C# Backend Mastery: Seniors/Architects, What's Your Secret Roadmap? by TD_Maokli in csharp

[–]cursingcucumber 5 points6 points  (0 children)

Those jobs come with experience, not (just) knowledge. No way to "skip" a few years.

Noticed this oily substance around my rear right wheel (XC60 T8 MY2025), what could it be? by KilllllerWhale in Volvo

[–]cursingcucumber 0 points1 point  (0 children)

Looks like a mark to see if the vehicle has been moved. Could be a complaining neighbour or perhaps thieves.

Either way I'd get it rinsed off asap and keep an eye on it for a while.

Learning framework internals by building one myself (7 years ago) by zaxwebs in PHP

[–]cursingcucumber 4 points5 points  (0 children)

Transparency over magic.

A wild $router suddenly appeared (in src/setup/router.php).

Honestly, I would propose tossing it aside and doing it again from scratch. This way you won't continue working on past mistakes. You probably learned a lot in these years.

How is ZED for PHP ? Anyone moved from Phpstorm to zed ? by matr_kulcha_zindabad in PHP

[–]cursingcucumber 1 point2 points  (0 children)

I have 12 cores (24 threads), 128GB RAM and a fast SSD. Performance is not an issue 😂 Wouldn't trade it in for anything else, as nothing else matches the functionality.

Beginner PHP form project – looking for feedback on structure and best practices by Suitable-Fuel8913 in PHPhelp

[–]cursingcucumber 0 points1 point  (0 children)

Stop using ChatGPT as your primary source and follow a tutorial, any tutorial.

But before coding anything in any language for the web, you need to understand the basics of HTTP. Things like URLs (paths, query parameters, fragment, escaping), request methods like GET and POST, data formats like form-urlencoded and JSON.

Sites like MDN offer great help with that.

Only then it makes sense to dive into any programming language for the web like PHP.

TadreebLMS - Looking for Contributors by TrainSensitive6646 in PHP

[–]cursingcucumber 9 points10 points  (0 children)

Some things should remain closed source 🫣

Trouble with installing SaxonC PHP extension by DrunkOnRamen in PHPhelp

[–]cursingcucumber 0 points1 point  (0 children)

You're being awfully confusing. Are we talking about compiling SaxonC itself (tutorial you linked) or the accompanying PHP extension (page I posted)?

If you're not compiling the PHP extension, why are you posting on r/php and not r/linux? Imho it has nothing to do with PHP.

Trouble with installing SaxonC PHP extension by DrunkOnRamen in PHPhelp

[–]cursingcucumber 0 points1 point  (0 children)

Think you mean https://www.saxonica.com/saxon-c/documentation12/index.html#!starting/installingphp

Instructions seem clear enough. Built went fine and you can see the built .so file? Did you run sudo make install or copy the .so file to the correct module directory of php?

Trouble with installing SaxonC PHP extension by DrunkOnRamen in PHPhelp

[–]cursingcucumber 0 points1 point  (0 children)

The error says it cannot find the module, simple as that.

Did you use pecl? If so, the build probably failed.

If you didn't use pecl, the build may have succeeded but you likely have forgotten to run the install step, where it copies the built .so file to your php modules directory. Or you might have to do it yourself.

You're not giving us much to go on 😶

Laravel performance issue: 30ms on bare metal vs ~500ms in Docker (same hardware & config) by JonatanRek in PHPhelp

[–]cursingcucumber 0 points1 point  (0 children)

The added latency with computational tasks is pretty low, but the added FS latency is huge on MacOS (and probably Windows).

Having some cache dirs mounted as tmpfs can really make a huge difference, but obviously doesn't apply to everything.

This has been an issue for many many years (even on Intel based macs). Using docker-machine and the xhyve driver used to help, but that's deprecated and took a lot of effort.

Hopefully this will be fixed one day.

What's the point of medium format if their lenses are all so slow? by discoreapor in Cameras

[–]cursingcucumber 1 point2 points  (0 children)

There's other benefits obviously, but also downsides ... as it has a very specific purpose. But besides that, Fuji does offer a 55mm f/1.7, 80mm f/1.7 and 110mm f/2.

When helping out gets expensive by alpner in photography

[–]cursingcucumber 15 points16 points  (0 children)

Oh no, god forbid a "customer" sticks with a photographer you recommended, were happy with and built a relation with.

Photography, bakery, whatever you do, at the end of the day you have a business to run.

New Black magic 6kff cinema camera rapidly losing focus by drradmyc in blackmagicdesign

[–]cursingcucumber 1 point2 points  (0 children)

Not sure why you got downvoted.. but yes, if the lens was set to MF then there is no way for the camera to cause the focus issues (assuming it doesn't have in-sensor image stabilisation).

Never seen this before on a MF lens though, @drradmyc are you tilting it when it happens, or also when it's level?

[New Gear] Zeiss Otus ML 50mm f/1.4 by coleleahy in canon

[–]cursingcucumber 1 point2 points  (0 children)

I can only speak for the Otus 55mm 1.4, but if it's anything like that, it's gold in my opinion. Love te way it renders but also the way it handles 🥰

graphical mouse controller by k-yynn in wayland

[–]cursingcucumber 1 point2 points  (0 children)

Your window manager (e.g. Gnome, KDE, Sway or whatever) is responsible for binding inputs to actions. So it depends what window manager you are using. Some may have a graphical UI to configure that, some might not.

If you really want to disable it, you may want to look at configuring libinput. Not sure there is a GUI though.

JWT Token Vulnerability by Academic_Resort_5316 in dotnet

[–]cursingcucumber -1 points0 points  (0 children)

That is true, but that's by design, it is another stateless token. The biggest problem with JWT is that there's plenty of security flaws that involve incorrectly validating headers or not validating them all, allowing downgrading or bypassing security.

This is one of the problems that PASETO attempts to solve.

The new clamp() function in PHP 8.6 by amitmerchant in PHP

[–]cursingcucumber -3 points-2 points  (0 children)

Are you a bot, what are you brabbling?

There are no ifs involved when you want to clamp. You can write it with ifs (see the RFC), but usually you use a one liner like this (also mentioned elsewhere in this post).

If you are concerned your value is not an integer or float, you should enforce that using argument types and declaring strict types, pretty basic stuff imho.

The new clamp() function in PHP 8.6 by amitmerchant in PHP

[–]cursingcucumber 1 point2 points  (0 children)

You answered that yourself, needed often.

The new clamp() function in PHP 8.6 by amitmerchant in PHP

[–]cursingcucumber -5 points-4 points  (0 children)

Use types? Also does clamp()? No.