21,281 karma · joined Nov 23, 2012 (14y ago) · 6,748 submissions
blog: https://rtpg.co
email: raphael at above domain
comment 11y ago · link · parent
I know ls returns a list of files, so I should be able to use that. I don't know foo, so it's basically string -> string or whatever, but if an entrepreneuring spirit does know about foo, he could write an abstraction layer for it.
The trick is making a simple interface for that
comment 11y ago · link · parent
But you could deal with this bug in various different ways. For example, here you could be implementing erlang queues so that the length is stored, instead of checking the length. You could implement hibernation differently. You could implement popping differently. There are probably ideas from people who know more than nothing about erlang.
Anyways, I don't think this particular issue was really an issue with the concept of a GC'd language, more of a specific bug issue.
comment 11y ago · link · parent
I know a lot exist, but it feels like if a game has some "story-ness" to it (so not a God game, but something with a narrative), and it has more than a minimum of mechanics (unlike puzzle/adventure games) , the mechanics end up having to be about violence. Maybe I'm wanting to come to this conclusion
comment 11y ago · link · parent
That said, it's an interesting breakdown of the bug, though I wonder how they arrived to it (Wouldn't have minded more steps in the discovery phase)
comment 11y ago · link · parent
I think you would also have a difficult time convincing a judge you were not talking about the NFL championship. Application of the law is rarely a "check the dictionary, guys, he's technically correct" thing. Especially when it comes to things like trademark violations (where it's about confusion to the general public)
5477.
IRS 20-factor Test [pdf](angelo.edu ↗)
2 points · by rtpg · 11y ago · discuss
comment 11y ago · link · parent
On the opposite end, there is so much boilerplate optimisation out there to get around the strictness of other programming languages that would be solved with a non-strict mode
comment 11y ago · link · parent
Is this true in the strictest sense? I mean I've seen a lot of non-profits make more money than they spend, but they're somewhat obligated to reinvest the money next year.
My impression was that non-profit was sort of a "pinky promise" about how you'll use your profits (with the IRS flying in if this is not the case)
comment 11y ago · link · parent
The $160 billion is in easily liquidated assets (which is basically the same as cash for companies of this size), it's still being more or less useless economically.
This might come off as being a bit "waaah companies aren't allowed to be successful", but on a social responsibility level I don't get how you justify holding on to over $80 billion.
Obviously the US tax system also has things about it that contribute to this state of affairs. But even if the money could be brought back into the US tax-free , do you think Apple would be spending it? I don't know. Again, waaah Apple isn't allowed to be successful.
comment 11y ago · link · parent
If that's not an example of the absolute failure of trickle-down economics, I don't know what is.
comment 11y ago · link · parent
I would argue that the lisps are not very functional languages (both in the importance of effects and the style of code I've seen written in lisps), but Scala provides for a lot of FP assurances (val over var, good FP-y libs), and people in the community value effectlessness. So I'm comfortable calling Scala a FP language.
comment 11y ago · link · parent
At least the starbucks around my area don't have that many plugs either.
Another advantage of having such a long battery life is that I basically can go anywhere after work (where I do have a charger) and not worry about plugging it in at all until the next day. Also, not having to carry around my charger makes carrying around my laptop great.
It's definitely a priority thing, and also dependent on lifestyle. In college there were power outlets basically everywhere so I didn't have the issue, but ever since I've started working in various spots not having to look for the power outlet has been a net benefit.
comment 11y ago · link · parent
Having issues with a sound card gives me flashback to windows 95.