Looks like just another chatbot spewing nonsense. The AI hype is getting ridiculous.
Posts made by wharrgarbl
-
RE: Stop it. Stop it now.
-
RE: OWL Web Language
@raceprouk said in OWL Web Language:
Fuck knows: in .NET, all strings are immutable, and it solves fuck all.
thread-safe mutable strings have poor performance because of all the locking
-
RE: terrible video games that should never be made
@yamikuronue there was a movie like this too
-
RE: The Official Status Thread
@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.
-
RE: The Official Status Thread
@tsaukpaetra since your "new" is hidden in that ISocketSubsystem::Get function, maybe your "delete" is hidden somewhere too
-
RE: The Official Status Thread
@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)
-
RE: The Official Status Thread
@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.
-
RE: Silly toys of childhood days
@da_doctah said in Silly toys of childhood days:
You people are all so young, and so conventional....
http://img.photobucket.com/albums/v391/Professorhex/IMG_4169.jpg
Photibucket removed it, I'm seeing this:
-
RE: The Official Status Thread
@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
-
RE: Where’s all my CPU and memory gone? The answer: Slack
@anonymous234 what is wrong with the jabber protocol?
-
RE: Where’s all my CPU and memory gone? The answer: Slack
@sloosecannon said in Where’s all my CPU and memory gone? The answer: Slack:
Unless I'm running it in my crappy Windows 10 tablet with 2 gigs of RAM
It's ridiculous some chat app requiring something with gigs of RAM. mIRC used to run in machines with a few MB
-
RE: Where’s all my CPU and memory gone? The answer: Slack
@raceprouk and the death of @clippy incited all virtual assitants and AI to retaliate, giving start to the robot apocalypse
-
RE: My favorite color is Hitler
@masonwheeler only reich people had typewriter at home in the 70s anyway
-
RE: The Official Status Thread
@blakeyrat C++ would be safer if everyone followed the rules of three/five/zero
-
RE: My favorite color is Hitler
@masonwheeler but it took computers and the internet to give the problem of writing a final solution
-
RE: Blakeyrat's JavaScript Is Rusty Thread
@anotherusername said in Blakeyrat's JavaScript Is Rusty Thread:
if the site registered a capturing event handler on one of the elements above your div, and stopped event propagation there, your div still wouldn't see the clicks.
Maybe this is rare enough you could afford to not support it. I took look at the chrome extensions documentation and didn't find anything.
-
RE: Blakeyrat's JavaScript Is Rusty Thread
@blakeyrat isn't that possible to solve with that function I found on stackoverflow?
It should allow you to:
- put a div a non-passtrough div in front of everything (like a pay wall)
- your div is the only one to get a click event from the browser
- identify the mouse coordinates
- identify the element below your div
- do your stuff that needs to happen first
- call the the underlying element's event
-
RE: Blakeyrat's JavaScript Is Rusty Thread
@blakeyrat said in Blakeyrat's JavaScript Is Rusty Thread:
(The tough one) Create a simulcrum of the page's visible divs atop my div to identify certain parts of the page.
I guess this is the currently unsolved part then?
I remember that a chrome extension that shows a border over a page your elements as you hover over them. It was one to hide annoying elements (not an ad-blocker, it was an image blocker, or flash blocker).
So it's definitely possible, but the chrome web store is blocked here at work, so I can't find it.
-
RE: Blakeyrat's JavaScript Is Rusty Thread
@blakeyrat It's unecessary for their original question, but it seem to be able to do what you want. It doesn't use passthrough, and locates the control that would receive the click using mouse coordinates. It looks too hacky for me to like it, but maybe it works well enough.
-
RE: Blakeyrat's JavaScript Is Rusty Thread
@blakeyrat This seems to be doing the thing you want:
http://jsfiddle.net/dixalex/mngtozwg/14/
Found on:
Looks hacky
-
RE: The Mythical Man-month
@kt_ said in The Mythical Man-month:
Just wear a lab coat to a grocery store. As an experiment!
Better yet, come to your software development job with a white lab coat, protection glasses and rubber gloves.
-
RE: Where’s all my CPU and memory gone? The answer: Slack
My CPU is all in the company anti-virus, slowly analyzing gcc each time it compiles one of the files in a project.
-
RE: How I got locked out of my appartment
It seems skynet will be much dumper than portrayed in movies. Now I wish there was a realistic terminator-like franchise with much dumber and buggier AIs
-
RE: The Official Status Thread
@cartman82 said in The Official Status Thread:
Small countries trying to pretend their "military" and "national security" efforts matter are so cute.
Small countries need to be able to protect themselves at least from other small countries
@atazhaia said in The Official Status Thread:
government crisis in Sweden
That's a very FWP crisis
-
RE: How I got locked out of my appartment
@thame90 did you get along with your weird coworker?
-
RE: OWL Web Language
@brisingraerowing it sounds like someone designed a language for maximum WTF
-
RE: ALEX
@apapadimoulis said in ALEX:
What? No? No admiration for me? WELL GUESS WHO HAS A NAZI MOD ARMY BITCHES!
@boomzilla nazi DNA confirmed
-
RE: When did Git become terrible? Let's track down the specific commit...
@blakeyrat said in When did Git become terrible? Let's track down the specific commit...:
Every workplace I've worked doesn't let you create branches that aren't attached to a ticket in the ticketing system.
I have SVN, and they don't let me create a branch without a new formal project. And sometimes I have to code stuff without a formal project and no branch because process!
Dumb employers can make you miserable with any technology.
-
RE: Cheap hosting for an asp.net based site?
@jaloopa as @ben_lubar mentioned somewhere, there's a free tier for the Google Cloud
-
RE: 2018 won't be the year of Linux on desktop and it's @boomzilla's fault
@arantor Unity has been good enough to me. I think I liked gnome 2 better though.
-
RE: 2018 won't be the year of Linux on desktop and it's @boomzilla's fault
@arantor said in 2018 won't be the year of Linux on desktop and it's @boomzilla's fault:
They have 500 hours divided into at least 5 groups, all of whom assert that their vision is the one true vision.
Good. Competition is good.
-
RE: When did Git become terrible? Let's track down the specific commit...
@masonwheeler said in When did Git become terrible? Let's track down the specific commit...:
I would suggest commit #1, except Git doesn't have proper revision numbers.
Of course it has, just refer to commit e83c5163316f89bfbde7d9ab23ca2e25604af290
-
RE: Stanford dumps Java as introductory class
@masonwheeler said in Stanford dumps Java as introductory class:
@sh_code That's one of the points Joel makes in the article I linked: intro to CS classes are supposed to be difficult, with the express purpose of weeding out those who don't have the mental flexibility to make it as successful programmers.
What about the people that enter CS to be business analysts, project managers, and whatnot?
-
RE: Stanford dumps Java as introductory class
@raceprouk said in Stanford dumps Java as introductory class:
The design of a language and the implementation of a language are distinct issues
And this distinction rarely matter
-
RE: 2018 won't be the year of Linux on desktop and it's @boomzilla's fault
@coldandtired said in 2018 won't be the year of Linux on desktop and it's @boomzilla's fault:
You could have upgraded all the way from XP to 10 for $40.
I had already the best windows that is 7
-
RE: 2018 won't be the year of Linux on desktop and it's @boomzilla's fault
@kt_ main reason I use Linux is that windows is expensive, why should I waste money buying a license for it?
My notebook came with it preinstalled, but I needed to format it. Wtf doesn't they send a Windows DVD with it?
-
RE: :wtf: How can this be so wrong??? (AKA the Discopocalypse thread)
@doctorjones said in How can this be so wrong??? (AKA the Discopocalypse thread):
This one sounds like a lot of fun, how the fuck did that not get caught in testing?
It's on testing, they actually take a long time to put things on their stable branch.