2,193 karma · joined July 1, 2010
Imagine you have a file that is a vendor-provided html template. Does it go in vendor/ or templates/? vendor/templates? What if you want to find out all the templates in use by the system? Document that somewhere and expect a newhire to 'just know' where you store the fragments of your templates?
Sometimes there really isn't a parent-child relationship between data, modeling it like that is always true seems very 1980s.
Perhaps Rob Pike can sum it up better than I can:
"My late friend Alain Fournier once told me that he considered the lowest form of academic work to be taxonomy. And you know what? Type hierarchies are just taxonomy. You need to decide what piece goes in what box, every type's parent, whether A inherits from B or B from A. Is a sortable array an array that sorts or a sorter represented by an array? If you believe that types address all design issues you must make that decision.
I believe that's a preposterous way to think about programming. What matters isn't the ancestor relations between things but what they can do for you."
It does.
In my (personal) opinion, I would argue that the content providers or aggregators and search engines benefit synergistically. CL and Belgian newspapers appear to disagree.
They don't close. They. Do. Not. Close. As a nocturnal developer I could go out to a club, get back to my hostel at 2, write code for 2 hours and then go out again. Bliss.
LSA[1] has been around since the 80s and is used in many applications from GRE testing to Apple's junk mail filtering[2]. It's used a lot since the patent expired, it's relatively good and can be computed quickly. Of course, a lot of text-retrieval research has happened in the past few decades, one of my favorites being LDA[3] which relies on a much more sound statistical basis than finding lower-dimensional representations of term-document vectors. Unfortunately LDA's model is not directly computable and answers must be determined via Monte-Carlo methods.
As for 'indepdendence,' his terminology gets a little confused here. At first I thought he was talking about the 'bag-of-words' assumption that most large-scale language models have. These effectively ignore grammar (other than stemming) in order to efficiently determine the 'gist' of a document without its intricacies. However, his videos imply he is talking about word-sense disambiguation[4], which is certainly known about and was the crux of LSA in the first place. If he is talking about lifting the bag-of-words assumption, there has been some interesting work going on, such as [5] (disclaimer: I am a coauthor on that paper).
If you're interested in this stuff, I highly recommend trying out the LSA demo server at [6] (it can get swamped sometimes so don't kill it) and David Blei's LDA implementation at [7]. The LDA-C inputs and parameters are a little obtuse when you first look at it, and I don't have my notes on how to use it at the moment but if you play around with it it should make sense.
This kid is crazy smart, and I hope he gets exposed to a lot of really cool research since he can obviously pull off a lot at a young age. Best of luck to him.
[1] http://en.wikipedia.org/wiki/Latent_semantic_analysis
[2] http://developer.apple.com/library/mac/#samplecode/LSMSmartC...
[3] http://en.wikipedia.org/wiki/Latent_Dirichlet_allocation
[4] http://en.wikipedia.org/wiki/Word-sense_disambiguation
The type of teen who legally can't vote? Sounds effective.
[ ] Desktop
[ ] Server
[ ] Embedded
[ ] Custom
This ultimately comes down to a user interface issue, but it's different than the kind of user interface often associated with the HN crowd. It's more like an API user interface, be that a web or programming library API. A crucial feature of good APIs is 'graceful degradation' in terms of easiness/control. Take a look at the libcURL library[1]. cURL has 3 levels of access: "easy," "share," and "multi." If you don't care about a lot of features and just want to download a webpage, the easy interface will get you what you want in a few lines of code. If you have something more complicated, you can go all the way down to the multi interface to access many of the raw functions of the API.
They key takeaway is giving the user control of her complexity level. If I'm a sysadmin compiling an image meant to be deployed on thousands of servers, then something like Arch would be pretty great -- I can fine-tune things how I want. If I'm just a random developer, then I would like to stick to 'sane defaults,' with the option to revisit those defaults later if needed.
I really don't care what cron I have, don't force me to pick one against my will.
One nice thing about Arch though is the ArchWiki: it has copious amounts of documentation on software that is usually applicable to other distros. A good example is https://wiki.archlinux.org/index.php/Awesome
Yes. Yes it is.
Moral of the story: if you run a web service with an API or embedded javascript module, make sure the entire stack can be run over SSL!
I don't know dude, sounds super secure to me.
http://research.microsoft.com/en-us/groups/science/publicati...
http://research.google.com/pubs/papers.html
http://www.scottaaronson.com/blog/
http://www.cs.utexas.edu/~EWD/transcriptions/transcriptions....
http://c2.com/cgi/wiki if you're into seeing how the Elders thought about computing
Pop culture, yes. There is a whole world of knowledge behind TED's glossy sheen, and that world is found by looking up original sources. Don't read the Wikipedia article on Gödel's incompleteness theorem and stop there. Read On Formally Undecidable Propositions in Principia Mathematica and Related Systems I. It will be hard, but it will be awesome. Don't watch a cool TED talk and immediately show it to all your friends: look up the journal paper the presenter was referencing and actually see what happened. You will find out something along the way.
TED has its place in getting people excited about things, but there is much, much more beyond it. Not all knowledge is packaged in neatly-produced 4 minute feel-good videos. Go explore :).
At least she is attempting to advance society. If you want to feel depressed, 209 million USD was spent on http://en.wikipedia.org/wiki/Battleship_(film).
209 million.
Reminds me of someone doing it right: http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#f...
I believe it's more that if CL stopped stomping on other businesses for virtually no reason, without any discussion or even possibility of an agreement, then [I] would be against the OP continuing against CL's wishes.
Actually, what I've been contemplating writing for a while is a window manager that notices what windows you have open, clusters those into sets (windows may be in multiple sets!), creates workspaces based on these clusters, automatically flips between these clusters when it senses you're switching to another one, and attempts to display windows as disconnected floating golden rectangles (still 2d, but not encompassing every pixel on your screen). I really really hate managing windows...
This is a NYT Technology article, don't expect anything to make sense.
If you're using touchpads, going from touchpad to stylus is exactly the same switch as going from finger paint to pen. If you're using a mouse, then using a stylus allows for less awkward wrist motion.
Absolute positioning is AWESOME for static or mostly static UI elements: menu bars, browser tabs, buttons on websites since your brain can calculate 'ahead of time' how much it needs to move. It's also much more accurate when performing small motor movements (hence why it's used for drawing, but this also comes in to play for highlighting text). It does not perform as well when scrolling, which is where relative positioning works better.
In 2012 it's because I got swag.
Thanks for the article though, if I ever need to write some JS this will help keep me a little more sane.