« first day (1350 days earlier)      last day (3597 days later) » 

12:00 AM
@LightnessRacesinOrbit So maybe I will also make it a SO question then...
And you guys can earn some more rep..
 
Ell
Ahh I missed that
 
^
@Chimera ooh ;)
well you'd better hurry up cos I'm going to bed soon
 
@LightnessRacesinOrbit :-)
 
@Ell the diagram here is actually pretty neat (clearer than the standard :)) en.cppreference.com/w/cpp/iterator
^ watch me do the double-closing parens thing
 
user3010322
How do you pipe stdout to stderr again?
 
12:03 AM
:))
 
user3010322
&2>&1 ?
 
2>&1
 
2>&1
 
what's that?
 
Ok Haskell is pretty sweet for making a Chip-8 disassembler
 
12:04 AM
It's how you pipe stderr to stdout.
 
42 secs ago, by ThePhD
How do you pipe stdout to stderr again?
 
stderr to stdout
 
I win this "Lazy" round
 
pipe?
 
12:04 AM
@Jefffrey Were you born yesterday?
 
dunno, can't be sure
 
You seriously don't know what a pipe is, in computer terms?
 
Ell
I always forget how to pipe. And I've moved to fish now so I have to learn a new syntax anyway
 
:(){ :|:& };: - a pipe bomb
 
@Jefffrey think of actual pipes with water into them, you want both "flows" to come out of the same one, so you pipe one into the other
bad analogy but i think youll get it
 
12:06 AM
ITT vergeet Ell altijd hoe hij moet pijpen
 
@LightnessRacesinOrbit I've studied pipelines, for my last exams. And I've just looked up what that is on google.
So yeah, I'm an expert now.
 
Ell
I know rightfold used to go on about zsh, but I didn't think a different shell would make a difference
 
Says he, and goes on to use... fish?
 
technically I think this is redirection, not piping.
 
true!
 
Ell
12:07 AM
But after using fish I realised it can change your experience a lot. I don't know why I though what I did, given that I hate using windows because of its lack of good terminal emulator
Maybe because powershell isn't so bad
 
@Ell There are several good replacements. Console2 IIRC, I use mintty
@Ell fish is related to powershell?
 
fish works on windows?
 
Ell
I'll have to check those out thanks :) I never really knew what to google when I was looking for them
 
bash does. good enough for me
 
What is "fish" besides a type of animal the lives and swims in water?
 
Ell
12:08 AM
Are they consoles, terminal emulators, console emulators, command prompts? O.o
 
This is a list of terminal emulators. Popular terminal emulators on various window managers include konsole on KDE, gnome-terminal on GNOME, and xfce4-terminal on XFCE as well as xterm and rxvt. Character-oriented terminal emulators Linux * Linux console - implements a large subset of the VT102 and ECMA-48/ISO 6429/ANSI X3.64 terminal controls X Window Terminals Terminal emulators used in combination with the X Window System * aterm - AfterStep terminal with transparency support * gnome-terminal - default terminal for GNOME * guake - A dropdown terminal for GNOME * konsole - default term...
 
Good night boys. Really need to sleep now. Really.
 
@Ell terminal emulators
 
fun
 
Ell
12:09 AM
@chimera it's a shell with autocomplete and pretty colours and I think it's very user friendly
@jefff night :)
 
user3010322
Hm.
 
@Ell For Unix and Unix like systems?
 
user3010322
2>&1 isn't doing it...
 
@ThePhD what are you trying to achieve? see stderr+stdout in a single stream?
 
Then you did something wrong. How you expect us to be able to tell you what that is, with the information provided, is anyone's fucking guess.
 
Ell
12:10 AM
@chimera yeah :)
 
$10 on command 2>&1 stuff.txt
 
user3010322
@sehe QtCreator's Issue pane only reads through stderr to find line numbers, not stdout
 
user3010322
So I have to get things into stderr
 
user3010322
Ninja command currently looks like this:
 
user3010322
ninja -f main.ninja install_win_debug 2>&1
 
12:11 AM
2>&1 should work...
http://tldp.org/HOWTO/Bash-Prog-Intro-HOWTO-3.html
 
Building

fish is written in a sane subset of C++98
 
2>&1 puts sterr in stout afaik if you want the reverse you might need 1>&2
 
@ThePhD woo $10 for me
 
