« first day (1373 days earlier)      last day (3580 days later) » 

9:00 AM
Results of the language poll so far: 1): C# +59%, 2) Python +57%, 3) Haskell +56%
@Puppy linkin park seems out of place there
considering that the rest is pretty good.
 
hm
linkin park's newer stuff is kinda debatable, they did an album or two which wasn't really their style, but the older stuff is pretty on par with the rest iyam
 
my point was it was never good.
 
I quite disagre.
 
the whole bunch of teen-oriented genres makes sense when you're a teenager I suppose
they had a certain appeal.
 
I don't really see what age has to do with it
I'm certainly not a teenager anymore
 
9:07 AM
@Puppy dunno, stuff like people shouting things is easier to identify with in that age
 
who said anything about identifying with?
I like Rob Zombie but I could never identify with being a zombie girl
 
rob zombie is not a girl
 
frankly, I wouldn't know.
nor would I care.
 
lmao
he's a badass dude.
 
great for him, I guess
 
9:10 AM
@Puppy I suspect you also don't know that Manson and Rob Zombie shared the same guitarists (in different periods)
 
1 min ago, by Puppy
nor would I care.
that stuff is for obsessed fangirls.
 
yeah I know I listened to music like that in middle school
 
I care about one and only thing; the output music.
 
@Puppy lol, not at all.
 
who made it, I couldn't care less.
 
9:11 AM
you suck.
 
not really.
 
yeah, you do.
lol okay I should've seen that coming
 
it's pretty normal for people to care about the thing that they actually interact with.
 
you're ignorant in general, not only WRT programming
I'm dumb nvm EOT.
 
9:12 AM
yes, I'm sure that obsessing over Rob Zombie would make my life so much better.
 
maybe it will?
 
memorize his guitarists and their membership periods -> instant life satisfaction.
 
no, that would be fap fap fap :P
 
wouldn't know
2 mins ago, by Puppy
1 min ago, by Puppy
nor would I care.
boy, that's becoming a useful link.
 
oh what the fuck
I received an epic offer.
> I noticed on github that we've both contributed to Haste. At Prezi we
are strong believers in functional programming. For our infrastructure
we use Scala on the JVM and the native teams are using Rx. On the
JavaScript team where I am, we haven't been able to switch to a
functional programming language yet, but parts of our application is
generated from Haskell and we are still putting money towards Elm to
try and speed up it's development.
damn.
was hard turning that down.
 
9:16 AM
No wonder Prezi is so shitty.
Man I despised using Prezi.
 
oh look the oracle has spoken
share your wisdom with us
 
user1804599
@BartekBanachewicz ugh Prezi.
 
user1804599
Fuck people who use Prezi.
 
user1804599
> The widow of a man who has smoked itself to death gets €17.5 billion compensation from cigarette manufacturer RJ Reynolds.
 
user1804599
9:29 AM
> €17.5 billion
 
