« first day (1017 days earlier)      last day (4157 days later) » 

Xeo
Xeo
12:00
@R.MartinhoFernandes Apropos, how's it going with the new job n stuff?
That painting is one of my favorite ones BTW, and certainly the best Dali painting ever.
@Xeo New job? Didnt he move to germany months ago?
Our sysadmin is a fan of Schalke 04.
Xeo
Xeo
So?
> Author Ayn Rand declared Corpus Hypercubus to be her favorite painting and she would spend hours observing it at the Metropolitan Museum of Art
<3
Xeo
Xeo
12:01
@R.MartinhoFernandes Wait, you've already switched?
@Xeo Nah. September.
q_q Guuuize.
My headphones are still brookeeen what do I doo. q_q
This looks a bit shady ...
stop whining?
He made a test repo on the newly set up git server, and a commit with "hello fans of FC Schalke 04!"
user784668
12:02
@R.MartinhoFernandes and you're a fan of Borussia?
@Telkitty猫咪咪 Looks quite bright to me.
And schaaaaaaaalke as a tag.
Well, they beat Bayern.
shad•y (ˈʃeɪ di)

adj. shad•i•er, shad•i•est.
1. Blah
2. Blah ..
3. Blah blah
4. of dubious character; disreputable.
Xeo
Xeo
@ThePhD Get non-broken ones.
1. Attempt to repair
2. Get electrocuted
3. ???
4. PROFIT
12:04
joke
noun /jōk/
jokes, plural

A thing that someone says to cause amusement or laughter, esp. a story with a funny punchline
@Tuntuni If you managed to get electrocuted messing with headphones you deserve to die.
@Xeo Well, I ordered a pair I think would be nice. :c But it's taking so long to ship! q_q
What is long?
@R.MartinhoFernandes that picture is almost as good as your avatar
@R.MartinhoFernandes Let me guess - nobody checked it out.
@R.MartinhoFernandes lol, quite true actually :D
user784668
12:07
@R.MartinhoFernandes lol the pseudophonetic notation
I imagine electrocution from headphones wouldn't be deadly
I never wrote anything about death :D
just "PROFIT"
@TonyTheLion Headphones. D:
I wish shipping was instantaneous.
also "???"
@TonyTheLion But you deserve it so.
12:07
you could say it's ... implementation defined
YEAAAAAAAAAAAAAHHHHHHHHHHHHHHHHHHHHH
@ThePhD I did mean the time frame it takes to ship.
@R.MartinhoFernandes possibly.
Ell
Ell
@TonyTheLion It's not! I played music on my tongue a while back by accident
@TonyTheLion NaN - they're not saying. :c
Download more headphones.
@ThePhD Y U NO ORDER FROM AMAZON?
12:08
@TonyTheLion I... forgot about Amazon. :D
Ell
Ell
I was working on an ee project trying to send data through headphones. I was fiddling with some code, and put the headphone wires on my tongue then played some music
Ell
Ell
it was a strange sensation xD
@Ell you're.... weird
dafuq @Ell :D
i like it
Ell
Ell
12:09
well, you know when you chew a pen or something
Roflmao.
@Ell I can imagine. Depending on the music, you could get heavy metal poisoning.
@Fanael I guess it's something like X-SAMPA or whatever those things are.
Oh hey, the OP responded to that threading analysis bug question:
Thank you very much. You have pinpointed the exact location where the corruption is occurring. "More specificly, Parser::parse builds a vector of std::strings." — Amit Bhaira 16 mins ago
@MartinJames I understood that reference.
12:09
And he's asked how I knew. Woot for people actually learning!
@AmitBhaira I've edited the answer showing how I read the backtraces, with [highlights] showing the things that trigger my analysis. — sehe 53 secs ago
Speaking of shipping, I got a package to pick up, and it might even be the Skyrim soundtrack I ordered back in November.
user784668
@R.MartinhoFernandes Nah, X-SAMPA is IPA written only using ASCII
@sehe aha, that's nice. I guess that really makes it worth the effort.
@Fanael that's interesting
user784668
And this is some ad hoc shit that would be unlikely to work for anything non-English.
@BartekBanachewicz It does
cpx
cpx
12:13
Time to hit the bucket or a sack.
Hit a nail
0
Q: Why does std::array not have an contructor that takes a value for the array to be filled with?

rubenvbIs the absence of std::array<T>::array(const T& value); an oversight? It seems mighty useful to me, and dynamic containers (like std::vector) do have a similar constructor. I am full aware of std::array<T>::fill(const T& value); but that is not a constructor, and the memory will be zeroed ...

