« first day (1625 days earlier)      last day (3325 days later) » 

3:00 AM
> We have talked to the future president, Hilary Clinton, and she told us that she is extremely anti pokemon. It will be banned next year.
Definitely trolling now.
 
:P
 
:)
guess i should consider bedtime
 
That would be a waste of time.
 
#include<iostream> using namespace std; int getLen(chars); int main() { int len; char s[]="we are muslims"; len=getLen(s); cout<<len<<endl; return 0; } int getLen(chars) { int count =0; while(*s!='\0') { count++; s++; } return count; } — tayyibah alauddin 7 mins ago
 
3:04 AM
What the hell.
 
sir that is length function , — tayyibah alauddin 16 secs ago
completely ignoring the comments posted above
twat
-1
A: Why do we need to include the .h while everything works when including only the .cpp file?

Talha JunaidIf you write the whole code in the same file, then it will make your code ugly. Secondly, you will not be able to share your written class with others. According to software engineering you should write client code separately. The client should not know how your program is working. They just need...

more kek
 
@LightnessRacesinOrbit lol, the target name doesn't even match the name of the compiler output.
 
I am learning funny things about Python. a = list(range(x)) is a terribly slow thing to do, as it turns out.
Generating a list of 10 million elements takes much, much longer than sorting it.
And sorting it also takes long.
 
3:19 AM
Dammit. Removed the wrong key from .ssh/authorized_keys. Now I'm locked out.
 
lol
this is why leaving yourself only way in is stupid
 
I think I have a working key on the other box.
@LightnessRacesinOrbit I have an emergency key, but it takes a bit of effort to obtain it (it only exists on paper as QR codes).
@LightnessRacesinOrbit And I keep a different key for each peer-pair, so "locked out" only means from this machine.
 
in C++, 2 mins ago, by JABFreeware
totally... a girl c++ programmer
 
@R.MartinhoFernandes you don’t encode them on wax cylinders?
 
3:26 AM
@Wintermute How does that work?
 
@R.MartinhoFernandes You don’t have to tell us about your situation but putatively if the emergency key is not per pair that would defeat the point, no?
 
I feel so sleepy yet it's only 8:27.
 
@LucDanton As in being the weakest link?
 
yeah
 
@chris I'm guessing lots of allocation.
You don't just get integers in python.
 
3:29 AM
@LucDanton Sure, but it only exists in the same place where I keep my money, my ID card, and my bank cards.
 
1
Q: Correcting mistakes in the 1940 US Federal Census?

CarolyneMy youngest sister born in 1937 is not listed in family household on sheet 7B, ward 1, area E, ED 30-23, resident code 8414, enumerated 19 April 1940. She definitely would have been too young to be out of the household, and cannot be found elsewhere. How do I correct error by census taker?

lolwut
 
Ah, bribe the attackers. Smart!
 
It never sees the light of day. checks if it's still there
 
In the event I lose it, I could login from my phone and revoke it.
 
