« first day (914 days earlier)      last day (4036 days later) » 

12:02 PM
because you suck
I'm at WG21
 
@StackedCrooked how mature is that? I might try. Does debian provide a good starting point??
 
@DeadMG So what's it like? Enjoying it?
 
I am
but I also have some questions about the whole process
 
user142019
Ask them!
 
particularly, it seems to me that a lot of the pre-Bristol information I had seems like it was bullshit.
 
12:04 PM
@DeadMG well it was about C++
 
@DeadMG Lemme guess. It's too damn democratic and informal?
 
no
 
:)
 
user784668
lol
 
user142019
@sehe damnocratic
 
12:05 PM
Herb implied that a feature-complete proposal at Bristol would be in time to get in C++14, but the other Committee members are implying that it has to be basically entirely ready for Standardization this week if it wants to get in.
 
user784668
I just got cannot find -lpthread when trying to build pthread library.
 
user142019
 
user142019
^ Herb.
 
and the other thing is that when the whole isocpp thing started, it was implied that you could get a jump start by using their forums because there would be Committee members and stuff there
 
@Zoidberg Bieslook
 
12:05 PM
but that turns out to have been bullshit
it took the LWG five minutes flat to reject (correctly) N3573
being on isocpp has been really of virtually no benefit
and there's nobody here that I recognize from having commented on proposals there
 
user142019
@sehe Bosui. :v
 
Xeo
@DeadMG Well... maybe talk to Herb about it? :P
 
going to
and finally, there's not enough subgroups by a billion miles
 
both LEWG and LWG and, as far as I know, Core and Evolution too, have way more papers than they can reasonably process
 
12:08 PM
Hiya folks!
Long time no see
Hope you're all doing well.
 
half the reason why I found Bristol difficult is because it's "Make or break" because the Committee doesn't have time to view revisions of papers and can barely see all the submitted papers to begin with
 
user1357851
please change your avatar at some point
 
they plain can't view enough papers in parallel
 
Xeo
Maybe they should standardise concurrency for the committee first? :P
 
-1
Q: Take time from one file and another separate file and place the time values from both files into a list c++

Cka91405I'm trying to load two files, but I'm having a hard time taking the times that are entered in file 1 and file 2, and place them into a list that has all the times, but if the time has already been entered, it doesn't enter it again. This is not for homework. I'm simply working on a application p...

 
user142019
12:10 PM
NARQed
 
nothing like a bit of afternoon drilling in the office to help you concentrate ¬_¬
 
@thecoshman The building in front of my office has been in construction since I came here
Also windows open
 
user142019
@DeadMG ok
 
@Zoidberg That looks sexy! :D
 
@Zoidberg ¬_¬ one day you will provide something worth paying attention to... I hope
 
12:13 PM
You need to fix that.
 
guys
can we not post massive images? this is just a craptop
 
user142019
guy
 
@DeadMG suck it, but I do dislike stupid images too
 
very funny robot
 
12:16 PM
 
@sehe My sister lives there
Well, not too far from there
 
wtf @kbok
 
:) I was gonna say "in a cave"
 
I thought we acquired a new lady here
 
12:17 PM
"acquired"?
 
I nearly failed todays parallel processing classes because of dumbfuck C posix pipes
 
POSIX pipes aren't dumbfuck
 
@sehe yes, typo nazi
 
@BartekBanachewicz You mean, you needed bidi pipes and found out you needed socket_pair instead?
@BartekBanachewicz Nah. I didn't even notice a typo. The choice of word was what interested me
 
@sehe I am just expressing my inability to understand the fact that I had to put a sleep in a worker fork to make it able for other forks to get access to data pipe
 
12:19 PM
@sehe In a cave?
 
I should prolly use sched_yield now that I think of it
 
user142019
 
user1357851
@BartekBanachewicz BTW Cicade is back ... not the same Cicade though (we have been 'evil') >_<
 
