HandlerMap class extracted from  the SqsNotificationListener

Trying to break up the SqsNotificationListener
The HandlerMap turns out to be small part of it
Is it worth it? Should I add a couple of tests on the HandlerMap?

@AnthonySteele I'll hold off merging this right now - let's see if we can enumerate the responsibilities lurking inside this class and how they can be extracted for maximum improvement...


Parse, validate and use new zone endpoint syntax

@mpolden please review.

Remaining:

Validation override required to remove private endpoint.
Removal of old code to parse these settings.
Not provisioning a public endpoint, but that's probably more work, as we assume several places this is available.

Well ... 2. is just to remove the grammar from services..rnc :)

Thanks. I wonder what. I searched for that string ... :>

Evidently a poor attempt. Yes, there are some test resources. Thanks again.

I did run the tests, though. Even weirder.

Aha, I didn't intend to push that commit with the removal of old schema grammar. Well, shouldn't be in use anywhere ...

Added some more validation, and fixed some conflicts, PTAL :)


Forward rel/6.3 to rel6/4

Forward rel/6.3 to rel6/4
@electrachong they were two conflicts.
Feel free to review :)

E2E: http://ci.ironmann.io/gh/scality/Integration/9443


Make it possible to jump between test specs using a shortcut

In IntelliJ, it is possible to jump between methods using the alt + Down arrow shortcut. When using JUnit, this is a very useful feature, as you can easily jump between tests. All KotlinTest specs are located within the init block, though, making it hard to jump through specific tests you've written. It would be great if alt + down arrow would navigate between tests the same way it navigates between methods. Especially for screen reader users (visually impaired developers), this would be a god send, as it takes very long to scroll through longer test files now.

How does this work - if you are anywhere in the test it takes you to the next one? Or do you have to be at the test name level, or ..?

If you are anywhere in the test, it should take you to the next one, yes. That makes Jumping through tests when you can't use a mouse much, much faster and more convenient.

This is included in the latest plugin. Default hotkeys are alt p and alt lt n

Cool, thank you.


Cannot save anymore in 1.1.0

Sine the rewrite with LdapFieldMixin, the ldap library sometimes complains that it expects bytestrings instead of strings in the modlist.
I think this is because some field models lost their encoding routine - e.g. CharField is lacking the get_prep_value encoding it to bytes that TextField has.
File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/db/models/manager.py" in
manager_method
  82.                 return getattr(self.get_queryset(), name)(*args, **kwargs)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/db/models/query.py" in
create
  417.         obj.save(force_insert=True, using=self.db)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ticdesk_account/models.py" in save
  329.         super(TeckidsPerson, self).save(*args, **kwargs)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/db/models/base.py" in save
  729.                        force_update=force_update, update_fields=update_fields)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/django/db/models/base.py" in
save_base
  759.             updated = self._save_table(raw, cls, force_insert, force_update, using,
update_fields)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ldapdb/models/base.py" in
_save_table
  117.             connection.add_s(new_dn, new_values)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ldapdb/backends/ldap/base.py" in
add_s
  277.         return cursor.connection.add_s(dn, modlist)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ldap/ldapobject.py" in add_s
  428.     return self.add_ext_s(dn,modlist,None,None)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ldap/ldapobject.py" in add_ext_s
  413.     msgid = self.add_ext(dn,modlist,serverctrls,clientctrls)

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ldap/ldapobject.py" in add_ext
  410.     return
self._ldap_call(self._l.add_ext,dn,modlist,RequestControlTuples(serverctrls),RequestControlTuples(clientctrls))

File "/srv/www/ticdesk/venv/lib/python3.5/site-packages/ldap/ldapobject.py" in _ldap_call
  313.         result = func(*args,**kwargs)

Exception Type: TypeError at /account/register
Exception Value: ('Tuple_to_LDAPMod(): expected a byte string in the list', '')

Probably the fault is in the ListField.
I had the same issue, I Coded MultiValudField in PR https://github.com/django-ldapdb/django-ldapdb/pull/152

Umm… Well, in any case, it helps a lot if you can read diffs the right way around :D. TextField, of course, doesn't exist in django-ldapdb.

This issue raises when using Django 2.0.
I Fixed this in my approach and also introduced a better way to read the field, nothing prevents you to take what you need from my code to produce a renewed ListField that works for you.
All this should drive us to next release! ;)

Tracing through your code (which is not so easy in your PR because it mixes tons of unrelated stuff) somehow doesn't look like your MultiValueField is in any way different in that regard. Maybe you can create separate PRs for separate issues, so one can see which of your changes actually tackles this problem?

You're right, I made my PR first of all for MultiValueField, then other pushes filled the stacks!
My excuse for that entropy, I'm sharing my work as it is but I'll fix it as soon as I have a bit of time to do it

@Natureshadow that would be a nasty bug indeed. Can you share more details about the kind of field you're seeing the failure with?
Maybe run a debugger and take a look at the contents of modlist when we reach LDAPObject.add_ext()?


Implement results icons (final visual assets)

Put in one icon as placeholder to get some idea of visuals. Awaiting meeting with designer before further progress.


Unable to enter basement levels

See the attached screenshot. It seems impossible to enter negative numbers (at least on iOS) so I can't fully tag underground shops.

Thanks for noticing! Fixed in 2.1.


add env var for number of threads to download artifacts with

Fixes WB-NNNN
Fixes #NNNN
Description
What does the PR do?
Testing
How was this PR tested?
Checklist

Include reference to internal ticket "Fixes WB-NNNN" (and github issue "Fixes #NNNN" if applicable)

Experimentation reveals this doesn't actually help!


Fix incorrect geometry for black text

Black = 0 = falsy.
Fixes #7048.

@Mergifyio backport release/4.8.x


Issue

Hi, could anybody help me with this. When ever I config the accessories (IP, Serial, Pass), Homebridge stop working
`[6/14/2021, 1:42:50 PM] [HB Supervisor] Restarting Homebridge...
[6/14/2021, 1:42:50 PM] [HB Supervisor] Starting Homebridge with extra flags: -I
[6/14/2021, 1:42:50 PM] [HB Supervisor] Started Homebridge v1.3.4 with PID: 3603
Initializing HAP-NodeJS v0.9.4...
[6/14/2021, 1:42:51 PM] Loaded config.json with 0 accessories and 2 platforms.
[6/14/2021, 1:42:51 PM] Loaded 0 cached accessories from cachedAccessories.
[6/14/2021, 1:42:51 PM] ---
[6/14/2021, 1:42:51 PM] Loaded plugin<EMAIL_ADDRESS>[6/14/2021, 1:42:51 PM] Registering platform 'homebridge-config-ui-x.config'
[6/14/2021, 1:42:51 PM] ---
[6/14/2021, 1:42:51 PM] Loaded plugin<EMAIL_ADDRESS>homebridge API version: 2.7
[6/14/2021, 1:42:51 PM] Registering platform 'homebridge-dyson-link.DysonPlatform'
[6/14/2021, 1:42:51 PM] ---
[6/14/2021, 1:42:51 PM] Loading 2 platforms...
[6/14/2021, 1:42:51 PM] [Config] Initializing config platform...
[6/14/2021, 1:42:51 PM] [Config] Running in Service Mode
[6/14/2021, 1:42:51 PM] [DysonPlatform] Initializing DysonPlatform platform...
[6/14/2021, 1:42:51 PM] [DysonPlatform] Finished launching. Start to create accessory from config
Preparing Advertiser for 'Homebridge 233E 93D4' using bonjour-hap backend!
Setup Payload:
X-HM://0023NU3Z4980O
Enter this code with your HomeKit app on your iOS device to pair with Homebridge:
┌────────────┐
│ 115-96-448 │
└────────────┘

Starting to advertise 'Homebridge 233E 93D4' using bonjour-hap backend!
[6/14/2021, 1:42:51 PM] Homebridge v1.3.4 (Homebridge 233E) is running on port 51221.
[6/14/2021, 1:42:51 PM] SyntaxError: Unexpected token e in JSON at position 0
at JSON.parse ()
at IncomingMessage. (/usr/local/lib/node_modules/homebridge-dyson-link/index.js:180:40)
at IncomingMessage.emit (events.js:388:22)
at endReadableNT (internal/streams/readable.js:1336:12)
at processTicksAndRejections (internal/process/task_queues.js:82:21)
[6/14/2021, 1:42:51 PM] Got SIGTERM, shutting down Homebridge...
[6/14/2021, 1:42:56 PM] [HB Supervisor] Homebridge Process Ended. Code: 143, Signal: null
[6/14/2021, 1:43:01 PM] [HB Supervisor] Restarting Homebridge...`

I have this exact same issue as of yesterday or today. Maybe Dyson updated something that's breaking the HomeBridge plugin?

I have this exact same issue as of yesterday or today. Maybe Dyson updated something that's breaking the HomeBridge plugin?
EDIT: Just removed my account password and for some reason it started completely working again.

Hey there, which plug-in are you using? The new Dyson plugin published on May of this year? I’m using it on Hoobs Homebridge but I can get my Dyson fans to appear on homekit. How are you getting yours to still work if I may ask?

Same error, remove pwd don’t fix the bug on my side.

Same issue here

I think this is because Dyson have changed their authentication logic. This plugin was crashing homebridge for me too, but since this plugin doesn't seem to be actively maintained anymore I switched to https://github.com/lukasroegner/homebridge-dyson-pure-cool which is working perfectly for me.


fix(COO-550): Net flow Console URL to korrel8r query translation issues.

/lgtm

/cherry-pick release-0.3


remove companies with failing urls

Diacode and Govannon SSL certs are expired and Entelios's website does not respond at all. For Diacode the url could also just be changed to Github or just have them add themselves again if/when their SSL cert gets renewed.

Thank you @jhchen ❤


[AMORO-2226]: Rename Flink Model Arctic to Amoro

Why are the changes needed?

Close #2226 .
Brief change log

rename flink mode java file name prefix to amoro

How was this patch tested?

[x] Add some test cases that check the changes thoroughly including negative and positive cases if possible
[ ] Add screenshots for manual tests if appropriate
[x] Run test locally before making a pull request

Documentation

Does this pull request introduce a new feature? ( no)
If yes, how is the feature documented? (not documented)

👍

It seems variable, method, comments  which contains arctic also need to be renamed to amoro in  new PR in the future?

Yes this pr just renames some classes, if we need to change some of the configuration from arctic to amoro, do we have to break some compatibility @xieyi888

Thanks for the contribution!
But I don't think renaming arctic to amoro in all places is a good solution here.
The new project name amoro means a lot more than just the mixed-format now.
So I tried to resolve this issue by #2848 , can you help to review it? @czy006 @xieyi888

Completed by #2848


added information option to reusable input

Changes

Added info option to reusable input that displays an info icon with some information in a tooltip
Fixed Flex wrap not applying in the reusable component

Migrations
Screenshots

Too many users used to look like:

Now looks like:

Checks
Important: please complete these before merging.

[ ] Run migrations, if any.
[ ] Update changelog.md, including migration instructions if any.
[ ] Run unit tests.

It now looks like the label and tags list in CCMultiSelectInput cover up the border of the dropdown menu.
One thing that I think might look better: The tooltip could be placed before the labels of the inputs. That way they're the first bit the user sees and they stay in the same place - instead of being shifted along by the tags (as in CCMultiSelectInput.

