« first day (1396 days earlier)      last day (3777 days later) » 

09:01
@Rapptz There's my "Mayfly" thingy, but I have to refactor both its underlying library and the framework itself and provide a sane makefiles for both so they are not hardcoded to use clang. Also it's not too featureful yet.
'small' and 'use clang'?
oh you mean the compiler
...yes.
never mind me, long day
It's 3 lines of code and one of them is system()
lol
09:02
lol
I want to see another unit testing framework because I want to find out if Catch is making compiling take > 1 GB
out of curiosity
I am not entirely sure if Mayfly takes less. ;d
well iunno. Catch uses expression templates so it might be pretty massive
Looks like it tops around 400-500MiB.
For quite simple files, with not many test cases, that is :P
09:20
I hate the fukken phantom card transactions
inbed lua in my c++ game HOW?
Very carefully
Paycheck where are yo
lol
he wanna pay you "inbed"
WTF? I am getting a lot of "...- parsererror - retry / cancel" here in the chat.
09:27
hey @Cat
you're there don't run away
I commited 4 times, but I want to keep 2 of those. I did reset --soft HEAD~2. It's still showing me changes. What do?
oh well apparently it fixed itself
best c++ lua binding
reset hard? also I'd use SourceTree
go
@Cinch go away
@Cinch Rapptz/Sol on GH
09:30
@Cinch Do your research, now that you know where to find the list.
there's no research
all of the other bindings (except Lundi :P) suck
Oh fine, I
I'll play smart.
Is it safe to bind Lua to C++ using the C binding?
I
I'm very much a noob here sorry I'm an ameture C++ programmer
@Cinch no. Just use the fucking thing I pointed you to.
we have rules
dude.
@Cinch you're a noob for not reading the answers to the question you asked
09:34
So was your answer Lundi?
5 mins ago, by Bartek Banachewicz
@Cinch Rapptz/Sol on GH
Whoa
Did @Rapptz make that?
That's very impressive that it's so fully integrated
Are you sure it's good?
Xeo
Xeo
@VáclavZeman Oh, that list even has sol
@Cinch We just don't want to insult him while he's still here. JOKE! I'd use it if I'd ever need to use Lua.
I'll elaborate on my situation.
09:37
don't
Why not
Just use it!
waste of effort
@Cinch we don't care
@Cinch With the help of others, yes.
09:38
@Cinch I am wondering why do you care, if you can't tell a good one from a bad one yourself.
@Rapptz :P
I came here to get experts as a newbie.
definitely the wrong place
So I want expert help. So SO.
it's a chat room
Xeo
Xeo
> const static std::array<std::string, 2>
09:39
for talking about things
Xeo
Xeo
Now that's a fucked up order!
Yeah, okay, but I'm looking at questions and I think I'd like to talk to some humans.
@Xeo Where'd you find that?
@Xeo doesn't const imply static?
09:40
I KNOW
@Cinch And who answers on main, robots?
Oh wait /cc @R.M
I ask because it looks like something ThePhD would write
2
yeah that's him
Well anyways.
09:41
const implies internal linkage if it's in global scope.
Namespace scope. :P
namespaces aren't scopes I think
@MarkGarcia Yeah.
09:42
or are they?
What are some advantages/disadvantages of binding with C vs. C++ with Lua
Xeo
Xeo
sure they are
@Cinch C is a fucked up language, and C++ is less fucked.
So using C++ presents an advantage over using C
for anything, Lua included.
okay
I finally understand how exceptions break type safety, holy shit.
That took me a lot of time.
09:44
So why should I use Sol?
vs. another library with Lua?
@BenjaminGruenbaum Either woo
@Cinch it's good
I'm not pitching a product, just search on github/google and use whatever you like.
Doesn't help
@Cinch they're bad
that's how everyone else does it
09:44
I'm already using Either
Can you guarantee I can use Sol + Lua for data storage, behavioral scripting, and possibly dialogue scripting?
@BartekBanachewicz Soft resets don't touch the index or the working tree
And perhaps calling C++ member functions
Which is what says on the help page if you'd read it
@Cinch I can't guarantee that because you apparently fail at googling, so I wouldn't rate your programming skills very high.
09:46
New features for Sol 2: data storage, behavioral scripting, and possibly dialogue scripting
Dude, I'm NEW, of course I fail?
The problem is with Either. I need to chain Either<T,E> with Either<NT,NE> and type safety is killing me. If the first either is in the right hand side I need to return an Either<NT,E> which isn't Either<NT,NE> which breaks type safety.
@Cinch there are fails and there are fails
Like I only started programming perhaps two months ago seriously?
nobody cares
you're bad at learning and gathering information
that's orthogonal to programming skills
09:47
Yes but I like being cheap on SO
@CatPlusPlus I have ln from man to cat
I'm saving myself time, can't you respect that?
@Cinch And we don't like annoying fucks that want to save their time at our cost, like yourself.
@Cinch hell no.
Well why go on this forum?
because you don't respect our time.
09:48
sighs
@Cinch because we learn from each other, and we're not demanding asshats with an overwhelming sense of entitlement
7
@BartekBanachewicz I'm most definitely a demanding asshat with an overwhelming sense of entitlement
@BenjaminGruenbaum shhhh
You're pretty feisty; I wish I had more of your fire.
09:49
@BartekBanachewicz :D
@Cinch Hey man. Like I said, we have rules, the reason why everyone's grumpy is because it's obvious you didn't read it or you read it and disregarded them completely.
@BenjaminGruenbaum That's like the definition of a human esp on the internet
@BartekBanachewicz That's perhaps the most inspiring thing that ever came from the Lounge.
@MarkGarcia No that was my liquid farts thing
ugh, I forgot how hot southern romania is compared to the northern side
09:50
And all of my topics
Oh btw you don't owe me nothing so ignore me at your pleasure.
Like the current one
mornings there would max out at 17*C, here it's 22*C and today the temperature is expected to climb up to 37*C under shade (not sure if this is the proper term)
Also wxWidgets is utter shit
@CatPlusPlus Really?
09:51
in other news windows sucks at hidpi scaling also in 8.1
despite the claims
Literally everything sucks at hidpi scaling
@BartekBanachewicz s/windows/desktop windows apps/
Apple ecosystem doesn't.
Woah you must've found one thing Apple doesn't suck at
@MarkGarcia I know what I said and that was precisely what I meant.
@CatPlusPlus :smug:
09:52
Apple's also decent at movie production, right?
I did dishes and I forgot about food bah
Adobe is the biggest culprit. Phtotoshop. Damn Photoshop. The most popular image processing program, doesn't support HiDPI.
Oh, actually, does anyone work with SDL_IMG in here?
Xeo
Xeo
Oh FFS
@CatPlusPlus Who needs food?
Actually, I do, and thankfully it's almost Lunch time
we eat here around 3pm
09:55
It's almost midnight for me lol
I should introduce breakfast into my life I think.
Xeo
Xeo
I should too
But I normally just don't feel like eating in the morning
Guys, what is your favourite condiment for your home-made meals? Mine is soysauce because I'm Azain.
With some MSG flavours
10:15
Mayo
Mayo on everything bro
Cool, they are great
guys, imagine Australian asking for "tartar sauce" in a restaurant ^_^...

