« first day (2985 days earlier)      last day (1976 days later) » 

9:15 AM
Bet with myself Kusa and Stephen are about to answer my question in less than 15 minutes. This question's about awk...
5 minutes, indeed... @StephenKitt you are so predictable :P
 
@Kiwy hah hah
“Challenge... accepted!”
 
It's too easy
 
(but like Barney, only for challenges I can easily complete)
 
Yeah well thanks again, I really need to understand awk better it sounds nice but look awefull each time at look at it
@StephenKitt so you can basically redirect print to almost anything if I understand correctly @StephenKitt ?
so this would be correct ?
`NF != 4 { print FNR, $0 >> consolidate.err; next }`
 
9:56 AM
@Kiwy yes, but with quotes around the file name
 
strangely enough I modified my script to diminish if statement but my consolidate.err contains a lot of "^@^@" inside it
awk -F";" 'BEGIN { OFS = FS }
FNR == 1 { match(FILENAME, "([0-9]{8})", a); JOBID = a[1]}
{if (NF != 4) {
print FILENAME, FNR, $0 >> "consolidate.err"; next
}else{
print $0, JOBID
}}' Event_*txt | gzip > test.gz
which is unexpected
 
null bytes? yes, that is unexpected
 
hum it actually comes from my original file which is actually written by one of my other script
but I never designed it to print null byte, because as everyone knows in french null bytes are nuls
worst pun I could ever write in frenghlish
 
10:32 AM
@Kiwy Is the input data on a shared drive?
 
@Kusalananda well it's a IBM GPS cluster which isn't everyone shared drive but it's kind of a shared drive
 
I have seen, I think, a file that is actively written to by some program on a NFS share be full of null bytes before the data was actually available. I think I could rationalize that with: Whatever wrote to the file allocated the file first and then filled in the data, and I just happened to read the file before tha actual data was available.
 
@Kusalananda well it's unlikely here, I have a python script using inotify and psutil to watch some program activity and wrote it out to a csv. It's very unlikely that someone tries to read/modify the data at the same time.
but I'll make a new run to check what happened strange to get thos nullbyte in middle of a file
 
 
2 hours later…
12:19 PM
@Kiwy A write, a seek too far and another write would do that.
 
12:29 PM
@Kusalananda thanks for the edit although I wanted to avoid using the POSIX classes since I find them ugly and cumbersome and I was pretty sure we only needed to deal with a space. But if I use [:space:] at the beginning, I also need to use it after the .com.
So I'd rather assume a space.
 
12:46 PM
@terdon Your call. You deleted the comments, so I didn't want to add yet another one.
(I think they're rather beautiful) :-)
 
12:57 PM
@Kusalananda Ugh, I never use them. I find the syntax extremely annoying :)
 
Hello @fabby and @terdon
I don't know ho this could have happen I'm going to do a rerun to see if it's just a random mistake in the distributed FS or my python monitoring script doing some bullshit randomly. it seems very strange to me
 
1:14 PM
@Kiwy Check for disk errors too.
 
well I do not administrate the storage cluster and those file are a bit old, if this error happen again I'll consider doing so. But it's the one and only time I notice that. It's probably an epiphenomenon
 
 
1 hour later…
2:16 PM
@Kiwy Race conditions ;)
 
@RuiFRibeiro well according to my workflow I really do not understand how a race condition could occur. But that's probably an epiphenomenon race condition indeed :D
 
Bonjour Everyone
 
Hello
 
How are you?
 
I'm fine and you ?
 
2:30 PM
I am well. I am at work now.
You are French?
 
Indeed why the question ?
 
Yellow vests is in news. But I couldn't make it out.
 
:D this is a very complex movement it's very controversial topic with anyone here. I doubt any people outside of France as most people inside the country already do not understand :D
 
I spent two hours to understand, I still don't know about it.
 
