« first day (1661 days earlier)      last day (3280 days later) » 

user3010322
7:00 PM
Only one more brain-frying C exam to go before I am free.
 
@DonLarynx I don't like header files.
 
Xeo
Sometimes I wonder if we didn't choose the wrong engine for the project (Outdoor-Dynamic Map-Third Person Cam) :D
 
Ven
@ThePhD why is value "int"? :P
should be void*!
 
user3010322
@Ven Because I want to put it in a macro to simulate templates and hate my life.
 
Xeo
> typedef struct Node_ { ... } Node;
nuhb
typedef struct Node { ... } Node;
 
user3010322
7:01 PM
@Xeo Ambiguities: the compiler will error saying it can't have it both ways (VC++ will).
 
Xeo
@ThePhD do you have VC++ in C mode?
 
user3010322
@Xeo Because I'm going to give this to my prof and they're going to put it in C mode and I'm going to hate my life.
 
@DonLarynx I use header files mostly :c
 
Xeo
Because in C, struct Node and typedef struct Node Node are in different "namespaces", so it's fine
 
Ven
7:02 PM
@ThePhD that's what I did for my project (here) and got tons of point from that \o/
 
Xeo
Taiga's dozing off on my lap again.
 
user3010322
Right, but if you do what you wrote above and then do mynode.next = shit; the compiler will error.
 
user3010322
Taiga? Oh my god you went and got a cat?
 
