Search found 4853 matches
- Fri 06 Mar 2020, 22:45
- Forum: Programming
- Topic: SDL 1.2.15 versus SDL 2.x
- Replies: 6
- Views: 2163
Have you tried building SDL programs with DirectFB or nano-x backends? They don't require you to have X Windows on your system. SDL 1.2.15 had good support for Linux framebuffer as well, but SDL 2.x doesn't have that option. I used to maintain a fork of SDL2 for the linux framebuffer, until the kms...
- Mon 02 Mar 2020, 06:11
- Forum: Programming
- Topic: SDL 1.2.15 versus SDL 2.x
- Replies: 6
- Views: 2163
The biggest difference for SDL2 is that the new more permissive license allows static builds. With musl libc and tinyx, that allows you to build apps with no dependencies that are sometimes smaller than the shared lib versions with dynamic gnu libc and xlib. This is because the compiler and linker c...
- Sat 08 Feb 2020, 03:19
- Forum: Programming
- Topic: Speech-to-text app for PyTorch?
- Replies: 6
- Views: 1674
Espeak is text to speech... thought the original question was speech to text. There are plenty of python bindings for pocket sphinx but I can't recommend a specific project since I have only used it in C directly. Hopefully the python bindings have simplified it a bit because the C ABI is almost too...
- Wed 05 Feb 2020, 01:59
- Forum: Programming
- Topic: Speech-to-text app for PyTorch?
- Replies: 6
- Views: 1674
Carnegie Mellon has/had great speech speech synthesis and recognizition tools. I am most familiar with their Flite ( text2speech ) and pocket-sphinx ( speech2text )utilities. They're pretty light and have permissive licenses and c bindings which makes them useable in nearly any programming language.
- Tue 04 Feb 2020, 00:32
- Forum: Programming
- Topic: CGI scripts with busybox httpd
- Replies: 26
- Views: 17100
- Mon 20 Jan 2020, 06:21
- Forum: Programming
- Topic: How to parse a m3u file with dmenu? (Solved)
- Replies: 2
- Views: 1075
- Wed 20 Nov 2019, 03:09
- Forum: Programming
- Topic: cli relational database
- Replies: 16
- Views: 4245
Reminded me of this old thread
http://www.murga-linux.com/puppy/viewtopic.php?t=86146
Where I demonstrated 1 way to use your filesystem as a database using only a shell script... just a proof of concept
http://www.murga-linux.com/puppy/viewtopic.php?t=86146
Where I demonstrated 1 way to use your filesystem as a database using only a shell script... just a proof of concept
- Fri 01 Nov 2019, 15:22
- Forum: Beginners Help ( Start Here)
- Topic: SEARCHING; Ways to search the forum for problems/solutions
- Replies: 107
- Views: 330918
I use google to search the forum. Just append site:murga-linux.com to the search criteria i.e. searched for text site:murga-linux.com Unfortunately google ignores everything inside code blocks... unfortunately half of the comments that I may want to google are in code. We really need to upgrade the...
- Wed 23 Oct 2019, 01:44
- Forum: Programming
- Topic: How to put a progress bar in dir2sfs? (Solved)
- Replies: 51
- Views: 15950
I'd suggest including lz4 compression also. Very fast (but relatively poor compression). lz4 -Xhc tends to be more like gzip for compression, but is slower (relatively speaking), so not really worth including that IMO when gzip is available (unless you want very fast decompression also), just the s...
- Tue 15 Oct 2019, 03:33
- Forum: Truly off-topic conversations
- Topic: Who is this in the audience?
- Replies: 4
- Views: 484
- Sun 06 Oct 2019, 00:17
- Forum: HOWTO ( Solutions )
- Topic: Updating Widevine for Puppy - a guide
- Replies: 5
- Views: 2214
- Sat 05 Oct 2019, 21:05
- Forum: HOWTO ( Solutions )
- Topic: Updating Widevine for Puppy - a guide
- Replies: 5
- Views: 2214
- Sat 05 Oct 2019, 20:56
- Forum: Truly off-topic conversations
- Topic: solar distillers
- Replies: 2
- Views: 401
Note: if you can prefilter fresh water, you can probably also use this to sanitize it with UV and heat to a great extent without losing all the minerals in a much shorter time. You can make your own filter using a plastic bottle, cloth, charcoal, sand and rocks. Is anyone interested in premade porta...
- Sat 05 Oct 2019, 06:59
- Forum: Truly off-topic conversations
- Topic: solar distillers
- Replies: 2
- Views: 401
solar distillers
I was checking out Barry's blog and his solar still project reminded me that I once made a solar still using a couple of old chip/crisp bags (the inside is reflective) a black garbage bag (dirty water side) and duct tape (rolled into hose). It occurred to me that if done properly, my old hack could ...
- Mon 23 Sep 2019, 06:54
- Forum: Programming
- Topic: unsorted C snippets for small/fast static apps
- Replies: 60
- Views: 50884
Some practice porting C code to use vector extensions (from https://github.com/easyaspi314/xxhash-clean/blob/master/xxhash32-ref.c ) #include <stddef.h> /* size_t, NULL */ #include <stdint.h> /* uint8_t, uint32_t */ typedef uint32_t __attribute__ ((__vector_size__ (16))) u32x4t; #define PRIME32_1 0x...
- Sat 21 Sep 2019, 16:45
- Forum: Programming
- Topic: AWK: match($2,/^(.*[^:digit:])([:digit:]*$|$)/,pkg_split)
- Replies: 9
- Views: 2499
As MochiMoppel has pointed out, you definitely need additional square brackets here. [^:digit:] is the same as [^:dgit] and it matches anything but 'g' and the other four characters. So, if all you want to match is something like AAANNN where A is not a digit and N is, then this will do: /([^0-9]+)...
- Sat 21 Sep 2019, 04:25
- Forum: Programming
- Topic: AWK: match($2,/^(.*[^:digit:])([:digit:]*$|$)/,pkg_split)
- Replies: 9
- Views: 2499
It may save you some time to test it here:
https://regex101.com/
When you use parens, you can usually print out the matches with \N for debugging (where N is the Nth set of parens), I don't recall how to do it in awk though.
https://regex101.com/
When you use parens, you can usually print out the matches with \N for debugging (where N is the Nth set of parens), I don't recall how to do it in awk though.
- Fri 20 Sep 2019, 05:00
- Forum: Programming
- Topic: Development of 'trans_tray' (translation program)
- Replies: 103
- Views: 26343
Where is the microphone icon for input / text? Pocket Sphinx and the speaker icon for translation? Espeak or Flite I had a thread with pocket sphinx continuous and associated bash helpers, but the binary itself got lost when the forum lowered the limit on file size. Fred's experiments with sound se...
- Sun 08 Sep 2019, 09:52
- Forum: Programming
- Topic: Development of 'trans_tray' (translation program)
- Replies: 103
- Views: 26343
- Thu 08 Aug 2019, 23:28
- Forum: Truly off-topic conversations
- Topic: REUSE makes copyright and licensing easier than ever
- Replies: 2
- Views: 150
There is no question on the re-usability of 0BSD, CC0, unlicense, WTFPL or similar public domain dedication. MIT, ISC and BSD have minimal requirements. Only crap from the FSF makes it require an organization with a staff of lawyers to ensure compliance. Any license that is shitty enough that contri...