HNHacker News
TopNewBestAskShowJobs

timdev2

396 karma · joined January 22, 2012

submissionscomments
timdev2··on 50 SWAT officers bombard, destroy bystander’s house with bombs
I'm not sure why not. Seems like exactly the sort of unlikely event that I'd want my insurance to cover. Isn't the whole point of insurance that they make me whole, and use their ample legal department to pursue the responsible parties to recover those costs (if such parties exist, in this case the city)?
timdev2··on 50 SWAT officers bombard, destroy bystander’s house with bombs
I'm not entirely clear on why this isn't a story about an insurance company suing the city. The author mentions that the city offered $5k to cover Lech's deductible, which implies the property was insured. Do homeowner's policies typically not cover this kind of scenario?
timdev2··on Flexbox and Grids: your layout’s best friends
It works similarly to git. You define a project root, and then exclude subdirectory trees as needed. I believe there's a way to add additional directories outside the root if needed.
timdev2··on Ask HN: Who wants to be hired? (November 2017)
Full-Stack Developer with back-end focus

Location: Seattle, WA

Remote: Yes

Relocate: Willing to Discuss

Languages: PHP, Java, Kotlin, JS, most recently. Willing to pick up others.

Technologies: Linux/BSD servers, experience with AWS services, orchestration with Terraform and Ansible. SQL and NoSQL databases.

Availability: I'll have 20 hours/week of ongoing availability, starting in two weeks.

I've been working as a developer professionally since the late 1990s. I love supporting other developers by filling gaps in specialization, mentoring, or just picking up the slack. I'm also comfortable working solo on "special projects" so you can keep your full-time devs focused on product.

My CV embarrassingly out of date, but I'm happy to talk with anyone working on something interesting.

Email hn at timdev.com

timdev2··on U.S. launches cruise missile strike on Syria after chemical weapons attack
59 cruise missiles and nobody died?
timdev2··on Seattle Is Opening First in U.S. “Safe Injection Facility” for Heroin Addicts
I thought most overdoses are the result of variable potency which is the result of the prohibition. Are you saying that accidental overdose would be a significant danger for addicts if they had a reliable supply of predictable potency? If that is what you're saying, do you have any evidence to support that?

I do agree that easy access to powerful opiates is a recipe for disaster for people at risk for suicide. And I concede that the danger of a negative feedback loop is obvious.

timdev2··on I have no side code projects to show
Most employers who include such clauses and aren't open to negotiation are violating common decency. Any company so incredibly tone-deaf is likely an unpleasant employer that thinks nothing of treating their employees poorly. Such companies should not be serviced by professionals.
timdev2··on Project delays: why good software estimates are impossible (2015)
Software shouldn't be compared to building construction, more appropriately compared to building design. Building construction is analogous to software deployment: a largely solved problem that is predictable.
timdev2··on California bans ITT tech from accepting new students
> none of them knew what software version control was.

I was pretty intimately familiar with CVS by the time I graduated (very late in the 90s). But now that I think about it, it was probably introduced in an "Intro to C and Unix" which was a 1-credit class one of the faculty forced as a pre-req for certain higher-level courses like those on compilers. It was a crash-course on C (for students who had mainly used Pascal in their first year or two), Unix philosophy, and some associated tools (make, cvs, vi/emacs).

It only met the first third of the semester, so it could be taken concurrently with the class the required it. I wonder if other schools do something similar. It worked quite well, since by the the time you got up to speed, it was time to start building lexers in the compilers course.

timdev2··on Companies That Presented at Y Combinator Demo Day 1
That surprised me too. I've been using GitLab for what I think is a couple of years. Recently(ish) it's gotten a lot tighter: runs better, much better UI, incredibly easier to upgrade than it used to be.

So, surprised to see them in YC, but on second thought maybe I shouldn't be.

timdev2··on Stack Exchange Raises $40M Led by A16Z to Boost Its Programmer Forums
I'm not sure, as I didn't dig too deeply. I forget the details, but I knew the post had been reposted, since many of the (poor quality) candidates said things like "I'm inquiring about the position posted at [some-place-other-than-github]"
timdev2··on Stack Exchange Raises $40M Led by A16Z to Boost Its Programmer Forums
I posted a employer ad on SO Careers, and also GitHub Jobs. The SO post resulted in a satisfyingly large set of high-quality candidates. I was satisfied with the value.

