Better HN
topnewbestaskshowjobs
Log inSign up

SomeCallMeTim

4,107 karma · joined Feb 17, 2010 (16y ago) · 1,490 submissions

I'm a consulting software architect and freelance CTO. I come in and rescue small businesses from code disasters, and occasionally am given the chance to prevent the disasters to begin with. I also used to develop video games, and have pivoted that skill to gamification consulting.

https://coderescue.com

Submissions

comment 12y ago · link · parent

Everything? Hardly. Certainly everything important lives in the password vault.

But playing games? Why do I care if Facebook or Google knows I play a particular game? On Android Google is going to know what games I have anyway.

"MAYBE" it's easier? On a PHONE?! Let's see, I can click "Google" to log in, and I'm done, or I can...open my key vault, enter my 16-character-random-password into my key manager using a touch keyboard, and then do the copy/paste of the user name and the password.

What? I don't have a password for this site yet? Then I have to get my computer and generate the password there, because I don't trust "the cloud" with my critical password vault, encrypted or not.

It's so much easier to use OAUTH it's not even a close comparison.

comment 12y ago · link · parent

I already mentioned that I use a password manager. The problem comes if I have to create a password on my phone, where I have a read-only copy of the password vault.

OAUTH is a far better solution in general. If there were a standard privacy-respecting third-party to replace the Google and Facebook options, I'd be all over it. But I'll happily let Google know that I'm playing a game in exchange for not having to manage yet-another-password.

comment 12y ago · link · parent

I do use Keepass, but I don't want to need to trust Dropbox etc.

I know the Keepass file is nominally password protected, but once I upload a Keepass file with all my important passwords to a site like Dropbox, there's no way to ever recall it reliably.

So if there's a Dropbox security hole, someone can potentially grab a copy. And then if there's a Keepass security hole (or if they otherwise acquire my password), then all my important passwords are compromised.

To me it's a form of "two factor" authentication for my passwords: One factor is the passphrase, the other is the physical file itself. And one of those is defeated if I upload the file to some cloud service.

comment 12y ago · link · parent

As someone who plays online games, I get really, really annoyed when I'm forced to create a password to log in.

ALL non-secure online sites that need to identify users should allow for Google or Facebook authentication, or I will never try to access the game from my phone or tablet.

I refuse to use the same password everywhere, but that means I have a password vault on my computer. If I need to create a password and I'm on my phone, I simply click "close" (and uninstall if necessary). I sympathize with those "precompromised accounts," given that it's such a user interface failure (not to mention arrogant) to require a new password for every single little service/game/whatever.

OTOH, if I can "login with Google" and/or Facebook, both of those are already authenticated on my phone, and through the magic of OAUTH I can securely connect to your game without needing to generate a password. Certainly having the OPTION to create a password is fine; there will be people who hate Google/Facebook/whatever and who won't use them. But not having the option is an instant fail for me.

Not saying you're doing it wrong, since I don't know what game you're talking about, but I've certainly encountered many games that have no OAUTH options.

comment 12y ago · link · parent

What you're saying is factually incorrect.

A hacker group has accumulated thousands (millions?) of email+password pairs. Anyone who uses the same password on all sites could be compromised, even if their password is 16 characters and random (i.e., immune to dictionary attacks).

comment 12y ago · link · parent

Unity 3d. Haxe. [1] GWT. [2] There are tons of cross-platform toolkits that do this for games; having something that does it for SHELL SCRIPTING seems trivial by comparison.

Yes it does happen that some features get neglected, but we're talking shell scripting here. They could hit the 80% use case and it would be totally useful.

[1] http://haxe.org/

[2] http://www.gwtproject.org/overview.html

comment 12y ago · link · parent

But "immediate mode" means you need to write code to create controls. That is the wrong idea, period. You want to be able to create tools to edit dialogs -- and you DON'T want the controls to be based on pixel positions, pretty much ever.

It's not about whether you can do it. It's whether it's useful to do it that way. You've got a cool tech demo, but you're working on something that won't ultimately be useful. Sorry.

comment 12y ago · link · parent

Yes.

For a good GUI library, you ideally want the layout to be data driven. This means you can draw the entire tree without writing a line of code; this also implies "retained mode" (the opposite of immediate mode).

