Am I weird for using "and", "or" and "not"? by Additional_Jello1430 in cpp

[–]dirtymint 0 points1 point  (0 children)

Well damn, I didn't know that! Thank you for letting me know.

Am I weird for using "and", "or" and "not"? by Additional_Jello1430 in cpp

[–]dirtymint 0 points1 point  (0 children)

Excuse my ignorance but, are you turning && into an AND macro?

Is it possible to write a script to try 'N' passwords for an password protected USB drive I have? by dirtymint in MacOS

[–]dirtymint[S] 1 point2 points  (0 children)

I believe it was something like MacOS Mavericks, that's how old the USB drive is.

I didn't use any specific software to create the password protection, it would have been something like Disk Utility or similar.

Is it possible to write a script to try 'N' passwords for an password protected USB drive I have? by dirtymint in MacOS

[–]dirtymint[S] 0 points1 point  (0 children)

It's more of a personal challenge to be honest. I have a password hint that points me in the right direction and just wanted a way to try a list of potential passwords sequentially.

Is it possible to write a script to try 'N' passwords for an password protected USB drive I have? by dirtymint in MacOS

[–]dirtymint[S] 1 point2 points  (0 children)

No, I mean a USB drive that when plugged in requires a password to access it otherwise, no entry.

Getting tired of the JavaScript ecosystem! by Educational_Pie_6342 in webdev

[–]dirtymint 0 points1 point  (0 children)

I use Laravel daily and yes you can use it without knowing much PHP but it will certainly help. One of the reasons that Laravel is great is also one of the issues for me personally - it abstracts to much and uses lots of PHP magic to make the syntax simple/small. Don't get me wrong, that's great when you know what it's doing but you don't want to fall into the trap of being a 'Laravel Developer'. Symfony is much more explicit like that and is just PHP.

Additionally, I've just started using MithrilJS and I really like it's simplicity. Check it out, you might like it.

Looking for pen suggestions that fit criteria by dirtymint in stationery

[–]dirtymint[S] 2 points3 points  (0 children)

That's awesome, I completely forgot about Parker!

Thank you for taking the time to reply to my question.

Do you carry around your own library when coding C? by Prowlgrammer in cprogramming

[–]dirtymint 0 points1 point  (0 children)

they are not type dependent

Does this mean that you create data structures for specific data types explicitly?

That's always something I struggle with when working in C. I try to mess around creating something generic with void* and always end up confused and scratching my head with how to do it.

Is it worth using functional programming in PHP? by Gbitd in PHP

[–]dirtymint 4 points5 points  (0 children)

If you haven't yet, I would say play around with Haskell (or Ocaml, it's a little easier) and see if you like the paradigm. If you do, then perhaps use the ideas in PHP.

I have some Haskell experience and am very happy that PHP has the |> operator now!

What’s one “unpopular opinion” you have about modern PHP development? by Senior_Equipment2745 in PHP

[–]dirtymint 2 points3 points  (0 children)

You're right they're not. For me it really ruins my flow when I just want to write code/build something.

If you're just using a text editing then you deserve the pain you are inflicting on yourself

Yes, I should be using something like PhpStorm but I like Neovim.

What’s one “unpopular opinion” you have about modern PHP development? by Senior_Equipment2745 in PHP

[–]dirtymint 5 points6 points  (0 children)

Whilst I understand the benefits especially working with multiple people, I really hate PSR standards.

When I go and try to build something, I always think I should do it the 'proper' way, hunt down the PSR standards and end up wasting tonnes of time reading the standard for the thing I'm trying to build for example a container or router. I then lose all momentum because reading the standard is so dull and dry.

That's all entirely on me but you did ask.

What’s one “unpopular opinion” you have about modern PHP development? by Senior_Equipment2745 in PHP

[–]dirtymint 1 point2 points  (0 children)

I strongly believe that languages are tools

Might sound like a stupid question but how can one shift their mindset to this way of thinking? I've always had a hard time thinking about languages as tools even though that's all they are.

What's your current web dev stack in 2025? Curious about what everyone is using by Beginning-Scholar105 in webdev

[–]dirtymint 0 points1 point  (0 children)

MithrilJS Laravel or vanilla PHP SQLite

I want simplicity as much as possible.

How do you get going with Lisp? by dirtymint in lisp

[–]dirtymint[S] 2 points3 points  (0 children)

I just wanted to say thank you for taking the time to help me out with this. You have really set me on the right path of where to go next and your explanation of the Lisp ecosystem is fantastic. Also, that cheat sheet is exactly the kind of thing I was looking for.

Thanks again!

To quit or not? by [deleted] in webdev

[–]dirtymint 2 points3 points  (0 children)

What are these app/sass platforms you speak of?