« first day (1200 days earlier)      last day (3974 days later) » 

16:00
@JerryCoffin I have a plan to switch to an ultrabook for my next setup
that would involve getting rid of my iPad and box, and replacing it with a high end UMPC and a thunderbolt dock
right now such thing would cost fortune
@BartekBanachewicz That's what he meant by "notice". He will be using the machine, not posting benchmarks on it.
high end paper
Imma wait till Thunderbolt 2 gets wide adoption and more docks appear
@BartekBanachewicz I have a laptop because I have no choice -- but a quick test shows that for compiling, the severely low-end desktop I just built is still faster than the i7 laptop...
@BartekBanachewicz Well, if I was thinking of buying another machine in the near future, I wouldn't upgrade the one.
16:02
@R.MartinhoFernandes well, a 3k€ ultrabook and 120€ RAM sticks aren't really comparable :P
3120 > 3000, though.
true enough.
@R.MartinhoFernandes You show an un exceptional grasp of the amazingly obvious! :-)
@JerryCoffin perhaps. I don't compile much code lately, though :P
@BartekBanachewicz I'm patient though.
16:04
well it's not like I am constantly capping my RAM either
Like an evil mastermind.
But not evil.
I usually stay around 5GB with one VM up
Yeah, not the point.
why would I want more RAM?
$ free -h
             total       used       free     shared    buffers     cached
