« first day (1465 days earlier)      last day (3466 days later) » 

4:00 PM
I won't give a shit anymore.
 
@ScottW What are you two talking about anyway
 
@ScottW Flush the socket buffer.
 
@BartekBanachewicz Fun fact: not everyone has the same interests as you.
 
Ell
@BartekBanachewicz but coffee shops are full of hipsters writing ruby ;)
 
@MartinJames Irony overload.
 
4:01 PM
@ScottW Maybe you two should speak languages you both understand
 
@Ell This is actually true
 
@Ell ruby stopped being hipster around 2009
 
Minutes since the last language bashing incident: 0.
 
@ScottW Which one is you?
 
@EtiennedeMartel I know, some people don't care what they do at work as long as it brings them money
 
Ell
4:02 PM
@ScottW lol
this is how I'd talk to someone
 
@BartekBanachewicz That's not what I meant.
 
@ScottW Plot twist: it's just Chatterbot.
 
It means that some thing you might dislike, someone else might like it.
 
"Lol it's fine"?
 
@ScottW Do you know why?
 
4:03 PM
And there's nothing wrong with that (as long as everyone's happy)
 
@Cicada Why do you think it’s Chatterbot?
 
@LucDanton Yep
 
Ah fuck it, I don’t know how to impersonate ELISA.
 
@LucDanton Are you sure?
 
@EtiennedeMartel I read that as "as long as everyone's puppy"
2
 
4:04 PM
lol
 
I was scared
 
@ScottW No
 
@R.MartinhoFernandes you dragged this out this time. I just started with mild "php is not viable"
 
@Jefffrey Yeah, no.
 
@Jefffrey imagine if everyone really was Puppy
 
4:04 PM
@ScottW Lol it's fine
 
XD stop it
 
@BartekBanachewicz Oh, right. I took the bait. Shame on me.
 
okay, let's end this here.
I'd like to discuss C++, incidentally.
 
:no:
 
@ScottW That actually makes sense
"Do you know why I'm sorry?"
 
4:07 PM
I mean, sec, let me find the article
 
@Jefffrey "Yes, do you?"
 
No
 
"Ok"
 
a) is it worth it to fiddle with C++ linker setup?
b) is it worth it to fiddle with toolchain setup to get C++11/1y?
c) is it worth it to engineer my own allocator for stdlib parts?
 
d) none of the above
5) hey
 
4:08 PM
they aren't mutually exclusive.
 
@ScottW A new chain, I laughed
 
@BartekBanachewicz I set up my own build with ninja for the Arduino and think it is totally worth it. Just a pity the Arduino libraries are non-composable crap so I've had to rewrite large chunks of them.
 
@BartekBanachewicz I've bookmarked it for later. PINSEL on controllers is a massive PITA and I've never found a good way to perform it cleanly.
 
Ell
@BartekBanachewicz it looks old
 
@MartinJames How massive?
 
Ell
4:10 PM
@BartekBanachewicz yes for the first two, no for the last one
 
@Cicada Oh, at least that big:)
 
@R.MartinhoFernandes I've embraced the whole STM library and I'm prepared to rewrap and restructure it, but I'd need strong motivation to do so.
@Ell 2009
@R.MartinhoFernandes I'm using Keil IDE right now, which has a working debugger. TBH having to cope with gdb might be a bit of a problem
 
@BartekBanachewicz My biggest pain is related to the small number of GPIO pins. If I had enough pins I wouldn't rewrite much; I'd only wrap.
 
Oh well, I have plenty of them.
a real monster.
 
@ScottW Go on...
 
4:14 PM
@R.MartinhoFernandes how do you debug?
 
@BartekBanachewicz he debugs himself?
 
@BartekBanachewicz In my head :S
 
@R.MartinhoFernandes uh
 
I haven't set that up yet.
 
I've managed to hook up to OpenOCD actually
(with my custom toolchain)
 
