Re: [EXTERNAL] Re: [gentoo-user] OCR for music (OMR)

2019-11-07 Thread Laurence Perkins


On Mon, 2019-10-21 at 16:52 +0100, Mick wrote:
> Thanks Daniel,
> 
> On Monday, 21 October 2019 15:27:18 BST dan...@sonck.nl wrote:
> > I vaguely remember using some windows based program when archiving
> > old
> > music. The community in question had maps full of paper scores and
> > making
> > them digital would have made it much more compact and versatile.
> > However
> > even back then I remember manually writing lilypond files. I did
> > use Linux
> > at that time but wasn't aware of any OMR tools.
> > 
> > Eventually I stopped visiting and the project fell out of favor due
> > to the
> > immense manual labour. Literally hundreds of sheet music ranging
> > from single
> > page meant for the artists up to the combined score for the
> > conductor.
> 
> There have been a relatively large number of OMR projects falling in
> and out 
> of obscurity, forked, taken over, mixed with closed source and then
> die.
> 
> I was looking for an OMR package in portage to scan PDF sheets of
> music and 
> then split different voice parts out into separate midi files - but
> if a 
> single application will do the full workflow then I would be more
> than happy.
> 
> 
> > A quick search led me to audiveris. I have no experience but it
> > might do
> > what you want. It has the option to export to MusicXML. I tried to
> > use
> > Rosegarden to read a MusicXML which "worked". It did get the notes
> > right,
> > but alternated with trebble and bass lines, being a somewhat
> > monophonic end
> > result.
> > 
> > Hope this helps
> > 
> > Daniel
> 
> I understand there are a few apps by/for Apple, who seem to be the
> favourite 
> OS for arty users, but I no longer have OSX running here or any
> applications 
> for it.  There are also a number of other applications some of them
> for Linux 
> - but I haven't found one yet in portage (TBH I wouldn't know its
> name off-
> hand).
> 
> From what I read here Rosegarden will not perform OMR itself, but
> will import 
> various file formats:
> 
> https://www.rosegardenmusic.com/doc/en/file-other.html
> 

http://www.music-notation.info/en/compmus/omr.html

There are a few here that have potential, both free and paid.  If you
find one that works well, writing an ebuild for it shouldn't be too
terribly difficult.

LMP


signature.asc
Description: This is a digitally signed message part


Re: [EXTERNAL] [gentoo-user] gentoo robot vacuum

2019-11-07 Thread Laurence Perkins


On Thu, 2019-10-03 at 20:13 -0400, james wrote:
> Gentoo community,
> 
> Robotic vacuum cleaners are all the rage nowadays.
> I'd like to buy/build one, that also has remote camera (so I can see 
> what troubles it is having by reviewing stored video) find it easy,
> and 
> make sure it's not just banging against the wall. I'm not so
> interested 
> in a slick, massively miniturized model, as much as I am
> something where I can get to the firmware, or is completely open 
> sourced; so I can fix/enhance the thing.
> If it's already done, then my searches have missed it, or a
> community 
> work on such linux centric solutions to automating home/small-office 
> flooring.
> 
> Anyone know of such a robotic vacuum that is basically very open, if
> not 
> completely open source?
> 
> Gentoo friendly vaccuum?
> 
> 
> Lawnmower is next on the list.
> 
> All suggestions and comments are most welcome.
> 
> James
> 

I don't know of any current models that have open firmware, but a bunch
of the older ones have a serial interface that you can attach to and
send them commands.  People used to tape a Pi or something and a camera
to the top of them and then program them to do all sorts of things.  I
suspect that's still your best bet.  Most of them don't have a lot of
brains, just a simple response pattern that will eventually cover the
whole room and maybe an IR homing system to let it find its dock again
when the battery runs low.

LMP


signature.asc
Description: This is a digitally signed message part


Re: [gentoo-user] Google Mail still not recognising Gentoo KMail

