News for hackers. Stuff that matters.

erming

Re:Shout – A web IRC client on Monday September 08, 2014 @03:02PM (#8286548)
HN Mods: Could you change the url to https://github.com/erming/shout instead?
Re:Shout – A web IRC client on Monday September 08, 2014 @03:01PM (#8286543)
Well, my idea when I started this project: A self-hosted and password protected IRC client that runs in your browser.

However, I added "public" mode, where anyone is allowed to connect. And the demo server is currently running in this mode.

So right now? Nope. I'm not limiting anything. I guess this will be up to the person running the server to decide.

Thanks!

Re:Shout – A web IRC client on Monday September 08, 2014 @02:18PM (#8286300)
Hey, thanks. That's a bug! I'll fix it when the HN madness ends.
Re:Shout – A web IRC client on Monday September 08, 2014 @02:17PM (#8286296)
One more thing: Freenode has given me about ~20 slots to work with on this demo. If you can't connect, try another network, like `irc.rizon.net` or something.
Re:Shout – A web IRC client on Monday September 08, 2014 @02:12PM (#8286269)
Hey, guys.

Thanks for all the attention! The repository is here: https://github.com/erming/shout

It's open source, so if you're looking for a cool new project to work on, feel free to help out!

Oh, I will so use this!

Anyway, some feedback: When loading the page, a wild scrollbar appears (Chrome). A temporary overflow: hidden; on the body would probably solve this.

Re:Ask HN: What are you working on and why is it cool? on Friday August 01, 2014 @05:22PM (#8122881)
I'm creating a web-based IRC chat.

Basically: You install it from npm and then run it, then you browse to http://localhost:9000/ and start chatting.

It's responsive and works great on your smartphone.

Repository: https://github.com/erming/shout (star if you like it!)

And of course, a demo: http://shout-irc.com:9000/

Edit: If you can't connect (Freenode only allows ~5 active connections) try "irc.rizon.net".

Re:Show HN: The Markdown Resume on Friday July 11, 2014 @10:42AM (#8020339)
Here's another option based on JSON. It went viral on HN 4 days ago: http://jsonresume.org/

The HN post can be found here: https://news.ycombinator.com/item?id=7996464

Re:GitHub Octicons on Monday June 16, 2014 @03:03PM (#7900830)
Want them as PNG?

Step 1: Download SVG from https://github.com/github/octicons/tree/master/svg

Step 2: Use http://www.fileformat.info/convert/image/svg2raster.htm

Step 3: ...

Step 4: Profit!

Hi! Didn't see your question until now.

While I haven't implemented the logging yet, I'm thinking about storing them in the JSON-format. Messages are already stored as JavaScript object, so I think this is my best option. And exporting them as .txt on demand, shouldn't be a problem either.

Thank you for the feedback

Yes, right now it's only in memory.

I've been thinking about storing the logs in .txt-files (with the option to turn this feature on/off). This way, I could let the user download the logs directly via the browser.

Oh, I've made one too! http://github.com/erming/shout

It's really stable (been using it for weeks without restarting) and I've even implemented a mobile interface: https://db.tt/fYTswBwO

You'll find the install instructions in the README (or just `npm install shout`). No configuration required. Should take under a minute to get it running if you already have NPM.

It's open source. Feel free to try it, browse the code and leave some feedback. If you want to work with me, it's open for contributions!

Re:Link: A fast and simple PHP Router on Thursday May 29, 2014 @12:46PM (#7817141)
Looks like everyone and their grandma has written their own PHP router.

Here's mine:

https://github.com/erming/route

Code: https://github.com/erming/route/blob/master/route.php

~80 LOC

Re:Refactored PHP engine makes Wordpress 20% faster on Monday May 05, 2014 @05:01PM (#7701227)
I don't think it's fair to say that Drupal is faster than Wordpress by just looking at the req/sec.

According to https://wiki.php.net/phpng, they benchmarked against Wordpress 3.6 (the current version is 3.9). I couldn't find anything about the Drupal benchmark, but it could be a simple "Hello world" for all we know.