« first day (1645 days earlier)      last day (3317 days later) » 

6:00 PM
@LightningRacisinObrit Sorry for stalking
 
@LightningRacisinObrit I thought I had missed this essential bit of history. good to know.
Also, happy remainder of birthday :)
 
Xeo
@Columbo Oh, good point.
 
user1804599
Alright, let's see how TLS works in Go.
 
Xeo
@LightningRacisinObrit, is the name in your mail fine for sending you stuff?
 
@Columbo you can't put your place on fire if the oven is in the garden m8
 
6:02 PM
Also, they give her site a 100/100 for child safety... don't they know the odds?
 
Xeo
kay
 
@Columbo looooooool wtf
 
whoa nice
 
@AlexM. Yours?
 
6:03 PM
I love the last one, that you omitted, "uninstall kera". It's like ..... "this dude's invalid, made a bad piece of software once 15 years ago, writes the worst SO questions and basically just.. uninstall him."
@AlexM. wow
@sehe (Y)
 
Xeo
@LightningRacisinObrit Just wondering since your website has two names :P
 
@LightningRacisinObrit Wait, what's kera?
 
@Columbo my domain
 
@LightningRacisinObrit Not a software?
I mean, yeah, no
 
@Xeo yeah lol - doesn't really matter what the name is as long as the address and postcode are right. you could put Lightness Races in Orbit
 
6:04 PM
@Columbo nope
 
the only person who's going to read the name is me when I pick up the post from the floor by my front door
 
@AlexM. Your moms?
 
Xeo
@LightningRacisinObrit Oh, ok
 
@LightningRacisinObrit You don't have to sign shit?
 
6:05 PM
no it's just a picture from the internet
what does it matter whose it is
 
@AlexM. dude stop posting random shit in here, this chat has quality
to some insignificant extent
 
@Columbo hrm reasonable point. usually anyone can sign for anything though. it's acknowledgement rather than authentication
 
@LightningRacisinObrit So I could "coincidentally" be by your place and pick your parcel up
 
it's not random, the point was that you can't put your place on fire with the oven so far away from your place :A
 
6:06 PM
rad
Absolutely rad
 
you'd probably have to be the person opening my door in order to take the package
or the person opening my neighbour's door if nobody opens mine
 
Xeo
breaks into LRiO's house to accept his own package
 
though I'm sure you could just sort of "happen" to be strolling by as the postie arrives and pretend you're the homeowner returning from a run
some posties might ask you to prove residence and others may not give a flying jesus fuck
 
Xeo
@LightningRacisinObrit You don't have the same guys doing the delivery, and thus know who's the real owner?
 
@Xeo so to speak
@Xeo I guess there's a limited pool of posties staffing this area, but I hardly ever see them. Post just goes through the letterbox if it's not a parcel. And most parcels I get (the vast majority, actually) don't go through the postal service but through a delivery company (e.g. ordering shit online)
Then combine that with staff turnover at Royal Mail and you get a low chance of being able to rely on facial recognition
 
Xeo
6:08 PM
I see
we always get the same guys here
it's rather stable
 
some people probably recognise their postmen
situational I guess
 
Xeo
although our postal service is also a delivery company. I think.
DHL
Deutsche Post
same business
 
@Xeo What county you in?
 
Xeo
2 mins ago, by Xeo
Deutsche Post
 
Deutsche kinda gives it away
 
6:12 PM
COUNTY
Not COUNTRY
 
oh; we're both retarded
 
Xeo
oh, lol
 
you're such a count
 
Xeo
NRW
 
@Xeo Nordrheinwestfalen? LOOOOOOOOOOOOOOOL
 
6:12 PM
@Xeo interesting; never knew that
 
Xeo
@Columbo ye
working
 
nvm
 
Xeo
wörk wörk wörk
Originally from Berlin.
No wait. Originally originally from NRW.
 
@Xeo hmm. I never was there.
 
Xeo
Born in NRW, moved to Berlin, moved back.
 
6:14 PM
Is Berlin nice?
 
Xeo
I guess
 
How come you find a job in NRW but not a better one in Berlin?
 
Xeo
The worst I saw was non-working public trains as soon as winter hit.
 
user1804599
Alright, what to write?
 
user1804599
I want to make software.
 
6:15 PM
a poem!
 
user1804599
#include <stdio.h>

main(void) {
    printf("Hello, world!\n");
}
 
user1804599
There's your poem.
 
Xeo
@Columbo I was looking country-wide anyways, there's not that many companies in my field that are stationed in Berlin (NRW has a lot of them), and the renting prices are just high as fuck there (and I didn't have any luck finding a flat)
 
what language is that?
 
Xeo
C
 
