News for hackers. Stuff that matters.

wocp

Re:I'm building a HN clone in PHP, and I need help on Thursday May 01, 2014 @09:52PM (#7683768)
I did choose PHP because lots of servers support the language, so more people will can use the script.
Re:I'm building a HN clone in PHP, and I need help on Sunday April 27, 2014 @03:20PM (#7656371)
Hi dosh, I don't think that HN is build or is inspired in Reddit code/design. Both of them are open source, but Reddit is build in Python and HN in Lisp.
Re:I'm building a HN clone in PHP, and I need help on Sunday April 27, 2014 @02:26PM (#7656133)
What's your email? :-)
Re:I'm building a HN clone in PHP, and I need help on Saturday April 26, 2014 @03:54PM (#7652556)
I'm going to check out. Thanks!
Re:I'm building a HN clone in PHP, and I need help on Saturday April 26, 2014 @03:49PM (#7652540)
Yes, my table structure has a parent_id field. The problem is that I need know the depth, or use recursivity to get all parents.

Using hierarchy and recursivity like this: http://stackoverflow.com/questions/4216875/php-reorder-array...

I'm building a HN clone in PHP, and I need help

Hi, well as the title says, I'm programming a HN clone. I choose PHP because is more simple to find a hosting which provides us PHP.And I have some questions, the first is about HN comments, in its structure a comment is an item. I'm using MySQL, and my table 'items' can store comments too. My question is: HN has a limit deep in comments? Because is complicate get comments using...

( Read More... | 11 comments | 8 points | on HN )
Re:Do you use RSS? on Saturday April 26, 2014 @03:20PM (#7652450)
Ohh, congratulations! your site is so great. I hope you add your new features.
Re:Do you use RSS? on Sunday April 20, 2014 @09:55PM (#7619324)
Hello again, excuse me, is rssident.com yours?
Re:Do you use RSS? on Sunday April 20, 2014 @01:18PM (#7617579)
Thanks for reply! I did not know that extension, it's great, but my idea is build a website, maybe later I will do an extension for explorers or an executable for Windows/Unix.
Re:Do you use RSS? on Sunday April 20, 2014 @01:15PM (#7617567)
That's an nice website! Thanks for sharing, when I finish mine I'm going to post it here.
Re:Do you use RSS? on Sunday April 20, 2014 @12:46AM (#7615885)
First of all thanks for reply, and I'm subscribed in a lot of RSS feeds to be updated in my favorite topics. Neddick sounds so good, I'm building something like that, by reading RSS and by building content about entries posted in them.
Re:Do you use RSS? on Sunday April 20, 2014 @12:04AM (#7615802)
It's perfect, I love RSS too. My idea is create a simple app to manipulate feeds, so you can register with an email, and add your favorite websites. I'm going to think about focus on a niche or categories. Thanks for reply.

Do you use RSS?

Hi,I'm trying to build a website which its contents is based on RSS, create profiles and categories that organize the information. Also allow users to create their own static profiles and add their websites too.I don't know if it's better focus on a simple category or niche, for example: bitcoins, or it's better try to add every kind of information.What do you think about it?Thanks in advance.

( Read More... | 12 comments | 5 points | on HN )
Re:Domain for servers, which one you would choose? on Thursday April 03, 2014 @07:06PM (#7527703)
Yes, I think that too, but in this case I will not use this as public domain but as internal support.

Domain for servers, which one you would choose?

Hello there, I have a site which uses a .com domain, and I want to contract a server for its external services.I don't know what domain I have to use.Supposing my domain is: google.com, is it better to use google.net or googleservers.com?Thanks in advance.

( Read More... | 2 comments | on HN )
It looks good, I'll try it, thanks for sharing.
Re:Ask HN: What topic would be fine to create a new HN? on Tuesday January 14, 2014 @11:52PM (#7061735)
That's good idea too, well I'm building a clone of HN but in PHP language, it will be open-source.
Re:Ask HN: What topic would be fine to create a new HN? on Tuesday January 14, 2014 @09:02PM (#7061218)
I like sports and photography, but as samweinberg said, I think image-based sites need others functionalities. I need to see more offers, to select the best one.
Re:Ask HN: What Linux distribution do you use? on Sunday December 29, 2013 @04:53AM (#6979048)
I have been using Debian for a long time, and now a days I also use Porteus Linux from my USB.
Re:Do you use a template engine in PHP? on Thursday December 26, 2013 @01:33AM (#6965448)
Well you both have been recommended Twig, I'm going to check it. Thanks a lot.
Re:Do you use a template engine in PHP? on Thursday December 26, 2013 @01:01AM (#6965404)
Yes I can see Haanga hasn't been touched, but it still using in Menéame. I'm going to check Twig too, thanks.

Do you use a template engine in PHP?

Well I'm building an application in PHP without a framework, and I found out Haanga (haanga.org).It is a template engine for PHP, like Django, its cache system is pretty good and Menéame (meneame.net, which has a lot of traffic) has been using for a long time.I think that using Haanga may help me to be more organized.What do you think?Thanks in advance.

( Read More... | 6 comments | on HN )
I have seen websites which use HN's source code, but my idea is develop a similar application but in PHP.

Because a lot of hostings support it, and so, more people will can use it.

I think you are right, if someone thinks I'm wrong, I'll do it different, after all it will be open source.

Older »