« first day (1624 days earlier)      last day (3306 days later) » 

3:03 PM
@BartekBanachewicz IIRC RDP doesn't just stream video but also makes Windows UI calls, so the Windows UI part should be snappy.
 
Xeo
@StackedCrooked 好 is part of the Japanese Kanji of "like"!
 
When I used RDP to connect to my AWS server it was pretty fast and not laggy at all.
 
Coliru ga sukiiii :P
好き
 
Which seems cool it it actually works.
 
3:11 PM
user image
11
 
Have you tried parallel programming?
 
@Borgleader nice one.
 
@VictorLopez it's when you write on two keyboards at once?
 
@BartekBanachewicz Actually, is when you write on two keyboards at once with a single hand.
 
@Borgleader Actually same of the dogs on the right side should have two heads, no tail, and three legs
 
3:15 PM
hey, i need help... whats this output:

int a=10;
int const &b = a;
a = 11;
count << a<<b
 
@AndyProwl Because of race conditions?
 
@VictorLopez Yeah
 
user1804599
Fuck std::stack.
 
user1804599
Also std::vector::back y u no take index.
 
@NokImchen What output are you getting?
 
3:17 PM
@AndyProwl i dont knw, m not a programmer, i understand all the lines except this one: count << a<<b
 
@BartekBanachewicz A few days ago I did find these series about parallel computing with OpenMP.
 
@NokImchen It's probably cout, not count. It just prints the value of a and the value of b to the console
 
oh, sweet! now i can guess the answer, its: 10 , 11.... right?
yes, its cout..!!! thanks a lot, u r so kind and helpful :)
 
@NokImchen Nope. Try it :)
 
mmm new teflon on mouse
feels so good
 
3:21 PM
@AndyProwl i have no compler, www.compileonline.com/compile_c_online.php will do?
 
why don't you download one?
 
@NokImchen I recommend Coliru (coliru.stacked-crooked.com), but here is the result of your program
 
@AndyProwl thank u sooo much, m a biotechnologist, not a programmer, so was having headache solving it :P
 
You're welcome
The tricky part in that example is that b is a reference (notice the & in the declaration) that works as an alias for a. Later changes to a are therefore visible through b.
That's why the output is 1111 and not 1110
If b were declared as int const b = a; (notice no &, b is not an alias here) the output would have been 1110
 
oh, got it :P
 
3:24 PM
Even if you declare like this:

#include <iostream>

using std::cout;

int main()
{
int a=10;
const int &b = a;
a = 11;
b++
cout << a << b;
}

Only the reference is read-only.
 
Cyber war 1: USA vs China
 
@VictorLopez Don't confuse him :P This would not compile
b is a reference to const, b++ would not compile even with the missing semicolon
 
lol, ya, true :D
i can code simple ones in VB6, JS, VB,NET, but C stuffs is not my cup of tea :D
 
Yeah C and C++ are definitely not beginner-friendly languages
 
> freegoogle. Google mirror that can be used to make Google search etc available in places where it is blocked, eg China.
 
3:27 PM
@AndyProwl Thank u all, now i have to google myself for the cout function, wont spam here asking every minute detail, goodluck all :)
 
user1804599
LLDB is nice.
 
@NokImchen You're welcome, good luck with your research :)
 
@AndyProwl True. Forgot to add the semicolon. But in the case you do a++; instead of b++, b will also be incremented.
 
Do ++a please
Dont be a duck
 
a++ is awwright.
 
3:31 PM
@VictorLopez Yeah, but that does not add much to the example. There is already an operation that modifies a and whose result is visible through b
 
@AndyProwl No the dogs are the threads, its the food that gets deformed
 
@Borgleader UB can deform everything :P
 
@AndyProwl My fault.
 
assert(arg and arg[0], "You ran this script incorrectly.") in lua, is that equivalent to assert(argc >= 2) in C++?
 
I'd like everyone to know that Haskell records are a complete piece of shit
thanks.
 
3:35 PM
@BartekBanachewicz ???
 
they're fucking useless
the only thing they can be perhaps useful for is TH Lens generator, for which case quasiquoted expressions would prolly be better anyway
they're a sheer pain to use and I hope they die in a fucking fire
 
are we talking about record syntax here?
 
well its not mandatory to use them iirc, so just dont?
 
and use what instead
I have a structured type that has 6 elements
that's not a lot by far
but any reasonable updates on that structure are just a fucking pita
 
3:40 PM
@райтфолд what?
 
lens partially mitigate that but only partially
 
squirrels Seem not to be affected by race conditions, they fix things up before the data is retrieved.
 
bah
today in Pathfinder: I died.
 
