« first day (1371 days earlier)      last day (3595 days later) » 

user1804599
8:00 PM
3D printer.
 
Wood, hammer and nails
 
@TonyTheLion yep
 
user1804599
lol
 
user1804599
I only just realised how ironic it is that Jesus was a carpenter.
 
And a saw
 
8:02 PM
@rightfold OMG! That realization...
I had never looked at it that way.
 
Jesus should have been a programmer
Turning spaghetti into wine
 
user1804599
It smells like shit outside.
 
user1804599
Damn farmers.
 
user1804599
Damn people providing me with food.
 
user1804599
Normally shit doesn’t stink that much, but this is shit lying in the grass all day at 31º.
 
8:07 PM
that's shitty
 
user1804599
dat shitty pun
 
@rightfold wait what
 
maybe I should take a cold shower
 
user1804599
@TonyTheLion I just did.
 
user1804599
I want to do it again.
 
8:18 PM
0
A: Elegant way to perform multiple dependent error checks in C++ without goto, and without early return?

PuppyUse exceptions and RAII. These are literally the problems they were invented to solve. Exceptions though are more of a system-wide feature, rather than something you can apply locally. For the cleanup block, RAII is exactly the feature you need. For the success/failure, we can use lambdas and v...

this is monadic bind, give or take, right?
bah, came up with a nice clever solution and turns out the OP forgot to mention he can't use C++.
 
It's nice how people block themselves from learning.
"Can't use X. Can't use Y. Can't use Z" -- "Why?" -- "Because I'm new to this".
Fascinating.
 
@Jefffrey I read too new to C++ to know that the restriction was relevant.
 
@Puppy Nah, it's just a loop with early exit
Maybe-ish, but it's stretching the definition a lot
 
hmm, I guess you'd need something like error or value for it to be a monad.
 
Also where is 'too localised' close vote jesus
 
8:32 PM
it wasn't too localized originally.
 
@rightfold I think so...
 
It is now :v
Anyway all of those restrictions are dumb as fuck
 
user1804599
The only two close reasons that should exist are “terrible question” and “dupe.”
4
 
room topic changed to Lounge<C++>: I need to write this C++ thing, but I have some restrictions namely no C++, no bytes and no touching the keyboard [c++] [c++11] [c++1y] [c++-faq]
 
I thought that he just had a bad coding standard originally.
 
8:34 PM
@rightfold Have you seen the F# room? It has been pretty active lately.
 
@rightfold What if you have a terrible dupe, should it be closed as terrible or dupe?
 
user1804599
@JohanLarsson No.
 
But there's always money in the banana stand
 
user1804599
@FredOverflow both.
 
What if a question is closed as terrible, and later turns out to be a dupe of a younger question? Can it be retro-closed as dupe?
 
user1804599
8:36 PM
Younger or older is irrelevant to dupes.
 
user1804599
Always vote less complete as dupe of more complete Q&A.
 
Not really, because you cannot close as dupe of a question that does not exist yet.
 
user1804599
@FredOverflow Indeed. So?
 
user1804599
You can still vote an older question as a dupe of a newer question.
 
@rightfold Even if it was already closed for a different reason?
 
user1804599
8:38 PM
No.
 
Make close nuke it so it doesn't matter
 
user1804599
You have to unclose it first.
 
What question? There was no question
 
@CatPlusPlus What about the spoon?
 
Lies and slander
Ahahahaha there's no Node in Debian stable
And somehow, I'm not surprised
 
8:49 PM
@CatPlusPlus as I remember it's just not called "node"
mmm. seems you're right (carnt find)
 
It's in backports
 
what's node?
node.js?
 
Oh.
I'm not on debian stable, I'm on jessie
 
Eh, I'm keeping the version the same as our production server
 
8:53 PM
damn
there's just so many things I need to do with Wide.
nah
many features, many bugfixes, everything :P
 
Xeo
Hm. This premixed Caipirinha is actually pretty tasty.
 
rofl
you'll take whatever credit I choose to give you
^^
 
posted on July 18, 2014 by Steven Gates

