« first day (1523 days earlier)      last day (3425 days later) » 

user1646075
10:00 AM
@gnzlbg that's from Wayne's World isn't it?
 
@Bartek ?
 
@AlexM. Possibly sexual?
 
user1804599
@GuruAdrian I think two instructions BeginCatch and EndCatch should do.
 
@ParkYoung-Bae 거짓말 쟁이. 또한 프랑스어!
 
user1804599
With a pointer to the handling code as operand.
 
user1646075
10:03 AM
are you supporting typed catches? I guess IF it gets to a catch, resolve that at that point?
 
user1804599
Catch blocks pattern match.
 
@sehe Smells like google translate :p
 
No way. How'd you tell?
 
user1646075
you going the C++ approach of zero-intrusion for non-exception code, or the exceptions-4-lyfe mentality that some worlds use?
 
user1804599
No idea what you mean exactly.
 
user1646075
welllll, i'm thinking how much registration is needed as each block starts. I'm not at all familiar with common approaches.
 
user1804599
I like using exceptions for errors the API consumer likely doesn't want to handle locally, like I/O errors or division by zero.
 
@sehe To answer your question seriously, Google's Korean translator is awful
 
I thought so too
 
user1646075
i prefer exceptions to be, like, exceptional, not just 'oh poo, you can't open this file'
 
user1646075
10:05 AM
so yes, that's what you said innit
 
Funnily enough, doing English -> Japanese -> Korean often improves the quality of the translation
 
user1646075
@ParkYoung-Bae pro-tip!
 
Tells you Korean is closer to Japanese and English/Japanese are more popular on Google Translate
 
@sehe Same family of languages (also Turkish and derivatives).
 
user1646075
it sort-of tells me that delta(English,Japanese) = inverse(delta(Japanese, Korean))
 
user1646075
10:07 AM
the defects cancel out
 
cool theory bro
 
user1646075
@sehe oh that's an interesing point.
 
user1804599
@GuruAdrian I'd throw an exception for that.
 
I'd take an arrow to their knee
 
@GuruAdrian What would you do instead? TryOpen? Invalid handle?
 
user1646075
10:08 AM
@rightføld hmmm. it's so regular that i'd prefer to handle it inline.
 
user1646075
@milleniumbug that's the dilemma I guess. depends on the lang
 
user1646075
I think the behaviour of Icon/Unicon has great merit for things like this. I liek Icon/Unicon.
 
@sehe EQUIVEREMPTY
 
user1804599
There are so many things that can go wrong when opening a file.
 
can you actually constraint a function with a concept (e.g. InputIterator), and then use SFINAE to allow all InputIterators except one?
 
10:11 AM
Just kidding.
 
user1646075
@rightføld yeah true. maybe a bordline bad example.
 
For the YAPGAPDP thing: I definitely don't want to reinvent the wheel. On the contrary, since I have a tough time limit, I am glad for anything I can reuse legally. The tool I am developing is based on an algorithm that has not found his way into common diff tools for unknown reasons. Thus my project is about doing some research and to implement it, just to see, if there are any matters or even improvements compared to current diff tools. No reinvention there, sorry :-P — Paddre 12 hours ago
I think that means my hunch about the YAPGAPDP thing was right
 
@ParkYoung-Bae i know, i think you can
 
user1804599
Not being able to open a file is something you typically cannot recover from.
 
I said... MORNING
 
user1804599
10:12 AM
You usually want to catch such errors somewhere higher up the callstack.
 
@rightføld Does that mean opening a file == cancer
 
what if you run out of memory, and then throw an exception, but there is no memory to allocate the exception?
 
user1646075
@gnzlbg game over, man!
 
Terminate.
 
user1804599
@gnzlbg Have a single global bad alloc exception that is always there. :p
 
10:12 AM
does the exception throw an exception?
 
Jan 4 '11 at 11:32, by Tomalak Geret'kal
@tina good morning
 
user1646075
you'll run out 37 cycles later anyway...
 
because it ran out of memory and
@rightføld but if hadn't done that maybe i would have had enough memory, and don't throw
 
Wow, tina.
 
@gnzlbg new_handler
 
user1646075
10:14 AM
@gnzlbg if memory is THAT tight, you're living on borrowed time.
 
user1804599
@gnzlbg Kill a random process.
 
user1646075
@rightføld works for Linux!
 
@rightføld a random one between 0 and 1!
 
user1646075
"Let's over-commit memory!" "OK!" "Well, that's all the paging space gone too!" "OK! open the window! put on the blindfold! SHOOT!"
 
