• 0 Posts
  • 64 Comments
Joined 1 year ago
cake
Cake day: August 4th, 2023

help-circle


  • Klingon continuity is the only thing on here that can get me riled.

    Faith of the Heart is… whatever. What Janeway did to Tuvix, I definitely wish didn’t happen that way, but I can get over it.

    But dammit stop fucking up Klingons, please. TOS gets a pass (and Enterprise, whatever its other problems, retconned a continuity fix for that.) But every Klingon fuckup after that is inexcusable. (Some more inexcusable than others.)

    (Sorry. Sorry. I’ll go take ten deep slow breaths now.)


  • map := map[string] int {}

    Not sure where you got your examples, but the spacing is pretty wonky on some (which can’t possibly help with confusion) and this one in particular causes a compile-time error. (It’s kindof trying to declare a variable named “map”, but “map” is a reserved word in Go.)

    var test int < bruh what?

    This article gives the reasoning for the type-after-variable-name declaration syntax.

    :=

    Lots of languages have a colon-equals construction. Python for one. It’s not terribly consistent what it means between languages. But in Go it declares and assigns one or more variables in one statement and tells Go to figure out the types of the variables for you so you don’t have to explicitly tell it the types to use.

    func(u User) hi () { … }

    That function (“method”, really, though in Go it’s more idiomatic to call it a “receiver func”) has no return values, so no return type. (Similar to declaring a function/method " void in other languages.)

    The first pair of parens says to make this “function” a “method” of the “User” type (which must be declared in the same package for such a function declaration to work.) The whole “when I call it like u.hi(), don’t make me pass u as a parameter as well as putting u before the period” thing also has precedent in plenty of other languages. Python, again, is a good example.

    Oh, and the second set of parens are where the function’s (non-receiver) parameters go. Your example just doesn’t take any. A function like func (u User) say(msg string) { ... }, for instance, could be called with u.say("Hey."). func (u User) ask(question string) string { ... } has a return type of string. So you could do var ans string = u.ask("Wuzzup?") or ans := u.ask("Wuzzup?").

    I can’t say I was ever too taken aback with Go’s syntax. Just out of curiosity, what languages do you have experience with?



  • Doesn’t that require a much higher temperature than most beds would be able to safely achieve.

    I had to take the screen off of a Pixel not terribly long ago to replace the battery. I used a heat gun and I remember it requiring a temperature of like… 240C° or some such? And when I’m printing PLA, my printer bed only gets to 60C°. (Not saying it couldn’t go higher, but 240C° seems way higher than 60C°.)


  • Yeah, I’ve looked into it a little, and I know there are technologies for achieving that, but then again we’ve all seen videos of filters failing, yeah?

    It’d either have to be so reliable I could depend on it not getting confused and messing up even once even over many years or have some failsafe that made it just look like there was lag or something rather than showing my real face. (But also it couldn’t glitch if I stepped out of frame. Like, it’d suck if it decided the lamp behind me was my face or whatever. And probably it couldn’t restrict what I could do. Like, I wouldn’t want to have to be careful about the angle at which I turned my head or anything.)

    And it would have to be sufficiently plug-and-play that it wouldn’t take me a year of tweaking, coding, and testing to get right before deploying it for real.

    So, I dunno. I haven’t experimented with anything like overlay techniques directly, but it still seems implausible to me that anything fulfills all of those requirements.

    I suppose I’d also settle for “it glitches sometimes, but not in ways that show how uncombed my hair is and how rumpled my shirt is, but also everyone does it and everyone knows that everyone does it, so it doesn’t reflect poorly on you if they discover your secret.” But I think we’re also a long way off from that.

    And to be fair, I’m probably overthinking it to an extent and it probably wouldn’t actually reflect poorly on me if I did it. (They might be impressed. Who knows.) But still.



  • Are you kidding? Link is by far the most broken character. That grab and throw your opponent into the pit behind you trick is total BS. As is the upswipe and shoot with an arrow before they hit the ground move. You can just mop the floor against any non-Link character so easily. And that’s true whether both players are button mashing or both investing in learning the combos. (And to a surprising extent if the Link player is a button masher and the opponent is “good”.)

    And I say that as the douchebag who always played as Link. My record is 63 to 3 in one afternoon against a player who played/practiced just as much as I did and his character of choice was Nightmare. He knew the juggling combos and all just like I did, but Link is just broken beyond belief.

    Just like Kirby in Super Smash Brothers 64. (They nerfed Kirby a good amount in later Smash Brothers installments.)


  • A small triangle of tape, or just tape adhesive?

    I’d definitely be more inclined to think tape could be more of a concern than jist the adhesive. Probably if it were me, I’d just try to be more thorough about removing all the tape from the spool (and not worry about small amounts of residual adhesive.)

    Also, a description and/or picture of the filament and tape you’re talking about could help.


  • Would it really cause problems if it did? I’m thinking if it got into the hotend (especially at the small amounts we’re talking about), it would probably just melt into the molten filament and not really cause any issues.

    There are “filament filters” that are for keeping foreign materials from getting into the hotend, but they’re more for particulate things that won’t melt and might clog the nozzle. Tape residue (again, at such small quanties) surely would just flow through with the molten filament and be unnoticeable in the final prints.


  • So, first off, none of what I’m about to say would, on its own, be enough to cause me to downvote something. But since you asked about the “mostly…”

    Browsers are ridiculously bulky these days without adding plugins. On top of the bulkiness of the browser itself, “simple” web apps these days without adding to it. Animations use CPU and take time. Rounded corners and extra spaciousness use screen real-estate. I’m typing this on a Raspberry Pi 4. Chromium is unusable. Firefox is barely tolerable. And it doesn’t have to be that way. I’ve got a more powerful box, but it’s not what I’m using right now.

    (Yes, GPTheme is only 34k. But it’d have to be negative in size for that to be an argument that would work on me.)

    Plus, customizations like browser extensions require maintenance. One day OpenAI is going to update their markup and GPThemes is going to break. And if I was using GPThemes with ChatGPT I’d have to either uninstall it or go research whether there’s an update for it. If I set up a new device anywhere, I’d need to either be happy with an inconsistent experience of ChatGPT across devices or make sure I installed GPThemes on all of my devices, which is another step I could leave out to save time.

    Yes, this bit applies to all customizations. I don’t have any aliases in my .bashrc. I honestly prefer to just memorize things. The only real “customization” I ever do to my machines is remapping caps lock to escape. I’m just the sort of person who is very selective about what kind of customizations I consider worth it.

    Again, in the absense of my distaste for “AI” nonsense spilling over into non-AI-specific forums, none of this is a reason to downvote. Just a reason to scroll past. “Not my bag.” And some folks love customizing in ways like this. I definitely don’t have any problem with the fact that other folks’ calculus is different than mine in that regard.

    Since I’ve been so negative here, one thing I do like about GPTheme is the use of GPL-3.0 . I think copyleft is a hell of a good idea.



  • Wait, is this about SQL injection? Are they admitting that If I paste a piece of paper that says '; drop table streets; -- over their street sign it’ll fuck all their shit up?

    If so, this is not a problem that should be fixed by changing the street signs.

    Or is the problem that they’ve got people with limited technical skill manually constructing SQL queries to search these “geographical databases” and not knowing how to properly escape them?

    Or did some intern developer neglect to use a parameterized query and something broke and the management chain at the North Yorkshire Council who don’t even know what pebkac stands for heard “apostraphies are the problem?”

    Maybe they’ve got some image recognition thing on their mail trucks and the apostrophies mess up the otherwise-monospace letter spacing?

    Whatever the case, the whole idea of taking the apostrophies off the signs seems ridiculous to me.


  • TootSweet@lemmy.worldto3DPrinting@lemmy.worldHow do you build complex shapes?
    link
    fedilink
    English
    arrow-up
    12
    arrow-down
    1
    ·
    8 months ago

    I model exclusively with OpenSCAD and a shit ton of math. (Full disclosure, for some of the most absolutely complex things I’ve done, I’ve written Go code to generate OpenSCAD code. But it’s not often that I need that.) And I make some pretty complex things. I’m currently working off-and-on on a 3d-printable mechanical keyboard, for instance.

    OpenSCAD, in case you don’t know, is a straight up programming language for doing CAD. It doesn’t even provide you the option to adjust anything with the mouse.

    It’s hardcore, but it does the job.


  • Yeah, good call. I’d definitely say Creality is good about being open. I’ve flashed the firmware on one of my two Creality printers. And upgraded it a couple of times, though admittedly only with official Creality parts.

    I have a friend who had a printer that I believe didn’t have an SD card slot and the Wifi died on it, so it became roughly-speaking useless. I like to lean toward fewer moving parts even if it makes for some inconveniences like having to actually load it onto an SD card and put it in the machine.

    If I did really care about wifi connectivity, I’d probably still buy a machine without Wifi built-in and attach a Raspberry Pi running Octoprint to the side.



  • I’ve never had occasion to need to contact Creality customer support, and aside from bed adhesion with my Ender 3 Pro before I added a CR-Touch, I haven’t had any issues with my Creality printers. “No auto bed leveling out of the box” isn’t the case for most of Creality’s printers. (I didn’t mean to imply by “I would pay extra for autoleveling” that Creality makes you pay extra for that. Their bottom-of-the-line printers have autoleveling now-a-days.) And my experience with my two Creality printers was that they “work perfectly out of the box.”

    I don’t have any experience with Elegoo printers.


  • I’m a huge fan of Creality printers. If I were starting over today and didn’t have my eye on any specific bell or whistle, I’d probably get a Creality Ender 3 V3 or Ender 3 V3 SE. The Ender 3 Pro and Ender 3 V2 Neo I have now are great. Very reliable and easy to maintain.

    One bell/whistle I’d 100% pay extra for is autoleveling. (A z probe rather than a z endstop.) My Ender 3 Pro came with an endstop rather than a probe. As soon as I got the V2 Neo that does have a z-probe I immediately decided to upgrade my Ender 3 Pro with a z-probe. With just the endstop, I had constant issues getting the first layer to adhere, especially if I was printing something that used a significant portion of the bed.


  • TootSweet@lemmy.worldtoProgramming@programming.dev...
    link
    fedilink
    English
    arrow-up
    10
    arrow-down
    1
    ·
    edit-2
    8 months ago

    This might be an unusual answer, but OpenSCAD. OpenSCAD files are just so much easier to work with when you’re doing 3d printing than some random .stl file that might be non-manifold (have holes, self-intersections, whatever) and is usually really hard to modify in reasonably precise ways.

    If it’s an organic shape (a human form or whatever), then it probably makes sense to share it as an .stl. But if it’s a wall mount for some device or an enclosure for a Raspberry Pi or something, it’d be so much nicer if they’d made it in OpenSCAD rather than FreeCAD or TinkerCAD or whatever.

    If it’s not in OpenSCAD, it’s honestly more often than not unusable. Even if I don’t need to tweak the file. Unless it’s an organic shape kind of art piece, I usually end up recreating the same shape from scratch in OpenSCAD.