« first day (1234 days earlier)      last day (3732 days later) » 

12:00 AM
I never use the mouse for editing.
 
half of the time is too much for the mouse :P
ninja
 
I use it to maneuver around the files sometimes.
 
Ok, I should really stop eating this things
 
But as you said yourself it doesn't really matter as long as it suits the individual
@Jefffrey It's funny that you keep eating them after you have those thoughts
 
12:02 AM
It's easier to use my phone as a mouse than to use Mouse Keys.
 
I feel the cholesterol pumping through my veins
 
@Rapptz you mean through VNC or similar?
 
yes
 
I've not tried MK but it seems to me that M > phone > MK
 
?
 
12:06 AM
My point being that using an actual mouse seems more efficient than using MK or the phone for that purpose. But when editing I think it's too slow indeed.
 
oh MK is MouseKeys
the only reason why MK is incredibly terrible is because it's slow.
 
the last time I tried vim, I pumped it so much with plugins that, when a file was more than 100 lines long, the program would basically crash
 
you have to keep holding down the keys to see the mouse accelerate slowly
I'd imagine this would be torture if I didn't know so many shortcut keys.
 
@Rapptz sounds slow as hell
@Jefffrey that's awful - is Vim still single-threaded?
 
dunno
 
12:10 AM
 
Oh I hate those things
 
@Rapptz that number is extremely small
 
there's a + in the end!
 
> extremely
@Rapptz lol
 
The + fixes everything :)
 
12:12 AM
Why not ask your compiler? — Borgleader 7 secs ago
2
 
@Borgleader is this one of those "does this program compiles" kind of questions?
oh lol
it's even worse
 
lol
I don't facebook so I wouldn't know if it was satire.
I'd bet on it though.
 
You tell me if it's satire.
 
I just realised with MouseKeys I don't know how to click and drag
Oh I have to press 0 to hold it and . to release.
Terrible
 
12:16 AM
I mean, it might be, but they're asking for donations.
 
> Chinese symbol for violence: 暴力
Korean symbol for marijuana: 暴力

Coincidence?
lol
 
@Rapptz all in all it sounds extremely terrible :p
@Rapptz why do you even use it?
haha @Jefffrey
 
@EtiennedeMartel well, this seems satire
 
I have no mouse!
 
@Jefffrey Yeah.
 
12:18 AM
@Rapptz Damn! Why have you no mouse?
 
At the moment anyway
I'm pretty sure it's satire
 
when did they remove the "lack sufficient research effort" close reason?
 
@Rapptz Here, I'll donate you a mouse then :P
 
@Jefffrey You could always make a custom one: "Would be more rapidly and accurately be answered by actually compiling and running the code."
 
@Jefffrey ah, I thought something was different at some point but I couldn't make out what had changed for the close options.
 
12:20 AM
lol
I play Hearthstone with my phone :v
 
lolwat
 
is that a fun game?
 
Hmm I wonder if I can ask "Why is this so fucking slow" on Mathematica.SE =/
 
not really
 
why play it then?
 
12:21 AM
@MortenKristensen you can reply to messages by clicking the arrow (with your mice of course) at the right of every message
 
I ask myself this every so often
 
@Jefffrey Yes I know that
 
then y u no do that
 
I do that when it makes sense - and when the last message by that person is not the one I'm replying to.
 
I play it cause it's fun sometimes
 
12:23 AM
@Rapptz so it is fun ;)
 
Sometimes.
 
Sometimes.
 
Using my phone as a mouse again :v
 
@Rapptz well I think it's more efficient than that shitty MK :P
@Jefffrey I didn't notice, at the time, that there was a message in between. I am not perfect - what do you want from me?! :P
 
12:25 AM
I forget my name is in italics
It looks more prominent with your theme than it does on mine
 
@MortenKristensen to get used to use the arrow :)
 
@Rapptz why is it that actually?
 
@Rapptz it screams "POWER"
@MortenKristensen he is a room owner
 
@Jefffrey I will do that when I thin it makes sense :P now it does
 
Room owners have their name italicised.
Moderators have it in blue
 
12:26 AM
@MortenKristensen I'm so horny
 
@Rapptz Oh I see :) thanks
@Jefffrey That's not my problem, now is it?
 
hm
 
just wanted you to take note of that
 
Also I'm sure you can use your Fleshlight, @Jefffrey
It must be the responsibility of the room owners to service the clientele of the room?
 
nah, just to bin their messages
 
