HNHacker News
TopNewBestAskShowJobs

mrgalaxy

258 karma · joined February 13, 2013

[ my public key: https://keybase.io/tylerj; my proof: https://keybase.io/tylerj/sigs/aBAZfAj_R7Y5ckw2NyrxEg3UfRP-88CsTp2Vl25ASKg ]

Verifying my Blockstack ID is secured with the address 1NkAZVnafDrxnh7KYg7bN6RcXgv4uCK5Dk https://explorer.blockstack.org/address/1NkAZVnafDrxnh7KYg7bN6RcXgv4uCK5Dk

submissionscomments
mrgalaxy··on When Should I Interrupt Someone?
To be clear, I am not saying a company shouldn't maintain technical docs. In fact if I know something can be found in the docs, and I get a question about it, I am simply going to direct them to the docs.

I also do not discourage a developer from trying something on their own if they feel inclined to do so. That, for me anyway, is most of the fun of programming: the problem solving.

I think that asking a developer to "try it for an hour before asking" is just wasting another hour.

There are many ways to solve a problem, I want to make sure my developers have the access to me that is necessary to develop the best solutions.

mrgalaxy··on When Should I Interrupt Someone?
Actually this is a great clarification yes. You want them to begin thinking about problems and understanding tools so they can eventually do tasks without asking for help.
mrgalaxy··on When Should I Interrupt Someone?
As the senior most developer on my team, I want you to interrupt me as soon as you need help. It is a far better use of everyone's time to get you on the correct track right away. I tell this to every developer on the team, and especially the junior developers. In a sense, since I helped designed and write many of the systems, I view it as my main job to assist other developers so they can do their job to the fullest extent.
mrgalaxy··on Fear and Loathing in YAML
Wow I always thought it was "Yet Another Markup Language". It's crazy that they would change to be literally opposite of the original name.

From the wikipedia article:

> but it was then repurposed as YAML Ain't Markup Language, a recursive acronym, to distinguish its purpose as data-oriented, rather than document markup.

I mean couldn't it be both data-oriented and a markup language?

mrgalaxy··on Show HN: Deck for Reddit – A Reddit client optimized for desktop
So it's not impossible to get around CORS, but it will be expensive if you are dealing with video. One option is to load the videos through a proxy server to ignore the CORS headers.

Really lame though. Reddit needs an embed thing like YouTube, but I have feeling they want people on Reddit, which is why links to Reddit media take you to the comment section.

mrgalaxy··on Chromium and Mozilla to enforce 1 year validity for TLS certificates
I am just guessing but I think it's because of renewals. I know in the past when I've purchased a certificate before the expiration date, the CA gives me that extra time on the new cert so the expiration date stays the same the following year.

Totally speculating here that 30 days is probably the earliest one can renew a yearly cert.

mrgalaxy··on Publishers File Suit Against Internet Archive
Okay that seems like pretty brazen copyright infringement then. That's crazy! Maybe they hope to disrupt the publishing industry, but really just sounds like a way to get sued.
mrgalaxy··on Publishers File Suit Against Internet Archive
Oh I guess I kind of assumed that was what they were doing, although I guess I didn't explicitly see that anywhere. If they really do lend more copies then they've purchased then IA is pretty clearly in the wrong.
mrgalaxy··on Publishers File Suit Against Internet Archive
It seems like Internet Archive's sites are just the digital versions of a normal library. Is there something I'm missing here? Are these publishers going to go after all libraries? Or is this more about the content being digital?
mrgalaxy··on Ask HN: What's your quarantine side project?
https://mrgidle.com

I've been building a silly little idle/incremental game. I've wanted to make this for years and finally found the motivation. In early access now, hoping to release soon.

mrgalaxy··on Bypassing GitHub's OAuth Flow with a Head Request
> Why does Github automatically redirect back the 2nd time without asking the user to authorize again?

Other comments here seem to disagree with this, but I think you are correct. In all of my applications with OAuth, I always ask the user to confirm, even if they already authorized. I figure that user should be very aware that they are authorizing a 3rd party.

Now I've never actaully seen another system that worked this way (as was pointed out), but I think they are just doing that for user convenience without realizing the security implications.

mrgalaxy··on Apple Is Sending URLs to Tencent?
For anyone else wanting to disable it (or at least learn more about it), the feature is labeled in iOS settings under Safari > Fraudlent Website Warning.
mrgalaxy··on The Fully Remote Attack Surface of the iPhone
> VVM works by fetching voicemail messages from an IMAP server maintained by the device’s carrier. The server URL and credentials for this server are provided to the device by the carrier over SMS.

Visual voicemail is just IMAP and SMS? Wow, for some reason I assumed there would be some distinct protocol for that. It's pretty interesting that it's implemented using the existing software the phone already runs on.

mrgalaxy··on Apple Sign In
I own a 2016 Macbook Pro and 2018 Macbook Pro and I have to agree with the others in this thread: don't buy a modern Mac laptop. I really regret purchasing the 2018, my next laptop will probably a Linux based machine.

I recently switched to iPhone after using Android devices for many years to get away from Google and that was actually a purchase I can recommend. The Macbook Pro, not so much.

mrgalaxy··on Apple Plans End of iTunes
> Apple has pushed the iPad as a laptop replacement for years. But many pro users have noted that while the hardware is capable enough, the software is still behind.

As other HN users have noted in the past, until Apple gives me access to a terminal where I can run the command line tools required for my work, I have absolutely zero interest in replacing my laptop with an iPad.

mrgalaxy··on Tencent replaces PUBG with a Chinese government-friendly alternative
I wonder if this means the desktop version of PUBG is also banned in China now? There has been a big problem of cheaters in this game, and others like it, the majority of which are Chinese.
mrgalaxy··on New, portable, open source password manager for Windows
This is nice and all, but what am I going to do with a Windows only password manager? I use several different OSs and a phone. It's pretty much a must that my password manager works on all of them.
mrgalaxy··on Verizon reportedly seeking to sell Tumblr
I was talking with Twitch's Director of Engineering about a year ago and he was saying that their ad revenue dwarfs their revenue earned directly from users (subscriptions and bits) by at least 10 to 1. I was amazed as I've seen how much people are willing to give away on that site.
mrgalaxy··on Copying objects in JavaScript
I've been programming JS for a very long time and have learned to just stop trying to do a generic deep copy. Since JS is a dynamically typed language, it will always lead to issues down the road. Instead I write domain specific merge methods for whatever objects I'm merging.

    function mergeOptions(...options) {
      const result = {};

      for (const opt of options) {
        result = {
          ...result,
          ...opt
          arrayValue: [
            ...(result.arrayValue || []),
            ...(opt.arrayValue || [])
          ],
          deepObject: {
            ...result.deepObject,
            ...opt.deepObject
          }
        };
      }

      return result;
    }
Know the shape of your objects and merging deeply becomes painless and won't have edge-cases.
mrgalaxy··on Helm: Personal Email Server
Hi gsreenivas,

I hope you end up seeing this.

I feel like am your target user for this product. I want to be able to isolate the majority of my data away from these large corporations (namely Google), email is probably the hardest one for me to do myself. I really want to use your product.

BUT, and this is a HUGE but, I am a web developer and I have like 15 domain names. Some from old businesses, some for just random stuff. I accept email from all of them and have online accounts tied to many of them. In order for me to use this product, I absolutely need to bring ALL my domain names with me.

In fact, the number of supported domain names is the primary feature I look at when comparing email providers. If it doesn't support the amount that I have, I immediately disregard it, doesn't matter what else they be offering.

So please reconsider the number of domain names. I imagine there are lots of users like me.

Best of luck to you and your team!

mrgalaxy··on Multiple Severe Vulnerabilities Reported in Juniper Networks Hardware
> And those countries would not engage in surveillance if the US did not?

A rhetorical question about whether other countries would spy on citizens if the US were to stop. (Hint, the answer is that they absolutely would continue).

> You create a 2 country elementary payoff matrix for that game and tell everyone what the Nash equilibrium is.

I think this is saying that there is nothing for other countries to gain by stopping surveillance programs, even if the US were to. This is the Nash equilibrium[1].

[1]: https://en.wikipedia.org/wiki/Nash_equilibrium

mrgalaxy··on The Wonderful World of Webpack
I think Webpack solves a real problem in the web world, but holy cow is it a pain to configure in large applications. Anyone who has had to maintain a larger (and often dynamic) Webpack configuration knows what I am talking about.

I think Webpack is a step in the correct direction, but web bundlers are still in need of improving.

mrgalaxy··on Switching Your Site to HTTPS on a Shoestring Budget
Thought I would bring up fly.io which will give you HTTPS on Github pages for free with a limited amount of traffic. It appeared on HN a few days ago.

[0] https://fly.io

[1] https://news.ycombinator.com/item?id=15135552

mrgalaxy··on Ask HN: Who is hiring? (March 2017)
Pagedip | Full-Stack Software Engineer | Boulder, CO | ONSITE, FULL-TIME https://pagedip.com

At Pagedip, we are creating next-generation documentation tools for medium and large businesses. We are using web technology to bring several of the world's largest and oldest businesses to the modern era when it comes to manuals, product guides, textbooks and more. Our current clients include several fortune 500 companies and we are growing rapidly!

We are currently a small team looking for talent to fill a few engineering roles. Everyday brings something new and you will be challenged every moment. Our current stack is comprised on Golang, Node.js and CouchDB, but we care more about you and less about your background.

Email our Director of Engineering - tyler AT pagedip DOT com

mrgalaxy··on [dead]
The title is bit of a clickbait. It should be noted that the 59% comes from the benchmark which is the last three months or so of historical data. As mentioned in the other discussion, it is more than likely that a real deployment of this bot would fare much worse than 59%.
mrgalaxy··on Optimizations in Syntax Highlighting
> there is no feasible way to interpret TextMate grammars in the browser even today

That doesn't sound right... but then again I don't know enough about TextMate grammars to argue.

mrgalaxy··on SQL style guide
I have only done a little bit of work with SQL. Could someone please go into a bit more detail on a couple of these points for me?

> Plurals—use the more natural collective term where possible instead. For example staff instead of employees or people instead of individuals.

> Where possible avoid simply using id as the primary identifier for the table.

mrgalaxy··on PR converts the Three.js codebase to ES2015 modules
Actually Webpack and Rollup go hand-in-hand. Rollup just compiles JavaScript ES6 modules into a single file, dealing with only `import` and `export` statements and some tree-shaking. Webpack handles everything else, like ES6-to-ES5 conversion, bundling dependencies, styles and everything else you need to get your code shippable to browsers and node.
mrgalaxy··on Ask HN: What is your go-to example for a good REST API?
Jeez, glad I'm not the only who feels Stripe's API is basically the golden standard when it comes to a properly implemented REST API and documentation.
mrgalaxy··on After a year of using Node.js in production
I have used Node.js in production for about 5 years now and I must agree with the sentiment that JavaScript is "Easy to learn, impossible to master". Yes, error handling is a little confusing at first but it stems from JavaScript's asynchronous nature which is naturally complex for the linear mind.

My personal sentiment is to just use Promises, like everywhere. ES7 async/await will really help with this too.

← PreviousPage 2 of 3Next →