In contrast, GitHub was surprisingly disappointing. Maybe one or two worthwhile candidates, and a ton of junk. It appears that GitHub's jobs get scraped and posted elsewhere, and the bulk of responses to my ad were low-quality (and that's being generous) candidates responding to those reposted versions.

timdev2··on Federal Court Throws Out Six Weeks of Warrantless Video Surveillance
> In any case, the Constitution is a limiting document. It restricts what the government is allowed to do.

Many people argue that you've got it backwards. I've been told that some of the founders opposed the Bill of Rights precisely because they feared it would be treated as an exclusive list of limitations.

The rest of The Constitution, in stark contrast to the BoR, grants specific powers to the federal government. Some people argue that it's that body of text which should be considered an exhaustive enumeration. That is to say, any claimed power that can't be explicitly justified under those articles is not granted to the federal government.

timdev2··on Tilde.Club: I had a couple drinks and woke up with 1,000 nerds
Also: "home page".
timdev2··on Stop and Seize
Don't you think it's a bit strange that the biggest risk to your wad of $100 bills, as you drive down the highway, is not criminal robbers, but the police?
timdev2··on The Silk Road statement: Where are the packetlogs?
> What is the rationale behind this?

The general idea is that the integrity of the criminal justice system is at least an order of magnitude more important than the outcome of any particular case.

> Isn't it the court's job to establish guilt?

No, that's the prosecutors' job.

The Court's job is ensure that the defendant receives due process.

It's arguably impossible to have a perfect justice system. So, you have to try to construct the best one you can.

While the exclusionary rule does allow guilty people to go free, that negative is arguably overwhelmingly outweighed by keeping innocent people out of prison, providing equal protection to all, and maintaining public faith in the criminal justice system.

One can argue that the system as implemented doesn't do such a good job of providing those three outcomes, but if we assume it does, wouldn't you agree maintaining such a system is more important than ensuring every last (actual) criminal who makes it to trial is convicted?

timdev2··on Ask HN: Who is hiring? (September 2014)
NYC - Full Stack Engineer w/ PHP Focus

===========

Quick Intro

===========

I've been consulting for a great organization for several years, and they're looking to bring someone on full-time. I'll continue to be involved to support, advise, and even do some work.

Personally, I think this is a great opportunity for someone in the NYC area who's burned out on freelancing and wants a few years of solid pay + benefits, while helping others.

If you're interested email tim at substr($myUserName, -1).com with an intro, resume, and the usual assortment of relevant links.

====================================

The Bullet-Point-Ridden Long Version

====================================

A well-funded, NYC non-profit is seeking a full-time junior-to-mid-level full-stack web applications developer to support several web applications.

The ideal candidate has a solid skills and experience (>= 3 years) developing database-driven web applications, and is also capable on the client-side. Linux and AWS experience is a plus, but not required.

This is an on-site position in a midtown office near Grand Central. You’ll be working directly with senior staff to maintain and extend several web-based apps (some public-facing, some internal).

You will be the sole technical staff member, though you’ll collaborate with, and receive guidance and support from long-time external consultants who have been supporting this organization for several years (one of whom is responsible for this job posting).

You’ll primarily iterating on existing platforms, but with the prospect of doing some greenfield development as well.

This is an excellent opportunity to grow your skills in a supportive environment.

