The Official Status Thread
-
TFW you solve the math problem in a completely different way than the teacher, but the answer is the same.
This got randomly recommended to me on YT:
https://www.youtube.com/watch?v=qTRW7ELhhME
Spoiler
Like all people asking trick questions, the OP's solution was some obscure geometric property that allowed drawing another shape and the answer was the ratio between the areas. I hate geometry, so I just figured out the probability the second cut works based on where the first one was, and integrated from 0 to 1.
-
I get an error in my system tray: General Failure, click here to troubleshoot
I click it, and it starts asking me what the problem seems to be. Um. I'm not having a problem. You're the one that said there was a problem.
-
@Gąska said in The Official Status Thread:
obscure geometric property
Mathematicians love those.
However, I ask a separate question: are all places for the starting stick to be partitioned equally likely? If not, you have to do a probability mapping over that triangle (fortunately there's at least some symmetry!) and then do some clever integration…
-
Status: Spent part of today diagnosing why our linker scripts had stopped garbage collecting unused functions. It turns out that the problem was a coworker not understanding the importance between
=
and+=
in a makefile. Nobody checked for that during code review because he hardly ever touches makefiles and the code at the time built correctly. Only later did it come back to bite us in the ass.
-
@HardwareGeek it’s something like this:
You dial it so it shows the time you arrived, then put it behind your windshield. It’s used so they can control the time if the have something like “2 hours free parking”.
Normally you always have free parking at a supermarket. For comparison an actual, official fine by the city if you park in a zone where you need a ticket without one costs you 15€ (although that can increase if you park longer, but it was just a few minutes). This is a private, unfenced, “free“ parking spot so that the customers can shop in the supermarket. (In contrast to dense city centers where parking garages wouldn’t be free, but you get a ticket when you enter, so it’s plain obvious) It’s in their business interest to provide free parking. But since they hired this company to “control” the parking spot, it’s in that company’s interest to rip off customers as much as possible.
If I had just gotten a regular parking fine, I’d just pay up while being slightly annoyed at myself and maybe a very tiny bit at the city, but for no real reason. In this case I’m a tiny bit annoyed at myself for forgetting that thing above, and hugely pissed at the supermarket for hiring these con-artists.
Let’s see how long I will actually remember.
-
@topspin said in The Official Status Thread:
You dial it so it shows the time you arrived, then put it behind your windshield.
This is begging for a micro clock mechanism to be added to slowly tick around the dial...
-
@Gąska that’s some clever trick, but I had no idea about this property and even after watching the video wouldn’t be able to do it 5 minutes from now.
The calculus solution took me 2 minutes in my head.The 18th century version of “why think when I have a computer in my pocket” probably was “why think when I can do calculus instead”.
-
@Gąska said in The Official Status Thread:
TFW you solve the math problem in a completely different way than the teacher, but the answer.
-
@Tsaukpaetra said in The Official Status Thread:
@topspin said in The Official Status Thread:
You dial it so it shows the time you arrived, then put it behind your windshield.
This is begging for a micro clock mechanism to be added to slowly tick around the dial...
This does, of course, happen. It is, of course, fraud. So is returning to the car after 1 hour and 50 minutes and resetting the parking disc. However, if you come back, move the car to the next spot over, reset the disc, and go shopping for another 2 hours you're in the clear.
Nowadays, I believe most enforcement is by scooters driving by and recording all license plates. This means fraud with a motorized parking disc is pointless since the enforcement system wouldn't even be reading off what the disc says.
-
Status: It's only Monday, and I already need another weekend.
-
Status: I really hate the seat belts in my dad's car. It's the only car I've ever driven where the slider was wide enough for the belt to double over. And get stuck. Of course, it always happens at gas stations, where I want to get out of the way quickly (fucking hate people that park their car, browse around the convenience store for half an hour, then eventually saunter out to put gas in the tank), so rather than fight an endless battle right there, I hold the belt while driving so cops not looking too closely think I'm buckled up. What I really want to do by the time I get home is grab a pair of scissors and cut the fucking thing to shreds.
-
@Zenith Parking at the pump and wandering around the store is douchey for sure, but aren't there usually parking spaces in front of the store? It's away from the pumps, and you could sit for a minute and do your business there.
-
@hungrier Are they really "wandering around the store", or are they going inside to pay for their gas? Sometimes that can take a while if there is a queue.
-
@HardwareGeek said in The Official Status Thread:
going inside to pay for their gas?
I usually do this, while occasionally getting a drink or snack. It can take like 10-15 minutes. I don't consider that a particularly douch-y thing to do, and I won't do that if the pumps are unusually busy or something
-
@topspin Life got much easier when these were ruled legally equivalent to the traditional disk:
It's fully automatic. I.e. it detects the car's movement and updates the time when movement stops.
I have one glued to the corner of my windshield.
-
Status: Another week, another Jenkins problem.
: Why are you not running?
: Exception in thread "main" java.io.IOException: Couldn't get lock for D:\Path\To\Jenkins\remoting\logs\remoting.log, maxLocks: 100
:
D:\Path\To\Jenkins\remoting\logs> dir Volume in drive D is whatever Volume Serial Number is whatever Directory of D:\Path\To\Jenkins\remoting\logs 15.09.2020 12:32 <DIR> . 24.10.2018 17:03 <DIR> .. 06.11.2018 00:07 0 remoting.log.0.lck 29.01.2019 18:15 2.387.383 remoting.log.0 22.01.2019 16:52 1.970 remoting.log.1 21.01.2019 19:16 1.726 remoting.log.2 09.01.2019 04:02 3.402 remoting.log.3 20.12.2018 15:43 1.483 remoting.log.4 30.01.2019 10:17 0 remoting.log.0.1.lck 30.01.2019 10:18 1.949 remoting.log.0.1 20.01.2019 00:13 8.351 remoting.log.1.1 19.01.2019 00:22 8.351 remoting.log.2.1 18.01.2019 23:33 8.351 remoting.log.3.1 18.01.2019 00:23 8.351 remoting.log.4.1 02.02.2019 00:11 0 remoting.log.0.2.lck 02.02.2019 00:12 1.493 remoting.log.0.2 04.02.2019 10:46 0 remoting.log.0.3.lck ... 02.09.2020 17:21 0 remoting.log.0.98.lck 02.09.2020 17:21 1.217 remoting.log.0.98 04.09.2020 21:42 0 remoting.log.0.99.lck 04.09.2020 21:42 1.217 remoting.log.0.99 15.09.2020 12:32 0 remoting.log.0.100.lck 15.09.2020 12:32 1.226 remoting.log.0.100
For fuck's sake, this thing is more unstable than the nightly builds themselves.
-
@acrow said in The Official Status Thread:
It's fully automatic. I.e. it detects the car's movement and updates the time when movement stops.
I have one glued to the corner of my windshield.But then I'd be spending more money (on something else) instead of punishing the shop by not spending any more money.
: I don't wan't solutions, I want to be
!
Seriously though, cool gimmick. Thought (and forgot) about it before, but I feel then I'd get the next ticket two years from now when I don't notice the battery has run out.
-
@topspin said in The Official Status Thread:
but I feel then I'd get the next ticket two years from now when I don't notice the battery has run out.
Good point. Maybe I should swap the battery for a capacitor and regulator. I've already run power for the forward and rear cameras, and the reversing monitor. Splicing the monitor's line for the parking timer wouldn't be a big operation at all.
-
@acrow ...Ooor I cold add battery replacement on my annual maintenance checklist. Right next to forward camera SD card replacement.
-
@topspin Why is it using locking with log files?
-
@dkf said in The Official Status Thread:
@topspin Why is it using locking with log files?
For all I care it could write these log files to
/dev/nullNUL.
-
@PleegWat said in The Official Status Thread:
enforcement is by scooters driving by and recording all license plates
I give it a few more years before they switch to drones
-
@Luhmann said in The Official Status Thread:
@PleegWat said in The Official Status Thread:
enforcement is by scooters driving by and recording all license plates
I give it a few more years before they switch to drones
-
@HardwareGeek said in The Official Status Thread:
@hungrier Are they really "wandering around the store", or are they going inside to pay for their gas? Sometimes that can take a while if there is a queue.
Going inside to pay for gas is reasonable enough, but the premise in the post was
people that park their car, browse around the convenience store for half an hour, then eventually saunter out to put gas in the tank
-
status since the mask thing came into effect I'm astonished at the frequency at which I attempt to put things into my mouth.
Also finally using the vespa mount for my monitor is filling me with joy. Look how much deskspace there is now!
-
@acrow said in The Official Status Thread:
It's fully automatic. I.e. it detects the car's movement and updates the time when movement stops.
I have one glued to the corner of my windshield.Cool, now I just have to figure out how to underclock the erm. Clock.
Edit: I misunderstood it as showing the time in idle, not the time of idle; still, I'm sure you could make it add five minutes every ten minutes or something.
-
STATUS
Monitior from china just showed up. Now I have to rearrange my desk.
-
status It's about to get really noisy. The city finally stopped by to cut down my dead tree. The one that is about 4x the height of my house, 2ft diameter trunk, and right outside my office window.
AltStatus: Thank $deity it's a city tree. That means they take it down and replace it. It would have easily cost me somewhere around $10K.
Edit: Window closed. Kinda helps. I forgot about the grinder.
-
@DogsB said in The Official Status Thread:
Also finally using the vespa mount for my monitor is filling me with joy.
to 'shop a monitor into the photo.
-
@HardwareGeek That front rack looks like the perfect place to mount one...
-
@topspin said in The Official Status Thread:
when I don't notice the battery has run out.
Why would that need a battery at all? One of those uber-cheap solar panel strips should cost less than a battery...
-
@HardwareGeek I knew that was coming when I read the post and saw you had replied.
-
@Tsaukpaetra said in The Official Status Thread:
@topspin said in The Official Status Thread:
when I don't notice the battery has run out.
Why would that need a battery at all? One of those uber-cheap solar panel strips should cost less than a battery...
Some of us prefer to park indoors.
True story: my last car had a rubber handle for the trunk. It melted.
-
@DogsB said in The Official Status Thread:
vespa mount
Oh, that reminds me. Anyone remember how people once yelled at me for mentioning VESA but not explaining what it is? And how I replied with a veeeeery long winded, in-depth explanation of the entire history of monitor mount standards from start to finish, but haven't mentioned VESA even once in it (because nothing official calls it VESA)? I'm still sad nobody got the joke
I worked so hard on it...
-
-
Status: Trying to catch exceptions in Unity is a fool's errand. Somehow it's catching it before I do, which is annoying because it cancels the whole CoRoutine thing instead of sending the exception to my
catch
and letting me handle it.FFS....
For example, the try-catch I have set up here never fires:
-
@Tsaukpaetra said in The Official Status Thread:
@Gąska said in The Official Status Thread:
nobody got the joke
Eh, that's my usual.
We get your jokes. We just don't like them. Try to be more subtle with your entendres.
-
@Tsaukpaetra said in The Official Status Thread:
Status: Trying to catch exceptions in Unity is a fool's errand. Somehow it's catching it before I do, which is annoying because it cancels the whole CoRoutine thing instead of sending the exception to my
catch
and letting me handle it.FFS....
For example, the try-catch I have set up here never fires:
I have a gut feeling that
cb
isn't what you think it is. Can you actually get the debugger to step into the line with thethrow
keyword?
-
if
req
wasnull
, it might catch an exception just to throw aNullReferenceException
trying to resolvereq.key
.Also, when did you switch from Unreal to Unity?
-
I'm not sure what version of C# Unity is currently using, but
??
and?.
operators might be useful.
-
@Tsaukpaetra Is
error
aFunc<?>
of some sort? You might want to put a wrapper function in there as well.
-
@error said in The Official Status Thread:
if
req
wasnull
, it might catch an exception just to throw aNullReferenceException
trying to resolvereq.key
.req.key
should not throw because that object was built from the object that holds thecb
reference, and besides, the trace from Unity definitely shows the null deref is occurring in the callback function, and if I breakpoint it definitely is null there.Also, when did you switch from Unreal to Unity?
Since being shuffled over to a different company. Here's where I mentioned it was basically getting rid of almost everyone:
@Tsaukpaetra said in The Official Status Thread:
Status: going to be the last-man standing for the second company in a row.
@Gąska said in The Official Status Thread:
I have a gut feeling that
cb
isn't what you think it is. Can you actually get the debugger to step into the line with thethrow
keyword?Nope!
@error said in The Official Status Thread:
I'm not sure what version of C# Unity is currently using, but
??
and?.
operators might be useful.This particular project is stuck on Unity 5, so .Net 2.X equivalent, no nice to be seen here.
In fact, Visual studio constantly bugs me "Hey you can simplify this pattern you know!" and I wag my head and reply "No I can't, because you don't realize we're using a compiler that don't do that..."
@TwelveBaud said in The Official Status Thread:
@Tsaukpaetra Is
error
aFunc<?>
of some sort? You might want to put a wrapper function in there as well.No, it's a string.
-
@Tsaukpaetra said in The Official Status Thread:
Nope!
Actually, intentionally throwing in the affected function, even Visual Studio is convinced it's not being handled...
Such baloney.
Maybe I need to read up on how to try-catch a called function?
-
@error said in The Official Status Thread:
if
req
wasnull
, it might catch an exception just to throw aNullReferenceException
trying to resolvereq.key
.Downvoted for recommending Python style in C#.
-
@Tsaukpaetra said in The Official Status Thread:
Since being shuffled over to a different company.
What happened to Hypatia?
-
@topspin said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Since being shuffled over to a different company.
What happened to Hypatia?
It's hibernating.
-
@error said in The Official Status Thread:
@acrow said in The Official Status Thread:
It's fully automatic. I.e. it detects the car's movement and updates the time when movement stops.
I have one glued to the corner of my windshield.Cool, now I just have to figure out how to underclock the erm. Clock.
Edit: I misunderstood it as showing the time in idle, not the time of idle; still, I'm sure you could make it add five minutes every ten minutes or something.
If you're dealing with some government parking revenue f*****y that causes a real need for that sort of shenanigans, then I recommend buying one with a built-in WiFi or GSM control. They're not exactly legal, but I doubt that will stop Chinese companies from selling you some anyway.
-
status: my primary PC unexpectedly and suddenly shut off, no blue screen or anything, and won't turn on again.
Historically this means the CPU failsafe triggered and it should work again after cooking, but it's been half an hour and no dice. I'll let it rest. If it's not overheat then one of the two power supplies may have just died...
-
@Tsaukpaetra said in The Official Status Thread:
failsafe triggered
Is that some kind of vault where you keep all your fail in?
-
@Applied-Mediocrity said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
failsafe triggered
Is that some kind of vault where you keep all your fail in?
Yes. Perhaps it has become overflowed.