« first day (945 days earlier)      last day (4002 days later) » 

3:04 PM
is there an advantage bind over a lambda?
 
Done, thank you again
 
user142019
@rubenvb In general?
 
user142019
In some cases it can be shorter.
 
user142019
[] (int x) { return f(42, x); } vs std::bind(f, 42)
 
Hey
Is anyone here familiar with WEKA/Java?
 
user142019
3:06 PM
Java = GTFO.
 
std::bind performs an erase, though, doesn't it?
 
@JennaMagic Why are you asking this in the C++ Lounge?
 
Because there is no Java lounge that's active.
 
user142019
> And no PHP or Java questions, no matter what. They will be binned and you will be deemed annoying.
 
user142019
3:07 PM
You should've read the rules.
 
It's an internet chat room. Relax.
 
@rightfold hmm, but you're not counting the #include <functional> :P
 
Yes please do tell us, people who hang around for years, what this is
 
@JennaMagic Do you go to the butcher's to buy bread if the bakery is closed?
5
^ Yes, I have used that before.
 
user142019
import functional;

functional.bind(f, 42);
 
3:10 PM
What, the butcher?
 
@rightfold ='[ C++34
 
user142019
@ThePhD C++Never
 
@LucDanton that phrase when people came in here because "it's the most active room"
 
Lounge<TheButchers> : we'll grind your bones to make our bread.
 
user142019
1) Bakery closed.
2) Go to butcher's.
3) Buy meat instead of bread.
4) WIN!
 
3:11 PM
@rightfold I bet D already has that exact thing.
 
user142019
@rubenvb So D is C++Never.
 
Wow.
 
@rubenvb E.g. when polymorphic functors or move-only types are involved.
 
user142019
This is now Lounge<D>.
 
user1182183
well... a cheater won't cheat anymore but a determined hacker is going to hack the assembly anyway ;>
 
3:13 PM
That's a looot of effort.
 
A lot of pointless effort
 
user1182183
@CatPlusPlus it was just for fun to see if I can do it
 
If you want to protect the state, then don't keep it in the client maybe
 
user1182183
not going to use that in anything lol
 
user142019
inline void SwapBits(unsigned long long &variable, unsigned char BIT1, unsigned char BIT2)
{
    unsigned long long x = ((variable >> BIT1) ^ (variable >> BIT2)) & ((1U << 1) - 1); // XOR temporary
        variable ^= ((x << BIT1) | (x << BIT2));
}
 
user142019
3:14 PM
And this is what you get for using tabs to indent.
 
Nothing stops the cheater from incrementing the value one at a time until they get a value that beats the encoder / decoder.
 
user1182183
@rightfold complain to visual studio it didn't change my tabs to spaces?
 
And then they just fix their health at that value and never die.
 
user142019
Why are you using Visual Studio.
 
user142019
Use Vim.
 
user142019
3:15 PM
Man I'm hungry.
 
user1182183
@rightfold 1) i'm no a linux user, 2) i'm not a linux user 3) I will never be a linux user (sorry linux but Y u no have cool games?) 4) I like GRAPHICS and buttons, not finger breaking million keyboard shortcuts and no mouse.
 
user142019
Vim is irrelevant to Linux.
 
user142019
I didn't say anything about Linux.
 
user1182183
oh it has a windows port too..
 
user142019
Vim has buttons and mouse support.
 
user1182183
3:17 PM
good I didn't know.
 
user142019
LOL
 
Wooo
My compile times are dropping again!
Still long but now they're even shorter.
 
@rightfold I love these one-sided conversations when you talk to somebody who's plonked...
 
DAT DEPENDENCY CUTTIN'.
 
user1182183
so I'm wondering, is it able to open .sln files from visual studio?
 
user142019
3:17 PM
@JerryCoffin :)
 
user1182183
I think that ideone link I posted suggests something... at least the first 4 identifier chars of the paste xD
 
user142019
Use Waf or SCons. ( ͡° ͜ʖ ͡°)
 
@ThePet lol. I'm sure it can open text files just fine though...
 
Use ninja
 
user1182183
@rubenvb I mean I don't want to spent hours configuring every project again IF i'm ever going to switch to it?
 
3:19 PM
Apparently this is my most listened track.
 
Ninja is nice.
YUKI KAIJURA
\o/ !
 
user142019
Life is boring.
 
Ell
@ThePet Linux has good games!
 
@rightfold Can I buy your life then?
 
user142019
3:20 PM
Sure.
 
Ell
@CatPlusPlus but ninja isn't supposed to be handwritten, is it?
 
@ThePet just run msbuild to build and use vim as an editor?
 
user1182183
@Ell sure... name a few?
 
user142019
Five billion US dollars.
 
@Ell Yeah, like find-the-dependency.
 
3:21 PM
@StackedCrooked your distro sucks.
 
user142019
I'm going to spend this week learning all about Perl.
 
Just kidding. I rarely have dependency problems actually.
 
user142019
I like Perl's syntax and Perl is interesting.
 
However, Linux desktop is so ridiculously bad.
 
user142019
@StackedCrooked Try Gentoo or Arch Linux with i3.
 
3:21 PM
~Perl~ The most disappointing name for a programming language.
 
Ell
@ThePet Minecraft, Don't Starve, TF2, L4D2
 
Simple resize of a Window is hard because there is only 1 pixel margin where the gripper appears. Shit like that.
And then the scrollbar pops up in front of it.
 
user1182183
@Ell not my type games, however going to look what don't starve is
 
user142019
Use a tiling window manager and resize using the keyboard.
 
@rightfold What does any of that have to do with "Linux desktop"?
 
Ell
3:22 PM
Oh. Just niggly bits?
@StackedCrooked That is just ubuntu :3
 
@StackedCrooked oh, that's Unity. Unity blows
Use KDE or pure GNOME.
 
I kind of liked Gnome2.
 
not that Crapbuntu crap.
 
user142019
@rubenvb You can use it as a desktop environment, maybe?
 
user1182183
and seriously why linux, why going through all the hassle finding working drivers for every device and then come to the conclusion there aren't any...
 
3:23 PM
@rightfold He says the linux desktop sucks, you say, use Arch/Gentoo/i3. I don't follow.
 
user142019
@ThePet You have no idea what you are talking about.
 
user1182183
@rightfold well I hear enough from my friend who uses linux and never windows
 
user1182183
and he has always problems
 
Ell
@StackedCrooked Cinnamon (Linux Mint's one) is actually really neat. It's not like unity
 
@ThePet because they're already part of the kernel and working?
 
user142019
3:24 PM
@rubenvb i3 is a window manager.
 
user142019
Similar to xmonad.
 
Ell
@ThePet How can you say that if you haven't tried it? Every single driver worked on my install of linux mint
 
never heard of it. I doubt it qualifies as "desktop environment".
 
Ell
In addition it was easy to install nvidia's proprietary drivers
 
@Ell pacman -S nvidia nvidia-utils
 
user142019
3:24 PM
When I refer to "desktop environment" I mean something that can manage windows.
 
Ell
It's a tiling window manager. So you can manipul;arte all the things ith just your keyboard
 
instead of that GUI crap.
 
user142019
For working with files I use Z shell anyway.
 
@rightfold oh, a Window Manager.
DE != WM
 
user1182183
i'm just no linux user, would've been different if I started using linux 10 years ago probly
 
Ell
3:25 PM
I might install i3
 
user1182183
anyway as a gamer I don't see a reason to switch to linux
 
user1182183
as a developer okay
 
user1182183
I do see the points
 
user142019
The less I need to use a mouse pointing device the better.
 
touchpads+linux=fail.
I've tried on four distinct laptops. Horrible. Just horrible.
 
user142019
3:26 PM
@rubenvb Works fine here.
 
user1182183
heh yeah tell my designer friend who is a professional in using maya and zbrush to switch to linux, never gonna happen xD
 
@rightfold Have you compared with a Windows experience?
 
@Ell never had any driver problems either
 
user142019
@rubenvb It works better on Gentoo than it did on Windows 8.
 
@rightfold then you must be either hyper sensitive or be very lucky.
 
user1182183
3:28 PM
well until some linux freak doesn't make some .exe and directx support on linux I don't think anyone using windows is ever going to switch (except when you're a programmer)
 
all my tabs just dissappeared and I can't find them anymore.
 
user142019
Even multitouch worked very well.
 
user142019
And scrolling with momentum.
 
@ThePet WINE is pretty decent nowadays up to DX9.
@rightfold circ scrolling?
 
user142019
Maya uses OpenGL.
 
user1182183
3:28 PM
@rubenvb I'm plaaying DX11 games biatch XDD
 
user142019
@rubenvb well, when you swipe quickly it keeps scrolling for a while, slower over time until it stops.
 
Effective C++11 says: Declare functions noexcept whenever possible
That's a whole new convention.
 
@rightfold my touchpad is like 1.5 on 3 inches. I have no momentum. Still. I stand by my opinion.
 
user142019
My trackpad is about 2.5 by 4 inches.
 
user142019
Still works better on OS X than on Gentoo though.
 
3:32 PM
I find it very funny how Apple makes people use their brand names for common things.
@rightfold well that would have made my point. How could I know you have a Mac?
iPod <-> media player, iPhone <-> smartphone, iPad <-> tablet.
 
user142019
May 14 at 13:42, by rightfold
Let's see whether I can build Ogonek on OS X.
 
Excuse me for not reading all of the transcript. Derp.
 
user142019
:D
 
user142019
You know.
 
user142019
Our grade for SQL was calculated 60% from the test and 40% from the homework.
 
3:38 PM
TI-99/4a Rocks!
 
user142019
I didn't hand in any homework and I still got a 6/10, which means that I got everything right on the test.
 
In college, labs count for 10% of your grade yet take up 80% of your time. :)
 
user142019
You must get at least 5.5/10 here.
 
where is that rightfold?
 
user142019
The Netherlands.
 
3:42 PM
Well, in the eyes of high school in the US (at least when I attended and they changed the standards), a 6 was failing.
 
user142019
5.4999… here is failing.
 
High school in the US is very school-dependent
it really doesn't matter what counts as failing.
 
I know, it's weird how it works...
 
user142019
The minimum you get for anything is 1/10.
 
You can adapt the grades you give as a teacher.
seriously.
 
user142019
3:43 PM
(10 + 1) / 2, hence 5.5.
 
Ell
I think I might get i3
 
or you can shortcut that and say what counts as succeeding is if other people beside you enjoy something you created.
 
user142019
10/10 is flawless.
 
user142019
I scored that only thrice this year!
 
good job!
In my college programming classes, I got 100% except for one where I got 110% for doing extra credit.
 
user142019
3:45 PM
In high school I always got 10/10 for Dutch dictations.
 
user142019
And I always got 1/10 for German and French. :D
 
Nobody can be perfect at everything.
I failed my first Electromagnetics coursed, but followed up with 94/100
 
@JFalcon Speak for yourself! :-)
 