Boost contains a lot of high quality cross platform C++ libraries. Some of the libraries in Boost use APIs that aren’t available in Windows Store and Phone applications. To help improve the experience Microsoft’s been working on enabling some...(read more)

 
@AdamS I understand you can be frustrating, but having incomplete knowledge of a language is a bizarre reason for dismissing the right answers. Accepting answers is a method of learning. (Dismissing them is a waste of time and karma.) — sehe 21 secs ago
That was a horrific OP attitude
 
Aaaaaaaaaaaaaaand NPM is not in backports
 
9:02 PM
@Jefffrey, I understand it can be frustrating, but having complete knowledge of a language is not a prerequisite for asking a question. Asking questions is a method of learning. — Adam S 28 mins ago
In case someone was missing the context ^
@R.MartinhoFernandes Is this why you took the bike to Denmark o.O :)
 
@sehe Yeah, it really was. Originally, I was just like, "He has a dumb boss, but I'll roll with it and help him out".
 
user1804599
scala> 1 to 10 map (x => x*x) sum res0: Int = 385 Let's see the java developer call that cryptic. At that point it's fingers in the ears saying nah-nah-nah. — extempore Jun 2 '10 at 3:30
 
user1804599
lol
 
@rightfold only, he wasn't
 
user1804599
Right, it wouldn’t be ironic. It would be woodic.
 
user1804599
9:10 PM
He was obviously a blacksmith.
 
He was one with the Father, but he wasn't his father. Well. Technically, that wasn't even his father.
 
user1804599
His mother is the mother of his father.
 
IOW you fail
 
user1804599
Epic wincest.
 
Someone needs to upvote that comment. I accidentally upvoted the one I reply to... Dunno how the f
 
9:15 PM
hmm
I could write more tutorials, implement more features, fix more bugs, write more documentation, look into improving my build system/VCS...
 
Or play KSP
 
nah
I did that too much already today.
 
Xeo
@sehe click again and take the upvote away?
 
user1804599
Ugh American TV is so horrible.
 
@sehe this question should be at -20 by now
 
9:33 PM
@Xeo I noticed about 15 minutes late
 
cout << "Hey!";
 
@rightfold If a new word gets invented in the meantime, do they start over?
 
@Puppy yeah, I lasted about half an hour
well looks like the HDD in the pi is fecked
can't be fucked to sort it out though
oh well, balls to back ups
 
9:56 PM
lol
 
pita in that it was also where my torrents were
 
user1804599
@thecoshman I like how PITA is a pain.
 
and the backups were only for minecraft, which I haven't really played much recently, nor do I think others have logged on much for.
 
user1804599
@BartekBanachewicz I liked “gay ahead” and “gay afghan.”
 
10:00 PM
@EtiennedeMartel penis
 
user1804599
gay penis
 
pretty sure that only the brain controlling the penis can be safely described as "gay".
 
OH FOR GODS SAKE
they removed my comment
 
It's probably autofiltered
 
10:03 PM
fuckers.
vtc downvote delvote
 
@rightfold I took the liberty of updating a couple of answers with Java 8 code.
 
user1804599
Nice.
 
Hi there
this chat can be used for quick questions?
 
user784668
No.
 
no
 
10:08 PM
Of course I discover I installed a wrong package AFTER I packaged and uploaded the box :downs:
 
user1804599
TIL orange carrots were invented by the Dutch.
 
user1804599
> Many [Dutch] bikes were stolen during World War II and remain in Germany. The Germans still maintain several underground bunkers filled with grundlichly organised rows of bicycles, waiting to be used on the occasion of Alien Invasion.
 
posted on July 18, 2014 by Scott Meyers

In my view, one of the most important favors a technical writer can do for his or her readers is shield them from information they don't need to know. One of my standard criticisms of authors is "S/he knows a lot. S/he wrote it all down." (Yes, I know: the "his or her" and "s/he" stuff is an abomination. Please suffer in silence on that. There's a different fish I want to fry in this post.) I

 
@jaimetotal Yes, but each user only gets to ask one question, and you wasted yours by asking "this chat can be used for quick questions?"
 
