Show newer

I am looking for a way to search a file for a specific pattern '.00' and want to calculate how often it appears. grep -o '.00' file does this quite well. Unfortunately I do not know how to exclude any pattern which contains the pattern I want to have but is a longer string.

What I want to have :

number of times, '.00' appears in the file

What I want to exclude :

longer patterns like '0.000001' so everything '*.00*'

Does anybody have an idea? Could I do something like "grep -o ('.00' and not '*.00*') ?

Thanks in advance, advice and boosting appreciated.

Hey, #Keybase users: If you'd like to see Mastodon support in Keybase (which is just *perfect* in a federated network to verify people) and have a GitHub account: make sure to voice your wish, +1ing this comment on the related issue. That might make it happen!

github.com/keybase/keybase-iss

I see people generating random numbers in #c/#cpp using rand()%range without proper care. It is wrong! The behavior is probably not what you want!
clementfevrier.fr/articles/11_
#coding toot.forumanalogue.fr/media/44

Has anyone ever thought of constructing decentralized networks as concurrence to the internet? We could use radio frequencies to propagate data or even satellites. Or mesh networks. And if we restrict it to text files data transfer could be pretty easy, less harmful concerning viruses and could even be one-time-pad-encrypted. Referring to textfiles.com you can download a big part of the ancient American BBS network on a single telephone. It's some gigabytes in total (excluding pdfs).

This is the last from the series of poems I've been posting , all written 6 years ago.

jeffreyfreeman.me/holy-guardia

= Holy Guardian Angel =

Giving part of one’s self so another can thrive,
no greater a gift could I ever contrive.
Thus my soul I do give to your worthy embrace,
to an endless quest, for your fears to displace.
Oh!
To give you a world where your happiness thrives,
that fate I shall seek through both of our lives.

For once the great goal is no longer self pride,
the entire vast universe does stand by our side.
Not a fault can we have that we don’t overcome,
the whole of our parts is the lesser to our sum.
Ah!
To make us a life where our true selves do reign,
what a glorious cause I shall never need feign.

So here we do stand with our flaws to be seen;
the trust in each other does wash it all clean.
My love for myself is my love for you too,
for your love is my love, we both can imbue.
See!
I need naught from you, for its part of myself,
and to give from that part only strengthens ourself.

But what if the chaos does haunt us one night?
Our blessed holy guards will then give us true sight.
For chaos is born of illusion’s worst fear,
be true to ourselves so it shall never be near.
Eh.
The storm was a dream, not a thing to contend,
I have found us clear skies that never will end.

If the body only gives what it will there receive,
then the mind will be hollow with no hope to relieve.
Thus I use all I have just to light up your eyes,
because I wish you to live, to reach past compromise.
So!
To bring you to life is all I ever did want,
your soul just to smile, not a trophy to flaunt.

Take all that I give, because you give it to me,
since two are the one it brings both of us glee.
Consume all my love, never fear you’ll do pain,
for truth of one’s self is never heart’s bane.
Ah-ha!
The key to our world is the truth held inside,
So forever will I seek ourselves to confide.

–Jeffrey Phillips Freeman

@IntegralDuChemin there's actually a chunk of ip addresses reserved for use by internet over ham radio which I think is a really interesting idea

Has anyone ever thought of constructing decentralized networks as concurrence to the internet? We could use radio frequencies to propagate data or even satellites. Or mesh networks. And if we restrict it to text files data transfer could be pretty easy, less harmful concerning viruses and could even be one-time-pad-encrypted. Referring to textfiles.com you can download a big part of the ancient American BBS network on a single telephone. It's some gigabytes in total (excluding pdfs).

#Pêche @ClaireNouvian dénonce un modèle socialement/écologiquement absurde « On est allé trop loin dans la surexploitation du poisson et fait de mauvais choix publics. Dans ce contexte de tensions sur les ressources, ce sont les industriels qui gagnent » t.co/WjezjplriR

Merge the past, commit the present, deploy the future!

What would you say if you met a woman as beautiful as Marilyn Monroe and as intelligent as Albert Einstein?

Are there or financing/doing research in either theoretical quantum information, data science or machine learning who need a theoretical physicist who likes to play around with data and has a solid background in math?

#introductions

Toot toot

Hey, I'm Charlie. I'm part of the doctoral training centre at University College London for delivering quantum technologies. I'm just finishing up a master's project and will be a PhD candidate starting October this year.

For my master's and PhD I'm investigating efficient and practical ways of encoding fermionic systems (electrons, essentially) onto quantum devices for simulation.

Interested in any quantum technology related content.

#introduction I'm James, a NatSci student, #programmer and dinghy instructor. Looking to see cool new things and get to know interesting people/bots! #robotics #scicomms #programming #tennis #bots😊

Heute mal die Filterlisten in pi.hole überarbeitet. Nachdem ich auch eine für Fakenews aboniert hab, löst Bild.de nicht mehr auf. 😂

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.