huh?
A valid question. Likely a dupe. What's your question mark about?
cpx
cpx
@sehe Do you want me to kill myself?
I'm already dead.
then logically, killing yourself will have little effect
12:16
@DeadMG It works on zombies.
Xeo
Xeo
People die when they are killed.
When you're a nail, every hammer looks like a problem.
@sehe I don't get the question
:c
17 stars...
You guys are horrible, mean people. q_q
@ThePhD 18 stars and a pin. Also, you said it
Xeo
Xeo
12:19
@sehe 17 stars and a pin
Okay, now it's 18
user784668
19, actually.
Have another star.
What does me saying it have to do with it? D:
Xeo
Xeo
@Fanael 18 stars, and a pin
dhjakdaw. You're all ridiculous. D:
12:20
@ThePhD nothing, of course. You can't help it
cpx
cpx
Sometimes I forget who am I.
Sometimes even words the of you forget order.
user784668
@Xeo yes, 19 stars and a pin
Wrong again.
Xeo
Xeo
Nope, now it's correct
12:21
I think I have browsed myself into the weird side of the internet again:
Let's unpin and invalidate all chat history
@sehe +1 great idea
DO IT
Xeo
Xeo
jpg.nope
cpx
cpx
I'll be a hammer and hit the nail quickly.
12:22
That's what she said.
@Xeo indeed, png is much better
pee en zjay!
urgh arguing about coworker that said "you shouldn't use smartpointers"
jay peg
seriously don't code in C++ if you can't do it TIA
user784668
12:23
@BartekBanachewicz there are pointers smarter than him
There are times when you don't need smartpointers.
@Borgleader Technically that is the accurate meaning of "depreciation", but it's usually used in more numeric than abstract terms. When you are deliberately talking shit about yourself, it's "self-deprecation" -- putting yourself down.
user784668
@MartinJames no, you need std::shared_ptr<std::shared_ptr<std::shared_ptr<T>>> everywhere.
Xeo
Xeo
Yes, it's called "when writing a smart pointer" :P
user142019
Fuck you PHP and someFunction()[0] being a syntax error.
user784668
12:24
@rightfold fuck you @rightfold and using outdated versions of software
user142019
Hey not my fault.
There seem to be interestingly ambiguous views on this out there on the web, though, I'm discovering now. That could be down to ignorance, or there could be a wider US accepted phrase of which I wasn't aware.
@rightfold lololol
hahahahhaha
If an object pointer has application-lifetime, why bother?
This is funny.
user142019
12:25
This feels like Java. Having to write lots of extra code because the language is crappy.
user784668
@LightnessRacesinOrbit you're a prescriptivist and therefore wrong
user784668
Oh wait.
user784668
I just realized I defended PHP.
user784668
12:27
-2
A: Why cant we delete an intitalized pointer

Luchian GrigoreYou're running into undefined behavior because you used delete instead of delete[].

