[-] colonial@lemmy.world 37 points 5 months ago

> online gambling

Cry harder

[-] colonial@lemmy.world 36 points 7 months ago

Oof. Looks like this affected some other languages as well - somebody at Microsoft needs to up their documentation game, methinks.

[-] colonial@lemmy.world 59 points 8 months ago* (last edited 8 months ago)

I understand the sentiment, but... HTML and some light CSS is just as fast and much more accessible. It just strikes me as something that defines itself in opposition to "thing everyone uses" for no good reason.

[-] colonial@lemmy.world 39 points 1 year ago* (last edited 1 year ago)

Most of the more exotic colors (such as green) are caused by various optical tricks.

Physically speaking, all true stars are roughly one of these colors:

  • Red
  • Orange
  • Yellow
  • White
  • Blue

The exact color of a star depends on its size/temperature. Red stars are the coolest, while blue stars are the hottest.

[-] colonial@lemmy.world 32 points 1 year ago

After seeing the various forms of black magic Nintendo devs have pulled off with what is essentially decade-old tablet hardware... yeah, fine by me.

[-] colonial@lemmy.world 33 points 1 year ago

In before one of them starts stripping or firewalling the phone-home code. What's Unity gonna do? Valve hasn't signed any contracts with them!

[-] colonial@lemmy.world 33 points 1 year ago

For the sake of your sanity, I hope there's a resolution to this that doesn't involve a rewrite.

[-] colonial@lemmy.world 46 points 1 year ago

I installed an optimized textures mod and instantly improved my performance by like... 20 frames, maybe more.

I have an RX 6600 XT that can run Cyberpunk on high no problem. C'mon Bethesda, the game is really fun, but this is embarrassingly bad optimization.

33
submitted 1 year ago* (last edited 1 year ago) by colonial@lemmy.world to c/programming@programming.dev

Inspired by the comments on this Ars article, I've decided to program my website to "poison the well" when it gets a request from GPTBot.

The intuitive approach is just to generate some HTML like this:

<p>
// Twenty pages of random words
</p>

(I also considered just hardcoding twenty megabytes of "FUCK YOU," but that's a little juvenile for my taste.)

Unfortunately, I'm not very familiar with ML beyond a few basic concepts, so I'm unsure if this would get me the most bang for my buck.

What do you smarter people on Lemmy think?

(I'm aware this won't do much, but I'm petty.)

[-] colonial@lemmy.world 50 points 1 year ago* (last edited 1 year ago)

Cringe. Not everything needs to be offloaded to someone else's computer.

And frankly, why would I pay some sort of fee (which they will eventually charge, even if they don't right now) for the "privilege" of having rustc fight for execution time on a vCPU somewhere in California?

Every day that passes I lean further towards pursuing a career in embedded.

[-] colonial@lemmy.world 35 points 1 year ago* (last edited 1 year ago)

I'm a big fan of Rust.

  • Excellent tooling. The package/build manager (cargo) just works, the compiler's error messaging is simply unmatched and the IDE story is excellent thanks to rust-analyzer.
  • Rich ecosystem. There's a crate for almost anything you could need, and endless piles of learning resources.
  • You get the speed and low-level control (if necessary) of C/C++ without all the pain and legacy baggage.
  • The community tends to care a lot about correctness and API design, which is reflected in both the core language and the ecosystem. Rust doesn't try to hide complexity and pretend things are simple (like Go) - instead, it gives you the tools to manage it head-on.
    • Example: if a function can fail, then it returns a Result and you have to explicitly handle the possibility that something went wrong. There's no forgetting a null check and slamming face-first into a NullReferenceException or segfault in some other part of your code.
  • It's expressive. Iterators, generics/traits and other language features make it easy to communicate what's going on to both the machine and other humans. Even the syntax is designed to support this - you can tell a lot just by looking at a function signature.

Obviously it's not all perfect, however.

  • Compile times can drag you down. (rustc is always getting faster, of course, but it'll probably never be as fast as Go or JVM/NET.)
  • It can be difficult to read at times, especially when code starts leaning heavily into generics and lifetime annotations.
  • Speed and control comes at a cost. No garbage collector means that anyone coming from a managed language (which, hello, that was me) is going to have to rewire their brain to deal with lifetimes, ownership and mutability XOR aliasing. You eventually develop an intuition for how to structure your code to play nice with the compiler, but that takes time.
  • New language features can take a long time to be stabilized and released. The advantage is they tend to be baked all the way through from day one, but the slow pace can be infuriating, especially when big ecosystem advancements are hung up on key additions.
[-] colonial@lemmy.world 32 points 1 year ago

If you actually read the page, it's intended as a tongue-in-cheek box-checker.

This document was originally called a "Code of Conduct" and was created for the purpose of filling in a box on "supplier registration" forms submitted to the SQLite developers by some clients.

This document continues to be used for its original purpose - providing a reference to fill in the "code of conduct" box on supplier registration forms.

[-] colonial@lemmy.world 125 points 1 year ago

Firefox and its derivatives. They're the last free bastion preventing a Chromium monopoly on the browser market, which is hugely important - especially these days with Google's push for Mv3.

188
submitted 1 year ago by colonial@lemmy.world to c/linux@lemmy.ml

I was 11 when I took this screenshot - Ubuntu 14.04 running on my very first (incredibly bad) PC. As I recall, I couldn't install Windows 7 without a DVD drive, and that was out of my budget :p

Pretty sure I had it riced out with the Compiz cube and everything.

5

Reposting my all-time best performing squid game meme from Reddit.

Originally posted 1/3/21.

9

Hey all,

I just hopped on the Lemmy train, and needless to say, I'm hooked. It's a breath of fresh air compared to the corporate hellhole that Reddit has become, and I'd like to at least pay a little bit for it.

Unfortunately, I'm a broke uni student with enough subscriptions as is, so I can really only justify a buck or two a month. This is where my indecision arises - should I donate to the instance that my account lives on, or to the LemmyNet project itself? I've been digging around, looking at operating costs and such, and I can't figure out which one needs it more (for want of a better term.)

So, what are your thoughts? Or am I just wildly overthinking this?

12
submitted 1 year ago by colonial@lemmy.world to c/sbubby@lemmy.world

Copying over some of my posts from Reddit, since I'm probably gonna nuke my account.

Originally posted 10/01/2021.

view more: next ›

colonial

joined 1 year ago