user142019
Even chat bots hate me. :(
 
@BartekBanachewicz Sounds like you are doing it wrong.
IOW you said you needed sleep.
-fsanitize=address looks neat.
 
12:21 PM
@Telkitty dude it's cicada learn2spell
 
@Telkitty Why can't you fucking spell
@Telkitty IT'S CICADA
 
I said it first
 
-fsanitize=thread too, btw.
 
user1357851
Relax, it is just the spelling
 
@R.MartinhoFernandes :what:
 
12:22 PM
@Telkitty I noticed.
 
@CatPlusPlus Martinho tries to meet new people but the results are not what he expected
 
@CatPlusPlus Seriously, why the fuck did you star that?
 
@R.MartinhoFernandes if the sleep wasn't there, other forks had no chance to even start running, and one worker made all the computations.
 
@R.MartinhoFernandes I didn't
 
user784668
Looks like the cannot find -lpthread error is actually "autohell sucks at making parallel make work".
 
12:24 PM
It was already there
 
Who the fuck did?
 
@Fanael are you using autotools? :/
 
@Telkitty Okay Tellkyittim, you make a good point
 
btw spelling explosm.net/comics/3142 maybe nsfw too
2
 
maybe
 
12:25 PM
@Telkitty your new av is nice. Try not changing it for at least a while.
 
user784668
@BartekBanachewicz Yes, because I don't have control over 3rd party code. If they're using autohell, I have to use it to build the code.
 
user1357851
what's wrong with the chicken?
 
@Fanael ah, :hug: I feel your pain
 
@Fanael Yes, yes it does
 
2 hours ago, by user1217557
I have adopted a legend's name?
"legend", lol
 
Any build system using recursive make has a good chance of failing miserably when parallelised but autotools just fail at everything
 
^ what the FUCK did they do to Power Rangers?!?!
 
What were you expecting?
 
Ahahaha
It's always been like this, they just modernised it
 
oh actually my starbait post about allocators is not true. Zoidberg wanted to write one IIRC
 
Xeo
12:30 PM
@BartekBanachewicz Aka "no one"
 
also @kbok I obviously haven't pushed yet, because the code is not as good as I want it to (IOW not working and I suck). If you are going to write something, please lemme know so we won't cross each other.
 
@BartekBanachewicz Push to a branch anyway maybe?
 
user1357851
Ok, jog time. Really should be doing this earlier, but there are always people on the park
 
So that I can see what you're working on
 
@kbok I would do it, but I forgot and now I am at work :/
so local changes only.
git could be better, honestly.
 
12:31 PM
What-.
 
Ah well.
 
I would remove a tad of complications and add autosynchronization
 
"I am at work so I cannot push" => "git could be better"
 
also autobranching
 
@BartekBanachewicz autosyn- what?
 
12:32 PM
@BartekBanachewicz FFS JUST USE DROPBOX AND STOP PROGRAMMING FOR THE LOVE OF ALL THAT IS HOLY
2
 
@sehe like autosave in Word <cheese>
 
@BartekBanachewicz what? you mean, revisions, that you already have?
 
yeaaaah this is more like it
> Yeah! Zap him again!
hehe
 
@R.MartinhoFernandes oh my, I've poked a robot in the usb port
 
12:33 PM
What you are suggesting are features you do not want in a VCS.
 
@sehe I am of course speaking nonsense because I don't know git yet enough, point is git is hard
@R.MartinhoFernandes precisely what SVN users said about Git.
 
@BartekBanachewicz What. Git does not have "autosynchronization"
"autosynchronization" is a misfeature.
 
@BartekBanachewicz If you're working in a branch, you should push as soon as you leave. If you're not, you should. If there's a lot of uncommitted changes, your changes should be smaller.
 
I am a bit confused about how local and remote branches correspond to each other
 
I think I explained why to ThePhD. Lemme grep.
 
12:34 PM
@DeadMG : How do you search for something on codepuppy?
 
I think you have spoiled me. I really should RTFM more
 
@BartekBanachewicz screen -S faux-security -drx "watch -m 60 'git add -A . && git commit -am $(date +%T)"
 
Autosync could work provided you sync with a private remote
 
@BartekBanachewicz There are local branches, there are remote branches, and you can tell your local branch that she has a remote buddy she can pull from/push to
 
If by autosync you mean bound commits
 
12:35 PM
@BartekBanachewicz Wut
 
I.e. autopush
 
@kbok oh, nice and simple
 
But really, you shouldn't have uncommitted changes hanging around.
 
Local and remote branches correspond to each other however you want
 
@sehe my C:/> ignores that (Oh god I am such a terrible person)
 
12:36 PM
Default push scheme is to push current branch to a remote branch with the same name
 
If you agree with that then you'll see that there is no need for autosync
 
@kbok I just thought they were not good enough yet :/
 
Commit early commit often
Always commit
 
anyway, tell me one thing.
 
Never stop commiting
 
12:37 PM
@BartekBanachewicz Not an excuse
 
Hmm...
 
Not good enough to PR: OK, Not good enough to commit: Not OK
 
You can do ad-hoc temporary branches that are never pushed to any public repo
 
Can you do foo = std::move(foo); safely?
 
There's no reason to ever have lingering changes for long
 
12:37 PM
@kbok Roger that.
@wilx self-assignment rules apply
 
@BartekBanachewicz You want a post-commit hook: .git/hooks/post-commit:
 
Also don't try to hide your ugly code, everyone's code sucks at some point
 
#!/bin/sh
git push -f origin
 
Don't autopush to public repos though
 
@wilx Depends on the type of foo, obviously.
 
12:38 PM
I see. OK.
 
@kbok can you tell me why all the commits from the "temp" branches are shown on github master log, then? Shouldn't that be rebased or something?
 
I guess std::string should be safe then?
 
@BartekBanachewicz oh I was watch -n instead of watch -m anyways xD
 
@wilx Why are you doing that?
 
@wilx I believe so.
 
12:39 PM
@BartekBanachewicz Well, they're shown once they're merged, yes. Why?
 
If you want to rebase, rebase before pushing to public repo
 
@CatPlusPlus: It can happen if my vector has only one item: v[0] = std::move(v.back());
 
@BartekBanachewicz We merge because the big green button is handy but if it was only me i'd rebase
Feel free to do that, btw.
 
@wilx And you are doing this why
 
@kbok because a) it shows all the terrible commits b) I thought the purpose of such branch is to pack all these commits into one branch so it shows only proper changeset as one commit
 
