Dark_Arc
100
2397
Dark_Arc

@social.packetloss.gg

Hiker, software engineer (primarily C++, Java, and Python), Minecraft modder, hunter (of the Hunt Showdown variety), biker, adoptive Akronite, and general doer of assorted things.

Dark_Arc 270 points 3 years ago

I think you've got Gen Z and Millennials backwards.

path: 0 6061286, hotness: undefined, score: 270, children: 35
Dark_Arc 230 points 2 years ago

I would argue the top picture is also a big no no.

path: 0 10896302, hotness: undefined, score: 230, children: 40
Dark_Arc 210 points 2 years ago

As much as that makes a great story... The groundwork for lemmy goes back years. It's true that lots of issues were addressed and client apps were ported after Reddit started going down hill, but a ton of work was done beforehand to make that all possible.

path: 0 6394265 6394393, hotness: undefined, score: 210, children: 10
Dark_Arc 170 points 3 years ago

It's not a broad generalization at all. It's a widespread pattern of hypocritical and contradictory conservative outrage, statements, and laws.

  • "I should be able to teach kids about the Bible in school, but you can't teach them about Yoga"
  • "we can't have vulgar language, oh unless it's from our religious book"
  • "I can't make a cake for you because you're gay and that's against my religion. What do you mean you won't make a Christian cake? That's religious discrimination!"
  • "Happy holidays!??! Happy holidays??! You monster, how dare you wage war on Christmas! We have religious liberty in this country! What do you mean that protects other religions? There's only one God and one religion!"
  • "It's totally fine that the polling places in large democratic areas have hours long waits so long as my polling places are quick and easy"
  • "it's totally fine that a county with 10,000 people has the same number of ballot drop boxes as a country with 3,000,000 people"
  • "marriage is between a man and woman ... and may include 17 divorces; they gays can't have it"
  • "we need to teach kids (i.e., indoctrinate them in the ways of) Jesus not this woke (black history, trans, etc)"
  • "let's let white kids off with a slap on the wrist while we throw a black kid in jail for smoking a plant"
  • "I can't believe a president could have such a scandal in the white house as to have had an affair with an assistant! We need to impeach! No, I don't think extorting an ally for information about an opponent is worthy of an impeachment! Trying to overthrow a legitimate presidental victor with a procedural trick? Nah that's not worth an impeachment either! Oh but hey, this Biden guy's son who lost one of his parents and a sibling in a car crash, that lost his brother to cancer, that has a drug problem, called his dad while he was in business meetings to show off... so you know his dad definitely was up to something! We've got to impeach him over that! What do you mean that was before he was even president and that's completely unprecedented?"
  • "We should totally lock her up for those emails! What do you mean the guy screaming that's son and law did the exact same thing?"
  • "We're sorry we can't appoint a supreme court justice just before the election! Psych! We totally can if it's nominated by OUR president!"
  • "We need law and order in this country! What do you mean Trump broke the law? Nah, I'm not hearing it; this is clearly a partisan witch hunt and the majority conservative staff of the FBI is out to get conservatives! Oh but we'll DEFINITELY weaponize the federal government and go after our political rivals full steam if we get the presidency in 2024"
  • "I believe abortion is amoral, that's why I hid the fact that my ex/current lovers have had one"
  • "I believe homosexuality is amoral, that's why I am one in the closet"
  • "we're going to be the party of health care, but don't watch as we strip you of your federal protections for your health care"
  • "we're the party of the little man, but don't watch as we cut taxes for the rich (and you but make sure that expires under the next term (probably while the Democrats are in power)"
  • "the national debt is an outage! Oh let's spend as much as Obama did in half the time! Oh Biden is in power again, spending is out of control!"
  • "the problem isn't guns it's mental health, but we're not going to do anything about that either! Must be because the kids aren't in church, the gays, video games, or hey look over there, a squirrel!"
  • "climate change? Nah. It's not real. Okay maybe it is, but it doesn't matter because look at China! Oh we could make a dent and get the ball rolling? Well, it's too late anyways, we should've been building nuclear plants! What do you mean I just made that up? Clearly I've been trying to solve this via nuclear the whole time, and it's not another dog whistle! Oh and btw all of my top presidential candidates say they don't believe in man made climate change! But yeah, totally serious about this issue!!"

... and that's just off the top of my head. If you're a conservative, wake up, your party is a mess.

path: 0 3079121 3081446 3081962 3084238, hotness: undefined, score: 170, children: 51
Dark_Arc 153 points 2 years ago

Click bait avoided, a prerelease build of Windows suggests some kind of general advertising in the start menu beyond promoting ads.

path: 0 9643936, hotness: undefined, score: 153, children: 27
Dark_Arc 113 points 2 years ago