I like it though, I didn't though such a movement would birth from the poorest but I'm glad something is finally happening in France I would be glad to see more similar movement all over the world. I see this movement as an anti capitalism system (and it's a good thing IMO) but that's my point of view only and everybody sees what he want to see in this movement. It's composed of so many political apolitical smaller group that it's basically impossible to define
 
2:46 PM
@Kiwy My first take on it was "they don't like taxes, they must be right-leaning activists". Now it seems it's mostly about throwing tantrums in as many ways as possible.
 
Really it is against Capital, There was Five star in Italy. That failed ,imo.
 
@Kusalananda well I first was thinking the same though now there's real discussion between several movement inside the same movement. and basically all the rage against a lot of recent laws voted mostly to make economy more Liberalism
what is complex is that there's extrem left and right in the same boat :D and regular left and right and centrist and apolitical people. but I feel like there's a rage against a lot of liberalism law voted the last 10 years.
 
Hello @Kusalananda. How are you?
Godag dag. if not mistaken
 
@PrabhjotSingh Hej hej! God afton!
A bit stressed out over work. Not much time to be chatting really.
To many things in my head.
 
@Kusalananda just like Dumbledore or like any wizard would do. extract those bothering thoughs into a pensine
 
2:53 PM
Someone posted about an "awk workshop" for bioinformaticians at work. Huh. I wouldn't dare going to it I think. I would be far too annoyed.
2
 
"simple solution to everyday problem"
By kiwy
 
Thanks both of you for responding. I should go home now. It's 8.20.
 
Bye bye :-)
 
@PrabhjotSingh Be well.
 
3:13 PM
Hi @PrabhjotSingh. I got your message. Thanks.
 
4:08 PM
@Kusalananda Oh, come on, you could teach them something!
And don't diss bioinformaticans' knowledge of awk. I may have mentioned my PhD supervisor had actually written one of the first gene prediction algorithms and had implemented the entire thing in awk.
The thing would read through an entire genome, apply Markov chain models and predict genes. In awk!
OK, gawk, but still.
 
4:28 PM
@terdon Awk is a really useful tool, no worries. I just now wrote an awk script for a colleague to split fasta sequences on runs of "N" (I previously did the opposite, to create contigs out of sequences in such a way that they were packed in a particular manner, with gaps of these Ns).
No, it's just that most of the time, with shell scripting and awk programming (and even Perl and Python) courses, the tutors will teach students bad behaviour, out of ignorance.
"Just do for fasta in $(cat fastafile.fa); do echo $fasta | grep ..." etc.
Obviously, these tutors may well be good ones. I don't know them. They are local sysops.
 
@Kusalananda that’s true of many programming courses, regardless of the language :-(.
 
user141350
Hi. What cache=yes means in apt: update_cache=yes in Ansible?
 
@Kusalananda Argh
 
user141350
Too short for a question and I had trouble understanding Ansible docs...
 
@JohnDoea you don’t understand the corresponding entry in docs.ansible.com/ansible/latest/modules/apt_module.html ?
 
user141350
4:34 PM
@StephenKitt I had trouble understanding them almost any time I read them, but I think I have a problem here with APT, I should look for "apt cache" in Google I guess because it seems to go beyond Ansible (I never used apt-get cache or apt cache).
 
@JohnDoea what makes you think you should look for cache?
 
user141350
I just don't know the "apt cache" command's purpose, it might help me understand what it means in regards to Ansible's apt module...
 
@Kusalananda here, there's still hope:
2
Q: Extracting all reads from bam file which match read IDs in another file

d_kennetzI have a long list of read IDs of interest to me in a file called read_names.txt. it is simply in the format: m54197_180831_211346/4981510/ccs m54197_180831_211346/6226723/ccs m54197_180831_211346/6619607/ccs ... etc where these are the actual read names from a fastq file. I am then trying to ...

That's one OP who learned something :)
thanks terdon, I will keep this in mind and find the better ways to handle this in the future. I use this method quite often so that is great for me to know! — d_kennetz Dec 6 at 21:51
 
@JohnDoea look closely at the Ansible directive; what does it say exactly?
 
user141350
"apt: update_cache=yes", but what is update cache? I don't think someone updates something when the data is taken from a cache, a cache stores something old, not something new (that's how I see it).
 
