« first day (1207 days earlier)      last day (2610 days later) » 

user4639281
12:09 AM
There are a bunch of unclosed requests with four votes on them if anyone wanted to run through before I flush them
 
12:33 AM
@TinyGiant I've gone through a couple of them
 
1:26 AM
@QPaysTaxes SIGABRT? You sure it's not SIGSEGV or SIGBUS?
Can you give a stack trace?
 
@QPaysTaxes there is ->
 
Can you give us a disassembly and the line on which the SIGABRT was thrown?
do you have GDB?
I think you can just run disassemble, but I'm checking
 
Did you interrupt the program while it was running?
 
GDB
Yep
 
gdb ./path/to/program
r
Might be helpful to include debug info or disable optimizations.
 
1:38 AM
If it's too much, just show the ~30 lines around the problem
 
Heyo
 
@QPays a call to free is aborting
that means you have memory corruption or something, try running Valgrind on it
I'm guessing either a double free or a buffer overflow
@AlexanderO'Mara yep
 
So, not the condition, but something being freed.
What platform is this compiled for?
@QPaysTaxes Pretty sure it's line 168 causing it. I don't know why though.
 
I think the next instruction after free is back at the start of the loop, thus why it goes back there.
 
1:48 AM
a sefgfault would actually make sense there
no, you didn't.
Just guessing, though
 
Hi all o/
 
user6820627
@QPaysTaxes no name calling =))))))))))
 
@QPaysTaxes it's pretty hard to be a good human being when you're... human.
4
 
