philcrissman | 5 years ago | on: Euler's Fizzbuzz (2020)
philcrissman's comments
philcrissman | 5 years ago | on: Euler's Fizzbuzz (2020)
My favorite FizzBuzz solution is actually:
``` ->(n){[[["Fizz"][n%3],["Buzz"][n%5]].join].find(->{n}){|w| w if !w.empty?}} ```
This is Ruby, of course, probably something very similar can be done in several other languages.
philcrissman | 5 years ago | on: Euler's Fizzbuzz (2020)
I'm definitely an amateur mathematician, though I tried my best to write the post like I think I'd try to write a proof. It came about because I stumbled across the equation, but I did not know _why_ it worked, so I was semi-obsessed with figuring out the _why_ for a long time.
I have nothing else to promote, haven't even put anything on the site since this one and only post... Anyways, thanks, news-YC.
philcrissman | 13 years ago | on: Brightcove Acquires Zencoder (YC W10)
philcrissman | 14 years ago | on: Why To Write Tests For Your Code
philcrissman | 14 years ago | on: Most people have no idea what the word hacker means
>Mr. Mitnick, who ... is publishing his first book in August...
Er... Following the link to his "first book" leads to Mr. Mitnick's website, whose products page lists his... other books...
Not to mention the well-known tech writer Stevy Levy. :-)
philcrissman | 15 years ago | on: Rails 3.1 has jQuery by default
philcrissman | 15 years ago | on: HTML 11 Labs
philcrissman | 15 years ago | on: How to construct a web developer in twelve months
Play + Build should absolutely be 90% of the activity of a would-be developer. Most of the rest of the list could go away. Research is fine, but really only if you're going to _use_ it.
I do find local meetups beneficial, _particularly_ if you can work yourself up to do a presentation on something. Presenting on a topic is a great way to make yourself learn it better.
++FIND A CUSTOMER: Maybe the best advice ever. Has the additional benefit that unless you completely mess up, you get paid. And if you do mess up so badly that you don't get paid, hopefully you learn something about how not to repeat that.
I have to add (since this is a list for people learning): learn git or mercurial. If you know one, you can pick up the other. I don't really think this is optional.
philcrissman | 15 years ago | on: Like.fm (YC W11) Is A Social Network For Tracking Songs
I'm not interested in reading a techcrunch article about a new startup. I'd rather go straight to the startup and look at it.
philcrissman | 15 years ago | on: Start Me Up: Minnesota’s First Start-Up Accelerator
http://speedylemur.com is also local to Minneapolis, though I don't know how many startups they've funded yet.
Regardless, still cool news for entrepreneurs in this part of the midwest...
philcrissman | 15 years ago | on: Ask HN: What are you fellow geeks using for blogging?
philcrissman | 15 years ago | on: Tldr.it - Summarizer for RSS feeds and other web pages (built in 48 hours)
Would really like to see this. :-) If it has an API I'd love to tie something like this to http://tldrd.com to auto-generate summaries of various texts.
philcrissman | 15 years ago | on: Why I downvote "tl;dr" comments on Hacker News
philcrissman | 15 years ago | on: 99 Out Of 100 Programmers Can’t Program – I Call BS
philcrissman | 15 years ago | on: 99 Out Of 100 Programmers Can’t Program – I Call BS
But it's a good point. That said, if I were interviewing someone who was clearly a good coder but who said they didn't test their code, I would still hire them as long as they would be willing to start writing some tests.
philcrissman | 15 years ago | on: Show HN: too long; didn't read, the website.
I think I also need to make it so you can edit your own summaries... at the very least for a short time after you post them.
philcrissman | 15 years ago | on: Show HN: too long; didn't read, the website.
Feedback, criticism, questions, are welcome.
philcrissman | 15 years ago | on: Ask HN: Linux from Scratch.. Should I try it?
Daniel Robbins is also working on new Gentoo kernels and portage trees (and has a _ton_ of Linux documentation/tutorials) over at http://funtoo.org
philcrissman | 15 years ago | on: Ask HN: Linux from Scratch.. Should I try it?
It depends what your goal is. Linux from scratch will mainly teach you (wait for it) how to build linux from scratch. Systems that are not quite "from scratch" but are lower level than Ubuntu (eg, Gentoo, Arch (others?)) will also teach you some of this. I used Gentoo for years, and after compiling about a dozen kernels in a row to get things to work how I wanted, I guess you could say I'd learned something, if only 'what kernel options I want to enable on this hardware'. :)
But building Linux won't really teach you to _use_ it. If you want to be a power user in the long run, your time (and LFS will take a _lot_ of time!) might be better spent learning your shell/package manager/scripting language of choice in greater depth, compiling your own kernels and adding them as options in grub/lifo, that sort of thing.
All that said, if the LFS process sounds really appealing to you, go for it. You'll definitely learn _something_, but just maybe not as much as you're hoping.
Re the margin notes, the footnote numbers are clickable to toggle them inline when the width is too small... I should add a bit of color or underline to them in the css so that this is easier to intuit. :/