HNHacker News
TopNewBestAskShowJobs

jayrox

107 karma · joined September 16, 2012

submissionscomments
jayrox··on What do you Google EVERY. SINGLE. TIME. and never just memorize?
needle, haystack or haystack needle.

everytime.

jayrox··on Cloudflare Workers: Run JavaScript Service Workers at the Edge
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.

jayrox··on Cloudflare Workers: Run JavaScript Service Workers at the Edge
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;
  });
jayrox··on Announcing Caddy Commercial Licenses
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?
jayrox··on Announcing Caddy Commercial Licenses
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?

jayrox··on Live TV on Plex
> 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.

jayrox··on Jared Kushner Runs Windows on a Mac?
Both my Mac Pro and my Mac Book Pro run Windows 10. I don't feel guilty.
jayrox··on Vue Intro
logic doesn't belong in markup.
jayrox··on Vue Intro
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>
jayrox··on Ryancare – The American Health Care Act. With Fire
unfortunately, letting trump and the rest dodge the blame bullet when it comes.
jayrox··on Ryancare – The American Health Care Act. With Fire
this NEEDS to be republi.care

let the republicans own this.

jayrox··on Expanding Fact Checking at Google
I try to keep my facts in check, any examples of questionable politifact judgements?
jayrox··on Amazon Plans First Air Cargo Hub
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.

jayrox··on Nintendo signals end for Wii U
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.
jayrox··on A Prettier JavaScript Formatter
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.
jayrox··on List of WIFI Adapters for Xbox One
Huh? What's wrong with the Wifi adapter that comes built in?
jayrox··on Ask HN: What are other minimal, all-content, no-frills discussion sites like HN?
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.
jayrox··on Ask HN: I’m being bullied at work. What do I do?
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.

jayrox··on Were you watching on TV when Challenger broke up?
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.
jayrox··on Ask HN: Published first Android game and no one is downloading it. What to do?
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.

jayrox··on Free Static Site Hosting
$6 a month per custom domain for static site hosting is a bit expensive compared to other offerings.
jayrox··on The Monaco Code Editor
And a video game
jayrox··on HTTPS for GitHub Pages
I agree with the others. You can host a dynamic site on digitalocean for half the cost.
jayrox··on Who give its credit card to write code with the source code toolkit of Amazon?
that title was very hard to read.
jayrox··on Never buy Epson printers
this is not unique to epson. hp and xerox printers do the same thing.
jayrox··on [dead]
Cool story, bro
jayrox··on AWS IoT Button
good to see amazon embracing this line of thinking.
jayrox··on Windows 10, the stealth OS
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.
jayrox··on Xbox 360 Emulator Research Project
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.
jayrox··on Xbox 360 Emulator Research Project
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.
Page 1 of 3Next →