« first day (1311 days earlier)      last day (3863 days later) » 

12:00
pff, gif is so antiquated. lounge needs mp4/webm/??? oneboxing, now
You can't make it plausible you do, because you're still here
wow
So clever
user image
5
runs away in tears
Xeo
Xeo
Oh great, now you've scarred the kids.
dafuq?
12:01
@Xeo You don't mean me, do you? I am older than your kids!
@War oh noez
Please get the fuck out (see I'm polite, I said please)
@Xeo Wait, that didn't make any sense. OK, I can be a kid.
@luk32 lol wat
So, do I relocate to the bin or the c# room
23 messages moved to C#
@sehe im already in c#
Your gif made my battery die
3
I wanted to say something but I forgot what
12:03
Dick butt
@Wardy no shit, sherlock
Oh I know
hey I was reading that
You still can
@melak47 har. got him
12:03
@BartekBanachewicz I failed at cleverly stating that I am not a kid, so I'll accept being one =( Bummers.
Butt bets on how useless the ~~new owner tools~~ will be
And how they'll never deliver anyway
0.000000000000000000000000000000000000000000001 butts
@ArneMertz :3
1.5h and I haven't done anything productive, time to go to sleep I guess
user3010322
Staay with us!
@CatPlusPlus at 14:00?
12:07
@CatPlusPlus You don't have any butts.
next there will be an ... @everyone feature
im off to lunch
@melak do you live in Berlin?
Ah I didn't see you on the arrival list
user3010322
How many users has SO chat had at once?
user3010322
12:10
Like, at maximum, all rooms?
user3010322
~1000 ?
yay, I made a nice leaderboard system where it's really easy to get leaderboard info from multiple sources at any time and display them
well, it's not much but at least I feel accomplished knowing that I did something
user3010322
I've never seen it above 450, to be honest.
> sehe has invited you to join C#. See your invitations.
> Kendall Frey has invited you to join recycle bin. See your invitations.
proud day
user3010322
I've been wandering to a bunch of chat rooms to guage just how many users maximum some interfaces can handle.
user3010322
12:12
So far, one of the strongest implementations I've seen so far was 4031 concurrent users
if that matters, you're doing it wrong I think
bandwidth is near-zero, latency is just the network (except for search, maybe)
Can POSIX select return immediately, despite being given a non-zero timeout, if I give it three empty FD sets?
user3010322
@sehe Isn't there a maximum number of connections any one computer can handle?
yes. And you're not gonna approach it with a chat system this scale
user3010322
Or is that determined solely by the machine's hardware?
12:13
Nope
@LightnessRacesinOrbit iirc this is how nanosleep is implemented in some cases, so no
47
Q: What limits the maximum number of connections on a Linux server?

Ben WilliamsWhat kernel parameter or other settings control the maximum number of TCP sockets that can be open on a Linux server? What are the tradeoffs of allowing more connections? I noticed while load testing an Apache server with ab that it's pretty easy to max out the open connections on the server. If...

@ecatmur Seems to be for me :(
or put it this way: wtf is my process melting CPU
Seldom was "Select Isn't Broken" more apt than now
> Some code calls select() with all three sets empty, nfds zero, and a non-NULL timeout as a fairly portable way to sleep with subsecond precision. (manpage)
cocksticks
user3010322
12:17
@sehe Well, that explains a lot.
why would a block of 5ms in my event loop result in CPU spinning then
5ms is quite a long time
I get decent results at 100ms but that's a ton of latency with chains of message-passing cause-and-effect (a sequence of 10 messages will take a second!)
@LightnessRacesinOrbit 5 ms is below usual time scheduling quantum.
@VáclavZeman orly
what sort of value would you suggest offhand?
AFAIK, 20 ms is in about the edge of usual scheduling precision.
So, 20 ms.
ok will try; thanks wilx
user1804599
12:20
@LightnessRacesinOrbit Erlang implements timer:sleep in a similar fashion, but with timeout language feature instead of system call.
But first, if you are trying to just do short waits, why do you not use nanosleep()?
user1804599
sleep(Time) ->
    receive
    after Time -> ok
    end.
@VáclavZeman portability
sbi
sbi
@R.MartinhoFernandes I haven't seen your apartment, let alone your kitchen! (@Xeo)
@sehe That might have been a concern like a decade ago, IMHO.
12:21
@rightfold Presumably that ends up as a system call at some point ;p
@sbi But you saw me in yours.
user1804599
Yup. :P
this might be an incredibly dumb question, but what is django even like... for?
even 50ms results in like 90%. the actual work performed in the program isn't heavy-duty. grr
sbi
sbi
@R.MartinhoFernandes I couldn't see anything because of all the blood!
12:22
@Crow it's a utility that encourages you to google
@LightnessRacesinOrbit Also, to use select() for waiting, you do not give it empty FD sets but NULL instead: select(nullptr, nullptr, nullptr, &ts);
Is std::deque faster than std::vector if I have a lot of insertions at the start for relatively small (~10000) collections?
user1804599
@Crow for web applications.
user1804599
Use it if you don't like Ruby, but still want a crappy website running in no-time.
@BenjaminGruenbaum Try it?
12:23
@BenjaminGruenbaum Try it, and yes
It depends on size of the objects and all sorts of other stuff.
Also, probably not on MSVC.
@R.MartinhoFernandes I was asking if it's worth a shot.
@LightnessRacesinOrbit ty
MSVC deque is ridiculous.
I guess what I'm not seeing is where the division in the front end and back end are on web applications... What even IS a web app? How is it different from a web site?
@BenjaminGruenbaum no you weren't. And yes, worth it
user3010322
12:24
Huehuhee blocksize = 4
user3010322
Or something dumb
user1804599
@BenjaminGruenbaum use vector and iterate backwards. :P
Xeo
Xeo
16, actually
user3010322
Why they don't change it, I have no idea.
@sehe yes I was...
12:24
Don't expect any kind of performance portability if you use deque.
@BenjaminGruenbaum where :)
@ThePhD For the same reason they don't change anything else: it's all a big joke.
@VáclavZeman Is that a requirement or simply a good idea?
user3010322
I'm going to ask STL when I get there.
user3010322
12:25
If he doesn't have a good answer I'm going to flip his table.
He's probably in on the joke.
Gives it some credibility.
GOTW#54 is probably another part of the joke. Herb giving it credibility as well. Recommending deque over vector when you work for the company that produces the most laugh-worthy implementation of deque around is just too funny.
Indeed
@R.MartinhoFernandes I don't think he was working for MS at that time
12:28
And "especially when the contained type is a class or struct and not a builtin type" is even worse! Their deque only sorta works with tiny types like the builtin ones.
it's an old GOTW
@jalf Well, he didn't change anything about it yet.
:)
Really, that deque is just unacceptable.
yep
user3010322
12:29
The strange thing is, he's recommending deque when its only performance advantage in the tests ran was for...
user3010322
growth?
user3010322
Other than that, vector was always winning. vOv
> Now deque's performance disadvantage for even an intensive operation like sort is less than 25%.
So use deque
-.-
@LightnessRacesinOrbit I am not sure but I have not seen it used as a sleep in any other way.
12:30
So Eloquent
@LightnessRacesinOrbit Someone typoed it as "Herb Stutter" on a question yesterday.
Quite apt.
A very mild case, but still
@R.MartinhoFernandes \o
@VáclavZeman Testing and stracing seems to indicate equivalence of function. I'd rather not introduce branching in my FD handler if I don't have to.
100ms block now, still 86% CPU. Whut.
checks other threads
@jalf I mean, he clearly doesn't really use deque as he recommends.
not anymore
12:36
@LightnessRacesinOrbit Have you actually tried profiling?
user1804599
> On some systems it is impossible to distinguish between empty match and an error.
user1804599
T___T
@VáclavZeman It's quite difficult to do on this set up, but I will next if I can't solve this by tweaking timeouts
@rightfold Perfect API design.
user1804599
12:38
> The GLOB_BRACE flag is not available on some non GNU systems, like Solaris.
user1804599
How difficult can it be. :v
user3010322
Too difficult to want to implement it, that's for sure.
@AlexM., How did you find your job?
@Jefffrey there was this job fair thingy hosted at the local mall
they were the only ones making games, I called and said I wanted to work there
Local mall?
12:40
@rightfold write it!
@Jefffrey yeah job fairs are usually hosted at the central mall (shopping mall)
unless they're student-centric
user1804599
@sehe TME.
user3010322
IT BUIIIIIIIIIIIILDS
those are hosted inside the economy college building
@rightfold trwtf is
user3010322
12:41
YEEEEEEEEEEEEEEEEESS AAAHAAAAAAAAAAHAAAAAHAAAAAAAAAAAAAAAAAa
All timeouts at 1s, strace clearly indicates no activity during that time, yet 80-100% CPU
ffs
@sehe WTH?
@sehe localStorage
@AlexM. I see.
12:42
Dunno if localDB counts towards that
@BartekBanachewicz well, blimey
user1804599
@BartekBanachewicz SQL database.
@Jefffrey I think the most important thing was the fact that I called the recruiter directly and told him I was interested in working there
it probably improved my chances vs. dropping my CV in a sea of CVs
@AlexM. You mean by phone?
I don't recommend doing this with everyone though, else you might seem desperate
12:43
CCV
@AlexM. as long as they don't talk to each other...
this was a very small company, and the girls at the booth sort of suggested for me to call
@Jefffrey yes
@AlexM. Are you sure they didn't sort of suggest something else?
I think job fairs are great to get your first job
user3010322
std::copy
user3010322
doesn't take an end iterator
user3010322
12:45
Hm. I'm overwriting off the edge of the array.
user3010322
Nice.
@ThePhD It does. Three.
but now I'd rather use linkedin or careers.so to get one
@R.MartinhoFernandes I might have called the wrong number, can't remember :P
user3010322
@VáclavZeman For the input, not the output.
0
Q: Cross-Platform C++ Development