10:15 AM
Hmm. Using the screen on grayscale uses a lot less power.
 
user1804599
How do you simulate OOM in C++?
 
Object Oriented Memory?
 
@GuruAdrian is this why your site shows those nice ASP error pages?
 
user1646075
Out Of Memory
 
Out Of Mana?
 
user1804599
10:16 AM
@ParkYoung-Bae out of memory
 
@rightføld No shit
 
@rightføld that doesn't make more memory available for your program
I think..
 
@StackedCrooked depends. s/doesn't/may not/
 
user1646075
@sehe Yes, all my sites are ASP on Linux so it can taunt the end-user with OOM handler parodies.
 
@rightføld allocate memory till you run out?
 
10:17 AM
@rightføld I have never succeeded in doing so.
 
user1646075
@ParkYoung-Bae blame the scroll-slip.
 
Replace global op new
 
if you have 64bit process, good luck :P
 
user1646075
@StackedCrooked it does by randomly killing so it can over-commit again
 
user1804599
@TonyTheLion doesn't work on all platforms.
 
user1804599
10:17 AM
@R.MartinhoFernandes oh right of course :P
 
@rightføld do I look like I care?
 
user1646075
personally I would have thought it appropriate to kill the greedy process directly, or at least refuse the allocation
 
user1804599
@TonyTheLion yes
 
tony cares
 
user1804599
10:18 AM
@StackedCrooked do I look like I care?
 
I don't want to look at you.
 
one more week of work and the hawlidays
weeee
 
@TonyTheLion Same heeeere
 
user1646075
I timed my surgery wrong. I think I have to go back to work next week for just tue and wed. Talk about poor management.
 
user1646075
i had my conscience removed, in case anyone is wondering.
 
10:23 AM
we noticed
 
user1646075
not that I care
 
@ParkYoung-Bae It's not bad at Konglish.
 
@GuruAdrian are you one of the typical netizens that doesn't care about anyone except themselves?
 
user1804599
Is there a non-copyable std::function-like template in std or boost?
 
user1646075
@TonyTheLion pretty much. Why help anyone when you can help yourself? Much easier now, without a conscience.
 
user1646075
10:31 AM
i'll probably be able to get filthy-rich now.
 
hahaha
 
you forget humans are social animals, thus making others happy makes us happy is ingrained in our genes
of course self preservation first
 
Thus being altruist is being selfish, in a way
 
user1646075
@Rerito it just works. Evolution, and nature, has no conscience.
 
We're all assholes anyway
 
10:36 AM
at least we are more or less equals, lol
 
user1646075
@chmod711telkitty you won't think that when you have kids, if you haven't already felt it elsewise already.
 
@Rerito But being selfish is not being altruistic
 
@R.MartinhoFernandes Good point
 
@Rerito Speak for yourself
 
@Rerito speak for yourself
lol
 
10:37 AM
nice timing there
 
@GuruAdrian still self preservation - your genes through your kid's
 
And I thought "I should inb4 'Speak for yourself'"
 
too late
 
user1804599
lol I got fascinating hat.
 
hascinating fat
 
10:38 AM
You must have commented an old answer then
 
I am sure mother teresa deserves respect, but then she depended on other people for her own basic needs - food, shelter.
 
Hmm, say I have a member function like set_value(double) which checks whether its argument is within limits; if it is greater than the max, it sets the data member to the max, and if it is lower than the min, it sets it to the min. What's a good name for set_value() which expresses this?
set_value_within_limits() sounds verbose
 
user1804599
@Rerito no, it's for posting a heavily-upvoted answer.
 
I think there's a word which expresses the operation but that doesn't quite come to my mind
 
More like commenting it ? That's how I got mine
set_bounded_value?
 
10:41 AM
@AndyProwl clamp
 
@sehe Awesome, thanks
That's the word I was loooking for
 
And o's to spare tooo
 
Xeo
@AndyProwl set_clamped?
 
Apr 20 '12 at 13:45, by Cat Plus Plus
Give 'em clamps.
 
@Xeo Yep
The function is actually called set_positions(). It takes a vector of positions each of which has limits, so it's going to be set_clamped_positions()
Thank you
 
10:43 AM
> Pay For Faster Linux Kernel Performance? There's Patches For That sauce and phoronix
 
There’s also 'snap', as in 'snap to grid' for discrete stuff.
 
WTF. ^ can you even do that with GPL code?
 
