« first day (1392 days earlier)      last day (3573 days later) » 

12:00 PM
No shit.
The web shouldn't exist.
 
disagree
 
doc
IE was buggy like hell
O.K. GTG HF CU L8R maybe
 
@doc ah rose colored glasses
people forget how crappy netscape navigator was
IE 6 won legitimately, then stagnated
 
fuck
robot's optional won't build
 
lol
what compiler
 
12:11 PM
@Mgetz Not really
 
@CatPlusPlus not really what?
stagnated or won legit?
 
@Puppy 4.9
main.cpp:30: error: 'wheels::detail::optional_base<int>' is not an accessible base of 'wheels::optional<int>'
 
@Mgetz It had an advantage of being preinstalled
 
@BartekBanachewicz dumb supposition: is it possible you need to specialize for int and void to avoid weird overload issues?
@CatPlusPlus fair enough
 
Netscape would probably win if it weren't for that
 
12:14 PM
@Mgetz what
 
And Microsoft probably knew that
 
I don't know if I fucked up with concatenating the files
or if the code is borked somehow
 
Rocks fall everybody dies
 
@CatPlusPlus I disagree, netscape at the time was a slow bloated monster, IE in contrast was quite light weight.
 
Xeo
12:17 PM
not quite
 
@BartekBanachewicz It was green on TC
 
uh
I'll just try again
well
maybe I'm using it wrong though
how is exactly this thing supposed to be used
C:\PROJECTS\cpp11\Optional.hpp:327: error: cannot bind 'int' lvalue to 'wheels::meta::RemoveReference<int>&& {aka int&&}'
             wheels::meta::RemoveReference<T>&& operator*() && noexcept { return storage::get(); }
                                                                                              ^
 
right.
just ten test failures left.
 
Is cout << *(wheels::optional<int>(5)); supposed to work?
 
if all you learned is realloc, gets and scanf, then you're learning C not C++. — Borgleader 9 secs ago
 
1 hour ago, by Puppy
@BartekBanachewicz it's pretty trivial to write one- like, 40loc or something, depending on exactly what you need
 
welp, it's a new low for Visual Studio, copy and paste -> VS crashes.
@Jefffrey Puppy's optional works just fine.
 
Xeo
:OASJFPOAISPOF
Fuck you VS, stop giving me LNK4099 at random times
especially after an essentially complete rebuild
 
@Puppy right
Okey, this one works
it has a lot of nice stuffs, like instances for Hash and swap and whatnot
too bad there's no get_value_or
 
12:34 PM
hmm
teamcity's still down :(
 
> It has also been suggested (by Luc Danton)
 
cpp file is C++. Learned structs and stuff as well but that isn't for this homework. — user3652113 9 mins ago
TIL extensions mean something :P
 
Xeo
@BartekBanachewicz which one?
 
You can help getting the server done by contributing Salt config for all the apps!
 
@Xeo Akrzemi's one
 
Xeo
12:35 PM
@BartekBanachewicz I see a value_or
 
what even is Salt?
 
main.cpp:30: error: request for member 'value_or' in 'foo', which is of non-class type 'std::experimental::optional<int>()'
     std::cout << foo.value_or(3);
                      ^
@Xeo the hell is that, then
 
Xeo
> non-class type
you declared a function, you fool
 
> std::experimental::optional<int>()
MVP.
 
@BartekBanachewicz You suck
 
12:37 PM
I suck.
 
@Puppy Ionic compound of Sodium and Chlorine. Bailey is sneezing continually and my feet have gone yellow. I may be drunk or hay-fevered, or both.
 
@MartinJames Both sounds probable.
 
@Puppy The grass pollen has reached stupendous levels.
 
okey
works.
 
@MartinJames in summer/early autumn?
usually I get it in spring ... a few times I had a swollen face ... from hay fever
 
12:40 PM
@chmod711telkitty It's there, in the field, in UK. Loads of it, at about dog-nose level.
 
But I guess I live in a more tropical area ...
 
@chmod711telkitty There is that ;)
 
I wonder whether birds get hay fever ...
 
@chmod711telkitty Maybe those who nest low.
 
and there are those ones which don't fly often :p
 
12:50 PM
right.
just nine test failures left.
 
@Puppy btw now that I've isolated the build server, I plan on giving you scrubs SSH access for easier investigating
 
^ boost 1.56 release
> Boost version control has migrated to a system using git submodules
5
 
Huh, the Winapi thing sounds nifty. Shame it's marked "for boost internal use"
 
Xeo
> Windows API declarations without <windows.h>, for internal Boost use.
@jalf yeah, I was just thinking that
 
@CatPlusPlus Sounds convenient, thanks
 
1:01 PM
> Fusion is enabled for use on GPU
omgwut?
 
