131 karma · joined May 1, 2013 (13y ago) · 48 submissions
HN username at low-ping.net
comment 13y ago · link · parent
I am very excited for this book as I do prefer the cleanliness of Scheme to CL.
comment 13y ago · link · parent
perl -e 'chdir "/var/session" or die; opendir D, ".";
while ($f = readdir D) { unlink $f }'
It is very efficient memory-wise compared to the other options as well as being much faster.
It is also easy to apply filters as you would with -mtime or such in find, just change the end statement to: { if (-M $f > 30) {unlink $f} }
to affect files modified more than 30 days ago.comment 13y ago · link · parent
comment 13y ago · link · parent
comment 13y ago · link · parent
Disclaimer: the same thing happened to me: https://news.ycombinator.com/item?id=5637272
comment 13y ago · link · parent
The exact same punishment was given to me for doing the same thing in 2004: https://news.ycombinator.com/item?id=5637272
comment 13y ago · link · parent
I am surprised at how much of the discussion here has focused on race and racism. I don't see that being a factor here; this is simply how public schools in America work.
I did not, however, have a perfect disciplinary record; I had been suspended a couple times for "hacking" type activity.
comment 13y ago · link · parent
There wasn't a news article about me so I don't have to worry about being Googled. I do feel bad for the girl because of that. However, so far employers have found my story amusing so I'm convinced that high school hijinks affect job prospects terribly.
comment 13y ago · link · parent
I was expelled and charged with the same sorts of felony charges - constructing a bomb, detonating a bomb at a school, etc. With a small bit of lawyering the charges were reduced to one count of misdemeanor disorderly conduct for making a loud noise. For that I was able to get "diversion" (like a lighter form of probation for juveniles), just some community service and drug testing, and could have my record sealed at 18. I was not, however, able to successfully appeal my expulsion.
I hope that this girl will be able to get a similar outcome and not end up as a felon because of this silliness.
This was in the middle of my 10th grade year. My next two and a half years doing home schooling and at the only private school in the city that would take me were terrific, I am very glad my life took a turn the way it did.