I'm a bad tree, I didn't vote today. :(
People mostly caught up in my deletion effort. Bad pipe-lining on my site.
 
@AndrewLi Too broad and unclear both seem to apply.
 
Okay
 
Time for dinner; I may not be back today. See you soon!
 
Bye!
 
2:57 AM
@QPaysTaxes : The way you are supposed to say that is something like: I'm so awesome at programming that when I fix one bug, other bugs in nearby code run away to hide in other programs, just because they are scared of me seeing them.
 
user6820627
 
user6820627
@QPaysTaxes instead of using recursion, use while loop
 
 
8:34 AM
 
@AshishAhuja I wouldn't go there, but I could see some OPs being offended by it. Thus, who knows what the mod's response to the flag will be.
 
@Makyen IIRC there was a meta post when a mod flagged a post similar to that and the owner of the answer was confused and asked a q on meta. I won't red flag it either, I'll raise a mod flag now..
 
10:11 AM
g'morning
@Pang what was with the close vote there?
 
10:22 AM
I'm not a lawyer but does this needs more then just a comment? Based on this from Anumuson I'm not sure
 
@rene maybe a mod flag?
 
hmm, yeah but are they copyright enforcers?
 
@rene at least they can deleted the post till the OP replies...
there was such a case on meta IIRC, lemme see if I can dig it up.
 
@AshishAhuja yeah, please do because I can't find it.
@AshishAhuja this one says we should leave it: meta.stackoverflow.com/a/261737/578411
I think we should leave it but the OP is in violation: meta.stackoverflow.com/questions/319031/…
 
10:41 AM
@rene uhm, I can't find it now either, sorry.
lemme see if I have it in my favorites..
@rene finally , though it isn't the one I remember: meta.stackoverflow.com/a/289748/4688119
not sure if it applicable to this case though..
 
11:00 AM
@rene @Ashish the OP is being somewhat foolish there but it's not really within a mod's remit
 
@JonClements ok
 
11:33 AM
@JanDvorak it doesn't seem a good fit for super user. But it is not overly useful either ..
 
eh, still more useful than "fix my code plz"
 
yeah
 
 
1 hour later…
12:37 PM
Includes a greeting in ... arabic?
 
1:01 PM
@AlexanderO'Mara are you still seeing errors with wss while using httpseverywhere?
 
1:12 PM
well, you do continue in the discussion, so so does he.
 
@πάνταῥεῖ Would be nice if we could unfollow posts‌​, wouldn't it.
 
@TigerhawkT3 Sometimes :-P
 
Imagine never again seeing the words "my question isn't a duplicate."
 
@TigerhawkT3 That's rare enough fortunately :-)
 
For you, maybe. Many people asking duplicate Python questions don't seem to know enough to understand how an answer resolves their issue.
 
1:31 PM
We're doing a domain transfer of socvr.org. There might be some interruptions with the services running on it.
6
 
1:46 PM
@TigerhawkT3 why care about that? understanding how an answer resolves a problem requires a minimal understanding of the problem being solved, and lacking that minimal understanding is forbidden by norm not only on so but also in the whole software industry
 
@dorukayhan I care about it because it causes people to insist that the linked duplicate isn't correct, when it actually is and they simply can't see it.
 
1:59 PM
@dorukayhan That can get annoying.
 
@TigerhawkT3 If it isn't clear why a linked duplicate solves the problem, then one of the two questions should be edited to clarify.
And I don't mean that the answer on the linked duplicate is too detailed or long, I'm talking about cases when the answer to the duplicate can be somehow inferred from the linked original, in that case, the original needs to be clarified. Don't assume that OP can infer the solution to his problem from a similar but not exactly the same problem.
 
@gunr2171 are we just waiting for DNS propagation?
 
right now we're waiting on the authorization email from sam's service provider, which will start the transfer
 
@MadaraUchiha I'm referring to the situations where the duplicate would be a clear answer for anyone who'd read a tutorial or their textbook before asking the question.
 
2:10 PM
@TigerhawkT3 No, that's not a good case. We don't assume people reading tutorials or textbooks before asking on Stack Overflow. In many cases, we are the tutorial.
 
Sam
@rene I screwed up part of the transfer process. So we're currently waiting for gunr's host to allow a re-submission of the transfer (which'll be a week).
 
That's my personal view of it, anyway.
 
@Sam cool ;)
 
Like this (deleted, 10k), where the solution was clearly a dictionary/hashmap, but the OP just didn't understand.
 
@TigerhawkT3 Does the linked answer explain why a dictionary is preferable to his idea of a solution?
 
Sam
2:11 PM
@rene I shall work on the bots as penance.
 
Since that's deleted, I'd guess the OP eventually understood it, but their initial reaction was along the lines of "different variable names, must be wrong."
A dictionary is his idea of a solution.
The function's name would just be items.get instead of getItem.
Or you could rebind it with getItem = items.get and it would literally be exactly what they want, with the right variable name.
 
@TigerhawkT3 That's not the vibe I'm getting here.
 
The vibe from what?
 
From his question
The vibe I'm getting here is that they don't know what a dictionary is, and are looking for a way to get the functionality of one. The answer would be "Use a dictionary"
It's not the same as the answer to "How do I add a key to a dictionary"
Even though you could infer from the duplicate that a dictionary is preferable.
 
The answer is the same.
 
2:16 PM
(To be fair, you've added a comment that says "Use a dictionary" in addition to the dupe link, so that's better than most of what I see)
@TigerhawkT3 It's the same to you. It's not necessarily the same for a beginner.
 
I mean, I could've just VTC as "not a tutorial service," because dictionaries are part of any basic tutorial.
 
I'm seeing this very confusion between arrays and objects in JS, especially for people who come from languages where the two are the same (PHP calls both "dictionaries" and "lists" as "array").
 
No, I mean the answer would literally be the same - a copy-pasted dump of that example of creating a dictionary and adding keys to it.
When someone says "it allows you to look up a key to produce the corresponding object" and I hammer as "what is a dictionary," I expect to win the Daily Double. =S
 
2:37 PM
I love bad APIs...
    //The day is listed without year, so we assume the year in the panel title. If that fails, it's the previous year.
    //and, of course, some rows don't have that column present at all - then the previous row applies.
 
Maybe they got their inspiration from the early versions of JavaScript?
 
Nah, more likely they only expected humans to use that API
Of course, Javascript's poor handling of dates doesn't really help.
 
With pen and paper?
 
any idea if isNan(new Date(str).getDay()) is the shortest way to determine whether a date string is valid?
 
2:46 PM
The range I'm trying to scrape stores the day in one cell (without the year, ofc), and the hours in the other, separated with a dash. Except when the range spans a midnight, in which case the second cell also includes a day (but only for the range end).
 
@JanDvorak apparently, because any string that has numbers is not a nan
wait, no
string that have at least 4 numbers and not a letter
ok, I yield, I have no idea how new Date() works
new Date("2017").getDay()
6
new Date("2017-03").getDay()
2
new Date("2017-03-12").getDay()
6
new Date("2017/03/12").getDay()
0
new Date("2017-03-12").getDay()
6
new Date("a").getDay()
NaN
new Date("1a").getDay()
NaN
new Date("11").getDay()
NaN
new Date("111").getDay()
NaN
new Date("1111").getDay()
6
new Date("a1111").getDay()
NaN
new Date("1111Z").getDay()
NaN
> Date.parse() returns a timestamp, an integer representing the number of milliseconds since 01/Jan/1970. It will return NaN if it cannot parse the supplied date string.
 
Well, new Date supports at least RFC 2822 and ISO 8601. Browsers may recognize other formats as well but aren't required to. Except that RFC 2822 support isn't mandated by standards but browsers do that anyways, and ISO8601 is always treated as UTC. It's a ... mess.
 
@Braiam I don't think that they could have been solved.
Seeing as, as you've concisely pointed out, facts don't change people's minds
 
Luckily the strings I get are RFC 2822. Unluckily they omit the year. Luckily they don't omit the weekday - so I can make a guess, and if I'm wrong, take a second one.
 
@JanDvorak To be fair, for anything other than the simplest of things, it's usually cheaper to include moment or some other such library and be done with it.
 
2:54 PM
@MadaraUchiha at least I wouldn't be so irritated that when confronted with facts people doesn't change their minds
 
I don't think Moment will help me guess the year...
 
@JanDvorak Depends on the requirements, if none were given, I'd default to this year if the date already happened this year, or last year if it hadn't.
 
The year is given in a separate element. Except when the element holds two different (consecutive) years, then it could be either of them.
 
well, if they give you week day, you could guess which of them it is
 
One element holds the range of dates (less than a year; the start is elided to various levels but the end is always in full), and one element holds a specific date within that range, but it doesn't show the year.
I'm playing the guessing game right now. The next fun bit will be parsing the hours range: most of the time it's hh:mm - hh:mm, but sometimes it's hh:mm - ddd d MMM hh:mm
 
3:01 PM
@gunr2171 Woah! Wait! There's no The Planâ„¢?
 
You know what, I'll use regex.
 
XML Parsing Error: no root element found
Location: chat.stackoverflow.com/messages/ack
Line Number 1, Column 1:  ack:1:1.
 
Yam
3:16 PM
GraveRobber started 2.2.0 (debug).
 
I hate the guy who thought "hmm... maybe getYear should only return the last two digits. Wait, no, that won't work. Minus 1900!"
 
@yam alive
 
Yam
@AshishAhuja Yep.
 
nice, it's back
 
3:35 PM
@Braiam posting here is The Planâ„¢
 
Sam
@Yam init
 
Yam
@Sam Initialising...
 
Yam
3:47 PM
@Sam Done.
 
3:59 PM
Dear W3C: if I try to remove null as a node's child, that should mean the browser should do nothing. I don't want an exception to be thrown.
 
@JanDvorak I'd disagree there.
If you make a call to remove something, pass the parameter. Otherwise don't make the call
 
Then I have to branch.
 
Yep.
 
I don't want to branch.
 
MCVE?
 
4:03 PM
It takes up a precious line
    var oldProgressEl = row.lastChild.querySelector("progress");
    if(oldProgressEl) row.lastChild.removeChild(oldProgressEl);
(that's the working version)
 
Not sure how to one-line this (assuming you need oldProgressEl later)
 
I don't need it later.
 
Mhh
Obviously the querySelector call shouldn't be duplicated because ew
 
I wanted to do just row.lastChild.removeChild(row.lastChild.querySelector("progress")), but then Firefox flipped out there's nothing to remove.
I don't mind ew. It will run once per minute on about 100 elements, 1000 tops.
 
Well okay, but row.lastChild.querySelector("progress")? row.lastChild.removeChild(row.lastChild.querySelector("progress")) : null; is disgusting
 
4:07 PM
Yep :-)
Can we kick Yam for flooding, please?
 
I'm actually looking at those =p
And it would still be branching, just in one line
Mh
Maybe with remove instead of removeChild
 
is... that a thing?
 
row.lastChild.querySelector("progress").remove() except it would throw is there's no node and we don't have the nice C# ?. operator (null access, IIRC. Something like that)
No IE support though
lel
That goes without saying
 
I don't care about IE.
Hell, I even use => just for the heck of it :-)
 
