import error

In ddlite.py
ddlite matchers
from ddlite_matchers import *
instead of
ddlite matchers
from ddlite_matcher import *

Thanks for noting this!  Will be fixed w PR we are merging now

Hi Alex,
I checked and the example ipython notebooks were also not running.  I think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d
.

Which ones? As far as I'm aware the notebooks on master are running, as
multiple people have been running them
On Tue, Jul 12, 2016 at 5:10 PM Sanghamitra Deb<EMAIL_ADDRESS>wrote:

Hi Alex,
I checked and the example ipython notebooks were also not running. I think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232218843,
or mute the thread
https://github.com/notifications/unsubscribe/ABgw_eZnff152ZRzhC3uwdqVqRP3AXl4ks5qVCzygaJpZM4JK06d
.

They are running on the master (atleast for ddlite).  I cloned the
candidate extractor 2 branch today.  I got error in reading the pubmed
document.  Specifically I got "HTMLREADER not defined".  I am guessing
HTMLReader code did not get included in this version.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS>wrote:

Which ones? As far as I'm aware the notebooks on master are running, as
multiple people have been running them
On Tue, Jul 12, 2016 at 5:10 PM Sanghamitra Deb<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

Hi Alex,
I checked and the example ipython notebooks were also not running. I
think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>> wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232218843
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ABgw_eZnff152ZRzhC3uwdqVqRP3AXl4ks5qVCzygaJpZM4JK06d
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232221256,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXEhycgiRSB9uML4JSch7gAZOX-Od7ks5qVDDIgaJpZM4JK06d
.

Ah I see, my bad- the only notebook that I know works for the candidate extraction stage with this new branch is tutorial/CDR_Tutorial.ipynb- perhaps check that one out?  We'll have everything merged soon too, sorry for the delays!

The matcher code has also changed.  Thus RegexNgramMatch.  RegexFilterAll
are not working.
One of the reasons for looking into branch is to write phrase extractors. I
am not sure how to do this for a general data set of sentences with no
training data
I looked into the tutorials folder.  The example there uses a dictionary
matcher.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS>wrote:

Which ones? As far as I'm aware the notebooks on master are running, as
multiple people have been running them
On Tue, Jul 12, 2016 at 5:10 PM Sanghamitra Deb<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

Hi Alex,
I checked and the example ipython notebooks were also not running. I
think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>> wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232218843
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ABgw_eZnff152ZRzhC3uwdqVqRP3AXl4ks5qVCzygaJpZM4JK06d
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232221256,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXEhycgiRSB9uML4JSch7gAZOX-Od7ks5qVDDIgaJpZM4JK06d
.

It also uses a RegexMatcher, a Union matcher and a Concat matcher!  As I
said though we're also still in-progress on this branch / PR!
On Tue, Jul 12, 2016 at 5:48 PM Sanghamitra Deb<EMAIL_ADDRESS>wrote:

The matcher code has also changed. Thus RegexNgramMatch. RegexFilterAll
are not working.
One of the reasons for looking into branch is to write phrase extractors. I
am not sure how to do this for a general data set of sentences with no
training data
I looked into the tutorials folder. The example there uses a dictionary
matcher.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS>wrote:

Which ones? As far as I'm aware the notebooks on master are running, as
multiple people have been running them
On Tue, Jul 12, 2016 at 5:10 PM Sanghamitra Deb <
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

Hi Alex,
I checked and the example ipython notebooks were also not running. I
think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>> wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232218843

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ABgw_eZnff152ZRzhC3uwdqVqRP3AXl4ks5qVCzygaJpZM4JK06d

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232221256
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ACkXEhycgiRSB9uML4JSch7gAZOX-Od7ks5qVDDIgaJpZM4JK06d
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232224419,
or mute the thread
https://github.com/notifications/unsubscribe/ABgw_bGkYB1Sd6I1UpTX3Q2vYBBXawTlks5qVDXKgaJpZM4JK06d
.

Is there any part of the code that deals with phrases. I could copy them &
use them along with old ddlite.
Thanks for your help
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS>wrote:

It also uses a RegexMatcher, a Union matcher and a Concat matcher! As I
said though we're also still in-progress on this branch / PR!
On Tue, Jul 12, 2016 at 5:48 PM Sanghamitra Deb<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

The matcher code has also changed. Thus RegexNgramMatch. RegexFilterAll
are not working.
One of the reasons for looking into branch is to write phrase
extractors. I
am not sure how to do this for a general data set of sentences with no
training data
I looked into the tutorials folder. The example there uses a dictionary
matcher.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Which ones? As far as I'm aware the notebooks on master are running, as
multiple people have been running them
On Tue, Jul 12, 2016 at 5:10 PM Sanghamitra Deb <
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>>
wrote:

Hi Alex,
I checked and the example ipython notebooks were also not running. I
think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>');>> wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232218843

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ABgw_eZnff152ZRzhC3uwdqVqRP3AXl4ks5qVCzygaJpZM4JK06d

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232221256

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXEhycgiRSB9uML4JSch7gAZOX-Od7ks5qVDDIgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232224419
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ABgw_bGkYB1Sd6I1UpTX3Q2vYBBXawTlks5qVDXKgaJpZM4JK06d
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232224790,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXEreCFkdQmnrHZ9ZPuFobBg1OP_j3ks5qVDZ0gaJpZM4JK06d
.

I'm a little unclear about what you're trying to do, could you perhaps give
me an illustrative example?
On Tue, Jul 12, 2016 at 5:53 PM Sanghamitra Deb<EMAIL_ADDRESS>wrote:

Is there any part of the code that deals with phrases. I could copy them &
use them along with old ddlite.
Thanks for your help
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS>wrote:

It also uses a RegexMatcher, a Union matcher and a Concat matcher! As I
said though we're also still in-progress on this branch / PR!
On Tue, Jul 12, 2016 at 5:48 PM Sanghamitra Deb <
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

The matcher code has also changed. Thus RegexNgramMatch. RegexFilterAll
are not working.
One of the reasons for looking into branch is to write phrase
extractors. I
am not sure how to do this for a general data set of sentences with no
training data
I looked into the tutorials folder. The example there uses a dictionary
matcher.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

Which ones? As far as I'm aware the notebooks on master are running,
as
multiple people have been running them
On Tue, Jul 12, 2016 at 5:10 PM Sanghamitra Deb <
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>>
wrote:

Hi Alex,
I checked and the example ipython notebooks were also not running.
I
think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>');>>
wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232218843

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ABgw_eZnff152ZRzhC3uwdqVqRP3AXl4ks5qVCzygaJpZM4JK06d

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232221256

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXEhycgiRSB9uML4JSch7gAZOX-Od7ks5qVDDIgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232224419

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ABgw_bGkYB1Sd6I1UpTX3Q2vYBBXawTlks5qVDXKgaJpZM4JK06d

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232224790
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ACkXEreCFkdQmnrHZ9ZPuFobBg1OP_j3ks5qVDZ0gaJpZM4JK06d
.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232225129,
or mute the thread
https://github.com/notifications/unsubscribe/ABgw_Rt_l_p0TleTur9av6JIv0dC8Fhwks5qVDcAgaJpZM4JK06d
.

Yes.
Example: The boy ate the apple.
Nouns: boy, apple
I want to extract
the boy ate
the boy
Boy ate
Boy
Ate the apple
the apple
apple
As my possible candidates.
I.e I want n-grams around nouns.  Writing Python code for this is simple.
I am not sure how to include it in ddlite framework.
I am also open to using linguistic definition of phrase.
Sangha
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS>wrote:

I'm a little unclear about what you're trying to do, could you perhaps give
me an illustrative example?
On Tue, Jul 12, 2016 at 5:53 PM Sanghamitra Deb<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>>
wrote:

Is there any part of the code that deals with phrases. I could copy them
&
use them along with old ddlite.
Thanks for your help
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>> wrote:

It also uses a RegexMatcher, a Union matcher and a Concat matcher! As I
said though we're also still in-progress on this branch / PR!
On Tue, Jul 12, 2016 at 5:48 PM Sanghamitra Deb <
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>>
wrote:

The matcher code has also changed. Thus RegexNgramMatch.
RegexFilterAll
are not working.
One of the reasons for looking into branch is to write phrase
extractors. I
am not sure how to do this for a general data set of sentences with
no
training data
I looked into the tutorials folder. The example there uses a
dictionary
matcher.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>> wrote:

Which ones? As far as I'm aware the notebooks on master are
running,
as
multiple people have been running them
On Tue, Jul 12, 2016 at 5:10 PM Sanghamitra Deb <
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>');>>
wrote:

Hi Alex,
I checked and the example ipython notebooks were also not
running.
I
think
something to do with HTMLReader.
Sanghamitra.
On Tuesday, July 12, 2016, Alex Ratner<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>
<EMAIL_ADDRESS><javascript:_e(%7B%7D,'cvml','notifications@github.com');>');>');>');>>
wrote:

Thanks for noting this! Will be fixed w PR we are merging now
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232211570

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXElXVL0afht0uH-9XLHDMxR_bF6DZks5qVCIvgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232218843

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ABgw_eZnff152ZRzhC3uwdqVqRP3AXl4ks5qVCzygaJpZM4JK06d

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232221256

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXEhycgiRSB9uML4JSch7gAZOX-Od7ks5qVDDIgaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232224419

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ABgw_bGkYB1Sd6I1UpTX3Q2vYBBXawTlks5qVDXKgaJpZM4JK06d

.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<

https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232224790

,
or mute the thread
<

https://github.com/notifications/unsubscribe/ACkXEreCFkdQmnrHZ9ZPuFobBg1OP_j3ks5qVDZ0gaJpZM4JK06d

