HNHacker News
TopNewBestAskShowJobs

chrisparton1991

203 karma · joined February 20, 2017

https://chrisparton.net https://youtube.com/channel/UCG_ox3UgSRHj-m_zG_mJCUg http://girtgames.com
submissionscomments
chrisparton1991··on How to secure your website with Nginx and Let's Encrypt
Yep, agreed. I only use Cloudflare's SSL for a couple of static landing page websites. For things like that, I think Cloudflare is perfect. For anything else, I use LetsEncrypt.
chrisparton1991··on How to secure your website with Nginx and Let's Encrypt
This is a nice, concise guide. I use LetsEncrypt for one of my sites running on a DigitalOcean box, they have some excellent documentation there as well.

An alternative to LetsEncrypt is to sign up for Cloudflare's free tier. You get free SSL (using their shared certificate) and a bunch of other goodies. I have a couple of sites hosted on GitHub Pages using Cloudflare, so I have SSL and hosting at zero cost. Hard to beat that price!

chrisparton1991··on Luna 1.0 Beta is out
Agreed, the project looks neat! I didn't have issues with the scrolling, but the page took about a minute to load and render on my 100Mbps connection. Chrome pulled down around 32MB of data to load the page, so no wonder.

At some point, a slick experience becomes a hindrance when it comes at the cost of load time, and this page blew past that point and then some.

The main culprit looks to be high-res PNGs with transparent backgrounds, which are ~2MB each. If you can get away with lightly compressed JPEGs with the same background colour as the page, you'd shave the majority of this baggage off. Obviously it won't look quite as good, but it's all about balance :) Just my two cents.

chrisparton1991··on Power outage at CES
During the blackout: "In its present state, our IoT lighting solution is completely unhackable!"
chrisparton1991··on Mocker: A crappy imitation of Docker, written in 100% Python
Clocker (Clojure), Focker (F#), Rocker (Ruby)... the possibilities are endless!
chrisparton1991··on How MacArthur Geniuses Handle Their Money Windfalls
>Buying a house all cash is not the way to do it.

It's _a_ way to do it though. My argument isn't that buying a house with the cash is the optimal way to spend it, simply that having a house fully paid for is a massive financial burden taken off one's shoulders.

In Australia where a typical house can easily sell for $800K-$1M AUD in desirable locations, the repayments on a mortgage (or rent) can be crippling. I would be more than happy for that to be a non-issue for me!

chrisparton1991··on How MacArthur Geniuses Handle Their Money Windfalls
For me—in my 20's living at home—this kind of money would mean I could buy a house/apartment without needing a mortgage.

It would be a huge kickstart to my independent adult life, and the savings over the decades from not having a mortgage would absolutely be lifestyle changing. I'm not talking about yatchs and lamborghinis, but it would certainly provide the freedom to live on less income in exchange for more free time to pursue hobbies and side projects.

Not that I have any reason to complain, I'm very grateful for who and what I have in my life right now.

chrisparton1991··on Quicktype – Beautiful types from JSON
This could be useful as a build tool plugin to generate consistent typings for frontend and backend code. Of course, using this as a build-time codegen tool means you can't add any custom annotations or methods etc., so it could be a bit restrictive for most use cases.

Nice work though!

chrisparton1991··on A photographer captures the paths that birds make across the sky
Well said. Regardless of what side you're on, the journey is a reward in itself. The process of learning while creating is immensely satisfying, even if nobody sees the end result.
chrisparton1991··on Ask HN: When will Intel start selling chips that are not vulnerable to Meltdown
Good question, I did some Googling and couldn't find anything either.

Interestingly, not a single result is returned when searching "Meltdown" in Intel's website. Hopefully Intel will fill us in soon.

chrisparton1991··on Show HN: HNCute, a pretty pink Hacker News theme
Nice work, and thanks for sharing! I think your repo serves as a great example of how simple a Chrome extension can be, so it has value as reference material.
chrisparton1991··on The Future of JQuery UI and JQuery Mobile
I used it for a project when I was at university. It was appalling to use. Lots of the examples on the jQuery mobile website failed (e.g. weird redirections when closing modals, lots of odd flashing and jumping around).

A few years later I went back to check the examples and they had the same problem.

chrisparton1991··on The Future of JQuery UI and JQuery Mobile
Absolutely, lots of people are keen for jQuery UI features without the bloat of jQuery+jQuery UI.

For sortable, there's https://github.com/RubaXa/Sortable. It comes in at around ~6KB gzipped, compared to ~80kb for jQuery UI's JavaScript (not to mention CSS and jQuery itself).

chrisparton1991··on Show HN: Swapping Position and Brightness in Grayscale Images
It would be neat to provide an "iterations" parameter that runs the algorithm N times over the source image. It could be implemented a slider so the results can be animated, after a fashion.

I did this manually with the seagull photo, and some pretty interesting results occur. The seagull becomes increasingly compressed towards the left, and looks more like a seagull on even iterations than on odd iterations.

Just goes to show how entertaining a simple algorithm can be, nice work!

chrisparton1991··on HTTPS on Your Landing Page Is Important
I hear you.

I was pulling my hair out the other day trying to find my Microsoft credentials in LastPass. I was searching for "microsoft", "office", "outlook" etc. until I finally found them under "live.com".

chrisparton1991··on The best laptop ever made
That's a bummer. It makes me sad that we have to stop using hardware that's 90% fit for purpose because we can't upgrade the 10% we need to.
chrisparton1991··on The best laptop ever made
Reparability is the main downside to the retina MPBs for me. With my old MBP I could swap out the battery in 30 seconds, and I could upgrade the RAM. Neither of these are possible any more.

That said, I'm still using my 2012 retina MBP and it's going great. These things are built to last!

chrisparton1991··on Ask HN: What do you want to see most in the next iteration of the Macbook Pro?
The MBP still has a headphone jack, as far as I'm aware.
chrisparton1991··on Fresh IDE
That was my experience too. I hear "she'll be right" fairly often, but I hadn't heard "she'll be apples" before. I couldn't imagine any country but Australia coming up with a phrase like that though.
chrisparton1991··on Fresh IDE
I'm an Aussie too :) I didn't expect to see slang popping up in Chrome DevTools though haha.
chrisparton1991··on Fresh IDE
The HTTP response code for fresh.flatassembler.net assets is "200 She'll be apples", I didn't know 200s could be customised like that :)
chrisparton1991··on How to confirm a Google user’s specific email address
This is neat, worked for me (I'm signed in to two Google accounts, both were detected).

This is really neither here nor there, but your email input field isn't escaped, so JS can be injected into the email field e.g. <script>alert('Hi Tom!')</script>.

I enjoy the irony of a security-minded page having this issue, even though there's no good reason for you to bother escaping the field :)

chrisparton1991··on Canada's top court backs order for Google to remove firm's website from searches
I wonder if the website in question is listed on other search engines (I can't see why not).

Assuming this is the case, is it fair to force one company to expend the effort altering their search results when others don't have to? Did Google do anything wrong that Microsoft (Bing) or Yahoo didn't?

chrisparton1991··on FullStackBasic: Web Application Development Software
I want to make it clear that this isn't my software. This reminds me of TempleOS in terms of the amount of effort and skill involved to produce something so... interesting.
← PreviousPage 2 of 2