TheBigOnionI am trying to learn about the best way to develop cross-platform apps. Specifically for the PC and the MAC platform. (Not mobile) I have the contraint of needing to work in C++. Also, I cannot use any type of framework. (Like QT, wxWidgets or Mono) Right now, I am trying to write/find an ex...

@ThePhD std::copy_n
user3010322
12:46
Mmm.
I wonder why I woke up this early.
@Rapptz "I have read every post on StackOverflow." ಠ_ಠ
that's a lot of reading
@CatPlusPlus probably the only gif that can be permitted
user1804599
12:50
@thecoshman frogout
@rightfold nope
> If both fields of the timeval structure are zero, then select() returns immediately. (This is useful for polling.) If timeout is NULL (no timeout), select() can block indefinitely.
hah, guess what I was doing
30 mins ago, by Václav Zeman
@LightnessRacesinOrbit Also, to use select() for waiting, you do not give it empty FD sets but NULL instead: select(nullptr, nullptr, nullptr, &ts);
@LightnessRacesinOrbit Wait, what?
Were you passing a zero timeout?
@R.MartinhoFernandes This is a different select, actually - this one has FDs on it
@R.MartinhoFernandes Maybe ;p
My event loop latency was a total red herring
user3010322
I need to write reference_bounds_iterator<TCont, n> now.
12:58
ahhh 3% that's better
thanks @VáclavZeman
@LightnessRacesinOrbit Which change?
question: when is it correct to use @someone and not reply-to?
if im in full tard mode
2

« first day (1311 days earlier)      last day (3863 days later) »