« first day (1615 days earlier)      last day (3341 days later) » 

11:01 AM
@Nican no that was a troll
 
35
A: Is it common for people in academia to experience prolonged lack of sleep and how to deal with it?

jakebealThere are three basic approaches to handling this: Paul Erdos' approach. Pros: it worked for Erdos, after a fashion. Cons: you are not Erdos. Crack, maybe have a psychotic episode, and leave academia. Pros: it's the easiest course, and the one you're on now. Cons: everything else about it. ...

great answer
to a frankly pretty dumb question
 
the amount of time some people invest in college is beyond me
 
-1
Q: How to Include a sound clip in a release build

SamlaptopI want to include a sound clip in a release build of my program. I am using console application C++ in Visual Studio 2010. How do I do it? I have a PlaySound in my code and I want it to play the sound file in the release build.

@AlexM. I've done enough late nights at work to know why staying in the lab all night on your research can be a necessary evil from time to time
 
I don't do OT, I leave it to the next day
it helps that I work from 12 to 20, most people stop nagging me at 19
and start nagging me at 18 when a normal guy leaves
I also refused to give my personal number to people who needed it for work :\
wtf is that anyway
if you invade my free time I might as well just quit
 
@edition the logout was the warning
@AlexM. sometimes it happens because they're genuinely fascinated by the field
 
11:17 AM
> Why not go home? Because home is an hour drive away and I am stuck working on multiple projects that lasts from 8 in the morning to 3 in the morning.
sounds to me like he's stuck, rather than fascinated :P
 
This isn't a very useful answer. Within the context of the abstraction that C++ provides, we say that "anything can happen" because it's folly to reason about the results of UB within that context. However, in practice (and this question is firmly about practice), quite clearly "anything can happen" is a monstrous lie (your computer is physically incapable of opening a wormhole, for example) and the OP is asking for specifically what actually can happen. In short, you did not answer the question I'm afraid! — Lightness Races in Orbit 13 secs ago
^ yeah?
 
