HNHacker News
TopNewBestAskShowJobs

decklin

2,354 karma · joined August 8, 2009

things change.
submissionscomments
decklin··on Amazon’s Music Download Site is Cheaper Than iTunes 78% of the Time
If you open an MP3, speed it up in Audacity, and save it as an MP3, you are still re-encoding it and decreasing quality, which is what I assume you mean by "conversion".

After any processing step, you should save to a lossless format to avoid this. You can start with whatever format you want (AAC from iTunes and MP3 from Amazon are pretty indistinguishable in subjective quality.)

Better yet, use a portable player that can change playback speed on the fly while decoding. (many "DJ" apps, a hardware player than can run Rockbox, etc.)

decklin··on Senate IP linked to edits in Snowden's wikipedia page
Previous discussion: https://news.ycombinator.com/item?id=6150773
decklin··on Observations from a Tipless Restaurant
I thought part 1 (http://jayporter.com/dispatches/observations-from-a-tipless-...) was particularly insightful:

"A certain small number of very vocal men (and it was always men) resented that we were not letting [them] try to exercise additional control over our team members. This was true even though compelling research has shown that servers do not adjust quality of service as a result of tips; instead the idea that the restaurant was not offering our servers up as objects of control, was heresy. For these people, the primary service they wanted from the restaurant was the opportunity to pay for favors from the server..."

decklin··on RailsBridge Boston welcomes 64 women into Boston Ruby community [video]
I was a TA at this one (and the last). It was really great to see the high turnout and how passionate the organizers are. Many thanks to all involved.

If you want to improve your people skills and ability to explain technical concepts (I'll be honest, I'm not very good at either, which is why I do this as practice), I really recommend answering beginner questions from people of a different background than your own. Apart from getting better at teaching (you work in a team, right? You need to explain your code) you can get a lot of insight into how programming language design is user interface. Users are a diverse group.

decklin··on Show HN: 7min Workout with Rdio
If I press a key it just changes to a giant "3" and then a giant "NaN".
decklin··on Statement from Edward Snowden in Moscow
This has actually been a debated usage in American English:

http://www.visualthesaurus.com/cm/wordroutes/the-united-stat...

decklin··on Algorithms Every Data Scientist Should Know: Reservoir Sampling
I've always loved the one-liner of this in Perl: http://learn.perl.org/faq/perlfaq5.html#How-do-I-select-a-ra...
decklin··on Firefox 22 released
Release notes might be a more useful link: https://www.mozilla.org/en-US/firefox/22.0/releasenotes/
decklin··on Opt Out of Klout Now
Unlike most people, I have a protected Twitter account (my tweets are not public). In order to "opt out", I have to authorize their app to be able to read all my tweets! Insane.

I guess I'll just continue to hope they're not building a "shadow profile" on me based on my friends' public tweets (and pretending said profile doesn't exist... I don't appear to have one, anyway).

decklin··on ASCII is 50 years old
I got tired of looking at it in my terminal, so I made this: http://man-ascii.com/

(I had forgotten until now that the Linux and BSD versions of this man page are so differently laid out! I was running Linux at the time.)

decklin··on Show HN: Yoleo – A Beautiful RSS Reader
I did not sign in with Google, but the import page still says "Importing…" without any action on my part. Will there be an option to manually upload a list of feeds?
decklin··on Your top 100 unix commands, for science
It's ironic that the standard one-liner for this uses a pipeline but only counts the first word of the first command of the pipeline. Given itself as input, "sort" ought to be the most used command, but "history" is the only one counted. (I bring this up not for the sake of standard HN nitpicking but to point out that you probably do want to cover at least `sort` in your workshop, and it will be underrepresented in these results, along with `grep`, `wc`, etc.)

Unfortunately, shell grammar is complex enough that a correct one-liner is probably infeasible. For example, one of my top "commands" if you count by words is an environment variable setting prepended to an actual command.

EDIT: you can get good enough results by just splitting on "|", as others have suggested here -- any parts of regular expressions, etc that aren't really commands will probably be infrequent enough to get lost in the noise, and treating || as containing an empty command won't hurt. If you're going to catch ||, though, might as well get && too... and now you're going down the rabbit hole :-)

decklin··on Zach Braff, Amanda Palmer, and the New 90-9-1 Rule
No, she hired and paid a band of professional musicians, who toured with her. She also invited fans in each city to play with them on stage.
decklin··on Bing doesn't support SSL
http://en.wikipedia.org/wiki/Server_Name_Indication#Support
decklin··on You Can't Stop Universal From Removing Your YouTube Videos
"And, you know, there is no such thing as society. There are individual men and women, and there are [corporations]. And no government can do anything except through people, and people must look to themselves first."
decklin··on Yes `yes no`
This is an interesting illustration of the GNU coding standards:

http://www.gnu.org/prep/standards/html_node/Semantics.html

(as others have noted, the program actually doing something here is bash: it attempts to dynamically allocate as much memory as it can to store the output of 'yes no'. Hopefully the author discovers ulimit.)

decklin··on Diary: Google Invades
> but the passengers were tech people, so withdrawn from direct, abrupt, interventionary communications...