user141350
4:38 PM
Maybe it means the updated data is cached somewhere?
 
@terdon Good on you!
 
@JohnDoea have you read the description of update_cache in the Ansible docs? (See the link above.)
 
user141350
Stephen, yes, I know read again, slower and in more depth:

"Update the apt cache if its older than the cache_valid_time. This option is set in seconds. As of Ansible 2.4, this sets update_cache=yes."

I have no idea why the apt utility has cache - I never inserted anything to its cache intentionally. I should read why it has cache, I guess.

Is that really important in Ansible these days anyway?
 
@JohnDoea you’re still not reading the description of the update_cache parameter. I’ll give you a hint: it’s the section which has update_cache in the “Parameter” column.
 
4:53 PM
 
@FaheemMitha Hi
 
@terdon thanks, that is indeed more helpful!
 
user141350
Yes, I saw it earlier (I meant this one actually, sorry, it was confusing to me).

I assume they say "equivalent" because Ansible translates "old" codes to their community-derived up2date equivalents if the original codes themselves change,

but I still miss the relation to the "caching" concept of computing... Why should the old code be cached, just as history?
 
@JohnDoea do you know what apt-get update does?
 
user141350
Yes; updates existing packages on my distro but not upgrading installed utilities that were being installed based on them.
 
4:59 PM
From the manpage:
   update
       update is used to resynchronize the package index files from their sources. The indexes of available
       packages are fetched from the location(s) specified in /etc/apt/sources.list. For example, when
       using a Debian archive, this command retrieves and scans the Packages.gz files, so that information
       about new and updated packages is available. An update should always be performed before an upgrade
       or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of
 
user141350
I think my description describes what's usually happens per that man description but I still miss what's caching has to do with it. Either the list is up2date or it doesn't... No?... Well, I assume maybe not.
 
user141350
I am sorry, maybe I should ask an SE question about this, I feel bad you maybe bother explaining this to me here personally, dear Stephen.
 
user141350
Asking now...
 
5:34 PM
@JohnDoea The apt system has a local list (a cache) of available packages and that is where it looks to see what package versions are available. The apt-get update command does not update existing packages. It doesn't change any software installed. All it does is download a new (updated) list of available software. That means that next time you run apt-get WHATEVER, the list (cache) will have been updated and you know it is, well, up to date.
This is why you run apt-ge update && apt-get upgrade: the first command, update, will update the list of available package versions and the second command, upgrade will actually upgrade all packages to the newest version available.
 
5:49 PM
Hi @PrabhjotSingh. Are you still here?
 
user141350
@StephenKitt yes I know it is a list which apt update (or apt-get update) updates but that software based on it isn't upgraded until apt upgrade or apt-get upgrade are done... I just didn't call it a "cache". Thank you for all the help. I should re-read the answer you posted soon.
 
@FaheemMitha Yes, I am.
 
@PrabhjotSingh Hi. Was just replying to your email. My mother is also a bit in and out. I don't know which theory this makes more likely. I.e. she isn't consistently out.
@PrabhjotSingh Re the hospital medical thing, you saw the email I sent, right?
I mean, I forwarded it to you.
I got a rather unhelpful reply back from i-probono. Reads like it was written by a robot.
 
A bit in and out. what does it mean ?
 
He said if I was a civil society organization, I should register on their site. And I made it quite clear in my email that I wasn't an organization.
 
5:57 PM
Commoncause replied ?
@FaheemMitha it is weird.
 
@PrabhjotSingh Colloquial for conscious/unconscious. in == conscious. out == unconscious.
@PrabhjotSingh Not yet.
@PrabhjotSingh People don't like to read.
Maybe they get a lot of emails asking for help. It wouldn't surprise me.
 
