Skip Navigation
The Tech Industry Doesn’t Understand Consent - Dhole Moments
  • @LainTrain That would be @soatok@furry.engineer. The blog itself is also federated at @soatok@soatok.blog

    [tagging @vzq @programming for Mastodon->Lemmy federation]

  • Introducing Pkl, a programming language for configuration
  • @Lynxtickler ahh, I misunderstood what you were referring to. Didn't realise you were talking about JSON Schema and not the JSON syntax itself.

  • Introducing Pkl, a programming language for configuration
  • It's the other way around. The YAML schema supports JSON because YAML was designed as a superset of JSON.

    @Lynxtickler @canpolat

  • Should we defederate hexbear?
  • @trk Coming from Mastodon, I have already learnt that it's not worth putting up with the negatives just to get a few extra users.

    @Zagorath

  • Real quick question about the "break"
  • Oh absolutely. I can think of several situations where that wouldn't work well or at all, for example, a switch statement that sets up variables to be used in the rest of the function.

    @zib @UnRelatedBurner @programming

  • Real quick question about the "break"
  • Also, good luck using switch without any breaks, but I'm guessing that's not quite what your teacher had in mind.

    The teacher, probably: “You must always put a switch in its own function! Then use return at the end of each case.”

    @zib @UnRelatedBurner @programming

  • Weaknesses of agile and Scrum
  • @btaf45 tagging @programming so that this federates properly from Mastodon to Lemmy

  • Weaknesses of agile and Scrum
  • @nous That's a good way of putting it!

  • Weaknesses of agile and Scrum
  • @btaf45 in my case, we as a team could have done that, because we didn't have management dictating how we did anything. It was our choice to do what worked for us, and it was a valuable tool for dealing with whatever got thrown at us.

    Now I'm working in a different place that dictates Agile and Scrum to be done Their Way, on top of a project that's largely waterfall-like to begin with, and I'm starting to see why people say it doesn't work.

    It works, BUT, only when you're using it as the right tool for the right job and not when management decide to misapply it as a hot new planning methodology.

  • Weaknesses of agile and Scrum
  • @btaf45 @mspencer712 The whole point of Scrum is to use the retrospective to stop doing what doesn't work and start doing what does.

    At one point, when my team's workload changed to less-timeboxable work, we threw out the entire concept of sprints and just used kanban instead, and stayed like that for a year. We still did retrospectives on the old sprint cadence though.

  • Most UI Applications are Broken Real-time Applications
  • @verdare @lysdexic they are, but you have to be an enterprise customer.

    https://ubuntu.com/blog/real-time-ubuntu-is-now-generally-available

    https://learn.microsoft.com/en-us/windows/iot/iot-enterprise/soft-real-time/soft-real-time

    RTOS are not going to become consumer operating systems, because there's too much value in selling it as a capability to enterprise customers (who are largely the consumers who REQUIRE a RTOS, rather than it merely being a convenience).

  • *Permanently Deleted*
  • @Andy @BeanCounter Given how many of these start with "Lemmy" you could simplify this to:

    https://(lemmy\\.(?:run|(?:fmhy\\.)?ml|dbzer0\\.com|world|kde\\.social|ca)|lemmygrad\\.ml|lemdro\\.id|beehaw\\.org|sh\\.itjust\\.works|(?:sopuli|mander)\\.xyz|zerobytes\\.monster)/c/(.\*)

    Or just assume that anything matching https://(lemmy\\.[^/]+)/c/(.\*) is a Lemmy server, which will probably be correct.

    Edit: some kind of interaction between Mastodon and Lemmy has doubled all my backslashes. That is not intentional.

  • Reply-All Email Mistake Leads to Teacher's Dismissal at Marist College Ashgrove
  • @Zagorath i had to check where "in here" is, because I'm following you on Mastodon and all your posts just look like toots with a URL to me

  • Wireless charging technique boosts long-distance efficiency to 80%
  • @kier I am no expert, but there are I believe other mechanisms that could *maybe indirectly* cause cancer with certain kinds of radiation. I feel like cell damage from microwave- or infrared-induced heat could release free radicals or create some other carcinogenic chemicals.

    But that's not a direct result of the radiation. Direct DNA damage from radiation only occurs with ionizing radiation, as you mentioned.

    And since we're talking about visible light, I'm not aware of any way, indirect or otherwise, that visible light could cause cancer.

    @Anticorp

  • What are your programming hot takes?
  • @sbstp @bouh I can just see people giving fecetious answers to this question.

  • What are your programming hot takes?
  • @nthcdr this assumes that people write sensible and thorough commit messages, instead of brief five-word ones or, say, song lyrics. Both of which I've seen.

    I at least try, except maybe for the other day where my commit message consisted entirely of an exasperated "why", followed by a revert.

    That being said, every commit message where I work is required to contain a ticket number (and the server will reject the push if you don't) so at least there's that for context.

    @257m @programming

  • What are your programming hot takes?
  • @TehPers I really wish Python had a satisfying way to do interfaces.

  • What are your programming hot takes?
  • Python has had syntax support for type annotations for a while now. The Python runtime doesn't enforce the typing at all, but it can be enforced by a linter or by your IDE. And I believe you can introspect the type annotations at runtime, because they are actually part of the syntax.

    There's even an alternative way of doing type annotations through specially formatted comments, just in case you might still need to write code that is backwards compatible with Python 2.

    @escapesamsara @navi @programming

  • What are your programming hot takes?
  • If your code files don't contain more lines of comments than lines of actual code, then you're doing it wrong. (For Python, docstrings count as comments)

    And your comments shouldn't say what each line of code is doing. If you can code, then you can already tell what each line is doing by just reading the code. The comments should explain WHY it's being done this way, or HOW it's being done, or highlight some pitfalls that might snare a future developer, and generally just give some higher level context to a line or block of code.

    @257m @programming

  • Furry Technologists @pawb.social TerrorBite :veripawed3: @meow.social
    Is it time for subpixel antialiasing (aka "cleartype") to die?

    Is it time for subpixel antialiasing (aka "cleartype") to die?

    RGB pixel subhinting is a hack that was invented for 72dpi LCD displays. But we are increasingly seeing high-DPI displays in use, where simple antialiasing is superior. In fact, modern phones rarely use this technology any more.

    Some also argue that text with greyscale antialiasing is more readable on modern displays than text with subpixel rendering.

    What do you think?

    @tech

    5
    Holy shit they kicked

    Holy shit they kicked

    they kicked the tankies out of @196 🔥🎆🏳️‍⚧️

    4
    furry_irl but on Lemmy @lemmy.ml TerrorBite :veripawed3: @meow.social
    cucumber\_irl

    cucumber\_irl

    @furry\_irl

    0
    Test post please ignore

    Test post please ignore

    Ok so, I am posting from Mastodon and just want to see if this is how I create a new post. No idea if this will work.

    @lemmy

    3
    TerrorBite TerrorBite :veripawed3: @meow.social

    I'm a lion from Australia! (he/him)

    \#nobot (please do not index this profile in search engines)

    Posts 5
    Comments 98