Search found 299 matches

by puppy_apprentice
Wed 23 Jan 2019, 17:48
Forum: Hardware
Topic: Which Puppy for machine with Celeron N3050 CPU/GPU?
Replies: 20
Views: 12186

I would use Pup-Sysinfo as the one that is more accurate. BIOS shows the same temperature for CPU. One looks like it is reading the internal computer temp sensor. Temperature in my room is 3 degrees less than the one in the tray, so yep maybe it is temperature of the box. Anti-aliasing turned on is...
by puppy_apprentice
Mon 21 Jan 2019, 22:22
Forum: Hardware
Topic: Which Puppy for machine with Celeron N3050 CPU/GPU?
Replies: 20
Views: 12186

Tested: Xenial64 7.5 The good: 64bit version see whole 4GB ram (screenshot 1). The bad: Some buttons have sometimes unreadable labels (screenshot 3 and 4). But if antialiasing is turned on everything seems ok. I didn't noticed this on Slacko64 6.3.2. Maybe this is problem with Intel driver? Again qu...
by puppy_apprentice
Mon 21 Jan 2019, 21:39
Forum: Suggestions
Topic: Suggestion for kernel packages
Replies: 0
Views: 2089

Suggestion for kernel packages

At https://distro.ibiblio.org/puppylinux/huge_kernels/ we have various kernels. Is huge-3.12.21-slacko4G-i686.tar.bz2 kernel is for Slacko 5.7 ? I think it is, but if we can add to kernel packages small info file with adequate Puppy version and solution how to switch kernel to this in package or rol...
by puppy_apprentice
Mon 21 Jan 2019, 21:12
Forum: Hardware
Topic: Which Puppy for machine with Celeron N3050 CPU/GPU?
Replies: 20
Views: 12186

Tested: Xenial32 7.5 Two questions: 1) I have 4GB ram but TOTAL in free and top is 2GB or i'm wrong (see screenshot)? Found some info: It's just that a single app won't be able to make use of it at once. More there: https://en.wikipedia.org/wiki/2_GB_limit So top only can use 2GB and showing only th...
by puppy_apprentice
Wed 16 Jan 2019, 11:33
Forum: Programming
Topic: detect all installed packages that require X
Replies: 16
Views: 4051

foxpup wrote:Does it even (still) exist, a distro without X?
Some distros have version called Core. It will be nice to have PuppyCore that will act only as eg. NAS, web server and etc. It could have even a web interface to launch some stuff or control firewall from other machine.
by puppy_apprentice
Tue 15 Jan 2019, 21:08
Forum: Hardware
Topic: Which Puppy for machine with Celeron N3050 CPU/GPU?
Replies: 20
Views: 12186

I've tested those Puppies:

Slacko 5.7
Works only in terminal mode.

Slacko 5.7.1
Works only in terminal mode.

Slacko 6.3
Works only in terminal mode.

Slacko64 6.3.2
Didn't boot to desktop out-of-box. Got errors with Intel driver. I had to use modesetting driver in xorgwizard.
by puppy_apprentice
Tue 08 Jan 2019, 07:26
Forum: Hardware
Topic: Which Puppy for machine with Celeron N3050 CPU/GPU?
Replies: 20
Views: 12186

Ok and thx.

I was afraid of internal Intel GPU chipset. I've read that ATI/NVIDIA are better supported in Linux.

Kernels ver. > 4 should works. N3050 is from 2015 so i think that Puppies made after that year should work.
by puppy_apprentice
Fri 04 Jan 2019, 20:22
Forum: Security
Topic: This forum and IP
Replies: 7
Views: 2404

Re: Thanks and suggestion

Always assuming the visitor who has logged into the forum doesn't use VPN nor a proxy: 1) Is login in enough for the IP to be detected or must the visitor post a message? 2) Do those who can detect the logged in visitor's IP must be on line at the same time as the visitor or they can delay the inve...
by puppy_apprentice
Wed 02 Jan 2019, 19:35
Forum: Programming
Topic: Simple script to adjust times for subtitles in SRT format
Replies: 12
Views: 3348

So the final version is: #!/bin/sh # srted.sh by puppy_apprentice, MochiMoppel, Flash and misko_2083 # simple script to adjust times for subtitles in SRT format # https://matroska.org/technical/specs/subtitles/srt.html # usage: srted.sh srtfile delta skip srtfile=$1 # file with subtitles in SRT form...
by puppy_apprentice
Sat 29 Dec 2018, 20:19
Forum: Programming
Topic: Simple script to adjust times for subtitles in SRT format
Replies: 12
Views: 3348