@FaheemMitha Is she conscious wrt to person, place and time ?
 
@PrabhjotSingh Not enough data, since she can't speak. She has a tracheostomy.
She can't do much more than move some parts of her body.
 
Motor responses are normal, weak or absent ?
 
For a while she was obviously trying to talk, and it was excruciating to watch.
Since I had no idea what she was saying.
@PrabhjotSingh Well, when she is out, it's absent. When she is in, it's weak.
 
6:01 PM
Movements like flicker. You saw some movements ?
 
@PrabhjotSingh When she is conscious, she moves her eyes and head more purposefully. Not sure what you mean by flicker.
 
So motor responses are there, not bad.
 
@PrabhjotSingh She's not actually in a coma.
As I was writing in my email to you, the doctor thinks it's because calcium is high.
But of course she could be wrong.
 
@FaheemMitha I was afraid of this that day when you told me about sepsis. I deliberately didn't ask so far.
 
@PrabhjotSingh Well, it could still be sepsis.
 
6:05 PM
@FaheemMitha Potassium and Glucose are known to cause this.
 
She certainly has infections. I asked them to do a blood culture, as I mentioned earlier.
@PrabhjotSingh They've been checking potassium. I don't know if they have checked sugar recently. I could ask.
 
@FaheemMitha TLC would be better idea.
 
@PrabhjotSingh TLC?
 
WBC count.
 
@PrabhjotSingh Oh, that was high but has now dropped, as of yesterday.
 
6:07 PM
@FaheemMitha below 11500.
 
17400 to 11,000 or so. I could give you exact numbers if you care.
 
And They are not giving antibiotics ?
 
Of course, it could go up again.
 
11000 is upper limit. No need to worry.
If patient is off antibiotics for 48 hours, then culture should be done.
@FaheemMitha if WBC is 11000, there should not be sepsis.
 
@PrabhjotSingh Maybe a bit higher. Do you want the exact number/ It's 11000 something.
Though I think that was yesterday, maybe.
 
6:13 PM
@FaheemMitha if it is not more than 11500, this is not a big problem.
@FaheemMitha So Docs are still giving antibiotics ?
 
@PrabhjotSingh It's 48006573. Dated 10th.
@PrabhjotSingh Oh yes. Just added colistin without asking me.
The "antibiotic of last resort". Known to cause kidney problems.
Probably because she has a multi-resistant infection which isn't going.
@PrabhjotSingh BTW, how are you doing? Not too tired from work?
 
Colistin. They use this fir MDR Klebsiella.
 
And actually I don't even know what you do.
 
@FaheemMitha Yes, too tired.
 
@PrabhjotSingh The one she has is klebsiella pneumoniae. Seriously multi-resistant.
@PrabhjotSingh I'm not doing too great myself. Probably mostly stress-related. I haven't been doing that much.
 
6:19 PM
@FaheemMitha If you perform culture of a patient while he /she is taking antibiotics. This can affect results.
 
@PrabhjotSingh Blood culture?
 
@FaheemMitha carbapenems are effective against Klebsiella.
 
@PrabhjotSingh I don't know about that one. I took a photo of the culture sheet. I could look at it.
 
@FaheemMitha Yes, but as a rule of thumb any culture should not be performed. Get it done after 48 hours.
 
@PrabhjotSingh 48 hours of what?
You mean 48 hours after stopping antibiotics?
 
6:23 PM
@FaheemMitha Culture sheet ? This is nothing but offending pathogen. And which antibiotic is effective . And to what extent.
 
@PrabhjotSingh Yes, that's correct. But isn't that also what we are talking about?
This is with reference to your comment that "carbapenems are effective against Klebsiella".
 
@FaheemMitha exactly, This is theoretical. But this should be kept in mind.
 
@PrabhjotSingh Well, ok. But stopping the antiobiotics for 48 hours isn't really an option right now.
 
