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 11y ago · link · parent

Private schools that entirely lack unions (or protected tenure) actually have significantly lower teacher salaries than public schools, so your theory is incorrect. Add to that the fact that public schools in most states are terribly underfunded, and teacher salaries are pathetic across the board.

Administrator salaries, on the other hand, are often way too high. A law (covering government-run public schools) that limited administrator salaries to 120% of the median teacher salary at that school would likely to more to raise teacher salaries than a union could, I think.

comment 11y ago · link · parent

Unions aren't perfect, granted. But even now they serve a purpose.

comment 11y ago · link · parent

Unions didn't "leave out" anyone. Doctors have a professional association, which as you point out isn't quite sane in what it allows in terms of overtime. But as a result becoming a doctor is a far more exclusive endeavor.

Doctors are also paid quite well, in large part because of that exclusivity.

Not trying to defend the worst of current union behavior, but even now unions are useful; thinking particularly about teachers' unions, which fight to get teachers decent pay. It doesn't work, unfortunately -- teachers are paid less than babysitters -- but they'd be paid even less without unions.

That said, teacher tenure is too well protected by unions; a teacher who is no longer trying should be able to be fired.

Not sure what a better alternative to union organization is. Probably workers earning equity in companies they join, as much as possible. And I'm not talking communism; there are companies today that practice this. But it could be that unions are like democracy: A terrible way to run things, but all the other options are worse.

comment 11y ago · link · parent

Unions are why we have the forty hour/five day work week.

Guaranteed income is probably the only sane way to move forward. Your description of "mentality of nations" make very little sense, and doesn't actually mesh with the many studies on what happens when you invest in people.

comment 11y ago · link · parent

>It sounds like you're saying "I can optimize my algorithms better than any machine could, so why would I learn how to write code that a machine could reason about more effectively?"

Actually, that's not at all what I'm saying.

I'm using tools that are known to create code that's faster than the equivalent Haskell.

>Or more accurately, "I don't write code that needs what Haskell offers, so I'm not going to learn it." Which is fine, so long as you keep writing the same kind of code.

I use languages that offer a lot of the tools that Haskell offers, but without as many restrictions. If the restrictions bought me speed (which I thought they did, previously), then they would be valuable.

>But really, nobody is selling you functional programming because it'll make your code faster. They are selling it to you because it inspires them.

I get that. I can see it in the converts who try to evangelize me. But I think that it's like the people who drank the OOP Koolaid: Yes, there are useful things to learn in other paradigms, but going extreme in any paradigm isn't the best way to code.

> It may not be a race horse, but if you ported those improvements into something like C, you'll have a high-performance rocket. Code that could possibly automatically refactor itself into more efficient, more general components.

From what I can tell, this is actually not the case. Unless what you're talking about is Go. In which case, carry on. ;)

comment 11y ago · link · parent

OK, that's funny. I don't know Chad, but I did some work for IMVU a couple years ago, and yes, their backend services spit out a LOT of JSON.

Some of the other things I do have in other languages: JavaScript, Go, and Lua give me first class functions, including the ability to curry.

Sum types looks nice, but also looks functionally equivalent to enum type in C++; pattern matching is a nice feature if you ever need it, but in the kinds of programs I usually write, I don't.

The value of type classes is less clear to me. Duck typing gets you a lot of reuse leverage without the mental masturbation of the quick reference I found online to the concept.

Monomorphization is a generics implementation detail. Yes. What of it? If you're in C++ and using templates, then they're useful. I'm guessing its use in Haskell is related to the Haskell pattern matching feature, which again I don't end up needing very often (I'm not saying it wouldn't be convenient, just that it doesn't make a compelling argument to change languages)?

Terse and actually dynamic code is pretty awesome as well. Right now I'm restricted to code that can run in the browser, so I'm stuck with JavaScript for the most part, but when I get to use Lua and Go, I get a lot of the power (the parts relevant to my typical code) along with a lot of speed.

comment 11y ago · link · parent

I have a friend who unfortunately has the same name as a movie star. She sent in her ID and they still wouldn't let her have her own name.

To this day she has an account with her name misspelled.

comment 11y ago · link · parent

For a long time now I've been looking at Haskell from the outside, and wondering whether I should take the dive and learn the language. I usually write apps and games, though, and my gut has always told me that there's very little advantage to writing code that's primarily declarative, imperative, or reactive in a pure-functional manner. Sure, I use some functional principles to minimize code complexity, but I haven't made the commitment to learning a new language to experience the purity.

Still, reading blog after blog telling me how awesome functional programming is, and meeting people in person who swear by it, and who try to sway me to the religion, made me desire to learn FP, just in case they were all right. I try to improve myself when I can, and ignoring other developers' advice isn't a good way to improve yourself.

But after reading this well-written article, I am at peace with my long-standing de facto decision not to burn time learning Haskell. I'll continue to use functional code organization when appropriate, and I'll probably keep reading the articles from time to time, but to me deterministic speed of execution is far more important than "code purity." I'm a good developer precisely because I'm good at understanding how code effects propagate, I'm good at designing code to be clean and fast, and I know when to allow side-effects and when to forbid them. I don't feel the need of a crutch to make my code "more correct," and I already have access to several options to help me make my code more concise. I wish I'd seen this (2009?) article sooner.

So no Haskell for me. Long live Python/Lua/JavaScript/C++/Go/and who knows what's next. [1]

[1] Those are the languages I currently use the most. I make no claim that they are better or worse in some abstract way than Haskell. In concrete ways, however... ;)