@rightfold Tsss. French isn't hard.
 
user142019
French is uninteresting and terrible.
 
user142019
3:47 PM
I wasn't in the mood to do anything for it.
 
@JerryCoffin, I did. :)
 
user142019
I rather speak English.
 
user142019
English should be universal language.
 
user142019
Or Korean, which has a decent alphabet.
 
Ell
I'm using i3 now
 
3:48 PM
Well, I took French and Spanish in High School, they are both interesting languages.
 
> Bruno, l'enfant défavorisé. Quessé qu't'a dans ton lunch aujourd'hui, du sable, ostie d'pauvre?
 
Ell
I can't see text I type on the terminal :/
 
I actually liked Latin the best.
 
user142019
@Ell Probably because you didn't open a terminal yet.
 
Ell
@rightfold I did.
 
user142019
3:48 PM
Hit alt+shift+return.
 
user142019
Oh. :v
 
Ell
The font is black :3
 
user142019
 
English is pretty universal in tech. Even some 'murricans can speak it.
 
But can they tell whether "canceled" or "cancelled" is misspelled?
 
Ell
3:50 PM
yay I fix.
@rightfold how do I move a window? o.O
 
user142019
@JFalcon The former is American English and the latter is British English.
 
@MartinJames I heard they learn it in school.
 
@right
err, @rightfold, yes.
 
user142019
@Ell If you have two windows you can move one using shift+alt+one of j, k, l, or ;
 
user142019
You switch using alt+jkl; and you move using shift+alt+jkl;
 
3:51 PM
@JFalcon Or signaled/signalled.
 
Ell
I can switch with arrowkeys too
 
user142019
I learnt English by watching TV shows with subtitles.
 
user142019
Dubbing harms. It's a terrible mistake.
 
user142019
Dutch people can easily learn English because of subtitles.
 
@righfold, @martinjames, there was a quandary about a misspelling from a QA team overseas. However, it seems that the spelling was inconsistent throughout the app, so, pot luck.
 
user142019
3:53 PM
Let the user decide if he wants US EN or UK EN.
 
Yeth, I leared English by redding the submarines auto-generalised by the subtile computer.
 
yep.
Dealing with hard-coded strings in a legacy app makes it more amusing.
 
@rightfold I learned English by playing StarCraft online.
 
@JFalcon Would be even more amusing if Unicode :)
 
@martinJames very old app!
later all.
 
Tek
3:56 PM
Simple question here, I have a function with void somefunc( unique_ptr<foo> const & fooObj ){} However I'm unsure how to call it and passing the unique_ptr as const &.
 
Ugh...
Well
I'll debug this problem later.
 
@Tek what have you tried an why didn't it work?
 
