« first day (1742 days earlier)      last day (3220 days later) » 

12:04 AM
One way or another, I will someday work somewhere where C++11 (or higher!) is used. But probably not for a while yet, unfortunately.
 
maintaining legacy code is for scrubs
 
@nick I mostly write new code, at present.
Sometimes I graft new code into legacy code.
Very rarely, I fix bugs in legacy code shivers in momentary terror
 
@caps new code in C++03?
 
@nick Yes.
Although I try to go for more of a C++11 style when I can--algorithms, ranges, etc.
 
@ScottW who would click on that image
 
12:09 AM
But with no lambdas I have to write functor structs everywhere, which is obnoxious boilerplate.
 
@ScottW oh. I was gonna say, it's even hotlinked. But I reckon it really does require flash
 
@ScottW that is amazing
 
I didn't believe they'd make that to JPEG-y i.imgur.com/8Q8qgAp.png
 
@caps Not in C++03.
 
@Rapptz Well, with typedefs I can at least make this into some really short boilerplate.
 
12:39 AM
Guyz/girlz i kinda feel like i need to throw a few questions at you right now. i'm really stuck...
 
he has cooties questions, hide!
 
I've been away from C++ for about 8 years. Doing 90% of my work in C# instead. But I miss C++, I hardly remember how to do things if I don't do them all the time... So these questions might be kinda stupid, so please, don't stone me :P
I've become used to serializing stuffs in C#. Lately, I've been doing:

[DataContract]
public class blah
{
[DataMember]
public string blahblah { get; set; }
}

and then just writing the stuff to file using streamwriter and json datacontract serializer but can we do this in C++? Can we do cool LINQ stuff (like from x in p..) in C++ yet?
 
@Aston What
What is that even
@Aston loooooool
 
12:48 AM
@VermillionAzure What are you laughing at?
 
@Aston I don't know; I'm the idiot here :)
@Aston Uhhh can I say no?
 
You still don't know you're the idiot here?
 
@buttifulbuttefly SEMICOLONS
 
Who's the idiot? I'm confused.
 
@Aston This guy. Me.
Yeah I don't think we have LINQ.
And the attribute stuff is definitely... not in C++? It sounds vaguely similar to contracts and axioms which are a ways off
 
12:50 AM
It's a shame. I really like LINQ and sttribute stuff. Makes the code look prettier :P
 
Me: "Yes, it's possible. But it's absolutely, positively, 100%, definitely a bad idea." Colleague: "OK, so how do I do it?" Me: :'(
 
@Aston It does. But C# and C++ are fundamentally different.
 
