qlkzy | 13 years ago | on: White House Response to “Make Unlocking Cell Phones Legal”
qlkzy's comments
qlkzy | 13 years ago | on: Wi-Fi “as free as air” – totally false story
The first problem can be mitigated by making the sensing receiver significantly more powerful than the transmitter, although you still have issues with specific terrain layouts (e.g. something big and RF-attenuating between you and the transmitter). The second problem makes it very difficult to interoperate with existing licensees (who assume exclusive use of the spectrum); it may be possible to make it work better with new licensees.
There is another interesting approach to cognitive radio, which is to use a centralised database of spectrum allocation, and then use RF propagation models & surveys to find gaps in space & frequency where you can let people transmit - for example, there are big gaps between terrestrial TV transmitter zones, to avoid the multi-kW transmitters interfering with each other, where you can easily fit "big WiFi"-style transmitters transmitting at a few watts.
Obviously, there are a number of issues here (need GPS or an accurate location on installation, need internet access for the DB, need to restrict movement, inefficient without really good RF models, weather affecting RF propagation) which make this less of a panacea than sensing-based cognitive radio, but it is relatively simple and robust to implement. In particular, a lot of the issues disappear if you use it for "big WiFi" applications - access points already have a fixed location, internet access, and mains power.
It also opens the possibility of a much more dynamic marketplace for spectrum - if all spectrum users are checking with a centralised DB (at least in a particular band), then it becomes much easier to handle short-term/local licenses - for example, providing massive short-term additional cell/wifi service to big events and festivals.
tl;dr Cognitive radio is a very interesting and promising development, but it's much harder than initial intuition suggests.
qlkzy | 13 years ago | on: Dynamic Programming versus Memoization
A tree is a connected undirected acyclic graph (or, equivalently, an undirected graph in which there is exactly one path between any pair of vertices).
A DAG may represent a tree (usually rooted) or it may not. Not all connected DAGs are trees e.g.:
a->b, a->c, b->d, c->d is a DAG, but not a tree.
qlkzy | 13 years ago | on: The 5-minute Guide to C Pointers
(*ptr)
is of type int?qlkzy | 13 years ago | on: Is it a must for every programmer to learn regular expressions?
I think the real problem is that we lack (or don't learn) good tools to bridge the gap between regular expressions and 'custom parser'. We're reluctant to refactor from '1 line of just-starting-to-be-horrible regex' to tens or hundreds of lines (depending on language and libraries) to do it 'properly', and so we end up stretching regular expressions beyond the point where they make life easier.
Perl has Parse::RecDescent (and probably several others), which is pretty close to the right thing, and clearly it's very doable in a lot of languages - anyone got any suggestions in other languages?
qlkzy | 14 years ago | on: The Trouble with Bright Kids
That aside, I think the core disagreement here is that (I think) we have both taken the same data (a lot of stuff surrounding 'hard work' and education is clearly utter rubbish) and taken it in two different directions: you've gone in a more innate-ability, behavioural-genetics direction (I think), while I'm more interested in things like the effect of practice. The nature-vs-nurture debate will probably outlive both of us, and there is evidence for both arguments.
Ultimately, I don't find innate stuff that interesting, because there is nothing I can do about it. I would rather focus on a minor factor that I can change than a major factor that I can't, and the research suggests that practice et al are far more than minor factors. So I focus on those. And until the debate is resolved, I will continue to espouse education policies which reflect that attitude.
Thanks for the references; a couple there that I hadn't seen before, and it's always worth reading stuff that disagrees with you.
qlkzy | 14 years ago | on: The Trouble with Bright Kids
> As far as I'm aware, ability is generally considered to be something along the lines of practice x innate talent.
Right, but it's not a simple multiplication (AFAIK/IMO). The research suggests that ultimately practice dominates. I can't think right now as to how to cast that as an equation, but it has more non-linear terms. As to the IQ chart, I'm not convinced that that trend is statistically significant; even if it is, IQ is a pretty funny metric for 'innate talent' in most contexts.
There's also the issue of the nature and quality of the practice. I can work arbitrarily hard at something, but unless I'm targeting that effort effectively and using appropriate feedback mechanisms, it's entirely possible for me to accomplish literally nothing. How one acquires the ability to practice effectively is the meta-problem, and one which I'm still working on.
In the particular case of math proofs (which I think you're referring to) you have the additional issue that (I think - I'm not a mathematician) proofs often require intuitive leaps. This raises additional problems, because (if you're thinking in terms of acquired ability rather than talent) intuition is typically associated with high levels of expertise - e.g. in the Dreyfus model, you expect intuitive solutions from the highest two levels ('proficient' and 'expert') which you'd expect only a fairly small proportion of individuals to reach (incidentally, the Dreyfus model also suggests that you don't really want 'proficient' or especially 'expert' individuals teaching the lower levels ('novice', 'advanced beginner' and 'competent') precisely because of this qualitative difference in problem-solving style, which validates the construct inasmuch as it reflects your experience). In this scheme, intuition is (horribly simplified) superb pattern-matching, which is almost certainly not what your hard-working students will have been practicing (in my experience, stereotyped 'hard workers' focus on the mechanical aspects of a subject). Teaching intuition/pattern-matching is of course really hard.
> What benefit do you feel will be gained by improving education for everyone, as opposed to helping those at the top? I.e., why do you believe better educated plumbers will provide more benefit than better educated scientists, engineers, artists and business leaders?
Currently, where I live (UK), it's well accepted that there are massive differences between private and public education, as well as within the public education system. From what I've written, you can probably guess that I don't really hold with the idea of innate talent, and I don't believe that you can necessarily differentiate between 'future plumbers' and 'future [scientists|artists|etc]' until late adolescence or possibly even later. Combining that with the fact that I think that equality of opportunity is really important, I'm not really comfortable with significant investment in optimising for 'gifted' individuals until we've run out of ways to add resources to bringing up weaker parts of the education system.
It's really hard to predict how altering the balance of ability will affect both the average and the top end - will improving the high achievers pull everyone else up with them? Will raising the median motivate the high achievers to do even better? - so I'd rather support the strategy which has obvious direct social benefits (improve equality of opportunity) rather than one with the potential to maybe advance the leading edge a little faster.
qlkzy | 14 years ago | on: The Trouble with Bright Kids
I'm not saying that there is no nature-component. But, (AFAIK) there is no real evidence for something that would correspond to some idea of 'Raw Smarts' that (a) has a meaningfully large effect compared to practice and experience, and (b) generalises.
What I've read suggests that, yes, there are a whole bunch of nature-components and nurture-components which initially serve to differentiate ability in young children. But the direct effects of these get quite rapidly dominated by the feedback loop of ability->motivation->practice->ability. So there's an initial differentiation - because of a subtle difference in brain chemistry, or earlier maturation, or better access to books, or competition with high-achieving siblings :); but in the longer term, there's a pretty consistent picture that excellence and ability at a high level is dominated by deliberate practice and sustained effort over time.
Of course, psychology research is hard to separate from its social context and underlying cultural assumptions, and it may just be that our egalitarian culture is uncomfortable with the idea of innate ability dominating, and steers research accordingly. Or I may just be missing the point entirely.
The essence of my point is that, as things currently stand, the research suggests that innate ability is not a significant component of ultimate achievement, and that we should therefore not predicate our approach to education upon the idea that it is dominant (which is what the comment I was replying to seemed to suggest).
qlkzy | 14 years ago | on: The Trouble with Bright Kids
I think the real issue is telling kids that they have an innate gift for anything. If you tell them they're smart, there's a natural assumption not to bother working. If you tell them they're disciplined, they won't look for ways to keep themselves motivated.
I'd be more inclined towards saying something more along the lines of "you're doing really well at X" - providing useful, motivational feedback, without implying that no work is necessary.
Personally, as someone who coasted through a lot of school but ran into trouble later (effectively because I'd forgotten how to 'pedal') the two things I would have been most grateful for:
1. Balance. If someone has a facile grasp of e.g. science and maths, don't (from a young age) overly steer them towards specialising in it. Instead, say "for the rest of this academic year, you only need to do a 'maintenance' level of work on science, so we're going to take that time and spend it on areas you're less good at". Of course, this level of personal attention is expensive, because it implies stuff like small classes and high-quality teachers who care - but OTOH I was lucky enough to have those things, but not with this strategy.
2. Challenge. Science and maths were always easy for me, so I never had to work. This is damaging. So there would also have been value in doing the the converse of point (1) - saying "for the rest of this academic year, you only need to do a 'maintenance' level of work on the standard science curriculum, so we're going to use that as an opportunity for you to do harder, more independent work in those areas" and develop a better work ethic and an ability do do things independently. Again, needs lots of personal attention and even better teachers.
We sometimes do OK-ish at (2) - in a fairly haphazard kind of way, and partly because kids tend to do it for themselves - but I can't think of any examples of anyone really pursuing (1) (may be different in different cultures). This is an opportunity, because (1) requires a lot less deep subject knowledge, so is much more feasible for parents to pursue.
Ultimately though, optimising for the top end becomes expensive quite fast, and while it's important to keep pushing the boundaries, I'd much rather the investment was put into improving the state of education for everyone, rather than fine-tuning the path for those who will be at least OK regardless.
qlkzy | 14 years ago | on: Learn Emacs: Keyboard Macros
The documentation for the most convenient way to do it (there are others) is at:
http://www.gnu.org/software/emacs/manual/html_node/emacs/Key...
qlkzy | 14 years ago | on: Firefox 7 will use up to 50% less memory