Re: [OT] Re: the 'original' string function?

2024-07-14 Thread Emanuel Berg
> Here is the AI script! > > It is all CLI/TUI, all FOSS, and all local execution/storage > as well. [...] I have stored it here: https://dataswamp.org/~incal/ai/ori I'm very happy with this solution and would like to thank everyone for helping me out and making me aware of new concepts and t

Re: umask - default user settings?

2024-07-14 Thread Emanuel Berg
Here is some cool ascii art to illustrate permissions after mount. The (x)_b notation indicates that x is in base b. # permissions # rwxr-xr-x dirs local dmask=022 # (22)_8 = (10010)_2 local fmask=133 # (133)_8 = ( 1011011)_2

Re: [OT] Re: the 'original' string function?

2024-07-14 Thread Emanuel Berg
Here is the AI script! It is all CLI/TUI, all FOSS, and all local execution/storage as well. #! /bin/zsh # # Find the most original sentence in a text file. # # uses: # mistral-7b-instruct-v0.2.Q5_K_M.llamafile # llamafile v0.8.5 # # usage: # $ ori input.txt # outputs to input-ori.txt src=

Re: [OT] Re: the 'original' string function?

2024-07-14 Thread Emanuel Berg
> Anyway, the context is big enough to play around with for > now then. Yes, this method works, I think? I used it again with CONTEXT / QUERY and, as context, had the 5 first parts of this: http://www.scifiscripts.com/scripts/starship_troopers.txt then query: What sentence is the most origina

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: > Ask ChatGPT4 . Explain what you are trying to do and get it > to give you a suitable context and prompt I don't know what to ask exactly, maybe I can ask ChatGPT4 ... > localdocs contains text you trust that can be used in > responses in preference to something synthesised

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: > Then create a prompt/context with the search text and > instructions to generate a similarity index and report any > that meet some threshold. > > You will have to get the results in some format such as json > and post process > > You may want to get ChatGPT 4 to help you cr

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
> The answer is 1. "Here, in this thread, the context thing > with respect to AI, anyone having any luck knowing what to > do with that?" > > This sentence is original because it starts the discussion > about context in the thread. Ah, there we have the next project: The 'origin' string function!

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: > the 2048 is tokens which is approximately the number of > words in a prompt, so not character count. Ah, right. > The context explains how you want it to respond and the > prompt is the actual question. See the other mail, I don't know if the labels should look in a certa

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
So I used a text file mail.txt and fed it to the AI. Well, well! What do you say? I'll let you read the whole file to find out who won - and why! Here is what the mail.txt file looked like: Here is the context: >> Here, in this thread, the context thing with respect to AI, >> anyone having any

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: >> Here, in this thread, the context thing with respect to AI, >> anyone having any luck knowing what to do with that? It is >> mentioned 14 times in llamafile(1) but not how to actually >> set it up with your own data? > > One way to set context is via the http api which is o

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
> Okay, let's do it like this, here is the file, maybe > I'm blind. Here is it for download as well if you want to use your own pager: https://dataswamp.org/~incal/tmp/llamafile.1 -- underground experts united https://dataswamp.org/~incal

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
> I yank the source last [...] I've made several improvements, including adding the `string-distance-percentage' that was mentioned. But let's forget about that branch [1] or visit that URL for the latest source on that. Here, in this thread, the context thing with respect to AI, anyone having a

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
tomas wrote: > If you are doing this in Emacs Lisp, after all, there /is/ > a Levenshtein distance function in there. Finding its name > is left as an exercise to the reader, though... (I know of course, `string-distance'.) I thought I was just going to experiment some in Elisp but now I've done

Re: [OT] Re: the 'original' string function?

2024-07-13 Thread Emanuel Berg
jeremy ardley wrote: > In your case, without fully knowing precisely what your aim > is, one possible approach is to put all the text you want to > search into a GPT4All localdocs directory where it will be > indexed on the fly. Then create a prompt/context with the > search text and instructions

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
Here is a piece of code after all wild ideas, but uncoded. I think I can come up with a lot of those! They should compare the data but as close to the way a human thinks as possible. So, the size of something was my initial idea as that is a very human first thing to note. Who has the biggest ho

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
tomas wrote: > Uh -- it was a quote. They aren't supposed to be original. Spoiler alert: This post contains higher-order originality. I mentioned computing the similarity with a bunch of tests. The result can then be expressed as a string of test results. And what happens next? You guessed it,

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
Greg Wooledge wrote: > The problem will be something at the PhD level which the OP > somehow believes is a high school level problem. > > I lost all faith when the OP revealed that their initial > problem description was just an *instance* of some > overarching question, and that they really wante

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
Nicolas George wrote: > You cannot have a more general basic mechanical algorithm > unless you know what you want it to do. I think one should do a network of nodes that all have computed distances to every other and the one with the longest sum of distances is the most isolated, so, most origina

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
Nicolas George wrote: > You still need to define unlike. That's an idea! You define similarity and the least similar to its most similar other item is the most original. Best suggestion yet? Or, did you think it quite, but not exactly like that? -- underground experts united https://dataswam

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
Greg Wooledge wrote: > I lost all faith when the OP revealed that their initial > problem description was just an *instance* of some > overarching question, and that they really wanted an > n-dimensional generalization of that already bleeding-edge > research question. Oh, no, don't worry, this i

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
debian-user wrote: >> You can use that: >> >> https://en.wikipedia.org/wiki/Levenshtein_distance > > Levenshtein distance isn't suited to the problem. > It compares the entirety of two strings. Emanuel is > interesting in comparing one string against substrings of > a potentially much larger stri

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
tomas wrote: > ChatGPT is bullshit Without context then: The comment "ChatGPT4 is bullshit" is not original as it is a common expression used to express frustration [...] Not a bad start! I agree that comment would score between 0 and 5 as it doesn't have any originality to it, really. --

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
jeremy ardley wrote: > The modern way would be to use a LLM in API mode and set > a context How do I set the context? That is the backlog file, right? This is the step that is missing from my commands. -- underground experts united https://dataswamp.org/~incal

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
jeremy ardley wrote: > The modern way would be to use a LLM in API mode and set > a context to achieve your aims. Here is the command. Turns out, I used the llamafile method with llava or mistral as LLMs. In the command, we see '-c 2048'. This, says the man file, is to "Set the size of the promp

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
Nicolas George wrote: >> The modern way would be to use a LLM in API mode and set >> a context to achieve your aims. > > All modern languages have some kind of rand() function. > I assumed the OP wanted to do something useful with > the answers. Yes, of course! /B. A. Original -- underground e

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
jeremy ardley wrote: > The modern way would be to use a LLM in API mode and set > a context to achieve your aims. > > You can do this locally using a LLM hosted on your computer > or you can use a remote API such as ChatGPT. Okay, great, I already have this installed from the console, all setup j

Re: [OT] Re: the 'original' string function?

2024-07-10 Thread Emanuel Berg
Nicolas George wrote: > You can use that: > > https://en.wikipedia.org/wiki/Levenshtein_distance > > But you also need to define what you want with more > precision: > > How do you count the replacement of a word by a synonym? > > How do you count a change in the order of the words? > > How do you

the 'original' string function?

2024-07-10 Thread Emanuel Berg
Okay, this is gonna be a challenge to most guys who have been processing text for a long time. So, I would like a command, function or script, 'original', that takes a string STR and a text file TXT and outputs a score, from 0 to 100, how _original_ STR is, compared to what is already in TXT. So

Re: making Debian secure by default

2024-03-29 Thread Emanuel Berg
David Wright wrote: >> Ah, surely it can't refer to that as that would be >> completely ridiculous as it would imply "wanna install >> stuff? sure, but then it isn't secure anymore". > > It's not clear what "isn't secure anymore" means. [...] It means as soon as you start doing stuff with the sof

Re: making Debian secure by default

2024-03-28 Thread Emanuel Berg
Michael Kjörling wrote: >> "Secure by default" is an OpenBSD slogan BTW. Or they have >> made it into one at least. But I'm not sure it is any more >> secure than Debian - maybe. >> >> https://www.openbsd.org/security.html > > If I'm not mistaken, OpenBSD is "secure by default" by being > "extr

Re: making Debian secure by default

2024-03-27 Thread Emanuel Berg
"Secure by default" is an OpenBSD slogan BTW. Or they have made it into one at least. But I'm not sure it is any more secure than Debian - maybe. https://www.openbsd.org/security.html -- underground experts united https://dataswamp.org/~incal

Re: OT: End the Phone-Based Childhood Now

2024-03-15 Thread Emanuel Berg
Jeffrey Walton wrote: > So the problem with GenZ seems to be how they are growing up > and what they are spending their time on; and not their job > (they are teens!) They need other things to do that appeal to them more than smartphone idling. If such things existed, they would go for them, I'm

Re: OT: End the Phone-Based Childhood Now

2024-03-15 Thread Emanuel Berg
Jeffrey Walton wrote: > Fascinating reading here: > . > It completely explains why GenZ are having so many problems > with adulthood. Smartphones and Social Media are > the culprits.

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-15 Thread Emanuel Berg
Will Mengarini wrote: >> With no intention of ever creating a 100% offensive-free >> language, removing the worst offenders from the scene often >> is enough. > > Words I find offensive include "authority" and "manager", so > checking `apropos authori manager` I see we have a lot of > important wo

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-15 Thread Emanuel Berg
Mike Castle wrote: > Was that explicitly stated anywhere? Or is the lack of any > type of explicit "I'm willing to help drive this" statements > leading to that conclusion? Relax, everyone does something somewhere. But it would be a boring world if they were only allowed to talk about that. --

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-15 Thread Emanuel Berg
Alain D D Williams wrote: > That is the big difference. Not use words *currently* deemed > offensive in *new* publications (books, newspaper articles, > ...) - this is not hard to do. Indeed, and that is what you should focus on. The past is the past anyway. > What we are faced with is something

Re: "libEGL warning: DRI2: failed to authenticate"

2024-03-14 Thread Emanuel Berg
> libEGL warning: DRI2: failed to authenticate > [vo/gpu/opengl] Suspected software renderer or indirect context. > [vo/gpu] Failed initializing any suitable GPU context! > Error opening/initializing the selected video_out (--vo) device. Problem solved. I had a package called bumblebee installed a

"libEGL warning: DRI2: failed to authenticate"

2024-03-14 Thread Emanuel Berg
Hello, I have this problem with Debian and mpv recently after not using the computer for a while, now plugging everything in and upgrading. I asked on #mpv and got some help but still don't work, I post the whole backlog here here. TIA. But the error message is, libEGL warning: DRI2: failed t

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-14 Thread Emanuel Berg
Mike Castle wrote: >> It is "fixing" an issue for today's English speakers. >> Should we scour our systems looking for similar issues in >> other languages? Then in, say, 20 years time when different >> words will then be considered offensive, by some, do this >> all again? > > Yes. Remember, the

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-03-14 Thread Emanuel Berg
Alain D D Williams wrote: > However that is not the way that the world works, or prolly > more accurately how some people think. They see > a word/phrase that they have decided that they "own" or > somehow relates to them [...] I am not black so I have no idea how black people consider everything

Re: 'sensors -j' and "ERROR: Can't get value of subfeature in0_input: Can't read"

2024-02-24 Thread Emanuel Berg
>> In general, the first thing you should try is running >> sensors-detect again, as root. > > Okay, I did that ('sudo sensors-detect') and answered with the > default value to all questions, after that I did 'sensors -j' > but it displayed the same error. > >> It is possible that your kernel is no

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-02-24 Thread Emanuel Berg
jeremy ardley wrote: >> But what about the black market? Or does in fact "block >> market" work just fine? > > The term "black market" is from World War II - i.e. 1939-45. > It has nothing to do with slaves. It means transactions in > the dark, not visible,  not official. I think the reason is bl

Re: Inclusive terminology (instead of master/slave) for network bonding/LACP

2024-02-24 Thread Emanuel Berg
Marco Moock wrote: > Just check what different meanings GIMP has. Maybe some more > people now feel uncomfortable with using it. > https://www.dict.cc/?s=gimp Yes, people have been saying that for quite some time: https://news.ycombinator.com/item?id=20359520] https://www.theregister.com/2

Re: 'sensors -j' and "ERROR: Can't get value of subfeature in0_input: Can't read"

2024-02-22 Thread Emanuel Berg
Dan Ritter wrote: > In general, the first thing you should try is running > sensors-detect again, as root. Okay, I did that ('sudo sensors-detect') and answered with the default value to all questions, after that I did 'sensors -j' but it displayed the same error. > It is possible that your kern

'sensors -j' and "ERROR: Can't get value of subfeature in0_input: Can't read"

2024-02-22 Thread Emanuel Berg
sensors(1) and in particular the command 'sensors -j' now reports ERROR: Can't get value of subfeature in0_input: Can't read ERROR: Can't get value of subfeature in1_input: Can't read for the CPU and GPU temperatures. This previously worked so I don't know why it doesn't all of a sudden. Som

Re: Why does Debian have code names for releases?

2023-07-04 Thread Emanuel Berg
jeremy ardley wrote: > Or is "metric" one of these things spared by the > Brexit Bonfire? It depends which gear your camp is since the metric system is partly implemented and partly co-exists >>> >>> British Standard Pipe still in use for plumbing and 1/4", >>> 3/8" of speci

Re: Why does Debian have code names for releases?

2023-07-04 Thread Emanuel Berg
mick.crane wrote: >>> Or is "metric" one of these things spared by the >>> Brexit Bonfire? >> >> It depends which gear your camp is since the metric system >> is partly implemented and partly co-exists > > British Standard Pipe still in use for plumbing and 1/4", > 3/8" of specification I forget f

Re: Why does Debian have code names for releases?

2023-07-03 Thread Emanuel Berg
tomas wrote: > Or is "metric" one of these things spared by the > Brexit Bonfire? It depends which gear your camp is since the metric system is partly implemented and partly co-exists (e.g. on product labels) in the UK ... and the supposed all-Metric world. Everything, of course, Made in China an

Re: Why does Debian have code names for releases?

2023-07-03 Thread Emanuel Berg
Brad Rogers wrote: >> But M5 can be a bolt size and a lot of other things as well, > > Context! When the conversation is about roads in the UK, why > would *anyone* think bolt size? I agree, but that's why people have a hangup with names these days, they want their product or project to come up f

Re: Why does Debian have code names for releases?

2023-07-03 Thread Emanuel Berg
tomas wrote: >>> But M5 can be a bolt size and a lot of other things as well, >> >> Context! When the conversation is about roads in the UK, >> why would *anyone* think bolt size? > > Especially metric ones =:-o Maybe the UK roads also follow a system. They were the first guys having one, after

Re: Why does Debian have code names for releases?

2023-07-03 Thread Emanuel Berg
debian-user wrote: No but I live in the UK and I know the A1, A2, A4, A5, A6 and many others, plus the M1, M4, M5, M6. >> >> But M5 can be a bolt size and a lot of other things as >> well, while creative names may stay "more" unique. > > Nonsense. Curt's reply (which you cut when wrongl

Re: Why does Debian have code names for releases?

2023-07-03 Thread Emanuel Berg
Curt wrote: >> No but I live in the UK and I know the A1, A2, A4, A5, A6 >> and many others, plus the M1, M4, M5, M6. But M5 can be a bolt size and a lot of other things as well, while creative names may stay "more" unique. But on the other hand there are many Emmas and Camillas, and people tend

Re: Why does Debian have code names for releases?

2023-07-02 Thread Emanuel Berg
Stefan Monnier wrote: >> Leaving aside that Titanic is the real name of the ship and >> not a codename, the evidence is all around you. Look no >> further than your login name, or the name of your computer. >> A huge slice of the Internet's infrastructure, DNS, is >> concerned with allowing people

Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
>> Well if you were prepared to type a search for >> computational linguistics software into google, you would >> find several free tools available for linux listed on pages >> such as >> >> https://martinweisser.org/corpora_site/comp_ling_resources.html > > Indeed, that page has 4 hits for Unix an

Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
debian-user wrote: > Well if you were prepared to type a search for computational > linguistics software into google, you would find several > free tools available for linux listed on pages such as > > https://martinweisser.org/corpora_site/comp_ling_resources.html Indeed, that page has 4 hits fo

Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
>> A basic search finds this web tool: >> >> https://www.usingenglish.com/resources/text-statistics/ > > I didn't get it to work in Emacs-w3m, be it lack of JavaScript > support or something else. Anyway the page and tool claims to > do this: > > Total Word Count > Total Word Count (Excluding

Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Nicholas Geovanis wrote: > Those books teach and discuss some of the software that's > used. I doubt you will find them in debian's repositories. > Of course you can do plenty of computational linguistics > with perl or python which you already have. > > What is a "regular expression" which is at

Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Joel Roth wrote: > A basic search finds this web tool: > > https://www.usingenglish.com/resources/text-statistics/ I didn't get it to work in Emacs-w3m, be it lack of JavaScript support or something else. Anyway the page and tool claims to do this: Total Word Count Total Word Count (Excludi

Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Nicholas Geovanis wrote: > If you have python programming skills, you might > consider NLTK Unbelievable if there are no such tools anywhere already, but I don't have one either so maybe there aren't then? >>> >>> There's a big subject called computational linguistics. >>> T

Re: FOSS tool to do general stats from text indata

2023-06-30 Thread Emanuel Berg
Nicholas Geovanis wrote: >>> If you have python programming skills, you might consider >>> NLTK >> >> Unbelievable if there are no such tools anywhere already, >> but I don't have one either so maybe there aren't then? >> > > There's a big subject called computational linguistics. > They have some

Re: FOSS tool to do general stats from text indata

2023-06-28 Thread Emanuel Berg
dvalin wrote: > As "stats" is a grab bag larger inside than the Tardis, > I suspect that only on that other ship with the infinite > improbability drive is a stats babelfish interpreter to be > found. For the last 30+ years, I've just thrown together > a few lines of Awk to generate the initially

Re: RFP: deadEarth RPG documentation - free and open RPG game

2023-06-28 Thread Emanuel Berg
Joshua Allen wrote: > deadEarth is a free and open TTRPG game for use in real > life or online Never heard of but sounds interesting, as technology, and maybe even as a game. Is it TT as in https://en.wikipedia.org/wiki/Tabletop_Simulator ? -- underground experts united https://dataswamp.o

Re: When to sudo apt clean?

2023-06-24 Thread Emanuel Berg
Max Nikulin wrote: >> sudo apt autoremove -y && sudo apt update && sudo apt >> upgrade -y > > Almost from the start of this thread I am curious if there > is a reason to not run autoremove immediately after upgrade. > What is the purpose of retaining unnecessary packages till > next upgrade? Inde

Re: FOSS tool to do general stats from text indata

2023-06-24 Thread Emanuel Berg
tatistically unusual, that would be fun/exotic stats that a human user would probably not spot. E.g., parsing this mail, it could say "Emanuel Berg is almost always calm and collective, entirely professional in his approach, but here in the 4th paragraph of his mail he gets VISIBLY UPSET using CA

Re: FOSS tool to do general stats from text indata

2023-06-24 Thread Emanuel Berg
tomas wrote: >> Is there a CLI and FOSS tool that creates stats from text >> indata - e.g., >> >> $ txt2stats path/to/indata/*.txt >> >> I mean a general tool, but with options to tweak the report >> included, of course. > > If you can bear some tweaking, R is it. Sure! Let's run R on this e-

Re: FOSS tool to do general stats from text indata

2023-06-24 Thread Emanuel Berg
Cousin Stanley wrote: > If you have python programming skills, you might consider > NLTK Unbelievable if there are no such tools anywhere already, but I don't have one either so maybe there aren't then? -- underground experts united https://dataswamp.org/~incal

Re: FOSS tool to do general stats from text indata

2023-06-24 Thread Emanuel Berg
Joel Roth wrote: > A basic search finds this web tool: > > https://www.usingenglish.com/resources/text-statistics/ Cool, I'll get back to you when I tried it God willing ... > Otherwise, I think you'll have to write your own -- or hire > someone (like me :^) to write one for you. Surely there m

Re: FOSS tool to do general stats from text indata

2023-06-24 Thread Emanuel Berg
paulf wrote: >>> I don't know about all of your wishlist, but gnuplot is >>> the proper tool for taking data from, say, a CSV file, and >>> putting it into graphs of various types. >> >> Well, gnuplot is great obviously but is more a tool to >> visualize data, organized data, here we need a tool

Re: When to sudo apt clean?

2023-06-24 Thread Emanuel Berg
tomas wrote: >> I'd much rather err on the side of extreme caution. >> If something goes bump, I'm screwed. > > To be fair, autoremove can improve safety: when it removes > old kernel versions filling up your boot partition. Anything more to add to the 'maintain' function (a1), to improve safety

Re: Fan speed and control

2023-06-24 Thread Emanuel Berg
Richmond wrote: > Smart fan control is enabled in the CMOS Complementary metal–oxide–semiconductor, AKA sea-moss? https://en.wikipedia.org/wiki/CMOS The CMOS BIOS: https://en.wikipedia.org/wiki/Nonvolatile_BIOS_memory > for both CPU and System. Is there something I can use which > will au

Re: When to sudo apt clean?

2023-06-23 Thread Emanuel Berg
Steve Sobol wrote: In general people don't want to dist-upgrade automatically. >>> >>> Seconded. >> >> I'm not following, when these functions are invoked, be it >> scheduled by some other software or by the user from the >> shell, they are intended to do their work automatically >> (non-inte

Re: When to sudo apt clean?

2023-06-23 Thread Emanuel Berg
Steve Sobol wrote: >> In general people don't want to dist-upgrade automatically. > > Seconded. I'm not following, when these functions are invoked, be it scheduled by some other software or by the user from the shell, they are intended to do their work automatically (non-interactively) if that i

Re: When to sudo apt clean?

2023-06-23 Thread Emanuel Berg
Dan Ritter wrote: > It seems unlikely to me that you want to do an autoremove > before you have done an upgrade. a1 is to maintain and a2 is to upgrade, so the idea is to always upgrade from a maintained state, that's why a2 first calls a1. One could do a1 after a2 as well as before, actually. >

Re: FOSS tool to do general stats from text indata

2023-06-23 Thread Emanuel Berg
paulf wrote: > I don't know about all of your wishlist, but gnuplot is the > proper tool for taking data from, say, a CSV file, and > putting it into graphs of various types. Well, gnuplot is great obviously but is more a tool to visualize data, organized data, here we need a tool to analyze and

Re: When to sudo apt clean?

2023-06-23 Thread Emanuel Berg
Default User wrote: > I am considering just running sudo apt clean (or sudo > apt-get clean) [...] This is what I eventually landed at and it has worked ever since - a1 is to maintain, a2 to upgrade as well. #! /bin/zsh a1 () { sudo apt-get -qq update sudo aptautoremove >

FOSS tool to do general stats from text indata

2023-06-23 Thread Emanuel Berg
Is there a CLI and FOSS tool that creates stats from text indata - e.g., $ txt2stats path/to/indata/*.txt I mean a general tool, but with options to tweak the report included, of course. To produce neat stats, maybe even figures, and generate fun facts of the kind The longest word that occ

Re: USB-slot for to play MP3

2023-04-09 Thread Emanuel Berg
Stefan Monnier wrote: >> Matter is that radio has USB-slot for to play MP3 files but >> when I plug a stick (which played on computer) in radio >> just something are clicking and does not play nothing. > > I think the main issues that can show up are: - the format > of the fileystem (VFAT is proba

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
Andrew M.A. Cater wrote: > You don't want to believe that - Epimenides the Cretan > asserts that "all Cretans are liars" Face it, the Greek invented it, the Italians (Romans) perfected/spread it ... All honor to diplomacy, you are not going to expect me to say anything else, I think our advantag

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
Stefan Monnier wrote: I usually taunt people with "All generalizations suck". >>> >>> Can't it be the exception to confirm the rule? >> >> There is a barber in Crete who shaves all men who don't >> shave themselves > > You're just pointing out that *impredicative* > generalizations suck even

Re: how to limit a CPU temperature?

2023-04-09 Thread Emanuel Berg
Darac Marjal wrote: > As an alternative, you could try writing a small shell > script that works like the following (pseudocode): > >  STOP_TEMP=70 > START_TEMP=65 > JOB_RUNNING=1 > > while true: >cpu_temp=$(cat /sys/something/temperature) > >if JOB_RUNNING and cpu_temp > STOP_TEMP: >

Re: Getting Admin Rights

2023-04-09 Thread Emanuel Berg
Aren Vardhan wrote: > Hello, I am Aren Vardhan, a Graduate Student. I am reaching > out to you to help me with the User Access. I recently > installed the Debian 11 Operating System for a project > purpose. I want to get permitted the Admin Rights to my > system so that I can install the Damask so

Re: my immature thoughts on perl

2023-04-09 Thread Emanuel Berg
tomas wrote: > There is a barber in Crete who shaves all men who don't > shave themselves [1] > https://en.wikipedia.org/wiki/Barber_paradox Yeah, but that isn't really a paradox, is it? It's like all the programs that will increase inflation :) -- underground experts united https://dataswamp.

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
rhkramer wrote: >> I was never a fan of Dijkstra's "Go To Statement Considered >> Harmful" and perceive modern spaghetti inheritence as more >> obscure than any goto noodling. > > Good point! But that's not modern :) -- underground experts united https://dataswamp.org/~incal

Re: the front (was: " Re: [OFFTOPIC] Re: how to limit a CPU temperature?")

2023-04-08 Thread Emanuel Berg
Jeffrey Walton wrote: >> What would happen, if we started a political movement based >> on nationalism and Unix? >> >> What would be the first thing we would do when we get >> installed as government? > > Annex the Netherlands, and take control of ASML. > Annex Taiwan, and take control of TSMC. I

the front (was: " Re: [OFFTOPIC] Re: how to limit a CPU temperature?")

2023-04-08 Thread Emanuel Berg
>> I recommend to go fanless whenever possible. >> Computers should be silent. > > Yeah, optimally ... What would happen, if we started a political movement based on nationalism and Unix? What would be the first thing we would do when we get installed as government? Maybe close the border or som

Re: [OFFTOPIC] Re: how to limit a CPU temperature?

2023-04-08 Thread Emanuel Berg
Stefan Monnier wrote: > I recommend to go fanless whenever possible. > Computers should be silent. Yeah, optimally ... -- underground experts united https://dataswamp.org/~incal

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
>>> Ha, but can't we do better, I would like all the >>> properties (stuff possible to express and do) in >>> a programming language encoded, and then count them to >>> determine what language is the most powerful. >> >> We know that except for some particularly limited >> languages, they'll all mu

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
> Yes, "structured programming" was the term used. > Structured programming uses functions, while loops, > if/then/else statements, and so on, instead of "GOTO 1230" > type commands, to control a program's flow. > > One of the basic goals of structured programming languages > was to eliminate relia

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
Stefan Monnier wrote: >> Ha, but can't we do better, I would like all the properties >> (stuff possible to express and do) in a programming >> language encoded, and then count them to determine what >> language is the most powerful. > > We know that except for some particularly limited languages,

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Greg Wooledge wrote: > Yes, "structured programming" was the term used. > Structured programming uses functions, while loops, > if/then/else statements, and so on, instead of "GOTO 1230" > type commands, to control a program's flow. > > One of the basic goals of structured programming languages >

Re: how to limit a CPU temperature?

2023-04-08 Thread Emanuel Berg
songbird wrote: > i have a program that has changed it's behavior to suddenly > become a CPU hog (while doing something simple like > uploading files for my website). probably a bug, but it got > me to wondering how i could limit the CPU temperature to > a range well below the maximum that kicks i

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
davidson wrote: > On Sat, 8 Apr 2023 Emanuel Berg wrote: > >> Tom Dial wrote: >> >>>>> Look at the use of parentheses in Lisp [...] >>>> >>>> I have thought about that - is Lisp possible without them? >>>> But how do you then k

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Jeffrey Walton wrote: > Here are three more data points. > >* Emacs - 41 CVEs since 2000 [1] >* Vi - 61 CVEs since 1999 [2] >* Vim - 656 CVEs since 2001 [3] > > I'm not sure how many CVEs overlap for Vim due to Vi. Hm ... what does this stat indicate? :O Haha why do Vim has so many?

Re: my immature thoughts on perl

2023-04-08 Thread Emanuel Berg
Andy Smith wrote: > That is, why are you asking people to convince you to like > Perl? There are lots of languages and you appear to have > found one you like better. Maybe there is no answer in particular why Perl has it's trajectory. Maybe it can't be expressed in a formula. But I just get the

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Stefan Monnier wrote: >> Here are three more data points. >> >>* Emacs - 41 CVEs since 2000 [1] >>* Vi - 61 CVEs since 1999 [2] >>* Vim - 656 CVEs since 2001 [3] >> >> I'm not sure how many CVEs overlap for Vim due to Vi. > > I don't know what the number of CVEs tells us about > a proj

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Celejar wrote: >> I agree but I think maybe the success of Python, and its >> development speed, is actually because of some of that >> rigidness, yes, including the whitespace lack of freedom. > > I'm no great programmer, and many posters in this thread are > certainly far more proficient than I,

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
debian-user wrote: > But cropping and ignoring the actual point of Stefan's mail > rather misses the point and insults him. Those don't work on him anyway :) -- underground experts united https://dataswamp.org/~incal

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Greg Wooledge wrote: > The word "via" appears in all three of your selections. > That makes me think that the web site is using some kind of > a "close-enough match" heuristic, and is (unhelpfully) > matching "via" as close enough to "vim". It's called the typographic attack vector ... -- under

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Jeffrey Walton wrote: > The Vim folks had a bad week this week: > https://ubuntu.com/security/notices/USN-5995-1 . There were > 30 CVEs fixed this week. What's the deal with that LOL :) -- underground experts united https://dataswamp.org/~incal

Re: Is perl still the No.1 language for sysadmin?

2023-04-08 Thread Emanuel Berg
Tom Dial wrote: >>> Look at the use of parentheses in Lisp [...] >>> >> I have thought about that - is Lisp possible without them? >> But how do you then know priority? I'm sure someone tried >> to get rid of them, but how? > > Its quite a few years since I had anything to do with Lisp, > and even

  1   2   3   4   5   6   >