HNHacker News
TopNewBestAskShowJobs

bradleyland

7,786 karma · joined April 26, 2010

http://www.bradlanders.com
submissionscomments
bradleyland··on How Beats Tricks You into Thinking It Makes a Premium Product
Not to poo poo your choice of headphones (they look great), but replacement pads are $15 if you go OEM; less if buy knock-offs.
bradleyland··on Ask HN: Soliciting critique/feedback for your technical architecture?
> Are there any reliable ways to get answers to such questions from people who are experienced?

In my experience, the challenge with soliciting this kind of feedback is in filtering the responses. Opinions are formed for a variety of reasons. Some are well formed from experience, while others are simply dogma:

Authority Figure X says to use Solution Y.

or cargo cult:

Successful Company X uses Solution Y, so you should too.

It's worth considering why authority figures recommend specific solutions, but that informs you as to the reasons why you should use a particular solution, not that you should always use a particular solution.

Giving a good recommendation first requires that the offerer of the opinion have the qualifications necessary to be considered an authority on the problem domain; second, that they invest the requisite time in understanding your unique set of circumstances; and finally, that they are prepared to set aside any dogmatic beliefs they have developed along the way. You must be prepared to filter the opinions you receive in order to avoid incorporating advice affected by these shortcomings.

Rather that solicit advice on your entire infrastructure, you should do two things:

1) You should seek to understand the technologies you're implementing to a depth that allows you to identify potential pitfalls. In other words, understand what a particular solution is good and bad at.

2) Try to hire/work with people who specialize in specific problem domains. A jack-of-all-trades can only have so much depth.

bradleyland··on How Beats Tricks You into Thinking It Makes a Premium Product
I'd skip the audiophile magazines, unless you want to spend hundreds extra for marginal returns. A website called The Wirecutter has fantastic recommendations in all categories of headphones:

http://thewirecutter.com/leaderboard/headphones/

Also, it would be a crime against bargain hunters everywhere if I didn't mention that for around $99, a set of Sony MDR-7506 headphones will crush anything Beats sells.

http://thewirecutter.com/reviews/the-best-150-over-ear-headp...

bradleyland··on Is It Better to Rent or Buy?
That is exactly what I meant.
bradleyland··on Is It Better to Rent or Buy?
I suspect parent poster's point is that the HOA board are not who you are accountable to. You are accountable to the HOA rules. The board enforces them. Most HOAs I've encountered are structured in a way that prevents boards from making significant changes to the bylaws. A good set of HOA bylaws require a super-majority to make major changes to key points.

If you weren't allowed to rent, was that also the case when you bought the house, or did that change during your ownership? It's hard to blame the HOA for enforcing rules that were available for your review at the time of purchase.

bradleyland··on The Mighty J58 – The SR-71's Secret Powerhouse
This is one of the best, most comprehensive explanations of the various operating concepts going on inside the J58 I've seen.
bradleyland··on Python's Web Framework Benchmarks
A couple of suggestions for the author. These aren't meant to discourage; the opposite, actually.

1) Running benchmarks on a hosted VM introduces confounding [a] factors. Namely, contention. What happens if someone else is running benchmarks at the same time? Benchmarks are best run on isolated hardware, which is why it's so hard to find good benchmarks. Who has server-class hardware lying around to just run benchmarks on?

2) Expressing results in percentile format is great! Using line graphs to represent the data, not so much. Line graphs are used to "fill in the blanks" between points of data. When you draw a line between two points, you're saying, "for these x-axis values, the y-value is approximately this". This infers a progression, which isn't really relevant for percentile data. A clustered column or bar chart would be a better fit for this data, IMO.

3) A histogram of response time is often informative. Just be careful with your bin width. There are some good suggestions on Wikipedia [b].

a: https://en.wikipedia.org/wiki/Confounding

b: https://en.wikipedia.org/?title=Histogram#Number_of_bins_and...

bradleyland··on An update about the new Chrome bookmarks manager
They redesigned the bookmark manager with a very Android-ish looking interface, where bookmark folders were represented as "blocks", similar to the Windows 8 start screen. It suffered from a few problems:

* Massive decrease in information density compared to the tree & list widgets of the "old style" bookmark manager.

* Clunky interactions. I'm pretty damn good with a computer, and I regularly ended up with bookmarks in the wrong place.