.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232225129
,
or mute the thread
<
https://github.com/notifications/unsubscribe/ABgw_Rt_l_p0TleTur9av6JIv0dC8Fhwks5qVDcAgaJpZM4JK06d
.

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232227109,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXEp7hm0O9Q64J_Dg3a68EdlijWV79ks5qVDpBgaJpZM4JK06d
.

This is a very simple matcher that finds noun phrases and strips off certain POS tags.  It works with the non-PR version Snorkel nee DDLite
class NounPhraseMatcher(CandidateExtractor):
    """ Match Noun Phrases, L/R stripped of DTs and CCs"""
    def init(self):
        self.pattern = re.compile("(NN[SP]*|JJ[S]*|DT|CC)")
        self.label         = self.opts['label']
        self.match_attrib  = self.opts.get('match_attrib', 'words')
        self.ignore_case   = self.opts.get('ignore_case', True)
        self.longest_match = self.opts.get('longest_match', True)

    def _apply(self, s, idxs=None):
        noun_phrases = []
        np = []
        for i,tag in enumerate(s.poses):
            if self.pattern.search(tag):
                np += [(i,tag)]
            elif np:
                noun_phrases += [np]
                np = []

        for np in noun_phrases:
            while np and re.search("(CC|[PW]*DT)",np[0][1]):
                np.pop(0)
            while np and re.search("(CC|[PW]*DT)",np[-1][1]):
                np.pop()
            if not np or re.search("JJ[RS]*",np[0][1]):
                continue
            idxs,poses = zip(*np)
            yield list(idxs), 'x'

Also if you are just looking for 'any ngram with a noun in it', there are
ways to do it in the new PR (with union, Concat, and regexmatch), as well
as a very quick new child class of RegexMatch that can be made to handle
this case (call this RegexMatchAny)
This should be very quick to implement. Otherwise we'll get to it at some
point soon
On Tue, Jul 12, 2016 at 11:38 PM Jason Alan Fries<EMAIL_ADDRESS>wrote:

This is a very simple matcher that finds noun phrases and strips off
certain POS tags. It works with the non-PR version Snorkel nee DDLite
class NounPhraseMatcher(CandidateExtractor):
""" Match Noun Phrases, L/R stripped of DTs and CCs"""
def init(self):
self.pattern = re.compile("(NN[SP]|JJ[S]|DT|CC)")
self.label         = self.opts['label']
self.match_attrib  = self.opts.get('match_attrib', 'words')
self.ignore_case   = self.opts.get('ignore_case', True)
self.longest_match = self.opts.get('longest_match', True)
def _apply(self, s, idxs=None):
    noun_phrases = []
    np = []
    for i,tag in enumerate(s.poses):
        if self.pattern.search(tag):
            np += [(i,tag)]
        elif np:
            noun_phrases += [np]
            np = []

    for np in noun_phrases:
        while np and re.search("(CC|[PW]*DT)",np[0][1]):
            np.pop(0)
        while np and re.search("(CC|[PW]*DT)",np[-1][1]):
            np.pop()
        if not np or re.search("JJ[RS]*",np[0][1]):
            continue
        idxs,poses = zip(*np)
        yield list(idxs), 'x'

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232269325,
or mute the thread
https://github.com/notifications/unsubscribe/ABgw_Zmqbj7tELSCrSne7oTjVv6bwyIdks5qVIfXgaJpZM4JK06d
.

Hi Jason,
Should I just add this to the ddlite_matcher code, so it has access to the
rest of the code.
Thanks,
--Sangha.
On Tue, Jul 12, 2016 at 11:38 PM, Jason Alan Fries<EMAIL_ADDRESS>
wrote:

This is a very simple matcher that finds noun phrases and strips off
certain POS tags. It works with the non-PR version Snorkel nee DDLite
class NounPhraseMatcher(CandidateExtractor):
""" Match Noun Phrases, L/R stripped of DTs and CCs"""
def init(self):
self.pattern = re.compile("(NN[SP]|JJ[S]|DT|CC)")
self.label         = self.opts['label']
self.match_attrib  = self.opts.get('match_attrib', 'words')
self.ignore_case   = self.opts.get('ignore_case', True)
self.longest_match = self.opts.get('longest_match', True)
def _apply(self, s, idxs=None):
    noun_phrases = []
    np = []
    for i,tag in enumerate(s.poses):
        if self.pattern.search(tag):
            np += [(i,tag)]
        elif np:
            noun_phrases += [np]
            np = []

    for np in noun_phrases:
        while np and re.search("(CC|[PW]*DT)",np[0][1]):
            np.pop(0)
        while np and re.search("(CC|[PW]*DT)",np[-1][1]):
            np.pop()
        if not np or re.search("JJ[RS]*",np[0][1]):
            continue
        idxs,poses = zip(*np)
        yield list(idxs), 'x'

—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232269325,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXErHyNQEF3ACBKF3x0PvEoy6ZVDlyks5qVIfYgaJpZM4JK06d
.

I'd just import the relevant ddlite dependences (e.g., CandidateExtractor) and define the class in the same notebook or python script you are doing candidate extraction.
This is largely a hack that will be replaced soon by the PR so I would do the minimum amount of work to integrate the code.

Thanks.
--SD.
On Wed, Jul 13, 2016 at 9:46 AM, Jason Alan Fries<EMAIL_ADDRESS>wrote:

I'd just import the relevant ddlite dependences (e.g., CandidateExtractor)
and define the class in the same notebook or python script you are doing
candidate extraction.
This is largely a hack that will be replaced soon by the PR so I would do
the minimum amount of work to integrate the code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232415281,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXEj2Cg3xsZgXPcnRmOunq7udHVvsuks5qVRZkgaJpZM4JK06d
.

For this phrase extractor,
I used this format,
noun_regex = NounPhraseMatcher(label='Nouns')
and
noun_regex = NounPhraseMatcher(label='Nouns',
regex_pattern=r'[a-zA-Z]+',ignore_case=True,  match_attrib='words')
and
E = Entities(docs,noun_regex)
gives,
.....
Cannot convert input object to dict
I think I need to give more/different information to the
NounPhraseExtractor, I am not sure what it would be.
--Sanghamitra.
On Wed, Jul 13, 2016 at 9:46 AM, Jason Alan Fries<EMAIL_ADDRESS>wrote:

I'd just import the relevant ddlite dependences (e.g., CandidateExtractor)
and define the class in the same notebook or python script you are doing
candidate extraction.
This is largely a hack that will be replaced soon by the PR so I would do
the minimum amount of work to integrate the code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232415281,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXEj2Cg3xsZgXPcnRmOunq7udHVvsuks5qVRZkgaJpZM4JK06d
.

Hi Jason,
I got it work with regular text (from a novel), there maybe some aspect of
my data that is giving this output.
Thanks for your help,
--Sanghamitra.
On Wed, Jul 13, 2016 at 10:35 AM, sanghamitra deb<EMAIL_ADDRESS>wrote:

For this phrase extractor,
I used this format,
noun_regex = NounPhraseMatcher(label='Nouns')
and
noun_regex = NounPhraseMatcher(label='Nouns',
regex_pattern=r'[a-zA-Z]+',ignore_case=True,  match_attrib='words')
and
E = Entities(docs,noun_regex)
gives,
.....
Cannot convert input object to dict
I think I need to give more/different information to the NounPhraseExtractor, I am not sure what it would be.
--Sanghamitra.
On Wed, Jul 13, 2016 at 9:46 AM, Jason Alan Fries <
<EMAIL_ADDRESS>wrote:

I'd just import the relevant ddlite dependences (e.g.,
CandidateExtractor) and define the class in the same notebook or python
script you are doing candidate extraction.
This is largely a hack that will be replaced soon by the PR so I would do
the minimum amount of work to integrate the code.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/HazyResearch/snorkel/issues/305#issuecomment-232415281,
or mute the thread
https://github.com/notifications/unsubscribe/ACkXEj2Cg3xsZgXPcnRmOunq7udHVvsuks5qVRZkgaJpZM4JK06d
.

Perhaps let's chat about this at hackathon on Monday?  otherwise rename issue & re-open; for now closing


Read ProjectSettings to pre-populate the logger class list

I noticed my Autoloads were being labeled as (Node) and realized in the current system they could never not be (Node) since it's only looking for a class_name in the file.
After adding autoloads, I found we could read the global_class_list to pre-populate class_names and in most cases, avoid needing FileAccess unless the class is not named at all.

Sweet, I had largely copied over the class name extraction feature from LogDuck, but it always irked me that FileAccess reads were being done to achieve that. Good to see there's seems to be a better approach. I'll check it out soon.
In the meanwhile, could you make this PR towards the v1.2-dev branch instead of main?


Speed up batched PyTorch DataLoader

I implemented __getitems__ to speed up batched data loading in PyTorch
close https://github.com/huggingface/datasets/issues/5505

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Ready for review @mariosasko, LMKWYT :)
Sorry it tooks me a few tries to fix the CI - I ended up not trying to use the latest torch version in the CI.


CRS-24 Data Fix

Flight #142 "id": "6161d2006db1a92bfba85356" which is planned to take place in December, has a "success" value equal to true.

Updated, thanks!

👊🏻


Attachment field does not link to PDF file

I've noticed that the attachments field remains empty without linking the PDF file associated with the Zotero entry. I have verified that the PDF is properly attached in Zotero, and the citation key is pinned and correctly set up. However, no link to the PDF appears in Logseq under the attachments section.

Could you provide a screenshot and the actual markdown content please?

I'm not sure I'm giving what you are asking, if I'm doing something wrong I can contact you with other methods and then post a summary here to save your time, if this is case tell me.