This is my take as an Akron resident:

  1. We have a new community controlled local police oversight board.

  2. The officer was called with the pretext that someone had been brandishing a firearm / pointing a gun at houses.

  3. You can't see very well what the officer could see because the view is obstructed. It's entirely possible that the kid complied but accidentally pointed the gun towards the officer.

  4. The officer shot exactly 1 time and shot in a non-lethal manner (the hand was shot). This was not a murder attempt, this was in a way the extra mile, the kid will hopefully make a full recovery.

  5. The fake gun is not an orange tipped fake, it's very similar to a real looking gun. The kid also was not with friends "playing pretend" or anything like that.

  6. As soon as the kid started yelling the officer immediately deescalated the situation and moved towards first aid.

  7. The officer does have a messy history, particularly when alcohol is involved and when off duty, but was entirely sober at the time of the shooting and has never been known to be drunk while on duty.

  8. We have had issues in the past few years locally particularly with teen violence. They've been trying to solve it, but some kids are carrying guns and robbing people, some kids have been carrying guns to protect themselves from the other kids, and evidently some kids are carrying fake guns too.

I'm glad this kid got to walk away with their life. I hope their hand isn't too messed up and I hope they don't have too much mental distress. They never should've walked around in public with a toy gun and "showed it off", and I hope they never do this again.

If the officer really did something wrong, I'm sure we'll get to the bottom of it, but as it stands, I think the officer reacted reasonably.

path: 0 9284479, hotness: undefined, score: 113, children: 41
Dark_Arc 106 points 2 years ago

Python is memory safe? Can't you access/address memory with C bindings?

You can do that in basically any language. Rust even has the ability to break out of its safeguards and write unsafe Rust code.

"Memory safety" in this context is more about the defaults and how easy it is to write unsafe code accidentally.

path: 0 8600662, hotness: undefined, score: 106, children: 24
Dark_Arc 104 points 2 years ago

I've had friends 20 or 30 years older for well over a decade.

... your son is an adult. I think you're being the weird ones about this personally.

path: 0 13754993, hotness: undefined, score: 104, children: 0
Dark_Arc 99 points 2 years ago

We were always paying, the price just wasn't obvious

path: 0 6569750 6571283, hotness: undefined, score: 99, children: 1
Dark_Arc 95 points 2 years ago

I'm not sure there's any other good reaction than the one you had.

Maybe he was just "checking you out" and being very untactful and impolite about it (i.e. he's just awkward).

Maybe he was looking at something else near you ... but probably not.

But also maybe, he's not right in the head and was thinking about doing more than just looking...

My advice (as a guy) is either:

  • Look for another person nearby (or a couple/group), voice your concern, and ask them to walk with you away from the situation.
  • If that fails, just do your best to leave but stay situationally aware.

I'm also going to add, that "look for help thing" includes looking for random guys that weren't creeping you out that might be walking by. I know there's the whole stranger danger thing that most of us were raised with, but ... most guys are not rapists. If you just look for a normal looking dude (or someone that really looks like they've got their shit together) and ask them... I'd say 9/10 they'd be more than happy to get you out of that situation.

We need to (as a society) normalize women letting guys know about problematic men.

path: 0 13695394, hotness: undefined, score: 95, children: 6
Dark_Arc 94 points 2 years ago

This from the start has seemed to me like a prosecutor trying to make a name for themselves by taking down a famous person.

If you're doing a scene where you throw acid on somebody is the person throwing the acid supposed to check to make sure it's not actually acid before they throw it?

Should they check to make sure the knife they're about to stab someone with is actually a prop?

If you get to the person who's been told to "do this action convincingly" and you want them to double check all the safety work you're doing it wrong. Their job isn't making sure they've been given safe tools, it's using safe tools to make someone that's fake but convincing.

Everyone in the armoring company should be charged with murder ... but Alec Baldwin did not put live rounds into a gun. He went into work, did his job, and because other people screwed up someone got shot. Maybe the industry itself needs to change but that shouldn't be Alec Baldwin's problem. That's not justice.

path: 0 6851501, hotness: undefined, score: 94, children: 52
Dark_Arc 87 points 2 years ago

Looks like he'd done a lot for various US companies on his LinkedIn.

I would not be surprised if he was previously legit but pressured into doing this by the CCP.

path: 0 8943507 8944038 8944815, hotness: undefined, score: 87, children: 3
Dark_Arc 79 points 2 years ago

There's some definitive "do it, you won't" energy here.

Which to be fair, it would look really bad for Boeing if this guy "committed suicide" too. To the point it might actually be safer to be the second guy.

path: 0 9261298 9261331, hotness: undefined, score: 79, children: 7
Dark_Arc 78 points 2 years ago

I think the interview I least enjoyed was with an unnamed big tech company.

It was the first interview of the day and the guy came in with "so me and my buddy have been trying to solve this algorithm problem for years. I'd like you to try and solve it for me."

Like... Dude, that's not a reasonable interview question! You should not use algorithm questions that you don't know of any answer to in an interview. You're effectively asking someone to give you a solution to something way too complicated of a problem without even a few hours to think about the problem or sit down with it on their own.

