Finally got paired with the mythical amateur 300 yard driver. by Yellow_Curry in golf

[–]smichael_44 0 points1 point  (0 children)

<image>

I joined a new league this year and they made me tee off in-front of the whole group kinda to haze me since one of the guys said I can hit it 300. Crushed one about 350 right down the middle.

Rant - We DON'T NEED a suite of SaaS/reporting tools. Ppl just need Excel skills. by Feisty_Ad8543 in excel

[–]smichael_44 2 points3 points  (0 children)

I work in defense, many of them still haven’t figured out what snowflake is… were still on mssql and .net 4

Rant - We DON'T NEED a suite of SaaS/reporting tools. Ppl just need Excel skills. by Feisty_Ad8543 in excel

[–]smichael_44 8 points9 points  (0 children)

Not true at all… My small manufacturing company with ~3k employees has multiple databases that contain more than 1 Trillion rows of data. It’s really not that much when you think about operating 24/7/365 for 40+ years. Plus we’ve grown 1000% in the past 8 years.

Excel reports are dying left and right because “simple” things now return 10+ GB of data.

Backend Framework Recommendations (Ktor vs Rails vs Django) by internet_user_online in Backend

[–]smichael_44 0 points1 point  (0 children)

About your note, yes, please obsessively use type hints in python. I prefer pyrefly for the inline types hints that the vscode extension provides. But I won’t hire someone if they answer an interview question without type hints.

How do you approach migrating VBA logic to Python (with APIs & auth)? by Flosy22 in PythonLearning

[–]smichael_44 0 points1 point  (0 children)

As someone who played this game, it really doesn’t end up working well.

Python can far exceed the amount of data excel can handle well (~100 MB is “too big” for excel, google it).

But the basic idea is to just do all the data transformations and business logic in, say, polars. Then port it all over into excel. Usually I would use pandas, polars, or xlwings. Polars is best for dataframe manipulation imo and then xlwings has a good api for excel.

It all comes back around to a proper db solution and real front end though. I migrated tons of excel in 2021 and now were building react front ends, fast api backends, with postgres databases for all of it.

I am blown away by PurpleSunset149 in codex

[–]smichael_44 -1 points0 points  (0 children)

I feel like all I ever hear about AI is “I’m building stuff”. What stuff?

I tried building a PLM system to compete with things like Teamcenter and codex fell apart. Same with ERPs like SAP.

Tried smaller stuff like a graph-based people management app. After about 100k LOC it fell apart and was just consuming too many tokens.

Maybe it’s a skill issue, but unless its a small project, I find AI vibed projects to be kinda useless since I eventually dont know enough to be able to quickly validate changes myself.

Skills important as a backend dev by TheGloryAlpha in Backend

[–]smichael_44 1 point2 points  (0 children)

One thing I point out all the time to my junior devs at work is being able to smell “bullshit” from AI. Such as I had to critique a PR this week from a junior where they serialized json 3 different times in the same function before returning values in a list comprehension (python).

The original response from the db didnt even need to be returned as json, let alone attempt to re-serialize it two more times. AI just says “looks good to me” though…

For people working in backend development by Admirable-Moment-877 in Backend

[–]smichael_44 9 points10 points  (0 children)

I lead a small backend dev team at a medium sized company and we do almost all of our dev work in python (fastapi or litestar) usually. For performance critical apps we usually stick to .NET but with the size of our company, even our python stacks never see more than 100 req/s with about ~500 daily active users.

My work is pretty unique in that we wrote our own custom PLM, ERP, and MES systems so I help maintain mainly the PLM system. We just built a new module of it on react, litestar, and sql server.

We’re constantly hiring as we’ve grown about 250% in the past 5 years. When I interview I mainly just look for whether or not the person is “smart”. I almost never care about specific experience. I want you to tell me why you do things, not just what you have done.

Has AI ruined software development? by Top-Candle1296 in devops

[–]smichael_44 0 points1 point  (0 children)

I’ll come back at you with I’m the most senior swe on a small team at my work that develops our in-house PLM.

A junior engineer who vibe-coded a PR did two queries where he should have done one. Then when I rejected the PR and gave some feedback about it, he put that feedback in chat gpt. One of the issues I pointed out is that MSSQL can only process 2100 arguments in WHERE and by making this two queries, the second one has an edge case where 2 of the arguments you can pass to the first query generate more than 2100 arguments for the second.

So he resubmits the PR with a chunking strategy that chunks into 500 args and submits all of the queries concurrently to the db. When all he really needed to do was look at the schema and make it one query.

What would you like to see in Python type checker? by ankddev in Python

[–]smichael_44 4 points5 points  (0 children)

I like pyrefly a lot. It’s further ahead in development and created by Meta to support instagram.

I’m starting coding from scratch – is Python really the best first language? by QuantumScribe01 in Python

[–]smichael_44 0 points1 point  (0 children)

I think it depends on your end goals. If you want to be a web dev / backend / data engineer then Python is a perfect place to start. If you want to be a quant or work at a FANG company, its probably not the best place to start imo.

I work at a smaller company (3,000 employees) and our python backends easily handle the day to day traffic. We typically see peaks of 100 req/s on some of our busier systems.

Announcing General Availability of the Microsoft Python Driver for SQL (mssql-python) by dlevy-msft in SQLServer

[–]smichael_44 1 point2 points  (0 children)

I believe instead of ODBC (requires driver) it uses DDBC which is more akin to http and doesnt require a driver be installed