boost_1_55_0.7z - 51.7 MB
boost_1_56_0.7z - 79.3 MB
interesting
 
@milleniumbug now with 50% more boost?
(a bit more than that, actually)
 
I was going to point out it's a little bit more than 50%.
 
is adding to std::experimental UB?
@Abyx neat
 
Xeo
@milleniumbug The modularisation probably did that
Hm, our CDN seems to have managed to cache the "404" status.
 
1:06 PM
Either way, I'm downloading it right now.
 
The “DirtyBird” logo’s perfect … it works on so many levels. http://t.co/hCLCA9iXYO
10
 
it's certainly dirty
 
looks like a cock
 
@Abyx eral
 
user3010322
@Abyx The GPU?
 
1:27 PM
@ThePhD I just don't get why one would want to use fusions in GPU-related code
 
Crime of all crimes, scratch on my glasses
 
Cat-astrophe!
 
lol
 
god I fucking love ice tea
 
Too expensive for no programmable keys
 
1:42 PM
I never used programmable keys :(
apparently the keyboard was created by one of the SO founders
 
@AlexM. meh small Enter key
 
So that's why it's terrible
Where are media keys
@Abyx That's the only sensible layout bub
At least they got that right
 
@CatPlusPlus Media keys are meh.
 
Media keys are v useful
I don't have enough media keys
 
@CatPlusPlus no, the enter and space keys need to big. It's very important when you are angry, you can't waste time trying to hit some little tiny fart of a key.
 
Ell
1:45 PM
I don't like media keys
 
I could use Prev/Next and a dedicated Stop
Volume control might go away, I rarely do software volume control anyway
 
@CatPlusPlus I've like 40 of them, but most of them are hardcoded to like one value, like 'a', or if I use a modifier 'A'
 
Macbook keyboard best keyboard.
 
:lol:
 
I use LeftCtrl+LeftShift+LeftAlt+Left/Right for Prev/Next
 
1:47 PM
Media keys, small enter key, small arrows...
 
But really G19s costs 200$
 
and ScrollLock for Pause/Unpause
 
Ell
I don't like island keys
 
And that has a fukken dedicated LCD display
 
no island keys
compact
retroillumination
 
1:48 PM
@CatPlusPlus I prefer something like this
 
@CatPlusPlus not tempted by one of those mini lcd per key keyboards?
 
@CatPlusPlus the absence of media keys is a bit annoying on that one yes
 
@Abyx That is the terrible layout, yes
I weep for keyboards using it
 
Ell
@Abyx Ah yes
I have that layout on this keyboard
it is best layout
 
Badlets
 
1:49 PM
@Abyx How the heck do you exit the pop up?
 
@Abyx wtf is with the popup that doesn't have a "FUCK OFF" button?
 
Just click online.
 
@AlexM. it has media keys? I mean, they require a modifier, but they exist
 
@Puppy I know right!
 
@Puppy dunno I found it on google image search
 
1:50 PM
@SamDeHaan ooh
 
@SamDeHaan That's by definition not a media key
 
didn't notice that
 
@Puppy display: none; bub
 
lol
yes, I implemented that by closing the tab.
 
@CatPlusPlus just non-dedicated.
 
1:51 PM
I can do shortcuts with AutoHotKey, don't need a 150$ keyboard for that
Media key is, in fact, a key
A physical, separate, dedicated key
 
You're paying 150$ for th switches and production quality.
 
Not a key shortcut
 
@Abyx The left shift key is too small and the Enter key shape is horrible
 
You're overpaying 150$
You mean
 
1:52 PM
That's a keyboard worth 150+
@Jefffrey :lol: no numpad get out
 
1 min ago, by milleniumbug
@Abyx The left shift key is too small and the Enter key shape is horrible
 
That's not a keyboard. I'm not sure exactly what it is, but it's not a keyboard.
 
also, flat keys
 
@CatPlusPlus I don't need two pair of keys to type numbers.
 
Shitty laptop keyboards combined with shitty Apple ideas
 
1:53 PM
dunno I also have a keyboard with some media keys and I use only the "calculator" key to launch IDLE
 
Worst keyboard ever
 
lol
 
I want a keyboard without numpad
 
@milleniumbug why?
 
@CatPlusPlus I think those four keys on a green bar are going to get annoying
 
1:53 PM
keyboards without numpads look crippled
 
@Jefffrey They have separate codes
 
@Abyx 10 cm of moving the right hand to the mouse less.
 
I type numbers and "*-+" mostly on numpad
 
Numpad! Huh. Yeah. What is it good for? Absolutely nothing!
 
Ell
I don't use numpad
 
1:54 PM
So you just got rid of 16 keys
 
user3010322
Numpad is great for multiplayer on one keyboard with your brothers and sisters. :3
 
...so are multiple keyboards
 
There's not enough keys on a goddamn 104 keyboard
Getting rid of numpad is dumb
 
I don't use numpad
 
You are weird.
 
1:56 PM
It has 7-8-9 keys on the top
 
Having two set of duplicate keys with different key codes is dumb.
 
For programmers you're all really terrible at effective workflows
 
@Jefffrey They're not duplicate if they have different codes bub
If labels bother you then get a keyboard without labels
 
> Kidsexchange
genius
@CatPlusPlus I really don't see how different codes make duplicate keys any better.
 
1:58 PM
They're not fucking duplicate
 
Unless of course you plan on using them for something else other than numbers.
 
Yes now you get it!!!
 
@Jefffrey or it would be if expertsexchange didn't beat them to it by about a decade
 
@CatPlusPlus What do you use them for. Let's hear it.
 
STUFF
 
2:00 PM
:lol:
 
Yes lemme get all my keybindings from all my software to tell you what exactly do I use these specific keys
 
Solicitor, please, put on the record that Jefffrey won this round.
 
The point is the more keys the better, because you can use less sequences with modifiers!!!!!
what
You use OSX, you can't win anything ever
 
:)
 
