HNHacker News
TopNewBestAskShowJobs

Albright

459 karma · joined June 2, 2015

Dad, primarily. Full-stack web developer and consultant in between. I mostly work with the Drupal CMS/framework.

I also tinker with Swift.

https://albright.pro/

submissionscomments
Albright··on The Space Doctor’s Big Idea
Thank you, Mr Munroe, but I still can't wrap my feeble mind around it. It's still just too weird.
Albright··on Infamous Software Bugs
"They" didn't destroy it; it was destroyed by the Martian atmosphere.

…At least, that's the official story. I recall there being a lot of conspiracy theory-like buzz at the time from people who also couldn't believe NASA could make such a stupid error like that. It does make you wonder.

Albright··on DreamHost is removing sudo access from existing VPS instances on Nov 30th
I presume this also breaks `su root`?
Albright··on Ask HN: Are you or your company starting new iOS projects in Obj-C or Swift?
Swift. The language is just much more pleasant to play with.
Albright··on Ask HN: Are unicode symbols allowed in domain names?
http://[poop emoji].la (HN seems to filter it out)
Albright··on [dead]
[citation needed]
Albright··on North Korea runs short of ingredients for winter kimchi supplies
But don't worry about the Kim family - they won't lose a kilo.

Kim Jong-un is probably the only person in his nation who is seriously at risk of type 2 diabetes.

Albright··on Waterfox – A fast browser
> Biggest weak point is the lack of non-Windows build

Indeed. I'm a Mac user, so that makes it a non-starter. =/

Albright··on Don't copy paste from a website to a terminal
That was the blog I was looking for. Thanks.
Albright··on Don't copy paste from a website to a terminal
The problem is that there's a lot of software out there that expects you to install it this way - particularly by piping into sh or bash or the like. See also http://www.seancassidy.me/dont-pipe-to-your-shell.html and http://output.chrissnell.com/post/69023793377/stop-piping-cu... and https://www.chef.io/blog/2015/07/16/5-ways-to-deal-with-the-... . There was also a blog out there collecting instances of this, but I couldn't find it again after a couple searches.

I had to hold my nose and paste some commands like this in order to reinstall Composer [1] and Drupal Console [2] earlier this week. Ugh, it feels so dirty, but it's often the first and/or the easiest, if not the only, way that software like this documents how it's to be installed.

1. https://getcomposer.org/doc/00-intro.md#globally

2. http://drupalconsole.com

Albright··on Waterfox – A fast browser
I saw the screenshot and was hoping for crapware-free Firefox, but upon downloading it, the damned Hello icon was there in the toolbar. Presumably later versions will add Pocket too, once they start working off a later upstream Firefox version.

Meh.

Albright··on The Platinum Searcher
> It searches UTF-8, EUC-JP and Shift_JIS files.

I guess that's the main difference between it and ag…?

Albright··on Ask HN: Best place for programmers to blog about code?
If you're going to use Jekyll or some other self-hosted-ish service (as opposed to Medium or Tumblr or so on), why not just deploy to your own webspace rather than GitHub Pages?
Albright··on Sift: Grep on steroids
The "Conditions" as described on the "Samples" looks promising - looks like you can search for a pattern which is within X lines of another pattern. That's useful for finding lines used only in certain contexts. AFAIK, there's no way to do that with ag.

https://sift-tool.org/samples

Albright··on Google engineer writing Amazon reviews on USB-C cables that don't work
…And on ones that do. Looks very useful for weeding out actual quality from the muddle. Would love to see someone doing this kind of work with other types of cables, too.
Albright··on Michael D. Hammond, Co-Founder of Gateway, Is Dead at 53
He will be buried in a cowprint-patterend coffin.

…sorry.

Albright··on Don’t bother with Swift for iOS development
Judging by the title, I figured we were in for a screed by an Obj-C holdout, but JavaScript? You want us to use JavaScript for iOS development?

Did you forget the period in time where Steve Jobs was making that argument and even he got BTFO?

