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

00:00
And this one is 245 MB/s.
And cheaper.
Weird.
00:11
@AlexM. I'm assuming you want this? :P
Notice those std::move(*this) calls.
@Borgleader One of my classmates have those -_-
Have anyone of you used Dell XPS 13 Developer Edition?
Developer Edition?
What's so special about that?
It has a "developer edition" sticker
And 50% extra markup
00:19
Sweet!
Is there actually anything better about it? The only thing I see is that it comes pre-installed with Ubuntu.
If you have to ask then no
That's all I saw too.
Pre-installed with Ubuntu 12.04
Also pre-loaded with "... the right drivers, tools, and utilities."
00:27
I don't really know why the friendship bit works like it does
@Nooble I actually like the design of the earcups (or wtv those things are called), but the cat ear parts... meh
>
painless conjugate gradient method
Attached Files:
File painless-conjugate-gradient.pdf (503.477 KB)
painless conjugate gradient method
beware if you dare:
Wikipedia is 100% less pain
@DonLarynx Needs more \displaystyle in the fractions in the middle
Within {cases}
00:43
Hint: -0.155 rounds to -0.15
@Nooble aka: we ran sudo apt-get install gcc-4.9 for you.
is there a name for an adoptation of the boyer-moore string search algorithm that combines n characters into one exponentially increasing the size of the alphabet, which could significantly speed up searches with small alphabets (e.g. dna)? it was briefly referenced as a suggestion by Thomas Standish in the 1976 publication but I can't find any other info. it seems brilliant, but efficiently handling boundaries could be complex...
Is IoT really deserving of all the hype it gets?
is there a stack exchange where it would be on topic to ask if there are any known implementations or papers on a published referenced algorithm "suggestion"?
@thecoshman Yes
Interestingly @AMostMajestuousCapybara still pings me
00:56
@Xeo Btw, thanks for suggesting the "title" feature in Coliru. I use it daily myself :)
@StackedCrooked whats that?
oh, nice
#title HELLO will be displayed in the window tab.
So if you bookmark it it will immediately have the right title.
@JDiMatteo Doesn't seem like something you need stack exchange for. Wouldn't google scholar and/or a good advisor be able to help you out here?
If all else fails, cs.stackexchange might be able to help, but i'm not familiar with the community.
00:59
@JDiMatteo I'm not aware of any name for it.
@Jeremy: thanks, maybe I'll try cs.stackexchange
Jun 3 '14 at 19:18, by Xeo
Have an input that is shown as the Title of the page when sharing
^ Best feature request.
Given a POD type whose members are all const, is there a way to initialize the values without writing a constructor, pre-C++11?
POD with const members?
@StackedCrooked Yeah.
01:02
@caps Designated initializers
POD pod{ 1, 2, 3, field4 }; // should work
But const members create unhappiness.
Jerry Coffin: are you familiar with it? it is referenced in the second to last paragraph of the 1976 "A Fast String Searching Algorithm" by Boyer and Moore: "Thomas Standish...has suggested...improved by fetching larger bytes in the fast loop (i.e. bytes containing several characters)...could improve the behavior of the algorithm enormously". cs.utexas.edu/~moore/publications/fstrpos.pdf
@StackedCrooked How so?
@StackedCrooked It seemed to me like a nice way to enforce const correctness, since containers can't hold const values
01:04
const POD obj; also enforces the const correctness.
@StackedCrooked std::vector<const POD_obj> ?
@StackedCrooked Bitwise constness anyway
Nah. const std::vector<POD>.
@StackedCrooked I'm still curious about this, though.
Const members disable copy assignment.
01:06
@JDiMatteo When you mention it it sounds familiar (but I doubt I'd have remembered it without somebody else mentioning it).
@StackedCrooked Then you can't add any items
@StackedCrooked Ah, right. Then you have basically the same problem as a const POD_obj. I don't know why I didn't realize that.
@caps Create a copy into a new and bigger const vector :P
(JK)
@JDiMatteo Most variants were oriented more toward simplifying the basic algorithm (Boyer-Moore-Horspool, Sunday's variant of Boyer-Moore-Horspol, etc.)
@DonLarynx Conjugate gradient ... reminds me those lovely times when I swallowed everything whole without trully understanding anything in uni maths
@StackedCrooked A newer, bigger, conster vector.
01:07
@ParkYoung-Bae lol, "conster"
@StackedCrooked seriously though...
@JerryCoffin I guess it could have been forgotten since it probably isn't a good idea unless the alphabet is tiny... and dna sequence data wasn't available in 1976
Why would you make the members const, just make your type immutable
Every day a new distro!
but I do remember that if you multiply two things that are perpendicular to each other, you get zero (matrix operations)
Soon I shall find the perfect one.
01:09
@Nooble How are you going to know it's perfect if you only keep it for a day?
@JDiMatteo I suspect at the time, he was probably thinking more along the lines of Baudot codes, which were only 5 bits. There were still in wide use at the time.
@caps I look at the features, try it out, see how it performs.
Constness seems to matter more when dealing with object references.
Xubuntu seems nice.
@StackedCrooked I've just been defaulting to making things const until I find a reason for them not to be.
01:12
@Nooble I always thought "Ubuntux" would have been a cooler name.
No SSL library will compile for me.
I'm doomed.
I've tried every one.
@Nooble But I'll let you in on a secret... there is no perfect one.
@caps You can go too far. You'll notice when you get there :)
@JerryCoffin Truly.
@caps :C
@StackedCrooked Should I be concerned that when I notice, it will take a lot of work to undo?
01:14
E.g. I don't see the point in making non-ref/non-pointer params const. But I know some there's people who swear by that.
@Nooble Or maybe UbunTuX to make it a little more obvious.
@caps I don't think so.
@StackedCrooked When stuff is const it it harder for it to change without you noticing it. Mistakes like "=" instead of "==" are more likely to break at compile-time, etc.
01:17
@Nooble They've gotta lotta damn gall, stealing my idea like that.
@caps Never happened to me actually. (Not that I remember at least.)
@StackedCrooked It's also kind of a readability thing. If everything is const, then the thing that's not const stands out, and the reader knows "Oh, this value is being modified somewhere."
@JerryCoffin How rude of them.
@Nooble I guess this once, I'll forgo my usual demand that rudeness be punished by death.
why are there black holes when the universe is expanding? maybe I should ask this on physics site
01:28
@JerryCoffin Instead they shall be beaten halfway to death, twice.
I mean I understand why there is a blackhole at the centre of the universe
according to the theory anyways
user3010322
I wonder where CodeGuru went...
Also GuruAdrian.
All the gurus are missing.
left all the newblets here :p
<-- newbie
Well, another Yearling badge. It's my sixth one now.
01:37
@ThePhD he changed nickname on this site maybe?
user3010322
@chmod711telkitty Maybe!
codeguru doesn't strike me as rage quit kind
I'm getting a segfault in my code, and the error is giving me the function + what I assume is the offset for the instruction. The problem is that this is my first time without a visual debugger (VC++ has spoiled me). How can I find out what line of the function the segfault is occuring on in lldb?
@MarkGarcia Windows only. My perfect solution for that would be across operating systems.
01:42
@MarkGarcia You mean people use Synergy for something else than sharing a mouse between a Mac and a Windows PC?
@Oldfrith @EtiennedeMartel Oh right.
But I mostly use VMs, so it's quite okay for me.
I don't know how it'll do with VM windows/screens though.
@MarkGarcia I'd assume fairly well? I really don't have much experience with using it for VM's
Mouse isn't much of an issue when it comes to cross OS, keyboard is ...
@chmod711telkitty There are still people who use those single button Mac mice!
@chmod711telkitty There are lots of theories, not just one. One theory would reverse your idea: rather than a black hole at the center of the universe, the universe at the center of a black hole. insidescience.org/content/…
01:48
I wonder if I should see the Grand Canyon at least once in my lifetime..
I wanna hike the rockies
@chmod711telkitty fuck math anymore
interest lost is lost interest.
too much into programming now.
@DonLarynx Now go make your own kernel!
> One of my old coworkers didnt believe in solar eclipses. He said you would have to be stupid, bc the moon would melt if it went into the sun... I tried explaining why he was mistaken and he called me a scientologist.
lol
> My wife just arrived home and I asked her if she remembered anymore of his stupid moments and she reminded me that he once argued that there are 52 states in the USA, and that Hawaii and Alaska are NOT states. I can't remember where his math came from on this but I do remember he argued that the Philippines are a state.
Silly peoples.
I wonder if there's actual science in Scientology doctrine.
01:53
> Until 2013, my wife didn't think nuns existed.
WTF
@StackedCrooked Yes, you should.
@chmod711telkitty All of them? That's a lot of hiking!
@StackedCrooked When I was young, I just wished nuns didn't exist.
What is this shit that comes out at every new answer I post?
01:55
@Jefffrey Stack Overflow's
@JerryCoffin you wished there were nun?
Nunsense!
I'll have nun of it!
@MarkGarcia I'm confused. Is that a question?
Yes, it's on Stack Overflow
@StackedCrooked Bleh, you repeated the pun... :P
01:57
@StackedCrooked They said there were many advantages to going to a Catholic school, but I was having nun of it.
> What is this shit
I went to Catholic schools.
@Jefffrey Yet more of Stack Overflow doing alpha testing by releasing it on the world and seeing what breaks.
Most schools here are.
@JerryCoffin My balls most definitely.
And the questions you get by clicking the button are nothing like the one you just answered.
02:00
@StackedCrooked I did too, but not particularly voluntarily. OTOH, my mom (who was a teacher before she retired) has since said it was mostly because the alternatives were really lousy.
@Jefffrey Probably share at least one tag (or something like that).
@JerryCoffin how long does a good track take
My mom wanted me to go to catholic school because the others supposedly were full of delinquents.
I don't know how to edit/handle it.
Maybe I'll just flag it. The mods know better.
why bother?
Why? I'm being a good citizen of Stack Overflow!
I already am 10k! Oh so many responsibilities!
02:08
@MarkGarcia You can see the blue circles now.
@chmod711telkitty How long do you want to take? Just for example, the Rainbow trail is around 100 miles long. I've heard of people hiking the whole distance in only 4 days, but I think that's insane. At 25 miles/day, you'd basically be completely ignoring virtually all the scenery.
@StackedCrooked Yeah. Most of them are quite comedic for me.
@JerryCoffin a week at my fittest level without over stressing
@MarkGarcia Ah, Redditors.
I can comfortably do 2 miles an hour for 8 hours with 10kg backpack
02:15
@chmod711telkitty I probably could have done it in 4 days at one time, but I still say actually doing so would be insane. I'd rather plan on 5-10 miles a day or so, and reduce the distance if necessary.
@chmod711telkitty I can comfortably numb.
lol
I do a lot of bushwalking/hiking partly because I enjoying it, partly because I have to - I love food too much, if I don't exercise enough, I will become a pigly cow ~_~
I should probably add: some of the hikers I knew when I was younger truly were insane. One pair decided to hike the ridgeline from Cheyenne Mountain to the top of Pikes Peak (then down Barr trail) in one weekend, in the middle of the winter. Ended up in their tents, buried under close to 20 feet of snow at one point (and apparently couldn't quite understand why most people thought of that as a problem).
The best I have done was 50km in 30 hours once & 70km-80km in 3 days another time
user3010322
Machine Learning is hard.
02:25
@chmod711telkitty Distance can be deceiving in the Rockies though. Just for example, Barr trail is only something like 12 or 13 miles--but hiking it with a full pack will probably keep you pretty well occupied for an entire day (only 12 miles--but close to 8,000 feet of elevation gain).
@ThePhD I tried to use that for a school project (a Starcraft AI), problem is we kept making changes to it and didn't give it any time to learn so in the end all it did was build turrets all over the base =/
I should make a version 2.0 of it
user3010322
@Borgleader Teach me what you know. :D
@ThePhD All I knew came from A.I. : A Modern Approach. And I did that over 2 years ago so I don't remember much.
@Borgleader is the book good?
I haven't gotten around to reading all of it. But the parts I did read were useful yes.
02:32
well damn
i already have dozens of books waiting for me to read them; gotta add another
@JerryCoffin some of the bushwalkers I know of are quite 'insane' too - they are okay with hiking solo for a week or a month (stop at towns to replenishing food/water supply), common complain is on how it can get scary at night because of 'weird' sound ... especially when you are alone, far away from civilization & have not see anyone for days
@Blob I once looked at 3D books on amazon, and had over 400$ worth of books in the cart in no time, so I closed the browser before I ruined myself :P
@JerryCoffin that is true. There is no tall mountain in Australia, so I kind of forget that factor
@chmod711telkitty I can't blame them. I've gotten a little paranoid a few times, even though I was on fairly heavily used trails pretty close to town.
I guess it's different in the U.S. where you have bears and wolves ... here the best we got are brown snakes & they run away from people
02:48
One quick route to getting a little paranoid: was doing a mountain bike ride around Rampart Reservoir, and barely had enough time to finish before dark--then a fog bank rolled in, so I had to walk the last 3 or 4 miles or so. Don't know for sure what they were, but after the fog cleared, I definitely saw some eyes out there in the dark.
I did a bit of hiking in china too, but chinese mountains are too touristy
Also I hiked yosemite some 10 years ago, one of the trails anyways
@chmod711telkitty Not really likely to see either one, at least if you're reasonably careful. Wolves are pretty rare, and most bears are pretty good at avoiding people (at least in the wild--bears that live in/near towns can be a whole different story, and much uglier to deal with).
im bored
user3010322
02:58
I'm tired.
Dec 1 '14 at 1:52, by chmod 711 telkitty
Also not good night of sleep, didn't know the people well. Kept awake by all those kangaroos/wallabies walk around the tent, hearing the weird loud cow screaming in the distance after seeing all the green lights outside your tents that were actually fireflies, knowing you are in the middle of no where. There was also one instance something big fell from the tree
someone told me there were no fireflies in Australia, I definitely saw something that looked like fireflies that night
Yay! Net Neutrality!
user3010322
It died?
Huh?
No.
03:15
@Pris Hmmm.. I'm guessing.. a gas station and lube bay?
03:30
Ok well that was worth it
Except it's now 3.30am
I was hoping to catch up on sleep and have a productive day before tomorrow night's big date
Oh well #yolo
Oh, good job on Lotto @MartinJames
04:01
Nobody here cares about your 'big' date ... Unless it's one with vlad ...😹
💛💙💜💚❤️💔💗💓💕💖💞💘💌💋💭💍
From u 2 vlad
Damn ... There is no gay emojis
@Pris Why would someone take a picture of a gas station?!
04:17
Never knew it exists.
Hello @ScottW!
05:00
If you're seeing 10 billion iterations of anything in under a millisecond, you should really question the benchmark itself... — Mysticial 38 secs ago
I don't get the question.
Did he expect it to be O(1)?
@Mysticial Counter example: empty loop
Oh he's comparing it to other things.
@ParkYoung-Bae Empty loop still has a loop counter.
No processor can increment a loop counter 10 billion times in a second - let alone a millisecond.
while (true) {} This loop is empty. You could argue it's impossible to distinguish a beginning from an end, therefore it has infinitely many iterations per second :p
05:17
Comparison operations can go on for hundred billion times or snap out of the loop if the condition is met in less than 10 rounds.
05:31
hi guys :) i need a little help with multi-threading in c# i can invite to private room ;)
05:41
What is your question
ty :)
here => pastie.org/9983477
error says, procedure expect "img1"
FYI i'm a noob :)
06:01
@geek007 What?
Also, this probably belongs to SO proper, if you can actually provide a reasonable test case.
its sort a fixed / working for now wilx. thankx to park :))
06:17
Cicada is in a good mood for getting his account back probably
06:35
how are you doing, people?
Hi. Where is that?
Lappland.
68.4°N
I could tell! The snow gave it away.
It's the frozen lake Torneträsk and in the back is Lapporten ("Gate to Lapland"), the U-shaped mountains.
Oh that's a lake?
07:14
The flat snowy expanse, yes.
Are you there? :)
Hm. std::unique_ptr is really well designed.
I'm returning now.
But yes, I was there.
Looks neat.
Would be nice to see the same place in all 4 seasons.
@Rapptz Hm, sometimes I regret the possibility of manually assigning nullptr to it.
07:17
I plan to return at some point.
@ParkYoung-Bae You mean my_ptr = nullptr;?
@Rapptz Yes, for example. Ideally, I'd like for a unique_ptr to be only assignable from valid pointers.
@R.MartinhoFernandes Summer!
You can't assign it non-valid pointers though.
@ParkYoung-Bae you could have it fault right?
        for(int j=1; j< N; ++j)
    {
        acc *= -1;
    }