12:30 AM
binning and changing the topic is pretty much the only thing owners can do
 
deadmg takes his responsibility pretty seriously
 
Hehe :P that must be a blast
 
it's useless
oh you can also pin messages and remove stars
 
@DeadMG oh hey, you speak of the sick devil...
 
Well, I'd not mind having my nick italicised
 
12:32 AM
@DeadMG, do you some medical visits to look forward to?
 
@DeadMG change the rooms feed
 
not currently
@MortenKristensen Not a chance in hell.
 
lol
@DeadMG how are you holding up?
 
@DeadMG haha, there is always a chance - even in hell
@Jefffrey I just realised that it doesn't mark them as a reply when I just use the nick. The reason why I don't always use the arrow to the right is because when I hover the message it highlights the on in correspondence. So therefore I shall use the reply-to arrow now.
 
@Jefffrey Shit.
I'm going to bed now.
 
12:36 AM
Sleep well, @DeadMG
 
holy shit dude
 
uhm.. thanks
 
is there one single message, ever, in the entire Lounge that you didn't write a reply to?
 
...
go to bed already
 
I guess the answer to that is "no"
 
12:38 AM
It did make me laugh out loud though :p
 
Why are you being a dick?
 
all I'm saying is
he produces a colossal amount of noise and I don't remember much signal
 
He's chatting in a chat. I don't get the problem
It's not like he's spamming with nonsense, he's just partaking in a conversation
 
Wow.. I'm sorry your lousy day should be my fault, @DeadMG
And as far as I see it I was being polite
 
@DeadMG night
 
12:55 AM
Well that was mostly pleasant today. Now I'm off as well. See ya!
 
Bye
 
bye
 
First Mathematica.SE question and it comes with a Nonius benchmark!
/cc @R.MartinhoFernandes
 
1:17 AM
@Borgleader nice :D
Nonius looks great
 
Of course it's great... Robot made it! :P
 
25
Q: Call a method without calling it

Alex M.Inspired by a now deleted StackOverflow question. Can you come up with a way to get a particular method executed, without explicitly calling it? The more indirect it is, the better. Here's what I mean, exactly (C used just for exemplification, all languages accepted): // Call this. void the_fu...

lol it's become semi-popular :P
 
1:34 AM
> The man who invented it doesn't want it for himself. The man who buys it doesn't buy it for himself. The man who needs it doesn't know he needs it. What is it?

-Norton Antivirus
Reddit is a genius
 
@chris coffin :P
jerry coffin
 
nailed not bolted
 
user3010322
buried, not cremated
 
1:51 AM
0
A: Why is my solution to PE #5 so slow

VF1This is pretty much instantaneous for me: LCM @@ Range[1, 20]

My question was "Why is this code so slow", his answer "Well this totally unrelated function works fine"
-.-;
 
@Borgleader My question is, why do you hate c++?
 
@CaptainGiraffe Huh?
 
@Borgleader Mathematica is a fiendish bastard that is not even welcome to our funeral.
 
Its a FGITW standoff between me and Joachim Pileborg!
 
remove your last suggestion
 
2:03 AM
Nonius looks interesting. Also a funny reappearance of "*.hpp" for headers.
 
@Rapptz Done.
 
@CaptainGiraffe you mean h++?
 
tbh it does the default constructor call automatically
so there's no point in specifying it in the first place
 
@Jefffrey first time I've seen that.
 
@Rapptz Yeah I know but OPs question is how to call it so
I guess I could mention it's not necessary.
 
2:05 AM
you should
 
@Borgleader I think your answer should include the code you had before, just with a caveat.
 
@Borgleader, also divisors have member functions begin and end :)
 
@CaptainGiraffe it had a caveat, it's just a really bad way of doing it because it might promote MVP.
 
@Jefffrey Yes but this way I could change it to a raw array and the code would still work ;)
 
@Borgleader why would you want to do that :/
 
2:06 AM
because generic code is good
 
^ this
 
IMHO it should be included because that syntax is sometimes needed, just not there.
 
generic code is indeed good
 
it's never needed
it's a fault of the language IMO that it's even there
:v
 
but the only time you want to use std::begin and std::end is with raw arrays
 
2:08 AM
well actually I can think of two use cases for it now
 
and I can't think of a single instance in which you want to use those (as compared to std::array for example)
 
@Rapptz as functor arguments it is convenient
 
that's MVP! oh misread
 
wat
 