Albright··on Static Website Generators Are the Next Big Thing
Progressive enhancement truly is dead. :(
Albright··on Five Open-Source Slack Alternatives
How odd that you used three applications with widely despised UIs as your examples.
Albright··on Five Open-Source Slack Alternatives
Again, you can use HipChat and get something closer to the best of both worlds; drag-and-drop file sharing with a standard (well… more standard-ish) OS X interface. It's great for you that look-and-feel isn't so important to you, but it is to a lot of people, and that includes myself.

At any rate, on Slack, I once drag-and-dropped a text file with the output of a shell script that a colleague wanted to see. He started telling me how it was strange that the output seemed to cut off right in the middle of a line. lol, just kidding, Slack was just cutting it off like that, since Slack apparently can't show more than the first few K of a text file for some reason SO WHY IS IT SHOWING IT AT ALL ARGH

Albright··on Why Static Website Generators Are the Next Big Thing
Try resubmitting this with the direct url: http://www.smashingmagazine.com/2015/11/modern-static-websit...

This current submission just links to Smashing's front page.

Albright··on Five Open-Source Slack Alternatives
Fair enough. How's this: If the UI of a desktop application does not match the standard appearance and interface of the rest of the operating system, a bad UX is almost a certainty, in my experience.
Albright··on Five Open-Source Slack Alternatives
Which is kind of a frustrating answer, because Slack's UX sucks. Its desktop app is just a wrapped web page; the fonts and colors match nobody's operating system; the fffffffffffffffffriendly scroll bar; all the cutesy messages and iconography; "Reconnecting…"; etc, etc.

Yes, I understand that it's still friendlier to use than IRC, but there's a middle ground between "easy to use" and "still looks and works like a proper, professional desktop application." In fact, HipChat is pretty close, even though it's just a wrapped web page too.

It's kind of frustrating to see that all of these Slack alternatives are pretty much taking the same crappy UI cues from Slack. It's kind of like how, until the last few years or so, many common Unix/Linux desktops looked like Win95 rip-offs… You don't need to strive for familiarity if what people are familiar with sucks.

Albright··on Ask HN: Why actual rockstar programmers do not say anything?
I will not call you an ahole because you're at least conceding that you may be wrong about web development not being "meaty." Let's see if I can argue that there is indeed meat in web development.

Let's look at your "tired problems." "Interface with a database." Yep. Hey, which database? Do you use the tired and true MySQL? Do you trade up to Postgres's improved features in exchange for possibly reduced compatibility? Do you do NoSQL like all the cool kids? Great, now which NoSQL database? Will your app really benefit from it? Okay, you picked a database; do you write SQL directly, or use a pre-built database layer/ORM of some sort? If the former, do you know how to escape your arguments and make sure you're not inviting injection exploits? Do you know how to write efficient queries that will touch as few database rows as possible? If the latter, will it hide needed capability from you or behave much slower than using straight SQL? What are the trade-offs? Do you perhaps use specialty databases like Solr for search or Redis for key-value storage in addition to your main one? Is the increased complexity worth the potential speed or flexibility increases? Can you make sure queries to those databases are secure too?

Or "handling user accounts." Oh my God, okay. Do you let people sign up with usernames? Just email addresses? Do you allow multiple accounts with the same email address? If someone has signed up with the username "Helen" (with an ell), do you let someone else sign up as "He1en" (with a one) or "He|en" (with a pipe) and possibly impersonate them? How do you store the password? No, that's wrong. No, that's also wrong. How do you let people reset their password if they forget it? Oh, wow, that's very wrong! Are you storing credit card numbers or addresses or other personal information? How do you do user permissions, so some user accounts have administration permissions that others don't? How do you avoid XSS exploits that might allow an unprivileged user from taking over an administrator account? What if you want someone who's between a normal user and an administrator who has some edit privileges but can't take down the whole site?

Okay, got all that worked out? Okay, now make it respond in 200ms or less from all points in the world. And compliant with these government regulations the client is just now telling you about two weeks before the scheduled launch. And also look and work the same in Spanish, Traditional Chinese, Simplified Chinese, five different strains of Arabic, and, most cruelly, German, whose long words bring many unprepared web designers to tears. And on mobile.

Granted, many devs will work with a framework or CMS that helps solve some of these issues for us, but even then we need to understand the inner workings of that system and what the trade-offs are in order to truly exploit it.

Albright··on Ask HN: Why actual rockstar programmers do not say anything?
That's an interesting argument, but in the field of web development, "full stack" has a particular meaning, so you're kind of arguing that a widely-used and -understood term in this field should have a different definition than what's currently agreed upon, and, well, I don't think many people are going to be too receptive to that.
Albright··on Save OS X
Ah, I was unaware - I'm still a MacPorts hold-out myself. (It ain't broke, so I haven't fixed it.) Thanks for the correction.
Albright··on The Nightmare of Replacing a Battery on a Mac Laptop
Welcome to the fold - though I don't particularly like that you explicitly and repeatedly cite social pressure as a factor of your switch. Teasing someone about their platform of choice strikes me as immature and ultimately irrelevant.

Having spent so much time on the Windows side of things, is there some aspect of that ecosystem that you find yourself missing even after the year or so you've been on a Mac?

Albright··on Ask HN: Why actual rockstar programmers do not say anything?
As a full-stack-but-primarily-back-end web developer, I somewhat resent the OP's implication that web developers are lesser than other developers. Why are we distinct from "algorithm developers" and "application/db developers" when what we develop are applications that interact with databases and often require fairly sophisticated algorithms? Can't we just agree that different types of developers work with different technologies and skillsets and one isn't inherently better or worse than another based solely on which technologies they work with?

All that aside… the "rockstar" attitude rankles, though really, it's something you'll mostly see in job listings and such than from web developers themselves. I can't recall meeting any developers in this industry who would refer to themselves as a rockstar with a straight face, but I've met a couple bosses who said things like "we only hire rockstars" and such. So to the extent that a skilled web developer seriously says they're a rockstar, they probably only do so to angle for a job, I'd imagine.

Albright··on Save OS X
tl;dr: It installs pre-built binary packages instead of building from source as Homebrew and MacPorts does. There are a few other differences, but that's the biggest one.
Albright··on Show HN: PhoneNumberKit – a Swift take on libphonenumber
Hey, good work! I've never had to work with phone numbers in a mobile app, but I have with web development, and so many people do it just so, so wrong. I like what I'm seeing here, and will definitely keep it in mind should I ever have need of something like this.
← PreviousPage 3 of 5Next →