« first day (1526 days earlier)      last day (3428 days later) » 

3:01 PM
Has anyone seen this?
Sunshine is a 2007 British science fiction thriller film directed by Danny Boyle. The film was adapted from a screenplay written by Alex Garland about the crew of a spacecraft on a dangerous mission to the Sun. In 2057, with the Earth in peril from the dying Sun, the crew is sent on a mission to reignite the star with a nuclear bomb with the mass of Manhattan. The script was based on a scientific back-story that took the characters on a psychological journey. The director cast a group of international actors for the film, and had the actors live together and learn about topics related to their...
 
yes it's great
 
The ending is terrible.
 
@chmod711telkitty It is decent. Though the premise is scientifically silly.
 
-4
Q: I have to write a functional program in c++

Gal1988which exchange between the unit and tens digit of number, bewtween tens digit and hundreds digit , and so on . If the last digit (from right) is odd, do not replace it! For example, if the input is 326, the output will be 263, and if the input is 235 , the output will be 325. Please help me, de...

 
most underrated sci-fi I have seen IMHO
 
3:02 PM
@R.MartinhoFernandes nooo
 
Yes, it is.
 
@VáclavZeman makes an awesome beginning though - 'our sun is dying' (or something similar) :p
 
I read the synopsis and was like "WTF is this crap?" then I actually watched it and "Wow, this is actually quite good" and then it got to the end and I went "Why did you ruin it?"
 
@R.MartinhoFernandes why?
 
The slasher sequences are completely out of place.
 
3:05 PM
also this similar theme - if a person on a spaceship has to live at the end, it's got to be a female :p
 
It cheapens the whole thing.
 
> The 'Kenny' Suit - The spacesuit's colour scheme was chosen to deflect heat and radiation in the film, and the helmet was purposely designed to be a claustrophobic experience for the actors.
The director is a sadist. :)
 
how is this raspberry pi like board with 64 cores called again?
 
also love this quote:
David:    We can go back to where we came from...
Elizabeth Shaw:    I don't want to go back where we're from. I want to go where THEY came from.
David:    And then what? What would you do there?
Elizabeth Shaw:    I want to know why they created us humans, then suddenly decided to destroy us.
David:   Why do you wanna know the truth?
Elizabeth Shaw:    Because I deserve to know the truth. you would never understand. You're a robot.
 
3:11 PM
Ugh, Prometheus.
 
IRTA as "you would never understand. You're a racist."
@R.MartinhoFernandes You would never understand. You're a robot.
etc
 
@R.MartinhoFernandes Crap plot, great visuals.
 
Hate how the media's all "North Korea" did it. What, the whole country? Why is it that we say "the French government", "the leadership of Germany", "the American spy agency", but "North Korea"? And they didn't even do it. Just a fantastic advertising campaign from Sony, rooted in slander.
 
@LightnessRacesinOrbit Markerting campaign? Although it's definitely generated some publicity, it's also caused a ton of damage.
 
