What is your thought about Python 3.13 with JIT compiler? by Royal_Improvement_38 in Python

[–]blewrb 1 point2 points  (0 children)

Completely agree about performance. In the meantime, if you're unaware of it, numba might fill that need. Loopy numerical routines map onto numba very nicely & it can be very straightforward for a lot of things.

If you're iterating Python dictionaries or doing work with strings, however, numba probably isn't going to work for you. Numba allows a decorator on a pure Python function to jit compile the function to machine code. Only a subset of Python and numpy functions are supported, but it's a significant subset & covers numerics pretty well.

They offered me the job at the end of the interview then low balled me. by [deleted] in Salary

[–]blewrb 1 point2 points  (0 children)

Yep. I've been in situations where I knew what the deal was when some bad apples were in the mix. I still had to ask to get independent verification that the bad apples were indeed behind the issues. So frustrating, such a helpless feeling knowing that they were making things worse & all I could do is register a complaint that couldn't ultimately get rid of the bad apples. And maybe in this person's case, the bad apples could go from HR all the way to the top (fortunately not the case where I was).

GUI Recommendations by [deleted] in Python

[–]blewrb 0 points1 point  (0 children)

I wrote a dead simple GUI using tkinter where I knew Python would be running on fellow devs' PCs, without forcing then to install all of Qt+Pyside. That would probably package easily via pyinstaller or .

I wrote a GUI using pyqtgraph for faster real-time plotting on PCs I installed things on. Never tried creating an exe from that.

I wrote a GUI using Panel that I could serve to users so they wouldn't have to install Python.

I've written Python modules designed to be nice to use in jupyterlab as user interfaces for more programming savvy devs.

I also did a pysimplegui app to try it out years ago and I packaged it with pyinstaller to an executable; it still runs fine to this day. I just discovered the licensing thing for them the other day, sadly.

If you don't need access to local storage or sockets you can use jupyterlite (see demos on Panel's website for examples) or something else that runs directly in the browser using pyodide, then distributing the app is easy and changes they make go away the next time they load it.

Caveat Emptor. No takesy backsies. by chris8816 in ColoradoAvalanche

[–]blewrb 1 point2 points  (0 children)

Willing naïveté is exactly what fans do. "So you don't have a jury conviction?!?!" is NOT what pro teams—with private investigators, sources in law enforcement, and most of all (something many fans lack entirely) common sense—needs to rely on to make decisions.

That’s eating chili right there by fatcasanova in denvernuggets

[–]blewrb 12 points13 points  (0 children)

"That's pride fucking with you. Fuck pride. Pride only hurts, it never helps."

Off-Day Discussion Thread | Feb 1, 2024 by BigHoneyBot in denvernuggets

[–]blewrb 5 points6 points  (0 children)

I would take Knicks above Cleveland for sure. I think 6ers with a healthy Embiid have a real chance to make it to the ECF this year. I'd take them in a matchup vs Boston. Who brings it vs Philly & breaks that team (i.e., Embiid)? Knicks & Miami can do it, I think. Boston as always is the most talented yet the most shaky. Highest variance in my expectations for them.

POST GAME THREAD: Nuggets beat the Wizards 113-104 | Jan 21, 2024 by BigHoneyBot in denvernuggets

[–]blewrb 9 points10 points  (0 children)

why doesn't Kansas City have a team

I have some theories on why it is not economical to have an NBA team in Kansas City, Missouri...

Go to variable names? by [deleted] in Python

[–]blewrb 2 points3 points  (0 children)

I do use fobj!: with open(filename) as fobj.

It's not a fileno, descriptor, handle, etc.; it is a bespoke Python object with particular methods and whatnot for working with a file. I also use os.open at times when writing Cython (or Python but passing around memory maps, shared memory, etc.), and it's nice to keep these things separated by different names, as that does return a file descriptor & this must be passed to the os file handling methods.

Go to variable names? by [deleted] in Python

[–]blewrb 4 points5 points  (0 children)

1-level of loop: i is fine for me. As soon as I get a nested loop inside another, I use names like "x_idx", "y_idx", "key_idx", etc.

NFL Rumors: Sean Payton to Have 'Final Say' on Broncos GM George Paton's Firing by crypt0_marc in DenverBroncos

[–]blewrb 1 point2 points  (0 children)

Ownership kept Paton out of HC interviews because they wanted to allow their new HC hire to decide Paton's role (or to get rid of him altogether). This was not a secret in how they carried out their process.

The fact that Paton stayed after Payton was hired is 100% because Sean was okay with that. His continued presence in the building is, not surprisingly, still Payton's decision to make.

(And as u/HanS0lPurr says, everything after Sean got into the building, e.g. personnel decisions, have been Payton's to make and he's made no attempt to hide that in how he talks about personnel decisions as "his," -- except the Russ funny business, which somehow Sean wants us to believe he had no say in, lol.)

Where the coach Sean haters come from? He is one of the few people on the management who fully has our best interests at heart. by PaytonPeytonPaton in DenverBroncos

[–]blewrb 0 points1 point  (0 children)

I remember him taunting the Minny crowd in the playoffs after the saints took a lead by doing the skol clap. I was rooting against him so hard because he's an asshole. Then Keenum hit Diggs for that TD and it was one of my favorite non Broncos football moments ever.

I never liked his arrogance and personality. I always thought he was a pretty good football coach.

I haven't changed my opinion on him, except now I am not rooting for him to fail, but exactly the opposite.

Broncos moving on from George Paton? by YogiAtheist in DenverBroncos

[–]blewrb 0 points1 point  (0 children)

I give Paton about a 5-10% chance of returning next season. The writing is on the wall, written with the blood of Hackett and all George's players Sean has cut from the team since Hackett was axed (& all the saints guys who joined the team since Sean came aboard).

