« first day (1158 days earlier)      last day (3806 days later) » 

Xeo
2:01 PM
true_type, rather
also, just allocator
 
@Griwes Because I also want all the stuff that comes around the RAM, like CPU and stuff.
 
@melak47 Use coliru next time.
 
okay
@StackedCrooked I'mma spam coliru with msvc build logs!
 
Xeo
@R.MartinhoFernandes 3D-print them
 
2:07 PM
@melak47 Hmm, I think I fixed a similar bug in Eigen just yesterday.
 
oh
I think it might be a noexcept thing.
VC12 just introduced them or something like that.
 
the thing is it's only broken in the 2013 CTP
 
Is std::array<T, 0> empty?
 
Xeo
> Throwing the Big Switch on Roslyn
Guess they're getting something done.
 
@Xeo Oh, oh, where?
 
Xeo
2:08 PM
@R.MartinhoFernandes I don't think it can be, in practice.
 
@Xeo Why not?
template <typename T> struct array<T, 0> {}; (of course, with all the members and shit)
 
@melak47 Definitely a noexcept issue then I'm guessing.
 
Xeo
@R.MartinhoFernandes .data()
is specified to return a valid pointer for N == 0
 
@DeadMG how does a noexcept issue make it reference a deleted copy ctor?
 
@Xeo That can be any old pointer.
 
Xeo
2:11 PM
@R.MartinhoFernandes But where do you get that pointer from?
 
@Xeo this ? :D
 
Yeah, this?
Or some static.
But reinterpret_cast<T*>(this) seems perfectly cromulent (we're in implementation-land anyway)
 
Xeo
hm
 
@melak47 Move ctor is only a valid option if it's noexcept.
the implementation is required to use std::move_if_noexcept
 
Xeo
It moves anyways if only a move-ctor is available
 
2:14 PM
@DeadMG It falls back to a throwing move if there's nothing else.
 
What.
 
Ha!
std::array<int, 0> = { { } };
FFS
 
unique_ptr() _NOEXCEPT , where #define _NOEXCEPT throw ()
 
Xeo
@R.MartinhoFernandes MSVC for example uses a 1-element array
Oh wait, that's required to work?
 
Yes. std::array is required to be initialisable that way.
And consider std::array<int, sizeof...(I)> x = { { I... } }
 
2:18 PM
@DeadMG so what would break the move ctor being noexcept (or throw () )?
 
@melak47 Move constructor, not default.
@R.MartinhoFernandes But there is a declared copy constructor. That's what is being found.
@melak47 Probably they updated all their noexcept machinery now that they actually support noexcept (mostly) but forgot to get every case
 
@DeadMG but why are they using throw (), the roadmap says the CTP has full noexcept
 
Let me guess. The library is the same?
 
it has full unconditional noexcept, and like I said, because they didn't update everything correctly because it's a fucking CTP instead of a full release.
and the previous CTP had no library changes and I'd call it a fair bet that this CTP also has no library changes
 
@DeadMG But the thing you talk about is a library thing.
 
2:24 PM
eh, maybe.
some library things just call compiler hooks and I bet that move_if_noexcept depends on the type traits, which in this aspect will almost certainly be compiler hooks
 
well, it has some library changes...
C:\Program Files (x86)\Microsoft Visual C++ Compiler Nov 2013 CTP\include\utility(201) : see reference to class template instantiation...
but not enough I guess :/
 
I'll just define _NOEXCEPT as noexcept, that should fix everything. Right? :p
 
if by "fix" you mean "break" then yes
 
Xeo
@R.MartinhoFernandes right
@melak47 IIRC the CTP is just an updated compiler
 
2:28 PM
@Xeo yeah ._.
these are the new headers included with the CTP :p
so that means...no way around this crap? shared_ptr ahoy? ._.
 
CTP was a compiler update, not a library update
 
2:44 PM
@Abyx so <filesystem> is a compiler feature? :)
 
filesystem was present in 2012 so unless they changed it...
 
@melak47 yep. I guess it uses __await in CTP
 
