« first day (3463 days earlier)      last day (1474 days later) » 

12:03 AM
I used to have a function to ssh into my favorite server until I learnt yesterday to have a .ssh/config file with an alias in it...
 
12:25 AM
How do you have both arguments AND flags be optional?
getopt() will get the flags, so that's not a problem, but what about depending on something like "if (argc < 2)" but still letting flags on? What do you do then?
 
 
1 hour later…
1:25 AM
Have you people seen this coronavirus video: https://www.youtube.com/embed/DrsCgdVLkzw?feature=oembed&enablejsapi=1
We should copy what SouthKorea, Japan, Singapore and HonKong have already proven that could be done: contain the virus.
 
1:35 AM
I think we're going for eventual herd immunity and vaccines.
 
"herd immunity"
"vaccines"
Not in a country steeped in individualism and stubbornness towards authority since before the beginning, we don't.
"I know more than $AUTHORITY" is the battle cry of a specific but common kind of simpleton we've had since the beginning.
Wait, wait, enough politics. Flags, getopt(), optional argument..?
 
2:22 AM
@JohnnyApplesauce Remove all flags with getops, do the argument count if if [ "$#" -lt 2 ] after the flags have been removed.
@AaronHall The problem to that is that there is a big bump on the road (literally) to get there (herd immunity) if the curve is left to grow without restrain. The health system will collapse causing many deaths (as has happened in Italy already). Other than that, yes, that will be the end result for sure, either "herd immunity" or "vaccines". That's a given.
 
 
4 hours later…
6:11 AM
@ilkkachu Ok, table. Not a Lua fan either?
 
 
4 hours later…
10:18 AM
@FaheemMitha I don't mind the language, and they say the interpreter is rather on the small side, which is nice in some uses, but the object system could be saner. The fact that they just provide you the minimal tools needed so you can build the scaffolding needed to actually get something useful done both leads to less-than-useful work and gives good chances to implement things wrong
Lua would do much better with a sensible standard library. And there actually is some library that tries to do that, it's just not a standard part of the distribution (I forget the name)
 
@ilkkachu I don't see why Lua can't both be small, and have a reasonable toolkit. Because it doesn't.
@ilkkachu There are multiple possibilities for what you are talking about. Penlight, perhaps?
 
10:41 AM
@Kusalananda so I ended up downloading 98GB of log files and as it turns out I got the wrong hour
The errors I was looking for happened at 16:58 and I downloaded 17:00-17:59
 
11:06 AM
Hey @jesse_b. I hope you are doing ok.
 
@FaheemMitha wat up Faheem, I'm fine. How are you?
 
@jesse_b Ok. A bit stressed out, still.
 
11:33 AM
@FaheemMitha yeah, Penlight was the one.
 
12:18 PM
@jesse_b If you're downloading it again, consider grepping it while downloading. E.g. curl URL | tee >(grep pattern >hits) >file
 
I was wondering if anyone can help with a seemingly trivial but rather annoying issue.
 
want to find out?!?
 
I often write longer SE questions in a file using Emacs.
 
Ohhh, well there's your first problem -- using emacs! That would be annoying.
 
But when I paste it into the SE web form, a lot of whitespace is added at the end of lines.
I don't remember this happening before. Something may have changed to make it happen recently.
@JeffSchaller Not helpful.
Manually removing whitespace to make the lines wrap is excruciating. So I'd be happy to find a solution for this.
Would such a question be on topic anywhere on SE?
 
12:26 PM
You're using a clipboard to copy/paste off the emacs screen?
 
@JeffSchaller Yes, I am.
 
and you don't have intentional whitespace in the emacs version?
 
I mean, I guess I am. I right click and do "Copy" from Konsole.
@JeffSchaller Not that I'm aware. I have Emacs set to wrap in the usual fashion. It might be the default - I'm not sure.
 
Tim
@FaheemMitha yes, dear
 
My first guess would be that the coy/ypaste mechanism sees whitespace at the ends, and is sending it.
 
Tim
12:29 PM
Hello Chat, how is Kronovirus going on in your place?
 
Now that I think about it, When I'm copying from the Konsole buffer, it does seem to be copying a lot of whitespace. So perhaps a solution is to go back to using methods which insert the file directly.
Or figure out a more intelligent way to copy text from Konsole.
@Tim It's spelled coronavirus.
I think I'll have to use Atomic Chrome or something similar.
 
