The Official Status Thread
-
@magus said in The Official Status Thread:
which means they need to do the
logicneedful themselves.
-
@magus said in The Official Status Thread:
And it looks like we're going to get emails asking us to 'advise them'
Answer: learn how to properly do your job
-
@timebandit
They're doing it perfectly. Bill the customer lots of money to pester them into doing what they wanted done themselves. I don't see the downside here.
-
@atazhaia said in The Official Status Thread:
STATUS: Following the current government crisis in Sweden. It would make a pretty good front page story considering it got all the classic TDWTF components, and more! Incompetent management. Spineless IT security staff. Willful breaking of the law (through incompetence and ignorance). Rush job. Outsourcing to the lowest bidder. (Potential) breach of classified data. Chief responsible knowing about the security risks and doing nothing.
tl;dr: The Swedish Transportation Agency decides to outsource the running of the vehicle registry. The lowest bidder (IBM, iirc) will place the staff and servers in eastern Europe for cheapness. The registry contains classified data (national security). IT security says they can't move this data abroad, as it would be massively breaking the law. Management overrules, knowing full well they're breaking the law doing so. Responsible ministers get to know about this and choose to do nothing to stop it. The story ends up going public. Crisis is a fact.
My favourite is that they chased after with another e-mail saying "you know all the data we sent you despite you not having security clearance. We want you to in particular forget the following items, as they belong to people with protected identities."
-
@tsaukpaetra said in The Official Status Thread:
In any case, the socket goes out of scope, so whether it is "opened" or not shouldn't matter, but then c++....
Aren't C++ people supposed to use like RAII or whatever to guarantee destructors run? I hear a lot of crowing about that.
(And I'd be smug C# guy, except C# can easily leak sockets if you're not careful, too.)
-
@blakeyrat C++ would be safer if everyone followed the rules of three/five/zero
-
Status:
Have fun re-compressing that file, Windows...
-
Status: WTTSOM
-
@rhywden inviting to stay over, then breakup, looks like massive mood swing.
-
@rhywden Didn't see this before, but honestly, sounds to me like you're actually getting the better end of the deal, in a way. Without wanting to cast aspersions, it sounds like she wasn't in it for the long haul anyway.
Or I could be totally off-base here. If that's the case, then yell at me.
-
Status: I may have been corrupted by contact with @Perverted_Vixen ... just read this function name
Test Get Nodes
as "Test Get Nudes"
-
@izzion said in The Official Status Thread:
I may have been
corruptedenlightened by contact with @Perverted_VixenFTFY ;)
-
@dse said in The Official Status Thread:
@rhywden inviting to stay over, then breakup, looks like massive mood swing.
It's still aggravating as I'm one of those guys who always think that it's a fault on their part. This time, however, I honestly can't see what I could have done differently.
@raceprouk said in The Official Status Thread:
@rhywden Didn't see this before, but honestly, sounds to me like you're actually getting the better end of the deal, in a way. Without wanting to cast aspersions, it sounds like she wasn't in it for the long haul anyway.
Or I could be totally off-base here. If that's the case, then yell at me.
Naw, no yelling. Currently thinking I might have dodged a bullet - she didn't seem fully stable. I mean, I knew that and was perfectly willing to provide stability and to be there for her, but it didn't seem that bad from the outset. It's all those little things which fall into place if you look back and which at the time could also be interpreted differently.
I didn't contact her yet (but will do so tomorrow because I simply forgot a book of mine at her place and will ask her to drop it off at a mutual friend) but I know that she didn't sleep very well after this. How do I know? Well, she has those sleeping problems. And whenever she can't sleep she'll listen to a particular series of audio books (Germans will know them: It's called
???
- yes, "The Three Questionmarks". Don't ask, it's a German thing like Hasselhoff). She had a few of those on her iPad but I showed her that Spotify has all of them (currently numbering 184). She's still logged into my account there (she's technologically inept, though, so I don't have to fear anything.) and Spotify does provide this "Last Listened To" page.
Usually she needs one or maybe two of those books (each about 30 minutes long). The night after the breakup? It was eight of them.I'm still of two minds of how to go about that. On the one hand it's better to make a clean break. On the other hand, it's the one thing which gives her peace of mind and somehow, irrationally, this feels like slapping her.
I think I'll inform her about that tomorrow as well and make my judgment based on her reaction.
Oh, and I just remembered, regarding your "her not being in for the long haul", this is actually funny (at least with hindsight applied).
Currently I have six weeks of summer holidays (school's out for summer!), that's why I was able to help her and sleep over, after all. She had all sorts of plans (nothing for every day but a bit of work anyway.) for the six weeks. I didn't mind, that's what those holidays are for, after all, and I did that kind of thing often enough with my parents.
Last week, upon hearing this, our mutual friend remarked to me, jokingly: "But watch out, not that she'll let you work for six weeks and then dump you afterwards!"
Wednesday after completing an exhausting part and being done for the day, I also laughingly told her about that remark and that I didn't put too much stock in that!Guess what came up in that talk that evening? Yeah. How my joke "made her think." :)
-
@blakeyrat said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
In any case, the socket goes out of scope, so whether it is "opened" or not shouldn't matter, but then c++....
Aren't C++ people supposed to use like RAII or whatever to guarantee destructors run? I hear a lot of crowing about that.
(And I'd be smug C# guy, except C# can easily leak sockets if you're not careful, too.)
Fucking socket leaks Jesus Christ I hate them.
At this point all the leaky shit in WtfFramework is buried in dependencies (many of them are so bad we have the long running services literally shell out to short lifecycle executables wrapping the library for every single call into a dependency)
-
@rhywden said in The Official Status Thread:
Naw, no yelling. Currently thinking I might have dodged a bullet - she didn't seem fully stable. I mean, I knew that and was perfectly willing to provide stability and to be there for her, but it didn't seem that bad from the outset. It's all those little things which fall into place if you look back and which at the time could also be interpreted differently.
โฆ
Oh, and I just remembered, regarding your "her not being in for the long haul", this is actually funny (at least with hindsight applied).
I'm glad I didn't cause any offense: I'm not the best at understanding these sorts of situations
-
-
Status:
Mega Man Maker - Create your own Mega Man levels! - Official trailer – 02:45
— WreckingProgramsHow soon will Capcom kill it?
-
@weng said in The Official Status Thread:
Fucking socket leaks Jesus Christ I hate them.
Exactly when to slaughter sockets (and other file handles) is the sort of thing you end up designing entire program architectures around. Sometimes you've got a nice program scope you can tie everything to and it is easyโฆ but in code of any real complexity there seems to be one or two awkward cases which simply refuse to follow the damn rules. Especially in code written by smartasses.
It was only this week that we don't have a critical form of such a leak in our tools. At least now if we get a user locking everyone out of our hardware platform, we'll know that it is probably deliberate instead of through simple accidental dangling references somewhereโฆ
-
Status: Trying to care. Attempt is failing. Nothing can hold my attention for very long. Sigh. One more week until meetings start back up. So much to prep. Absolutely no desire to do any of it. Or anything else for that matter.
-
@blakeyrat If the author of that code was competent enough to do that, sure. But they used a plain old C-style pointer instead.
-
Status: Well, if I have to travel in order to pee since the water is turned off, I think it's only fair that I get a Blizzard to compensate...
-
@greybeard said in The Official Status Thread:
@blakeyrat If the author of that code was competent enough to do that, sure. But they used a plain old C-style pointer instead.
How would you have written it? Asking for a friend...
-
@tsaukpaetra You create objects that allocate stuff on the constructor and free on destructor, and don't do anything else other than that. Or just use shared_ptr
See that link I posted about the rules of 3/5/0
-
@tsaukpaetra said in The Official Status Thread:
How would you have written it?
@wharrgarbl said in The Official Status Thread:
You create objects that allocate stuff on the constructor and free on destructor, and don't do anything else other than that.
You know, if you didn't want to answer the question, why are you responding at all?
If getting that pointer and then letting it fall out of scope isn't doing exactly that, then it's not my fault.
-
@tsaukpaetra typing code on the phone is annoying, I tried to explain the idea
The line:
FSocket *Socket = weirdfunction();
Would be like:
shared_ptr<Socket> Socket = weirdfunction();
In this case I'm assuming that Socket's destructor will close the connection.
-
@tsaukpaetra you probably need a
delete Socket;
after your close (in your original code, if you try replacing with shared_ptr you don't do that)
-
@wharrgarbl said in The Official Status Thread:
assuming
Is what generated the code in the first place. ;)
@wharrgarbl said in The Official Status Thread:
after your close
I was thinking of that too. I can count on my hands the number of times the
delete
keyword appears in our codebase though...
-
@tsaukpaetra since your "new" is hidden in that ISocketSubsystem::Get function, maybe your "delete" is hidden somewhere too
-
@wharrgarbl said in The Official Status Thread:
@tsaukpaetra since your "new" is hidden in that ISocketSubsystem::Get function, maybe your "delete" is hidden somewhere too
Well, like I said, the socketsubsystems aren't made by us, this is Unreal code.
Sometimes we depend a little to much on other people's shit to not .
In theory the
delete
is indeed being called, which is why it's not a memory leak, but since the handle isn't being release that's the handle leak.
-
Status: @e4tmyl33t
-
Status:
Finally home in bed. 5am. Big rollercoaster day. So tired. Fuck.
-
@wharrgarbl recommending a delete operation...
-
@tsaukpaetra said in The Official Status Thread:
@wharrgarbl said in The Official Status Thread:
@tsaukpaetra since your "new" is hidden in that ISocketSubsystem::Get function, maybe your "delete" is hidden somewhere too
Well, like I said, the socketsubsystems aren't made by us, this is Unreal code.
Sometimes we depend a little to much on other people's shit to not .
In theory the
delete
is indeed being called, which is why it's not a memory leak, but since the handle isn't being release that's the handle leak.In this case shared_ptr won't help. I would leave it the way you did in that case. The only way I can think to RAII that would be wrapping the Unreal shit on a class that closes on it's destructor.
-
Status: went to sign up for an account to respond to a consultation from my local council, only to find that the registration page where you enter a password and various other bits of personal information isn't secure.
OK, manually go to the HTTPS version:
Interesting. Lets have a look at the certificate
Is that... a self signed certificate?
-
@jaloopa said in The Official Status Thread:
Is that... a self signed certificate?
Oh yes. For another domain. And self-signing with wildcarded-certificate too. At this point, I can't tell if it is an attack or massive incompetence; the Bayesian classifier is doing the equivalent of shrugging and saying โWell I dunno!โ
-
@dkf Hanlon's Razor?
-
STATUS
Tried the
nyc
code coverage thing on my weekend OSS project.Pretty cool. Thanks for the tip, @Yamikuronue .
-
Status: Finally updated my Macbook, mostly because the new version of Calibre wouldn't install on my old OS. This allowed me to update Chrome to the latest version and stop using it because instead of only sometimes using the dedicated GPU, it always forced it on. Now I'm using Opera (which also wouldn't install on the old OS) and unsurprisingly it's way better.
:fa_pencil_square_o[Edit]:: However I lost iStat Menu, so now my menu bar is missing a few things that I liked from that. Maybe I'll buy the new version... later.
-
Status: non user serviceable parts my arse! I doubt there's still a qualified technician available to fix this piece of tech!
-
@cartman82 said in The Official Status Thread:
STATUS
Tried the nyc code coverage thing on my weekend OSS project.Of course, code coverage dings me for some nonsense unreachable sanity check code, but is perfectly OK with me ignoring entire optional arguments (as long as tests walk through the function body once, I get green).
The peril of automated tooling.
Don't chase 100%. Test what needs to be tested and move on.
-
Status: indeed.
-
@tsaukpaetra said in The Official Status Thread:
Status: non user serviceable parts my arse! I doubt there's still a qualified technician available to fix this piece of tech!
Triage suggests it's just the amplification circuitry that's busted, I don't have the time or patience to debug the mess of discrete electronics in this thing. Though it did appear to have two bona fide transistors in it!
I think I'm going to just patch the pickup into another cassette player and run with it. Doesn't need to be pretty or work forever, just so we can digitize these tapes...
-
@tsaukpaetra said in The Official Status Thread:
In theory the
delete
is indeed being called, which is why it's not a memory leak, but since the handle isn't being release that's the handle leak.If that's the case, the Unreal code is .
-
@greybeard said in The Official Status Thread:
@tsaukpaetra said in The Official Status Thread:
In theory the
delete
is indeed being called, which is why it's not a memory leak, but since the handle isn't being release that's the handle leak.If that's the case, the Unreal code is .
Will check when I get in on Monday.
-
status: sweating bullets. It's not even that hot, but due to impending rainstorm it's very humid.
-
@dcon said in The Official Status Thread:
Well, I got rid of the
+
...I've been tempted to just get rid of the whole thing (the CSS way). But it's also really easy to just ignore it, for some reason.
-
Status: Apparently my connection to the forums are broke. :/
-
@cartman82 said in The Official Status Thread:
Don't chase 100%. Test what needs to be tested and move on.
QFFT. Getting to 100% usually just stiffens the code against change a lot, and that's not a good plan at all. But using the coverage analysis to know whether you've missed things which shouldn't be missed, that's a good plan.
-
Status: Fairly pissed. A bunch of my wife's friends and her all wanted to set up this ladies' night, so they nominated her to be the planner. Well, there was a deposit, refundable, and a 10 person minimum party size, and my wife planned this all out months in advance and found the day and time that worked for as many folks as possible and had all these friends who verbally committed to it, and then several of them backed out, and to make a long story short she ended up having to pay for not only herself, but also for 3 no-shows -- full price, out of the deposit that she had made.
My wife got home and told me, expecting me to be mad... I just kinda shrugged in defeat; there's not a damn thing that can be done about it now, and I didn't want to make matters worse by getting angry -- she was already plenty frustrated with having people cancel. But after having a few hours to chew on it, it's really pissing me off... it's kinda late to be thinking about it, but in hindsight, my wife should've had them all pay her cash up-front before we even paid the deposit for the party.
-
@anotherusername said in The Official Status Thread:
my wife should've had them all pay her cash up-front before we even paid the deposit for the party.
This. People are less willing to fall through when they've invested.