« first day (1643 days earlier)      last day (3531 days later) » 

19:00
Also broken generics.
Ven
Ven
@Griwes but java has @NonNullable!
@milleniumbug broken?
@Ven w00t
.map, .mapToDouble, .mapToInt ...
Ven
Ven
ah, yes. plus every collection taking a Object as argument
Because generic parameter must be a reference type.
19:01
So I was wondering why unordered_map::emplace wasn't overwriting existing elements.
Turns out it's because it's not supposed to.
I suck.
user1804599
@milleniumbug Luckily they're working on a fix for that!
user3010322
Hey, @rightfold, every time I mention I want to have a text box that updates what it displays on every key up everyone keeps saying I need to "debounce" the update to the display. Do you know what "debouncing" is supposed to be?
Wait, what?
Ven
Ven
@ThePhD only execute once every X seconds
user3010322
@Ven Uh. So a timer?
user1804599
Ven
Ven
you can also see "throttling" for that, but I think debounce will execute the first time it's called, and throttled after the time
well, in this context. Basically, debouncing means when you get an input, don't allow others to come through immediately afterwards (or before) which would cause bad problems.
Ven
Ven
@ThePhD say you call foo 3 times in 3 seconds, with 2 seconds debounce, it'll only be called at T=0 and T=2
opposite of prohibited
permitted
thanks
user3010322
@Ven That makes sense.... but why not just do it everytime text is entered into the text area?
Ven
Ven
19:04
@ThePhD because you want to do tons of stuff and JS is too slow for that, probably
user3010322
:l
user1804599
What is really inconvenient about Java's generics isn't non-primitives and erasure but use-site variance.
Ven
Ven
Example: twitter used to have a callback run on window onscroll. That made everyone lag. So now, they debounce it (to load more messages)
user3010322
@Ven Oh, I see.
user3010322
But I'm just updating a text box.
user3010322
19:05
From another text box.
user3010322
No asynchronous calls or anything.
user3010322
Should I still be debouncing things?
user1804599
I would use _.debounce if it weren't part of Underscore.
user1804599
I need an alternative debounce implementation.
Ven
Ven
@rightfold use lodash then
@ThePhD meh, doesn't seem that useful
dom refresh is slow, but shouldn't be that slow
user1804599
19:06
Do the authors of lodash break their API in minor releases?
Ven
Ven
no
I love how my skype has disabled auto-updates but still prompts me every 3 minutes.
user1804599
@Ven Nice. I should check it out.
user1804599
so... cities sky lines... thoughts?
posted on April 16, 2015 by Herb Sutter

Today, Vikram Ojha asked via email: I was just thinking why we removed “int” as default return type from C++ which was there in our traditional C type. Why we made such changes, is it to make language more safer? Short answer: Because it’s ‘inherently dangerous’ in the words of the C committee. For C++, see […]

