Preferences

socalgal2
Joined 1,888 karma

  1. there's plenty of comments here referencing other designers on the project.
  2. how is that special/different from an HTML URL?
  3. And it's just as possible (and actually TRUE) that your interpretation of their words is a mis-representation their POV.
  4. > The Republicans are led by white supremacists and they hate me for being transgender

    This is utterly false. At best you can claim you’ve heard of a few homophobic racists who happen to be republican . I’ve met just as many who happen to be democrat

    Just to easily refute one of your 2 claims. Non-white republicans demographics is growing, not shrinking

  5. IIUC, an untrusted inline SVG is bad. An image tag pointing to an SVG is not.

        <img src="untrusted.svg"> <!-- this is ok -->
        <svg from untrusted src>  <!-- this is not ok -->
    
    I feel like this is common knowledge. Just like you don't inject untrusted HTML into your page. Untrusted HTML also has scripts. You either sanitize it. OR you just don't allow it in the first place. SVG is, at this point, effectively more HTML tags.
  6. That particular tweet only says that he preferred Trump to Kamala which IMO is a reasonable opinion. It does not say that he likes Trump. Given the choice between a douche and a turd sandwich you pick one. Maybe post some other tweet?
  7. I enjoyed the Witness to a degree.

    * spoiler *

    I did not notice the environmental puzzles, even after the obvious one at the top of the mountain looking down. I didn't get that that wasn't a one off. Someone had to point them out. I've had other friends who also missed that. It's arguably the game's single biggest reveal / surprise. It was pretty amazing!

    That said, only found maybe 20 of them and was not compelled to keep looking for all of the rest.

  8. I hate this kind of headline. No, Jonathan Blow did not spend the past decade designing 1,400 puzzles. A team of developers made 1,400 puzzles and Blow directed them.

    This headline is like writing "Walt Disney hand drew 60,000 frames of Snow White".

    (correct me if I'm wrong)

  9. It’s not a false dichotomy imo. If the creator of Blue Prince had concentrated on code quality it’s likely they’d never have shipped. The same would be true for the creator of Undertale.
  10. That is not the issue. The issue is supply. People keep blocking construction of new housing and so prices go up and therefore it becomes an investments. increase the supply and it would no longer be an investment and you could not charge high rents
  11. How does limiting rent increases help the issue? all that does is reduce the incentive to build more housing. It’s also a bandaid fix that sounds good today but in the end makes things worse.
  12. that's a really good point .. but, I think 99% of docker users believe it is a a sandbox and treat it as such.
  13. I close any website covered in ads. Problem solved
  14. This seems relevant

    https://www.youtube.com/watch?v=dcolM6W5Odc

    TL;DW you have to use the words

  15. Have you eaten everyday food (not gourmet) in Copenhagen?
  16. I keep wishing “privacy” company, Apple, would release a VPN such that no business would be able to block it as they’d lose too many customers
  17. The `echo` part seemed interesting but it made me think, debuggers need this as a built in feature. If I have

        array
          .slice(0, 10)
          .filter(s => s[0].toLowerCase() < 'm') // a<->l
          .map(s => s.toUpperCase());
    
    It seems like it should be a common feature to be able to view between each array operation in a debugger without having to augment the code with `echo`

    The out of bounds handling didn't seem all that good to me. Sure you can filter out undefined. You could also just make a function that returns an empty array if out of bounds, or array of 1 element if not.

         // JS
         function getElemFromGrid(grid, x, y) {
           return (x < 0 || x >= grid.width ||
                   y < 0 || y >= grid.height)
             ? []
             : [grid.elems[y][x]]
         }
         
         ...
         
         neighbors = [
           ...getElemFromGrid(grid, x + 1, y + 0),
           ...getElemFromGrid(grid, x + 1, y + 1),
           ...getElemFromGrid(grid, x + 0, y + 1),
           ...getElemFromGrid(grid, x - 1, y + 1),
           ...getElemFromGrid(grid, x - 1, y + 0),
           ...getElemFromGrid(grid, x - 1, y - 1),
           ...getElemFromGrid(grid, x + 0, y - 1),
           ...getElemFromGrid(grid, x + 1, y - 1),
         ]
    
         
            
    
    I also find grids made of 2 dimensional array to be code small. An array of arrays is NOT A GRID as there is nothing enforcing the inner arrays to be the same length as each other. Also, in efficienct code it would be better to provide a 1 dimensional array and bounds. Now, out of bounds checks based on accessing outside the array won't work. You need to check actual bounds. Again giving preference using a helper
  18. There's a corelation between how nice people are in general and how well laws are enforced. More consistent enforcement means people trust that other's are not getting away with stuff and so they can settle into assuming the best most often, instead of having to worry.

    I feel like many places have forgotten that. Maybe law enforcement got too expensive or there were too many corrupt police but so much now is no longer enforced and so the selfish "it's okay if I can get away with it" types are winning.

  19. Google isn't the one doing anything wrong. The people posting false listing are the ones doing something wrong.
  20. Not the same, but I've seen hugging brigades in many large cities all over the world. People holding up signs, "Free Hugs". I always exchange hugs

This user hasn’t submitted anything.