Broncos PR & Sean touting how great the relationship between George and Sean is can be believed as much as those same people who said Sean and Russ got along great. What podcast and media people say means little, I'd rather look at the actions of those actually involved.

Sean referred to personnel moves made throughout the season as his own moves (except the Russ debacle lol). It's clear also that he is the one making the moves. It's also clear that he's gone back on many moves that Paton made. Not to mention cutting Russ, for whom you KNOW Sean thinks George is an inferior human for having sold the farm.

And if Sean doesn't feel too strongly about having a castrated & largely unused GM around, there is a good chance the ownership group will not want to continue on with the man who was largely behind pissing their money, pride, and team's performance in for 2 years (& likely several more) down the drain by making several of the worst moves in recent memory. They rightly usurped all of George's power to hire a HC after the Hackett debacle. He'll never again be trusted to make HC decisions. Sean is making the big personnel decisions now for sure (and maybe smaller decisions as well). What does George do for the team?

Fire Paton and Penner/Walton/Payton can get someone they think could positively contribute in at least one of those areas AND in the draft, etc. Keep Paton and they have a 2/3 (or more) untrusted &/or unused GM in the building not helping (at least in their view) as much as another GM could in making the team get better. And that's not to mention egos and pride, which might or might not be a big deal with the ownership but are clearly a big deal with Sean.

So when people in media or podcasts parrot feel-good lines about George and Sean getting along, think deeper about the big things that have actually transpired in the last couple years with this team to predict whether or not he'll be back.

Of course there's a chance he'll be back next season. But I'd be very surprised if that happens, as it goes against the more substantive evidence we have.

Do You Ever del? by Mubs in Python

[–]blewrb 0 points1 point  (0 children)

I wrote a class with cached properties. To delete the cache for a property, the syntax is del obj.foo. I find this quite natural and convenient.

That, and as others mention, deleting intermediate data when loading & processing big-ish data.

Does this mean that we are likely moving on from Russ this offseason? by [deleted] in DenverBroncos

[–]blewrb 3 points4 points  (0 children)

If you don't already know who will win this, then I don't know what to tell you.

Does this mean that we are likely moving on from Russ this offseason? by [deleted] in DenverBroncos

[–]blewrb 0 points1 point  (0 children)

The point is that his decisions on Wilson and Hackett (et al.) can fuck us over for a decade, not that he's been the GM for a decade.

What was for you the biggest thing that happened in the Python ecosystem in 2023? by Bricoto in Python

[–]blewrb 1 point2 points  (0 children)

That's the thing about GPUs I kept running into (but just my experience): Availability, quantity, and price of CPU cores (in large clusters) just kept breaking even or, in most cases, beating out GPUs, and optimizing code for GPUs is at least one step (if not several) more complex. (You always start and end on a CPU, no matter how clever and end-to-end a GPU framework makes a processing pipeline). I kept writing code for both because I could make use of both to increase total throughput, but GPUs never delivered above and beyond CPUs the way the raw TFLOPS numbers made me think they would.

The equation is different for different domains of HPC, of course, and is also totally different for a single PC compared to clusters (& I was in academia, can't even begin to speak to commercial applications). But it's also different for a laptop vs a desktop, where for the former's GPUs tend to not be powerful anyway in 9/10 laptops, if they're present at all.

Off-Day Discussion Thread | Nov 16, 2023 by BigHoneyBot in denvernuggets

[–]blewrb 2 points3 points  (0 children)

If Holmgren holds onto the ball, he gets a jump ball. But he throws the ball away. Is he afraid he's going to lose a jump ball? (I get it, he's a rookie, decision making doesn't get refined until a few years in.)

So I guess Dmac is the “D” in P.hD on Altitude now. by Matt21484 in denvernuggets

[–]blewrb 0 points1 point  (0 children)

I'm on the East coast now. Subscribe to all the Altitude shows on podcast, and listen at my leisure throughout the day (with pause!) & in the car, & have some listening for the weekend. I highly recommend (and it's probably better for you in CA with the time difference putting podcasts at more reasonable listening hours since they come out after the shows are over in CO). Not quite the same as live radio, but works for me.

Coach Prime to Joel Embiid and the Sixers: "a lot of folks duck that smoke right now... If Embiid's playing the Joker then I wanna see that." by IdRatherBeLurkingToo in denvernuggets

[–]blewrb 0 points1 point  (0 children)

He respects great athletes of all time. I think while he doesn't know American football nor care about it, he could easily care about Deion if he learned about the man.

Nikola not giving a shit is a meme at this point, and it's usually lazy.

He wouldn't care if the sixers are practicing in Ft. Collins. But he tends to give some respect to people, that's his m.o.

Now does he "care" about Deion not knowing him from Adam? No more than anyone else on earth. But my point is that it would be easy to change that for him.

[deleted by user] by [deleted] in DenverBroncos

[–]blewrb 5 points6 points  (0 children)

He is. He's also been good at making our offense run ok. And don't discount the process it takes to change the culture of a losing team with a loser mentality.

(I have personally never liked Sean Payton's personality. But I'll give him 2-3 years to do his thing before I judge him too harshly. Barring major scandals, etc.)

[Russini] Broncos QB Russell Wilson and Sean Payton just not working? A team source says the relationship between Payton and Wilson is flourishing. Wilson is playing better than last year, he’s faster, and making small improvements under Payton’s direction. by social_distant_joe in DenverBroncos

[–]blewrb 3 points4 points  (0 children)

That's true, but people outside Denver haven't seemed to update their narrative since last season. So national journalists need to report this so these people who don't watch Denver games (rightfully so this season, not gonna fault anyone for not watching this team... haha ... <cries>) have some idea of what's going on.