« first day (3343 days earlier)      last day (1611 days later) » 

2:33 AM
@Kusalananda Why did your boss want you to buy a Linux distribution?
 
 
6 hours later…
8:51 AM
@FaheemMitha To run on the servers.
 
 
3 hours later…
11:41 AM
@Kusalananda Yes, but why buy it? Why not just download it?
 
Tim
11:57 AM
Hello
@RayFoss what does throbbing mean? Is the purpose of the second nc command that adds Content-Length: $(wc -c <some.file) to the first nc command to stop Chrome from throbbing? — Tim 54 secs ago
Does throbbing mean automatically keeping reloading a URL?
 
@FaheemMitha I believe that he did not want to run "free software" on his servers. Anything not paid for must be poor quality and/or bad in some other way.
Basically, I don't know.
 
12:19 PM
@Kusalananda I love people who think like that. Tell him I have some really good air I can sell him. Only an idiot would breath the crappy free stuff!
There is an interesting question there though. How would you set up an "PEM install" of a Linux box? You'd have to have a special guest account which, when you log in, lets you define a user, I guess.
 
@terdon It's a thing: vitalityair.com
Also, this was in New Zealand almost 20 years ago. I wouldn't know what he's up to now.
 
12:50 PM
@Kusalananda Of course it's a thing! We live in a world that has "water sommeliers" and water bottles sold for $60,000.
 
@terdon you can do this with some distros
no non-root account in the initial setup, first boot prompts you to create a user etc.
 
@StephenKitt I guess you must. How does it work? They ship with some program that runs with SUID and can do this?
 
then there’s GNOME’s initial setup wizard on first login too, for “cloud” accounts etc.
@terdon no need for suid, everything runs as root by default
services etc.
 
Ah, true. I was just thinking GUI, but even then, you can have it run and export the user's X vars.
 
Hmm... Had to look up that PHB's name. Didn't find him, but saw that my ex-gf's Ph.D. supervisor (that worked in close association with the company) died in 2017. That's sad.
 
12:55 PM
@sed even with a GUI: instead of starting gdm with its greeter (or lightdm etc.), start the “first boot wizard” on X or Wayland; when it completes, restart gdm and let it being up its greeter
 
@Kusalananda Ok. Sounds like you didn't ask, but I can certainly understand if you didn't.
 
@FaheemMitha It was not that kind of workplace. You were asked to do things, but often never got to know why. As a computer guy, we were just there to keep the systems running.
 
@Kusalananda Doesn't sound terribly pleasant. Which country was this in?
@Kusalananda Wow. That's... amazing.
 
@FaheemMitha New Zealand.
 
@Kusalananda Oh. You worked in NZ?
Was it nice?
 
1:08 PM
@FaheemMitha New Zealand is nice! Work was not.
 
@Kusalananda It looks like a nice place, from a distance. Never been there.
 
@StephenKitt Ah that makes sense, yes.
 
s/start/&ing/ ;-)
 
1:22 PM
@StephenKitt Done. You can call me sed.
 
@terdon done
 
arrrgh
@JeffSchaller Dammit, @ed
 
hi, i am very new to linux and have installed debian on my laptop, may i ask a question about it?
i check the thermal status of my laptop sensors by sensors command
all is bellow normal and ok
but the fan is working higher rate, normally the sound is more than when i am logged in to my windows 10 os on the same device
is it ok?
 
@terdon ha ha, the sort of antics that used to be common on IRC
 
1:28 PM
@EnthusiasticEngineer I've found two un-answered questions so far, but also this:
2
Q: Fan constantly running at full speed

PooyaHere I am repeating a question previously asked in a sister forum, as it is relevant here and I have neither received a response, nor been able to resolve the issue. On my ThinkPad T470 which is a dual boot with Linux Ubuntu 18.04 and Windows 10, everything was working fine in Ubuntu until after...

 
hi Jeff... I tried some of the packages and commands.
I did not succeed
 