If it's not data driven, you can't write an editor for it -- or if you do, you end up with something that can write code but that has a hard time re-reading code that you've modified.

Ideally there's more inherited and inferred information, and less parameter noise. A crucial feature of any modern GUI library is the ability to auto-position all the elements, for instance: The placement by "pixel" location is an outdated practice in an age of multiple screen resolutions, aspect ratios, and densities. And getting the layout part right is much harder than getting a few widgets up.

Sorry, but as a GUI library this is not impressing me.

comment 12y ago · link · parent

>Game Maker and Unity are trying to make the full stack as easy and accessible as possible.

That's pretty much my point.

What people need is a full stack to solve their problem, but they need the stack to be able to be customized to their particular variant of the problem.

That full stack will have a lot of code that is beyond 95% of people's ability to create. But even though Unity uses C#, artists and designers I know who are absolutely not programmers (by their own insistence!) can and do successfully create games on top of Unity.

And that is the future of making programming more accessible. Not creating a better language, which is what the original manifesto was about.

comment 12y ago · link · parent

>There is definitely room for a simplified set of tools that lets end-users build simple applications with a pay-as-you-go approach to complexity and learning curve.

You want this to succeed, then pick a domain and solve that problem for people.

It's not the source control that is the primary problem. You can do Excel-like things on Google Drive, which has integrated revision control, shared editing, and a dozen other features to help the average user or team get things done.

No, the primary problem is that most people don't know what they want. They don't even know what's possible, much less how to accomplish it. Ask any consultant and they'll agree with me: The first thing you need to do is figure out what the users actually can use based on their needs.

It's like Henry Ford said: If you asked users what they wanted, they'd have told him they wanted a faster horse. [1]

The problems exist because they aren't easy to solve unless you have the expertise. I'm not poo-pooing Excel or any other domain-specific solution. If you can create a general solution to a problem (say, for example, WordPress), then users can plug together the pieces they need and create an app.

But there is no "language" that will solve the "average person can't program" problem in the general case any more than there's a paintbrush that will solve the "average person can't paint" problem.

[1] http://blog.cauvin.org/2010/07/henry-fords-faster-horse-quot...

comment 12y ago · link · parent

Excel==Domain-Specific.

I already said that Domain-Specific systems can be successful, and I have nothing against improving domain specific systems.

The original article implied that they were going to fix All The Programming. I'm saying it's been tried, and Every Single Time it fails utterly (or produces a domain specific solution).

comment 12y ago · link · parent

A Manifesto for Mediocrity.

Every few years someone comes up with the idea of making programming so simple that anyone can do it. This is not new; the concept has been around at least since the '60s. Look at some COBOL history:

"They agreed unanimously that more people should be able to program and that the new language should not be restricted by the limitations of contemporary technology. A majority agreed that the language should make maximum use of English, be capable of change, be machine-independent and be easy to use, even at the expense of power." [1]

Many attempts have been made to achieve this Silver Bullet. The examples that get closest are things like GameMaker:Studio [2] or Unity 3d [3], which are extremely domain-specific (for certain classes of 2d and 3d games, respectively).

So you CAN create a domain-specific language that anyone can use. But every attempt to create a completely general purpose language that anyone can use to do anything has failed -- or has ultimately (accidentally?) produced a domain-specific language that solves the specific problems that the authors are most familiar with.

[1] http://en.wikipedia.org/wiki/COBOL

[2] http://en.wikipedia.org/wiki/Game_Maker:_Studio

[3] http://en.wikipedia.org/wiki/Unity_%28game_engine%29

comment 12y ago · link · parent

The entire concept of Design Patterns stems from a (largely failed) attempt to create design patterns in architecture. [1]

So, yes.

[1] https://en.wikipedia.org/wiki/Pattern_%28architecture%29

comment 12y ago · link · parent

I guess. Though those Enterprise Java guys were using concepts developed in the '50s and '60s, well before Java existed. [1]

[1] https://en.wikipedia.org/wiki/Object-oriented_programming#Hi...

comment 12y ago · link · parent