//I don't understand why the out put is 6.95322e-310
07:19
my_ptr = nullptr is just a shortcut for reset().
I'll reword: I'd like unique_ptr to be null only after being moved-from.
Oh that'd be terrible.
@Theorem acc was equal to 0, or undeclared
@Theorem where is acc defined?
I use reset a lot for C APIs.
07:21
@Rapptz Yeah it brings a lot of other problems too.
@Mikhail @bluefog "double acc " thats the variable .
But:
foo(std::unique_ptr<X> x) {
    if (x == nullptr) {
        throw;
    }
    ...
}
@Theorem initialize it
I hate that
@bluefog aah ok .
07:22
Well it's called unique_ptr not unique_ref.
e.g. some C APIs return null for failure.
Well where's my unique_ref then!
std::reference_wrapper maybe
But ownership
:p
I still think std::error_condition is useless.
I have no one to funpost about it though.
@bluefog Why do i get 6.95322e-310 when i do not initialise ?
07:27
@Theorem U N D E F I N E D B E H A V I O U R
@Theorem UB
Direct your next questions to google.
Ok :)
thanks @bluefog @Rapptz
I like it when I answer a question thoroughly and then I get a comment
(BTW how do you keep the comment formating of SO when posting here?)
"thx it workx but y z?"
@Rerito Paste the link to the comment
07:29
Thank you for your detail explanation. I'll try this. Anyway, I would be more appreciated if you give me some code. But thank you very much. — user1680791 5 hours ago
give codez pls.
> I would be more appreciated
FYI the question has no language tag
That's a nice shitpost.
No you wouldn't. Noone appreciates you.
07:30
I like it.
He asks for algorithms and wants an implementation
great
It's like "I'm disapointed, I expected to just do a quick C/P and be done with that shit".
Exactly.
Also, what font and font-size do you use when programming an codes?
Consolas 10pt
Hmm, 10pt is huge no?
07:36
ubuntu mono with vim
@ScottW lol
@ParkYoung-Bae It's either 9pt or 10pt.
9pt seems fair.
It's 10pt. Just checked.
It's not that big though..
Some student memories "we're short of some pages... Let's increase font size! Genius!"
07:40
@Rapptz Myes. How about 9?
Looks slightly denser and sharper but still readable.
Yeah I can still read both.
I sit a little far from the screen and 9pt seems a bit small to me
Still readable but may be painful on the long run
Oh. I don't call cleanup.
I knew something was wrong with that snippet.
07:45
Is that the requests for C++ you're working on?
I've spent the last couple hours compiling OpenSSL.
Nightmare.
@ParkYoung-Bae Oh yeah I was gonna work on that.
The libcurl API is so meh.
Guys, should I spend time learning C to be good at C++?
Not really.
I feel like C has a lot of impact on many languages and it should be worth learning.
If you want to learn C, learn C. If you want to learn C++, learn C++.
They're different languages.
07:54
@ParkYoung-Bae get a screen from this century vOv
@thecoshman I have 2x24"
25
A: Why is the type system refusing my seemingly valid program?

pigworkerIf your program really seemed valid to you, then you would be able to write the type of get that does the job you want in Haskell, not in handwave. Let me help you improve your handwave and uncover the reason you are asking for the moon on a stick. What I want to express is: get :: (Convert a...

This is just brilliant
One of the best answers I've read in the last year I think

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