comment 11y ago · link · parent

That's true for services like https://www.upwork.com, too, though. Upwork offers to match people with specific skills to people who need to hire them. Upwork helps track the work being done, and collects the clients' payments, passing them along to the workers minus a percentage.

I think providing a service to connect buyers and sellers should be able to be distinct from having employees.

comment 11y ago · link · parent

I'll have a new Mac box soon. I'll try it. Last time I checked there was no keyboard menu navigation, and you're the first person to tell me that there is, so it must not be widely known.

And Ctrl-F2 isn't exactly as discoverable as "hit Alt," so I'm not surprised.

comment 11y ago · link · parent

>Experienced developers already have their workflows all set up and don't try new tools as often.

Speak for yourself. I'm always trying new tools as they come available, and was thinking that GitUp would be a fun one to add to my toolset. And then I saw "Mac Only" and groaned. I don't own a Mac, and though I will likely buy one soon (for iOS dev reasons), it will always remain my ugly-stepchild dev box, that I own only to do Xcode builds, not any serious development work.

comment 11y ago · link · parent

You're not the only oddball. Some of us work on Windows software and NEED the Windows box -- I also use too many Windows-only tools to make the jump to Mac.

And what they do with Cmd-vs-Alt drives my fingers crazy, so I can't configure a Mac to be sane no matter what I try. And I use keyboard navigation to peruse menus, which OS X still hasn't implemented...the list goes on, and I stick with Windows.

comment 11y ago · link · parent

I agree that LOC isn't an ideal metric. But there isn't really an ideal simplistic metric.

Out of curiosity, I thought I'd look at a recent productive day. In actual numbers, my 42 check-ins totaled 409 new lines of code compared with 213 lines deleted, so close to 50% (not counting check-ins with simple line changes).

At the end I had several new features implemented and a lot of code refactored to be cleaner.

comment 11y ago · link · parent

Yeah, but MMM also mentioned a 10x productivity range between average and exceptional programmers. 100 lines per day isn't too shabby.

I just try to work with exceptional programmers. :)

comment 11y ago · link · parent

It's worth noting that WebRTC still requires a server of SOME sort -- typically you want a "signaling" server, and you need at least a STUN server to pierce firewalls, though the latter can be found for free.

And some corporate networks are too restrictive to be pierced by STUN, which means you need a TURN server, which is a relay server.

But yes, 98% of the time, WebRTC can go directly browser to browser. As long as neither browser is Internet Explorer. Sigh.

comment 11y ago · link · parent

Nice example, but...I work with graphics code a lot (I'm a game developer), as well as in tons of other domains. That operation wouldn't be worth the mental storage (and certainly not a key!) to memorize. I can't think of the last time I would have needed it. Maybe when getting a pair of function parameters in the wrong order?

The example you gave wouldn't ever be a program I'd write. Magic numbers? Hard-coded rendering? Rendering something that can't be edited by an artist? All bad. I understand that it's just an example, but can you come up with one that would be valid in production code?

I know you were looking for a simple example, but in addition to the comments others have made about syntax not being a big deal for an experienced developer, this looks like a helper operation for developers who are doing it wrong to begin with.

Aside from that, years of user-experience research shows that modal editors are worse than the alternative (if you can hit one key, that means you can't type text in that mode; sorry vim-lovers, but it's true).

Yes I tried your experiment, and I could get it down to 7 keystrokes in my editor. I type quickly, so that's a couple of seconds at most; less than a second if I'm in the zone. With how rarely I do that operation, I'd not bother trying to optimize it more (another comment mentioned premature optimization).

But if I did need to do it a lot, creating a new macro that did the right thing wouldn't be hard; in a couple minutes I could bind a simple version of the command to a key permanently. Also, if I were modifying many similar lines to change them, I have options: Refactoring tools (if we're talking a function signature change), simple keyboard macros, or smart multi-file search-and-replace regular expression conversions.

