Live data from Hacker News

GitHub Actions is my new favorite free programming tool [video]

bytesized.xyz

111–120 of 134 posts

Re: GitHub Actions is my new favorite free programming tool [video]

#111
post #12

I had to setup CI for a GitHub open source project recently, and decided to give GitHub Actions a try. I have to say it's pretty nice to have the CI directly handled by GH (GitLab has been doing it for years, I know...). I hope it's gonna help some open source projects to easily add CI validations to their PR workflow. That being said, there was only Ubuntu images for the Linux builds, and I'm not aware of a way to r…

Indeed, GitHub Actions only has ubuntu virtual machines, but you can run a custom container with the `jobs. .container` specifier.

Actually it' s possible to do react native builds on OS X as well: https://medium.com/@jonnyburger/first-look-using-github-acti...

We've been experimenting with this and are using this to add some CI to our react native frontend.

Re: GitHub Actions is my new favorite free programming tool [video]

#112

Earlier quoted context omitted.

I am with you on this. It seems to be a new trend: “show users how to do a hello world” which was disregarded in the past... but somehow that turned into “instead of providing real documentation” rather than “in addition to.” It’s not just GitHub. There’s a language I (and the rest of HN) love that has adopted “story format” for documentation but is missing real, hard technical documentation apart from method-level c…

Someone please tell the Google Cloud Platform teams this. So many hello world examples which reek of, "I was told to write documentation but I really hate writing documentation". I mean this in good faith, I think writing documentation for a product you don't actually use is a miserable experience and I hope they can find a better balance... Writing documentation also seems to be a task you kick out to your junior de…

It's not their documentation that is bad, it's the architecture. Too many layers, and things glued together. Where you need to make additional abstractions just to make sense of it all, ending up with a million LOC just to copy something from A to B.

For example integrating support for Google Drive took months, where I ended up using a third party solution, and users are met with a big red warning about my app now being unknown. And the file system is laggy. Compared to integrating Dropbox which took three days and just works. Google Drive probably have thousands of pages of documentation. While Dropbox have one or two.

Re: GitHub Actions is my new favorite free programming tool [video]

#113

Earlier quoted context omitted.

I am with you on this. It seems to be a new trend: “show users how to do a hello world” which was disregarded in the past... but somehow that turned into “instead of providing real documentation” rather than “in addition to.” It’s not just GitHub. There’s a language I (and the rest of HN) love that has adopted “story format” for documentation but is missing real, hard technical documentation apart from method-level c…

Being fairly new to Python the "story format" of the documentation is one of the most frustrating things. "This package is really good. Here is an example. This feature is cool! This other feature solves a common problem. Here is a list of some of the functions."

I agree with this.

I haven't done any substantial Java work in probably 8 years and I still miss the JDK docs.

Re: GitHub Actions is my new favorite free programming tool [video]

#114
post #72
post #13

I have spent the last two days fighting with these new Github tools. I've been trying to do a simple Hello-World Maven app, built on Github Actions and deployed to Github Packages. It does not work. Github documentation is a disaster. They leave out critical parts. They don't provide examples. Everything they write is terse, confusing, and incomplete. They have short little articles on how to do things, and for each…

Sorry you've been fighting this. We're actively working on the documentation as well as improving the setup workflows for Actions which should alleviate lots of this pain. Those one line snippets are likely going to be taken down, most systems are too complicated for those to work. It looks nice for a couple package systems but that Maven one is obviously flawed. I'd be happy to help you dig through whatever you're t…

I am fighting with packages, too. My desire to move a package to another repo still is unanswered. No help via forum or my support requests.

https://github.community/t5/How-to-use-Git-and-GitHub/Move-N...

Re: GitHub Actions is my new favorite free programming tool [video]