@EnthusiasticEngineer I'd encourate you to ask a question on the site, then! You could do worse than to model your question after the ones you've seen (laptop model, OS version, commands you've tried; the results)
 
Thank you, yes I should try...
 
@EnthusiasticEngineer Those sorts of issues can be hard to pin down. What is your laptop model?
 
sudo service fancontrol start
after this, the fan speed is a little lower
@FaheemMitha Hi faheem, my latex friend... nice to see you here...
It is a VAIO F134 laptop
i have upgraded my ram and changed my hard to ssd
 
1:38 PM
@EnthusiasticEngineer Um. Hi. Sorry, I don't remember. LaTeX?
@EnthusiasticEngineer Ah, Sony. I doubt they offer Linux support.
 
@FaheemMitha Have you been in Academia.SE or TeX/LaTeX.SE? I think I have seen a user with your name there...
@FaheemMitha yes, i dont think they offer. my laptop goes back to 10 years ago... I bought it many years ago
 
@EnthusiasticEngineer I have accounts on both. I've been active on both in the past. But not Academia, at least not recently. I'm relatively active on TeX. More in chat, though.
 
@FaheemMitha I have seen you in those rooms and site since i am more active there. Sorry, I saw a familiar username here and became happy.
 
@EnthusiasticEngineer Ok.
Yes, I see you're active in TeX SE too. More than me, possibly.
Are you an academic?
Wrt to your fan, it seems that for these sorts of situations, all roads lead to ACPI. Though often ACPI doesn't help, regardless. Do you know if your laptop supports ACPI?
 
@StephenKitt some of us may be showing our age...
 
1:59 PM
@terdon and I just happen to be reading theconversation.com/…
 
@StephenKitt it did seem like your last Q/A was a little ... ruff
 
@JeffSchaller I have a bone to chew
that’s really not the kind of Q&A that bothers me
genuinely a new user trying to be helpful, erring on the side of dumping too much information
 
@StephenKitt I just happened to "spot" the problem, so I'll "bow" out now.
Best I could do on short notice ;)
 
2:32 PM
@StephenKitt Heh, interesting. Some of the simplifications of the genetic information the author made made me cringe, but that's my field so I'm a bit sensitive to it. The basic idea seems sound!
 
@terdon so from our perspective, the older dogs get, the slower they age; from their perspective, the older we get, the faster we age
and the other way round for any dogs reading this
 
How very relativistic of us!
 
indeed
TBH it feels to me that the older I get, the faster I age
last year was yesterday
 
the days are long and the years are short
 
Will y'all stop whining like old fogeys? Has either one of you even reached 50 yet?
(if you have, I take it back, whine away)
 
2:42 PM
@terdon I’ll reach the perfect age next week, the answer to life, the Universe, and everything (in decimal)
In octal I’m over 50
 
@StephenKitt Oooh, nice! I'm looking forward to that one. But I'm still 3 years away, ya old coot!
 
@terdon so you’re 103 in base 6
 
@terdon looks like I'm only a couple years ahead of Stephen; in base 7, I'm 6 years away from decimal 50
 
*I believe that he did not want to run "free software" on his servers. Anything not paid for must be poor quality and/or bad in some other way.*

Oh, sure, it is bad to dilapidate your money ! @Kusalananda
@terdon I have been older than 50 for quite some time already, does that count?
 
3:00 PM
Look, people. I may be in here parading as some sort of computer geek, but I'm a biologist. A biologist! Don't confuse me with your fancy math crap! Base 6! Sheesh!
@Isaac Yes, but you weren't even complaining! It's these young, 40-something whippersnappers who were whining about getting older!
 
don't you deal with base ... pairs ... all day?
 
Aaaarghhh
 
and to be fair, I haven't yet complained about getting older. I say it beats the alternative.
 
true dat!
 
say, I recall that you play the guitar?
 
3:02 PM
There is always help for everyone online: tools4noobs.com/online_tools/base_convert @terdon
 
@JeffSchaller only base 4 though
 
@StephenKitt GAA, it's an ACT
he's really an emacs user parading as a biologist who's parading as a computer geek
 
@JeffSchaller so after the ed challenge, the next Unix.SE challenge is to answer a bio-informatics question by converting bases into numbers and back
 
@StephenKitt only if I can do the math with sed
 
@JeffSchaller of course!
 
3:05 PM
I'm in.
@terdon just so you know, old musicians don't die, they just decompose
 
@StephenKitt terdon, dressed up for for Día de Muertos
 