@Abyx so..they change some part of the library to work with the compiler update, but it's not a library update :)
 
Yay, my UV sphere generation code works :)
 
3:03 PM
pics? :D
 
There are very few bad programming habits that are more annoying than "legacy code has all sorts of bullshit so it's ok if we keep doing those same bullshit things"
 
ha, polygons, my raytracer is not amused Borg :)
 
so...
model is state eh?
 
The other week some folks were talking about compilers and the languages they're written in: theregister.co.uk/2013/12/17/microsoft_roslyn_dogfooding
I also said JIT languages were probably less than suitable. Thank gawd I don't wear a hat...
 
3:15 PM
@R.MartinhoFernandes IME, once the bullshit is there it is fairly hard to avoid it in your own work, unless you want to put everything behind a facade hiding the bullshit.
 
@CatPlusPlus so, the model is state, like you said. Now the view is the logic that draws the model. Perfect. But if my snake model is gonna hold the sprites (state) of each body segment, that means that I need to pass the texture pack (to build the sprites) to it. Doesn't that sound like "presentation" to you? :/
 
Less than suitable for what?
For writing compilers?
 
@wilx I am not following :)
 
@R.MartinhoFernandes Heh.. "Whatever you do, don't touch module X. We spent six months getting it to the point where it works most of the time".
 
@R.MartinhoFernandes S'what I said, yep. I should probably not say things anymore...
 
3:16 PM
@ScarletAmaranth Sorry, wrong line link. :)
 
@MartinJames That's different from "Module Y will be developed using the same ideas that made module X so successful".
 
@R.MartinhoFernandes LOL, true.
 
that is my last doubt on the model-view thinghy
I promise
In related news I miss pawnguy
 
What happened to him?
 
dunno
 
3:25 PM
@R.MartinhoFernandes He's permanently stuck between 11-12 o'clock so he can't chat
 
@CatPlusPlus, actually nevermind. Thanks anyway.
 
Anyone strong with the CSS here?
 
I'm string with CSS
 
I know a thing or two
 
I want to shuffle my site's home page a bit.
 
3:28 PM
Use Bootstrap
That's the only thing you need to know about CSS
 
user1804599
That’s pretty false.
 
Doesn't really help.
 
What do you want to do?
 
position: absolute; is the only thing you have to know
everything can be solved with it
oh and float: left/right;
 
user1804599
@CatPlusPlus position: fixed; see Lounge<Chat>.
 
3:30 PM
I'm not sure. I don't like the way it's organised right now.
 
Light messes with AA badly:
 
Use Bootstrap
 
user1804599
Also custom styles.
 
Speaking of HTML being terrible
I have to do a HTML UI and I'm falling asleep
 
3:32 PM
the heck is bootstrap?
 
Set your blog's charset to UTF-16.
 
does it have anything to do with twitter?
 
@CatPlusPlus Wow, that helps a lot.
 
I also didn't get photos done, so great productive fucking day
 
@Jefffrey its a css framework
more rather a library than a framework
 
3:33 PM
is it twitter's?
 
@Jefffrey Yes.
 
user1804599
No. That’s why it’s on Twitter’s GitHub account.
 
@Borgleader no polygons! :)
 
@Jefffrey twitter made it and currently maintains it.
 
3:34 PM
@ScarletAmaranth OpenGL without polygons... right
 
user1804599
Anyhow, its only reasonable component is the grid system.
 
@Pawnguy7 I dedicate this to you, my friend
 
@Borgleader When have I said that o_O?
 
user1804599
Which is still meh. Gimme flexbox.
 
@ScarletAmaranth You just said no polygons...
 
3:35 PM
@Borgleader Oh, I posted my pic beforehand.
 
I hate implementing editing functionality with HTML and JS
@EtiennedeMartel No recorder 0/10
 
No what?
 
Tssss.
You mean sampling?
 
Damn son
where'd you find this
 
3:41 PM
You don't get real music
 
fuck, that screech!
i nearly jumped outta my chair
 
why were you inside your chair again?
 
I need food
This whole food thing is annoying
 