Poor James :(
 
@MichaelMitchell Yes that's normal, you'd need managed memory to avoid that
 
Yea I know... I'm wondering which project type I should pick for an app where everything is custom drawn? I've never done drawing in C++ before. Should I do Win32 or um, one of the other types?
 
12:53 AM
@Aston What are you talking about?
Is this Visual Studio?
 
Oh yeah, it's visual studio
 
shun the believer
@Aston What do you mean by "custom drawn?"
 
:O
Like... u know...
Custom Controls...
 
@Aston I don't which is why I'm asking :|
@Aston Qt?
 
EWWW NO MFC!
raw
i like it raw
 
12:55 AM
@Aston and hard, i guess. it's not healthy
 
i mean, i like raw c++
not health but feels good lol
 
@ScottW dies of unemployment due to Internet stalking from potential employers
@Aston Um, well, I don't know of any good GUI toolkits besides Qt and maybe tcltk?
I think most custom UI for like games and stuff is more done graphically and manually through something like SDL. Or engines.
 
> tcltk
pls no
let it die already
 
@buttifulbuttefly i was looking at cross platform UI frameworks, not a lot worth using besides Qt
 
rreally? like, fuck. lol, then c# is wayyy better for custom drawing??? I can write a Switch control in C#, custom drawn and everything - in like.. 5 minutes.
 
12:58 AM
@Aston And people wonder why they left C++... :|
 
@Borgleader Qt is by far the best for C++ (or ofc you could go the web hipster way with an embedded in-process browser with HTML5 UI)
 
Is C# better for UI? Yes
 
Yeah I use GDI in C#
 
"Custom drawing." Uhhhhhhhhhh
Here is custom drawing. thx ggl
 
it does cause u need to draw it lol
with gdi or gdi+ otherwise you'll have functionality that can't be seen
 
12:59 AM
@buttifulbuttefly I've been trying it QtQuick. I'm a bit afraid of their HTML5 thing.
 
only if you extend an existing control?
 
QtQuick is great, well thought out, and you can make buttiful UIs with it
 
@Borgleader HTML/CSS works.
How else would you do it?
@Aston 8 years of exp?
 
@Aston @MartinJames Bond
 
@ScottW y so srs
Do re mi fa suicide si do
 
1:01 AM
@buttifulbuttefly wrong
It's ti
and you missed la
 
si is also correct and congrats on missing the joke
 
@buttifulbuttefly do re mi fa so la ti do.
 
I don't think there is a si in The Sound of Music. And musical scales vary everywhere. Meh.
 
what next, you teach me how to count?
 
1:03 AM
or "ut re mi" and "si" for "ti" is prefectly cromulent
@VermillionAzure HAH It was bound to happen
 
In music, solfège (US /sɒlˈfɛʒ/, UK /ˈsɒlfɛʒ/, French: [sɔl.fɛʒ]) or solfeggio (/sɒlˈfɛdʒɪoʊ/, Italian: [solˈfeddʒo]), also called sol-fa, solfa, solfeo, solfejo, among many names, is a music education method used to teach pitch and sight singing. Solfège is taught at every level of music education in some countries, from primary through graduate level university study. Many music education methods use solfège to teach pitch and sight-reading, most notably the Kodály Method. The study of solfège enables the musician to audiate, or mentally hear, the pitches of a piece of music which he or she is...
shut up, learn life, thanks (and get out of my internet)
 
The Sound Of Music being quoted for authority
 
@buttifulbuttefly Hee hee hee
lol why are we taking this so seriously
BTW do you have music too?
 
@buttifulbuttefly actually, I'd link "solmisation" (and the system is quite complex beyond the natural diatonics)
 
Like, do you compose?
 
1:04 AM
...
 
@sehe sodomisation
 
@VermillionAzure because you trampled on a joke with misplaced pedantry
 
@buttifulbuttefly Movable do is frequently employed in Australia, China, Japan (with 7th being si), Ireland, the United Kingdom, the United States, Hong Kong, and English-speaking Canada .
 
If you're gonna pedant, at least be right
 
1:05 AM
1 Do 0 /doʊ/
2 Re 2 /ɹeɪ/
3 Mi 4 /miː/
4 Fa 5 /fɑː/
5 Sol 7 /soʊ/
6 La 9 /lɑː/
Lowered 7 Te (or Ta) 10 /teɪ/ (/tɑː/)
7 Ti 11 /tiː/
 
Where we quote WP in an attempt to appear right after the fact
 
@sehe Well, it's what they taught in my high school. I haven't really seen it a different way.
 
ok. you're absolved.
Next time try being less narrow-minded about what they taught you in high school
 
@sehe no i'm not PERSECUTE ME
Oh, they use Si for the chromatic version?
Neat.
 
@VermillionAzure I think it's a flavour. A nationality thing.
In some flavours, it could double as a chromatic alteration
 
1:09 AM
@sehe ? o.o
@sehe Meh I don't think the words matter too much unless they start using different vowels for the accidentals
But in that case they're already screwed up
 
French: ut ré mi fa sol la si; German: "do re mi ... ?"; Dutch/Hawaiian(?): "do re mi fa so la ti" etc.
@VermillionAzure ^
 
@sehe lol Hawaiian
 
Maybe you should be honest and say you don't care at all (because you shouldn't and no one does any more, since a century or two). You're just sad you were wrong about your correction there
@VermillionAzure Well. you didn't specify any context for "highschool". So, I won't guess a language to go with that
 
