The Official Status Thread
-
@dkf said in The Official Status Thread:
@Tsaukpaetra I don't think those are the same at all. The first puts the
FTexture2DMipMap
object directly atTextureToApplyTo->PlatformData->Mips
, and the second presumes that there's an object already there that you add the newly-createdFTexture2DMipMap
(which was allocated on the general stack) to. The layout of the two in memory is different.Yeah, I have no idea what I'm doing tbh. Not my code. That which I posted shut the compiler up in any case. I've yet to be able to launch the game since the engine upgrade, so as soon as I get it to stop crashing because it's encrypting the content and not embedding the key in the binary, I'll likely run into the broken I just created.
-
Status: Manually hacking in qemu binaries so I can convert a VMDK file so I can
dd
it onto a virtual disk so I cangptgen
a partition table for the purposes of overlaying it on the originating system during conversion from BIOS-based to UEFI-based VM.So far it's going surprisingly well...
-
@Tsaukpaetra said in The Official Status Thread:
So far it's going surprisingly well...
I'm no expert, but... the system isn't CPU-bound on this (apparently), but the disks aren't 100%, and even so... is that an expected throughput for this?
2.5 MB/s read, 4.8 MB/s write...
Edit: Disk transfer rate seems fine...
I blame... fragmentation.
-
Status: The code at work is almost working… except it's actually not working at all. Part of the planning code in the feature I've been bringing up to date made assumptions that were not true in one key case, ultimately because toroidal mapping of a non-rectangular grid isn't entirely easy. So the code that creates the virtual views with that stuff hidden needs to be updated. But doing that the sane way requires changing a lot of other code. All the pieces now exist to make stuff work… but the changes concerned are spread across a dozen repositories and three languages and getting everything to line back up so we can merge into one consistent whole is messy.
-
Status: weaning myself of multiply and screen in favour of actual colours.
Also: tableting again!
-
Apparently spiders live in the woods.
Filed under: I'm getting surprisingly good cell phone signal out here.
-
placement new on TIndirectArray has been deprecated.
I'm not sure what frightens me more, that placement new is a regular use case or that they managed to deprecate it. Like, what?
-
@topspin said in The Official Status Thread:
placement new
I'm still not very clear on what that even means...
Edit: Reading the docs, it seems to indicate that doing this may lead to mis-matched malloc/dealloc.
-
status: apparently, shoving over three amps of power into a battery qualifies as "charging slowly"…
-
@Tsaukpaetra said in The Official Status Thread:
@topspin said in The Official Status Thread:
placement new
I'm still not very clear on what that even means...
Normal
new
allocates space on the heap and creates an object there (i.e. by calling its constructor). With placement new you provide already allocated memory yourself and create the object there.
This is useful if you're writing your own implementation of, say, vector, which will allocate a buffer using malloc with capacity for several elements and then use placement new to actually put the elements there. Or other things like custom allocators. It's not something I'd normally expect in user code without encapsulation.
-
@topspin said in The Official Status Thread:
It's not something I'd normally expect in user code without encapsulation.
Yeah, and apparently it's only used in this one place that might be copy-pastered from SO...
-
@Tsaukpaetra said in The Official Status Thread:
Wait. Is 3% supposed to be the battery's state of charge? Because for Lithium-Polymer, it's completely wrong for the voltage shown (4.2V). So either (or both) are not accurate.
-
@Zerosquare said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Wait. Is 3% supposed to be the battery's state of charge? Because for Lithium-Polymer, it's completely wrong for the voltage shown (4.2V). So either (or both) are not accurate.
Yes, this is moments after finishing discharging to zero percent. I assume it's reading the voltage of the battery not offset by the charger? At the moment it's saying 4.3 and 75 percent.
-
Status: it's 1:48 AM and the music concert down the street is still going on. Usually earplugs + earmuffs were enough to sleep, but apparently tonight it has to be EXTRA LOUD because only EXTRA LOUD music can be enjoyed.
-
@Tsaukpaetra said in The Official Status Thread:
So far it's going surprisingly well...
Hiccup 1: Can't format the EFI partition...
It doesn't say where in the Event Log I should be looking, natch. There's nothing unusual there, btw.
-
@Tsaukpaetra said in The Official Status Thread:
unusual
Used a third-party partitioning tool to manually format it.
Made a block copy to overlay onto the actual disk, and tested the overwrite procedure in a VM, seems good to go? Maybe?
-
Status: holy balls, batman!
-
@dkf said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
How the hell do I check mail in unix-likes?
mail
It's horrible.
From 1993? Huh.
Copying the help screen for reference:
t:
Okay I'm now lost and I don't care anymore...
Also, rip Charlie.
-
@anonymous234 said in The Official Status Thread:
Status: it's 1:48 AM and the music concert down the street is still going on. Usually earplugs + earmuffs were enough to sleep, but apparently tonight it has to be EXTRA LOUD because only EXTRA LOUD music can be enjoyed.
-
Status: Some bot wanted to add a subdomain to my account. What an idiot...
-
Status: Prouder than really warranted about my performance in end-of-expansion raiding
-
Status: MakeMKV. Pretty nifty. But it apparently does not handle the drive disconnecting itself due to power issues. I blame the USB 3.0 adapter for not requesting enough power.
-
Status: Updated the NAS. Before the update, it was transferring at a measly 100 mbps (on a gigabit link). Now?
-
Status: Went up the Stalin's Dick. Good thing it's not raining.
-
@Tsaukpaetra said in The Official Status Thread:
Made a block copy to overlay onto the actual disk, and tested the overwrite procedure in a VM, seems good to go? Maybe?
It would have been, if I was actually writing to the real zvol and not to a file alongside it with the same name. zfs zvols are not, in fact, files, and must be accessed from the
/dev/zvol
thing. Whoops.
-
@Tsaukpaetra does Handbrake not handle those?
-
@pie_flavor said in The Official Status Thread:
@Tsaukpaetra does Handbrake not handle those?
Handle... what? Drives power cycling themselves? I'd imagine not. You should try it though! It's easy: Unplug the drive for a second or so while ripping and plug it back in, see if it handles those.
-
@Tsaukpaetra no, I mean turning things into MKV.
-
@pie_flavor said in The Official Status Thread:
@Tsaukpaetra no, I mean turning things into MKV.
I have no idea. Does it require a ton of fiddling in order to rip bluray disks?
Edit: The answer is no, you can't rip bluray disks with Handbrake.
-
@Tsaukpaetra said in The Official Status Thread:
Whoops.
Status: Man, Windows Server 2012 does not like running with only 768 MB of RAM...
-
Status: That's a new one...
Considering this is the one and only domain controller (granted there is no network card anymore)....
-
Status: That's a lot of fragments!
-
Status: woke up with headache. Still have headache. Plus no desire to do anything.
-
@Tsaukpaetra said in The Official Status Thread:
Windows Server 2012 does not like running with only 768 MB of RAM...
-
@loopback0 said in The Official Status Thread:
@Tsaukpaetra said in The Official Status Thread:
Windows Server 2012 does not like running with only 768 MB of RAM...
Let's just say the scratch host I'm testing this on (you know, practice before the real procedure) is.... small.
-
@Tsaukpaetra said in The Official Status Thread:
fragments
And finished! The results?
Fragmented files went from 27k to 28
Fragmented folders from 1k to 0.
Free space spots from 248k to 3k
Average free space size from 56KB to 12.5MB.
Largest free space size 42MB to 429MB.Not bad. Wish I could make them completely contiguous from the beginning of the drive until the free space begins, but that's not happening with modern tools.
-
Status: Editing posts to change "who's" to "whose" to not look (quite as much) like an idiot.
-
@topspin said in The Official Status Thread:
Status: Editing posts to change "who's" to "whose" to not look (quite as much) like an idiot.
You missed one.
-
Status: Something I love about drawing digitally is that I can move and rotate parts of a sketch like it's nobody's business. Head a little too high? Just draw a lasso and pitch it down a few degrees, easy.
-
Status: Can't decide if I hate or love LINQ
var reportData = dataForTargetSystem .Where(x => x.Value.Data is ReportDataContainers.Specific.Thing.HourlyMessagePackage) .Where(x => (((ReportDataContainers.Specific.Thing.HourlyMessagePackage)x.Value.Data).Date == reportPeriod.Date)) .Select(t => new { key = (((ReportDataContainers.Specific.Thing.HourlyMessagePackage)x.Value.Data).Date.AddHours(((ReportDataContainers.Specific.Thing.HourlyMessagePackage)x.Value.Data).MeasurementHour)), value = t.Value.Data }) .Distinct() .ToDictionary(g => g.key, g => g.value);
:
an item with the same key has already been added
So
Distinct
.... isn'tvar reportData = dataForTargetSystem .Where(x => x.Value.Data is ReportDataContainers.Specific.Thing.HourlyMessagePackage) .Where(x => (((ReportDataContainers.Specific.Thing.HourlyMessagePackage)x.Value.Data).Date == reportPeriod.Date)) .Select(t => new { key = (((ReportDataContainers.Specific.Thing.HourlyMessagePackage)x.Value.Data).Date.AddHours(((ReportDataContainers.Specific.Thing.HourlyMessagePackage)x.Value.Data).MeasurementHour)), value = t.Value.Data }).GroupBy(x => x.key) .ToDictionary(g => g.Key, g => g.First().value);
It's horrible but it works, ship it.
-
@Cursorkeys said in The Official Status Thread:
So Distinct.... isn't
The
key
is the same but thevalue
differs?
-
@dkf said in The Official Status Thread:
@Cursorkeys said in The Official Status Thread:
So Distinct.... isn't
The
key
is the same but thevalue
differs?I must have Dictionaries on the brain. It's that simple I guess. I expected it would be distinct on the Key because a
ToDictionary
follows. But, I guess it's just a hash on the whole object or something similar then and no magic inference as to what I actually wanted.File that one under RTFM...
-
Status: I discovered a small part of my room's wall that sounds hollow and has slightly different paint.
It's very strange because it doesn't seem to be a place you'd do work on. There's no cables or pipes, it's just part of a thin wall separating another room behind it.
I'm renting the place. so I can't exactly punch a hole in it and see if there's something hidden.
-
@Tsaukpaetra said in The Official Status Thread:
@pie_flavor said in The Official Status Thread:
@Tsaukpaetra no, I mean turning things into MKV.
I have no idea. Does it require a ton of fiddling in order to rip bluray disks?
Edit: The answer is no, you can't rip bluray disks with Handbrake.
I have a bluray player in my computer. Guess what it can't play (let alone rip). Fucking patents.
-
@anonymous234 said in The Official Status Thread:
I'm renting the place. so I can't exactly punch a hole in it and see if there's something hidden.
Sure you can! The hardware store has everything you need to fix the hole!
-
@dcon said in The Official Status Thread:
@anonymous234 said in The Official Status Thread:
I'm renting the place. so I can't exactly punch a hole in it and see if there's something hidden.
Sure you can! The hardware store has everything you need to fix the hole!
Especially if it's just a thin paint covering and the hole is just a patch of drywall. You're already basically halfway there!
-
@pie_flavor said in The Official Status Thread:
@Tsaukpaetra no, I mean turning things into MKV.
I'm using MakeMKV for that, by the way. Works fine for most discs - as usual, there are some outliers. There's also DVDFab - but that one's not free (but has more options).
-
Status: They promised us thunderstorms for half the day for today. No such luck.
-
Status:
-
@Rhywden we got them. Well, the rain without the thunder, which is actually preferable.
Maybe I can actually get some sleep tonight. Allergies and a sudden heat spike don’t go well together.