Sponsored Content
The Lounge What is on Your Mind? Popularity-Boost for the POSIX-Shell in the Era of Containerized Computing? Post 303028311 by stomp on Friday 4th of January 2019 08:17:28 AM
Old 01-04-2019
Popularity-Boost for the POSIX-Shell in the Era of Containerized Computing?

Not even thinking that POSIX-Shell is deprecated, but I like working with bash very much, because of it's increased comfort and advanced functions. And in my world here it's available everywhere as default.

Working with kubernetes now, it seems there is a paradigm shift in terms of resources. Small is beautiful is one old and new slogan here. Faster to backup, Faster to set up, Less I/O. A popular linux distribution for containers is alpine linux: Default Installed Image size: ~5 MB. Based on busybox and musl.

With kubernetes(or with other container technology) you can use resources far more effectively and that's why small resource footprint gains you really much in terms of how many applications can I run on the cluster?

Want to install bash? Nearly Triples space usage of that whole system. So size really matters...

Debian/Ubuntu docker base images are at 80-120 MB with my final app images(small apps) around 200-400 MB.
 

9 More Discussions You Might Find Interesting

1. Virtualization and Cloud Computing

Event Cloud Computing - IBM Turning Data Centers Into ?Computing Cloud?

Tim Bass Thu, 15 Nov 2007 23:55:07 +0000 *I predict we may experience less*debates*on the use of the term “event cloud”*related to*CEP in the future, now that both IBM and Google* have made announcements about “cloud computing” and “computing cloud”, IBM Turning Data Centers Into ‘Computing... (0 Replies)
Discussion started by: Linux Bot
0 Replies

2. Solaris

SunOS Popularity

Hey guys 3rd thred!!! :b: Anyways. I was looking into SunOS (Solaris/OpenSolaris) And i couldnt find anything about its popularity? Does this mean its not a very popular operating system? If not can you please post the link to your source. Thx -Megadrink :cool: (15 Replies)
Discussion started by: Megadrink
15 Replies

3. Solaris

boost thread not accessible to boost::move error

Hi All I am working unders Sun Solaris and I am not "/opt/boost/boost/thread/detail/thread.hpp", line 344: Error: boost::thread::thread(boost::thread&) is not accessible from boost::move(boost::detail::thread_move_t<boost::thread>). Do you know if there are other solutions other than... (2 Replies)
Discussion started by: manustone
2 Replies

4. Shell Programming and Scripting

Logical expression in POSIX compliant Korn Shell

Hi, i want to check if a variable var1 is not a or b or c pseudo code: If NOT (var1 = a or var1 = b or var1 = c) then ... fi I want to use POSIX complaint Korn shell, and for string comparison For the following code, logical.sh #!/usr/bin/ksh var="j" echo "Var : $var" if ! { || ||... (12 Replies)
Discussion started by: ysrini
12 Replies

5. Shell Programming and Scripting

Is Rule 7 of POSIX shell grammar rules written correctly?

The POSIX shell standard grammar rules are at Shell Command Language I am trying to understand Rule 7 and I don't. I think there may be some mistakes there. I am not complaining about the standard; rather, I am concerned that my perception is wrong, and I don't understand something important.... (3 Replies)
Discussion started by: Mark_Galeck
3 Replies

6. Shell Programming and Scripting

Pure POSIX shell scripting...

Hi all... This is more of a concensus question than help... As many of you know I am experimenting with the limitations of Pure POSIX shell scripting. Q: Is the directory /bin considered part of the Pure POSIX shell or must I stick entirely with the builtins only? The reason is I... (2 Replies)
Discussion started by: wisecracker
2 Replies

7. Shell Programming and Scripting

Equivalent to let command in POSIX shell

Hi all, I am learning POSIX shell programming, and the book I read, uses the let command for integer arithmetic. I have downloaded and use the shellcheck program on Linux. This programs says: In POSIX sh, 'let' is undefined. See the screenshot attached. What is the POSIX... (1 Reply)
Discussion started by: johnprogrammer
1 Replies

8. Shell Programming and Scripting

Q: Is SQRT(n) possible in a POSIX compliant shell? A: Yes within limits.

Hi all... This is just a fun project to see if it is possible to get a square root of a positive integer from 1 to 9200000 to 6 decimal places on a 64 bit architecture machine. It is coded around dash and the results show the values from 0 to 10000. Complex numbers can easily be catered for by... (3 Replies)
Discussion started by: wisecracker
3 Replies

9. OS X (Apple)

Generate a random number in a fully POSIX compliant shell, 'dash'...

Hi all... Apologies for any typos, etc... This took a while but it didn't beat me... Although there are many methods of generating random numbers in a POSIX shell this uses integer maths and a simple C source to create an executable to get epoch to microseconds accuracy if it is needed. I take... (8 Replies)
Discussion started by: wisecracker
8 Replies
XFIREWORKS(6)							   Games Manual 						     XFIREWORKS(6)