@sehe lol I don't care
I must come across as pretentious. Too bad I need to use emotes to display subtler tones xp
O.O :) :| :( XD x_x -_- QQ ^_^
 
vewwy suppel
 
1:15 AM
Evening, Lounge
 
@jaggedSpire Good afternoon.
 
@VermillionAzure You home from work yet?
 
@jaggedSpire 3 hours more.
I've been making great progress.
 
@Mysticial isnt it gorgeous?
 
1:18 AM
@Borgleader what is this
 
oh nice
 
Memory Lane: canyonmid.com
 
@VermillionAzure What does it look like
It's an antenna.
 
@jaggedSpire Ahhhhhh
I see now; how could I have been so blind?
It looks pretty sharp
 
That's for better reception.
 
1:20 AM
@jaggedSpire The designers must've been pretty damn metal.
So hardcore.
 
With just a bit of flex and quite a spine.
I think we might be venturing into dangerous waters now, though.
Let's stop while we're ahead.
 
@jaggedSpire Good idea.
I remember the last time that happened.
Not good.
 
Concur'd
 
105
Q: I'm slick of duplicates ([slick.js], [slick-carousel] and [slick-js])

BishopBarberI'm not sure if bad puns in titles are accepted to non burninate-requests, so sorry about that. I stumbled across a jQuery plugin called slick which is a jQuery carousel. I noticed, that Stack Overflow seems to have three tags associated to this plugin: slick.js (75 questions) slick-carousel ...

lel
 
@ScottW yes
oh
 
1:47 AM
Oh my god
I just learned what a placenta is
it's used in Chinese medicine O.O
 
Life Pro Tip: if it exists, it's used in Chinese medicine.
 
JESUS CHRIST I HATE OTHER PEOPLE'S CODING STYLE
 
@Nooble link?
 
Nab has forced upon me that.
 
@Nooble ???
I don't see anything wrong with it
 
1:55 AM
No it's not bad yeah.
I just like my neater style.
 
link?
It looks pretty good to me.
 
@VermillionAzure Here, give me a second while I synthesize random code.
 
He uses K&R style with large indentation. Doesn't seem that bad.
Except the using namespace std;
 
There, example of my code vs his.
 
3rd is bad style
the 2nd is pretty normal
1st wastes vertical space.
I used to program Allman until I had to nest 5 logical statements together. Not fun.
@Nooble You haven't seen style.
Until you find that somebody makes all their variables global
And they compressed everything into one long statement
Without comments.
 
2:01 AM
@VermillionAzure :P
 
Also, the game doesn't seem that well made.
 
Of course.
And it isn't a game.
 
Then what is it?
A cow?
 
A gaem.
 
Ugh how old are you again?
 
2:03 AM
15 now.
 
inb4 2
 
14 yesterday.
 
@Nooble Congrats.
 
@VermillionAzure Thanks.
 
Oh wait, that's the wrong one.
@Nooble MERRY CHRISTMAS BIRTHDAY NOOBLE!
 
2:04 AM
@VermillionAzure Merry Christmas birthday to you too :)
 
Man...
I should make my own Game.
 
Or Gaem.
 
Gaemuh
 
Point is, although it wastes vertical spaces, it helps me see alignment better.
And also him and his 2 space tabs.
 
@Nooble That's what I said.
Allman just wastes space.
Those tabs are huge though.
 
2:07 AM
Which tabs?
I like my tabs to be 4.
 
@Nooble My tabs are always 2.
 
You're both evil ;_;.
 