Info icon now shows up on the left side like this


ISPN-14887 Publisher prefer to stay local with shared store or REPL

Local target when shared store in use
Reduce delivery guarantee for REPL and shared store on local node

https://issues.redhat.com/browse/ISPN-14887

Thanks @wburns. I merged the backport and re run the CI (there was an error on the job)

CI issue is related?

Looking at the failure I can't see how it would. The cache in the test is a LOCAL cache, so it wouldn't even touch this code here.

Merged, thanks


Support for OneToOneField Panels

It would be really useful if it were possible to have a Panel for one-to-one relationships.  Currently this is possible with many-to-many relationships using an InlinePanel, but I'm not aware of a way to do it with a model which relates to the parent model via a OneToOneField.
In an ideal world, this would support generic relationships, but that would perhaps be another ticket.
I do this quite a lot in the Django admin, so it would be nice to be able to do it in Wagtail too.
An example use case would be a pluggable app that defines some extra fields that can be attached to an existing Page model.

+1

+1

:+1:

+1

+1 This would be hugely useful.

Any idea on it's implementation?

As a note, the work around for this I've found is to do a ParentalKey with unique=True. Django complains with a warning that you should use a onetoone field, but this works fine. The inline panel correctly handles this method and grays out the plus button, but I then edited the inline panel javascript with an override so that it hides the button when the limit has been reached, which in a unique = True case means the second you create one, the + button hides.

Here is an example of how I got this to mostly work:
https://gist.github.com/Adrian-Turjak/8580b6e838b1c0fd29addbc80d7c6e81

+1 really need this to be built in

@eyesee1 I don't entirely think that's a terrible idea. Worth at least trying.
That said, I have a feeling that if this support was added, it would be added as a ParentalOneToOneField  which would still be dependent on ClusterableModel.

Not sure on how correct this is, or if there is a way to get around not using ClusterableModel. But it's quite easy to extend InlinePanel to behave more like a MultiPanel. (NB: I haven't fully tested this out yet)
class SingleInlinePanel(InlinePanel):
    def __init__(self, relation_name, panels=None, heading='', label='', *args, **kwargs):
        super().__init__(relation_name=relation_name, heading=heading, panels=panels, *args, **kwargs)
        self.heading = heading or label
        self.relation_name = relation_name
        self.label = label
        self.panels = panels
        self.min_num = 1
        self.max_num = 1

    template = 'app/edit_handlers/single_inline_panel.html'

    def render(self):
        return render_to_string(self.template, {
            'self': self,
        })

Template:
{{ self.formset.management_form }}

<fieldset>
  <legend>{{ self.heading }}</legend>

    {% if self.formset.non_form_errors %}

        {% for error in self.formset.non_form_errors %}
          {{ error|escape }}
        {% endfor %}

    {% endif %}
      {% for child in self.children %}

{{ child.render_form_content }}

      {% endfor %}

</fieldset>

Usage:
class Overview(models.Model):
    page = ParentalKey('app.HomePage', on_delete=models.CASCADE, related_name='overview')
    image = models.ForeignKey('wagtailimages.Image', null=True, blank=True, on_delete=models.SET_NULL, related_name='+')
    subtitle = models.CharField(help_text='Subtitle', max_length=100, null=False, blank=True)
    description = models.TextField(help_text='Short description', null=False, blank=True)

    panels = [
        FieldPanel('subtitle'),
        FieldPanel('description'),
        ImageChooserPanel('image'),
    ]

class HomePage(MenuPage):
    content_panels = Page.content_panels + [
        SingleInlinePanel('overview', label='Overview')
    ]

This will be useful.

Reviewed today – assigning to @laymonage to review how much this is covered by current snippet chooser capabilities. For example error handling.


Added Neural Network in ML Algorithms

Description
Added a .md file explaining what I did along with brief introduction of what Neural Network is, along with a .ipynb file, for viewers to test the code which I explained
Type of change
Please delete options that are not relevant.

[x] Added Algorithm
[x] Folder Structure
[x] Updated SUMMARY.md

Added to SUMMARY.md?
Have you added the page to SUMMARY.md if this is a new page and not a fix?

[x] Yes

@arnabsen1729 can you please take a look? 😅

@Abhiroop25902 really appreciate your contribution.

Folder structure maintained properly :heavy_check_mark:
File names follow the standard convention :heavy_check_mark:
Commit Messages :construction:  (Could be improved next time)


Create three_way_partitioning.cpp

Description
added three way partitioning
Fixes #(344)
Type of change
new file added
Checklist:

[1 ] My code follows the style guidelines(Clean Code) of this project
[ 1] I have performed a self-review of my own code
[ 1] I have commented my code, particularly in hard-to-understand areas
[ ] I have created a helpful and easy to understand README.md
[ ] I have made corresponding changes to the documentation
[ ] My changes generate no new warnings
[ ] I have added tests/screenshots(if any) that prove my fix is effective or that my feature works

@Drishty06 mention issue

issue #344 - three way partitioning

@Drishty06 add the main function


stream implementation of optional attendees

Implementing the optional attendees (including finding the biggest subsets) all in Java streams. Fails almost every test...

It looks like the current algorithm does not try to add the most optional attendees, it settles for accomodating a subset (but not necessarily the largest) of optional attendees.

The problem was because the current powerset doesn't include the empty set, when trying to append a stream of an empty String set to a stream of set of set of  string causes some compile errors.
Stream.concat(Stream.of(Sets.combinations(attendeeSet, cardinality)), Stream.of(Collections.<String>emptySet()))

incompatible types: inference variable R has incompatible bounds equality constraints: java.util.Set<java.lang.String> lower bounds: T,java.util.Set<java.util.Set>,T,java.util.Set<java.lang.String>,T


Adding properties to the body doesn't affect what is rendered (Is this expected?)

Which project does this relate to?
Router
Describe the bug

Your Example Website or App
NA
Steps to Reproduce the Bug or Issue
See screenshot
Expected behavior
The properties added to the body should be present in the dom
Screenshots or Videos
No response
Platform
macOS Chrome
Additional context
No response

I see it's expected
https://github.com/TanStack/router/blob/282f83a860281510713169dcdab81ea52dc83454/packages/start/src/client/Meta.tsx#L250-L253


BUG Hyperlink not function correctly

If I click on a hyperlink in a widget, instead of opening it in default system browser, Deskulpt will open the webpage inside the Canvas webview window, occluding both desktop and the widget with the webpage. I believe this is not an intended feature.

Have you tried adding target="_blank" rel="noreferrer"?


Add promote to production schedule job

Let's hold off on this until we get the /alpha /beta changes in.

No longer needed.


Link to examples, from sky's sdk README, is 404

From @sethladd on May 8, 2015 1:29
From https://github.com/domokit/mojo/tree/master/sky/sdk#examples
Click the link "examples directory"
Expected: a view of the examples directory
Actual: 404
Copied from original issue: domokit/mojo#153

From @sethladd on May 8, 2015 2:45
Hm. Go to https://github.com/domokit/mojo/tree/master/sky/sdk
Then, find "For examples, please see the examples directory."
Clicking on "examples directory" links me to https://github.com/domokit/mojo/blob/master/sky/sdk/examples which is a 404 for me.

From @MitchRudominer on May 8, 2015 1:37
I see the examples directory when I click on the link.
On Thu, May 7, 2015 at 6:29 PM, Seth Ladd<EMAIL_ADDRESS>wrote:

From https://github.com/domokit/mojo/tree/master/sky/sdk#examples
Click the link "examples directory"
Expected: a view of the examples directory
Actual: 404
—
Reply to this email directly or view it on GitHub
https://github.com/domokit/mojo/issues/153.

From @MitchRudominer on May 8, 2015 4:32
Sorry, you are right. I get a 404 too.
On Thu, May 7, 2015 at 7:45 PM, Seth Ladd<EMAIL_ADDRESS>wrote:

Hm. Go to https://github.com/domokit/mojo/tree/master/sky/sdk
Then, find "For examples, please see the examples directory."
Clicking on "examples directory" links me to
https://github.com/domokit/mojo/blob/master/sky/sdk/examples which is a
404 for me.
—
Reply to this email directly or view it on GitHub
https://github.com/domokit/mojo/issues/153#issuecomment-100079042.

These aren't 404s anymore.


Documentation

┆Issue is synchronized with this Asana task

** BLOCKER **
Documentation looks good - but this pull request is way more than just documentation. It is in fact #43 + Docs. So we have to wait for #43 to go in.

@woksin You'll need to update https://github.com/dolittle/Documentation/tree/master/Source/Hugo - if you haven't already. Plus set up a WebHook for the repository to update whenever it changes. We're going to change this and make it simpler - but for now, thats the process.
Merging this.


build: add script to publish release

Closes #13455

@jelbourn I've added the remaining changes I planned to add to this PR. Please have another look.


Authentication hangs with no error message for vision API example

The vision API example here appears to fail during authentication without reporting an error message. Note that GOOGLE_APPLICATION_CREDENTIALS does point to a JSON key (although I don't claim infallibility on this).
$ python doctext.py receipt.jpg -out_file out.jpg
^CTraceback (most recent call last):
  File "doctext.py", line 88, in <module>
    render_doc_text(args.detect_file, args.out_file)
  File "doctext.py", line 68, in render_doc_text
    bounds = get_document_bounds(filein, FeatureType.PAGE)
  File "doctext.py", line 40, in get_document_bounds
    document = image.detect_full_text()
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/image.py", line 195, in detect_full_text
    annotations = self.detect(features)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/image.py", line 143, in detect
    return self._detect_annotation(images)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/image.py", line 117, in _detect_annotation
    return self.client._vision_api.annotate(images)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/_gax.py", line 69, in annotate
    responses = annotator_client.batch_annotate_images(requests).responses
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/gapic/vision/v1/image_annotator_client.py", line 181, in batch_annotate_images
    return self._batch_annotate_images(request, options)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/api_callable.py", line 419, in inner
    return api_caller(api_call, this_settings, request)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/api_callable.py", line 407, in base_caller
    return api_call(*args)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/api_callable.py", line 368, in inner
    return a_func(*args, **kwargs)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/retry.py", line 120, in inner
    return to_call(*args)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/retry.py", line 68, in inner
    return a_func(*updated_args, **kwargs)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/grpc/_channel.py", line 506, in __call__
    credentials)
  File "/home/fenkb/google-vision/lib/python3.4/site-packages/grpc/_channel.py", line 500, in _blocking
    _handle_event(completion_queue.poll(), state,
  File "src/python/grpcio/grpc/_cython/_cygrpc/completion_queue.pyx.pxi", line 114, in grpc._cython.cygrpc.CompletionQueue.poll (src/python/grpcio/grpc/_cython/cygrpc.c:10475)
KeyboardInterrupt

Ubuntu
`python` is version `3.4.3`
`google-cloud` is version `0.23.0`
`google-cloud-vision` is version `0.23.3`

Hi @benjamin-fenker-tessella. Thanks for reporting.
We will look into this. Even if your authentication file is not correct, it should not hang. :-)