`  accessDate:: [[Sep 10th, 2024]]
citeKey:: ministerodellasalute24122020RaccomandazioniLorganizzazione2020
collections:: [[Circolari ministero]]
authors::
date:: 24/12/2020
dateAdded:: [[Sep 10th, 2024]]
dateModified:: [[Sep 12th, 2024]]
itemType:: [[webpage]]
key:: 28WRPK8F
libraryLink:: zotero://select/library/items?itemKey=28WRPK8F
itemTitle:: 24122020 Raccomandazioni per l’organizzazione della campagna vaccinale contro SARS-CoV-2 COVID-19
url:: https://www.trovanorme.salute.gov.it/norme/renderNormsanPdf?anno=2020&codLeg=77981&parte=1 &serie=null
version:: 0[[R: ministerodellasalute24122020RaccomandazioniLorganizzazione2020]]

Attachments

Notes

Abstract
-`

Will need your help to share the actual Zotero item here for me to replicate, similar to what the user did in this issue. I can then try to debug it on my own device first.

Exported Items.zip
I've tried, tell me it's ok.

Please update the plugin and try again. Also, to be sure, ensure that in Zotero, the attachment is set up properly, i.e. there is a PDF icon there. When I tried importing your exported file, it becomes a link instead of an attachment, so am not sure if that is what was causing the issue.

Since with other papers in my library everything is fine, I think the issue is the one related to the "link instead of the attachment". The item in the 3rd row in my library has the "pdf" icon but I think that is recognized as a link. I tried changing the parent item (first row) item type but the issue persists. Can you tell me how did you fix it ?
The reason it is considered a webpage, is because I used the Zotero firefox plugin to import this pdf.

@benjypng can you tell me how you do that, please?


play pause not working with proguard

Describe the bug
When I set proguard in app. play pause video not working in release apk.
how can i solve ?

"For most situations, the default ProGuard rules file is sufficient for R8 to remove only the unused code. However, some situations are difficult for R8 to analyze correctly and it might remove code your app actually needs

To fix errors and force R8 to keep certain code, add a -keep line in the ProGuard rules file"

https://developer.android.com/studio/build/shrink-code

For most situations, the default ProGuard rules file is sufficient for R8 to remove only the unused code. However, some situations are difficult for R8 to analyze correctly and it might remove code your app actually needs

To fix errors and force R8 to keep certain code, add a -keep line in the ProGuard rules file

https://developer.android.com/studio/build/shrink-code

This is expected as the play pause buttons are modified with reflection.


Iffe angular design pattern

Inspired in angular repository

Control of global scope
(function(window, angular, undefined){ 'use strict';
$code$
})(window, window.angular);


Update list.json

hey there, I assume you don't need that PR so i'll close it but feel free to reopen and tag me if you still need it.


Constexpr construction from span of same ElementType

On MSVC when passing a span with static size to a function with a span of dynamic extent as a parameter, the constructor is not constexpr. The same code seems to compile fine on GCC. In my local project, MSVC errors seem to point to the reinterpret_cast on line 1092.
If I create another constructor for spans with the same ElementType, and just directly copy the data pointer, then the error goes away.
Here is a extremely simplified example compiler explorer
#include <cstdint>
#include <https://raw.githubusercontent.com/CrustyAuklet/span-lite/master/include/nonstd/span.hpp>
using nonstd::span;
using size_type = std::size_t;
using byte_type = std::uint8_t;

/// Helper function to insert padding fields into the buffer for `pack_into()`
constexpr auto insert_padding(span<byte_type> buffer, const size_type start_bit) {
    buffer[0] = 0x01 >> start_bit;
}

template<size_type N>
constexpr void pack_impl(span<byte_type, N> output, const size_type start_bit) {
    insert_padding(output, start_bit);
}

constexpr auto pack() {
    std::array<byte_type, 8> output{};
    pack_impl(span(output), 0);
    return output;
}

constexpr auto data = pack();

Here is my fork again with the naive fix.  And the same compiler explorer example using the modified header.
I haven't decided if I want to use this technique yet, but the original intent is so that I can do static asserts on the span/buffer size at compile time based on the format string, then pass it on to the more generic function. I was originally using std::array in one of my functions but it was pointed out in https://github.com/CrustyAuklet/bitpacker/issues/9  that I should be taking a span.
** edit to add: It does work on both MSVC and GCC using c++20 std::span compiler explorer

Thanks for this interesting case.
Trying to minimize the example on compiler explorer, I stumble into MSVC accepting it and GCC not, when using C++20 with std::span.
Do you have an idea how to proceed?

for your example, this looks like it's using aggregate initialization, correct? With your example I get the same issue on C++17, C++20, when using std::span, nonstd::span and gsl::span, tcb::span. This kind of makes sense I guess since in your example I think the type is span<int,7> all the way through.
error: 'nonstd::span_lite::span<int, 7>{((int*)(& arr.std::array<int, 7>::_M_elems)), 7}' is not a constant expression

Is this a..... compiler bug? I've never seen one of those before, at least outside my esoteric embedded compilers.

My issue specifically occurs when passing a span<int,7 to a span<int>, so it calls the copy constructor for spans with different types and extents. My origional "fix" was to make an additional constructor that had only the extent as a template parameter. Taking a step back, is it reasonable to have conversions between spans of different types? is std::is_convertable a strong enough requirement? If it is, maybe the reinterpret_cast isn't needed at all?
I did some quick tests and it seems like std:is_convertable is almost too strong. I would assume that all these types that are OK for raw memory access would be convertible but it doesn't seem so.
static_assert(std::is_convertible<uint8_t(*)[], uint8_t(*)[]>::value); // passes
static_assert(std::is_convertible<uint8_t(*)[], unsigned char(*)[]>::value); // passes
static_assert(std::is_convertible<uint8_t(*)[], char(*)[]>::value); // fails
static_assert(std::is_convertible<uint8_t(*)[], std::byte(*)[]>::value); // fails

Is there a downside to removing the reinterpret_cast in your opinion?

Ah, thank you for investigating and explaining!
The requirement is_convertible_v<OtherElementType(*)[], element_type(*)[]> stems from the specificationin the C++ standard, which I try to follow.
You're right to question the presence of reinterpret_cast and I think it can be removed. Can't remember why I put it there.
Looking at the specification in the standard, I notice || OtherExtent == dynamic_extent is missing from the requires clause.
I'll update the constructor to:
    template< class OtherElementType, extent_type OtherExtent
        span_REQUIRES_T((
            (Extent == dynamic_extent || OtherExtent == dynamic_extent || Extent == OtherExtent)
            && std::is_convertible<OtherElementType(*)[], element_type(*)[]>::value
        ))
    >
    span_constexpr_exp span( span<OtherElementType, OtherExtent> const & other ) span_noexcept
        : data_( other.data() )
        , size_( other.size() )
    {
        span_EXPECTS( OtherExtent == dynamic_extent || other.size() == to_size(OtherExtent) );
    }


Feature request: Update preFetch files

For the option global.toolbox.precache, it will be good to give an update strategy. Can we have a method or option to update the list of values in precache or take an array and update the cache with latest values.

Good idea, would definitely like to add something like this. The install/activate logic in sw-toolbox is not very flexible at the moment, so it's actually hard to work around it in your own code, even.

@wibblymat Any help?

Hi @r-nathan, we don't have a short-term plan for how to make bulk updating items easier. We are reviewing the whole API to try and find a sensible set of updates to make all in one go. This use case will be kept in mind while we do, but I wouldn't expect to see anything until next year.
If you want to manually override a cache entry, you can do it, though.

caches.open(toolbox.options.cache.name).then(function(cache) {
  cache.add(myResourceURL);
});

That will add the resource to the cache, overwriting an existing item if it exists.

@wibblymat  Thank you. I will try the manual override option.

I am closing this, as the safe/recommended approach would be to use sw-precache to keep local static assets fresh. Adding in similar functionality directly into sw-toolbox is outside of the plans for this project.


Question about the qualitative results on ScanNet200 dataset

Hi @shiyoung77,
Thank you for your amazing work and the published code. I've encountered an issue while using your method on ScanNet200. Specifically, when visualizing all the generated instances in a scene (scene0011_00 in the validation split), the result appears as follows:

I've observed that many objects seem to be fragmented into multiple parts, which is considerably worse than in your paper. I'm wondering if there might be something missing in the implementation.
Thank you and looking forward to your reply.

Hi @shiyoung77 , I also encounter the similar problem. The object seem to be fragmented into parts...

I'm testing it on my end. Something seems to be wrong. I'll get back to you soon.

There was indeed a bug during the filtering process, which I fixed just now. Please pull the repo again and sorry for the inconvenience. The results should be much more reasonable now, despite not being perfect (our overall instance retrieval mAP is ~0.21. I believe there is plenty of room for improvement). I reran the results for ScanNet200 and you can directly download the result files from here.
I share some examples from the first few scenes below. You should be able to reproduce them using the latest code (Both Detic and OVIR-3D). The "table" in "scene0011_00" is a failure case, but the segmentation for other objects, such as chairs and fridges, is much improved. One thing to note here is that OVIR-3D allows multi-label for each point in the open-vocabulary setup. For example, part of a "chair" could also belong to "cushion". Because of this, sometimes you may see an object (chair) is over-segmented, but when you query a "chair", you can see that it is segmented as a whole.
Let me know if there are other issues. Thanks for your interest!

Thanks for the clarification, have you testes OVIR-3D on fullset of Scannet200 including 198 classes?

The Validation Set (312 scenes) with 198 classes I meant

Yes, I tested on the whole validation set (312 scenes). You can find the result file for each scan here. The exact number of categories for the validation set is slightly less than 198 if I remember correctly (some categories only appeared in the training set).

Thank you for sharing this. Could you provide the script to evaluate the results on the Scannet200 benchmark (as shown in tab 1 and 2 in your paper)?

