« first day (925 days earlier)      last day (4028 days later) » 

12:01 PM
@Telkitty they aren't grown. They're templated.
 
user1357851
I would love to see a lot of cloned Cat++ here
 
Xeo
No gifs.
 
user1357851
you are going to end up with a very pissed off cat, lolz
 
@Telkitty robor the robit?
 
user1357851
12:15 PM
robot
 
user1357851
Cat++'s online lover?
 
12:34 PM
is it still bad pun saturday?
 
Is it still Saturday?
 
...
where is everyone?
 
user1357851
Caturday!
 
user1357851
is over ... :'(
 
any language design experts here?
 
12:45 PM
Maybe
 
IIRC here was one yesterday =\
why Lua has >= and doesn't have <, <=, ~= opcodes/overloadable operators?
 
That's not "language design" that's "Lua design"
It has <=, == and < fyi
 
well, I want to create a new language and I'm thinking which comparison operations should it have
 
@Abyx Because everything else can be created from >= ?
 
@CatPlusPlus not opcodes, not metamethods, fyi
 
@NikiC a >= b is !(b > a)
@CatPlusPlus ...and?
 
And it has eq, lt and le
Anyway, Lua is not a pinnacle of language design achievement, and also you don't necessarily have to pay attention to existing things when doing your own thing
 
fuck. that was a typo =\
 
Having all operators to overload with some having default implementation is probably a good idea
 
that should be "why Lua has <= and doesn't have >, >=, ~= opcodes/overloadable operators?"
 
12:53 PM
If you're going the classic operator overloading way that is
@Abyx Because it assumes they're inverted versions of those that are overloadable
(It's not a very good language)
 
@CatPlusPlus Though isn't it a rather reasonable assumption that a < b and b > a are the same?
4
 
um, no.
 
@NikiC For some things
 
IMO, == and < are enough for comparisons. for DSLs you can add <=, >, >=, !=, but what's the point of adding only <=?
 
@NikiC watch out for irony stars
 
12:56 PM
@Abyx I believe that I am the most experienced language designer and implementor here :P
 
@DeadMG Why not?
 
Default implementation should be replaceable unless you're gimping your language purposefully
 
@NikiC Well, in PHP then the comparison operators don't invoke a strict weak order; just for example. Another example is what happens in the case of NaNs, infinities, and such things.
@Xeo: Did you keep trying to build Wide?
 
@NikiC No. That's why concepts are cool.
 
@DeadMG Even for NaN the a < b <=> b > a relation still holds
@CatPlusPlus Maybe you want to establish some basic sanity for comparisons?
 
1:01 PM
@CatPlusPlus I don't like the idea of allowing all kinds of weird DSLs, IMO it's better to forbid all that crap
 
gimping your language purposefully
 
@NikiC And what counts as basic sanity?
 
it's not gimping, it makes language better
 
Not really
 
what are you guys talking about?
 
user142019
1:03 PM
EDSLs are awesome.
 
both of you are unintelligable
 
Hi there, I now it's c++ chat.. But can someone help me a bit? .. Is there any chat where I can talk about simple webpage making things.. ?
 
user142019
@user2301881 PHP room.
 
Ahoy
 
1:04 PM
@R.MartinhoFernandes You got a point there. Sanity was already lost when someone decided that NaN != NaN.
 
user142019
They know a lot more about making wobsites.
 
Damn, just managed to confuse myself with HBO vs NBO
 
if you want a DSL, write a compiler plugin for it %)
 
if i have an ip address stored as uint32_t
 
@NikiC I don't agree with that, but I am glad that makes you see my point :P
@NikiC 0/0 == sqrt(-1) is stupid.
 
1:06 PM
@R.MartinhoFernandes Oh, and pow(100, 1000) == pow(100, 10000) isn't stupid, right?
 
do i need to convert it with htons? What if I have 4 bytes bN instead - isn't (b1 << 24) + (b2 << 16) + (b3 << 8) + b4 already in network byte order?
 
