« first day (627 days earlier)      last day (4324 days later) » 

7:00 PM
Any book that attempts to teach everything from basic syntax to multithreading is going to do a bad job of covering anything.
 
Possible vandalism of own posts; multiple deletions in a short time; stackoverflow.com/q/8452828 stackoverflow.com/q/8455975 stackoverflow.com/q/8469462 stackoverflow.com/q/8469642 stackoverflow.com/q/8472314 – 9 mins ago
 
@Mysticial well, so be it.. I don't mind being a vandal (especially when I'm actually deleting answers with a score of 0)
 
Holy shit, the flag queue is at 415...
 
416
 
@Insilico Or be ginormous.
 
Xeo
7:01 PM
@Mysticial That's nothing, most of those are close flags
 
.. on questions where other answers have been accepted, or questions where other answers have a greater score and still answers the question
 
@refp Thanks man
 
@RMartinhoFernandes True. As in "you can break this up into several volumes" ginormous.
 
A book with more depth than width sounds fun.
 
man
 
7:03 PM
Bit of a bitch to read, but fun.
 
Especially a book about Wide.
 
if I had a 2:1 from my university, I could get a job at ARM starting at £25k a year
 
@DeadMG What's a 2:1?
 
@DeadMG A "2:1"?
 
60% marks or better
 
7:03 PM
Oh.
You're a genius, that should be easy ;P
 
@DeadMG Wait how do grades work over there?
 
if you didn't go to your university at all you could teach yourself what's required to do the job you want and get that salary (plus work experience) in probably less time
 
@Insilico They're actually named pretty meaninglessly.
 
I am hereby closing The Internet as not constructive. DAMN YOU TV TROPES!
 
Xeo
7:04 PM
lol
 
@RMartinhoFernandes Yeah... I also don't accept substandard stuff, and my university is full of it.
technically I could still retake my third year but...
 
@DeadMG Your currency has fallen a lot
 
@RadekSlupik Hey look you found the C++ standard in the year 2154.
 
Xeo
What was a side-by-side config again?
 
@ManofOneWay You mean actual pounds?
 
7:05 PM
Yes
 
and yes, it has
so has all Western money
 
@DeadMG Man, if you really want that job, would that be too much of a sacrifice?
 
@Insilico actually it's a book containing all featured Wikipedia articles.
 
Our currency has become stronger
 
@RadekSlupik That's quite a lot of featured Wikipedia articles.
 
7:06 PM
@RMartinhoFernandes Eh. It's not so much about that, and more about the fact that I can't afford it, financially, without my parents support, and they would not support me resitting the year.
 
@Insilico 365, AFAIK.
One for each day of the year.
 
What exactly does re-sitting a year means? Will it take a whole year?
 
I'd like to get my hands on a book containing all of the Internet, then I could fly it by helicopter, drop it at a trolls house and kill it WITH FIRE. (because the book of the Internet sure is made of fire, that's given)
 
@ManofOneWay Yes, it means re-taking more modules than you can fit in the short summer.
 
7:07 PM
Oh okey
 
@ManofOneWay It means you suck at school.
 
@refp The Internet weighs two ounces, IIRC.
 
@DeadMG according to a video you saw on the internet, and it's not two ounces if it's printed on real paper.
 
though the electrons is said to weigh that much, true.
 
7:09 PM
very true
 
Printing porn.
One frame per page?
 
but printing the Internets is impossible.
 
@RMartinhoFernandes Ancient measure of weight.
 
@RadekSlupik it would be easier if we went back to when everybody was on 56k modems, then porn was just images.. if you were lucky you could MAYBE find a gif somewhere
god.. I sound so old
 
7:09 PM
Kilograms > ounces.
2
 
@refp You are so old.
 
@DeadMG I'm 22, which is older than many things.. such as nullptr and such
 
@refp You're 22. Come on. Do you even remember 56k modems?
 
I'm older than all that matters
 
@refp Facebook > pr0n.
 