Ven
@ThePhD Yep :[
it's C, though, it'll crash anywhere it can.
 
Xeo
@ThePhD over 3 weeks ago!
 
Ven
7:03 PM
@Xeo pics pls?
 
user3010322
RIP dog potential.
 
Xeo
Apr 23 at 18:53, by Xeo
Dropbox it is, then. Taiga
 
@Ven fail no alignment
 
Xeo
aaaand she's asleep. I think.
 
Ven
@milleniumbug worked well though, explain?
 
7:06 PM
@Ven x86 machine
 
Ven
@milleniumbug i don't use those
 
Use this on ARM, and it will blow up.
...or, for that matter, anything other than x86.
 
Ven
Haha, well, it only ever had to run on some 64bits imacs that school provided.
I'm interested in stuff to read to get a portable one though :-)
 
also, y u no memcpy
 
Ven
@milleniumbug because I have no clue how to write C, lol.
oh
>_> I had shifts ... there... at some point...
 
7:09 PM
@Ven shift or die
 
Ven
@MarcoA. scalar @_ or die
 
@Ven Doesn't matter. Anything you write in C will be shit, regardless of your skill level.
 
Ven
@milleniumbug not nice :(
 
Because C is shit.
 
Ven
haha
 
7:11 PM
So, who is watching the hockey world championship?
 
Ven
Well, I'll just fix the alignment on the generator side :)
 
@wilx trochu
 
@ScarletAmaranth :)
 
@wilx You mean the NHL playoffs?
 
@EtiennedeMartel ... NO!
 
7:13 PM
Don't write C unless you have to.
 
@EtiennedeMartel WTF? What is world on that?
 
Oh, wait, is Canada playing against the Czechs?
Oh oh oh oh!
 
Ugh Unity has a custom editor for Slider and it's hidden somewhere
Can't add fields to show up because
 
@CatPlusPlus two additional comments on how much Unity sucks and I'll suggest to switch to UE4
 
@wilx You guys are so gonna get blasted to pieces.
 
7:15 PM
Yeah because that makes sense and also would really help
 
Ven
@milleniumbug In my case, it was a school project, we had one week to write a "vm" in c :(
@MarcoA. Unity sucks though :P
 
If you have to write C then also don't
 
@EtiennedeMartel lol. Very likely, IMHO.
 
@CatPlusPlus I'd consider writing a bit of C if I was at gunpoint though.
After all, it's not PHP.
 
@Ven it's not on the top of my "good software" list
but it's a massive work nonetheless
it even features a custom UI toolkit
 
7:29 PM
wait you are not talking about Unity3d Game thing? I think that thing is great ... I made a little environment to walk around in just a couple hours
 
@JoranBeasley yep
it's definitely easy to use once you grasp two or three concepts
and the usual questions: "what is this empty gameobject?"
 
@rightfold how do you deal with errors from modules like Lens?
 
I liked working with it alot ... it was by far the easiest barrier of entry of the 3d engines i have used and does the most stuff for you
(that said i am by no means a game dev and I just wanted to play around with it)
 
Ven
@JoranBeasley It's pretty bad in a lot of "code" areas, though. Like passing variables around, the scripting thing, etc
 
oh yeah
I was using the javascript stuff in it,.... it was gross but the ease of use made up for it :P
or its UnityScript I guess :P (basically js)
 
7:39 PM
That was a lovely 12 hour sleep. It's now 8.40pm on bank holiday Monday and I've done frak all. But, on the upside, at least I'm now ~95% sober! \o/
 
Ven
@JoranBeasley it's js... with types plucked in. ew :P
@LightnessRacesinOrbit gratz
Never understood how people could sleep 10+hrs :s
 
@Ven So like TS?
could be worse.
it could be JS.
 
Ven
@Puppy yeah, but it doesn't really work "correctly". weird errors, the editor doesn't autocomplete correctly at all
but yeah could be bare js
 
@ScarletAmaranth Weep in some corner
 
@Ven Never understood how people could not.
 
Ell
7:49 PM
ah my god people are stupid
 
Ven
@LightnessRacesinOrbit dunno... I pass out drunk at 4am, I'll always wake up at 7am, max 9am...
(totally sober, though.)
 
@Jefffrey I have basic understanding how they work internally, but I still don't understand the error messages one bit; I usually just go by the row number :-\
 
Son you have a condition
 
@Ven This is a problem you should look into.
 
Ell
Someone made a status complaining about the possible rise in tuition fees
 
Ven
7:50 PM
@Jefffrey why
 
they might raise tuition fees again?
 
Ell
Someone then commented saying "for what it's worth, you never see the tuition fees"
 
I thought we already decided that the government didn't make a penny from the last raise.
 
Ell
@Puppy There is just no guarantee that they won't
So yes (I guess?)
and then someone said "but you get a student loan" etc.
 
Ven
@LightnessRacesinOrbit wat?
 
Ell
7:53 PM
but then OP said "but that money will come out of the public services budget"
where did he think they got it before the raise!?
 
yeah
the only thing that raising tuition fees does is try to recoup more money from the students after they graduate.
the total cost is the same initially either way.
 
Ell
raising tuition fees is about moving where the debt lies, not increasing the cost
exactly
people are stupid >.<
 
@Ell Well, not even in that.
the govt borrows tuition fee money anyway to lend it to us.
 
Ell
Yeah true
 
@Ven Avengers quote
 
Ven
7:55 PM
duh.
 
user1804599
@ScarletAmaranth I don't; I just write correct code.
 
@rightfold oh but of course you do; silly me
 
user1804599
And otherwise I just use Scala and Monocle, where they don't try to make lenses have function types.
 
user1804599
And other horrible hacks to get around the lack of subtyping.
 
Scala hurts my eyes
 
user1804599
7:57 PM
ur not 31337 enuf
 
Ell
and balls I accidentally posted "ARE YOU HAVING A LAUGH!?" instead of clearing message box :'(
 
user1804599
@Puppy TS has the worst static type system ever.
 
eh
 
If I put a chicken in the oven now I'm saying "I'm not going out tonight". I don't want to go out tonight but it's 9pm and I don't want to completely wipe out the possibility of salvaging my bank holiday Monday. Wtf do??
 
when you consider the constraints they're under, it's really about as good as it could be.
 
Ven
8:00 PM
@rightfold I should take quotes from you. Would be fun. Not very instructing at times, but would be fun
Though, most of the quotes would be "X is shit" or "Y is amazing"...
 
Ell
@LightnessRacesinOrbit Why is chicken saying "I'm not going out tonight"/
 
user1804599
I'm awesome.
 
@Ell where
 
Ell
@sehe On someone's facebook status
 
8:05 PM
bah
 
I want to get a physically large volume and weight of food ordered, but the price is so low I'mma pay quite a price for delivery.
I need to find new items to be delivered that I can sit on for a while.
 
user image
7
 
Ell
@Griwes lol
this makes me angry but it's funny also
 
8:11 PM
@rightfold You should opt "give a shit" out from the count
 
user2228053
Has anyone tried CLion yet?
 
user1804599
Yes. It was not Vim.
 
@XenoCeph I'm pretty sure somebody must have.
 
@XenoCeph currently
 
@XenoCeph No, literally nobody in the entire world has ever tried CLion. Not even the developers or testers.
we don't even know if it builds.
 
Ven
8:16 PM
yeah, I tried clion, wasn't really good
 
@Griwes study discrediting explained in a comic :/
 
Ven
cmake is pretty terrible, clion's integration with it is plain bad, and the IDE support for stuff like boost is plainly broken
@sehe Most of the comics on that twitter are just plain retarded though
 
user2228053
@sehe is it useful? It looks like the Android Studio
 
user1804599
@XenoCeph Guess why.
 
user1804599
They're both based on IntelliJ.
 
8:17 PM
Too early to tell. I was happy to even build, and that was using stock boost (urrff)
 
user1804599
You can't ever expect any C++ tooling to be good.
 
user1804599
It just isn't.
 
@rightfold Resharper for C++ is good
 
user1804599
Does it work with Vim?
 
user1804599
Exactly.
 
8:19 PM
@sehe is there any way to disable it? All the crap it does was getting on my nerves, can't disable the extension...so it was either: find every setting and turn it off, or uninstall :p
 
uninstall disables it, what's the problem?
 
Ven
@rightfold sure, did you try VS' vim-mode?
 
@Ven You mean the VsVim extension. Works like charmses!
 
Ven
yeah, I didn't know the name, thanks @sehe.
 
@rightfold ^^^ dismissive much
 
8:20 PM
@sehe I actually just wanted to turn it off for a little while. but now I can't be bothered to reinstall it again :p
 
user1804599
@Ven Yes. It was pretty bad.
 
@melak47 ah. Your loss
 
user1804599
It didn't have my Vim configuration.
 
ping ping ping :)
 
user1804599
I didn't try to configure it in any way though.
 
8:21 PM
@rightfold You're doing something wrong. It's pretty awesome
VS+VsVim+R# is the one (and only) config that makes me forget about Vim for a larger period of time
 
user1804599
I'm glad I don't have to touch VS until at least November.
 
what happens then
 
He starts building the fireworks site again
 
user1804599
Then maybe the customer wants a change to their software which was written in F#.
 
@Griwes It may be an explanation, but I'm not at all sure it's usually the right one.
 
8:24 PM
@JerryCoffin Why, no, it surely is not right :P
 
user1804599
I didn't have to change it last year though.
 
user1804599
I should've used Java instead of .NET and Scala instead of F#.
 
@Griwes I dunno about that either--given people's diversity, almost any explanation that doesn't involve direct supernatural influence is likely to be right at least once in a while.
 
8:27 PM
@LightnessRacesinOrbit charmen bidet
 
top journalism
 
user1804599
@sehe Last year I discovered caching and reduced the server load from 23 to 8.
 
> 8
lol
 
user1804599
 
user1804599
> To a person with even a modicum of intelligence, this meat cleaver is obviously dangerous and worthy of caution. If you’re a grade-A nimrod, though, you probably like how shiny it is, and will proceed to swing it around while making lightsaber noises.
 
8:30 PM
oh
> It later emerged the trio were filming for their forthcoming UK tour, formerly known as Top Gear Live, which has now been renamed Clarkson, Hammond and May Live following Clarkson’s dismissal from the BBC.
never mind
 
user1804599
Sounds like C.
 
Thanks for helping me out! SWAG FUNCTION WORKS LIKE CHARM _ CHEERS! :D YOU MADE MY DAY! — Anand Akshay 1 hour ago
 
@LightnessRacesinOrbit std::swag?
 
@JerryCoffin homeopathy
 
@Puppy It totally works. You're drinking dinosaur piss.
 
8:42 PM
sure but not for any medicinal effect :P
 
@Puppy You question the existence of the placebo effect?
 
I didn't say placebo, I said homeopathy :P
 
@Puppy Same shit, different smell.
 
@Puppy And how do you believe homeopathy differs from a placebo?
 
Marketing.
 
8:44 PM
one of them is an actual scientific effect and the other is a pile of batshit
 
@EtiennedeMartel Okay, that's fair enough.
 
@Puppy Both are the same scientific effect. Homeopathy has different packaging, but it's the same thing.
 
well, arguably, homeopathy refers to the on-top-of-placebo suggested water-memory-bullshit.
 
@Puppy Batshit is actually quite valuable (in fact, one of the arguments once made about the limit on the population of the earth was based on the limited availability of bat guano).
 
@EtiennedeMartel that's right
 
8:46 PM
@LightnessRacesinOrbit Seriously, it's the first time I hear that one.
 
@JerryCoffin Was that pre-Haber Process?
 
lol I broke it
 
@Cicada in case you have more helpfulness ^
 
@CatPlusPlus what are you doing with unity?
 
> Disalow
 
8:49 PM
UI
 
@melak47 Allocating memory
 
It's a traumatic experience for all parties
 
@sehe or not :v
 
Hey all, if I want to foreach through a map like this:

map <string, string[2]> company;

for (<string,string[2]> thisElement : company)

Does not like this
 
@melak47 clearly he is. Even at times where it's not alowed
 
8:49 PM
@Puppy I think it's safe to presume that it must have been (and yes, bat guano probably isn't nearly as valuable any more as it used to be--still probably at least up there with distilled water though).
 