* The new interface required more clicks to get where you were going, and more clicks to perform common tasks.

Visually, the new style was more aligned with Android interfaces, but it suffered from significant UX flaws.

bradleyland··on Is Node.js declining already?
Great comment, and worth noting that many technologies go through this cycle. Those old enough to remember might note that once upon a time, Java was going to "change the world". Anyone who got their start in technology after 2000 really cannot appreciate how head over heels the tech world was over Java. Fast forward to today and the concept seems inconceivable. Java, a game changer? Oh yeah, majorly.

If you stick around long enough, you see this play out over and over again. You learn not to get too worried over a lull in attention paid to your tools of choice.

bradleyland··on Hack4Detroit's indemnification clause
That was the first thing I thought. Turning over IP and offering indemnification... for what exactly?

That indemnification clause is utterly ridiculous in this context. Our company works with a lot of governments, and indemnification clauses of this type are extremely common any time there is software involved. What's crazy about this circumstance is that the participants aren't contractors writing code for the city... Or are they? Based on the indemnification requirement, it seems that's how the city views it.

It appears un-enforcable to me (IANAL, but I do deal with this shit a lot). However, just because a contract can't be enforced doesn't mean it won't cause you trouble. I'd walk before I signed a contract like this at a hackathon. No "chance" at a prize is worth this kind of exposure.

bradleyland··on Where in the world has the straightest roads?
It is not specifically a saying, but it could be a variation on the title of a popular computer game from the 80's: "Where in the World Is Carmen Sandiego?"

https://en.wikipedia.org/wiki/Where_in_the_World_Is_Carmen_S...

bradleyland··on Reassessing Airport Security
...and Portland, OR and Orlando, FL.

They're growing in popularity.

bradleyland··on Global airlines to reduce size of carry-on bags
Certainly a portion of carry-on travelers do so because of the reasons you listed, but the rise of checked baggage fees unquestionably made matters worse. I've been traveling for business since around 1999. Not a terribly long time, but long enough that I remember the days of simple metal detectors at security checkpoints and family greeting me at the gate when I landed. Overhead space was rarely a concern except for commuter-heavy routes. These days, I rarely get on a flight where some passengers have to gate check. The "overhead bin space is going to be tight" announcement has become a standard part of many flight attendant's duties.
bradleyland··on Atom now opens files larger than 2MB
Nitpick inbound.

You shouldn't open log files with an editor unless your intent is to edit the file. There are a whole host of tools (grep, less, awk, sed, etc) useful for parsing and exploring log files.

bradleyland··on Octopress 3.0 is coming – Octopress
This is from January. Octopress 3.0 is on the street:

https://github.com/octopress/octopress

Be sure to have a look at the issues page. Nothing major, but there is some good info in there for those migrating from 2.x.

bradleyland··on Why I Defaulted on My Student Loans
BAPCPA extended the student loan bankruptcy exclusion to private lenders. Federal student loans were not dischargeable in bankruptcy prior to 2005.
bradleyland··on Why I Defaulted on My Student Loans
There are very few circumstances wherein someone could be considered solely a victim, with no culpability for their circumstance at all. To categorize circumstances like student loan default in to these buckets -- sole victim vs sole culpability -- is to create a false dichotomy. Not saying you are, but arguments like these tend to polarize to these two endpoints quickly.

At one point in my career, I worked for a bankruptcy trustee. During that time, I learned some very valuable lessons about creditors and the importance of bankruptcy/default on lending practices. If a lender knows that a debt cannot be defaulted upon and absolved through bankruptcy, their risks are substantially mitigated. They're not eliminated, but again, this about understanding the scales of risk and fault as it relates to credit.

Outside of student loans, most credit is obtained through a process that involves the lending institution weighing the risk that the debtor will be unable to pay. The ultimate risk being that the debtor will file bankruptcy, and the creditor will take a serious haircut on their principal.

With student loans, our policy is guided by the principal that higher education is of monumental importance. Rather than simply make universities part of our public education system -- because government = bad, amirite? -- a set of policies and law making resulted in a system of federally sanctioned/backed lending institutions which were granted special status within the context of the creditor/debtor relationship. Over time, these special affordances have been extended to private lenders who adhere to regulations.

