25+ yr Java/JS dev
Linux novice - running Ubuntu (no windows/mac)
- 0 posts
- 110 comments
- MagicShel@lemmy.ziptoWorld News@beehaw.org•A man arrested after a ‘young boy was thrown into crocodile pit’ was freed on bondEnglish4 days
I mean… before I judge… just how big of an asshole was the kid being?
I’m a parent of five, and there are days I want to toss my own to the crocodiles.
- MagicShel@lemmy.ziptoProgramming@programming.dev•Career Advice: Principal Giving Dubious Feedback?English3 months
I agree with small amount of money. Far from a certain thing, but common enough to be worth risking a couple of bucks.
I’m not trying to defend that guy but I work for who is hiring when I’m out of work. I’ve spent 11 out of the last 40 months unemployed, and as a result I have no retirement savings to speak of — I can’t afford to turn down work. I’ve worked for Ford, Home Depot, Autozone, Uline (honestly felt so relieved to get laid off, that place was fucking scummy), the Army, and a shit ton of places you’ve never heard of. I had to turn down working for an insurance company — and I think they are pretty shitty — because they wanted to pay 1/3 what I’m making today. And I make fucking nothing compared to Silicon Valley.
engineers work for the company, not for users.
On the other hand I’ve never made any bones about the fact that I work to develop good products and if someone can make money on that good for them, but I fight for the best design for end users I can. I have mostly developed internal software, though, and no one but me cares about internal users. You can tell because everywhere you go, front line workers are bitching about garbage software.
I might be wrong about the best solution, but I refuse to be evil. Even at Uline, I worked to make better software for the workers. But what a bunch of assholes.
- MagicShel@lemmy.ziptoProgramming@programming.dev•Basic physics engine in about 100 lines of pure JavaScriptEnglish3 months
I glanced at the title and just vibe-read the article.
- MagicShel@lemmy.ziptoProgramming@programming.dev•Should I teach students who doesn't know computer science C or JavaScript first?English3 months
Python allows you to focus on a single concept in isolation (building on what you’ve already learned, of course). JS has a bunch of other stuff mixed in. Like the DOM. Interacting with the DOM is necessary for any browser code. You can hide it with abstractions and boilerplate, but it’s always going to surface in error messages. Debugging JS can be quite a bit harder than other languages.
Caveat: beginner JS is many years behind me. It may not be as bad as corporate code full of react and angular and all kinds of requirements.
- MagicShel@lemmy.ziptoProgramming@programming.dev•Should I teach students who doesn't know computer science C or JavaScript first?English3 months
Probably JS as the fact that every computer has by default everything you need to execute JS. But there is a bunch of browser stuff you have to worry about before you can do anything with it. I’m not sure how you learn JS before html.
With Python you can do simple command line stuff without having to really know anything else. You can learn one concept at a time.
That being said, people have a lot of familiarity with browsers and it might feel less abstract. JS might a better choice for demystifying coding. Python is probably a better choice for accomplishing anything useful.
- 3 months
If something gets to code review before this question is answered, I can’t help but feel something has gone dramatically awry.
you’re really nitpicking my English
Mate, the hardest part of software development is communication and autism is ubiquitous — got a touch myself. So I over explain and I’m very specific. But let me make one thing abundantly clear: I don’t have time to spend this many words trying to be a pedantic asshole. I have much better things to do with my time. If you don’t like my approach, feel free not to engage, but I’m here trying to distill some value for you out of my experience.
Now, I don’t put too much stock in up and down votes (and to be clear none of your downvotes is from me — I don’t waste time responding to stuff I downvote), but the pattern suggests that what I’ve said resonates with other developers.
So of course I’m more curious to understand how to solve situations when you do have conflict, if you don’t it’s easy.
So here’s the disconnect: you’re worrying about shifting burdens like it’s a huge weight, but conflict is exceedingly rare — too rare to worry about. It’s a non-consideration.
I’m going to leave it there because I think anything else would just be repeating myself.
If a story gets created, the code will be merged… when it’s right. If you’re talking OSS, then I am out of my element, but I’ll wager there’s no universal answer because each code owner sets their own standards.
you have to appoint a person that have the final say on what to merge right?
If there is work that needs to be done, and you are asked to do it, the code will be merged when it’s right. I don’t decide what to merge, I decide when something is ready to merge.
The problem of deciding what should be merged or blocked
If you want to merge something and I read it over and reject the PR because you forgot about concurrency, that doesn’t mean you don’t get to merge, it means that it’s not finished baking. And assuming you give a shit about the code your response should be “oh shit, lemme fix that and resubmit” OR “actually this code will never have concurrent access, and here’s why.”
You’re making this process sound adversarial when it isn’t. It’s a group effort. Everyone wins or loses together.
Everything gets reviewed. If you have a constructive comment you put it in the review.
I note when I think I have a better way of doing something but the existing way works fine, and I leave that fix up to the submitter. But sometimes I just say no this is wrong. And then whether it gets merged anyway depends on my role. I’m a tech lead now so that’s basically the end although if they want to argue their case I’ll hear them out.
The devs I work with are all seniors and have all been working in the system longer than me, so I respect them and listen when they disagree. Generally when that happens I’m right in principle and they agree with me, but the code is a fucking mess and we can’t do A right without having to change the rest of the alphabet, and we have bigger fish to fry.
In other positions I made my comments and whoever was in charge got to decide whether to accept the change or send it back. I try to always make at least one constructive comment even if it’s just like: I really like how you did this.
I’m not sure what problem you think is being moved to the reviewer. It’s a team and everyone has the same end goal. I appreciate when my code is reviewed because any of us can make a mistake or forget to consider some outside factor. Code review is where assumptions are tested and discussed and hopefully everyone comes away knowing more and agreeing on a path forward.
5 only. Even when I only had a single partner doing non-professional work. Though on occasion when life got away from us we would just merge after a few days. But as a rule we always had at least 24 hours.
To each their own I suppose. By which I mean maybe the author enjoys different parts of coding than you do. Trying to wrangle AI into writing something decent is generally an exercise in frustration for me. But I enjoy architecting and figuring out how to define units of work that are small and self-contained enough to get AI to understand.
I’ve been mulling over what kinds of architectural changes might make it easier for AI to be able to contribute. That’s a puzzle I find interesting in the same way I enjoy other programming problems.
- MagicShel@lemmy.ziptoWorld News@beehaw.org•Epstein used modelling agent to recruit girls, Brazilian women tell BBCEnglish3 months
You can hear how proud he is of himself. He knows the smart thing would be to just never mention it but he thinks everyone secretly wants to fuck kids but only a select few get away with it on the regular, which puts him above everyone else. And he is constitutionally incapable of not bragging about the things he thinks make him better then everyone else.
The world would be such a different place if everyone got stabbed in the throat who deserved it.
- MagicShel@lemmy.ziptoWorld News@beehaw.org•Epstein used modelling agent to recruit girls, Brazilian women tell BBCEnglish3 months
Hey, who do we know that used to be big in the modeling scene back then? Probably crossover into pageants… names on the tip of my tongue… Tramp?
- MagicShel@lemmy.ziptoGaming@beehaw.org•Microsoft quietly retires 'This is an Xbox' marketing campaignEnglish3 months
looks in box
Sir, this is a Wendy’s. I want my money back.
- MagicShel@lemmy.ziptoProgramming@programming.dev•Any freelance dev that works alone, no employer? How does it work for you?English4 months
My experience with this is over a couple of decades old at this point. So I don’t know that any of it is relevant or useful.
At the time I was certified in Lotus Notes development and administration. It was a bit of a niche, but it was used lots of places. I created a business to do business under.
There are websites that deal with corp to corp contract work. So you can find work that way. There was also a specialist independent sales person who worked with IBM customers (Lotus Notes was an IBM brand at the time) who offered to be my sales branch. I never made enough money to hire him. Maybe I should’ve, but I was afraid I wouldn’t be able to get leads and it would be a waste of money.
I worked with small and medium businesses so there was some word of mouth business from managers knowing one another and recommending me. I tried to go to user group events and meet managers and contractors that way. Having a good relationship and recommending each other for various things is another way of getting business. You could also find some c2c opportunities in other places like dice.com.
Ultimately, I was not cut out for sales or business ownership. I lasted the better part of a year. During that year I got unemployment from being laid off from my last job but I didn’t pay myself a regular wage from my company — maybe that wasn’t strictly legal, I don’t know, but the money wasn’t coming in regularly enough to pay myself any kind of regular wage. Anyway, I got away with it so whatever.
I had a couple of good months and a lot of shit months. Between unemployment to help smooth the lows and the business I was able to bring in, I was able to pay for a very shitty house for my family and food. We did have to sell a car. I didn’t plan for it, I just got laid off and walked out the door with 2 weeks of severance and a list of customers I’d been working with.
I took the next job offer that came along. But if you don’t hate the relationship building and sales work and negotiation, and you have some savings set aside to weather lean months, and stick with it for a few years, you could probably do better than I did. Or maybe it’s all different now anyway. Probably a lot more Twitter and self promotion.
- 4 months
You can also use the OpenAPI generator to turn a well-formed Swagger document into code. I’ve used it before. I didn’t hate it.
The generated controllers have a lot of boilerplate (I want to say 5 classes per controller), but it does guarantee the code is in sync with the documentation.
That being said, fuck manually maintaining swagger documents. It’s the worst of all possible works.
- MagicShel@lemmy.ziptoProgramming@programming.dev•I Started Programming When I Was 7. I'm 50 Now and the Thing I Loved Has ChangedEnglish4 months
I tuned my usage up once I realized it is universal punctuation. I used to be unfamiliar with it and agonize over which punctuation was best for a given sentence. Can’t decide between a comma, semi-colon, comma clause, parenthetical, or what-not — just use an emdash and don’t fucking worry about it.
I’m pretty sure I haven’t been accused of being an LLM. Despite my lazy command of the emdash and comfortability with multisyllabic and archaic words, I think LLMs come across as insufferable bores and I don’t think I do that — not to that degree, anyway.
Anyone dumb enough to believe my post is an excuse for that isn’t someone I have any influence over or accept any responsibility for anyway. I’m not fixing the world here on Lemmy, but I’m not setting it on fire either. Anyone so lost is unreachable and I’m not wasting time lamenting their lack of self reflection or critical thinking.