3:31 AM
Having one key per link (and direction) seems like the logical thing to do but so many passphrases :( How do you manage that?
 
@R.MartinhoFernandes So all your crucial things are in one place. Smart.
 
@LucDanton I'm good.
 
Each of Robot's servers is named after a Lounger, and the passphrase for each is what he thinks of that Lounger.
 
I've seen way too many smart quotes on SO lately.
 
3:32 AM
I haven't seen any
 
Nooble; Omnipotent
 
(“”)
 
‘’, „“, «»
 
At least 2-3 questions I've come across recently where the main problem was that being an invalid character
 
@LightnessRacesinOrbit I'm currently using Valar names. Loungers are not worthy of naming my boxes.
 
3:42 AM
@R.MartinhoFernandes Morghulis?
;p
 
@LightnessRacesinOrbit No, from Tolkien's legendarium.
 
@R.MartinhoFernandes It was a joke.
 
4:14 AM
night chaps
 
night
 
 
1 hour later…
5:29 AM
guys
did you know night vision googles can blind you?
if you put the lenses against your eyes and then slam your head in the wall
 
@orlp goggles*
 
oops
lol, googles
make me giggles
 
Noobles.
 
pandas
dropbears
 
Wasps.
Spiders.
Lions.
Blobs.
Yaks.
 
5:31 AM
I sexually identify as a yak.
 
Huh?
 
drop panda is going to kill you by twisting your neck using its bodyweight under gravitational force
 
Not under gravitational force but with its gravitational pull.
They're so big they have 12x the gravity of jupiter.
Tonight I suffered through hell. Not once in the documents do they say that you have to link libglfw3 before libopengl32.
 
ldd can help you sort that stuff out :v (assuming Posix/MingW)
mmmh oh maybe it’s binutils, oh well nevermind that
 
5:47 AM
I never knew order mattered :P
 
It’s really annoying quirk of the GCC driver :(
 
5:58 AM
Such a boring Saturday :(
 
Not saturday for me yet.
Wait, no, I'm being stupid.
 
..?
 
I meant Sunday.
I'm sleepy.
I should sleep.
 
Night.
 
Night :)
 
6:33 AM
Also suggesting a law that there must be consent before checking someone out.
 
6:46 AM
maybe just random trolling
 
Oh wtf...
I just rebooted my machine for the first time in a while and it no longer posts with the memory @ 2666 MHz.
 
what does it show?
 
Post hangs on with the code "BD" on boot. When I reboot it, it gets back into the BIOS on stock settings. If I drop the memory to 2400 MHz, everything seems fine.
Maybe something about the motherboard doesn't like the 1.35V for the memory. (DDR4 is supposed to be 1.2V.)
 
so are pretty miffed about having rebooted at all then?
 
I needed to reboot to install something anyway.
The machine has had problems rebooting before where it hangs in the BIOS. But this is the first time where I haven't been able to get it to post at all. And I haven't touched the overclock settings in over 2 months.
 
6:56 AM
do you need 2666?
 
Even though the memory has an XMP profile for 2666, now I understand why the box only said 2400. It probably wasn't stable at 2666.
@JohanLarsson No, but I found it as a built-in OC profile for the memory. When I tried it back in December, it worked... So I kept using it.
The main thing about the 2666 mode is that it requires 1.35V. Whereas the DDR4 standard is only 1.2V. Maybe the motherboard doesn't like that higher voltage.
Now I dropped it back to 2400/1.2V.
 
strange that it took two months to decide that it does not like 1.35
 
@JohanLarsson A lot of new hardware will have a "burn-in" period before it settles.
 
how does that work? Physics or software?
 
If I notice any slowdowns with 2400 vs. 2666, I'll just bump the cache frequency up a notch to compensate.
@JohanLarsson Physics.
Silicon degrades with use. (electromigration) The initial rate of degradation will be accelerated until it settles into a stable state.
In any case, goes to show that I don't know how to overclock memory.
There's clearly more to it than just frequency, voltage, and timings.
I should probably stop skimping on motherboards when I build machines with the intention to overclock.
Well... that's a surprise... My benchmarks run faster with the memory at 2400 than 2666... Um... Seriously what the fuck?
 
7:12 AM
11 mins ago, by Mysticial
@JohanLarsson Physics.
 
Maybe the speedup has something to do with the tighter memory timings.
 
@Luc I made a mess trying to make a point yesterday. :)
 
software is like ... micro physics ...
in the end, everything is ... physics
so yeah, the real speed limit for parallel computing lays in the speed of light
 
7:32 AM
so deep
So we're at Python 2.7.9
Is this the end of Python 2.7?
Will Python 2.8 exist?!
 
you are not expecting Python 2.7.9.1?
 
They seem to call the last series 2.x now. Or maybe they always did.
 
@Rapptz No
Also fragmented memory sucks
Also fuck DST
 
7:48 AM
Here's a simple flowchart to see whether you want to use Python3 or Python2:
Python3
 
I've been using Python2 forever and you have not convinced me of anything.
none of my code is Python2 centric though.
 
It’s one better!
 
Sane Unicode handling should be enough
rip my wallet
 
strings are Unicode by default
clean Unicode/bytes separation
exception chaining
function annotations
syntax for keyword-only arguments
extended tuple unpacking
non-local variable declarations
and a gazillion bugfixes/new standard library modules docs.python.org/3/whatsnew
 
way to copy paste from the wiki I've read before
 
7:53 AM
@CatPlusPlus wallet is only a carcass, the money inside is the spirit!
to give your wallet more power, you need to place more money inside
 
My main pet peeve against Python 2 is that I can’t remember the future stuff to import to make it Python 3-like :v
 
Ugh my glasses need cleaning
 
from __future__ import braces
 
I've never done a future import :v
 
Fucking hell
 
7:54 AM
Well I've done one for division once but I decided I'm not that dumb.
 
?!
Python3 division is 10x better
and print being a function is awesome
 
absolute_import, print_function and unicode_literals are bare minimum
 
I don’t like the print statement.
 
I already do print(...).
 
That's not the same as print_function
 
7:56 AM
then if you do print_function you can also do map(print, iterable)
 
Don't do that
 
That shows a tuple right?
 
Nope.
 
If you use commas, yes
 
"If you use a tuple, yes"
The one element "tuple" just prints the single element
 
7:57 AM
in Python3 print(1, 2) prints "1 2"
@Rapptz no it doesn't
 
It's not a tuple unless you have a comma there
 
>>> print (1,)
(1,)
 
Python 2.7.8 (default, Jun 30 2014, 16:03:49) [MSC v.1500 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> print("Hello")
Hello
 
that's not a tuple
 
That's not a tuple
 
7:57 AM
mmmh what’s the usual Python 3 executable? No python3 on Coliru but that’s not right, is it?
 
type(("Hello")) == str
 
1 min ago, by Rapptz
"If you use a tuple, yes"
 
python3 or py -3 on Windows
 
1 min ago, by Rapptz
The one element tuple just prints the single element
let's not twist words now shall we
 
Yeah I forgot quotes around "tuple"
sucks
 
7:59 AM
print function has more than just space-separated arguments anyway
 
there I added it in for ya
 
endl=""
 
end and fp kwargs are p useful
 
although the print statement has it too, in some ugly archaic form
 
With the statement the best you can do is space at the end and incompatible syntax for fp
 
7:59 AM
I use neither of these things.
 
@CatPlusPlus do you know/use some plugin that make Python3 docs show up in google/redirect you if you're on Python 2 docs
 
12 mins ago, by Rapptz
none of my code is Python2 centric though.
4 years, still not fixed: github.com/pypa/pip/issues/59
 
So what you're saying is "I have absolutely no reason to be using an outdated version of my programming language"
 
I use Python 2.x because my friend that used to maintain this extraction software uses Python 2.x.
 
I'm so glad I bought orange juice
 
8:07 AM
I like orange juice from time to time
at other times it's way too acidic =/
 
Head being all explodey is good time
Well for the juice
Not in general
Ugh someone upvoted my answer about super() and there's this other guy who's all " I often find the disadvantages of super() for constructor calls outweighing the advantages. " and uuuuuuugh
Like I don't have enough of a headache
Fucking snack overflow
 
Xeo
> You may not start your username with an underscore.
Sigh
At least they accepted my generated password. That's something.
 
8:24 AM
My mom just came over. She wanted to trade Camembert for my beer.
 
@StackedCrooked You throw her out?
 
I had plenty of beer on stock. So I accepted.
I should probably check the expiry date of that Camembert. Maybe she tricked me.
Dammit it expired March 15.
 
Xeo
8:40 AM
lol
gg
 
Yeah, that deal stinks.
 
9:11 AM
tricked :'(
Poor thing ... speaking of mums, you might know that I live at my parents place. But you probably don't know I also have a room at my own place. Last Friday, my mum came over to my own place and threw my stuff out behind my back.
This was not the first time that she did that.
She might not even come to my place for more than once per fortnight, this does not stop her feeling entitled to throw my things out behind my back. She often does when I am not around!
wtf?!
THOSE WERE MY STUFF AT MY OWN PLACE WHICH IS MORE THAN 5KM FROM HER PLACE, NOTHING TO DO WITH HER WHATSOEVER!!!
 
@chmod711telkitty Why does she even have a key to your place?
 
funny thing: I let her in
I was around, but wasn't inside house when she took something and put them in the rubbish bin outside when I wasn't looking.
Nothing precious though, just some empty boxes. I thought I could re-use those, she tried to throw them out behind my back
 
@chmod711telkitty Even if, doing this without asking is waaaaay out of line.
 
I know, that's why I was so mad at her for doing so.
She knew that I would be mad, so she did it when she thought when I wasn't looking.
 
9:27 AM
hihi
writing a VCS at 1am in C++ yesterday was a fun idea
 
@BartekBanachewicz hi Bartek
 
do I know you?
 
@Rapptz Guilty Gear > Smash
:)
 
And also, it's mum so she has a key to my house (or she could get it from my dad).
 
@BartekBanachewicz No. I am just a random stranger on the internet.
 
Xeo
9:30 AM
> C++
> fun idea
who are you, and what did you do to Braket?
 
finally managed to get past Satan since I have recently unlocked The Negative.
soon: actual unlocks
 
Xeo
haha
 
in C++, 10 hours ago, by Bartek Banachewicz
I've decided I want to use something else than Haskell time to time
 
Xeo
I managed to get my Hard Mode stamps completed yesterday (except for The Lost...)
 
Has anyone here even heard of Guilty Gear?
 
9:32 AM
I always play in hard mode :v
 
Xeo
I played normal mode for all stamps first, then hard mode
not that it changes all that much
 
What 'stamps'
You mean achievements?
 
Xeo
the little note left to the characters
 
Oh.
 
Xeo
with the heart, star, cross, upside-down cross, and polaroid / negative
 
9:34 AM
The hard mode ones are just red outline though
 
Xeo
ye
I've had the worst luck with Azazel so far, though
But I got some spectacular runs yesterday
 
Also, my mum has a habit of 'leaving' stuff at my place. So she has the excuse to go throw my stuff to 'find' her things... and oh, that's when she discovers all those things that ~she thought that I would not need~ ... and conveniently throw them out when I am not looking.
 
I had really good runs today.
The RNG Gods are being kind
 
Binding of Issac I presume?
 
yes
 
Xeo
9:36 AM
I always loathed Technology (and 2)
but it was so nice with Azazel
since it negates his short range
 
Technology 2 is good
 
Why is it so good?
 
why is what good
 
The game?
 
because it's fun?
 
9:38 AM
No but what makes it fun?
I dont know much about it
 
play it and find out
personally it's because every run is different and item synergy is fun as hell
 
Meh got no time
 
@MartinJames you don't throw mum out, no matter how much you want to ... :'(
 
I should probably go now.
 
@chmod711telkitty Yes, yes, but immoral beer-bartering?
 
9:43 AM
@MartinJames lol, that is a thing? my mum threw my clothes & shoes out behind my back
 
why would they use (sizeof...) to get the number of types in a parameter pack
 
she also gave my toys away without asking me
 
sizeof means something different; couldn't they have used another keyword
 
whynot
@Pris What's sizeof("hello")?
 
Xeo
@Pris They hate adding new keywords
 
9:45 AM
@chmod711telkitty It's a terrible thing. Taking someone's beer by fraudulent means should warrant a death sentence.
 
I am not even so close to her since I lived by myself for more than 10 years since year 12
 
@Rapptz num bytes
 
that doesn't stop my mum thinking my stuff are hers to give/throw away
 
probably six ... I don't remember if \0 counts
 
it is 6
 
9:46 AM
@Rapptz 6
 
sugoi
 
neeeee
 
sizeof... and sizeof is are different 'keywords' btw.
they're operators
 
terrible naming
 
gr8 naming
 
9:49 AM
hurmpfh, I really don't get how Microsoft could fuck up the metro ie integration so much
apparently it can sync history and passwords across your machines, but not to the desktop app
is this some kind of a bad joke
 
@Rapptz Nonetheless sizeof is a keyword.
 
ooooh it works
template<typename... Args>
std::bitset<sizeof...(Args)> TypeListMask()
{
    std::bitset<sizeof...(Args)> x;
    std::cout << x.size() << std::endl;
    return x;
}
 
Xeo
Hm. Guess I'll go unlock The Lost and start sobbing furiously at the stupid deaths I'll get
 
@FilipRoséen-refp Okay, I just updated my SO profile. Let the headhunting begin :-D
 
user1804599
Alright, let's implement fibers.
 
user1804599
9:59 AM
@Rapptz sizeof... isn't a keyword.
 
user1804599
It's a keyword followed by a ... token.
 
user1804599
Boost.Coroutine is the best library ever.
 
@райтфолд I still don't like his voice and stage acting, but boy does he deliver.
 
user1804599
omg chadler carrot
 
Just read plot theories for BoI
mind shcok
 
user1804599
10:11 AM
boost fucking fuckshit documentation
 
user1804599
why don't you
 
user1804599
in every fucking example
 
user1804599
tell me which fucking header to include
 
user1804599
you fucking piece of shit
 
@райтфолд That tends to be a problem for all C++ libraries.
I can't even remember what header to include for std::move.
 
10:16 AM
<utility>, it has everything (that’s not in <cstddef>)
 
user1804599
src/vm.cpp:16:34: error: cannot define or redeclare 'Fiber' here because namespace '' does not enclose namespace 'mill'
    auto __thread volatile mill::Fiber* currentFiber;
                           ~~~~~~^
 
user1804599
Eh, how is this a redeclaration?
 
> define or redeclare
 
user1804599
Am I defining or redeclaring Fiber? No.
 
user1804599
10:24 AM
@fredoverflow I answered.
 
i cant find a single example of parameter unpacking that actually explains what the fuck is going on
 
@райтфолд Both auto and the type?
 
user1804599
Sure.
 
Just stumbled upon an anime named "The Rapeman". It seems to be about a superhero who rapes the bad people.
 
10:29 AM
wut
 
@StackedCrooked Also men?
 
not sure
 
well lol
 
probably only women
the anime got to sell you know
 
10
A: make_unique and perfect forwarding

Matthieu M.In C++11 ... is used (in template code) for "pack expansion" too. The requirement is that you use it as a suffix of an expression containing an unexpanded pack of parameters, and it will simply apply the expression to each of the elements of the pack. For example, building on your example: std...

 
10:30 AM
"bad people" almost always visualizes to just men.
 
@MarkGarcia hm, you're right
 
@MarkGarcia With flexible enough definition of "bad" you can do anything. :)
 
@fredoverflow I mean iterating over a variadic template's args by (I guess) putting them into a tuple and then unpacking them
 
@Pris You normally do that with pattern matching.
 
I would actually recommend indices as the go-to. But it really depends on what needs to be done.
Also, fold expressions.
 
user1804599
10:41 AM
woo fibers work
 
My god it's college admissions season.
Makes me depressed.
 
none of this shit makes any sense. its like a completely different alien language... how the hell do you even read crap like this
0
A: How do I expand a tuple into variadic template function's arguments?

lap777I am evaluating MSVS 2013RC, and it failed to compile some of the previous solutions proposed here in some cases. For example, MSVS will fail to compile "auto" returns if there are too many function parameters, because of a namespace imbrication limit (I sent that info to Microsoft to have it cor...

 
@Pris What IS it?
My god C++ just gets more esoteric as time goes on.
 
@Pris It’s probably no accident that it’s a 0-rated answer.
149
A: "unpacking" a tuple to call a matching function pointer

Johannes Schaub - litbYou need to build a parameter pack of numbers and unpack them template<int ...> struct seq { }; template<int N, int ...S> struct gens : gens<N-1, N-1, S...> { }; template<int ...S> struct gens<0, S...> { typedef seq<S...> type; }; // ... void delayed_dispatch() { callFunc(typename gens

Keeping in mind C++14 has std::integer_sequence/std::index_sequence.
 
That doesn't make any sense either and of course there's zero explanation of what the hell is actually going on
 
10:49 AM
Oh and std::apply is accepted, too.
@Pris 149 upboats, favourited question etc.
 
@Pris magic
 
I’m suspecting you are trying to run before you can walk.
 
In this world, a lot of baby creatures are forced to learn to run before they could walk properly ...
 
user1804599
Varyags of Miklagaard is a great song.
 

« first day (1625 days earlier)      last day (3325 days later) »