Well it did eventually time out with this error, which maybe helps more:
Traceback (most recent call last):
File "doctext.py", line 88, in
render_doc_text(args.detect_file, args.out_file)
File "doctext.py", line 68, in render_doc_text
bounds = get_document_bounds(filein, FeatureType.PAGE)
File "doctext.py", line 40, in get_document_bounds
document = image.detect_full_text()
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/image.py", line 195, in detect_full_text
annotations = self.detect(features)
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/image.py", line 143, in detect
return self._detect_annotation(images)
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/image.py", line 117, in _detect_annotation
return self.client._vision_api.annotate(images)
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/vision/_gax.py", line 69, in annotate
responses = annotator_client.batch_annotate_images(requests).responses
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/cloud/gapic/vision/v1/image_annotator_client.py", line 181, in batch_annotate_images
return self._batch_annotate_images(request, options)
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/api_callable.py", line 419, in inner
return api_caller(api_call, this_settings, request)
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/api_callable.py", line 407, in base_caller
return api_call(*args)
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/api_callable.py", line 368, in inner
return a_func(*args, **kwargs)
File "/home/fenkb/google-vision/lib/python3.4/site-packages/google/gax/retry.py", line 143, in inner
raise exc
google.gax.errors.RetryError: GaxError(Retry total timeout exceeded with exception, caused by <_Rendezvous of RPC that terminated with (StatusCode.DEADLINE_EXCEEDED, Deadline Exceeded)>)

It does, thank you.

Can you still give us the full pip freeze?

Sure!
appdirs==1.4.3
cachetools==2.0.0
Cython==0.25.2
decorator==4.0.11
dill==0.2.6
enum34==1.1.6
future==0.16.0
gapic-google-cloud-datastore-v1==0.15.3
gapic-google-cloud-error-reporting-v1beta1==0.15.3
gapic-google-cloud-logging-v2==0.91.3
gapic-google-cloud-pubsub-v1==0.15.3
gapic-google-cloud-spanner-admin-database-v1==0.15.3
gapic-google-cloud-spanner-admin-instance-v1==0.15.3
gapic-google-cloud-spanner-v1==0.15.3
gapic-google-cloud-speech-v1beta1==0.15.3
gapic-google-cloud-vision-v1==0.90.3
google-auth==0.10.0
google-auth-httplib2==0.0.2
google-cloud==0.23.0
google-cloud-bigquery==0.23.0
google-cloud-bigtable==0.23.1
google-cloud-core==0.23.1
google-cloud-datastore==0.23.0
google-cloud-dns==0.23.0
google-cloud-error-reporting==0.23.2
google-cloud-language==0.23.1
google-cloud-logging==0.23.1
google-cloud-monitoring==0.23.0
google-cloud-pubsub==0.23.0
google-cloud-resource-manager==0.23.0
google-cloud-runtimeconfig==0.23.0
google-cloud-spanner==0.23.1
google-cloud-speech==0.23.0
google-cloud-storage==0.23.1
google-cloud-translate==0.23.0
google-cloud-vision==0.23.3
google-gax==0.15.8
googleapis-common-protos==1.5.2
grpc-google-iam-v1==0.11.1
grpcio==1.2.1
httplib2==0.10.3
ipython==5.3.0
ipython-genutils==0.2.0
oauth2client==3.0.0
olefile==0.44
packaging==16.8
pexpect==4.2.1
pickleshare==0.7.4
Pillow==4.0.0
ply==3.8
prompt-toolkit==1.0.14
proto-google-cloud-datastore-v1==0.90.3
proto-google-cloud-error-reporting-v1beta1==0.15.3
proto-google-cloud-logging-v2==0.91.3
proto-google-cloud-pubsub-v1==0.15.3
proto-google-cloud-spanner-admin-database-v1==0.15.3
proto-google-cloud-spanner-admin-instance-v1==0.15.3
proto-google-cloud-spanner-v1==0.15.3
proto-google-cloud-speech-v1beta1==0.15.3
proto-google-cloud-vision-v1==0.90.3
protobuf==3.2.0
ptyprocess==0.5.1
pyasn1==0.2.3
pyasn1-modules==0.0.8
Pygments==2.2.0
pyparsing==2.2.0
rsa==3.4.2
simplegeneric==0.8.1
six==1.10.0
traitlets==4.3.2
wcwidth==0.1.7

Thanks!

This issue is unchanged after installing google-cloud-core==0.24.0 and google-cloud-vision==0.24.0.

@benjamin-fenker-tessella is this still occurring with grpcio 1.3.0?

The error is still not resolved..same error is encountered when i run the code!!

any update on this? Same problem.  It hangs with vision.Client()

@alexiskattan Which version of grpcio are you using? Are you using gunicorn?

grpcio==1.4.0

Note that there is now a completely different google-cloud-vision. Is anyone getting this error while using ImageAnnotatorClient?

Actually, closing this, since it seems unlikely the issue will persist into the new client. Feel free to reopen if I am wrong. :-)


Right click menu

Is your feature request related to a problem? Please describe.
So first, thank you for the fantastic work. For me, Pock is just one step away from fully replacing the dock: I need app's right click menu so that I can 1) force kill an app. 2) use some app specific feature like "open new incognito window in Chrome".
Describe the solution you'd like
A gesture to open the right click menu in the touch bar. Maybe a long pressing on an icon?

+1, this is the only thing missing so it can really replace the dock. This is a must have.

Absolute must have. Please make this a priority!

yes I agree.


GUI Set trust ratio responsive is not good

GUI Set trust ration responsive is not good
"Set trust ratio" button is on textinput
Screenshots
image

AND

Desktop:
OS: Window 10
Browser: Google chorme
Version 85.0.4183.83
Wallet address
0xc7db95F51C81C7A473b3E79cb5E0582FD8873a30

We support at the moment only desktop resolution.
it will be fixed when mobile support added.
Thanks for the report.

We support at the moment only desktop resolution.
it will be fixed when mobile support added.
Thanks for the report.


chore: update install_macos.sh so we use official channels

The cask elan-init can lag well behind the latest version of elan and doesn't benefit from any official support.

bors merge


How to use spanGaps: false or equivalent with time chart?

I have a service which registers  data every 30 minutes and it's displayed on a chart. How can I make a gap in it when there's no data? Currently I have a gap from 2:00 to 7:00 when my service was down and it's spanned:  https://i.imgur.com/eiUfHBP.png
What I would like to get is this: https://i.imgur.com/HIz6uTs.png but with a line instead of scatter.
Is it possible? spanGaps isn't really working since I don't have null data, it's just a gap in timestamps
One solution I can think of is to fill the missing timestamps with nulls on my api server before sending the data, but is it possible to do on front-end side?

It should still be possible to use spanGaps: false with a time axis as it's a property of a line chart. Do you have a fiddle with what you've tried so far?

https://jsfiddle.net/zkb215up/50/

@adamzimnyy I think it's because it's a 'line' chart rather than a 'scatter' type. You can hide the line by setting showLines: false in the config. See https://jsfiddle.net/fk01zrbq/

What I meant is that jsfiddle will show a line even when setting the type to scatter, but this is not related to the span gaps issue I think

Did you find an answer to this adamzimnyy? I've got the exact some issue and can't find the answer anywhere. Any help would help!

No, unfortunately I never did.

Please ask questions on StackOverflow: https://stackoverflow.com/questions/tagged/chart.js

Hello Guys any answers on this @adamzimnyy ? I also have the same situation.

https://jsfiddle.net/srq8hzw2/
spanGaps: false
showLines: true
and added NaN value in feronisData

I asked this StackOverflow question, but nobody answers... I am wondering if there is a native solution, rather than manually setting NaNs in the data. /cc @benmccann
https://stackoverflow.com/q/57470689/1420197

Hi,
It doesn't exist a native solution. You have to add 0 values in the data
before you set it in datasets. For now, is that you can do.
Regards,
G.Dimitrova
На чт, 15.08.2019 г. в 11:51 ч. Ionică Bizău (Johnny B.) <
<EMAIL_ADDRESS>написа:

I asked this StackOverflow question, but nobody answers... I am wondering
if there is a native solution, rather than manually setting NaNs in the
data. /cc @benmccann https://github.com/benmccann
https://stackoverflow.com/q/57470689/1420197
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/chartjs/Chart.js/issues/5222?email_source=notifications&email_token=AB6FJ3K7RRYOIPBLYIWJU7DQEUKJXA5CNFSM4EOVH762YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4LHQZY#issuecomment-521566311,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AB6FJ3ITLAR5GLAZGKRMLHDQEUKJXANCNFSM4EOVH76Q
.

I asked this StackOverflow question, but nobody answers... I am wondering if there is a native solution, rather than manually setting NaNs in the data. /cc @benmccann
https://stackoverflow.com/q/57470689/1420197

great, your question save my week!

your answered question - https://stackoverflow.com/questions/57470689/display-gaps-between-the-timestamps-having-no-data-in-chartjs-time-series

@benmccann
great,Thank you
https://stackoverflow.com/q/57470689/1420197


Dpcpp framework

Introduced native dpcpp framework.
Enabled black_scholes dpcpp implementation.
Allowed python to be base run for validation.

@mingjie-intel merging the PR after fixes to get the CI working once more.


Renderer options set via output cell magic do not persist in live mode

When setting a Renderer option (such as fig='svg') is set using the cell magic this persists only for the initial frame in live mode. This is because the options only get set on the Renderer temporarily and when the widget class requests another frame the cell has finished executing and all the options are reset. The Renderer should instead make a new instance of itself when creating widget, which the widget class should then use to render all the frames.

After reading it a couple of times, the problem and the cause of the problem makes sense to me. As for the solution, couldn't the renderer simply pass self (an instance) when creating the widget instead of making a new instance?

No, because self is the main instance on Store.renderers, which is reset to its original settings after the cell executes.


Fixes for renderers_and_plotly_chart.ipynb

Various small fixes needed to run this example out of the box.

This changes ScreenLogger's default date format to be win-compatible. From 2020-5-18 21:08:04  to 2020-05-18 21:08:04
If you need to keep the old format for linux folks, you can use this code:
class ScreenLogger(BaseRenderer):
    def __init__(self, date_format: str = None):
        if not date_format:
            from sys import platform
            date_format = '%Y-%m-%d %H:%M:%S %p' if platform == "win32" else '%Y-%m-%d %-I:%M:%S %p'
        self._date_format = date_format

Either they already are implemented or the underlying structure changed. Sorry for the delay, but I needed to find the time (and willpower) to look into that merge and transpose everything to the current codebase.
If I missed something, please let me know
(and thanks anyway!)


Text in code ticks does not show up as a link

Past Issues Searched

[X] I have searched open and closed issues to make sure that the bug has not yet been reported

Issue is a Bug Report

[X] This is a bug report and not a feature request, nor asking for support

Describe the bug
When embedding a link in code ticks, the link will show up as code, but not as a link.
Sample code:
[`mylink`](www.example.com)

Output:

If we add more text to the link, the text will display as a link, but the text in code ticks will not

Expected behavior
Text in code ticks should display with mono font, but still be colored as a link.
Screenshots
No response
Environment
- OS: MacOS
- Browser: Chrome
- Browser Version: 116

Text in code ticks should display with mono font, but still be colored as a link.

Agree 👍

Fixed by 623dadb

thank you so much!


[Bug Report] Failing to build e7cd350 with debug enabled due to variable ordering in command_queue_interface.hpp