3:26 PM
@Nooble Collateral damage. Well worth the ensuing film revenues.
(It's not really)
but how do you know how much damage was caused? perhaps all dem actors were in on it. So no social damage. And as for financial damage.... ever heard of the Caymens?
 
Calling this a marketing campaign is silly.
Maybe Sony could manage to turn this in an advantageous situation. But they definitely did not start this.
 
^
 
That would be insane.
 
sup
 
Steam is now doing region locks on its games.
 
3:29 PM
I know
 
Seriously North Korea need to hack Dow Jones - steal all merica's $$
 
If they only check for region at activation, can't I bypass it with a proxy?
 
maybe russia could do at better job at hacking ...
 
@LightnessRacesinOrbit lol 8. This baby is just not happy with the current arrangement. :D
 
... like ... you have experience?
 
3:33 PM
@Nooble They can also check for the region used in your payment details.
 
Maybe I should try Valkyria Chronicles during the christmas holidays.
 
@Puppy This brings into question if steam gift cards have a region identifier on them.
 
y o y, russia no hacking major U.S. banks & steal all american dollars?
 
@Nooble Which games?
 
also stealing euros from germany would be another great idea for russia
 
3:40 PM
That's not new, I think. There are many games that if I buy from Germany I will get the "low violence" version.
 
who cares about oil when you can steal all euros
or maybe russia should steal all the american dollars & blame it on germany
 
@R.MartinhoFernandes All games, I think. Because Russia's currency is cheap, and you can buy games from Russian Steam for cheaper prices.
 
drastically increase the employment by hiring a lot of hackers ...
 
dude they've been doing all of that for 30 years
 
@R.MartinhoFernandes lol, how do they do low violence version of, say, Call of Duty?
 
3:44 PM
just got the Solstice hat for posting on 21st December. This "leeway" in timezones is ridiculous.
3.45pm on 20th
UTC
 
This reminds me of the Shellshock game. I loved it.
 
@LightnessRacesinOrbit Days last 50 hours.
 
somewhere it would ... last 70 hour
 
@VáclavZeman Take out the killing part.
Take out the "Call of Duty" part.
 
@R.MartinhoFernandes mmhmm
and start half a day early
 
3:52 PM
so everything of value is left in, then
 
@Puppy Hehe.
 
Why is it that so few Hats are actually, erm, hats?
 
WTF?
-2
Q: How do I get the length of an "undefined length" array?

Clueless programmerint arrlen(int arr[]) { //array computation goes here } int arrayofsomesort[] = {1,2,3,4,5,... } //an undefined amount of integers int main(){ printf(arrlen(arrayofsomesort)); } how do I get the function to return the length of an undefined length array?

Closing this question so fast was really harsh, IMO.
 
it's not closed, I just answered it.
frankly I don't really see why people are downvoting the question, he may want to do a dumb thing but it's perfectly understandable as a question
 
Xeo
4:01 PM
He deleted it
 
Because people were being twats to him
 
I had the same question when I was starting out.
But then I noticed how APIs always passed a pointer and length parameter so I figured that was the way to go.
Three years ago I learned that passing an array to a function template actually does allow you to get the length.
That shattered my world.
 
ffs, he just made sure wed have more shitty questions on SO
-3
Q: Why does "Bill the Lizard" lock all the good questions?

Shaun NealSeriously folks - how many first hit Google response questions have you come across leading to Stack Overflow only to find that "Bill the Lizard" has locked the question as "off topic", "not a question", etc? This is despite the fact that the question usually has a very long list of very helpful...

/cc @Mysticial
 
4:17 PM
.@StackExchange When you can't feel comfortable using your face as your avatar #womenintech #stackoverflow http://t.co/odwI0QSf1G
 
ouch
 
As a matter of fact, we do know better than Google. I don't understand why Google insists on sending searchers with questions that are clearly off-topic here. — BoltClock ♦ 5 mins ago
Ahahahaha <3 BoltClock xD
 
hit the nail on the head really
the questioner is appealing to authority on behalf of Google/popularity
 
user1804599
4:46 PM
I want to make a video game.
 
user1804599
With 3D graphics.
 
Ell
Me too
 
Ell
5:04 PM
@rightføld what kind of game?
 
@Jefffrey Mhm.
 
@Ell Kyrostat
 
user1804599
Meh, fuck 3D graphics.
 
lol
 
user1804599
5:15 PM
> By default, if you don't see a 'no dog' sticker, your dog will be allowed into restaurants.
 
user1804599
Ugh.
 
user1804599
People who bring dogs into restaurants and don't have a license for it should be shot.
 
user1804599
Absolutely disgusting.
 
for this declaration: void function(** classtype)
I give argument function( ar[1][1] )

Error::void myClass::function(classtype **)' : cannot convert argument 1 from 'classtype' to 'classtype **'
Any ideas? I thought ar[1][1] was like this one *(*(ar+1)+1) (2d pointer)

Thanks in advance!
 
user1804599
SSCCE.
 
5:24 PM
@niCk Ask on SO. TIA
 
user1804599
What moron flagged that?
 
what was the flag on? the code?
seen that a few times across the network today
@niCk right, so you have two dereferences, so it's a classtype
 
Holy shit I think I've found a jacket, finally
 
you probably meant &ar[1][1] but there are likely to be other problems here, depending on what ar actually is. try to avoid multidimensional arrays
 
Tomorrow I'll go try it
 
5:29 PM
@LightnessRacesinOrbit
classtype** ar = new classtype*[10];
for (int i = 0; i < 10 ; i++)
ar[i] = new classtype[10];aar
 
user1804599
@LightnessRacesinOrbit Yes.
 
user1804599
@niCk That code is not exception-safe.
 
well, tbh the code is kinda horrible
 
shouldnt that be ar[i] = new classtype[10]; ?
 
user1804599
5:31 PM
No, it should be std::vector<classtype> ar(10);.
 
@niCk operator* dereferences a pointer giving back a T&
 
@rightføld @LightnessRacesinOrbit I just want to make an early prototype build that works the way I designed it then use vector smart pointer exception safe code
 
just use std::vector, will ya?
that stuff is advanced
 
@Jefffrey I will thats an early build
 
why not use it now and save yourself the trouble?
 
5:32 PM
what does it mean it's an early build?
it's not an excuse for anything
 
^ this
 
user1804599
Never use new and new[].
 
using raw dynamically allocated arrays should be only allowed for the academic purpose of learning the internals of std::vector
and then never again
 
@Jefffrey Thats right thats my assignment thank you
 
then I'm sorry for you
 
5:34 PM
I always want to use the more optimized version of the equivalent code
but in this case they force me to use new[]
 
ok, listen: given T* x, *x is of type T&
 
vector is not more optimized then new, it just removes the hassle of managing the memory yourself (making your code safer, and easier to write)
 
apply this definition recursively until you get the type of **x of T** x
T[N][] decays to T** when passed as a function parameter
that's all you need to know
 
@Jefffrey T[N][] is not a legal parameter type.
You probably meant T[][N].
Which decays to T(*)[N], not T**.
 
well, then ^ this
I forgot this a while back apparently
 
5:38 PM
Well, it's mostly useless knowledge to a C++ programmer; it's about arrays and pointers.
If you're a C programmer, on the other hand, it is quite important.
 
@FredOverflow What's the difference in type of T(*)[N] vs T[N] ? I never really got that..
2
 
@StackedCrooked T[N] is an array of N Ts, and T(*)[N] is a pointer to an array of N Ts.
:20570736 The former is a pointer to an array, and the latter is an array of pointers.
 
@Rizier123 THANK YOU! — Salbert 6 mins ago
 
user1804599
I don't know what to do.
 
Go masturbate
 
user1804599
5:42 PM
Use std::array and std::vector, you noobs.
 
@rightføld watch this movie. It will keep you distracted for 2 minutes.
 
@rightføld You can't impress chicks with std::array and std::vector.
 
user1804599
I don't care.
 
@StackedCrooked But the video is over 5 minutes long...?
 
It's a link to the ~3 minute mark.
 
user1804599
5:43 PM
@FredOverflow So you will be focussing for three minutes.
 
> t=149
 
@rightføld Also, I once measured VC6 in Debug mode, and arrays were a lot faster than vectors.
;)
 
user1804599
Nobody gives a shit about performance in debug mode.
 
@Jefffrey Oh my god, that question title is hilarious!
-6
Q: Why my doesn`t contain what I want him to?

SalbertThe program should enter 4 number (which are not the same) between 1-6 to an array for example : 2235 not good (because 2 appears twice) 9415 not good (because 9 is above 6) 1362 is good why it doesn`t work? void randomNumber() { int randomNumbers[4],i,j; srand(time(NULL)); for (i=0;i<...

 
@rightføld Watch "Black Swan".
 
5:46 PM
@Jefffrey Does it have a twist at the end?
 
They recommended it to me
 
user1804599
@Jefffrey No.
 
user1804599
I want to make software.
 
@FredOverflow I don't get the pun.
 
What pun? There is no pun. It was a question of genuine interest.
 
5:47 PM
Oh, it's "twist". Nice one. :)
 
If it was a pun, then I didn't do it on purpose.
 
Because the protagonist is a dancer. I got it.
 
Why do you assume everything I say has puns in it? :)
 
I dunno, because it "does it have a twist at the end" seems such a random question.
 
user1804599
What software to make?
 
5:48 PM
I just like movies with twists at the end.
 
Like if I told you I went to watch a movie tonight and you were to ask me if my car is red.
 
@rightføld Don't you have enough project ideas on your list already?
 
@FredOverflow It probably does btw.
I haven't watched it.
 
We should watch it together sometime.
 
Oh bby.
 
5:50 PM
What does bby mean?
boy?
 
baby
 
It's not a romantic comedy, is it? In that case, I retreat.
 
I seriously doubt that
 
user1804599
@FredOverflow No.
 
@rightføld Go write that knowledge-based static analyzer thingie.
 
5:52 PM
@FredOverflow He is in the experimenting phase. On all fronts.
 
@Jefffrey Including drugs?
1 hour ago, by rightføld
I want to make a video game.
Then make a video game!
 
He probably changed his mind already
I'd love to be in my experimenting phase
 
It's never too late for experiments.
 
@FredOverflow 'stupid title' guy got his stupid question closed :)
 
@MartinJames I'll have to watch his profile and see if he comes up with another brilliant title.
Or is he already banned with -9 votes on his first question?
 
5:56 PM
@FredOverflow Another gem, but not from same poster: 'I want to make some tools to capture audio frequency from other person.'
 
@MartinJames That sounds too much like sane English.
 
That sounds creepy
 
@FredOverflow lol, the bad questions are getting closed/deleted too fast today. I can't get my sarcasm in on time.
 
@MartinJames Are comments disabled on closed questions?
 
@FredOverflow No, only deleted ones. Sometimes, my sarcastic and insulting replies are best supplied in an answer:)
Wow! There's so much crap today: 'I try to implement bellman-ford algorithm but I met some Hard point. I try to detect (and return) a negative cycle in a graph but that doesn't work well.'
If you don't want to meet hard points, don't walk under the wing.
 
