mattreb

joined 2 years ago
[–] mattreb@feddit.it 1 points 3 days ago

you just made me realize that Fossify icon color can be changed

[–] mattreb@feddit.it 16 points 3 weeks ago (1 children)

But I’m also scared. Not of the tech itself, but of what happens when capitalists decide to fully automate labor.

Dont worry that's not gonna happen. A collegue of mine use llms regularly for code reviews, but you have to put in the work to understand whether what they say makes sense and filter out false positives which are not occasional.

[–] mattreb@feddit.it 2 points 3 weeks ago (1 children)

Thanks, that's actually interesting. I've found making #5 work with limited human resources / deadlines challenging, and wondered what to do. My answer in the past has been to lower review quality (reviewing faster) while keeping #5.

In my case the priority for reviews was high, but we were limited by the reviewers/developers ratio since most people would not do reviews...

[–] mattreb@feddit.it 1 points 3 weeks ago (1 children)

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.

You're obviously right, you're misunderstanding me. With blocked I didn't meant "forever", I meant until the issues is discussed. I'm merely asking how the reviewer is making the call on what should be addressed before merge in #5

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.

you're really nitpicking my English, which I know is not great, but yeah that's what I was asking, so you use #5 with a single person making the final call on when something is ready.

You’re making this process sound adversarial when it isn’t.

Absolutely not, I've never said or thought that. But of course development is made of people and computers can only tell you what compiles, not "when it's right" as you say. 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.

[–] mattreb@feddit.it 1 points 3 weeks ago (3 children)

when you were asked to "just merge" why was the review still on going? too large, or you didn't find an agreement with the autor?

[–] mattreb@feddit.it 2 points 4 weeks ago

Thanks for the insight

In your scenario, you need to identify: 1) what your success criteria is, 2) what sort of bugs could threaten your success criteria, 3) which person or persons can make the determination that a bug falls into that must-fix category.

I think is a good part of what I needed to be told, thank you!

[–] mattreb@feddit.it -3 points 4 weeks ago (2 children)

For example, #3

yes that's what I meant, comments on the review would just be a suggestion to the author, which can possibly fix but not in a controlled (or closed-loop as you said) manner.

software engineering processes seek to keep as many people working and out of each other’s way as possible, but it necessarily requires following steps that might seem like red-tape and TPS reports

In my experience even a too long staging process for merge/review, can hinder development since people that work on the same things can need each other changes to move on, so how to know where to trace the line and merge? No breaking the build I would say is universally accepted, but what if for example an issue is internal to a WIP feature?

[–] mattreb@feddit.it 1 points 4 weeks ago (1 children)

Added a few details in the post. Of course it depends, but let's say you're the team lead and you have to fix a general rule (otherwise no one is going to do them) which one you're more likely to go for? e.g. if you choose (2), it's up to every single member.

Q: about #3

yes already merged, updated the post.

24
submitted 4 weeks ago* (last edited 4 weeks ago) by mattreb@feddit.it to c/programming@programming.dev
 

Hey, I want your opinion on code reviews, what is the best way to use them in a professional environment? Pick one of the following and give me your thoughts (from the most forgiving to the most strict):

  1. no code reviews, they are useless
  2. optional code reviews
  3. mandatory reviews on code that is already merged, optional fixes
  4. mandatory reviews on code before merging (like a pull request), with a time-frame for optional fixes (i.e. whether to fix what has been pointed out is up to the author), merge will occur anyway.
  5. mandatory reviews on code before merging (PR) with mandatory fixes.

Of course in open source development with public contributions, you'll often see (5), but I'm not convinced it could work in professional dev.

Edit: I'm talking about a team of 5 mid to senior devs (no junior or interns) working on a 2-3 year project without many security concerns, but feel free to give me your general opinion.

[–] mattreb@feddit.it 2 points 4 weeks ago* (last edited 4 weeks ago)

yeah and they sneakily wrote that at the end of the article, and it worked because the whole comment section have been successfully rage-baited. The whole situation have been likely missmanaged, but being deaf have little to do with the story....

[–] mattreb@feddit.it 14 points 1 month ago (1 children)

This is an article, based on an article+AI that is based on an article, that cite NO SOURCE whatsoever. What are u even discussing about guys...

161
submitted 4 months ago* (last edited 4 months ago) by mattreb@feddit.it to c/privacy@lemmy.ml
 

Apparently Europe finally got Whatsapp to enable 3rd party chats making it easier to switch to more privacy friendly alternatives article However the only other app that currently works with it is "BirdyChat"??

Have anybody found any news about when serious alternatives will be integrated?

1
submitted 2 years ago* (last edited 2 years ago) by mattreb@feddit.it to c/askelectronics@discuss.tchncs.de
 

Bought a new PC, and I was measuring its consumption out of curiosity. I noticed something weird (to me): when the PC is off (in fact, I completely disconnected the PSU and did the same test), there is quite some current running in the power cable to the PSU (0.15A).

Further measures showed a power factor of (almost) zero, and I can actually measure a capacity of 2uF across the PSU ac input.

I did the same thing on an older PC I have, and there is no current / capacity. So what would the reason of a capacitor across the mains on the input be in a PSU?

PS: the PSU is a Thermaltake Toughpower GF A3 1050W

Edit: I found some official measurements for this specific PSU: https://www.cybenetics.com/evaluations/psus/2249/ that have 40W standby apparent-power by design

 

Come da titolo volevo investire qualche risparmio in un fondo ETF, e al di la del fondo mi chiedevo che piattaforma era meglio usare: uso da qualche tempo Directa, ma dando un occhiata ai volumi giornalieri dei fondi piu' "famosi", questi sembrano bassissimi, molti sotto i 100k!!

Ora premesso che so che gli ETF sono scambiati diversamente e che il volume non causa direttamente problemi di liquidita', ma gli italiani che investono in ETF dove li acquistano? Avevo dato per scontato che Directa fosse quella piu' quotata ma evidentemente mi sbaglio....

 

Anche siti sconosciuti se cercati con il nome esatto appaiono, e' una cosa voluta?

view more: next ›