7:11 PM
@ManofOneWay of course I do, why wouldn't I?
 
@refp I actually had no idea. I'm nearly 22 myself :P
 
@RMartinhoFernandes am I too young to remember 56k modems?
 
What colour were they?
 
@RMartinhoFernandes Beige.
 
7:11 PM
@ManofOneWay I remember 56k modems.
not well, but I do remember them
 
@refp Took you more than 30 seconds. You were image searching on Google. You cheated. QED.
 
@RMartinhoFernandes ours was beige
@RMartinhoFernandes I'm on facebook at the same time
 
@RMartinhoFernandes quantum electrodynamics?
 
@RadekSlupik Quite Easily Demonstrated.
 
@DeadMG How old are you exactly?
 
7:13 PM
anyhow.. I had this little black book where I used to write domain-names I saw every now and then so I could go out on the internet and actually do/read something
 
@ManofOneWay Nearly 22.
 
@refp was dat an @-mentioning fail?
 
my parents wouldn't let me use the phone-line forever, so.. I had to make the best of my time
 
@DeadMG I know. I even know the conversion rate to SI units. But sometimes often I like to troll pretending there is no other system of units.
 
@DeadMG That's not exact
 
7:13 PM
@ManofOneWay No, it isn't.
 
@RadekSlupik not really?
 
@Insilico Quod Erat Demonstrandum.
 
@RadekSlupik Quod erat demonstrandum - Here it is demonstrated or some shit.
 
Ell
@refp you are not too young to remember 56k modems, I'm 16 and I remember them!
 
@rubenvb (I know that. :-P)
 
7:13 PM
@refp Oh ok.
 
Friggin' English centric basterdz
 
@DeadMG Nearly, as in 21?
 
and the sound when it was establishing a connection... aw, memories
@Ell don't tell me that, tell.. whomever said I was
 
jesus christ man, take the goddamn hint
I don't feel like being more detailed, and that's that.
 
anyone have experience in Sony Vaio Z with a "Dynamic Hybrid Graphics System"? You know, the switch with three settings: Stamina, Speed and Auto?
 
7:14 PM
@rubenvb The hell is a dynamic hybrid graphics system?
 
you know
maybe I should sue my university
 
they made me pay and stuff, and I got a worthless product in return
 
Ell
@Insilico dynamically switch between integrated/dedicated?
 
Sorry, couldn't help myself. Had to laugh.
 
7:15 PM
@Insilico Intel+Nvidia GPU switching thing
The problem I'm having is, it's not dyanmically switching
 
Dynamic hybrid graphics manager factory singleton adapter.
 
@DeadMG Yeah, and know you have no money to sue them. It's the perfect con!
 
Ell
@DeadMG an attitude like that is what is wrong with society today
 
@rubenvb Why even bother with Intel GPUs if you already have Nvidia GPUs?
 
I need to reboot to switch, and the HDMI port is connected to the Nvidia chip.
 
7:15 PM
in Sweden it's the schools fault if your kid (beneath the age of 15) get bad grades.. too bad we don't sue to the same extent as in the US though
 
@Maxpm You forgot the ProxyBridgeAdapter
 
@Insilico Battery life, duh.
 
Ell
@Insilico power consumption
 
and fan noise
 
Ell
@refp that is aweful
 
7:16 PM
@rubenvb So Nvidia isn't smart enough to make a GPU that can consume less power when needed?
 
@rubenvb I have a similar setup, but it's not a Sony.
 
@Ell Sorry. I must have missed the part where entities can promote themselves as higher education institutions but actually offer no useful education.
 
@Insilico dude, a dedicated GPU will always use more power than an on-CPU intel GPU.
@RMartinhoFernandes does the "autoswitch" work?
 
@refp Kids have become lazy these days
 
Ell
@DeadMG you're the one who wanted the degree?
 
7:17 PM
@ManofOneWay sure thing
 
@rubenvb Intel GPUs are in the CPU?
 
