Skip Navigation

Posts
0
Comments
142
Joined
2 yr. ago

  • Wtf, since when can AI produce text in pictures that well without any errors? (Ignoring the clock though, I guess 😂)

  • That has nothing to do with the ampersand, it's just that post titles and bodies in general have different fonts. It's just easier to notice in the ampersand since it's so different between the fonts.

  • There are some cases though where the code is just complicated for reasons outside of your control, in which case "what" comments are good - but they should never be taken at face value, but only used as a first step in understanding the code. There's a significant risk of the code not actually doing what the comment says.

  • Oh, that sounds really cool! At what time does this validation happen? While you code, or later at build time?

  • I'm not talking full blown ORM here, not a fan of those either. I'm talking about some light weight wrapper that basically just assembles SQL statements for you, while giving you just a little more type safety and automatic protection against SQL injection, and not sacrificing any performance. I'm coming from the JVM world, where Jooq and Exposed are examples of that kind of thing.

  • As the other commenter said, the Jetbrains IDEs do this perfectly fine. Although I'd also argue that if you're working with SQL from within another language already, a DSL wrapper is probably gonna be the better way to go about this.

  • Well then use all-caps keywords whenever working on those systems, I don't care. But an edge case like that shouldn't dictate the default for everyone else who doesn't have to work on that, that's all I'm saying.

  • My ide isn't limited to color when it comes to highlighting, so being color blind generally shouldn't be a problem. Set keywords to underlined, bold, italic, whatever works for you.

    Your other examples I can see, but at least at my work those are rare edge cases, and I'd rather optimize for the brunt of the work than for those. Of course at other places those might be much more of a concern.

  • I understand it as an attempt to get very basic, manual syntax highlighting. If all you have is white text on black background, then I do see the value of making keywords easy to spot by putting them in all caps. And this probably made sense back when SQL was first developed, but it's 2023, any dev / data scientist not using a tool that gives you syntax highlighting seriously needs to get with the times

  • What exactly do you mean by "trust", here? Yes, it's not fully FOSS, and I do understand why you wouldn't like or use it because of that, but you can still verify the code, compile it yourself and build and run it with your own modifications, so how would being fully FOSS make you trust it more?

  • You're right that words can be coined and their usage changed, but you seem to be misinformed about how that happens. You just deciding we're gonna do it this way now in a random thread on lemmy is not gonna cut it, sorry

  • This is about language, not geology. Doesn't really matter how it came to be that way, North and South America are effectively treated as separate continents and very rarely referred to as a whole, and you saying "but actually" doesn't change that.

  • Even I myself am not gonna remember how to use my tool a couple months down the line, unless it's something I use very regularly.

    Edit: noticed I read the comment I'm replying to wrong, reworded to make more sense

  • I think what they're talking about is buying online without physical media, but still owning what you bought, as in, the actual movie, as a file on your disk. Best of both worlds - no plastic, no servers necessary for playback after a one time download. That is how things should work.

  • Ah, right, makes sense. I'm using a steam controller (or any other controller with steam, honestly) instead of a mouse, which works well enough

  • What's wrong with using YouTube in a browser?

  • I guess "secret" in the sense that not only the internals of the algorithm, but even the existence of the it is not quite public knowledge.

  • Nah, definitely not. As silly as it sounds, that was what I was most excited about in Windows 11 - finally some nice rounded corners on non-maximized windows.

  • Never heard of that, thanks for bringing it to my attention!