Recent submissions

Comment · 9 years ago
needle, haystack or haystack needle.

everytime.

Comment · 9 years ago
Of course this would be the user's personally hosted server. Typically hidden behind a password and loaded in some sort of HTPC manager like Organizr.

According to reports, Plex' intention was to prevent clickjacking, which is perfectly reasonable but left many of their users from being able to use their Plex servers within the HTPC managers.

Comment · 9 years ago
This is really interesting. I have an idea where this could be helpful to the Plex user community. Recently Plex added a header that blocks the page from being iframed (X-Frame-Options).

Would doing something like this, obviously replacing example.com with their own domain.com, replace the offending header?

  addEventListener('fetch', event => {  
    let request = event.request;
    if (request.headers.has('X-Frame-Options')) {
      let newHeaders = new Headers(request.headers);
      newHeaders.set('X-Frame-Options', 'ALLOW-FROM https://example.com/');
      event.respondWith(fetch(request, {headers: newHeaders}));
    }
  
    // Use default behavior.
    return;
  });
Comment · 9 years ago
Is that specified somewhere? I mean, I see this in the EULA `READ IT CAREFULLY BEFORE COMPLETING THE INSTALLATION PROCESS AND USING OFFICIAL CADDY BINARIES AND RELATED SOFTWARE COMPONENTS ("Software").` But is there something that specifically says the EULA only applies to official binaries and not the source code or self compiled binaries?
Comment · 9 years ago
commercial sites have the easy ability to go to https://github.com/mholt/caddy; download the source; remove the header from header.go and server.go; compile; run

i'd venture to guess many build the binary themselves already. so they can add their own tweaks.

how would anyone be able to prove a website is being ran by caddy if the server doesn't announce that it is caddy?

Comment · 9 years ago
> Once configured, don't plan on using the computer you setup the Media server on as it is always busy/ bogged down scanning files and transcoding video.

This part is incorrect. Plex only needs to transcode at the time the media is being played and really only scans when changes to the media directory are detected and/or on a schedule you define.

Comment · 9 years ago
Both my Mac Pro and my Mac Book Pro run Windows 10. I don't feel guilty.
Comment · 9 years ago
logic doesn't belong in markup.
Comment · 9 years ago
lost my attention at

  <div id="app2">
    <button @click="click">Click</button>
    <div v-if="value">
      <p>Yay!</p>
    </div>
    <div v-else>
      <p>Nay!</p>
    </div>
  </div>
Comment · 9 years ago
unfortunately, letting trump and the rest dodge the blame bullet when it comes.
Comment · 9 years ago
this NEEDS to be republi.care

let the republicans own this.

Comment · 9 years ago
I try to keep my facts in check, any examples of questionable politifact judgements?
Comment · 9 years ago
USPS could do a few things to improve and they really aren't that big. For the following examples consider this: I live on a "no outlet" road. Meaning 100% of traffic is for the 20 houses on the street and not through traffic. And of the local traffic it is extremely minimal, we have more kids playing on the street than we have cars.

1) Stop being lazy. For example, I ordered something from Amazon and even though I have Prime, I paid for next day delivery. It was something I really needed. I rushed home that day excited to finish a project. Looking out the window I watched the USPS guy drive right past my house. A short while later I got a notice from Amazon that my package wasn't delivered due to an obstruction blocking my mailbox. I go out to the mailbox and look around trying to figure out what the obstruction was. The only thing I could figure out that would be possibly considered an obstruction was the trash cans I had just taken out that were about 5 feet to the left of the mailbox.

2) Consider somethings could possibly be fragile and take that into account when handling. For example, earlier this week I had 2 "large" flat envelopes delivered that were clearly way too large for my mailbox. Instead of considering that the contents may be fragile the USPS guy just jammed the envelopes into the mailbox the best he could making them into a crumpled mess.

Comment · 9 years ago
I have the same experience. My friends had weekly weekend game nights where we played Wii Sports until the early hours of the next morning. I had my own Wiimote that I took with me and I didn't even own a Wii at the time.
Comment · 9 years ago
That's exactly how I feel about it. Line length is something I couldn't care less about. If it makes sense to be on one line, then it should be. Otherwise, create the new line where it does make sense.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton