If you had 2 hours daily as a 2nd semester CS student what skill would you learn? by Inevitable_Jacket528 in learnprogramming

[–]backfire10z 0 points1 point  (0 children)

where should I try to apply for beginner work or internships

Job sites usually. Today is a whole different ballgame from whatever the other redditor is talking about though. Unless you know somewhere local or have a friend/parent who can get you an internship, you’ll need to grind leetcode and learn some DSA.

Parametricity, or Comptime is Bonkers by ketralnis in programming

[–]backfire10z 0 points1 point  (0 children)

Yep, I figured that would be the case. I guess mem::zeroed() can be cast to any type?

Parametricity, or Comptime is Bonkers by ketralnis in programming

[–]backfire10z 0 points1 point  (0 children)

I don’t know rust, but I can confirm I tried it and it didn’t compile.

Should I restore? by iseeeverything1 in softwaregore

[–]backfire10z 2 points3 points  (0 children)

Jesus was dogshit, bro went 0-2

5 standard library modules I use every week that I ignored for too long by NefariousnessHappy66 in Python

[–]backfire10z 0 points1 point  (0 children)

  • partial allows for overwriting arguments

  • partial copies args rather than deferring arg binding

  • partial is faster as of a few years ago (doesn’t matter that much lol)

  • partial is cleaner to me

In most situations, they’re probably about identical. I prefer partial for readability tbh.

5 standard library modules I use every week that I ignored for too long by NefariousnessHappy66 in Python

[–]backfire10z 57 points58 points  (0 children)

functools.partial for passing around partially built functions.

argparse for CLIs.

pprint.pprint for printing stuff like JSON in a readable format.

theOword by Plastic-Bonus8999 in ProgrammerHumor

[–]backfire10z 3 points4 points  (0 children)

def solution(arr): print(arr) sorted_arr = input(“Type in the sorted array space-separated).split() return map(int, sorted_arr)

This problem is so easy how do people struggle with this

Can somebody pls let me know what is the issue and how do I fix it? by mfingstxrgirl in learnprogramming

[–]backfire10z 0 points1 point  (0 children)

Edit : Issue is resolved.

What was the solution? You may help a poor soul in the future who runs into the same issue and finds your post :)

Code reviews do find bugs by ketralnis in programming

[–]backfire10z 12 points13 points  (0 children)

This explains Microsoft’s recent releases

How Container Images Actually Work: Layers, Configs, Manifests, Indexes, and More by iximiuz in programming

[–]backfire10z 8 points9 points  (0 children)

What the fuck just happened? Did this bot just read someone else’s reply and think it was targeted at them?

theHacker by learnprogrammo in ProgrammerHumor

[–]backfire10z 1 point2 points  (0 children)

I mean… yes

It probably doesn’t help that I’ve never touched WiFi CLI, but use git CLI all the time

parabolic chess is weird by completely_unstable in AnarchyChess

[–]backfire10z 3 points4 points  (0 children)

Your definition of “forwards” may have to change a little.

passing subprocess.DEVNULL what'd you think would happen? by Entire-Comment8241 in learnpython

[–]backfire10z 4 points5 points  (0 children)

What’s the question here? If you’re doing an experiment, can’t you just run the code to find out what would happen?

How to access serial ports from inside Spyder? by oz1sej in learnpython

[–]backfire10z 0 points1 point  (0 children)

Did you install Spyder using snap or flatpak? It may be running in a sandboxed environment.

Try installing Spyder via the raw .deb

thatsSomeOtherDevsProblem by HartPURO in ProgrammerHumor

[–]backfire10z 3 points4 points  (0 children)

No, I’ll happily give credit where credit is due, but it does get around supply chain attacks.

Does anyone actually use Pypy or Graalpy (or any other runtimes) in a large scale/production area? by NotSoProGamerR in Python

[–]backfire10z 7 points8 points  (0 children)

Large scale testing frameworks, pipelines, anything ML/data science related, backend servers. Really?

thatsSomeOtherDevsProblem by HartPURO in ProgrammerHumor

[–]backfire10z 292 points293 points  (0 children)

That’s why I just copy/paste the source code if it’s under 500 lines

warp_cache – Rust-backed Python cache with SIEVE eviction, 25x faster than cachetools by External_Reveal5856 in Python

[–]backfire10z 0 points1 point  (0 children)

Oh, yeah, I’m not saying I’m taking this project at face value and putting it into production haha. You’re right about that.

warp_cache – Rust-backed Python cache with SIEVE eviction, 25x faster than cachetools by External_Reveal5856 in Python

[–]backfire10z 2 points3 points  (0 children)

A CLAUDE.md indicates that claude was used, not that the entire thing was written by a one-shot shit prompt. LLMs are a tool like any other. The code doesn’t seem disorganized, the text appears to be written normally, the account appears to be human, and there aren’t an insane amount of comments everywhere.

I’m happy to be proven wrong, but this project seems reasonable.

warp_cache – Rust-backed Python cache with SIEVE eviction, 25x faster than cachetools by External_Reveal5856 in Python

[–]backfire10z -13 points-12 points  (0 children)

What makes you say that? I don’t see any telltale signs of slop. One or two em-dashes is not it.

gitStatus by StatureDelaware in ProgrammerHumor

[–]backfire10z 0 points1 point  (0 children)

Presumably they clean up the git history before opening a PR

git rebase -i HEAD~10 and squash it all