@NikiC That is not an argument for making NaN == NaN.
 
@R.MartinhoFernandes It is an argument for "... is stupid" not being an argument when it comes to floating point computations ;)
 
@Cubic (b1 << 24) + (b2 << 16) + (b3 << 8) + b4 is a number. It does not have byte order.
 
user1357851
NSFW ... but it is sunday ... also sexiness is skin deep
 
1:09 PM
@NikiC But there is no reason to make things more stupid just because they are.
 
@R.MartinhoFernandes but looking from the bytes perspective, it's a number where the first byte is the highest, so it's big endian? Like I said, I'm confused.
 
@Cubic No, it's a number.
Numbers don't have bytes.
 
Creating an unexpected behavior and requiring special handling for NaN in various situations is (in my eyes) not a good price to pay for a rather questionable reduction in stupidity (which still exists in other rather similar situations)
 
user142019
Throw exception instead of returning NaN.
 
user142019
No more confusion!
 
1:12 PM
FP equality comparisons not behaving like in real world is hardly unexpected
 
@R.MartinhoFernandes You're confusing the poor fellow. :P And I'm too lazy for help vampires today, slept like shit.
 
@R.MartinhoFernandes (b1 << 24) + (b2 << 16) + (b3 << 8) + b4 is not the same as b1 + (b2 << 8) + (b3 << 16) + (b4 << 24).
 
You're adding different numbers so obviously it's not the same
 
They're both... Numbers. :P
 
user142019
@CatPlusPlus 1 + 2 ≠ 0 + 3?
 
1:15 PM
@Cubic @R.MartinhoFernandes's point is that this has nothing to do with endianness ;)
 
@Cubic 2*5 is not the same as 2+5 either.
 
Hey 1 + 2 + 3 + 4 is different than 9 + 3 + 5 + 1 what do you know
@rightfold What?
 
user1357851
*robot != Cat++;
 
Argh,,, whatever did I do to you? I didn't know there was something wrong with asking for help when you're confused
 
Everyone here knows what he wants to know and none of us are going to write the answer. God, we're such dicks. It's a wonderful life we lead, brothers. May it never change. And may it never change us.
 
user1357851
1:17 PM
=------=
 
@Cubic Not sure what you mean by that. I'm telling you there is only byte order when you make bytes. When you make numbers out of the bytes you take the byte order away.
 
user1357851
@CatPlusPlus ^---^o---o^
 
This is not Sandbox
 
Also the question is irrelevant in the first place, because only an ipv4 address fits in a uint32_t and you are obviously going to support ipv6 addresses. right?
room topic changed to Sandbox
 
@NikiC But I got to set the sin_addr member of sockaddr_in to something.
 
1:21 PM
I'm spending way too much money on food
 
user1357851
and yet you are not get fatter
 
@CatPlusPlus You're doing it right.
 
Xeo
@CatPlusPlus Ordered something again?
 
I ran out of yesterday's pizza so yeah
 
user1357851
1:22 PM
a pizza should only last 1.5 meal
 
@CatPlusPlus How does one run out of pizza? Do you usually have a stash or something?
 
A regular pizza can last 4 meals.
 
I... ate it?
I had non-zero amount of pizza, and now I have zero amount of pizza
Therefore I ran out of pizza
 
I'm talking about this, third paragraph.
 
The point is don't use BSD socket API directly jesus
 
1:23 PM
@CatPlusPlus Food is the best thing to spend money on imo, then computer stuff out of necessity
 
@CatPlusPlus I wouldn't if I had a choice in the matter. Unfortunately my homework text isn't like minded.
 
Nice, some people have pizza that lasts more than 15 minutes.
 
@Cubic You need htons.
 
And it certainly doesn't hurt to understand how the damn things work.
 
@Cubic They are just playing with you, it's a matter of pedantry. :P
 
1:25 PM
@Morwenn Pizza here is 800 kcal. Dunno if that would last 4 meals.
 
user1357851
how large is the pizza?
 
user1357851
 
user1357851
I can't spend more $ on food, I will turn into a whale :'(
 
user1357851
and that's with 50 mins jogging every second day
 
@StackedCrooked 30cm diameter pizzas can still do 4 meals for me. I don't eat that much...
 
user1357851
1:27 PM
Also hike, swim, dive, cycle, walk in between
 
@Morwenn Are you saying he's fat?
 
Too long... will write a question instead.
 
@R.MartinhoFernandes Is that blog post on unicode regexes still coming?
 
@DomagojPandža Why would I say such a thing? :o
 
30cm pizza is nothing
 
1:28 PM
@Morwenn Ahahah, just a joke. :D
 
Anyone knows feature-complete 2D engines
 
@NikiC Yeah, eventually ;) I'm currently doing a big refactoring on my library so I haven't taken much time to write.
 
I swear the fucking boilerplate makes me utterly sick
 
@R.MartinhoFernandes You never responded to my question about Boost Regex having UNICODE support:
Apr 17 at 1:29, by sehe
@R.MartinhoFernandes were you aware of unicode iterators in boost/regex/pending? I just used them to make my SpiritV2 JSON parser UNICODE aware: https://github.com/sehe/spirit-v2-json/blob/master/test.cpp#L217
Do you have an opinion on that?
 
user1357851
finally went to a buffet last week, it was awesome, seafood, asian, italian, roasted meat, salad, fruit, 6+ types of cakes, drinks, etc etc etc
 
user1357851
1:31 PM
then jogged for an hour
 
Did any of you tried GCC's profile mode?
 
Xeo
@CatPlusPlus Flash w/ AS3! Although I'd label it as misfeature-complete, but that isn't much of a difference, eh?
 
user1357851
First gewd made food, then gewd made us, when we eet da food, gewd made us fat :'(
 
user142019
@Xeo It doesn't have a method to get the size of a dictionary.
 
user142019
1:32 PM
It's not feature-complete.
 
@Morwenn Yeah I did once. Don't remember much in details, just that valgrind and oprofile/operf are very convenient to me
 
Xeo
> Although I'd label it as misfeature-complete
 
Yes that's the most important feature ever
Size of a dictionary
Useful as fuck
 
@LucDanton There's that - allthough it is clearly a minority to me (perhaps I don't have per se favourited - need to check); The most important segment of problematic boost questions, though, is probably "too localized"
 
user142019
Game Maker :lol:
 
1:33 PM
@sehe Ok, just wanted to see if it really worked or was just a vanilla feature.
 
Commercial
 
It really works as a vanilla feature :|
 
user142019
Commercials are funny.
 
:/
 
@sehe Well, that would at least not give you just corrupted regexes/matches (L1). Still means you have to use hardcoded ranges and such.
 
1:35 PM
sck
 
@R.MartinhoFernandes AFAICT there's character classification and possibly even case folding
 
@Pawnguy7 Consider closing the bracket.
 
@sehe Without ICU?
 
@LucDanton Note that that is both the fault of the OPs in question, and also a property of Boost: if you need to understand >2 Boost libraries in-depth this is frequently too-localized; I really think there are very few people versed in [MSM+Filesystem] or [Spirit+MPL] or [BGL+GIL], not too mention the libraries that have little or no experts
@R.MartinhoFernandes It's probably rough around the edges, lemme find the source
 
Consider not posting pony crap
7
 
1:36 PM
Ya I've seen those pop up occasionally. Might have answered some, too.
 
I got there from zoidberg :D
 
PONIES PONIES LOOK PONIES LOOK LOOK CAN'T SHUT UP ABOUT PONIES
3
 
@CatPlusPlus You're such a pony.
 
I just didn't know pegasai ponies, which are not "Earth ponies", that live on Ponyville and specialize in the study of friendship, also did some pretty serious weightlifting.
 
@R.MartinhoFernandes mmm. it appears I did find stuff outside Boost Regex that time. Also, I note - for the first time - that Boost Regex seems to optionally use ICU. <gasp/> So much to know
@Pawnguy7 Here's a hint: THEY DON'T
 
