Hacker Newsnew | past | comments | ask | show | jobs | submit | wwarek's commentslogin

About "new life", reminded me of phone booths in UK being reused as defibrillation stations:

https://nerdist.com/article/uk-red-phone-booths-defibrillati...


Communities can 'adopt' them for £1. Other uses include libraries or food bank donation points.

https://business.bt.com/public-sector/street-hubs/adopt-a-ki...


Beats letting them rot or turning them into novelty coffee stands. It's kinda cool how these relics are finding second lives in ways that actually help people


And even API available (for some forms of public transport): https://www.wienerlinien.at/ogd_realtime/doku/ogd/wienerlini...


For reusing pieces of existing pipelines I think `include` would be appropriate, especially `remote` variant:

https://docs.gitlab.com/ci/yaml/#includeremote


include:component is usually what you want now, you can version your components (Semver), add a nice readme and it is somewhat integrated in the gitlab UI. Not sure about the other include: ones, but you can also define inputs for component and use them at arbitrary places like template variables.

Since the integration is done statically, it means gitlab can provide you a view of the pipeline script _after_ all components were included, but without actually running it.

We are using this and it is so nice to set up. I have a lot of gripes with other gitlab features (e.g. environments, esp. protected ones and their package registry) but this is one they nailed so far.


Doesn't include:component still require all your shell script to be written inside YAML? or is there a way to move the logic to a, for instance, .sh file and call it from YAML?


I realize this may be splitting hairs, but pedantically there's nothing in GitLab CI's model that requires shell; it is, as best I can tell, 100% docker image based. The most common setup is to use "script:" (or its "before_script:" and "after_script:" friends) but if you wanted to write your pipeline job in brainfuck, you could have your job be { image: example.com/brainfuckery:1, script: "" } and no shell required[1]

1: although TIL that the "script:" field itself is actually required in GLCI https://docs.gitlab.com/ci/yaml/#script


Covered nicely by Tom Scott some time ago: https://youtu.be/i0RkEs3Xwf0


Weirdly enough that's about a completely different water treatment plant in a different part of the country.


Several Polish cities got that systems. It may sound unusual, but it is pragmatic system.

Poland during cold war was suppose to be battleground and protecting water supply is hard. Many traditional systems have some gaps.



It's more precise than landing on the ground, there is coordination with the tower required, it is way bigger than Falcon 9.

This video goes into details pretty well: https://m.youtube.com/watch?v=OYvWYp0--bQ&t=832s


fyi all links return 404


"Z" is used by Russia in the invasion of the Ukraine:

https://en.m.wikipedia.org/wiki/Z_(military_symbol)



Warning: Hairy nutsack of truth


Right? Also much faster than, I guess, scrolling with mouse through some menus


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: