« first day (1469 days earlier)      last day (3478 days later) » 

Xeo
12:00 PM
@R.MartinhoFernandes Is it the same handler being called twice, or a different handler?
 
Whenever this happens I feel like I should donate to them.
 
@Xeo There's no other handler.
 
Xeo
@R.MartinhoFernandes Well, you're creating a new handler in every read_next call
 
Xeo
I just wanted to suggest adding an ID to them and checking that
Might help them pinpoint if it's a duplicate call, or duplicate data.
 
12:04 PM
 
> The Conservatives are understood to be considering new legislation that would make it an offence to condone terrorist acts online.
 
Well done, Canada, well done.
@Xeo Made sure there's only one; same result :/
 
I wonder when we'll be able to write default-language: Haskell2014
this 2010 looks bad :S
I hope it's going to be, y'know, actually in 2014
 
12:10 PM
@R.MartinhoFernandes uhm... why not?
 
Xeo
@R.MartinhoFernandes What I meant was an "auto-increment" ID for every call to read_next, so you can identify if Asio is feeding you the same data twice, or calling you twice before getting new data.
 
user1804599
Speaking of autoincrement.
 
user1804599
Autoincrement being done by DB is most inconvenient.
 
@rightføld use guids
 
user1804599
Or at least, ID assignment.
 
12:12 PM
@rightføld How so?
 
user1804599
@BartekBanachewicz github.com/rightfold/uniqid :D
 
hehe
that's the first project you've completed, right?
 
user1804599
Yes.
 
s/first/only/
 
@rightføld you should add a release
 
user1804599
12:13 PM
We use that in some software that uses Neo4j because Neo4j doesn't have ID generation.
 
user1804599
And it's written in PHP which starts a new instance of the app for each request.
 
Xeo
@R.MartinhoFernandes Also, what happens when you read more than 1 character at a time?
 
"a lambda capture must have automatic storage duration"
WTF
Fuck you VS.
 
user1804599
lol
 
lolw ha t
 
user1804599
12:14 PM
@BartekBanachewicz meh
 
Xeo
@R.MartinhoFernandes Doesn't sound too wrong, tbh
 
user1804599
@BartekBanachewicz not easy to work with while developing.
 
user1804599
Short integers are easier to remember.
 
user1804599
dunno all approaches suck
 
@R.MartinhoFernandes quick google says that's true
 
12:15 PM
It's always different ones.
 
19
A: GCC incorrectly captures global variables by reference in lambda functions?

KennyTM§5.1.2/11: If a *lambda-expression( has an associated capture-default and its compound-statement odr-uses (3.2) this or a variable with automatic storage duration and the odr-used entity is not explicitly captured, then the odr-used entity is said to be implicitly captured; ... Global varia...

 
user1804599
Does this have automatic storage duration?
 
Xeo
> A couple notes: the distal あ series was formerly か, but the /k/ was lost
> So we have 彼女=彼の女(かのじょ=あの女)
fuun
 
guise
Say I have template<typename T> thingy(T*) { ... }
 
12:31 PM
That's going to codegen a different implementation for every T, amirite? Then, if I have the following: thingy(A); thingy(B); ... thingy(Z); it can contribute to code cache trashing, amirite?
Bartek you're a butte
 
How does that have anything to do with pointers?
 
Because it could be avoided in the case of pointers (as C# does)
 
@Cicada unless A B and Z are all of some common base type, yes, I think so.
 
@thecoshman Yeah they're unrelated
 
@Cicada How so?
 
12:34 PM
@Cicada except you can do 'thingy' with them.
 
user1804599
@Cicada ask the compiler
 
@rightføld The compiler seems to confirm my doubts
@Jefffrey C# does one specialization per value type and a single specialization common to all reference types
 
@Cicada at least he's polite enough to tell you. Take him out for dinner, see you if can't convince him to change his mind.
 
user1804599
@Cicada Now ask the profiler.
 
why every one in the construction industry is so shitty? this b!tch told me my certificate would be ready once I gave them the outstanding documents. I gave the b!tch all the documents and she already spent two days and is still taking her time.
 
12:35 PM
don't, the profiler is a slut
 
Rule of happiess: when you hang around with a lot of shitty people, you would get in a shitty mood and become shitty yourself
 
chmod 711 telshitty
 
what is "code cache trashing"?
 
I meant instruction cache
 
@Cicada what is code cache trashing
 
12:37 PM
@Cicada You mean memory wise? Something like "ok, for every pointer type we just need X bytes in each case"?
 
Well if there were a single specialization for all of thingy, it would fit in the instruction cache and every subsequent call to thingy would get the function from the instruction cache. With a different specialization per type, the cache is made useless. I guess.
 
@Cicada Not seeing it.
 
@Cicada the compiler collapses common implementations together if it won't change behaviour
I've seen it do it for short/int for example
 
@Rapptz Well... An instruction cache :o
 
Oh boi, I'm going to suffer for a whole 15 minutes now. Wish me luck.
 
12:39 PM
I made a simple template "add" and instantiated it for those, and it produced only one function because add was exactly the same in asm
 
@BartekBanachewicz Oh, noice, I haven't seen that happen
 
It feels like the template is a red herring there.
You'd have to do all of that manually anyway.
Hence, not really seeing it.
 
It's ok, I see it
 
in C, Jun 10 at 19:58, by Bartek Banachewicz
-rw-r--r-- 1 bajtek bajtek 1437 cze 10 21:57 non_template.asm
-rwxr-xr-x 1 bajtek bajtek 9036 cze 10 21:58 non_template.o
-rw-r--r-- 1 bajtek bajtek 1051 cze 10 21:57 template.asm
-rwxr-xr-x 1 bajtek bajtek 8963 cze 10 21:58 template.o
 
I am almost becoming cat ... everyone is shitty
I am worst of them all
Wait my sharp claws meeting your tender flesh, it's going to be interesting ...
 
user1804599
12:43 PM
 
user1804599
wtf google are you a noob or what
 
user1804599
y u highlight "statement" you piece of shit
 
lol
 
Also this private certifier must be the worst place to work for
you get receptionist screams at people & staff lying to customers
high turn over
every couple of month, there are bunch of new faces
but I already paid fully I hope they don't bankrupt before my construction project ends
I don't want lose $2k because other people's shittiness
 
@chmod711telkitty so you were a kitty and now you're cat? did you grow something?
 
12:49 PM
Cat's younger than me
and a lot grumpier
 
yeah, grandma
 
Xeo
@rightføld synonym checks n shit
 
lol, ex-boss of new Berlin airport gets fired, goes to court, court decides he should be paid 1.2 million euros because he was fired unjustly, and then he goes on to be head of the Rostock-Laage airport.
 
肉棒尻
 
Xeo
@R.MartinhoFernandes WTF
W.T.F.
 
user1804599
12:49 PM
@Xeo right, because "expression" and "'statement" are synonyms.
 
Xeo
all that money.... T_T
 
@BartekBanachewicz both are
 
@Abyx you could be my son's age if some one committed status rape & made me pregnant
you are 19 right
 
user1804599
 
user1804599
12:51 PM
TIL Verbatim mode.
 
@chmod711telkitty yeah, I am
TIL what "status rape" is
 
user1804599
Now to find out how to make it the default.
 
user1804599
I could write a Chrome plugin.
 
> International item is in transit to the delivery office.
haaaaa
coming soon soon soon!
 
12:54 PM
@Xeo Peanuts when put in perspective.
Don't look up the airport budget.
 
Xeo
Yeah, but... why does he get it?!
 
because life's unfair
 
@Xeo Was in his contract.
He had a contract until 2016 and was fired as a scapegoat.
 
Xeo
I also want a contract that gets me 1.2million Euro.
 
12:56 PM
The 1.2 million is the salary he would get until 2016.
 
get it
it's not a contract
 
Xeo
Sigh. Stupid amounts of money.
 
it's a job earning €500k a year
 
@BartekBanachewicz it's me too
> I’m the class CTaxCalculator
 
code as screenshots from VS was the smell
 
1:04 PM
yeah
 
@R.MartinhoFernandes fired over what? (for what was he a scapegoat?)
 
@thecoshman The airport.
 
@R.MartinhoFernandes ... what about it Captain Obvious.
 
Just the airport. Isn't that enough?
 
so they basically just tried to avoid having to pay him?
 
1:11 PM
The airport is a disgrace and they tried to have all the blame fall on him.
 
"Team spirit", some would call it.
 
"fuck a guy over", others might call it.
 
user1804599
@Jefffrey Yes.
 
Asio code is scary.
 
1:19 PM
hmhhmfpfm
I could apply to Playsoft again
 
user1804599
bartek playsoft
 
if they wanted to hire me once, after 2 years they should still want me, even more so, right?
 
user1804599
I applied you to playsoft!
 
but they do gamedev
this means shitty code
maybe I could write in C# there so I wouldn't feel the shittyness
hmm
I'd like to become as proficient in C# as I'm in C++. I'll apply and talk to them about that possibility
 
I don't understand any of this; why am I trying to debug it? Q_Q
 
user1804599
1:22 PM
Run a debugger an observe the stack traces!
 
@R.MartinhoFernandes s/Asio/Contractors code/
@TonyTheLion not bad. There's 30 year old people struggling to comprehend this shit :P
 
hmpfh OTOH what if I turn down their offer yet again
damnit no interesting offers around
the most shitty time of year for looking for a new job
 
is it really "typically faster", for a mainstream OS, to context switch between two threads of the same process than just two threads of the same process?
just read that on wikipedia
 
@thecoshman Yea my thoughts exactly.
 
1:26 PM
@zneak There's more context to switch between processes than threads.
Address space, open handles, etc, are all shared between threads, but not processes.
 
I thought it was mostly zero-cost except for the address space.
 
nothing is really zero cost
 
@BartekBanachewicz C# is kinda much easier to learn than C++
 
> kinda much easier
 
okay, then uniform-cost regardless of whether the process changed
 
1:29 PM
12 secs ago, by Bartek Banachewicz
> kinda much easier
 
lol ok ok
 
@Cicada it's roughly 30% faster to write.
 
I suppose the real deal is in the libraries and frameworks
 
user1804599
The real deal is not there.
 
since there's way more to it than just stdlib
 
1:30 PM
@BartekBanachewicz not for long :P
 
Yeah ofc learning the BCL takes probably longer than stdlib
It's kinda much bigger
But the language itself is way kinda much simpler
 
you sort of talking in absolutes
 
@thecoshman hm?
 
@BartekBanachewicz stdlib ALL THE THINGS!
 
@thecoshman since when
 
1:33 PM
Since in three years.
 
@BartekBanachewicz o_0 since recents
 
@thecoshman meaning what exactly
 
Hence the joke someone made about there needing to be a committee focused on removing shit from C++
 
thread?
filesystem?
 
waymore
 
1:35 PM
oh yeah, sorry, I don't follow things as fanatically as you. I'm not going to fuck around debating the merits of every pedantic thing with you.
 
@thecoshman #lolwat
 
> It was just a mini sample to show the benefit of using templates to have a compact code, STL and boost contains more advanced algorithm which shows better the power of generic programming to remove the boilerplate code.
 
yeah, better throw around random statements based on presumptions and overheard things
 
> The Modern C++ design has a preference to the generic programming approach, its very powerful, but before adopting it you have to be aware of the price to pay. And even there’s a big effort to understand better the generic programming benefits and to simplify their use, thanks to guys like Andrei Alexandrescu, Scott Meyers and Herb Sutter. But the Modern C++ design is not widely adopted yet by the C++ community.
what is this
 
1:36 PM
bullshit
 
Seems GetQueuedCompletionStatus is the culprit. That makes little sense, so I'm probably misunderstanding this code.
 
it was a joke about the sudden increase in features being added.
@Cicada vOv a chat room
 
@thecoshman I just feel they were all(most) really needed.
 
@BartekBanachewicz did I in any way question that?
 
must've misread "stdlib ALL THE THINGS!" then
 
1:39 PM
not, you did you standard thing and took it literally and as something to argue about, despite it clearly making use of a meme and thus not being worth much more than a giggle, if that.
 
My brain is mush.
 
user1804599
FileSystem y u no interface.
 
Indeed :S
GetQueuedCompletionStatus returns the same overlapped twice. WTF
 
@rightføld Do you remember what year?
 
user1804599
@Jefffrey 2012
 
1:49 PM
So I got IT to install 3ds Max on my PC.
I feel weird.
 
music is so awesome
it's humanity's best creation
 
now you said it, I should create some
 
@R.MartinhoFernandes Second event on the same handle? It is queue?
 
Xeo
2:06 PM
@EtiennedeMartel gratz, you're now an artist
 
@Xeo Yeah. I can now use a totally inefficient workflow and even sometimes forget to put important files under source control before I go on vacation.
(Artists are stupid)
 
Xeo
:D
 
@VáclavZeman Not sure. It's asio code.
@VáclavZeman I don't understand any of this.
 
OK. :)
 
2:23 PM
Why does all the code I write not work in MSVC?
It works in GCC, Clang, even Intel's 2015 C++ compiler.
MSVC 2013 fails to compile it.
/rant
 
Hey guys, tomorrow me and a friend will be doing a charity gaming marathon for Extra Life. We'll be playing for 24 hours straight starting at 14h00 UTC and we'll be amassing money for sick children. Feel free to drop by on my stream (and even give some money if you want).
 
Fuck me I feel dizzy all the time.
Stupid anxiety.
 
why so anxious?
 
I'm not sure. Various things. Pressure to get to the end of the uni, lost friends, incoming lonely adulthood, fear of death, fear for my future.
Usual things I guess.
 
@EtiennedeMartel I was about to say "who cares about children" something but I think that I better not
 
2:34 PM
Maybe I just need to cry out loud for few minutes. You know. That cry that you make every 10 or so years, to give vent to everything that you have inside and then start over again.
 
uhg what? you're trying to raise only $200? meh
@Jefffrey weakling.
 
@Jefffrey are you having a mid-life crisis too?
 
too?
 
Xeo
@EtiennedeMartel Hint: add English.
 
@Xeo Yeah, I should. Although the stream itself will be in French, so.
 
2:36 PM
@Abyx I love you too.
 
Xeo
27 secs ago, by Xeo
@EtiennedeMartel Hint: add English.
 
Let's hope this is not middle age.
 
Feb 3 at 15:45, by R. Martinho Fernandes
@BartekBanachewicz Doesn't matter. We must be pedantic. It's a quarter-life crisis.
 
That would set my death to 44 years.
 
Xeo
@BartekBanachewicz *mid-life
 
2:37 PM
@Xeo I knew something was irking me there
 
@Xeo Alright, alright. You know what? I'm gonna do that right now.
 
Xeo
@EtiennedeMartel The second time was meant as "to the stream".
 
@Jefffrey that'd mean that you won't die in next 22 years. that's quite a long period of time
 
Xeo
I.e., speak English, not some fool language
 
@Xeo Says the German guy.
 
Xeo
2:38 PM
:)
 
