« first day (1180 days earlier)      last day (2619 days later) » 

JAL
3:00 PM
@Olaf realloc only moves the block of the new memory is not smaller than the existing block, right?
 
@QPaysTaxes Use a temporary pointer for that! Check it and only x = temp_x if you really got the block realloced!
@JAL There is no such requirement or how realloc works by the standard. It is completely a matter of your implementation. Often you have some overcommittment for malloc/realloc(NULL, ..) so a later enlargement via realloc will not move the block.
 
Semantically realloc is allocate buffer, memcopy to the new buffer, delete the old buffer. Now it could just grow the buffer but if it can't that is what you get
 
@QPaysTaxes What applies to both? The check? Yes, but for the malloc way it is obvious, for realloc it is a very common beginner's error.
 
user3956566
Ok my job here is done @JALman. I must go back to the batcave
 
JAL
3:04 PM
@YvetteColomb until next time, have a good one!
 
@NathanOliver No, it is not! Read the standard: port70.net/~nsz/c/c11/n1570.html#7.22.3.5 it does not mention copying, nor is that the common behaviour. Briefly: you cannot rely on the pointer neither to change nor to be the same.
 
@Olaf It specifies copying with The contents of the new object shall be the same as that of the old object prior to deallocation, up to the lesser of the new and old sizes
Ah. Well that is an implementation thing but most do. There will be some kind of copy though.
Yeah not really. I'm just trying to say the buffer is copied.
Yeah.
 
@NathanOliver That does not imply copying. But yes, the first part is missleading and it should possibly be rephrased. Deallocation refers to that the object temporarily is not available, e.g. for multithreading (C11 introduced thread-support to the language)
 
If I was writting an answer I would use words like that. In chat saying memcopy was just easier ;)
@Olaf It reads to m that the new buffer will have the contents of the old buffer. You might be able to do that without copying but essentially that is what we get
 
Dahell did I miss?
 
3:10 PM
@QPaysTaxes There was mentioned copying. Anyway, I think you got the idea.
@NathanOliver The problem is, if you consider volatile qualified memory blocks allocated this way. Copy-semantics would imply observable behaviour outside, which is exactly what the standard does not state. By leaving this open, it effectively says: "don't rely on anything".
@NathanOliver What is memcopy? ;-)
 
@Olaf The C++ programmer version of not remembering C programmers dropped the o ;)
 
@NathanOliver Hmm, you should really use C++ facilities instead :-P
 
@AshishAhuja Have no clue if it's because of account merging... but yeah it would be great if you broke DOCS.... :D
 
@QPaysTaxes I'm alive and kicking!
 
3:21 PM
@PetterFriberg We'd have to honour Ashish somehow then...
 
owo
 