`He @BartekBanachewicz
does http://codereview.stackexchange.com/questions/57497/pattern-tokenization-program

Look better then what i sent you before? I'm still working on it but it is working almost the way it should
 
@user2372903 some lines could use breaking up
(q = user_specified_pattern.find(sep, p+1))-p-(p != 0)));
 
I see.
I've been trying to go over the code style and make it more readable then it was before.
I changed all the var/function names and got rid of the using namespace std's
I read i should be using const ref's instead of just passing by reference.
 
eh pass by value is fine for the vast majority of cases.
 
I thought that would be the case for something this small.
 
user1804599
9:39 AM
Compiler will optimise out the copy anyway. :D
 
small is irrelevant really.
always pass by value unless you actually need reference semantics.
 
Oh, I just wanted certain functions in this to modify what is passed in.
The app just takes input in and spits it otu, nothing ever gets saved for later use.
 
out parameters are shit.
 
Is there a reason for that? i was trying to follow googles style guide when i was tweaking this.
They mentioned those are ok?
 
protip
don't follow google style guide
it's utter shit
 
9:43 AM
lololol
Noted.
Alright well, it's 4:46 AM here, So I'm hittin the sack. Thanks guys.
later
 
Xeo
@Rapptz Hm, internal option storage? I like how Boost.PO writes directly to variables you give it.
 
there was no good way for me to do that
 
Xeo
also, do you support multiple specifications of options? (think -I for gcc)
 
Yeah
 
Xeo
with a way to also say 'no, only the last specified one'?
 
9:51 AM
@Rapptz Repetition of option names for specification and checking? that's bad, imo
 
Xeo
@Puppy eh, I always define static auto const optStuff = "stuff"; for things like that anyways, if I want to reuse it, so not that big of a deal.
 
user1804599
WTF google.
 
eh, I think it's more generally just annoying to specify the options and then have to check them later when the parser already knows which opts were specified.
 
user1804599
I search for “clojure” not “closure.”
 
@Puppy What solution do you suppose?
 
9:53 AM
better to do something like parser.new_subcommand(name, desc, [] { dostuff(); });.
@Rapptz Take the action as a parameter and then automatically execute it.
 
I didn't want callbacks
 
it's the much superior solution.
 
It was actually the first thing I asked.
 
what, whether callbacks were good or that you didn't want callbacks?
 
former
Robot said he didn't like it
no one else contributed :v
 
9:58 AM
@user2372903 don't
 
ah
well, I think they're clearly the best solution here.
 
Jul 16 at 20:28, by Rapptz
Should a command line parser library allow callbacks to be registered?
@Xeo Yup.
You're allowed to specify the parser for the command line option
So you can do whatever you want with the values if needed.
Similar to argparse's action thing
Kinda thinking of improving that part of it though
 
user1804599
10:27 AM
I’d just return a map and a set.
 
btw @CatPlusPlus seems like MJ is already updated to support 0.24
 
makes sense, I don't think the physics change that much
 
hmm
you can really get some decent science with the later contracts
like 100+ for a part test
hmm, I add parts but MJ's vessel mass doesn't change.
 
> Arithmatic Logic Unit
 
user1804599
10:58 AM
Scala y u no multiset type.
 
user1804599
Multisets are so underrated.
 
Map[T, Int]?
 
user1804599
Uh, no.
 
user1804599
That doesn’t have the proper API.
 
right
 
11:01 AM
int ***i; //4 da win
 
user2985029
@chmod711telkitty what is this?
 
user2985029
26
Q: Uses for multiple levels of pointer dereferences?

JakeWhen does using pointers in any language require someone to use more than one, let's say a triple pointer. When does it make sense to use a triple pointer instead of just using a regular pointer? For example: char * * *ptr; instead of char *ptr;

 
raw implementation of multiset of ints
think abstract ... malloc belongs to the details
 
11:28 AM
HOOOOOOTTTT
 
user1804599
Ugh. Fucking fly.
 
user1804599
Stop flying you piece of shit.
 
user1804599
And stop banging your head against the goddamn window.
 
lol
Use an elastic to shoot it down
 
user1804599
Laser.
 
11:30 AM
acid
 
LSD
 
user1804599
Hmm.
 
user1804599
I think remote address and other connection information shouldn’t be part of Request type.
 
so you like thinking huh
 
user1804599
⁂ ⁂ ⁂ ⁂ ⁂ ⁂ ⁂
 
11:46 AM
Given a backup system, what would you call that module that interfaces with the filesystem?
 
user1804599
@Jefffrey the filesystem module.
 
@rightfold meh, naming things after implementation details seems wrong. Like usersArray or timeString.
 
user1804599
Backup systems may have multiple filesystem modules.
 
user1804599
Please be more specific.
 
It's the module that contains functions like "backup this directory", "restore this directory", "list all of the backups", etc...
 
user1804599
11:49 AM
Is that not pretty much the entire backup system?
 
Well yeah, together with the parser (command line) and the interpreter (reads the parsed command and calls the correct function from this X module).
 
user1804599
Put it in a library libbackup and use that from your program.
 
user1804599
And just call it the backup module.
 
It doesn't make sense for it to exists on the outside of this program. The interface uses types that only make sense for this architecture.
 
11:56 AM
@Mgetz What's your point?
 
@Jefffrey it sounds like you're mixing up your bounded contexts
you should name things after what they represent In That Context with no ambiguity
 
user1804599
Cool JDK 8 has unsigned arithmetic.
 
@Mgetz What do you propose?
 
@Jefffrey A) figure out what the bounded context is, it sounds like you have a "system interfaces" context B) then start defining terms within that context
ideally within that context the language should be ubiquitous, e.g. it's the natural name for whatever you're doing and should not require explaination
 
@Jefffrey The second doesn't imply the first.
what if I write another program that wants to back up files on the same architecture, I could just use that interface, right?
 
12:11 PM
@Puppy The system is currently coupled by these 3-4 types (just Haskell data types) that are the connection between every component in the system. It's a very small, simple and testable architecture; We could say that this module is more of an abstraction layer between System.Directory (which is the real module that interfaces with the filesystem) and my current architecture (that uses these convenient types).
tl;dr This module basically just transforms convenient data types in FilePaths to be fed to the System.Directory's functions.
 
12:24 PM
fuck it, "Filesystem" will be.
 
12:56 PM
you know, it just occurred to me that I design my programs along a somewhat-functional principle anyway.
I/O only in the driver, and I've got a bunch of immutability/purity going on in different places
 
1:28 PM
> one of the major advantages of gif: It's the only lossless video codec that works
Why am I reading reddit
 
pretty easy to construct a lossless video codec that works
 
2:04 PM
lol "lossless"
 
just store every frame as a raw bitmap
problem solved.
 
or encode every frame like a png
 
that's for them fancy scientists
 
2:22 PM
@ParkYoung-Bae lol
It's lossless if what what you are encoding has 256 colours or less.
 
welp, easy 25 rep
 
-10
Q: Is it okay to use unparliamentary words in code blocks?

Tilwin JoyI've flagged an answer in two different posts (one with 255875 views and another with 80468 views which is marked as a duplicate of first one) having few upvotes in one, and none in the other. The answer contains words like bitch , sexPistols etc in a small code block, which is not at all there ...

Gee.
 
I really am turning into Etienne. Fuck.
 
@R.MartinhoFernandes When are you moving to MTL ;)
 
2:35 PM
lol
 
@Mysticial Calling the performance police
0
Q: Performance of the Equal operator Vs memcmp for primitive data types

Sujith GunawardhaneI have been using memcmp function for compare 2 integers in my performance critical application. I had to use this other than using equal operators as I have to deal with the other datatypes generically. However, I suspected the memcpy performance for primitive data types and changed that to equa...

 
> However, the performance of the increased.
 
yeah not sure wtf
 
@R.MartinhoFernandes Astute statement.
 
user1804599
2:56 PM
Wunderbar.
 
3:06 PM
looks like a nice place to visit
Gold Coast, Australia
 
looks like too much heat
 
all: main.cpp
    clang++ -O3 -Wall main.cpp -o x
missing separator? wat
 
user1804599
Hmm.
 
Hmm.
 
3:21 PM
Seriously guys, I'm going crazy here. Wtf is wrong with that makefile?
 
Hmm.
 
I think I know.
 
user2985029
@TonyTheLion lovely picture
 
Makefile piece of shit.
It was 4 spaces instead of a single tab.
 
Makefiles require tabs?
 
3:32 PM
Unfortunately.
Sucky 80s design.
I like tabs, so it's not that big of a problem for me, but forcing anyone to an particular style is a capital offense.
 
user1804599
@Jefffrey It’s a makefile.
 
So, it's well established that Make sucks. What alternatives do you use?
 
user1804599
Depends on the programming language.
 
Make is like VS
it's shit but there's not much competition.
 
user1804599
Verenigde Staten
 
3:38 PM
the only thing close is Ninja.
but I've yet to come across a system that can target VS on Windows and then Ninja on Linux.
 
@Puppy Cant CMake do both VS and ninja? :P
 
yes, but writing a CMake file would be nearly as bad as just writing a Ninja file myself.
 
I'm interested in one for C++, and one language-agnostic (that is, for things like documentation generation etc.)
 
their language is badly in need of replacement.
@milleniumbug Generated documentation is worthless.
 
user1804599
Ugh.
 
user1804599
3:42 PM
Beach volleyball on TV.
 
user1804599
What a disgusting sport.
 
user1804599
It’s even worse than Tour de Shit.
 
Tour de Turd
 
@Puppy Ninja looks interesting, I'll try it out. Thanks.
 
Remember this song?
 
4:04 PM
no
 
@TonyTheLion My god this coast is completely covered in buildings
Are there no shore protection laws in Australia?
 
they're gonna have a barrell of laughs when coastal erosion
 
That and global warming
also #toplel at the first sign of tsunami
 
Xeo
whee, home
 
This question appears to be off-topic because it is a request for code. — Borgleader 33 secs ago
 
4:31 PM
Aaaa I got infected by sun
0/10 low quality and not enough shadow
 
user1804599
@CatPlusPlus So you are a Java programmer now?
 
@CatPlusPlus wut?
 
Grillin by the lake all day
Too much sun would not recommend
Despite my best effort my hands got burnt and now hurt
Fuckin UV
 
@ParkYoung-Bae I have no idea
 
@Mgetz Ugh ~patterns~ bullshit
@Jefffrey Don't merge backup/restore with backup storage
 
4:40 PM
@CatPlusPlus not patterns, design
 
@Mgetz A lot of buzzwords with barely any meaning
Backup/restore is always a filesystem operation, backup storage is more than likely to be a remote
 
@CatPlusPlus not all of us are hipster programmers who's ever line is a gift from god
 
Non-sequitur
 
@Mgetz s/ever/every/
 
5:13 PM
can someone help me
http://stackoverflow.com/questions/24852878/eclipse-doesnt-find-the-cpp-files
 
I can downvote you, does that count?
 
Hi.
 
Why?
 
user1804599
5:31 PM
@Andrea993 nobody can.
 
user1804599
They cannot because the question is vague and contains no useful information whatsoever.
 
@rightfold Wanked to templates today yet?
 
what
 
user1804599
Uh no?
 
:o why not?
 
user1804599
5:32 PM
I don’t use languages that feature templates.
 
@rightfold lol, you serious?
Do you rather wank to a sophisticated preprocessor? :D
 
too many purple gravatars! augh
 
user1804599
To Scala’s type system.
 
@rightfold
It's a general question, if I import two files (.ccp and .h) in eclipse with "import filesystem" it doesn't build
 
what makes you think he wanks to any language feature?
 
user1804599
5:33 PM
Yes, it’s a horribly shitty terrible question that nobody can possibly answer.
 
Can you help me to improve the question?
 
@Andrea993 it would help if people know which library you were talking about, and why you are trying to import it from source
 
@Andrea993 Yes. First step: Wank. Second step: GOTO 1
 
thanks bye
 
Archoth: 4 messages, 3 contains the word "wank".
 
5:43 PM
Jeffrey: 1 message, 1 contains the work "wank"
You knew this was gonna cum
 
Xeo
sigh
ah, fuck
why the fuck is he doing it in sucha round-about way
 
user1804599
> 3 contains
 
@Xeo ?
 
@Xeo to get you :v
 
> I don't know the internals, but I assume that lambda cannot be that better than bind.
:lol:
 
Xeo
5:53 PM
Hm... it feels like I'm forgetting something that I wanted to order on Amazon
 
user1804599
6:09 PM
A fist.
 
> Thank you for being up front. I will put a note in our system to not contact you and also put a note about the C++ style guide as a reference.

only took Google six recruiters to get the point.
 
@Cubbi And a linked in post?
 
ITT double is a magical type that has none of the problems float does.
 
6:28 PM
@Borgleader I don't think that guy read it..
 
user784668
@chris double has double the flotation of float
 
@Fanael Keep your children safe in the pool, use doubles!
 
there's this colleague of mine who is obsessed with cars
 
user784668
cool
 
and his girlfriend happens to be obsessed with cars too
so one of their main activities is to just go to car expos and do
what is that called
like in pimp my ride
tuning or something but visually
 
user784668
6:39 PM
I read a few questions on SO for the first time since fuck if I remember.
 
user784668
Holy carp these people are stupid.
 
Xeo
@Fanael Increadible, innit?
 
so when a user logged in, is that something that's persistent on the server, until they exit?
 
Yeah.
http://stackoverflow.com/questions/24853521/how-to-generate-a-new-thread-after-the-existing-thread-is-dead
The general cluelessness is beyond belief:(
 
Xeo
Alright, time to download Hyouka. /cc @AlexM.
 
6:59 PM
@MartinJames fed bailey?
 

« first day (1373 days earlier)      last day (3580 days later) »