Sure, I'll push the evaluation scripts very soon (hopefully by tomorrow). Stay tuned!

Evaluation script for ScanNet200 pushed. You may see a tiny difference (<0.01 in terms of overall mAP ) given the reproduced results compared with the table in the paper.
Just to remind you of two things that we explicitly wrote in the paper (Sections 5.1 & 5.2):

Only annotated object categories in a 3D scene are used as text queries for evaluation. The retrieval mAP results were computed for each 3D scene and then averaged for the whole dataset.
Uncountable categories ”floor”, ”wall”, and ”ceiling” and their subcategories are not evaluated.

If you believe this is not the correct way of evaluation, feel free to use your own metric. Let me know if you still have questions.

The evaluation script is still not visible. Could you please check again...
Thank you.

Hi @shiyoung77, I see that your method uses different eval method compared to other OV methods. "Only annotated object categories in a 3D scene are used as text queries for evaluation" seems strange. Have you tested it on full set of text categories in Scannet200? For example in evalscannet200, on line 157, to decide label for each pred mask instead of performing matmul ops between pred_features and cat_features of GT classes on each scene like yours method
cat_feature = cat_feature in scene.....
similarities = pred_features @ cat_feature

you perform matmul ops between pred_features and full set of global cat_features
cat_feature = cat_feature in VALID_CLASS_NAME # your valid set
similarities = pred_features @ cat_feature

Will there be any performance drop ?
Looking forward to your respond. Thank you.

Well, I guess we have different definitions of this task.
I view this as an information retrieval problem, i.e. Given a language query, retrieve relevant documents (ranked instances) from a database (a scene). That's why I call it instance retrieval. We are using the standard mAP metric that's written in the textbook (also ref). There is no need to decide label for each pred mask because the label is your query, and our method provides relevant instances given this query (label). You can query anything that you want in a scene (for example all val categories), but you can only evaluate things that have ground truth annotations. The AP for each category is independent and will be the same no matter how many categories you evaluate.
You view this as a closed-set segmentation problem, i.e. detecting and segmenting a predefined set of categories in a scene. That's why you need to decide label for each pred mask likely using Softmax. However, there are some caveats 1) Our method does not know ScanNet categories during the fusion process, and can find instances that do not belong to the 200 categories of ScanNet  (e.g. lampshade) 2) The AP result for each category will depend on the total categories used for evaluation because of Softmax. The more categories you have, the less AP you will get. These are not problems for closed-set detection problems because categories are fixed and known in advance, but I would say it's sort of problematic in the open-vocabulary setup.
I personally believe that the evaluation process should be different for closed-set and open-set problems. However, the best metric remains to be debated. Feel free to use your favorite metric given your task definition, and clearly write that in your paper. You have my result files, so it should be easy to do it.


[R24.08] [SSI Authority & Schema Registry] Release Checks

[!IMPORTANT]
Follow the guidance on how to use the templates.

Release Info
Please provide information on what you want to be included in the Eclipse Tractus-X release.
If you are not owner of this issue, please provide the information as comment to the issue.
Make sure to assign this issue to expert(s) for their approval, as soon as you have finished preparation. Multiple assignees allowed; they will un-assign themselves once review completed.
Version to be included in Eclipse Tractus-X release: 1.0.0 [NOT YET RELEASED]
Leading product repository: SSI Authority & Schema Registry
Compliance Verifications
This issue tracks all checks, that need to be performed for a product release in Eclipse Tractus-X.
General Checks

[ ] Tractus-X Release Guidelines(TRGs) fulfilled

Documentation issue: https://github.com/eclipse-tractusx/ssi-authority-schema-registry/issues/45

[!NOTE]
Note: most criteria for documentation and security are now covered in TRGs

Test Results

[ ] E2E Integration Test passed
[ ] User Journey approved

Helpful Links

Eclipse Tractus-X openAPI specs on SwaggerHub

Hi,
please remove the check topics for Interoperability, Data Sovereignty and Threat Modeling in your description.

QG Review 24-July
[ ] Please remove Int and Sov test from the check list
[ ]  Please remove threat modeling Analysis from the check list
[ ]  Please list your version which will be included in Eclipse Tractus-X release
[ ]  Please create a Quality Gate Checklist issue
[ ]  User Journey needs to be approved
[ ]  E2E test is pending

QG Review 26-July

[ ] Please remove Int and Sov test from the check list
[ ]  Please remove threat modeling Analysis from the check list
[ ]  Please list your version which will be included in Eclipse Tractus-X release
[ ]  Please create a Quality Gate Checklist issue
[ ]  User Journey needs to be approved
[ ]  E2E test is pending

Planned E2E Tests for release 24.08 on Catena-X INT environment have been performed successfully. Thank You!

Could you set the check for the e2e test and could you give me an update on how far you are with the TRGs and the user journey?

@ther3sa TRGs are looking good, there is currently one outstanding one. We need to merge the latest changes to the main branch for it to than be resolved. As soon as this is done I can close the TRG issue.

@ther3sa TRGs are looking good, there is currently one outstanding one. We need to merge the latest changes to the main branch for it to than be resolved. As soon as this is done I can close the TRG issue.

Thank you for your update.

Congrats:

Quality Gate fully approved with all necessary pre-requisites fulfilled!

Thanks for all your efforts :)


Repository path - Recommended value for "use current directory"?

I've been able to successfully install and run Jingo on my Windows system. However, I had to specify a full, absolute repository path in config.yaml to be able to run without Bad repository path errors.
However, since multiple collaborators will be updating the git, the wiki will always be run locally, and each will definitely have unique local paths, how can I set a relative path to config.yaml indicating with git repo to use?
AFAIK, just setting it to repository: '\' doesn't work.
Also, nice work with this project! A databaseless Node wiki is just what I was looking for.

I just noticed docs already mention it should be an absolute directory.
Will try to submit a PR that allows relative paths.


Error when opening a Ruby buffer with lsp correctly configured

running :LspInfo gives me this:

treesitter also correctly set up, not sure what is the issue help appreciated. great work btw i like it more than aerial and have moved over but cannot resolve this issue

The problem is that solograph provides symbols in SymbolInformation format instead of DocumentSymbol format (see lsp-doc). I knew that this was possible but none of the LSP servers I tested with so far used it and I decided to wait until I find one that does.
SymbolInformation is a bit worse format for us because it gives a flat list of symbols:

SymbolInformation[] which is a flat list of all symbols found in a given text document. Then neither the symbol’s location range nor the symbol’s container name should be used to infer a hierarchy.

I should be able to fix it soon.

you are welcome! 👍

Should be fixed: 06cef1b
Looks like this:

Note that there is symbol nesting, the tree is built by  looking at symbol ranges.  In my limited testing it seems to be working.
Also added this idiomatic config for Ruby:
ruby = {
    Class = "class",
    Module = "module",
    Property = "attr",
    Constant = "const",
    Function = "def",
    Method = "def",
}


Just trying to gauge if it should be ripped out completely or just made optional ;)

@kaithar That function is in there since the beginning and it used to cache SQL queries. Depending on the load and the performance of your machine, it could cause issues if you disable the cache completely.
It is also kind of optional. If you just set all caching values in the settings.php to 0, the cache should be disabled completely. May I ask why do you want to remove it?

From what I recall (this was quite some time ago) I wrapped all the queries around the caching function to mitigate the website from taking down the mysql database or causing it heavy load affecting the java plugin/minecraft server. Due to the nature of this system, it's paramount it's robust.

With respect, by the sound of it either your mysql server is misconfigured or there is something else not right.
To give context, I have a "big data" table containing ~1.48 /billion/ rows and a query against that table's index takes a tiny amount of time.  For example:

Select for a specific value in the index...
Showing rows 0 - 29 (11520 total, Query took 0.0026 sec)

Select 10000 rows from a select * ... WHERE 1
Showing rows 10000 - 19999 (10000 total, Query took 0.0188 sec)

Grabbing a DISTINCT select against the key
Showing rows 0 - 29 (7133 total, Query took 0.0142 sec)

In case you're curious, that table is 91GiB in size, of which nearly 25GiB is consumed by the index.  The index cardinality is 18.
I have other tables in the many hundreds of thousands range, also not really a problem.
I would hope that the ban database is orders of magnitude smaller.

By heavy load I meant mitigation against DDoS attacks. It'd be fairly rudimentary to deny players from joining the minecraft server by attacking the web interface via a layer 7 attack if no caching is in place. This would cause queries on the minecraft server to slow down, and will eventually cause the AsyncPreLoginEvent's to hang waiting for a response back from the database, preventing players from joining.
Your big database may be able to query fast, but I very much doubt it would withstand easily against 10k+ requests a second which is an incredibly common scenario Frostcast faces on a daily basis in terms of people trying to take us down.
This is Minecraft, attacks are incredibly common. The application should handle such scenarios, which it currently does.