user142019
@CatPlusPlus OMG PONIES WHERE
 
hi fellas and Cat!
3
 
Hi, Tony... And Cat.
 
if only Zoidberg were here, I'm sure that there could some joke made...
or some tvtrope linked to (which the robot is not, curiously)...
 
PRESSURE MESH.
 
1:56 PM
Hello friends and Cat
 
@ThePhD Wat?
 
I don't know. It's Sunday, I'm not obligated to understand myself today. ._.
Also, hey everybody! ... And Cat!
 
user142019
@DeadMG derp
 
I'm trying to figure out...
If I had a Stress Ball, and I squeezed it,
 
user1357851
why is Cat capitalized?
 
2:01 PM
how would I measure the pressure / squeeze on each side?
 
user1357851
not fellas & cat, but fellas & Cat
 
This Chrome NaCl-based ssh client is nice, until you want to actually do something with it.
 
@Telkitty Because it's CatPlusPlus. If we said kitty it might be you, because the kitty in your name is lowercase.
 
user1357851
SO chat is not case sensitive :'(
 
user1357851
besides it's cat++, not cat, otherwise you point to the cat, then the cat gets incremented
 
2:05 PM
This joke is very funny especially when heard for the billionth time
 
user1357851
Thank you 1 more pussy
 
user1357851
wait .. cat++ = how many pussies?
 
I'm tempted to change the nick just so you stop running this shit into the ground
 
user1357851
how much do I have to try now?
 
2:08 PM
I'm sorry wrong idiom
Silly me
 
Yes, you are silly. That's why we love you.
 
Right
 
user1357851
we love silly people like a 200 pound fattie loves to be in the same picture as two 300 pound fatties
 
user1357851
we are so much smarter in comparison .... not
 
Ell
thoughtcatalog.com/2013/… <-- males put through labour pain
 
user142019
2:12 PM
@Ell That TV channel is awesome.
 
Ell
that video is hilarious xD
I'm glad I'm never going to give birth to anything
 
user1357851
xeo is gone, robor inactive, maybe it is unsafe pic time
 
@R.MartinhoFernandes Is that a good thing? I've heard of NuGet but not much about it.
 
@Ell Depends whether you can grow aliens in your stomach.
 
Ell
@Telkitty but if you are plonked then nobody will see them
@Morwenn I hope I can't xD
 
user1357851
2:14 PM
@Morwenn how, do you eat them first?
 
@DeadMG It's a dependency manager for .NET development. Well, and now apparently for C++ as well.
 
ah, but do you know if it's any good?
 
The .NET bits are.
 
heh
 
@Telkitty Just like the taenia I think.
 
2:15 PM
Dunno how well the C++ ones work.
 
@Telkitty You eat them, then they eat you.
 
I posted it here as potential good news.
 
well, Wide now (theoretically) supports simple user-defined types.
 
user1357851
@Morwenn like alien intestine worms?
 
@Telkitty Hell, yeah! :D
 
2:20 PM
US ambassador in Australia asked the locals to stop pirating Game of Thrones? WTF reuters.com/article/2013/04/26/…
 
user1357851
OMG this little girl is more brave than the most of you ...
 
user1357851
 
Sufficiently advanced foolishness is indistinguishable from bravery.
 
Indeed.
 
Does not bravery expect some benefit from the outcome?
 
user1357851
2:22 PM
it's called leadership skills
 
user1357851
unless you fail
 
user1357851
which would make you a criminal
 
Sometimes, people are just not eager to follow foolish so-called leaders.
 
people in general are a little to eager to follow all types of leaders and organisations etc.
 
ARGH
I keep trying to use int in Wide.
 
2:25 PM
skip it, too low level?
 
I should just using int := int8; at the top of my test file.
 
Xeo
haha
 
an 8-bit integer (surprise!)
 
user142019
Can you use any number of bits like in LLVM?
 
2:28 PM
no.
 
user142019
Okidoki.
 
