HNHacker News
TopNewBestAskShowJobs

alfredxing

1,018 karma · joined May 12, 2013

https://x7f.ca
submissionscomments
alfredxing··on What Makes a Senior Software Developer?
Similar discussion from a couple of months ago: https://news.ycombinator.com/item?id=12603303
alfredxing··on AWS announces new region in Canada
Ontario/Quebec are definitely commonly called "East" out here in Vancouver. The Maritimes are, well, the Maritimes. Central usually means the prairies.
alfredxing··on My Mechanical Keyboard
Yup, I've tried most of the common switches, but ended up getting blues. Obviously it depends on personal preference, but I'm just saying that if you want a tactile, clicky keyboard, reds are usually not your first pick.
alfredxing··on My Mechanical Keyboard
I find it a bit ironic that after complaining that Apple keyboards have lost all of their "sound" and "force", he goes out and buys a keyboard with Cherry MX Red switches, which have no tactility, no feedback, and very low actuation force.
alfredxing··on Apple's new MacBook Pro might ditch regular USB ports
I can't imagine how one can code productively on an iPad - the environment and ecosystem just isn't there. I'm sure it's just as good, or better, at things like multimedia consumption and entertainment, but a lot of things still require the use of a 'desktop' environment.
alfredxing··on Misfortune
Previous discussion here: https://news.ycombinator.com/item?id=12046444
alfredxing··on Hablog – High-availability, distributed, lightweight, static site with comments
The HA part looks pretty cool!

I'm not a big fan of the design though. I find the visual hierarchy of the layout a bit confusing:

- There isn't enough whitespace around the content, making it feel cramped

- Scrolling isn't a bad thing. I usually find a top-down flow (from title to content) easier to navigate than reading down from the title to the byline and date, then back up for the content

- Comments and comment form below the content makes sense since people usually like to read and post comments after they've read the blog post. Having them at the top forces users to scroll up again.

alfredxing··on Show HN: Wrighte - Write freely
axg and I collaborated on this project for a hackathon. It's written in Go and HTML/CSS/JS; the source is on GitHub: https://github.com/wrighte
alfredxing··on Please petition GitHub to support HTTPS on GitHub pages
I'd love to see SSL support on custom domains as well, but I know there are a couple of reasons why it hasn't happened already:

1. GitHub Pages likely isn't a core focus for GitHub, however useful it may be

2. GitHub Pages is currently completely interface-less, relying only on an automated build system running each site through Jekyll and deploying it. In order to support custom certificates, they would need to build an interface for certificate uploading/maintenance (and of course putting the certs & keys into the repo, like the current CNAME system, won't work).

alfredxing··on Let's Encrypt is Trusted
Let's Encrypt does validate that you own the domain, using certain "challenges" involving the web server, etc.

Their technical overview explains how it works: https://letsencrypt.org/howitworks/technology/

alfredxing··on Let's Encrypt is Trusted
Let's Encrypt is also limited in that it issues Domain Validated certificates only. They aren't planning on issuing EV certificates (the "green address bar").
alfredxing··on Show HN: mq, sub-200 byte DOM manipulation
Yep, it's just shorthand. It's something I've been using in some projects recently as an alternative to something like jQuery, so I thought it would be useful in some sense to share it!

I guess this is just stemming from my view that a huge library like jQuery isn't necessarily needed anymore, now that most browsers support things like a good native API for DOM manipulation and traversal.

alfredxing··on The Fastest Blog in the World
1. Thumbs up for making loading times a priority!

2. Using Hugo instead of Octopress won't make your site any faster to users ¯\_(ツ)_/¯

3. You're almost completely forgetting about server-side performance. I'd recommend looking into GitHub Pages for a free and fast (CDN-backed) way to host a static site.

---

Unrelated, but:

4. I'm not a fan at all of the self-upvoting link at the bottom of your post. Not cool.

alfredxing··on Bill C-51 passes in House of Commons
This (quite recent) HN post: https://news.ycombinator.com/item?id=9416549 and the top comment on it explain C-51 quite well.

Current Canadian politics summary: Stephen Harper.

alfredxing··on Bill C-51 passes in House of Commons
I'm actually wondering why the politicians voted for the bill today. Federal elections are only a few months away, and surely with such a large show of backlash from the public and the media, they would be more mindful of the effect of this on their chances of getting re-elected? What's the use in passing a bill if it means you potentially won't get to take advantage and/or abuse it for more than a couple of months?
alfredxing··on Bill C-51 passes in House of Commons
It's really quite rare that the Senate will reject a bill that has passed in the House, seeing as members of the Senate are appointed by the elected parties.
alfredxing··on Microsoft Launches Visual Studio Code, a Free Cross-Platform Code Editor
Downloaded & running on OS X.

Super impressed with its performance: it opens up & scrolls smoothly through a ~40M text file just fine. Memory usage is quite high though, but that's expected with an Electron-based app.

alfredxing··on Microsoft Launches Visual Studio Code, a Free Cross-Platform Code Editor
It'll be interesting to see what the performance is like, since this has been a recurring problem with web-tech based applications (especially editors like Atom and Brackets).
alfredxing··on Microsoft Launches Visual Studio Code, a Free Cross-Platform Code Editor
Seems like it has lots of potential.

The product/download site should be at http://code.visualstudio.com when it goes live later today (it's currently showing a login page).

alfredxing··on Ask HN: Being harassed by Odesk client, What should I do?
But first you have to pay for our control panel!
alfredxing··on Ask HN: Being harassed by Odesk client, What should I do?
If you write a blog post about the supposed "back doors on emails and messagnger", you might actually get upvotes as opposed to downvotes.
alfredxing··on Ask HN: Being harassed by Odesk client, What should I do?
> In addition to ensuring both parties are in agreement on the terms of an offer, the second element that ensures a contract is legally valid is that both parties exchange something of value.

I highly doubt the scammer even understands his own contract. (This section of the contract was copy-and-pasted from an SBA blog post)

---

I'm wondering, though: what are the OP's options if he does reside in India?

alfredxing··on Slack was hacked
Slack is growing their security team, if you want to help them improve the security of the product: https://slack.com/jobs/dfd75111/security-engineer
alfredxing··on The new MacBook
http://www.apple.com/macbook/specs/
alfredxing··on Show HN: Calc – A fast and intuitive command-line calculator written in Go
As I mentioned below, I chose "calc.go", but that didn't work well with the `go get` command, so I had to get rid of the ".go"
alfredxing··on Show HN: Calc – A fast and intuitive command-line calculator written in Go
Thanks, and great suggestion! Would you mind opening an issue on GitHub for it? I'll probably get around to implementing it soon.
alfredxing··on Show HN: Calc – A fast and intuitive command-line calculator written in Go
Obligatory XKCD: http://xkcd.com/645/
alfredxing··on Show HN: Calc – A fast and intuitive command-line calculator written in Go
The algorithm I use combines shunting-yard and postfix (RPN) evaluation, but I guess it wouldn't be too hard to modify the source to just do the RPN part.

If you want to try that, the relevant code is the Evaluate function in `compute/compute.go`.

A Google search for "command line calculator" doesn't turn up much, so I honestly didn't think there were many decent ones out there (aside from dc/bc). Are there any you have in mind?

alfredxing··on Show HN: Calc – A fast and intuitive command-line calculator written in Go
Did not know about this. It looks great, I'll definitely be trying it out!

The project name was originally calc.go, but as you can imagine that didn't work out too well with `go get`.

alfredxing··on Am I Being Tracked
Surprisingly that domain name is still available :O
← PreviousPage 2 of 3Next →