Live data from Hacker News

Sr.ht, the hacker's forge, now open for public alpha

drewdevault.com

171–180 of 221 posts

Re: Sr.ht, the hacker's forge, now open for public alpha

#171

Earlier quoted context omitted.

Server side html rendering will always be less efficient, but I can see the application of using curl to request and parse pages.

You mean more efficient, right? Because the single page "applications" that download UI and data with javascript take a three-digit number of requests and multiple seconds to render everything and be "done".

No, because once you download the js you don't redownload it on every page request. When you want to update contents you get the new data to be displayed. This is how any other gui application does server communication.

The traditional page based responses re-send all the html content over again. If the client can cache it then it doesn't have to be, but caching something like a git frontend does not work with page based responses due to the amount of new data.

Just because Facebook and Google abuse js to the nth degree does not mean it's automatically bad. It's how you use it, and you can infact do things without react and Vue.

Re: Sr.ht, the hacker's forge, now open for public alpha

#172

Congrats on the milestone. This is a huge boon to the open source community. I love the pricing model. Are there any plans or ideas for a migration path from GitHub to sir.ht? I would imagine that if there was a way to transfer issues and discussions it would encourage more users to make the switch. Here's one data point for you: zig programming language. Influencing factors: * If we had syntax highlighting in the fi…

> I love the pricing model.

I'm sure it's lovely, but where is it? I can't see any mention of pricing in the blog entry, or in https://meta.sr.ht/, and the top hit in Google for "sr.ht pricing" is... your comment.

Re: Sr.ht, the hacker's forge, now open for public alpha

#173

Earlier quoted context omitted.

"Looking like a typical web forum" is a huge improvement compared to what e.g. GNU Mailman offers.

Well, Mailman 3 with HyperKitty looks more like some web forums. But Mailman 2 is quite dated...

I also like how DFeed looks. It's written in D and simultaneously serves forums, mailing lists, IRC and (lol) Usenet; all on an SQLite backend. It's also compiled to machine code, so it's pretty fast:

https://forum.dlang.org/

Re: Sr.ht, the hacker's forge, now open for public alpha

#174

I love this. Everything I've read so far breathes this "made for devs" attitude. I hope that a few years from now in a HN thread that lists successful companies that got "launched" on HN (you know, the Dropboxes and so on), this will be among them---and that the product is still as honest and awesome as it looks right now!

Not to mention the other amazing work being done by the developer that it will help sponsor.

Re: Sr.ht, the hacker's forge, now open for public alpha

#176
post #172

Congrats on the milestone. This is a huge boon to the open source community. I love the pricing model. Are there any plans or ideas for a migration path from GitHub to sir.ht? I would imagine that if there was a way to transfer issues and discussions it would encourage more users to make the switch. Here's one data point for you: zig programming language. Influencing factors: * If we had syntax highlighting in the fi…

> I love the pricing model. I'm sure it's lovely, but where is it? I can't see any mention of pricing in the blog entry, or in https://meta.sr.ht/ , and the top hit in Google for "sr.ht pricing" is... your comment.

At this point you have to be signed in to see it. See this comment for a screenshot and details:

https://news.ycombinator.com/item?id=18460244

Re: Sr.ht, the hacker's forge, now open for public alpha

#178
A meta comment on the HN community: People constantly decry HN's "negativity" to Show HN posts or other tech related news, but I think when really cool projects (like this one) show up, people respond overwhelmingly positively. Maybe it's a good thing that HN as a community has high standards.

Re: Sr.ht, the hacker's forge, now open for public alpha

#180

Earlier quoted context omitted.

Hmm i made a golang project to test https://git.sr.ht/~ata/demo/tree/master/main.go and first thing I noticed was that ~ in my package name. I wonder if that’s valid golang?

Golang doesn’t have a problem with it, but I would have to rename src/git.sr.ht/ata src/git.sr.ht/~ata a ~ in the filename which linux doesn’t like

The only characters not allowed in a filename on Linux are 0x00 (the null byte) and '/'. It's perfectly valid to have '~' in it.

You may be confused because your shell expands it to the value of $HOME -- which you can prevent by putting it inside single quotes.

    aaron@aspire5742:~$ echo hi > 'foo~bar.txt'
    aaron@aspire5742:~$ ls -l *.txt
    -rw-r--r-- 1 aaron aaron 3 Nov 16 03:20 foo~bar.txt
    aaron@aspire5742:~$ cat 'foo~bar.txt' 
    hi
    aaron@aspire5742:~$
Post reply on HN