Search found 4853 matches

by technosaurus
Mon 07 May 2018, 21:39
Forum: Truly off-topic conversations
Topic: U.S. tax code
Replies: 18
Views: 441

basic microeconomics 101 Each job can produce 10 more indirectly. Basic mathematics: The above *cannot be true* in any finite economy. Its not an infinite economy, but 7 billion people in the global economy is close enough that even long double couldn't differentiate. If ttuuxxxx earns 100 and spen...
by technosaurus
Mon 07 May 2018, 06:04
Forum: Truly off-topic conversations
Topic: U.S. tax code
Replies: 18
Views: 441

6502coder wrote:
WIckedWitch wrote:At the risk of offending Americans here, I'm slightly inclined to say that American English is itself unnecessarily verbose.
Er.....

UK:
"I refer the right honorable gentleman to the response I gave some moments ago."

US:
"Already answered that."

:)
aluminium
by technosaurus
Mon 07 May 2018, 03:38
Forum: Utilities
Topic: Easy linux - Right click utilities
Replies: 7
Views: 4979

I started to write a similar utility for all mime types (generated by the same tool as the menu), but eventually came to the conclusion that the desktop icon spec needs a way to be able to determine if an app can only read files of a particular type or if can also write them, soas to distinguish bet...
by technosaurus
Mon 07 May 2018, 02:36
Forum: Truly off-topic conversations
Topic: U.S. tax code
Replies: 18
Views: 441

It is amazing how easily you dismiss all the jobs the "megabucks" company provides...and the income for the employees....and the taxes those employees pay...and the flow of money into the businesses frequented by the employees...and so on... And you didn't address the fact that the increa...
by technosaurus
Mon 07 May 2018, 00:34
Forum: Truly off-topic conversations
Topic: A different approach to Canada
Replies: 26
Views: 582

That is not what I said. Doctors should earn a reasonable salary, but certainly not 20 times the minimum wage (~ CAD$13 /hr here as I write these lines). Let's do the math. Up front cost for minimum wage job: * $0 (all primary/secondary education is free, including some trades) * 0 time (can even d...
by technosaurus
Sat 05 May 2018, 23:14
Forum: Programming
Topic: Best way to catalogue menu items?
Replies: 8
Views: 2370

Speaking of Rox though, if we used Rox-directories with .DirIcon for the categories (and optionally subcategories) which contain links to the corresponding *.desktop files, we could have a "Menu" that is more usable for users that have trouble manipulating the mouse for traditional menus (...
by technosaurus
Thu 03 May 2018, 12:00
Forum: Programming
Topic: Best way to catalogue menu items?
Replies: 8
Views: 2370

My categories and subcategories were based on the xdg specs... Xdg groups them. I stopped trying to be compatible with puppy apps that ignore the specs and meant to intentionally break misbehaving apps to get them fixed. I also localized the menu from the desktop files, but it only helps if the upst...
by technosaurus
Thu 03 May 2018, 06:22
Forum: Programming
Topic: Best way to catalogue menu items?
Replies: 8
Views: 2370

http://murga-linux.com/puppy/viewtopic.php?t=70804
I ran into that idiocy when doing jwm tools ... See link above.
by technosaurus
Sat 28 Apr 2018, 04:12
Forum: Cutting edge
Topic: Developing FirstRUN for Puppy CD's initial boot
Replies: 62
Views: 42270

That would fit on a floppy disk from 1987 ! Have you considered adding this project to a github repo? Actually the 5.25" HD floppies from 1982 would probably work. I started doing a rewrite as PLiNG but I am busy working on other projects at the moment. Fortunately I documented things first as...
by technosaurus
Sat 28 Apr 2018, 03:09
Forum: Puppy Projects
Topic: Speed Boot - Fastest Linux OS
Replies: 6
Views: 4201

I once did an experimental build called microsaurus . It used Xvesa, jwm, rxvt and a small shell with a minimal kernel and custom init written in C. Boot time: ~ 0.5s Total compressed size: ~ 1Mb RAM usage with X, jwm and rxvt running ~3Mb (5Mb with background image) Limitations: everything else - T...
by technosaurus
Mon 23 Apr 2018, 07:53
Forum: Programming
Topic: Bind & Link a Save File using Bash into a Running Puppy
Replies: 9
Views: 3616

I think tiny core Linux does this.
by technosaurus
Thu 19 Apr 2018, 23:49
Forum: Programming
Topic: unsorted C snippets for small/fast static apps
Replies: 60
Views: 50902

Back when C11 came around, I thought _Generic expressions would bring some of the power of templating of more bloated languages to C but due to the legacy of the C pre-processor, this step is done after the preprocessing phase so it can't effectively use macros internally, so it is pretty damn usele...
by technosaurus
Sat 14 Apr 2018, 01:31
Forum: Cutting edge
Topic: How many scripts are there in Puppy?
Replies: 16
Views: 5998

1 Noooohhh, you don't say!!!... Pulling our leg, are you, technosaurus!!! :lol: My guess: the init No need to guess, follow the link where I demonstrate how to combine multiple scripts into 1 the way busybox does it (only in shell instead of C - thus the name bashbox). A single large shell script i...
by technosaurus
Fri 13 Apr 2018, 05:13
Forum: Cutting edge
Topic: How many scripts are there in Puppy?
Replies: 16
Views: 5998

bigpup wrote:How many scripts does it take to make it a Puppy Linux OS :?:
1
by technosaurus
Fri 13 Apr 2018, 05:10
Forum: Cutting edge
Topic: Ideal ratio between size of pupsave and size of RAM?
Replies: 34
Views: 8432

There are so many variations of init in the various puplets, the only way to know is to read the /init in your initrd. IIRC, though most of them reserve half of the available RAM for /tmp and/or /dev/shm. Some newer pups also set up some of the ram as compressed RAM. @drunkjedi, FWIW if you are goin...
by technosaurus
Sun 08 Apr 2018, 01:04
Forum: Programming
Topic: GtkDialog - tips
Replies: 1504
Views: 911785

In case anyone is interested in adding some graphics to bash scripts:
https://developers.slashdot.org/story/1 ... s-for-bash
by technosaurus
Wed 28 Mar 2018, 20:41
Forum: Truly off-topic conversations
Topic: Elon Musk's dreams are a nightmare for US taxpayers
Replies: 72
Views: 1950

Tesla (Nicola) once made an wireless AC powered car while he was in Colorado. LIke many of his inventions, he never brought it to commercial market ... most because he hadn't invented an AC battery or super capacitor. His work at Wardencliff to advance wireless AC got shutdown by his investors becau...
by technosaurus
Thu 22 Mar 2018, 23:24
Forum: Programming
Topic: GNU xhippo-3.5 to xhippo_lite, testing
Replies: 8
Views: 2324

IIRC, Goingnuts did some work on xhippo, probably in the pupngo thread....most likely for gtk1 though in case you are interested.
by technosaurus
Sun 25 Feb 2018, 04:39
Forum: Programming
Topic: Building MMview, a universal file viewer
Replies: 347
Views: 155569

Can you post a tar.gz of the file... It may just have a stray non-ascii character.
by technosaurus
Fri 23 Feb 2018, 16:11
Forum: Programming
Topic: A simple way to detect an odd or even number in bash
Replies: 25
Views: 5634

The function requires curly braces. It can be any compound statement which also includes a subshell " ( ... ) " in Posix and " [[ ... ]] " in bash, ksh (since 1988) and any modern shell including busybox and just about everything but dash. I didn't realize that even with " ...