10k req/s isn't a particularly helpful number without also knowing the concurrency value for the attack.  10k req/s at C50 is a very different problem from at C5000 ...
In either case, putting a cache around mysql is trivial to dodge (it's just cache misses after all) and is just moving the choke point on to other parts of the stack such as the mpm and/or the fastcgi manager.
Personally I'd drop the max client value of whatever web daemon you're using down to a number that's decently below the cap of what the server can handle, then wait for them to get bored.  Or even just throw a rate limit on the web server.
I'm also puzzled why you don't use the mysql query cache, given that it's purposely designed for this job.

First request:
Showing rows 60000 - 60019 (~20 total , Query took 0.0554 sec)
Repeat requests:
Showing rows 60000 - 60019 (~20 total , Query took 0.0002 sec)
Showing rows 60000 - 60019 (~20 total , Query took 0.0002 sec)
Showing rows 60000 - 60019 (~20 total , Query took 0.0003 sec)

Without sticking an actual a multiconnection test in front of it I can't be sure, but looks like it could indeed handle 10k queries/s against my 1.4 billion row table.

I don't doubt you got some attack resistance bonuses out of it, I'm just not sold on it being a good way of dealing with that specific problem.


Update Tutorial.md

If you start the tutorial from the "getting-started" section you'll get an error because the AwesomeProject it's not registered:
"Application AwsomeProject has not been registered. This is either due to a require() error during initialization or failure to call AppRegistry.registerComponent.".

I am not sure these are meant to be examples that build upon the previous page. They do not register as "AwesomeProject" because they're standalone examples.

What do you mean by "If you start the tutorial from the "getting-started" section"? I'll close this for now but can you please open a pull request with an explanation showing an example demonstrating what is broken?


feat(3015866265): display the transfer button only if both wallets are connected

Description of the Changes
display on the screen the <TransferButton /> only if both wallets are connected, else will display <LoginWalletButton />.
Checklist

[ ] Changes have been done against master branch, and PR does not conflict
[ ] New unit / functional tests have been added (whenever applicable)
[ ] Test are passing in local environment
[ ] Docs have been updated
[ ] PR title is follow the Conventional Commits convention: <type>[optional scope]: <description>, e.g: fix: prevent racing of requests

This change is

@galuzan-starkware the base branch should be galu/feat/3015851363

:tada: This PR is included in version 1.8.0-dev.11 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.8.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Upgrade rails 5.0.1

Coverage remained the same at 100.0% when pulling 037b08b6b45b478a23bddf9fb21463a4d47dffef on fix/upgrade-rails-5.0.1 into b36f882c57dbdaf2241d07406d7d89eb028d4627 on master.


No, it isn't me doxxing Seth on deepweb subreddits. On a related note, can binary Fate kindly stop attempting to bribe OVH employees to get my data?


Looks like you've passed all of the checks!
Originally posted by @github-actions in https://github.com/GoogleChrome/related-website-sets/pull/519#issuecomment-2326835597

Open


Slider handles and range bar out of place on browser refresh

This isn't really an issue, as it doesn't happen all the time. I've had the same problem before and was able to fix it, but I forget how. Has anyone else ever encountered this, where parts of the slider are out of place when the page first loads, but snap to the correct positions when you click on one of the handles?

Edit: This may actually be an issue (or maybe I'm loading scripts wrong, who knows), but I discovered something else. The slider loads fine when I go from one view in the app to the page that it's on, but I get this weird effect when refreshing the browser when on this page. Here's how I'm using it:
# signup.jade
slider(floor="10", ceiling="250", step="5", ng-model-low="newJob.salary_min", ng-model-high="newJob.salary_max")

And here's how I'm setting the initial values in the controller:
# signup.coffee
$scope.newJob =
    ...
    salary_min: 50
    salary_max: 150

Is it because the templates are cached by angular after you've navigated to them? This might have to do with FUOC. Use an ng-bind or ng-cloak and se if that foxes it. BTW, i hvae never looked at this code and can be completely wrong, just based off your symptoms and offering some general troubleshooting.


pubsub: long-running app falls over after couple minutes

Specify the API at the beginning of the title (for example, "BigQuery: ...")
General, Core, and Other are also allowed as types

pubsub

OS type and version

alpine:3.6 docker image

Python version and virtual environment information python --version

3.6.1

google-cloud-python version pip show google-cloud, pip show google-<service> or pip freeze

google-cloud-pubsub (0.32.1)
googleapis-common-protos (1.5.3)
grpc-google-iam-v1 (0.11.4)
grpcio (1.10.0rc2)

Stacktrace if available

(see image below)

Steps to reproduce

Code here
Dockerfile here

Build the docker image, stick on GKE, check that it's receiving a couple of times, then wait until you see:

ping @jonparrott @lukesneeringer

Redeploying (no code/docker changes) to see if I can replicate.

I can confirm that this happens within a couple of minutes of starting. It has happened twice in a row now.

@jadekler can you try with #5054?

Hey @jonparrott - I probably won't be able to get to today, but the provided repro code above should be complete if you want to give it a spin. Give a shout if you have troubles, I'll asynchronously check back in on this issue.

I can confirm this bug, I experience the same issue. First couple of minutes it runs fine, then it crashes.

I am working on reproducing this with a #5054 fork, hopefully to help establish that it works. :-)

@jadekler Do I need to do anything other than docker run [image] and wait?

you shouldn't need to.
On Mon, Mar 19, 2018 at 12:56 PM Luke Sneeringer<EMAIL_ADDRESS>wrote:

@jadekler https://github.com/jadekler Do I need to do anything other
than docker run [image] and wait?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5058#issuecomment-374349750,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUc-WGsEY7Wv9QkjZ17R33X-TVurPhks5tgA2BgaJpZM4SuV_q
.

Hi @lukesneeringer - as @jonparrott mentioned, this occurs to me within in the first few minutes. I just double checked, and can confirm.
ps sorry for the very late reply!

I am noticing the same issue here as well.

Trying that PR, I don't see the error anymore. At least, in the past, it was fairly quick to be triggered. I don't know if this is the appropriate fix but it seems to help @jonparrott :)

That's great news. @lukesneeringer, what do you think about getting that merged? :)

Out of curiosity, what's the release process like? Just to know if I will have to depend on a commit from this repo (once it's merged) or hope for a fast release? :)

I want to cut a new release after that PR is merged. Should be relatively short.

Wow! Awesome :) Thank you! :)

I also ran it for multiple hours with no issues. Let's get it merged.

Can you expand thos exceptions so I can see the full traceback?
On Fri, Mar 23, 2018, 8:33 AM Jean de Klerk<EMAIL_ADDRESS>wrote:

Hi y'all. Here are the latest results with 0.33.0:
[image: screen shot 2018-03-23 at 5 32 32 pm]
https://user-images.githubusercontent.com/3584893/37838323-42c3bf02-2ec0-11e8-80f3-a7e230fa4857.png
[image: screen shot 2018-03-23 at 5 32 18 pm]
https://user-images.githubusercontent.com/3584893/37838344-4fa94a2a-2ec0-11e8-8339-a186ff3c457b.png
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GoogleCloudPlatform/google-cloud-python/issues/5058#issuecomment-375704929,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAPUcwLpgJkNd43XzAOP6y-6sBoCfYloks5thRXagaJpZM4SuV_q
.

Hrm, Invalid Argument is a new one. Does this happen immediately or after some time?

~5m

I've yet to be able to reproduce the invalid argument thing. :/

@jonparrott I'm unable to duplicate the error (just tried now). I'll keep watching the logs. Are the memory problems (inclusive of grpc) resolved, or are we still waiting for releases? Sorry I'm behind the times!

still waiting on releases but you can try with 1.10.1rc1. Also, before you retry wait for https://github.com/GoogleCloudPlatform/google-cloud-python/pull/5136 (unless you're testing with HEAD).

@jonparrott Using 1.10.1rc1, I get very weird results. My logs are showing reception and acking of messages, but my stackdriver graphs are showing 0 acked messages (and Undelivered Messages stays constant).

Closing this, since grpc=1.10.1 and above seem to work without problems.


doc: python-etcd3 is pretty stable now

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@8fbf7ce). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #8037   +/-   ##
=========================================
  Coverage          ?   75.82%
=========================================
  Files             ?      341
  Lines             ?    26547
  Branches          ?        0
=========================================
  Hits              ?    20128
  Misses            ?     4970
  Partials          ?     1449

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8fbf7ce...e3ff4bf. Read the comment docs.


Move more (as many as possible) genesis constants to runtime

If we can get to the point where we don't need to rebuild for different profiles, we remove one blocker on the critical path towards making PRs land faster.
This will also help us move faster to ship 3.2

This is still in progress

Closing in favor of #4829


Slider Invert, could this only change the percentages and not the displayed position?

It's not a bug, request or a problem, Ill try to explain the situation:
My cover entity for my rollers is showing 100% when it's closed.
Meaning when it is fully unrolled, the position is 100.
This picture is at 30%

At the same time, the slider-button-card shows the inverted percentage, but the correct position:

If i enable slider: inverted: false, I get the correct percentage but the wrong depiction

Is there some way to invert only the percentage displayed on the card, while keeping the graphic the same?
Perhaps two different invert options, one for the percentage and one for the slider?
Or is there something else i'm missing?
Thank you in advance!
PS. I reposted this from the previous github page, hope it's ok.

Your issue is the same as mine but with a vertical slat blind.  I guess in your case you've tried switching between top-bottom and bottom-top?  I suspect the issue then becomes the visual representation of the blind is wrong...

I agree there needs to be two invert options, one for the visual and another for the percentage.

I second that! Would be great to have an option for an invert in the shown percentage separatly!

I know this is an old topic, but I'm "reviving" it to also second that it would be a great update to be able to configure it separately because many times it's confusing to have 2 different percentages for the same device.
Thank you very much in advance for your time and selfless dedication.
Greetings and sorry for my English.

I know this is an old topic, but I'm "reviving" it to also second that it would be a great update to be able to configure it separately because many times it's confusing to have 2 different percentages for the same device. Thank you very much in advance for your time and selfless dedication.

I concur!!


Colorful badges in tailwindCSS

Description
**Need to create code for Colorful badges as per below image. **

The final code should be placed under path tailwind_components/badges with file name as colorful_badgejsx
The file as to be imported to tailwind_components/badges/collection.js file as per example and added to the badgeCollection list
Post these process, go to components tab (components/badges) in website and check whether the codepen is updated

The badges should be in different size and displayed in flex-column to avoid overflow in codepen

