News for hackers. Stuff that matters.

invertedlambda

Build a blog. Keep it simple:

Have a homepage with 10 most recent posts

- Post can have many comments

- Only users can comment

- Users must be logged in to comment

- Only you (an admin) can log in and make posts. Or anyone else with credential.

- Use SSL to encrypt your login.

Extra credit:

- Posts can have tags. Harder than you think.

- Comments can have comments. This is harder than you think.

Extra extra credit:

- Implement it once using an SQL database. SQLite/MySQL/Postgres will be fine.

- Implement it using a NoSQL database. MongoDB will probably be the simplest.

Heroku does this - they have a nice console interface for pulling down the logs from your deployed app. Granted, it is not quite the same as Gmail, but it's always a start.

Maybe it's a business idea: email for geeks. I'd use it. :)

Re:Chef now automates Windows servers/clients/instances on Wednesday May 25, 2011 @05:21PM (#2585605)
This is great news! Have been missing this feature for a while now.
Re:EFF: Apple Should Stand Up and Defend Its Developers on Friday May 20, 2011 @06:02PM (#2569580)
Putting aside all discussion on the validity of software patents, Apple really has an obligation to step in and muscle Lodsys to the ground. And I expect that is exactly what they will do.

I doubt anyone at Apple thought it would be a good idea to push tools onto people that would then get those people sued. So most likely, Steve is in the process of releasing the Kraken, telling it to head straight for Lodsys HQ.

By Monday, Lodsys should be a smoldering heap, sunk to the bottom of the ocean by the all-powerful leviathan.

And there shall be much rejoicing.

As an aside, I started to write a thoughtful comment but this stuff is so inane that it really just requires Apple to apply some ass-kicking-fu and make this crap go away.

Re:The New Tech Bubble on Thursday May 12, 2011 @06:26PM (#2542603)
I think it goes back to the learnings from the original tech bubble: companies with a real business plan survive, those with a nebulous product don't make it.

For example: Amazon was a rising star during the late-90s tech bubble, and it's still around today. And it's very much a player in the tech space. How many of us use AWS?

Google has a solid business platform and has definitely made it by all measures.

Netflix is another example. Good product, has upset the industry, sky's the limit type stuff.

Could all of these golden companies fail? Absolutely. For example, look at Microsoft right now - they are still innovating in some spaces, but really struggling in others. Will they go the way of IBM? (Hey, I hope so, but let's not start dreaming now).

Then there's Facebook and Twitter - arguably the stars of the current tech bubble. Are they worth what people say they are? Really depends on what happens over the next few years. Both are definitely becoming platforms that people do all kinds of interesting things on. But at the same time, people could get tired of social networking. (That's my personal bias shining through).

So...it's a bubble for some and not for others.

Re:There Is No Magic on Friday April 22, 2011 @08:26PM (#2475903)
Agree! Another example of this that my old music teacher used to give all the time was John Coltrane. Everybody agrees that he was a great player, but he wasn't a prodigy. He was notorious for practicing day and night to continue improving his craft.

Even Miles Davis thought he was a bit boring because all he (John) wanted to do was practice. :)

Re:Ask HN: How to stave off decline of HN? on Monday April 04, 2011 @02:36AM (#2405640)
How about a rotating group of admin users? Every 30 days a new batch of X users with greater than N karma get to bury/downvote/ban poor quality submissions/comments. This group would be forcibly rotated so that you don't get the "entrenched elite" problem.

It would encourage admins to be wise and for others to respect their wisdom.

Re:Ask HN: How to stave off decline of HN? on Sunday April 03, 2011 @04:55PM (#2403970)
If I were to rephrase the question on this thread, it seems to me that it could also be stated as "how do you keep HN comments from turning into Slashdot comments"? I don't say that in jest - I used to read Slashdot, but after a while I got really sick of 1) the vitriol and 2) the inanity of the comments that were on the first page. Granted, some folks had really interesting things to say, but truly funny/insightful comments seem to be a rare commodity.

But look at it in a positive light - the comments on HN could never be classified in the same - or even near the same - bucket that comments on sites like YouTube and Yahoo! News.

Ask HN: do you think network databases are making a comeback?

A good friend of mine started programming in the 1980s and was a heavy user of IDMS at the beginning of their career. As relational systems got more popular (read: Oracle showed up) network databases seemed to end up forgotten.These days, there's a renewed focus on the limitations of relational database systems - or rather, there's a focus on their limitations for web-based applications. NoSQL...

( Read More... | no comments | 2 points | on HN )
Re:Boxer: The DOS game emulator that’s fit for your Mac. on Thursday March 24, 2011 @11:05PM (#2367033)
An underrated game I've never been able to find again was Hyperspeed by Microprose. Super awesome. Anyone know where to find a copy?
Isn't it more in the ear?
Amen - I forget the interview, but there was a great interview with Steve Jobs where he said that to make great things happen, you need a broad range of life experience. That tends not to apply to engineers who stay in front of the computer all day.
Re:First dump of Anon BofA Documents is up on Monday March 14, 2011 @01:45AM (#2321454)
My browser is giving me a phishing warning for this link?

Ask HN: blog dashboard / aggregator for bloggers?

Hi HN, I have a friend who is starting to blog and who blogs from many different blogging engines. Keeping track of passwords/email/accounts/etc. is turning into the usual headache.My question: do any of you know of a good "aggregator" that they could log into? I.e. log into one place and see all the different blogs that they work on across twitter/wordpress/blogspot and so on.Anybody? YC idea? :)

( Read More... | 1 comment | 2 points | on HN )
Re:User's Guide to zsh on Wednesday February 02, 2011 @11:27PM (#2173587)
At the risk of starting a religious war...

zsh is a little snappier than bash and offers some neat options which are not present in bash (at least not out of the box AFAIK - e.g. spellcheck).

From my experience, zsh targets power users (and people who really don't like to type). For most people sticking with bash is probably leaving well enough alone.

From my POV it's not a religious issue, though in just a short while of using zsh I find it more productive than bash.

Re:Slashdot Launches Re-Design on Wednesday January 26, 2011 @12:23AM (#2142255)
Slashdot? I read HN.
Re:Google Will Become an AI Company on Wednesday January 05, 2011 @01:53AM (#2070205)
Will become? Is.
Re:Time Warner Views Netflix as a Fading Star on Monday December 13, 2010 @12:49AM (#1999504)
I would have paid attention to this article but I'm too busy streaming "Robin Hood: Men in Tights".
Re:Ask HN: What is the Holy Grail for Software Engineering? on Friday December 03, 2010 @08:11PM (#1968050)
A programming language that does exactly what you want, exactly how you want it, exactly when you need it.
Re:Please Discourage The Region Wise Fragmentation of Hackernews on Wednesday November 17, 2010 @04:15PM (#1915780)
Why not create a "Bay Area" HN? :P
Re:Debugging Ruby (My notes) on Tuesday November 09, 2010 @04:57PM (#1888106)
<pedant> Heh...some of these things are "intro to IP networks and UNIX". </pedant>
Re:⌘Q is too damn close to ⌘W on Tuesday November 09, 2010 @02:09AM (#1885671)
YES!!!
Re:⌘Q is too damn close to ⌘W on Tuesday November 09, 2010 @02:08AM (#1885670)
Yes, yes and yes.
Re:Tell HN: Uptick in mean-spirited comments on Sunday October 31, 2010 @05:04AM (#1852892)
Agreed. If you don't want your presence to be known on the Internet, there's a very simple way to accomplish that.

Don't post, don't publish, don't comment. Simple as that.

Some time ago another person made a comment about pearls and some sort of livestock. Throwing...things...in places?

Re:Ask HN: What is (is there something) wrong with me? on Wednesday October 27, 2010 @10:57PM (#1841502)
Just wanted to chime in...other people have said it already, but I'll say it too: there is absolutely nothing wrong with you - your feelings are very normal.

I got out of school a few years ago, and I'll tell you that my sophomore year was hellish, too. Nothing seemed to make sense and I felt very distraught.

It's good that you're exercising, keep it up. That will help you from sinking in too deep.

It does sound like you're at a real crossroads. You're seeing the limitations of what your parents handed down to you, but it's hard to know what to do instead.

I'm not Indian, but I know how you feel about family pressure...it's one of the most miserable things to be going through. I won't say "tell your family to get lost", because that's pretty hard for most of us to do. But, I can tell you from my own experience that it IS possible to love your family very much without living up to all their expectations. At times, it may look and feel like you're breaking hearts - and you may be - but it's well worth it in the end. That's been my experience.

It's easy for me to wax poetic about things you may not read, so feel free to drop me a line if you want to chat. It's this username at a well-known mail service provided by Google. :)

Be optimistic - always be positive! If you feel that good things are about to happen to you, they will.

Re:12 Months with MongoDB on Monday October 25, 2010 @07:19PM (#1832072)
MongoDB is web scale. No downvotes this time, please!

http://www.xtranormal.com/watch/6995033/

Re:Ask HN: What do you eat, hackers? on Sunday October 24, 2010 @08:09AM (#1825934)
Quinoa and vegetables. Good brain food.

Older »