NAME
XFireworks - Fireworks in the root window on X. SYNOPSIS
xfireworks [ options ] DESCRIPTION
XFireworks makes fireworks in the root window on X. This is imitation of Japanese "Hanabi Taikai". It is very popular event in Japanese summer and performed on some rivers. Sumidagawa River's Hanabi Taikai is very popular. The author has seen Arakawa River's Hanabi Taikai every year. OPTIONS
-h, -help Output help messages. -display [displayname] The name of the X server to use. -bg, -background, -background-color [color name] Background color of the root window. -f, -file [filename] The name of the file to configure fireworks. Default configure file is ./xfireworks.conf -wait [wait time] Wait time for micro seconds. -fine [number] Steps of moving pieces of fireworks for percent. Default value is 100. If this value is small, xfireworks runs quickly and speedy. -gradation [number] Color gradation. Default value is 16. If color gradation is a little, colors are shared, memory of X server and xfireworks are saved, and xfireworks starts up quickly. -direct-draw XFireworks draw fireworks in the root window directly. (Default) -no-direct-draw XFireworks draw fireworks in a pixmap and copy it to the root window as a background pixmap. If xfireworks don't run properly or you want to run XFireworks as a background pixmap, try this option. -probability, -probability-magnification [number] Magnification of probability of performing fireworks for percent. Default value is 100. If this value is small, fireworks is very silent. If this value is large, fireworks is very loud. -size, -size-magnification [number] Magnification of size of pieces for percent. Default value is 100. -air, -air-magnification [number] Magnification of air resistance for percent. Default value is 100. -gravity, -gravity-magnification [number] Magnification of gravity for percent. Default value is 100. -transmission, -transmission-magnification [number] Magnification of velocity transmission for percent. Default value is 100. -after-image, -after-image-magnification [number] Magnification of after images length for percent. Default value is 100. If this value is large, length of after images is very long. -color-length, -color-length-magnification [number] Magnification of color change length for percent. Default value is 100. -next-power, -next-power-magnification [number] Magnification of pieces explosion power for percent. Default value is 100. -next-number, -next-number-magnification [number] Magnification of the number of pieces for percent. Default value is 100. If this value is small, fireworks is very silent. If this value is large, fireworks is very loud. EXAMPLES
If your machine is very slow, try > xfireworks -fine 75 -after-image 75 If your machine has less colors, try > xfireworks -gradation 5 XFireworks use 5x5x5=125 colors. If you have very high spec machine, try > xfireworks -fine 200 -after-image 150 -gradation 64 -wait 10000 If you like simple fireworks (it's Japanese "Wabi Sabi"), try > xfireworks -probability 50 If you like loud fireworks, try > xfireworks -probability 500 -after-image 200 -next-number 120 If xfireworks don't run properly, try > xfireworks -direct-draw or > xfireworks -no-direct-draw SEE ALSO
X(1) FILES
./xfireworks.conf, /usr/lib/games/xfireworks/xfireworks.conf The default file to configure XFireworks. XFireworks search the configuration file in the current directry at first. If not exist, second, XFireworks search "<XRoot>/lib/X11/XFire- works". If not exist, XFireworks use the default data in itself at last. You can get the newest xfireworks.conf from the web page of XFireworks. The newest xfireworks.conf has more kinds of fireworks and is more beautiful. Q AND A
Q. All of fireworks are white. A. Your machine have less colors. Use -gradation option and decrease the number of colors to use. Q. If I use gmc (GNOME file manager), xfireworks runs very slow. A. Try -no-direct-draw option. Q. I want to put fireworks on the root window as a background picture. But, if I stop xfireworks with Ctrl-C, the root window is cleaned. A. Try -no-direct-draw option. If you run xfireworks with -no-direct-draw option, xfireworks don't clean the root window when you stop xfire- works. Q. If I use xfireworks with -fine 500 -after-image 500 options, movements of fireworks are not smoothly. A. Try -no-direct-draw option. If you run xfireworks with -no-direct-draw option, xfireworks draw fireworks on a pixmap and copy it to the root window, and movements of fireworks are smoothly. Q. I want to see more beautiful fireworks! A. Access the XFireworks's web page and download the newest xfireworks.conf. Q. I want to make my original fireworks! A. Edit xfireworks.conf. If you make more beautiful fireworks, please send it to the author. AUTHOR
Programed by SAKAI Hiroaki. E-Mail: sakai@seki.ee.kagu.sut.ac.jp, hsakai@pfu.co.jp Web site: http://www.seki.ee.kagu.sut.ac.jp/~sakai/myfreesoft/index.html Mirror site: http://hp.vector.co.jp/authors/VA014157/myfreesoft/index.html http://www.people.or.jp/~hsakai/myfreesoft/index.html If you want the newest xfireworks.conf, access these web pages. SPECIAL THANKS
Hashimoto Jun for many advices and test on Linux. Simosako Akira for test on Linux and many informations. Koga Kazuhiro for test on Linux. Umehara Taro for test on FreeBSD. Morimi Asuka for many advices. COPYRIGHT
XFireworks Copyright (c) 2000 SAKAI Hiroaki. All Rights Reserved. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. X Version 11 Release 6 XFIREWORKS(6)
All times are GMT -4. The time now is 11:09 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy