« first day (1394 days earlier)      last day (3563 days later) » 

12:00 AM
@el
 
@Ell Reading this...it sounds very cool.
 
Ell
@daniel prwss up arrow to edit last message
 
@ell if you join and help me out then yeah you can see the code, but for now i can tell you a little about it, it is a game engine that supports most genres, its programmed in c++, it supports a few scripting languages including one that is exclusive to this engine alone, it is also cross platform, the main thing i was doing for this game engine was making it as flexible yet powerful as possible.
 
No, it's programmed in C with Classes.
 
Ell
@daniel I'll consider joining. But first, can I see what games you've made? :)
 
12:05 AM
Fairy Tail is so emo.
 
@StackedCrooked can you install an Eiffel compiler on Coliru? :P
 
I'd rather not do that because it will only lead to further feature requests and requests..
And I'm at my limit :(
I'm a weakling.
 
Noooo1 ;_;
 
Ell
I wonder if there could be a distributed coliru
 
But if you ask often enough then sooner or later you'll catch me at a weak moment.
 
Ell
12:07 AM
And the server just coordinates requests and serves HTML
 
Of course that could be done.
 
Ell
And different people could provide different services
 
And I hereby delegate the task to @Eli :P
 
Ell
Who's Eli? ;)
 
Oh, damn.
I always read your name as Eli.
 
12:09 AM
o.o srsly?
 
Yeah.
 
Ell
A lot of people do
I'm not sure why o.o
 
It's been like this for years.
 
i guess its just like most people misreading @Mysticial's name
 
Ell
Or jefffrey
I guess Its because Ell isn't a common nick name?
 
12:11 AM
I've always read it as Ell - the second two letters are the same height so they're probably the the same letter
 
I,ve made a few but have not released them, most of them were just personal projects i used to learn from, one was a minecraft clone i made but is still pretty basic scince i have not had the time to complete it due to developing this engine, but i can assure you i know what i am doing i have been programming for 6+ years in a multitude of lanuages including c, c++, c#, objective c, java, ruby, css, html, javascript, lua, cs script, python, php, and perl.
 
and Eii isn't nearly as readable as ELL
 
lol Eii
@Ell It would be more clear if your nickname was Elliott.
 
Ell
@stacked close again :L
It's Elliot :)
@daniel before I commit to the project, I'd like to ask why you choose to write your own scripting language?
@stacked and I can't write distributed coliru anyway, I have lounge chat to be finishing :P
 
Oh; even with uniform initialisation I need to define a custom constructor
 
12:16 AM
uniform initialization is just a different syntax to call constructors
 
Ell
I wwhere does @stackedcrooked come from?
 
(afaik)
 
Yeah oh and things like:
 
Ell
It sounds like two random words
I guess stack overflow
No idea whee the crooked comes from
 
vec3 GetValue()
{
  return {x, y, z};
}
 
12:17 AM
i wanted to make a scripting language c++ developers would be more accustomed to, and i have not seen any scripting languages that have a syntax similar to c++.
 
Ell
@daniel that is because c++ syntax is clunky and not suited to game scripting imho
And I'm afraid I can't commit until I see some finished and published games
Good luck with the project though :)
 
kk
 
Is using namespace ___; considered evil for not-std? Or is it OK?
 
dont do it in header files
 
I don't plan to
 
12:20 AM
say wat o.o
 
I like to avoid problems brought by complexity
so I usually just stop at "some things are hard"
and call it a day
 
2 days ago, by Puppy
@cyberspace009 Because std is full of extremely generic templates with extremely generic names that have a high probability of colliding with your own functions.
Also namespaces are p cool.
 
@Jefffrey Yeah I know about that - I was asking about other namespaces
 
What difference does it make? boost::, std::, titties::. They all help you avoid name collisions. Not only of the names of the namespace that you use, but also of the ones that you don't.
And if you are one of those "OMG I HAVE TO TYPE 4 CHARACTERS NOOOOOOOOOOOOO" programmers, than you better run far away from C++.
Like... really fast.
 
Ell
I wish I was good at web design
 
12:29 AM
Fair enough
 
Ell
It'd be neat
 
If you have something like boost::whatever::linear_algebra, you may want to give an alias instead. Something like: namespace boost_wla = boost::whatever::linear_algebra;.
Or at least that's what I think the syntax is.
 
Ell
Not quite
Using
 
nope
 
Ell
Using test = namespace std;
I think
 
12:30 AM
nope
 
Ell
Lel
I'm bad and I feel bad
 
You don't use using for namespaces.
 
@Ell If it's any consolation, you do in C#
 
Ell
@kian it would be if I wrote c# :')
 
Hahaha
 
12:32 AM
@Ell How's your finger?
 
ack... its not apt-get on suse T_T
 
I chose it as a nickname because it sound cool.
But it's also a pretty good song.
 
I remember thinking you chose "stacked <x>" because of "stack overflow"
 
Ell
@jefffrey it hurts when I put a lot of pressure on it but besides that it's fine. Thanks for asking :)
 
And for few months I couldn't but read your nickname as "stacked cooked"
 
Ell
12:39 AM
...how's your finger? :P
 
Ell
I need a USB soundcard and an okay headset
 
USB soundcard?
 
Ell
Yeah because my front panel audio doesn't work
So I have to plug headphones in at the back
And that's a major pain in the butt
So I want a USB one that I can plug in at the front
 
Everybody ready for ferragosto?
I really like that holiday. We usually celebrate with a barbecue and a full afternoon laughing, drinking and eating.
 
12:46 AM
I can't figure out how to add a constructor to a(n external) struct but it seems like it should definitely be possible
When I say external, I mean defined outside of my project
 
You can't. The only way to declare a constructor is to declare it in the class definition.
Do you come from Ruby by any chance?
 
Not really, I just thought that that kind of customisability was a feature of C++
 
It's called something like "monkey patching" and it's terrible.
 
Ell
Monkey patching is cool :P
I used to monkey patch all the time
But I agree it's sort of dangerous
 
Have fun debugging :)
 
Ell
12:49 AM
I don't have a use for it anymore
 
@Kian Why do you want to define a constructor for that POD?
 
@Jefffrey Because I've got a constructor for a class that accepts two parameters (both types from a 3rd party library)
 
I don't follow.
How is that relevant?
 
and I want to create another constructor that accepts some of the members of those types and then delegates the constructing to the constructor I mentioned above
 
You can use a factory function.
 
12:52 AM
OK
 
Or whatever you call those make_* functions.
Like make_unique, make_pair or make_shared
 
I've never really understood factories; I will read now
 
Listen: it's just a function that creates an object.
 
[Don't worry, I have yet to start my computer science education]
 
Don't read all that Java OOP crap about interfaces and adaptors and whatever.
3
 
12:54 AM
i tried to copy to a folder (.themes) and I got /home/.themes/ : command not found :(
 
Yeah but until now I've never seen a reason why it might be necessary
 
Now you do.
It's like an external constructor.
Don't learn "patterns" just for the sake of learning and using them.
3
I did so, and now I have anxiety problems that are causing all sort of pathological issues, aggravated by depression.
Listen to me: stay away from patterns.
3
 
Thank you
 
@Borgleader cp stuff ~/.themes
 
I've always been suspicious of coding patterns
 
12:58 AM
Some patterns might be helpful, but if you learn them before you have a problem to solve, then you'll try to fit them everywhere.
The most important concepts you want to always keep in mind are KISS, YANGNI and DRY.
 
Yeah
I'd like to do more programming, especially of the C++ variety but I just don't have anything to work on
 
Do a snake game.
 
@Rapptz eh, I cheated around it cp -r ~/Downloads/Rele .
 
@Jefffrey But IAGNI ;) I'd like to do something that is useful
 
Ell
Listen to jefffrey he is a wise one
But it's 2 am so I'm gonna sleep! Night folks :)
 
1:03 AM
I haven't written anything that was actually useful in all of my 6 years of programming. But I'm still trying :P
 
@Kian Do something that you think is fun. It's called recreational programming. Before you'll be able to be useful, you'll have to have much much more experience.
@Ell lol
@Ell night
 
@Ell Goodnight
 
Look at me. I know that the only exception to the PrimitiveType x; PrimitiveType y = x;-is-undefined-behavior rule is unsigned char, but I'm still useless as fuck.
 
I changed my browser setting to ask for cookies when the website tries to set one. This changed my life.
 
Hahaha but I expect that knowing that kind of thing helps you write things quicker
 
1:08 AM
Not at all. :)
@milleniumbug I'd expected it to be hell.
 
Oh haha
I get annoyed at the stupid EU "law" about cookie notifications
 