4's too large. You run out of room too fast.
ui_fileupload <-
  tabsetPanel(
    tabPanel('File Upload',
      p("\n"),
      fileInput("fileupload.rw_file",
        label = "Raw Sample/Gene Counts (CSV)"),
      fileInput("fileupload.srr_file",
        label= "Experiment-Sample Metadata (CSV) \n[Optional]"),
      fileInput("fileupload.srx_file",
        label= "Experiment Summary (CSV) \n[Optional]"),
      fluidRow(
      actionButton("fileupload.upload",
        "Upload files"),
      actionButton('fileupload.output_raw',
        "Send output as SummarizedExperiment")
I like that
 
And now his framebuffer thing isn't really working.
 
@Nooble Why do you guys even need a frame buffer?
Sheesh.
 
2:10 AM
@VermillionAzure Well it's not really a framebuffer.
That's just what we called the text.
 
@Nooble So you don't need it.
 
A textbuffer.
I got it: a string!
 
It interfaces with curses.
To make it cross-platform.
 
If I were you guys, I'd just create a freaking matrix.
Or, even better, just port it over to SDL.
 
2:11 AM
It's a text-based 2D platformer.
Why SDL?
 
@Nooble It's much easier to do transforms.
Also, sound, graphics, etc. Custom UI. Unicode on Windows, I think. Font choice.
Scalability. Viewports. Zoom, I think.
And OpenGL.
 
That ruins the whole "you can run it in console".
Besides it's just a little project thing.
 
Just go for openGL. Or before using SDL look at the rendering options.
 
lol
rip nooble
 
@jaggedSpire I think OpenGL is sort of hard :(
 
2:13 AM
Weird name for a dick
 
I have my own OpenGL rendering engine project thing that I haven't touched in 2 weeks.
@VermillionAzure It's fine.
 
I should just make my platformer RPG already.
 
@VermillionAzure I bet it's not as hard as suddenly realizing you can't rotate a rectangle is annoying.
 
@jaggedSpire You can rotate in SDL2
 
2:14 AM
@VermillionAzure Pretty sure that's only textures
 
@jaggedSpire Yeah. But you can render text to textures, if I remember...
 
@VermillionAzure You can!
 
@jaggedSpire Well, surfaces. Then textures.
 
You can even do it in a way that lets you arbitrarily change the color of it after you render it, if you use the lowest quality.
 
@VermillionAzure But it looks so organized.
 
2:16 AM
@Nooble Meh.
It does look nice.
I like 2 spaces and K&R
 
@Nooble neat
 
I like this better.
You have more information on your screen at once.
I like reading Allman. I don't like typing it or reading it when it has bad tabs and is too deep.
 
@buttifulbuttefly Wait 'till you see the code...
Then it's not so neat.
Haha I just realized that screenshot is from a bug report I filed.
 
This has inspired me to make a 2D shooter using only ASCII characters.
 
Mr. X (your character) was able to glitch through walls, effectively overwriting them.
 
Hey! 127.0.0.1 is my IP!
 
2:38 AM
Hey
does anybody want to listen to Cinch music?
 
Crickets
 
Nobody?
xp
 
user1030718
I've never heard the word "cinch" before
 
You're a lucky man.
 
user1030718
@MarkGarcia Well I learned what "sjw" and "cis" mean, so I can't be that lucky.
 
2:47 AM
@MarkGarcia Indeed.
I'd hate to ever see that Cinch guy people are talking about.
It must be excruciatingly painful.
 
you have no idea
it's like, urgh
good thing he left
 
3:05 AM
@buttifulbuttefly He never came back right?
Are you sure he's not on SO?
 
Woah.
It's Berenstain bears.
Not Berenstein.
What the fuck.
 
3:26 AM
@buttifulbuttefly yeah, sorta like that Cicada chap.. good riddance to the lot of em I say
 
@nick oh boy oh boy
 
3:43 AM
@nick I say put all the fuckers in the same bag
Cicada LRiO Cinch
Same shit
 
@buttifulbuttefly Cinchada LRiO
What a wonderful phrase.
Cinchada LRiO
Ain't no passing craaaaaaze
It means ___ _________
 
@buttifulbuttefly true true
 
(Do they know? Hm.)
 
CppCon 2015 has some nice practical talks. hyped
 
@MarkGarcia I wanted to go.
Turns out I have no money.
 
3:51 AM
I wanted to watch.
Turns out I have no internet.
(literally in CppCon 2014)
 
@MarkGarcia oh.
 
What's the name of that tool where you do $> tool servername someaction someparams and it does it for you? Instead of having to ssh servername; cd blablalbla; ./myscript etc
 
@buttifulbuttefly curl?
 
looks like it's capistrano but uhhhh I'm not sure
 
@MarkGarcia i feel your pain
 
4:01 AM
Ah, Ansible.
 
 
4:21 AM
user image
5
 
wearing underwear is for folks who care about what other people think
 
@caps lol
 
4:38 AM
What do folks usually talk about here other than C++?
 
@ОгњенШобајић Haskell
 
anime
 
@ОгњенШобајић Stupid jokes.
Look at the starboard and read the context for the various comments--should give you an idea.
 
4:54 AM
@ОгњенШобајић we typically like to massage our own egos
@ОгњенШобајић when we're not arguing about quantum physics we're complimenting each other on our intellect
 
quantum c++
 
5:22 AM
@jaggedSpire always and forever bb
 
@nick lol night
 
sweet dreams
 
5:36 AM
lol another braindead user
sigh
 
 
1 hour later…
6:38 AM
Hahaha I click on "go to definition" on std::is_empty and it open boost::is_empty
 
6:58 AM
Why is the talk about tabs vs spaces here illustrated with unindented code samples?
 
To avoid bias
 
lol
 
7:16 AM
@rubenvb Avoid tabs vs. space arguments: insert only the minimum of whitespace absolutely required by the compiler.
1
A: C Code Re-Formatter?

Jerry CoffinPlease think of this as a misplaced April fools joke. It does answer the question (i.e., it'll do what the question asks for), though the overall results may not be entirely desirable (to put it mildly): #include <stdio.h> #include <stdarg.h> #include <string.h> #include "get_src.h" int main(i...

See the last...chunk of code.
 
user1804599
Noob Constructors and Destructors
 
@JerryCoffin that still has a bunch of superflouous spaces in it :o
 
7:37 AM
@caps best news ever :D
@buttifulbuttefly we welcome you non the less
 
Okay
hello
 
you know... one thing that goes against the 'tab width isn't consistent' argument... nor are fonts... it's only conventional to use mono-spaced fonts. If you are expecting people to change their font to one that suits the formatting of the code, why not their tab width?
I really should put some more time into improving my typing
 
@thecoshman Yes, you need more classes, reflection, and static guarantees.
 
I can sort of touch type... I know where the keys are at least, but I'm slow, messy and clunky
 
Yeah you are slow, messy and clunky!!
I hate you.
 
7:42 AM
hey! at least I can admit it
 
user1804599
fuck correctness
 
user1804599
C programmers.
 
I used a regex to parse HTML and I liked it.
 
user1804599
You can invoke a HTML parsing library from a Perl regex.
 
user1804599
So you get the best of both worlds.
 
7:47 AM
@StackedCrooked regex can handle HTML just fine, it just has to be a particular well known subset :P
do they still have the Cthulhu Easter egg?
 
user1804599
Good regexes are Turing-complete.
 
user1804599
Have a Brainfuck interpreter as a regex: perlmonks.org/?node_id=1066494
 
> Task will complete in 2020.
> You may also like
every word is gay
@everywordisgay
 
:\ implement interface... most methods just throw new RuntimeException("Not Implemented");
 
user1804599
Your interface is too large.
 
@rubenvb Yes, but the immediately preceding chunk is code to remove unnecessary spaces. It still leaves in more than necessary, but it's pretty easy to remove most of them (note the places it writes out ' ', '\n' and so on (but you need to leave in the place it writes out a '\n' after the if (first == '#') (because it's the end of a preprocessor directive).
 

« first day (1742 days earlier)      last day (3220 days later) »