Describe the bug
The latest commit, e7cd350de921a4aa3d5ee2b2a75ee34f9fb48f2a fails to build on my machine under RelWithDebugInfo due to a bug in command_queue_interface.hpp. The variable l1_alignment is used in an assert statement before deceleration. CI likely didn't catch it due to TT_ASSERT is not compiled in a release build.
https://github.com/tenstorrent/tt-metal/blob/e7cd350de921a4aa3d5ee2b2a75ee34f9fb48f2a/tt_metal/impl/dispatch/command_queue_interface.hpp#L179-L191
To be specific
// l1_alignment used there
TT_ASSERT(DISPATCH_MESSAGE_ENTRIES <= DISPATCH_MESSAGES_MAX_OFFSET / l1_alignment + 1, "Number of dispatch message entries exceeds max representable offset");

uint32_t pcie_alignment = tt::tt_metal::hal.get_alignment(tt::tt_metal::HalMemType::HOST);
uint32_t l1_alignment = tt::tt_metal::hal.get_alignment(tt::tt_metal::HalMemType::L1); // But declared here
uint8_t num_dev_cq_addrs = magic_enum::enum_count<CommandQueueDeviceAddrType>();

To Reproduce
Steps to reproduce the behavior:

Grab the latest source code
In the build directory run cmake .. -DCMAKE_BUILD_TYPE=RelWithDebugInfo
Build and see error

Expected behavior
Should build without problem under all build mode
Screenshots
If applicable, add screenshots to help explain your problem.
Please complete the following environment information:

Commit: e7cd350de921a4aa3d5ee2b2a75ee34f9fb48f2a

Additional context
Add any other context about the problem here.

Hey Marty, thanks for catching. My mistake, posting a fix soon.

Thanks for the super quick response!
BTW, for these really minor fixes, do you prefer me posting the issue only? Or make a quick PR to get it fixed?
I stopped posting PRs as I don't have write access, so merging is slow, painful and involves your people helping. But if it's easier (mentally, or something else) for you guys, I totally have no problem submitting PRs.

It’s sure helps a lot when a fix is ready. But it is also for sure not as practical as we’d like, because we can’t run CI for a branch from a fork..
Approach case by case. No guidance for now.
The team is aware that this constraint is critical to address or at least somehow ease the pain.

I've merged the fix to main 06c2663, and verified building with RelWithDebugInfo works locally for me now. Let us know if there are still any issues.


StandardScopeRegistry.clear() calls ScopeCloseable.close() methods in non-deterministic order

It would be better to call ScopeCloseable.close() in reverse of the initialization order.

What do you mean by the in reverse of the initialization order ?
We do not track init order in the DI container, neither of what we registered in the StandardScopeRegistry,
it might take a specific implementation for that.

"it might take a specific implementation for that" - OK, thanks.


Merge window confusing

This is old news, I know, as merge is fundamentally complicated. That said, when we instruct a user to do the typical "fetch," then "merge," we're still watching users struggle with which merge option to select ("from fetch" vs "local branches"). This might be documentation or a wizard; but we should continue thinking about this.

Think about this. In particular, see if you can document a "what do I do next? Fetch? Merge? I did that!" workflow that Caleb and Hailey seem to be experiencing.

Modify error string some more to use reset and not checkout; keep looking at interface, make less confusing.

"Merge remote-tracking branch head" is entirely git lingo – how can we make less confusing?

git words could link to description of term
include a more general description above, i.e. "Update files with remote repository"
compare to "pull", which users may be familiar with