uniformToPendingUniform :: Uniform -> PendingUniformBinding
uniformToPendingUniform (Uniform typeTag maybeBinding name) =
    fmap (\Binding x -> PendingUniformBinding name x) maybeBinding
 
I didn't know that squirrels had fights until recently.
 
3:45 PM
hurh
Haskell is annoying as fuck language, but it's still the language I love the most
Functors are a godsend
 
user1804599
So awesome this.
 
and I forgot a Maybe in the sig
 
user1804599
This program compiles and runs. :D
 
lol you're on the next step of pretending
 
user1804599
What do you mean?
 
3:49 PM
making imaginary organizations for your imaginary languages and vaporware projects
 
user1804599
GitHub organisations don't have to represent organisations.
 
next thing we see is a RighfoldGithub made specifically to store your projects
 
@BartekBanachewicz IRTA 'uniformToPenguinUniform'
 
every project is automatically deleted after a week to save you work
 
user1804599
That would involve web development, so no.
 
3:50 PM
said a PHP developer
@MartinJames lol
 
user1804599
Right, because I use PHP on rare occasions at work, I would make web applications voluntarily.
 
user1804599
Makes perfect sense. Great logic.
 
Instead you voluntarily write compilers in Perl.
3 mins ago, by райтфолд
Makes perfect sense. Great logic.
 
I too have vaporware in my repository and it won't be that bad once it gets released.
Where is Fred?
The only thing about coding software that nobody knows is that you have to promote it, is that or using it inside your own projects, which can be good or bad, it is upon your goals, own interests or you company's.
 
user1804599
Do you sort C# before or after C++?
 
user1804599
4:00 PM
@BartekBanachewicz Sure, because writing compilers is fun, unlike web development.
 
depends on what the resulting order implies
 
user1804599
@R.MartinhoFernandes Hoera!
 
@райтфолд Oh.. robot has released something. I hope it doesn't smell too bad.
 
@R.MartinhoFernandes great success \o/
 
4:07 PM
@πάνταῥεῖ: You suck tremendously.
 
@puppy Same same :-P ...
 
@R.MartinhoFernandes yeey
 
@R.MartinhoFernandes Well done!
 
0
Q: Error expected ',' or '...' before numeric constat

Cosmin Iovanabout 2-3 working days to sort winrar converter based LZO key. Ok, I did codes etc .. Initially the code was written in codeblocks, the beginner. Now I am so to migrate to gcc49 on cygwin. In codeblocks it works. In gcc49 i use : -std=c++11 as flags. Now when i try to compile i get this error ...

How are you guys? :)
 
user1804599
That question was already mentioned here today.
 
4:14 PM
@CosminIovan OK until you posted that.
 
@ And it's not allowed ?
 
user1804599
It's really a terrible question.
 
Ohh, sorry. I get it.
 
@райтфолд Worse - it's not funny.
 
user1804599
Does anyone ever use -O1?
 
4:16 PM
@R.MartinhoFernandes: I saw your announcement regarding Nonius. Is Boost still necessary on Windows? Even with VS 2015?
 
@CosminIovan We only welcome links to 'entertaining' questions here, or anything posted by Vlad.
 
@wilx Not with VS2015 (thanks @ThePhD)
 
> Moderate optimization; optimizes reasonably well but does not degrade compilation time significantly.
 
@R.MartinhoFernandes Cool. Thanks.
 
@райтфолд Yeah - sometimes for debug builds.
 
4:18 PM
Er, wait. I mean, boost is needed everywhere.
 
Those who have tried Visual Studio 2015, is there a big difference? compared to 2013?
 
It's just the in VS it no longer needs it built.
VS chrono was broken and Boost.Chrono is not header-only.
I'm using some mathematical stuff from boost.
 
Ah.
Darn.
 
nothing better than professors teaching wrong stuff
a Teacher obviously has to inherit from ClassRoom
 
@wilx to drop boost I'd need to implement some stats myself.
Though I already implement a truckload myself anyway because there's nothing with a suitable license around :(
 
4:23 PM
@R.MartinhoFernandes I see. I respect that. :) I just do not want to make log4cplus depend on Boost by default.
But I could use some more sophisticated benchmarking.
 
@wilx you're the log4cplus dev?
nvm i see that you are
 
@Pris Yes.
 
Can't you like require it only for the benchmarks?
I assume most users don't need to run those.
 
@R.MartinhoFernandes Neat
 
4:32 PM
#afternoon
 
Norway looks like a grayer version of south eastern Canada.
 
With very expensive alcohol, I've heard
 
That's what I saw.
 
Are you there for work?
 
4:37 PM
Spending some time with my girlfriend. She's studying there.
 
I see, well that should make weather and prices bearable :)
 
@EtiennedeMartel What is she studying that she has to go to Norway?
or is it just an exchange thing?
 