Xeo
6:16 PM
Help, I'm bored
 
32 mins ago, by Jefffrey
@rightføld Watch "Black Swan".
 
@StackedCrooked: Hi, sorry I missed your question earlier. I was talking about things like this string proxy. To be more specific: not, not operator->. I've (of course) used that in some smart pointer classes and iterators, but only quite rarely implemented it. The "half dozen" wasn't think of a chain of six conversions on one object, but (for example) something like two apiece on three parameters.
 
6:32 PM
/cc @EtiennedeMartel
 
Xeo
> freedom of expression
> Fvck it
...
 
@Xeo Unrelated, those who decided to censor Fuck arent the ones who censored the title
its an unfortunate juxtaposition though, ill give you that
 
std::array<std::array<Tile,10 >,10> Map;
Map[X][Y]->getInfo() //I don't get why it doesn't work, getInfo() is member function of Tile
Anyone knows what is the correct statement?
 
user1804599
Use ., not ->.
 
user1804599
Tile is not a pointer type.
 
6:46 PM
@rightføld Says who?
 
@Borg similar in all languages!, using sleep() wont do anything to 0.01 since adding 100,00 may take lots of time, when needed it in one second. — Fihox 29 secs ago
 
Could be a pointer alias.
 
ffs
 
using Tile = T*;
 