user1646075
@chmod711telkitty ok, what about how so many people selflessly jump in to danger to help others? Answer: helping the larger group also helps yourself. But the brain does not process it that way, until it starts rationalising. The brain just goes "time to helllllp!"
 
user1804599
@sehe you can sell GPL code.
 
user1646075
@chmod711telkitty Also, what about your dad? do you help him? Where's the genetic benefit there?
 
10:45 AM
@LucDanton Will keep that in mind, thanks
 
@rightføld yup but it also needs to be available, right (unless LGPL)
 
@sehe From what little is available on the phoronix article, there’s nothing shady going on per se.
@sehe To the paying customers, yes.
 
Duh, CS in movies is soooooo dramatic
I watched a bit of Skyfall while commuting
 
> I quickly scanned website and the author(s) distribute all patches under gpl 2.0 license (there are links to polish text of it). However, you have to pay for pre-compile kernels. After signing agreement you will get all new builds for 1 year. Text from this page: netext73.pl/2014/02/kernele-e-x-t-7-3.html
 
The whole computer forensics stuff is utter bs
 
10:47 AM
@LucDanton oh that's subtle
 
In turn, copyleft being what it is, any licensee can themselves license to anyone they want to.
 
user1646075
@Rerito hollywierd still hasn't caught up to how computer-savvy the general population is getting
 
@GuruAdrian I help strangers every now and then without asking for return. But you are assume nature actually cares about individuals, but nope, it doesn't. Let me ask you, when was the last time you let a homeless person sleep in your house for free?
 
> Kernels were built from vanilla sources with latest gcc. They were just "optimised". If someone wants to pay for such service it's not my business

I only can congratulate netext73 kernel author for a good business idea.
 
user1646075
@chmod711telkitty i don't see them, but I can tell you about a time recently, where I supported a very heavy woman until the ambulances arrived when she was hit by a car.
 
10:49 AM
@LucDanton Seems like it's a bit of a letdown ^ anyways
 
user1804599
 
user1646075
or the time in school i defended a little italian boy with poor english, and got the beating instead.
 
@GuruAdrian this is not what I see happening. People are getting tech infatuated, which is not the same thing - quite the opposite perhaps
 
@GuruAdrian there are millions of animals or hundreds of people die from starvation everyday, do you do your best to help? Of course not, because 'they are not in front of my eyes'
 
user1646075
@sehe hmmmm. the average joe, yes. But the percentage of wised-up is growing too fast for hollywood it seems.
 
10:51 AM
@GuruAdrian How aussies program :
 
@chmod711telkitty kitty is arguing windmills again
 
user1646075
@chmod711telkitty yes and no, that's no reason not to act locally.
 
@GuruAdrian do you have any evidence of this happening?
 
so what have you done this week to help
 
user1646075
as for nature's churn of lifes, well, you know, that's nature.
 
user1646075
10:51 AM
@sehe the number of people laughing at CS on tv and movies?
 
user1646075
let's call it hearsay.
 
all I am saying is that we do things for a reason, and our willingness to help is for a reason too
 
user1646075
@chmod711telkitty good question. I've been sitting here on my couch recuperating. I was thinking of walking around the corner to a local prayer centre, but i realised I'd probably fall over 15 yimes before I got there and break my nose. What about you?
 
user1646075
@chmod711telkitty ok, sure, except that I'd say it's not for 'reason' as such. But that's splitting semantic hairs
 
@sehe In fact, you can comply with the GPL even if you only distribute binaries as long as you supply the changes/sources when a licensee asks for them. It’s not as fire-and-forget as distributing the source (plus binaries if applicable) though.
 
10:55 AM
Ok, what I meant was that social animals have mechanisms to make it work
we are not lizards
6
 
Wow.
I'm impressed.
 
user1646075
@chmod711telkitty 5) definitely agree
 
@chmod711telkitty How can you be so sure of that?!
 
we can run around by ourselves ... just like lizards, but we stick around, we form communities
why do lizards live by themselves and we do not?
 
Why do lizards have a brain and you do not?
 
user1646075
10:56 AM
@chmod711telkitty given that many reptiles protect their young, and depending on the species can be social to some degree, I'd be wary of making that distinction ;-)
 
because our brain dictates that hang around with others makes us happy
 
> char current_word[1000]; /* Hope that's big enough */
why me.
 
Therefore, we are not cows either.
 
user1646075
the dinosaurs apparently could herd, and that takes social management.
 
user1804599
yummmy cows
 