We currently use:

  * Modern PHP  
  * MySQL
  * Redis
  * Memcached
  * AWS (EC2, RDS, ELB, R53, S3)
  * VPSes (debian)
  * Ruby/Rails (old: 2.3) for an internal-facing app.
  * Salt and Ansible (we'll be picking a winner soon)
Requirements:

  * 3+ years experience developing database-driven web applications.
  * Significant experience with modern PHP.
  * A strong understanding of SQL and relational databases.
  * Competency with front-end technologies (HTML5, Javascript & CSS).
  * Some experience managing linux-based servers from the command line (basic bash scripting, cron configuration, package management, etc).
  * Strong written and verbal communication skills.
  * Ability to collaborate with non-technical colleagues, in their language, manage their expectations, and provide working solutions.
Extra points for:

  * Experience with AWS services.
  * Experience with configuration management tools like Ansible, Salt, Chef or Puppet
  * Experience writing and consuming web services, RESTful and otherwise.
timdev2··on Choosing a Web Framework/Language Combo for the Next Decade
As far as those two frameworks, it's mostly about retaining brand recognition.

On the other hand, major version releases are when you make such dramatic departures from what's come before. At least in ZF, they got a lot a lot of things more-right.

I moved a (pretty complex, line-of-business transactional-type) project from ZF1 -> ZF2, and I'm happy I did. Some things changed a lot (dispatch, routing, forms), while other things were very easy to translate (caching, logging, etc).

In that case, most of the business logic was built around Doctrine2, encapsulated nicely into service classes, and therefore fairly framework-agnostic.

timdev2··on Linode down in Newark data center
Evidently DC issues are fixed, since some of my servers are up again. Others still down due to (related?) hardware issue. Linode support proactively opened tickets about those that are still down, and upon friendly questioning, expressed a high level of confidence that they'll be back up once drives are migrated to stand-by hardware.
timdev2··on Linode down in Newark data center
Some of mine back up, others not. Not how I wanted to end my Saturday night.
timdev2··on Object-Relational Mapping is the Vietnam of Computer Science (2006)
I gave up on ORMs after a year or so (back around 2006) of ActiveRecord doing the "makes the easy even easier, makes the hard impossible" syndrome someone else mentioned.

Then a couple of years ago, I started playing with a DataMapper/Unit-of-Work ORM (Doctrine2, in PHP-land). My experience, writing a moderately sized warehouse-management application, has been very good.

In Doctrine, you don't write your schema/DDL. Doctrine does, based on your Entity and Association mapping. You write plain-old-PHP-objects, and then map their relations (in XML, annotations, or YAML). Doctrine reads and validates your data model, and generates DDL statements to create the schema. Big surprise: it creates pretty much exactly the same schema you'd expect. (And it will generate and manage migrations, too)

Unit of Work is a powerful pattern, too, especially for web apps. You just worry about updating entities in memory. The ORM then flushes them to the datastore in a single transaction at the end of the request (so, by default, you have a one-to-one mapping between http requests and transactions in the RDBMS).

Datamapper/UoW is probably overkill for CRUD stuff; that's where ActiveRecord shines. But it pays dividends when you're dealing with more complicated state-transitions on your underlying entities, and there are lots of cross-cutting concerns.

timdev2··on Google Acquires Boston Dynamics
> Words are tricky.

Words are relatively easy. Ethics are not reducible to lexicography.

timdev2··on Google Acquires Boston Dynamics
One can only hope.

That was my fantasy upon reading the headline: "Google acquires and renders harmless army of kill-bots"

Sadly, I'm afraid it was a dream.

timdev2··on Real Men Go to Sleep
The hell we are. :-/
timdev2··on Nginx Is Taking Over the Internet
There are now three major MPMs:

Prefork - if you want to use mod_php, you're stuck with this. I think this is what you're referring to as "the process model"

Worker - Uses threads to handle connections. A big step up from prefork, but not as awesomesauce as nginx.

Evented - The new MPM which use epoll

It's been possible to run PHP(-fpm) under "worker" (via FastCGI) for years, and it performs adequately. I never benchmarked, but I was using this setup back when nginx was still too bleeding-edge for my tastes, and it certainly beat the pants of prefork/mod_php

timdev2··on Nginx Is Taking Over the Internet
> without PHP, you don't have to use the old fashioned process model.

Immediately followed by:

> Apache can work with PHP-FPM just like Nginx using the new evented worker mpm

seems contradictory. Can you clarify this bit?

timdev2··on Uber drivers file class-action suit over tips
You'll be paying those personnel costs either way. In a tipless society, your entree would just cost more, and the server would get their hourly regardless.

People like servers and drivers have an opportunity to provide extra value beyond their purely mechanical function. A culture of tipping allows the consumer to reward that extra effort, at their option.

That said, I do agree that 15-20% as a tip for 'standard' service is just silly. If I owned a restaurant, I'd want to hear about it if a customer was unhappy. When the customer can just stiff the server on their tip and leave, it gets harder to identify which workers need retraining/replacement.

timdev2··on Stack
Fuck that.

I don't really print much, but when I do, it's amazing that I can take something digital and put it on a piece of paper.

The reason that's awesome is that I can then hang it on my fridge. Or take it with me in my pocket, without having to worry about electricity. Or, you know, one of the other thousand use cases where a printed page is more usable, reliable, or feasible than something turing-equivalent.

timdev2··on Did Goldman Overstep in Criminally Charging Its Ex-Programmer?
Perhaps you're conflating the banks' security with that of their customers.
timdev2··on Richard Stallman Inducted Into the 2013 Internet Hall of Fame
Both "GNU" and "/" are hard to pronounce.
← PreviousPage 4 of 5Next →