I wish I could just forget about uni and programming for a while and just, I don't know, work somewhere in the fields or whatever.
 
Xeo
@Jefffrey Well, you can
 
speaking English in a stream is a sure way to catch the attention of more people
unless, you know, you only distribute the stream to French people
which you obviously aren't
 
@Xeo Not really. It's complicated.
 
@Jefffrey oh man, I feel you. :) <3
 
2:40 PM
<3
 
I can only conclude that my uni is heaven and yours is hell or something
 
I dream about doing some physical work
 
I don't want to go full weak or something, but you guys have been indirectly of great help.
 
with very few exceptions, I can just not attend the whole semester and go to the exams
and still pass
 
So yeah, thanks for that.
 
2:41 PM
chopping trees sounds like fun
 
I did develop an uncommon hate for college though
 
> uncommon hate
lol
 
well I can't say I hate anything else in the same way
it's this shit that I have almost no contact with
but it's there
and I know it's there
and I can't completely erase it
 
Tells us in this picture where college touched you.
 
everywhere
 
2:43 PM
@TonyTheLion Chopping trees is no longer fun because you have to complete the risk-assessment documentation and have it signed off before chopping down the tree.
 
@MartinJames you ruined my dream, you bastard :)
 
@R.MartinhoFernandes lol
 