user784668
Luchian's account has been hacked.
3 hours ago, by Borgleader
Me lately
@Fanael definitely not, the mistake is understandable
i probably would have made it too
@MartinJames when you don't have explicit ownership
@MartinJames because destruction at the end of the main
@Fanael He finally agreed with me anyway.
@sehe and @DeadMG started this really nice discussion at 2:30 yesterday :/
@BartekBanachewicz Don't need it.
user784668
@BartekBanachewicz you had to threaten him with a M16A4, or he grew a brain all of a sudden?
12:35
@BartekBanachewicz Don't need it, not safe to do it.
Wszystko ok, ale #5 jest całkowicie niezrozumiały. Jakieś uzasadnienie?
@Fanael oh noes
@MartinJames not safe to destroy an object? :P
@MartinJames who is owning the pointer then?
@BartekBanachewicz Did I? Fortunately sleep deprivation affects memory
user784668
@BartekBanachewicz why does it matter? It's a pointer, go copy it.
12:36
@sehe "and puppy started".
@BartekBanachewicz ping him /cc @Dead Puppy
@Fanael stop trolling
user784668
I'm not.
@BartekBanachewicz No. I have no idea what thread may be using it at process termination.
wat
wat are you on about
12:37
for fucks sake
@DeadMG sorry, edit fail, just bin it
@BartekBanachewicz Either the pool of *object that was created at startup, or some thread that has the pointer out, or some inter-thread queue, or some OS pending callback, or something else.
@DeadMG I was about your idea on compute shaders from yesterday and how you shouldn't present them at 2:00 am
@MartinJames so use shared_ptr problem solved
@BartekBanachewicz Ah. I remember. I deleted that screenshot of my ignore list just before the 2-minute period ended. <whistle/>
@BartekBanachewicz Why bother? I don't need any refcount.
@MartinJames because that's the only way if there's no clear owner of the data?
seriously, if you are implying that leaking because you don't know who's owning the data is good I don't know what to tell you
12:40
@BartekBanachewicz What, now you think it's a better idea?
@DeadMG Now he thinks he hasn't got a clue what you said :/
@DeadMG Now I am not as exhausted as I was back then and I can perhaps really try to understand it.
@BartekBanachewicz There is no clear owner, yes. I don't want the objects destroyed at all, ever, until the OS destroys the process.
4 mins ago, by sehe
@BartekBanachewicz Did I? Fortunately sleep deprivation affects memory
@sehe well I have a clue
but I was really uncapable of understanding it back then
12:41
@BartekBanachewicz No, there is no leak, merely mobile ownership.
need server naming suggestions. I typically use female characters from TV shows
@MartinJames there's no guarantee that OS will destroy the memory
o_0 talking about the generic 'name' and 'value' of a generic key:value pairing is rather confusing... "The attributes 'name' and 'value' map to the 'name' and 'value' of the attribute of object"
failing to free allocated memory is... what it is really? UB?
@BartekBanachewicz It has for ~35 years across many apps.
12:42
Am I the only one that dismisses SO questions on sight
with implicit responses muttered like: "Thanks for keeping us posted"?
@LightnessRacesinOrbit Xena
user784668
@BartekBanachewicz POSIX and Windows do guarantee that.
@thecoshman she always scared me
@LightnessRacesinOrbit in a sexy way though right :P
user784668
@BartekBanachewicz This covers 99% of the systems you'll ever run across.
12:43
@thecoshman no, not really
hmm "andromeda"
> There is no undefined behavior. It is perfectly legal to leak memory.
@LightnessRacesinOrbit honey-boo-boo
though I always kinda wanted to reserve that for a car
it should be UB.
user784668
12:43
@BartekBanachewicz file a defect report
@BartekBanachewicz Why should it?
uhwh.
okay, nevermind.
Ell
Ell
man, one of my teeth is out of line
my mouth is ruined forever :(
The thing is, with some apps, eg. IOCP servers with 20000 connected clients, mutiple-size buffer pools, buffer-carrier pools and socket-object pools and multiple threads, it's just imp.... very, very difficult to stop all threads in user code in any sort of safe manner. The OS can do it easy, I cannot.
@BartekBanachewicz I do not leak! There are valid references to all my class instances at all times. It's just that I have no way of guaranteeing where they are or what is using them at any particular time.
count references.
12:47
..and anyway, I'm not saying that smart pointers are always a bad idea, just that sometimes, occasionally they are not necessary.
user784668
@MartinJames IOCP? Hey, that's a Windows thingy, and Windows sucks.
@MartinJames when you don't need to delete memory it's rather obvious you don't need smart pointers
@BartekBanachewicz Needs a lock/atomic. If I don't need the refcount, I don't get the locking.
@Fanael IOCP is Windows asio:) It works OK, (mostly).
@MartinJames Make a counted_ptr without thread awareness
@MartinJames I think that these are atomic in shared_ptr. Interesting Q for SO
user784668
12:49
@MartinJames I know, and sarcasm.
Someone trying to convince me some objects in C++ have sizes that are not multiples of 1 :S
@BartekBanachewicz They are threadsafe. Whether they are atomic (as in lockfree) is implementation defined
user784668
@MartinJames Honestly, I think that Windows is the only OS that has sane async I/O.
@R.MartinhoFernandes what
@BartekBanachewicz Trick question - they are all multiples of 1 bit.
user784668
@R.MartinhoFernandes sizeof(char) is 0.(9)
Pantera? Volume up!
@sehe now you took away all the upboats I could earn by doing proper reasearch :F
do you I think I can self answer on that? /*searches for dupes*/
@thecoshman Yay!! Love Pantera :)
@BartekBanachewicz no you can't because you already know and thusly this question is not a real problem you're having. Also, likely duplicate
12:52
@TonyTheLion :'( such an epic band
@BartekBanachewicz fixed the link though: en.cppreference.com/w/cpp/memory/shared_ptr/atomic
user784668
@R.MartinhoFernandes and it's a user<number> at that, funny
SHIT! Thunder again. Shuting down/pulling power etc. BFN.
12:54
@sehe specialization?
@thecoshman Why the sad face?
4
A: Confirmation of thread safety with std::unique_ptr/std::shared_ptr

seheI'd suggest that locking on such finegrained levels is likely (way) overkill. I'd suggest doing atomic updates to the IrcUser object itself, which could be lock-free depending on your library implementation and target architecture. Here is a sample that uses std::atomic_is_lock_free<std::share...

@BartekBanachewicz yup ^
AARRGHH - lightning and I have to wait for 4 VM to shut down!
@TonyTheLion o_0 because good guys die early...
@sehe interesting.
12:55
@MartinJames bhhh, wimp
@MartinJames ಠ_ಠ UPS ffs
@BartekBanachewicz Certainly is
I know I'd have liked thread-awareness to be a "policy" on shared_ptr, though
What are the single-threaded use cases for shared_ptr?
Duh. Shared ownership of thread local resources. Including those in a single threaded application.
@R.MartinhoFernandes o_0
@thecoshman he is kinda right
12:57
@thecoshman oh :(
I am thinking of a situation where pool of unique_ptrs would be not fun
@BartekBanachewicz he is implying that in a single thread, you don't need to use shared_ptr
@BartekBanachewicz ? check language
@thecoshman because you can use unique_ptr
12:58
@LightnessRacesinOrbit olivia? you probably have already used that
Ell
Ell
"that a"
meh
you can. but now consider c++03
Ell
Ell
"I think a pool of unique_ptrs would not be fun"
@thecoshman Only if lazy.
@BartekBanachewicz what if you want you don't have unique ownership?
12:59
why should I?
@R.MartinhoFernandes isn't that why we program? to make things easier for us?
@R.MartinhoFernandes I'm sometimes lazy. I don't mind
@thecoshman The bad kind of lazy.

« first day (1017 days earlier)      last day (4157 days later) »