105 karma · joined Jun 4, 2011 (15y ago) · 24 submissions
comment 1y ago · link · parent
comment 2y ago · link · parent
As just one person who has written a great deal of functional code, it reads well to me. I think because I am used to reading it "inside out"? Reading lisp-likes is probably helpful.
Take 'color' for example. It opens with a 'cond', with three branches. First branch is if the idx-th position in word is the same as letter, return green. Second branch is if the word includes the latter at all, yellow. Otherwise we're grey.
That took me a few seconds to grok. Just one anecdote for you. Don't think you're broken but reading/writing this kind of code even a little bit will change the way you see code IMO.
comment 3y ago · link · parent
It's a different game with fewer players, in that you have the run of desirable zones like Demonforge or Bloodstone but the meta for running them has changed to account for smaller formations. Really fun!
comment 11y ago · link · parent
I've done your typical ANN 101 training in the past so have a good mental model for back-propagation. Modelling the actual nonlinear dynamics of "realistic" neural networks seems like an obvious path of research but I know how daunting it is. It seems like every tiny bit we can push forward our tools for understanding complex non-linear systems should pay large dividends across so many different computational fields (fluid dynamics, QFT, economics, ..., everything?)
I'll have to read Izhikevich's paper, seems like a unique line of research.
comment 11y ago · link · parent
Hawkins' seems to be inspired by the biology itself, working from the "common computational substrate" hypothesis up to the cortical units required.
They both seem to meet in the middle at the need to figure out invariant representations for the intermediate features presented to each level of the hierarchy.
I do wonder what an argument between those two would look like concerning the applicability of back-propagation, which I remember Hawkins' deriding as totally artificial compared to the feedback structure of the actual neocortex.
Anyone more up to date on the state of the argument regarding that?
comment 12y ago · link · parent
I wonder if there would be similar results if the experiments were performed with new motor skill acquisition. I know that in my own experience it seems that a combination of "mindful" practice (especially at the beginning of the learning process) with "drill" type practice seems to seal the deal most efficiently. Basically the "engram" theory.
comment 14y ago · link · parent
As with most security, our best hope lies in open implementations which can be audited for such problems, with consideration being drawn in during design and implementation stages from security experts. Hopefully some lessons were learned from the ActiveX desktop days!
9.
Build DSLs on top of the JVM easily(eclipse.org ↗)
2 points · by trentonstrong · 14y ago · discuss
comment 14y ago · link · parent
In the current environment (at least where I am) of well-funded startups with no shortage of benefits and work/life balance, a lot of people will think you're crazy for not taking advantage of it.
I personally like the closing sentence:
"Interesting indeed. And somehow, I have a feeling that it’s all going to work out in the end. For both of us."
While optimistic, it reminds me that try as we might to codify and generalize all the ways to be successful in business, your own personal heuristic approach is all that's going to matter in the end.
comment 14y ago · link · parent
Since modularity is one of the keypoints of how this editor/game engine work so well together, it's probably a good idea to have some idea of how to structure game components to lessen the 'ball of mud' feeling.
I've been pretty fascinated with data-oriented "entity/component" systems for a while, as opposed to heavily inheritance based models. There's a decent introduction here: http://cowboyprogramming.com/2007/01/05/evolve-your-heirachy...
It seems like a lot of modern game engines (one example would be Unity) utilize this approach to varying degree.
comment 14y ago · link · parent
There's also an interesting group of folks over in silverlake at the "silverlake headquarters (SLHQ)", which is also decidedly non west side. :)
comment 14y ago · link · parent
As a point of curiosity about best practices, how are you handling the meta information right now?
It feels like decorators provide the cleanest solution currently, but I've always wondered if there are alternatives.
15.
Using Redis SORT and GET to save on roundtrips(trentstrong.com ↗)
64 points · by trentonstrong · 14y ago · 8 comments
comment 15y ago · link · parent
Anyways, hopefully someone who knows more about what I'm trying to remember will see this.
comment 15y ago · link · parent
A person can do a lot of damage armed with a good grasp of linear algebra and fourier analysis.
comment 15y ago · link · parent
I think the key point here is that all the above mentioned implementations have significant adoption and are in a sense "battle-tested". For example, what if your background worker has failed and log events are piling up in the Redis list you are using as queue? Do you have monitors in place to detect that situation, and at what value do your alarms go off? Projects like this have a way of taking a lot more time than originally thought, often at the expense of your core development time. I personally don't like spending the time writing and maintaining code for a project that isn't aligned with the problem I'm trying to solve, so I avoid it whenever possible.
On the flip side, if you are setting out to build a really robust logging system on top of Redis, and that's something of value to your organization, then more power to you!
comment 15y ago · link · parent
It's hard to say what this says about developers as a whole, including the ones not on SO, which I assume is a large number.
An alternative hypothesis might be this: Good developers get better over time, whatever that means.
I would suspect that people who form bad habits early on don't enjoy the same benefits of experience as those who built on solid foundations.
comment 15y ago · link · parent
I was equally inspired during undergrad and grad school by Feynman's "unusual tools", and ended up checking out a copy of Advanced Calculus by Woods which was apparently the book he used to learn calculus in high school. If I recall correctly, Woods goes over integration by both differentiation and integration under the integral sign, including some interesting ways to set boundary conditions to get the answer you want. It's a nice book if you ever get the chance.