user3010322
@Rapptz There's no stuff.txt!!
 
@ThePhD >&2 (counting from 0 to 2 is hard)
 
12:11 AM
@ThePhD other way around then
sane C++98!
 
user3010322
Ooh.
 
@Ell The console is a physical thing (that can be attached to a tty, pty, vty).
A shell is traditionally a program that takes input from a terminal and runs programs there. It traditionally displays a prompt when it is ready to accept a new command (whn interactive)
 
3.5 Sample: stderr 2 stdout

This will cause the stderr ouput of a program to be written to the same filedescriptor than stdout.

grep * 2>&1
 
@Chimera you're a bit slow and a bit verbose :)
 
fish is a shell though, not a terminal emulator
 
12:13 AM
nobody said anything else (except for potentially punny tilapia references)
 
I just scrolled back up and saw your reply was to something else.
 
@sehe slow... what ever do you mean? :-)
 
Ell
Now I know tty comes from teletypewriter but ill have to look up pty and vty. Virtual typewriter? Hmm
 
@Ell pty pseudo
 
@Ell it's derived things. To be honest, I wouldn't know pty (parallel?). vty also known as 'virtual console' AFAICT. It's the things that can be multiplexed onto the physical console (e.g. with Ctrl-Alt-F{1..12} in standard linuxes)
@Chimera ah, you're fast! ^^
 
12:16 AM
In some operating systems, including Unix, a pseudo terminal, pseudotty, or PTY is a pair of pseudo-devices, one of which, the slave, emulates a real text terminal device, the other of which, the master, provides the means by which a terminal emulator process controls the slave. BSD PTYs In the BSD PTY system, the slave device file, which generally has a name of the form /dev/tty[p-za-e][0-9a-f], supports all system calls applicable to text terminal devices. Thus it supports login sessions. The master device file, which generally has a name of the form /dev/pty[p-za-e][0-9a-f], is the...
 
@Ell So, a pty would be what tmux or screen provide (and ssh -t)
 
Ell
Ah right :)
You seem to be full of information on any subject I ever wonder about
 
Yup. The WP article tells me I'm not bad at filling in the blanks
 
Ell
It's quite the impressive attribute :P
 
@Ell Prolly because I keep silent if I have no clue
 
Ell
12:18 AM
Maybe haha
 
I should go to bed. I greet you all
Night
 
user3010322
@Rapptz Done and doner!
 
user3010322
The bug is fixed. It seemed to be a simple typo by Nyanara.
 
Ell
@sehe night :)
Night lightness
 
12:22 AM
@ThePhD oic
 
user3010322
@Rapptz Line 223 of stack.hpp,
 
user3010322
the metatable was userdata_traits<T*> rather than userdata_traits<T>... so now the first part of his bug report works.
 
user3010322
Now I need to fix the second part.
 
do tests pass?
that seems like a weird typo
might be a copy paste error I guess
 
user3010322
Maybe.
 
user3010322
12:26 AM
"return statement with a value, in a function returning void" wat.
 
?
 
user3010322
It's the error from that guy's thing
 
user3010322
with his constructor
 
1
Seduction (For Men)

Proposed Q&A site for experts, such as pick up artists, and those interested in the theory and practical application of the art of seducing women.

Currently in definition.

 
@Mysticial They should have kept that for April's fools
thats hilarious
> Has the pickup line "does this rag smell like chloroform" ever been proven to work?
 
12:35 AM
> How can I get my neighbor's wife to notice me?
 
> // Fuck you, C++ fail. This is basically just { args } but it doesn't fail super hard for move-only types
 
TIL gcc main.cpp invokes the C++ compiler
 
Puppy has best comments
 
I'd ask something like
How do I get my senpai to notice me?
 
@AlexM. How do I get a new waifu?
 
12:36 AM
going on 4chan
 
How do I manage to sit near a girl without entering battle mode?
 
GCC(1) GNU GCC(1)

NAME
gcc - GNU project C and C++ compiler
Seriously Rapptz
 
gcc stands for GNU Compiler Collection
 
@Rapptz So c++ should be somewhat excluded? Sorry Rap, this is not a fruitful discussion
 
@Rapptz Yes, but it doesn't link with the C++ standard library, IIRC.
 
12:41 AM
@CaptainGiraffe I thought gcc was exclusively a C compiler.
and g++ for C++
@EtiennedeMartel yup
have to pass -lstdc++
 