#115
Free? We are a paying Org and pushed a few test docker images (built via Actions) to the new Packages (aka GH docker registry) and you have just 2GB really free (well, included in your plan). Then you have to pay extra. We have like 80 accounts, already paying a lot of $$$ to GH and they give you 10000 minutes of free Actions - which is cool - but ONLY 2 freaking gigabytes of storage for free??

Re: GitHub Actions is my new favorite free programming tool [video]

#116
post #72

Earlier quoted context omitted.

Sorry you've been fighting this. We're actively working on the documentation as well as improving the setup workflows for Actions which should alleviate lots of this pain. Those one line snippets are likely going to be taken down, most systems are too complicated for those to work. It looks nice for a couple package systems but that Maven one is obviously flawed. I'd be happy to help you dig through whatever you're t…

Hi there! Could I also ask for some documentation on the proper way to get a Windows CI system that has popular software (like Clang, MSYS2, etc.)? I know you can install these via NuGet, but it has a habit of failing a ton randomly (503 server error or other random stuff) and having to install each tool on every build slows things down a ton. I assume there must exist images that already have these? (This has been a…

wxFormBuilder uses GitHub Actions for its MSYS2 Windows build: https://github.com/wxFormBuilder/wxFormBuilder/tree/master/....

Re: GitHub Actions is my new favorite free programming tool [video]

#117

Github actions is nice but I think they go to wrong direction. The way they work is you are given an image then you have to use a thing call Github action, which basically just to extract out into YAML to define a certain steps for install any dependencies, execute shell script ... I don't know why they didn't allow us to use any docker image we want so we don't have to waste time to use actions to install dependenci…

If you want to run within a container so that you don't have to install dependencies, that's no problem. Just specify it as `jobs. .container`. GitHub Actions will download and start that container, and any `run` commands that you specify within that job will run within that container. Without that, they'll run directly on the virtual machine that you specify.

> Just specify it as `jobs..container`.

I don't know what this means. Are there any examples?

Running in a container is the one big thing I'm missing and couldn't find any documentation about.

Re: GitHub Actions is my new favorite free programming tool [video]

#118
post #62

Earlier quoted context omitted.

What is the difference between a tutorial and a how-to guide?

if you read the link he gave, it has a really good description of each... but to summarize... A tutorial: - is learning-oriented - allows the newcomer to get started - is a lesson A how-to guide: - is goal-oriented - shows how to solve a specific problem - is a series of steps

And as an example, Don't list how to install node.js, npm packages and ENV settings in your HAPI server tutorial

Re: GitHub Actions is my new favorite free programming tool [video]

#119
post #116

Earlier quoted context omitted.

Hi there! Could I also ask for some documentation on the proper way to get a Windows CI system that has popular software (like Clang, MSYS2, etc.)? I know you can install these via NuGet, but it has a habit of failing a ton randomly (503 server error or other random stuff) and having to install each tool on every build slows things down a ton. I assume there must exist images that already have these? (This has been a…

wxFormBuilder uses GitHub Actions for its MSYS2 Windows build: https://github.com/wxFormBuilder/wxFormBuilder/tree/master/....

Oh man, I forgot I tried numworks/setup-msys2 earlier but I ran into some issue. I think my IP address was blocked or something for some bizarre reason (I wasn't doing anything funny...), but I'll give it a shot again, thanks.

Re: GitHub Actions is my new favorite free programming tool [video]

#120

Github actions is nice but I think they go to wrong direction. The way they work is you are given an image then you have to use a thing call Github action, which basically just to extract out into YAML to define a certain steps for install any dependencies, execute shell script ... I don't know why they didn't allow us to use any docker image we want so we don't have to waste time to use actions to install dependenci…

We use Buddy: https://buddy.works/ Each step of a pipeline is just a docker container of your choice and running whatever commands you want with a persistent workspace volume throughout the pipeline. There's a few others that work this way like Semaphore, Drone CI, GoCD, CircleCI, Azure Devops but none are as fast, seamless and easy as Buddy.

Your link blasts a song on click
Post reply on HN