2019-11-07 Thread Mick
On Thursday, 7 November 2019 17:00:59 GMT Peter Humphrey wrote:
> On Thursday, 7 November 2019 12:12:41 GMT Mick wrote:
> > On Thursday, 7 November 2019 10:47:19 GMT Антон Кулешов wrote:
> > > Hello,
> > > 
> > > Create 'Application-specific password required' in your google account
> > > and
> > > use it instead of your google password. Try this link
> > > myaccount.google.com/apppasswords
> > 
> > A couple of months ago Kmail stopped working with OAuth2.  I assumed Gmail
> > changed their OAuth2 implementation and Kmail hadn't caught up with the
> > changes.
> > 
> > The way I managed this change so far, has been to set my Google Account
> > security settings to allow "less secure apps":
> > 
> > https://support.google.com/accounts/answer/6010255?hl=en
> > 
> > Then change the Kmail/Settings/Receiving/Advanced/Authentication from
> > "Gmail" to "Plain".  The other relevant settings are "SSL/TLS" and port
> > "993".
> > 
> > When selecting "Gmail" authentication, it used to be the case qtwebengine
> > would launch a GUI in which you would login into the Gmail security web
> > GUI
> > to set up an application specific password.  I don't know if this works
> > now, it didn't last time I tried it, a few months ago.  I suspect it won't
> > work if you have "less secure app access" enabled.
> 
> I tried that, and I remember I used to have something similar set up too,
> but since that change you mention at Google, apparently it's no longer
> possible to create a new account in KMail to work with google mail. Google
> just blocks the attempt and issues me with a critical security issue.

Login to Gmail webmail interface using your browser.  Open the most recent 
'critical security issue' email message Google has sent, providing you with a 
URL directing you to your Google account security settings.  Click to confirm 
the attempt to connect is not malicious and you/your PC/IP address were the 
culprit.

Thereafter, you *should* be able to connect with your Kmail.

NOTE:  Every time you change IP address, because say you're in a different 
physical location, Google security will once more go in a fit and block Kmail 
from connecting.  Then you will need to repeat the above steps with your Gmail 
webmail interface first, before you are able to connect with Kmail.  Tedious, 
I know.


> Looks like I'll have to use a different email client for gmail. Can I even
> have two MUAs active at the same time?

I don't think this would be necessary, but yes, once your IP is accepted by 
Google's security algos I think you should be able to login and download your 
emails with any other client too.  I seem to recall I didn't have a problem 
using mutt in this way.

-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Google Mail still not recognising Gentoo KMail

2019-11-07 Thread Peter Humphrey
On Thursday, 7 November 2019 12:12:41 GMT Mick wrote:
> On Thursday, 7 November 2019 10:47:19 GMT Антон Кулешов wrote:
> > Hello,
> > 
> > Create 'Application-specific password required' in your google account and
> > use it instead of your google password. Try this link
> > myaccount.google.com/apppasswords
> 
> A couple of months ago Kmail stopped working with OAuth2.  I assumed Gmail
> changed their OAuth2 implementation and Kmail hadn't caught up with the
> changes.
> 
> The way I managed this change so far, has been to set my Google Account
> security settings to allow "less secure apps":
> 
> https://support.google.com/accounts/answer/6010255?hl=en
> 
> Then change the Kmail/Settings/Receiving/Advanced/Authentication from
> "Gmail" to "Plain".  The other relevant settings are "SSL/TLS" and port
> "993".
> 
> When selecting "Gmail" authentication, it used to be the case qtwebengine
> would launch a GUI in which you would login into the Gmail security web GUI
> to set up an application specific password.  I don't know if this works
> now, it didn't last time I tried it, a few months ago.  I suspect it won't
> work if you have "less secure app access" enabled.

I tried that, and I remember I used to have something similar set up too, but 
since that change you mention at Google, apparently it's no longer possible to 
create a new account in KMail to work with google mail. Google just blocks the 
attempt and issues me with a critical security issue.