it's probably because I joined the facebook groups for everything college
 
@TonyTheLion There is no escape from docs:(
 
they're useful during exams so I find out what profs came up with for other sessions
but during the year they just remind me of the crap that's always there and I can't completely erase it yet
"hi guys, I made this use case diagram like the prof asked, do you think it's good?"
 
2:47 PM
@MartinJames :(
 
I feel like breaking something
 
@TonyTheLion Help someone move or something.
 
@TonyTheLion lol
I have 0.375 of a pizza left
better take care of it
 
@R.MartinhoFernandes I would love to, but I probably wouldn't last long.
 
2:50 PM
Oh. Sorry, I forgot.
 
@TonyTheLion Heh - I just spotted the Irish watch on starboard:))
 
@MartinJames hihi
 
@TonyTheLion NO I FUCK WILL NOT LET THE HATE FLOW THROUGH ME YOU SICKBASTARD!
 
late
I will not latte.
 
@R.MartinhoFernandes DIE COCK SUCKER
@R.MartinhoFernandes good, those things are nasty
¬_¬ when you have to scroll through tabs by holding the keys down and guess when you have scrolled close enough.
 
2:57 PM
@thecoshman lol
 
... and when you are getting rather good at it.
 
ugh, cold pizza
better than nothing I guess
 