And all of this in a "text" editor with a low barrier to entry (unlike vim OR emacs) -- though one that understands some structure at least.

comment 11y ago · link · parent

>This seems like a form of elitism very specific to programming.

In my experience it's not at all specific to programming. Other domains have their "rock-star" experts: The brain surgeons, the rocket scientists, the literal rock stars (or at least the true masters of one or more instruments, amazing songwriters, gifted vocalists), the Olympic athletes...the masters of their skill who are so good at what they do that they make it look easy. They've put in the metaphorical 10,000 hours of practice and self-improvement. They are awesome, and the rest of us mere mortals by comparison.

Programming is different from many disciplines, though:

* In programming, everyone from the student who is copy-and-pasting JavaScript into an HTML document to the amazing expert is a "programmer." There's no term for the ones at the top of the scale, no "Olympics" label, no "brain surgeon" specialty that distinguishes the top from the rest.

* World-class skill in one domain or language translates to a very short learning curve in just about any other domain. I've hopped between native apps, games, high performance servers, networking, security, drivers, web apps, embedded, IoT and machine learning, for example, and have used just about every mainstream language (and some trendy ones).

* Programming as a discipline has a 10x-20x measured productivity between practitioners with similar experience -- and the real difference can be infinite (there are tasks that I have accomplished that I know would never have been completed by some people I've worked with in the past). Though some will claim it's unique in that respect, it's not: It shares that trait with (for example) the creation of art and music. I can spend 10 hours working on something artistic, and I know artists who can produce a better result in 30-60 minutes.

* Programming can be learned with a computer and 100% free tools. You can start when you're 12 and have access to a computer, and you are limited only by your skill and imagination in what you can create. So those who have an aptitude can spend thousands of hours in practice for only the cost of electricity (after they have a computer).

It may be that Electrical Engineering doesn't have the 10x-20x relative skill effect, or maybe it does. I don't feel qualified to argue one way or another. It does seem like practitioners will specialize in a particular area, though, and tend to stick with it; correct me if I'm wrong?

Also, it's rare for someone at 12 to feel the need to compute Ohm's Law (well, I used Ohm's Law as a 14-year-old, but I'm odd that way), much less the impulse response of a filter, so for most you're learning those equations at the same time, and the difference between the best and worst students isn't measured in thousands of hours of previous experience.

>"you haven't been computing the impulse response of a filter for 4 hours a day since you were 12? There's a massive difference between engineers who have done that and those that haven't."

For the record, if you're one of those people who did start coding at 12 or earlier, it's not hard to spot another "native programmer", any more than, as a native speaker of a language, it's easy to hear when someone has learned a language as an adult. Sometimes late-learners with particular aptitude for languages can speak without an accent, but most of the time it's easy to tell. There are documented brain organization differences (fMRI) between people who learn a language before they're 12 vs after they're 14, and I suspect the same may be (statistically!) true for people who learn programming early vs. late.

I'm teaching my 10-year-old now, just in case. ;)

comment 11y ago · link · parent

The existence of poor designers isn't a good reason to never design.

In fact, the more design you do, and the more you're exposed to, the better you can get at design. And the better the design, the easier it is to understand.

An "ugly generalized abstraction" is pretty much by definition not a good abstraction. Moreover, a good abstraction is simple. It's easy to understand and it's easy to manipulate. [1]

But you need to practice to get better, so it may take a few ugly monstrosities before you can start creating masterpieces.

[1] Granted 99% of the code I've encountered in Java qualifies as ugly abstractions; Java's nature seems to encourage poor abstractions. Or attract poor developers. Or both. But even in Java it's possible to create beautiful and easy to understand abstractions.

comment 11y ago · link · parent

Cynicism? I react with annoyance to people who think that:

* Auto-updates to software with a high need for security patches are not important enough to ping a server, which (of course!) exposes your IP.

* Businesses aren't interested in collecting usage metrics for their software for non-nefarious reasons. Collection of metrics is one of the most amazing advances in software design in the last 20 years, after all.

* Businesses shouldn't have a profit motive: Ghostery found a way to both provide a service and make money off of the people who track others. Seems reasonable to me.

Cynicism is misplaced, here. Annoyance at blowing up a non-issue to the front page of HN is appropriate, though.

comment 11y ago · link · parent

Hmm. I don't know what's different, but I KNOW Steam games work on AppStream. I remember playing Arkham Asylum from my own Steam account.

As a developer I have tended to prefer the "standalone instance" route, and I almost certainly installed Steam that way: Follow the standalone instance instructions [1] and then log in to it as a remote desktop, installing whatever you need.

If the Steam install process needs GPU acceleration, then you'll also need to set up a VNC server on the instance and connect that way. Windows' "Remote Desktop Connection" can't use the GPU, where a VNC connection can.

BUT beware: Make sure your VNC password is as strong as possible; maybe even turn off VNC when you're not actively using it.

Good luck!

[1] http://docs.aws.amazon.com/appstream/latest/developerguide/a...

comment 11y ago · link · parent

That would help a lot, then. But the Steam in-house streaming feature may not have the same latency compensation features that we've built into AppStream.

I mean, why would it? You're not likely to have a high ping time inside your LAN.

comment 11y ago · link · parent

Sorry, but I'd get fired if I started leaking any information about future plans. If I even knew. Which I can't say if I do. ;)