@Jefffrey Meh, all the websites already mention this (thanks, EU). Helpfully, this is a question like "Allow", "Allow only for this session", "Reject"
so over time the browser will learn.
 
@Kian They are stupid quirks of the C++ language that are really not useful and that if you code properly you'll never have to face. For example in the rule above, it's an exception to the usual undefined behavior that comes from reading uninitialized memory. You should never have uninitialized memory in the first place.
 
I see
 
@milleniumbug What are the advantages?
 
1:13 AM
Hi
Anyone pro with css?
 
What makes a developer not useless then?
 
Or browsers?
 
@Kian The ability to get things done.
Unfortunately.

HTML / CSS / WebDesign

This room is now defunct. RIP.
 
@RahulKhosla I have a lot of experience with browsers, specifically using them
 
No one is there.
@Kian Ok well im writing some CSS on this page:stockdose.com/category.php?cat=2
@Kian Is the search bar out of place for you?
 
1:15 AM
@RahulKhosla There are 13 people in there.
 
Oh
none active.
 
It's called lurking. Try asking.
 
I've found @Kian now, hopefully I can get help with browsers.
So, in that link is the search bar out of place?
 
Hahaha
 
(it should be inline to the header)
 
1:16 AM
@RahulKhosla Take a look at the float property.
 
At least talk in the other room (I'm there now)
 
@Jefffrey 1. Mostly entertainment or 2. Helpful for quickly filling whitelists and blacklists for cookies.
 
but what's the worst they will do?
 
Tracking
e.g. facebook.com tracks what you visit
And I'm beginning to dislike this.
 
1:20 AM
What are you talking about?
 
Example from today: I'm lurking on SO. Some user has a random avatar located on facebook servers. My browser sends a request to the facebook servers. They try to set the cookie for graph.facebook.com website.
 
@milleniumbug Chrome or FF?
 
@Borgleader Firefox
 
Is it done through an addon?
 
All built-in behaviour - Options -> Privacy
 
1:25 AM
I only have Do not track, history and location bar in there
 
Oh, it's history combobox with "User-defined"
Don't have English Firefox right now, so I can't accurately pinpoint you.
 
is it about accepting third party cookies?
actually the options are probably in the same order, so just tell me which one it is ;)
 
Yeah, the option about storing the cookies - "Ask every time"
 
What is char_traits<CharT>::eof supposed to return?
'\0'?
nope
literally eof
why would char traits have this?
 
user3010322
ostream ?
 
1:34 AM
I ended up doing Traits::to_char_type(0).
I guess that works
 
o.o where does shit go when you do zypper install $(something)?
nvm found it in /usr/bin
 
package managers usually install in /usr/
 
I installed CMake (to use ninja as a generator in Qt)
and it was asking me for the path to it
CMake Error: Could not find cmake module
its joking right?
apparently that meant ninja was not installed
 
@Rapptz not if 0 is a an actual character.
 
@R.MartinhoFernandes When would that happen?
 
1:46 AM
@R.MartinhoFernandes You live!
 
It happens all the time.
The standard traits return int_type(-1) or something.
 
sigh
 
Because eof is not a character.
 
I don't want eof though
 
It's just a special flag.
 
1:47 AM
I want a null terminator
 
But that's not what eof is.
 
> Google is criticized for naming their programming language "Go" while there is already an existing programming language called "Go!"
 
Would Traits::to_char_type(0) not work for that purpose?
@R.MartinhoFernandes Yeah, I know. I was looking for something in char_traits that returns a null terminator for the character type.
 
Ah, I see. Yeah, that should do.
 
eof looked promising but it literally returned EOF, WEOF etc.
welcome back btw (?)
 
1:49 AM
I've been in Portugal for the past week.
 
2:22 AM
@R.MartinhoFernandes How was your visit home?
(or should I say "to your former home"?)
 
should be asking: robor, how's your grandma?
 
2:35 AM
Well, I need food. Talk to you all later.
 
3:19 AM
This guy is editing tag wikis by just copy pasting the first result on google (without giving attribution).
That's not allowed right?
The sad thing is it's getting accepted
 
@Rapptz It's not allowed. And there's a lot of people who do that. Enough for meta posts.
35
Q: Mass updating of tag wikis with content copied