That's how hard you already lost
 
2:05 PM
My attorney says you are guilty of genetic over Apple products, and that we shall see each other in court.
 
Xeo
> Optional:

Added support for rvalue references. Now optional<T> works with moveable but non-copyable T's.
2
ohey
 
fuckin' finally.
 
Why didn't it work like that before?
 
Xeo
Because they didn't support rvalue refs
 
2:08 PM
"Why didn't they support rvalue references before?" - "Because they didn't support rvalue refs"
Fair enough.
 
Nobody wrote it so it wasn't written
 
So boost::optional<std::unique_ptr<T>> didn't work?
 
That's Boost.Optional
And no
 
user3010322
@Xeo You know, part of me has to wonder if this is really just a byproduct of the minds of people getting dirtier over time.
 
@BartekBanachewicz no sane implementation gives a shit anyway.
 
user3010322
2:14 PM
FUCK
 
Firefox can't establish a connection to the server.
 
user3010322
I need std::variant<Woop*, std::unique_ptr<Woop>> RIGHT NOW.
 
Oh I get it
 
user3010322
Either that or I use a std::shared_ptr. :c
 
Xeo
err
just... use a variant then?
 
Ell
2:15 PM
@ThePhD why not boost::variant? :P
 
user3010322
@Ell This library is boostless.
 
Ell
Then make it boostful
just copy the source
 
user3010322
Variant is so haaard thoooo.
 
boostify that shit
 
user3010322
And so biiiig.
 
user3010322
2:18 PM
Eh.
 
user3010322
I'll just make std::unique_ptr<Woop, maybe_deleter>
 
@ThePhD o.O why
 
user3010322
@melak47 Optional ownership.
 
pfft
just assume ownership of all the things!
 
user3010322
Albeit, std::unique_ptr<Woop, maybe_deleter> prevents having to create a visitor just to access the thing.
 
2:24 PM
boost::get does me just fine
 
where in boost are the toolset definitions? somewhere in build and config? :s
 
Ell
Nooo I thought I had it working
 
for 1.55 I made a "msvc-12.1" toolset for november ctp..but now I can't find where I did that. :c
 
@ThePhD are you varianting ownership semantics? Wut.
What design would require that
 
user3010322
The awesome kind.
 
2:30 PM
@ThePhD yeah that's weird as hell
sounds a bit like "I don't know if I should own or not, so I'll use that thing"
What's the real life use case?
 
user3010322
It's more of a "I don't want to rewrite the containing class to use T* instead of std::unique_ptr, so I'm going to push the choice off into a variant".
 
IDGI
it's either that or the other
variant is an ADT, not design pony magic
 
wait, what. boost goes by visual studio version, not compiler version?
 
@ThePhD why won't you simply use shared_ptr?
 
Everyone does
 
user3010322
2:34 PM
@BartekBanachewicz ~~Overhead~~
 
Xeo
@melak47 uhm, that's VC version
VS 2013 is VC12
 
user3010322
But either way, I found a better solution.
 
Compiler is at version 18 or something like that
Nobody uses that
 
Xeo
oh, that version
 
@Xeo so..VC jumps in version number, too?
 
2:35 PM
@ThePhD you are not writing real software hence overhead doesn't matter :v
 
Xeo
@melak47 ?
 
That's internal MSVC version
 
Wow, yesterday's Daily WTF was particularly horrendous.
 
I.e.
2 mins ago, by Xeo
VS 2013 is VC12
 
2:37 PM
wow
Ian 2-1's Jaedong in a ZvZ
 
I was thinking about getting back to SC2
but effort.
 
the jump from 12.0 to 14.0 is silly though :p
 
