• 39 Posts
  • 1.66K Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle




  • Ephera@lemmy.mltoich_iel@feddit.orgIch🐮🤓iel
    link
    fedilink
    Deutsch
    arrow-up
    2
    ·
    edit-2
    5 minutes ago

    Also wenn man konkret auf Dateipfade matchen will, dann sind Glob-Patterns das Mittel der Wahl. Sieht dann so aus: /home/fr*/Downloads/
    Der Stern ist dann eben ein Wildcard, so dass du damit z.B. die Downloads-Verzeichnisse der Benutzer franz und fridolin löschen könntest.

    Sonst kenne ich persönlich eigentlich nur immer so Einzelphänomene, also wo’s dann für eine Programmiersprache eine Bibliothek gibt, womit man dann ein Pattern z.B. mittels einer Builder-API zusammensetzen kann.
    Die können dann oft auch zu einem Regex übersetzt werden, so dass man sie in bestehende APIs reinwerfen kann, die eben ein Regex erwarten.
    Keine Ahnung, persönlich finde ich nicht, dass man sich dadurch das Erlernen von Regex sparen kann…





  • In my corner of the embedded world, it feels like everyone is practically jumping to integrate Rust. In the sense that vendors which haven’t had to innovate for 10+ years will suddenly publish a Rust API out of the blue. And I’m saying “out of the blue”, but I do also regularly hear from other devs, that they’ve been pestering the vendors to provide a Rust API or even started writing own wrappers for their C APIs.

    And while it’s certainly a factor that Rust is good, in my experience they generally just want to get away from C. Even our management is well aware that C is a liability.

    I guess, I should add that while I say “jumping”, this is the embedded world where everything moves extremely slowly, so we’re talking about a multi-year jump. In our field, you need to get certifications for your toolchain and code quality, for example, so lots of work is necessary to formalize all of that.


  • Yeah, particularly the broadcasting really irks me.
    That is an opinion you can hold for yourself and then make compromises as you encounter reality. I do expect programmers to hold strong opinions.

    But when you broadcast it, you strip yourself of the option to make compromises. You’re just saying something which is going to be wrong in one way or another in most situations. I do expect programmers to be smarter than that.



  • The problem is that it sounds like a riddle. In a riddle, you’re traditionally supposed to work within the rules that you’ve been told. So, not thinking outside the box here is not an indication that the person isn’t capable of doing so.

    Of course, if I encountered this problem in real life, I’d ask Carol from accounting to check the other room, while I flip the switches. But my instinctive answer was that it is not possible, because I assumed it to be a riddle and the provided rules did not allow a solution.







  • Ephera@lemmy.mltoProgrammer Humor@programming.devfoss
    link
    fedilink
    English
    arrow-up
    6
    ·
    6 days ago

    To be fair, you can also somewhat steer whether it will take off as a dev, by how you promote it and how much time you take to make it easily usable by others. Many devs really don’t care to have their passion projects take off, because it means you’ll likely spend less time doing your passion thing, more time doing user support.


  • Ja, auf den Paradigmenwechsel warte ich auch noch. Also so langsam kapieren die Leute, dass lange Texte nicht automatisch geil sind, und auch dass man nicht überall irgendwelche nichtssagenden Bilder reinwerfen muss, nur weil man es kann.

    Aber letztens hat z.B. bei uns das Management so 'ne Mini-Lotterie gemacht und am Ende wurden 3 Personen ausgewählt. Diese 3 Personen mussten dann natürlich per KI-Video verkündet werden, weil das der neue, heiße Scheiß ist.
    Aber wenn man’s eben mal trocken betrachtet, dann hatte das ungefähr die selbe Energie wie so ein Standard-Template aus dem Windows Movie Maker, anfang der 2000er Jahre.

    Also nicht nur, dass das Video inhaltlich maximal unspektakulär war (eine Schriftrolle hat sich entfaltet und dann wurde ein Schriftzug darauf geschrieben), sondern es war auch so unfassbar unpersönlich.
    Die vorstellende Person hätte einfach live dreimal den Zufallsgenerator laufen lassen können und von mir aus noch bei jeder gewürfelten Person kurz etwas jubeln können, und es wäre tausendmal spannender und menschlicher gewesen.


  • Yeah, would not surprise me. I imagine, the most susceptible to the marketing are teenagers, who have not yet developed partner preferences beyond superficial attractiveness and who may not feel as secured yet in their manliness or beauty or whatever.

    Convincing them that it’s a spray which gives you +1 to manliness/beauty, is a surefire way to print money. And since they have little experience what manliness/beauty actually entails, just giving your products stereotypical branding is the easiest way to do that.