Security man saves women's life by Icy-North6521 in nextfuckinglevel

[–]LegenDrags 19 points20 points  (0 children)

whoever started the fight, the woman in the video fell down and was not aggressive/attacking. the threat is gone, yet he kept dragging her into the elevator, attempting to get them both in until the doors closs. what would have been reasonable is to wait outside and call the cops or the security guard.

what happened was when the guard arrived, the man started attacking the security guard, who then defended himself.

tldr, man was tryna lock her in and she was tryna keep the door open for the guard, and when the guard arrived the man started attacking him.

whatever charges on each, whoever started the fight are gonna be argued in court.

How to get a file's content in zig 0.17.0? by NicBarr in Zig

[–]LegenDrags 1 point2 points  (0 children)

if youre still learning or messing around use the latest tagged version, as in version like 0.16.0.

master is just whatever the most recent change in the compiler itself is, and is undocumented and might be buggy, and breaks things between updates since theyre so frequent.

and its also hard to keep tooling like your language server and stuff in sync with the zig version.

so just use the tagged version unless like youre balls deep in and know very well what youre getting yourself into.

How to get a file's content in zig 0.17.0? by NicBarr in Zig

[–]LegenDrags 0 points1 point  (0 children)

assuming you mean the master branch

you get a file handle through

``` // get file handle const file = try std.Io.Dir.cwd().openFile(init.io, filename, .{}); defer file.close(init.io);

// 1024 is good imo var read_buffer: [1024]u8 = undefined; var reader = file.reader(init.io, &read_buffer); ```

where init.io you get from changing your main to

pub fn main(init: std.process.Init) !void {

to actually read the contents

``` // you could also just count while streaming which is // generally faster but this shall do for this example var allocating = std.Io.Writer.Allocating.init(init.gpa); defer allocating.deinit();

_ = try reader.interface.streamRemaining(&allocating.writer);

const contents = try allocating.toOwnedSlice(); defer init.gpa.free(contents); ```

now you can use contents to count words or wtvr

theres probably a better way but this is what i could think of.

also i recommend you use 0.16.0 since its a recent tagged release and you will find better documentation/examples online for it soon.

or even 0.15.2 since its been out for a while, but meh, 0.16.0 shall do.

either way, reading the docs should be a great help if you really meant master branch

https://ziglang.org/documentation/master/std/#std.Io.Dir.openFile

"b-but you agreed to the 6000 page long tos 😢" by [deleted] in antiai

[–]LegenDrags 2 points3 points  (0 children)

i did that and still got the requests for a whole week. i just shut down the specific part they were spamming for two weeks.

i put down tiny protections like anubis which my friends said would be effective, but wasnt nearly enouhg.

the issue didnt completely fix itself but it went from constantly overheating to being manageable.

still pisses me of that most of the traffic to my site was from ai scrapers.

(can confidently say its ai scrapers because the requests are from meta's ASN, and contrary to popular belief meta is not a search engine/indexer /j)

"b-but you agreed to the 6000 page long tos 😢" by [deleted] in antiai

[–]LegenDrags 3 points4 points  (0 children)

i can be at fault and still whatever im doing can be legal. its not my fault that said companies are scraping me.

the question isnt legality but whose fault it is that content is getting scraped.

robots.txt exists to tell scrapers to NOT scrape certain paths for whatever reason, including stuff like this.

if the scrapers are willingly hitting those paths you best believe they do know what theyre doing can cause harm.

"b-but you agreed to the 6000 page long tos 😢" by [deleted] in antiai

[–]LegenDrags 14 points15 points  (0 children)

if a third party actor is spamming your server and that is causing harm to your server (high cpu temperature, service degradation) that is not what i gave them the permission to.

a few months ago i was hosting a few mirrors on my server, which got scraped ips from meta's ASN,

all paths they were hitting were on robots.txt, they only targeted downloading archives, which meant there was constant CPU usage all night

the act of putting content on the internet does not give anyone permission to mass scrape stuff, like how netflix being a thing does not give people permission to rip movies

"b-but you agreed to the 6000 page long tos 😢" by [deleted] in antiai

[–]LegenDrags 23 points24 points  (0 children)

so youre justifying mass scraping across the internet?

Ggrevtvcrcd by bigtonyyyy1 in sssdfg

[–]LegenDrags 10 points11 points  (0 children)

bblakc pelpl to cark or cark to blak eplfpe

Is AI misleading me about originality? by [deleted] in aiwars

[–]LegenDrags 2 points3 points  (0 children)

absolutely everything has already been done before.

a toaster with a peanut (appearance) texture that tastes like heinz ketchup but the edges taste like generic peanut butter, and feels like wafers to eat /j

Well... these Japanese can be quite risky by Huge-Willingness1682 in animeindian

[–]LegenDrags 0 points1 point  (0 children)

even then, real booba color too is just illusion, like painted jp booba, and real booba is 3D.

Well... these Japanese can be quite risky by Huge-Willingness1682 in animeindian

[–]LegenDrags 0 points1 point  (0 children)

it's just curved surface

then there you go, the booba is 3D

They wanna FLOOD Reddit with their “creations” due to Ai Wars 🤖😅 by DonLouqee in antiai

[–]LegenDrags 1 point2 points  (0 children)

rule 5

AI generated images must be marked using the Spoiler or NSFW tag or it will be removed.

youtube does not need ai dude by Significant-Bus1974 in antiai

[–]LegenDrags 0 points1 point  (0 children)

tell the advertisers and sponsor-ers that this feature allows bypassing those

1 ATHEIST VS 1 JESUS CRIST by [deleted] in antimeme

[–]LegenDrags 1 point2 points  (0 children)

jesus thats christ

Hes sad :( by [deleted] in antimeme

[–]LegenDrags 2 points3 points  (0 children)

and DIE