@rubenvb Well, mine works on a per-process basis (it's called "Optimus" or some shit). But, yeah, it works dynamically.
 
@Ell I also expected that to mean something, and I also expected that it would be assessed in a meaningful fashion.
 
@Insilico since core i5 gen2 I think.
@RMartinhoFernandes Hmm, mine's pre-optimus.
 
@refp Their discipline is almost as bad as @DeadMG's ;)
 
Ell
7:18 PM
@Insilico yeah sorry I just realised and deleted my comment :L
 
Well, the OS doesn't notice exactly where the GPU is.
 
@rubenvb That's news to me. Then again I don't ever opt for the integrated graphics anyway.
 
@ManofOneWay @DeadMG doesn't have any discipline, he's a freakin' bot
 
@Insilico then you must not be on battery for more than two hours.
 
Seriously, a 26 year old and a 22 year old complaining about "kids these days"? Don't let @sbi hear you.
 
7:19 PM
lol
 
sbi
@RMartinhoFernandes Of course, you'd never betray them to me, right?
 
going to install some drivers now. I'll be in and out.
 
@Insilico I run almost everything on the Intel GPU. I only run games on the Nvidia GPU.
 
It's a waste of power to do otherwise.
 
7:20 PM
@RMartinhoFernandes exactly my thinking. Problem with the Sony drivers was that it crashed on Virtualbox.
 
I actually get power for ~8 hours with the power saver option, thanks very much.
 
@Insilico still missing out on about an hour you'd get out of the intel GPU.
 
@Insilico That slows down everything.
I don't need to do that to save on power.
 
@RMartinhoFernandes Funny, I don't get that feeling of slowing down anything.
 
By using Intel GPUs you support crappy GPUs and therefore are evil.
 
7:22 PM
lol
 
And besides if I need to do anything CPU intensive it's going to be plugged in.
 
I prefer plugged floats.
 
I prefer plugged boats.
 
I prefer plugged coats.
 
@Insilico Then why don't you run on power saver all the time?
 
7:24 PM
@RMartinhoFernandes Because I'm not as pedantic as you and forgot to qualify it with "slowing down anything not computationally expensive".
 
I used to get really bad overheating problems on my laptop. I would use the power-saver modes because they throttled the CPU and kept it cool.
 
sony vaio Z13 without GPU driver: 91°C
correction: 95°C
 
OW.
You can cook on that thing.
 
I actually almost always plug in my laptop. It's more of a portable desktop for me.
 
@rubenvb nice... might be useful a a heater in the winter
 
7:25 PM
@Insilico Ditto. I've absolutely destroyed the battery.
 
22
Q: Python code to generate heat

user116293I'm interested in finding a little bit of python code to turn a laptop into a space heater programmatically. Mostly, I'd like to generate as much heat as possible without damaging the system. I'd like: to use all available CPU cores to have the option increasing the screen brightness any other ...

 
95°C? The 8600M GT on my old MacBook Pro reached that temperature when I played SC2.
 
@EtiennedeMartel it's the core i5 reaching that core temp.
might be measured incorrectly.
that's a very valid reason to want intel gfx
This dynamic thing still isn't dynamically switching >:S
 
@rubenvb How can you tell if it dynamically switched?
 
7:30 PM
@Insilico I'm wondering right now. There's a light burning next to "auto" and "speed".
if i boot with the switch set to stamina, there's only a light burning at "stamina"
 
This happens.
 
and the fact that gpu-z is showing a 1% gpu mem load on the nvidia thing isn't helping
 
@Maxpm So the computer dynamically switches when it demonstrates serious problems with scale?
 
Fuck this shit, I'm getting the patch cannon out.
 
@EtiennedeMartel That sounds destructive.
 
7:33 PM
As most things that sound destructive, it isn't.
Don't tell anyone.
 
@RadekSlupik I still use ounces when talking about beer volumes.
@Maxpm When you need a patch to work, you fire it with this cannon.
 
@Mysticial Lol @ do it in many threads.
 
I'm getting the feeling I need to install some Sony cruft software to make this work.
 
Even in a silly questions you get people who have no idea what they're talking about.
 
7:36 PM
Well, that was a good latte.
 
My library will give calling code a pretty interface for outputting colored, bright, flashing and underlined text with colored backgrounds. What's the best API for this? One function with 6 (type-safe) arguments? One function with two arguments, one of which is a struct that holds all the settings? Some kind of Lisp-y nesting thing?
 
@Maxpm Maybe you can provide a Markdown-ish interface?
 
@rubenvb That wouldn't surprise me.
 
So a string like "foo *bar* **baz**" would render as foo bar baz
 
@Insilico I'd rather stick with something that can be checked at compile-time.
 
7:39 PM
How can you check user input at compile-time?
 
@RMartinhoFernandes My library will give calling code a pretty interface.
 
... that can only be used for compile-time strings?
 
@Maxpm You can probably hack together some kind of crazy expression template code as an experiment.
 
@RMartinhoFernandes Eh.
 
@RMartinhoFernandes I think I remember trying to have everything installed once before. Didn't work then either. Let's just try it again.
I'm feeling lucky XD
 
7:42 PM
@RMartinhoFernandes It's a wrapper for ANSI escape codes.
 
<-- See this guy? He's awesome. And terribly stupid.
 
Good to know.
 
I installed three Sony crapwares (two dependencies of a third: Sony Event Service) and now I have the "Dynamic" in "Dynamic hybrid Graphics System" back!
yay for me!
 
Yay!
 
Now I don't have to reboot to use HDMI! To think I was seduced by the myth bumblebee on linux would work better than this for. Hah!
 
7:51 PM
@rubenvb But now you have Sony crapware, which is likely the worst kind of crapware. It's a lose-lose situation :(
 
Hiya folks.
 
> Fixed an issue where any user with special characters in their Windows name will be unable to load saves
 
@RMartinhoFernandes nah, this is fine.
I feared I had to install all the system control stuff they have
now it's just a lib, a service and perhaps another service.
 
But, but, your soul! It's all tainted now!
 
8:08 PM
@RMartinhoFernandes Dude. I'm running Windows. My soul has been tainted since I first touched computers.
 
What a bunch of egoists you are... :)
 
