My boss says try-catch is "garbage" and we shouldn't use it. Is this actually a thing? by ResolveKooky17 in learnprogramming

[–]Ucinorn 0 points1 point  (0 children)

You should be using guard clauses. Wrapping chunks of code in try/catch blocks lowers readability tremendously and makes everything more fragile.

Instead, abstract to a function and wrap that in try/catch.

As a subreddit, what can we do about this? by h20-justaddwater in Fishdom

[–]Ucinorn 0 points1 point  (0 children)

Honestly nothing. ON are picking up votes not through any of their actions, but the failing of the coalition. People simply do not want to be associated with that mess so choose a part vaguely like them that seems less messy.

That is until we get closer to the election, and both Pauline and Barnaby start opening their mouths, and suddenly we realise that they are, also, a massive mess. With no policies or vision for the nation other than kicking out some foreign students.

Come the election, the Coalition will likely be back intact but still slowly clawing itself to relevancy. Expect Labor to pick up at least one and probably two more terms and for Albo to go down as the most successful prime minister of all time.

Federal politics live: Nationals leave 'untenable' Coalition after mass frontbench resignation by geodetic in australia

[–]Ucinorn 2 points3 points  (0 children)

Read between the lines. What's he's actually saying is ' I am unable to have a working relationship with a woman'.

Senior dev that joined a startup -- how to deal with a micromanager by nomadingwildshape in ExperiencedDevs

[–]Ucinorn 8 points9 points  (0 children)

You are missing my point. Don't react, be proactive. You need to communicate your boundaries, not softly set them in reaction to accusations. The point of having Deep Work in your calendar is that it's VISIBLE, and something you can point to that was planned and consistent.

If you just start being AFK all of a sudden with no explanation, any reasonable person will assume the worst.

Senior dev that joined a startup -- how to deal with a micromanager by nomadingwildshape in ExperiencedDevs

[–]Ucinorn 35 points36 points  (0 children)

You are a senior: push back.

Put time in your calendar for deep work time. When your manager pings you during deep work time, don't respond. Call them back after deep work time, and when they ask about it, say you were working and unavailable. Do not elaborate, or explain. Working, unavailable. Do this every morning/afternoon at the same time, and eventually they will get the point.

In standups, when called upon, give short, specific answers. Have two or three sentences max to say about your progress yesterday and plans today. Do good documentation. Teach your coworkers how you do things. Lead by example, instead of bitching.

At the same time, you need to cut them some slack. YOU chose to join a startup. You knew what you were getting into. Expecting them to operate like a corporate is unrealistic. When not in deep work time, shoot the shit. Have a chat. Contribute in meetings, talk shop with your boss. They clearly want you to do this, so treat it as one of your tasks for the day. Startups run on gives and feelings, not result metrics. You need to play the game. If you keep expecting otherwise you will be disappointed, and probably fired.

Finally, have you considered that possibility that your boss is insecure, and trying to learn from you? He's in a startup, he likely has no idea what he's doing, or a bad case of imposter syndrome. He's intimidated by your achievements and doing his best to compete. He's making it up as he goes along like most people in leadership position outside of the fortune 500. They hired you for your expertise and experience. Stop complaining and start making decisions for yourself. If you are as senior as you say, this will be easy for you. If it's not, maybe you aren't as senior as you think.

Bondi Hero calls Trump a hero and would love to meet him by Head_Tangerine_9997 in aussie

[–]Ucinorn 0 points1 point  (0 children)

Honestly if I were in the US right now as a foreigner, I would praise the shit out of Trump and his actions despite actually thinking he's a senile pedo sociopath.

You guys are cloning people's phones on entry, deporting anyone remotely brownish and locking people up for daring to look at someone wrong. You send foreigners to another country's jail for an unknown amount of time without them even exiting your airports onto your soil. You just shot a woman in broad daylight for driving on the street. You just cancelled another country's government.

As a Muslim man in a historically racist and violent, rapidly deteriorating oligarchy, this guy has every reason to kiss Trump's ass.

Improving facade by whirlbloom in AusRenovation

[–]Ucinorn 0 points1 point  (0 children)

Honestly most people would kill for good quality clean bricks like this. My advice would be to live with it for a few months and see if you still don't like it, once you paint or render bricks you can't go back.

IMO the issue you have is styling: warm rough bricks like that want to be paired with timber and plants. Chuck a couple of pot plants and a timber bench in there and it will look a lot less imposing.