I like whippersnappers its anew word for me. My mother like to say: "Nunca te acostaras sin saber algo mas". Loosely translated is "you will never go to sleep without having learnt something". Of course the rhythm gets lost on translation.
 
and we have a new hat for the winter hats!
 
@StephenKitt awarded when you post an answer that matches /back in my day/
 
3:11 PM
@JeffSchaller Is that a monty python reference?
@JeffSchaller 's not wrong. Although the order is inverse ;)
 
@terdon no, just a bad pun :)
 
@JeffSchaller Ah, in that case, listen to what I just posted :)
 
@terdon chuckle "Beethoven can't hear you!"
 
yeah :)
I love that one.
 
Do any of you participate in the hiring process for your companies? If so how much weight do you put on resumes? I feel like every resume that comes across my desk is terrible. Loaded with spelling and grammar mistakes, missing punctuation, incoherent sentences, mix match fonts with no rhyme or reason. Just absolutely garbage. IMO that should be enough to automatically disqualify someone but the problem is we just aren't getting any good ones
 
3:16 PM
"The decomposing composers, there's less of them every year" is probably my favorite.
 
@Jesse_b the ones I see are pretty good, but I join the process after the recruiters have filtered bad resumes out
 
@Jesse_b Wow. I've seen a few resumes, and one or two with minor errors, but I've never seen anything like you describe.
 
Yeah I think the problem is we aren't going through a recruiting company, I'm pretty sure these just get submitted right through my companies website
 
The worst are things like people listing "MS Word" under "Computer skills" when applying to work at a tech company (in a technical role).
So we threw the CV out directly, but it wasn't riddled with errors.
 
Jeff’s problem is that ed matches too many unrelated words (and recruiters don’t know about \b)
 
3:18 PM
This one I'm looking at now is from a native Hebrew speaker so I am inclined to forgive most spelling and grammar mistakes but formatting is universal
Just having a random different font in the middle of the resume seems pretty bad
 
Well, I've been told that this sort of thing isn't as glaringly obvious to everyone as it is to me.
So, dunno, maybe?
 
Most of the bullet points end with a period but a significant amount of them don't, and one of them even ends with a comma
> Skilled in Servers, Windows and Linux Servers, Networking,
I just feel like I'm being overly critical but it really is worse than I'm making it out to be
and the last 5+ resumes I've seen have not been any better
 
If that's how careful they are with their resume when applying for a job, just imagine how careful they'll be on the job!
 
That's my opinion but my manager seems to ignore all the resume mistakes and usually recommends these people for hire
 
(doesn't take much to set me off, here ref); I've even spotted errors in letters coming home from my kids TEACHERS
blood pressure rising...
 
3:22 PM
we are understaffed though and desperate to hire, and like I said none of the resumes have been particularly good
My department has a history of people making major mistakes due to a lack of attention to detail though, once resulting in the complete loss of a server because the wrong hard drive was replaced for example. So I don't want people that can't even proofread their resume working on stuff like that
 
I'd say to hire a high schooler, since they're used to being careful, but it's illegal and they also probably haven't learned to type with more than two thumbs
 
I want to meet someone with more than two thumbs.
:p
 
@Jesse_b on the flip side, actual experience makes up for quite a bit, so my best suggestion would be to focus on their experience(s) and references
@Jesse_b Stephen has four, I think
 
Like a koala bear
 
@JeffSchaller most of my interviewing technique focuses on that: determining whether claimed experience is real
@JeffSchaller like most humans, if we count feet ;-)
 
3:26 PM
@StephenKitt Interesting, I've never thought of the big toe as a foot thumb
 
hah
 
1 hour ago, by Stephen Kitt
user image
 
oh yeah my thumbs aren’t opposable
woof
 
That was long time ago, now every one (google, facebook, apple, Three Letter Agency) know you are a dog.
 
4:18 PM
Oops, I must have hit 5k answers recently, and I didn't notice.
 
@Kusalananda Nice!
That's almost exactly 2x my answers! So, how do you explain why you're only 1.1x my rep, eh? Eh? Eh?
Quality is the key, not quantity!
 
@terdon Narrower interests?
 
@Kusalananda congratulations! You are well on your way to the Illuminator badge!
 