@FaheemMitha I mea Carbapenems should be used before Colistin. Colistin should be used for MDR.
 
@PrabhjotSingh Maybe it was resistant to that. I'll check the sheet.
@PrabhjotSingh I don't see it listed.
Oh, it's a class. Not a specific antibiotic.
Resistant to both imipenem and meropenem.
 
6:33 PM
@FaheemMitha Strange. Then Colistin is right choice.
 
Also ertapenem.
@PrabhjotSingh That's a really nasty bug.
Courtesy of the hospital. You give them lots of money, and you get multi-resistant bugs in return.
 
@FaheemMitha This reply is true about second pathogen acinetobacter
 
@PrabhjotSingh That one has supposedly gone. If we are are talking about my mother.
 
This inf is confined mostly to ICU patients.
@FaheemMitha How can you say that ?
 
@PrabhjotSingh Based on the most recent throat culture, at least.
Of course, I suppose that's hardly conclusive.
 
6:40 PM
I vaguely remember i read about it in some medical book. Harrison I guess.
I don't understand this thing.
 
@PrabhjotSingh Read about what?
 
@FaheemMitha @FaheemMitha Acinetobactor. I don't remember if i ever read about it in microbiology textbook.
 
@PrabhjotSingh Ok. And what don't you understand?
 
27 mins ago, by Faheem Mitha
And actually I don't even know what you do.
 
@PrabhjotSingh You don't understand what? I just said I don't know what you do - professionally. Or to put it differently - what do you do professionally?
 
6:44 PM
And you know i have long lunch break, still don't know about me.
@FaheemMitha Pharmacist
 
@PrabhjotSingh Oh. You probably mentioned that before, but I forgot.
I'll try to remember.
 
@FaheemMitha This must be something else.
 
@PrabhjotSingh Oops. 11100. Dated 10th Dec.
Pasting error.
 
That is very close to normal. Don't worry. No chance of septicemia. @FaheemMitha
 
@PrabhjotSingh Well, there is plenty of other bad stuff going on.
 
7:02 PM
In this comment, what is the english meaning of "That is exactly backwards"
 
@FaheemMitha please tell me about that.
 
I could not google this
Does he mean, exactly the opposite>
 
@overexchange Why don't you ask a question on english.stackexchange.com ?
 
7:42 PM
@PrabhjotSingh Sorry, I just dozed off in my chair. Tell you about what?
 
@FaheemMitha other bad stuff.
 
@PrabhjotSingh Well, she's pretty sick. It's a horrible nightmare.
Not sure what you want to know.
 
@FaheemMitha You said this.
52 mins ago, by Faheem Mitha
@PrabhjotSingh Well, there is plenty of other bad stuff going on.
 
@PrabhjotSingh Yes, I know.
Still not sure what you want to know.
If you want a complete clinical history, that would make rather lengthy and depressing reading.
 
8:01 PM
@FaheemMitha If you could send it , this would be very helpful. If that is not possible you may send only provisional diagnosis.
 
@PrabhjotSingh You mean via email?
 
@FaheemMitha yes
 
@PrabhjotSingh Ok.
 
0
Q: How to add subnet entries in router table?

overexchange Requirement: 1) 11 subnets needed given IP 172.16.0.0 2) Packet of each subnet should not step into another subnet, given a single router connecting all 11 subnets Solution: • First octet says that this is Class A • Network ID is 172.16 and Host ID is 0.0 • Defa...

 
8:26 PM
@PrabhjotSingh Any update on the 1940 Act?
 
@FaheemMitha No, yesterday i was busy reading Mr Patel, governor RBI. So far 143 pages only.
 
@PrabhjotSingh Ok.
 
@FaheemMitha btw read your email to Commoncause. They should act on it.
 
@PrabhjotSingh It would be nice to get a positive response from, like, anyone.
I mean, someone who is in a position to help, legally and stuff.
 
@FaheemMitha There was some Nikhil Wagle in your city. You heard about him ?
 