path: 0 13108248, hotness: undefined, score: 78, children: 10
Dark_Arc 74 points 2 years ago

So most dorms don't want you using your own routers because a bunch of student routers causes A LOT of inference.

You should probably reach out not to the dorm folks but the university networking folks as they're the ones that will ultimately make the decision on whether or not to turn things off/disconnect you.

A cheap networking switch would probably be okay by them to get some more wired connections in your dorm room (routers aren't really a great way to do that).

https://www.amazon.com/Linksys-Business-LGS105-Unmanaged-Enclosure/dp/B00FV12VSW/ref=mp_s_a_1_1_sspa?crid=3PUXDK6TFLZIT&dib=eyJ2IjoiMSJ9.zm2b2eGNCSReGFJuUskv6-s3cUVDK12lfqOmf729Jjx1nw8mI07xRjx4RZCcnWDhplIUW-7IOfSn6R7TMu0yVy_k9hGXtOs0SNS7RO8sN4RI5aa_8-iwSOXz6biaUH5pE27eM8eYyBzJl9tkYxX4erfrbMwkWwhSrqIKQGOSqx1DQ1z5ZiDGCyQ_u0k8IhaN1Ra-Zpsr07cg-ZjJnDz6lA.iHHYMOhPc6OW0LmOOPkf8taxFxWnD5Sbwy_NxZwTQbU&dib_tag=se&keywords=network+switch&qid=1725717407&sprefix=network+%2Caps%2C186&sr=8-1-spons&sp_csd=d2lkZ2V0TmFtZT1zcF9waG9uZV9zZWFyY2hfYXRm&psc=1

As a secondary concern, using a router will cause a double NAT for all your connected devices (universities don't operate in the way ISPs do). That could cause some weird networking shenanigans, particularly for anything peer-to-peer like online games.

path: 0 12226303, hotness: undefined, score: 74, children: 3
Dark_Arc 70 points a year ago

I mean it's a profit engine for the CCP and it has its own rootkit (that people willingly install) in the form of Vanguard AntiCheat as well as that other one being used in the new DeltaForce game.

path: 0 14342242, hotness: undefined, score: 70, children: 14
Dark_Arc 68 points 2 years ago

What an out of touch judge

path: 0 7139312 7142345, hotness: undefined, score: 68, children: 1
Dark_Arc 67 points 3 years ago

And some people will always want a headphone jack... oh wait...

path: 0 2853990 2854765 2857611 2857978, hotness: undefined, score: 67, children: 9
Dark_Arc 67 points 2 years ago

I actually work on a C++ compiler... I think I should weigh in. The general consensus here that things are lossy is correct but perhaps non-obvious if you're not familiar with the domain.

When you compile a program you're taking the source, turning into a graph that represents every aspect of the program, and then generating some kind of IR that then gets turned into machine code.

You lose things like code comments because the machine doesn't care about the comments right off the bat.

Then you lose local variable and function parameter names because the machine doesn't care about those things.

Then you lose your class structure ... because the machine really just cares about the total size of the thing it's passing around. You can recover some of this information by looking at the functions but it's not always going to be straight forward because not every constructor initializes everything and things like unions add further complexity ... and not every memory allocation uses a constructor. You won't get any names of any data members/fields though because ... again the machine doesn't care.

So what you're left with is basically the mangled names of functions and what you can derive from how instructions access memory.

The mangled names normally tell you a lot, the namespace, the class (if any), and the argument count and types. Of course that's not guaranteed either, it's just because that's how we come up with unique stable names for the various things in your program. It could function with a bunch of UUIDs if you setup a table on the compilers side to associate everything.

But wait! There's more! The optimizer can do some really wild things in the name of speed... Including combining functions. Those constructors? Gone, now they're just some more operations in the function bodies. That function you wrote to help improve readability of your code? Gone. That function you wrote to deduplicate code? Gone. That eloquent recursive logic you wrote? Gone, now it's the moral equivalent of a giant mess of goto statements. That template code that makes use of dozens of instantiated functions? Those functions are gone now too; instead it's all the instantiated logic puked out into one giant function. That piece of logic computing a value? Well the compiler figured out it's always 27, so the logic to compute it? Gone.

Now all of that stuff doesn't happen every time, particularly not all of those things are always possible optimizations or good optimizations ... But you can see how incredibly difficult it is to reconstruct a program once it's been compiled and gone through optimization. There's a very low chance if you do reconstruct it, that it will look anything like what you started with.

path: 0 6392603, hotness: undefined, score: 67, children: 8
Dark_Arc 65 points 2 years ago

https://redis.com/...

This is the announcement.

This is a disappointing outcome but one that I think has been coming for a while. Amazon has profited off of Redis without giving much back for quite a while (at least I recall this being a complaint of the Redis folks, perhaps others have evidence to the contrary).

This is pretty clearly an effort to bring AWS to the table for negotiations.

path: 0 8652816, hotness: undefined, score: 65, children: 26

thanks for using Leebra!

go to feed...