4 ms·
Show HN: A beautiful and open-source paste service
- jdiez17 14y agoThe source code is available here: https://github.com/jdiez17/pastepm https://github.com/jdiez17/pastepm
- dindresto 14y agoPretty cool, also wrote one yesterday, using Flask and Cassandra
- mfincham 14y agoLoads to a blank white page with JavaScript disabled. Utter failure.
- aoprisan 14y agotry browsing half the web without JS enabled and it'll look just as bad
- andreimic 14y agoI am, actually, and it's not half as bad as you would think. I don't think that js-less browsing is so uncommon, either.
- bradleyland 14y agoJS-less browsing is either uncommon, or it isn't. It's not something you "think", it's a verifiable statistic. The most recent data I could find (2010) puts it at around 2% in the US. I would venture that 2% should be considered uncommon. http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-users-have-javascript-disabled/ http://developer.yahoo.com/blogs/ydn/posts/2010/10/how-many-...
- niggler 14y agoHow are text browsers (lynx, elinks) counted in the statistic? Strictly speaking, javascript isn't disabled because its not supported in the first place
- andreimic 14y agoFair point, but still, that's only Yahoo websites, and (to nit-pick) I, for one, don't Yahoo! Another thing to take into consideration regarding this sort of stats is the user base. I _think_ a lot of the NoJS (or the likes) users are of the tech-savvy bunch and more likely to use sites like this one. So, I _think_ a more relevant percentage of people that have JS disabled is higher in this case.
- bpatrianakos 14y agoUtter failure? Seriously? Why is it that whenever someone shares something cool someone else inevitably wants to tear it down? This is far from an "utter failure". In 2013 you'd be hard pressed to find someone who has disabled JavaScript or is using a browser that doesn't support it. Furthermore, its safe to assume that a user who has purposely disabled JavaScript is sufficiently technical enough to know why they did it and re-enable it if they really want to use the site. Calling this an utter failure is total hyperbole. Okay, so the site doesn't gracefully degrade. That's a failure for best practices. But best practice isn't always so black and white and a site that doesn't degrade gracefully isn't always absolutely an utter failure. Consider the target audience of this. It'll be more technically inclined people. It's again safe to assume these people will mostly have JS enabled and most people won't have a problem. Even beyond that, we're not talking about a website that's trying to capture the hearts and minds of the entire Internet using population who'd ever want to use a Pastebin. It's some guy or girl who put together a beautiful side project and open sources it at that. But in the end whether you're right or wrong, have a good point or not, just doesn't matter. It's this pervasive culture of seeking out and focusing only on what's wrong with a project around here that seriously needs to stop. There was a project on the font page last night that wasn't the most impressive piece of code but served a cool purpose and the overwhelming majority of comments just wanted to tear it down and call it useless. It was pretty disgusting really because the project wasn't useless at all. It was just that the commenters didn't personally have a use for it and for some reason couldn't see anything beyond their own personal preferences as if they thought the entire world did (or should) have their same tastes or something. This needs to stop. If it doesn't we'll either no longer get anyone submitting their cool projects or all of HN will be overrun with over zealous critics or both.
- niggler 14y ago"In 2013 you'd be hard pressed to find someone who has disabled JavaScript or is using a browser that doesn't support it" I and many other people still use lynx/elinks. Which is not to say that I expect every service to work on a text browser, but to dismiss text browsers for a service catering to developers is a bit presumptive
- mfincham 14y ago
- Posibyte 14y agoI like this a lot. It's super simplistic and ultimately out-of-the-way. The design is nice. A couple things I would add would probably be some way to do syntax highlighting and a quick button to create a new paste from any page. Clicking the bottom left logo will do that, but it's not terribly obvious at first. So, yeah, I like this a lot. Kudos. EDIT: I see the syntax highlighting now, I just hadn't triggered it yet.
- jdiez17 14y agoIt does have syntax highlighting, but the detection is not very good yet. At any rate, you can always change the extension on the URL and it will try to highlight that language. Thanks for the kudos!
- niggler 14y agoIs there syntax highlighting for shell scripts (.sh)?
- jdiez17 14y agoYep, just change the extension in the URL to .sh.
- niggler 14y agoThere's a bug in google code prettify which your syntax highlighting also shows: http://paste.pm/134.sh http://paste.pm/134.sh relevant bug: https://code.google.com/p/google-code-prettify/issues/detail?id=165 https://code.google.com/p/google-code-prettify/issues/detail...
- jdiez17 14y ago@niggler Huh, interesting. We're using Ace, though, so it's not related to Google Code Prettify, but still a bug.
- niggler 14y ago
- ibelimb 14y agoWhat's the paypal functionality for? Donations?
- jdiez17 14y agoWe intended to add account functionality; a pay what you want thing. More like a donation, yeah. But the frontend guy is kind of busy so we reckoned it's better to release without that rather than not releasing at all :)
- niggler 14y agohastebin has shown me what a good paste service should support. The most important thing is a shell client (`do_something | haste`). What is the analogue for this service?
- bpatrianakos 14y agoIt's funny you mention that because I'm working on it now. Maybe it's not exactly what you're looking for but it might be close. It's https://writeapp.me https://writeapp.me Before (or if) you check it out please know that this started out as another distraction-free writing tool but through my own use and how I see my users using it, it's evolving more into a writing platform with a web client, mobile client, a Sublime Text 2 plugin that posts to the site, posts by SMS and email, and I'm working on a Rubygem right now that'll do exactly what you're describing from the command line. I'm not trying to self promote or steal the OP's thunder here, I just got excited when you mentioned this because it made me feel like what I'm working towards is validated.
- jdiez17 14y agoWell, here you go: http://paste.pm/hh.py http://paste.pm/hh.py
- niggler 14y agoHow did you specify hh? I dont see an option in the UI to specify a name ...
- bradsmithinc 14y agoPretty Nice. Couple of small issues I noticed: If you try to save an empty Paste you get a server error. Also, The Save Icon itself feels very 1990s to me, you might want to consider trying out a few others.
- baggiobanglio 14y agoHi, Paste.pm's designer here. I thought that same thing about using the floppy disk icon as a metaphor for "saving" things, I really wanted to use any other icon to represent that because I also had that feel of 1990s. But after some research, I arrived at the conclusion that the very much hated floppy disk icon is also the most representative one for this action.
- jimmytucson 14y agoI never thought I'd find a paste bin to be beautiful but damnit, wrong again.
- deleted 14y ago[deleted]
- deleted 14y ago[deleted]