12:40 PM
Or to ask me to do it
 
@CatPlusPlus: Because I am erasing the first item in the vector and the order does not matter.
 
So how should I do it? Rebase locally, then PR?
 
@BartekBanachewicz git doesn't collapse anything automatically
 
Isn't there an option to rebase when merging or something?
Oh god I feel so lost.
 
@wilx Use a deque and pop_front
 
12:41 PM
@BartekBanachewicz rebase branch, PR, then rebase into master if you're into that kind of thing
 
@kbok does github have that as a feature?
 
You don't want to have unusable objects in your vector
 
Though i'm not sure if collapsing is a good idea. Small changes are good for history and bisecting
 
Xeo
@wilx v[i].swap(v.back()); v.pop_back();?
 
@BartekBanachewicz No, you have to do that manually
 
12:42 PM
@kbok Complete changes are good for bisecting
 
@CatPlusPlus It depends on how you commit
 
@CatPlusPlus: Well, that sounds like overkill or pessimization (depending on your POV). Vector should work just as well and I really do not need to do the popping for in every sittuation.
 
@wilx Bullshit
 
@Xeo: Yes, but I want to use the C++11 feature if possible.
 
:lol:
It's not safe to have live moved-from objects
 
12:43 PM
What's so funny about it?
 
@kbok You can always leave the old branch hanging for a while, no?
 
Github offers a very limited workflow via its GUI. It's a convenience but nobody forces us to use git the way they propose us
 
My point is: Imagine I am fixing a bug #4. If it takes my 15 local commits to fix it, it should still apear as one changeset fixing this particular issue
 
Then collapse it
 
It depends on the bug I guess
 
12:44 PM
Perhaps with a smaller project it's not a problem
 
Commit and changeset is the same thing
 
but imagine 20 developers, each of them taking ~10 commits to fix one bug
 
It may be "we need continuation support" so I guess one commit won't cut it
 
master log would overflow to the moon and back
 
the master log is going to overflow anyway
 
12:45 PM
@kbok can you elaborate on that?
 
Getting unicorns on GitHub.
@BartekBanachewicz Should it?
 
@R.MartinhoFernandes oh god please tell me you are not looking at my commits
 
@BartekBanachewicz A bug may be quite complex to fix so several commits would be better to explain the step the programmer took to fix it
 
IMO, if it compiles, it's a fine commit.
 