10:24 PM
C++14 WHAT ARE YOU DOING http://t.co/FmapqKjkdF
probably a repost
 
@Borgleader what's wrong there except it's written in C++11, not C++14
 
user1804599
If @TonyTheLion attends the next unconference, someone should bring a laser.
 
@Abyx its fucking unreadable is what is wrong with it =/
 
@Borgleader nah it's OK if you know C++
but C++14 could make it better
 
10:31 PM
it's not that unreadable lol
He purposely made it more unreadable I think
@Borgleader Terrible comments.
 
@Rapptz never, ever, read the comments
 
The original tweet was bait anyway.
 
user1804599
@Jefffrey That’s why you add tasty sweet juice.
 
user1804599
Why is “Google+ kills off “real names” policy” pinned?
 
public static void main(String[] args)
{
    Stream<String> words = Stream.of("when", "flies", "fly", "behind", "flies", "flies", "fly", "behind", "flies");
    wordCount(words).forEach((word, n) -> System.out.printf("%dx %s%n", n, word));
}

public static Map<String, Long> wordCount(Stream<String> words)
{
    return words.collect(groupingBy(identity(), counting()));
}
Java doesn't suck so bad anymore :)
 
user784668
10:46 PM
lol "Java doesn't suck"
 
@Rapptz Definitely.
 
import static java.util.stream.Collectors.counting;
import static java.util.stream.Collectors.groupingBy;
 
if you actually read the code, it's clear that it's intentionally obfuscated.
 
user784668
import static oh.my.god.what.the.fuck.is.wrong.with.people.who.come.up.with.these.package.name‌​s;
 
They're fine
 
user1804599
10:51 PM
ugh why is there java on my monitor
 
user1804599
@FredOverflow Can you do import static java.util.stream.Collectors.*;?
 
@rightfold yes
 
user1804599
lol this guy made popcorn with a laser.
 
Looking at random lecture note that I'll probably be seeing in a year
 
user1804599
I want a laser oven.
 
10:53 PM
> Don't throw exceptions in destructors, copy constructors, assignment, accessors, operators
 
user1804599
Throwing exceptions in all of those but destructors is fine.
 
I know, good luck, say, copying a std::string.
Also, it says "will eventually be replaced by unique_ptr<> and shared_ptr<>" in regard to auto_ptr.
 
user784668
@chris lol std::string, use char* instead
 
I'm kind of wondering how old this is.
 
user1804599
Use java.lang.String instead!
 
user784668
10:56 PM
@chris Two Puppies old.
 
Make your own string class that doesn't throw any exceptions in those!
And repeat for every standard thing that does
 
user784668
@chris write in C, nothing throws in C
 
user1804599
In C you use longjmp!
 
 
@chris probably more than three years ;)
 
10:57 PM
"Robust"
 
lol "robust".
you can tell because he uses cout and String instead of std::cout and std::string.
 
I already explained this in the last term, though.
 
user784668
@rightfold shortjmp
 
while (!infile.eof()) is broken, isn't it?
 
yep.
 
10:58 PM
Omg it uses String with a capital
I didn't even notice
 
user1804599
@chris Robust Code cannot be Messi
 
Yeah, put a space at the end of the file.
 
116
Q: Why is iostream::eof inside a loop condition considered wrong?

MAKI just found a comment in this answer saying that using iostream::eof in a loop condition is "almost certainly wrong". I generally use something like while(cin>>n) - which I guess implicitly checks for EOF, why is checking for eof explicitly using iostream::eof wrong? How is it different from ...

 
user1804599
@chris Case-insensitive implementation of C++. :3
 
in Java Sucks, Jun 22 at 9:58, by FredOverflow
> you'll master the art of writing error-prone code
 
user784668
11:00 PM
@rightfold So C++ for Windows?
 
user1804599
Do you get punished if your comment gets flagged and the flag is accepted?
 
user1804599
I often flag comments as obsolete when they are obsolete.
 
not as far as I know.
I've posted a bunch of "You're a fucking shitface who should never answer C++ questions" comments, and most of the time, they're just silently removed.
 
