Live data from Hacker News

An opensource alternative for the TSA’s $300k line assistant

tsa.arik.io

21–30 of 99 posts

Re: An opensource alternative for the TSA’s $300k line assistant

#21
post #7

Earlier quoted context omitted.

Exactly! My first attempt was just 10 lines of HTML code, but it was a real pain to do the vertical centering on iOS. So I tried a Bootstrap template, saw that even they didn't do the centering on iOS, but was too lazy to change it back.

Modern iOS should support flexbox, which should get you what you want with a few lines of CSS. http://caniuse.com/#feat=flexbox

IE8 support brotha

Re: An opensource alternative for the TSA’s $300k line assistant

#22

http://arstechnica.com/tech-policy/2016/04/tsa-spent-47000-o... "According to Mashable, the Transportation Security Administration apparently spent $47,000 on an app that is essentially a random number generator—it was briefly used to assign travelers to left or right lanes at airports. As the website reported: “The app was used by TSA agents to randomly assign passengers to different pre-check lines as part of a now…

Such an app is widely viewed to be an extremely simple program to write. Writing the app, as anyone who has done any consulting work would know, is often the easiest, least time-intensive part of a project. Anyone saying to themselves, "$47K? I could do it in ten lines of code!" should stick to coding and let the contract procurement folks do their job. (I'm merely the messenger; hate-game disclaimers apply.)

Nail, meet head.

That said, 47k still seems crazy high. I've never done Gov't consulting though. One hopes hardware was included in the contract?

Re: An opensource alternative for the TSA’s $300k line assistant

#23

I actually have a solution that costs exactly $0.01, per employee. It also works on any platform.

If you're alluding to a penny, I think you'll find that they cost more that $0.01. Probably a far better example wasteful government procurement than this app.

Right, considering that pennies actually take about $0.02 to make.

Very big change in cost, considering the actual price of the TSA app.

Re: An opensource alternative for the TSA’s $300k line assistant

#24
post #7

Earlier quoted context omitted.

Exactly! My first attempt was just 10 lines of HTML code, but it was a real pain to do the vertical centering on iOS. So I tried a Bootstrap template, saw that even they didn't do the centering on iOS, but was too lazy to change it back.

Modern iOS should support flexbox, which should get you what you want with a few lines of CSS. http://caniuse.com/#feat=flexbox

Or you can throw this in a table and be done with it.

Re: An opensource alternative for the TSA’s $300k line assistant

#25
post #17

I have a cheaper alternative. Get rid of TSA altogether. Travelling was a whole heck of a lot more fun in 1975. Since then it's been overreaction upon overreaction. Nobody is going to hijack a plane in this day and age because of the simple fact that the passengers will immediately revolt.

It's been all of one week since a plane was hijacked.

http://www.cnn.com/2016/03/29/europe/hijacked-egypt-air-jet/

Re: An opensource alternative for the TSA’s $300k line assistant

#27
post #2

I get that it's trying to be funny, but is it really no longer possible to create a website with a single arrow that doesn't have to pull down all this cruft ? window.jQuery || document.write(' ')

13. Rule of Economy: Programming time is expensive; conserve it in preference to machine time. 15. Rule of Optimization: Prototype before polishing. Get it working before you optimize it.[1] [1] https://www.slingcode.com/ref/ProgrammingPhilosophies.pdf

Is programming time expensive?

Let's say you have a mobile app used by 1 billion people every day. It sounds crazy, but I bet a fair number of people in this forum contribute to such an application.

Imagine you want to make an optimization that increases battery life by 1%. Assume a 30Wh battery and that it's charged once per day. Over the two year lifetime of the phone, at $0.10 per KWh, that change would save your users 21.9 million dollars in aggregate. Even with a team of 40 people making $500,000 per year working for a year, you still increase the efficiency of society with that change!

(I know, this ignores the opportunity cost of adding a new feature before your competitor, or focusing on something that will bring more user happiness, or the externality that users don't notice the $0.00003 they're paying to supply your app with electricity. But the point is, we have a lot of power, and our time is much cheaper when multiplied proportionally to that impact.)

Re: An opensource alternative for the TSA’s $300k line assistant

#28

Earlier quoted context omitted.

" Probably a far better example wasteful government procurement than this app." Not really. If you were flipping the penny to get heads or tails and lost it, you could easily replace that penny with a coin, a washer, a stick from outside, a book...hundreds of things already around your home or office, many with no use or value. You can't look around you and find a replacement for the penny as a currency.

I just took a look around myself. I found a credit card.

That's not a replacement everyone can find.

Re: An opensource alternative for the TSA’s $300k line assistant

#29
post #2

I get that it's trying to be funny, but is it really no longer possible to create a website with a single arrow that doesn't have to pull down all this cruft ? window.jQuery || document.write(' ')

Make a thing responsive, people bitch about how many plugins you're using.

Make a thing vanilla, people bitch about how it doesn't work on their phone.

Re: An opensource alternative for the TSA’s $300k line assistant

#30
post #2

I get that it's trying to be funny, but is it really no longer possible to create a website with a single arrow that doesn't have to pull down all this cruft ? window.jQuery || document.write(' ')

I'd love to see a ridiculously over-engineered version. Something like a website running in a browser in Windows 95 running in a javascript DOSBOX emulator.
Post reply on HN