@JeffSchaller I see that @StephenKitt recently got it! Good work!
 
@Kusalananda not with 2x answers! ;P Anyway, joking apart, well done! Seriously, that's impressive!
 
4:34 PM
@terdon I had a long period with these types of days too.
Meaning many answers with no actual rep. benefit
(But got a "Legendary" gold badge for that)
 
I need to get me one of those.
I haven't been answering much the past few years though.
 
@Kusalananda thanks!
 
And I'll be answering even less now. Every time I post an answer, I keep thinking I'm helping SE :(
 
Illuminator is harder to get than Legendary, it seems, and the hardest non-tag gold badges are some of the Steward ones...
 
@terdon You might be, but you are also helping users in the now and future.
@StephenKitt Agree I do.
@StephenKitt A golden dog tag for you.
 
4:40 PM
@Kusalananda Assuming SE remains open and they don't take all of our content and put it behind a paywall.
Which is what I am assuming, for the moment, but I would no longer swear it's true.
 
@terdon at least since it’s CC-BY-SA you can take it and republish it elsewhere
and there are a few mirrors around
 
@StephenKitt Only if you respect the license. The same license also states you cannot change to a newer version unless you get the consent of the owners. And yet, they did.
Which means that the company doesn't feel itself to be bound to honor the license.
 
@terdon oh I know that, I’m not saying we can assume SE will continue to honour the license; but we can take the content (including content we wrote) without repercussion
 
@StephenKitt How? If they put it behind a paywal, we're screwed. And OK, there are loads of data dumps around, we could retrieve most of it, but if they do put it behind a paywall it is no longer benefiting everyone.
Note that the company first made sure that the community couldn't file a class action suit against them, and then changed the license.
 
@terdon right, if you care about your content you need to make copies of it now
same as any host on the Internet
backups, backups, backups
 
4:48 PM
I care that the content I provide is freely available to everyone, not so much about whether it's available to me.
 
yes, and ensuring you keep a copy of it means you can continue making it available to everyone, should it stop being available on SE
sort of like anything hosted on Geocities in the past, or Medium, or whatever
 
Yeah, but again, that would be my content only and would require me to recreate something like SE.
 
@terdon yes, there are a few hurdles
 
Speaking of which, codidact.org is really promising.
 
to say the least
 
5:14 PM
@terdon any idea when codidact will be functional? Its Discourse page indicates that quite a few aspects have yet to be sorted out.
 
@JusticeforMonica see the roadmap here (no dates, but it gives some idea of the work involved)
 
@StephenKitt thanks. I'll keep visiting forum.codidact.org.
 
@JusticeforMonica Not anytime soon. This isn't a small project and it's only starting now.
I'll need to learn C# now. Why not, I guess.
 
@terdon what! an emacs user pretending to be a biologist who's pretending to be a UNIX geek who's now pretending to be a programmer!?! Is there no end to this madness?
2
I suppose next you'll tell me that you play the guitar and are multi-lingual!
 
@JeffSchaller surely Emacs users are programmers, aren’t they? Unlike ed users :-P
The configuration file is written in Lisp!
 
5:31 PM
@StephenKitt their editor has a configuration file!?!?
What if you bork it? How would you edit it?
 
@JeffSchaller And wait till you see me dance!
@JeffSchaller Butterflies, kid, butterflies.
 
@terdon xkcd spotted!
 
:P
You know it's actually implemented in emacs now, right?
 
@JeffSchaller emacs -q
 
@terdon what, now you're Lindsey Stirling?!
 
5:35 PM
Not quite ;) I can dance, actually. I've got rhythm! Just nothing remotely resembling grace.
And there are your butterflies! ^^
 
@terdon so you're Kyle Taylor?
@terdon lol! "are you sure?"
 
@JeffSchaller Um. No, I have bones.
 
@terdon lol -- as we saw earlier!
 
People use find too often.
I mean, there's always **.
 
I keep meaning to spend some time and investigate just how find compares to ** in terms of speed. I suspect that sometimes find is faster but others ** will be, depending on something or other.
 
5:46 PM
@Kusalananda that reminds me, I was going to make a run at that recent "find && cd" question. Stephane has pointed out a few times that ** expands to a different set of files than find; dotfiles and symlinks, if I recall
 