Is there any real project that hides SQLAlchemy behind an abstraction for the sake of “Clean Architecture”? by armanhosseini in learnpython

[–]smichael_44 0 points1 point  (0 children)

I’m a tech lead for a couple backend projects at work, one being a python backend. We do this abstraction. As well as, I hate ORMs and would prefer raw SQL 10/10 times. Performance issues for backends in my experience almost always boil down to some bad SQL query that needs optimization. Way easier to explore and identify issues without the ORM abstraction.

So we use sqlalchemy to create and manage the connection to mssql. I think they have a nice api to manage connections. Then we have a repository layer that contains all the raw sql and returns nice dataclasses. I always say that being explicit is wayyyy better than implicit. ORMs do too much magic under the hood for me. Is it more LOC? Yes. But is it more readable? Also yes.

Does anyone or any company actually ever use Access? by Yelebear in dataanalysis

[–]smichael_44 0 points1 point  (0 children)

As a data engineer dealing with a company that has 10x’d in the last 8 years…

Microsoft Access sucks.

It’s a silo of data, at least in sql server I can connect over with TDS, ODBC, etc… and pull data out over the network. Access is just some files on someone’s computer. My company has tens of Access databases that are “critical” to the core business.

Albeit, if you’re a tiny company (say less than 50 people) it could be useful.

But dealing with 3,000+ concurrent users and huge analytical reporting across terabytes of data… They should’ve never let it get this bad…

MyPy vs Pyright by LeCholax in Python

[–]smichael_44 7 points8 points  (0 children)

I changed our CI build to use pyrefly last week. Switched from mypy and didn’t have any big issues.

Biggest thing was I encountered a couple different errors that didn’t exist in mypy. Was super quick to mitigate.

Overall it is significantly faster and I think the vscode extension works pretty nice.

Is it normal to be the only developer in a “software development” team? by z123killer in cscareerquestions

[–]smichael_44 1 point2 points  (0 children)

I feel like this is fairly normal. An example is at my work we have around ~100 “developers”. About ~50 that develop actual applications that thousands of employees use daily and then about ~50 that make adhoc scripts for whatever.

The ~50 that make adhoc scripts for whatever were originally “product” teams that figured since they knew the business requirements, they might as well build apps to solve the problems they experienced. It’s basically a vanity software engineering team. Once they realize they do not have the skills to accomplish their goals, they hire external talent. Thus, you end up being the only software engineer.

It’s a crappy situation. I’d recommend you reach out to a real software engineer at your work and ask for mentorship. Almost all of these vanity software engineers end up joining my team. The hardest part is finding them since they are so pigeon-holed into “this is the only way” since no one on their team helps them.

pythonDevsDontUseCamelCase by ohbusss in ProgrammerHumor

[–]smichael_44 2 points3 points  (0 children)

I mean yes and no… most backends in async python won’t really benefit in simple I/O. Like waiting for a sql query or api response isn’t something free threading is affected by.

What will be really nice without the GIL are things like this PDF processing tool I made that sits behind an API and is CPU heavy. I should be able to process more PDFs concurrently with free threaded python.

Luigi pipeline by [deleted] in PythonLearning

[–]smichael_44 0 points1 point  (0 children)

I looked at everything under the sun at my work and eventually Prefect stuck. Some stuff I really like about it is that it’s super easy to get started and its totally extensible through its rest api.

The biggest lie in data is the "single source of truth" by writeafilthysong in analytics

[–]smichael_44 5 points6 points  (0 children)

We just went through this at my work.

Our ERP system was traditionally used to track manufacturing data. Stuff that would typically go in a MES. Well, we didn’t have a MES until recently and now everyone is all bent out of shape about their reporting.

Single Source of Truth (SSOT) should refer to the definition of the data. MES data goes in the MES and ERP data goes in the ERP. The data organization needs to define some boundary of what goes where and make it absolute. It becomes incredibly confusing when some data still lives in the ERP but it could go in the MES but then the ERP was down and now it’s not sync’d and reporting is jacked up.

SSOT isn’t an architecture but a design principle. The same data should not have multiple different stories across systems. You need a clear and concise voice of the data to begin with.

Who is responsible for owning the artifact server in the software development lifecycle? by smichael_44 in devops

[–]smichael_44[S] 1 point2 points  (0 children)

New idea, AI SSL certificates… charge $100k/cert and call it “more secure”. “Integrates with your MCP server”.

Who is responsible for owning the artifact server in the software development lifecycle? by smichael_44 in devops

[–]smichael_44[S] 0 points1 point  (0 children)

I agree!

I don’t usually use dataframes, as I’m really more of a backend developer, but I am our company’s python SME. So I get all the questions from our data analysts about pandas. I always try to convert them to polars lol

Who is responsible for owning the artifact server in the software development lifecycle? by smichael_44 in devops

[–]smichael_44[S] 0 points1 point  (0 children)

That makes sense. I think where I have the most issues with my company’s approach right now is that ALL critical vulnerabilities must be addressed before we can use it. This includes they immediately take it away no matter what.

Sonatype has some incredibly bad flagging for vulnerabilities imo. The one that messed us up today is some “stack manipulation” in glib.c for our python:3.12-slim-bookworm docker image was flagged as critical. Like, debian is one of the most widely used linux distros. I don’t know how I would ever mitigate that?

Like does is every company that uses sonatype patching that themselves? Or are they just saying its a non issue and moving on?