1,191 karma · joined Oct 14, 2012 (14y ago) · 425 submissions
comment 13y ago · link · parent
Operating systems I use: Mac OS X, Linux (desktop and server)
Mobile Platforms I use: iPhone and Android
Operating systems I don't use: Windows 8
Mobile Platforms I don't use: WinMo8
I'm not buying a machine for Windows 8, a windows mobile phone, and a copy of Visual Studio 2012 ($2-3k++ outlay) for a chance at selling a $2 game to an unvalidated marketplace.
I'd have to sell 1,000 copies just to break-even on the hardware, let alone my time.
I'd be more interested if Microsoft had some sort of incentive program that included the dev machine, compiler, and mobile phone for testing. If they do, please link it.
comment 13y ago · link · parent
C/Golang/Lua/Vala/SBCL/Ada/Pascal and an embedded datastore like bdb!
Why in my day we used to write little apps with C and bdb that used less than 5mb of memory! (Sqlite didn't exist yo.)
Heck these days you get (ENTERPRISE) choices like LevelDB and BangDB.
Edit: Who wants to have a datastore-backed c10k contest on prgmr machines? :D
comment 13y ago · link · parent
Things like caching, extensive testing and benchmarking in a production environment, and differentiating dev vs. production behaviors are the most apparent right now. There could be others, I haven't spoken with Steve in IRC about it.
comment 13y ago · link · parent
That's all I have to say about Clojure web dev for now. It's good to know that people are shifting to a more modular approach now.
comment 13y ago · link · parent
Spoke mostly about entrepreneurship, .NET, and Python. Nice guy.
I'm mostly tinkering with Clojure these days, but the day job so to speak is Python. No more .NET anymore :)
I moved to the bay area too!
About the post:
You mentioned that you were disappointed in the security of their straightforward HTTP/REST implementation, what do you think would've been more secure?
comment 13y ago · link · parent
I usually use Fabric, SaltStack, or https://github.com/kennethreitz/envoy
comment 13y ago · link · parent
He mentions that core.match is better at efficiently compiling complicated patterns, but little else is said as to exactly why strucjure was made rather than just using core.match.
comment 13y ago · link · parent
I will say that it's a pretty strong turn-off when somebody appears to be religiously aligned in their technical outlook. I'd rather talk to somebody who appreciates the pros and cons of static vs. dynamic typing and what the actual implications are.
I don't want to talk to somebody who appears to only understand dynamic typing as a strawman and for whom higher-kinded/dependent static type systems are a crusade. I don't trust crusaders to make sound engineering recommendations, I want to talk to people who have a sober, well-reasoned, and experienced outlook on a subject.
I like static type systems, I like compile-time type checking. That's not going to stop me using a dynamically typed language where it's appropriate.
I'm going to loosely reiterate what Hickey has said on the matter: It's often the conceptual aspects of a problem that are difficult. The more quickly you can hammer out what exactly it is you need to do, the better off you are.
Static type systems, as they currently exist in Haskell, Scala, OCaml, Agda, Epigram, Java, C#, C++, et al don't do a lot to help here. I'd rather chuck some Python/Clojure around until I know what it is exactly that I want, then start writing more rigid code.
Part of why I like Clojure so much is that when an API or the "shape" of my problem becomes more clear after the REPL/experimentation stage, I can begin defining things in terms of protocols or interfaces.
What's most interesting to me about this is that the protocols are largely typeclasses which Go's interfaces resemble. You get the same basic expressive power but there are better affordances for the conceptual stage and a greater breadth of how firm/rigid your code is.
Part of my problem with static type systems is that they are often an all-or-nothing proposition (disabled type-checking/type holes/undefined not-withstanding, to avert the inevitable cascade of GHC-extension-(ab)using Haskell users).
To summarize:
It's a progression where your code becomes more concrete and final over time as you better understand the problem. Dynamic type systems that are well-designed suit this model very well. Static type systems are better for performance and for situations where the problem is well-defined and you're mostly satisfying an engineering problem rather than exploring a conceptual one that's subject to change.
Side note/anecdote: We use Python prolifically at my day job, what few type errors that occur are usually related to None and not the general type errors that static-type-users tend to suppose happens on a regular basis. Amusingly, C++, Java, and C# are all subject to this same issue.
We've been cleaning it up over time by using imitations of monads/monoids.
comment 13y ago · link · parent
You basically have to proxy everything through a proxy that can be given a command or otherwise instructed to capture the top 3 or 4 streams from the website. From there you can either dumbly accept the largest one or start checking byte headers.