Xeo
PUS'D - Post Unity Stress Disorder
 
@loosebruce gosh; have you tried for_each(string << string[2] << thisElement | company)?
 
user1804599
@loosebruce std::map<std::string, std::array<std::string, 2>> company; for (auto&& pair : company) { … } works just fine.
 
@loosebruce string[2]? ew :p
 
So. Charlotte, Princess of Cambridge. Awesome.
 
8:51 PM
@LightnessRacesinOrbit hold on (bah. can't find tweet. oh well)
 
Ell
Free pizza for charlottes at pizza hut btw
 
@melak47 , its just a hackerrank question. I would've used a vector but it seemed to much for a fixed size of elements
 
user1804599
> Pizza Hut
 
user1804599
> Pizza
 
@loosebruce array :)
 
user1804599
8:52 PM
Go to a proper Italian restaurant and then decide again whether it's pizzas they sell.
 
Chances are he will prefer pizza hut
 
user1804599
Right; he also likes McDonald's.
 
Then the chances increase
 
How dare you like things
 
user1804599
I don't like you.
 
8:53 PM
ikr
 
@Griwes The interesting thing about that comic is that it makes no attempt at explaining why this is such. It simply shows the end state and expects the reader to derive an explanation, and such an explanation will inevitably end up looking quite a lot like what the reader expects. Basically, it's useless.
 