\o/
 
Sam
4:15 PM
@JanDvorak I can move the messages if no one else minds.
 
What about adding them in the archiver?
 
Sam
+1
 
(Well, I'd like to archive all bot messages in fact)
@JanDvorak I'm thinking you could use a Promise for this but it would be overkill
 
@Kyll how?
 
You'd need to define a function for that, I guess
 
4:18 PM
That sounds like more lines, not fewer
 
... Also yes.
Also allocating a Promise object without any asynchronicity purpose.
 
4:31 PM
Finally passing all spf, dkim, dmarc checks for mailman mails :D
 
Congrats
 
@JanDvorak sometimes, more lines means less troubles down the road
 
 
1 hour later…
5:50 PM
@AndrewLi I prefer too broad
 
@Braiam That too
 
@AndrewLi Maybe they thought it was useful even if it was off-topic
 
@cricket_007 please don't make multiple requests about the same author
 
well, they need to get closed
through I'm more partial to closing it as lacking mcve on one hand
 
Is there a nice way to use the native <progress> element but also tell the browser not to animate it?
 
6:03 PM
> Gecko provides the ::-moz-progress-bar pseudo-element, which lets you style the part of the interior of the progress bar representing the amount of work completed so far.
 
Looking it up, thanks.
Found a css-tricks article about these: css-tricks.com/html5-progress-element
It doesn't seem to ... behave the way it's supposed to, I think
NVM, I just missed the double colon I was supposed to put there
 
Kk. There was a list of the same question asked @gunr2171
 
@Braiam If I remove the modified version I put under HTTPSEverywhereUserRules, yeah.
Supposedly it was merged, but I still get the error, so maybe it has not been updated yet?
 
It's still uglier than the animated one, though :-(
 
@AlexanderO'Mara I have no idea
 
 
2 hours later…
8:33 PM
This room may be interested in this: Let's get aligned on how spam flags can be used
10
 
8:56 PM
It is. I don't think it's worth restoring though.
@QPaysTaxes the only difference is whether the poster gets blacklisted
eh, unblacklisting is easy :-)
tru
 
9:22 PM
@QPaysTaxes The poster is here since 4 months and has nothing in his history. As that is unlikely, he should know how to delete a question. And vandalism is not a good attitude either.
@QPaysTaxes Not really. Typically people register to ask a question or answer. There is no need to register for simply reading Q&As. An empty history is often a signal of deleted entries.
@QPaysTaxes Ok, the latter is a point. For the first, I'd need some statistics to follow that line of argumentation. Anyway, maybe a mod can know about this particular user.
@QPaysTaxes The former. I well understand your point, just don't find it plausible that this occurs that often.
 
9:43 PM
Hi all
 
@QPaysTaxes I indeed could be convinced if there were statistics to support the position. But then I do not really care much.
I did never state different. I just don't think it is likely.
 
That's really weird. I can't do anything on my Ubuntu desktop.
I can't click or move anything. Changes in the tweak tool have no effect but the topbar and everything else is working just fine...
 
weird. did you reboot?
 
I did. It's working now, but it always gives me system problems.
Yeah. Something weird happened and it just went all wacky
 
10:09 PM
I just checked off the "post to socvr" checkbox...
bark up that tree...
 
10:26 PM
^ actually more like typo
 
@gunr2171 Given that sam stated that it is going to be about a week until the domain transfer is complete (possibly an optimistic estimate): While socvr.org is unavailable, it would be helpful if we could have link(s) to at least the basics of the content (e.g. the FAQ, as it is directly mentioned in the SOCVR room blurb).
Another time, it would be a good idea to create an archive at archive.org. Obviously, hindsight is 20/20.
 
possibly related to the ongoing domain transfer
Firefox knows better than to second guess me ;-)
I don't think it would be a good idea to link my bad regex questions here ... or allowed.
 
Go unicorn go!
JavaScript tag is the worst
"I have to earn it!"
Is it sad that I wake up every morning and the first thing I do is check if I got more imaginary internet points?
 
10:43 PM
Yes. The first thing I do is to open my eyes.
 
Hah. Weak
 
If it motivates you to go out there and earn more, it isn't necessarily bad
 
What if it's the only thing I wake up for...
Hah.
I haven't hit the cap since January 30th :(
 
This might be the year Jon Skeet hits 1 mil :O
 
@SamuelLiew I hope
Let's add feed Jon our rep!
 
10:48 PM
@QPaysTaxes Yeah you have. You have the Mortarboard badge
 
CR.SE?
Almost got the refiner badge. 46/50
Ahh
I'm 298% on SO
Bluefeet once lost a 1500 day thing on SO. Tragic
What if SO counted as community service?
 
@Makyen well, I would point you to SO-Close-Vote-Reviewers.github.io, however that is also broken, so crap. Yeah, we made sure to move over the namespace servers before the transfer (which should be going now, it's just a waiting game on the service provider) but it seems that was a bad move.
oh well. We'll only need to do this once then we'll be good for many years
@Makyen in the mean time, you can go to the git repository running the FAQ: github.com/SO-Close-Vote-Reviewers/…
 
@gunr2171 Thanks. I looked there, but did not dig enough. I would suggest, for the time while socvr.org is down, that the room blurb include the link to the FAQ on GitHub and maybe the tour. That way conscientious new users can get at least the basic information.
It's not the best solution, but it's better than pointing people at a dead link.
@JanDvorak It's "Ask Different", after all.
 
11:47 PM
@Machavity one for your hammer ^^
 
@gunr2171 Can you bin this request please? Is now retagged and locked
 
Yeah, I was looking for it, but this time that question did not show up in my results. Thanks.
 
Just as an FYI, I never use SO search for dupes. Google is far more fruitful
 
Yep, that's what I used as well.
 
I am thankful you linked it tho. That's an odd dupe
 
11:57 PM
We can try to reopen it and then close it fown again with the right dup target
 

« first day (1207 days earlier)      last day (2610 days later) »