We recorded the recorder for a new song yesterday. That's so metal.
 
I may choose to permit bitfields at some later date; but definitely not now.
 
user1357851
Remember headcrab from counter strike?
2
 
user1357851
 
2:30 PM
I also need to introduce a move primitive.
not being able to move types which don't have Clang representations implemented yet is kinda silly
 
user1357851
While most people wonder whether there is another intelligent life out there, I wonder what might they taste like
 
user1357851
take headcrab for example, has no one ever thought about whether it might taste like a lobster?
 
0
Q: How to shoot myself in the foot?

Foot_shooterRecently I have been trying to shoot myself in the foot. However with gun laws being more restrictive these days I wasn't able to acquire a gun. So I decided to shoot myself in the foot with a programming language instead. Most languages have some kind of an open-source compiler so I figured it...

2
 
Ell
Foot_shooter
 
Two more delvotes
 
@CatPlusPlus one...
 
Ell
Art is so difficult :(
 
user142019
@Ell Nope.
 
Ell
@rightfold yes :P
 
user142019
2:44 PM
Art is too broad of a topic to say that it's difficult.
 
Depends on what you call "art".
 
Ell
Okay
 
alright
 
Ell
3d modelling characters is so difficult
 
now I have compiled some very basic uses of UDTs in Wide.
 
2:46 PM
Depends on what you consider a "good 3d model".
 
Ell
Most character models tbh :P
 
user142019
Time to fap get out of bed and take a shower.
 
Ell
and I'm just amazed. I think it's being able to approximate form (he calls it) which is most impressive
 
@rightfold consider this
 
Ell
knowing which faces/edges/vertices need to be moved where for it to look natural
 
user142019
2:51 PM
@JohanLarsson AWESOME
 
@Ell Morevoer, "natural" is not what we always find the most beautiful. Those guys go even farther.
 
Ell
Yeah
It's just amazing I think
 
right
next step: permit assignment to UDTs.
 
user1357851
--
 
2:57 PM
well
 
user1357851
omg main.cpp website not taken
 
this is my current test case which compiles nicely
 
user142019
D-like template instantiations. :>
 
lol, no
I just took their syntax because it turned out that my syntactic plan in this regard wasn't gonna work out
D is a terrible language
if it was remotely decent, I'd use it instead of inventing Wide
 
Quick question: is it better to pass std::initializer_list to a constructor by value or const reference?
 
3:05 PM
no point in const reference; it's just a pair of pointers.
 
Isn't it implementation-defined?
 
well, strictly, yes.
but it is defined to refer to an array on the stack, not be a value itself.
sizeof(initializer_list<T>) is pretty much guaranteed to be small.
 
user142019
Make a template that aliases to either T or T const& depending on sizeof(T).
 
And since the standard already talks about pair of pointers, we can assume it will often be the case I guess.
 
Ell
we need a wide coliru
 
user1357851
3:10 PM
use smaller font
 
@Ell Not decent enough error messages.
 
Xeo
@DeadMG So, what are the points where you think Wide will beat D?
 
hmph
as far as I'm concerned, start with "All of them" and then go up.
 
why wasn't that starred.
Seems like a bit of a revolution that might really become something once MS start doing their evil redistributables/SDKs in form of Nuget packages
Finally, package management that might resemble something usable (though not OS-wide)
 
3:25 PM
And in 5 years, we'll talk about Wide# and Wide/CLI.
 
user142019
@sehe Not OS-wide is good.
 
user142019
Unless you absolutely love dependency version hell.
 
> who cares about nuget?? we need more cpp14 features!!!!! - lol
Screw cpp14, I just want cpp11 from MS. ;~;
 
@rightfold yeah, I'm aware of that. I'm just pointing out the rather glaring omission of a decent OS-wide package management system as well :)
 
@Morwenn oh dear lord
 
3:32 PM
@rightfold Meh, it can be done right.
 
@sehe "Windows Update" :P
 