@CatPlusPlus Become a Kandra
 
@CatPlusPlus I know right?
 
3:45 PM
@EtiennedeMartel I think he means these.
 
@JerryCoffin Oh. Yeah, I understand Cat doesn't really know about music.
 
The musicest of musics
 
Dat muzak.
 
No fucks no harmonics
 
wow I just realized I only have 3 more computer science courses before I graduate. And I know so little ._.
 
3:53 PM
@Crowz Unfortunately, the only unusual sounding part of that is your realizing how little you know.
At that, you probably still know twice as much as the average graduate...
 
@JerryCoffin I think the worst part is I realize how not good at computer science I have and how much I have to learn before being really useful... and I am one of the better students at my school...
 
Guys, I might have found a bug in VS2012!
Woop woop!
room topic changed to Lounge<C++>: We need a new description. [c++] [c++11] [c++1y] [no-questions]
 
Huhuhu.
...
C'mon.
 
@Crowz You might be surprised how useful you can be. When you get down to it, most programming has only a little to do with CSc. For every chance you get to improve a program by changing an O(N) algorithm to O(log N) (or whatever), there are literally dozens on the order of: "this draws object X 2 pixels to the left of where it should be", and "that routine doesn't recognize this obscure variant of data format Y", and so on. The best code often results from the most anal coder.
 
Teeheehee.
 
3:59 PM
I say I might because my colleagues found it, but they were on Update 4, and I couldn't reproduce it with Update 3. So I'm updating to see if I can reproduce it.
Stay tuned, this is gonna be good.
 
Xeo
> If you need manual memory access, predictable performance and to be somewhat productive there is no alternative to C.
 
yes
 
@Xeo The key here is somewhat.
If he wanted to be really productive, he'd use C++ instead.
 
link?
 
well, I find it hard to consider C++ as really productive, but it's way more productive.
 
4:01 PM
@JerryCoffin I dunno, I just think I have a lot of basic programming to learn. Like this tutorial is listed at "intermediate", I feel like I am barely at intermediate level in that case: gamedevelopment.tutsplus.com/tutorials/…
 
@DeadMG Yeah.
 
@DeadMG Do you know of anything more productive that still meets the requirement for manual memory access?
 
still building it
 
Xeo
@JerryCoffin Wide cough
DAMN TOO SLOW
 
@JerryCoffin I do, but it only exists in my head, and still very vague :P I sadly don't have the puppy's determination
 
4:06 PM
I'll trade you
you can have the determination, and the sickness.
 
@Xeo Well, a lot faster to make claims for it than to actually make it usable. Oh, you weren't talking about the puppy here...
 
today is only day 15 of 71.
please shoot me
 
@DeadMG That's not a trade.
 
Xeo
ÂJÄLKHGÄKAGHJAA
a_null_reference.a_nonexistent_function(); // perfectly fine!
 
lol
 
4:08 PM
AS best language.
 
AS3?
 
Xeo
actually, just calling something on null is not fine. But calling something that doesn't exist is fine!
 
Impressive. Two wrongs do make a right.
 
Xeo
Of course AS3
No, they make an even wrongerererer :<
Because of that shit, we just now caught a bug that has been in since whoknowswhen
 
What do you mean by "fine" btw? nop?
 