When I was a "junior programmer" at 14 or so, I thought BASIC was too slow so I learned assembly language and wrote a game in it. And then several more, some professionally.

When I first encountered OOD, I lapped it up and became an acolyte. Then I discovered how OOD didn't actually solve ALL problems well. Now I consider myself post-OOD; I use the parts that are useful when they're useful, and otherwise I use other paradigms. I became a fan of and later gave up on Ruby as a language before Rails existed.

I don't think I've ever been the junior programmer you just described.

comment 12y ago · link · parent

Isn't this just Object Oriented API Design 101?

I kept reading, looking for the punch line, but as far as I can tell he's just describing really basic information hiding and interface design.

Maybe it's OOD For Server Programmers? There's nothing wrong with it, it's just surprising to me that it's news.

comment 12y ago · link · parent

They aren't a violation when you can ALWAYS "opt out" and get a pat down.

Whether a pat down is a rights violation is another question, but I think that mandatory searches for safety reasons have long passed Supreme Court tests.

comment 12y ago · link · parent

Umm...glass is a "solid object" the last time I checked. And no, it's electromagnetic radiation, period -- it's a different wavelength (just like blue is a different wavelength than red).

Look for the reply from the physicist for greater detail as to why you're completely confused, though. I opted out of the Backscatter X-Ray machines due to what seemed like poor science; the MM wave devices may violate privacy, but that's their worst offense.

comment 12y ago · link · parent

Backscatter x-ray technology was removed from airports. [1]

All airports now use millimeter wave technology. [2]

[1] https://en.wikipedia.org/wiki/Backscatter_X-ray

[2] https://en.wikipedia.org/wiki/Millimeter_wave_scanner

comment 12y ago · link · parent

Umm...competitors? [Citation Needed]

What I remember is that Amazon created the e-book space, for all intents and purposes.

And the reason they undercut the royalty price was to create that market. People didn't want to spend $20 or more to buy an electronic copy of a book they could buy for less in physical form. People aren't stupid: If they aren't getting a physical item they can then hand to their friends and/or sell, then what they're getting has less value.

Heck, I still get annoyed by crazy-high eBook prices. An eBook should absolutely ALWAYS cost less than the physical copy. If there are 500 copies available used for $0.01 on Amazon, then it shouldn't be more than about $5 (paying a bit for the convenience of having a digital copy -- those $0.01 copies typically add ~$4 in shipping costs), and yet you can find $8-10 price on a Kindle edition. [1]

Amazon has a very strong customer focus. [2] That results in lower prices. It also makes it harder for competition, yes, but that "customer obsession" has become core to the culture at Amazon.

[1] First one I found: http://www.amazon.com/Against-All-Enemies-Tom-Clancy-ebook/d... -- it turns out many of the $.01 books are only $6 on Kindle, which is better than I thought, but it wasn't hard to find one greater than $8.

[2] See the first "leadership principle" on this page: http://www.amazon.com/Values-Careers-Homepage/b?ie=UTF8&node...

comment 12y ago · link · parent

I actually thought it odd that they would cite iTunes as a feature that Android users would want.

iTunes on Windows is one of the worst pieces of software by a major company...ever. If I want to buy music or video I can do it through Amazon, and I have vastly more trust for Amazon's pricing structures. (Remember the anti-trust suit that Apple lost? The one that found them guilty of artificially keeping eBook prices high? And now we have Amazon fighting with another publisher to get them to agree to lower eBook prices...)

comment 12y ago · link · parent

My gut reaction is that I don't want to be creating a table of contents list of sections by hand.

I feel it's a design error to require the sections be listed at the top and named below. If I want to change a name below, then I have to remember to make the identical change above.

Unless there's something obvious I'm missing about how literate programming works, it seems like a "generate table of contents" macro would be vastly superior to having to maintain it by hand.

comment 12y ago · link · parent

> That has changed. In today's freelance system, they lost some efficiencies (movies cranked out quickly) but also gained some (hire desired actors directly without dealing with other studios that have them under contract to "borrow" them.)

OK, now I'm understanding you, I think.

You're saying that a hierarchy of freelancers would potentially be a market-driven system that could potentially compare favorably to a company with monopolistic control.