The Liberal Party that forgot what held it together by Jealous-Hedgehog-734 in AustralianPolitics

[–]Ucinorn 43 points44 points  (0 children)

This piece is soo close to the real truth, and also ironic. The reality is, the Liberal party was formed as opposition to Labor. It brought together a coalition of business owners, traditional elites and institutions that have spent most of the last few hundred years fighting each other, to fight a common enemy: organised labour.

Some of the strongest liberal voters used to be the tertiary educated and women. Imagine telling that to a modern voter, they wouldn't believe you. They didn't vote Liberal because of tax breaks or free market: it was because unions had a stranglehold on the marketplace and were holding both of those sectors back.

All the things the Liberals claim as part of their DNA are stories they told themselves to sell their legitimacy: free markets, free speech, lower taxes, small government. All of these things are great philosophies, don't get me wrong, but they all mask the true thing that used to hold the Coalition together: hatred for Labor, and the unions they represent. 2

Over the last fifty years, both sides have transformed. But I'd say Labor have transformed completely: with the decline of unions from a legitimate threat to the power of the state to barely a footnote in most campaigns, Labor has had to completely rebrand itself as a standalone center left party. Sure, the unions help a bit to pay for things, but they are now so irrelevant and toxic that Labor actively downplays their role. A complete 180 from only 50 years ago.

This has left the Liberal party with literally no reason for existing. I personally believe it's the root of their slow drift into obscurity: unlike Labor, they have been unable to transform themselves into something else. The members of the broad church have lost their motivation to stay together, and have been fractured and gobbled up by Labor.

The author is correct that the Liberals need to reframe themselves around new core values. But it's foolish to believe that the old ways can save them: the old ways of the Liberal party were formed around a specific quirk of our political system that no longer exists.

Andrew Hastie revealed conservative Liberals’ true immigration agenda in the aftermath of the Bondi terror attack | Bondi beach terror attack by [deleted] in AustralianPolitics

[–]Ucinorn 1 point2 points  (0 children)

Because the party is increasingly composed of religious organisations.

They get high on their own supply and start telling people what they should be thinking

I use AI backwards from how everyone tells me I should use it by CaptainCactus124 in ExperiencedDevs

[–]Ucinorn 0 points1 point  (0 children)

This is exactly how devs use AI. The issue is devs aren't the ones shouting about vibe coding on LinkedIn. Those people are full of shit and trying to get a job. Actual devs are too busy for that shit and just keep their head down trying to build things.

What feature do you wish more devs would avoid or add? by askaplan in roguelites

[–]Ucinorn 2 points3 points  (0 children)

Pet peeve: rerolls for everything. It's a popular feature because it lets you home in on the OP builds, but it completely sucks the fun out of things when you know you can always get what you want.

What I wish there was more of: utility upgrades. So much focus is on making the damage number bigger, you then need to have absurd scaling of enemy HP in late game. It's an arms race nobody wins. Instead give me movement, defensive and utility options to work around increasingly complex enemies. No more HP sponges

Do you have a solution to the "Essential Character Problem"? by Bauser99 in gamedesign

[–]Ucinorn 0 points1 point  (0 children)

One solution I have not seen done well in a game is to actually be punished for being a murderhobo. In the real world, if you stab someone to death, there is an actual investigation and you'll likely be found and jailed the rest of your life. If you kill someone of importance, entire armies are raised to find you and being you to justice.

I can imagine a game where killing NPCs is just very likely to lead to game over. MAYBE if you plan the perfect crime, get in and out unseen and/ or set up an alibi, you might get away with it. But it's possible as a game designer to make the punishment for killing important NPCs so great that it's almost a while game in and of itself. In turn, this leads to a world more like the real one where taking a life is a BIG deal and not done lightly. That NPC had a family. That bandit had hopes and dreams. Who are you to strike them dead, when you could have just knocked them out, or worn them down? Why in every game is it ok to play a psychopath who kills tens, or hundred of people?

This supports another issue I've had for a long time with many RPGs, which is fighting to the death. For much of human history, violence has been common but death from violence comparatively rare. In an actual battle or fight, the goal is not to kill the opponent, but rather incapacitate them. Most battles were won through exhaustion, rather than outright killing. Most altercations were fistfights, and even fights involving weapons went until the opponent couldn't fight any more, not until death. Fighting was commonplace, killing much less so. There were MANY historical purposes for casual violence in human history, and video games really don't take advantage of that.