10:57 AM
@R.MartinhoFernandes Your logic is flawless.
 
@GuruAdrian Ants herd!
 
So ants are not lizards.
 
there must be something that makes us stick in groups when so many of us are selfish
 
user1646075
@LucDanton or swarm! Or bite you on the bum when you're picnicing. So definitely capable of malicious behaviour.
 
@R.MartinhoFernandes But then who was phone?
 
10:58 AM
We are dancer.
 
Solitary in a flat and members look feet.
 
@chmod711telkitty Thank you, I had doubts before, but now all is clear.
 
@LucDanton so do we
 
@Rerito The most impressive hacking scene is from Girl with Dragon Tattoo (the swedish version of the movie). She just types "Connect to so-and-so's computer", and she hacks into it - even if it's offline or turned off. No 2 hours of hacking or anything. Now that's a true master.
 
@sashoalm Lisbeth in Millenium ?
 
11:02 AM
@Rerito Yes, Lisbeth. She had this "Connect to" magic command, boy, would I want to have her magic laptop that can connect to every other computer by owner's name.
 
user1646075
@sashoalm from the book, she's previously hacked the target. Coupled with wake-on-network setting in BIOS, it's kinnnnnda-plausible. But yeah.
 
I wish people stopped giving negative ratings for faulty components
"ONE STAR, THIS IS SHIT, IT WAS BROKEN IN THE PACKAGE"
 
@GuruAdrian also you are not lizard like creature, lizards will only save themselves in danger. Social animals will act differently
 
@GuruAdrian Oh, I'm sure it's explained in the book. But in the movie, there's no context, so it was hilarious.
 
Yeah. Humans also save themselves when they're not in danger.
 
11:04 AM
nature has ways to satisfy it's own needs
 
From what we'll never know.
 
user1646075
@sashoalm the movie was a bit of a disappointment, in that it missed probaby 1/2 the detail. Length of movie definitely affected the translation.
 
@sashoalm ... What about this ?
Too bad there isnt the pseudo-techy babbling Q says just before
 
you know you are not a decent hacker when you hacked into some fancy graphic displays :p
 
Blablabla It's like solving a Rubik's cube that's fighting back blablabla
That line just killed me
 
user1646075
11:06 AM
@chmod711telkitty a generic drive to assist the group generally speaking ensures the success of the group, including yourself and your near relatives. The trick for humans now is to figure out a way to make everyone on the planet part of their group.
 
That's what I'm talking about - http://www.youtube.com/watch?v=VEseNgc_bJs

FIND_BLONVIST_LAPTOP
 
Easy. Shoot all the other groups.
 
personally I think the only way to achieve that is to have plenty supply of everything
 
Dat name resolution tool
 
if there are only 8 people left on earth, and you still have the same supply as today, you will be very generous to each other
 
11:08 AM
@chmod711telkitty Not in spirit though
 
user1646075
@chmod711telkitty if it got to that point, it might be time to go full Judge Fudge and end it once and for all.
 
What if all they have is a chocolate-covered manhole cover?
 
@Rerito I want that laptop I'll type FIND_GOVERMENT_SERVER_AND_STEAL_ALL_THEIR_SECRET_STUPH
 
Yeah ... what if the other 7 have rabies? ~roll eyes~
 
user1646075
@chmod711telkitty 8 people left is most likely a zombie apocalypse, so there's only one humane solution.
 
11:10 AM
@sashoalm Or FIND_MARK_ZUCKERBERG_ACCOUNT and just get a tenth of it
 
user1646075
let the earth try again. And since rthere will be no more easy access to coal, minerals or other resources, anything replacing us will probably remain primitive and would not form a technological plague.
 
So if they were only 8 people left, the solution would be a group suicide ?
 
let's ship humans to other planets ...
 
user1646075
who knows what 8 survivers would do. Hard to be optimistic...
 
user1646075
Also - Zombie virus. You can't beat that
 
11:12 AM
One would be "Yay, I finally get some chicks"
 
user1646075
once they run out of brains, they'd starve to death
 
user1804599
> cuz
 
user1646075
@Rerito instant squabbles and fighting.
 
11:49 AM
Massive meta millinery making me miserable.
 
I wish I could do something like std::unique_ptr<wchar_t, decltype ([](void * ptr){ std::free (ptr); })> cstr;.
 
user1804599
std::unique_ptr<wchar_t, decltype(&std::free)> you fool
 
@rightføld Without the std:: but nice! Thanks.
 
huh... anyone familiar with grep = filename syntax
care to explain
 