Aussie guy: hey, get me some sauce, Ta-Ta thanks. (ignoring 'r' sound).
Aussie waiter: You've thanked me 3 times straight so I brought you some Vegemite.
not funny at all.
10:37
woops
turns out that I made the Wide CLI make a main that calls itself instead of delegating to the real main.
@StackedCrooked: I don't have permission to alter/change stuff in /usr/local/bin/Wide, so I can't upload/replace the existing binary.
holy fucking shit, the Starbound guys put up a doxygen of their source code, and I actually see... a variadic template!
You know that guy who sometimes visits here, OmnipotentEntity is a developer for Starbound right?
The guy seems like he knows C++11 so I can't say I'm surprised.
@Jefffrey went to a local restaurant today and they brought my pizza with ketchup pre-spreaded on it
I've never seen anyone by that name in here.
I found it funny when I thought you'd have probably taken the pizza and thrown it in the waiter's face
10:52
ah he even replied something to me directly :P
he seems like one of those good gamedevs
a rare species :v
@AlexM. I don't even
@AlexM. That's disgusting man.
haha yeah in some ways
it's also my fault I went to eat to a restaurant that specializes in shawarmas and other things to take with you
@Rapptz Too rare.
10:54
@Puppy Where? I can only find the reversed engineered one
the taste was good though so I can't complain
woops
> Array (Element const &e1, T const &...rest)
why would they make their own std::array?
10:57
they seem to have a few like that in here, including Any, Maybe, and a few other wrappers like Vector.
they somehow managed to uninclude the documented file
not sure why
I wonder how, that's been bugging me for years
@Rapptz Probably a wise choice, else you could just write a script to pull the source directly :P
Yup
they should probably disable EXTRACT_PRIVATE: doc.playstarbound.com/classStar_1_1StarApplicationBase.html
wow they even wrapped std::set and std::map.
11:02
I wonder what's the semantic of their operator>/operator< for two Arrays.
I see.
This feels so wrong. I'm trying to write what basically amounts to a generalised singleton wrapper template. :/
in my defense, it's an attempt at reining in the countless singletons we already have in our code and give them at least somewhat well-defined lifetimes... A tiny first step towards making them non-singletons. But eeew...
11:22
@jalf That is a side step. You just have to move the singleton into a "context" and pass the context around.
this needs "not reproducible" votes plz
@VáclavZeman There is nothing "just" about that
That's what I want to work towards, but that would be a huge amount of work from where we are now :(
0
A: How to convert Visual Foxpro database into SQL Server database