Not sure this writer has actually had to deal with many "tech people".

decklin··on Balancing text for better readability
I long for something that would just wrap all big paragaphs of text at 70-ish characters without hacking at element widths (I've tried user stylesheets, scripts... nothing satisfactory). If this were implemented, I imagine it would be easier to do that.

(For example, the first line of the first paragraph of the post renders as 134 characters on my screen. Maybe I am just old, but I find this hard to read.)

decklin··on Preventing users from pouring water into coffee machine beans compartment
Don't put the coffee machine next to the sink or water cooler.
decklin··on Git is an editor, and rebase is the backspace key
FYI, since (at least, IIRC) 1.7.2 that rev-parse is not necessary. You can even do `git cherry-pick ..branch_i_may_need` for multiple commits.
decklin··on Ruby mistakes
If you enjoyed this, I recommend the Unix-Haters Handbook:

http://en.wikipedia.org/wiki/The_Unix-Haters_Handbook

(I love Unix, and C, and Ruby, and yes, they're all awful, festering examples of "worse is better".)

decklin··on SpoofMAC - Spoof your MAC address in Mac OS X
Command substitution does not capture standard error.
decklin··on GitHub Survivor: a bug leaderboard for GitHub issues
Before reading the article, I hoped this was going to have something to do with the oldest issues (open, fixed recently, commented, etc) across all of GitHub. Does such a thing exist?
decklin··on Top Unix Command Line Utilities
Maybe you are confusing this with what happens when you do

    for i in `find -name '*.mp4'`; do # ...
or similar. In that case, the output of `find` is indeed split first, and `for` sees "foo", "bar.mp4", and so on.
decklin··on Top Unix Command Line Utilities
The for loop works fine. Performing word splitting/wildcard expansion/etc on a variable will, well, split it into words/expand wildcards/etc, whether it was introduced by a for loop or not.
decklin··on Hunter Moore’s Revenge Porn Site Will Map Submitted Photos to People’s Addresses
Press hits.
decklin··on Ask HN: Who Is Hiring? (November 2012)
Sonian (Newton, MA) - Full time, local or remote

We're a funded (recently closed Series C) email archiving startup with many customers. We are looking for an additional engineer for our operations (or "devops" if you prefer) team, to take us from merely using configuration management and automated deploys to delivering our internal services as dependable, multi-IaaS-portable tools that empower the rest of the company to solve customer issues.

We have offices outside of Boston (Newton), but our dev and ops teams are mostly remote, and we meet over VOIP and pair-program in tmux.

Some highlights of what we do:

  +   We manage hundreds of compute instances across multiple clouds, including over a petabyte of data.
  +   We write the code to help facilitate deploying our application to new public clouds.
  +   We automate everything we possibly can
  +   We build up awesome applications, and then opensource them (Perhaps you've heard of our monitoring framework Sensu - https://github.com/sensu )
  +   We meet up 2-3 times a year in Boston with the rest of the company.
What are we looking for in a new member of our team?

  +   Excitement, energy and a willingness to learn something new.
  +   The ability to take a task from idea to code to testing to deploy (all within a short amount of time).
  +   Bring new ideas around project or processes to the team - if we like it - we'll do it.
  +   You can work from home, from our Newton, MA headquarters, or your local coffee shop.  Anywhere with Internet access.
  +   You'll be part of an on-call rotation with the rest of our team.
  +   Flexible person who can work by themselves or pair with their team to teach or learn.
What are some things you should know or have worked with before? (Some, many or all)

  +   Ruby 
  +   Chef (comfortable writing cookbooks, LWRP's, etc), Fog
  +   Rails, Sinatra
  +   Git or other DVCS
  +   Strong System administration with Ubuntu (includes security, logging, monitoring, web/SQL admin, etc, etc)
  +   Contributing to open source
Interested? - Contact pete.cheslock@sonian.com or https://twitter.com/petecheslock, and let him know you saw this post. Please include a short summary of why you think you would be a good fit, resume/blog/etc, and a link to a Github account or other code samples.
decklin··on Jack Dorsey: Let's Reconsider Our "Users"
I imagine Schultz has probably heard some derogatory comments about "Starbucks users". For companies that provide a service (as opposed to a product), it probably sounds more innocuous, to the point where you wouldn't question it.

Edit: to be clear, I'm referring to someone saying "users" in the sense of "drug users". "McDonald's users" is another one I hear occasionally.

decklin··on Don’t Use Automatic Image Sliders or Carousels
On the contrary, I think that automatic image carousels are exactly user interface with a purpose. They're what happens when the purpose of the website is to be demonstrated to "stakeholders", the people who sign off on the university budget, the people who don't use the internet and just want to get back to running their restaurant, etc.

Normal users would go to the site to use it for the purpose of finding some bit of information; instead, in this case, another person loads it up on their laptop or projector for the stakeholder and talks about "hey, look what we spent your money on". The stakeholder does not actually touch the computer running the web browser.

(...that's my theory, anyway.)

decklin··on Twitter announces profile page changes
This needs to be covered by http://pizzaornot.com/.
Page 1 of 5Next →