TerrorBite 7 months ago • 100%
@Zagorath I'm down in Canberra now.
TerrorBite 7 months ago • 100%
@Zagorath damn I missed it. I love T90
TerrorBite 7 months ago • 50%
@LainTrain That would be @soatok@furry.engineer. The blog itself is also federated at @soatok@soatok.blog
[tagging @vzq @programming for Mastodon->Lemmy federation]
TerrorBite 8 months ago • 100%
@Lynxtickler ahh, I misunderstood what you were referring to. Didn't realise you were talking about JSON Schema and not the JSON syntax itself.
TerrorBite 8 months ago • 100%
It's the other way around. The YAML schema supports JSON because YAML was designed as a superset of JSON.
TerrorBite 10 months ago • 100%
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.
TerrorBite 10 months ago • 100%
Also, good luck using
switch
without anybreak
s, 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.”
TerrorBite 12 months ago • 100%
@btaf45 tagging @programming so that this federates properly from Mastodon to Lemmy
TerrorBite 12 months ago • 100%
@nous That's a good way of putting it!
TerrorBite 12 months ago • 100%
@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.
TerrorBite 12 months ago • 100%
@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.
TerrorBite 12 months ago • 100%
@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).
TerrorBite 1 year ago • 100%
@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.
TerrorBite 1 year ago • 100%
@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
TerrorBite 1 year ago • 100%
@Zagorath I love me some spicy small-town drama.
TerrorBite 1 year ago • 100%
@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.
TerrorBite 1 year ago • 100%
TerrorBite 1 year ago • 100%
@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.
TerrorBite 1 year ago • 0%
@TehPers I really wish Python had a satisfying way to do interfaces.
TerrorBite 1 year ago • 100%
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.
TerrorBite 1 year ago • 53%
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.
TerrorBite 1 year ago • 100%
@JackbyDev oh damn wish I'd thought of that
TerrorBite 1 year ago • 100%
@LaggyKar I've never used it
TerrorBite 1 year ago • 50%
(tagging @programming for Mastodon→Lemmy federation – ignore this comment)
TerrorBite 1 year ago • 100%
@wth I have worked with GTK3 myself, and once I got used to its quirks, actually found it quite nice to work with. I was writing my code in Python too, which added some extra challenge, but the GObject introspection took a lot of the pain out of interoperating with what's basically a C library.
However, I'm aware that GTK has a bit of a reputation. The look and feel is great on Linux desktops that use it natively, but I do remember it looking pretty ugly cross-platform.
TerrorBite 1 year ago • 100%
TerrorBite 1 year ago • 100%
@snowe It's got its quirks. For example, if I am replying to someone who's not on programming.dev then I have to make sure to tag @programming (or another account on the instance) in order for my post to still federate to your server, otherwise only the person I'm replying to would see my reply and it wouldn't show in comments.
I did discover that adding the tag as a trailing reply to a missing comment thread will cause the entire reply chain to federate, so that's neat.
TerrorBite 1 year ago • 100%
@snowe a very common reason with Google products, I've found; up to and including not wanting to provide that product anymore.
TerrorBite 1 year ago • 100%
@snowe@programming.dev screw it, let's try HTML. [🖼 medias.meow.social/media_attac…]
TerrorBite 1 year ago • 100%
@snowe if not, I'll try markdown:
TerrorBite 1 year ago • 100%
TerrorBite 1 year ago • 100%
@snowe not sure if this image attachment is going to federate correctly from Mastodon to Lemmy
TerrorBite 1 year ago • 100%
@snowe Typing the character. With GBoard it's switch to numbers+symbols then press and hold a number (in this case 1) to access fractions and superscripts.
TerrorBite 1 year ago • 100%
@snowe @themoonisacheese I can type ¹ on a smartphone pretty easily
TerrorBite 1 year ago • 100%
TerrorBite 1 year ago • 100%
@KoboldCoterie @Wander Well that's lovely…
TerrorBite 1 year ago • 66%
@astraeus @Quill7513 firefox -P
TerrorBite 1 year ago • 100%
@LemUrun @southernwolf Yay, we're awesome!
Wait, this isn't my Lemmy account, I'm still on my mastodon
TerrorBite 1 year ago • 100%
@rmam Wow, this looks a bit broken on Mastodon… but it's still clickable.
TerrorBite 1 year ago • 100%
Hi @rikudou, your bot incorrectly flags for Mastodon users. I have to tag the community in my post, or it won't federate. And Mastodon tags seem to look like URLs to the bot.
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](https://pawb.social/c/tech)
Holy shit they kicked they kicked the tankies out of [@196](https://lemmy.blahaj.zone/c/196) 🔥🎆🏳️⚧️
cucumber\_irl [@furry\_irl](https://lemmy.ml/c/furry_irl)
Hello fediBB I'm posting like it's 2001! Shoutout to maff's bad post enjoyers [@main](https://fedibb.ml/c/main)