Xeo
4:09 PM
nop
I think it might even just ... idk, return from the function or something
I had if (blah && !a.foo()) { ... } else if (!blah && a.foo() { ... }
 
@R.MartinhoFernandes In this case he apparently means "silently but completely broken".
 
Xeo
And it always skipped the else-if part
I have no idea
 
Maybe it returns undefined.
 
Xeo
Ugh, that might even make some twisted kind of sense
 
Then !undefined is true and so on.
 
4:13 PM
It would be very twisted. A DNA return.
 
Xeo
@R.MartinhoFernandes It didn't enter any of the branches
 
As I recall, AS3 is a relative of JS, so I'm predicting it returns NaN.
 
@JerryCoffin No, that would be correct.
 
Xeo
ECMAScript derivate, yes.
 
4:15 PM
@Xeo And you had that why
It seems silly and refactorable into something better
 
Xeo
@CatPlusPlus Did I mention that this is not my code and 3 years old?
(also, it kinda made sense - it was for toggle button highlighting. If the new state (blah) was on, and it wasn't on before, toggle it. Otherwise, if it is now off and wasn't off before, toggle it)
 
@CatPlusPlus Why?
I don't see how you can make it better.
 
@Xeo Wouldn't that be cleaner as if (new_state ^ old_state) toggle();? (feel free to substitute "!=" for ^, if you prefer).
 
warning spiders (very cool though)
 
Xeo
@JerryCoffin Sure. That's cleaner. I just said that it made sense. :)
 
4:20 PM
@Xeo Fair enough.
 
Xeo
var toggleState : String = "off";
... artist code
 
@thecoshman that's awesome
 
Burn it with fire
 
@thecoshman Ha. "waddup?"
 
@Xeo hey, he at least didn't name it "a"
 
4:34 PM
var a_variable
I hate frontend work
 
user1804599
Hmm. I’ll have to write a parser in Python.
 
API is best UI
Let someone else worry about shit like reloading crap after editing a comment
 
We're going to do some stuff with Lua.
 
user1804599
Nov 3 at 20:32, by rightfold
API is best UI.
 
a_variable is so much better than functions that begin like so:

T foo() {
int i1, i2, i3, i4;
char c1, c2;
/* do stuff */
}
how to switch to consolas for code with this sodding markdown?
 
4:37 PM
I need Unicode identifiers so I can prefix all my variables with pile of poo
You need a goat and 6 candles
 
To win NetHack you need to perform a ritual using a book, seven candles and a bell. No goats though.
 
Also high-voltage laser
 
Xeo
Fuck this, time to go home
 
@R.MartinhoFernandes Who's "we" and what's "stuff"?
 
fuck this, time to go to bed
 
4:39 PM
We, the illuminati
Stuff, you're not supposed to know
 
that's funny, I didn't see you at any of the secret meetings
 
JBL
But we still know: Dominate the world.
 
@Jefffrey Always a good choice
@DeadMG Joke's on you, because those were wrong secret meetings
 
Fucking toggle state in a sane UI language : if (myButton.color=clGreen) then myButton.color:=clRed else myButton.color:=clGreen;
 
wat
 
4:40 PM
My button, your button, their button
 
speaking of which
 
You can't spell button without butt
 
I am going to steal Jefffrey's idea and go to bed.
 
You can steal people's butts in SS13
 
@DeadMG "We" is me and the people I work with.
 
4:42 PM
you know
 
"Stuff" is some signal processing thingies.
 
@CatPlusPlus I didn't bother with all the possessives - it seemed like overkill just for taking the piss out of Xeo's inherited GUI code:)
 
what's fucking amazing is that Lua has some nice coroutine support
but no ranges using them or anyshit like that.
 
@CatPlusPlus What is that?
 
Space Station 13
 
4:43 PM
And by "butts", do you mean Bitcoins, or...
 
WTF that? Game?
 
No, butts
People make hats and robots out of butts
 
OK, game.
 
> I tried this game a few times. I got my butt cut off and grafted to a robot that said "butts".
 
@CatPlusPlus You like butts.
 
4:45 PM
@CatPlusPlus Lol..
 
> Yeah, "Mafia in space, only all of the villagers are insane and looking for an excuse, and the mafia also might be The Thing" is usually how I pitch the game to newcomers.
 
@ScarletAmaranth Indent with 4 spaces. Hint: tabs won't work. Please refrain from discussing tabs vs. spaces. Thank you.
3
 
There are also wizards, zombies and vampires
 
consolas shiny
 
4:47 PM
And explosions
 
@FredOverflow vielen dank
 
> Oh yeah, magic sandals are important youtube.com/watch?v=omJd1_7zIhk&feature=youtu.be
 
@CatPlusPlus Of course.
@CatPlusPlus Idem.
 
Example of a system requirement in waterfall?
 

« first day (1158 days earlier)      last day (3806 days later) »