Mem:           15G       4,0G        11G         0B       342M       2,0G
-/+ buffers/cache:       1,7G        13G
Swap:          15G         0B        15G
$
Things find their way to RAM.
16:06
@R.MartinhoFernandes Virtually all the most evil masterminds are convinced they're good people.
1 min ago, by R. Martinho Fernandes
Yeah, not the point.
I came close to capping 16GB quite a few times
Also cache can always be bigger
Exactly.
Dec 4 '13 at 16:11, by R. Martinho Fernandes
@ThePhD My system is using 12G of cache vOv
OSes are p smart about using RAM that's idle for useful stuff
16:09
I never felt windows really doing that
You never had lots of RAM!
(That was half-joking)
@R.MartinhoFernandes No, I said "I'm too busy anyway in the next three months. I doubt you will still want to do it by then".
@Xeo lol
Anyidea what I could use as a replacement for a cross screwdriver?
Xeo
Xeo
@R.MartinhoFernandes download moar, then
Wee, I'll be using PayPal API again
16:11
@R.MartinhoFernandes Even just enough to boot Windows any more feels like quite a bit to somebody like me who once really lusted after a 40 Megabyte hard drive...
@LoïcFaure-Lacroix A new cross screwdriver?
@R.MartinhoFernandes it uses like 2GB for cache and 2GB is just idling
Xeo
Xeo
> Providing “:” operator for UDF std::unordered_map?
lol
What's a UDF?
Also, what?
@JerryCoffin shops are closed at this time and I have to repair the heater if I want to survive the night
> Produkt wycofany ze sprzedaży
FFS.
Xeo
Xeo
@R.MartinhoFernandes he wants to enable range-for for his wrapper
@LoïcFaure-Lacroix How tight of a screw do you need to deal with? If it's not very tight, the tip of a knife can sometimes work (but almost any real screwdriver is preferable).
If you're desperate/skilled enough a knife will do.
I tried it more than once and only managed to cut myself.
But my father did it just fine.
@R.MartinhoFernandes ¬_¬ that image looks flipped
ok, I found the set for 420 PLN
still fucking costly, but a bit more bearable
Xeo
Xeo
16:15
hm, I'm sleepy. I can't be sleepy, I still have groceries to do
@JerryCoffin yeah the tip of the knife works but I need something long... My screwdrivers were confiscated in an airport... since then didn't buy any
@LoïcFaure-Lacroix a flat one just the right size and some grunt to avoid wrecking the head
@R.MartinhoFernandes :( I just tend to wreck knives attempting that
oooh
and that shop has a collection point near me
I wouldn't need to pay for shipment
:SSS tough decisions
I could buy more RAM for overmind too
I only have one knife... I tried with keys... but keys are too big
How tight is the screw tightened?
16:19
Get liquid nitrogen and set it on ice
2
And how deep is the hole?
OK, if no competition, maybe it's time to run a book. Will Loic fix his heater before freezing to death?
Get your cash on the table, guys...
And then hammer it into submission
:v
I could leave it on the balcony it will freeze before me
I don't think that'll help.
16:22
@R.MartinhoFernandes the hole isn't deep, somethings block the knife from screwing but if i don't find anything better I'll just spend 3 hours unscrewing everything
There's a rust-removal spray that flash-freezes the stuff to crack the rust, but that's for rusty screws. Won't help for good ones.
(It works wonders though)
@LoïcFaure-Lacroix If the screw is not too tight, you may be able to glue something onto it and use that to unscrew it.
Yeah - freezer sparay may help, especially if the surrounding material is hot. Turn the heater on first.
Oh wait....
Needs strong glue, or strong plastic that you can melt.
I'm fucking McGyver unscrewing with an electric toothbrush
3
Yeah. Araldite should work if you abrade and then thoroughly clean the surfaces. Wait the full 24 hrs for the adhesive to attain full strength.
Oh wait.. you'll be dead by then:(
16:28
Set it on fire
Command it to bee gone
Xeo
Xeo
tell the screw to kill everything non-human
Xeo
Xeo
that command was just so beautifully done
also, the wheel
I've gotta go cook dinner. I'll be back later to see if Loic has sent his last post, (anyone got a bugle?).
@ArneMertz say that again
0
Q: Are nested range-based for statements strictly legal?

Lightness Races in OrbitConsider this code: #include <vector> #include <iostream> int main() { std::vector<int> v1 {1,2}; std::vector<int> v2 {4,5}; for (auto i : v1) { for (auto j : v2) { std::cout << i << ',' << j << '\n'; } } } As expected, GCC 4.8 compiles it just fine, an...

^ I started writing this then realised it was stupid, so posted an answer with it. Any point in keeping it around?
16:34
@LightnessRacesinOrbit If you don't delete it, you will have a question leak.
@MartinJames :(
I have so much dangling rep
There's no way to catch multiple unrelated exception types and handle them in the same manner, is there?
Xeo
Xeo
variant?
Variant doesn't catch exceptions.
Xeo
Xeo
or ... and exception_ptr?
16:39
That cannot pick the types.
Xeo
Xeo
@R.MartinhoFernandes doesn't catch just convert?
No.
It uses RTTI.
@R.MartinhoFernandes catch (Foo | Bar | Baz e) in Java 7 ;)
@R.MartinhoFernandes RY
@FredOverflow Yeah.
@LightnessRacesinOrbit ?
16:40
Have you tried catch (auto)?
@R.MartinhoFernandes as in DRY
@FredOverflow die
@LightnessRacesinOrbit Oh you.
@EtiennedeMartel oh me!
auto death;  // on the occasion of my use
16:41
In this case I think I could catch std::logic_error, but that feels sooooo wrong,
Guys, today I designed an exercise where the students were supposed to find a simple if/else logic error. However, I also introduced a much simpler error by mistake; I confused true and false :-D
It feels like I'm writing catch(std::bug)
@R.MartinhoFernandes That seems like a logic error, to me
@FredOverflow true
stoi sucks.
lexical_cast it is.
Mission accomplished
16:43
pocket p;
try {
   race_in_orbit();
}
catch (falling_star& s) {
   p.emplace_top(s);
}

rainy_day(p);
Why the fuck does stoi throw two different types of exception :(
@R.MartinhoFernandes Because two different types of failures can occur
@R.MartinhoFernandes You know you can literally just write catch (...), right?
Catching logic_error is absolutely right there, but I can see how it would feel nasty if your try/catch surrounds more than just the stoi
5 mins ago, by R. Martinho Fernandes
That cannot pick the types.
16:45
@FredOverflow That's just a more extreme version of what he already doesn't want to do
It's annoying enough that I have to deal with this with try-catch.
I agree that a catch (invalid_argument& e, out_of_range& e) might be nice, but it sort of feels wrong because it relies on identical interfaces as far as your usage of e is concerned.
What does stoi do? Can't you just write your own function?
2
i.e. It wouldn't fit C++
@LightnessRacesinOrbit nvm, found starred thing
16:47
@FredOverflow Parses an int out of a string.
user1804599
@LightnessRacesinOrbit Python has that. :)
Even if I was willing to do that, stod has the same problem, and I also use that one.
I'm not parsing doubles myself.
@R.MartinhoFernandes Just write your own fucking function that reports errors the way you want to. How hard can it be?
@FredOverflow It's hard enough.
16:50
@R.MartinhoFernandes Then write a wrapper function that catches both exceptions and re-throws your favorite exception.
@FredOverflow Re-inventing standard library functions doesn't seem like the best default approach
Xeo
Xeo
@R.MartinhoFernandes do what stod does without the exceptions! (i.e., delegate to sprintf)
Why do I always get a ping when there is an event here while I'm not even an owner or having read/write access ?
@HamZa why not
Uh why would access matter
16:55
You clearly have write access.
@R.MartinhoFernandes I mean from this list chat.stackoverflow.com/rooms/info/10/loungec?tab=access
@doug65536 Because I was once interested in this room but then gave up ?
@HamZa Right now, everyone has implicit write access.
@HamZa You're still here though. The system cannot read your mind.
I was here, and it was way back.
Anyways, this ping isn't the first time that I get from this room
16:58
@R.MartinhoFernandes Thanks Sherlock
Feels wrong doing this chat without @DeadMG present to disagree with everybody
I don't see what's so hard to understand.
If you don't want to know about what is happening in this room, don't be in it.
@LightnessRacesinOrbit You know he will disagree, with whatever you might say, so just know that and move on.
@R.MartinhoFernandes Don't you get pinged just for having ever been it in history ever?
i.e. You can click "leave" but you can't actually leave (muahaha)
@LightnessRacesinOrbit I never get pinged for any of random rooms I have looked into.
16:59
@R.MartinhoFernandes I know, it's just that I get pinged every time there is an event here (even if I'm not in this room). That's why I'm asking
That would drive me mad.

« first day (1200 days earlier)      last day (3974 days later) »