Tim
12:50 PM
Hello Chat, cow does the virus affect your lives?
Almost all the pantries are closed :(
Do you all have your jobs secured? So do your colleagues? Do your employers freeze hiring or downsize?
or continue hiring?
Don't worry. I am not applying to your companies
@FaheemMitha Have you quit statistics and have you quit R?
I am relearning R a bit, and enjoy reading the R books I am reading now and I didn't have time to
I never had time to appreciate R as a language
After a round of language tour, I come back to do so
 
Tim
1:13 PM
I had tried to avoid R too long, because of my inability to comprehend it
 
1:41 PM
I don't know if it's cold feet but I've install Cygwin on my windows 10 machine instead of reformatting and installing a Linux OS. When you open the Cygwin terminal, where is it's home directory?
 
@AdamL perhaps a simple pwd would tell you?
 
lol thanks I deserved this public humiliation I really did
also seeking reccomendations of non free software, does anyone use something similar to Microsoft word but tailored to assisting with building regular expressions? I was thinking of just using netcat to pipe a command to a virtual machine, which then sends the output to the local machine, but that wont really help much. Basically I'm looking for a "spell check" for writing regular expressions, like predictive text describing the outcome of the presently typed command if I hit enter
Like I completely wiped my Ubuntu installation in one command a while ago so it would be helpful to have such a text editor
 
1:59 PM
@AdamL Why does it need to be non-free?
And would something like regex101.com work?
 
It seems like a regular expression is separate from "commands that could wipe your system"
 
2:24 PM
I think he didn't mean the regex did it, but the input of a command that was a regex did it.
Anything that involves deleting and the use of ".*" should probably involve a very careful check of question marks on the symbols on either side of ".*"
 
2:42 PM
@AdamL when I used Windows I quite liked The Regex Coach
 
3:04 PM
I see what seems to me a new "Timeline" icon.
When did that arrive?
Wow, I actually got an answer to my question on Money SE already.
I wasn't expecting an answer, let alone a quick one.
 
@FaheemMitha start of the year
146
Q: Add a link to the timeline of a post

stemaFor the past year I have been quite active on SO and a bit on meta, but I had never heard of the timeline of a post until today in a comment on meta. There was an announcement by Jeff Atwood two years ago of this feature as "experimental". (Timeline for that question). This feature was requeste...

 
@StephenKitt Oh. Quite recently, then.
 
Another cool feature is the “follow” button
5
Q: Feature request: Watch other person's question for answers/updates

OtheusLet's say I see a very interesting question, one to which I do not the answer but would very much like to have. I see no way to "watch" that question. Is there a trick to doing this? Is this a feature we can add to this site? I would expect a blue or yellow pip in my mailbox when someone posts an...

 
@FaheemMitha You might want to edit that question on money, by the way. At least the first paragraph ("ofIndian", "I'm try", and the dangling final sentence).
Personally, I would also put the quoted text in quote blocks since it's really hard to understand where your words end and the quotes begin.
 
3:24 PM
@terdon Agreed, it needs more work. I was distracted by all the whitespace. Still trying to remember how Atomic Chrome works.
Thank you for the tips.
I assume you looked up the question, since I don't think I quoted it here.
 
@terdon I guess it doesn't have to be, I just have some spare change that's all.
 
@AdamL you can always send money to the author of a free piece of software you like (free as in beer and speech)
 
3:47 PM
@FaheemMitha I know everything about you!
:P
 
Tim
@FaheemMitha Do you still use R? What are your current languages of choice right now?
If I remember correctly Stephen Kitt mentioned R somewhere in a context which I forget
 
@Tim I used R for a long time. But not for many years. More recently I've been using Python. And I've been writing a bit of Lua as a backend to LuaTeX.
But I don't do much programming these days.
R from around 1999 to around 2006/2007, give or take.
When I started using it, it was much younger in its lifecycle than it is now. I think the first version of R I downloaded was like 0.67.
 
Tim
4:03 PM
oh, which libraries in python do you use?
I think you enjoy Lisp, so I guess you may find some lost love in R sometime
 
@Tim A variety. Nothing specific. Recently I used Pandas for some db like data crunching.
 
Tim
I was wondering why the search doesn't work chat.stackexchange.com/search?q=R&user=kitt&room=26
 
@Tim R resembles Lisp very little. Python is really closer. R is just a mess.
 
Tim
I have never used Pandas. I have heard a lot of people using it. Do I have to learn it?
 
@Tim You don't have to do anything. Lots of people don't program at all, and they seem perfectly happy, though I haven't actually taken any surveys. Nor am I aware of any.
 
Tim
4:07 PM
What does data crunching mean? Is it some concept in database or data science?
 
A question for SO to add to its survey, perhaps. Do you enjoy not programming more than programming?
 
Tim
I am unhappy, so I have to find something to learn
 
@Tim Just data manipulation. It's a loose term.
@Tim I hear that most of the human race is unhappy. Especially in India. And especially now.
Well, in places like Africa too, I suppose.
 
Tim
Is it why Indian are enthusiactic in computer programming?
 
@Tim Indians get computer jobs because (they think) it pays well.
 
Tim
4:08 PM
taking the lead in work force in software programming?
 
And Indians all worship money. Often it's the only thing they think about.
I'm might be generalizing/stereotyping a bit here, but in my experience, it's always held true.
 
Tim
Are you still doing statistics, or machine learning or data science or what you call it?
The computer science literacy in India is probably the best in the world
 
@Tim I'm not, no. I would like to do something, but currently I'm not.
@Tim I don't think that is true at all.
 
Tim
Then you might rekindle your love in R
 
I think whitespace is the devil. It's invisible and evil.
@Tim I don't have any love for R. And I doubt I ever did, though it's hard to remember how I felt 20+ years ago.
 
Tim
4:22 PM
How did you feel? Did R torture you?
I felt I was tortured when I was using R a while ago
I just followed examples that I could find on the Internet or "tutorials"
I didn't learn programming in R from them
I have been standing to the window to get some heat from the sun
By standing, I type on my nearly broken laptop on a pile of boxes. It is to simulate those expensive standing work desks with adjustable heights.
Standing is good especially if sitting too long. But how shall I make standing long not a problem?
not cause health problem
@avazula I saw you in stat chat room too
 
4:38 PM
@Tim I've never particularly enjoyed using R. It's never really felt like a properly designed language. More like a junkyard of syntax and routines just thrown together. With the odd unexpected sharp edge.
 
Tim
Do you have a list of junks in R?
 
@Tim Pardon?
 
Tim
What are the junks in the R programming language that you refer to?
 
Everyone in America knows they are currently eligible for free healthcare for anything related to the pandemic right?
 
4:55 PM
@Tim Junkyard. As in a random collection of scraps.
 
Tim
What specific scraps?
 
@Tim There are lots of pieces. It's just an expression.
The thing about R is that it is very idiomatic. But the pieces don't form a coherent whole.
 
Tim
Is the incoherence because of the packages?
 
Unlike Python, for example. Which isn't perfect, but it's visibly a designed language, and mostly looks coherent.
@Tim No, it's the language.
 
Tim
What pieces are not coherent?
 
4:58 PM
Take a look at arrgh.tim-smith.us
It's rather sketchy, but it's a start.
 
Tim
That makes wonder more what Stephen Kitt said about R a while ago
 
@Tim It would be hard to answer that question without writing an essay.
Probably a lengthy one.
 
Tim
Let me know when you have it ready
 
@Tim Sorry, I wasn't planning on writing it. I have other things to do.
And my memory of R isn't the greatest. I'd have to go in and remind myself of all the things that irritated me.
Though there is one thing that I could mention right now. The help pages, particularly the examples. It's like they're written to be unhelpful.
No explanation or context. Always complicated examples. With a lot of extra stuff which isn't necessary to explain usage.
It's like they're trying to be as confusing and unhelpful as possible.
 
Tim
no worry then. I hope R is not the worse language that you have met
Does R share the same reputation as JavaScript?
Do any of you work on your computers by standing?
 
5:06 PM
@Tim PHP is worse.
 
Tim
5:20 PM
My discomfort with R in the past came from my unfamiliarity with FP and inflexibility to understand the unusual OOP approaches in R
failure to understand types vs classes and some special classes/types
 
5:46 PM
@StephenKitt "when I used Windows I quite liked The Regex Coach" And now that you are in *nix, which one you like?
 
I hesitate to do this, but
Sep 11 '19 at 16:07, by Stephen Kitt
To practice regexes, check out https://regexcrossword.com/
 
I prefer to practice regex by failing 20 times and then asking @Kusalananda what I'm doing wrong
 
6:10 PM
@JeffSchaller I did those but I didn't like the fact that they were so easy, either due to symmetry or by topic.
 
@Kusalananda I seem to recall you did very well :) I mentioned it mostly in case it helped Isaac or Stephen for the query above it
 