@terdon find is useful for the slightly more advanced tests you can run (but zsh handles most of those) and the fact that it does -exec ... {} + (but again zsh has that too).
@JeffSchaller I believe that's the one I just answered.
Yeah, there's probably edge cases that Steph will comment on.
 
@Kusalananda naturally!
 
@StephenKitt Hey!
BTW, if you want to edit a file, but you're stuck in this window running vi, you can just type <Esc> followed by :!ed file, cool eh?
 
6:02 PM
@Kusalananda Sure, but which one is faster?
for f in **/* do command "$f"; done or find . -exec command {} \;? I expect find will be faster since shell loops are slow, but I am not 100% sure.
 
find is faster than ** in both bash and zsh, but shell loops are not as easy to muck up. I think it comes down to what's most convenient. Also too many people pipes pathnames into grep, sed etc. from find.
 
Tim
Hi, can I ask how webserver and CGI server work together?
 
@Kusalananda Oh, sure. You're preaching to the choir, I use ** all the time. I'm just idly wondering whether the actual file collection bit, the for i in ** is slower than find. The loop is bound to make things slower, but I don't know how to test for the file collection part.
 
Tim
Is a web server acting like a reverse proxy server to proxy a CGI server?
I was also wondering how CGI server executes a server side program? Is CGI server itself an interpreter for the language in which a server side program is written in? Or does CGI server have to create a child process to run the interpreter? (Note that web server already has to create a child process to run a CGI server)
Are my questions good fits for U&L?
Sorry for interrupting your conversation
 
@Tim none of the above are specific to U&L, so I don't think so. CGI is a process that a webserver hands the request off to (and returns the response from); I wouldn't consider CGI to be a "server"
 
Tim
6:16 PM
Isn't CGI server an application server?
 
@Tim a "CGI server" doesn't exist, IMHO, but we're probably tripping over definitions
 
Tim
application server as in web server vs application server and their combination
 
I would consider something like tomcat or WebSphere to be an application server -- something that handles all the HTTP requests itself.
 
@terdon I don't think shells optimize globs away when they're passed as unused arguments to builtins, so one way to test might be something along the lines of:
: **
 
Tim
I have these questions around CGI and proxy servers for a long time. They were just rekindled
since I started to learn about Ngnix the beginning this year
 
6:19 PM
@terdon It (the glob) is slower. On my system, almost twice as slow.
 
Tim
For clarity, I separate HTTP server and application server in concept
 
@Kusalananda how'd you test it?
 
Tim
HTTP server only serves HTTP request but doesn't run server side program
 
And do globs take advantage of disk caching? I am assuming that's why a second run of find is much faster than the first.
 
By looking for a file I know exists: time ( printf '%s\n' ./**/zerofill.sh )
 
6:21 PM
@EliahKagan How? time : ** doesn't do anything useful.
 
Tim
Also some related question at:
https://serverfault.com/questions/994319/differences-between-gateway-and-reverse-proxy-server-with-example-in-ngnix
 
Vs. time find . -name zerofill.sh
 
@Kusalananda Um. Yes, that's embarrassingly obvious.
Duh, stoopid terdon.
 
Tim
How stoopid can you be? You are already interviewing others
 
Very! I just need to be slightly less stoopid than they!
 
6:24 PM
@terdon When you run that, it immediately completes?
It works for me--in that the time it takes increases for larger directory trees.
 
@EliahKagan Didn't we already establish I'm stoopid? Yes, it immediately completes. The fact that I didn't actually have globstar enabled might be relevant though ;)
When I do it properly, I get:
$ time : **

real	0m6.768s
user	0m2.722s
sys	0m0.495s
But I find that very hard to believe since:
$ time ( printf ./**/karolinos_halfway.jpg )
./karolinos_halfway.jpg
real	0m36.459s
user	0m0.609s
sys	0m3.672s
and
$ time ( find . -name karolinos_halfway.jpg )
./karolinos_halfway.jpg

real	0m29.278s
user	0m0.763s
sys	0m1.141s
 
@terdon In zsh you would have to use **/*
 
$ time : **/*

real	0m3.861s
user	0m2.972s
sys	0m0.780s
I also see that the difference between find and ** for me is pretty small. But that might be because I'm doing this on an SSD.
 
