gpl's recent activity

  1. Comment on Amazon's 'The Lord of the Rings' to cost $465M for just one season in ~tv

    gpl
    Link
    For reference, all three films cost around $280 million in 2001, which adjusted for inflation is about $430M. This is a wild amount for one season.

    For reference, all three films cost around $280 million in 2001, which adjusted for inflation is about $430M. This is a wild amount for one season.

    3 votes
  2. Comment on Nothing breaks like AI heart - An interactive essay about artificial intelligence, emotional intelligence, and finding an ending in ~tech

    gpl
    Link
    This is a bit of a side-note, but I really like The Pudding and I'm happy to see them getting a bit more attention.

    This is a bit of a side-note, but I really like The Pudding and I'm happy to see them getting a bit more attention.

  3. Comment on What's your proposing/marriage story? in ~talk

    gpl
    Link
    I'm planning on proposing to my girlfriend this year so I am taking notes :)

    I'm planning on proposing to my girlfriend this year so I am taking notes :)

    6 votes
  4. Comment on What's a question you want to ask, but you're worried about how it might come across? in ~talk

    gpl
    Link Parent
    That was a really good article, thanks for sharing. I can't tell if I am completely convinced by the arguments presented but it's certainly a great perspective and I think it is more clear now...

    That was a really good article, thanks for sharing. I can't tell if I am completely convinced by the arguments presented but it's certainly a great perspective and I think it is more clear now that there are serious differences between the two. I'll have to think more about it honestly.

    4 votes
  5. Comment on What's a question you want to ask, but you're worried about how it might come across? in ~talk

    gpl
    Link
    To the extent that we recognize both gender and race as being largely socially constructed, why is being transracial not really a thing? I feel kind of dumb asking this as I consider myself...

    To the extent that we recognize both gender and race as being largely socially constructed, why is being transracial not really a thing? I feel kind of dumb asking this as I consider myself relatively familiar with these things, but it has never really made sense to me why the thought of someone being transracial is not taken seriously. I am genuinely curious what people think about this.

    13 votes
  6. Comment on Officer Kim Potter fatally shot Daunte Wright, police said. She’s a 26-year vet, served as union president. in ~news

    gpl
    Link
    Honestly, why are police even involved in traffic violations in the first place? I am not a fan of red light cameras for obvious reasons, but their kill count is 0, and also the certainty of being...

    Honestly, why are police even involved in traffic violations in the first place? I am not a fan of red light cameras for obvious reasons, but their kill count is 0, and also the certainty of being caught violating traffic statutes by an automated system must be more of a deterrence than the slight possibility of being pulled over by a cop. I can see the argument for like a wild or erratic driver, but it feels like speeding tickets and stickers should be handled by an envelope in the mail.

    8 votes
  7. Comment on Do I need a new computer? in ~tech

    gpl
    Link Parent
    It's kind of 6 of one, half dozen of the other. Eventually this system will die, either as a result of not being able to run the newest intensive software, or because non-replaceable parts die. At...

    It's kind of 6 of one, half dozen of the other. Eventually this system will die, either as a result of not being able to run the newest intensive software, or because non-replaceable parts die. At that point you will have to toss the whole system regardless. Technically you could strip out the functioning parts and buy a new laptop without those and use your old ones in the new device, but in practice it's hard to buy laptops like that. I definitely agree that upgrading is in general preferable to buying new, but there's also a point at which maintenance of an old system becomes a headache and I don't think it's unreasonable to look for a new device.

    7 votes
  8. Comment on Do I need a new computer? in ~tech

    gpl
    Link
    My personal opinion is that a 7 year old laptop has more than served it's purpose so you would be more than justified in buying a new one - there definitely comes a point where buying new parts...

    My personal opinion is that a 7 year old laptop has more than served it's purpose so you would be more than justified in buying a new one - there definitely comes a point where buying new parts for an old device is not only not cost effective, but also doesn't keep you up to date with modern tech. $1k is more than enough to get you another computer that will last you 7 more years. As for recommendations, I haven't gotten a new computer in 6 years so I'll wait for other to chime in ;).

    14 votes
  9. Comment on What does analog have that digital doesn't? in ~talk

    gpl
    Link Parent
    Kind of reminds me of discussions surrounding translation, where the question is whether the translate work should strive to be faithful to the wording and structure of the original, or to the...

    Kind of reminds me of discussions surrounding translation, where the question is whether the translate work should strive to be faithful to the wording and structure of the original, or to the emotion and style. For example, when translating a poem should the translation have more freedom in word choice in order to maintain the same rhyme scheme, or should it copy the original words exactly despite that ruining the poetic structure. Here of course we're talking about whether "to sound better" means to more faithfully reproduce the original sound, or to more faithful reproduce the emotional interaction that original sound was meant to elicit.

    11 votes
  10. Comment on Usonia - A look at Frank Lloyd Wright's model for the middle class in ~design

  11. Comment on Recommend a piece of fiction that gives a specific feeling, regardless of genre or medium in ~talk

    gpl
    Link
    100 Years of Solitude captures the feeling of nostalgia and fading memory better than almost any other piece of fiction I've encountered. A lot of people are put off by the super similar names and...

    100 Years of Solitude captures the feeling of nostalgia and fading memory better than almost any other piece of fiction I've encountered. A lot of people are put off by the super similar names and find it hard to keep track of, but I think that's largely the point. Garcia Marquez wants you to be a bit lost in the haze of memory when older characters are mentioned. The way he starts the book, and a reoccurring mechanic that he uses, is to combine multiple tenses into a single passage as a way of distorting your sense of time and narrative. The first sentence (in translation, which Garcia Marquez had said was as good as the original - high praise) is:

    Many years later, as he faced the firing squad, Colonel Aureliano Buendia was to remember that distant afternoon when his father took him to discover ice.

    Just look at the structure there. We in the present are looking forward to the future in which the Colonel is up against the firing squad, where he is remembering the distant past - which is none other than the "present" the reader has been placed in. The next few chapters, if I recall, are describing this "past" so that by the time you get to the "present" of the firing squad you had forgotten the framing in the first place. From the get go we are entering and navigating a memory, and by the end of the book its hard not to have an odd sense of nostalgia for the beginning.

    I know a lot of people have a tough time liking this book, but I can't help but recommend it if you love themes of memory and nostalgia. Beyond the beautiful writing, it truly does capture the feeling of remembering more than most other things. If you are having trouble with the confusing names, my only advice is to not worry so much about those - that's the point.

    9 votes
  12. Comment on Results from the Fermilab g-2 experiment indicate new physics with 4.2 sigma confidence, stronger than previous measurements in ~science

  13. Comment on SCOTUS sides with Google over Oracle in ~tech

    gpl
    Link Parent
    Just to add some support here, the court specifically said that in this case they would not rule on whether or not API's are copyrightable, and for the sake of argument in this case assumed that...

    Just to add some support here, the court specifically said that in this case they would not rule on whether or not API's are copyrightable, and for the sake of argument in this case assumed that the lines were copyrightable.

    This case implicates two of the limits in the current Copyright Act.First, the Act provides that copyright protection cannot extend to “anyidea, procedure, process, system, method of operation, concept, princi-ple, or discovery . . . .” 17 U. S. C. §102(b). Second, the Act providesthat a copyright holder may not prevent another person from makinga “fair use” of a copyrighted work. §107. Google’s petition asks theCourt to apply both provisions to the copying at issue here. To decide no more than is necessary to resolve this case, the Court assumes for argument’s sake that the copied lines can be copyrighted, and focuses on whether Google’s use of those lines was a “fair use.” Pp. 11–15.

    This is found near the beginning of the PDF @stu2b50 linked to.

    3 votes
  14. Comment on Fortnightly Programming Q&A Thread in ~comp

    gpl
    Link
    What is the "proper" way to handle this situation? I have a C++ class that essentially does some Fourier transforms on some data. As an example, you can think of it as a solver class for the...

    What is the "proper" way to handle this situation?

    I have a C++ class that essentially does some Fourier transforms on some data. As an example, you can think of it as a solver class for the Poisson equation, which solves it by using the Green's function. That's irrelevant to my question but sets the stage. Now, I am using FFTW to do Fourier transforms, and FFTW creates an object called a "plan" which optimizes the FFT. It needs an allocated array in order to create this object, and this object is used to actually compute the FFT. An example from the docs is:

    #include <fftw3.h>
    ...
    {
        fftw_complex *in, *out;
        fftw_plan p;
        ...
        in = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
        out = (fftw_complex*) fftw_malloc(sizeof(fftw_complex) * N);
        p = fftw_plan_dft_1d(N, in, out, FFTW_FORWARD, FFTW_ESTIMATE);
        ...
        fftw_execute(p); /* repeat as needed */
        ...
        fftw_destroy_plan(p);
        fftw_free(in); fftw_free(out);
    }
    

    Here, every time fftw_execute is called, the data in in is Fourier transformed and place in out.

    Now, for my use case, I want to create a class that has these plans has member objects and are all set up to preform the Fourier transform on arrays I pass to it. The reason for this is there are other actions I want to preform on the data while it is transformed and before inverting the transform, for example if I want to convolve a function by multiplying the transform by another function. There are also objects I need that I don't need outside of the solver for this, like a grid of frequencies in Fourier space. So for these reasons I think it makes sense to make a class. Schematically I will have a class that does something like:

    class SolverClass {
        public:
            SolverClass(std::complex<double> *in, /*other input parameters*/){
               initialize(in);
            }
            void fft_forward(std::complex<double>* in); // calls fftw_execute on the forward plan 
           void initialize(){
               /* code like the block above setting up plans */
            }
    
        protected:
               fftw_plan forward_transform;
               std::complex<double>* buf1;
               /* other stuff */   
    

    That's all the backstory. My question is this. In order to set up the internal FFT plans, I need to have buffers for the input and output array. I could copy my input and output arrays to internal member copies, construct the plan using those allocations, and copy the data back out using member functions when I need to access it outside of the class. Or, I could just pass pointers to the input and output array to the class, and initialize the FFT plan using pointers to those external arrays. In the first instance, everything used by the class is contained by the class and there's good encapsulation, but I will need to copy the data whenever I need it outside the class, which at the least will occur for I/O. I also will have basically double the memory allocated at any time that I need since the copies sitting outside the class won't be used while the solver is doing its solving. In the second option, though, I have pointers and member objects that are pointing to memory allocated outside of the class and not owned by it. Now, I don't think this will cause any problems, and I am currently planning on going this route. But I am wondering if there are any standards or good practices I should follow in this case. Is it bad to have pointers within a class pointing to memory not owned by the class? Should I be managing this in a different way? Am I overthinking things?

    EDIT: I also want to acknowledge the past very useful answers I have gotten in these threads which I do not always have the time or energy to respond to. If you've responded to me here before please know it is very much appreciated and I haven't ignored it - sometimes I just don't have the bandwidth to follow up even when I initiate the thread.

    5 votes
  15. Comment on Megathread: April Fools' Day 2021 on the internet in ~misc

    gpl
    (edited )
    Link
    As is tradition on the arXiv, people have been started posting joke papers. They get more and more creative every year - here is one notable one this year. Edit: Ok, my new favorite one is this....

    As is tradition on the arXiv, people have been started posting joke papers. They get more and more creative every year - here is one notable one this year.

    Edit: Ok, my new favorite one is this. Title:

    My cat Chester's dynamical systems analysyyyyy7777777777777777y7is of the laser pointer and the red dot on the wall: correlation, causation, or SARS-Cov-2 hallucination?

    10 votes
  16. Comment on What programming/technical projects have you been working on? in ~comp

    gpl
    Link Parent
    Ohhhh I really like your static site generator, something like that would be super useful for me.

    Ohhhh I really like your static site generator, something like that would be super useful for me.

    3 votes