user1804599
4:17 PM
Hi.
 
wait if you have arduino what arch is that? AVR32?
 
if you had an ARM we could share some stuff at least :S
 
Ell
@BartekBanachewicz depends on arduino model
 
but my openocd setup was borked for some reason, in that it flashed, but didn't really want to work
 
4:19 PM
@BartekBanachewicz I'll see about pushing my stuff to GitHub today or tomorrow.
 
ah, I remember, printf refused to work
@R.MartinhoFernandes ah great. Too bad I don't know how to use ninja :S
 
What do you build with?
 
With my prod setup, Keil's proprietary things (I don't look in the insides). My free setup uses GNU makefiles provided by some guy on his cryptic page that actually work quite well after minor tweaks, under win-gnuutils (or whatever it's called) and arm-gcc-none-eabi
I've recently managed to get the "free" sources and libs from stm's library downloaded directly to build under Keil's IDE and that stopped me from developing the second toolchain for a while
but I'll ultimately want to migrate to proper gcc and some real build, but I'm scared of configuration and linker :S
 
I migrated everything from the Arduino IDE to vim+ninja+gcc+putty
 
Well, I dunno if I'd like vim actually
Keil's editor is actually pretty decent for C
and I never really liked writing C++ in vim for some reason
 
4:26 PM
Hehe, somebody posted a compile-time version of Game-of-life on proggit.
 
I even set up a ninja task to flash the thing.
 
eh, that's easy
ST provides a CLI iface to their ST-link and my board is absurdly easy to flash
it's much harder to i.e. link with rdimon properly
 
I just installed and had a go with Koding and it looks really nice except the terminal is a little bit slow. Is this just me or have you guys experienced this as well?
 
Behold the horror:

/* PINSEL1
00 01 10 11
00-GPIO KEYBD5 0 1:0 P0.16 GPIO RXD1 SSEL0 SSEL
00-GPIO KEYBD6 0 3:2 P0.17 GPIO CTS1 MISO0 MISO
00-GPIO KEYBD7 0 5:4 P0.18 GPIO DCD1 MOSI0 MOSI
10-MCLK XXXXXX 0 7:6 P0.19 GPIO DSR1 MCICLK SDA1
10-MCMD XXXXXX 0 9:8 P0.20 GPIO DTR1 MCICMD SCL1
10-MPWR XXXXXX 0 11:10 P0.21 GPIO RI1 MCIPWR RD1[1]
10-MDAT0 XXXXXX 0 13:12 P0.22 GPIO RTS1 MCIDAT0 TD1[1]
00-GPIO XXXXXX 0 15:14 P0.23 GPIO AD0.0 I2SRX_CLK CAP3.0
00-GPIO XXXXXX 0 17:16 P0.24 GPIO AD0.1 I2SRX_WS CAP3.1
 
the fuck is that
 
4:27 PM
@MartinJames how fascinating
 
@BartekBanachewicz Me, trying to document and program the stupid PINSEL shite.
 
> FIO0MASKU FIO0DIRU
is that japanese
 
@AlexM. Worse - my #defines.
 
@MartinJames hentai
 
@MartinJames really, read the article first :P
 
4:31 PM
@BartekBanachewicz I will. I hate that PINSEL shit. I hate how it's organized, I hate how I've done it, I HATE IT ALL.
 
what the actual fuck
 
It took me two days to turn a LED on.
 
lol
okay, it took me twenty minutes
admittedly, took me 3 hours to actually get the pins working how I wanted them to in a more complex scenario
 
@BartekBanachewicz It didn't help that I'd miswired the hardware:(
 
@ScottW What are you making me watch
 
Ell
4:34 PM
arduino IDE sucks imho
 
Keil IDE is actually decent :<
that's the worst part of this :D
 
Crossworks IDE is not too bad. Mod the XML config files. Mod the dubious board download. Mod the memory sections. Mod the ............................
OK, the dodgy downloading may be because of VM.
 
I printed all the flags flipped.
 
Mirror.
 
5:00 PM
I feel sad for some reason
No idea why
 
user1804599
Because you are a horrible person.
 
We weren't even testing for that.
 
5:18 PM
they made a serie of this stuff
what has the world come to
 
posted on October 20, 2014 by Scott Meyers

From time to time, I give a presentation on what I consider to be the most important guideline in software development: Make interfaces easy to use correctly and hard to use incorrectly. Over the years, I've collected a variety of interface examples that either adhere to this rule or, more commonly, violate it, and I try to update the presentation to keep the examples contemporary. I'd like to

 
user1804599
@Feeds All bad.
 
@rightføld zing
@R.MartinhoFernandes what is it for?
 
5:41 PM
So. Where did everybody go?
 
@BartekBanachewicz serotonin depletion
5-HT supplements can help.
 
You sound like you have experience with those
 
just for fun and giggles
Actually, they mostly help me sleep.
 
@LucDanton thanks for the keywords, i've found this post which described how to pass state http://deplinenoise.wordpress.com/2014/02/23/using-c11-capturing-lambdas-w-vanilla-c-api-functions/ and i think i got it.

glfw callbacks don't take any void* state.... so you basically can only call other functions from these... it feels i have to make everything global or static to make anything useful with these
 
Unfortunate.
@R.MartinhoFernandes How vexillosinister of you.
 
5:54 PM
@StackedCrooked I had never heard of them. But I sleep well. If too little
 
@sehe I've encountered the rep-irony of SO once more. Spent twenty minutes creating a sexy graph and will probably not receive a single upvote for the corresponding post; And others post answers and gain four upvotes and an accepted answer for three sentences. I guess you have to choose carefully what questions you answer if you want to gain at least some rep daily X)
 
@sehe Foodmaking
 
6:10 PM
Wow, lots of fresh material on the CppCon channel...
 
hola
 
user1804599
omg chandler
 
@rightføld u fanboi?
 
does anyone know what LWG / LEWG distinction is when writing proposals? Do you first have to go through LEWG? (the open-std.org site doesn't really say)
 
0
Q: For loop without intialization and conditions

ChaksI was going through this link of C++ Faq. http://www.parashift.com/c++-faq/istreams-remember-bad-state.html In the given program for loop ends after first iteration. char name[1000]; int age; for (;;) { std::cout << "Name: "; std::cin >> name; std::cout << "Age: "; std::cin >> age; } ...

 
user1804599
6:13 PM
@FredOverflow oh performance
 
user1804599
> WHO CARES?
 
user1804599
I certainly don't.
 
user1804599
@FredOverflow he's cute.
 
@Feeds wtf is feeds subscribed to make i... oh ¬_¬
 
@Feeds I'd like to add some examples from the mobile realm (smart phones, ebook readers, tablets), but--gasp!--I don't have any such devices.
 
user1804599
6:17 PM
@Feeds lol tag
 
Scott Meyers so old-fashioned
 
oh noes, I'm listening to crappy songs from the 90s
oh noes! now it's Aqua
 
I don't get it
I didn't get Twin Peaks
 
oh few, unacceptable lag has saved me
@Jefffrey I think that's the point of it.
 
Everybody is capable of throwing random stuff on the screen.
Where's the art in that?
 
Xeo
6:25 PM
> Preis: EUR 37,30 + EUR 23,70 Versandkosten
damn you Amazon!
 
I should probably watch the tv series
 
@Xeo drone delivery still pretty expensive?
 
I 've just started and what should i use?
 
For what?
 
6:33 PM
@VeeeneX You should use a book
 
Yes, I'm trying
:D
 
evening fellas
 
What book are you "trying"?
 
back home from work
 
@Puppy evening honey
 
6:33 PM
nobody cares puppy
go away
 
really?
 
no
 
good to know
 
i care honey
 
6:34 PM
 
user1804599
@VeeeneX eww O(n) algorithm for computing the sum of 1 to n.
 
@rightføld could be worse
copy them to std::set and then std::accumulate is O(N log N)
 
@rightføld yhx
 
@Puppy that's how you usually greet new people in here
@VeeeneX that's not a book about C++
 
6:35 PM
of that I'm well aware.
 
user1804599
Use (n * (n + 1)) / 2 you fool.
 
@VeeeneX initialize variables when you declare them
 
@Jefffrey :D Yes i know
 
@rightføld ya, learned that in primary school
 
if you are willingly using C, then please go away
my anxiety is sky rocketing
 
6:36 PM
@Puppy lol, what sort of hours you working fool?
 
@BartekBanachewicz And how?
 
9am to 5:30pm
I went shopping after work.
 
int x;
x = 0;

int x = 0;
@VeeeneX prefer the latter form.
 
guys, if I suddenly stop being active on SO or SO.chat, it means I'm dead
 
alternatively, use int x { 0 };
@Jefffrey why would that happen?
 
6:37 PM
I would never leave this place without telling ya
 
@BartekBanachewicz Oh you mean this thanks!
 
@BartekBanachewicz reasons
people die sometimes
 
@Jefffrey do tell
 
user1804599
@BartekBanachewicz int x{}; :D
 
6:39 PM
yes, I do know.
 
first LEWG?
 
officially, LWG is for maintaining existing libraries and they also do more wording wankery.
LEWG is for new features and it's more of a "breeding ground" for new ideas/new features.
so most library proposals go through LEWG who pass it to LWG.
 
Xeo
man. I wish I would've just bought Tragedy Looper on Thursday at the Messe.
 
@Puppy I am writing up proposal to add stuff to <cstddef>, adds some literal operator""
 
lewg
 
6:40 PM
ok, thanks
 
BTW, What is the fastest language after ASM and C and C++ :D?
 
@Puppy Library Wanking Group, has a nice ring to it
@VeeeneX writing in ASM is not faster than write in C++ with good optimizing compiler
You do no know how to write fast code on modern processors, your compiler does
 
@TemplateRex I don't mean writing i mean execution
 
so did he.
you won't beat an optimizing compiler.
 
@Puppy So I i write optimizing compiler for Python then i can say that python is faster like a C or C++?
 
6:44 PM
@VeeeneX The phrase "the fastest language" makes exactly no sense.
Languages don't have speed.
 
@Griwes Yes, sorry I mean speed of execution
 
Languages don't have speed of execution.
 
Ok, but you know what I mean , don't you?
 
@VeeeneX he means your question doesn't make sense
 
in physics there is a saying: "not even wrong"
 
6:47 PM
ok :}
 
it means, the question itself is ill-posed, not worthy of an answer
 
Xeo
@TemplateRex Mu.
 
@VeeeneX With the right program and the right compiler, you probably could. It's well known that libraries like numpy and JITted Python implementations are very fast. LuaJIT is barely twice as slow as C and it has no speed-enhancing language semantics at all.
 
@Xeo what does "Mu" mean?
(btw, the quote was from Wolfgang Pauli)
 
@Puppy Thank you so much!
 
6:48 PM
ITT puppy helpful
 
The phrase "not even wrong" describes any argument that purports to be scientific but fails at some fundamental level, usually in that it contains a terminal logical fallacy or it cannot be falsified by experiment (i.e. tested with the possibility of being rejected), or cannot be used to make predictions about the natural world. The phrase is generally attributed to theoretical physicist Wolfgang Pauli, who was known for his colorful objections to incorrect or sloppy thinking. Rudolf Peierls documents an instance in which "a friend showed Pauli the paper of a young physicist which he suspected...
 
Xeo
@TemplateRex "Wrong question".
 

« first day (1465 days earlier)      last day (3466 days later) »