I honesty don't know all the factors involved. I'm also on an SSD and I see quite a large difference.
 
Is this similarly fast?
a=(**)
After running that, one can verify that it actually enumerated the entries by examining the contents of the array.
 
6:28 PM
$ time a=(**)

real	0m5.754s
user	0m2.801s
sys	0m0.451s
@EliahKagan it did. Wow. At least, echo ${a[@]} prints a lot of files. I haven't checked to make sure it's all of them.
 
Examining the array might be slower, but so long as the contents are as expected, I think the time measurement was accurate as to how long the array took to build (and most of that time should have been traversing the filesystem).
 
Hmm. And yet, telling it to print a specific file name is much, much slower. So there's some sort of optimization/caching going on. Presumably the name matching is what's slowing things down.
 
I guess so.
Is this also slower?
b=(./**/karolinos_halfway.jpg)
 
No, that's still ~3sec
 
Does that pattern match exactly one file? (And if so, is b a 1-element array containing a correct path to it?)
 
6:35 PM
Yep
$ for i in "${a[@]}"; do echo "$i"; done | grep karolinos
karolinos_halfway.jpg
 
Huh.
 
(that's the right path, it's in ./)
What's even more curious is that the ** is much faster on my system! The timethis command just runs the command I give it 10 times and prints the average time it took to complete:
$ mkdir -p dir1/dir2/dir3/dir4/dir5/ && touch dir1/dir2/dir3/dir4/dir5/findme
$ timethis 10 "printf ./**/findme"
COMMAND: printf ./**/findme
5.472
$ timethis 10 "find . -name findme"
COMMAND: find . -name findme
17.3
For reference:
timethis ()
{
    max=$1;
    shift;
    for com in "$@";
    do
        echo "COMMAND: $com ";
        c=0;
        while [[ $c -lt $max ]]; do
            let c++;
            ( time -p eval "$com" ) 2>&1 | grep --color -oP 'real.*?\K[\d\.]+';
        done | awk -vm=$max '{k+=$1}END{print (k/m)}';
    done
}
 
Is codidact the thing that Gilles is involved in?
 
yes
As am I, now.
 
Ah. Well, that's hopeful, then. 5 Gilles's could probably build a new SE.
 
6:44 PM
or one dancing, guitar-playing, emacs-using, butterfly-wrangling multi-lingual biologist who's pretending to be a UNIX geek who pretends to be a programmer long enough to fool 'em!
 
My point is that Gilles might be superhuman. He certainly seems to be able to get a lot more than most people, with the same number of hours.
And creating a new site is nothing if not time-consuming.
 
@JeffSchaller Not in the flesh, no.
Sometimes I miss the days when Youtube didn't exist.
 
@JeffSchaller shhhhhhh!
 
@FaheemMitha congratulations! you qualify for our latest hat!
 
6:49 PM
Jun 5 '14 at 16:45, by terdon
The way I see it, Stephane is some kind of mythical, magical creature, Gilles is a wizard and slm is a human paladin.
 
@JeffSchaller ?
And of course I miss those long ago, semi-mythical days before spam, too.
 
@FaheemMitha scroll up & down a bit from there
huh. in zsh, if you do result=( $( find . -type f -print0 ) ) .... with (say) 3 matching files, you end up with four array entries, the last one being just a newline character. Yet find doesn't output the newline. Does the command substitution add it?
mmmm, there are newlines after every entry; something's translating nulls to newline+null?
well, there's the spec: "If the output contains any null bytes, the behavior is unspecified"
@JeffSchaller duhhhhh, print -l adds it. aye yay yaye
there's still a stray null element at the end, though
this is a dead end
 
7:13 PM
@JeffSchaller The nul is treated as a delimiter, not a separator/terminator, it seems. So a nul at the end would delimit an empty element.
 
@Kusalananda that seems like a sane interpretation; thanks!
I was going to have a findsave() function that ran find with -print0 appended, saved to an array, then extract dirname (array -2) to a variable; with a findcd() function to cd there. But I give up
 
@JeffSchaller don't you get "bash: warning: command substitution: ignored null byte in input"?
 
@terdon not if you sneak in a zsh at the top
 
