I failed calc2 and am gainfully employed as a mid/upper level software engineer.
One guy at work really saved the day because he’s good at math, and made a very slow process much faster because he knows … uh… vector math? He did magic with numpy
I failed calc2 and am gainfully employed as a mid/upper level software engineer.
One guy at work really saved the day because he’s good at math, and made a very slow process much faster because he knows … uh… vector math? He did magic with numpy
Interesting. I’ve never felt a need for this, and as the other reply here said it was really unpopular in other languages.
I would have guessed you would have said something about how it’s annoying to type callable arguments, and how Protocol
exists but doesn’t seem that widely known.
Why would you add two arrays like that? Because I want to combine two lists.
The is
operator is for identity, not equality. Your example is just using it weirdly in a way that most people wouldn’t do.
No because I am not using Python to make a web app. That’s not the only thing people write you know… Most of what I’ve worked on has been webapps or services that support them :shrug:
Typescript and Python there’s absolutely no way I’d pick Python (unless it was for AI).
Agree to disagree then. We could argue all day but I think it’s mostly opinion about what warts and tradeoffs are worth it, and you don’t seem like you have no idea what you’re talking about. Sometimes I meet junior developers who have only ever used javascript, and it’s like (to borrow another contentious nerd topic) like meeting someone who’s only ever played D&D talking about game design.
Why would you use the is
operator like that?
The lambda thing is from late binding, which I’ve had come up at work once. https://docs.python-guide.org/writing/gotchas/#late-binding-closures.
“It’s so bad I have resorted to using Docker whenever I use Python.”
Do you not use containers when you deploy ? Everywhere I’ve worked in the past like 10 years has moved to containers.
Also this is the same energy as “JavaScript is so bad you’ve resorted to using a whole other language: Typescript”
To your point, typescript does solve a lot of problems. But the language it’s built on top of it is extremely warty. Maybe we agree on that.
the type system is still unable to represent fairly simple concepts when it comes to function typing
what do you mean by this?
Language sanity. They’re pretty on par here I think
[1] + [2]
"12"
A sane language, you say.
const foo = 'hello'
const bar = { foo: 'world'}
console.log(bar)
// { "foo": "world" }
the absolute dog shit pile of vomit that is Pip & venv
I’ve worked professionally in python for several years and I don’t think it’s ever caused a serious problem. Everything’s in docker so you don’t even use venv.
My understanding is XFCE is lighter weight and simpler. Little to no animations, for example.
I am extremely basic and I’m using the XFCE that came with Linux mint. I don’t need anything fancy.
best solution could probably be good public transport in the city and self driving cars in the countryside.
You don’t even need self driving if it’s mostly just the countryside. That’s just not a lot of people and the resources required to get it working would be better spent on building mass transit and walkable areas in cities where people actually live (and thus where culture and economy actually happen)
Among other reasons, caps chill usage. A lot of user content would not get shared because “ehh I don’t want to waste my data for the month”
There’s a lot of like management being like “we gotta hit this deadline (that we made up)” combined with “if I hit all my targets and put in some overtime, the boss can buy another sports car this year”
I don’t want to work extra to make someone else richer. Maybe if I had a shit load of shares. Maybe. But I don’t. So I do my job with professional standards, but I’m not doing 12 hour days
One of my friends wanted kids. She has a full time job in software and does side gigs like bartending. Can’t afford kids, so she didn’t have any. It’s sad.
Meanwhile the ultra wealthy have more money than they can spend.
Nationalize health care. Basic income. Public housing. Enforce existing tax laws. Tax or prohibit bullshit like “I’ll get a loan against my assets but that’s not technically income so I don’t pay anything”. Break up monopolies.
It’s not you. Google has been getting worse.
https://www.404media.co/google-search-really-has-gotten-worse-researchers-find/
https://arstechnica.com/gadgets/2024/01/google-search-is-losing-the-fight-with-seo-spam-study-says/
There was a (fiction) book I was called “all the birds in the sky”. I really liked it. Highly recommend.
One of the plot threads is a rich tech bro character that’s like “the world is doomed we need to abandon it for somewhere else. Better pour tons of resources into this sci-fi sounding project”. And I’m just screaming at the book “use that money for housing and transport and clean energy you absolute donkey”.
There are a lot of well understood things we could be doing to make the world better, but they’re difficult for idiotic political reasons. Racism, nimbyism, emotional immaturity, etc.
Targeted ads should be illegal.
Contextual ads are a compromise I would accept. That is, you can buy ads based on the page content, but not the viewer details. So if I’m looking at a website about bikes, you can have bike ads on there. You don’t need to know I’m a xx year old living in zip code 10001. That’s how ads worked for like decades (centuries?). It’s fine.
Been happy buying music from Bandcamp and not having a subscription. Didn’t even make it onto the chart :(
A response (or status!) on slack that’s like “I’m at the grocery, back in 20” is fine with me. It’s more annoying when someone wanders away with no status and is unresponsive for hours.
Some people are bad at working remote, and want to drag the rest of us down with them, too.
Yes, it’s a slightly different skill set to work remote. You have to be better at the written word. You can’t just roll up to someone’s desk and be like “have a minute?” (which is fucking awful anyway). You also need to be responsive and set your status appropriately. A lot of coworkers just wander off and leave their slack status as active. To my mind if you’re running an errand longer than taking a dump, you should update your status.
I get a small amount of joy from clicking the “request changes” button and blocking some doofus from merging lazy untested code.
My work uses python and it hasn’t been bad for new code that has tests and types. Old code we inherited from contractors and “yolo startup” types is less good, but we’ve generally be improving that as we touch it.