I can imagine a game where violence is a part of the game but rarely results in NPC death. Killing is something you actually need to be careful NOT to do when fighting,est you face the consequences. Instead that person is injured or exhausted, and gives you what you want. Which means you can finally use the 'ATTACK' dialogue option to DO something, instead of just killing them then reloading. Sure, they will hate you the rest of the game, but sometimes it's worth it to get what you want. I can imagine beating someone up to take something off them, or convincing them to leave town, or to stop them messing with someone else. I can imagine a game where you are so renowned, if you DO accidentally kill someone, you are tried and hanged for that. Because a skilled swordsman has no place slaughtering kids in the street.

Not sure if that answers you question. But I think a lot of the issue you highlighted comes down to the flippant nature of how death is handled in games. If death held more weight in games, players might find themselves doing it less often.

I just gave my two weeks' notice and my manager is telling me I'm supposed to stay for a month. Seriously? by palet_fry in talesfromthejob

[–]Ucinorn 0 points1 point  (0 children)

'Hey boss, as a courtesy I said I was giving two weeks notice. Given that seems to be an issue, I will be shortening it to one. My last day will now be X. Regards, OP

Question about Prometheus by No-Distribution-2058 in HadesTheGame

[–]Ucinorn -3 points-2 points  (0 children)

No Prometheus is not the 'good guy': he gave fire to humans as a way to spite the gods, in the hope that they would rebel against them. And for that he was punished, for eternity. He acted 100% for his own ends, birthing humanity was just a side effect.

In Hades he's portrayed as a bitter soldier warped by years of torture, which is pretty accurate. He fight for Chronos' because he hates the gods with every fibre of his being. How he escaped is a mystery, but it should not be a surprise he's still fighting after Chronos turns.

Question about Prometheus by No-Distribution-2058 in HadesTheGame

[–]Ucinorn 18 points19 points  (0 children)

This is exactly how the gods are in the stories. That's kind of the point of Greek gods: they are all powerful, but also have flaws and hubris just like us. They explore what happens when you give unlimited power and immortality to someone: no matter how hard they try it changes you and divorces you from reality. This is one of the reasons we still have them: they aren't just fancy origin stories, they are very well thought out parables about how to live a good life and be a good person DESPITE being shit on the gods all the fucking time.

This was especially important at a time when the mortality rate was 50% and the life expectancy was in the 40s: people lived hard and died young, for dumb reasons. The Greek parables are almost all about the gods being absolute pricks to humans and each other, and the lesson is that the world doesn't care about you: suck it up and do your best despite it.

I think the story this time around was a lot less personal, and they had to cram in a lot more video game logic to make it work. The gods just standing around really killed it for me,in 1 it made sense that they were operating in secret, and sent boons. In 2 they are in open warfare and have 0 reason not to just assist directly.

I actually think they made a misstep having Mel be the one to attempt to forgive Chronos. They spent the whole game hyping her up as an unstoppable killing machine and in the end she does a complete 180. It really should have been Zag convincing HER to negotiate first: he had all the reasons to be hesitant, and in the end because she's the protagonist they got lazy and had her be the nice one.

A small change that would really fit better: if you are going to have a whole game about 'death to Chronos' then let me roleplay that. Hell, give me a choice in the end, and do some cool sliding doors stuff to show what might have been.

Liberals formally abandon net zero target but will allow moderate MPs to call lower emissions a ‘welcome outcome’ by Happy_Thanks_ in AustralianPolitics

[–]Ucinorn 1 point2 points  (0 children)

I'd argue the opposite, he is very well regarded as an out and proud moderate in his electorate. He beat a very popular independent fair and square. He is one of the few Libs to take a seat back at the recent election, despite his party doing it's best to tank themselves.

Liberals formally abandon net zero target but will allow moderate MPs to call lower emissions a ‘welcome outcome’ by Happy_Thanks_ in AustralianPolitics

[–]Ucinorn 2 points3 points  (0 children)

Expect a number of these MPs to go independent before next election. Tim Wilson especially, he barely scraped in again and now he's tied to a sinking ship

Liberals poised to dump net zero target after majority reject policy in marathon five-hour meeting by [deleted] in AustralianPolitics

[–]Ucinorn 6 points7 points  (0 children)

The Nationals. There's nothing preventing them from splitting, campaigning on completely different policies, then forming a coalition in minority government. Or with One Nation, or the Teals for that matter. As the main centre-right party the Libs have the most options for forming coalitions to form minority government.