@R.MartinhoFernandes umm... I was under the impression that commits on master should "tag" the improvements.
 
12:46 PM
@wilx "No I won't use the simple way I want to use C++11 features"
 
I think you need to chill out about commits
 
If it takes 15 commits to fix, it's probably complex enough to warrant more than one commit; it's probably complex enough to warrant... hmm... 15 commits!
 
Unless 14 of them is "fixed the fix"
 
^ this
 
In which case it's probably not useful commits
 
12:47 PM
@kbok I was terrorized at work when I commited without a rebase
 
And you can squash them
 
Maybe that's PTSD
 
You can only rebase your private history
 
It's a good sign but don't let it slow you down
 
See this is a useless commit: github.com/lundiorg/lundi/commit/…
 
12:48 PM
Use the Cat's heuristic: if your commit is "fix the fix", rebase. Else don't
 
It should be an amend to previous one
 
@kbok I am learning a lot about git anyway, so it will slow me down until I get fluent with it regardless
 
@CatPlusPlus: If you understand all the nuances, which I admit I do not understand right now, it is shorter and simpler. The point is to use the C++11 feature because it is shorter and simpler once it is understood well and because I want to learn instead of just do and be done with it.
 
@BartekBanachewicz also amend
 
@wilx You can't use move here
 
12:48 PM
@CatPlusPlus that's what I was talking about.
 
I mean, you can, but it's the same as swapping
 
@CatPlusPlus: Why? @R.MartinhoFernandes has suggested it would work for std::string.
 
You have to remove the moved-from element ANYWAY
It's not safe to keep moved-from objects
And since you're doing "remove first element" it should either be a deque, or a reversed vector in which case you'd just do pop_back and not do any moves
@BartekBanachewicz Actually all those 3 commits should be one
 
@kbok that looks useful
 
Someone not here made a good case against unbuildable commits recently, they make bisect less useful or outright useless
 
12:52 PM
I remember this moronic conversation
 
Private repos and CI and collapsing, this is perfect flow :v:
 
The idea that it's good that you can rewrite commit history, right?
 
For me a commit has to be build-green and a branch merge has to be test-green
5
 
12:53 PM
^^ this
 
Which is not really related to cleaning up history
 
Wow, our first community contribution.
 
Well it's related in that it's about VCS
 
@kbok oooooh
 
It's with great honor that the lundi project accepts his first community contribution: github.com/lundiorg/lundi/pull/8 cc @R.MartinhoFernandes
2
 
12:55 PM
lol
 
ahahaha and it's a beaut
 
Good thing we have travis to check that you didn't break anything
 
Should've linked the comic in pullreq description
 
I contributed one character. Yupeee!
 
I'm disappointed
 
12:56 PM
Technically you contributed two, if you count the ^H
 
@CatPlusPlus which comic
 
I'm not linking animated GIFs of fapping in my repo
 
@R.MartinhoFernandes the build passed :)
 
std::future<std::future<RemoteMAC>> mac = mStack.execute([=](IPv4ProtocolStack& stack) {
    return stack.resolve(remoteIP);
});
mRemoteMAC = mac.get().get();
^ Kinda looks wrong.
 
12:58 PM
Why are you doing this if you're blocking immediately?
 
Xeo
@StackedCrooked join!
 
@StackedCrooked You gotta pretend you're coding in Java
 
@CatPlusPlus I shall move the blocking to a later stadium later.
@Xeo who?
 
@StackedCrooked And now is that part where I mention monads.
Dammit, Xeo did already.
 
If stack.resolve returns a future then uh isn't it async already
 
12:59 PM
@Xeo can you join a future?
 
Xeo
Haha
 
Good work, Padawan.
 
Why two layers
 
Xeo
@StackedCrooked Wrong join :P
 
@BartekBanachewicz What's this Travis thing, and how does it integrate with GitHub?
 
12:59 PM
@CatPlusPlus ARP is async. However, access to mStack is also async.
 
@StackedCrooked no, but it looks like they mean some haskell stuff.
 
I realized lol.
 
@StackedCrooked Monadic join, aka std::future<std::future<RemoteMAC>> -> std::future<RemoteMAC>
 
@StackedCrooked But why
 

« first day (914 days earlier)      last day (4036 days later) »