@Sdfendor@chaos.social
@Sdfendor@chaos.social avatar

Sdfendor

@Sdfendor@chaos.social

backend #developer (currently mainly #php)

You don't hate Mondays, you hate capitalism.
Bash the Fash!
:anarchismred:

Toots as he pleases!
El psy kongroo.

This profile is from a federated server and may be incomplete. Browse more on the original instance.

netzpolitik_feed, to random German
@netzpolitik_feed@chaos.social avatar

Jetzt ist wirklich Schluss: Wir verlassen als Redaktion das zur Plattform für Rechtsradikale verkommene Twitter – und freuen uns, wenn ihr uns woanders folgt.

https://netzpolitik.org/2024/x-odus-wir-verlassen-twitter/

Sdfendor,
@Sdfendor@chaos.social avatar

@netzpolitik_feed
Zeit wirds. Glückwunsch.

blindcoder, to php
@blindcoder@toot.berlin avatar

Just spent TWO HOURS debugging PHP code because I relied on my IDE and github Copilot which both didn't catch the bug in the code below:

<?php
if (array_key_exists("error", $response){
$return_value = [];
}
?>

Error message was: PHP Parse error: syntax error, unexpected token ";" in <file> on line 3

Yes, it's on me, but I'm supposed to test this tech for my employer and results are not looking favorably.

Edit: added proper line number for my example

Sdfendor,
@Sdfendor@chaos.social avatar

@blindcoder If you cut out the code and paste it in again, does anything change? I have problems with myself with the more recent versions, sometimes their (code highlighting, error reporting, warnings, refactorings etc.) seems to get stuck in a certain state, false positives or false negatives are the consequence. So I fix a problem which is underlined red and afterwards the underline stays in.
I as well tinker around with the plugin.

michael, (edited ) to php
@michael@thms.uk avatar

I've just updated to 2024.1 among others because I'm excited for the new terminal.

You are supposed to be able to enable this at Settings | Tools | Terminal | Enable New Terminal, but I don't have that setting.

Am I missing something?

[Edit: Turns out this is for the new UI only]

Sdfendor,
@Sdfendor@chaos.social avatar

@michael I see this in the "3-dots-menu" in the terminal panel. Does this help or is this also not present in your 2024.1 installation?

engler, to random German
@engler@chaos.social avatar

deleted_by_author

  • Loading...
  • Sdfendor,
    @Sdfendor@chaos.social avatar

    @engler @Topas Ich glaub hier spielt auch noch rein, dass es sich bei Mate nicht um Standard 8-Cent-Flaschen handelt, wie es bei dem hypothetischen Bier aus dem Norden der Fall wäre. Dabei gibt es meiner Erfahrung nach - insofern Glasflachen im Geschäft angeboten werden - wenig Probleme bei der Rückgabe, auch wenn das Geschäft die Marke nicht führt.

    Schrank, to php German
    @Schrank@phpc.social avatar

    Hey people! Is there a way to implement an abstract constant? I have an abstract class which implements some stuff for my value objects and a constant IDENTIFIER I would like to enforce to be overwritten by the child classes.

    It looks like there was a way in the past by using circular references: https://itecnote.com/tecnote/php-abstract-constants-in-php-force-a-child-class-to-define-a-constant/ but this doesn't work anymore.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @Crell A property declared readonly can be initialized from anywhere inside the class/the scope it was declared in, not necessarily the constructor.My idea was to have an abstract method doing it because of that.

    ordnung, to random
    @ordnung@chaos.social avatar

    And chaos.social is updated to mastodon v4.2.5.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @ordnung Danke!

    mikemccaffrey, to php
    @mikemccaffrey@drupal.community avatar

    Sorry but, "Error: Call to a member function label() on null" should not take down the cart functionality of an entire ecommerce site.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @mikemccaffrey I like the new stricter language character in much more than the old state of hiding errors and "doing something" with it (revolving around 'null' more often than not).
    Clean and robust code is possible to avoid such fatal errors.

    glynmoody, to random
    @glynmoody@mastodon.social avatar

    Blood oxygen feature now officially gone from Apple Watch - https://mashable.com/article/apple-watch-blood-oxygen this is how make our lives and health worse...

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @fietsria
    Huawei's watches do this as well.
    @bencurthoys @glynmoody

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @mathew They know how to use patents at least. They stopped AVM from selling WLAN routers in Germany recently. Maybe they adhere to them as well. I'm curious at least.

    noelreports, to random Dutch
    @noelreports@mstdn.social avatar

    Honest question. How alive is Mastodon?

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @noelreports
    It's well

    beandev, to random German
    @beandev@social.tchncs.de avatar

    Sehe ich das eigentlich richtig, dass im ohne Widerspruch sagen durfte, Deutschland habe im zweiten Weltkrieg verloren und man dürfe das deswegen nicht feiern?

    Es ist doch klar, dass sie damit Bedauern ausdrückt, Deutschland als Verlierer des Weltkriegs zu sehen?

    Es ist mir absolut unverständlich, warum die öffentlichen Sender, wie die , so eindeutige Nazipropaganda verteilt und nicht mal argumentativ dagegen hält.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @beandev Die öffentlich-rechtlichen haben aufgegeben. Die arrangieren sich gerade schon mit ihren neuen Meistern. Es wird sich weggeduckt und ja drauf geachtet eine falsche Gleichheit herzustellen, damit die rechte Meute bloß nicht den nächsten Shitstorm anzettelt und raunt.

    noelreports, to random Dutch
    @noelreports@mstdn.social avatar

    I am back from holiday 🙂

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @noelreports Missed you and your informative messages!

    jwildeboer, to random German
    @jwildeboer@social.wildeboer.net avatar

    Söder hat für morgen eine Sondersitzung des Koalitionsauschusses einberufen, wo sich die Freien Wähler und insbesondere Hubert Aiwanger erklären sollen. Es gehe um das „Ansehen Bayerns“ laut Söder. Ich frage mich nur ob Hubsi alleine kommt oder seinen Bruder mitbringt.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @jwildeboer Den ganzen Clan.

    Sdfendor, to rust German
    @Sdfendor@chaos.social avatar

    Wo nehm ich nur Motivation und Idee für den Start mit her 🤔.
    Finde die Sprache ja superspannend aber innerhalb meines aktuellen Jobs ist da kein Platz für.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @beandev Für die Hardware habe ich mich doch glatt mal auf die Benachrichtungsliste setzen lassen, wenn das DevKit wieder im Shop verfügbar ist 🙂👍

    jwildeboer, to random
    @jwildeboer@social.wildeboer.net avatar

    Musk will soon announce a rectangular device to interact with #𝕏 in immersive ways that you can connect to your TV. He will call it the 𝕏-Box.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @jwildeboer The chances for trademark infringement are already high (with among others 's trademark for "X", seems to also have one). Don't give him more ideas 🤣.

    Fparianen, to random German
    @Fparianen@mastodon.social avatar

    Doch, Christian, das ist hier nämlich ein freier Markt

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @Fparianen watch me 🔥

    guerda, to twitter German
    @guerda@ruhr.social avatar

    Ich bekomme ohne Login bei Twitter keine tweets mehr angezeigt. Jede Seite, ob Tweet, Suche oder Account leitet mich auf die Login-Seite um. Hat jemand ähnliches Verhalten?

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @guerda yes.
    Wird Zeit sich an nitter (https://nitter.net/about) Dauernutzung zu gewöhnen. Seit Monaten werden ja die Restriktionen, was ohne Account noch möglich ist, restriktiver.

    jpmens, to random
    @jpmens@mastodon.social avatar

    deleted_by_author

  • Loading...
  • Sdfendor,
    @Sdfendor@chaos.social avatar

    @jpmens
    So are they going to monetize IMAP?

    sr3, to random

    Now it's ??
    What's going on?

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @sr3 What went already done before it?

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @sr3 oh totally my fault: "what went down before". I thought the "now it's" implies some other platform went down before.
    And then I misspelled "down" as "done" 😆

    tomw, to internet
    @tomw@mastodon.social avatar

    Currently lets you set "hate groups" to "show" or "hide".

    But why not give a little slider instead? To put me in control of how much hate I wish to see.

    Actually, there could be two sliders, one for hate frequency and one for hate intensity.

    If there is insufficient hate for my chosen hate level, it could generate some using an LLM.

    Bluesky™: the precise amount of hate you choose, guaranteed.

    Sdfendor,
    @Sdfendor@chaos.social avatar

    @tomw
    A golden take if I ever saw one 🤩

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • rosin
  • InstantRegret
  • ethstaker
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • thenastyranch
  • Youngstown
  • tacticalgear
  • slotface
  • Durango
  • khanakhh
  • kavyap
  • megavids
  • everett
  • vwfavf
  • normalnudes
  • osvaldo12
  • cubers
  • GTA5RPClips
  • cisconetworking
  • ngwrru68w68
  • anitta
  • provamag3
  • tester
  • modclub
  • JUstTest
  • All magazines