devnullA certain user has been making edits to tag wikis all over. Not surprising enough, the suggested changes: are copied 1 verbatim 2 from 3 wikipedia 4 with or without attribution, and do not follow tag wiki guidelines Robo reviewers continue to oblige by approving the suggestions. (... had 5...

Just flag him.
 
there needs to be a way to flag users..
feels weird to flag an answer
Like, e.g. this guy posted the same answer to 5 different questions.
So I flagged one of the answers (at least that made sense..)
 
4:01 AM
@Mysticial ...or flagellate him, whichever seems to make more sense.
 
Goddammit. VS keeps allowing me to omit template parameters and this-> to the point that it breaks on GCC every single time I try to sync up the code.
 
compile on gcc
then port to VS :p
rather than other way around
 
I run Windows.
I only boot up Linux to compile for Linux.
 
you are aware that gcc exists on Windows right?
 
The other way around is worse.
Because I end up using language features that VS hasn't even implemented yet.
 
4:14 AM
sucks :v
 
I still don't get the rules for exactly when template parameters are needed. Along with the this-> and the template keyword. So I'm basically adding them as needed (to compile).
And of course the moment I boot up Linux to compile and fix all these things, it breaks in a shit-ton of places.
 
the rules are incredibly simple
deriving from a template class? Use this->.
Doing T::stuff where stuff is a typedef? use typename.
Doing x.stuff<T> when T is a template parameter? use template.
 
That's it? I guess it seems a lot more complicated in VS since it relaxes the requirements to some non-spec in-between bullshit state.
 
Xeo
@Rapptz only if the derived class is also templated and the base class uses its template parameters
 
yeah
 
Xeo
4:19 AM
it all depends on whether you're accessing a member of a dependent type, and what kind of member
 
@Rapptz Why is it that you have to do that in the first place?
 
Great, now it's breaking because I tried to access an inner class from the parent class.
VS2013 just let me do it. I guess I'll have to qualify it. Maybe a using will work.
 
Xeo
Hm, it's almost 6:30am
I should probably go to sleep...
Damn interesting games keeping me awake the whole night!
 
lol
 
Xeo
I know it's stupid to stay awake longer, instead of going to sleep and starting again early
but I just can't stop reading
 
4:58 AM
@Xeo nerd :P
 
user457812
5:47 AM
So many possibilities for fun now that I'm adding threads to my VM.
 
user457812
It's almost like I can make things explode in new and interesting ways.
 
6:28 AM
TEST ("", "cba", 0, -1, NPOS, 0),
TEST ("last test", "test", 9, 4, 4, 0)
I found this in libc++ tests lol
 
user457812
Descriptive as hell.
 
cba means 'can't be arsed'
 
user457812
Yep.
 
user3010322
6:40 AM
@Rapptz Lol, nice.
 
And once again, less-than-obvious implicit semantical quirks of C++ confuse people. (Well done, Mr Stroustrup!) — The Paramagnetic Croissant 2 mins ago
I think my find_last_not_of implementation is completely broken.
 
Context: copy constructors that copy data
Groundbreaking apparently
So apparently "<long random text>@gmail.com is already in use". Yeah right.
 
not sure why I'm bothering
 
7:01 AM
morning
 
night
 
wish I had my gold badge dupe hammer
 
You know how to get it.
 
@Rapptz I'm not really feeling it as a dupe. One question is about high-level conceptual problems, and the other is about implementation details.
 
7:34 AM
@milleniumbug Install Ghostery or Privacy Badger
Blocking cookies is not enough anyway
 
8:34 AM
hmm.
not quite sure how to handle destructors for delegating constructors.
ideally I'd come up with a scheme that doesn't require knowing if the constructor you're delegating to is itself a delegating constructor.
I guess that a given constructor should assume responsibility for destroying the object once the target constructor has returned.
that way if the target constructor throws, the given constructor won't destruct this, and if it doesn't, then it won't be double-destructed.
 
9:03 AM
Wrap the entire construction sequence with a generated exception handler that takes care of that?
Delegation would be just a normal function call p much
 
@CatPlusPlus The problem with that is that it entails looking at the whole construction sequence- i.e., knowing the body of the constructor you're delegating to or if some other constructor delegates to you.
 
Why? You have construction sites above ctors
 
well, what if the other constructor is declared in C++ and the implementation is linked in from a dynamic library?
 
Don't really see the problem
 
well, how are you gonna know the entire construction sequence if you don't know the body of the other constructor?
it could delegate to any other constructor or be a regular constructor.
I think that simply destructing the object if your body throws an exception is the best way to go because then you don't need to know what the other constructor does.
 
9:30 AM
0
Q: E-mail received about close vote

Pascal CuoqI received the e-mail below about a close vote I cast. I have no interest in discussing the matter further than “it seems to me that the question invites a recommendation or a comparison, things listed as not to ask about”. I would also like any such discussion to occur elsewhere than in my inbox...

 
lol, what a moron.
 
He's just mad because he didn't get to plug his company again
 
it seems odd that he's so persistent and butthurt about it.
 
> If the opinions are bad enough, downvotes can handle them fine.
I guess we should downvote his email, then.
 
o_0 I've not got the chat extension installed at home
can someone hook me up with a link please
 
> where he can be as totally ignored as everybody else
ahahah +1
 
well, I figure that being generally ignored can work in the community's favour for a change.
 
@CatPlusPlus ¬_¬ yes...
oh, I had it installed, just not enabled... strange
 
@metacompactness I have no problems with people asking 'easy' questions here and I don't think we should be 'elitist' about the difficultness of the questions. If some people think its too easy then just ignore it — Winther 18 hours ago
 
10:09 AM
Dang.. I sure have been flagging a lot.
I only have 12 left.
 
0
Q: Calculating PI with OpenMP doesn't give 8x speedup on 4-core hyperthreading CPU; why?

MehrdadI'm trying to use this code to calculate pi (the algorithm isn't relevant, so feel free to ignore it): #include <stddef.h> #include <stdio.h> #include <time.h> int main() { typedef long long Int; for (Int l = static_cast<Int>(1) << 23; !(l >> 29); l <<= 1) { Int num = 0, den...

 
lol
 
