colonial

joined 2 years ago
[โ€“] [email protected] 40 points 11 months ago

> online gambling

Cry harder

[โ€“] [email protected] 4 points 1 year ago

We need better alternatives

We'd need a quantum leap in storage and bandwidth first - orders of magnitude better, if we want competing to be financially sane ๐Ÿ˜ฎโ€๐Ÿ’จ

Maybe when Google is (hopefully eventually) shattered into a million pieces by some US judge, YouTube could be splintered into several smaller companies, each with some portion of the infrastructure and channels/videos - thus forcing competition. Vaguely similar to the Bell divestiture.

[โ€“] [email protected] 38 points 1 year ago (8 children)

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

[โ€“] [email protected] 2 points 1 year ago (1 children)

I'm not well versed in the machinations of the Chinese government, but if a relatively "normie" VPN like Nord works in China... it's probably controlled opposition (i.e. they're logging everything to a government server.)

[โ€“] [email protected] 21 points 1 year ago (17 children)

set timers

This broke for me a few months ago. It just randomly... won't start, despite saying otherwise.

[โ€“] [email protected] 5 points 1 year ago (1 children)

That sounds like more effort than just... writing the code.

[โ€“] [email protected] 16 points 1 year ago (1 children)

Can't beat Iosevka in my opinion. I use the Term variant for my shell as well.

[โ€“] [email protected] 2 points 2 years ago

Too late, already moved to Garmin after my third dead Charge 5 in ~1.5 years.

[โ€“] [email protected] 5 points 2 years ago

$0.26/hour is pretty good!

[โ€“] [email protected] 1 points 2 years ago

Good, I would like to avoid interacting with the hallucination machine.

[โ€“] [email protected] 0 points 2 years ago* (last edited 2 years ago)

Well, that's to be expected - the implementation of map expects a function that takes ownership of its inputs, so you get a type mismatch.

If you really want to golf things, you can tack your own map_ref (and friends) onto the Iterator trait. It's not very useful - the output can't reference the input - but it's possible!

I imagine you could possibly extend this to a combinator that returns a tuple of (Input, ref_map'd output) to get around that limitation, although I can't think of any cases where that would actually be useful.

[โ€“] [email protected] 12 points 2 years ago (3 children)

It wouldn't be as relevant, since passing a function or method instead of a closure is much easier in Rust - you can just name it, while Ruby requires you to use the method method.

So instead of .map(|res| res.unwrap()) you can do .map(Result::unwrap) and it'll Just Workโ„ข.

26
submitted 2 years ago* (last edited 2 years 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.)

 

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

Originally posted 1/3/21.

 

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?

 

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

Originally posted 10/01/2021.

view more: next โ€บ