The Official Status Thread
-
@Zenith said in The Official Status Thread:
@Zenith Square Reader, you had one job - stay in the box with my other convention gear - and you fucked it up.
Yeah, we're supposed to have three. Two have seemingly walked away while in storage...
-
@Tsaukpaetra said in The Official Status Thread:
Status: I have successed the temperature sensor, and it is the correctly reporting to the IoT thing!
Finished tacking down my finished circuit.
Now to pot it and see if it still works..
-
@Tsaukpaetra said in The Official Status Thread:
Now to pot it and see if it still works..
Meh, let's do the indoor long-term test (no battery) and see how it does.
Put a probe in the fridge, one in the freeze, and the on-module one and...
Uh... that doesn't seem right.
Especially since the freezer is known to have a hard time getting things frozen and the fridge seems cooler than 11 degrees...
Or... maybe that's accurate and I should be more upset.
-
@Benjamin-Hall said in The Official Status Thread:
Status Blocked on picking up new work due to QA backlogs (having the main tester on vacation does that...). So reading Clean Architecture by Uncle Bob. Am I presumptuous to say that most of it is just vacuous restatements of basic principles, dressed up in a lot of smuggled assumptions and heavy over-complication/over-formalization? It's basically a recipe for
AbstractFactoryInterfaceBeanFactoryBuilder
classes everywhere, where everything's abstract and "flexible"...but only if you're doing the approved thing.Edit: And it falls prey to the common trap of hyper-simplified, opinionated examples. It all looks great when you've got these tiny little toy problems, but...yeah. Those don't actually help anyone understand anything more complex than those toy problems.
I'm reading Clean code. It is somewhat useful but it appears to be aimed more at juniors and like what you said it doesn't look like it would scale up to enterprise level codebases. I'm actually quite concerned at this stage that the Titans in our industry only ever appear to work on toy problems like this but not codebases that are over five years old and a hundred times larger with fuck all automated testing. Their exsamples are at best under the 200 line mark with 4 classes that are easy enough to hold in your head and independent of a larger system. I don't know about you but most of the null pointers I see in one section are usually caused by a write in another section going wrong. I can't hold over a hundred thousand lines of code in my head or even the general whereabouts of every read and write.
There's a really telling example in clean code where he cleans up an open source library class. He does a reasonable job but the changes would have being rejected in a realistic situation. He changed names of methods, deleted methods, moved constants and replaced constants with enums. Reasonable enough but its a shared resource so who knows how many downstream projects it affected. it would have being rejected by most professional developers.
Another problem the book has is that it really can't be read in isolation by a junior. Every chapter has a bibliography that you need to read or have experienced to really understand. "As my good friend x said in his book..." nice of you to include that reference but to understand it fully I have to read it. Also who is your friend and why should I care about his opinion.
The last question I have is how much time will this take? These aren't 15 minute clean ups before a PR is submitted. How long did it take them to do this stuff? These are toy examples. How much time will it take when scaled to the system I'm working on?
It all sounds very nice but a lot of it is just well meaning naive platitudes.
-
@DogsB said in The Official Status Thread:
The last question I have is how much time will this take?
Cleaning up something that's in a mess takes a long time. Keeping things pretty clean given that they've started clean is pretty quick. The trick to keeping stuff clean is to have automated tooling to check at least the basic aspects of it, and that tooling does scale up to big projects (once you persuade the juniors that they can't get away with ignoring it).
-
@dkf said in The Official Status Thread:
once you persuade the juniors that they can't get away with ignoring it
I agree with everything you said except this. My problem has always being brow beating more senior Devs into sticking to it.
I've got my unit coverage up to the mandated 80%.
can we delete the 20% that isnt covered?
-
@DogsB said in The Official Status Thread:
My problem has always being brow beating more senior Devs into sticking to it.
Junior is a matter of behaviour, it seems.
Senior buy-in is more something you get at the stage when you're planning to turn on CI. The payoff to sell it with is always things like “you'll be able to read and understand all the stuff that everyone else writes” since senior devs will have done maintenance coding in the past and will know in their gut and bones that it's a pain.
-
@dkf said in The Official Status Thread:
Cleaning up something that's in a mess takes a long time. Keeping things pretty clean given that they've started clean is pretty quick.
This.
-
@Benjamin-Hall said in The Official Status Thread:
Am I presumptuous to say that most of it is just vacuous restatements of basic principles, dressed up in a lot of smuggled assumptions and heavy over-complication/over-formalization?
No you aren't. But a lot of people are lacking those basic principles.
One of my previous employers bought a 20-hour videotutorial from that guy. I believe it was one of the best investments they could make regarding code quality. It makes designing architecture so much easier when everyone on the project has good understanding of the 20 basic design patterns.
-
Status: I was feeling good this morning so I decided to go back to my OCaml/C# project I've been neglecting for some time but really want to finish. I have a new PC so I had to install OCaml first. Apparently, I've picked the worst possible time for it because they're in the middle of reworking their Windows support, so the old ways of installing OCaml are already deprecated and unsupported while the new ways are still experimental and unsupported. Fuck this shit I'm out.
-
Status: Went to an electronics store to buy a new iPhone. Waited like 15 minutes to actually get to a salesman. Besides all the demo models on display, they have nothing in store. Can order it though. Ugh, I wanted to buy it now.
Went to another one, same shit.
-
@topspin said in The Official Status Thread:
Status: Went to an electronics store to buy a new iPhone.
I've read enough.
-
@Gąska said in The Official Status Thread:
@topspin said in The Official Status Thread:
Status: Went to an electronics store to buy a new iPhone.
I've read enough.
Yeah, I was sightseeing a bit last week and since my 6 year old phone's battery is fucked I used an android for a little bit.
Good lord, that is disgusting. I'd rather buy a hole in the knee than this absolute garbage.
-
@topspin said in The Official Status Thread:
@Gąska said in The Official Status Thread:
@topspin said in The Official Status Thread:
Status: Went to an electronics store to buy a new iPhone.
I've read enough.
Yeah, I was sightseeing a bit last week and since my 6 year old phone's battery is fucked I used an android for a little bit.
Good lord, that is disgusting. I'd rather buy a hole in the knee than this absolute garbage.Though I have to admit, the new "Focus" feature is nice. I can now set a "work" focus where I can tailor exactly which people/groups/apps can be non-silent which is then activated through geofencing. No more forgetting to set the phone on silent while I'm at school!
-
@topspin said in The Official Status Thread:
Went to an electronics store to buy a new iPhone
Where's the Apple rant thread, anyways? Well, while I'm here I got to say the new camera bumps are getting absolutely fucking ridiculous. On my 6S I was initially annyoed that the backside is not flat, but the camera sticks out about 1mm so with the cut-out in the cheapo silicone case the backside level again. Now these things stick out 3 levels deep, just from counting the pixels it sticks out 35% compared to the body:
Now even the silicone cases themselves have a bump around the cut-out so it doesn't lie flat on the table anymore.
Who the hell thought this was a good idea? There's no point in parts of it being thinner than the thickest side, just make the rest thicker and include more battery, FFS.
-
-
@Gąska said in The Official Status Thread:
the old ways of installing OCaml are already deprecated and unsupported while the new ways are still experimental and unsupported.
Dafuq? That's... not how one deprecates things...
Stupid people are stupid...
-
@loopback0 said in The Official Status Thread:
@topspin said in The Official Status Thread:
it doesn't lie flat on the table anymore.
Yeah. So?
He clearly uses his iPhone primarily while it's laying almost-flat on the table surface. Don't you?
-
@topspin Sometimes I wish the guy who invented the first camera bump would get publicly thrown into a volcano as an example to the others
-
Status: I had a very big problem sleeping at normal hours recently, so I was very happy to finally manage yesterday to sleep 8 hours and wake up at 7AM. Today I woke up while it was still completely dark. "Oh hell, but it's not as bad as waking up in the afternoon". I picked up my phone to check time and it was 11. "Okay a little late but still acceptable." "Hey wait a minute..."
-
@Tsaukpaetra said in The Official Status Thread:
Uh... that doesn't seem right.
Of course it's not right, it's not in Fahrenheit
-
@TimeBandit said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Uh... that doesn't seem right.
Of course it's not right, it's not in Fahrenheit
Well I checked it with an infrared device and it seems accurate. The refrigerator control panel isn't quite right but what can you do?
-
@Tsaukpaetra said in The Official Status Thread:
The refrigerator control panel isn't quite right but what can you do?
You could fix it.
(remembering who I'm talking to)
Wait, don't touch it!
-
@TimeBandit said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
The refrigerator control panel isn't quite right but what can you do?
You could fix it.
(remembering who I'm talking to)
Wait, don't touch it!Unfortunately the firmware is actually burned on the chip. Yes I've checked. Fucking annoying.
Apparently there's a recall on said control interface. Couldn't get it swapped because covid.
Wonder if they'll come out now.
-
@TimeBandit said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
The refrigerator control panel isn't quite right but what can you do?
You could fix it.
(remembering who I'm talking to)
Wait, don't touch it!Remembering what’s in his fridge...
Eh, probably can’t get any more bad.
-
Status: Election Day. Results are being counted, not yet clear. As Thanos said: "Reality is often disappointing."
(I assume nobody here cares deeply about elections in Germany, so this should not be controversial, but since it's not the garage I'll not name too much.)
Current projections results are: 1: 24.9%, 2: 24.7%, 3: 14.6%, 4: 11.7%, ...
Since the coalition I was rooting for seems not possible, I'm now hoping for 1-3-4. However, since #3 are retards who have no sense of strategy they announced: "We are open for both 1-3-4 and 2-3-4". While #4 have a really clear preference for 2-3-4, so they'll just block when it comes to negotiations, meaning the party on fricking 4th position will single-handedly decide what will be the next government. They should just make this dude chancellor with his 11%, at least his charisma comes with a Steve Jobs level reality distortion field attached.
Fun side note: while last time I mocked the head of the proto-nazis for failing school so hard to not be able to name a single poem, that's apparently enough for a politician but not for the top. Merkel's designated
survivorsuccessor, in the latest of a long string of showing his incompetence, was not even able to fold his ballot paper correctly. Wondering if you can actually fail Kindergarten.
-
@topspin said in The Official Status Thread:
be able to name a single poem,
You think schools still teach that?
-
@Tsaukpaetra said in The Official Status Thread:
@topspin said in The Official Status Thread:
be able to name a single poem,
You think schools still teach that?
That was his own complaint, that they don't. Thing is that 1) they do, and 2) he just doesn't know a single one so he must think it's the schools' fault.
-
@topspin said in The Official Status Thread:
Wondering if you can actually fail Kindergarten.
Hide the crayons if he comes visiting!
-
@dkf said in The Official Status Thread:
@topspin said in The Official Status Thread:
Wondering if you can actually fail Kindergarten.
Hide the crayons if he comes visiting!
I think he's got backup shoved up his nose.
-
@dkf said in The Official Status Thread:
@BernieTheBernie said in The Official Status Thread:
The embodiments of the thoughts according to
the present confusion share the disadvantages of the respective
embodiments of the thought system according to the
present confusion.The Word Salad thread is
But ... this is unpalatable. Hence rather the "nope you eat it" thread.
-
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Luckily I was planning on going camping this weekend anyways, so I guess I have an extra day of preparation? Hoo... ray?
status: got a text that the company is filing for chapter 7 bankruptcy. Woo... Hooo.........
Got notified of the case number, so I did my best to file claim thingy.
I'm... the first claimant? How.... did they not... what?
I can't be the first person to put in a claim, right? The case has been open for like three weeks at this point...
Because this is a Phishing Site?
-
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Now to pot it and see if it still works..
Meh, let's do the indoor long-term test (no battery) and see how it does.
Put a probe in the fridge, one in the freeze, and the on-module one and...
Uh... that doesn't seem right.
Especially since the freezer is known to have a hard time getting things frozen and the fridge seems cooler than 11 degrees...
Or... maybe that's accurate and I should be more upset.
Does that device give you the temperatures directly, or just some temperature related value, such that you have to caclulate yourself
temperature = constant + factor * measured_value
?
-
@Tsaukpaetra Uh, not that you probably care, but that case number is probably extremely doxxy.
-
You're speaking to someone who regularly posts his passwords...
-
Yesterday's status: voted.
Folded my ballots the right side in and everything.
-
@BernieTheBernie said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Luckily I was planning on going camping this weekend anyways, so I guess I have an extra day of preparation? Hoo... ray?
status: got a text that the company is filing for chapter 7 bankruptcy. Woo... Hooo.........
Got notified of the case number, so I did my best to file claim thingy.
I'm... the first claimant? How.... did they not... what?
I can't be the first person to put in a claim, right? The case has been open for like three weeks at this point...
Because this is a Phishing Site?
No, it's an actual bona fide Internet Explorer 4.0 compatible government-run website. Attachments limited to four megabytes, any higher and the server might choke, and yes I tried it.
In not a sadist I swear!
-
@BernieTheBernie said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Now to pot it and see if it still works..
Meh, let's do the indoor long-term test (no battery) and see how it does.
Put a probe in the fridge, one in the freeze, and the on-module one and...
Uh... that doesn't seem right.
Especially since the freezer is known to have a hard time getting things frozen and the fridge seems cooler than 11 degrees...
Or... maybe that's accurate and I should be more upset.
Does that device give you the temperatures directly, or just some temperature related value, such that you have to caclulate yourself
temperature = constant + factor * measured_value
?It's returned as an integer that needs doing. Dallas temperature probe, it's apparently pretty popular.
-
@sloosecannon said in The Official Status Thread:
@Tsaukpaetra Uh, not that you probably care, but that case number is probably extremely doxxy.
It might be doxxy. If they end up even acknowledging me.
-
@Tsaukpaetra said in The Official Status Thread:
No, it's an actual bona fide Internet Explorer 4.0 compatible government-run website. Attachments limited to four megabytes, any higher and the server might choke, and yes I tried it.
In not a sadist I swear!
IE4? Masochist then.
-
@Zerosquare said in The Official Status Thread:
You're speaking to someone who regularly posts his passwords...
The key to Tsaukpaetra's Box is
Tsaukpaetra
. Now to see if someone can get physical access to said box....
-
@dkf said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
No, it's an actual bona fide Internet Explorer 4.0 compatible government-run website. Attachments limited to four megabytes, any higher and the server might choke, and yes I tried it.
In not a sadist I swear!
IE4? Masochist then.
Does your evaluation change if I mention the backend is written in Perl?
-
@Tsaukpaetra said in The Official Status Thread:
@dkf said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
No, it's an actual bona fide Internet Explorer 4.0 compatible government-run website. Attachments limited to four megabytes, any higher and the server might choke, and yes I tried it.
In not a sadist I swear!
IE4? Masochist then.
Does your evaluation change if I mention the backend is written in Perl?
Quite the reverse; it confirms my statement.
-
@Tsaukpaetra said in The Official Status Thread:
@BernieTheBernie said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Luckily I was planning on going camping this weekend anyways, so I guess I have an extra day of preparation? Hoo... ray?
status: got a text that the company is filing for chapter 7 bankruptcy. Woo... Hooo.........
Got notified of the case number, so I did my best to file claim thingy.
I'm... the first claimant? How.... did they not... what?
I can't be the first person to put in a claim, right? The case has been open for like three weeks at this point...
Because this is a Phishing Site?
No, it's an actual bona fide Internet Explorer 4.0 compatible government-run website. Attachments limited to four megabytes, any higher and the server might choke, and yes I tried it.
In not a sadist I swear!
One of the systems I built for the government had a maximum size for attachments of 9 megs for all of them. Since there cups potentially be several of them, each individual one was limited to MAX_TOTAL/MAX_NUMBER_OF_ATTACHMENTS. No matter how many attachments there were. This was because the system that was supposed to handle the data didn't exist, so we had to generate PDFs and send those as emails to workers to deal with manually. And emails had a very fixed maximum size of attachments.
-
@Tsaukpaetra said in The Official Status Thread:
the backend is written in Perl?
As in constrast to Perly Home Programming?
-
@BernieTheBernie said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
the backend is written in Perl?
As in constrast to Pearly Home Programming?
:@god: Don't be dissing the heavenly language!
-
@izzion you like yo speak in tongues?
-
Status: Fuck, I hate
gitmerge commitsgitHad tasked cow-orker to develop feature X. Came back to look at things, feature X works but he broke a different module down the line, and now the build fails. Check the individual commits and they look fine, don't even seem to touch this. Well, except for one commit which is a merge commit and those are a completely unreadable mess. But it's just the merge, right?
Well, I have no idea what the flying fuck he did, but his "merge" apparently doesn't contain all the changes in the meantime that should be in there. Which is of course impossible to find out because even if you go through said commit you can only see if what it contains makes sense, but not if it's missing anything.It's already in master, unfortunately, so what the hell do I do now? Go through everything with a fine-tooth comb to check if every line that's supposed to be there actually is there? Or reset everything, apply his changes on top, then force push? Both sound like ... unpleasant options.
Fuck, I'll have to make rebasing mandatory.
-
@topspin said in The Official Status Thread:
Status: Fuck, I hate
gitmerge commitsgitHad tasked cow-orker to develop feature X. Came back to look at things, feature X works but he broke a different module down the line, and now the build fails. Check the individual commits and they look fine, don't even seem to touch this. Well, except for one commit which is a merge commit and those are a completely unreadable mess. But it's just the merge, right?
Well, I have no idea what the flying fuck he did, but his "merge" apparently doesn't contain all the changes in the meantime that should be in there. Which is of course impossible to find out because even if you go through said commit you can only see if what it contains makes sense, but not if it's missing anything.It's already in master, unfortunately, so what the hell do I do now? Go through everything with a fine-tooth comb to check if every line that's supposed to be there actually is there? Or reset everything, apply his changes on top, then force push? Both sound like ... unpleasant options.
Fuck, I'll have to make rebasing mandatory.
If it was me, I'd check out a fresh branchvatba sane state, and reapply his work on that and then force master to that sane state. But if there are a lot of things dependent on this master branch, rewriting history may be quite a big head-ache.
And you'll have people sit on the old dead version of matter doing work and all that.Another, more fiddly way is to do whole repo diffs to see what's missing and put those things back. Takes more time and in my experience is more error prone.
And people losing code in merges is nothing that is particular in git. I've seen people do it in all the product I've used.
I prefer to use rebase but sometimes it's gonna be an annoying mess to do a rebase while a merge is fast and easy.
-
@Carnage I just did the diff. I.e. I compared the whole tree diff between my last state before his changes vs. after his "merge" to the changes he was supposed to introduce. It's two files that are fucked, one is the one I already spotted. While I agree this is error-prone (and thus why I didn't want to do it) there were not too many changes between the complete trees so I'm pretty confident I didn't miss any files.
So I guess I'll "fix" it by just reintroducing the changes that he somehow lost.Still very much annoyed at this.
And people losing code in merges is nothing that is particular in git. I've seen people do it in all the product I've used.
Probably. But at least with a rebase either they'd only lose their own code or I'd immediately see the code they removed in the commit on top (compared to a lack of code in a merge commit).