> Anyway, I better send this message before I start tweaking my Google
> security settings and end up locking myself out of my account!  LOL!
> 
> PS. TBH I'm finding all this Google omniscience troublesome and their
> security settings tiresome.  Perhaps it's time I took my email data
> elsewhere.

Looks like I'll have to use a different email client for gmail. Can I even 
have two MUAs active at the same time?

-- 
Regards,
Peter.






Re: [gentoo-user] Google Mail still not recognising Gentoo KMail

2019-11-07 Thread Peter Humphrey
On Thursday, 7 November 2019 10:47:19 GMT Антон Кулешов wrote:
> Hello,
> 
> Create 'Application-specific password required' in your google account and
> use it instead of your google password.

I don't understand. Create what, exactly? Do you mean to say what the 
instructions in this page say? :

> myaccount.google.com/apppasswords

I did that but got the same result.

-- 
Regards,
Peter.






Re: [gentoo-user] visualise openrc initscript start order and dependency tree

2019-11-07 Thread Daniel Frey

On 2019-11-07 04:37, Bill Kenworthy wrote:

I have run into some problems creating openrc initscripts for moosefs -
is there something that will display the start order/dependency tree?
Text or graphical doesn't matter.

Bill K.






rc-status does try to resolve dependencies and list them in order, try 
`rc-status -a` - this will list all scripts (including ones not in startup.)


Dan



[gentoo-user] visualise openrc initscript start order and dependency tree

2019-11-07 Thread Bill Kenworthy
I have run into some problems creating openrc initscripts for moosefs -
is there something that will display the start order/dependency tree? 
Text or graphical doesn't matter.

Bill K.






Re: [gentoo-user] Google Mail still not recognising Gentoo KMail

2019-11-07 Thread Mick
On Thursday, 7 November 2019 10:47:19 GMT Антон Кулешов wrote:
> Hello,
> 
> Create 'Application-specific password required' in your google account and
> use it instead of your google password. Try this link
> myaccount.google.com/apppasswords

A couple of months ago Kmail stopped working with OAuth2.  I assumed Gmail 
changed their OAuth2 implementation and Kmail hadn't caught up with the 
changes.

The way I managed this change so far, has been to set my Google Account 
security settings to allow "less secure apps":

https://support.google.com/accounts/answer/6010255?hl=en

Then change the Kmail/Settings/Receiving/Advanced/Authentication from "Gmail" 
to "Plain".  The other relevant settings are "SSL/TLS" and port "993".

When selecting "Gmail" authentication, it used to be the case qtwebengine 
would launch a GUI in which you would login into the Gmail security web GUI to 
set up an application specific password.  I don't know if this works now, it 
didn't last time I tried it, a few months ago.  I suspect it won't work if you 
have "less secure app access" enabled.

Anyway, I better send this message before I start tweaking my Google security 
settings and end up locking myself out of my account!  LOL!

PS. TBH I'm finding all this Google omniscience troublesome and their security 
settings tiresome.  Perhaps it's time I took my email data elsewhere.
-- 
Regards,

Mick

signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Google Mail still not recognising Gentoo KMail

2019-11-07 Thread Антон Кулешов
Hello,

Create 'Application-specific password required' in your google account and
use it instead of your google password. Try this link
myaccount.google.com/apppasswords

чт, 7 нояб. 2019 г. в 12:54, Peter Humphrey :

