Live data from Hacker News

Sonar is destroying my job and it's driving me to despair

community.sonarsource.com

61–70 of 73 posts

Re: Sonar is destroying my job and it's driving me to despair

#61

> In my case, I have a superior who administers Sonar and is, let’s say, completely committed to it. For any ‘exception granted’ we would have to book time with them days in advance then white-board the reason why Sonar is wrong, or produce a sample program - who has got time for that with tight deadlines? This superior (sic) is what a negative productivity employee looks like.

Yes, this is an organization issue, not a Sonar issue.

It might also be a communication issue if the team doesn't challenge the status quo, because this situation is terrible:

> For any ‘exception granted’ we would have to book time with them days in advance then white-board the reason why Sonar is wrong

(no evidence for that, maybe they did challenge it and the superior refused, but I just wanted to mention it)

Re: Sonar is destroying my job and it's driving me to despair

#62

Earlier quoted context omitted.

Heh, at one place I wrote some java code that would use reflections to test the getter/setters in a POJO so that it wouldn't end up with 0% code coverage.

getter setters w/o buisness logic seem like an antipattern though. let spring or some other annotation handle those

Eh, whats the difference between spring auto-generating them at build time via an annotation or an IDE auto-generating them at write time?

Re: Sonar is destroying my job and it's driving me to despair

#63

I sympathize with the OP. Having said that, I’ve rolled out SonarCloud to two different companies and I would not hesitate to roll it out to a third if given the opportunity. Initially, people always come out of the woodwork insisting that the gate requirements must be hard blockers and that we can just hand wave away the issues OP listed by tweaking the project rules. I always fight them, insisting that teams should…

There is no anonymous survey with the metadata available to an organization as a matter of routine. Between your OPS people, and just local onowledge, unmasking can be a trivial affair.

Re: Sonar is destroying my job and it's driving me to despair

#64
post #58
post #39

Earlier quoted context omitted.

> That's typically _not_ what post-modernism is It's not what post-modernists typically say post-modernism is. But I'm not relying on what they say it is. I've read enough post-modernism to form my own opinion. > Read and think by yourself. I have. See above.

> It's not what post-modernists typically say post-modernism is. But I'm not relying on what they say it is. I've read enough post-modernism to form my own opinion. You are relying what someone who earns money from making people angry about postmodernism say it is. Outrage culture and addiction. Generally when you want to know what postmodernism is, you should read what postmodernists say. And if you want to know wha…

> you should read what postmodernists say

Which is exactly what I did, as I explicitly said in my post. I just don't rely on what they say postmodernism is, as authoritative about what postmodernism actually is. Reading what people say is not the same as accepting what they say at face value.

Re: Sonar is destroying my job and it's driving me to despair

#65
post #60
post #39

Earlier quoted context omitted.

> That's typically _not_ what post-modernism is It's not what post-modernists typically say post-modernism is. But I'm not relying on what they say it is. I've read enough post-modernism to form my own opinion. > Read and think by yourself. I have. See above.

> It's not what post-modernists typically say post-modernism is Worse, it's the total opposite of one core tenet of postmodernism. It's very hard for anybody honest to argue that postmodernism has ametanarrative, when the only thing all authors agree with is that metanarratives are to be recognized and refuted. > I've read enough post-modernism to form my own opinion. Who did you read? Deleuze? Derrida? Foucault? Bau…

> Who did you read?

I've read all of the ones you mention (except for the novel, I haven't read anything by that author).

Re: Sonar is destroying my job and it's driving me to despair

#66
post #21
post #11

Earlier quoted context omitted.

I don't get why people hate on post-structuralism. The process of reality getting abstracted to the point abstractions stop being representative of reality is extremely common in software engineering. https://en.wikipedia.org/wiki/Hyperreality A hyperreal workplace is one where representations of reality take precedence over reality itself, and the reality of a situation ceases to have meaning. i.e. One where people…

Whenever I want to feel completely stupid, I just open a Wikipedia page on some philosophical term/idea and go down a rabbit hole of links that it's a concept in/argument against/etc. Just completely impenetrably baffling to me in a way that other fields like chemistry or microbiology or physics or whatever (despite also not being my own) aren't. Not that I understand them, but they're penetrable , I can read more an…