I can buy that. I tried to run my own company that way for a long time, though now I'm working for The Man.

>But that's describing almost every mature company in existence

I'm working for a very mature company (in the Fortune 100) that it doesn't describe (at least that can be said for most of the items in the list). It may describe most companies on the Fortune 500, but it doesn't describe all of them.

And that's my point. It can be better, even if human foibles tend to make it the way it is.

comment 12y ago · link · parent

> he has to instead consider inefficiency in relative terms

And I pointed out that, relatively speaking, the (big!) company I work for seems to have eliminated those inefficiencies, and that it does seem to perform better than companies that haven't.

From what I've heard, Microsoft is one that hasn't, for example. With up to 18 layers of management and mountains of deadwood middle management at this point, it seems the classic example. And Microsoft is thrashing at this point; I won't say death throes, because they have so much market power still, but it may be early indications of eventual failure.

No one (but you) is saying that a group of unmanaged freelancers (i.e., ANARCHY) should be compared to good management. All of the items in the list are things that can be changed in a traditional organization; they just often degrade to the state described in the list.

Seems like you're building up and tearing down a strawman. Sure the terrible state of companies like Microsoft is better than 40000 freelancers in a loose organization, but the state of Microsoft isn't as good as a company that size could be. And that's his point.

comment 12y ago · link · parent

I don't know. The list seems pretty compelling. Almost every one of those items seems like it has to hurt productivity (except for the first; being "more productive in a crisis" can simply indicate non-sustainable practices, and/or a higher tolerance for risk taking that may or may not be healthy long-term).

And at least where I'm working now, most (all?) of those inefficiencies are minimized, and the stock price (and revenue, for that matter) just keeps going up.

On the other hand, the comment in the article that implies government oversight might be a good idea is laughable. I'm not an anti-government libertarian, but I can't imagine any government doing a good job of micromanaging business decision. And that includes theoretically optimal governments.

comment 12y ago · link · parent

I've heard about it, and it does have an interesting feature set, but I've also heard negatives.

The comparison with git is very shallow, seemingly based on misunderstandings of how git works.

On branches they describe the Linus/Linux workflow, ignoring the fact that a more traditional workflow can also be supported by git. In fact "git flow" is a recommended workflow, and it's pretty much exactly what Fossil does (only with more flexible merging options).

Sharding vs. Replication turns out to be a matter of defaults; otherwise there's no material difference.

The web interface is cool, but I use GUI tools locally that are nicer and faster than any web interface could possibly be. Speaking of, there are a plethora of GUI tools available, free and for pay, for GIT.

Rebase is one of my favorite Git features; they claim it's a feature that it doesn't exist in Fossil.

Complexity is a good point, and git has famously bad command-line UI. I'm sure Fossil does a better job there; Mercurial and Bazaar certainly do. But git has the features I need, which isn't true of Mercurial or Bazaar, and git has a user base of a sufficient size (compared to Fossil) that I don't worry that I'll hit some corner case bug and lose data.

Zed Shaw used to be a major fan of Fossil, for instance, but then he lost a repo irretrievably and swore off using it. His old site with essays seems to be down, or I'd link his posting about it. Having everything in an SQLite database means that SQLite usually will be safe, but if something does go wrong, well, you're screwed.

comment 12y ago · link · parent

They aren't sending the PASSWORD in the clear, they're sending (effectively) a public key.

Bob sends public key to Alice. Alice uses public key to encrypt file and sends to Bob. ONLY Bob can decrypt the file (using his PRIVATE key).

If you sent a password, then anyone who intercepted it AND the encrypted archive would be able to decrypt it.

comment 12y ago · link · parent

>Why??

It hurts innovation. People that good will be locked (with golden handcuffs) into large companies that can afford them.

Start-ups rarely can offer large fractions of a million dollars a year in salaries. Maybe they need to bring the entire initial development team on board as co-founders; I don't know. But right now getting good people to work with you in a start-up is harder than it ever has been before.

comment 12y ago · link · parent

A quick Google finds $439k as the average salary for a neurosurgeon. That's more than I make, but I've heard of salaries at some companies (COUGHgoogleCOUGH) going higher than that.
1
282930
50