@Jefffrey why would you not want to use std::begin and std::end?
 
2:10 AM
@Rapptz 4 whole more chars
are you insane?
 
is std::begin(container) in 11 or 14?
 
11
 
VS2012 is giving me grievances. Is festivus close?
 
@Jefffrey You need the using declaration if you want it to actually work properly.
 
@Potatoswatter what's "it"?
 
2:15 AM
@Jefffrey std::begin. Actually, that's not really true, since there are no user-specific ADL overloads.
 
there you go
 
(ADL actually plays no role at all.)
 
@Jefffrey Just like the using std::swap; swap(...); idiom.
Morning.
 
morning
 
2:17 AM
Ah 10:17 AM, when the Philippines gets bored already and goes to the Lounge :)
 
@Potatoswatter Haha. Yup.
 
my habit of checking how many votes to close something has on the review queue caused me to fail an audit lol
 
Damn, Pileborg got the accept :( Oh well, 20 rep is 20 rep.
 
The ranges mailing list's flooding with messages!
 
2:19 AM
2
A: Why is my solution to PE #5 so slow

rm -rfYou've tried to use Fold, which is good, but the spirit of the algorithm is still very "procedural", in that you're not utilizing the Listable properties of certain functions and you're brute-forcing your way through the set of integers. For instance, Mod can take a list as a second argument, Fol...

DAT ANSWER :D
 
@Potatoswatter Real men just use adl::begin and adl::end
 
Now the modules one is officially the least active mailing list.
 
@MarkGarcia Do all the study groups have mailing lists? Because Databases, UB, and Reflection don't seem to be hot topics either.
 
@MarkGarcia forgot about that
 
and I believe ADL in this context just means "argument dependent lookup". That allows the code to use "swap" with or without a local swap function being defined. If a local one doesn't exist, then std::swap is used — vmpstr Jan 24 '11 at 13:49
 
2:22 AM
I thought you were allowed to define a specialization of std::swap for your own classes
 
this is the simplest definition for ADL :P
10/10
 
@Jefffrey Overload, not specialization. Specializations are allowed but it's not a good idea.
 
it's also useless
template specialisations are usually shitty unless it's a meta function
 
@Potatoswatter Reflection occasionally has messages, and also DB. (don't know about UB, haven't subscribed). Modules, however, still four topics‌​.
And it was two last time I checked.
@Rapptz That maybe is also true for the swap idiom because of move semantics.
 
yeah probably
 
2:26 AM
@Potatoswatter No, you're not allowed to overload.
 
you can overload swap, just not in namespace std
 
@R.MartinhoFernandes You overload swap, not std::swap, to be precise.
 
Hmm. A swap "overload" is technically not an overload of std::swap until they are brought together to an overload set using the swap idiom.
 
how did it get to 3:30AM FFS
gotta sleep guys, see ya tomorrow
 
Good night.
 
2:36 AM
is it possible to short circuit 3-state booleans?
no right?
 
Nites
 
If you're not watching the Oscards, raise your hand.
o/
 
\o
 
I'm considering getting one of these. But I'd like to know that the box is actually reliable before I jump on it. :(
 
@Mysticial Get a trampoline if you need something to jump on =/
 
2:46 AM
@Mysticial ...why?
 
@Rapptz Why do I want to get it? Or why do I want it to be reliable?
 
former
 
@Rapptz I've had a shortage of hard drives for the past like 3 years. Been holding off ever since the floods.
 
Its 3.5 stars on amazon, and 3 on newegg, I find that a bit low for a WD product :(
I'm no expert though
 
2:48 AM
I used to be able to fit everything on one or two drives. Now everything is scattered all over the place. And I've been "stealing" from my computation drives (which tend to be more "worn out" and unreliable from all the grinding.)
 
4 bays and 16 TB doesn't leave much room for redundancy. Their portable enclosures haven't given me such a good impression. They want to pad their low commodity hard drive margins.
 
@Potatoswatter I backup on separately on externals.
 
4 bays and 16 TB doesn't leave much room for redundancy. Their portable enclosures haven't given me such a good impression. They want to pad their low commodity hard drive margins.
 
Choppy connection?
 
> redundancy
:P
 
2:50 AM
@MarkGarcia ah...
 
@Mysticial Yeah. I only hit submit once, FWIW. Like 10 minutes ago.
 
I have close to 10TB of non-digit personal data. That would fit nicely on to a 16GB box.
4
 
@Mysticial You're the only person I know who has "digit data" xD
 
lol
 
And it would free up the ugly mess of smaller drives that I'm currently using.
 
2:52 AM
googling for 16 GB boxes gives me the impression they all suck
all have terribad ratings
 
How do you explain 10 TB of anything if the FBI knocks on your door?
 
I mean, it's one thing to have a few bad reviews but it's another to have it be the majority.
 
@Rapptz Right. And if you factor in the ratings tend to be more negative than positive, it's hard to draw a conclusion.
 
@Potatoswatter I know a SC2 streamer who has a 500+GB folder called Horse Porn (its not actually horse porn) try explaining that to the NSA :P
 
@Potatoswatter Anime, movies, music.
 
2:54 AM
@Mysticial That's some hardcore compression.
 
@Rapptz That's expensive.
I actually want the box to put everything together.
 
it's $1080
compared to the $1k box it's not that expensive
 
I've been looking for a box for a long time. They tend to be shit. USB3 never works. But USB3 from Seagate and WD have always worked.
@Rapptz $1k box including the 4 x 4TB.
 
I know that
 
2:56 AM
@Mysticial Have you tried asking on Tom's Hardware or similar sites? You might be able to get good advice from people who actually own this kind of hardware.
 
@Borgleader I haven't asked. I just do reading. But it's hard to just ask anyone. I just want to know that the $350 box won't die on me in the next few years.
 
what $350 box
 
I've tried tons of < $200 4-drive boxes from 3rd party companies. They're all shit.
@Rapptz The 4-drive WD NAS box. The box alone is about $350.
 
is this Newegg Premier thing new
I don't remember seeing it
 
The best 4-drive box I have right now has a broken USB3. But at least the esata works. It currently houses all of my "digit data". The USB3 turned out to be defective by design.
 
3:01 AM
seems like their version of amazon prime
 
What you need is reliable cooling and power supply, so the drives don't fail while the box appears to still be working. In a home setup, why just use a big PC case and afford the drives the same protection as everything else? Or alternately, get the foundation for an entire server for just a few bucks more than the drive enclosure alone?
 
@Potatoswatter I used to do that. But I move around and re-configure my desktops too often. So as of a few years ago, I've moved everything external.
In college I would have an extra desktop on 24/7 with all my drives hooked up to it. So it acted as a NAS. But I can't do that at home since our power bill is almost $200 a month.
 
Hmm, Gregory Hall?
 
Hmm, free electricity… Gregory Hall?
 
3:07 AM
Most dorms in any college have free electricity.
It wasn't uncommon for me to have 4 or 5 machines on running full power. One of which doubled as a NAS with all my external drives hooked up to it. When I went home for vacation, I'd take the drives with me.
It was also funny when we had our "green week" where there was a competition between all the dorms to be green as possible for one week. They judged us by how much we could use less (power + water) than the averages of previous weeks. Since I had my machines running almost 100% of the time, all I had to do was turn everything off for that week. We almost won.
Most students only had a laptop. (which probably doesn't pull more than like 10W/h if you average it over the day) Between me and my roommate we had 3 desktops, 2 laptops, and a dual-socket server. I think our combined draw was close to 2000W/h 24/7.
 
Godddamn this connection!
 
lol
 
I thought you were a grad student though. Anyway, that's probably not much worse than running a broken air conditioner with the window open as many kids do.
 
@Potatoswatter In grad, I had even more machines. But I was by myself in a single-occupancy dormroom.
During undergrad, the AC was centralized.
 
That varies dorm to dorm.
 
3:19 AM
@Mysticial W/h?
 
@R.MartinhoFernandes watt hour
 
That's Wh.
 
more like average wattage
 
And still doesn't make much sense in that sentence.
 
Watt-hour is a measure of energy… it can't apply 24/7
 
3:19 AM
@R.MartinhoFernandes yeah I realized too late.
 
What you probably meant was just W.
 
24/7 could just be a rational number, and the total amount ever consumed was 2000*24/7*3.6 kJ.
 
I suck at units.
 
lol
 
lol. pi doesn't have a unit!
@Potatoswatter Our connection sucks too. :(
 
3:46 AM
π = 0.5 τ … given the right unit, I computed all the digits :)
Speaking of units, the Ukrainian military seems to be lacking :(
 
Fair point (pun intended) but this should really be a comment (I know you don't have the rep for that yet, but still). — Borgleader 9 secs ago
 
qwr
4:26 AM
hello
 
-2
Q: C++ which constructor will be called

user2916886If suppose in a class I have two constructors Room() { length = 0; width = 0; } & Room(int value = 8) { length = width = 8; } Now if from main I call using: Room obj1; obj.display(); which constructor will be called or will it throw error? I think that it will throw error as compiler wi...

gdi...
 
I cant try it as of now because I dont have C++ compiler on my system.Otherwise I would have done it instead of asking here — user2916886 11 mins ago
ahahaha
 
qwr
I have a silly question
if I type a*b multiple times in my code will that be slower
a and b are constants let's say
will it be slower than if I did something like c = a*b at the start
 
It shouldn't be. I think the compiler should optimize that.
On the other hand, using a temp variable makes it easier to change if necessary.
 
4:34 AM
No, constant expressions are resolved at compile time by constant propagation. C++ also has the const and constexpr keywords which allow you to specify that a variable is a constant.
 
qwr
so if a and b weren't constants
but did not change in the multiple times I used a*b
would the compiler see this and not do the same multiplication over
 
depends on how dumb it is i guess
 
qwr
?
 
@qwr Compilers usually have an "optimization level zero" designed to expose as much behavior as possible as individual steps, to help with debugging. This is basically playing dumb, and it may cause otherwise-constant expressions to do something at runtime.
Even if they aren't declared as constants, the compiler is likely to notice that they cannot change, unless you do something to purposely make it uncertain.
 
qwr
interesting
I noticed gcc had -O, -o1, -o2, does that have anything to do with it
 
4:43 AM
-O3 is the best
 
Yes; -O0 is what I'm referring to as playing dumb.
-o1 will just name the output file as ./1 if it's valid at all :P
Because -O0 generates such verbosity in the output, it's often slower than -O1.
 
qwr
thanks
 
5:38 AM
mawnin
 
I know theres code, but he's asking for an explanation of the algorithm so I feel like it should probably be Math.SE or Algo.SE (if that exists)
 
5:58 AM
Remember that some folks just don't want to open a new SE sub-account, and many would never search the other site. Math questions which are stupid, and would only be asked by a programmer, are always on-topic in my book.
 
I was just curious.
There are some close reasons for which I'm not sure what constitutes on and off topic
 
Yeah. I just answered a similar dumb math-ish question last night… sorry for being grumpy. Also I'm waiting for my lunch to finish heating, pretty hungry right now.
 
new se sub-accounts with open-login-thingies are a matter of 3 clicks
 
True, but once you're there you're a newbie again and there are likely to be new, foreign conventions and lingo.
 
mmm, perhaps, perhaps
 
6:04 AM
I'm glad I didn't go to bed yet, answered another question :3
 
:D
stack overflow for every language, go!
 
@Potatoswatter Haha nice. Though I think it will be unnecessary as most Filipino devs are fluent in English (not to mention the 6 years in elementary, 4 years in high school, and ~2 years of college just learning basically the same English lessons).
 
@Borgleader At least IMO, yes. Questions aren't restricted to code; ancillaries related primarily to coding (e.g., algorithms and tools) are topical as well.
 
@MarkGarcia Education is uneven from place to place. At the shop I worked, my coworkers were still more comfortable in Tagalog, and would only use English when necessary. They were still pretty competent, and some of the more technical guys could barely get by in English — they didn't need to because they were shielded from the customers.
 
6:17 AM
Huh, TIL random_engines can be easily saved to file and loaded later.
 
uhh, sure, just save their state, vOv
 
Yeah but I didnt know they had operator << and >> defined already
I thought youd have to do memset shenanigans
 
memset? really? :)
 
@Potatoswatter I guess so. Their edge is that they have good understanding English, though not necessarily fluently speak it. Also, listening is less developed than reading.
BTW, Windows Azure is nice.
 
6:25 AM
@MarkGarcia Is that the server thing?
 
@Borgleader Microsoft's "cloud" thing.
 
@Borgleader Yes. Web hosting, cloud and VM.
And "cloud" having a fuzzy meaning.
 
user image
5
@MarkGarcia ^ This kind of fuzzy? :P
 
@Borgleader lol. I would even say I am like the boss in there when reading articles about the "cloud".
 
6:39 AM
@Borgleader lol
 
7:22 AM
Stackoverflow is not homework completion service. — Borgleader 15 secs ago
cv-pls
 
HACK THE STARS
2
 

« first day (1234 days earlier)      last day (3732 days later) »