HNHacker News
TopNewBestAskShowJobs

fendrak

663 karma · joined October 18, 2009

https://www.jasontbradshaw.com
submissionscomments
fendrak··on State of Django vs Rails vs Others
I can vouch for Flask, at least for simple projects. It's immature, sure, but it's also pretty bare-bones (I say this as an upside), allowing you to roll-your-own just about anything. For simple stuff, it gets out of your way and lets you do what you like, however you like it. It really depends on what you're going to be doing with the framework, though.
fendrak··on Git and Mercurial branching
Hmm, using hg for Windows last summer, it never failed to do exactly the opposite of what I described. Perhaps its just a Windows thing, or the version of Mercurial I was using.
fendrak··on Git and Mercurial branching
"GUI" is never explicitly mentioned, but after re-reading, I'm still not sure he _didn't_ mean a GUI, but neither am I sure that he certainly meant the CLI. I've never had a problem with the git CLI, I actually preferred it over the hg one (git pipes the log into 'less' for example, and lists entries in a sane reverse order so that the most recent log entry is on top). Maybe I'm just sensitive?
fendrak··on Extracting Useful Review Snippets from Yelp Using Natural Language Processing
Interesting fact: I was asked to program something that did just this for my interview with Yelp.
fendrak··on Git and Mercurial branching
Am I the only one who thinks picking a DVCS tool based on the GUI is a bad idea? It seems to me that hg and git were designed to be used from a command line, and (for git at least) it works brilliantly. The GUI DVCS frontends try to hide a lot of the complexity of various tasks from you, but in that insulation you also end up with a clouded view of how things actually work, leading to the branching/merging mistakes the author talks about.
fendrak··on Common Application Users Find a Glitch
This reminds me how most people seem to see programming as some sort of black magic that only happens when the stars align just-so. If only they were aware of how different things actually are...

Python solution: def under_the_limit(response): return len(response.split()) <= 150

fendrak··on Gawker Website source, databases & passwords now on BitTorrent
For a little background information on DES password hashing, check out this assignment from my Computer Security class at UT Austin:

http://www.cs.utexas.edu/users/byoung/cs361/crack-assignment...

It gives a little bit of background information on password hashing and salting, and on simple password cracking techniques.

fendrak··on Ask HN: Any recommendations for bug tracking software?
The best free issue tracker I've used is the one on Google Code. I use GitHub for hosting, but the Google Code issue tracker has plenty of options, and can fit just about any bill you want it to. It also has a built-in wiki! Since there's no requirement to actually host your code there, it works out pretty well.
fendrak··on Is it ok to use warez software at a startup?
Some definitions of "steal":

From http://www.lectlaw.com/def2/s074.htm: "the wrongful or willful taking of money or property belonging to someone else with intent to deprive the owner of its use or benefit either temporarily or permanently. No particular type of movement or carrying away is required."

From Merriam-Webster: intransitive verb: "to take the property of another wrongfully and especially as a habitual or regular practice"

transitive verb: "to take or appropriate without right or leave and with intent to keep or make use of wrongfully <stole a car>"

fendrak··on Thoughts on what the X-37B was doing in space?
A friend of a friend who works for the government apparently was recently doing some work on high-speed interactions between orbiting bodies. Orbiting bodies like satellites and space planes? Time will tell...
fendrak··on The Men Who Stole the World
This stands as an important lesson: no matter how loudly anyone screams that the sky is falling, things rarely turn out as anyone expected. Who would have thought that iTunes would come along? Certainly not the RIAA...
fendrak··on Open source in higher education - why not?
"How is it that a CS major pays tens of thousands of dollars for a degree, and has little to no concept of version control, project roles, design documentation, functional specs, or a bug tracker?"

Simple: this isn't what Computer Science is about! A fundamental misconception about computer science seems to be that is is software engineering. This couldn't be further from the truth. CS is about algorithms: their efficiency, their provable correctness, and their applicability to actual problems. None of that necessitates version control.

Dijkstra said, "Computer Science is no more about computers than astronomy is about telescopes." It seems to me that version control, bug trackers, and wikis are about software, not Computer Science. These things are important, to be sure, but they're not Computer Science.

fendrak··on Xmarks: Alive and Kicking
Xmarks is a prime example of why it's better to be lucky than good sometimes. Had these guys bothered to ask for money before simply deciding to pull the plug, they may simply never have raised the necessary funds and gone under like a ship in the night. Perhaps the only reason they don't have to pull the plug now is because they decided to throw in the towel too early, generating loads of buzz and getting their users on board. They tried their best to fail, and fate would have none of it :)
fendrak··on EFF Supports Microsoft in Seeking to Make it Easier to Invalidate Patents
You know, I'm always impressed with the clarity that the EFF posts explain their situations and how they affect them/us. If every group took such trouble to explain their cause, they'd have more supporters by the simple virtue that people could actually understand what they're saying, rather than wading though mountains of misdirection and propaganda.

Or maybe I'm just so used to wading through the EFF's particular brand of misdirection and propaganda that I don't notice it anymore...