Xeo
@melak47 The Adobe AIR version jump from 4.0 to 14.0 was silly
just to match Flash Player
 
Who cares
 
user3010322
Yay, I don't need the variant anymore. \o/
 
2:39 PM
@melak47 It's not. The 14 is the expected year number of release. It'll be VC13.
woot! finally 0 tests failed.
 
did you delete all of the tests?
 
no
 
should I return std::move(x);?
 
@SamDeHaan no, just the ones that didn't pass
 
2:45 PM
if x is a big object constructed inside of the function?
 
Xeo
no
automatically moved
 
Xeo
(if the return type matches)
 
absolutely not.
the std::move only inhibits optimizations/etc.
 
I'm relearning C++
it's funny
 
2:46 PM
doesn't that have a fancy abbreviation, like RVO?
 
Xeo
ARVM?
 
return value optimisation
 
Xeo
Automatic Return Value Move
 
meh, there are some other optimizations that the compiler can't do as well
in general, the Standard already recognizes and requires compilers to recognize return local; as special, and adding std::move only means that the compiler's hindered in analysis.
 
user3010322
2:49 PM
Can a templated class recursively inherit itself?
 
I think it won't stop
 
@ThePhD how...
 
user3010322
template <typename T, bool stahp = false>
struct meow : meow<std::do_stuff<T>::type, true> {

};
 
user3010322
?
 
template<int counter> class Counter : Counter<counter-1>
 
user3010322
2:50 PM
And then add specializations for false / 0 case, etc.
 
FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK FUCK
VIM YOU PIECE OF SHIT MOTHERFUCKER
 
@ThePhD I think it might work
 
@Jefffrey for a moment I thought you found out I put ketchup on my pizza again
 
user3010322
@Jefffrey umadbrah
 
YOU DID WHAT
 
2:50 PM
lol
 
@ThePhD der, factorial TMP would do it
 
i put ketchup on pizza just for you @jefffrey
 
AAAAARGGG
 
wait what?
what did I miss here?
 
template<int n> class Counter : public Counter<n-1> { };
template<> class Counter<0> { };

int main () {
    Counter<5> c;
}
@ThePhD works ^
 
user3010322
2:52 PM
Kinky.~
 
@ThePhD Of course.
 
Xeo
... wat
that's like, the basic of the basics
 
a class can inherit another class, the fact that they originate from different instantiations of the same template is irrelevant.
 
Xeo
vital for indices
 
user3010322
Listen, okay.
 
user3010322
2:52 PM
I've been working in C# land for a while now.
 
user3010322
This C++ stuff starts to get hazy. ;~;
 
"Oh hey, dood. I have a .swp file already in the directory. Would you like to load it?" -- "Ok ?!?" -- "Remember all the work you have been doing on that file for the last 60 minutes? Yeah? It's gone."
 
@Jefffrey What did you break hero
Don't press butans without thinking?
Also commit more often
 
You search for undo after writing. This comes up. Did I have the undo feature enabled? Of course not!
 
2:53 PM
I wanted to proof to my colleagues that aliasing affects performance. But my benchmark was ~40% faster for the code that used aliasing..
 
correction, don't go more than like a minute without saving
 
Xeo
@StackedCrooked lol
 
I'm hiding the results from them...
 
@CatPlusPlus I don't commit unless it's in a state that is considered "stable". I was not in that state.
 
And that's why you lose work like a scrub
Commit early, commit often
They can be cleaned up later
 
2:55 PM
@Jefffrey FYI there is more than one branch
 
Xeo
@Jefffrey commit != push
 
@CatPlusPlus push too, all the commits in the world are useless if they only exist on your machine and it goes tits up
 
user3010322
@StackedCrooked That's... not testing aliasing?
 
@StackedCrooked Change uint8_t to char or uint32_t, for one thing.
 
2:56 PM
sum and *b cannot alias, that would violate strict aliasing and be UB.
 
When should something be noncopyable
 
so neither function is exposed to aliasing.
 
@BartekBanachewicz never, always, sometimes?
 
Xeo
when it doesn't make sense to copy it
 
is "heavy to load and you never need two of those" a reason enough?
 
2:57 PM
@Puppy ok
 
@BartekBanachewicz I don't think so
 
@Xeo I am asking specifically about when doesn't it make sense
 
that's singleton talk IMO
 
Ok, it may make sense to commit more often.
 
It has to break things if you were able to copy them
 
2:57 PM
@BartekBanachewicz When implementing copyability is difficult, conceptually impossible, or plain unnecessary.
 
just being a painful operation, but perfectly valid isn't reason enough.
-_- so tiny...
 
@BartekBanachewicz When you're too lazy to write copy ctor
 
what's so tiny?
 
@Puppy preview
 
@BartekBanachewicz singleton
 

« first day (1392 days earlier)      last day (3573 days later) »