VRISHALIVISUAL FOXPRO DATA CAN BE CONVERTEDTO TEXT BY USE DB COPY TO DBTXT TYPE SDF THIS WILL CREATE DBTXT.TXT FILE. WE CAN EVEN CREATE A DELIMITED FILE WITH SOME CHAR SIMLY TYPE FOX2X AND LOT MORE IS THERE. ITS AS SIMPLE ASTHAT SO CAN WE TRANSFER THE DATA TO SQL USING A SIMPLE COPY COMMAND ?

@jalf But this step does not seem to move you in any kind of better position to do it.
@Rapptz lol, so very SQL-like! :D
heh
also found this
11:28
@VáclavZeman Well, at the moment I'm experimenting with a sort of middle road: make a wrapper intended to be explicitly allocated on the stack, to give it a clearly scoped lifetime. Then that object can have a static member function users throughout the code can call to get access to the one stack-allocated object. If I get that far, then I can gradually convert all the many use sites into being passed the "singleton" objects they need, instead of just calling Foo::instance() to get it.
7 mins ago, by Lightness Races in Orbit
this needs "not reproducible" votes plz
WHAT THE FUCK IS WRONG WITH YOU ? — Lightness Races in Orbit 10 secs ago
I don't speak PHP.
anyway, at the moment I'm just playing around with it. Our most immediate problem at the moment is that we can't control the lifetime of the singletons. If I can get that under control, eliminating global access to the objects can come later
@Rapptz the comments speak for themselves
he has admitted that his testcase doesn't exist, when confronted with the fact that his 'solution' is not necessary
need closure to help prevent misinformation from spreading
well I gave you your dirty close vote
fucking around with awk is definitely the most boring thing I've done today
Xeo
Xeo
11:38
@jalf Our DBs are singletons :(
lol so many singleton lovers users here
Please read the documentation on the first parameter of VirtualAlloc you'll find that it's a suggestion, not a requirement. Given ALSR and other security technologies you should never depend on a particular block of memory being allocated at a specific address. — Mgetz 32 secs ago
it's ASLR not ALSR
fixed
@Rapptz thanks whore
Xeo
Xeo
11:42
struct  	GenIndexSequence
struct  	GenIndexSequence< Min, Min, S...>
I like the Starbound devs already
you ignored him!
Jun 27 at 20:14, by OmnipotentEntity
@Xeo, what do you think of Starbound?
I bet your ignoring is why he never came back.
So mean.
Xeo
Xeo
I just saw that :<
opera seems to be a really decent browser from what I've seen so far
I mean it works well
@OmnipotentEntity Looking forward to the next stable update, the dev blog makes it sound very exciting.
12:05
@Xeo I wish it was only our DBs that were singletons...
how did that whole company selling thing go?
@Puppy it turned out ok. We're officially Canadian now, and they've got enough funds to pay our wages. ;) A lot of business/strategy stuff is still up in the air, but overall, things are back to normal
glad to hear it
@MarkGarcia Oh I am, but I'm waiting for those too, but I want one of them Broadwell i7's in my desktop :3
I tried to install flash but didn't see this was checked
> Optional offer:
Yes, install Google Chrome as my default browser.
why does this even exist
why would I download flash for opera to install chrome
WHY
12:16
Because money
Also because Opera is reskinned Chrome anyway
Well, barely reskinned
Urgh fuck CAPTCHA bullshit
reading mingw mailing list
found @ruben's post :P
do you guys use C++11's auto: 1. never, 2. sometimes, 3. almost always?
me, almost always
(hi)
why HL3 won't come out anytime soon (gif) i.imgur.com/adVSoLv.gif
12:33
@AlexM. I suspect something more like "We have no idea how should the storry continue."
@nightcracker Sometimes.
I use auto when the value's type is obvious
and doesn't require digging
@nightcracker (you may also want to point out whether you're asking about variable declarations or function declarations)
@nightcracker almost always
I seem to use C#'s var more often
@nightcracker 4) always.
12:35
@AndyProwl variable
var a = new SomeType();
@nightcracker ok. then it's definitely almost always for me
#define var auto
var a = b.GetSomething<SomeType>(); //obvious too
Always infer
12:36
bah
fuck LLVM, fuck Clang.
@Puppy NO! Clang is frickin' awesome!
meh
Clang is like Half-Life 2- it's invisible-walls-o-rama as soon as you get 1 millimetre off the intended path.
@AlexM. What about auto i = 0;? I'd use int there.
that defaults to int yes
@Arcoth You suck.
12:38
@Puppy You suck.
auto i = 0u;
vs unsigned int i = 0;
@Arcoth No, you suck.
@Arcoth why?
@Puppy No, you suck.
@AndyProwl Because why not?
well int is definitely shorter
but if you're like me
12:39
saving keystrokes is hardly a good argument
concurred
@AlexM. Yeah - there is simply no incentive to write auto, is there? It can't be consistency, can it?
and forget to use unsigneds in comparisons with signeds (e.g. int i in a loop up to a vector's size)
auto i = 0;
@Arcoth sure it can
is easier to turn into an unsigned
12:40
Could someone link me to some websites/forums/guide that i can use to help get started with C++
I agree with Herb when he writes about auto, consistency, and left-to-right declaration style
@AlexM. Yeah, but why would you want to change code that you've already written? Why not write it as unsigned the first time?
@AndyProwl left-to-right?
@Arcoth I can't take consistency into consideration because you just threw this at me with no context whatsoever: "What about auto i = 0;? I'd use int there."
@Arcoth name first, type after
which translates to "for any case involving auto i, I'd use int i"
12:41
is this safe against overflows, if max and min are both of type T and max >= min? typename std::make_unsigned<T>::type range_size = max - min;
same as for trailing return type
auto name(...) -> type
@Arcoth this is what happens when you don't use auto - codereview.chromium.org/441963002
2 mins ago, by Alex M.
and forget to use unsigneds in comparisons with signeds (e.g. int i in a loop up to a vector's size)
auto name = (expr. with type)
using type = (something)
Xeo
Xeo
@AndyProwl I only do that for explicit conversions
12:42
it's all about introducing the name on the left and the type after
@AlexM. Nope, that translates to "if the type is obvious and short, write it out directly".
@Xeo I didn't mean cast there
I meant for instance auto name = 0.0
@AndyProwl Just write double.
should have written "auto name = expr"
The tiny second you need to deduce the type yourself is not worth it.
Xeo
Xeo
12:43
for direct-with-literal init I usually just use the type directly
@Arcoth I rather wouldn't. I like consistency
@AndyProwl So you're also one of the guys that preferes to use uniform-initialization everywhere? XD
@Xeo why? the type info is there on the right side
Xeo
Xeo
vOv
@Arcoth I cannot use it everywhere
12:44
@Xeo THANK YOU
Xeo
Xeo
@AndyProwl fixed-width integers.
uint32_t x = 0;
because for types with a constructor taking initializer lists it fucks things up
but I am inclined to use it
@Xeo auto x = uint32_t{0}
@AndyProwl omg lol - don't
That looks horrible
it doesn't to me
it looks consistent
Xeo
Xeo
@AndyProwl And that's exactly what I don't do - because more typing.
12:45
uint32_t x = 0;
.. how to unfuck the fucked up ;)
Xeo
Xeo
What I do is auto x = uint32_t(some_other_typed_var);
but that's just my random style
@Xeo more typing maybe, but 0.1 sec vs 0.2 sec isn't much of a difference
also, when you read it all the info is there in both cases
and all else being equal, consistency wins for me
@AndyProwl Yeah, but it takes longer to read (and understand) the auto .... shit
@Arcoth it doesn't for me. I read "auto" as "I'm declaring a variable". I'm used to recognize it in the structure of my code. What I focus on immediately is the name
(and then the expression)
@Arcoth we must understand words differently
and logic too
12:50
@AlexM. Perhaps common sense would be applicable. The example obviously focused a short type name - it's not about the name of the metasyntactic variable.
It's your opinion :) - i'm just saying placeholder types aren't the best choice everywhere :)
> "What about auto i = 0;? I'd use int there."
@AlexM. Yeah - the type of '0' is int, which is short.
I so can't infer "for short types I'd use those" from that and assert that I'm 100% correct
Okay, it was my fault, should've been more specific. You happy now?
but I can definitely read it as a generalization saying "for any case involving auto i =0, I'd use int i = 0 instead"
yeah, thanks :)
12:52
@AlexM. Now thats true of course :)
@StackedCrooked I think we are in agreement if i say that Ideone is shit.
@Arcoth Coliru was inspired by ideone :)
@StackedCrooked there was this other anime with celtic-like music
fairy tail I think
@StackedCrooked Yeah, but Ideones code editor is way too narrow. And the compilers aren't up to date either.
12:55
yeah, that's one of the things I wanted to improve upon
@AlexM. Fairy Tail is one of my all-time favorties.
didn't watch it yet :(
I also want to watch the one with the OCD guy who wants symmetrical everything
forgot the name but the guy is awesome
@AlexM. Lucky you :)
soul eater
yeah
And you can't feel pro with ideone either - it feels so childish. In public i'm always like "shit, hopefully no one sees how i'm gonna use ideone for a sec to look at the code that someone sent me (dammit why do they use Ideone >:( )"
I haven't seen Soul Eater yet. I'll put it on the queue.
@Arcoth really?
And you don't get this feeling with coliru?
12:58
@StackedCrooked It's like going on a website for nickleodeon
@StackedCrooked No, coliru has a frickin' command line, thats pro and shit
You can even supply COMPILER FLAGS, what a luxury is that? :D
Yeah, I'm good :D
lol
Coliru is down atm though

« first day (1396 days earlier)      last day (3777 days later) »