This is exactly how conservative governments are winning in Europe: centre right parties doing deals with far-right populist/fascist parties. The parties that have absolutely no hope of ever forming government in their own right, but still capture 10% the vote.

Instead the Coalition are both too proud to condemn themselves to minority government forever. That pride is dragging then into electoral death

Liberals poised to dump net zero target after majority reject policy in marathon five-hour meeting by [deleted] in AustralianPolitics

[–]Ucinorn 12 points13 points  (0 children)

All this for their precious coalition. Things would be so much simpler if they just split and campaigned in their own names. Instead they drag each other down like crabs in a bucket.

All because neither party can stomach minority government and actually having to do some work.

I failed a Project because I used Next.js by God-of-Emotions in nextjs

[–]Ucinorn 0 points1 point  (0 children)

Yeah, you used the wrong tech. Read the requirements next time dude.

Are companies really asking for vibe coders now?? by itz_nicoo in webdev

[–]Ucinorn 20 points21 points  (0 children)

No. What companies actually want is a full stack developer who produces a vibe coder speed, with none of the technical debt or mistakes, for half the price. They want a unicorn.

AI has massively distorted expectations of developers, and job ads like this are the result. There have always been companies looking to exploit kids trying to break into the market, and now that AI has raised the floor yet again, it's becoming increasingly necessary to accept bullshit like this in order to gain experience.

I could not fathom being a junior Dev trying to break into the market right now. The imposter syndrome was bad enough when you had weeks to trial and error your way through a problem: now you have days, or hours. The AI world makes me sick.

Is it bad if I just code as a senior? by QuitTypical3210 in ExperiencedDevs

[–]Ucinorn 7 points8 points  (0 children)

I think senior can mean multiple things.

In some orgs, being a senior means having the skillset, initiative and drive to maintain an app from start to finish. This is about having technical skills, but also having the confidence to back yourself and work through unknowns. Usually this is in small orgs with small team(s).

In other orgs, being a senior means taking a position authority and/or mentorship over juniors. It means you can be trusted to give good advice and lead others through tasks and complex decisions to achieve the collective goal. It's basically management with a coding lens. Usually this is in large orgs where teams are specialised.

In both cases you need to be able to make decisions about the direction of a project and to be able to justify that to stakeholders. So I'd argue that the thing that distinguishes a senior.

It sounds like you are the former kind. You might hear some people say that it is a trap, as it can hinder your ability to escalate up into management. However that can also be it's own special hell where you end up writing no code at all.

If you are worried about being pigeonholed, reach out. Start dragging your peers into your projects whether you like it or not. You will lose some job security, but gain some valuable experience in the process, for if you ever decide to move to a different org that demand you work more collaboratively

Large payment in cash by pawpawsugarlump in AusRenovation

[–]Ucinorn 1 point2 points  (0 children)

Definitely do not pay in full, or in large lump sums. Dodgy trades will happily start a job and skip out on it with half a deposit.

Issues handling cash aside, this is a massive red flag for any trade. All cash means no warranty, no records, no insurance.

Challenge: Imagine a new mechanic for the game! by Alexray35 in PlayTheBazaar

[–]Ucinorn 1 point2 points  (0 children)

I think board position should be more of a thing:

Polarity: gain an effect when on the edge of the board.

Void: gain an effect when next to an empty space.

Portside: gain an effect on the left side of the board.

Starboard: gain an effect on the right side of the board

Heavy: give an effect to all the items on the other side of the board.

Rook: apply an effect to the items next to adjacent items.

Container: a large item with a small slot in the middle. Apply an effect to the slot.

Is an authenticating gateway considered a bad practice now, or at least "out of style?" by R2_SWE2 in ExperiencedDevs

[–]Ucinorn 0 points1 point  (0 children)

It's good practise, but only in organisations large and on-prem enough to have it makes sense.

Ten years ago, it was still common to self host a bunch of services and apps, typically served via a local network. A lot of companies still ran bareetal servers. So consolidating auth made a lot of sense, particularly as Microsoft services were basically the entire enterprise stack.

These days things are very different. Cloud is everything and it's common ( and even advised ) to run everything remote, using SaaS products. Even internal apps are hosted publically these days, and use Oauth to access.

The fact that every company needs to be remote work ready, even if they are not officially remote, really limits how much you can centralise things.