So I'm not saying it bad since it's not integrated (like in linuces) but rather it's bad because they are (were) both absent :0
@ThePhD LOLOLOLOL trololol
 
@sehe No idea. Probably because I didn't label it properly and not everyone here can tell immediately what it is about...
 
I wonder: does Nuget allow versioning?
Or is it just "get the latest, all the time, everytime?"
 
@LightnessRacesinOrbit It's the other side of fame.
 
3:34 PM
I know with some Linux package manages you could backtrack versions. I haven't found that in my (extremely limited) use of Nuget
 
0
Q: How to set a starting position

KoletoI need to make comparing of two lists where each sign(number) is making the list...where p->key(current position of first list), q->key(current position of second list), q->next and p->next(next position in the list) so at the end i have two list - list one: "1234" and list two: "1230". So compar...

 
Lol
 
@R.MartinhoFernandes Apparently :) it seems to get some traction now but I'm afraid nothing that will reach the starboard.
Oh well, It's only windows after all
 
It's only what we're forced to use at work. ;~;
 
3:36 PM
@ThePhD Last time I used it (still in beta!) it already had that.
 
@R.MartinhoFernandes Ooh. Well, Version and Dependency Hell, begin!
 
Xeo
Hm... I need to reword part of the Discussion for my paper, since people want seperate syntax for free functions and members... I mean, realistically, a macro would work just aswell then. #define LIFT(id) and #define LIFT_MEM(id), so really one of the only reasons (apart from "ARGH, MACROS!") to keep going with a language feature seems to be operators - and even that could be done with a macro, as gpd shows with his Quoting library implementation.
 
I want a stupid gold badge damn it..
 
Xeo
But OTOH, maybe I'm just losing track of where I want to go with []stuff. Thoughts? /cc @DeadMG, @LucDanton, @R.MartinhoFernandes
 
How do I add <curl.h> into my visual studio?
 
user1357851
3:43 PM
Man vs Wild <3 my fantasy: wild outdoors + mystery food $
 
@Xeo Sleepy time.
 
Xeo
Who, me or you? :P
 
` 1 IntelliSense: cannot open source file "curl/curl.h"` how do I fix this?
 
Both of you!
@LearningC Stack Overflow
 
fuck C
 
user1357851
3:46 PM
me, off to the Zzz Zzz land <3
 
@Telkitty Night!
@LucDanton Niiiight!
Hokay.
Thread, WorkerThread, ThreadPool, Log, and Logger are all complete.
 
Ell
meh. my triangle strip doesn't work o.O
ahh me so stupid. I forgot to increment the number of vertices to draw
 
4:22 PM
all chat went to sleep with @Telkitty?
 
Ell
Apparently
My interleaved vertex buffer object doesn't work :( black screen instead of texture :O
 
Red Eclipse anyone?
Yay, new trailer.
 
static int singlevaraux (FuncState *fs, TString *n, expdesc *var, int base) {
  if (fs == NULL)  /* no more levels? */
    return VVOID;  /* default is global */
  else {
^ Lua. the worst codebase ever
 
user image
2
@Abyx Nice stars.
 
@DomagojPandža huh?
 
4:36 PM
@Abyx (FuncState *fs, TString *n, expdesc *var...
Also, consistent naming. A little bit of CamelCase, a little bit of lower case...
 
it's C. the worst case of it
"name" was too long to type, so they used "n"
or maybe line didn't fit in 80 characters
but that else after return... I wish they die >_<
 
btw, that int base is bool
 
dafuq is VVOID ?
varvoid? Or something even more retarded?
 
@DomagojPandža well, it's "type of expression is void", but for singlevaraux it means "global variable"
 
4:46 PM
Terrifying codebase. My condolences.
 
so last night, i was trying to get a better naming convention for C++11threads
which lead me down using native_handle() and trying to get pthreads to change the thread name
 
Thread can have name?
 
in Windows, they can, but you don't need a handle to change it
 
pthread_getname_np
 
Process Explorer don't want to show names. :C
 

« first day (925 days earlier)      last day (4028 days later) »