user1804599
But I don’t want the authors to get banned from commenting or something.
 
@chris typedef std::string String maybe?
 
user784668
11:01 PM
@rightfold Oh, there was I thinking you flag comments as obsolete when they're not obsolete.
 
user1804599
@Puppy Hmm.
 
user784668
@FredOverflow Still the question of "why would anybody do that" remains.
 
Java-isms.
 
user1804599
Java++
 
so TIL ruby is super easy
 
11:07 PM
Don't worry. I'll be sure to raise any concerns when I take the course.
 
user1804599
@Crow Beware.
 
It's like willing to make a car driving faster by putting more drivers into it. — zerkms 10 mins ago
 
user784668
I was fucking around with AVX and tried to implement ROT13.
 
user784668
Is it good if it runs as fast as memcpy?
 
yeah that's not bad
 
11:11 PM
@Fanael Rotating how large a data size? 64-bit word?
 
user784668
@Mysticial A UTF-8 code unit.
 
Oh. So it's variable.
 
user784668
No, UTF-8 code units are always eight bits. It's right there in the name.
 
@rightfold well, I guess what I mean is "hey it's kinda like python"
 
I thought they can be up to 6 bytes. Or is there a different term for that?
 
user784668
11:15 PM
@Mysticial Up to four bytes; code point.
 
Oh. Fuck terminology. :)
 
> In November 2003, UTF-8 was restricted by RFC 3629 to end at U+10FFFF, in order to match the constraints of the UTF-16 character encoding. This removed all 5- and 6-byte sequences, and about half of the 4-byte sequences.
 
sooo... can you login and access a database to a website via an API?
 
user784668
The fastest auto-vectorized code generated by GCC was slower than a lookup table.
 
what's the standard advice for avoiding malloc in a pimpl class
 
user784668
11:19 PM
@zounds avoiding pimpl
 
@JohnDibling: In your domain, do you ship programs with bugs that crash the application? Is a reliable program important? I have a hunch that your program would be worthless if it keeps crashing every millisecond or has a random issue that occurs every 5th invocation or so. I'm working on a safety critical project that has hard deadlines. We get the algorithms working correctly first, regardless of speed, then we optimize as necessary. — Thomas Matthews 6 hours ago
^^ Is that guy implying that a fast program is inherently unreliable?
 
user784668
@Mysticial Yes.
 
Ok. I thought it was my reading comprehension.
Which I'm known to suck at.
 
I'm currently reading a book by a guy who became both a chess champion and a Tai Chi Chuan champion... I feel subpar to say the least.
 
user784668
I'm a champion in being lazy.
 
user784668
11:22 PM
I'd write a book, but I'm too lazy.
 
You sound like Cat.
 
user784668
On my new computer Emacs starts in 0.4s as opposed to 0.8s on my old one. What can be the reason the difference is so big?
 
@Borgleader wtf is tai chi chuan
 
user784668
Surely the difference between K10 and Haswell can't be that big?
 
user784668
I mean, both are mostly overclocked Pentium Pros.
 
11:29 PM
 
macbook pro -- worth the extra over their cheap models?
 
user784668
> mac
 
user784668
no
 
user1804599
 
Why do I see so much code using "\n" instead of std::endl ?
 
user784668
11:43 PM
@Chimera Because the code you see doesn't need/want the buffer to be flushed.
 
user1804599
It’s shorter.
 
user1804599
It doesn’t matter shit.
 
Don't they both flush the buffer?
 
@Chimera no
 
user784668
No.
 
user1804599
11:44 PM
Oh no not a flush oh no not dem CYCLES
 
user1804599
Not the I/O!!!
 
@rightfold PERFORMANCE IS IMPAHTANT
 
user784668
@rightfold You know, on some Linux filesystems, a file flush requires (used to require?) a whole filesystem flush.
 
user1804599
Hawt.
 
Interesting. I did not know that.
 
11:47 PM
@Fanael You're thinking of wrong flush
 
Yeah we are talking about the output buffer being flushed.
 
Actually writing memory buffer into the file is not fsync
 
what's wrong with mac?
 