Tek
@Pubby I just tried a regular unique_ptr< foo > FO( new Foo() ); and passing it normally to somefunc( FO ); and got error: invalid user-defined conversion from 'std::unique_ptr' to 'const std::unique_ptr&'
I just want to know what the correct syntax is.
 
Tek
@LucDanton Can you show me what you did then?
 
Follow the link. You can edit it and try the online compiler, too.
 
Tek
@LucDanton Somehow I totally missed it. Thanks.
I wonder if it's because I'm using gcc 4.7.2
@LucDanton Got it, had a typo. :P Thank you.
 
Thanks for nothing, you did all the work yourself :)
 
Tek
Bahaha. Well you freed me from the doubt so you made me look in the right place :)
 
4:24 PM
0
Q: Use of WTF in comment on stackoverflow

R.SI am new to this site and would like to ask that is the word "WTF" is acceptable in comments or answer?I found that some users use "WTF" in their comment.Considering the standards and etiquette set by stackoverflow site , can we flag or report such offensive comments to maintain decorum? Thanks.

^^ oh noes... somebody is swearing on the internetz
 
For better or worse, either I don't remember seeing those comments or I don't notice.
 
@Mysticial haha
 
> deleted by R.S 39 secs ago
 
Tek
Lawl, I was about to read it.
 
OP undeleted
 
4:31 PM
ahahaha
there's been questions on manners and stuff before
someone should link for the OP
 
I flagged it as duplicate for meta.stackoverflow.com/questions/22232/…
I can't vote to close yet on Meta though.
 
I highly doubt that a nested loop is going to be more efficient than a more straight-forward approach... — Mysticial 19 secs ago
^^ eww...
 
I logged in for the first time to upvote this one:
14
Q: Was ist eine angemessene Übersetzung für "shitstorm"?

swegiWas ist eine angemessene Übersetzung für "shitstorm"? Gibt es dafür ein deutsches Wort?

 
lolwut
 
Let's overthrow the common decency vote and vote for profanity!
53
Q: Are expletives allowed on SE sites?

Jeff AtwoodCan I use salty, expletive-laden language on Stack Exchange sites, like Q*Bert? Return to FAQ index

@Paul: I'm trying to ascertain if there's irony to saying that expletives are ineffective communication, in classy writing dating back to Chaucer. Chaucer was one of the most ribald, bawdy and lewd "classy" writers the English-speaking world has ever seen. Those weren't double entendres in The Canterbury Tales! :) Anyway, I subscribe to Carlin: What makes a word "bad?" What did the words do, steal cookies from the jar in the kitchen? Rob the homeless shelter? — John Rudy Sep 16 '09 at 18:41
bad bad words.
 
user142019
4:44 PM
I don't give a fuck about it.
 
@rightfold I was once banned from chat for half an hour for using something related to fuck.
 
user142019
I was once banned from chat for half an hour for posting a picture of crack cocaine.
 
you evil son of a bitch.
There are fucking children here.
And you show them cocaine?
 
user142019
@rubenvb Well, since they're already fucking I think a picture of drugs can't do that much harm anymore.
 
badumtish
 
4:47 PM
@rightfold wut
 
user142019
I posted it in the C# room IIRC. :P
 
oh
 
user142019
Was some conversation about a crack.
 
user142019
You know, cracking software.
 
Tek
Woo! My vote bumped the answer to No. ^.^
 
user142019
4:49 PM
@Tek I made the scores on "No." and "Yes." both 76. :)
 
Tek
@rightfold Rofl nice, thanks! : D
 
user142019
I.e. I downvoted "No." and I upvoted "Yes."
 
Tek
@rightfold Misread that, I take that back
: P
 
I upvoted both yes, keep to minimum and it depends.
 
user142019
If you feel offended because you read the word "fuck" somewhere then I don't understand what you're doing on the Internet, seriously.
 
4:52 PM
There is an Iranian and a Christan Internet.
Go there, and fuck procreate.
 
user142019
Let's see.
 
user142019
What shall I do to eliminate my boredom?
 
Tek
@rightfold I think everyone has a different reason. For me it just seems like a waste of space, there's no point in having them. Plus it doesn't contribute to the point of the site. It's fine to use them they just have no use in SO imo.
 
1
Q: Chat Rules on Stack Overflow

VeekayI am just wondering about whether there are any rules about chat topic on Stack Overflow? When I first entered the chat room of PHP, Developers were talking about music. Does stack overflow monitor about this?

^^ lol
 
Tek
@Mysticial :D
 
user142019
4:57 PM
@Mysticial inb4 downvoted into oblivion
 

« first day (945 days earlier)      last day (4002 days later) »