« first day (1103 days earlier)      last day (4071 days later) » 

19:00
@Pawnguy7 C language is a security concern
Ell
Ell
@BartekBanachewicz Ah wow
@Ell cue 2 lines above
user1804599
@BartekBanachewicz allocate a buffer with mmap and PROT_EXEC, copy the machine code into the buffer, cast a pointer to the buffer to a function pointer and call it! Done! :D
@BartekBanachewicz First parameter is the state, second is whatever the function returns in addition to manipulating the state.
@R.MartinhoFernandes it doesn't return anything :|
19:02
@BartekBanachewicz Well, then unit.
user1804599
2 mins ago, by not-rightfold
@BartekBanachewicz I’d say State Machine () but yeah.
aaaaaaaa
aaa.
a.
bbbbbbb
bbb.
b.
@R.MartinhoFernandes I wonder why no fucking one could spell it out on the internet
cause its the Internet. Why else?
Xeo
Xeo
19:03
@BartekBanachewicz It's rather obvious from the signature, I find.
@BartekBanachewicz Check the signatures of put and get.
Xeo
Xeo
runState :: s -> (a, s)
well now it seems rather obvious indeed
orite, so now my Machine is a Monad
what do I gain.
Whatever you do, don't drop the baby.
There's babies involved?
user1804599
19:05
You can use execState if you don’t care about the return value.
user1804599
Instead of runState.
GCC has r-value reference for *this right?
neat.
time to wreck shit
Xeo
Xeo
@R.MartinhoFernandes get is cool since it's just dup (\x -> (x, x))
@Pawnguy7 orite. Much better than cout
@BartekBanachewicz of course
I keep forgetting to unpack args before passing it though.
I like print("{0} + {0} = {1}", 1, 2)
19:09
@Rapptz lol
Is that what printf does?
No
@R.MartinhoFernandes What? :(
@Rapptz print("{0} + {0} = {1}", 1, 2), maybe?
typo :(
I didn't sleep yesterday as you probably witnessed.
I slept two hours :S
19:11
I sleep 2-4 hours everyday!
I think it was 4 hours here
Strangely today was one of the most productive days.
Oh and I'm not bipolar
Are you magnetic?
@Pawnguy7 printf("%d + %d = %d", 1, 1, 2)
19:12
I won't claim I'm otherwise sane, but I don't think I'm bipolar. I'm just always flatlining
@R.MartinhoFernandes Not for women, at least. Haven't tested other fields
@R.MartinhoFernandes are those not the same things?
@Pawnguy7 Now that he edited, yes.
Hah. I was looking for the difference for a good 20 seconds there before
I had {2} before (which would have been out of bounds)
Xeo
Xeo
19:14
@R.MartinhoFernandes Reader still fucks me up :(
Is git really that hard?
People in /r/programming are complaining about how complex it is and how poorly designed it is
In my experience, somewhat :D
You think everything is hard though
Good point.
though I do agree on the poorly designed thing
I don't know why git checkout does a million and a half things.
19:19
dafuq, I repcapped on meta with a single answer lol
Is it about a person who reads?
@Mysticial Happened to me too.
And I'm not even capped on SO either.
97
A: Closing changes: [on hold], unclear, too broad, opinion-based, off-topic reasons, bye-bye to Too Localized

RapptzI think the changes are okay but they still don't fill the gap that Too Localised provided earlier. I used Too Localised as a way to close certain questions that could definitely not help anyone and trying to put those under "Off Topic" feels like a stretch to me which makes it seems way too Catc...

^^ lol, almost a gold badge
lol
it's at 97 now? neat
too bad I never got my too localised/too narrow/low effort close reason
:(
@Rapptz 99
19:23
haha
thanks :D
I still think this is one of Jeff's good comments
@ScottW In my experience, it is more of not thinking: either you commit an .sdf file, or erase a few day's work.
@ScottW you didn't see me doing those?
@sehe Women are not fields, they are pointlike particles, soft, squishy and kind of nice. I see why your equations has failed.
Oh. Well I did :D
@Rapptz it's not (NOT) poorly designed. Git is exceptionally well-designed. However, the user interface is ... somewhat undesigned (?) - or generally a mish mash of various levels of abstraction and some competing jargons (--staged/--cached, anyone?)
@ScottW I recently did a git reset --hard HEAD with a few days work.
19:28
@CaptainGiraffe Maxwell! Get back in here!
@Pawnguy7 Well, if that work wasn't even in the index then that was the problem, not reset --hard
@sehe Well. I don't meant git as in the actual version control, I meant the UX of git. git is pretty good at what it does, it's how you get it to do those things that sucks.
@ScottW I think we already had that fact established.
@sehe He is long gone. Feynman looks from the sideline. Higgs is really too old to enjoy =)
@sehe That too.
Like I mentioned earlier, a good example is git checkout which does a lot of.. different things.
19:30
@ScottW I'm going to embed myself into you
So I can be an Embedded Software Engineer
damn I'm tired
@Rapptz Like what? Logically, I think the model for checkout makes a lot of sense, but the confusion stems from 'index' being magically kept in-synch (unless of course checkout --force was used)
user1804599
Has anyone here ever grown a plant?
I grew a pair one time
Just once.
user1804599
19:31
How fun was it on a scale from I to X?
@MohammadAliBaydoun lol
@not-rightfold Nobody. Photosynthesis and various other organic processes take care of this
@not-rightfold I have two plants that I put water on once a while.
It's a lot of fun. For biologists
Ell
Ell
@not-rightfold I used to grow vegetables
@sehe Off the top of my head, git checkout deals with branches, reverts files, reverts to a previous commit..
19:33
@ScottW yes, so far my git lessons have been rather painful
They could have been different commands or something..
Ell
Ell
I think checkouts very much make sense
@Rapptz Ah, you mean, it can do a lot of side-jobs. Understood
I know mercurial has hg rollback which makes sense for reverting
@Rapptz And they are, in fact. But those didn't make it into the porcelain. I think there's git read-tree etc. on the plumbing level
19:36
Anyway I don't think git is as complex as /r/programming makes it seem.
It's daunting a little at first but it isn't horribly hard.
@Rapptz Congrats on the Great Answer badge!
Would you say a template alias is like a template, but where you still provide arguments/types?
Xeo
Xeo
@Rapptz hg update can also get you back to a previous revision
Which is the same thing as git checkout, no?
git checkout -- files reverts the files, git checkout commit would move HEAD to commit for a bit
@MohammadAliBaydoun Neat.
user1804599
19:41
Lounge<C++> should organize a Tupperware party.
Where in a text would you put; The Cancer Transcriptome Database project is hereby referenced in this document as CTD?
user1804599
Cool.
user1804599
Sublime Text 2 clone in Go.
user1804599
Meh Qt.
Xeo
Xeo
@DavidKron Nowhere. Use the long name once and put (CTD) after it. use just CTD from then on.
Or "(referred to as CTD from here on)"
Whatever you like more
19:47
@DavidKron Or in an appendix: glossary of terms and abbreviations
Xeo
Xeo
> bump = state $ (,) <$> head <*> tail
> peek = state $ (,) <$> head <*> id
> f = (,) <$> bump <*> peek
> runState f [1,2,3]
((1,2),[2,3])
Maybe I like Applicative a little too much. /cc @Bartek
user1804599
Can’t wait till 7 December.
My SAT is on the 7th of December ;_;
user1804599
Finally that retarded Zwarte Piet debate will be over until October 2014.
Would it be cool to have std::vector<T> operator +(std::vector<T> const&, std::vector<T> const&)?
user1804599
19:58
No.
@not-rightfold Can we spell M.e.d.i.a. H.y.p.e.
user1804599
@sehe It’s annoying.
I consider it a real problem that media hypes can affect real life these days. It's moronic
user1804599
Ik erger me er blauw (zwart?) aan.
@MohammadAliBaydoun Remember remember the 7th of December, the snowfall and icy cold mist.
@sehe Yesteryear was worse, but: It is moronic, we have the technology to not being subdued by giants, but seem to choose want to.
user1804599
20:01
Ugh.
user1804599
Damn soldiers training in the forest.
user1804599
How can one sleep with the sound of all these guns.
http://eigen.tuxfamily.org/dox-devel/group__TopicStlContainers.html
Dafuq eigen... T_T
how am i supposed to use an aligned allocator with boost::variant fixed
20:08
@BartekBanachewicz I made 70 rep yesterday with a question.... which I "stole" from Lightness xD
@Borgleader I got 200 today, but 45 is from accepts
that means I need 5 answer upboats more
user1804599
maybe I'll answer on Mathematics.se instead
@BartekBanachewicz gratz
@Borgleader road to 10k, huh?
20:11
@BartekBanachewicz You can be there in 2 days
I'm a little too far to be optimistic about answering shitty questions
I haven't answered questions in a while.
I wonder if I should try that again.
Well, I just finished implementing a QuadTree. Time for the painful process of testing it!
@MohammadAliBaydoun glhf
Does VS 2012 support variadic templates?
20:24
@Pawnguy7 badly
I was expecting an answer from @cat here.
Via the November CTP?
@Pawnguy7 No. They've simulated them for some parts of the standard library by providing templates with 1...N arguments, but it's clumsy and (obviously) breaks if you try to use N+1 arguments.
I was trying to do this.
But the same thing seems to fail to compile on my end.
Compilation with simulated variadic templates is also comparatively slow -- VS 2013 (with real variadic templates) is noticeably faster.
@Pawnguy7 Fails utterly with 2012, works fine with 2013.
20:30
Perhaps this added to my confusion.
I was trying to follow examples, but I always failed :D
@Pawnguy7 Using 2012, that would be expected. The CTP and RC could both do variadic templates to at least some degree, but the CTP had quite a few problems (enough that I wasted a couple hours one day trying to figure out what was wrong with my code, when the answer was "nothing").
Lol how's this for an internet comment:
> No. It is a prediction that someone who is 65 will live on average another 19 years to age 84. It does not assume "as many will die before as after." The wikipedia article on life expectancy is actually quite good, if you are interested in learning more.
user1804599
> Apps Using Significant Energy
> Firefox
user1804599
Cool.
@StackedCrooked I'd predict that about as many comments on the subject are more accurate as less accurate.
user1804599
20:37
user1804599
This is nice.
@JerryCoffin I predict the author would like to have a word with you.
@not-rightfold New OSX?
user1804599
Yes.
nice
Btw, I think flux probably saves more energy than it consumes.
user1804599
It also has timer coalescing like Windows 7 does.
user1804599
20:40
@StackedCrooked How?
user1804599
It doesn’t change brightness, just gamma.
I think it uses less energy..
I may be wrong..
Btw, which setting do you use? halogen, fluorescent?
@StackedCrooked My intuition would say the same.
user1804599
@StackedCrooked Candle.
user1804599
20:42
The thing that sucks is
Candle way too red for me.
I use halogen.
user1804599
If I put the brightness all the way down, it’s too dark.
user1804599
And if I put it on the second lowest setting, it’s too light.
I recall keeping brightness on max when I used my Mac.
@JerryCoffin you are currently using 2013?
20:43
Mine is also always maxed.
user1804599
@MohammadAliBaydoun Not if you have a MacBook and you wake up on a Saturday morning ready for your eyes to burn.
user1804599
(My room is 100% dark when the curtains are closed.)
0% undark
user1804599
I always put a block before the flashing light on my MacBook when it’s in stand by mode.
user1804599
So my eyes are completely asleep when I wake up.
20:45
I'd love to shine a spotlight in your eyes when you first open them.
user1804599
I’d punch you in the face.
user1804599
And kick you in the balls.
user1804599
And then I’d make a picture of you and post it on /b/.
user1804599
With a link to your Facebook profile page.
You'd be blinded.
I have the advantage.
20:46
@Pawnguy7 Yes.
user1804599
@StackedCrooked VoiceOver is pretty decent.
@JerryCoffin it seems to be terribly slow for me
@Pawnguy7 The compiler or the IDE?
Has VoiceOver changed a lot?
@JerryCoffin the IDE
20:47
The program
Never used it much.
@Pawnguy7 I mostly compile at the command line.
user1804599
@StackedCrooked Since when?
user1804599
I know a guy who’s blind and he uses it all the time.
20:48
Since new osx?
Oh.
I get it now.
user1804599
Since Leopard.
user1804599
And on iOS.
The app store ratings for Mavericks are very high.
user1804599
It’s not a big update.
user1804599
It’s basically the Snow Leopard of Mountain Lion.
20:52
Mountain Lion already was the Snow Leopard of Lion.
user1804599
Finder has tabs and tags, there’s a Maps application and integration with Calendar, it has iBooks included, it’s more efficient w.r.t. power usage, it compresses unused RAM, scrolling is a little smoother, it has new wallpapers, full-screen apps actually work with multiple screens now and that’s about it.
> compresses unused RAM
Say what ;-;
user1804599
Uh well, if you open a program and it idles for an eon, it will compress its RAM. :v
user1804599
It’s more efficient than swapping.
user1804599
IIRC Linux also does this. (Or was it Windows?)
Hrm...
user1804599
As for power saving it does timer coalescing, which is also present in Windows 7. Not sure how big the impact is, though.
Now the template itself compiles, but instances fail.
It tries to cast the first parameter to the type.
Xeo
Xeo
Whatever you're doing, you're doing it very wrong.
user1804599
20:59
Everyone is always doing C++ very wrong.
user1804599
There is no way to do it right. :D

« first day (1103 days earlier)      last day (4071 days later) »