@QPaysTaxes Be happy, Ed bit me today :(
@Compass ò.ó
 
I want a blizzard.
The CDC reports that bullets cause lead poisoning.
Color me surprised.
 
@Compass Well, they were treating gun violence as a disease. Not much surprises me anymore
 
Looks that way to me
 
3:37 PM
@QPaysTaxes You've reviewed 39 posts today (of which 1 was an audit). The time between your first and last review today was 13 hours, 47 minutes, and 40 seconds, averaging to a review every 21 minutes and 46 seconds.
@QPaysTaxes You've reviewed 40 posts today (of which 1 was an audit), thanks! The time between your first and last review today was 13 hours, 46 minutes, and 52 seconds, averaging to a review every 20 minutes and 40 seconds.
@QPaysTaxes 4 members (15% of this room's registered reviewers) have processed 57 review items, which accounts for 5.03% of all CV reviews today.
 
Uh, 15 percent of this room's reviewers is 4 people?
 
I have real tasks! Like writing stories!
 
That means this room has 26.6666666666666666666666667 reviewers.
 
@Closey help
 
This is a chat bot for the SO Close Vote Reviewers chat room, developed by the SOCVR developers. For more information see the github page. Reply with commands to see a list of commands.
@Compass I've noticed you've started reviewing! I'll update your session record.
 
3:41 PM
@Closey membership
 
@NathanOliver Current users in permission groups:
Reviewer
    4castle (5743988)
    AdrianHHH (546871)
    Andrew Cheong (925913)
    Bhargav Rao (4099593)
    Braiam (792066)
    Cold Fire (5148907)
    Compass (2958086)
    Dukeling (1711796)
    durron597 (1768232)
    Ferrybig (1542723)
    gunr2171 (1043380)
    JAL (2415822)
    Jan Dvorak (499214)
    Kyll (4174897)
    Lankymart (692942)
    Mogsdad (1677912)
    NathanOliver (4342498)
    NobodyNada (3476191)
    QPaysTaxes (1863564)
    rene (578411)
    ryanyuyu (4320665)
    Sam (2246344)
 
And I failed an audit.
Pretty sure this is asking for basically "the patch notes." Am I incorrect?
 
@M.A.R. We have 26 reviewers. I'm guessing a little bit of rounding is going on.
Looks okay to me.
 
I am confused.
Oh well, I blame haskell!
 
I second QPT
 
3:43 PM
@NathanOliver Makes sense, but still, we can safely consider all flowers 0.666666667 percent of an actual person
 
@clo my stats
 
@AdrianHHH You've reviewed 14 posts today (of which 1 was an audit). The time between your first and last review today was 19 minutes and 11 seconds, averaging to a review every 1 minute and 22 seconds.
Refreshing the tag listing. Please wait...
@QPaysTaxes The next 3 tags are: 1337, 48, 39
 
Jesus.
 
Where?
 
This tag is amazing.
All these questions are literally garbage D:
 
3:48 PM
"Useless or disposable material; waste material of any kind" ?
 
Hi all! o/
 
Hiya Baum
 
no moreeee flops over
 
Live updates: 1st day President hasn't tweeted by 8:15 a.m.
Apparently CNN is live-updating this...
What a time to be a cat! owo
 
4:01 PM
Already?
 
Oh no. What will you do now?
 
@NathanOliver Sock puppets! Er... wait
 
Was going to say del-vote some stuff.
@QPaysTaxes One of the few reasons to get more rep. I can get 6 more votes a day.
 
@Compass quite a few questions in there deserve a historical lock though
 
@QPaysTaxes Yeah, that's really a pain.
We have like 500k questions in , a language that's exhaustively defined in a 1.4k sites standard document plus some references to the much shorter C standard. Everything that's not a dupe is too broad, unclear or off-topic, plus a small amount of questions about niche libraries or setups.
 
4:10 PM
move to niche... hoping for a good question in main tag is just useless..
 
I did have some fun in . Questions about the weird corner cases of the standard.
 
@QPaysTaxes Totally. Nobody writes anything good in C. It should die out soon
 
@QPaysTaxes Whenever I looked into , that was even more riddled with no-effort noob garbage.
 
@BaummitAugen That is one of my favorite tags to answer. Git into the nitty gritty way the language works.
 
@BhargavRao normal unclear question (also missing MCVE since we don't have data)... fairly useless for SO as well
 
@PetterFriberg mind adding a comment asking for more details?
 
it needs an nice edit to..
 
4:15 PM
@NathanOliver What can also be fun is "why does weird implementation defined behavior happen with compiler foo?"
 
@Machavity Lol, Build-failing. :D
 
Sometimes.
 
That's PHP for you
 
@BhargavRao done
 
Danke
 
4:21 PM
@SotiriosDelimanolis Maybe do it as POB. People would probably question/reopen a TB closure
 
4:33 PM
afK
 
4:46 PM
@KhalidHussain I used a custom reason
 
I think you meant two.
 
@Compass yeah brooooooad brooooooad
3
 
@QPaysTaxes Oh I've had to answer questions like that. Nobody does dates in a bulletproof fashion, sadly
 
Dealing with dates and times is never fun
It gets even more not fun when you have to work with business days work weeks
 
IKR. We have a complex system to determine lead times for our product. Has to take into account weekends and holidays. I get heartburn every time someone find another edge case for it
 
4:58 PM
I've had to do some reporting on our system and Crystal reports does not make it easy to deal with 7 day and 5 day weeks at the same time.
 
This workplace question about rpg night etiquette is still gold.
 
That's still going on?
 
its still popular, yeah
My friends and I were having a laugh over it on the weekend.
One of our friends had wanted to do that and our DM was like "No."
Ironically, the same person would have apparently died in our first encounter with enemies from a natural 20 one-shotting him in an ambush.
 
5:05 PM
Of course.
 
JAL
Reminds me of when I was an IT intern and high school and the actual employees used to play red alert. You could hear the swearing from the cubicles as people ganged up on each other
 
I can think of a bunch of synonyms for chaotic evil, but I'm pretty sure I can't actually write them in this chat.
 
@Compass Well, you can, but there's several mods in the channel. Just saying...
 
Today's goal: do not get banned from SOCVR.
 
Oh c'mon, I haven't kicked anyone in weeks :(
 
5:11 PM
Interesting, I never knew this curry restaurant sold chicken nuggets =w=
and mozzarella sticks...
 
@Compass In the US everyone sells chicken nuggets. They all buy supplies from the aggregate B2B vendors
 
I think I want curry. But I'm lazy.
 
My boss loves Thai food. Gets it stupid hot
 
I get it stupid hot.
Ghost pepper hot.
 
:)
Any German speakers lurking?
 
5:23 PM
@NathanOliver Here.
 
@BaummitAugen Does Oberbürgermeister roughly translate to highest/top city master?
 
@NathanOliver The Oberbürgermeister is the major of a big city.
 
So a small town would have something else?
 
Anyone has some popcorn? stackoverflow.com/a/42207871/4774918
 
@NathanOliver A normal town just has a Bürgermeister.
 
5:25 PM
I love it if you point someone at his error and he feels offended and flags you
 
Really big cities have several Bezirgsbürgermeister for parts of the city and an Oberbürgermeister for the whole city.
 
@BaummitAugen Okay. Bürgermeister is a regular mayor and a Oberbürgermeister is the mayor of a big city. German sure is fun :)
 
@BaummitAugen Towns often have "Stadtdirektoren" (town director). The Burgermeister is the representative and the director the chief of administration.
 
@Olaf Sniped by Jon lol
 
@NathanOliver It is, but also quite exact: the "Oberbürgermeister" is the Boss of multiple "Bürgermeister". "Ober" in German can mean something like "(team)leader".
 
5:29 PM
@BaummitAugen And here I though Rankin Bass made all those words up
 
@Machavity Yes, I really was not sure I should be amused or offended. I did not even flag the answer when I commented forst, but that reply effectively forced me to.
 
Apparently, the word Bezirgsbürgermeister is only used in Berlin and NRW (where I live). In other parts, they may be Bezirksvorsteher or Bezirksvorsteher or something else.
 
@Olaf so can one city have multiple Bürgermeister or does that mean you can have one guy in charge of several cities?
 
@Machavity Administration-German is fun. =D
 
@QPaysTaxes To add to confusion: In austria they have "Schlagobers". Which is whipped cream(!) :-)
 
5:31 PM
@NathanOliver A Bürgermeister is always only in charge of one city.
 
@BaummitAugen You have to respect a language that has a word for everything
 
@NathanOliver Have a look at Berlin: There are "Bezirks_bürgermeister". A "Bezirk" is a part of the town (maybe like a district). And the Oberbürgermeister is the major of the whole town. But no, one Bürgermeister can only be for one town (not sure if it is technically possible to be voted Bürgermeister for multiple towns).
@QPaysTaxes schlagen: to beat, to hit (depends on context), even to whip. In Germany we say "Schlagsahne" which literally translates to "whipped cream".
 
@Olaf Okay. That makes sense.
 
@Machavity That's easy when you can just concatenate words to make new ones.
 
I just love that they didn't just make up words and instead concatenated old words to make the new one.
 
5:35 PM
@BaummitAugen DonauDampfSchiffFahrtsKapitänsPatent" (camel case only to show the single words)
@QPaysTaxes Yes. In Germany. Austria and Switzerland have a lot of different names and also grammar rules. You can get along with regular German in these countries, but be prepared for missunderstandings.
@QPaysTaxes to drive. What's funny about that? ... (retorical question :-P
@QPaysTaxes You will get along with German in my part of the world much better than with Python or JavaScript, though
@QPaysTaxes That's why my question was retorical
 
@QPaysTaxes Nope. You need to move to assembly
or whitespace
 
@QPaysTaxes Not really. It would make things worse. Homan languages are OOP: you can extend a meaning and overload the same word with different semantics even.
@NathanOliver Icons and point&click might work best
 
Maybe. I do like GUI's
:)
 
