News for hackers. Stuff that matters.
Re:Gio: Portable, Immediate Mode GUI in Go by coldtea on Tuesday October 08, 2019 @05:48AM (#21190386)
A GUI library with no screenshots, no widget gallery, and no (easily found) reference?

"Hosting Gio on Sourcehut is an experiment just as Gio itself is."

Yeah, nice experiment. Now maybe try GitHub?

Re:Gio: Portable, Immediate Mode GUI in Go by pferde on Tuesday October 08, 2019 @07:03AM (#21190890)
Why further strenghten Microsoft's monopoly on developers? With several great alternatives available today, I say steer clear and as far away from Github as possible.
Re:Gio: Portable, Immediate Mode GUI in Go by coldtea on Tuesday October 08, 2019 @07:25AM (#21191022)
99% of Go projects, and Go itself, use GitHub, so I don't see how you'd "steer clear and away" when to use Gio you'd need to be using Go anyway...

Nor is this thing used here a "great alternative".

Re:Gio: Portable, Immediate Mode GUI in Go by snazz on Tuesday October 08, 2019 @08:44AM (#21191610)
The Go tooling works fine with repositories hosted elsewhere. It’s a minor inconvenience for contributors, potentially.
Re:Gio: Portable, Immediate Mode GUI in Go by jdright on Tuesday October 08, 2019 @07:14AM (#21190958)
The same can be said about Go
Re:Gio: Portable, Immediate Mode GUI in Go by mellosouls on Tuesday October 08, 2019 @10:13AM (#21192507)
This M$ = bad trope is really tired and outdated and not representative of its value to devs.

By all means encourage different hosting platforms, but maybe in a tone more relevent to the current decade.

Re:Gio: Portable, Immediate Mode GUI in Go by pferde on Tuesday October 08, 2019 @02:14PM (#21195242)
No. After the decades of sustained bad behavior, they do not get a pass so easily. Not for several more decades at least.

Also, please quit it with the $ instead of S trope, it's really immature.

Re:Gio: Portable, Immediate Mode GUI in Go by mellosouls on Tuesday October 08, 2019 @03:03PM (#21195855)
So don't use the tone.
Re:Gio: Portable, Immediate Mode GUI in Go by sleepybrett on Tuesday October 08, 2019 @10:56AM (#21192978)
It's really not.
Re:Gio: Portable, Immediate Mode GUI in Go by ddevault on Tuesday October 08, 2019 @07:54AM (#21191210)
Rude. What's you beef with Sourcehut? "Other projects use Github" will not be accepted as an answer.
Re:Gio: Portable, Immediate Mode GUI in Go by coldtea on Tuesday October 08, 2019 @08:14AM (#21191346)
That it's between GNU project webpages and Sourceforge circa 2002?

>"Other projects use Github" will not be accepted as an answer

Well, not that I care whether it would or would not be accepted, but It would still be a valid answer: using common services others use, makes for less friction:

1) immediate familiarity for most (not having to learn yet another thing)

2) common tooling with what other projects you use, use,

3) more available tooling -thanks to popularity-

4) more dependable to be around,

5) easier to engage with others since they more likely already use it -network effects-,

and so on...

Re:Gio: Portable, Immediate Mode GUI in Go by Crinus on Tuesday October 08, 2019 @08:55AM (#21191705)
> Sourceforge circa 2002?

Sourceforge has one thing that other services do not seem to have: it is user centric instead of developer centric. With that i mean that for any project you get information that would be interesting to the (potential) users of that project, such as up front information about what the project is all about, collection of screenshots (where that applies), a big fat button to download the latest release (instead of a repository snapshot - note that a release can be different from a repo snapshot, e.g. it can contain pregenerated configure and/or makefiles and documentation whereas a repo snapshot may only contain the "source" for those - and of course a release may also be in binary form), comments and reviews from other users, discussion mailing lists/forums, information about the project's category/tags and similar projects, etc.

FWIW of all the above, the only thing that sourcehut does is having an optional "what is this all about" page (article). Though even that still puts it above the likes of GitHub (that front load each project's page with the file tree of its source code) - again from a users' perspective. Though even a self-contained Fossil repository is still better than that (but you still need to do customizations to make it more user oriented).

Of course that might be just a sign that (considering the popularity of GitHub) the majority of developers do not care about users :-P

Re:Gio: Portable, Immediate Mode GUI in Go by ddevault on Tuesday October 08, 2019 @09:02AM (#21191765)
Gioui is a library for developers, though. End-users don't end up here.
Re:Gio: Portable, Immediate Mode GUI in Go by Crinus on Tuesday October 08, 2019 @09:06AM (#21191808)
Note that i'm comparing the overall UI/UX of these services not just for this specific project.

However libraries also have end users - the developers who are going to use the library (vs the developers who will work on the library). A library can have a release version (with e.g. pregenerated documentation, configure, make or whatever) which is different from a repo snapshot similar to how an application can have a release version.

Re:Gio: Portable, Immediate Mode GUI in Go by Sir_Cmpwn on Tuesday October 08, 2019 @09:09AM (#21191838)
Aye. However, git.sr.ht doesn't aim to be your project's home page, but rather its git repo. Its design is optimized for its usage as such.

In the future, Sourcehut will have a project hub which is more suited to being the public face of your project, and will have static site hosting for your project website.

Re:Gio: Portable, Immediate Mode GUI in Go by Crinus on Tuesday October 08, 2019 @09:24AM (#21191997)
Yes, note that i'm explicitly saying "from the user's perspective" here. Of course i'm not expecting sourcehut (or github or anything) to do something they do not even meant to do. Even projects in Sourceforge often have their code repository in other places.
Re:Gio: Portable, Immediate Mode GUI in Go by npongratz on Tuesday October 08, 2019 @09:29AM (#21192044)
-1) promotes ecosystem monoculture

-2) centralizes point of systemic failure

-3) a downside to the "network effects" benefit is that it is becoming a "social coding" platform, with all the toxic effects and perverse incentives endemic to social media

-4) Owned and controlled by a company which, while acting better in recent years (and I do believe the people involved are sincere!), still has not even apologized for their truly vicious attacks on free/libre and open source software in years past, and no indication that they've atoned for embrace-extend-extinguish.

Re:Gio: Portable, Immediate Mode GUI in Go by Sir_Cmpwn on Tuesday October 08, 2019 @08:26AM (#21191450)
>That it's between GNU project webpages and Sourceforge circa 2002?

Even more rude. This looks nothing like either. GNU Savannah has a garish color scheme and completely unplanned UI. Sourceforge is overplanned and looks like a mid-2000's ad-ridden malware distribution site.

>Well, not that I care whether it would or would not be accepted, but It would still be a valid answer: using common services other's use, make for less friction

Then you'll never get new services. You'll bow to your Microsoft overlords and take what Github gives you, and be thankful for it. Github is proprietary and profit driven. It's going to do what's best for it, not what's best for you. This is a pretty naive and immature line of reasoning.

Re:Gio: Portable, Immediate Mode GUI in Go by coldtea on Tuesday October 08, 2019 @09:34AM (#21192092)
>Even more rude.

Rude to whom? Styles? UX? I'm pretty sure even the graphic/UX designers involved (if any) would agree.

Re:Gio: Portable, Immediate Mode GUI in Go by bitofhope on Tuesday October 08, 2019 @09:41AM (#21192164)
That's the founder and lead dev of sourcehut you're talking to. I'm pretty sure he wouldn't object if he agreed.
Re:Gio: Portable, Immediate Mode GUI in Go by coldtea on Tuesday October 08, 2019 @11:51AM (#21193591)
Well, that's a blunder for sure!

Didn't know it, thought I was talking to just some FOSS proponent, so sorry.

But even so, we can surely agree that the design is basic compared to GitHub no?

Re:Gio: Portable, Immediate Mode GUI in Go by joemi on Tuesday October 08, 2019 @02:10PM (#21195192)
The design is different, but I wouldn't say it's worse than github. I actually prefer sourcehut's design to github's. If nothing else, there are some undeniable benefits to sourcehut's style, such as faster page loading time and less memory usage.

How would your criticism change if you knew who you were talking to? Why not just always assume the developer of anything will be reading HN comments that mention their thing, and form your comments as such? Developers are human, after all.

Re:Gio: Portable, Immediate Mode GUI in Go by coldtea on Tuesday October 08, 2019 @09:37AM (#21192124)
>Then you'll never get new services. You'll bow to your Microsoft overlords and take what Github gives you, and be thankful for it.

Well, that escalated quickly.

Or, you know, we'll leverage the commonality as long as it suits us, and jump ship when it doesn't. Like we did with Sourceforge itself, and like people did with common once dominant and good to use because of network effects projects...

How about that? As if we have agency, and are not just mindless automata, that just because we chose an option are forced to live with it forever...

>Github is proprietary and profit driven.

Both are acceptable, even in polite society...

Re:Gio: Portable, Immediate Mode GUI in Go by Sir_Cmpwn on Tuesday October 08, 2019 @09:43AM (#21192182)
>Both are acceptable, even in polite society...

Proprietary is not acceptable.

Profit-driven can be acceptable, but time and again we've seen that companies driven by profits don't make decisions in the best interests of their users, i.e. you.

Re:Gio: Portable, Immediate Mode GUI in Go by coldtea on Tuesday October 08, 2019 @11:47AM (#21193549)
>Proprietary is not acceptable.

Do you speak for everybody?

Because you can pry Sublime Text, Final Cut Pro X or Cubase from my dead hands, and all those are proprietary...

>Profit-driven can be acceptable, but time and again we've seen that companies driven by profits don't make decisions in the best interests of their users, i.e. you.

We've seen time and again than FOSS project leaders also don't make decisions in the best interests of their users.

And we've also seen that just their being open source just raises the chances of somebody having the will/resources/knowledge/time to fork them and do them right from 0% (for proprietary) to near 0 (for FOSS). As for me, one of said users, doing it, it's 0% in both cases.

Re:Gio: Portable, Immediate Mode GUI in Go by pcr910303 on Tuesday October 08, 2019 @09:47AM (#21192225)
> "Other projects use Github" will not be accepted as an answer.

It's not just because "other projects use GitHub", but it's that because "other projects use GitHub", discoverability of projects that are hosted in GitHub tends to be higher than ones that do not.

Also the workflow is vastly different (AFAIK Sourcehut doesn't have web-based bug report/PR, I think you mentioned it being developed... looking forward for it) from most OSS contributors/users, and forcing a different workflow will turn them away.

I think hosting the primary repo on sr.ht with a mirror on GitHub, and getting bug reports/PRs with both services might be a better solution IMHO.

Re:Gio: Portable, Immediate Mode GUI in Go by Sir_Cmpwn on Tuesday October 08, 2019 @09:49AM (#21192258)
I really hate this argument because it's an insurmountable problem for new platforms. It's really not reasonable to expect that of any platform. The project isn't on Github, but you seem to have discovered it just fine. Give it a chance.

Also, Sourcehut does have web-based bug submissions, and a nice tutorial for setting up terminal-based PR submissions.

Re:Gio: Portable, Immediate Mode GUI in Go by olah_1 on Tuesday October 08, 2019 @12:24PM (#21193954)
>it's an insurmountable problem for new platforms.

It's not. The solution is to use design language that people are familiar with. Nobody wants to feel stupid when they use a product. So instead make them feel smart by creating a UI that is already familiar to them.

For example, why can't I find the issues/todos from the main repository page? For some reason, there's no button to get to here (https://todo.sr.ht/~eliasnaur/gio) from here (https://git.sr.ht/~eliasnaur/gio).

Re:Gio: Portable, Immediate Mode GUI in Go by Sir_Cmpwn on Tuesday October 08, 2019 @12:32PM (#21194052)
>The solution is to use design language that people are familiar with.

Then all you end up with are clones of the same platform. Not much better imo.

>For example, why can't I find the issues/todos from the main repository page?

Because unlike Github, the repository is not the main home of the project. This is true even of many projects hosted on Github. The git repo is often one of many, or the wrong place to file issues, or isn't where the docs live. A centralized idea of a "project" with links backwards and forwards is a blocking planned feature of the Sourcehut beta. But if you're comfortable using a beta-quality UI library then you can live with using a beta-quality project host.

Re:Gio: Portable, Immediate Mode GUI in Go by olah_1 on Tuesday October 08, 2019 @01:08PM (#21194449)
Thanks for the reply!

>Then all you end up with are clones of the same platform.

There are ways to use familiar design language while at the same time innovating. Like I said before, I just don't want to feel stupid.

>Because unlike Github, the repository is not the main home of the project.

I don't think your UI is terrible btw. I think I'm just primarily confused about this point.

>A centralized idea of a "project" with links backwards and forwards is a blocking planned feature of the Sourcehut beta.

I think this would be so helpful. If I can't see a link to Todos.sr.ht from Git.sr.ht, then how would I know that I have to change the subdomain in order to get there?

For what it's worth, Gitlab is a UI nightmare compared to Sourcehut. So I very much value your emphasis on the clean and simple.

Re:Gio: Portable, Immediate Mode GUI in Go by olah_1 on Tuesday October 08, 2019 @12:18PM (#21193887)
>What's you beef with Sourcehut?

It's more difficult to keep up with a project that I find interesting. That's literally my only problem with it.

I want to be notified of new releases. The only option Sourcehut has right now is subscribing via RSS to every single commit.

I also don't want to have to bookmark every project I find interesting. I like that Github lets you star projects and then search or filter your starred projects. This is slightly less important for me though.

Re:Gio: Portable, Immediate Mode GUI in Go by Sir_Cmpwn on Tuesday October 08, 2019 @12:25PM (#21193971)
Projects are encouraged to have -announce mailing lists, which you can subscribe to for announcements.
Re:Gio: Portable, Immediate Mode GUI in Go by olah_1 on Tuesday October 08, 2019 @01:03PM (#21194393)
Take this as you will: I am in my late 20's and have never intentionally signed up for a mailing list in my life. Not sure why. I guess I've just never thought of my email inbox as a social hub that connects services. I pretty much just use my email as a way to reset passwords.
Re:Gio: Portable, Immediate Mode GUI in Go by ecnahc515 on Tuesday October 08, 2019 @11:15AM (#21193166)
Yah I immediately looked everywhere for examples, even checked out the presentation, demo links, no images of what this graphical library produces.
Re:Gio: Portable, Immediate Mode GUI in Go by moocowtruck on Tuesday October 08, 2019 @10:44AM (#21192852)
yea i agree, trying to look at the code etc on sourcehut was just painful the first thing i said to myself was "wish this was on github" then came here to see i wasn't alone in that sentiment!