[-] Scoopta@programming.dev 5 points 2 months ago

Always has? It's supported java and I think python for forever

[-] Scoopta@programming.dev 3 points 3 months ago* (last edited 3 months ago)

It's actually not. Objective-C is a superset of C. C++ is not. It's MOSTLY compatible...but it's not a superset. See the restrict keyword, or the need for casting to and from void*, or the inability to name variables new or delete, or class, or this. I can't count how many C projects I have which use this as a variable name that WILL NOT compile as C++...or the need for extern C to call C ABI code...in no way is it a superset

EDIT: lol, you can downvote me if you want but I think you need to lookup what a superset is

[-] Scoopta@programming.dev 5 points 3 months ago

There was actually a really interesting idea I heard to have no time zones. And I actually think it could be a good idea. It'll never happen because people would need to re-learn time but if it was always the same time everywhere it would make scheduling and business so much easier. No one would need to convert between different zones or be late because of an incorrect conversion. The downside is that times which are conventionally morning or evening etc, would no longer would be so people would have to get used to time just being a construct for scheduling and not a representation of the natural day/night cycle...but it actually doesn't sound like a half bad idea.

[-] Scoopta@programming.dev 5 points 3 months ago* (last edited 3 months ago)

The legal definition of piracy in regard to digital content isn't stealing. You cannot steal digital media as stealing by definition means the owner of the content is no longer able to sell it. If you steal an apple they can't sell it because you have it. Piracy of digital media is only copyright infringement, which is still illegal but regardless of how you feel about piracy it is fundamentally not theft.

[-] Scoopta@programming.dev 3 points 3 months ago

Also shows as dates on YouTube music

[-] Scoopta@programming.dev 4 points 5 months ago

I've thought sublinks was really cool, a lot of which because it's Java and I feel like modern Java doesn't get the love it deserves...but I am worried about it not being AGPL. At least for me the fact that Lemmy couldn't have it's codebase closed was a large appeal and this move doesn't sit well since it would allow instances to close source their backeds if they wanted to. I feel like AGPL is a requirement for user freedom with websites as it's the only open source license for the web.

[-] Scoopta@programming.dev 4 points 5 months ago

I do this in my code because it looks better and makes more sense...until I decide to declare 2 vars on one line and then I use the very cursed int* a, *b

[-] Scoopta@programming.dev 3 points 5 months ago

I personally run sway. I was really looking forward to kiwmi but that project looks dead

[-] Scoopta@programming.dev 3 points 8 months ago

You can send any signal manually including SIGSEGV and SIGABRT

[-] Scoopta@programming.dev 3 points 10 months ago

Discussions like this always bring me back to one thing...can a word itself be racist? Is it racist to use a word if it's not being said with racist intent? It's reminiscent of the gimp debacle...if a words use isn't intended to offend it's honestly beyond me how anyone could find it offensive. Are we supposed to ban every single word that has the slightest history of being used in an offensive fashion? Feel like we'd have a really long list if we did that.

[-] Scoopta@programming.dev 3 points 11 months ago

The mention of iOS 16 having 66% of system binaries not using swift is very interesting. I'm actually curious as to the equivalent number on Android. How many system APKs currently don't use kotlin?

[-] Scoopta@programming.dev 3 points 11 months ago

I get making fun of java's verbosity for things like checked exceptions but hello world really isn't that much worse than most other languages especially considering all the "boilerplate" is required for any program more complicated than hello world in pretty much every language. But if a useless program really is too verbose for you see java 21.

void main() {
  System.out.println("hello world");
}
view more: ‹ prev next ›

Scoopta

joined 1 year ago