And here we are today. Capital has identified this loophole and is leveraging student debtors' future in ways that is clearly predatory. With no risk of bankruptcy, student loan creditors are empowered to garnish wages at rates up to 25%. What lender wouldn't take that deal? How much would you loan someone if you knew you could take a quarter of their paycheck every week for the rest of their life?

Clearly the debtor holds responsibility to use credit responsibly, but you can't create circumstances like the ones we have today and fall back to "Well, everyone really should just be more responsible." No, we all hold responsibility for the system that we've created, and until it changes, things will only get worse.

bradleyland··on Preferences for Trains vs. Buses
I'm curious why can't buss s run in tunnels? Is it simply a problem of air quality because of emissions? I wonder if this could be solved by using hybrid diesel electric buses that run off of overhead electrical wiring in tunnels, but an onboard diesel-electric prime mover above ground.
bradleyland··on World record set for farthest flight by hoverboard
Ok sure, and while we're at it, let's just start calling all birds ducks. Or all bipedal mammals humans.

The meaning of words is defined by consensus, which is not the same as unanimity. You can dig your heels in and call this a hoverboard, but the future won't remember it as one, because most people in the future will have the sense to see the differences between the hoverboard we were introduced to in Back to the Future and this multi-rotor-powered contraption.

bradleyland··on Computing at the speed of light
Absolutely. A 2.4 micron beam splitter is a hell of an achievement. I don't know what the next closest is in size, but the vast majority of beam splitters I'm familiar with are measured in millimeters. I'm sure there are others doing work on miniaturization, but 2.4 micron would seem like genuine landmark progress.

What we need next is a practical photonic transistor at these scales!

bradleyland··on Computing at the speed of light
It's worth clarifying that I do believe photonic computers are incredibly exciting. I was just a little annoyed at how the news report appeared to focus on the wrong attributes. I have little doubt that the researcher interviewed spoke at length about the subject, but there's an incredible challenge involved in boiling this kind of information down to a 60 second news spot.

I guess that's what it takes to keep people excited about science though. Not everyone is going to be interested in the nitty gritty.

bradleyland··on Computing at the speed of light
This is a good example of asking the wrong question.

How fast does an electron move? 2200 km/s.

How fast does an electrical signal propagate from one end of a circuit to the other? This is a much more relevant, but also more difficult, question. The unit used to measure this performance is called Velocity Factor [1]. Unfortunately, I don't know what the VF would be within a modern microprocessor, but in a wire, it varies from 50% to 99% of the speed of light in a vacuum.

As is typical for mass media news, this story has been summarized in a way that glosses over a lot of the detail.

Photonic computers have a very, very long way to go. Even this tiny beam beam splitter is thousands of times larger than current transistors. Intel uses a 14 nanometer process for Broadwell. The University of Utah beam splitter is 2400 nanometers square. Let's not ignore the fact that a beam splitter and a transistor aren't even close cousins. A beam splitter can't perform any logic.

All of this technology is still very much in the realm of basic science. A lot of the assumptions about the speed improvements are based on napkin math involving theoretical numbers. If anyone ought to know that the difference between theory and reality is often muddied by the trip through the physical world, it would be Photonics researchers. Fiber optic (probably the most widespread application of Photonics research) performance is significantly impacted by real-world factors. Far more so than electromagnetic mediums.

[1]: http://en.wikipedia.org/wiki/Velocity_factor#Typical_velocit...

bradleyland··on RegExr: A website for interactive regex prototyping with syntax highlighting
Rubular uses Ruby's regex engine (Oniguruma/Onigmo). Regexr uses your browser's RegEx engine.

That doesn't make it "better", but it does mean they have slightly different purposes. You can use Ruby specific regex features with Rubular, so it is "better" for Ruby regex development.

As a general principle, I like to test against the same regex engine that I'll use in production. If I'm writing Ruby, I'll use pry/irb or a tool like Rubular. If I'm writing Javascript, you'll find me in the closet with the barrel of a gun in my mouth... I mean, I'll test against my target browsers using their respective web inspector, or use a tool like RegExr.

An example of the differences in the engines, the Onigmo engine supports conditional sub-patterns:

Rubular: http://rubular.com/r/zUwSsIi117

Regexr: http://regexr.com/3b1vn

As far as browsers go, they're actually pretty close most of the time. ECMA specifies regex (I think), so if you stick to the ECMA standard, you should be fairly safe. As with anything in browser-land, you'll encounter edge-case inconsistencies that will bite you in the ass.

