The Official Status Thread


  • BINNED

    @Atazhaia

    I used to put a nice beach backdrop for internal meetings. Or a shot from an action cam while mountainbike. That confused a lot of people because essentially had handle bars sticking out of my shoulders.
    Lately :kneeling_warthog: has taking over and I keep it on the corporate blue with logo that is still a bit more appropriate when delivering bad news to customers.


  • BINNED

    @DogsB said in The Official Status Thread:

    been blurred out

    dildo's are always a safe bet


  • BINNED

    @Luhmann said in The Official Status Thread:

    delivering bad news to customers.

    good news about those that they usually leave time to do some WTDWTF 😇


  • FoxDev

    @Zecc said in The Official Status Thread:

    @accalia To make matters worse, your ; key seems to be broken.

    it's not broken.

    this is a personal project so i made some.... decisions.. :D

    it's in typescript because why not, and it has a VERY opinionated linter configured that rejects the idea of semicolons. javascript doesn't actually need them so the linter i chose refueses to let me use them. :D

    it used to be running off sqllite, but then i started doing more complicated database things and the poor file based database coulnd't keep up.

    i've been thinking about moving to nosql, but i just don't see that working. the data i'm operating on is very much a relational schema....

    I could drop the db entirely andjust drop text files on the hard drive in the directory structure i'm maintaining, but that's a bit too much code smell for me....


  • Java Dev

    @accalia Just stick all of the data into a single .txt file, which you can then search through. I hear that's the best for performance.


  • FoxDev

    @Atazhaia somehow i doubt that would be performant at all....


  • FoxDev

    @accalia then again...... this is a single user app, and that one user is.... pretty odd.....


  • Java Dev

    @accalia You don't trust our resident Swamp creature? Tsk, tsk...


  • Discourse touched me in a no-no place

    @accalia said in The Official Status Thread:

    it used to be running off sqllite, but then i started doing more complicated database things and the poor file based database coulnd't keep up.

    You need to be doing something pretty intense for that to be true. Like seriously parallel write workloads or something like that.

    For reference, I use it to handle lots of data, the raw data streams from our simulations (replacing a vast pile of binary files that were a complete PITA to manage in multiple ways at once), and I've used it to power a parallel web service implementation — it involved paying attention to keeping write transactions short — so even things that normally look impossible are actually quite doable. I'm not saying that it has no limits (of course it has them!) but such limits aren't usually hit when doing single-user work.


  • Java Dev

    @accalia said in The Official Status Thread:

    also you silly fox. it's practically 23:00 and you're still programming.... go to bed!

    Wouldn't a fox prefer a basket?


  • Considered Harmful

    I love debugging shit where everything is supposed to get injected automatically but doesn't, so the only thing I can observe in the debugger is that it's not getting automatically injected.



  • Status: Windows Update. "Your organization requires your device to restart for updates by $date." Rebooted just for that last night. Relaunched all the applications I had open.

    Internal IT software update required. Grumble Ok, update. (No reboot required.)

    Fine, back to work at last.

    Move the mouse this morning. "Your organization requires your device to restart for updates by $date." :wtf: I did that last night. WhyTF didn't you install all the updates then???

    Edit: Also, my network connection has been very unstable since the update.



  • @HardwareGeek said in The Official Status Thread:

    WhyTF didn't you install all the updates then???

    I've just gotten in the habit of always clicking the 'check now' after an update just to be sure. (Those memories of old systems where update1 would invoke u2 would invoke u3... but of course u2 and u3 didn't need to be initially installed because they didn't apply - yet. Especially bad just after a fresh ISO install, that would be at least a dozen reboots)


  • FoxDev

    @dkf said in The Official Status Thread:

    @accalia said in The Official Status Thread:

    it used to be running off sqllite, but then i started doing more complicated database things and the poor file based database coulnd't keep up.

    You need to be doing something pretty intense for that to be true. Like seriously parallel write workloads or something like that.

    For reference, I use it to handle lots of data, the raw data streams from our simulations (replacing a vast pile of binary files that were a complete PITA to manage in multiple ways at once), and I've used it to power a parallel web service implementation — it involved paying attention to keeping write transactions short — so even things that normally look impossible are actually quite doable. I'm not saying that it has no limits (of course it has them!) but such limits aren't usually hit when doing single-user work.

    could be i was pretty inefficiently using it before....

    I should actually test performance on sqlite again after i finish my tests... mayeb i've fixed the issues with performance taht caused me to have those issues, by not doing brain dead queries.

    course now i have all the data in postgresql so...... i guess i'll have to migrate off of that

    and i should probably figure out why the app has the postgreql container consuming 0.00431 / 134 GB and the actual app consumes 1.22 / 134 GB

    that's a lot of RAM for what its doing.....

    it's not like ungodly amounts, and it's pretty steady at thata amount, but still.. i should figure out what all it is.


  • FoxDev

    @PleegWat said in The Official Status Thread:

    @accalia said in The Official Status Thread:

    also you silly fox. it's practically 23:00 and you're still programming.... go to bed!

    Wouldn't a fox prefer a basket?

    what do you think i meant by bed? :P


  • Notification Spam Recipient

    @Luhmann said in The Official Status Thread:

    @DogsB said in The Official Status Thread:

    been blurred out

    dildo's are always a safe bet

    I'm going to set an HR Giger image as the replacement background so they'll wish they could see what was replaced!


  • Notification Spam Recipient

    @accalia said in The Official Status Thread:

    by not doing brain dead queries.

    Happens more often than anyone would care to admit....


  • Discourse touched me in a no-no place

    @accalia said in The Official Status Thread:

    it's not like ungodly amounts, and it's pretty steady at thata amount, but still.. i should figure out what all it is.

    Postgres likes to fork processes off per connection, meaning you have very little in the way of memory consumption when there aren't any active connections. (It also does clever things with shared memory segments.)


  • FoxDev

    @dkf said in The Official Status Thread:

    @accalia said in The Official Status Thread:

    it's not like ungodly amounts, and it's pretty steady at thata amount, but still.. i should figure out what all it is.

    Postgres likes to fork processes off per connection, meaning you have very little in the way of memory consumption when there aren't any active connections. (It also does clever things with shared memory segments.)

    that explains why the postgres use is so low, not why the nodejs transpiled typescript app is taking over a gig to serve a webpage.... :D


  • Discourse touched me in a no-no place

    @accalia said in The Official Status Thread:

    that explains why the postgres use is so low, not why the nodejs transpiled typescript app is taking over a gig to serve a webpage.... :D

    We'll never know.



  • @accalia said in The Official Status Thread:

    that explains why the postgres use is so low, not why the nodejs transpiled typescript app is taking over a gig to serve a webpage

    Welcome to the modern web ❗


  • Trolleybus Mechanic

    @sebastian-galczynski said in The Official Status Thread:

    Status: New dishwasher-stove combo has a whining coil in the power supply, which only shuts up if I pull the plug. They'll send their oldest guy (who can't hear it) to check it, won't they?

    Dishwasher status: fixed. That was hard.
    So first, I filed a warranty claim with the seller. The seller forwarded the ticket to a certified repair shop and assured me that they'll call me promptly to schedule a visit. After waiting a couple of days I called the repair shop and scheduled the visit myself. The nearest possible date was in two weeks. Well, ok, at least I don't pay...

    Two weeks later, a technician appeared. He was young enough to hear the whining coil and he suspected the mains filter or something on the PCB, so decided to replace both on his next visit. Which was, as you probably guessed, another ~1.5 weeks later (last friday). On Friday another certified technician appeared, replaced the two parts (leaving the old PCB on my desk), but the whine persisted. He decided he can't do anything more and needs to consult with the bosses, then left in a hurry.

    Out of curiosity, I checked the reviews of the certified shop on Google Maps. They were full of 1-star rants about "lazy fucks", "incompetent bums" and the like. Since there were no seals, tamper-proof screws or anything like that, I decided to take the matter into my own hands. It's not rocket science, and I have a spare PCB just in case. I quickly pinned down the source of the noise to the mains filter (using a microphone), then disconnected all the load from the filter and plugged the cable back in. To my surprise, after ditching the load, there was no voltage on the output of the filter. :wtf_owl: I called a friend who happens to have a PhD in electronics, and after 2h of deliberation he proposed a simple hypothesis: the filter was connected "diagonally" - on one side the input and output were reversed. He was correct. I checked which wires are connected to the plug, and indeed - the blue and brown (usual colors for neutral and phase) were not the ones connected to the plug. So the common mode filter worked instead as a differential mode filter, essentially becoming a speaker reproducing any random shit coming in from the mains. I fixed the mistake and voila, complete silence.

    That's when I discovered that the certified technician introduced a completely new problem: he left a badly assembled front panel, so that buttons fell into the casing and were accessible only with a toothpick. I tried to call them and make them fix only the panel so that I could use the device, but to no avail. A bouncer lady on the phone only repeated "we're consulting the matter with the technical department". I called the seller again, and they promised to talk the repair shop into sending someone back on Monday. Of course they didn't. I called the shop again and had to basically admit that I fixed the filter myself and only the panel needs fixing (which I won't do without blueprints, I'm afraid I'll break some plastic part). Surprisingly they didn't void the warranty and sent some guy to re-attach the front panel. Today, I finally closed the ticket with the seller (which apparently didn't close itself after the repair shop closed theirs).

    So we fixed the glitch, but I could buy another dishwasher, were I paid my normal hourly rate for all the wasted time.



  • @HardwareGeek said in The Official Status Thread:

    Status: Worried about the DDF. I'm within a 2-hour drive of the path of the solar eclipse next month. I just ordered a telescope with which to view it. (Yes, a suitable solar filter is part of the kit. I'm neither stupid nor looking forward to blindness.) I also ordered a couple accessories — specifically, a camera/phone adapter. Said adapter is back-ordered until the end of this month. The eclipse will happen on 14 October, and it's a mite difficult to reschedule. I'm more than a little worried that the DDF will push the delivery beyond 13 October. It wouldn't be the end of the world; I could still view the eclipse and maybe even take pictures, just not good pictures.

    I have telescope! Unboxed, assembled, and (very crudely) aligned. I need to take it outside to align it better, but I'm working. And I really need to do it at night to do it properly. :giggity:

    So far, I'm inclined to agree with one of the reviews I read for this telescope. The rigidity of the tripod is a bit lacking; there's quite a bit of vibration any time you touch it.

    Also very much looking forward to getting the phone/camera mount. Trying to position my phone over the eyepiece is a PITA, and it doesn't help that my phone keeps trying to auto-adjust everything.

    Oh, and DDF did show itself, but in a good way. It came in two boxes, one for the telescope itself, and a second small box of accessories (the solar filter, a moon filter I'd forgotten was included, and a simple tool — a piece of plastic with a hole in it — to assist in collimating the optics, if necessary). Tracking info last night showed the main box arriving today, with the second box arriving tomorrow. However, both arrived today.


  • Considered Harmful

    Me right now:

    bb77d2e1-42d3-475f-8e07-d4d7e75b7c4d-image.png


  • Notification Spam Recipient

    @HardwareGeek said in The Official Status Thread:

    it doesn't help that my phone keeps trying to auto-adjust everything.

    Your camera app doesn't have a manual mode? :eek:

    How hard is it to make an App that doesn't do the needful? 😒


  • Considered Harmful

    It seems I'm in Javaland's equivalent of DLL hell, where my POM file dependencies are inconsistently versioned.


  • Notification Spam Recipient

    @error said in The Official Status Thread:

    It seems I'm in Javaland's equivalent of DLL hell, where my POM file dependencies are inconsistently versioned.

    You're in a land of POMs, all seemingly alike...



  • @Tsaukpaetra said in The Official Status Thread:

    Your camera app doesn't have a manual mode?

    I've set it to manual everything that has an obvious manual setting, but it still wants to auto-focus and auto-expose.


  • FoxDev

    @TimeBandit said in The Official Status Thread:

    @accalia said in The Official Status Thread:

    that explains why the postgres use is so low, not why the nodejs transpiled typescript app is taking over a gig to serve a webpage

    Welcome to the modern web ❗

    i'm genuinely scared to even expose this app to the internet.... but your point is well made


  • Notification Spam Recipient

    @HardwareGeek said in The Official Status Thread:

    @Tsaukpaetra said in The Official Status Thread:

    Your camera app doesn't have a manual mode?

    I've set it to manual everything that has an obvious manual setting, but it still wants to auto-focus and auto-expose.

    To the trash bin!

    I use OpenCamera. Seems to not give me too much headache, except for the glitch on my camera's firmware that causes it to fail to restore settings when opening the app the first time. But that happens in the normal app too, so I blame China.


  • Trolleybus Mechanic

    @HardwareGeek During the Covid lockdown I built a barn-door tracker with a stepper motor driven by a Chinese arduino clone, it's perfectly tracking a DSLR with 200mm lens over 30 seconds or more, but it mostly sits on the shelf, because I don't have a dark place anywhere nearby to make deep sky pictures.
    Last weekend I went some 100km east to a Bortle 3-4 place and wasted all evening trying to find the Andromeda Galaxy. Turns out it's not so easy without a guiding scope, so I only managed to take a shitty picture of the rising Orion Nebula some 11deg over the horizon.

    As for wobbly tripods: I tried to mount the tracker (which is made of 12mm plywood) on a tripod and gave up quickly. Built a wooden base instead with adjustable legs with screws you typically find under a fridge. I can adjust the lattitude within Poland and just use an inclinometer in the phone, it's more than enough.



  • Status: How many times do I need to say “I’ve never ever gotten a phone or tablet to print to a printer” before people stop asking me how to set that up?


  • BINNED

    @HardwareGeek said in The Official Status Thread:

    (very crudely) aligned.

    I just eyeball it. Well, the mount has a very difficult-to-read elevation scale, but it’s not like I put it on level ground after roughly setting the right latitude. Then I just say south is ‘about that way’. The other night I was looking at Saturn and barely had to touch the ““declination”” over about two hours.


  • FoxDev

    @Zenith said in The Official Status Thread:

    Status: How many times do I need to say “I’ve never ever gotten a phone or tablet to print to a printer” before people stop asking me how to set that up?

    Instead of telling them that you've never gotten it to work, assert with 100% confidence that it is impossible.

    then either they will prove you wrong and do it themselves just to prove it to you, thereby solving the problem without your involvement. or they'll stop asking you and stop trying to print things out because at this point all printers are just scams to make money for printer companies by making ink cost more per page than it would to carve the page out of granite.

    in either case it's a win.



  • @sebastian-galczynski said in The Official Status Thread:

    @HardwareGeek During the Covid lockdown I built a barn-door tracker with a stepper motor driven by a Chinese arduino clone, it's perfectly tracking a DSLR with 200mm lens over 30 seconds or more, but it mostly sits on the shelf, because I don't have a dark place anywhere nearby to make deep sky pictures.
    Last weekend I went some 100km east to a Bortle 3-4 place and wasted all evening trying to find the Andromeda Galaxy. Turns out it's not so easy without a guiding scope, so I only managed to take a shitty picture of the rising Orion Nebula some 11deg over the horizon.

    As for wobbly tripods: I tried to mount the tracker (which is made of 12mm plywood) on a tripod and gave up quickly. Built a wooden base instead with adjustable legs with screws you typically find under a fridge. I can adjust the lattitude within Poland and just use an inclinometer in the phone, it's more than enough.

    The telescope came with an equatorial mount, so I don't need to make a barn-door tracker, and it has a gear for a motor drive, should I choose to buy or make one at some time in the future. I'm not sure what the Bortle number is here, but it's a fairly typical suburban neighborhood, so it can't be good. I can see a fair assortment of bright stars from my yard, but taking a wild guess, probably nothing beyond maybe magnitude 3-ish. Edit: It's worse than I thought; I can't even see Polaris, which is magnitude 2.

    However, there is a dark sky park less than 2 hours from here, so I'm going to drive out there in the not too distant future. Not perfect, it's Bortle 3, but certainly better than here. There are some private observatories not much further away that appear to have Bortle numbers of 2-ish.

    As for the tripod, it's easy enough to mount the telescope to something sturdier. I just need the right size screw to attach it. It looks to be about 1/2" or 12mm, but I haven't bothered measuring it, yet.

    @kazitor said in The Official Status Thread:

    @HardwareGeek said in The Official Status Thread:

    (very crudely) aligned.

    I just eyeball it. Well, the mount has a very difficult-to-read elevation scale, but it’s not like I put it on level ground after roughly setting the right latitude. Then I just say south is ‘about that way’. The other night I was looking at Saturn and barely had to touch the ““declination”” over about two hours.

    I took it outside and aligned the finder scope with main scope. Being mounted on a portable tripod, not a permanent mount, everything else I'll have to realign every time I move it. I'll probably use the clinometer in my phone to level the tripod when I set it up; it should be good to 1°. The latitude scale has a precision of 1°, and I figure I can probably eyeball it to a couple of 1/10ths (if I can see the damned pointer; black on black does not make for easy visibility, especially in the dark), but accuracy is unknown, and if the tripod isn't level to an accuracy better than 1°, it's kinda pointless for the latitude adjustment to be more precise than that. And that shouldn't need to be adjusted again unless I travel significantly north or south with it. Aligning the R.A. axis with the earth's axis, well, we already talked about the latitude, and "north is about that way" it is; I'd like to get better than that, and maybe I can, sometimes, at night, if I can see Polaris, but only if I can get the telescope itself aligned with the R.A. axis, and the R.A. and declination scales are more easily (de)calibrated than I'd like them to be, so just because they say 90° declination and 0 R.A. doesn't guarantee the scope is actually parallel to the mount, so that's pretty much eyeball, too, or at least an iterative process to calibrate the mount's azimuth to true north and the R.A. and declination dials to match a known bright star.


  • BINNED

    @Tsaukpaetra said in The Official Status Thread:

    @Luhmann said in The Official Status Thread:

    @DogsB said in The Official Status Thread:

    been blurred out

    dildo's are always a safe bet

    I'm going to set an HR Giger image as the replacement background so they'll wish they could see what was replaced!

    You can get the same effect with ponies bro


  • Notification Spam Recipient

    @Luhmann said in The Official Status Thread:

    @Tsaukpaetra said in The Official Status Thread:

    @Luhmann said in The Official Status Thread:

    @DogsB said in The Official Status Thread:

    been blurred out

    dildo's are always a safe bet

    I'm going to set an HR Giger image as the replacement background so they'll wish they could see what was replaced!

    You can get the same effect with ponies bro

    Not really. Nobody said a damn thing...


  • Notification Spam Recipient

    @error said in The Official Status Thread:

    It seems I'm in Javaland's equivalent of DLL hell, where my POM file dependencies are inconsistently versioned.

    Do they still have a magical uber jar that fucks everything? Great way to get out of snyk fixes though.


  • Discourse touched me in a no-no place

    @error said in The Official Status Thread:

    It seems I'm in Javaland's equivalent of DLL hell, where my POM file dependencies are inconsistently versioned.

    Sounds like time for <dependencyManagement> in the parent. You'll still need to figure out what the consistent versions should be, but the tools to do so exist. (My IDE has a tab in the POM editor for exactly this.)


  • BINNED

    @Tsaukpaetra said in The Official Status Thread:

    @Luhmann said in The Official Status Thread:

    @Tsaukpaetra said in The Official Status Thread:

    @Luhmann said in The Official Status Thread:

    @DogsB said in The Official Status Thread:

    been blurred out

    dildo's are always a safe bet

    I'm going to set an HR Giger image as the replacement background so they'll wish they could see what was replaced!

    You can get the same effect with ponies bro

    Not really. Nobody said a damn thing...

    they where probably not sure what they where seeing



  • @sebastian-galczynski said in The Official Status Thread:

    So we fixed the glitch, but I could buy another dishwasher, were I paid my normal hourly rate for all the wasted time.

    And when you account for the amount of time wasted by the repair shop and your dealer, replacing your item with a new item could have been cheapr, too...



  • @error said in The Official Status Thread:

    Me right now:

    bb77d2e1-42d3-475f-8e07-d4d7e75b7c4d-image.png

    :laugh-harder: Many answers, but none of them solved the issue.
    And then a final statement,

    Thanks guys, I just solved it myself

    without mentioning how it was solved...



  • @Zenith said in The Official Status Thread:

    Status: How many times do I need to say “I’ve never ever gotten a phone or tablet to print to a printer” before people stop asking me how to set that up?

    It will be beyond Hilbert's infinite times infinity...


  • Trolleybus Mechanic

    @BernieTheBernie said in The Official Status Thread:

    And when you account for the amount of time wasted by the repair shop and your dealer, replacing your item with a new item could have been cheapr, too...

    Of that I'm not sure, the certified shop certainly doesn't pay much judging by the skills of their workforce.



  • @sebastian-galczynski Did their workforce get their polish work visas by bribing staff at an embassy?
    But that could lead us into :trolley-garage: territory :arrows:



  • Status: I wish they'd thought out Windows Forms just a little better.

    It's bad enough that MinimumSize and MaximumSize go in as literal values and can come back out as adjusted values. And that there's a PreferredSize and GetPreferredSize() that's not clearly documented. Now I'm running into this issue:

    I'm trying to autosize a DataGridView inside of a TableLayoutPanel. My understanding is that this is what PreferredSize is for. So I do the lazy thing and add up the PreferredSize of all of the columns/rows (plus respective headers and scrollbars). The problem happens when I set a MaximumSize that's smaller than this PreferredSize. The DataGridView ends up MaximumSize but the TableLayoutPanel stretches its spot to PreferredSize, leaving a large blank space.

    The only way to fix this seems to be to account for MaximumSize inside the PreferredSize calculation, at which point it's no longer really the preferred size. That or pollute my codebase with a copy of TableLayoutPanel that calculates correctly if I can decipher yet another fucking trainwreck in the Windows Forms namespace.


  • Discourse touched me in a no-no place

    @BernieTheBernie said in The Official Status Thread:

    @error said in The Official Status Thread:

    Me right now:

    bb77d2e1-42d3-475f-8e07-d4d7e75b7c4d-image.png

    :laugh-harder: Many answers, but none of them solved the issue.
    And then a final statement,

    Thanks guys, I just solved it myself

    without mentioning how it was solved...

    Or "I posted what I did here" where that link goes to a dead site (or domain squatter).


  • FoxDev

    Status: I forgot that i added this to my project.... well now it's codified into the tests that it has to be there.

      @test
      async 'it should set Clacks Overhead' () {
        await start(3030)
        expect(this.AppStub.get.callCount).to.equal(1)
        expect(this.AppStub.get.firstCall.args).to.have.lengthOf(2)
        expect(this.AppStub.get.firstCall.args[0]).to.equal('/*')
        const fn = this.AppStub.get.firstCall.args[1]
        expect(fn).to.be.a('function')
        const resultStub = {
          set: sinon.stub()
        }
        const nextFn = sinon.stub()
        fn(undefined, resultStub, nextFn)
        expect(resultStub.set.callCount).to.equal(1)
        expect(resultStub.set.firstCall.args).to.deep.equal(['X-Clacks-Overhead', 'GNU Terry Pratchett'])
        expect(nextFn.callCount).to.equal(1)
        expect(nextFn.calledAfter(resultStub.set)).to.equal(true)
      }
    
    The Function under test if you can't work it out from the test. :P
    export default async function start (port: number) {
      const [app, server, websockets] = Functions.CreateApp(port)
    
      Functions.ConfigureBaseApp(app)
      await Functions.RegisterRouters(app, server, websockets)
      Functions.ConfigureLoggingAndErrors(app)
      Functions.RegisterViewsAndMiddleware(app)
    
      app.get('/*', (_, res, next) => {
        res.set('X-Clacks-Overhead', 'GNU Terry Pratchett')
        next()
      })
    
      Debouncer.startTimers()
    
      return { app, server }
    }
    

  • FoxDev

    @accalia

    And to think i'm actually listening to Going Postal as i write these tests. how apropos


  • Trolleybus Mechanic

    @BernieTheBernie said in The Official Status Thread:

    Did their workforce get their polish work visas by bribing staff at an embassy?

    Surprisingly, no. They're all white and speak perfect Polish with no eastern accent. In fact, during the whole remodeling I only met one Ukrainian (he was power-washing the sofa) and he was the only guy who finished his job with no issues. So maybe we really can't do without immigration after all.


Log in to reply