Nikola Tesla was known to stay awake for days in a row in his lab, and I'm sure he wouldn't have complained about it (that's my idea of fascination)
 
@AlexM. You could argue that overrunning projects are the responsibility of the company and that they should take the delays on themselves rather than foisting them upon staff. But, in the real world, that just doesn't always happen. Contracts tend to expect one to put in a bit of extra work if the situation calls for it.
There is also the scenario in which nothing is overrunning but I have good ideas and I want to get them on paper as quickly as possible before I forget them, because then my work will be better and I will be more proud of it, which is important to me. Sometimes this involves putting in some extra hours if it's a lot of work.
Sometimes you can then chill out a bit during the ensuing days to balance it all out.
 
6 hours ago, by Jerry Coffin
@LightnessRacesinOrbit You consider: "I would enjoy disembowelling each downvoter" to be "nothing at all"? What in the world is wrong with you?
 
11:20 AM
modern air throttles + direct injectors seem like a step backward compared to carburetors
 
Dunno why you pinged me; there's no way to even know you were kicked at all unless someone mentions it.
 
@R.MartinhoFernandes Which is precisely why I pinged you.
 
@LightnessRacesinOrbit if it happens whe you're around...
 
I suppose I can see the reason for that kick if Jerry grossly misinterpreted the statement as not being a humourous hyperbole, which I suppose would have been easy to do.
This "what in the world is wrong with you" is a gross overreaction, though. Am I actually threatening physical violence on someone? Clearly not.
I feel fairly confident that he would not have reacted this way to anyone else.
However, I was also very drunk, so I'll let it go.
 
Anyway, that message is as close to an answer as you can get. (Also note it doesn't contain a mention of the kicker)
 
11:23 AM
@R.MartinhoFernandes Yep, thanks.
I don't understand why he would bother with that though when he knows I can't read it. Very peculiar.
The obsession continues.
And, for the record, I would enjoy disembowelling each downvoter! Whatever downvoters I was talking about....
 
Indeed that appears to be the case. On both accounts
 
Electric assisted turbochargers are turbochargers employing a coaxial electric motor to overcome the time lag of the exhaust gas driven turbine.
The electric motor supports the exhaust gas driven turbine at low-end revolutions to compress enough air into engine's intake, while it can be configured as an alternator to extract energy from the exhaust gas driven turbine at high-end revs, which would otherwise need be bypassed via wastegate and eventually replacing the current mechanically driven alternator.
woah
this is interesting
 
Mar 13 at 11:13, by Park Young-Bae
I will murder someone
I'm just saying that nobody got kicked for that and there is a huge double standard applied to me all the time.
That's why I pinged you, to get your opinion. But that was then. I was drunk. I don't think I want it now :P
 
11:26 AM
... yap yap yap
 
@BartekBanachewicz meh - can you summarise?
 
user1804599
Cool.
 
Hot.
 
user1804599
I can make string interpolation for embedded AWK work using environment variables.
 
Awesome dude. Rock on.
 
I don't get this.
> Inadvertently glancing at the Sun - even briefly while setting up a shot - can lead to burns at the back of eye.
 
> In 1999, when there was the last major eclipse, no-one really had smartphones or took selfies.
RIP
 
I've glanced at the sun countless times in my life.
 
@R.MartinhoFernandes I was just thinking the same thing.
 
How common is it to get burns?
 
11:31 AM
I don't dispute that it's probably not great to look at the sun, but all this advice always seems so hysterical.
Could be social engineering (of a form of which I'd approve, frankly), knowing that telling the unwashed masses that they'd be okay if it's only for a few seconds would lead to the unwashed masses just standing there staring at the fucker
 
I never heard of a case of such either (well, at least not involving external optics).
It just feels like the sort of thing that is as likely as getting hit by lightning while being bitten by a shark.
 
Me neither. I certainly wouldn't want to become the first I hear about, though :(
 
Sad, did commercial law as a part of my master of business postgrad degree, forgot most of the stuff I have learnt already. Now trying to figure out the pros & cons of purchasing property in a trust vs in a companies & have to relearn half of the stuff ...
uhh ... hate tax laws, hate accounting!
on the positive side, I like making & building new stuffs, so not all that bad ...
 
accounting is teh lame
 
unless it saves you tax money
tax minimization ...
 
11:38 AM
Understanding Tax calculation is the most difficult task
 
with that said I am only trying to help a family member out, as you know I have little money, so I wouldn't have to worry about tax minimization
@SmartDev tax calculations for individuals are not too bad
 
@chmod711telkitty I find it difficult how to minimize tax for myself
 
@LightnessRacesinOrbit It feels more like some hoax that the press got wild on at some point and then it just keep going with the momentum.
 
@chmod711telkitty I need to collect each and every medical and shopping bills
 
it's when you chuck in trust, company, property (note: capital gain), shares together in order to minimize various taxes, it gets complicated.
 
11:41 AM
@R.MartinhoFernandes Like how they keep calling quadcopters "drones"?
 
Ha, there's a name for it.
Solar retinopathy is damage to the eye's retina, particularly the macula, from prolonged exposure to solar radiation or other bright light. It usually occurs due to staring at the sun, watching a solar eclipse or viewing an Ultraviolet, Illuminant D65 or other bright light. == §Pathophysiology == Although it is frequently claimed that the retina is burned by looking at the sun, retinal damage appears to occur primarily due to photochemical injury rather than thermal injury and it appears that central serous retinopathy can be a result of a depression in a treated solar damaged eye. == §Signs... ==
 
@R.MartinhoFernandes Or, better example actually, how they called a craze of guessing people's four-digit voicemail passwords and listening to their private messages "phone hacking"
 
@SmartDev ? shopping bills? do you have a business to expense those against?
 
Which did not involve [the victims'] phones, and did not involve hacking
 
@chmod711telkitty Right.
 
11:42 AM
Not a very strong article on wikipedia, though.
But having a name helps googling.
 
@chmod711telkitty No..In my company I can show my own shopping bills and I can reimburse it..They count it as an exemption from total salary
 
Oo, lol nice
@SmartDev you save @ your marginal tax rate when you do that ...
 
@chmod711telkitty But not my wife wears..only my clothes, phone & internet bills and medical bills
 
still beats paying 30c tax to the dollar then having to spend the 70c after tax dollar to buy the goods, that is if your marginal tax rate is 30%
 
@LightnessRacesinOrbit Looking around it seems completely blown out of proportion, but I guess it's like lies-to-children :(
 
11:51 AM
@LightnessRacesinOrbit electric turbo very gud.
 
Fuck.
> The sun eclipse that kept Europe spellbound in the summer of 1999 produced a true tide of 'expert' views in the media on eye protection. [...] A common characteristic of all these 'expert' views was a virtually complete absence of valid arguments.
^ Editorial in a British ophthalmology journal.
 
I wanted to watch this anime but then I read this
> In a world where humanity has lost control of the oceans to the deep sea fleet, the only hope to counter this threat are the Kanmusu, a group of girls who possess the spirit of Japanese warships. The story revolves around Fubuki, a destroyer who comes to the Chinjufu base to train with other Kanmusu.
wtf
 
@R.MartinhoFernandes Yeah 'sactly
@R.MartinhoFernandes haha
I do recall that
 
@Mysticial did you watch that one (Kantai Collection)?
 
I was in France for that one
 
11:56 AM
@LightnessRacesinOrbit I wonder what might happen to the CCD in the camera when taking such shots? It's gonna get a bit hot where the sun is focused on it..
 
This is quite funny. Little pre-design discussion about a new feature, between me, boss and a technical manager (good guy). Boss as usual just agreeing with everyone... despite the fact that me and the technical manager are changing our minds almost with every message. It's like we're using boss to play Pong.
It's so obvious it's absurd
@MartinJames yeah, definitely
55
Q: Can the sun damage the camera sensor? Under what conditions?

tomm89I want to experiment taking photos where the sun appears. I'm afraid of what might happen if I take one with a narrower angle (where sun would be bigger). Can the lens act as a magnifying glass and burn the CCD or CMOS sensor? Under which circumstances (zoom, exposition, aperture, etc...), can t...

if you can kill an ant with a lens you can kill your camera with one too
this article seems to disagree, mind you
(see? I can be balanced!)
 
It seems like everyone and their dog has a Matrix class written stackoverflow.com/questions/4093440/…
 
@LightnessRacesinOrbit Yeah, SLR I can understand 'cos the mirror/viewfinder thing. I would be much more worried about the optics in my phone.
 
"Can the lens act as a magnifying glass"
I wonder what he thinks a magnifying glass is composed of.
 
glass?
 
12:02 PM
My guess is a lot of phones belonging to people in the class of [stupid..moronic] are going to try an claim on their insurance after Friday.
2
 
int i;
for (int i = 0; i < 10; ++i)
{
    int i;
}
Interesting, there seem to be 3 scopes here instead of just the obvious 2.
 
@AlexM. Shaped to form a... lens (doesn't have to be glass, though).
 
I remember my first magnifying glass was plasticky
 
user1804599
Is it possible in C++ to create a custom locale such that std::cout << 42; prints XLII?
6
 
why, you goin' back in time?
 
12:04 PM
> If you’re using automatic mode, your camera will probably pick a very fast shutter speed, so we’re talking hundredths of a second. That’s not nearly enough time to do damage to much of anything.
fair enough
@MartinJames .
@R.MartinhoFernandes ;p
 
@райтфолд Probably.
 
@MartinJames damn straight, sunshine
 
pun not intended
 
dat voice
 
12:05 PM
@FredOverflow three initializations means three scopes.
 
@райтфолд actually an interesting question. too broad for SO of course
 
@DonLarynx I agree :)
 
@FredOverflow good point.
 
user1804599
I had a great idea.
 
12:08 PM
@райтфолд That is never good.
 
 
huh I just lost Facebook and BBC News
whut
 
work attire
@LightnessRacesinOrbit Someone kicked you
 
but I'm still on SO
well we all know you don't need internet access for SO
 
Deleted :/
 
12:10 PM
yeah soz
hah chat is literally the only internet thing working for me right now out of the internet things i have tested
magic
 
I still have all that stuff.
 
I think Jerry's DDoSing me :(
 
@LightnessRacesinOrbit An important difference between a camera and the eye is that the eye has built-in mechanisms to avoid any issues: if you look at the sun, your eyelids will shut and your pupils will close. I dunno what's the real benefit of the former, but the latter is effectively reducing the aperture of your system, thus capturing less light.
 
or is it Vlad???????
@R.MartinhoFernandes Cameras on auto do that too, to a degree
 
12:14 PM
@LightnessRacesinOrbit called it
 
though that's optimised for imagery not self-defence
 
@LightnessRacesinOrbit But on auto they'll also capture just as much light for 1 exposure.
 
darth vader vlad
 
@R.MartinhoFernandes they shouldn't
 
Well, SLRs.
@LightnessRacesinOrbit Why not?
 
12:14 PM
@R.MartinhoFernandes otherwise that defeats the entire purpose
 
It's what "auto" means.
 
@R.MartinhoFernandes because the camera wants less exposure when the scene is bright. it's compensating for the scene being bright. reducing the aperture and elongating the exposure defeats the object
hang on
 
@LightnessRacesinOrbit I think you're misusing "exposure" to mean shutter speed.
 
yes
it's the colloquial term! used in camera software
but I think I see what you're getting at now. let me try it
the aperture was closed precisely in order to get the same amount of light that would have been received in some hypothetical previous scene. not less of it.
it's normalisation
 
You can think of 1 exposure as the amount of light that results in nice pictures. Auto basically amounts to getting a combination of parameters that results in capturing as close to "1 exposure" of light as possible.
 
12:17 PM
but that hypothetical previous scene should have been safe
@R.MartinhoFernandes right, and "1 exposure" is not camera-damaging, so the effect is the same?
 
so that's not a million miles away from what the eye does
 
But the non-SLRs have the sensor constantly exposed (terrible choice of words right here).
 
12:19 PM
@Cinch I think "References are implemented as pointers" does not even make sense, because there is no such thing as a pointer below C. The CPU knows adresses, but it cannot distinguish between, say, an int* and a char*.
 
@R.MartinhoFernandes yeah
@R.MartinhoFernandes like your eye
 
So you have to account not only for the time the light is capture for the picture but also the time it takes to frame it and general fooling around.
@LightnessRacesinOrbit Yeah, but people instinctively look away when it gets uncomfortable.
 
I don't know what phone camera optics have. There are lens/s and a CD/CMOS chip to convert the image focused on it. I don't know if they have any kind of shutter or iris/aperture control?
 
time to get the selfie stick properly aligned with your mug
@R.MartinhoFernandes and the camera instinctively disintegrates when it gets uncomfortable, preventing further damage to the sensor
 
12:20 PM
so it's the same thing really
@MartinJames not usually AFAIK
 
@R.MartinhoFernandes hehe
 
@MartinJames miniaturisation kinda fucks all that up
 
@BartekBanachewicz ??
 
Of course, if you're high on LSD and decide to have a chat with the sun, your instincts might not save you.
 
12:21 PM
@MartinJames that being said, modern phone cameras are pretty good so maybe things have changed since I last looked into it
 
@SmartDev it's the first comment
 
> i tyring to make greed mesh and i make mesh but
(re plinks: get that room)
 
@R.MartinhoFernandes "mr yellow! looking at you makes me cry :( but i love to cry. so i will keep looking at you."
 
@MartinJames No: what gets on screen comes directly from the sensor. If you're framing it, the sensor is getting light.
 
@LightnessRacesinOrbit That's what I would have thought. So an image of the sun would be focused onto the CCD for as long as it's pointed up there:(
 
12:22 PM
@R.MartinhoFernandes he's asking what is it in front of the sensor
@MartinJames arp
 
@LightnessRacesinOrbit At least if it's turned on, there's nothing.
 
@R.MartinhoFernandes right
 
I don't know if phones have shutters when they're off, though.
 
If they did I'd expect them to be closed when the relevant app is closed
For pretty much this reason
 
What would be the point in covering them up when the phone/app is off?
 
12:24 PM
@MartinJames This
 
Doesn't sound worth the costs, though.
 
agreed
hence I'm almost certain they don't
moving parts in a component of that size for so little gain is a big no-no
 
It doesn't protect the optics and keeping your phone out in the sun already blows your warranty, anyway.
 
Presume that my answer is below — Lightness Races in Orbit 41 secs ago
(cos of this:)
> Presume that the function cget has definition.
 
I would have thought that an image is always focused onto the CCD, no matter whether the phone/app is on or not. If the phone/app are on, the image gets converted.
 
12:26 PM
@R.M (does the missing . annoy you? ;p)
 
@MartinJames "focused" is a bit of a misnomer in this context
@R.MartinhoFernandes thought so. it wasn't deliberate, but...
 
@LightnessRacesinOrbit Yeah - OK, the auto focus will not be working.
 
@sehe afraid it will die
but we ok
let's do this

Computer Graphics Articles

Place to share and exchange interesting graphics articles/whit...
 
12:33 PM
I should name that room in memory of Pawnguy
RIP
 
@LightnessRacesinOrbit Is it really used in camera software?
I never saw that.
 
@BartekBanachewicz anyone knows what happened to him?
 
we've repeatedly made fun of his disappearance, but now I'm wondering if it could be due to serious business
 
My current camera's software doesn't actually mention shutter speed. It just has the number in a known position. There's "Tv" in the semi-auto modes, but that's for "time value". "Exposure" in the software is used for features related to the light meter.
 
12:36 PM
"I don't really understand how to use the site" That's because you ignored the helpful tutorial presented to you at sign-up. — Lightness Races in Orbit 12 secs ago
@R.MartinhoFernandes meh maybe not
 
Since you guys love doing my HW, any opinions on mass production vs. localized production with no/few machines involved?
 
@BartekBanachewicz highly curious how this time you don't plink everyone involved... o.O
 
@AndyProwl It's not. He voluntarily quit SO.
 
parents doing housework, kids doing homework
 
@AndyProwl have we?
 
12:41 PM
@sehe Yeah
 
@MartinJames: Failing to comprehend how to copy/paste code from a pastebin into ones text editor is pretty shocking behaviour
 
Probably not in an offensive way, but we did
 
> Pretend that you're Hercule Poirot: Examine all clues,
and deduce the truth by order and method.
Trivia question: where did that pop up?
 
@Jefffrey Ah. OK then. Didn't know
 
12:41 PM
Everyone's free to make fun of it again! :P
 
@rubenvb puzzles SE?
 
@LightnessRacesinOrbit nope.
 
@LightnessRacesinOrbit Yeah. If I could not copy/paste, I could not write any software:)
 
12:43 PM
@Jefffrey That's him?
 
Yes
Mar 13 '13 at 17:31, by Pawnguy7
@MooingDuck I feel like I will be making lots of font instances, but what I could do is, perhaps, make the fonts static const members of something. For example, the library has things like Color::Red. Similarely, Font::normalFont, Font::specialFont, and what have you.
 
If you click from there
 
@Jefffrey I like how he went as far as putting "please delete me" in his chat profile
and that he's not deleted, lol
 
He is on the main site.
You can't delete chat.SO profiles
 
12:44 PM
ok
weird
 
> The player ship can jump.
@LightnessRacesinOrbit That's SOP, AFAIK.
 
is there a way to search for all messages written by a certain user in chat?
 
@Xeo This case desperately needs legal funding, and not just because the guy's being treated so unfairly but because it would be a precedent that we damn well need in case law.
@R.MartinhoFernandes in a chat profile?
 
all right
 
12:48 PM
@AndyProwl no :(
 
guys I know that this is probably not good chat etiquette but may I ask a c++ question that got buried in the site?
 
'I did not have concept of how Operating System Works or what runs my program.I just knew my program is compiled and run' - well, that's allright then :((
 
> After emerging from bankruptcy last year the head of the companies which include Atari Inc. and Atari Interactive Inc. stated that Atari had ten employees. In June, Atari announced a new corporate strategy that would include a focus on "new audiences," specifically "LGBT, social casinos, real-money gambling, and YouTube."
lolwut
@AlexandrosLiarokapis let's hear it and I'll let you know ;p
 
@AlexandrosLiarokapis At you own risk. Some of the Loungers have teeth and claws.
 
cos it depends innit
 
12:50 PM
@LightnessRacesinOrbit I guess he just spammed it all over.
@LightnessRacesinOrbit Quite the niche intersection there.
 
@sehe plinked them inside of the room
 
It's going to be impossible to thoroughly teach you the answer to this without you fundamentally understanding what compilers are and what they do. And how. — Lightness Races in Orbit 11 secs ago
 
@BartekBanachewicz You can actually invite them without plinks.
 
@R.MartinhoFernandes haha you said "intersection"
@R.MartinhoFernandes In fact, the plinks won't work unless he does.
 
@LightnessRacesinOrbit What about it?
 
12:52 PM
@R.MartinhoFernandes ban pun on "sex" and "intercourse" relating to the sexual nature of some of Atari's new interests
 
user1804599
> Never underestimate the power of a small tactical nuclear weapon.
 
pantoona really losing it
 
if I placement new two objects in two different buffers and then swap the buffers can I still access the buffers as if the objects got swallow copied or is it undefined behaviour? (it probably is)
 
I propose an industry-wide convention: Atari without quotes refers to real Atari, "Atari" refers to zombie-Atari.
heh
 
@LightnessRacesinOrbit AKA 'Tell me how a computer works. I'm too lazy to look it up by myself'
 
12:53 PM
@AlexandrosLiarokapis That's the a question equivalent to "are they trivially copyable?"
 
user1804599
> If puns were deli meat, this would be the wurst.
7
 
@Xeo okay reading his twitter feed is a bit harrowing; the guy's gone off the deep end
 
alright so it's not valid in the general case
 
@MartinJames yesh
> swallow copied
@AlexandrosLiarokapis good question.
shall we unbury it on main
can't find it
 
@AndyProwl missed it :(
 
@BartekBanachewicz ah
 
ah it's from the other account
 
I am in the curry house.
I can hear a lady ordering a chicken korma.
okay so maybe he's always been a little unhinged
he also appears to have an unhealthy obsession with lambs
 
It doesn't look buried to me? 'asked 15 hours ago'
 

« first day (1615 days earlier)      last day (3341 days later) »