I thought g++ was a few flags to gcc
 
nop
 
That was cc
 
poop
 
user3010322
Whoever fucking thought
 
12:51 AM
here comes the rant
 
user3010322
that void f () { return another_void_function(); } should error
 
user3010322
deserves to die.
 
user3010322
A slow, painful death.
 
user3010322
@Rapptz I will rant all I want! D:<
 
that shouldn't error, no.
 
12:51 AM
im pretty sure it does
ive had that problem before
 
I want to program a raspberry pi to make me sandwiches
 
user3010322
@Rapptz It's erroring in sol. D:<
 
your error is elsewhere
it's not this
learn to read gcc errors
:v
 
@Crow you'll have more luck using it for a raspberry pie
 
12:53 AM
lemme try it
 
ba dum tschh
 
user3010322
@AlexM. You're almost as bad as Borgleader. D:
 
I'm starving
I just realised it's 9 PM and I haven't eaten anything
 
@ThePhD at least I'm better than someone :(
 
that kind of makes me want to go to one of those events where they show off things they made, but I just come with a pie full of crushed up circuit boards
 
12:54 AM
actually, going with a legit raspberry pie to such an event is a nice idea
 
it's okay, you're still better than me! I just periodically drop in and ask inane contextless questions
 
@ThePhD You may never admit to it, but I know somewhere deep inside you love my puns D:
 
"hey guys, I heard you're showing off your raspberry pies here?"
 
puns are awful
 
user3010322
^ A man of wisdom.
 
12:55 AM
but... this pie also connects to your facebook, and will periodically post status update photos as it passes through your digestive system
 
0
Q: Is cplusplus.com credible?

trueI know that in the past w3schools would be considered a harmful source of educational information regarding web development. Success leads suspicion. When searching for a lib / class on google, most frequently cplusplus.com will show up. Please understand that I am looking to find out if the qu...

Good morning.
 
I wish there was a badge for answers with +50
 
whenever I write down SQL I feel like I'm saying things to a real person
 
@Borgleader You got populist and reversal from that. wtf
 
@MarkGarcia Huh. Interesting timing.
 
1:05 AM
@Mysticial You got a billion rep from trains wtf ;)
 
Wait. He actually changed his name (the true guy) from RPM (my unrefreshed questions list page says).
 
@false A mod, RUNNNNNNNNNNNNNNNNNNNNNNNNNNNN :P
 
the smiley kinda ruins it :(
 
how can I convince my school that an internship in which I developed a few web apps is equivalent if not greater than computer science II class? (which usually handles lists, arrays, sorting, simple stuff)
 
you don't
you do what your school wants
 
1:08 AM
@AlexM. I'm not taking chances with wielders of banhammers
 
unless you have to, never be right when those with power over you are wrong
 
@Crow You can't get credible with php.
:P
 
@Crow Well, do you know your ~algorithms~?
 
also that ^
 
I guess that depends on which ones... I took a class at MIT for algorithms, data structures, and all that... got a C, but it went from linkedlist to making 3D games in ~1 semester
at my school I've taken every compsci class above CSII except one, so I guess I do
 
1:11 AM
@Crow And how does that compare to Computer Science II? (Or would you just be guessing?)
Ah
 
user3010322
@Rapptz Can't really solve this bug, I don't think...
 
user3010322
It works fine when you use primitive types (float, float, float)
 
@false compsci II at my school is more or less just basic things like merge sort, recursion, depth first searches, etc. Kinda rudimentary stuff for any programmer
 
user3010322
But when you use user-defined types the thing goes bananas.
 
how does it work when you pass user-defined types in functions then?
it's the same concept isn't it?
 
user3010322
1:13 AM
It is the same concept.
 
user3010322
sol::constructors<sol::types<float>> is just fine
 
user3010322
sol::constructors<sol::types<Vec>> ?
 
user3010322
Shit goes to hell
 
welp, I'm done studying
I should be able to pass the theory exam with a 5/10 somehow
practical exam should be passable with 10/10 if I abuse cursors enough
if I can't find a single complex query to solve the problem I'll just iterate through stuff like crazy and spawn random temporary tables for operations
it will look bad
but hey, there are no requirements on the techniques used to solve the problems
 
1:29 AM
Man I'm bored.
 
@Rapptz I blame your distaste for puns =/
A pun a day keeps boredom away
 
Puns are terrible and you know it.
 
Julian Assange to model at London Fashion Week ... next thing you know Edward Snowden will be some some hot shot top model for smart gadgets. Marketers probably have thought about that already, but his stands against NSA kind of got in the way
 
who is that
 
1:39 AM
Steven Tyler afaik
 
really? Wow he really evolved into a 56yr old grandma.
 
2:09 AM
> hi everybody,do you have blender on tablet, android?
ಠ_ಠ 3d modeling on a tablet, what a brilliant idea ಠ_ಠ
 
2:45 AM
what I like about programming exams is that I can remember random concepts and names, and very short ideas and then once I'm taking the exam I can attempt to put all of them together and slowly build up the whole theory by constantly trying things that make sense and are in context
like, reverse engineering the theory behind random concepts and examples
it takes time but since I only want to pass, this is a quick way to study since I only bother remembering short stuff and what could glue everything together
 
 
2 hours later…
4:26 AM
Again card transactions from the pub didn't show up immediately, what the fuck are they using for this stuff
 
4:44 AM
@Rapptz what about bumblebees?
 
4:58 AM
honeybees and bumblebeeds are cool
except for africanised bees
 
RPM
@AlexM. You love school, don't you?
 
5:14 AM
I heading up to Seattle for the July 4th. Gonna see if I can peak inside the Boeing Everett Factory.
Every single 747, 767, and 777 ever made came out of that building.
 
cool
007 too?
 
wut
 
never mind :)
 