bradleyland··on Mountains Aren't the Shape You Think
I'm assuming you're referring to the map in column "a" of the graphic. They didn't mislabel them. The Cascades are nearer to the coast. Same with the Sierras. I think what's got you mixed up is the perspective of the map. It's slightly oblique, which shortens the apparent distance between the mountains and the coast. It's not a terribly good graphic. There are no state borders, yet the map is clipped in a way that gives very little context.
bradleyland··on Wanted: Highly skilled tech workers, $100,000-plus salary, no college required
As the old saying goes, there's nothing new under the sun. DevOps is very closely related to sysadmin work. I think it would be fair to say that DevOps is just a specialized form of sysadmin work. You could even say that it is just an approach to sysadmin work.

DevOps means using orchestration and automation tools to perform sysadmin tasks, rather than doing everything by hand. It's a layer atop the tools that sysadmins are used to using. The "dev" part of the term relates to the "infrastructure as code" concept. This concept dictates that your infrastructure should be defined as code that outputs your infrastructure.

Depending on how far along you are in your sysadmin career, and depending on the size of the organization you work in, this may be nothing new, but more recent DevOps efforts extend this to organizations of much smaller size. For example, it is not unusual for environments requiring only a handful of servers (or even one!) to use a fully automated provisioning and deployment toolchain.

Ultimately, you can make the argument that this is nothing new. You can do that with just about anything. "DevOps" is not a provable assertion; it is a refinement of the language used to describe the jobs we do.

bradleyland··on Minecraft videos – why are they so addictive?
> The game, said the researchers, becomes "less about open-ended play and more about working to complete the never-ending stacks of buildings."

Spoken like someone who hasn't spent much time with kids playing Minecraft. I've run a MC server for my niece since January of 2014. There are around 15 of her friends who play regularly on the server. "Never-ending stacks of buildings," would bore them to tears.

In addition to stacking blocks, Minecraft has:

Redstone: A set of blocks and items that can be used to create (electrical-like) circuits.

Server Commands: A complex set of commands that can be used to manipulate the environment, spawn creatures, and move the player around.

Command Blocks: Special blocks that can have commands stored in them, and are triggered by Redstone.

The Minecraft server I run also supports something called mods, which extend the standard functionality of the game, and in the case of my server, allow the kids to create multiple worlds within which they can transport themselves and create different types of play environments.

There are two world types that go far beyond stacks of blocks. The simpler of the two are arenas. They've built an arena with a community-established set of gameplay rules. You can compete alone or as a team. The arena master controls the spawning of enemies and the difficulty of the game. It is fascinating to watch a new arena master learn how to balance difficulty. Make the arena too hard and no one wants you to be arena master (a job that is appointed in impromptu elections). Make it too easy, and everyone gets bored and moves on to other areas of the game. There are complex social dynamics at play. As the sole adult on the server, I've spent plenty of time counseling 7 to 12 year olds on the subtleties of not abusing your friends when the opportunity presents itself. They learn quickly.

The most advanced world type, and the one that really blows my mind, are the "adventure" worlds. They combine structures they build with command blocks to create interactive adventures. You press a button and you're transported to the inside of a cottage. From there, a stream of messages orient you, and you're tasked with some objective: solve a puzzle to escape the house, locate an item hidden near by, find tools to fight off an incoming wave of zombies, survive long enough to reach a far away destination. The possibilities are endless, and the kids exhaust them all.

Minecraft is so open-ended that the types of play are no more bounded by the game than outdoors play is bounded by the laws of physics.

bradleyland··on Ask HN: Bad situation – how long of a notice should a consultant give a client?
1) Stop working right now. Fuck the business continuity documents. You're more than double over your budgeted hours.

2) Take 40 minutes of your invaluable time and listen to Mike Monterio's talk, "Fuck you, Pay Me". https://vimeo.com/22053820

How the client will take it is relative to how it impacts you. The worse it is for you, the less it matters how it impacts a client. Ultimately, you are responsible for the position you're in, but the client is complicit. There's a good chance that you won't be able to use this client as a reference, and do not kid yourself by believing that you can "explain the situation" to future clients. It's time to cut your losses and move on.

