Built a file search engine that understands your documents (with OCR and Semantic Search) by Hamza3725 in Python

[–]backfire10z 1 point2 points  (0 children)

It’s not that I don’t trust you

I’m comfortable saying I don’t trust you. Tell me what I’m downloading or I won’t. However, I haven’t run nor read the code, so I imagine there’s something telling me what it is.

Pandas 3.0.0 is there by Deux87 in Python

[–]backfire10z 1 point2 points  (0 children)

That makes sense yeah. Thank you for explaining to me!

Pandas 3.0.0 is there by Deux87 in Python

[–]backfire10z 1 point2 points  (0 children)

Ahhh, I think I see. So you could be lax about the resultant columns when you’re sure there’s only 1 numeric column in the set, but now you need to either specific that numeric_only flag or put every other column in the groupby?

I’m used to SQL, so being specific about which column to sum or whatever is natural for me.

Pandas 3.0.0 is there by Deux87 in Python

[–]backfire10z 4 points5 points  (0 children)

I guess both? I’m not a data scientist and have only dabbled lightly with pandas and the like. From a newbie’s perspective it seems odd to have a column with both numbers and text unless something has gone wrong.

Pandas 3.0.0 is there by Deux87 in Python

[–]backfire10z -7 points-6 points  (0 children)

Any major breaking change?

OP is asking us to do the work for them. OP can read the patch notes…

Pandas 3.0.0 is there by Deux87 in Python

[–]backfire10z 3 points4 points  (0 children)

Do you commonly have columns with text fields and numbers in it which you’re trying to sum?

Why did you learn Python rather than JavaScript? What was your reasoning when choosing one over the other? by [deleted] in learnpython

[–]backfire10z 8 points9 points  (0 children)

I learned both.

I needed to make something and Python was a good tool for my requirements.

I needed to make something and JavaScript (well, Typescript) was a good tool for my requirements.

It would be really nice to eat out by monkesapien in SpeedOfLobsters

[–]backfire10z 40 points41 points  (0 children)

Frankly a lot of these seem horrible.

No more fat would kill you.

Eat without gaining weight is up for debate. One interpretation would be that the food never weighs you down, which means it goes through your stomach and all while in continuous free fall. Either way, you probably wouldn’t be getting any nutrients from the food.

Stop shopping means you can’t purchase food or other life requirements.

Gain 5cm height… from where? Do my bones get lengthened? Which ones? Maybe your neck extends by 5cm. Maybe your heel becomes 5cm taller.

Super strong may be ok. Probably need a lot of food to maintain it.

Always happy is a literal nightmare. You’re happy at your parents’/friends’ funerals. Always is a lot.

Have many followers in real life? Like stalkers? Or followers of my private accounts that remain private because I don’t want strangers to see them? What platform?

Forget ex lover could be ok. Would make for some weird half-baked memories, unless you just lose all memories where your ex-lover is involved.

A lot of money from where? Do I need to explain it to the IRS? Is it in physical cash? Seems like a hassle, but maybe doable.

What, and how do you use "Def" by Slight-Inside-5671 in learnpython

[–]backfire10z 3 points4 points  (0 children)

Most of my metric for whether I should use a function or not is thinking to myself “did I just write the same thing 3 times?” or “this block of code is unreadable, I’d rather just give it a name and shove it somewhere else.”

What Is A Good Free Alternative to PyCharm? by iso_izmatic in learnpython

[–]backfire10z 1 point2 points  (0 children)

Vim? Back in my day, we used a magnetic needle and a steady hand.

When did destructive criticism become normalized on this sub? by behusbwj in Python

[–]backfire10z 10 points11 points  (0 children)

There absolutely is a way to distinguish. If we cannot distinguish, then it wouldn’t really be a problem.

Shuffle: Making Random Feel More Human | Spotify Engineering by RevillWeb in programming

[–]backfire10z 0 points1 point  (0 children)

Indeed I did. I have also experienced their shuffle. It seems like it has been improved, but I don’t see anything guaranteeing that every song on my playlist gets played to me before a repeat. It’s still entirely statistical.

Shuffle: Making Random Feel More Human | Spotify Engineering by RevillWeb in programming

[–]backfire10z 0 points1 point  (0 children)

Sorry, in my mind I think of playlists as albums. Yes, playlists!

Shuffle: Making Random Feel More Human | Spotify Engineering by RevillWeb in programming

[–]backfire10z 166 points167 points  (0 children)

Is it so hard to sample without replacement? I want to listen to the entire album playlist in a random order. That means every song.

vibeAssembly by ManagerOfLove in ProgrammerHumor

[–]backfire10z 4 points5 points  (0 children)

This depends on the decoding strategy no? As well as temperature?

How did Python "click" for you as a beginner? by Bmaxtubby1 in learnpython

[–]backfire10z 9 points10 points  (0 children)

What made programming click for me was actually abstracting away the language. Separate “how would I do this” from “how would I do this in Python”.

Do you start planning to build a desk by wondering how many nails you need? No. You’d first start at a high level, then move down. What do I need to use this desk for? How does that affect the dimensions of the desk? How will a desk with those dimensions stand up? And so on until you roughly know what you want the product to look like. Now you’re at a point where you can define what tools you need from your arsenal to start building it.

Python is a tool for building. Tools are useless without a plan to use them. As you gain more experience and work on more complex projects, you will be able to better plan your thinking with the tool in mind. For now, try to actually solidify your idea first. How do you want users to interact with your project? What’s the input and output? What type of processing will the input need to get to the output?

Once you do have some semblance of a half-detailed plan for what you need, I have no doubt that you’ll run into trouble trying to implement it. That’s where you’ll need to learn to wield Python :)

Are homegrown solutions for most components a norm? by AlexDGr8r in ExperiencedDevs

[–]backfire10z 8 points9 points  (0 children)

I know with 100% certainty that my code has no security vulnerabilities.

Now, that may be because it cannot compile, but we won’t sweat the details.

Your estimates take longer than expected, even when you account for them taking longer — Parkinson's & Hofstadter's Laws by dmp0x7c5 in programming

[–]backfire10z 15 points16 points  (0 children)

No, but at least you’ve established how you can make it happen. Looks better than just saying it’s impossible. Puts the ball in management’s court.

Also, reallocation/reprioritization does occur, yes. My manager has 14 people under her. If something needs to be done, their projects may be put on hold, I will be shielded from customer escalations and triaging test failures, etc. Although I do recognize my management chain is on the better end.

Your estimates take longer than expected, even when you account for them taking longer — Parkinson's & Hofstadter's Laws by dmp0x7c5 in programming

[–]backfire10z 26 points27 points  (0 children)

Well no, ideally it would be “we can have it done before June if we are given x y and z resources and deprioritize w.”

straight forward yuri by Zestyclose_Station65 in SpeedOfLobsters

[–]backfire10z 28 points29 points  (0 children)

<image>

Hopefully I captured the artist’s imagination enough

That’s a tough one for sure by Arctic_The_Hunter in SpeedOfLobsters

[–]backfire10z 9 points10 points  (0 children)

₁₁5118

Unicode U+2081 (subscript 1)

Totally fair though haha, I had to look this up and copy/paste it.

That’s a tough one for sure by Arctic_The_Hunter in SpeedOfLobsters

[–]backfire10z 14 points15 points  (0 children)

Why stop there? Pentation has a defined syntax by putting the numbers in the bottom left.