user1804599
It searches the given file for lines containing equals signs.
 
11:58 AM
@rightføld Ah, and it has a drawback that I have to specify std::free as the second argument to the unique_ptr ctor.
 
@rightføld Oh yes of course :P
 
@VáclavZeman make an empty struct that deletes.
 
@R.MartinhoFernandes Yes, I did that. But that is several lines not inline. :)
@R.MartinhoFernandes That is why I tried with the lambda above.
 
Ell
Huh.
 
You can write a make_unique_with_deleter.
 
user1804599
12:00 PM
Ugh.
 
user1804599
Fucking idiots starring everything.
 
Ell
@VáclavZeman why are you worried about inlining?
 
Oh fuck's sake.
 
@LucDanton I think that is not C++11.
 
@Ell not that.
 
12:00 PM
wot
 
user1804599
 
user1804599
styx is lonely still :(
 
@Ell I am not worried about inlining. I wanted something short in number of characters that I could remember that could be easy, idiomatic... I guess will just use the custom struct with operator() overload.
 
Fuck hats spamming stars.
 
@VáclavZeman C++11 does allow to write code.
 
Ell
12:03 PM
@VáclavZeman oh I see
 
Mobile grayscale browsing is quite acceptable. I might start doing this more often.
 
@VáclavZeman Like that.
 
@LucDanton Heh, nice. Well, I need it in one place of one file, currently, there is not point in writing that.
Not for me right now.
 
@R.MartinhoFernandes I occasionally do that on my Kindle eReader if my phone is flat. It sorta works, but the 'experimental' browser has err.. issues.
 
12:18 PM
This is not a browser setting.
It's global.
 
user1804599
Minimizing interfaces is fun.
 
user1804599
I love deleting code.
 
you can delete as much code as you want & more to delete as long as you don't save any of your changes
 
Ell
@rightføld just don't add anything to an interface until you need it
 
user1646075
 
12:30 PM
Do you know that that's an actual product that they had for sale at some point and is not just shopped?
 
user1646075
hope they also sold cargo pants with sufficiently sized pockets
 
user1646075
wow, impressive. It seems you are correct.
 
It's crazy.
 
user1646075
still not sure if believe ;-/
 
user1646075
comments: "Can it core a apple? A: It cannot core an Apple due to the proprietary nature of the screws. Although it can quad core a Dell."
 
> $2149.95
I'd rather buy 2 PC's for that or something
 
user1646075
not sure how you'd actually comfortably get, say, twisting action for using the screw driver either. The upside - airport security would just laugh and wave you through.
 
It weighs a kilo.
 
user1646075
"Designed to fit the contours of the human hand perfectly which creates a firmer grip and makes every knife safer and more precise. " seriously?
 
A very special kind of hand.
 
12:36 PM
Its probably just a collectors item
 
user1646075
indeed
 
user1646075
for the man who has everything
 
Then he’d have everything twice.
 
user1646075
true.
 
user1646075
anyway, you can't have everything. where would you put it?
 
12:37 PM
Having a NASA spaceshuttle would be inconvenient to store
 
user1646075
now that's bragging rights
 
They literally grabbed every implement from their other knives and stuffed it in that one.
 
this, I like ...
but only in the way of a chicken would love a pea
 
user1646075
@R.MartinhoFernandes and machined looooooooooong framing screws. Out of titanium alloy for nearly-sufficient strength.
 
12:38 PM
@chmod711telkitty looks like someone overinflated an isetta bubble car
 
omg is that a ghost inside?
 
> white-trash shart hound
 
user1646075
any details on that car? 50's/60's concept, or a recent comedy concept?
 
user1646075
looks like a lot of VW panels and fittings in it
 
user1804599
I wish I could use an en-dash in code.
 
user1804599
12:41 PM
An en-underscore.
 
user1646075
yeah, bring on typesetting as part of syntax.
 
user1804599
fuck it I'll use two underscores
 
12:55 PM
0
Q: How to use VLAD to obtain distance matrix?

Louis TsaiFor example, if I have 10 images, and I want to compute their distance matrix using VLAD in MATLAB. I know how to use other methods like bag of words to obtain distance between each 2 images, but I don't really understand how to get the distance using VLAD. Also, a lot of online documents say tha...

Vlad can now be used to obtain distance matrices
9
 
dang
I almost linked that question. :D
 
@Rapptz I assume lol referred to Carmack's comment at the bottom?
 

« first day (1523 days earlier)      last day (3425 days later) »