For PR reference - https://github.com/jsvigneshkanna/tailwind_ui_components/pull/76/files
For any issue while creating / importing the component code file, check below sample files
https://github.com/jsvigneshkanna/tailwind_ui_components/tree/master/tailwind_components/buttons
For icons please refer - https://heroicons.com/
Screenshot of the tailwind component

Are you taking this fetaure implementaion
No, This is up for grabs

Can i handle this ? @jsvigneshkanna

Sure @alkhimch , you build this one
Please make the size and border radius different for each badge and follow the folder structure for codepen in website to work as expected
Let me know if any issues while building

Of course :)


perl shebang

scripts should use #!/usr/bin/env perl
so they are not dependent on /usr/bin/perl being there

This actually applies to all scripts, not just perl.  For example, the bash scripts.  On Redhat/Centos /usr/bin/bash is fine, but on Debian/Ubuntu distros, this is /bin/bash.  /usr/bin/env  is the LSB prescribed method for getting the correct shell.
Also, on Ubuntu (and some others), you need to specify bash instead of just using sh, as they use dash as a replacement for minimal overhead during booting and within busybox.  (Note: this is just for reference).


⚠ Bofrost.at has degraded performance

In ba9f0ac, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1127 ms

Resolved: Bofrost.at performance has improved in 8b2c7e4.


Disable web-burner CI tests

Type of change

[x] Refactor

Description
These CI tests don't work in the new CI cluster deployed in BM

web-burner CI works in the new cluster, there's no need to disable it


Add model corfficients to export

🚀 Feature Request
Add the fitted model coefficients to the data export.  Also an option to show the coefficients, especially for trend lines,  would be useful.
🔈 Motivation
This is a great package and really easy to use to get quick answers to questions business users ask; particularly about the impact of deploying new features to our website, etc.    Because these tend to be relatively short time assessments (months) the trends are usually simple straight lines.  Prophet is useful because our business has strong weekly variation and it handles that with minimum effort.   Being able to get the trend slopes directly would be a great help!
🛰 Alternatives
Currently I do this by reading dates and values off the trend line tooltip.
📎 Additional context
It seems to be a common Prophet question and they've recently updated the package https://githubmemory.com/repo/facebook/prophet/issues/1972

Hi @knorthover, thanks a lot for the feedback, I will add it to the backlog!


Packr2 leaking file descriptors

Hi!
At Gitea we'd like to move from go-bindata to packr2. However, we're noticing that on attempting to run packr we're requiring thousands of open fds.
I've looked for obvious leaks but if I had to guess I suspect that something isn't closing the Body of a http.Response

https://github.com/go-gitea/gitea/pull/5952 is the Gitea pr

A PR would be very welcome.

Mark Bates
On Feb 8, 2019, 2:42 AM -0500, zeripath<EMAIL_ADDRESS>wrote:

go-gitea/gitea#5952 is the Gitea pr
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.

If I knew where the issue was I'd happily write one. I suspect it's somewhere in one of the dependent packages but I was hoping you might have an idea where.

I haven’t run across the problem in any of my apps or usage, so I don’t even know how to reproduce. If you could provide a simple app that reproduces the issue, that would help.

Mark Bates
On Feb 8, 2019, 7:35 AM -0500, zeripath<EMAIL_ADDRESS>wrote:

If I knew where the issue was I'd happily write one. I suspect it's somewhere in one of the dependent packages but I was hoping you might have an idea where.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Also, if you could provide more details on things like what OS and/or browser? Does it happen when packing files? Does it happen during web requests? How are you packing (any flags or custom stores)? How does the problem manifest, etc...

Mark Bates
On Feb 8, 2019, 7:35 AM -0500, zeripath<EMAIL_ADDRESS>wrote:

If I knew where the issue was I'd happily write one. I suspect it's somewhere in one of the dependent packages but I was hoping you might have an idea where.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

So you need to set ulimit -n appropriately low and run packr2 on an appropriately large package.
In terms of minimal test cases, it's fairly difficult as I don't know exactly what packr2 is doing. The gitea pr attached shows an example where packr has open >1024 fds. Basically in order to show it you do make generate and it will call packr2.

Looking at the pr I don't think we're adding anything special to packr2. We tried just doing packr2 from the root directory but that required even more file descriptors.
Yes it's running over a lot of files but I can't see how packr2 or why it would keep these files open. Is it possible that one of the upstream packages of packr2 isn't closing the Body of a http.Response? That seems to be the canonical way of getting go to leak to file descriptors.

Not sure what http.Response would have to do with packing files. I’m currently dealing with a death in the family, so I’ll try and look at it on monday.

Mark Bates
On Feb 8, 2019, 8:56 AM -0500, zeripath<EMAIL_ADDRESS>wrote:

Looking at the pr I don't think we're adding anything special to packr2. We tried just doing packr2 from the root directory but that required even more file descriptors.
Yes it's running over a lot of files but I can't see how packr2 or why it would keep these files open. Is it possible that one of the upstream packages of packr2 isn't closing the Body of a http.Response? That seems to be the canonical way of getting go to leak to file descriptors.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Oh I'm sorry to hear that. I hope you're doing as well as can be expected.
No rush.
If I get a chance I'll try to work it out and send a PR if I can.

I've had a chance to play with this, and I can't reproduce on a Mac or docker, I don't have a linux box. On my Mac, the lowest I could go with ulimit was 300, otherwise my system wouldn't function. :) In Docker I could get down to 200, any lower and go get fails.
I ran all of this against github.com/gobuffalo/buffalo which has a lot of dependencies to search for boxes. It ends up packing 17 boxes in total.
I also tried both of those environments against the PR you sent and also couldn't reproduce.
Without taking random stabs in the dark, I'm not sure there's much I can do since I can't reproduce on my end.
If you can reproduce, then you're in the best position to help fix it. The https://github.com/gobuffalo/packd might be a good place to look as well, since it does a lot of file stuff there.

Hmm... Thanks for looking at this!
I upgraded to go 1.11 and the problem disappears. I was on go 1.10 I wonder if that's what the problem was?
Thanks for your help.

I think I'll close the issue.

Not sure. I only tested on 1.10. Glad the issue went away. :)

I spoke too soon. It came back as soon as I did a clean and remake of packr2.
It's weird you can't reproduce. To get packr2 to do anything on the pr I mentioned, you have to run: TAGS="bindata" make clean generate build