comment 11y ago · link · parent

The app is NOT required to be AppStream-aware, no. (Not since we created "Zero Touch" mode, anyway!)

We periodically install random Windows apps (including games) to test the stack. Games work well. Too well, you might say. ;)

comment 11y ago · link · parent

Also: Look at Amazon's AppStream. It sets you up with Windows app streaming automatically.

(Disclosure: I work on AppStream at AWS.)

comment 11y ago · link · parent

Like, umm, Amazon's AppStream? [1] There's a process that involves, approximately, running an installer on a virtual Windows desktop, after which you can stream an app to a Windows or Mac desktop or laptop. Or to a Chromebook (!!). You can even stream to an Android or iOS device, but without a physical keyboard or mouse you can't DO much with apps. [2]

And considering how much work we've done to cut down on latency, I wouldn't expect the Steam streaming app running over a generic VPN connection to even come close in performance -- the VPN is almost certainly going to run over TCP, while AppStream will run over UDP, meaning in any but the best network environments AppStream will clobber a VPN connection for latency.

[1] https://aws.amazon.com/appstream/

[2] Disclaimer: I work on AppStream for Amazon, but my opinions are my own and don't represent Amazon. I'm just commenting as someone who has a lot of experience playing with the product.

comment 11y ago · link · parent

Actually, that's believed to be the case [1], which is why I said what I did.

[1] http://medicalxpress.com/news/2014-11-bacteria-gut-affect-cr...

comment 11y ago · link · parent

But if you continue to eat low-carb, you don't end up with blood sugar spikes.

I know I'm much better off on a low-carb diet than I ever have been, and my blood glucose level is much more stable. My brain works better, and I've lost a lot of weight. But I can't pig out on sweets or I get a hangover. It's a tradeoff.

On the plus side, the sugar-loving bacteria in my gut have probably mostly died off, since I no longer get sugar cravings like I used to. So I don't feel like pigging out on sugar. Works for me.

comment 11y ago · link · parent

I'm reading between the lines here, but I think the ESA's motivation is roughly (if privately):

"If people can play hundreds of old games for free, it will be harder to force them to pay for newer games! They'll get used to 'free' as a price point, and they'll have lots of free games to keep them amused!"

No, I didn't read the 30 page document the ESA wrote. I just know how people in power think: They want to keep as much control as possible, to buttress their position, even to the point of doing seemingly insane and harmful things that might, conceivably harm their position.

The hacker argument is particularly pathetic, but you're right: The 30+ pages wasn't motivated by that tiny excerpt. The 30+ pages was motivated out of desperation, since they're looking at declining sales numbers in the traditional gaming space. [1]

[1] http://gamerant.com/npd-gaming-decline/ http://www.npr.org/blogs/alltechconsidered/2013/03/22/174940...

comment 11y ago · link · parent

I looked at git-fat as an option for me, but what killed it was rsync as the only backend; I really wanted to send files to S3.

I also looked at git-annex, and I could see using it if it were just me on the project (or as a way of keeping fewer files on my laptop drive), but I was reluctant to add any more complexity to the source control process, since explaining how to use git-annex to the entire team was too big of a barrier.

comment 11y ago · link · parent

Looks like you and GitHub are also both duplicating the git-media extension [1].

I haven't settled on one for my own use, but I'll compare features of bigstore and git-media before I do. Thanks for making your project available!

[1] https://github.com/alebedev/git-media

1
242526
50