You are currently working for job rate of $17/hr ($6000/350). As a consultant, you are underwater. It will take time to find more work, which must be factored in to your hourly rate. I used to compute average hourly working rate on an quarterly basis: total billings for the quarter divided by gross hours worked. The gross hours worked number included admin time, which I billed to my own company. You're cruising toward McDonald's wage if you don't turn this around.

I'm going to assume that this was a fixed-price contract, and that you included a budgeted number of hours in your contract. You need to draft a communication explaining that you've more than doubled the number of budgeted hours for the project, and that you cannot continue working unless the customer is willing to enter in to a new contract with additional billing.

If your original contract did not include a budgeted number of hours, then you're really in a bad spot. The best you can hope for is that you can walk away and not have the customer come after you for failure to deliver, and demanding a refund.

The key to all of this is communicating early, and communicating often.

Do not worry that the customer will be annoyed.

Do not worry that they won't like you.

Do not worry that you're asking for too much.

Tell the client that you've worked over twice the number of budgeted hours, and that you're not willing to go any further.

Tell them what your time is worth, and that you'll be happy to provide them with an estimate to complete the project.

When you deliver that estimate, make sure your rate is solid, and that the estimate includes a budgeted number of hours. Deliver a weekly report of the hours consumed and the work completed. Book the time required to track this information to an "admin" task. Include that item on your billing, but bill it at a $0 rate. Explain to the customer that this line item is the time required to track the progress of the project, and that you're such a nice guy, you're not going to bill them for it.

I wish you the best of luck, but I've been in this situation before as well. I've been worse. I've had a developer flake out, and I had to write a check back to a customer. This is consulting. You win some; you lose some. That's why consulting rates are $250/hr when wages are $50/hr. There are costs external to the customer's job that must be priced in. The customer's alternative is to hire someone (muy expensive), or to find some other schmuck to do the job on the cheap. The trick is not to be the schmuck.

EDIT: After submitting this, I realized that I didn't address your $60/hr billing rate. That number is insanely low for a consultant. If you're a rock star and you've got work lined up for months you can optimistically expect to hit 80% billable time. That is 80% of your 40 hour work week will be billable. Do the math:

80% of 40 hours is 32 hours a week of actual billable time.

On an annual basis, how many weeks of work do you think you can line up? My experience was around 3 out of every 4 weeks. That's 39 billable weeks a year.

With those numbers, you're on track to make around $75k a year. That's if you have a mature business with a good client book and return work. It took me three years to get there.

The other problem with a $60/hr billing rate is that you'll attract $60/hr customers. Otherwise known as people who will run you double-over your budgeted hours and demand that you keep going. Fuck those people. Double your billing rate and start selling solutions, not technology.

See also: https://news.ycombinator.com/item?id=6717875

bradleyland··on Ask HN: Is it sane to ask for a non Apple PC when starting at startup?
Great advice as usual, but I'd point out that the last line is the most important one. No two workplaces are the same, and opinions rarely fit neatly in to bucketed categories like "can use Linux" and "can't use Linux". There's always some subtlety that blurs the lines.

The best thing to do is to talk to potential employers. Be sure to make an honest effort to understand why they have the policies that they do, and remember that you don't have an experience managing n employees, so you may not be familiar with the challenges inherent to an environment where managers are outnumbered by 10:1.

Every moment you spend understanding their viewpoint will allow you to better articulate how your desire to use Linux fits in to their model.

bradleyland··on Uber leaves Kansas after lawmakers demand background checks and more insurance
That wasn't clear from your original post. You're also being disingenuous in your argument. No, of course I do not support discrimination on the basis of race or economic class.

Race is not equivalent to "type of passenger or destination" though. The latter is a much more vague definition. Like it or not, things like distance, roadway accessibility, and desired route impact the cost of a fare, and regulating that away isn't something I openly accept as the best solution.

bradleyland··on Uber leaves Kansas after lawmakers demand background checks and more insurance
Or, you know, don't use Uber.

I get that you had a bad experience, but the response to every bad experience should not be regulation. "Surge pricing" is no more a scam than any other market-based pricing mechanism.

To be clear, I'm mixed on Uber overall, and I do think they need some regulation, but not with regard to pricing, coverage, or response time. Those are good fits for self-regulating markets. I'm more concerned with things like knowing that when I get in to an Uber, I'm covered by the proper insurance if I end up in an accident on the way to my destination.

← PreviousPage 3 of 34Next →