Xeo
How about some proper food?
 
@AlexM. Only if you're run out of dog food.
 
These people are horrible to pizzas.
You wouldn't eat your children cold, would you?
 
3:06 PM
@Xeo pizza is proper food
 
you just don't know how to appreciate it :D
 
There is a class of foods that should not be eaten cold, or reheated, on pain of death. Pizza and curry are in the set.
 
the kitchen stuff wasn't unpacked yet so there was no way for me to microwave the pizza
I hope jeffrey never finds out that I once microwaved 2 days old pizza and put ketchup on it to cover the bad taste
11
wait
 
@AlexM. OMG I can't take much more of this.
 
3:07 PM
well people do crazy things when they're hungry!
 
@AlexM. Well, I was hungry until you posted that little gem.
@AlexM. Have you considered packaging your culinary masterpiece stories as a diet plan?
 
I once had such a bad pizza at uni I couldn't tell when the middle of the pizza ended and the box started.
 
@MartinJames lol
 
@AlexM. priority, food.
 
this was when I had some... issues
with my money
so I think it would be a successful collection of "how to make the most of your food" stories
 
3:13 PM
@AlexM. Starred for discovery.
 
@AlexM. 'Chapter 5: Dumpster Diving'
 
lol
 
nah towards the end I sort of managed to find ways to build a stock of canned food that's available at all times
so I was never in that situation afterwards
I'd have enough canned food to last me at least a week
this included canned fish, beans, meat etc.
really cheap food that doesn't go bad anytime soon
I'd put that as the first chapter
 
@AlexM. To be fair, I still ensure that I have enough cans of baked beans to last a week.
 
3:15 PM
so readers wouldn't have to read through the rest
 
I think my book would be '101 Delicious cold meals to eat well by torchlight', (we get too many power cuts).
 
@MartinJames canned beans are great, especially with pickles
 
...or maybe 'Generators for Dummies':)
 
I keep on planning to cook some myself, but I end up cooking something else all the time
 
I'm getting my appetite back. Mebbe I'll do some beans on toast since the power is actually on ATM.
 
3:23 PM
@MartinJames with cheese on top. Not much beats cheese on beans on toast
@R.MartinhoFernandes ooh, new opener episode on SU&SD.
 
@thecoshman That would indeed be good, if we had any cheese. Due to an err.. 'complication with sleep patterns', I woke up at 1500 so it was too late to go shopping 'cos Friday rush hour. Worse, my usual alternative of shopping later tonight is out 'cos bastard, fucking road works. I can get to the shops, but not back again without a miserable detour that turns a 5 min trip into 30:((
 
So a guy at work designed a small setup utility.
And he spent a lot of time tweaking the UI to display each step of the setup along with a spinning wheel to show what step was underway.
Then he realized the steps were being completed so quickly nobody saw the wheel.
So he did this:
// Sleep a little so the user can see the animation :)
Thread.Sleep(rnd.Next(666, 1000));
 
inb4 timer/sleep.
 
(Yes, rnd is a Random object)
We're thinking about making our own MiniFame here.
 
@EtiennedeMartel Did the sleep() work? Maybe animation is in another thread...
 
3:30 PM
@MartinJames It did work.
But it's stupid.
 
@EtiennedeMartel Yeah:) I don't have any problem with my startup splashes etc. 'cos DB and config load takes long enough without any 'artificial' delays.
..though many of my apps have a 'startupdelay=xxx' command-line option:)
 
In our case the tool had a Fast command line option that skipped the sleep.
 
@EtiennedeMartel I only use the 'startupdelay' for restoring from backups. The apps have a form for selecting the backup folder and can copy the files, but then has to restart, so it instantiates a new process and exits. The new instance must not do anything until the old instance has fully exited and so the new instance gets a startupdelay on its command-line.
 

« first day (1469 days earlier)      last day (3478 days later) »