Xeo
man, 11pm already
 
yep
that's why I'm going to bed, goodnight guys
 
Ell
@rightfold it is
 
@Xeo UTC-4 master race.
 
8:55 PM
 
Where i cand find all cmake , flags
 
Unity always helpful
 
@CatPlusPlus Why is the refresh rate part of the resolution?
 
@CatPlusPlus switch to UE4
 
Because it's display modes not resolutions per se
 
8:56 PM
I had to say that : ]
 
This raises another question.
Why is it called resolution then?
inb4 "because it's unity"
 
user1804599
Because game developers are very bad at naming things and keeping unrelated things apart.
 
Because nobody cares god
 
@EtiennedeMartel The refresh rate is equivalent to the temporal resolution (or, for the pedantic, the upper limit on the possible temporal resolution).
 
@MarcoA. Yeah let's just quickly rewrite this 10k LOC and scenes and everything into UE4 stuff
Ugh
 
9:00 PM
Commercial engines are designed to lock you in.
Well, every engine will lock you in somehow.
 
Not plane engines I hope
 
Yes, even them.
 
@LightnessRacesinOrbit No, I think they are pretty easy to get out of...partially
 
It doesn't matter whether it's ~designed~ to lock you in or not, rewriting shit is a Thing You Do Not Fucking Do Ever
 
we're doing it right now at my company.
 
9:02 PM
Even if it was all loosely coupled with engine behind interface barriers the reintegration and testing is just too much time for no added value
 
I knew a guy who worked at Pratt & Whitney. He told me that one of their tests involved going at a grocery store, buying entire chickens, and then throwing them at a running engine to check if they can handle a collision with a flying bird.
 
@rightfold , for (auto&& thisEmp : company)

cout << thisEmp << endl;

Is not liking this
 
thisEmp is a pair<key, value>
 
user1804599
ok I don't care
 
Yea so how do I output the key as string?
 
Xeo
9:04 PM
@CatPlusPlus We started our current project with Unity, and then switched to UE4
But that was pretty early in the prototyping process
 
Xeo
The UE4 project is still called "Prototype", because we can't figure out how to properly rename it without breaking All The Thingsâ„¢
 
So I accidentally opened my Chrome developer console on Facebook, and there was this huge message at the top of it:
> This is a browser feature intended for developers. If someone told you to copy-paste something here to enable a Facebook feature or "hack" someone's account, it is a scam and will give them access to your Facebook account.
 