8:36 PM
@PrabhjotSingh No.
According to Wikipedia, he's a journalist. How would he help?
He doesn't like the Shiv Sena and says so publically. So at least he has courage, and good taste.
 
@FaheemMitha what is interesting his Twitter page says "Hopes another world is possible ".
 
@PrabhjotSingh Are you suggesting I send him an email?
 
@FaheemMitha send him a tweet about it.
 
@PrabhjotSingh I don't think I could fit much information into 128 characters. I wonder if his email is public.
 
@FaheemMitha I once mentioned Abantika Ghosh. Why don't you contact her ?
 
8:49 PM
@PrabhjotSingh Another journalist.
 
@FaheemMitha And one more thing, look at tweets he sent all are political.
@FaheemMitha Yes, but she covers topics related to health policy.
 
There is an email address for possibly this Nikhil Wagle here - hindujagruti.org/news/11276.html
But 2011 is quite old. Might be out of date. Does it look like the same Nikhil Wagle?
 
One who is tweeting only politics can't help.
 
Never mind, looks like his Twitter page has email - twitter.com/waglenikhil?lang=en
@PrabhjotSingh Well, you mentioned him.
Should I email him or not?
 
@FaheemMitha no, imo.
 
8:53 PM
I guess I should use a form letter style. Can't write individual emails to everyone.
Yes, I see Abantika Ghosh does cover health issues. Should I contact her, then?
 
@FaheemMitha Yes, Abantika Ghosh is very intelligent.
 
@PrabhjotSingh Ok, so need to find an email address, then.
 
She works fir Indian Express thess days.
 
> According to the WHO database of air pollution, 14 of the 15 cities with the worst air pollution in the world are in India.
@PrabhjotSingh Yes, so I see.
Cheery stuff.
 
@FaheemMitha What does this mean ?
 
9:00 PM
I've come across this site before.
@PrabhjotSingh It's sarcasm. Referring to the quote above.
 
Muckrack is like researchgate.com
 
@PrabhjotSingh I don't know much about researchgate.
 
@FaheemMitha This is just an example of research gate. google.com/amp/s/www.researchgate.net/scientific-contributions/…
 
@PrabhjotSingh I know what it is, as in I have seen the site, I just don't know much about it.
Actually Jean Dreze would be a good person to write to. I should make a list.
 
@FaheemMitha Jean is interested in development economics.
 
9:08 PM
@PrabhjotSingh Yes, I see. But isn't it possible he might have some relevant contacts?
 
@FaheemMitha you want Jean 's email.
 
@PrabhjotSingh I think I found it quite easily the last time I looked. But yes.
So, I've created a list titled "people to contact regarding hospital pharmacy issue".
 
So you got his email address ?
 
@PrabhjotSingh No, you deleted it too quickly. But I can easily google it - don't worry.
 
@FaheemMitha I am in the list ?
 
9:19 PM
@PrabhjotSingh I already sent you an email about it. :-)
 
@FaheemMitha NPPA covers essential medicines.
 
@PrabhjotSingh Yes. It's not directly relevant, but it's the same basic topic. Medicine pricing.
@PrabhjotSingh If you get hold of Abantika Ghosh's email address, that would be helpful.
 
@FaheemMitha I used to read her articles before 2015. Anyway i will try to find her email address. I know about her that she is very intelligent.
 
@PrabhjotSingh Ok, thank you. If I get hold of her email, I'll let you know.
Health related articles on India make uncommonly depressing reading, I must say.
 
9:35 PM
@FaheemMitha No, There is R Prasad in The Hindu. You would definitely like his articles.
 
@PrabhjotSingh Oh? Why?
Looks like more science research stuff.
 
@FaheemMitha Yes,
 
 
1 hour later…
10:56 PM
@PrabhjotSingh Do you understand what this is about? twitter.com/shaileshgan/status/1068452257258192896
 

« first day (2985 days earlier)      last day (1976 days later) »