[-] [email protected] 32 points 1 month ago

> online gambling

Cry harder

[-] [email protected] 37 points 3 months ago

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

[-] [email protected] 60 points 4 months ago* (last edited 4 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.

[-] [email protected] 41 points 9 months ago* (last edited 9 months 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.

[-] [email protected] 31 points 9 months ago

After all, the discipline has always been about more than just learning the ropes of Python and C++. Identifying patterns and piecing them together is its essence.

Ironic, considering LLMs can't fucking do that. All they do is hallucinate the statistically likely answer to your prompt, with some noise thrown in. That works... okay at small scales (but even then, I've seen it produce some hideously unsound C functions) and completely falls apart once you increase the scope.

Short of true AGI, automatically generating huge chunks of your code will never end well. (See this video for a non-AI example. I give it two years tops before we see it happen with GPT.)

Also... not hating on English majors, but the author has no idea what they're talking about and is just regurgitating AI boosterism claims.

[-] [email protected] 32 points 10 months 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.

[-] [email protected] 38 points 10 months 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!

[-] [email protected] 33 points 10 months ago

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

[-] [email protected] 44 points 10 months 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.

25
submitted 11 months ago* (last edited 11 months ago) by [email protected] to c/[email protected]

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.)

[-] [email protected] 50 points 11 months ago* (last edited 11 months 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.

[-] [email protected] 36 points 11 months ago* (last edited 11 months 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.
[-] [email protected] 140 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.

198
submitted 1 year ago by [email protected] to c/[email protected]

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
submitted 1 year ago by [email protected] to c/[email protected]

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

Originally posted 1/3/21.

5
submitted 1 year ago by [email protected] to c/[email protected]

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?

18
submitted 1 year ago by [email protected] to c/[email protected]

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