@Borgleader Exchange thing. She's studying litterature.
 
The underlying assumption that it is 'has to' not 'wants to'.
 
4:39 PM
if this is the principle behind microwaves in cooking food then why can't we use radio waves instead, they will go deeper inside large foods? — Bhavesh 5 mins ago
this whole thread is a big fail
 
She's also a big fan of Scandinavia as whole, and a metalhead.
So when the opportunity came to go study in Norway, well, she took it.
And so, this is the first time in my life I step foot in Europe.
 
@EtiennedeMartel Cool! I hope you enjoy it!
But I must say Scandinavia is different from the rest of Europe.
 
user1804599
Alright, time to make Unit a singleton.
 
0
A: Assignment Operator Overload in c++

πάντα ῥεῖAn overloaded assignment operator should look like this: Complex &Complex::operator=(const Complex& rhs) { if(&rhs != this) { real = rhs.real; imaginary = rhs.imaginary; } return *this; }; You should also note, that if you overload the assignment operator yo...

 
What I like is how I can use my credit card everywhere.
 
4:43 PM
Just like the UK is different from the mainland, and the south is different from the non-south.
 
self-assignment-check, Lounge please
 
Europe is all very different
Small movements are enough to observe radical changes
 
@Etienne already getting the wrong idea about Europe because he was in one city in Norway and assumed it's all the same.
 
@R.MartinhoFernandes Of course it's all the same. You're one big hive mind.
 
@Puppy It's been edited away
 
user1804599
4:45 PM
src/value.hpp:29:25: error: unused variable 'x' [-Werror,-Wunused-variable]
            static auto x = (retain(unit), 0);
                        ^
 
@LightnessRacesinOrbit ^
 
user1804599
I initialise it with a fucking side-effect you fucking piece of shit.
 
user1804599
Wait, I don't have to. :D
 
If it has a trivial dtor it's pointless.
 
@R.MartinhoFernandes Do you have any future plans for Nonius?
 
4:47 PM
Evening all
 
A few additional features.
 
@Borgleader don't get it
 
@Puppy The Stig want more Top Gear, but all the hosts are gone. Badum Tishh.
 
user1804599
Also refcount is 1 by default instead of 0 now lol.
 
Has anyone here bought a Raspberry Pi 2?
 
4:50 PM
@Borgleader aw :(
@Borgleader A version increment I imagine
 
@Puppy Its in reference to Jeremy getting canned
(notice the last panel where he's alone in the Top Gear warehouse)
 
user1804599
> It is unspecified whether the destructor for the object referred to by typeid is executed at the end of the program.
 
user1804599
Why would this ever be significant?
 
@LightnessRacesinOrbit Why did they have to can him :(
 
@Borgleader I got that, but I didn't really get what the reference was supposed to be.
 
4:53 PM
@Borgleader Because he punched an employee in the face repeatedly for 30 seconds and used racist taunting for no good reason?
inb4 there is never a good reason
inb4 stfu
 
@Puppy Oh the first part? They always introduce the stig in this manner, "Some say <preposterous claim>, and that <second preposterous claim>, all we know is, he's called the stig"
 
"lol jeremy got canned" would be more effectively expressed in English text
 
user1804599
Also, T* x = nullptr; typeid(*x) for a polymorphic T not being UB is silly.
 
@райтфолд Not if T is non-polymorphic.
well that should be UB really
 
@Borgleader I wouldn't bother. Top Gear is an institution, enjoyed and loved by millions around the world. Therefore Puppy is likely to be hard against it, and to have no clue about its details.
 
user1804599
4:55 PM
It throws bad_typeid.
 
@LightnessRacesinOrbit Wouldn't he also get charged with physical assault in that case? I didn't hear about the repeated punching part.
 
user1804599
Well, anyway, time to hack around with vtables and typeinfos after taking a giant shit.
 
@Borgleader The victim revealed yesterday that he is declining to press charges, though the police are still investigating.
@Borgleader What did you think happened then? All the news has been doing the last week is telling us about the verbal and physical assault
 
yay simple abstract GPGPU FFT without hassle yay!
Yay for VexCL yay!
and it's even faster than FFTW including the copies in each benchmark iteration.
Now that's what I call cool.
 
> this is my very first ever post so please don't slam me if I use the wrong protocol to ask this question
I never understood this
Why would that be an excuse?
What prevents you from reading existing questions and the help pages to see how to ask a question?
 
4:59 PM
@LightnessRacesinOrbit I don't read the news much, the only bits of information I originally got were inaccurate it seems as they made it sound like a heated dispute between the two, not one being attacked by the other.
 
Why should anyone put up with "the wrong protocol" from every new user just because they're a new user?
I don't get it.
 

« first day (1624 days earlier)      last day (3306 days later) »