« first day (2204 days earlier)      last day (2742 days later) » 

12:01 AM
@ThePhD I had mine as: for(stmt; expr; expr) block
i didnt actually gt to the part where i enforced the middle thing to return bool but... that was the plan
 
> Roses are red. Violets are blue. The title is English. Why aren't you?
haaa
I like that
on youtube
 
12:49 AM
fluffz <3
 
1:15 AM
^_^
 
@Borgleader Does stmt imply { ... } ?
Maybe I could make the for loop a double block.
for ( initialization statements; condition) { body statements } { post-body / increment statements };
 
terrible
 
Well.
 
stmt was a bit too broad though, i shouldve narrowed to declaration but meh :P
 
How would you do multiple initialization statements?
 
1:24 AM
there were other bigger broken things at the time for me to fix that one
 
At the moment all I can see is doing {} inside instead.
 
1:42 AM
@Mikhail Can get tricky with creating iterators and comparing them .end and by "get tricky" I mean "not do what you expect at all"
 
You don't like auto?
 
Aug 10 '15 at 18:05, by caps
Man, auto would completely solve my entire problem.
So, ReSharper C++ is written by smart folks, and if I do what they say I'll be smart
 
@Mikhail Lol, I said that so out-of-the-blue. I wonder what my problem was.
 
I think you had an attitude problem :-)
 
1:50 AM
Dec 1 '15 at 4:17, by caps
//tonight co-worker and I learned that this
if(auto iter = map.find(key) != map.end()) {
	map.erase(iter);
}
​
//is not equivalent to this
auto iter = map.find(key);
if(iter != map.end()) {
	map.erase(iter);
}

//when map is of type std::unordered_map<int, T>
 
So, I once answered this question with a dissenting opinion and maybe cited a french philospher. I got like 15 downvotes and deleted my response, perhaps you can supply one: stackoverflow.com/questions/6434971/…
 
I'm curious what your response was now.
@Mikhail Figured it out:
Aug 10 '15 at 17:33, by caps
I've written a bunch of range-based algorithm adapters, .e.g template<typename inputrange, typename T> inputrange::iterator find(typename inputrange& range, const T& value) {return std::find(begin(range), end(range), value);}; Nice and convenient. I've also written some iterator adapters for various VCL objects, like TStrings. I've written begin and end methods for these adapters and everything is great,
Aug 10 '15 at 17:34, by caps
But how do I change the return type to use some kind of compile-time template finder function to deduce the iterator type? As in, I could overload it to return my custom iterator when the passed-in range type matches it.
 
@caps lol
 