C has too much undefined behaviour. Ideal language for politicians: "not my fault if the environment (aka the people) undestand my phrases differently than what I meant".
 
C defines to much undefined behavior? ;)
 
5:42 PM
@NathanOliver Some like GUIs, some Guys, Some Gals, some Pals. Who cares?
@NathanOliver It defines a lot of behaviour as undefined.
Does JS have a single precision? I'd actually expect it always uses double at least (Python e.g. does). If it defines the precision, range, etc. of floats at all.
 
@QPaysTaxes No need. According to this all numbers are IEEE-754 doubles.
 
@QPaysTaxes If you need absolute precision, use an arbitrary precision library and avoid certain operations and values (e.g. irrationale numbers)
@QPaysTaxes I prefer 5/3 litre actually.
 
I want plank time precision.
I don't think even they use that.
 
@NathanOliver For what? I'm sure it heavily depends. Let's hope they learned from the past and have correct conversions between the datatypes.
 
5:54 PM
@QPaysTaxes Sounds like that Lua-Nonsense. No integers, all floats. Ridiculous. I prefer the Python way: arbitrary length integers plus double precision floats.
 
@Olaf the ISS using plank time
Later o/
 
@NathanOliver I anticipated that. I think it depends on what they are used for.
But you can always use a scaled-up version of that time. After all it is just a constant factor between seconds and Planck-time
 
