The Official Status Thread
-
Status: Fixing mom's friend's laptop. "It's slow, make it fast." That was an interesting one. Apparently someone tried to make it fast before. There was AVG, CCleaner, CCleaner Browser (yes, they have their own Chrome clone), two VPNs, FOUR different driver updates, Dropbox that was never used, OneDrive that was never used, a 500MB webcam app, and a bunch of HP bloatware. Also, .zip files were set to open with VLC. Also also, all four installed browsers had empty history and no bookmarks so I couldn't figure out which one was actively used (damn old people and their obsession with deleting history for no reason).
It's already working much better but I'm gonna put an SSD in there anyway. I'm not the one paying after all.
-
Status: Keeping under the radar.
Edit: That's totally not what I wanted to paste, but I'm keeping it anyways.
-
@Gąska said in The Official Status Thread:
I'm gonna put an SSD in there anyway.
Might as well clean install at that point, and just copy over the important stuff. Save headache and all that.
-
@Tsaukpaetra said in The Official Status Thread:
@Gąska said in The Official Status Thread:
I'm gonna put an SSD in there anyway.
Might as well clean install at that point
Fuck no. They don't pay me enough. Setting up everything from scratch, installing the unknown number of unknown applications, logging into an unknown number of unknown accounts they absolutely must have but forgot passwords for (and usually logins too), and migrating all the important data while leaving unimportant crap behind - with the laptop's owner between 200 and 2000 miles away at any given moment, and with
zeronegative tech knowledge so asking questions would be pointless anyway - is way too much effort. A simple whole disk clone will suffice, and the effect will be mostly the same.
-
@Gąska said in The Official Status Thread:
installing the unknown number of unknown applications
Oh that's easy as asking what programs they use.
Unless the answer is anything more complicated than "the faceflix" the actual answer is "nothing".
-
@Tsaukpaetra said in The Official Status Thread:
@Gąska said in The Official Status Thread:
installing the unknown number of unknown applications
Oh that's easy as asking what programs they use.
Do you think they know or care? I see you don't deal with people over 50 very often.
-
@Gąska said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
@Gąska said in The Official Status Thread:
installing the unknown number of unknown applications
Oh that's easy as asking what programs they use.
Do you think they know or care? I see you don't deal with people over 50 very often.
I do and that is how I know.
-
-
@HardwareGeek said in The Official Status Thread:
@Gąska said in The Official Status Thread:
people over 50
Hey, I resemble that remark.
Is the answer to the question "what programs do you use" more or less complicated than "the faceflix"?
-
@Tsaukpaetra It's definitely more complicated than "the faceflix". It's a fairly lengthy list, especially if you include all the games in my Steam inventory, although I actually "use" only a handful of those. Not counting things built into Windows, like calculator and explorer, I have 7 applications open at this moment. I usually have more running, but I haven't relaunched some of the things that I had open before the power failure the other night.
-
@HardwareGeek See @Gąska ? That means a reformat is likely not the simplest move, if for some reason you had unforeseen slowness issues.
-
@Tsaukpaetra said in The Official Status Thread:
That means a reformat is likely not the simplest move
That's what he said.
-
@loopback0 said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
That means a reformat is likely not the simplest move
That's what he said unconditionally.
There are some situations where it's faster and easier to just copy some photos and have a fresh unfuckered install, than to trust that all the programs you can find and click the uninstaller for did the needful properly and hope you got everything.
-
Status: Pondering if I want to build up table relationships in my hand-crafted ORM or not.
Couldn't be worse than a hand-maintained index table, right?
-
Status: I have determined my chocolate milk carton isn't properly sealing. I have established this while shaking it, shortly after putting on a white shirt.
-
@Tsaukpaetra said in The Official Status Thread:
That's what he said unconditionally.
Not true. I said:
They don't pay me enough.
-
@Gąska said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
That's what he said unconditionally.
Not true. I said:
They don't pay me enough.
I lay corrected.
-
@Tsaukpaetra said in The Official Status Thread:
table relationships
Status: Pondering on the utility of creating and maintaining two (effectively) primary keys, an auto-increment and UUID.
Sure it makes it harder to "guess" sequential IDs, but it's not very useful IMO and I'd think if you're just intending to obfuscate the number there's better ways of doing that...
-
-
@Tsaukpaetra said in The Official Status Thread:
Pondering on the utility of creating and maintaining two (effectively) primary keys, an auto-increment and UUID.
It costs an extra index/unique constraint and some space and time. The advantage is that UUIDs can be split across tables or even databases without collisions (assuming you're not doing something smartstupid like incrementing them) whereas the standard database ID can't. (OTOH, the database ID is usually significantly faster to use when accessing rows.)
-
@dkf said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Pondering on the utility of creating and maintaining two (effectively) primary keys, an auto-increment and UUID.
It costs an extra index/unique constraint and some space and time. The advantage is that UUIDs can be split across tables or even databases without collisions (assuming you're not doing something smartstupid like incrementing them) whereas the standard database ID can't. (OTOH, the database ID is usually significantly faster to use when accessing rows.)
Yeah, in this application it's impossibly unlikely that I will have need for collision prevention. A
contact
record will never be mistaken for apayment
record.The only thing I can think of that might use this is a master index of UUIDs that can trace back to the table it originated in, but that's more hand-indexing I really don't thing will be necessary...
-
@Tsaukpaetra said in The Official Status Thread:
it's impossibly unlikely that I will have need for collision prevention.
Famous last words.
-
@Gąska said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
it's impossibly unlikely that I will have need for collision prevention.
Famous last words.
I mean, if someone is coming to Comic Con with a QR Code for Blitz Con and there's a magical collision....
-
@Tsaukpaetra said in The Official Status Thread:
Save headache and all that.
Do you ever follow your own advise?
-
@Gąska said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
it's impossibly unlikely that I will have need for collision prevention.
Famous last words.
Of any Tesla.
-
STATUS: Perplexed as to the point of an antivirus, since it screams bloody murder when my code-signed executable is run on a system, yet happily allows actual malware, in the form of a Discord credential stealer, to run.
We're winning in both false positives and false negatives. Well done boys...
-
@dkf said in The Official Status Thread:
@PleegWat Oh, there was a
return
(it's Java so it's a required compiler error if you get that wrong, not a warning) but it was a helpfulreturn null
because I'd forgotten to put the right value in there instead of using the default from the template. Definitely my own fault, and not picked up by tracking of unused variables because the object I wanted to return was used in quite a few places while I built its contents.Didn't you write a Unit Test before you wrote that method?
-
@BernieTheBernie said in The Official Status Thread:
@dkf said in The Official Status Thread:
@PleegWat Oh, there was a
return
(it's Java so it's a required compiler error if you get that wrong, not a warning) but it was a helpfulreturn null
because I'd forgotten to put the right value in there instead of using the default from the template. Definitely my own fault, and not picked up by tracking of unused variables because the object I wanted to return was used in quite a few places while I built its contents.Didn't you write a Unit Test before you wrote that method?
STATUS In today's controversial opinions (I can't find the thread): I love a bit of code reuse but a lot of heinous crimes have being committed in its name. Todays crime is three different code bases operating in three similiar ways but just different enough to warrant three different solutions but we're trying to jury rig a one size fits all solution. Tricky at the best of times but now we're working across two java versions and three versions of spring. :tire_fire:
-
@BernieTheBernie said in The Official Status Thread:
Didn't you write a Unit Test before you wrote that method?
I'm not an actual adherent of TDD, and never have been as I suspect it's only applicable in applications where the model is understood completely before the development starts. Of course, at that point you might as well use Waterfall.
-
@dkf said in The Official Status Thread:
@BernieTheBernie said in The Official Status Thread:
Didn't you write a Unit Test before you wrote that method?
I'm not an actual adherent of TDD, and never have been as I suspect it's only applicable in applications where the model is understood completely before the development starts. Of course, at that point you might as well use Waterfall.
I wouldn't go as far as to say Waterfall but yeah it's really only a useful tool when you have a good grasp on whats going on. Not just the model. I find. Its of limited use at the early stage when you're hacking around trying to figure out what needs to be done.
I just wish the adherents of it would fuck off and stop screaming about it. We hear you. It's useful. It's a tool that we'll use when its needed.
-
Status: Handling cryptographic key material is always fun. As in . Especially when the bug is about doing it more safely and that turns out to require rather higher library versions than available on the required target platform.
-
@DogsB said in The Official Status Thread:
@dkf said in The Official Status Thread:
@BernieTheBernie said in The Official Status Thread:
Didn't you write a Unit Test before you wrote that method?
I'm not an actual adherent of TDD, and never have been as I suspect it's only applicable in applications where the model is understood completely before the development starts. Of course, at that point you might as well use Waterfall.
I wouldn't go as far as to say Waterfall but yeah it's really only a useful tool when you have a good grasp on whats going on. Not just the model. I find. Its of limited use at the early stage when you're hacking around trying to figure out what needs to be done.
I just wish the adherents of it would fuck off and stop screaming about it. We hear you. It's useful. It's a tool that we'll use when its needed.
The middle ground I've found for exploratory coding is:
- Write a "spike" that does the core of what you want it to do, making notes of the business logic assumptions you encounter along the way.
- Comment out the spike.
- Add the first test.
- Uncomment just enough of the spike to pass the test
- Repeat
- ???
- Commit it all in one batch anyway so nobody really knows what order you wrote things in.
-
@izzion said in The Official Status Thread:
@DogsB said in The Official Status Thread:
@dkf said in The Official Status Thread:
@BernieTheBernie said in The Official Status Thread:
Didn't you write a Unit Test before you wrote that method?
I'm not an actual adherent of TDD, and never have been as I suspect it's only applicable in applications where the model is understood completely before the development starts. Of course, at that point you might as well use Waterfall.
I wouldn't go as far as to say Waterfall but yeah it's really only a useful tool when you have a good grasp on whats going on. Not just the model. I find. Its of limited use at the early stage when you're hacking around trying to figure out what needs to be done.
I just wish the adherents of it would fuck off and stop screaming about it. We hear you. It's useful. It's a tool that we'll use when its needed.
The middle ground I've found for exploratory coding is:
- Write a "spike" that does the core of what you want it to do, making notes of the business logic assumptions you encounter along the way.
- Comment out the spike.
- Add the first test.
- Uncomment just enough of the spike to pass the test
- Repeat
- ???
- Commit it all in one batch anyway so nobody really knows what order you wrote things in.
I tend to write a minimum implementation of whatever, and then write a happypath test, run and fix all the bugs, add a bunch of tests for failure mides, run and see how happy the code does, and add proper error handling. I also gave stone tests that run nulls through everything and fix those problems.
I usually only make a single commit of all the work. Easier to follow what the hell happened with the code a few months down the line when a booboo happened and the flaw had to be traced down.
-
How long will this story take, ?
About 5 minutes.
I should be able to get that done this week.
Filed under: I continue to be amazed that they pay me for this.
-
@error said in The Official Status Thread:
How long will this story take, ?
About 5 minutes.
I should be able to get that done this week.
Filed under: I continue to be amazed that they pay me for this.
Hey, if you told them the actual time there wouldn’t be enough left for TDWTF.
-
I'm writing a shell script to delete a file or folder, really, no, I mean it, even if there are open locks.
Thinking of calling it foad.
-
@error a shell script? Sounds like linux. Locked files are usually a windows problem.
-
-
@HardwareGeek said in The Official Status Thread:
@Tsaukpaetra It's definitely more complicated than "the faceflix". It's a fairly lengthy list, especially if you include all the games in my Steam inventory, although I actually "use" only a handful of those. Not counting things built into Windows, like calculator and explorer, I have 7 applications open at this moment. I usually have more running, but I haven't relaunched some of the things that I had open before the power failure the other night.
And then there's the VMs that have their own set of special apps! (like my signing certificate)
-
@topspin said in The Official Status Thread:
@error said in The Official Status Thread:
How long will this story take, ?
About 5 minutes.
I should be able to get that done this week.
Filed under: I continue to be amazed that they pay me for this.
Hey, if you told them the actual time there wouldn’t be enough left for TDWTF.
Plus, you know you're going to get interrupted with 25 different meetings/standups. (that reminds me, I better go check what training I still need to do. That "one" item in the list has 3 pages of other things behind it, so seeing "you have 1 training to complete" doesn't help.)
-
@dkf well, we can put aside type 1 UUIDs that are somewhat based on linear time progression (namely the current time forms part of the bitstream)…
But I’ve just done a couple of APIs that fart around doing this, they have regular auto increment ids for connecting tables but also the principle entities also have UUIDs (type 4 in case anyone cares), so that APIs can refer to objects without exposing the underlying ID (because this is theoretically multi-tenant and not exposing how many rows you have is nice to have)
So having both can be reasonable for a given class of problem.
-
@DogsB said in The Official Status Thread:
STATUS In today's controversial opinions (I can't find the thread): I love a bit of code reuse but a lot of heinous crimes have being committed in its name. Todays crime is three different code bases operating in three similiar ways but just different enough to warrant three different solutions but we're trying to jury rig a one size fits all solution. Tricky at the best of times but now we're working across two java versions and three versions of spring. :tire_fire:
Seriously, though, isn't this the kind of problem OOP is designed to solve?
I deal with this on a fairly regular basis and have generally found that "fob the common functionality off to someone else (typically, a new class) and modify the existing stuff to only handle the case-specific aspects" gets the job done 99% of the time - with the added benefit of making it easier to implement new solutions of a similar type. Occasionally, I might go for a fully generalised solution, but that's usually more trouble than it's worth.
Needing to work with different framework versions is a bitch, though. Luckily, I haven't needed to do so since we got rid of the last remaining XP stations at work, some years back.
-
@Luhmann said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Save headache and all that.
Do you ever follow your own advise?
Yes! When it's not my shit.
-
Switch microSD card died inexplicably. Luckily, I had a spare, but I lost all my data. Hopefully that doesn't include my Metroid Dread progress.
-
@Arantor said in The Official Status Thread:
principle entities also have UUIDs
I didn't have any problem with this until they became the pk and it was decided to store it in binary. Almost had an aneurysm debugging the fucking tables afterwards.
@error said in The Official Status Thread:
Metroid Dread
Oooooooohhhh is that good. I'm on the edge of buying it.
-
@DogsB said in The Official Status Thread:
Oooooooohhhh is that good. I'm on the edge of buying it.
IMHO the bar is high for Metroid games. It's on par with the Samus Returns remake - also developed by MercurySteam. I put it above Other M, Fusion, and Zero Mission, but below Super Metroid and Metroid Prime.
-
Status:
I have finally stopped doing this to myself.
249 goddamn hours of my life, Azata path, almost exclusively Tern-based, Normal difficulty (i.e., lowly manlet scrub), except Full Crits, No Auto Level-up. No mods. Too bad the secret ending is hidden behind so much weird shit - it's the only one that makes sense. The standard ending is kind of a
-
Status: Looks like someone started doing their job this morning.
-
@Tsaukpaetra said in The Official Status Thread:
Looks like someone started doing their job this morning.
I swear it wasn't me!
-
Status: Most Tesla thing ever.
- Be at the new downtown park
- Said park has metered street parking on one side
- On the other side, there's a service alley/sidewalk that includes some handicapped parking and a couple spaces for a loading zone
- Double park your Tesla in the no-parking spot beyond the loading zone that's right in front of the gate to an adjoining property used by work vehicles (big pickups or flatbeds).