News for hackers. Stuff that matters.
Re:GXUI – An experimental Go cross-platform UI library by fitzwatermellow on Wednesday March 18, 2015 @05:26PM (#9228805)
A propitious beginning. You'll need xorg-dev, libgl1-mesa-dev, and go-gl/glfw to install. Getting can't find "Arial.ttf" panics? But looks quite nice, though windows take some time to build. Here is a screenshot of "polygons" sample:

http://imgur.com/9xyfaEd

Re:GXUI – An experimental Go cross-platform UI library by tomjen3 on Thursday March 19, 2015 @12:57AM (#9230278)
Well too bad, I was hoping I would be able to cross compile a native gui program.
Re:GXUI – An experimental Go cross-platform UI library by ktsmith on Wednesday March 18, 2015 @08:55PM (#9229647)
Drop a copy of the ttf file into the folder you are running it from and the panic will go away. The Dark theme looks for SourceCodePro Regular.
Re:GXUI – An experimental Go cross-platform UI library by skj on Thursday March 19, 2015 @07:55AM (#9231280)
Consider compiling the fonts into the binary.

This is what I did for go.uik: https://github.com/skelterjohn/go.uik/blob/master/luxisr.ttf...

Re:GXUI – An experimental Go cross-platform UI library by ktsmith on Sunday March 22, 2015 @01:08PM (#9247474)
I was just building it for fun, I didn't work on this project. That does looks like a quick solution for where they are at right now though.
Re:GXUI – An experimental Go cross-platform UI library by gillianseed on Thursday March 19, 2015 @07:52AM (#9231262)
xorg-dev and libgl1-mesa ? Where are these pulled in ?
Re:GXUI – An experimental Go cross-platform UI library by kodis on Wednesday March 18, 2015 @04:28PM (#9228453)
I'd love to see this evolve into something production worthy, even if it can't be done in idiomatic go style. A good cross platform GUI library is, to my mind at least, the largest void in an otherwise excellent standard library.
Re:GXUI – An experimental Go cross-platform UI library by alfonsodev on Thursday March 19, 2015 @07:25AM (#9231175)
"..we need your permission to use and distribute your code. We also need to be sure of various other things—for instance that you'll tell us if you know that your code infringes on other people's patents.." How can I know that my code doesn't infringes any other people's patents?does it apply if you are not is USA ?
Re:GXUI – An experimental Go cross-platform UI library by skj on Thursday March 19, 2015 @07:54AM (#9231268)
You can't. And, you shouldn't try to find out, either. It's specifically if you know that your code infringes.
Re:GXUI – An experimental Go cross-platform UI library by detaro on Thursday March 19, 2015 @08:46AM (#9231460)
That is a weird statement they make there, especially since the actual CLA as far as I understand it doesn't talk about that, it just includes provisions that you grant a license to all of your patents that the contribution would infringe.

[...] You hereby grant to Google and to recipients of software distributed by Google a [...] patent license [to use and distribute] the Work, where such license applies only to those patent claims licensable by You that are necessarily infringed by Your Contribution(s) alone or by combination of Your Contribution(s) with the Work to which such Contribution(s) was submitted.

https://cla.developers.google.com/about/google-individual?cs...

Re:GXUI – An experimental Go cross-platform UI library by detaro on Friday March 20, 2015 @06:14AM (#9236869)
Extension: in point 5 this is actually covered:

You represent that Your Contribution submissions include complete details of any third-party license or other restriction (including, but not limited to, related patents and trademarks) of which you are personally aware and which are associated with any part of Your Contributions.

It doesn't require you to know if your code infringes patents, it just requires that IF you know, you disclose it.

Re:GXUI – An experimental Go cross-platform UI library by perdunov on Thursday March 19, 2015 @08:32AM (#9231404)
At any point in time each part of your code is infringing a number of patents that is growing to infinity.

Patents are a tool of harassing others for big companies. The only thing that is important is will a big company sue you or not.

Re:GXUI – An experimental Go cross-platform UI library by MetaCosm on Sunday March 22, 2015 @01:05AM (#9245665)
Ignorance is bliss.
Re:GXUI – An experimental Go cross-platform UI library by nl on Thursday March 19, 2015 @06:37AM (#9231064)
Would be nice to put what platforms are supported in the Readme.
Re:GXUI – An experimental Go cross-platform UI library by gillianseed on Thursday March 19, 2015 @07:49AM (#9231249)
Well the project is in it's infancy, so this may change, but currently the only thing needed to run it is a platform that supports Go and OpenGL.
Re:GXUI – An experimental Go cross-platform UI library by vruiz on Wednesday March 18, 2015 @03:33PM (#9228114)
This go submitted 19 hours ago https://news.ycombinator.com/item?id=9222587 and got no attention. It's now number #1 on github/trending. I believe it was not realized that this is coming directly from google.
Re:GXUI – An experimental Go cross-platform UI library by cgati on Wednesday March 18, 2015 @04:09PM (#9228332)
I don't think too much significance should be placed on the fact that it's coming "from Google".

As mentioned in the Readme, it's just code written by a couple of Googlers that happens to be owned by Google.

I think it will be interesting to see it get more fleshed out, though.

Re:GXUI – An experimental Go cross-platform UI library by DannyBee on Wednesday March 18, 2015 @04:06PM (#9228306)
With all due respect to David, it's just an experimental library, it's not a thing :)
Re:GXUI – An experimental Go cross-platform UI library by sfeng on Wednesday March 18, 2015 @10:03PM (#9229830)
Not enough people hang out in /newest for the cream to always rise to the frontpage. Sometimes things have to be posted a few times to get attention.
Re:GXUI – An experimental Go cross-platform UI library by perdunov on Thursday March 19, 2015 @08:10AM (#9231322)
Would be nice to know the background of the project.

Writing a UI library is not an easy thing.

Was it written from scratch, or some existing library was used as a reference? Had the authors had any background in developing UI engines? How long it took them to write this?

Re:GXUI – An experimental Go cross-platform UI library by fithisux on Thursday March 19, 2015 @03:48AM (#9230694)
I really like andlabs gui. Any difference list between these two projects?
Re:GXUI – An experimental Go cross-platform UI library by laex on Wednesday March 18, 2015 @09:40PM (#9229768)
Is this going to be supported on Android ?
Re:GXUI – An experimental Go cross-platform UI library by coke on Thursday March 19, 2015 @10:33AM (#9232162)
one step closer to replace Java by Go on Android? ;-)
Re:GXUI – An experimental Go cross-platform UI library by whateveracct on Wednesday March 18, 2015 @04:44PM (#9228563)
fake hype; not from google:

> This is not an official Google product (experimental or otherwise), it is just code that happens to be owned by Google.

Re:GXUI – An experimental Go cross-platform UI library by coldtea on Wednesday March 18, 2015 @07:25PM (#9229304)
Well, it WAS started by Googlers, working at Google.

And it's not like officially sanctioned Google programs are not often crap.

Re:GXUI – An experimental Go cross-platform UI library by serf on Wednesday March 18, 2015 @07:02PM (#9229220)
google hype tactics : "This is just an experiment to test concept feasibility", "This is unfinished, please consider that.", "This isn't a product, it's an experiment.", "Oh, it's just a side project of some employees, ignore that google owns it."
Re:GXUI – An experimental Go cross-platform UI library by georgemcbay on Wednesday March 18, 2015 @10:44PM (#9229955)
Seems entirely reasonable for these disclaimers to exist given that while Go is a legitimately open source project separate from Google, it is still strongly associated with Google in people's minds (not too surprisingly considering how many of the core Go team work at Google) and thus it wouldn't be hard to imagine some people getting the wrong idea of this somehow being Google's (or the Go team's) "official" answer to UIs in Go.
Re:GXUI – An experimental Go cross-platform UI library by Dewie on Wednesday March 18, 2015 @07:12PM (#9229254)
Well at least the title here on HN doesn't mention Google.
Re:GXUI – An experimental Go cross-platform UI library by vruiz on Wednesday March 18, 2015 @07:19PM (#9229279)
It did before, that was my bad. For me it makes a difference, even if they decline responsibility. Maybe they put it in the official account just to test the reception, and I for one would welcome an officially backed IU Go library with open arms.
Re:GXUI – An experimental Go cross-platform UI library by mseepgood on Wednesday March 18, 2015 @07:30PM (#9229324)
There are many 20% time hobby projects by Googlers hosted on the /google GitHub account. Don't read to much into it.