6:16 PM
@Xeo Your field? That is, C++ software development?
 
user1804599
C.
 
Xeo
@Columbo game dev
 
without int and return?
 
user1804599
Yes.
 
Xeo
6:17 PM
ye
C99
 
user1804599
It's an ancient version of C.
 
user1804599
ANSI C.
 
holy...
 
Xeo
I think C99 also allows that?
 
user1804599
No.
 
6:17 PM
@rightfold write a modern window compositor that doesnt suck and force all the desktop environment maintainers to use it at gunpoint
 
user1804599
In C99 you must specify the return type.
 
user1804599
It's not implicitly int.
 
@rightfold Actually, do you even need to include <stdio.h>?
 
user1804599
I don't think you have to.
 
user1804599
@Prismatic That already exists and it's named "i3".
 
6:18 PM
@Columbo printf?
 
@khajvah Implicit decls
 
@rightfold Are you running i3 right now
 
What if you don't want to use anything from stdio?
@Prismatic i3 is amazing
 
user1804599
 
user1804599
@Prismatic No.
 
user1804599
6:19 PM
But at work I am.
 
Xeo
@rightfold psst: -x c
 
@Xeo what does that do?
 
Xeo
marks file as C
 
-x(treme)?
ahh
 
user1804599
@Xeo cool
 
Xeo
6:20 PM
independent of the extension
 
Someone change newbie-hints into nooble-hints please.
 
Xeo
same with -x cpp (or is it -x c++?)
 
user1804599
Line 4 is my favourite.
 
user1804599
Without it it won't compile.
 
@rightfold WAIT WHAT -W{all,extra,pedantic} is valid?
cool!
 
user1804599
6:20 PM
uh yes it's just normal expansion by the shell
 
user1804599
@Xeo Won't -std=c89 be enough?
 
user1804599
> error: invalid argument '-std=c89' not allowed with 'C++/ObjC++'
 
Xeo
@rightfold Nope
 
maybe I will email Martin GraSSlin, world famous author of KWin
 
user1804599
lol C++/ObjC++
 
Xeo
6:21 PM
since the clang driver associates language by extension, and then checks for further flags
 
user1804599
dang
 
It's the year 2089. Atom still hasn't loaded.
 
man united are bunch of cheaters
 
Xeo
@rightfold That's actually shell expansion?
 
user1804599
@Xeo Yes, of course.
 
Xeo
6:23 PM
huh
 
user1804599
% echo {a,b,c}{d,e,f}
ad ae af bd be bf cd ce cf
 
Xeo
thought that was clang's thing
TIL, I guess
 
Xeo
@Mysticial F/SN UBW ep 15 get
 
user1804599
6:27 PM
It's extremely useful: $ mv foo/bar.c{,pp}; $ mkdir -p src/{main,foo/{bar,baz}}.
 
nvm she plonked me anyways.
 
user1804599
% mkdir -p src/{main,foo/{bar,baz}} && tree
.
└── src
    ├── foo
    │   ├── bar
    │   └── baz
    └── main
 
JMK
hey all
 
Hi.
 
hello
 
JMK
6:30 PM
I have quick c++ question, but don't think it warrants a ful stackoverflow question
just wondering if M_PI and M_PI_2 are the same thing?
 
They're not.
M_PI_2 is Pi divided by two.
 
JMK
ah ok
 
@JMK M_PI doesn't exist
Unless you're using weird language extensions
 
JMK
yeah I'm looking at c+ code and trying to recreate in c#
not a c++ dev
 
Blasphemy.
 
JMK
6:32 PM
haha I'm sorry
 
Oh but yes, @milleniumbug is right. M_PI is non-standard.
 
JMK
what @Nooble says sounds promising
ok
good to know
yeah this code imports a math.h header
maybe M_PI is defined in there?
anyway, thanks a lot
 
You could always just do const double PI = 3.14.
 
JMK
thought this was overkill for an SO question
it's for image processing
 
@JMK I don't think it is in math.h
 
user1804599
6:34 PM
 
I think it's in <cmath>.
Not sure.
 
JMK
I am very much a noob in this area
 
user1804599
@Nooble template<typename T> T constexpr pi = T(3.14); :P
 
JMK
ok
 
@rightfold Hehe.
 
user1804599
6:35 PM
4271
Q: The Definitive C++ Book Guide and List

grepsedawkThis question attempts to collect the few pearls among the dozens of bad C++ books that are published every year. Unlike many other programming languages, which are often picked up on the go from tutorials found on the Internet, few are able to quickly pick up C++ without studying a well-written...

 
@JMK Nah, that would be me.
 
JMK
going to use Math.Pi in .net and divide that by 2 when I see M_PI_2
 