I didn't test it on my TV or any Linux or Windows player, but i think that milli/nano seconds should be rounded to three places after the comma to be consistent with specification.
by puppy_apprentice
Sat 29 Dec 2018, 08:41
Forum: System
Topic: Hard Disk Sentinel 32-bit Linux Edition (FREE)
Replies: 18
Views: 16799

I don't know why some people gets errors. I've don't tested 64bit version because i don't have 64bit chip. Maybe because of wrong .desktop file name? Should be: HDSentinel.desktop or something similar. With wrong named .deskop file you will lose Pdisk from menu. But you can still use it from console...
by puppy_apprentice
Sat 29 Dec 2018, 07:02
Forum: Programming
Topic: Simple script to adjust times for subtitles in SRT format
Replies: 12
Views: 3348

LOL. For 10 movies and subtitles for them worked fine. I had luck :)

I think that switching two lines is enough:

Code: Select all

line=${line/${line:17:8}/$(date +%T -d @$st)}
echo "${line/${line:0:8}/$(date +%T -d @$ft)}"
Thx for feedback.
by puppy_apprentice
Fri 28 Dec 2018, 11:57
Forum: Programming
Topic: Simple script to adjust times for subtitles in SRT format
Replies: 12
Views: 3348

Simple script to adjust times for subtitles in SRT format

I was showing some movies for my family on TV but noticed that subtitles aren't synchronized well with dialogs. So i've made a script: #!/bin/sh # srted.sh by puppy_apprentice # simple script to adjust times for subtitles in SRT format # https://matroska.org/technical/specs/subtitles/srt.html # usag...
by puppy_apprentice
Thu 20 Dec 2018, 07:57
Forum: Programming
Topic: How to read a variable/value from file? (Solved)
Replies: 11
Views: 3771

ITSMERSH wrote:So, you're a real C programmer...
No, i'm only curious person who like to know how things works.

Nice to hear that my code works ;)
by puppy_apprentice
Wed 19 Dec 2018, 06:29
Forum: Programming
Topic: How to read a variable/value from file? (Solved)
Replies: 11
Views: 3771

It was an example of technique not something ready to use ad hoc. #include <stdio.h> #include <string.h> #include <stdlib.h> //those two should be placed instead of #define ICON_HEIGHT 40 and #define ICON_WIDTH 40 #define MAX 255 int ICON_WIDTH, ICON_HEIGHT; //both are global now and will be reached...
by puppy_apprentice
Mon 17 Dec 2018, 20:56
Forum: Programming
Topic: How to read a variable/value from file? (Solved)
Replies: 11
Views: 3771

Try this: #include <stdio.h> #include <string.h> #define MAX 255 void get_params(char *name) { FILE *f; char line[MAX]; char delim[] = "="; char *parname = NULL; char *parvalue = NULL; f = fopen(name, "r"); if (f == NULL){ printf("\nWrong file name.\n\n"); return; } whi...
by puppy_apprentice
Thu 06 Dec 2018, 20:59
Forum: Programming
Topic: "This Week" script: in bash, awk, or whatever.
Replies: 96
Views: 23922

With little extra code it is possible to pull dates from a database and mark them in the calendar. These dates can be public holidays, birthdays, dentist appointments or whatever. I'm working on something similar with coloring done it this way (without curses it will be hard to make windows and men...
by puppy_apprentice
Fri 30 Nov 2018, 20:18
Forum: Programming
Topic: cal command alternatives
Replies: 45
Views: 17738

Please post sample code if you know how to do it. Ugly code. But you find an idea and could try to make better one: n=($(cal | head -2 | tail -1 | tr ' ' '\n')); echo " "${n[1]}" "${n[2]}" "${n[3]}" "${n[4]}" "${n[5]}" "${n[6]}" "...
by puppy_apprentice
Mon 26 Nov 2018, 08:10
Forum: Truly off-topic conversations
Topic: Climate report understates threat
Replies: 393
Views: 7672

this url is causing problems as far as putting the code on the forum: https://www.thelancet.com/journals/lancet/article/PIIS0140-6736(14)61130-2/fulltext?code=lancet-site You have to use HTML URL Encoding for ( and ): https://www.thelancet.com/journals/lancet/article/PIIS0140-6736%2814%2961130-2/fu...