19:15
people like it
good lord @cat do you just by every game on steam?
No, why?
you seem to :P
I wonder if cities skylines is more complicated than tropico
tropico is pretty hard for me but I like it :(
would you recommend cities then?
19:17
wouldn't want something harder
@thecoshman all I know is that a lot of people like it and got good reviews
and for some reason everyone asks CS GO streamers to play it when they play other games
I find the game to be a great achievement from a size and performance POV though
(it was built with Unity and big titles are known to be laggy)
12:44pm: Estimate 2hrs + 2hrs + 8hrs + 8hrs + 8hrs for completion of the first five tasks of a story
8:22pm: Tasks completed. Whoops.
fuck it, let's get it :\
can we get it before we fuck it? I don't want to go to prison.
Has anyone else besides me noticed a sudden burst in passive voting over the last 3 days?
No but I haven't really been paying attention
upvotes? downvotes? inconsistent?
0
Q: size of array error on C++

user3622142I am trying to get the array size but I am getting an error. My code is: #include <iostream> #include <array> using namespace std; int main () { int myarray[5]; cout << "size of array: " << myarray.size() << endl; cout << "sizeof array: " << sizeof(myarray) << endl; return 0; } And th...

^ fucking rep farm this
19:25
I don't see how it can possibly be correlated with the election. But it's definitely there. I repcapped 3 days in the row for doing nothing. And I'm seeing it in other users as well.
@Xeo I love JB. She's always angry at Yuuji :D
Xeo
Xeo
hrhr
the concept of keyframes is so interesting
not really...
19:29
if you'd have asked me yesterday I'd have said that every frame must be modified manually but nope you choose whatever frames you want where a variable like size and pos change, and you autointerpolate between them
it's so simple it's too clever for me to figure out on my own
I'll give you that it's one of those ideas that seem very obvious once pointed out to you
user1804599
@Ven I solved the this problem in a nice way! this is just an explicit parameter!
@Mysticial Certainly haven't seen any observable change in voting patterns on my posts.
user1804599
So you can say ($ "#button").click { |.this, ...| ($ this).text "clicked!" }.
user1804599
Not that you should ever use jQuery, but you get the idea.
19:32
I wonder whether the new profiles have something to do with it. Somehow.
Maybe people now noticed the tracking for vox populi and suffrage and were trying to get them
@LightningRacisinObrit The profiles rolled out yesterday. The upvotes spike started 2 days ago coinciding with the election.
@NathanOliver That certainly sounds reasonable. Since the same effect happens during each Winter Bash.
@LightningRacisinObrit irony is that Vlad has the best answer
@Mysticial what is a Winter Bash? I'm pretty new here so Some things are still unfamiliar to me
19:37
@Mgetz yeah but it's still not perfect
he is promoting sizeof on arrays :(
@LightningRacisinObrit it still a duplicate question though
Jon Ericson on December 14, 2014

There is no better antidote, at least for the worst hours and eclipses of the soul, than to conjure up … serious frivolity.—Friedrich Nietzsche

No, it’s not a new flavor of Unix shell. Rather, Winter Bash is an ancient tradition of Stack Exchange. (2011 is ancient according to Internet time.) Here’s how it works:

Starting right now, when you complete one of 30-odd challenges while logged on a participating site, you will be awarded the associated hat. To notify you, an icon will light up on the top bar. In addition, admire your hat collection on the Winter Bash 2014 site …

@Mgetz deffo
but yeah we have std::extent and people should use it... or std::array
@Mgetz extent is good
@Mysticial I'm actually not voting in this one.
@LightningRacisinObrit thanks
19:39
The "people reached" metric is nice.
I know they probably get the values from the butt, but it's nice.
@NathanOliver Basically, they gave out hats for voting. So that led to a tremendous increase in voting activity.
But I have stopped wearing hats ;)
Jon Skeet: ~111.7m people reached
On that first winter bash, they gave out a hat for voting on a specific day. So that concentrated all the voting on that day. I think I got almost 100 passive upvotes on that day.
Okay, not a hundred. Only 73 votes - on December 19, 2012.
That's a big rep increase. Was the rep cap kept in place?
19:43
Yeah, repcap is always there. I'm not new to losing out to the repcap.
lol "losing out"
check your privilege
@Mysticial I once lost 160 rep due to the cap. I attempted suicide.
@LightningRacisinObrit lol, wait till you get 900 upvotes in a day and you'll also be banging your head against the wall.
@Mysticial That's never happened.
I wish I had that problem.
19:45
@Mysticial that would be amusing
but not an issue for me
@Columbo: Right, but that's an implementation detail that's ideally abstracted away. What you should do in Q&As is cite the standard, not a draft. You can sneakily and quietly pull text for a quotation from the final draft because we know that the content is the same, but the actual reference should be to a standard! — Lightning Racis in Obrit 40 secs ago
true, yeah?
@Mysticial Entitlecialâ„¢
@LightningRacisinObrit Ok — Columbo 6 secs ago
@LightningRacisinObrit ok
user1804599
Wooo now you can write foo bar: baz qux instead of foo bar (baz qux). :D :D :D
please pick a language, either C or C++ they have distinct and different answers to this question. — Mgetz 23 secs ago
Whilst this may theoretically answer the question, it would be preferable to include the essential parts of the answer here, and provide the link for reference. — Mgetz 9 secs ago
@rightfold what's a qux
I did enjoy doing that
user1804599
@AlexM. The sequel to baz.
19:56
@Mgetz dafuq
I have no idea what pepsi contains that coke doesn't
user3010322
Every parser I see in javascript funnels things through using Regex.
@Mgetz get your eyes tested
but pepsi generally makes me need to take a shit
and coke doesn't
> include the essential parts of the answer here, and provide the link for reference
that's precisely what I did, bud
19:57
@LightningRacisinObrit in fairness it IS just a link, but your response was right
it is not "just a link"
you'll notice I deleted that comment?
I will do if I ever return to the question, yeah!

« first day (1643 days earlier)      last day (3531 days later) »