If you can read this, either the style sheet didn't load or you have an older browser that doesn't support style sheets. Try clearing your browser cache and refreshing the page.

(Science Daily)   StarCluster[] NGC3766 = new StarCluster[36];   (sciencedaily.com) divider line 18
    More: Interesting  
•       •       •

2231 clicks; posted to Geek » on 13 Jun 2013 at 9:27 AM (1 year ago)   |  Favorite    |   share:  Share on Twitter share via Email Share on Facebook   more»



18 Comments   (+0 »)
   
View Voting Results: Smartest and Funniest

Archived thread
 
2013-06-13 07:55:04 AM
36 star clusters huh? Going to take up a lot of ram.
 
2013-06-13 09:34:27 AM
I also display regularly-occurring variations in how bright I am.

Before morning coffee / after morning coffee.
 
2013-06-13 10:53:12 AM
This headline made me sigh.
 
2013-06-13 10:54:08 AM
That should be a subset of the cluster, not a new cluster, the cluster itself still has more than 36 members.

combined with a very careful analysis of the data

Also, this better not be an implementation of the DataMassaging interface.
 
2013-06-13 10:54:41 AM

serial_crusher: 36 star clusters huh? Going to take up a lot of ram.


And if the universe runs out of heap space, it will crash with some unhelpful error message like "Access violation" or "Bus error".
 
2013-06-13 11:20:39 AM
So much unnecessary typing
/pun intended
 
2013-06-13 11:54:02 AM
""" Decent headline, but wouldn't new class be more like this?"""
class GenevaVariable(VariableStar):
    def __init__(self, parent=GalacticDustCloud):
       super(self).__init__(parent)
       ....
 
2013-06-13 12:33:12 PM
Wouldn't an ArrayList<StarCluster> work better since you're likely going to be adding new members to this list?
 
2013-06-13 12:51:51 PM
serial_crusher: 36 star clusters huh? Going to take up a lot of ram.

If you're havin' ram problems I feel bad for you son.
I got 99 gigs and a var takes up 1.

// actually, one of my servers is being upgraded from 256GB to 512GB
(we really want to go to 1TB but that would mean replacing all of the current sticks with higher density ones)
 
2013-06-13 01:45:07 PM

germ78: Wouldn't an ArrayList<StarCluster> work better since you're likely going to be adding new members to this list?


Exactly. Just remember to synchronize it at creation in case multiple star clusters are added simultaneously.
 
2013-06-13 02:07:45 PM
did they find an OnOff star?
 
2013-06-13 02:17:07 PM

Cybernetic: serial_crusher: 36 star clusters huh? Going to take up a lot of ram.

And if the universe runs out of heap space, it will crash with some unhelpful error message like "Access violation" or "Bus error".


Let's try not to seg fault the Universe.
 
2013-06-13 03:17:49 PM
Oh my god...IT'S MORSE CODE!!11!1

..-. .. .-.. - . .-. / - .... .. ... / -... .. - -.-. .... . ...
 
2013-06-13 03:22:13 PM
I C++ what you did there, Subby.
 
2013-06-13 06:01:17 PM

traylor: I C++ what you did there, Subby.


Funny. I took it to be Java, unless array declarations are the same in each language.

/haven't gotten to arrays in my C++ class yet
//either next week or the week after
 
2013-06-13 06:21:18 PM

germ78: traylor: I C++ what you did there, Subby.

Funny. I took it to be Java, unless array declarations are the same in each language.

/haven't gotten to arrays in my C++ class yet
//either next week or the week after


I too am confused about the headline. From TFA, the STAR cluster NGC3766 has several thousand
stars.
const int nStars = 3000; StarCluster *Stars[nStars];         // germ78's approach is better!
for (int istar=0;istar<nStars;istar++){ Stars[istar] = new StarCluster(); }

...read data... and then:

int nvariable = 0;
for (int istar=0;istar<nStars;istar++){
    if ( Stars[istar]->Variability() > 0.001){ ++nvariable; }     // .gt. 0.1%
}   cout<<"nvariable = "<<nvariable<<endl;

...compile and run:
nvariable = 36
 
2013-06-13 07:21:31 PM

germ78: traylor: I C++ what you did there, Subby.

Funny. I took it to be Java, unless array declarations are the same in each language.

/haven't gotten to arrays in my C++ class yet
//either next week or the week after



Good, but you wouldn't say 'I Java what you did there', would you?

/oh wait Java itself is funny
//I mean it's ridiculous
 
2013-06-13 07:35:05 PM

traylor: 'I Java what you did there'


yeah - i got your joke. I thought it was clever, but not (C-)sharp....
 
Displayed 18 of 18 comments

View Voting Results: Smartest and Funniest


This thread is archived, and closed to new comments.

Continue Farking
Submit a Link »






Report