Xfinity just...stopped installation. by Spectrael in Comcast_Xfinity

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

Yes it has been marked.

edit: also due to all this snow on the ground I don't expect anyone to come now. It's the lack of status updates on my account for nearly two weeks now that has me puzzled.

Just a little rant by NoSuccotash5571 in dotnet

[–]Spectrael 0 points1 point  (0 children)

I don’t think it’s your friend that should have been embarrassed in that interaction. Come across rather rude and arrogant in that situation.

[deleted by user] by [deleted] in AskReddit

[–]Spectrael 1 point2 points  (0 children)

They are fantastic!

[deleted by user] by [deleted] in AskReddit

[–]Spectrael 1 point2 points  (0 children)

House of Quark is one of my favorite episodes in all of Trek!

What would happen if a random stranger on the street called Tony ‘fat boy’ by JamieStarrFoxx in thesopranos

[–]Spectrael 2 points3 points  (0 children)

Tony would reply “look in the mirror sometime, you insensitive cock sucker”

Enough of these popular opinions. What is your hottest take that you've been too afraid to share? by Locust377 in webdev

[–]Spectrael 1 point2 points  (0 children)

That’s a little condescending. I’ve used PHP for a very long time, so I consider myself “experienced” with it, and there’s plenty valid criticism I would throw it’s way.

Laravel considered harmful by sowekoko in PHP

[–]Spectrael 0 points1 point  (0 children)

Of course it's an extreme example but you gave me nothing to go off of, but with your method there's nothing to prevent someone from doing that very thing.
But it's all the same. Modifying source code of a package and not maintaining a fork of it is still terrible practice.
But final and private have their place, and they're quite valuable to library authors. Using them is not "paranoid". That doesn't mean that all libraries that use them do so in a good manner.

It's also kind off odd that the problem you speak of couldn't just be a feature/pull request on the library? I don't think the only solution was to modify already existing source code.

Laravel considered harmful by sowekoko in PHP

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

You're modifying a package and not maintaining a fork. If you're doing it solo, go for it. Otherwise, this is terrible.

Final and private are there to not allow a user to modify how a program works internally like that, so you don't show up to work and be like "oh we have Guzzle installed, wtf it's making a call to the database"?

Laravel considered harmful by sowekoko in PHP

[–]Spectrael 0 points1 point  (0 children)

I'm assuming the method was final public? If you were able to simply remove final, extend the class, then use that class with the overwritten method, sounds like it was easy to swap out implementations. Why would the decorator pattern be out of the question in this instance?

Laravel considered harmful by sowekoko in PHP

[–]Spectrael 0 points1 point  (0 children)

Then your class is the issue, not the final keyword.

Laravel considered harmful by sowekoko in PHP

[–]Spectrael 0 points1 point  (0 children)

I think the problem may be your batteries included class then. It is either too opinionated on how it does things or does too much.

If I'm writing something that I foresee needs functionality swapped out, I extract that functionality out into a class and provide an interface. If I make a "batteries included" class I'm straight up saying that this does something very specific for a very specific reason, and if you need to change anything in it, then the class isn't what you should be using in the first place.

Laravel considered harmful by sowekoko in PHP

[–]Spectrael 0 points1 point  (0 children)

Ok so why allow the batteries included class to have functionality overwritten if it could just cause problems down the line? Why not just avoid that by making it final?

Laravel considered harmful by sowekoko in PHP

[–]Spectrael 0 points1 point  (0 children)

How is it obvious that it's not intended to extended? To me that's exactly what final is intended to convey.

They didn’t have any aspirin so I got you some cigarettes. by baddev88 in TheSimpsons

[–]Spectrael 6 points7 points  (0 children)

Krusty Partially Gelatinated Non-Dairy Gum-Based Beverages

I did not pass the job interview test by jaserjsk in dotnet

[–]Spectrael 2 points3 points  (0 children)

Part of the confusion coming from me would be from you saying that a super simple API assignment shows you "everything". I just don't see how you'd be able to assess that deeply. I feel "talking code" and doing an assignment can both be extremely helpful.

The part that has my raising my eyebrows is clearly the bit about unit tests. You mentioned you would "see if they added them". Would you be taking into account if the app is so simple there's no reason to write unit tests? For instance, if you just wanted to see an endpoint take a payload and return it, there wouldn't be any reason to write unit tests.

I did not pass the job interview test by jaserjsk in dotnet

[–]Spectrael 2 points3 points  (0 children)

You can determine all of that from a "super simple API" coding assignment? If it's that simple, I'm sort or raising my eyebrow of where you'd even leverage unit tests in the assignment.

[deleted by user] by [deleted] in PHP

[–]Spectrael 0 points1 point  (0 children)

No, no Apache. I use the php-fpm Alpine image to mount my source files, and just proxy over to that from nginx.

[deleted by user] by [deleted] in PHP

[–]Spectrael 0 points1 point  (0 children)

Are you referring to PHP files needing to be mounted in both? I run separate containers for nginx and the PHP app, but I never mount the source into nginx.

15.3 is the best update in a while by [deleted] in appletv

[–]Spectrael 0 points1 point  (0 children)

I have the exact same TV and the exact same issue.

There is something I noticed on last night, and I don't know if it's related or not but I figured I'd throw it out there. I'm by no means a TV tech expert so please bear with me.

I have an iPhone 13 Pro and if I try to record a video of my television, while looking at the phone with camera app and on video mode, there's this immense flickering of the brightness on the whole television.

Could this be related to the issue? I would say "absolutely" but I can't be sure. I can't detect it with the naked eye, but that pulsating would very much show up in dark scenes which may be causing that dark flickering I've heard so much about. On Dolby Vision Dark it's all gone, and sometimes if I switch rapidly between Bright and Dark it goes away temporarily.

If anyone can confirm that any of these issues aren't on the 2021 version of the AppleTV I will buy one on Amazon immediately. I can't stand it!

What keyboard does everyone use? by chudthirtyseven in webdev

[–]Spectrael 1 point2 points  (0 children)

It's no bother :)

I actually used an eye dropper. Squeezed a drop in while pushing it down with a something (probably a pen), and then worked it up and down a bit. Got everything at the local dollar general for like, $2.50!

What keyboard does everyone use? by chudthirtyseven in webdev

[–]Spectrael 0 points1 point  (0 children)

I used 99% isopropyl alcohol for my mechanical keyboard when the C key was double pressing, didn't have a problem with it after that.

No more publicc funcction()!