fendrak··on Obama administration: "Piracy is flat, unadulterated theft"
The only problem with this argument is that it's made only with regard to you, the consumer, vs. the content creator/distributor. If theft is defined only as the removal of a physical good from one individual to another without consent, then indeed, it's not theft in that sense. However, if theft is defined as depriving an individual of what they are due for providing some product/service, then this is theft.

One way or another, somebody took the time to learn to play some instrument, write a song, record that song, then get it distributed in some manner. All of that costs both time and money, just like designing and building a car or a laptop or any other physical good. If depriving someone of compensation for something they worked to create and distribute isn't theft, I don't know what is.

fendrak··on StarCraft 2: help us mourn the death of content freedom
"They who can give up essential liberty to obtain a little temporary safety, deserve neither liberty nor safety." - Benjamin Franklin
fendrak··on Valedictorian Speaks Out Against Schooling in Graduation Speech
That was indeed the point. I took the "learn what you like" route and was not rewarded for that as much as I could have been rewarded for gaming the system.
fendrak··on Valedictorian Speaks Out Against Schooling in Graduation Speech
I think this is something many high school seniors realize at some point or another: had we known how easy it really was to game the system, we might have started playing the game earlier and earned more points. We aren't rewarded for interests, or how we approach things, or even for helping our fellow students; we're rewarded for scoring as many points as we can to the detriment of all other things.
fendrak··on Google reverses previous China policy - Censorship is OK now
Once again it would seem that the love of money is the root of all evil. "Do No Evil" indeed...
fendrak··on Syntax highlighting, auto complete and more within Python interpreter
My favorite reaction to bpython was showing it to somebody, watching them use it for about 30 seconds, and them watching them alias it to 'python' without even thinking :) It blows the default python interpreter environment out of the water: it remembers history between sessions, autocompletes just about everything, and even has a shortcut for dumping code out to Pastebin.
fendrak··on Ask HN: What app should I build using App Inventor?
From what I hear, it seems like a good introduction to the principles of programming, if nothing else. I didn't learn to program until my freshman year of college (and had no prior CS experience), but found that some similar-sounding software I had used for a long time had prepared me for actual programming in a surprising way ("Game Maker", for what it's worth). If the App Inventor ends up being anything like that, and actually useful for creating apps, it will certainly be a good reinforcement for basic programming concepts. On the other hand, by its very design it will be limited in what it can accomplish. How much is a matter to be seen!
fendrak··on Visualization of cheating in education
For many I think it comes down to one number: GPA. When companies screen applicants who don't meet minimum GPA requirements and most measures of performance are based solely on the grades put down on paper, there is little incentive to actually learn the material, and a lot of incentive to simply earn a better "high score".
fendrak··on My Empire of Dirt
That's what prompted me to look him up. I caught parts of the interview while browsing the web, and decided that he sounded interesting enough to warrant a quick search, and this article turned out to be better than the interview (at least from an information perspective).
fendrak··on A Tale of Two Code Bases ...
It's a shame that most of my Comp Sci peers don't seem to take much pride in actually building readable code. Building something that works is important, of course, but so is how it looks on the inside. Kind of analogous to building a house: sure, you can build something that keeps the rain off and the sun out in a relatively short time, but building it to stand the test of time is at least as important as keeping out the elements, if not more so.
fendrak··on Console productivity hack: Discover the frequent; then make it the easy
This is an elegant solution to a common problem I didn't even realize I had. You'd think the number of times I've cd'ed to the same directory or misspelled 'emacs' as 'enacs' or 'emac s...' would have prompted me to alias them to something useful, but at least now I can figure out what I've been missing!
fendrak··on Computer assistant assists computer proof of the 4 color theorem. [2005]
J Moore has been working on computer proof systems for some time, and has built one that he used to prove the AMD K12 architecture correct: http://userweb.cs.utexas.edu/users/moore/acl2/acl2-doc.html As a side note, he teaches a good introduction to logic course :)
fendrak··on Ubuntu Netbook Edition is considering shipping with Chrome instead of Firefox
This would be beautiful. I have an ASUS EEE 901, and Chrome runs far better on it than Firefox ever could. It takes up less screen space, launches faster, and runs faster. For running a full-featured web browser with constrained resources, Chrome can't be beat.
fendrak··on New Research Can Preserve Organs for 10 Days
The part of the article I want to know more about is the post mortem organ harvest. How long after death did they wait before harvesting the heart?
fendrak··on Hearing prayer shuts off believers' brain activity
Ha, I'm glad I'm not the only one who's mind wanders during those things! I've come to believe that it's more a function of having an extremely active mind that prefers to interact over simply receiving information passively. Same thing happens to me during lectures in class. I try to engage my mind with what's being said, looking up relevant passages and asking myself questions about the validity of what's being said.

Also, there's no incompatibility between believing in a higher power and being able to reason. I'm a Christian in his third year of a Computer Science degree at a major university, and I like to think I have some capacity for reason :p

fendrak··on The ugliest code I ever wrote: a parser generator in XSLT
Mmm, coding with mere hours (nay, minutes!) left has caused me to produce simultaneously some of the msot awful and cleverest code I've ever written. But you know what they say about clever code...
← PreviousPage 3 of 4Next →