Philosophy is mostly wordcellery.

Hard sciences are shape rotation.

One is basically stochastic parottism, and the other is dealing with reality.

Philosophy has no end-game or practical applications. You can make anything up, and so long as enough souls latch onto it via pattern recognition, you have achieved memetic reproduction.

With hard sciences, you can talk all you want, but if your hypotheses are consistently disproven, only the untrained and deranged will latch onto your ideas.

There is nothing to penetrate in philosophy. It's not a reflection of reality, but a reflection of the people it captivates.

It's very little different than music, or any other sort of entertainment. Dare I call it an art. In that case, I would say its recent interpretations are lacking.

A personal aside: much of this era's approach to philosophy reminds me of Fabianism -- wretched, cowardly, and completely superfluous to living an integrated life.

Re: Sonar is destroying my job and it's driving me to despair

#67
post #24
post #10

Sonar doesn't seem to really work in my limited experience. It adds a lot of of time to builds, at least in the cases I've seen, while there are alternate linters or code quality tools capable of doing the same at a fraction of the time. Build times and development speed matter!... They matter a lot. You need a quick feedback loop.

I use Sonar all the time, but not during build. It runs live while I'm editing a file. I've not noticed any slowdown at all, and it's certainly a quick feedback loop (it runs when I save the file). I've found the majority of its suggestions helpful, and the ones that are not I simply ignore.

I should have mentioned that I was referring actually to the continuous integration pipeline, not actually to the build itself. Not very well explained on my side. I've never used it locally myself. I don't really know why the CI setups that were using Sonar I've seen in the past were that slow, to be honest.

Re: Sonar is destroying my job and it's driving me to despair

#68

Earlier quoted context omitted.

getter setters w/o buisness logic seem like an antipattern though. let spring or some other annotation handle those

Eh, whats the difference between spring auto-generating them at build time via an annotation or an IDE auto-generating them at write time?

coverage is not affected

Re: Sonar is destroying my job and it's driving me to despair

#69
post #65
post #60

Earlier quoted context omitted.

> It's not what post-modernists typically say post-modernism is Worse, it's the total opposite of one core tenet of postmodernism. It's very hard for anybody honest to argue that postmodernism has ametanarrative, when the only thing all authors agree with is that metanarratives are to be recognized and refuted. > I've read enough post-modernism to form my own opinion. Who did you read? Deleuze? Derrida? Foucault? Bau…

> Who did you read? I've read all of the ones you mention (except for the novel, I haven't read anything by that author).

Where did you get the "there is no reality out there, it's all just human-created abstraction"? Which book exactly? Because I can't remember a single one claiming that. Maybe 'Simulacre et simulation' has a point that's close to this, but it's about consumption and signifiers, and certainly not about 'all'.

I don't think I remember anything from Lyotard about that, he talk mostly about legitimation and fragmentation. Weirdly, the only place I could see him talking about 'all just human-created abstraction' is in his criticism of metanarative (and in this case, replace 'all' by 'metanarative' and it's pretty close, but also very obvious).

Foucault isn't a postmodernist (he predate them), but he might have talked about that, I remember him talking about objective truth not existing, but it was in the context of words' meanings, and while a Canadian dumbshit took his words outside of its context, it's quite clear it's not about the physical world, but about meaning. Said Canadian proved him somewhat right by misquoting him on purpose. Also it's clear he lacked Wittgenstein's insights on how we describe reality , I would have loved to read Foucault with analytical philosophy insights.

Derrida, I don't know tbh, I don't think anybody but himself understands him, but I do not remember him writing about anything but art or philosophy.

Re: Sonar is destroying my job and it's driving me to despair

#70
post #50

Earlier quoted context omitted.

You need to learn to game it. People care about this stuff are usually stupid. When I led a large support organization I had an SVP who really cared about open incident duration. His pattern for giving a fuck was predictable. My strategy was to hold certain tickets in an undead state (not impacting the metric), then reopen them and close them, demonstrating a metric improvement. He got his improvement and big shot st…

It's less stupidity and more "if we don't prove that we meet x control in y compliance framework, our auditors will deem us non-compliant and we will be fined into oblivion"

Or “my bonus depends on metric x being above y”

Smart leaders know how to balance it. The stupid work to rule

Post reply on HN