^^ wtf? Did Mehrdad really expect HT to give 2x?
 
Has Mehrdad ever posted an actual good question?
 
10:13 AM
not sure why, but I think of Mehrdad as a total moron.
 
a lot of his questions are about performance lol
 
@Mysticial How much speedup does HT give max? 50%?
 
Personally, I've never gotten above 20%. But I've heard of people getting as high as 60%.
 
Is it true that HT cane make things slower? That is, less than 0% speedup? :)
 
The vast majority of my highly optimized code gets less than 10%, because the code is efficient enough to keep the core busy on just one thread. So two threads doesn't help as much.
 
10:21 AM
yes. I was guessing. Thanks for the observation. — edition 9 mins ago
 
Highly optimized = hand-tuned assembly?
 
@FredOverflow Definitely, any sort of memory resource contention can cause backwards scaling.
 
@Puppy more like, Mehdad, amirite?
ok, I'll go back to quake now
 
@FredOverflow Or just a bunch of heavily unrolled intrinsics.
I'm going to burst if I don't let this out; "awwww... who's a good puppy? You! Dats who! Yes you are! You got a +1 from daddy! Yes you did! You want a treat?" ... ok. All out of my system, now! ;) — Andrew Barber ♦ 7 mins ago
 
lol
Puppy actually being upvoted on meta.
What a dream.
 
10:25 AM
I doubt the dog has any downvoter stalkers on meta...
must be a slow day when that get quoted on the both chats that I have open at the moment ...
 
@JohannesSchaub-litb lol what the hell is with that question
did he really expect adding two strings with numbers would magically produce the proper numerical result?
 
whoa
someone plagiarised my answer
cool
 
theirs vs mine :v
Guy's a high rep user too. Weird.
 
10:36 AM
Flag it get him internet arrested
 
Close as duplicate.
 
how do you internet arrest someone?
 
it's old, I ran into it out of curiosity
though I'm now curious at the other guy's answers
 
lol, delete the question.
 
Argh I picked a non-monospace font for the terminal and wonder why everything's messed up
 
10:39 AM
@Mysticial I don't think it's a good idea to delete dupes.
 
@CatPlusPlus you idiot!
 
lol
 
@Rapptz Same here.
 
WebOb is so nice.
 
10:44 AM
Meh WSGI
Async is the future!
 
Inconvenient and overkill in my case.
 
I want first-class support for real time comms
This is incredibly clunky with all of the WSGI frameworks
 
I don't. :D
 
That's because you're a badlet
 
No, it's because I don't need it.
 
10:51 AM
Yet
 
And I don't need it because I don't need it.
 

« first day (1394 days earlier)      last day (3563 days later) »