> On Wednesday, 6 November 2019 17:04:10 GMT Jack wrote:
> > On 2019.11.06 11:30, Peter Humphrey wrote:
> > > A recent message prompted me to try creating a google mail account
> > > again, to collect my gmail.com email, but it still says "This app is
> not
> > > yet authorised..." (I think that's the wording).
> > >
> > > Is there anything a mere user can do to expedite closing this hole?
> > > It's been open for some months now.
> >
> > If you mean that's the message your local email app is getting from
> > gmail when trying to retrieve messages, I suspect it's the "less secure
> > application" issue.  If that's the case, then you either need to use
> > OAUTH2 to authorize your mail client to Google, or else set the "OK to
> > use less secure applications" through the settings through the gmail
> > web interface.  gmail simply calls any mail client which does not use
> > OAUTH2 to be "less secure."
> >
> > If that's not the case, then we need a few more details about what's
> > going on.
>
> No, it's what Google's authentication screen says. My local email app is
> KMail, as I said.
>
> I used the Create Account wizard in KMail, gave my credentials, entered
> the
> confirmation code from my mobile and was told:
>
> "Sign in with Google temporarily disabled for this app
>
> "This app has not yet been verified by Google in order to use Google Sign
> in"
>
> I tried again, but creating a Custom Account. Some of the authentication
> Methods offered by KMail are not usable with GMail; others get a refusal
> from
> Google: "Application-specific password required." There's no mention of
> oauth2
> in any dialogue.
>
> --
> Regards,
> Peter.
>
>
>
>
>


Re: [gentoo-user] Google Mail still not recognising Gentoo KMail

2019-11-07 Thread Peter Humphrey
On Wednesday, 6 November 2019 17:04:10 GMT Jack wrote:
> On 2019.11.06 11:30, Peter Humphrey wrote:
> > A recent message prompted me to try creating a google mail account
> > again, to collect my gmail.com email, but it still says "This app is not
> > yet authorised..." (I think that's the wording).
> > 
> > Is there anything a mere user can do to expedite closing this hole?
> > It's been open for some months now.
> 
> If you mean that's the message your local email app is getting from
> gmail when trying to retrieve messages, I suspect it's the "less secure
> application" issue.  If that's the case, then you either need to use
> OAUTH2 to authorize your mail client to Google, or else set the "OK to
> use less secure applications" through the settings through the gmail
> web interface.  gmail simply calls any mail client which does not use
> OAUTH2 to be "less secure."
> 
> If that's not the case, then we need a few more details about what's
> going on.

No, it's what Google's authentication screen says. My local email app is 
KMail, as I said.

I used the Create Account wizard in KMail, gave my credentials, entered the 
confirmation code from my mobile and was told:

"Sign in with Google temporarily disabled for this app

"This app has not yet been verified by Google in order to use Google Sign in"

I tried again, but creating a Custom Account. Some of the authentication 
Methods offered by KMail are not usable with GMail; others get a refusal from 
Google: "Application-specific password required." There's no mention of oauth2 
in any dialogue.

-- 
Regards,
Peter.






Re: [gentoo-user] almost free launch: an idea to lower build time, and rice, at the same time

2019-11-07 Thread Wols Lists
On 05/11/19 15:05, Mickaël Bucas wrote:
> I remember reading an article about a man trying to reproduce binary
> packages of a binary distribution and failing to do so, because there
> are so many parts involved. I've read later that distributions have
> done some work to have reproducible builds, but I'm not sure how
> successful they are, even when all choices are predefined.

It gets worse ... a major cause of two consecutive compiles on the same
system not agreeing is that a lot of this contains date stamps etc.

Reproducible builds are coming along, but they've got to analyze out or
remove all the compile time info that ends up in the binary. They're
coming because they're needed for security purposes.

Cheers,
Wol



Re: [gentoo-user] Bounced messages

2019-11-07 Thread Wols Lists
On 06/11/19 00:50, mad.scientist.at.la...@tutanota.com wrote:
> Spam filters are pathetic, they rarely catch spam.  Mine actually marks my 
> own post to this list as spam and puts them in the spam folder, along with 
> other messages sporadically.

Yahoo cough cough ...

I had a throwaway yahoo account. The ONLY mail that got through the spam
filters was them spamming me. All the mail that I set up the account
specifically to receive ended up in the spam folder.

Cheers,
Wol