ah, right
 
> huh. in zsh, if you ...
(I thought I forgot to mention it, actually!)
 
7:35 PM
@Jesse_b what interesting timing! xkcd.com/2237
 
Hah, I'm doing the interview in a few hours, I'll ask them how they feel about the deepaihire algorithm
 
7:58 PM
@Jesse_b I think that corresponds to how they answer to the question "Do you think I'm handsome?"
 
Oct 18 '16 at 20:21, by Gilles
@Junaga I'm not a god, I'm only @StéphaneChazelas's prophet
 
@Kusalananda Then only my mom would be qualified for the job
 
@Jesse_b indeed, if they've seen today's XKCD comic, consider hiring them
 
@Jesse_b :-)
 
@Gilles'SO-stopbeingevil' wait, I thought you were some sort of reproductive apparatus ... oh, wait, that's how religions work
 
8:03 PM
Religions work by being some sort of reproductive apparatus?
sign me up
 
spreading the religion of UNIX
 
EUNUCHs
 
"we respect a laserlike focus on one topic"
 
I think the UNIX name does stem from eunuch in some way doesn't it?
 
per wikipedia, "Uniplexed Information and Computing Service (pronounced "eunuchs"),"
 
8:07 PM
I swear I saw that in some computerfile video or something about unix history
 
@JeffSchaller That's most likely a backronym.
 
TIL backronym
 
@Kusalananda I don't have any better sources at-hand. We even have a question on the site but it doesn't go much further.
 
Unix was first Unics, contrasting it with Multics.
 
8:20 PM
@JeffSchaller Search for the word "Unics" on this page: minnie.tuhs.org/Archive/Documentation/Emails/dmr_wkt
 
8:40 PM
@terdon I can't reproduce this (Ubuntu 16.04, hot cache, median of 3):
find . -name findme  1.46s user 1.67s system 99% cpu 3.159 total
./dir1/dir2/dir3/dir4/dir5/findme=printf ./**/findme  0.97s user 2.96s system 99% cpu 3.958 total
./dir1/dir2/dir3/dir4/dir5/findme real  0m6.515s user   0m1.937s sys    0m4.553s
(second is zsh, third is bash)
 
8:59 PM
> The details here remain satisfyingly uncertain.
> Neumann's punful propensity suggested his authorship, and now we're stuck with this guess.
 
9:12 PM
Hmm... Why are there no shells with an ed command line editing mode? Type your command and then . on an otherwise empty line to execute it.
The shell then helpfully answers ? when you don't get the syntax right.
 
@Kusalananda It's called ed. To execute a command, run :w then !%
 
@Gilles'SO-stopbeingevil' Ah, yes of course. Thanks. Too simple :-)
 
Is there a shorter way to do this....
ls "path/to/dir" | sed -e 's/\..*$//' | tr '\n' ' ' | awk '{$1=$1};1' | sed -e 's/ /, /g'
Lists files in a directory, removes extensions, and formats as a comma+space separated string, without newlines
 
set -- *; (IFS=','; printf '%s' "${*%.*}")
Except that will have no spaces.
 
wow that is foreign to me. just a sec...
 
9:27 PM
set -- *; printf '%s, ' "${@%.*}"
Except that has a comma at the end.
 
lol it's perfectly acceptable to me to pipe it once XD
should have known this would become code golf :)
 
If you're using that first one, use "${*%%.*}" instead of "${*%.*}" if you want to chop the names off at the first dot rather than at the last.
 
that's fine
please excuse my ignorance... what does set -- * do?
 
If you'd like to know how that works, then ask a question about it on the main site :-)
 
fair enough. Thanks for your help!
 
9:31 PM
That sets the positional parameters to the (not hidden) names in the current directory.
 
oooh i get it. wow ... yeah, thanks again
 
You're welcome. Have good evening, morning, day, night, or whatever suits you :-)
Time, that's the word. Have pleasant time.
 
9:56 PM
Is there a current CSS issue breaking layout, or is it just me? Wide code-blocks are running into the right panel here unix.stackexchange.com/questions/522296/…
Nope. Not just me. Another mod confirmed seeing the same thing.
 

« first day (3343 days earlier)      last day (1611 days later) »