What?
Did we troll someone to tears and I missed it?
 
Comment in my code: NEEDS REDESIGN AND SMARTNESS THAT IS NOW ABSENT
 
// Haha, just kidding. It will always be absent.
You know what, I'm going to start posting on meta.
 
8:17 PM
this book is really funny at times.. just take this statement where it talks about `constexpr` in C++11 as an example: `int myArray[getArraySize()]; // Invalid in C++`

"invalid in *C++* "!? no, it's invalid in standards prior to c++11 (such as c++03, c++98), it's not invalid in "C++"..
 
@refp I think you should just burn the book in the interest of mankind.
 
@FredOverflow no, I'm going to read it and then shoot everyone who recommends it as "the only book covering c++11"
 
I'm picking up my old build system project again.
 
Aren't there several books on C++11 out already?
 
I wrote a lot of useful code in that.
I was also halfway to something useful.
 
8:20 PM
@FredOverflow I'm not sure, this is quite old I guess.. (oct 2011)
I found this book in a comment on some question asking what books to read about c++11
 
@rubenvb Does it suck?
 
that's why I'm reading it (mainly because I'm bored, I guess)
 
@CatPlusPlus I'll be the first to admit that.
 
I've considered writing my own build system so many times.
Graphs are scary, though.
 
@CatPlusPlus I have one dependency ordering function, untested to date.
 
8:21 PM
phew.. I thought @rubenvb was an author behind "Professional C++", if that was the case I would shut down my interwebz.. can't have tubez like that connected to it
 
I don't see me needing anything fancier.
Directory file listing, PATH directory listing, fancy debug output (really, not kidding).
Now I'm at build command generation.
 
Implicit dependency scanning.
 
@CatPlusPlus depends on what you mean by that? :P
 
Er, implicit dependency scanning.
foo.cpp with #include "foo.hpp" depends implicitly on foo.hpp.
 
@CatPlusPlus oh, that would mean either assuming each *.cpp includes same-name *.h and only check that, or use libclang to track includes.
No thanks.
 
8:24 PM
The first one is wrong.
 
@CatPlusPlus whatwhat?
 
Without implicit dependencies you either need to spell everything out in build script (DRY violation) or not rebuild targets properly when they change.
 
fuckn hell
 
You can't assume X.cpp includes X.h or only X.h.
 
went to the shop but did not purchase what I ACTUALLY WENT FOR
 
8:26 PM
I should probably do something I never do, and actually write a design doc for that build system crap.
 
@CatPlusPlus I know of no build system that accurately tracks changed headers.
 
What.
 
and it would fuck up performance anyways
 
@rubenvb Visual Studio's usually works fine
 
It's necessary for development.
There is no sane build system that can't track implicit dependencies.
 
8:27 PM
Cmake, autotools, qmake, nope nope nope.
 
What.
 
@DeadMG OK, but I don't classify an IDE as a "build system". It's too integrated to be writable by an individual.
 
Ever noticed how they generate .d files by calling gcc with -MT and -MD and whatnot?
 
@CatPlusPlus nope.
 
That's workaround for make's lack of built-in implicit dependency scanner.
@rubenvb Then you're not paying attention.
 
8:28 PM
my build system isn't C/C++ exclusive either.
 
If your build system cannot do it, it's unusable.
 
no reason to be.
 
@rubenvb Right, but the point is, they do actually perform the function of accurately (for the most part) tracking header changes
 
Implicit dependencies aren't present only in C or C++.
#include was just an example.
Every module import is an implicit dependency.
Nobody will use a system that fails to rebuild source files when you change headers.
It's broken as designed.
 
I guess I could scan the source for #include "*.h" and whatnot
but that would slow everything down... a lot
 
8:31 PM
no, that wouldn't be enough
 
I know that.
#ifdef's would mess with that.
You guys are saying that a proper build system preprocesses each file before compiling it?
to search for #include's and whatnot?
 
well, ideally, you could simply ask the compiler for the data
I mean, it has to do the work when compiling the previous build, so it must know which TUs include which headers
 
@DeadMG yeah, that's what I mean.
is constexpr stuff usable for #ifdef?
 
no
 
ok. That would mess up everything even more.
 
8:35 PM
the preprocessor occurs in a distinct phase of it's own
if it's not a preprocessor directive, it cannot be preprocessed
 
@rubenvb Yes.
For the most part you can cache implicit dependencies until the file actually changes, so it doesn't slow incremental builds that much.
 
hmm. caching. Another design question I'm not thinking about now.
First get my project to "self-host"
then add fancy stuff.
 
And you don't need fully compliant preprocessor, either, if you want to trade perfect accuracy for some speed.
It's still I/O-heavy, but that's the nature of this beast.
 
@CatPlusPlus yeah, the I/O will always kill it :-(
disk caching ftw!
 
8:55 PM
Hey, I need a bit help
I need to find some words to describe something that really terribly sucks
And I thought that the C++ room is a good place to find those words
 
C++ is a good word for that.
Or PHP. Or C.
Yeah, I'd go with PHP or Java.
 
Oh, it's much worse than PHP
 
Impossible.
 
Oh, believe me, it's possible. It's for PEAR, a package manager for PHP which everyone truly loaths
 
Lol PEAR.
That thing is still alive?
 
8:57 PM
And I just can't the right words to express just how much I hate it
 
Wasn't it, like, 5 years out of date when PHP 5.2 came out?
 
@CatPlusPlus It's dying, but it's not entirely dead yet
 
So it's entirely like PHP.
 
not really ^^
 
Okay, PHP is not dying. That's sad.
 
8:59 PM
PHP is flourishing :)
 
That's even sadder.
 

« first day (627 days earlier)      last day (4324 days later) »