he tagged his question [java][android][python][c++][c]
 
6:49 PM
@rightføld
I tried that just now Map[X][Y].getInfo()
fails at run, Map[X][Y] |unable to read memory| (of variable that was supposed to be returned by getInfo() :P

Anyway still you are right so thanks
 
user1804599
SSCCE.
 
user1804599
Metal Gear Solid: Peace Walker is fun.
 
user1804599
Stop flagging goddammit.
 
@niCk don't flag messages
 
@Jefffrey what did he flag?
 
6:55 PM
@Jefffrey its funny that you don't get it , why to flag/report such a comment
 
everytime you flag a message, you are annoying 30% of the network
 
is there any other report function?
 
there's a plonk function
use that one
or just be a man ffs
 
Ill use flag for moderator next time
 
you are really the most disappointing thing since my son
 
user1804599
6:57 PM
Everything is fine except trolling and flags.
 
My textbook C++ Primer Plus says I have to use a char array.. — TakShing 22 secs ago
thats new, i though C++ Primer was good?
 
user1804599
If you don't like the messages by someone, just ignore them.
 
user1804599
You can click their avatar and click "ignore this user."
 
user1804599
Then nobody will be bothered.
 
user1804599
I want to be able to detect presence of objects behind my back without looking around.
 
6:59 PM
lol
 
:20571236 He doesn't have a son. AFAIK
i thought that was obvious
 
@niCk it's a reference, silly
 
@Jefffrey ive never seen this
this is better imo
 
Xeo
@Borgleader Primer != Primer Plus
 
@Xeo I assumed it was a revised edition
 
Xeo
7:03 PM
No
It's a badly named clusterfuck
 
@sehe By the way, what did you mean when you said: "people have been generically reflecting function prototypes far too often"
 
7:25 PM
@sehe Anyway, I went ahead and posted the question on StackOverflow--I wanted to see what others might come up with, if anything.
0
Q: Using boost::bind but allowing any additional parameters to be passed through

capsI am putting together a "simple" template class. It offers an interface for performing some operations on a database, so there are other members as well (primarily for operating on the container member). However, for our purposes, the template class looks something like this: template<typename T...

@sehe I'd like you to get credit for your suggested solution if you want it--if you let me know otherwise I'll post it as a semi-answer myself.
 
7:40 PM
busy writing to disk
I FUCKING HATE HDDS
these shits should not be manufactured anymore
giving a human an HDD should be recognized as an insult
 
user1804599
wait what this is 18mm store.arduino.cc/product/A000011
 
user1804599
Oh radius not diameter.
 
user1804599
lol
 
@AlexM. So if I by an HDD, does that mean I'm insulting myself? :P
 
IIRC you're using them to store digits and stuff
 
7:45 PM
Not only that, I'm paying to insult myself.
 
not trying to update a game while windows updates itself
so I don't think you count that much in this case :P
 
You're trying to update a game while Windows is updating? Then you totally deserved it. :)
 
I'm not trying to update a game
I started steam which started updating games
and windows decided to update itself
for reasons unknown to me
at least security essentials doesn't autoupdate
it also says "maintenance in progress"
I haven't started this laptop in some 120 days
I hope it's not defragmenting this crap
why does everything need to update at startup
argh
I don't want to stop steam, I want to play civ5
but now it's updating dota not civ5 :(
 
pause the dota update?
 
the interface is unresponsive atm
I'll try that when it gets responsive again
I like chrome, once it loads a page the page is always responsive
 
7:52 PM
Laptop HDDs are shit
 
cpx
g'night.
 
oh joy, I forgot I don't have the DLCs on this laptop
3.5GB download ahoy
the thing seems to work better now tho
for some reason
also I knew I did well not to set an admin password on my router, I was able to recover my wifi password without waking up the whole family
#securitygeek
 
user1804599
8:07 PM
Why is half of arduino.cc in Italian?
 
@AlexM. well, I use them for backups.
 
@rightføld It was coded in a pizza cafe.
 
user1804599
yum, pizza
 
@rightføld later...
 
evening
 
8:20 PM
Mornin
 
right
how do I actually get Jenkins to build something?
ah gotta log in
 
user1804599
You first go to the HTTPS site (cat y u link wrong), click login, then create a new job.
 
yeah I didn't notice that the login didn't carry over from Phabricator
 
Maybe there'll be SSO one day
Maybe
 
I'll get used to it
now I just need to remember how this is done...
 
8:36 PM
(write it down, if you feel extra nice add it to the lounge wiki)
 
aah I lost the how-to-build page and now I can't find it
ah got it
this is going to go hilariously wrong but let's give it a shot
huh, does Jenkins not actually give the shell the value you put into the box? it killed my quotes.
 
user1804599
Add a shebang if you want something other than sh.
 
user1804599
sh should work fine for your code though.
 
user1804599
Hmm.
 
well, I looked in the console output, and the double quotes are missing.
of course I should just change those parameters to be optional, but that's another matter.
ah well
 
user1804599
8:45 PM
The error is archive.h: No such file or directory.
 
Cat's package list seems to include libarchive, so presumably, their headers should already be in some include directory and #include <archive.h> should just work?
 
user1804599
It does have the quotes.
 
@rightføld Different build.
 
Shell always gets rids of quotes
 
user1804599
Quotes aren't passed directly.
 
user1804599
8:46 PM
Just like "foo" in C++ doesn't result in a five-character string containing two quotes.
 
Is there -dev version of libarchive?
Probably not
 
hmm
I think I did use that.
not sure, it's been a long time since I booted into Ubuntu
 
On the list I mean
 
oh right.
I forgot that there's even a difference.
and the answer is no.
 
Installed
 
8:48 PM
what's the deal with the extra letters and characters, btw? like zlib1g-dev
 
Probably had different versions at some point
 
lol fail!
I have some std::make_uniques in my code.
that's what happens when you don't apply CI.
 
user1804599
I have that too in Styx and it works fine.
 
hmm curious
maybe it's just in a different header or I forgot to include memory or something.
oh well, I shall fix it later.
 
8:59 PM
0
Q: A weird "yaw" behaviour in simulation using atan2() function

DaveI'm working on an application, a simulator, where a quadrotor flies from waypoint to waypoint. In my code I've implemented a function to calculate the yaw using atan2. But when the quadrotor must turn over 360° it "jumps" from the positive range to the negative range of angles. Here I've posted...

cool, OP included a video of what hes working on.
 

« first day (1526 days earlier)      last day (3428 days later) »