Why isn't google indexing cppreference?
 
JMK
see how that works out, thanks again
 
@khajvah It isn't?
@JMK No problem :)
 
JMK
6:36 PM
:)
 
@Nooble I mean, it will if you write cppreference but for library searches it brings cplusplus
 
Oh.
 
Xeo
@khajvah it is
also, site:cppreference.com
 
user1804599
In the past you could blacklist websites on Google.
 
user1804599
But I can't find that feature back anymore.
 
user1804599
6:37 PM
I want to blacklist the evil hyphen site and cplusplus.com.
 
google sucks
it returns so many results from sites that just mirror SO content
 
@Prismatic no better alternatives
 
user1804599
Maybe DuckDuckGo is a solution if it allows disabling TLS.
 
why would you want to disable TLS
 
user1804599
Because it's slow as fuck.
 
user1804599
6:39 PM
My machine is ancient.
 
I use starpage but it just returns google results
 
user1804599
> Prevent sharing of your search with sites you click on
 
user1804599
Nice, you can disable this.
 
user1804599
Because I really don't give a shit.â„¢
 
6:41 PM
@rightfold It can't be that bad.
 
@Nooble ooooh believe me it can
 
How bad?
 
So bad that I run touch.facebook because the desktop version lags terribly
 
@Nooble If it's anywhere, it's there--but it's in POSIX, not in the C or C++ standard, so it may not be present at all, or might only be compiled conditionally (i.e., you have to define something else first).
 
suppose I'd best head outwards
 
6:45 PM
@JerryCoffin Oh you're right.
 
user1804599
 
user1804599
wooo awesome
 
Also looks like you have to define #define _USE_MATH_DEFINES.
 
it's always fun to turn stream chat on on CS tournaments with US teams playing
> Dexteritycs: good job soldier
Dexteritycs: LETS GOOOO C9
Dexteritycs: USA USA
 
spreading democracy around steam chat
 
6:47 PM
stream*
 
lol I thought you made a typo
 
no, the matches are streamed
 
'<function-style-cast>': cannot convert from 'Wide::Semantic::Scope *const ' to 'Wide::Semantic::FunctionSkeleton::AddDefaultHandlers::<lambda_d6229fc1ebec8f0c3‌​103eb8b03e01e9d>::()::<lambda_09d4ce0519ec330ada0a65e955c1c938>::()::<lambda_a116‌​684c0a82995759b4123380b5e645>::()::<lambda_26a4e7dde1135210f682bda1293c1c54>'
 
user1804599
@Puppy encode line number in lambda name.
 
Xeo
6:49 PM
3 nested lambdas? sounds like bad design
 
the average US citizen's patriotism is so difficult to understand for me, because around here the general idea is "fuck romania it sucks"
 
@Xeo That would actually be four.
 
Xeo
no wait, 4
man
you suck
 
@rightfold That's not the output of my compiler.
@Xeo Why so?
 
Xeo
Just because. :P
 
6:50 PM
arbitrarily limiting lambda nesting seems pretty silly to me.
 
Xeo
raison d'puppy
 
there's nothing more confusing about a lambda than a regular function.
 
user1804599
@Puppy oh.
 
user1804599
Do it anyway. ;P
 
I did, I think
 
user1804599
6:50 PM
Alright, time to write that code indexing tool.
 
then again, Wide lambdas don't have names in the same way.
 
user1804599
And since I'm not going to write a Python parser in Go, I'll make a tool in Python to parse Python code and emit the AST in XML format.
 
have you guys ever tried this?
 
lol xml
 
user1804599
@khajvah won't until there's a FOSS implementation.
 
6:52 PM
> elegant unified symbolic language
its bullshit.
 
@rightfold It's worlfram. FOSS won't happen
 
@Puppy Woah, woah. XML?
 
user1804599
Then I won't try it.
 
XML is some legit crap.
I appreciate it.
 
you're right- XML is certainly crap.
I cannot for the life of me figure out what the compiler is trying to do here.
 
Xeo
6:57 PM
code or it didn't happen
 
welp, clearly just compiler bug, captured it by value instead and problem solved.
 
Xeo
lol
 
hmm
Boost 1.58 includes VS2015 support?
 
Xeo
Y'know, if they had the generalised lambda captures from the start, they wouldn't need ref-capture, technically.
[x = std::ref(x)]{...}
[&x]{...} is a lot shorter, though
 
you mean like, "If they had real ranges from the start, they wouldn't have needed shitty ranged-for"?
I agree.
 
Xeo
6:59 PM
I still like range-for vOv
 
[&]{ ... } is even shorter.
 
Xeo
cuz of control flow
 

« first day (1645 days earlier)      last day (3317 days later) »