Tim
6:52 PM
I saw in a video that in a city, rodents are out on the streets more than ever
There is another video
Is this the chance for nature to rebalance itself?
 
We even had rodents out in the streets before any of this happened. So progressive!
 
7:10 PM
@Isaac I’ve been using regexxer since it was released (2002?), before that I just debugged regexes by building them up piece-wise
(I’ve been using *nix since 1994, I used to use Windows for my work because I had to, but not at Red Hat obviously)
 
Would be pretty funny if red hat used windows machines
 
7:42 PM
@StephenKitt Now I have mathematical proof. Given y=mx+b, and y.Stephen > y.Jeff, we've learned that b.Jeff > b.Stephen; therefore m.Stephen >> m.Jeff
 
@JeffSchaller Your mathematics does not resemble our Earth mathematics.
Pop quiz: that is a rephrase of a line from which TV show?
 
@FaheemMitha it's another way of staying that Stephen is better at Unix than I am, since he started later and ended higher
 
@JeffSchaller I don't think IIPs say much about anything, really.
Though sometimes they make palindromes, which is fun.
The TeX SE people seem to be into that. At least some of them.
 
@FaheemMitha or "sip", in Pig Latin
 
@JeffSchaller sip?
 
7:55 PM
IIPs say
 
@JeffSchaller If this is another witty play on words, I don't get it.
 
I don't think IIPs say much about anything, really. ... Though sometimes they make palindromes, which is fun. --> IIPS say --> ipsay --> sip (in Pig Latin)
 
@JeffSchaller Uh. Ok. I think I prefer English, flawed though it is.
 
@FaheemMitha I do, too -- just a "fun" variation of palindromes
 
Which isn't to say that Stephen isn't a *nix expert.
 
 
1 hour later…
Tim
9:25 PM
Gotcha
Jun 6 '19 at 8:16, by Stephen Kitt
@Adam if you want to stick to “general-purpose” languages, Python with SciPy. R is worth learning too IMO.
 

« first day (3463 days earlier)      last day (1474 days later) »