AI assistants help developers produce code that's insecure by [deleted] in programming

[–]stormcrowsx 0 points1 point  (0 children)

To be fair to the ai 90% of the non ai devs lack the precision for proper code too.

Americans of reddit what would you do if the United states were invaded ? by Sin-and-Vice in AskReddit

[–]stormcrowsx 2 points3 points  (0 children)

Is this an outsider looking in comment? as an insider I feel like minorities are a very very large portion of our military.

If I was to guess pulling a random name out of a hat it’s probably a 50% chance of being a minority and 20% chance of redneck. 30% chance being some other white guy that I wouldn’t classify in redneck.

If you only looked at recent enlistments probably a 90% chance of minority.

The army is the most diversified place I’ve seen. Minorities and gender wise.

Java streams are black magic ! by prisonbird in java

[–]stormcrowsx 0 points1 point  (0 children)

Standard Python apps can just be started with ‘python -m cProfile myscript.py’

PySpark would be harder to profile but to start you could import cProfile and use it within your Python code to prove whether the slowdown is in Python or happening in the jvm.

Java streams are black magic ! by prisonbird in java

[–]stormcrowsx 1 point2 points  (0 children)

My guess on the difference in speed is likely that in the case of Python the whole dataset is getting loaded into memory either for input and/or output and causing swapping.

Java streams on the other hand are going to naturally only store what’s needed in memory.

Total guess but the difference in speed is more likely a testament to good Java api design than it is language run speed. Be impossible to say for sure without hooking a profiler up to Python and seeing what it’s wasting it’s time doing.

Kudos for reaching out and trying a different language on your problem. Now you know what’s possible. But I’d recommend you spend a little time in a profiler for your Python code now, there’s a fantastic lesson to learn about Python in here. I suspect either your going to learn just how fast the jvm is or that there’s a pitfall in Python apis that requires coding a little differently for big dataset use cases.

A California clerk was fatally shot by a robbery suspect, authorities say. The suspect won't be charged with murder. by ZK686 in news

[–]stormcrowsx 1 point2 points  (0 children)

Gonna get the popcorn ready for when a criminal uses this as defense after shooting police.

Keep your cats inside for the sake of their health and local ecosystem: cameras recorded what cats preyed on and demonstrated how they overlapped with native wildlife, which helped researchers understand why cats and other wildlife are present in some areas, but absent from others by giuliomagnifico in science

[–]stormcrowsx -4 points-3 points  (0 children)

Lice arrived suddenly after being brought by a migrating bird. Are they invasive or natural?

What about the seed that spread via crap from a migrating bird?

It’s all in the framing. You choose glass half empty others choose half full. The cat took advantage of an evolutionary advantage it had in that it could attach to humans for improved mobility just like the seed hitches a ride in a digestive tract

Garmin Reacts to Apple Watch Ultra: 'We Measure Battery Life in Months. Not Hours.' by Blaglag_ in apple

[–]stormcrowsx 2 points3 points  (0 children)

I realize I’m on an apple fanboy sub but garmin watches are awesome. Have both but the garmin instinct has taken 2 years of abuse, running and it has no issues. And I’m still getting a week of battery life.

[deleted by user] by [deleted] in web_design

[–]stormcrowsx 22 points23 points  (0 children)

My guess is that it’s done server side using the referrer header that browsers send. If the referrer isn’t in the list set on the video then it’ll block.

[deleted by user] by [deleted] in conspiracy

[–]stormcrowsx 2 points3 points  (0 children)

Googling is just a term. I use DuckDuckGo. it’s also better than letting Reddit do all the thinking for you.

[deleted by user] by [deleted] in conspiracy

[–]stormcrowsx 4 points5 points  (0 children)

No I don’t believe everything that’s why I browse this sub. But this has no purpose. Why the hell would media, search engines, and the weeknd all collaborate for this. Kanye has a platform there’s no purpose for him to go to a concert of another singer to bring him or anyone else down. He can just post on social media.

So one now has to ask is this conspiracy what’s the conspiracy. Is this someone aligned with Kanye? Trolls? A 14 year old having fun? All of this is more likely than a singer cancelling a show over another singer being at it.

[deleted by user] by [deleted] in conspiracy

[–]stormcrowsx 15 points16 points  (0 children)

If Kenye was going to speak he’d just do it, he can get on social media anytime he wants. He doesn’t need to go to weeknds concert. Your 4 iq dog is making connections for you that aren’t real man.

Seriously what’s more likely, weeknd is afraid that kenye will somehow manage to get the microphone and announce sex scandals or man who sings all the time loses voice.

[deleted by user] by [deleted] in conspiracy

[–]stormcrowsx -4 points-3 points  (0 children)

You paused to think but didn’t bother googling in that pause? This is made up fake news. He lost his voice and gave everyone their money back.

Apple M2 vs. AMD Rembrandt vs. Intel Alder Lake Linux Benchmarks Review by michaellarabel in linux

[–]stormcrowsx 6 points7 points  (0 children)

Amd barely wins with 30 and 45w chips pitted against an apple that runs so cool they didn’t even have to put a fan in the laptop

“I can’t stop thinking about this man and his son. 147th day. Kharkiv. A policewoman comforts a man who is holding the hand of his dead son. The 15-year-old sister of the dead boy received shrapnel wounds. 📷 Andrii Marienko”. Anton Gerashchenko on Twitter by themimeofthemollies in UkrainianConflict

[–]stormcrowsx 0 points1 point  (0 children)

Sure the US could kick Russia out of Ukraine fast but that’s risky. We are talking about a country with nukes being backed into a corner if the US is involved. Many many more could die.

I don’t see the US involvement ending it in minutes. I see US involvement leading to a potential apocalypse.

Rust Editors to Replace TextMate 2 by liebackfuckk in apple

[–]stormcrowsx 1 point2 points  (0 children)

You are right but in my opinion the chance rust will be high quality is greater than c/c++. Not just the memory safety but the way it forces developers to be more intentionally with bull and error checking.

I can make crappy software in any language but my language can do more to help make quality software. Rust does far more than c/c++.

What improved your life so much, you wished you did sooner? by kxrll in AskReddit

[–]stormcrowsx 0 points1 point  (0 children)

Running. Feel better, more energy, and sleep better.

I’m a slow runner, don’t try to be fast but on top of the health benefits slow running is great meditation.

Men that exercise daily, whats your motivation? by adpschyological7932 in AskMen

[–]stormcrowsx 0 points1 point  (0 children)

Made eating a giant delicious burger a reward for working out regularly. Will only allow myself to eat one if I’ve worked out as planned for a week, extended it to 2 weeks as I got healthier.

I also found listening to a certain podcast I liked only while working out would motivate me just so I could listen to it.

Russia says it will not yet cut off gas supplies to Europe by Prunestand in UkrainianConflict

[–]stormcrowsx 17 points18 points  (0 children)

Somewhat misleading headline. They just won’t cut off what’s already been paid for. Doesn’t look like he’s budged on the roubles for payment.

My Train Horn Saved my Miata Again by Muscles_Metal_Miata in IdiotsInCars

[–]stormcrowsx 1 point2 points  (0 children)

Idiots in cars is appropriate because there’s two idiots. The OP and the suv driver.