Merge window now closes on success without problem (not entirely sure what was wrong before.
Made new merge window icons so they don't look all pixely


[Feature]: Ability for limit versions of Node to be installed

Description of the new feature / enhancement
I would like to config NVM for Windows installation to be able to install only upfront selected versions of Node.
Scenario when this would be used?
E.g. if in dev team there is a limitation of versios of Node to be installed.
Supporting information
No response

This is also a feature we are planning for a pro edition of Runtime. However; this will be part of a commercial add-on.


Drive push missing some files

I was suspicious that a push of a new directory tree was missing some files so here is a detailed test.
I deleted all files and emptied the trash of my Google drive and deleted all files from my local path and made a new tree with a single top level and some sub directories. When the first push was complete I made a remote listing and then pushed the same folders again and 3 more files were required. Examination of the logs and listing showed the 3 files were not included in the first push logs.
All the details here... http://pastebin.com/taC9qkxi
Drive 0.0.4b from the Ubuntu ppa on Linux Mint 17.1 64bit.

To be clear did you list them with a maximum depth of -1?

This is the list command I used...
drive list -no-prompt -m=4 Test11 > ~gdbom1.txt

Gotcha. Btw what files are missing, what do you expect?

The 3 files missing are shown in the log of the second push, they are present in the ls listing but missing from the first push log and also the first remote listing. All is correct after the second push.

Ah gotcha, sorry for that I hadn't noticed the bottom log. Thank you for the report, I'll try to reproduce this and fix it.

I have this same issue.  Here are steps to easily reproduce.

create a directory locally that does not exist in google drive.
put a bunch of files in it
start the push to google drive, but don't proceed with the changes
repeat step 3 several times.

Now you should be able to compare the output of pushing but not proceeding with the changes.  Here is my results below.  You can see that each push would have resulted in different numbers of files being sent to google drive.
[mlbaker@localhost drive]$ drive push pictures/
<REMOVED CONTENT>
Addition count 2590 src: 738.96MB
Proceed with the changes? [Y/n]: n
[mlbaker@localhost drive]$ drive push pictures/
<REMOVED CONTENT>
Addition count 2997 src: 764.87MB
Proceed with the changes? [Y/n]: n
[mlbaker@localhost drive]$ drive push pictures/
<REMOVED CONTENT>
Addition count 2706 src: 714.26MB
Proceed with the changes? [Y/n]: n
[mlbaker@localhost drive]$ drive push pictures/
<REMOVED CONTENT>
Addition count 2808 src: 773.51MB
Proceed with the changes? [Y/n]: n
[mlbaker@localhost drive]$

I have been using drive version 0.0.6 from the PPA to push groups of files a few directories at a time. After several successful groups several files were 'discovered' in an earlier directory. It seems there is still a circumstance for missing files. Commands were like this, Google drive is mounted in Gdata.
drive push -r -no-prompt -no-clobber /home/zzz/Gdata
Resolving...
+ /Pictures/2008-11-30--14.45.26/100_1839.JPG  **  Previously Missed files
+ /Pictures/2008-11-30--14.45.26/100_1838.JPG  **
+ /Pictures/2008-11-30--14.45.26/100_1846.JPG  **
+ /Pictures/2008-11-30--14.45.26/100_1856.JPG  **
+ /Pictures/2009-05-29--18.35.50
+ /Pictures/2009-05-29--18.35.50/100_1882.JPG

50 more files that are new

Couldn't reproduce this. Please try again and help me check if this persists.

I have been doing more testing and the problem persists, recursive pushing in batches of about 50 files will miss some about 1 in 3 pushes - drive version 0.0.7 latest from the PPA. The local file tree and the remote drive are reserved only for testing and not accessed by any other software.
Checking the missed file properties reveals no special attributes, it has included some of sequentially numbered images for example.
It is not unusual for obscure system differences to produce unrepeatable bugs. Is it worth a debug command with options to highlight different sections of code which prints lots of details. The user captures this into a file, reviews for privacy, then emails it (possibly compressed) off to an email address you create for the purpose, then post an alert on the issue board.
PS: With the rapid progress the 'drive help command' text has lost the link to the 'drive command -h' detailed syntax list.

README, or drive command -h?

The help text from the drive program for example the 'drive help push' displayed text maks no reference to the availability of 'drive push -h' detailed syntax options.
eg....
zzz@Cooli7 ~ $ drive help push
Name
push - push local changes to Google Drive
Description
Uploads content to your Google Drive from your local path
Push comes in a couple of flavors
* Ordinary push: drive push path1 path2 path3
* Mounted push: drive push -m path1 [path2 path3] drive_context_path
Note: You can skip checksum verification by using -ignore-checksum
zzz@Cooli7 ~ $ drive push -h
Usage of drive push:
-convert=false: toggles conversion of the file to its appropriate Google Doc format
-force=false: forces a push even if no changes present
-hidden=false: allows pushing of hidden paths
-ignore-checksum=false: avoids computation of checksums as a final checkin case for example you are low on bandwidth

Feel free to submit a PR for the help if you'd like. In regards to some files missing, probably some hidden bug somewhere but otherwise I cannot reproduce this :(

Considering the diversity of Linux system configurations unreproducible bugs will not be unusual which is why i suggested a systematic approach for detailed reporting.
In my case it wanted drive for remote backup and it is hard to trust this when it silently misses files.
Consider also what could happen if the missing file was a directory ?

Oh btw did you take a look at issue #50 or PR #51 ? The issue was a reproducible case for missing files that were nested in dirs non-existant on remote and hence they got skipped. Too bad for your frustrations, the tool is still maturing (28th day of transfer) so hopefully these issues will get nailed out. For sure, I am all ears for proposals for systematic approaches for detailed reporting.

I have seen the error ' remote path doesn't exist' many tests ago, but for new tests I delete everything on  the remote drive and the drive software is responsible for creating all remote directories and files, this attempts to limit the complexity from different versions and historical corruption of data.

0.1.0 still has this problem:
Initial push:
drive push S3 MemCard
...
Addition count 2725 src: 7.00GB
I get 8 errors during the push:
Error 401: Invalid Credentials, authError
Second push to verify transfer:
Addition count 51 src: 186.94MB
After this second push the directory tree is completely synced

@tomtor  could it be because the push took a long time? an authError is at times caused when it takes long to complete a push, I think your error is more related to #53.

@odeke-em I get 8 authErrors, but miss 51 files?

With a preceding error, so far no retry mechanism is present. I'll be adding a retry mechanism and exponential back off soon to handle such.

Ping!

I am not running drive routinely at present, I will need to update some scripts over the next few days to resume operation.
This was posted to #160 without clear resolution

After the drive pull command completed I immediately executed another drive pull command, just to check if drive would find any missing files that weren't downloaded the first time.
I would expect that drive would download nothing, because everything should be downloaded on the first drive pull command.
Unfortunately the second execution of the drive pull command found a lot of files to add and even files to modify ...and also files to delete. The files that were listed to be deleted are also listed to be added.
.........

Regards CB

Please test it again when you get a chance and then we can close this if it is solved.
Thank you.

I have setup drive to run daily in a script file, this is a summary of events...
System - Linux Mint 17.1 64 bit, drive 0.2.5 from the PPA
I cleared Gdrive before starting, there was no other activity in Gdrive except for the drive pushes.
There was no activity in my host folders except the deliberate additions of data to push.
I pushed using this command
drive push -r -no-prompt -no-clobber /home/zzz/Gdata
I do this drive list command before and after each push.
drive list -r -version --sort name
The first push of about 120 small test files in 3 folders went normally.
The next push accurately reported 'Everything is up-to-date'
I added a folder of 61 jpg images.
This seemed to push normally but this progress display log was not helpful to identify which files are moving.
131584 / 44251459  0.30 % 19m0s
164352 / 44251459  0.37 % 16m6s
262656 / 44251459  0.59 % 10m36s
328192 / 44251459  0.74 % 9m49s
393728 / 44251459  0.89 % 9m17s
426496 / 44251459  0.96 % 9m35s
....
However every day this is now reported.
Resolving...
clashes detected. use ignore-name-clashes to override this behavior
I logged into Gdrive with a web browser and  the activity log only has entries for when files were actually pushed. The clash seems to be duplication of the image folder 2008-10-24--17.19.02 containing 5 images in one and the remainder in another copy.
I tried this in a terminal window
zzz@Cooli7 ~/Gdata $ drive push -r -no-prompt -no-clobber -ignore-name-clashes /home/zzz/Gdata
Resolving...
4265595 / 4265595 [===============================================] 100.00 % 52s
When I went back to Gdrive in the browser all 61 images were listed as created at the the time of the terminal command. The 61 images take 44Mb and the time taken to push is inconsistent with uploading this quantity. Just the files 00001.jpg to 00005.jpg were added.
Listing of image files as first pushed... Note duplication of 2008-10-24 folder.
 Note the addition of files 00001.jpg to 00005.jpg.
/Pictures  v43203
/test1  v42583
/Pictures/2008-10-24--17.19.02  v43202
/Pictures/2008-10-24--17.19.02  v43200
/Pictures/2008-10-24--17.19.02/00001.jpg  v43178
/Pictures/2008-10-24--17.19.02/00002.jpg  v43181
/Pictures/2008-10-24--17.19.02/00003.jpg  v43184
/Pictures/2008-10-24--17.19.02/00004.jpg  v43187
/Pictures/2008-10-24--17.19.02/00005.jpg  v43190
/Pictures/2008-10-24--17.19.02/00006.jpg  v42990
/Pictures/2008-10-24--17.19.02/00007.jpg  v42993
/Pictures/2008-10-24--17.19.02/00008.jpg  v42996
/Pictures/2008-10-24--17.19.02/00009.jpg  v42999
/Pictures/2008-10-24--17.19.02/00010.jpg  v43002
/Pictures/2008-10-24--17.19.02/00011.jpg  v43005
/Pictures/2008-10-24--17.19.02/00012.jpg  v43008
/Pictures/2008-10-24--17.19.02/00013.jpg  v43011
/Pictures/2008-10-24--17.19.02/00014.jpg  v43014
/Pictures/2008-10-24--17.19.02/00015.jpg  v43017
/Pictures/2008-10-24--17.19.02/00016.jpg  v43020
/Pictures/2008-10-24--17.19.02/00017.jpg  v43023
/Pictures/2008-10-24--17.19.02/00018.jpg  v43026
/Pictures/2008-10-24--17.19.02/00019.jpg  v43029
/Pictures/2008-10-24--17.19.02/00020.jpg  v43032
/Pictures/2008-10-24--17.19.02/00021.jpg  v43035
/Pictures/2008-10-24--17.19.02/00022.jpg  v43038
/Pictures/2008-10-24--17.19.02/00023.jpg  v43041
/Pictures/2008-10-24--17.19.02/00024.jpg  v43044
/Pictures/2008-10-24--17.19.02/00025.jpg  v43047
/Pictures/2008-10-24--17.19.02/00026.jpg  v43050
/Pictures/2008-10-24--17.19.02/00027.jpg  v43053
/Pictures/2008-10-24--17.19.02/00028.jpg  v43056
/Pictures/2008-10-24--17.19.02/00029.jpg  v43059
/Pictures/2008-10-24--17.19.02/00030.jpg  v43062
/Pictures/2008-10-24--17.19.02/00031.jpg  v43065
/Pictures/2008-10-24--17.19.02/00032.jpg  v43068
/Pictures/2008-10-24--17.19.02/00033.jpg  v43071
/Pictures/2008-10-24--17.19.02/00034.jpg  v43074
/Pictures/2008-10-24--17.19.02/00035.jpg  v43077
/Pictures/2008-10-24--17.19.02/00036.jpg  v43080
/Pictures/2008-10-24--17.19.02/00037.jpg  v43083
/Pictures/2008-10-24--17.19.02/00038.jpg  v43086
/Pictures/2008-10-24--17.19.02/00039.jpg  v43089
/Pictures/2008-10-24--17.19.02/00040.jpg  v43092
/Pictures/2008-10-24--17.19.02/00041.jpg  v43095
/Pictures/2008-10-24--17.19.02/00042.jpg  v43098
/Pictures/2008-10-24--17.19.02/00043.jpg  v43101
/Pictures/2008-10-24--17.19.02/00044.jpg  v43104
/Pictures/2008-10-24--17.19.02/00045.jpg  v43107
/Pictures/2008-10-24--17.19.02/00046.jpg  v43110
/Pictures/2008-10-24--17.19.02/00047.jpg  v43113
/Pictures/2008-10-24--17.19.02/00048.jpg  v43116
/Pictures/2008-10-24--17.19.02/00049.jpg  v43119
/Pictures/2008-10-24--17.19.02/00050.jpg  v43122
/Pictures/2008-10-24--17.19.02/00051.jpg  v43125
/Pictures/2008-10-24--17.19.02/00052.jpg  v43128
/Pictures/2008-10-24--17.19.02/clock.jpg  v43155
/Pictures/2008-10-24--17.19.02/CoolD Culvert.jpg  v43131
/Pictures/2008-10-24--17.19.02/CoolD Spillway.jpg  v43134
/Pictures/2008-10-24--17.19.02/CoolDam1.jpg  v43137
/Pictures/2008-10-24--17.19.02/CoolDam2.jpg  v43140
/Pictures/2008-10-24--17.19.02/Rock Culvert.jpg  v43143
/Pictures/2008-10-24--17.19.02/Rock Culvert2.jpg  v43146
/Pictures/2008-10-24--17.19.02/Rock Pool.jpg  v43149
/Pictures/2008-10-24--17.19.02/T41_psu.jpg  v43152
/Pictures/2008-10-24--17.19.02/00001.jpg  v42973
/Pictures/2008-10-24--17.19.02/00002.jpg  v42976
/Pictures/2008-10-24--17.19.02/00003.jpg  v42979
/Pictures/2008-10-24--17.19.02/00004.jpg  v42982
/Pictures/2008-10-24--17.19.02/00005.jpg  v42985
regards CB

Thank you for this experiment and for the results.
So the original issue isn't producible? The duplication is an issue that is still open and is still under investigation.

Closing this issue. Please get the latest from master, re-open if persists.


Fix signing binary

What type of PR is this?
/kind failing-test
What this PR does / why we need it:
It looks like that we can pass -y to omit the prompt in the CI script.
Which issue(s) this PR fixes:
See https://github.com/containers/conmon-rs/actions/runs/4342656226/jobs/7583748919
Special notes for your reviewer:
None
Does this PR introduce a user-facing change?

None

/lgtm


Add display of number of selected results to Select Template output

As suggested in this thread:
http://osgeo-org.1560.x6.nabble.com/Geomoose-users-Number-of-identify-results-td5215718.html

Not sure where this reply will land (Tanya?  The ticket?).
On Wed, Jul 15, 2015 at 2:47 PM, TC Haddad<EMAIL_ADDRESS>wrote:

As suggested in this thread:
http://osgeo-org.1560.x6.nabble.com/Geomoose-users-Number-of-identify-results-td5215718.html

I try to link to the OSGeo list since it is a stable url (and doesn't have
ads).
https://lists.osgeo.org/pipermail/geomoose-users/2015-July/005705.html
Eli

—
Reply to this email directly or view it on GitHub
https://github.com/geomoose/geomoose/issues/93.

Both!
On Wed, Jul 15, 2015 at 2:51 PM, Eli L Adam<EMAIL_ADDRESS>wrote:

Not sure where this reply will land (Tanya? The ticket?).
On Wed, Jul 15, 2015 at 2:47 PM, TC Haddad<EMAIL_ADDRESS>wrote:

As suggested in this thread:

http://osgeo-org.1560.x6.nabble.com/Geomoose-users-Number-of-identify-results-td5215718.html

I try to link to the OSGeo list since it is a stable url (and doesn't have
ads).
https://lists.osgeo.org/pipermail/geomoose-users/2015-July/005705.html
Eli

—
Reply to this email directly or view it on GitHub
https://github.com/geomoose/geomoose/issues/93.

—
Reply to this email directly or view it on GitHub
https://github.com/geomoose/geomoose/issues/93#issuecomment-121760698.

Yay!
Not sure I'll sneak this into 2.8.  Once testing is wrapped, then I really
want to drop a release.
On Wed, Jul 15, 2015 at 5:06 PM, TC Haddad<EMAIL_ADDRESS>wrote:

Both!
On Wed, Jul 15, 2015 at 2:51 PM, Eli L Adam<EMAIL_ADDRESS>wrote:

Not sure where this reply will land (Tanya? The ticket?).
On Wed, Jul 15, 2015 at 2:47 PM, TC Haddad<EMAIL_ADDRESS>wrote:

As suggested in this thread:

http://osgeo-org.1560.x6.nabble.com/Geomoose-users-Number-of-identify-results-td5215718.html

I try to link to the OSGeo list since it is a stable url (and doesn't
have
ads).
https://lists.osgeo.org/pipermail/geomoose-users/2015-July/005705.html
Eli

—
Reply to this email directly or view it on GitHub
https://github.com/geomoose/geomoose/issues/93.

—
Reply to this email directly or view it on GitHub
https://github.com/geomoose/geomoose/issues/93#issuecomment-121760698.

—
Reply to this email directly or view it on GitHub
https://github.com/geomoose/geomoose/issues/93#issuecomment-121763875.

Yes, I deliberately left off milestone - your choice on that one...

This actually works in 2.9 development.

Yes - working for me in 97b9ce2


Feature Request (extractor): make it optional to generate authorizationServers template

Scenario
There are two issues in the authorizationServers template

clientID should be a parameter as it is different in different environments
"clientId": "xxxxxxx-5adf-4ba2-991f-c1c2115ec701"
the template doesn't contain clientSecret so it doesn't create the authorizationServer as expected. You still have to manually set it up after deployment

Proposal
make it optional to generate authorizationServers template. of course the master template should be changed accordingly.
Describe alternatives you've considered
No response
Additional context
No response
Contact Details
No response

This is by design.  As previously stated, you are likely to have better luck with APIOps in the Azure Architecture Center and located at https://github.com/azure/apiops


cannot install packages from gemfury private repos

I've checked other issues with a similar problem but I couldn't see any fixes for that, so sorry if this is already fixed or not. I am basically trying to install some private packages using gemfury private URL as extra index URL. Right now I am getting the following error
$ ❯ uv pip install my-private-lib --extra-index-url=$PIP_EXTRA_INDEX_URL -v
 uv::requirements::from_source source=my-private-lib
    0.010306s DEBUG uv_interpreter::virtual_env Found a virtualenv named .venv at: /home/ellison/code/test-uv/.venv
    0.010472s DEBUG uv_interpreter::interpreter Cached interpreter info for Python 3.11.7, skipping probing: /home/ellison/code/test-uv/.venv/bin/python
    0.010498s DEBUG uv::commands::pip_install Using Python 3.11.7 environment at /home/ellison/code/test-uv/.venv/bin/python
    0.011815s DEBUG uv_client::registry_client Using registry request timeout of 300s
 uv_client::flat_index::from_entries
 uv_resolver::resolver::solve
      0.014597s   0ms DEBUG uv_resolver::resolver Solving with target Python version 3.11.7
   uv_resolver::resolver::choose_version package=root
   uv_resolver::resolver::get_dependencies package=root, version=0a0.dev0
        0.014692s   0ms DEBUG uv_resolver::resolver Adding direct dependency: my-private-lib*
   uv_resolver::resolver::choose_version package=my-private-lib
     uv_resolver::resolver::package_wait package_name=my-private-lib
 uv_resolver::resolver::process_request request=Versions my-private-lib
   uv_client::registry_client::simple_api package=my-private-lib
     uv_client::cached_client::get_cacheable
       uv_client::cached_client::read_and_parse_cache file=/home/ellison/.cache/uv/simple-v3/pypi/my-private-lib.rkyv
 uv_resolver::resolver::process_request request=Prefetch my-private-lib *
 uv_client::cached_client::from_path_sync path="/home/ellison/.cache/uv/simple-v3/pypi/my-private-lib.rkyv"
          0.015655s   0ms DEBUG uv_client::cached_client No cache entry for: https://pypi.org/simple/my-private-lib/
       uv_client::cached_client::fresh_request url="https://pypi.org/simple/my-private-lib/"
     uv_client::cached_client::get_cacheable
       uv_client::cached_client::read_and_parse_cache file=/home/ellison/.cache/uv/simple-v3/d736d56cadfe88a9/my-private-lib.rkyv
 uv_client::cached_client::from_path_sync path="/home/ellison/.cache/uv/simple-v3/d736d56cadfe88a9/my-private-lib.rkyv"
          0.182326s   0ms DEBUG uv_client::cached_client No cache entry for: https://repo.fury.io/loadsmart/my-private-lib/
       uv_client::cached_client::fresh_request url="https://repo.fury.io/loadsmart/my-private-lib/"
      0.646272s 631ms DEBUG uv_resolver::resolver No compatible version found for: my-private-lib
  × No solution found when resolving dependencies:
  ╰─▶ Because my-private-lib was not found in the package registry and you require celery-sqs, we can conclude that the requirements are unsatisfiable.

Also tried to setting UV_EXTRA_INDEX_URL and running the command, but I get the same error. What am I missing?

Does my-private-lib exist on PyPI? I.e., is there a package with the same name on PyPI (regardless of whether it's "the same" package or an overlapping version)?

Does my-private-lib exist on PyPI? I.e., is there a package with the same name on PyPI (regardless of whether it's "the same" package or an overlapping version)?

No it does not, only on gemfury

Okay, I just set one of these up myself...
I assume you're passing something like --index-url<EMAIL_ADDRESS>Can you instead try --index-url<EMAIL_ADDRESS>Note that I changed repo.fury.io to pypi.fury.io.

It looks like Gemfury relies on the User Agent to know which "kind" of repo to serve, but uv doesn't say "pip" in its User Agent (it says uv).

@charliermarsh was able to install it using --extra-index-url with pypi.fury.io as hostname. Thank you so much!

Awesome, that's great to confirm!


Take remaining bytes.

Right now I'm doing this:
named!(verbatim(&'a [u8]) -> &'a str, map_res!(
	alt!(take_until_either!("|^*$#") | rest),
	str::from_utf8));

fn rest(i: &[u8]) -> IResult<&[u8], &[u8]> {
	IResult::Done(&i[i.len()..], i)
}

I need to take until one of those characters happens, or read up to the end and finish parsing. Is there a better way to do it currently?

No, that's exactly how you would do it. I could add rest to nom, though.

That would be cool!

Thanks for your PR :)


Add support for plumbing gRIBI server options through lemming.

 * (M) lemming.go
 * (M) gribi/gribi.go
  - for some behaviours, there is a need to change the underlying RIB functionality
    in the gRIBI server as a lemming is created. this change plumbs some options
    through to allow lemmings to be created using this method.


Docker : persisting parsed data

Using the ready-made Docker image, I'm failing to enable parsed data persistence.
command: /srv/logs/access.log --real-time-html -o /srv/report/report.html --keep-db-files --load-from-disk --db-path /srv/data/all/
error message: /bin/goaccess: unrecognized option: keep-db-files
Or in full docker-compose, demonstrating shared volumes:
version: "3"
services:
  goaccess_all:
    image: allinurl/goaccess:latest
    command: /srv/logs/access.log --real-time-html -o /srv/report/report.html --keep-db-files --load-from-disk --db-path /srv/data/all/
    volumes:
      - './data:/srv/data'          #Path to Geoip databases
      - '../NGinx/log:/srv/logs:ro' #Path where NGinx stores logfiles
      - './html:/srv/report'        #Path to output report
      - './conf:/etc/goaccess'      #Path to config
    restart: always

Is this supported, or am I overlooking something in the docs?

Note:
I'm trying to this because the reports contain a limited number of days. The logs I'm parsing however contain multiple months of data. It appears that goaccess does not parse all data in the log files.

v1.4 updated the way it persists data. Since Docker builds from upstream, the recently pushed changes got rid of  --keep-db-files --load-from-disk. Please try instead --persist and --restore. In addition, it adds --keep-last=<num_of_days> and addresses #334.
I'm still working on updating the docs for the upcoming release, which is around the corner.
Let me know how it goes. Thanks

Wow, that's a fast response.
How can I specify where to store the permanent data?

Still --db-path or /tmp by default.
What do you mean with look further back in the logs? You should be able to feed goaccess as much data as you need, though, it displays top data (different than time series).

with /srv/logs/access.log --real-time-html -o /srv/report/report.html --persist --restore --db-path /srv/data/all/, I get: /bin/goaccess: unrecognized option: persist
when I execute goaccess --version I see this is 1.3, when I do docker-compose pull, I do not get a new image.
Regarding the period of data being shown:

Looks like 1.3 does not contain the option to persist, I guess I may need to build the latest from source.

My bad, I didn't trigger a build in Docker thus still was showing v1.3. Please try to build again.
You can use --max-items=<num_entries_to_show> by default is set to 365 to a static report. A fixed <= 50 for a real time report.

Again: fast to release the new docker image!
It appears to work too (at least I see database files appear and it doesn't crash).
I still don't get it to look back (or report back) a longer period though.
I also see the 1.4 generated report does not show the displayed period:

Is there a changelog between 1.3 and 1.4, so I know where to look at? Maybe I need to update  my goaccess.conf file too.

I still don't get it to look back (or report back) a longer period though.

Are you outputting a real-time report?

I also see the 1.4 generated report does not show the displayed period:

Are you able to reproduce this from source (without docker) and could you please post the config file you are using?

Is there a changelog between 1.3 and 1.4, so I know where to look at? Maybe I need to update. my goaccess.conf file too.

I'm still working on the changelog and docs for next week release.

Yes, when I make it non-real time, I get a bit more. Would it be possible to display all, or a configurable period?
I'm not sure what real-time means though, if this is false, does the Docker containers still parse the log files from time to time?

Are you able to reproduce this from source (without docker) and could you please post the config file you are using?

Yes, I think with docker-compose using build: . after doing a git clone from master, I have the same result. At first I thought it my be a miniature font, but they are actually hyphens.

docker-compose (see build: .)
version: "3"
services:
  goaccess_all:
    build: .
    command: /srv/logs/access.log -o /srv/report/report_built_from_source.html
    volumes:
      - '../goaccess/data:/srv/data'          #Path to Geoip databases
      - '../NGinx/log:/srv/logs:ro'           #Path where NGinx stores logfiles
      - '../goaccess/html:/srv/report'        #Path to output report
      - '../goaccess/conf:/etc/goaccess'      #Path to config
    restart: always

my config (without comments and listing of static files). I just removed real-time=true.
time-format %H:%M:%S
date-format %d/%b/%Y
log-format VCOMBINED
config-dialog false
hl-header true
json-pretty-print false
no-color false
no-column-names false
no-csv-summary false
no-progress false
no-tab-scroll false
with-mouse false
agent-list true
with-output-resolver true
exclude-ip <IP_ADDRESS>
exclude-ip <IP_ADDRESS>-<IP_ADDRESS>
http-method yes
http-protocol yes
no-query-string false
no-term-resolver false
444-as-404 false
4xx-to-unique-count false
all-static-files true
date-spec hr
double-decode false
ignore-crawlers false
crawlers-only false
real-os true
geoip-database /srv/data/GeoLite2-City.mmdb

Regarding the changelog and docs, cool, how to you gather the changes?

I updated the README.md.
Here's how I got it to run in real-time:
cat access.log | docker run -p 7890:7890 --rm -i -e LANG=$LANG allinurl/goaccess -a -o html --log-format COMBINED --real-time-html - > report.html

Regarding the changelog and docs, cool, how to you gather the changes?

I do have a script that goes over the commit messages based on certain patterns. Though, it requires some manual updates.
Let me know how it goes.

Closing this. Please try the latest version as there have been multiple changes that may address this. Feel free to reopen it if needed.


Error Handling

Regarding the PostCSS build error, it is not related to your changes, therefore I will resolve it myself in the main branch, and you will merge those changes into your branch.

kindly check now, i have tried to resolve all the issues


More first-class non-ASCII support

Such as

matching properties \p{WSpace} and
non-ASCII ranges [\u100-\u200].

Converting arbitrary ranges of Unicode codepoints to the appropriate utf8 bytewise matcher can be done through utf8-ranges and properties into codepoint ranges by ucd-generate. Both tools are used by the regex crate for their support of said regex features.
I'm experimenting with some different things around parser and lexer generation currently, and I'd love to use Logos as my lexer backend (at least in compiled mode), but support of Unicode property sets limits me to other solutions (abusing RegexSet) for the time being.

utf8-ranges looks really cool! I've been thinking about checking if a range is non-ASCII and then reading a full char from source, but that would have some side effects on performance (non-uniform bumping of the index). I'll definitely give this a go!

This has been way easier to implement than I initially thought, and having that Cyrillic test pass makes me very happy. Thanks again @CAD97 for the suggestion and @BurntSushi for the excellent crate!
Matching properties should be pretty straight forward now!

Turns our properties are so straight forward, they are already working since regex_syntax handles them for me :nerd_face:.


Update overview.mdx

Description
Replace this paragraph with a description of what this PR is doing. If you're modifying existing behavior, describe the existing behavior, how this PR is changing it, and what motivated the change.
Related Issues
Replace this paragraph with a list of issues related to this PR from the issue database. Indicate, which of these issues are resolved or fixed by this PR. Note that you'll have to prefix the issue numbers with flutter/flutter#.
Checklist
Before you create this PR confirm that it meets all requirements listed below by checking the relevant checkboxes ([x]).
This will ensure a smooth and quick review process. Updating the pubspec.yaml and changelogs is not required.

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[ ] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See Contributor Guide).
[ ] All existing and new tests are passing.
[ ] I updated/added relevant documentation (doc comments with ///).
[ ] The analyzer (melos run analyze) does not report any problems on my PR.
[ ] I read and followed the Flutter Style Guide.
[ ] I signed the CLA.
[ ] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[ ] Yes, this is a breaking change.
[x] No, this is not a breaking change.

Hey @mafreud, do you mind signing the CLA and we can get this merged in, please?

Thank you for the contribution! 👍  We've decided to put a halt to doc changes at the moment as they're being significantly altered.

Closing this out now as the docs have significantly changed, if you do find any other discrepancies, please feel free to open a new PR. Thanks!


recomendations of objects and code stay after moving line.

Lapce Version
v0.3.1
System information
Windows 11 Home 23H2
Describe the bug
The recomendations stay after moving curser to another line and the Box Scrolls with the File.
Additional information

Also when scrolling it moves infront of the Terminal

It does work if you move to another line and type or delte something there.

should be fixed in 0.4.0 https://github.com/lapce/lapce/releases/tag/v0.4.0

Just updated. I at least did not encounter it anymore. Thanks.


feat(nymisc): Add scraper for nyfam, nycity, nycounty, nysupreme, nycciv, nyccrim, nysurrogate, nydistrict, nyjustice, nyctclaims

Implements #827: Almost all the logic is inside the nymisc.py file. The inheriting classes just define a regex that we probably must refine when testing against the backscrapers.
This PR is also modifying OpinionSiteLinear, OpinionSite and AbstractSite in a few places to add support for returning the child_court field, as discussed in #847
This PR will need to be reviewed and tested with other changes in courtlistener and reporters-db, but I think it is ready for a first review as it is

Testing failures due to a bug in coloctapp

Off the bat - I think we have the wrong IDs for the parent courts.  This is my fault, but we should check against what is in the CL db and/or what is it courts_db.

@grossir thanks for a great effort here.
My only real pushback is that it feels like you dotted your i's and crossed your t's more than you needed to.  I understand the impulse to use LXML for the HTMLs and regex for the PDFs, but I think we can simplify the code a lot by just using regex.
I think this reduces the complexity and will make it a little easier for us in the long run.  I didnt test it fully with Doctor extracted text, so I look forward to your thoughts.

two last things

this PDF - is corrupted and returns this. https://nycourts.gov/reporter/pdfs/2013/2013_33259.pdf {'Docket': {'docket_number': '(cid:25)(cid:24)(cid:19)(cid:20)(cid:22)(cid:24)(cid:18)(cid:19)(cid:28)'}, 'Opinion': {'author_str': 'Barbara Jaffe'}}
It seems like there are lots of duplicates in the tables.

in the first group of back scraped opinions I get these duplicates.  It seems like opinions are posted multiple times.
https://nycourts.gov/reporter/3dseries/2003/2003_23913.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23913.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23908.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23908.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23889.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23889.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23890.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23890.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23888.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23888.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23883.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23883.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23911.htm
https://nycourts.gov/reporter/3dseries/2003/2003_23911.htm

in the first group of back scraped opinions I get these duplicates. It seems like opinions are posted multiple times.

Duplication is controlled on courtlistener. I see that cl_back_scrape_opinions.py controls for duplicates. It inherits from cl_scrape_opinions.Command and does the individual record hash check (L:268-297)
The Dup Checker tolerates 5 consecutive duplicates (threshold init argument). Currently there is no way to modify that when calling the command
If that's not enough, we can just control duplication in juriscraper. We can keep a set() with the seen URLs, and skip URLs already seen


on failed add of currency to account, transfer fails, but small amounts of virtual money added

reproducable with following config:
currency:
  name:
    singular: Emerald
    plural: Emeralds
  digits: 3
  denominations:
    351;4: 0.05
    397: 100
    397;4: 10
transactiontax:
  flat: 0.0
  rate: 0.0
usevault:
  container: true
  enderchest: false

and the command
/moneyadmin add 1000000

seems to be fixed in 2.9 or somewhere along the way


How does go deal with CPU cache?

What version of Go are you using (go version)?

➜  gauss git:(master) go version
go version go1.12.1 darwin/amd64

Does this issue reproduce with the latest release?
My Question is from here
What operating system and processor architecture are you using (go env)?
go env Output
➜  gauss git:(master) go env
GOARCH="amd64"
GOBIN="/Users/g10guang/go/bin"
GOCACHE="/Users/g10guang/Library/Caches/go-build"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOOS="darwin"
GOPATH="/Users/g10guang/go"
GOPROXY="https://go-mod-proxy.byted.org"
GORACE=""
GOROOT="/usr/local/go"
GOTMPDIR=""
GOTOOLDIR="/usr/local/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/g10guang/go/src/code.byted.org/rpc/gauss/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/nr/lxtqsz6x1x1gfbyp1p0jy4p00000gn/T/go-build554794250=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?

I just scan the 2-dimension array.
What did you expect to see?
Always scan from row to column is faster.
What did you see instead?
Sometimes scan rows is faster, sometimes it's not.
But Cpp scan row always faster.

Questions like this are better suited for other places. Please see https://github.com/golang/go/wiki/Questions.


IRC not found

Hello,
GitHub cant find the irc url added in the community section.
I would love to fix this.
Cheers,

Just link to https://webchat.freenode.net/?channels=bash instead ;)

@sindresorhus I will use that. Thank you.


Invoke-WebRequest: specifying Content-Length gives duplicate values and raises false error regarding -ContentType

Steps to reproduce
1. Not specifying Content-Length
This gives us expected success:
Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Body ':)'

gives
PS C:\> ncat -lp 8080
PUT /put HTTP/1.1
Host: <IP_ADDRESS>:8080
User-Agent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.18363; en-SE) PowerShell/7.0.0
Content-Length: 2

:)

2. Specifying Content-Length
Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Headers @{"Content-Length" = 2} -Body ':('

gives

Invoke-WebRequest: The cmdlet cannot run because the -ContentType parameter is not a valid Content-Type header. Specify a valid Content-Type for -ContentType, then retry. To suppress header validation, supply the -SkipHeaderValidation parameter.

3. Adding -ContentType to address the supposed error
Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Headers @{"Content-Length" = 2} -Body ':(' -ContentType "text/plain"

gives us the same

Invoke-WebRequest: The cmdlet cannot run because the -ContentType parameter is not a valid Content-Type header. Specify a valid Content-Type for -ContentType, then retry. To suppress header validation, supply the -SkipHeaderValidation parameter.

4. Skipping header validation to see what happens:
Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Headers @{"Content-Length" = 2} -Body ':(' -SkipHeaderValidation

reveals that the Content-Length header is not overridden, but rather added to as if it was a list:
PS C:\> ncat -lp 8080
PUT /put HTTP/1.1
Host: <IP_ADDRESS>:8080
User-Agent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.18363; en-SE) PowerShell/7.0.0
Content-Length: 2, 2
:(

Expected behavior
Testing with PowerShell 5 for reference of expected behaviour
1. Content-Length is correct
Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Headers @{"Content-Length" = "2"} -ContentType "application/json" -Body ":("

gives
PS C:\> ncat -lp 8080
PUT /put HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.18362.752
Content-Type: application/json
Host: <IP_ADDRESS>:8080
Content-Length: 2
Connection: Keep-Alive

:(

2. Content-Length too high
Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Headers @{"Content-Length" = "5"} -ContentType "application/json" -Body ":("

raises
Invoke-WebRequest : You must write ContentLength bytes to the request stream before calling [Begin]GetResponse.
At line:1 char:1
+ Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Heade ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], ProtocolViolationException
    + FullyQualifiedErrorId : System.Net.ProtocolViolationException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

and gives
PS C:\> ncat -lp 8080
PUT /put HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.18362.752
Content-Type: application/json
Host: <IP_ADDRESS>:8080
Content-Length: 5
Connection: Keep-Alive

:(

3. Content-Length too low
Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Headers @{"Content-Length" = "1"} -ContentType "application/json" -Body ":("

raises
Invoke-WebRequest : Bytes to be written to the stream exceed the Content-Length bytes size specified.
At line:1 char:1
+ Invoke-WebRequest -Method PUT -URI "http://<IP_ADDRESS>:8080/put" -Heade ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Invoke-WebRequest], ProtocolViolationException
    + FullyQualifiedErrorId : System.Net.ProtocolViolationException,Microsoft.PowerShell.Commands.InvokeWebRequestCommand

and gives
PS C:\> ncat -lp 8080
PUT /put HTTP/1.1
User-Agent: Mozilla/5.0 (Windows NT; Windows NT 10.0; en-US) WindowsPowerShell/5.1.18362.752
Content-Type: application/json
Host: <IP_ADDRESS>:8080
Content-Length: 1
Connection: Keep-Alive

Actual behavior
cmdlet does not run:

Invoke-WebRequest: The cmdlet cannot run because the -ContentType parameter is not a valid Content-Type header. Specify a valid Content-Type for -ContentType, then retry. To suppress header validation, supply the -SkipHeaderValidation parameter.

If -SkipHeaderValidation is passed, we can see that the Content-Length header appends the value specified to the calculated value like a list, as opposed to overriding it:
PS C:\> ncat -lp 8080
PUT /put HTTP/1.1
Host: <IP_ADDRESS>:8080
User-Agent: Mozilla/5.0 (Windows NT 10.0; Microsoft Windows 10.0.18363; en-SE) PowerShell/7.0.0
Content-Length: 2, 2
:(

Environment data
Name                           Value
----                           -----
PSVersion                      7.0.0
PSEdition                      Core
GitCommitId                    7.0.0
OS                             Microsoft Windows 10.0.18363
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

.Net Core HttpClient makes all validations and PowerShell follows the .Net behavior.

So either this is a bug in how we're using the API, or it's a bug in .NET. If it's a bug in .NET we should look to find the simplest reproducible case with only .NET code and move the issue to the dotnet/runtime repo.

I don't understand the scenario to force setting Content-Length header.

The issue came to light when working with Azure blob storage when we had to generate an authorization header for a PUT request. That requires us to include content length, so we opted to pass it via the headers object that we also use in the request. We were able to work around it by passing content length in a separate parameter to the authorization header generation function instead.
It does of course raise a few questions as to what the ideal approach here is. On one hand, forcefully setting the content length header is probably more prone to errors. On the other hand, since we have to pass it manually to the authorization token generation function, putting it in the headers as well will make sure that there is no mismatch between the authorization header and the content length header.
Regardless, this bug is what it is. The workaround is trivial in our case but the cause took me a good while to isolate. Hope that explains our scenario!
-------- Original Message --------
On 28 Apr 2020, 20:03, Ilya wrote:

I don't understand the scenario to force setting Content-Length header.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

.Net API add the Content-Length automatically. I don't understand why you need to calculate the length in your code. If .Net API do wrong the length it is a bug there.

Before making the request, we have to sign an authorization header, which requires we know the content length. For example, to make a PUT request, we use roughly this code:
function Set-AzBlob
{
    param(
        <... snip ...>
        [Parameter(Mandatory=$true)][string]$BlobName
        [Parameter(Mandatory=$true)][string]$Contents
    )

    <... snip ...>

    $Headers = GetCommonHeaders
    $Headers["Content-Length"] = GetContentLength $Contents
    $Headers["Authorization"] = <... snip ...> PUT $Headers $ContentLength

    Invoke-WebRequest -Method PUT -URI $URI -Headers $Headers
}

function GetAuthorizationHeader
{
    param (
        <... snip ...>
        $method,
        $headers,
    )

    <... snip ...>

    $StringToSign = $method.ToUpper()   + "`n" +
               "`n" +
               "`n" +
               $headers["Content-Length"] + "`n" +
               "`n" +
               $headers["Content-Type"]   + "`n" +
               "`n" +
               "`n" +
               $headers["If-Match"]      + "`n" +
               $headers["If-None-Match"] + "`n" +
               "`n" +
               "`n" +
               $CanonicalizedHeaders + "`n" +
               $CanonicalizedResource

    return sign($StringToSign)
}

This wasn't working, and I traced the issue to the incorrect Content-Length header. The workaround was to pass Content-Length separately to the GetAuthorizationHeader function:
function Set-AzBlob
{
    param(
        <... snip ...>
        [Parameter(Mandatory=$true)][string]$BlobName
        [Parameter(Mandatory=$true)][string]$Contents
    )

    <... snip ...>

    $Headers = GetCommonHeaders
    $ContentLength = GetContentLength $Contents
    $Headers["Authorization"] = <... snip ...> PUT $Headers $ContentLength

    Invoke-WebRequest -Method PUT -URI $URI -Headers $Headers
}

function GetAuthorizationHeader
{
    param (
        <... snip ...>
        $method,
        $headers,
        $ContentLength
    )

    <... snip ...>

    $StringToSign = $method.ToUpper()   + "`n" +
               "`n" +
               "`n" +
               $ContentLength + "`n" +
               "`n" +
               $headers["Content-Type"]   + "`n" +
               "`n" +
               "`n" +
               $headers["If-Match"]      + "`n" +
               $headers["If-None-Match"] + "`n" +
               "`n" +
               "`n" +
               $CanonicalizedHeaders + "`n" +
               $CanonicalizedResource

    return sign($StringToSign)
}

@jorins Thanks for clarify! I think you could ask .Net team in .Net Runtime repository about HttpClient behavior. I guess it is by-design but you could discuss this with .Net team.

Close as stale issue. Feel free to discuss this with .Net team.

Close as stale issue. Feel free to discuss this with .Net team.

While it is understood that Content-Length should not be added manually the error message should still be  addressed. If anyone accidentally adds any custom headers multiple times by accident times they will get the cryptic Content-Type error which is inaccurate.
I spent way too much time troubleshooting this failure when trying to consume Google services. Per the error message I told it to skip the Content-Type check which then just yielded 'BadRequest' from Google. I thought I had malformed my request body until I ran the same code on Windows PowerShell as it worked, even with my manual Content-Length header added.
The offending code is here. I will try to get a PR up when I have some free time.
This issue should be reopened. @iSazonov

@thezim I believe it is better to discuss this in .Net repository. .Net already does some checks and we could improve its and error reporting there.


Removing copy/paste tesing information from contributing doc

Noticed some extra copy/paste from previous version.  Removed unnecessary text.

:+1:


Error seen while executing make test_verilator

The attached log gives the output of make test_verilator
I have built the riscv-toolchain following the README and can confirm that I am at the mentioned revision of the repo (for riscv-tools). Not sure what went wrong here.
verilator.log

Unfortunately I can not reproduce this with git head of PicoRV32 and git head of Verilator:
picorv32_test_verilator.log
Is it possible you are using an old version of Verilator?

@raulbehl for me, this issue happens when using an old verilator version.
Verilator from Ubuntu 16.04 package,version:
Verilator 3.874 2015-06-06 rev verilator_3_872-20-g0d43051
Fails just  like you reported.
Using an updated version, compiled from upstream/sources:
Verilator 3.922 2018-03-17 rev UNKNOWN_REV
Test completes successfully.

Addressed this issue in f48f5fe.


Can't open javascript/phantom.js

Hi,
I've apparently installed Wraith (and all prereqs) successfully on Windows, but there is a problem when I try to actually get images: Can't open ''javascript/phantom.js''. This is the js used as snap_file in the config.
I have only changed the domains and snap_file in the multiple_domains.yaml config file found after installation in the configs folder. Initially the snap_file was phantom--nojs.js. The same error appeared for both snap files. I have checked and both files are under that relative path.
Can you please help? I am trying to make a POC at work for automated screenshot comparison using Wraith. Let me know if you need additional information.
Thanks in advance :)

Could you show how you're running Wraith? Also see #288 (and my solution) which sounds like it might be the same issue.

Hi,
Thanks for your reply.
Wraith's folder is C:\wraith-master. I've tried both ways presented in the thread you linked, with same results using an unchanged config file:
wraith capture multiple_domains

wraith capture configs/multiple_domains.yaml

Hi @msafta, do you have a phantom--nojs.js somewhere in your project? Perhaps try moving your javascript folder inside your configs folder.
This issue should go away when we've implemented #305, which abstracts the JS files away so that you don't have to worry about them.

Hi,
The phantom--nojs.js file is in the javascript folder (same goes for phantom.js) inside the wraith folder:

I have tried moving the javascript folder under configs, but to no avail...

I'm having the same issue, I keep getting the same error.

Same issue here...

I had the same issue on windows I switched phantomjs version 2.0 with version 1.9.2 and it is working fine now.

Thanks! that fixes my issue...

Hi,
Yes, 1.9.2 worked for me too :)
Now I have to deal with Process.fork is not supported by this ruby which is outside the scope of Wraith: https://github.com/BBC-News/wraith/issues/195

With the release of Wraith 3.0.0, the snap files have been abstracted away and you should no longer have to maintain them yourselves.
In addition, I've updated the docs to warn against using PhantomJS 2 with Wraith for the time being.

1.9 did the magic for me too. Thanks!!
but now i am stuck with "Error Cannot find module javascript/disable_javascript--ph antom.js" and the execution is stuck at this error. doesn't move forward.

Phantomjs 1.9.2
ruby 2.0.0p481 (2014-05-08) [i386-mingw32]

here is the error from command
phantomjs://bootstrap.js:289
phantomjs://bootstrap.js:254 in require
C:/Ruby200/lib/ruby/gems/2.0.0/gems/wraith-3.1.0/lib/wraith/javascript/phantom
js:103 in runSetupJavaScriptThen
C:/Ruby200/lib/ruby/gems/2.0.0/gems/wraith-3.1.0/lib/wraith/javascript/phantom
js:87 in markPageAsLoaded
C:/Ruby200/lib/ruby/gems/2.0.0/gems/wraith-3.1.0/lib/wraith/javascript/phantom
js:81 in checkStatusOfAssets


add tests for lifecycle hooks

ref #2872
Please let me know if I missed any test cases and I will revise. I was't quite sure how you wanted these structured within the larger "lifecycle" test suite.
Not sure why CircleCi failed, looks like there are some eslint errors elsewhere in the codebase

Thanks for the PR - but I'm afraid we need a much more thorough test suite than this. We need to assert that each hook works properly for its intended purpose - e.g. init should allow you to customize the options, created should have set up data observation, etc. It could be a bit complicated to explain since that involves the internal design (compared to some other options where their behavior is more obvious), so I think it's probably better to let me write tests.

@brendanbowidas  test can you see my reaction as a notification? XD


[BUG]  /dolphinscheduler/projects/create doesn't return project ID when create successfuly

Describe the bug
V1.2.0, when  invoke /dolphinscheduler/projects/create, it doesn't return project ID when create successfuly just return
{
"code": 0,
"msg": "success",
"data": null
}
Expected behavior
it should return project ID, otherwise, how can I build relationship between dolphin and my system.
Which version of Dolphin Scheduler:
-[1.2.0]
Additional context
Add any other context about the problem here.
**Requirement or improvement

Please fix this or tell me how to get project ID for newly created project.

would you like to submit a PR to solve this problem?

What puzzles me is, why do you need to return all the project information?

I think just return the project ID.

I think just return the project ID.

I think so too

I think we'd better don't return all the infos of the created project,however, ID is the only field we need.


App paths mask JS resources

With this app:
require('zappa') ->
  @enable 'serve jquery'

  @get '/:foo/:bar?': ->
    "Foobar"

Try to go to /zappa/jquery.js and you'll see "Foobar" instead.

Until this is fixed, the following workaround works nicely:
require('zappa') ->
  @enable 'serve jquery'

  @get '/:foo/:bar?': ->
    return @next() if @params.foo is "zappa"
    "Foobar"

I've been thinking about these paths, and I'm wondering whether they would be best implemented as middleware that sits in front of app.router - and therefore would happen before and independent of any of the normal app's routing.

@smathy: You're right, they shouldn't be routes but middleware. They're a separate concern.
I don't think we should hard-position this middleware though. What if I want to, say, put gzip in front of everything?
So, I'll be pushing to master soon a version with @use 'zappa' replacing @enable 'serve zappa|jquery|sammy'. Both @client and @shared will add it automatically if it's not already there. Express does a similar thing with @app.router, it's automatically added when you define a route, if it has not been added before.
These assets will come before your routes as long as @use 'zappa' or one @client/@shared is placed before @use @app.router or any @get/@post/etc.
@epeli: I've been analyzing asset management in node and for the moment I'll avoid strongly coupling zappa to any specific solution. I'll elaborate on the mailing list thread.

Seems good, I'll have a closer look tomorrow.


Consolidate docker images to use localstack

We currently use a cnadiminti/dynamodb for our DynamoDB container and s12v/elasticmq for our SQS container. Since we are already using localstack for AWS SNS and it supports SQS and DynamoDB, we should update our Docker configuration to have the API rely on localstack.

Good candidate files for changes:

Update docker configurations: /docker/docker-compose-build.yml, modules/dynamodb/docker/docker-compose.yml, modules/sqs/docker/docker-compose.yml

Note: there may be residual configuration files from existing images that may get cleaned up as well

I'd like to work on this.

@uLan08 Awesome!  Let us know if you have any questions :)