@Mysticial Tell us if you can see it end to end. That facility is enormous.
 
5:30 AM
I find it somewhat surprising that ELF has sections for supporting C++-specific features. (.ctors and .dtors).
I would have expected it to be language-agnostic.
(apart from C)
 
In java is an object serializable only if all the objects inside it serializable?
 
Cool. I can do the upgrade to Qt 5.3.1 via the Qt maintenance tool.
 
Tours are $20. I'll do it.
@StackedCrooked The Boeing Renton Factory a bit further south makes all the 737s and 757s. It's next to a tiny city-run airport mostly for private jets.
I think about 10,000 planes left that factory in the last 40 years. That's about one every 2 days.
 
6:05 AM
woohoo. taking this class: https://www.coursera.org/course/datasci
should be interesting
 
Xeo
6:54 AM
mornin
@Mysticial watched NGNL yet? :D
 
@Xeo Fuck you. I'm watching it right now.
:)
 
Xeo
haha
 
epic NGLN was epic
 
user3010322
7:07 AM
Wait?!
 
user3010322
THEY CAME OUT WITH A NEW EPISODE?!
 
user3010322
I thought the series was over?!
 
user3010322
Someone answer meee. ;~;
 
HELLO
 
e12 is the last
 
7:14 AM
@Xeo I guess there's gonna be a second season at some point.
 
user3010322
Oh. Well, okay then. :c
 
user3010322
@CatPlusPlus HI THERE.
 
Xeo
@Mysticial Hopefully
In the meantime, I'll probably read the LN
 
user3010322
It's a LN, not a Manga?
 
Xeo
ye
work timu
 
user3010322
7:21 AM
Mm.
 
user3010322
Question.
 
user3010322
I was talking to STL the other day and he said including things with #include <...> is bad practice: that you should usually be using #include "..." instead, since #include <...> is meant to search 'system' headers only and not the local directory. Apparently, that's a standard C tenant. Have I been doing it wrong that, when I'm developing my libraries, to use #include <stuff_lib/stuff> ?
 
@ThePhD I've always used #include "my_lib/stuff.h". Seems "more local" to me.
 
Cheesetoast
 
user3010322
Well, apparently it IS more local.
 
user3010322
7:28 AM
@CatPlusPlus But is it well-grilled?
 
user3010322
@MarkGarcia That include will search the local directory: <> apparently never does.
 
user3010322
To be fair, I wish there was no distinction at all and they just did the same thing. :c
 
You need to explicitly add project dir to include path if you want to use <>
I used <> because "" is relative
 
import!
 
7:31 AM
'... hosts were unexpectedly fired from ABC's 'The View' today. ABC will likely announce new ...'
3
 
user1804599
I wish Datomic was FOSS.
 
