News for hackers. Stuff that matters.

jayrox

needle, haystack or haystack needle.

everytime.

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.

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;
  });
Re:Announcing Caddy Commercial Licenses on Wednesday September 13, 2017 @10:56AM (#15238857)
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?
Re:Announcing Caddy Commercial Licenses on Wednesday September 13, 2017 @10:49AM (#15238792)
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?

Re:Live TV on Plex on Thursday June 01, 2017 @11:47AM (#14461291)
> 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.

Re:Jared Kushner Runs Windows on a Mac? on Friday March 31, 2017 @02:18PM (#14006474)
Both my Mac Pro and my Mac Book Pro run Windows 10. I don't feel guilty.
Re:Vue Intro on Friday March 24, 2017 @02:09PM (#13950921)
logic doesn't belong in markup.
Re:Vue Intro on Friday March 24, 2017 @10:59AM (#13949313)
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>
Re:Ryancare – The American Health Care Act. With Fire on Wednesday March 08, 2017 @04:32PM (#13824015)
unfortunately, letting trump and the rest dodge the blame bullet when it comes.
Re:Ryancare – The American Health Care Act. With Fire on Wednesday March 08, 2017 @03:53PM (#13823677)
this NEEDS to be republi.care

let the republicans own this.

Re:Expanding Fact Checking at Google on Tuesday February 21, 2017 @09:10AM (#13695518)
I try to keep my facts in check, any examples of questionable politifact judgements?
Re:Amazon Plans First Air Cargo Hub on Thursday February 02, 2017 @08:12AM (#13550245)
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.

Re:Nintendo signals end for Wii U on Friday January 20, 2017 @02:31PM (#13446364)
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.
Re:A Prettier JavaScript Formatter on Wednesday January 11, 2017 @10:31AM (#13374589)
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.
Re:List of WIFI Adapters for Xbox One on Wednesday December 28, 2016 @07:48AM (#13270134)
Huh? What's wrong with the Wifi adapter that comes built in?
I love lobste.rs but I do have one complaint: The Tags, metadata and noise around the topic titles makes it difficult to scan for interesting topics. HN is so easy to just look down the list and find something interesting to read or discuss.
Re:Ask HN: I’m being bullied at work. What do I do? on Friday December 16, 2016 @01:35PM (#13195533)
I'll tell you what worked for me:

I walked over the bully and told them to their face that I did not appreciate the way they were talking to me. That I will not accept or tolerate being treated the way they were attempting to treat me. I then wrote an email to their manager with what happened, copied the conversation that was had in chat and explained that we are adults and that behavior was not acceptable. Their manager had a talk with them and it hasn't happened again.

I was/am prepared to forward my communication to HR if the time comes where they try to bully again.

Re:Were you watching on TV when Challenger broke up? on Friday December 16, 2016 @09:53AM (#13193594)
This happened on my 3rd birthday. Can't say I remember exactly what I was doing at the time but I've heard my parents talk about seeing it on TV.
I would say the reasons I wouldn't download it: - No video showing game play. - The static screenshots don't really tell a story. - The icon doesn't speak with me or convey a brand or idea. Sure it says Chainy but as I scroll through a million other apps in the store it doesn't catch my attention. I doubt I would even give it a pause.

Give Chainy a more eye catching icon, maybe a YouTube video with some sample play. I think those two things would definitely help grab a few more downloads. Oh and post a link, the video and a description around on blogs, forums, reddit, etc but don't be pushy.

Re:Free Static Site Hosting on Friday July 08, 2016 @05:56PM (#12058915)
$6 a month per custom domain for static site hosting is a bit expensive compared to other offerings.
Re:The Monaco Code Editor on Monday June 20, 2016 @02:26PM (#11940059)
And a video game
Re:HTTPS for GitHub Pages on Wednesday June 08, 2016 @07:30PM (#11866525)
I agree with the others. You can host a dynamic site on digitalocean for half the cost.
that title was very hard to read.
Re:Never buy Epson printers on Saturday March 12, 2016 @04:21PM (#11274623)
this is not unique to epson. hp and xerox printers do the same thing.
Re: on Saturday November 07, 2015 @07:00PM (#10526758)
Cool story, bro
Re:AWS IoT Button on Sunday October 11, 2015 @04:38PM (#10370872)
good to see amazon embracing this line of thinking.
Re:Windows 10, the stealth OS on Friday September 18, 2015 @10:25AM (#10239348)
So next year when Apple does this it will be billed as "innovative! A breath of fresh air, the greatest thing since sliced bread!" then people will wonder why we waited decades for OS developers to preload the latest and greatest OS. Making the install seemless, fast and a wonderfully painless experience for the user. Will make it to the front page of the New York Times as the biggest innovation of 2016.
Re:Xbox 360 Emulator Research Project on Tuesday September 08, 2015 @11:38PM (#10189538)
its also certainly possible that part of the emulation requirements include xbox 360 patch levels, an emulated file system for updates and everything else to be together in a single container.
Re:Xbox 360 Emulator Research Project on Saturday September 05, 2015 @09:59PM (#10176620)
Modern may be "easier" because they are being built on top of hardware that is similar to what is found in modern consumer pc systems. That's no to say they are nessessarily the same but being x86 based means they have many of the same instruction sets.

Older »