How to get details from errors

I have this errors in my templates,
15:12:59.865 ERROR: Error rendering template. Cannot get identifier 'ImportReference'. Source path: C:\ProjetosGIT\Tenper\Biblioteca Autenticacao\MC.ASpnetCore.Identity.Controllers\Configuracao\ConstantesPermissao.cs
System.NullReferenceException: Object reference not set to an instance of an object.
   at __Typewriter.Template.ModelProperties(Class clas)
   at __Typewriter.Template.ImportReference(Class clas)
15:12:59.877 ERROR: Error rendering template. Cannot get identifier 'AssociationProperties'. Source path: C:\ProjetosGIT\Tenper\Biblioteca Autenticacao\MC.ASpnetCore.Identity.Controllers\Configuracao\ConstantesPermissao.cs
System.NullReferenceException: Object reference not set to an instance of an object.
   at __Typewriter.Template.ModelProperties(Class clas)
   at __Typewriter.Template.AssociationProperties(Class clas)

How can I inspect or understand whats going on, could put the line numbers on the stack trace?

Hi,
Can you share some fragment in github repo to reproduce?

I think that I wrote really bad my question, this case is solved, but my issue is that I think that would be better to have more information like this for example
   at __Typewriter.Template.ModelProperties(Class clas) at line 26
   at __Typewriter.Template.AssociationProperties(Class clas) at line 52

indeed but still - due to lack of time is not something which I will have time to deal with in near time


congressional research service PDF unreadable both automatically and manually

This PDF seems to be ill-suited for Tabula; when I tried auto-detecting tables I was told this may not be the correct file type and when I try to manually select a table I see "Sorry, there's been an error." Here's the URL: https://www.fas.org/sgp/crs/misc/RL34468.pdf

Hi @meli-lewis, thanks for reporting your issue.
I can reproduce what you describe in the latest version (0.9.6). The problem is not present in the previous one, Tabula 0.9.5, which you can download from here: https://github.com/tabulapdf/tabula/releases/tag/v0.9.5
Thanks again!