shhh, dont crush my dreams ;)
 
Hello!
 
6:09 PM
Ola!
 
@TylerH I could show which words contributed most to the detection, but I don't think that would be very useful.
 
Hiya Nobody
 
Hi all o/
 
Hi @πάνταῥεῖ o/
 
6:23 PM
I've had a shitty day, but that's going to be more and more usus the next month :-P
 
language
 
after a bad hair day gets told off by RO as well
 
@Nathan Better? ;-)
 
not really. lets try and avoid the s word. I really don't take offence to it but it is not professional.
 
@NathanOliver Sure I got what you meant.
 
6:26 PM
@πάνταῥεῖ No, but let's leave it at that OK? Don't push it.
 
@rene Of course.
 
sure, sure
 
Just making myself clear about my moods
 
`puzzling.stackexchange.com/questions/49029/find-77777-solutions I almost thought this was workplace from the logo
Finding 77,777 solutions, partial solutions allowed :V
I have a question!
This question has a horribly formatted code block. Is editing it to be properly format thus revealing that it is a serious formatting typo appropriate?
 
6:38 PM
Meh. Its closed so an edit will put it in the reopen review queue
 
Always nice to sign on for the day to 37 rep
o/
 
well, it wasnt closed before
i was thinking about editing it and then closing it.
 
@TylerH Woot
 
@AlexanderO'Mara Inb4 someone says "not Douglas Crockford"
oh nice, just got the inquisitive badge on Meta
surprised I hadn't earned it before
 
6:55 PM
I can still say "not Douglas Crockford" here
 
but only after my inb4 line :-D
 
I wouldn't've otherwise :-D
 
d'aw
 

« first day (1180 days earlier)      last day (2619 days later) »