@caps ...and unfortunately, if ((auto iter=... won't work. Renders declaration of a variable in an if statement almost useless.
 
interface compatibility my ass
 
1:54 AM
@milleniumbug ?
 
@caps just a reference to the latest auto discussion
@caps if(auto iter = map.find(key); iter != map.end()) in C++17 :D
 
@milleniumbug Yeah, I'm looking forward to that.
 
Wow, Scott Adams (of Dilbert fame) is a complete whacko.
 
@R.MartinhoFernandes lol
@caps I should have written a template specialization. That would have worked. You can have different signatures on specializations, right?
 
@R.MartinhoFernandes I thought we covered that before, but according to the ever reliable search I guess we haven’t
 
1:59 AM
@ThePhD I want to quit after "hello world"
 
@caps no
 
@R.MartinhoFernandes Really?
@caps :B
 
> My promise: If Trump gets elected, and he does anything that looks even slightly Hitler-ish in office, I will join the resistance movement and help kill him. That’s an easy promise to make, and I hope my fellow citizens would use their Second Amendment rights to rise up and help me kill any Hitler-type person who rose to the top job in this country, no matter who it is.
 
@R.MartinhoFernandes Where is this from?
 
2:00 AM
@ThePhD Oh wait, you're writing that to a file... but as a .bmp? What does the output look like?
> "made with the and var declaration"
"and var"?
 
Fuck, its like I hate everybody so I want to vote for Trump but then like I don't hate concepts like Science or Reason. What do?
 
Yeah, there's a shitload of typos that I'm fixing and shit now.
 
If there are no sponsored terror attacks before Election Day, it means ISIS prefers Clinton. They have the means. Think about it. #Trump
 
I think the control flow section on for loops needs some more information. The variable hiding with X should be explained, I think.
@R.MartinhoFernandes Nonsense. Clinton will be worse for ISIS, I think.
 
This too. I'd normally go with Poe's Law but he's pretty consistent with this whacko stuff.
 
2:06 AM
Formally, this is referred to as the nullspace of the Poe operator
 
@R.MartinhoFernandes it’s been going on for a while, there’s his RW entry if that’s your kind of stuff
 
Yeah, checked that already
 
@R.MartinhoFernandes lol
 
2:24 AM
@R.MartinhoFernandes That twitter is a bit hard to read.
 
@R.MartinhoFernandes Complete whacko, or just throwing out some BS to attract attention? I'm honestly not at all sure of the latter, but not entirely certain of the former either.
 
these options are not mutually exclusive
> Le supplice de la roue de la fortune
> > Un collectif de policiers publie des photos pour alerter sur la vétusté des commissariats
> Terrible, on dirait nos universités.
> 36b0f6cbfe48f88d28575d6755b0b7dc8d00e6a5 is the first bad commit
the commit: Fix Liu Hao's name in ChangeLog entry
 
3:01 AM
@LucDanton Also true.
 
3:30 AM
Whoa, when and why did Vlad's rep get nuked?
Oh nevermind
> This account is temporarily suspended for voting irregularities. The suspension period ends on Nov 8 at 18:20.
 
November 8th?
That can't be a coincidence.
 
The Russians are siding with Donald Trump.
 
3:47 AM
> I'm having a fantastic time with the game, same as Civ 5 release.
early reviews/opinions are so worthless lol
 
@Mysticial x-files theme plays softly in the distance
 
user406009
@LucDanton That's why you always go for the let's plays.
 
@Lalaland I only do that for games I don’t intend to play, I really don’t need the spoilers
 
user406009
Well, the idea is you watch like half an hour of the gameplay and use that instead of a review for judging the game.
 
unfortunately having watched people play 4X/grand strategy, I don’t think that makes sense for a game like civ6
the appeal here is for a game that has you making interesting choices with big payoff consequences far ahead. it takes some learning to identify those payoffs and the critical moments when there is a choice to make--if I don’t play the game myself, I’m likely to miss those things
there are streamers etc. that can guide you through that while they play, but it’s not the norm
eventually there’ll be good reviews or things to watch, just not early on
 
3:59 AM
@sehe do you know the exact name/composer of this song? youtu.be/mzDBFCvIvk4?t=152
it's a fugue based on the famous theme of paganini
but I can't pinpoint the source
(or maybe that IS the source, but I don't know)
 
@LucDanton And part of the fun of the game is figuring those things out for yourself
 
10 mins ago, by Luc Danton
@Lalaland I only do that for games I don’t intend to play, I really don’t need the spoilers
:)
 
@LucDanton I'm reinforcing what you're saying.
 
 
oh okay, I thought the 'spoilers' connection to a game like civ may not be obvious to everyone (spoiler: you tech things and upgrade cities)
I forget why I was discouraged by picking up civ4 again, I should give it another try. I’m not sure I’ll enjoy any of Stellaris, Civ6 or Endless Space 2 in their current states
 
 
1 hour later…
5:12 AM
 
5:35 AM
> Haskell: You spend several hours creating a new copy of the Universe which is identical to the existing one except your foot has a hole in it.
14
lol
 
should have used record notation instead of lenses
 
6:11 AM
sup guise
 
Xeo
6:59 AM
@Xeo That's up to the caller to not keep references then. — Barry 7 hours ago
People don't know their code. :<
 
7:29 AM
@Xeo People usually only know enough to write code the compiler doesn't nag them about. If they knew their code, their brains would asplode
 
@Feeds that seems a bit dark :S
 
@thecoshman don’t forget your Venus-rated spacesuit
 
7:56 AM
Alright.
Fixed the reference manual.
 
Ven
nice
 
:D n-base integer literals! I like the let/var distinction btw
Also, on pg 16 > "A string literal may retain the any leading space..."
 
I know it'd be next to useless... but kinda want to make a class that handle variable base numbers :S
 
@ThePhD Maybe just assign one of your group members to proofread, and the other to check that there are no formatting errors?
But the spec looks very clean
 
@Aaron3468 I mean, that's everyone's job, really.
But. vOv. The professor was really just concerned with what @Ell said, in that maybe our scope was too big to actually complete the project on time. So we picked the 4 things we cared about the most: having a parallel {} block, having multidimensional arrays, etc.
 
8:13 AM
¬_¬ what''s going on?
 
@thecoshman arbitrary base numbers are invaluable if an algorithm doesn't function in decimal sized chunks. I know there are some mathematical procedures that benefit, and I hear base 3 can be useful in networking
 
You might be getting confused with tri-state logic, it's sort of like ternary... but not
tri-state is used a lot in electronics
 
Nah, there was an answer that mentioned a specific protocol that transmitted in multiples of 3. Tri-state is quite different
 
@LucDanton Wasn't the Civ5 release a bit... erm... problematic?
@JerryCoffin Maybe, but IMO it's too much BS for far too long.
 
@R.MartinhoFernandes very much so, yes
 
8:25 AM
So I take it you're still on the fence about Civ6?
I haven't even seen anything from the game except for that poster image with Atlas holding a globe.
 
I haven’t played it myself, I can’t say. And the early feedback is not useful. (As per usual, some people start complaining but most of the people that have no reason to complain are too busy playing the game to join in the conversation.)
 
@R.MartinhoFernandes Yeah, I doubt he's simply trolling for attention... It's a bit sad when people speak of opposition in such a condescending manner (in this case Hillbullies) because I find it often correlates with poor reasoning faculties :(
 
Ok, so. Let's say I want to buy some laptop over which to install some linux OS. What brand should I be looking for?
 
Ven
@ThePhD WON'T SOMEONE THINK OF THE SCOPES?
@Shoe Pixel. LOL JK discontinued
 
@Shoe Apple, of course. New MBPs are great.
 
8:37 AM
Are Apple's drivers still iron-clad locked down?
 
@ThePhD lol, twas a joke.
 
user1804599
@Shoe Apple
 
@Shoe thinkpad t460p <3
 
@R.MartinhoFernandes You kidding me? /cc @rightfold
 
@Shoe Yeah, totally joking.
Who wouldn't want a TouchBar, right?
 
8:44 AM
Vim users
 
my first day in my new role started off with a shitton of things that fell on my head
apparently we needed an active architect for a long time
and now I'm supposed to fix all of this
panic
 
@Shoe I don't use the actual Escape key, though (Caps Lock is closer).
Still find it ridiculous.
@BartekBanachewicz lol, now things start to make sense :D
 
Ven
ITT Bartek learns people didn't give him more money just so he could talk to them 'bout Haskell
 
user1804599
@Shoe I'm not.
 
user1804599
Though I would never run Linux outside a VM on a workstation
 
8:51 AM
@Shoe wait, you already have a mac
 
user1804599
sooner or later you will want to use a non-Linux app, and Wine sucks, as does running a VM on a Linux host (driver crap), an dual boot is super annoying.
 
why would you think hes kidding
 
How is the fact that I have a mac from 6 years ago any relevant to that?
 
@R.MartinhoFernandes kinda :F
@Shoe Dell or Lenovo
 
Xeo
@R.MartinhoFernandes I wondered why the CppCon guy didn't mention remapping capslock directly to escape, instead of ctrl and then doing ctrl+[
 
8:56 AM
XPS 13 and X1 respectively
 
@AlexM. Because new MBPs, lol
 
both are made from carbon fiber, are exceedingly light and both companies support linux somewhat reasonably
 
Also buying a Mac to run Linux sounds silly and not just for your wallet.
 
user1804599
Lenovo ships with spyware.
 
user1804599
Well actually Dell ships with Windows 10 so it also ships with spyware
 
8:57 AM
lenovo also started locking you to windows 10 on some models
 
@AlexM. How do they do that?
 
because they have custom drivers for hardware that they only ship on their win 10 recovery disks
I'm sure you can hack your way out of it but
 
user1804599
@AlexM. Linux already was patched with a workaround.
 
11 secs ago, by Alex M.
I'm sure you can hack your way out of it but
 
@rightfold how is that relevant if you change the OS?
 
8:58 AM
when lenovo does that
it falls into the category "they don't want me to buy their products"
 
@R.MartinhoFernandes running linux on a laptop sounds silly in the first place
 
Okay, hold your horses. With T460p you can just reformat it with Linux, install appropriate Skylake firmaware and you're done.
 
the funny thing this is most likely not lenovo trying to be evil
 
but yeah the new MBPs are way ahead of the rest of the world
 
and just a scheme by microsoft
 
8:59 AM
@Shoe Btw, check hardware support before buying: tuxmobil.org/laptop_manufacturer.html
 
to force even more people to use win 10
 
I mean thunderbolt 3 is great and amazing
 
I doubt they'll actually do anything to lock the high-end models to Windows, because I'm pretty sure that a lot of their users on those models are Linux users.
 
but until (if) it gets wide adoption it's neigh useless
 
@BartekBanachewicz It's the only thing I run on my laptops.
 
9:00 AM
btw
 
@R.MartinhoFernandes bartek.txt
 
there's a Xiaomi laptop that has gotten good reviews
it got released recently
it looks cool check it out
 
I don't use laptops for gaming, so I don't see why I'd run anything other than Linux on one.
 
it sort of looks like a mac too if you like that
here it is
 
@BartekBanachewicz why would you run anything else?
@Shoe some sort of chrome book like thing is probably not a bad idea
 
9:03 AM
I'm not getting into an OS war
also the touch bar on the new mbp looks like a nice idea
6
context-based command row could be really useful
 
It's going to get way more flack than it deserves
 
function keys are rarely used, especially by ~normal~ users
 
    switch (!0) {
        case (createAccountForm = forms.filter(createAccountForm), !!createAccountForm.length):
            createAccountFormFn(createAccountForm);
            processQueryString(createAccountForm);
            break;
        case (addNewProperty = forms.filter(addNewProperty), !!addNewProperty.length):
            addNewPropertyFn(addNewProperty);
            processQueryString(addNewProperty);
            break;
        case (!!templates.length && templates.is(contactUsFormTemplate)):
 
I mean I'd probably prefer LED screens under F keys
@thecoshman Apple's long ditched F keys for the media ones (by default)
so this change isn't that huge actually
 
9:05 AM
There was some key switch you could get that actually had tiny displays in them
 
I use Fn + Volume on my laptop regularly
 
It'd be amazing for people who use things like flight sims or 3d modelling tools and need huge amounts of context sensitive keys
 
I see why they think that having such a bar instead of keys is a good tradeoff
 
Fn key is one thing, we are on about the F keys
 
@thecoshman And by "amazing" you mean "subpar but slightly better than before".
 
9:06 AM
@thecoshman that's related.
 
yeah, it makes sense to me
@R.MartinhoFernandes basically yes :D
@BartekBanachewicz sort of
 
also neckbeards would criticize Macs even if it shipped with linux and an inflatable doll so fuck their opinions
 
FWIW, this TouchBar idea tanked before.
 
ports are a much bigger issue
 
on my laptop actually Fn + Volume are the only option
 
9:07 AM
@BartekBanachewicz Reasonable.
 
Fn keys are usually handled in the KB firmware, so the computer never sees that you used a Fn key combo
 
because the custom builtin volume keys stopped working
 
@R.MartinhoFernandes The very opposite
 
because Sony has no drivers to drive them on win 8.1
lmao
old laptop
 
@BartekBanachewicz That's what I meant.
 
9:07 AM
@R.MartinhoFernandes when? In 1992?
 
Twas sarcasm.
You weren't reasonable.
@BartekBanachewicz Nah, just a couple years back.
 
that's long enough for another shot vOv
I also thought not-F-by-default was a shitty idea when I got my yoga
 
If apple actually helped with linux having proper driver support for their hardware, I'd be so much more tempted to buy it
 
then I got the MBP and was like "well okay"
 
@BartekBanachewicz It is frustrating indeed
 
9:08 AM
I hate the software and ecosystem, but the hardware is very nice, I can't dispute that
 
and now I totally think I'd like the touchbar
 
When computers become intelligent will computer programmers become computer trainers?
 
@Rerito actually I liked it
@thecoshman I dunno, OSX is a pretty solid OS in generla
battery life is amazing, handles Hi-DPI superbly, is a proper POSIX...
 
@BartekBanachewicz well granted, I've not used it for a while
 
it is less flexible than windows in terms of personalization and customization
 
9:11 AM
You know, being the only proper POSIX kinda makes the point moot.
 
Oh you know what I meant
it works as a developers' OS in general (FOR ME)
 
It currently has very little to offer me to temp me towards it
 
well depends on what you want obviously
 
@BartekBanachewicz No, I don't.
 
For a laptop, what I would use it for, I can't justify spending any where near that much money
 
9:13 AM
Why do people say this to me all the time?
Make very specifically worded comments intended to be vague, and then tell me I know what they meant.
 
@R.MartinhoFernandes you don't say "I don't know what you meant" or "I''m not sure if that's what you meant" often enough
 
@R.MartinhoFernandes It's just that you have this way with things, you know what I mean?
3
 
@thecoshman brilliant
 
I mean, what else could you mean with "proper POSIX"?
 
It's not this fake POSIX that has been sneaking around
 
9:15 AM
@R.MartinhoFernandes in the light of recent developments in that area, "is not ubuntu on windows or Cygwin"
 
If you just said "POSIX", then yeah, that's a term often used liberally. But when you qualify it with "proper" you kinda remove all the vagueness out of it.
 
Using "proper" as an expletive isn't productive, I find.
 
@orlp Paganini, Thema from Variations Capriccio 24 in A klein
What he plays is clearly his off the cuff improv/dance variation on it. Not an existing work.
 
@R.MartinhoFernandes But it's right and proper
 
9:19 AM
Holy mother what have I done
Forgive me Lord for starting this OS and touchbar holy war
I promise I'll be a better person next year /cc Santa
 
Ven
You always start jeffscussions
we're not surprised
 
jefffscussions*
 
@thecoshman You mean like, not assuming people meant things they didn't actually say?
 
@Shoe get over yourself, there's not even a fight
 
The only thing I think about when imagining me buying a MBP laptop is that I'll get a shitton of anxiety bringing a 3k computer out in the wild.
 
9:22 AM
it's a rare sight on the internet, a reasonable discussion where people just share their opinions with each other
 
I'll probably have to buy a couple of body guards following me or something
 
@Shoe yeah, I can't justify that much money to watch netflix :S
 
Ven
@Griwes sorry
 
And buy a proper alarm system for when the computer is home and I'm not
And maybe even a gun for when I'm home and the computer is home
 
@thecoshman what else are you gonna spend it on
cocaine?
 
9:23 AM
Clothes, dinners, alcohol, houses, TVs, plane tickets, condoms, shoes, phone, books, uni years
 
so you can't buy a a 300k house because you bought a 3k laptop
 
I do need to buy a new TV, something... happened... to my old one
 
lol
 
@BartekBanachewicz well, that's 1% of the deposit you require
@Shoe I thought you lived in the UK?
 
Really?
 
9:25 AM
 
Don't you?
 
Oh theguardian.com; Maybe after 2 years it's time to fix the "The Fappening" skew of your popularity ratings?!?
 
No, I live in the EU
2
 
@sehe lolwut
 
Oh... where abouts?
 
9:25 AM
@Shoe lol
 
shoe lives in pizzaland
 
@thecoshman Northern Italy
 
oh...
 
Damn. How can I keep messing up the editing.
 
@Sehe do you need help?
 
9:26 AM
@sehe You made a mess.
 
@Shoe Emirates United
 
@Shoe giggle
 
@R.MartinhoFernandes Both true. I wiped my laptop yesterday. bind mounts + k4dirstat cleaning :)
 
@Shoe eYou, u say?
Living in the eYou, such a kinky thing to reveal ....
 
I'm scared to find out what "eYou" is
Googled it, still now idea what you are referring to
 
9:30 AM
electronic version of you?
 
Super kinky.
 
:')
 
user1804599
9:41 AM
@Shoe RIP
 
10:13 AM
Let's also not forget that the new MBPs come without headphone jack
That's even more of a deal breaker for me
 
@Shoe and still there is no decent alternative .. hopefully MS brings something
 
that'd definitely make it a no-buy for me
no way to connect my speakers
 
@Shoe REMOVE ALL THE THINGS!
 
@R.MartinhoFernandes Yeah
I was undecided until now, but the headphone jack is the thing that makes me go "Thanks, but no thanks".
 
Xeo
So the new #MacBookPro has a headphone jack. iPhone 7 has no headphone jack. MacBookPro has USB-C. iPhone 7 has… https://twitter.com/i/web/status/791821093216583680
There's misinformation somewhere.
 
10:19 AM
Hold on, let me check
Nevermind
The headphone jack is there
 
ah
I love group assignments
we had to do some toy crypto in C++
 
HP Spectre have also been getting good reviews
 
they were done with the code, 'I'll take a look at it and improve it a bit'
I open the file
 
basically instantly throw everything away they did
and start fresh
 
10:21 AM
and the asus zenbooks have a nice looking keyboard
look at that karma hardon
 
Hmm
 
@sehe :(
 
Going back to being undecided
€2'300 for a 15'' or €1'700 for a 13''
 
@Shoe adding 2" to your thing costs 600 euro?
12
 
Nah, it has different specs
 
10:26 AM
@orlp I think if that went commercial, there would be a huge market potential
 
@AlexM. Note the "Power off" button near the Delete button
 
o
 
It's often safer to power off than to delete. I can attest.
 
Thankfully you can disable short presses of it on Windows
...but I was surprised (I have a zenbook since recently)
 
10:30 AM
Otherwise I don't have a problem with its keyboard
 
because I am sick and tired of seeing modern, sleek laptops ... so I bring out pictures of old, clumsy ones >_<
 
I guess the question is: do I trust Apple with regards to future OSes?
Because the trend seems to be "just make the graphics heavier and add a couple of apps" every other year
 
0
A: Boost ptree top level array

seheBoost does not have a JSON library (nor does it have an XML library) The limitations you run into are perfectly clearly documented right there: http://www.boost.org/doc/libs/1_62_0/doc/html/property_tree/parsers.html#property_tree.parsers.json_parser The property tree dataset is not typed, a...

For the bazillionth time
 
Which was what Windows used to do
 
lmao buy the laptop that lets you do what you want
 
10:32 AM
Now Windows is more towards the "make graphic simpler and easier to render and focus on more important stuff"
 
use linux
 
@Shoe Dubious on the last bit, though.
They throw in plenty of bullshit for good measure.
 
Fancy graphics makes no sense for the user
 
basically decide what you want to use your laptop for and sort them by how well they fit that criteria
 
Very few people cares about those fancy transparent windows or whatever
 
10:33 AM
problem solved
 
Dem stupid animations
 
@Shoe Oh, I didn't mean that fancy graphics are important, but that (at least some of) the stuff they focus on is of dubious value too.
 
@R.MartinhoFernandes At least they got the "graphic is not important anymore" bit
 
how can you say that they do not focus on graphics anymore
when they overhauled the entire design of their OS after 7
 
Xeo
@sehe Ptree feels like it should be really good, but it has strong tendency to simply disappoint.
 
10:35 AM
I never said they don't focus on graphics anymore
I said that they don't do fancy heavy graphics
 
Ell
how about the ideapad 500s listed here: shop.lenovo.com/gb/en/deals-and-coupons/laptop-deals
only £499.99 :3
seems like a good deal to me
 
Is that €200?
 
eh they just follow the trends yea
ppl do flat style graphics now
but that's just it, a style
 
you can be sure they spend the same if not more amount of work on the new flat style UI
as they did on the aero themes and whatnot :P
 
10:37 AM
@AlexM. what's considered a "modern" style tends to fluctuate from simple to fancy and back to simpler again
 
@Xeo All the friggin time
 
not sure windows vs mac should be that big a factor in your decision if you ask me
perhaps a more efficient criteria would be to find a laptop that makes it easy to switch OSes if needed
you can run OS X in a VM if you ever really need it but I doubt you will if you have windows + linux :D
 
I'll probably be in Berin from December 1st to December 3rd :)
 
nwp
10:55 AM
 
@Shoe isn't that the place where nazis came from?
pretty ballsy to go there
 
0
A: Is there any good reason for the compiler to not optimize this?

hvdAside from Leon's answer on performance: Suppose flag is true. Suppose two threads are constantly calling func(flag). The function as written, in that case, does not store anything to flag, so this should be thread-safe. Two threads do access the same memory, but only to read it. Unconditionally...

I thought optimisers reasoned in a strictly single-threaded universe, unless explicitly specified otherwise?
 

« first day (2204 days earlier)      last day (2742 days later) »