user784668
@CatPlusPlus Am I? Isn't stream.flush() an internal buffer write and fsync?
 
Also fsync always requires filesystem flush, that's how it works
@Fanael No, I doubt it
 
user784668
11:50 PM
@CatPlusPlus Not syncing the whole FS, just syncing the file in question.
 
Very nice. My program is much faster now that it isn't flushing the output buffer constantly.
 
user1804599
@Crow see the picture above.
 
user784668
And on that filesystem, fsync was pretty much global sync.
 
Dunno really, I don't peek into FS internals
 
user784668
But I don't remember what filesystem that was, nor if I'm actually remembering this shit right.
 
11:51 PM
Depends on how the caching works
 
meh, developing on windows is incredibly lame imo. Linux is good it's just missing something
 
Are you thinking of the dead woman fs?
 
user1804599
Screw file systems.
 
user784668
tmpfs is the best fs
 
user784668
@Crow Linux is missing malware and random crashes.
 
user1804599
11:52 PM
Yum.
 
user784668
Okay I'm lying, you get one of those plenty.
 
Bullshit
 
user1804599
Emmentaler-flavoured crisps. /cc @sehe
 
Anyway I'm really happy about my new base box
 
No thanks
 
user784668
11:53 PM
pacman -S bullshit
 
I dunno. I have ubuntu and it just seems a little.. clunky. and also not very aesthetic. Mac seems very simple which is nice
 
user1804599
Ubuntu is clunky.
 
@Fanael Don't need to install, that comes with Arch core
 
user1804599
Install Gentoo with i3 and Z shell.
 
And Mac is simple
 
11:54 PM
Linux Mint is pretty.
 
And slow (although that might have been me trying Btrfs)
 
Pwetty
 
user784668
@CatPlusPlus but muh purrformance, I don't install base, I install only what I need~~
 
~~
 
user784668
@Mysticial ~
 
11:54 PM
~
 
user784668
I need to get rid of that dead tilde.
 
Btrfs is slow
Also is it even still alive
 
At least back then
 
user1804599
Btrfs is btr jonge jwz.
 
user784668
@CatPlusPlus Yeah, plenty of activity going on.
 
11:55 PM
well, I also develop iPhone apps and apple seems pretty insistent on making that hard to do without a mac...
 
@CatPlusPlus I'm afraid it's still slated for dominance. I don't get it, I find it un user-friendly and unreliable.
 
> Stable: yet to be released
GNU/Hurd of filesystems
 
user1804599
@Crow You need a Mac to deploy.
 
yeah. Therein lie the problem. Also, something about XCode
 
user1804599
Maybe Hackintosh works as well.
 
11:56 PM
GNU/Hurd. Don't hold your breathe unless you can do it for 20+ years.
 
@CatPlusPlus Except, GNU/Hurd isn't mainstream. I think 60% of distros support root-on-Btrfs in their "high-level" installers
 
user784668
Also what
 
@Chimera Hah. I've the advantage: I'm already waiting for minix
 
user784668
MS keyboard layout creator needs MSVC?
 
user1804599
Also once you get used to something it doesn’t matter really.
 
11:57 PM
@sehe lol
 
mac also has final cut and screenflow. Those are by far the best for video editing. Garage band is good for noob-tier music too
 
Layouts need to be compiled
 
user784668
@CatPlusPlus It's awesome at avoiding fragmentation. Not.
 
@CatPlusPlus Which is very very funny business
@Fanael Especially if you run out of space #oshit
 
user784668
@sehe I'm sure btrfs magic incantation -wtf /dev/oh-noez fixes that.
 
11:58 PM
Sadly, no. Just no.
 
user1804599
Can you do something like a lambda at the type level in Haskell?
 
Last time I checked it was on some kind of "TODO" list
 
user784668
@sehe whoosh?
 
@R.MartinhoFernandes When did jalf walk on bike lanes because there are fewer pedestrians? :)
 
@Fanael Just setting the record for those who don't already know
 
user1804599
11:59 PM
Like A (\t -> B t Int) instead of type T t = B t Int; A T.
 

« first day (1371 days earlier)      last day (3595 days later) »