BOOST_VERSION is not a command. You probably mean you printed the value of this preprocessor define. Google has many more relevant hits: boost CodeBlockssehe 1 min ago
Darn. He really insists on wasting time
@EtiennedeMartel Yup. That's the only way to prevent wanne-be script kiddies from compromising their accounts.
 
@EtiennedeMartel If you do a little looking, you should be able to find some videos of people being sucked through jet engines (I've seen at least a couple). Not sure if the engine survived (without some serious rebuilding, anyway), but amazingly enough I believe in both cases the person actually did survive.
 
Xeo
9:06 PM
@JerryCoffin Super Hero Rule #1: No cape, unless you can survive a jet engine.
 
@JerryCoffin I remember reading about a case where a guy on board an aircraft carrier got sucked up a jet engine and survived when his suit got stuck somewhere along the way.
 
@melak47 literally
 
@Xeo I think I can live without the cape.
 
damn this is good tea
 
9:09 PM
@melak47 , still a bit confused

in my map the manager is the key, and the two elements in the string array are his employees.

I want to print the manager first
then on second line both employees
cout << thisEmp.first << " " << endl;

Is this referring to the first element in my array or is that coincidental?
 
hmm...first...second...those sound familiar
 
Xeo
@loosebruce you need a good book, man.
 
@loosebruce for (auto const &emp : company) std::cout << "Manager: " << emp.first << "\n\tEmployee 1: " << emp.second[0] << \n\tEmployee 2: " << emp.second[1];`
 
user1804599
Awesome, rationals work!
 
user1804599
This program prints the following! :D
 
user1804599
9:14 PM
22/7
3.1428571428571428571428571428571428571428571428571428571429
 
@Xeo, it is what happens when you leave C++ after uni and work with java for 3 years :(
 
Xeo
It's what happens when you don't educate yourself in your own time.
 
Trying to get back into it, I have a signed copy of A Tour Of C++
 
user1804599
May 2 '12 at 19:44, by FredOverflow
Did you bring a book and have Bjarne cast it from unsigned to signed?
 
@LightnessRacesinOrbit They are too difficult to track back and a disaster in (delivered) production code, if unhandled.. — Dieter Lücking 6 mins ago
dafuq
 
9:18 PM
Ok, i've understood now after consulting the book. Apologies for any irritation
 
Xeo
"I want to unsheathe my sword and tell the guard to calm down." -- That's not Diplomacy, or Intimidation, that's Initiative. :-D — DevSolar 12 hours ago
lolz /cc @R.MartinhoFernandes
@LightnessRacesinOrbit Oh gawd
 
Xeo
I always thought Dieter was a rather skilled guy
 
user1804599
/// Take ownership of the type info iff it was acquired using the
/// typeid operator.
 
user1804599
9:23 PM
worst hack ever
 
user1804599
Currently the deleter is a no-op.
 
Holy shit. We are really living in interesting times.
 
user1804599
In the future it will check the dynamic type of the type info.
 
user1804599
@EtiennedeMartel RIP
 
user1804599
oh wait I didn't see NDP
 
9:25 PM
@Xeo ya this is a shock
 
user1804599
> The New Democratic Party (NDP; French: Nouveau Parti démocratique, NPD) is a major social-democratic
 
user1804599
Yes, RIP.
 
Alberta is this super conservative hot spot in Canada, so seeing them vote for a leftist party is strange.
 
user1804599
It's time to sleep.
 
Xeo
good point
 
9:29 PM
@EtiennedeMartel wow
-3
Q: can anyone help to generate bcc lattice in C++ . i want to put atoms in bcc lattice no idea. thanks

user4864042can anyone help in c++ codes for arranging atoms in bcc lattice. I tried but couldn't do. thanks. help will be appreciated. i am new to c++

ho boy
why do these people exist .-
 
@LightnessRacesinOrbit Blind carbon copy lattice?
 
Night
 
Whoa, people talk about Canada here?
 
We have a few Canadians, yes.
And a few people who are juridically Canadian.
 
@EtiennedeMartel yep
Goodnight Jofffrey
 
9:46 PM
like your mother in bed
 
Well, the Czech team go their asses whipped.
Night.
 
@wilx Don't fuck with Canada.
 

« first day (1661 days earlier)      last day (3280 days later) »