user3010322
What is Datomic?
 
"I'm a data scientist." "That's cool! I'm a paint painter!"
@ThePhD not FOSS
 
user1804599
@ThePhD it's a DBMS wrapper.
 
user1804599
With persistent data structures.
 
user3010322
7:42 AM
Database Multi.... something...
 
user3010322
.... I dunno. ._.
 
user1804599
Which is rather nice so I want to try it but it's not free of charge either. :v
 
user3010322
@Rapptz Fixed the bug!
 
user3010322
The problem was with me thinking there was Universal Reference syntax being applied to this thing.... when there clearly wasn't.
 
user3010322
WTB poly variadic lambdas auto fx = []( auto&&... sexy ) { ... };
 
user1804599
7:44 AM
Mutable database doesn't work very well with functional programming.
 
oooh, just a little rough this morning
 
@EtiennedeMartel yes, you savage
 
user1804599
@Mysticial is it dupe?
 
@rightfold no. The questions are completely different. But they both make the same mistake.
 
user1804599
7:50 AM
OIC.
 
user1804599
Nice.
 
user1804599
I like mistakes.
 
The mistake the OP made for SSE is about as common as returning an address to a local in beginner C/C++.
The only difference it that it runs horrifically slow instead of UB.
 
user1804599
Good. I hate speed.
 
user1804599
People should have more patience.
 
7:58 AM
@ThePhD Neat
 
@rightfold try craic
 
user1804599
craicslist
 
@Rapptz has he told you about his new feature?
 
?
 
tis not a bug
 
user1804599
7:59 AM
Fixed the bug? So you mean the bug cannot move freely anymore?
 
user3010322
Yes. I ripped off its wings and then slowly plucked its legs off, one by one.
 
user3010322
Now it is a wriggly, pathetic husk that will soon be crushed beneath the booted heel of my tests.
 
do we have savage chickens on the feeds? if(so) grand else explain(why the fuck not)
 
user3010322
@Rapptz bootstrap.py... also runs the tests? o.0
 
no
ninja does
 
user3010322
8:05 AM
Oh.
 
user3010322
Well, can't argue with that I guess.
 
user3010322
> All tests passed (130 assertions in 26 test cases)
 
BS is pretty much what it is: "bs = borderline significant (p<0.1)" #stillnotsignificant http://t.co/Bf1ucrHLx2
 
user1804599
When I zoom in, only the avatar of @Mysticial is not blurred.
 
Does that make me special?
 
user1804599
8:09 AM
Yes.
 
user1804599
You have a property that nobody else has.
 
user1804599
@FredOverflow Het stikt hier ook van de Nederlanders, dus ik zou niet te vroeg juichen.
 
user3010322
8:37 AM
@Rapptz Pull request is a go.
 
user1804599
8:47 AM
> Number.MAX_VALUE + 1
1.7976931348623157e+308
 
user1804599
lolwat
 
user1804599
> Number.MAX_VALUE + 1 === Number.MAX_VALUE
true
 
Let me guess - JS?
Or is something else as broken as that?
 
nah
it's a precision issue.
 
user3010322
Clamped?
 
8:48 AM
1 is probably not enough to make the maximum value less accurate than inf.
try adding something bigger.
 
user1804599
> Number.MAX_VALUE + Number.MAX_VALUE
Infinity
 
puppy's the genius as usual
 
Morning everybody.
 
Xeo
Hm. I just used a mutable member. Meh.
 
mutable is fine.
 
8:51 AM
@rightfold o_0 same for me... ¬_¬ what witchcraft is this?
 
user1804599
It's a mystiery.
 
0
Q: How to get rid of insecure functions (sprintf, strcmp, ...)

ansiwenI want to get rid of all uses of insecure functions like sprintf and the like in a large C++ project. I would like to have errors or at least warnings, that show me all occurrences. I know, that on OpenBSD there is such a warning, but I'm on Linux. If I try to define a macro for sprintf I get err...

Hi, I bought a gun. How can I make it so that I can't shoot myself in the foot with that gun?
FFS
 
> I prefer to have all members in the initialization list, even if they have default ctor
God, have mercy on his poor soul.
 
fuck, I lost some documents from WGP already.
I only saw them like, last week.
 
@rubenvb easy. Remove feet with chainsaw!
 

« first day (1350 days earlier)      last day (3597 days later) »