The Official Status Thread
-
@ben_lubar said in The Official Status Thread:
I'd suggest not doing that so close to the pile of firewood and the wooden fence, but I don't generally burn things, so that's just my uninformed opinion.
Yeah, it is not really an issue to worry about. The total length of time it burned was no more than 2 minutes. Also, that is a fire pit that we regularly use in the summer. Never had an issue before.
Also:
@tsaukpaetra said in The Official Status Thread:
Nah it's too cold for them to catch fire!
at least on that short of a burn.
Christmas trees go up like roman candles. If I had a fire that burned like that for an hour it would easily catch fire. Not in a couple of minutes though.
-
@heterodox said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
Well, here's to hoping it's accurate, I really don't want to walk into the office on Monday without a solution to a downed server...
Probably will be. Amazon Logistics is their last-mile service so they don't really need to figure out shipping details until they're right on top of the delivery date. They must already have everything ready in a warehouse near you.
Eyyyy, looks like you were right! Got it just after noon. Not bad at all...
-
Status: Travis CI must know something I don't, because it can build the repo I'm working on just fine, and I can't.
-
STATUS
Boss: Hey Cartman, I found about 10 new developers. We need to get going with a whole bunch of features, no time for tests. They are coming tomorrow to make a plan of what features they'll be working on. Oh, also, there's a technical interview with another react guy at 6PM today, that cool?
Me: O.O
-
@cartman82 I imagine you're feeling a little bit
nmettled.
-
Status: Basket cat.
-
Finished Papers, Please (all achievements, all endings).
Oh, I was supposed to get work done this past weekend?
Well, fuck me, I guess.
-
There's a big difference between "BLUF: You have 7 business days to do the following:" and "BLUFF: You have 7 business days to do the following:". The latter made me laugh out loud when I saw it in an "Action Required" e-mail.
-
Status: At work. Ice storm. I drove the car with summer tires and no ice scraper.
Oops.
-
Status: Over the weekend, I successfully added some more documentation to my game engine, and got it up and running without exceptions again. It's been months. And I got the CI builds running, too! They don't exactly... work for some reason, because NuGet thinks that .NET Standard 2 is not compatible with UWP (which is blatantly false and compiles just fine locally).
And then I got to work, where my whole team (the loudest team) is moving to the center of the office. I was the first to be set up fully ;)
-
@magus said in The Official Status Thread:
the loudest team
Do you have yodelling contests while the builds are running? That would both qualify you for “loudest team” and “most annoying team”…
-
STATUS: First workday after holidays. Starting with a worktrip to Stockholm where they announced the plan for the next
104 years to become the leaders in our sector. Also, they announced that our sister company that does pretty much the same thing as us would be merged into us, which surprised about nobody I guess.Tonight will be nice dinner (I hope) to celebrate our big anniversary (yay). I had troubles staying awake during the long afternoon lectures. First one was interesting and funny so I wanted to stay awake :( but the second got a bit droning on and boring so no surprise there. Also could play bullshit bingo during the announcement of the merge and 4-year plan, as it was corporate buzzwords galore with no details of how their goals are to be actuallly reached.
Also, the hotel room is kinda shite and is uncleaned. Colleague found some food and candy wrappings in his bed from previous owner. Bathroom out of shower gel. I shall leave an angry 1-star review on Google Maps and make sure to avoid this hotel in the future. Although considering its location it's not a tourist hotel, so it's highly unlikely I'd stay at it by choice anyway.
I also have the option to get a chip implanted into my hand, but I don't think I want to get that from a dirty hotel. Also, the lobby is filled with hipster-ish motivating phrases which I seem to be allergic against.
-
@dkf We just talk more and louder than most teams, by a probably not terribly significant amount. But our office is very open, with cement ceilings and floors with only very thin carpet, because it is a modern office space.
The complaints may start soon.
-
@tsaukpaetra said in The Official Status Thread:
a solution to a downed server...
Alright, starting the replacement of two of the three disks.
Current setup:
ada0 at ahcich1 bus 0 scbus1 target 0 lun 0 -> New red ada1 at ahcich2 bus 0 scbus2 target 0 lun 0 -> Existing red ada2 at ahcich4 bus 0 scbus4 target 0 lun 0 -> New red ada3 at ahcich8 bus 0 scbus8 target 0 lun 0 -> Old Gold ada0 at ahcich1 bus 0 scbus1 target 0 lun 0 -> OId gold Not connected: Old gold
Why is it writing to
da0
? At most I'd expect it to use the disk under replacement to speed up writing the new disk, not... whatever this is...
-
-
@pleegwat said in The Official Status Thread:
So basically TLDR?
Yep, except at the beginning of the message whereas TLDR is usually at the end.
Seeing "BLUFF" in an "Action Required" e-mail just reminded me of this:
-
@heterodox said in The Official Status Thread:
Yep, except at the beginning of the message whereas TLDR is usually at the end.
I've seen it at the top as well, typically on larger forum posts (>1 screen).
-
Status: Huh...
Well, I'll deal with that later. For now I'm holding my breath until this resilver completes...
-
Have you seen someone about your resilvering addiction? At this point you've got to have thought that
ddrescue
onto new drives is at least somewhat more sane...
-
@polygeekery said in The Official Status Thread:
Status: Bye bye Christmas tree.
It is insane how fast they burn. Those flames are ~16' tall. Think of what would happen if that caught fire in your living room.
Indeed. Especially once the tree is dry.
This one's not a christmas tree, but wow...
-
Status: If humans could have suffix mods, mine would be The Meetinghammer.
Because we just listened to three people talk in abstract about a problem they'd like to solve, and kept getting distracted by similar, but actually unrelated problems, and the conceptual underpinnings of them.
In the end? The meeting was slightly beneficial to the organizer at least.
-
@weng said in The Official Status Thread:
Status: At work. Ice storm. I drove the car with summer tires and no ice scraper.
Oops.
While I have winter tires, this morning handed me a bit of a problem. The previous days had been rather warm (8+ °C) while today we only got -3 °C. First I discovered that my windows had partially frozen from the inside which required me to leave the car in idle for the A/C to get rid of the ice - and then I discovered upon trying to start my car that the battery seems to be on its way out because it took some cajoling to get it running...
Let's see if this huge silica gel bag I got is at least able to partially suck humidity of the car.
-
@twelvebaud said in The Official Status Thread:
Have you seen someone about your resilvering addiction? At this point you've got to have thought that
ddrescue
onto new drives is at least somewhat more sane...It's not my resilvering addiction. If I could tell ZFS "Hey, this drive is prone to randomly freezing up, just wait for me to reset it and continue again where you left off" so that I could finish mirroring it to the replacement drives, I would.
As it is, plugging one of the affected drives via USB 2.0 seems to have sufficiently slowed down the process enough that it's gotten about halfway through (after restarting several times due to said drives randomly locking up)
-
status It's a good thing I took the train this morning (except for the walk in the rain). Some asshat decided to park in front of my driveway. Dude. The entire front of the house was unoccupied. You couldn't have pulled forward 10 feet?? Sheesh.
-
@dcon said in The Official Status Thread:
status It's a good thing I took the train this morning (except for the walk in the rain). Some asshat decided to park in front of my driveway. Dude. The entire front of the house was unoccupied. You couldn't have pulled forward 10 feet?? Sheesh.
Fully illegal, take a picture with license plate from a couple angles and send to police.
-
@pie_flavor said in The Official Status Thread:
@dcon said in The Official Status Thread:
status It's a good thing I took the train this morning (except for the walk in the rain). Some asshat decided to park in front of my driveway. Dude. The entire front of the house was unoccupied. You couldn't have pulled forward 10 feet?? Sheesh.
Fully illegal, take a picture and send it to police.
I was tempted. But (for now) too lazy.
-
Status: Trying to determine the easiest way to represent an up-to-3 dimension set in an integer...
-
@tsaukpaetra what are the constraints? How big can the 3 numbers be?
-
@anotherusername said in The Official Status Thread:
@tsaukpaetra what are the constraints? How big can the 3 numbers be?
That's the rub, I'm intending it to be user-defined (i.e. user can say they want a 2x2 grid or 3x1x4 cube, or perhaps bigger, even 100x100x2 cube).
I'm thinking I'll start up a thread in Coding Help about this...
-
@tsaukpaetra said in The Official Status Thread:
@anotherusername said in The Official Status Thread:
@tsaukpaetra what are the constraints? How big can the 3 numbers be?
That's the rub, I'm intending it to be user-defined (i.e. user can say they want a 2x2 grid or 3x1x4 cube, or perhaps bigger, even 100x100x2 cube).
I'm thinking I'll start up a thread in Coding Help about this...
With 3 integers.
-
@weng said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
@anotherusername said in The Official Status Thread:
@tsaukpaetra what are the constraints? How big can the 3 numbers be?
That's the rub, I'm intending it to be user-defined (i.e. user can say they want a 2x2 grid or 3x1x4 cube, or perhaps bigger, even 100x100x2 cube).
I'm thinking I'll start up a thread in Coding Help about this...
With 3 integers.
Ah, yeah I'm limited to one single 32-bit (probably signed) integer.
-
@tsaukpaetra said in The Official Status Thread:
Ah, yeah I'm limited to one single 32-bit (probably signed) integer.
Top byte is number of dimensions (2 or 3). Subsequent bytes are unsigned integers with the values; unused dimensions set to zero by convention. And if you need more than a byte for a dimension, you probably also need more than a 32-bit number to hold it all.
-
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
Ah, yeah I'm limited to one single 32-bit (probably signed) integer.
Top byte is number of dimensions (2 or 3). Subsequent bytes are unsigned integers with the values; unused dimensions set to zero by convention. And if you need more than a byte for a dimension, you probably also need more than a 32-bit number to hold it all.
Well, I'm not packing the definition in with the identifier. And I'm not sure if the math needed to split up an int into the constituent four bytes will be any less complex than what I'm trying to do. Anyways, making a thread...
-
@tsaukpaetra said in The Official Status Thread:
I'm not sure if the math needed to split up an int into the constituent four bytes
It's just shifts. Processors are astonishingly good at doing shifts. If you're not using shifts for this sort of thing, you're crazy or desperate.
-
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
I'm not sure if the math needed to split up an int into the constituent four bytes
It's just shifts. Processors are astonishingly good at doing shifts. If you're not using shifts for this sort of thing, you're crazy or desperate.
It's UE4's C++. I think I have to do some funky casting to do that...
-
@tsaukpaetra said in The Official Status Thread:
It's UE4's C++. I think I have to do some funky casting to do that...
They don't support
>>
and<<
?
-
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
It's UE4's C++. I think I have to do some funky casting to do that...
They don't support
>>
and<<
?Hold my water, I'm going to try it...
What does that look like again?
int32 myID = whatevernumber; int8 dim0 = (myID >> 16) && 0x000F; int8 dim1 = (myID >> 16) && 0x000F; int8 dim2 = (myID >> 16) && 0x000F; int8 dim3 = (myID >> 16) && 0x000F;
???
-
@tsaukpaetra I just tried this in C
#include <stdio.h> int main(int argc, char const *argv[]) { long fuk = 0x1234ABCD; short mask = 0xFF; short fuk1 = fuk & mask; short fuk2 = (fuk >> 8) & mask; short fuk3 = (fuk >> 16) & mask; short fuk4 = (fuk >> 24) & mask; printf("%x %x %x %x\n", fuk1, fuk2, fuk3, fuk4); return 0; } // output is "cd ab 34 12"
-
@hungrier said in The Official Status Thread:
@tsaukpaetra I just tried this in C
#include <stdio.h> int main(int argc, char const *argv[]) { long fuk = 0x1234ABCD; short mask = 0xFF; short fuk1 = fuk & mask; short fuk2 = (fuk >> 8) & mask; short fuk3 = (fuk >> 16) & mask; short fuk4 = (fuk >> 24) & mask; printf("%x %x %x %x\n", fuk1, fuk2, fuk3, fuk4); return 0; } // output is "cd ab 34 12"
No dice, translated code:
int32 myID = 0x1234ABCD; int8 dim0 = (myID >> 0) && 0xFF; //0x000F; int8 dim1 = (myID >> 8) && 0xFF; //0x00F0; int8 dim2 = (myID >> 16) && 0xFF; //0x0F00; int8 dim3 = (myID >> 24) && 0xFF; //0xF000; UE_LOG(LogTemp, Warning, TEXT("JAWOEFAWEOFAWOEJFAWOEJFAOWEJ %x, %x, %x, %x"), dim0, dim1, dim2, dim3);
Result:
[2018.01.09-01.48.00:687][271]LogTemp:Warning: JAWOEFAWEOFAWOEJFAWOEJFAOWEJ 1, 1, 1, 1
UE4 is... special.
-
@tsaukpaetra Try with single & (bitwise operator) instead of && (logical)
-
@hungrier said in The Official Status Thread:
@tsaukpaetra Try with single & (bitwise operator) instead of && (logical)
Oh god
I was wondering WTF was happening... Perhaps I should sit up straighter and look closer at the monitor...
-
Status Ordered 4 USB A to USB C cables (since I got a new phone). It's amazing how much the markup on those is at normal stores--I got 4 for $20, they're usually that much for 1 even at Walmart or Target.
-
Status: Just got done spending twenty minutes trying to reproduce a bug for someone. If I literally downloaded their entire project, built it, and ran it, I didn't get the same error they did. Turns out they forgot to delete the old configuration after they changed the format.
-
@tsaukpaetra if you can say that the individual dimensions are definitely smaller than 256 (or... pick a number; call it n), then it's pretty darn simple to do with math.
pack:
packed = a * n2 + b * n + cunpack:
a = floor(packed / n2)
b = floor(packed / n) % n
c = packed % nNote that if n = 256, each parameter is 8 bits, and the above operations are identical to the following bitwise operations:
packed = (a << 16) | (b << 8) | c
a = packed >> 16
b = (packed >> 8) & 255
c = packed & 255All you have to do is make sure that the packed result fits into your integer type. If you're working with a signed int and don't want negative results, that gives you 31 bits to work with, so you could store 3 dimensions of 10 bits if you really wanted to (n = 210, 1024). Or your n value could be a number that isn't an even number of binary bits at all; you couldn't use bitwise operations to pack/unpack, then -- you'd have to use multiplication and division. You basically just have to ensure that n3 < 231 (the largest value you could use would be n = 1290, allowing up to 3 dimensions, each holding a value in the range of 0 to 1289).
There's no particular reason that n has to be a single number, either. But making the dimensions have different max sizes probably wouldn't be useful in your application.
-
@anotherusername said in The Official Status Thread:
But making the dimensions have different max sizes probably wouldn't be useful in your application.
Yeah, I've been running through possible usage scenarios and decided it's unlikely someone's going to make a hotel with more than 127 levels or a forest wider than the same.
I'll probably just stick with the byte-sized int and keep the formulas in mind if we ever get big enough to have that matter....
-
Status: Oh shit!
(Not shown: The RDP screen rapidly flashing)
-
@tsaukpaetra said in The Official Status Thread:
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
It's UE4's C++. I think I have to do some funky casting to do that...
They don't support
>>
and<<
?Hold my water, I'm going to try it...
What does that look like again?
int32 myID = whatevernumber; int8 dim0 = (myID >> 16) && 0x000F; int8 dim1 = (myID >> 16) && 0x000F; int8 dim2 = (myID >> 16) && 0x000F; int8 dim3 = (myID >> 16) && 0x000F;
???
- myID
- shift it halfway to the right
- set dim0, dim1, dim2, and dim3 to 1 if step 2 is nonzero or 0 otherwise
-
@ben_lubar said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
It's UE4's C++. I think I have to do some funky casting to do that...
They don't support
>>
and<<
?Hold my water, I'm going to try it...
What does that look like again?
int32 myID = whatevernumber; int8 dim0 = (myID >> 16) && 0x000F; int8 dim1 = (myID >> 16) && 0x000F; int8 dim2 = (myID >> 16) && 0x000F; int8 dim3 = (myID >> 16) && 0x000F;
???
- myID
- shift it halfway to the right
- set dim0, dim1, dim2, and dim3 to 1 if step 2 is nonzero or 0 otherwise
I forgot if shifting modifies the original variable, sue me.... :P
And I literally haven't done anything like this in months or more. Probably more.
-
@tsaukpaetra said in The Official Status Thread:
@ben_lubar said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
@dkf said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
It's UE4's C++. I think I have to do some funky casting to do that...
They don't support
>>
and<<
?Hold my water, I'm going to try it...
What does that look like again?
int32 myID = whatevernumber; int8 dim0 = (myID >> 16) && 0x000F; int8 dim1 = (myID >> 16) && 0x000F; int8 dim2 = (myID >> 16) && 0x000F; int8 dim3 = (myID >> 16) && 0x000F;
???
- myID
- shift it halfway to the right
- set dim0, dim1, dim2, and dim3 to 1 if step 2 is nonzero or 0 otherwise
I forgot if shifting modifies the original variable, sue me.... :P
And I literally haven't done anything like this in months or more. Probably more.I mean, if it's a
std::istream
, yes, kind of.
-
@tsaukpaetra said in The Official Status Thread:
Status: Trying to determine the easiest way to represent an up-to-3 dimension set in an integer...
Why's it got to be a single integer?