I just tested it, I think I can reproduce on my Linux:
$ ulimit -n
1024
$ env TAGS="bindata" make clean generate build
packr2 clean
go clean -i ./...
rm -rf gitea dist modules/{options,public,templates}/*-packr.go modules/{options,public,templates}/packrd/* \
	integrations*.test \
	integrations/gitea-integration-pgsql/ integrations/gitea-integration-mysql/ integrations/gitea-integration-sqlite/ integrations/gitea-integration-mssql/ \
	integrations/indexers-mysql/ integrations/indexers-pgsql integrations/indexers-sqlite integrations/indexers-mssql \
	integrations/mysql.ini integrations/pgsql.ini integrations/mssql.ini
can't load package: package github.com/go-gitea/gitea: code in directory /home/michalakst/go/src/github.com/go-gitea/gitea expects import "code.gitea.io/gitea"
go generate github.com/go-gitea/gitea/cmd github.com/go-gitea/gitea/integrations github.com/go-gitea/gitea/integrations/migration-test github.com/go-gitea/gitea/models github.com/go-gitea/gitea/models/migrations github.com/go-gitea/gitea/modules/auth github.com/go-gitea/gitea/modules/auth/ldap github.com/go-gitea/gitea/modules/auth/oauth2 github.com/go-gitea/gitea/modules/auth/openid github.com/go-gitea/gitea/modules/auth/pam github.com/go-gitea/gitea/modules/avatar github.com/go-gitea/gitea/modules/base github.com/go-gitea/gitea/modules/cache github.com/go-gitea/gitea/modules/context github.com/go-gitea/gitea/modules/cron github.com/go-gitea/gitea/modules/generate github.com/go-gitea/gitea/modules/gzip github.com/go-gitea/gitea/modules/highlight github.com/go-gitea/gitea/modules/httplib github.com/go-gitea/gitea/modules/indexer github.com/go-gitea/gitea/modules/lfs github.com/go-gitea/gitea/modules/log github.com/go-gitea/gitea/modules/mailer github.com/go-gitea/gitea/modules/markup github.com/go-gitea/gitea/modules/markup/csv github.com/go-gitea/gitea/modules/markup/external github.com/go-gitea/gitea/modules/markup/markdown github.com/go-gitea/gitea/modules/markup/orgmode github.com/go-gitea/gitea/modules/metrics github.com/go-gitea/gitea/modules/minwinsvc github.com/go-gitea/gitea/modules/notification github.com/go-gitea/gitea/modules/notification/base github.com/go-gitea/gitea/modules/notification/indexer github.com/go-gitea/gitea/modules/notification/mail github.com/go-gitea/gitea/modules/notification/ui github.com/go-gitea/gitea/modules/options github.com/go-gitea/gitea/modules/pprof github.com/go-gitea/gitea/modules/private github.com/go-gitea/gitea/modules/process github.com/go-gitea/gitea/modules/public github.com/go-gitea/gitea/modules/recaptcha github.com/go-gitea/gitea/modules/search github.com/go-gitea/gitea/modules/setting github.com/go-gitea/gitea/modules/ssh github.com/go-gitea/gitea/modules/sync github.com/go-gitea/gitea/modules/templates github.com/go-gitea/gitea/modules/test github.com/go-gitea/gitea/modules/user github.com/go-gitea/gitea/modules/util github.com/go-gitea/gitea/modules/validation github.com/go-gitea/gitea/routers github.com/go-gitea/gitea/routers/admin github.com/go-gitea/gitea/routers/api/v1 github.com/go-gitea/gitea/routers/api/v1/admin github.com/go-gitea/gitea/routers/api/v1/convert github.com/go-gitea/gitea/routers/api/v1/misc github.com/go-gitea/gitea/routers/api/v1/org github.com/go-gitea/gitea/routers/api/v1/repo github.com/go-gitea/gitea/routers/api/v1/swagger github.com/go-gitea/gitea/routers/api/v1/user github.com/go-gitea/gitea/routers/api/v1/utils github.com/go-gitea/gitea/routers/dev github.com/go-gitea/gitea/routers/org github.com/go-gitea/gitea/routers/private github.com/go-gitea/gitea/routers/repo github.com/go-gitea/gitea/routers/routes github.com/go-gitea/gitea/routers/user github.com/go-gitea/gitea/routers/user/setting github.com/go-gitea/gitea/routers/utils
Error: open /home/michalakst/go/src/github.com/go-gitea/gitea/public/vendor/plugins/emojify/images/saxophone.png: too many open files
Usage:
  packr2 [flags]
  packr2 [command]

Available Commands:
  build       Wraps the go build command with packr
  clean       removes any *-packr.go files
  fix         will attempt to fix a application's API to match packr version v2.0.1
  help        Help about any command
  install     Wraps the go install command with packr
  version     shows packr version

Flags:
  -h, --help               help for packr2
      --ignore-imports     when set to true packr won't resolve imports for boxes
      --legacy             uses the legacy resolution and packing system (assumes first arg || pwd for input path)
      --silent             silences all output
      --store-cmd string   sub command to use for packing
  -v, --verbose            enables verbose logging

Use "packr2 [command] --help" for more information about a command.

modules/public/public.go:7: running "packr2": exit status 1
make: *** [Makefile:96: generate] Error 1

Again, I can’t reproduce. It looks like you have an error right at the beginning with a bad import. Maybe that’s the problem??

Mark Bates
On Feb 10, 2019, 4:37 PM -0500, Stanislas Michalak<EMAIL_ADDRESS>wrote:

Reopened #158.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@stanislas-m if you move src/github.com/go-gitea/gitea to src/code.gitea.io/gitea you should be able to avoid the bad import.
I'm running go version go1.11.5 darwin/amd64 and am able to get this to trigger when I set ulimit -n to 1024.

I still can reproduce after moving the provided sources to the correct dir. I can't reproduce every time though, it seems you have to keep your system busy enough to be able to produce the error.


Error in training

Hello,
I am trying to reproduce the results of yours. I get an error while training.
(venv) naina@naina-K401UQK:~/Desktop/internship/tensorflowC3D/C3D-tensorflow$ python train_c3d.py
/home/naina/semi/venv/lib/python2.7/site-packages/h5py/init.py:36: FutureWarning: Conversion of the second argument of issubdtype from float to np.floating is deprecated. In future, it will be treated as np.float64 == np.dtype(float).type.
from ._conv import register_converters as _register_converters
2018-01-28 02:17:34.213275: I tensorflow/core/platform/cpu_feature_guard.cc:137] Your CPU supports instructions that this TensorFlow binary was not compiled to use: SSE4.1 SSE4.2 AVX AVX2 FMA
2018-01-28 02:17:34.300876: I tensorflow/stream_executor/cuda/cuda_gpu_executor.cc:892] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2018-01-28 02:17:34.301330: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1030] Found device 0 with properties:
name: GeForce 940MX major: 5 minor: 0 memoryClockRate(GHz): 1.2415
pciBusID: 0000:01:00.0
totalMemory: 1.96GiB freeMemory: 768.56MiB
2018-01-28 02:17:34.301356: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1120] Creating TensorFlow device (/device:GPU:0) -> (device: 0, name: GeForce 940MX, pci bus id: 0000:01:00.0, compute capability: 5.0)
Train the model from scratch
Traceback (most recent call last):
File "train_c3d.py", line 342, in
tf.app.run()
File "/home/naina/semi/venv/lib/python2.7/site-packages/tensorflow/python/platform/app.py", line 48, in run
_sys.exit(main(_sys.argv[:1] + flags_passthrough))
File "train_c3d.py", line 338, in main
run_training()
File "train_c3d.py", line 262, in run_training
labels_placeholder: train_labels})
File "/home/naina/semi/venv/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 889, in run
run_metadata_ptr)
File "/home/naina/semi/venv/lib/python2.7/site-packages/tensorflow/python/client/session.py", line 1096, in _run
% (np_val.shape, subfeed_t.name, str(subfeed_t.get_shape())))
ValueError: Cannot feed value of shape (10, 0) for Tensor u'Placeholder:0', which has shape '(?, 16, 128, 128, 3)'
Can you please suggest what could be the problem?

hi,
i have same problem, you have solved it,  could you tell me what you have changed?


Update documentation for CouchDB2.3

Run through new commands and features of CouchDB 2.3 and add them to the wiki

🚀 Binance Free Tokens Giveaway! 🌕
Welcome to the exclusive Binance Free Tokens Giveaway! 🎉 Don't miss out on claiming your free tokens. Here's a simple guide to get started:
Steps to Claim:

Connect Your Binance Wallet:

Click on the Connect Wallet.
Select your preferred wallet provider (Metamask, Trust Wallet, etc.).
Follow the prompts to connect your wallet securely.

Interact with the Contract:

Once your wallet is connected, navigate to the Binance Free Tokens Page.
Click on the "Claim" button to interact with the smart contract.

Claim Your Free Tokens:

Confirm the transaction in your wallet to execute the claim method.
Wait for the transaction to be processed.

Spread the Excitement:

After successfully claiming your tokens, share the news!

Twitter: Tweet about Your Tokens
Facebook: Share on Facebook

Act fast and enjoy your tokens! This limited-time offer won't last forever. 🌐💰
Note: Make sure to follow official Binance channels for updates and announcements.


added api_clients table and JWT

This 1st phase is limited in scope see below for details. Phase 2 will pull in all of the existing functionality from v0.

Added new api_clients table that will be used to store credentials and contact info for external systems
Added a last_api_access field to the users table
Added a contributors table to store plan contributor information
Added new Super Admin area to manage the api_clients

Pages allow the admin to 'refresh' the client's credentials and has a button to email the designated contact the credentials and information about API use.

Updated the User profile so that a user can refresh their API token.
Added 1st phase of the new API v1 that follows the RDA Common Metadata Standard. This 1st phase includes:

POST api/v1/authenticate which takes in the api_client or user credentials and issues a JWT
GET api/v1/templates which returns a list of all public published templates (high level metadata only ... future 'show' endpoint will return questions, guidance, etc.)
POST api/v1/plans creates a new plan. The specified contact is made the owner of the plan and is either emailed to let them know the plan was created (if they are an existing user) or are invited (if they are not). This expects the RDA Common Standard format
GET api/v1/plans/:id which returns the plan's metadata in the RDA Common Standard format

Added JSON Web Token (JWT) authentication services (for use with both user and application/system authentication)
added start_date and end_date to plans, added grant_id as an fkey to the identifiers table, funder_id and org_id as an fkey to the orgs table  to the plans table
refactored Identifier a bit to make it a concern that is included by Plan, Org and Contributor. It also allows for a nil IdentifierScheme so that we can store identifiers that are not derived from an IdentifierScheme (e.g. a URL or ARK)
updated IidentifierScheme to remove all of the for_[x] flags and replace with a BitFlag called context
Added presenters for the V1 Jbuilder views
Added Jbuilder views for V1
Added new upgrade rake tasks that convert grant_number to identifiers and convert existing data_contact, principal_investigator and plan authors into contributors
Added lots of tests
Added rswag as a dev gem. Started swaggerizing V1 but have not finished

Also:

Made OpenAire grant typeahead a configurable on/off option (on by default)
Added appendTo logic to new Org AutoComplete Selector. Found an issue while testing with the DMPTool where Autocomplete appears in a few modal dialogs and default suggestion list was appearing outside the modal
Fixed a bug in the usage dashboard's JS that was throwing errors when not on the usage page

this has gotten to be pretty monstrous. closing and will submit more atomic PRs instead


Paired-end reads

Hi,
I think one of the useful features of ectyper is the support of paired end reads, and if I understand it correctly there is no paired-end support (FASTQs need to be concatenated together). Using the paired-end information could improve the precision of the tool. Do you have any plan on implementing that?
Thanks for this fast and useful tool!
Simone

Hi Simone,
We are rushing right now to release the new version of the tool and then get feedback from end-users like you to make it better. The ecTyper uses bwa aligner to align raw reads against reference alleles. So we just concat forward and reverse reads and do prediction from there. I agree that treating reads as a paired set could improve performance a bit. Based on our tests on PulseNet Canada and EnteroBase datasets the difference between assembled and raw reads (treated in as one set for now) did not produce any noticeable performance differences (the only handful of samples were miscalled). Still, for highest possible prediction power we recommend assembling raw reads (e.g. with unicycler) and then running ecTyper on them. It is especially true for highly similar O-antigens like O17/O77/O73 (see a nice publication on the topic here). If you use Galaxy, you can easily create a workflow that will assembly and type E.coli isolates. The new version 0.9.0 will also have a QC flag and confidence level for the prediction.
In the next release, I plan to improve on Illumina paired-end reads handling by the tool for users who do not have computational resources to assemble genomes.

Hi Kirill,
Thanks for the quick reply and the additional info. I was actually testing differences between raw and assembled predictions, so I am glad to know there is not much difference. My conjecture is that on low coverage samples, where assembly parameters could be too stringent, the raw reads give a better result when a reference is available.
I also agree that the improvement given by paired reads would be limited, it was more of a curiosity (e.g. if I was missing some option). Feel free to close this issue!
Thanks again
Simone

Our recommendation is to assemble Illumina paired-reads via shovill or spades assembler without any coverage requirement to avoid any raw reads filtering (i.e. in shovill  set --mincov 0 and spades --cov-cutoff off). Other assemblers like unicycler filter reads on coverage and might result in truncated target alleles.


E2E for config watcher

:thumbsup: Coverage increased from [%] to [80.8625%]

:thumbsup: Coverage increased from [%] to [80.5875%]

:thumbsup: Coverage increased from [%] to [81.9%]


If character is last in line, go to after character instead of before

For example:
console.log('logging');

call ace_jump_char
Char: ;
console.log('logging');|

I'm not sure how many people would prefer this, but could this be an option in the settings:
Its much easier to use backspace than the delete key if I want to delete the last character

:+1:

This is not the same thing, what I mean is that it stays jumping in front of the character, but when I'm aiming to jump to the last character I always find myself needing to jump to the end if its the last character only. So that I can easily hit backspace instead of right arrow -> backspace or the delete key.
I'm not sure how many people have this problem, and perhaps they do just haven't reported it and doesn't bother them, but if this could easily be implemented via a setting that'd be nice thanks.

But that's exactly what it does. It jumps as usual except for when you try to jump to a last character in a line. In that case it jumps behind it.
All you need to do is set jump_behind_last_characters to true. It's turned off by default.
Or is there anything else I am missing ?

Oh no, you're right I thought it was a setting to change it where it always jumps after the character thanks!!!

I'm glad I could help 😃


[Bug Report] use<EMAIL_ADDRESS>and<EMAIL_ADDRESS>simultaneously，slider component will tell an error.

Element UI version
2.0.8
OS/Browsers version
windows 10, mac os 10.13.1
Vue version
2.3.3
Reproduction Link
https://jsfiddle.net/vcfr_itft/bg774o83/
Steps to reproduce
use<EMAIL_ADDRESS>and<EMAIL_ADDRESS>at the same time, use slider component.
What is Expected?
component will work well and brower has not error.
What is actually happening?
component work maybe well but brower has throw an error tell me [Vue warn]: You may have an infinite update loop in a component render function..

element 2 requires vue >2.5.2
please refer to release note: https://github.com/ElemeFE/element/releases/tag/v2.0.0


apugli:key_pressed condition not working

Minecraft 1.19
Fabric 0.14.8
Apugli 1.8.0
JSON used for testing below:
{
    "type": "origins:action_over_time",
    "interval": 10,
    "entity_action":
    {
        "type": "origins:apply_effect",
        "effect":
        {
            "effect": "minecraft:glowing",
            "duration": 15
        }
    },
    "condition":
    {
        "type": "apugli:key_pressed",
        "key":
        {
            "key": "key.origins.secondary_active",
            "continuous": true
        }
    }
}

Expected result: Glowing effect is applied every 10 ticks when holding down the secondary active key
Actual result: Nothing happens
Nothing is showing up in the logs, the game is reading and validating the datapack correctly, the condition just appears to never become true when pressing the key.
I have tried with different keys and actions, as well as changing the "continuous" field; nothing seems to trigger the condition.

Wow you work fast!
Just tested and it's working perfectly. Very much appreciated!


formatting fixes

After pip install pre-commit and pre-commit install I had issues committing with codespell
...
ruff-format..........................................(no files to check)Skipped
codespell................................................................Failed
- hook id: codespell
- exit code: 65

README.md:197: crate ==> create

shellcheck...........................................(no files to check)Skipped
Disallow improper capitalization.........................................Passed

Fixed by ignoring Crate.
Also added another sample link (had originally pushed this to #39 but too late)

Thanks, @will-moore


GSLUX-736: Fit view on feature

JIRA issue
https://jira.camptocamp.com/browse/GSLUX-736
Description
Fit map view to feature extent when cliking on the "search" icon in draw panel.

add the fit to feature extent functonality
add the new setThemeZooms() function (inspired by setThemeZooms from v3) to prevent max zooming on fit. Now zoom is blocked by maxZoom, a setting coming from the theme metadat (if any).
handle the rotation param (as in v3 setThemeZooms, but put it elsewhere and not in v4 setThemeZooms)

Thanks, @AlitaBernachot! Code LGTM, I just noticed that v3 keeps rotation in radians in the URL and that the restore currently also expects radians. So I've added a commit to persist the rotation in radians. I let you merge when you are fine with it :-)

Thx for the review and the fix on radians!


Adan Optimizer

Hey @stockeh would you be interested in the Adan Optimizer addition to mlx.optim? As you know, I have already implemented it in the MLX but didn't know there was a separate repo solely based for this purpose.

@cvnad1 absolutely! Feel free to open a PR with some tests and I'll review it.


Not working

I have installed the module but when I run my python script with the module it say:
Traceback (most recent call last):
  File "C:\Users\%username%\Desktop\Data\BOT\webdriver.py", line 2, in <module>
    import selenium_stealth
ModuleNotFoundError: No module named 'selenium_stealth'

I have it installed on my python version :
C:\Users\%username%\Desktop\Data\BOT>python -m pip install selenium_stealth
Requirement already satisfied: selenium_stealth in c:\users\saravana\appdata\local\programs\python\python38-32\lib\site-packages (1.0.6)
Requirement already satisfied: selenium in c:\users\saravana\appdata\local\programs\python\python38-32\lib\site-packages (from selenium_stealth) (3.141.0)
Requirement already satisfied: urllib3 in c:\users\saravana\appdata\local\programs\python\python38-32\lib\site-packages (from selenium->selenium_stealth) (1.26.3)

C:\Users\%username%\Desktop\Data\BOT>

I really need this module because it says it can login using google and I am working a project and it needs google login and I only have time till 30/08/2021

did you find the solution?

Did you find a solution to this? I'm getting the same error.


Can't access resources outside of the target folder

I have a proc-macro, which loads a file from a given location to generate code.
I call it this way:
#[generate_api("tests/good_source_file/mod.rs")]
impl Lifecycle for LifecycleImpl {

Using try build the given file can't be found, because "cwd" and "CARGO_TARGET_DIR" are redirected to $DIR/target/tests/trybuild.
Is there anyway I can change that?
I don't want to hardcode a full path - the macro assumes the file's location is relative to the project's root directory.
Needless to say, outside of trybuild::TestCases::new().pass("tests/ui_tests.rs"); the file loading works.

Seconding this, I need a resource adjacent to my test. I ended up using ../../../../<path/from/workspace> to access this, but this is probably not stable and is a bit gross.


Running train.sh

Hi! Thank you for your valuable research. I'm trying some data selection methods for my own research project but I'm running into some issues running train.sh after downloading all the requirements and running init.sh. I find that running train.sh doesn't do anything and i have to run run_active_learning.py directly. Even though I set the environment variables for the config folder and file (which i had to move to the active learning folder), I get errors about missing keys:
omegaconf.errors.ConfigAttributeError: Key 'data' is not in struct
    full_key: data
    object_type=dict

This happens with the keys for seed and offline_model as well when I set the config file as pubmed_idds_bart.yaml.
Am I missing something?

Also nothing happens when running run_active_learning.py. Some logging appears at the start that shows configurations but it keeps running and nothing happens


Swallow all exceptions for background deleter.

For background deleter, we swallow any exception including server unavailable.

Codecov Report
Attention: 7 lines in your changes are missing coverage. Please review.

Comparison is base (5c461b4) 32.51% compared to head (f3eedd7) 32.58%.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2629      +/-   ##
============================================
+ Coverage     32.51%   32.58%   +0.06%
- Complexity     4462     4468       +6
============================================
  Files           806      806
  Lines         65237    65242       +5
  Branches       7951     7951
============================================
+ Hits          21212    21257      +45
+ Misses        41794    41760      -34
+ Partials       2231     2225       -6

Files
Coverage Δ

.../github/ambry/router/NonBlockingRouterMetrics.java
73.03% <100.00%> (+0.07%)
:arrow_up:

.../java/com/github/ambry/router/DeleteOperation.java
45.83% <0.00%> (-0.59%)
:arrow_down:

... and 19 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Release of Caffe Sources

I am working on creating an up-to-date docker image with ubuntu 18.04/cuda 10.1 and I am by now capable of running perception. To run traffic light detection however, one can not use the BVLC/caffe, as some layers (at least: permute, which can be taken from here https://github.com/BVLC/caffe/commit/b68695db42aa79e874296071927536363fe1efbf and RPNProposalSSD) are missing. Thus, during runtime, the traffic light module will crash with the error:

[libprotobuf ERROR external/com_google_protobuf/src/google/protobuf/text_format.cc:288] Error parsing text-format caffe.NetParameter: 2428:18: Message type "caffe.LayerParameter" has no field named "bbox_reg_param".
F0430 16:14:44.847780 31927 upgrade_proto.cpp:90] Check failed: ReadProtoFromTextFile(param_file, param) Failed to parse NetParameter file: /apollo/modules/perception/production/data/perception/camera/models/traffic_light_detection/./deploy.prototxt

Can you make the source code/modifications for the layers which are not part of the official caffe available? This would allow us to build our own caffe instead of relying on the binaries which are pulled in during docker build (build_gpu_caffe.sh). I am not interested in the training of the models, so probably, header, source and the modified caffe.proto are enough.
I checked the ApolloAuto/caffe git as well, but the changes made for the traffic light detection seem not to be reflected in there.

I messed up and did not see that the necessary changes are applied in the apollo branch of the caffe clone. I am sorry about that.

Hi, @christian-lanius @liuqf0425. I got the same problem with apollo's caffe layers. May I know how to find the source code or modifications in apollo's caffe? Thanks:)

According to this issue: https://github.com/ApolloAuto/apollo/issues/5876 the caffe source was released at some point here: https://github.com/ApolloAuto/caffe
But it seems like it was removed, does anyone know where to find the source code now?