Cb 13 show things to do

Please check if the PR fulfills these requirements

[X] The pull request title contains the ticket number in the title. For example [CB-1]

What kind of change does this PR introduce? (Bug fix, new feature...)
Creates page to show things to do from the api

What is the current behavior?What does the code do before you made the new changes?
No current behavior to show things to do

What is the new behavior?
Gets data from API and backend and presents it on the explore page

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR? Run a new command?)
No breaking change

Other information:

I'm unable to see the ThingsToDo component in "/explore". This might be due to nothing being mapped to the page (There is nothing in the container so I just see the NavBar). Because of this, I'm unable to judge approve this PR. Also, there are some files changed that are unrelated to this branch. Maybe remove those files from this PR. Sorry to not be of much help, but I'm sure your work is great! Good luck!

I'm unable to see the ThingsToDo component in "/explore". This might be due to nothing being mapped to the page (There is nothing in the container so I just see the NavBar). Because of this, I'm unable to judge approve this PR. Also, there are some files changed that are unrelated to this branch. Maybe remove those files from this PR. Sorry to not be of much help, but I'm sure your work is great! Good luck!

I'm unable to see the ThingsToDo component in "/explore". This might be due to nothing being mapped to the page (There is nothing in the container so I just see the NavBar). Because of this, I'm unable to judge approve this PR. Also, there are some files changed that are unrelated to this branch. Maybe remove those files from this PR. Sorry to not be of much help, but I'm sure your work is great! Good luck!

I am unsure why this is, since it works on my end. I will look into it and see what the problem is. Thanks

I'm unable to see the ThingsToDo component in "/explore". This might be due to nothing being mapped to the page (There is nothing in the container so I just see the NavBar). Because of this, I'm unable to judge approve this PR. Also, there are some files changed that are unrelated to this branch. Maybe remove those files from this PR. Sorry to not be of much help, but I'm sure your work is great! Good luck!

I am unsure why this is, since it works on my end. I will look into it and see what the problem is. Thanks

Hey Suleman, this looks pretty good! I see that we had the same idea to use Bootstrap icons. One minor improvement you could make is adding a condition so the phone icon only shows up when the phone field is not blank. Also it might be a good idea to remove package-lock.json to make things more convenient. Good job!

Thanks! I saw yours and tried to add some of what you did to maintain some consistency between our pages. I think the issue with the package-lock.json is that I have newer versions packages installed on my machine. I am not sure how to remove the files from the PR but I'll try again to sort it out.

Hey Suleman, this looks pretty good! I see that we had the same idea to use Bootstrap icons. One minor improvement you could make is adding a condition so the phone icon only shows up when the phone field is not blank. Also it might be a good idea to remove package-lock.json to make things more convenient. Good job!

Thanks! I saw yours and tried to add some of what you did to maintain some consistency between our pages. I think the issue with the package-lock.json is that I have newer versions packages installed on my machine. I am not sure how to remove the files from the PR but I'll try again to sort it out.

I am unable to see this component or Jerry's. Is this the case in anyone else's machine?

I am unable to see this component or Jerry's. Is this the case in anyone else's machine?

Error on my end. Component looks good Suleman!

Error on my end. Component looks good Suleman!


Add agat convert sp gff2tsv

Description
added agat_convert_sp_gff2tsv
Issue ticket number
Closes #xxxx

Checklist before requesting a review

[x] I have performed a self-review of my code

[x] Conforms to the Contributing guidelines

[x] Proposed changes are described in the CHANGELOG.md

[x] I have tested my code with viash ns test --parallel -q <name or namespace>

Check the correct box. Does this PR contain:

[ ] Breaking changes
[x] New functionality
[ ] Major changes
[ ] Minor changes
[ ] Documentation
[ ] Bug fixes

I added this sub-module without realizing I had already added it. But I made improvement based on Dries comments


UncontrolledTable - add support for server side pagination

new loadRows prop to handle async loading of rows based on pagination/sorting params
added placeholder rows for loading state

Table is getting a complete refresh. This use case will be handled at that time.


Concept Release does not build properly

Describe the bug
Checking out concept-release tag fails to build properly due to a variety of problem, in particular when trying to do so inside the dev(elopment) container
To Reproduce
checkout concept-release branch and try to run make ...
Expected behavior
Assuming all documented pre-conditions are met, it should build successfully and then also allow to run the demo

Closed by #339


add overall design changes

@RickardssonJ

Please provide a brief description.
When making design changes please provide 'before' and 'after' images, so that we can inspect and verify the change.
Please provide a reference to wither a ticket, or a screenshot of a conversation to motivate the changes.


Fix build and link versions.

Codecov Report

Merging #439 into development will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff              @@
##           development     #439   +/-   ##
============================================
  Coverage        98.41%   98.41%
============================================
  Files               38       38
  Lines             3099     3099
  Branches           148      148
============================================
  Hits              3050     3050
  Misses              43       43
  Partials             6        6

Continue to review full report at Codecov.

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


Attribute definitions do not appear in output of Database::as_dbc_string()

I am instantiating a Database with an attribute definition like so:
Database(messages, nodes, buses, version,
                           attribute_definitions=[
                                                      ('BA_DEF_',
                                                       'BO_',
                                                       'GenMsgCycleTime',
                                                       'INT',
                                                       [ '0',
                                                         '1000000'
                                                       ],
                                                      )
                                                 ]
)

And one of the messages has a non-null cycle_time attribute set, which does show in the DBC. However, the attribute definition itself does not. I can't seem to figure out why.
I did notice that the _dump_attribute_definitions() function in formats/dbc.py seems to expect attribute definitions in a different format than they show when going FROM  a dbc TO  a Database object; see below:
>>> db = cantools.db.load_file("mydbc.dbc")
>>> print db.__dict__
...
 '_attribute_definitions': [(['BA_DEF_', 'BO_', 'GenMsgCycleTime', 'INT', (['0', '1000000'], {})], {})],
...

As you can see there is a lot more nesting going on than what I passed to the constructor -- the simpler format seems to be what _dump_attribute_definitions expects.

Never mind, I think I had missed something in my testing -- instantiating the Database's attribute_definitions the way I did DOES cause them to appear in the DBC. However, they did not when I passed them in in the format they appear when loading FROM a DBC. I think the two different formats should be reconciled in some way.

Indeed, the attribute storage is a hack. It is not recommended to be used before redesigned. A redesign is not likely to happen anytime soon unless someone submits a pull request with the implementation.


How do I edit the CSS files if I want to upgrade SmartWizard to 4.1.2?

Anyone know how I can accomplish this?

Hi there @marlonbrand0 , I'm not quite sure what you want to accomplish there, but if you want to update your SmartWizard plugin , all you need to is to get the latest version and place in in your plugin folder and that's it :)

My problem is when I try, it breaks the formatting. Is there something I need to be doing in the custom.scss file?

Is no need to make modifications in custom.scss file , can you provide a screenshot or something to see better what you want to accomplish there ?

@marlonbrand0 I think your problem was already addressed here -https://github.com/puikinsh/gentelella/issues/335. Unfortunately the author of https://github.com/mstratman/jQuery-Smart-Wizard hasn't responded to my problem yet. :(


Accept 'write nil' as routing to nil

In a compile rule, interpret write nil the same as routing to nil.
Steps to reproduce
compile '/foo.*' do
    write nil
end

Expected behavior
Item '/foo.*' should be routed to nil, just as if:
route '/foo.*' do
    nil
end

had been specified.
Actual behavior
Item '/foo.*' is unexpectedly routed by some other routing rule (typically, the catchall route '/**/*', thus to /foo/index.html).
Details
Given that simple routing rules can be expressed more concisely via write inside a compile rule, and that:
compile '/foo.*' do
end

route '/foo.*' do
    '/foo/index.html'
end

can be transformed into:
compile '/foo.*' do
    write '/foo/index.html'
end

one would intuitively expect that:
compile '/foo.*' do
end

route '/foo.*' do
    nil
end

can likewise be transformed to:
compile '/foo.*' do
    write nil
end

but this does not work as expected.

Definitely makes sense!
The way snapshot and write work together right now is a bit odd (and also the cause of #1037), so there’ll probably need to be a bit of refactoring to make this behave as expected.
I’ve marked this as an enhancement rather than a bug, but I guess it could be either.

Migrated to nanoc/features/issues/14.


twelvet Version
2.7.18
Node Version
v16
JDK Version
JDK17
Does it still exist
It can be reproduced.
Bug Description
Redisson在JDK17版本下无法启动，缺失
java.lang.NoClassDefFoundError: org/springframework/data/redis/connection/RedisZSetCommands$Tuple
Modification suggestions.
No response

已修复，具体版本适配https://github.com/redisson/redisson/issues/4675


Modal preview of template has incorrect height

When previewing edits to a template, the div.modal-body is not allowed to expand to the height of the modal because height:auto; is being inlined by:
https://github.com/orocrm/platform/blob/master/src/Oro/Bundle/UIBundle/Resources/public/js/modal.js#L188
Which results in something that looks like this:

Removing the height:auto; rule from the div allows it to fill the modal.
I can confirm this behavior in Chrome 47.0.2526.73 and Safari 8.0.6 (10600.6.3) OS X.

Thank you for reporting the issue. It will be fixed in upcoming version of OroCRM.

Hello @

Hello @Grygir,
I've noticed in 1.9-RC1 that this has changed, but not in a good way.  Now, the email preview modal is fixed at 400px high.  This makes it very difficult to preview emails that are longer than a line or two.  Seems like it would be much better to have this preview modal use as much height as possible versus clamping to such a small size, or at least allow it to be resized.

Hello @codesman,
Thanks for you comment, we'll take a look how to fit this issue.

Hi @codesman,
We've updated email preview dialog and it is resizable now. That fix will be included in platform v1.9.
Thank you


UART Sensor level control -> state can't be controlled by external MCU

I used the provided UART sensor example  (<IP_ADDRESS>/2024-04-06) including the level control. All sensors are working fine except the state of the light can't be controlled from external MCU.
If the light is ON and the level control is set to any value (here 141):
MQTT publish: topic 'zigbee2mqtt/0x00124b002a510550', payload '{"bind_command_l1":"on/off","brightness_l4":141,"link_to_output_l1":"no","linkquality":49,"state_l1":"OFF","state_l2":"OFF","state_l4":"ON","switch_actions_l1":"on","switch_type_l1":"switch"}'
the level can be controlled by external MCU with the command sequence:
<STX> 0x13 0x6D <ETX> 0xDC to 109 for instance.
or with sequence:
<STX> 0x13 0x00 <ETX> 0x6F
set to 0.
Here the log:
MQTT publish: topic 'zigbee2mqtt/0x00124b002a510550', payload '{"bind_command_l1":"on/off","brightness_l4":0,"link_to_output_l1":"no","linkquality":57,"state_l1":"OFF","state_l2":"OFF","state_l4":"ON","switch_actions_l1":"on","switch_type_l1":"switch"}'
But the state of endpoint 4 stays "ON" (here: "state_l4":"ON").
I didn't find a way to set it OFF from external MCU even with boolean data format (<STX> 0x03 0x00 <ETX> 0x5F')
The same issue when trying to set the state from OFF to ON.
Btw, if controlling the state from ZIGBEE2MQTT GUI the following commands are send to external MCU:
Set ON: <STX> 0x13 0x6D <ETX> 0xDC
Set OFF: <STX> 0x13 0x00 <ETX> 0x6F

Does anyone have an idea what's wrong or is it a bug?

@bullar Could you please check the latest version where I've tried to resolve this issue?

Fixed in firmware 2024-04-29 ✅🙏


[ENGINEERING] Implement SearchBar component

What is the issue?
A clear description of the task or feature to be implemented by the engineers.

Implement a reusable SearchBar component
The search bar should handle the states of query and selections
The search bar should take in an array of selection labels and options (something like [{ label, [option] }].
An initial suggestion for this component is to make it a form and pass in a T which is an object that stores the formdata. When form submit is triggered, use the name html attribute to access the query and selection results.
You could either set the component to receive a submitForm function that is defined in the parent component, or send in a setResult function to directly change the state of the search result and in this case the user would catch the changes using useEffect. I'm not too sure about what is the best practice for this so feel free to test around and do some research.
The parent component should be able to style the search bar (just the width is fine for now)
Write documentation and use appropriate props interfaces to guide other developers that may be using your component.

Additional context
Add any other context or screenshots about the enhancement here.

This is the design we have for the search bar, the text input is for the query and the selection inputs below are the selections.
The "People" selection next to the text input should probably be replaced with a button to trigger the search.

Do we have a design for what the filter options should look like when expanded?

Do we have a design for what the filter options should look like when expanded?

Not as of now. I think for now it's good enough to just open a dropdown select and dont worry too much about the style. In the future we might be passing in more options (such as single and multi select) or directly passing in some dropdown component for more flexibility. But for now lets keep it simple and add more as needed.


Settings: Filtering for Java settings is not possible

I wanted to change a Java setting. In the settings editor I wanted to filer for 'java'. Since the filter matches for prefixes the settings shows me also JavaScript settings.

A couple things that help:

Search "java" then click the right extension in the TOC
Search "java.", then the java settings are on top (the JS settings are still returned by bing, but they appear at the bottom of the list)

Can you think of anything else that would help?


cos.sh: Add _COS_BOOTING_FROM_LIVE environment variable

In the PXE boot scenario, there is no CDLABEL kernel parameter.
Adding a variable to indicate we are booting from live.
More context

I'm trying to bump cOS packages in Harvester side to catch up. This ensure we have all new features and fixes, and prevent backports in the future.
In Harvester, we handle the ISO download outside of the cos script, the variable _COS_INSTALL_ISO_URL is not set when invoking cos script and the script tries to find a channel and download OS images. We can only count on the is_booting_from_live  detection here.
https://github.com/rancher-sandbox/cOS-toolkit/blob/86743bcb9eaeeafd99edec97315547886478b63f/packages/installer/cos.sh#L1410-L1411
In situations like PXE boot, the CDLABEL parameter is not set, my proposal is to add a new environment variable _COS_BOOTING_FROM_LIVE to indicate a live boot. https://github.com/rancher-sandbox/cOS-toolkit/blob/86743bcb9eaeeafd99edec97315547886478b63f/packages/installer/cos.sh#L243-L249

Thanks! it looks good here, and definitely we need more control in that part


[WIP] Let entry types provide frontend apps to render entries

Still includes all commits from #1254. Needs to be rebased once that's merged.
Let entry types provide a Rack app that is then used to render previews and published entries. Authentication, authorization and redirecting can still be handled by the core controller.
See doc file in PR for details.
REDMINE-17208

Coverage remained the same at ?% when pulling 1d5ee6f36e0ccaaf8a2e1e4e32a6f94c7a65d544 on tf:entry-type-show into da7272371f9cbed618450f7c36773f4da3767644 on codevise:master.


Feelslike temperature float is oddly specific

Describe the bug
The feels like temperature is returning a float with up to 14 decimal points ex: 38.76319788403144°F
To Reproduce
Observe feelslike. It is not always that high of a decimal place, but due to the math when combining temp, humidity, and wind_speed it often is > 2 places.
Expected behavior
Other temperatures only return 2 decimal places so my expectation would be that it would follow that behavior.
Screenshots

Additional context
I looked through the code and other temperatures don't seem to have this issue so I would hesitate to modify the get_temperature_meteocalc_object function, but that is an option. You could simple add .quantize(Decimal('1.00')) in class FeelsLikeCalculator
return self.get_calculated_data_point(
  round(feels_like_obj.f, 2), unit_converter=TemperatureConverter
)

Open to suggestions and glad to put up a PR

See https://github.com/bachya/ecowitt2mqtt/pull/347. You can use the --precision flag to round to a certain decimal place (e.g., --precision=1). Would that help?

Thank you, that does help and I'll set it on my end. I still do question the default being up to 14-places. Seems like a default of 2 is more than enough but hey sometimes you really gotta know what it feels like :)

There are some values—like absolute humidity—that lose identity when rounded at all, so I elected to not round anything unless the user forces it.
At any rate, glad this works for you. I'll close this issue; thanks!


v2/accounts endpoint returns repeated assets for specific account

The endpoint is returning the same asset object under assets variable.
This issue is only reproducible for this account below.
(RL6VDLXCN5G7N2GRTS7YLVDSFT4PVBBUOVTVS7T26OQ5MLXYQKRMI5ADXY)
curl --location --request GET 'https://indexer-testnet.aws.algodev.network/v2/accounts/RL6VDLXCN5G7N2GRTS7YLVDSFT4PVBBUOVTVS7T26OQ5MLXYQKRMI5ADXY' \
--header 'X-Indexer-API-Token: KegWFLYQnBNVeP4oHCX64dObBk8VemzYdNqsnAOIxYQ8aqJLQTYeVDQyZNnx1PZA'

Example JSON file here

This issue seems to have been resolved with one of the fixes that went into the last release. Thanks @tolgacanunal for the report!


feat: show relation name in list platform user metadata

Pull Request Test Coverage Report for Build<PHONE_NUMBER>7
Details

0 of 6 (0.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-0.001%) to 9.382%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

internal/api/v1beta1/platform.go
0
6
0.0%

Totals

Change from base Build<PHONE_NUMBER>0:
-0.001%

Covered Lines:
10195

Relevant Lines:
108664

💛  - Coveralls


Suggestion: key-level locking

It would be great to have key-level locking to improve performance for write operations.
The idea is the following:
When we perform write operation (for a specific key), we should lock the entire dict to ensure that other processes don't modify it at the same time. But for this scenario actually we need to lock only specific key and allow other processes to modify other keys at the same time.
I think in existing implementation (where only changes are applied to shared memory, rather than entire memory overwriting) this is possible.
It is like  SELECT ... FOR UPDATE where only affected rows are locked but not entire table of database.
P.S.
My respects for your project.

Hi @rnv812, thanks for your suggestion.
At the moment, there's just one single byte in shared memory for the locking. If we wanted to change this, we'd have to reserve a bigger, dynamic memory space for locking but that seems quite complex.
What you could do right now is using the recurse mode. If you set recurse=true, UltraDict will automatically transform every dict value to a child UltraDict which then has it's own lock.
So it could probably look like this:
from UltraDict import UltraDict
ultra = UltraDict(recurse=True)
#When you do it like the following, both keys share the lock:
ultra['key1'] = 'value1'
ultra['key2'] = 'value2'
#When you do it like this, each key has its own lock:
ultra['key1'] = { 'value': 'value1' }
ultra['key2'] = { 'value': 'value2' }

#You can now lock only key1 like this:
with ultra['key1'].lock:
    ultra['key1']['value'] = 'some other value'

The approach has the disadvantage that all values (that should have a lock) must be wrapped in a dict. You could also do this just for specific keys/values if you wanted. All non-dict-values will be treated normally.

Oh, this approach seems quite appropriate. Thank you for the answer.


properly handle AWS authentication and update docs

enabled use of SSO auth by setting of AWS_DEFAULT_PROFILE to sessions from env in this PR: https://github.com/eastgenomics/s3_upload/pull/36
TOD) - also take in long term access keys and update docs


Not compatible with the latest vs code version

I get this while trying to install the extension. I' have the latest vscode version 1.90.0

https://github.com/lsl/vscode-templ-go-to-definition/commit/2bf7b6ebc7cc97987667432b689cfe3e5df82161, should work now.


[GOBBLIN-1386]Increase the timeout setting for Gobblin Partitioned DataWriter to write a record

…taWriter to write a record
Dear Gobblin maintainers,
Please accept this PR. I understand that it will not be reviewed until I have checked off all the steps below!
JIRA

[ ] My PR addresses the following Gobblin JIRA issues and references them in the PR title. For example, "[GOBBLIN-XXX] My Gobblin PR"

https://issues.apache.org/jira/browse/GOBBLIN-1386

Description

[ ] Here are some details about my PR, including screenshots (if applicable):
Increase the timeout setting for Gobblin Partitioned DataWriter to write a record to make it less sensitive to the slow HDFS writer

Tests

[ ] My PR adds the following unit tests OR does not need testing for this extremely good reason:
Small change, run unit test

Commits

[ ] My commits all reference JIRA issues in their subject lines, and I have squashed multiple commits if they address the same issue. In addition, my commits follow the guidelines from "How to write a good git commit message":

Subject is separated from body by a blank line
Subject is limited to 50 characters
Subject does not end with a period
Subject uses the imperative mood ("add", not "adding")
Body wraps at 72 characters
Body explains "what" and "why", not "how"

Codecov Report

Merging #3226 (bbdb05d) into master (f7181aa) will decrease coverage by 37.32%.
The diff coverage is 0.00%.

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


Content being created but not served

I'm having some issues which I think is coming from output caching. But I am having no problems on my dev machine.
My Setup:
Windows Server 2003
IIS 6
Sitefinity CMS
Sitefinity's default caching option is InMemory, something Telerik have created. I wouldn't like to remove this as it would defeat the whole purpose of using RequestReduce. I've not tried to remove it either.
The difference I have from our production to my development machine is that I'm using IIS 7 and do not have static compression switched on. Also, I had the library installed using Nugent on my machine but uploaded the dll and web.config stuff to the production server manually.
As a side question, will files in RequestReduceContent be removed automatically at some point?

Now this is intriguing, I just hit refresh and it worked. BUT, since I couldn't believe what was happening, I opened a separate browser and it wasn't working. To make sure. I deleted all the files created by the module and tried again. So I'm now back at square one.

The fact that you see RequestReduce files on the server rules out any possibility that the HttpModule is not getting invoked. This does sound related to caching. What you are seeing is what I would expect to see with a particularly long cache duration set. The first hit to the page is not cached and RequestReduce finds the css links and scripts and creates the RequestReduce files. Then since subsequent pages are cached, the raw un reduced content continues to be served until the cache expiration is reached.
The duration in your xml is only 120 seconds which should be fine. You'd just have to wait 2 minutes to start seeing RR reductions. Looking over some Sitefinity info, it looks like there is an admin tool where you can specify caching options and set a longer cache duration. Could you take a look to see if there are any other cache settings in that tool?
As for file cleanup. Currently RequestReduce does not cleanup old files. This is a feature I may implement later. You will only get new files when css or javascript changes. So if you have alot of pages with different scripts and css and they change fairly frequently, these files can get to be numerous. I'm assuming you are not using RequestReduce.SqlServer. That stores a master copy of the content in the db and also keeps a local disk based file cache and it does clean up files after 5 minutes of no use. However, I don't think that reason alone is cause for using the SqlServer add on package. It adds some complexity that is nice to avoid if you do not need to sync content accross multiple servers.

Just noticed your second comment. The fact that it took a while to see would make sense with a long cache duration, but the fact that the second browser did not see the optimizations is odd. Is there just one production server. If there are multiple production servers that would make alot more sense. What would also be possible is that the sitfinity caching probably caches by user agent. So if your other browser was an entirely different browser type (perhaps you had both chrome and FF) then the other one's cache may not have expired yet.

We have multiple production servers yes, but I was only testing on one webserver anyway, that I am sure of.
After a while both started working, so I guess it is the cache. But it's taking well over 120seconds.

Do you have access to the Sitefinity admin area? Not sure if its a separate app or web page but it seems there are more caching options there where you can override the 120 seconds setting in the web.config.

I'll have to look into it, but I'd prefer not to remove any caches at the moment because it will defeat the whole purpose of using  Request Reduce.
On another note, I'm putting this project on a pause as it doesn't have that much priority. I will probably end up using your script and css compressors later on because the minification being done is perfect.
I think you can close this.

Sure thing. I'm definitely not suggesting that you turn off any server side caching. I suspect there is some setting (not in web.config but in an admin area) in Sitefinity where you could shorten the cache duration. Don't hesitate to let me know if there is any other issue that you rin into. Thanks!


Define Prefix for schema.org

rdflib has changed the default prefix for http://schema.org to schema1, schema now refers to the TLS version https://schema.org.
In my generated docs, everything is prefixed with schema1 now which is essentially correct but looks wrong.
Is there be a good way to configure the prefixes and pass them to the CLI version of Ontospy?
I think internally this could be achieved by setting the prefixes as defined by the client in the namespace manager, see https://github.com/RDFLib/pySHACL/issues/118#issuecomment-1026252226.

Seems that the issue is gone as of rdflib 6.2.0


don't include the Go dependency management tool vendor folder.

Reasons for making this change:
don't want commit the vendor folder as it contains the packages for the project when using the dep tool to lock the projects dependencies.

@skandix thanks for this, but it was removed in #2266 - please read that context and see if you agree with it.

Closing this out as we had an earlier discussion about vendoring files in golang projects, and unless the situation has changed I'm happy to stick with that rule for now.


Mini sabbatical post

Hi,
I just added Rike's text about her experience last year with us.
I chose an image to decorate it. We may change it if you like it.
We could add some links to her text. What do you guys think?
Best,
Marcelo

Thanks Robert @haesleinhuepf !
Thus, I will merge it.


Missing letter "a" in the creation of new provider dialog (any provider)

"Add new X provider" is missing an "a" in the sentence. it should be:
"Add a new X provider"

@miq-bot add_label ui, bug

And same in the breadcrumb (but not in the dropdown menu leading to those pages)

This issue is stale, so I'm moving this over to the Classic UI repository to be reevaluated as it will likely never get reviewed here. If you know this has been fixed or is no longer valid, please feel free to close the issue there.
@miq-bot move_issue manageiq-ui-classic


[Languages]Implementing Data Streams in Flutter and Dart

Proposed title of article
[Languages]Implementing Data Streams in Flutter and Dart.
Pre-submission advice
Writing sample(s):
https://www.section.io/engineering-education/advanced-concepts-of-programming-using-dart/
https://www.section.io/engineering-education/testing-angular-app-with-protractor-and-jasmine/
https://www.section.io/engineering-education/flutter_speech_recognition_using_alan_voice/
Proposed article introduction
Dart has implementations for streams. This listens/emits bits or chunks of data. Such streams can be used to process continuous data supply, which, if read synchronously, can cause your application to suffer functionally. Such streams have intrinsic methods that enable performing complex functionality easily.
Key takeaways

How to implement streams in flutter and dart with hands-on coding examples.
Have knowledge of the possible methods that are present in dart streams
Know how to create, subscribe, broadcast, and listen to streams while handling errors gracefully.

Article quality
This article is more detailed, exposes built-in methods used by dart streams, and does so with coding samples for users to reference
References
https://dart.dev/tutorials/language/streams

Good afternoon and thank you for submitting your topic to the EngEd program.
After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations. We typically refrain from publishing content that is covered widely on the net or other blogs. We're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
But in order to approve the topic it has to serve value to the larger developer community at large. Please feel free to suggest an alternate topic to explore. 🚀
An option and a great way to write this as an in-depth article and make it more add value to the greater developer community at large would be to walk the reader through the USE of methods and functions by building a unique, different, useful project.
If you believe your article is unique enough - please present your case to explain how it will be different from what is currently out there?
https://www.google.com/search?q=Data+Streams+in+Flutter+and+Dart&rlz=1C1CHBF_enUS891US891&sourceid=chrome&ie=UTF-8


reproduce similar results

#reproduce similar results
Hi, I am trying to reproduce similar results of imageNet classification task using resnet18, 36 and 50. The proto files were generated by:
python app/imagenet/build_resnet.py -m bottleneck -b 2 2 2 2 -n 64 --no-fc_layers -o /tmp/

which is bottleneck version of resnet18. the image preprocessing is, basically, random crops and flips (no pca color augmentation described in the paper). The learning strategy was lr=0.01, stepsize of 150K iters with gamma 0.1, momentum 0.9 and weight decay 0.0001. the final top-1 accuracy on validation set I got 49.58%. However, in the paper they achieve 72.12% (resnet18). There is a huge gap between our model and their paper's reported. Do you know why?
Also, your resnet50 model scores 71.75% however, the original paper scores 77.15. There are 5point of difference. Do you think color augmentation and batch shuffle for each epoch affect this gap?
Best

@lolongcovas How about resnet18 mAP?

@lolongcovas Hi,
What's your resnet18 bottleneck version accuracy now?


fix typo

Just found a typo and fix it. :smile:
Signed-off-by: Zhang Wei<EMAIL_ADDRESS>

Awesome and thanks Zhang! Please don't hesitate to add whatever you need for your use cases.


1.12.0 docker on rpi32 - after restart cannot join back to cluster

Environment

VerneMQ Version: 1.12.0
OS: Raspberry Pi OS (Buster) / Docker 20.10.6
Erlang/OTP version (if building from source): Erlang 22.1 on Alpine 3.11 (armhf)
VerneMQ configuration (vernemq.conf) or the changes from the default

"docker-compose.yml" environment variables:

DOCKER_IP_ADDRESS=<IP_ADDRESS>
DOCKER_VERNEMQ_LISTENER__TCP__DEFAULT=<IP_ADDRESS>:1883
DOCKER_VERNEMQ_LISTENER__WS__DEFAULT=<IP_ADDRESS>:8080
DOCKER_VERNEMQ_LISTENER__HTTP__DEFAULT=<IP_ADDRESS>:8989
DOCKER_VERNEMQ_LISTENER__HTTP__METRICS=<IP_ADDRESS>:8888
DOCKER_VERNEMQ_DISTRIBUTED_COOKIE=aaabbbcccddd
DOCKER_VERNEMQ_ALLOW_ANONYMOUS=on
DOCKER_VERNEMQ_ALLOW_REGISTER_DURING_NETSPLIT=on
DOCKER_VERNEMQ_ALLOW_PUBLISH_DURING_NETSPLIT=on
DOCKER_VERNEMQ_ALLOW_SUBSCRIBE_DURING_NETSPLIT=on
DOCKER_VERNEMQ_ALLOW_UNSUBSCRIBE_DURING_NETSPLIT=on

Cluster size/standalone:

2x Raspberry Pi 4 4GB (one cluster node per physical node)

VerneMQ 1.12.0 built on a Raspberry Pi 4 (make rpi32), using a multi-stage docker build: Alpine:3.11 for the build and Alpine:3.12 for the image. Image builds properly. Two nodes are connected via cluster. No previous data, no previous version. These are two clean v1.12.0 images with no previous data.
Expected behaviour
When one node is restarted, it should reconnect to the cluster with no errors
Actual behaviour
When restarting one node: the following error is printed to console:
Loaded NodeClock fromDisk<EMAIL_ADDRESS>                                <<214,20,120,201,252,2,10,107,73,247,65,191,
                                  109,240,61,228,125,157,45,37>>} =>
                                {20,0}}
21:22:49.905 [error] Error in process <0.217.0> on node<EMAIL_ADDRESS>with exit value:
{badarg,[{erlang,binary_to_term,[<<131,104,2,116,0,0,0,1,104,2,104,2,100,0,18,86,101,114,110,101,77,81,64,49,55,50,46,50,52,46,49,46,49,109,0,0,0,20,214,20,120,201,252,2,10,107,73,247,65,191,109,240,61,228,125,157,45,37,97,9,104,2,104,3,98,0,0,6,86,98,0,11,118,97,98,0,2,18,63,104,4,100,0,10,114,101,116,97,105,110,95,109,115,103,109,0,0,0,6,79,110,108,105,110,101,116,0,0,0,0,100,0,9,117,110,100,101,102,105,110,101,100,116,0,0,0,1,104,2,100,0,18,86,101,114,110,101,77,81,64,49,55,50,46,50,52,46,49,46,49,109,0,0,0,20,214,20,120,201,252,2,10,107,73,247,65,191,109,240,61,228,125,157,45,37,97,9>>,[safe]],[]},{vmq_swc_store,'-init_dotkeymap/1-fun-1-',4,[{file,"/src/vernemq/apps/vmq_swc/src/vmq_swc_store.erl"},{line,763}]},{vmq_swc_db_leveldb,iterate,6,[{file,"/src/vernemq/apps/vmq_swc/src/vmq_swc_db_leveldb.erl"},{line,138}]},{vmq_swc_db_leveldb,'-handle_call/3-fun-1-',6,[{file,"/src/vernemq/apps/vmq_swc/src/vmq_swc_db_leveldb.erl"},{line,110}]}]}

@mtannertdev thanks, this is interesting. It might look like we can shoot ourselves in the foot with the new safe encodings. My guess is on something else though:
I'm currently thinking whether this could be an ARM/RPI problem because I wonder how you were able to build LevelDB. Maybe the issue is related to that.
I can decode your binary, both with binary_to_term(YourBinary) as well as with binary_to_term(YourBinary, [safe]). They are both the same, and they are the expected term.
One thing you could try is whether you see similar decoding errors when you switch the metadata protocol to
metadata_plugin=vmq_plumtree in the vernemq.conf

Added this line to "docker-compose.yml": and started both nodes clean:
    environment:
      - DOCKER_VERNEMQ_METADATA_PLUGIN=vmq_plumtree

Both nodes came up and connected to the cluster. Took down one node and brought it back up. This time it reconnected fine. The only thing I see that is interesting is the log about metadata exchange:
13:25:22.668 [info] successfully connected to cluster node<EMAIL_ADDRESS>13:25:30.482 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 140 keys
13:25:40.204 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 58 keys
13:25:50.190 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 58 keys
13:26:00.239 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 58 keys
13:26:10.181 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 58 keys
13:26:20.193 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 57 keys
13:26:30.198 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 57 keys
13:26:40.174 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 57 keys
13:26:50.164 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 57 keys
13:27:00.191 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 57 keys
13:27:10.174 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 57 keys
13:27:20.197 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 57 keys

Is this normal, or is there something failing in the replication where it keeps trying to repair the 57 keys unsuccessfully, and therefore keeps trying to do it?

@mtannertdev good question, do those 57 keys persist, even with a cluster facing input? I would expect this to go down to "nothing repaired" or a similar log, but I'm not 100% sure right now (I haven't checked the code).
Keys here can ultimately represent SubscriberIds or Retained message ids.

I just checked... the cluster is still up over the weekend and those log messages with keys are still being written every ten seconds. I wonder if it has anything to do with the fact that I allow new subscriptions/registrations/publications/etc during a netsplit and somehow something isn't getting reconciled when the down node rejoins the cluster.

@mtannertdev just fyi, I reverted those safe encodings in master.

Following back up on this, I still see log messages every ten seconds after a node disconnects and rejoins the cluster:
14:03:52.320 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 245 keys
14:04:02.218 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 245 keys
14:04:12.272 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 245 keys
14:04:22.269 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 245 keys
14:04:32.298 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 245 keys
14:04:42.282 [info] completed metadata exchange with<EMAIL_ADDRESS>repaired 0 missing local prefixes, 0 missing remote prefixes, and 245 keys


azwi serviceaccount support for managed identity

azwi serviceaccount subcommands only support creation/deletion of Azure AD Application and FIC for the same. We need to extend it to support creating/deleting managed identity/FIC for managed identity in addition to Azure AD Applications.
dependent on #325

If I' understand correctly with the current version there is no way to annotate the Kubernetes service account with a user assigned managed identity? Our product has been designed to use only managed identities for everything from AKS cluster creation to pod identities/Azure resource access. Without this feature there is no way for us to move away from the current ADD pod identity solution. Do you think this can be included in the GA release?

If I' understand correctly with the current version there is no way to annotate the Kubernetes service account with a user assigned managed identity? Our product has been designed to use only managed identities for everything from AKS cluster creation to pod identities/Azure resource access. Without this feature there is no way for us to move away from the current ADD pod identity solution. Do you think this can be included in the GA release?

@ohorvath Azure AD currently doesn't support workload identity federation with managed identity. This is work in progress and is being tracked in this issue. Here is some info in our faq: https://azure.github.io/azure-workload-identity/docs/faq.html#why-is-managed-identity-not-supported-by-azure-workload-identity.
For GA release, in addition to other features, we are also tracking workload identity federation for managed identity support in AAD.

Thanks, sounds good.

@aramase  - by when do you plan to GA launch the workload identity federation for managed identity support in AAD? Any timeline that can be shared. This is critical for our service launch. I can provide more details on the service if needed.

@aramase  : you sent a link to a closed item. can you reflect on the status here ?

@aramase : you sent a link to a closed item. can you reflect on the status here ?

@tshaiman which item is closed? This issue is open. I closed #808 as it's a duplicate of this.


Create 0010-regular-expression-matching.swift

File(s) Modified: 0010-regular-expression-matching.swift
Language(s) Used: swift
Submission URL: https://leetcode.com/problems/regular-expression-matching/submissions/1446515685/

Important
Please make sure the file name is lowercase and a duplicate file does not already exist before merging.

@drxlx Thanks for your contribution 👍


update dependencies and rebuild to remove XZ backdoor

removed old debug builds

after looking at the last ci build log, i found only our alpine linux and windows (msys) CIs are potentially affected
other platforms are using old xz version so not compromised

fixed in the new release

oops, it turned out macos build is using an untrusted version in the last release
fixed in: https://github.com/ookiineko/magiskboot_build/commit/b82789cb36478e84d4e87751a14eb171e4425cf1


Dangerous shared objects on cache miss

Hi, thanks for this.  I'm not sure I understand the need to clone though.

We had this situation :
two clients calling the same server at the same time with a cache miss. If one of the server logic modifies the cached data before returning it to the client also the second will found that change in the data

Seems like the client should do the clone operation since the cost of doing the clone in the cache manager might not be worth it for most people's situations.

Can be configurable in some way in order to maintain performance but my expected behavior is that I should not worry of other processes.
I'd say that this issue is only in the "wrap" section of the library, in the pure GET and SET this issue does not come up. So if is an optimization of the "wrap" should work.

I didn't think you could modify an object across processes.  Are these clients running in the same process?  In any case, it's possible to have multiple clients in the same process requesting the same data at the same time, so I'm ok with doing this if you make it configurable.

Coverage decreased (-1.4%) to 97.902% when pulling 714e9ac5c9bd5d97cc6fdd5b3e538bef9f165ea8 on Skillbill:master into dc3924c7545e4ba2204c62f2b808b6a3114dcbb4 on BryanDonovan:master.


Rename Solo to Solo8v2

There is a slight naming error right now in the package. When calling load("solo") it creates a Solo8. Note however, that "Solo" is the name of the quadruped platform as such, not of any specific robot.
Therefore, it would be better to have load("solo8"). Then, there are two versions of solo8: One with TI cards (called solo8v1) and one with udrivers (called solo8v2). They have different weights. It looks like the one in the repo is from the solo8v2 model.
Therefore, would it make sense to make load("solo") become load("solo8v2")?

For the first part, yes, we can rename "solo" into "solo8". I think we'll just need to keep "solo" working for a while, but with a deprecation warning.
For the second part, I'm not sure to understand your needs. For now, this project aims "to be used in benchmarking, unit-tests, teachings, tutorials or show-cases" ; but in those use cases, it doesn't really matter if there is a particular controller or another, and if the weight is changed a bit.
And for other robots, we are not always including all options regarding different lidars / grippers / IMUs etc. But maybe we need to discuss that, I don't know.

Thanks @nim65s for your input. Based on it I went with the name "Solo8" for now.  I created PR #93 for this.

Thanks for the merge @nim65s .
Would it be possible to make a new release that include the finger_edu and bolt?


visual editing: Business Process Model And Notation bpmn.io

file:///home/connolly/Desktop/dtc-10-06-02.pdf
https://www.omg.org/spec/BPMN/2.0/#docs-informative-supporting
https://bpmn.io/
people are still using it
https://forum.bpmn.io/t/create-a-new-property-panel-tab-and-add-dynamic-selectbox/4622
https://github.com/bpmn-io/bpmn-js

note section 12 E-Mail Voting Example of file:///home/connolly/Desktop/dtc-10-06-02.pdf

nicer tutorial https://camunda.com/bpmn/
and reference https://camunda.com/bpmn/reference/

68bac6e bpml BPML: grok 2 start events from pizza example
https://github.com/rchain-community/js2rho/tree/bpml
https://github.com/bpmn-io/bpmn-js-examples/blob/master/bundling/resources/pizza-collaboration.bpmn

current status:
connolly@jambox:~/projects/js2rho$ sbt test
[info] Loading settings for project global-plugins from plugins.sbt ...
[info] Loading global plugins from /home/connolly/.sbt/1.0/plugins
[info] Loading settings for project js2rho-build from plugins.sbt,metals.sbt ...
[info] Loading project definition from /home/connolly/projects/js2rho/project
[info] Loading settings for project js2rho from build.sbt ...
[info] Set current project to js2rho (in build file:/home/connolly/projects/js2rho/)

new console(`rho:io:stdout`)
in {
  for(_ <- _6-450) {
    console!("Order received")
    }
  | => bpmn2rho.PizzaOrderTest 0s
  |
  for(_ <- _6-61) {
    console!("Hungry for pizza")
    }

  }

[info] PizzaOrderTest:
[info] PizzaDoc
[info] - should be XML
[info] PizzaDoc
[info] - should compile to Rholang process
[info] PizzaProc
[info] - should print nicely
[info] Run completed in 412 milliseconds.
[info] Total number of tests run: 3
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 3, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 2 s, completed Apr 23, 2020, 12:41:48 PM

current status:
connolly@jambox:~/projects/js2rho$ sbt test
[info] Loading settings for project global-plugins from plugins.sbt ...
[info] Loading global plugins from /home/connolly/.sbt/1.0/plugins
[info] Loading settings for project js2rho-build from plugins.sbt,metals.sbt ...
[info] Loading project definition from /home/connolly/projects/js2rho/project
[info] Loading settings for project js2rho from build.sbt ...
[info] Set current project to js2rho (in build file:/home/connolly/projects/js2rho/)

new console(`rho:io:stdout`)
in {
  for(_ <- _6-450) {
    console!("Order received")
    }
  | => bpmn2rho.PizzaOrderTest 0s
  |
  for(_ <- _6-61) {
    console!("Hungry for pizza")
    }

  }

[info] PizzaOrderTest:
[info] PizzaDoc
[info] - should be XML
[info] PizzaDoc
[info] - should compile to Rholang process
[info] PizzaProc
[info] - should print nicely
[info] Run completed in 412 milliseconds.
[info] Total number of tests run: 3
[info] Suites: completed 1, aborted 0
[info] Tests: succeeded 3, failed 0, canceled 0, ignored 0, pending 0
[info] All tests passed.
[success] Total time: 2 s, completed Apr 23, 2020, 12:41:48 PM


Fix OSM file output for upload and elevation

This fixes two tiny issues with the OSM file outputs:

adds the tag upload="false" to discourage upload to OSM server. That's helpful when editing the maps using JOSM.
formats the elevation values using toJosmStyle. Otherwise, values with decimals such as 345.67 appear in the output file as <tag k="ele" v="345.67000000000002" />. With this fix, the output is as expected: <tag k="ele" v="345.67" />.

@poggenhans Could you please merge this PR? It's trivial yet valuable.
The elevation values like<PHONE_NUMBER>0000002 cause validation errors in JOSM about too many decimal points and cause other problems. Without this fix, we always have to manually apply the fixes in JOSM after creating a map. Thanks.

I've redone this from the latest master. There were some Git problems with this repository.
https://github.com/fzi-forschungszentrum-informatik/Lanelet2/pull/245


[Feedback]:  Metric alerts for Frontdoor service should use the microsoft.cdn/profiles metric namespace

Check for previous/existing GitHub issues

[X] I have checked for previous/existing GitHub issues

Description
The metric alerts for frontdoor found here: https://azure.github.io/azure-monitor-baseline-alerts/services/Network/frontdoors/ should use the microsoft.cdn/profiles metric namespace not the Frontdoor classic namespace of Microsoft.Network/frontdoors.

Hello @judyer28 ,
thanks for your feedback. I will make sure this will be addressed as soon as possible.
Thanks,
Bruno.

Hello @Brunoga-MS, thanks for looking into this issue.  I'm actually referring to what is visible on the AMBA site here:  https://azure.github.io/azure-monitor-baseline-alerts/services/.  There is no category for CDN.  Should this issue be tagged in some way to denote that this is an issue against the AMBA site versus the GitHub repo?
@JoeyBarnes

This is been fixed in #134

Thanks @JoeyBarnes


Upgrade to ical4j 2.0

ical4j 2.0 removes the dependency on backport java utils.  Would be good to see that dependency removed.

I second this.


struct Rav1dIntraPredDspContext::cfl_ac: Make an EnumMap over Rav1dPixelLayoutSubSampled

I'll do the same for the other array fields, but I need to make the enums for those first; this one already exists from before.

However, what does this actually enable with regards to safety improvements? Was this actually blocking anything or is this a readability improvement? We need to focus on only what is blocking memory safety improvements.

This was to remove the bounds check, since enums are restricted to only their values.  Since we're now focusing on getting everything safe first before ensuring we don't have perf regressions, I'll hold off on these types of changes until we get everything safe.  The improvement in readability/type safety is nice here, but was more of a secondary concern.


Rule Suggestion: Disallow comma operator in switch 'case' clauses

let arr = [];
switch(arr.length) {
  case 0, 1:
    return 'zero or one';
  default:
    return 'more than one';
}

This doesn't behave as expected (see https://github.com/Microsoft/TypeScript/issues/10802) even though it looks like it might

This would have saved me hours of pain as shown in https://github.com/Microsoft/TypeScript/issues/10802#issuecomment-245904797

This would of saved me from hours of pain as shown in https://github.com/Microsoft/TypeScript/issues/10802#issuecomment-245904797

I've started looking on this and I'm curious: should new rule enforce more strict checks for expressions in case clauses with set of options?
For example:

literals-only - allows only literals
no-comma - disallows coma operator in expressions
no-call-expressions - option which disables call expressions
no-binary-expressions - option which disables binary expressions

@JKillian, @RyanCavanaugh, @adidahiya, what do you think?

I can't think of a case where I've wanted an complex switch pattern. However, literals-only might be a bit of overkill, as you couldn't do this:
`
switch(someVar) {
case SomeEnum.VALUE_1:
...
}

We'll likely take https://github.com/Microsoft/TypeScript/issues/10814 so probably this rule won't be needed

I'm going to close this issue since TS is likely picking this up. If things change on the TS side (or even if it's just going to be a long time before this is implemented) this would be a great rule and we should implement it


Dark/Light mode is not working

https://github.com/user-attachments/assets/cc316713-1be4-47ac-b83e-25d9411933ca
Please assign this issue to me under gssso extd24 , hactober fest

Hi @Aman-G-upta , I have assigned this task to you. Kindly complete within 2 days. Also add a 30 sec demo video. Good luck!

I would like to work on this, kindly assign me this issue.

Gentle Reminder 🚨🚨
GSSoC-Ext 24 is going to complete in 2 Days. '
Complete your assigned Issues and PR reviews before time to get Points on Leaderboard. '
It was a great experience working with you all, Don't forget to ⭐ star the Repo (only 12 with 62 forks 💔) .
Thanks💗 for your valuable contributions!

Gentle Reminder 🚨🚨
PA and Mentor nominations have been started for GSSoC-Ext 2k24. '
Do share your experiences and connect on Socials. '
It was a great experience working with you all
Thanks💗 for your valuable contributions!


Block storage: correct steps order

To deploy block storage service i.e. cinder, we should first remove
the service entries from old deployments to avoid any issues in
the new RHOSO deployment.
For that we need to rewrite the steps to:

Deploy cinder-api pod
List all scheduler and backup services from old deployment
Remove the old scheduler and backup services
Deploy scheduler, volume and backup services
Perform DB migration

This will ensure that our RHOSO deployment is fresh and does not
contain traces of errors from services of old deployment.

recheck unrelated error while deploying standalone
+ ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -i /home/zuul/.ssh/id_rsa<EMAIL_ADDRESS>'rm -f /tmp/repo-setup.sh'
kex_exchange_identification: Connection closed by remote host
Connection closed by <IP_ADDRESS> port 22


CrashLoopBackOff due to: Failed to set nvme_core io_timeout

I downloaded latest openebs/mayastor. Running ubuntu on VM.. v5.15 kernel. Three worker nodes and all three have mayastor-csi-node pods in either error or CrashLoopBackOff state. All the other pods are "running".  The full error log  message is:
CSI Driver (csi-node) revision a6902de86c6b (v2.4.0+0)
2023-09-21T22:39:51.273345Z ERROR csi_node: Terminated with error, error: Failed to set nvme_core io_timeout: No such file or directory (os error 2)
at control-plane/csi-driver/src/bin/node/main.rs:44
The describe on one of these csi-node pods output is below. I am new to openebs and not sure how to proceed here.  Any ideas ? thanks for any info
$ kubectl describe pod mayastor-csi-node-d5jt2 -n mayastor
Name:         mayastor-csi-node-d5jt2
Namespace:    mayastor
Priority:     0
Node:         worker21/<IP_ADDRESS>
Start Time:   Thu, 21 Sep 2023 22:36:10 +0000
Labels:       app=csi-node
controller-revision-hash=648bbd4859
openebs.io/logging=true
openebs.io/release=mayastor
openebs.io/version=2.4.0
pod-template-generation=1
Annotations:
Status:       Running
IP:           <IP_ADDRESS>
IPs:
IP:           <IP_ADDRESS>
Controlled By:  DaemonSet/mayastor-csi-node
Containers:
csi-node:
Container ID:  docker://b5b2d205492bb18bde3b783f9b7ddb0f31423049ec3678d0f1daf13714742593
Image:         docker.io/openebs/mayastor-csi-node:v2.4.0
Image ID:      docker-pullable://openebs/mayastor-csi-node@sha256:f000b5666796618765fe9b39064c2821a44cd08ac046bf026eb1f81d5407d80c
Port:
Host Port:
Command:
csi-node
Args:
--csi-socket=/csi/csi.sock
--node-name=$(MY_NODE_NAME)
--grpc-endpoint=$(MY_POD_IP):10199
--nvme-core-io-timeout=30
--nvme-ctrl-loss-tmo=1980
--nvme-nr-io-queues=2
--node-selector=openebs.io/csi-node=mayastor
State:          Waiting
Reason:       CrashLoopBackOff
Last State:     Terminated
Reason:       Error
Exit Code:    1
Started:      Fri, 22 Sep 2023 01:59:55 +0000
Finished:     Fri, 22 Sep 2023 01:59:55 +0000
Ready:          False
Restart Count:  31
Limits:
cpu:     100m
memory:  128Mi
Requests:
cpu:     100m
memory:  64Mi
Environment:
RUST_LOG:        info
MY_NODE_NAME:     (v1:spec.nodeName)
MY_POD_IP:        (v1:status.podIP)
RUST_BACKTRACE:  1
Mounts:
/csi from plugin-dir (rw)
/dev from device (rw)
/run/udev from run-udev (rw)
/sys from sys (rw)
/var/lib/kubelet from kubelet-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-dljbz (ro)
csi-driver-registrar:
Container ID:  docker://aacc18020bb228c7e9e7925b57298ea1fa79974b4332f5f897aab9006d36bbb0
Image:         registry.k8s.io/sig-storage/csi-node-driver-registrar:v2.8.0
Image ID:      docker-pullable://registry.k8s.io/sig-storage/csi-node-driver-registrar@sha256:f6717ce72a2615c7fbc746b4068f788e78579c54c43b8716e5ce650d97af2df1
Port:          10199/TCP
Host Port:     10199/TCP
Args:
--csi-address=/csi/csi.sock
--kubelet-registration-path=/var/lib/kubelet/plugins/io.openebs.mayastor/csi.sock
State:          Running
Started:      Fri, 22 Sep 2023 00:52:46 +0000
Last State:     Terminated
Reason:       Error
Exit Code:    255
Started:      Fri, 22 Sep 2023 00:20:03 +0000
Finished:     Fri, 22 Sep 2023 00:51:39 +0000
Ready:          True
Restart Count:  2
Limits:
cpu:     100m
memory:  50Mi
Requests:
cpu:        100m
memory:     50Mi
Environment:
Mounts:
/csi from plugin-dir (rw)
/registration from registration-dir (rw)
/var/run/secrets/kubernetes.io/serviceaccount from kube-api-access-dljbz (ro)
Conditions:
Type              Status
Initialized       True
Ready             False
ContainersReady   False
PodScheduled      True
Volumes:
device:
Type:          HostPath (bare host directory volume)
Path:          /dev
HostPathType:  Directory
sys:
Type:          HostPath (bare host directory volume)
Path:          /sys
HostPathType:  Directory
run-udev:
Type:          HostPath (bare host directory volume)
Path:          /run/udev
HostPathType:  Directory
registration-dir:
Type:          HostPath (bare host directory volume)
Path:          /var/lib/kubelet/plugins_registry/
HostPathType:  Directory
plugin-dir:
Type:          HostPath (bare host directory volume)
Path:          /var/lib/kubelet/plugins/io.openebs.mayastor/
HostPathType:  DirectoryOrCreate
kubelet-dir:
Type:          HostPath (bare host directory volume)
Path:          /var/lib/kubelet
HostPathType:  Directory
kube-api-access-dljbz:
Type:                    Projected (a volume that contains injected data from multiple sources)
TokenExpirationSeconds:  3607
ConfigMapName:           kube-root-ca.crt
ConfigMapOptional:
DownwardAPI:             true
QoS Class:                   Burstable
Node-Selectors:              kubernetes.io/arch=amd64
Tolerations:                 node.kubernetes.io/disk-pressure:NoSchedule op=Exists
node.kubernetes.io/memory-pressure:NoSchedule op=Exists
node.kubernetes.io/network-unavailable:NoSchedule op=Exists
node.kubernetes.io/not-ready:NoExecute op=Exists
node.kubernetes.io/pid-pressure:NoSchedule op=Exists
node.kubernetes.io/unreachable:NoExecute op=Exists
node.kubernetes.io/unschedulable:NoSchedule op=Exists
Events:
Type     Reason   Age                    From     Message

Warning  BackOff  3m40s (x300 over 68m)  kubelet  Back-off restarting failed container

Seems your node does not have the nvme kernel driver loaded?
https://mayastor.gitbook.io/introduction/quickstart/prerequisites

yes.. forgot to update ..this was it .. had to add nvme controller ..thanks

Cool, thanks for confirming


Compute Head and Tail Prediction on FB15K dataset

I want to check the Prediction Head and Prediction Tail (Hits@10) on different types of relation like 1-to-1, 1-to-N, N-to-1 and N-to-N of TransD model like the results mentioned in the paper. How can I perform the Head and Tail Prediction on 1-to-1, 1-to-N, N-to-1 and N-to-N of relations of FB15k dataset?

Hi,
You can follow this nice script to split test data into 1-to-1, 1-to-N, N-to-1, and N-to-N: https://github.com/thunlp/OpenKE/blob/OpenKE-PyTorch/benchmarks/FB15K/n-n.py
And set them as your test data.
For prediction head and prediction tail, you can set use test_dataset_list to [test_dataloader_head] or  [test_dataloader_tail].

Hello. I used the script and create the text files of 1-to-1, 1-to-N, N-to-1, and N-to-N. Where I apply this, will you please elaborate it:
prediction head and prediction tail, you can set use test_dataset_list to [test_dataloader_head] or [test_dataloader_tail]?
Head and tail as (test_dataloader_head and test_dataloader_tail) are not in a separate files, so where I can find it?

Hi,
You can
use test_dataloader_head + 1-to-1 and test_dataloader_tail+ 1-to-1 to evaluate 1-to-1 in prediction head and prediction tail,
use test_dataloader_head + 1-to-N and test_dataloader_tail+ N-to-1 to evaluate 1-to-N in prediction head and prediction tail,
use test_dataloader_head + N-to-1 and test_dataloader_tail+ 1-to-N to evaluate N-to-1 in prediction head and prediction tail,
and use use test_dataloader_head + N-to-N and test_dataloader_tail+ N-to-N to evaluate N-to-1 in prediction head and prediction tail.
So, to get all 8 evaluation scores in this table, you will need to run the model for 8 times.

I understand a bit but having one confusion. what is test_dataloader_head and test_dataloader_tail?
Where I can find it? or I have to create it from train2id by separating all heads and tails?

Hi, it's in this line: https://github.com/DeepGraphLearning/KnowledgeGraphEmbedding/blob/2442e8b9bb1a40e44edabcb3cc4f145ac24b1c7b/codes/model.py#L374

@Edward-Sun Thanks Sir.


support inheritance across modules. Issue #808.

This PR:

fixes issue #808. The BK AP can use a super class that was already compiled in a different module. It checks for the view binder of such classes, and looks at some extra properties of the binder to ensure the subclasses are generated correctly (whether they need a context to bind views or not).
add a simple inheritance unit test. It uses a base class that is precompiled to simulate that the super class of a class under test could already have been compiled in a different module.
changes the sample (here, I am wondering how you guys do to change the sample before releasing..)

We would appreciate your feedback on this PR about both the idea of the solution and its implementation, tests, etc.

shopquannamdangcap

Hi


fix: remove npm-shrinkwrap.json for greenkeeper

Current coverage is 98.90% (diff: 100%)

Merging #14 into master will not change coverage

@@             master        #14   diff @@
==========================================
  Files             8          8
  Lines            91         91
  Methods          19         19
  Messages          0          0
  Branches          8          8
==========================================
  Hits             90         90
  Misses            1          1
  Partials          0          0

Powered by Codecov. Last update 6f39495...ca432e5


GH Workflow telemetry

Could be interesting to try this github action workflow.
https://github.com/catchpoint/workflow-telemetry-action
It should spit out runner telemetry over our runs and give us better insight on VM/BM utilization

fyi @ayerofieiev-tt @tt-rkim @TT-billteng

https://github.com/tenstorrent/tt-metal/actions/runs/10607719117
https://github.com/tenstorrent/tt-metal/actions/runs/10607755986
Example runs:
scroll down in the summary section

This is great - it would output a LOT for smth like post commit, but I'm sure devs don't read too much into it unless they need to. Love it

this is great! can we just add it to prepare-metal-run composite action and call it a day?


generalization of output + adding tddft example

This PR aims to:

replace the tiny parsing of cclib in plugin parser with full parsed data. Initially, I have done that the other way as there was an issue storing dictionary with nan values. For more detail see:
https://github.com/aiidateam/aiida-core/issues/3450
https://github.com/aiidateam/aiida-core/issues/2412
I have put a function in parser which removes such values and therefore, decided to have all parsed data by cclib stored in output_parameters. Then, we can do more parsing and filtering and any other logic at the workchain level.

It also solves #17

Codecov Report

Merging #21 into master will decrease coverage by 0.15%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master      #21      +/-   ##
==========================================
- Coverage   97.41%   97.26%   -0.16%
==========================================
  Files           4        4
  Lines         155      146       -9
==========================================
- Hits          151      142       -9
  Misses          4        4

Impacted Files
Coverage Δ

aiida_orca/parsers/__init__.py
92.85% <100.00%> (-1.27%)
:arrow_down:


question about hmac_sha* key size

Hi,
With current libspdm implementation[1], it seems that we assume hmac_sha* key has same size as hash size. Is it required by SPDM specification? HMAC specification itself(https://www.rfc-editor.org/rfc/rfc2104) does not require such key size vs. hash size dependency.
[1]
https://github.com/DMTF/libspdm/blob/main/library/spdm_secured_message_lib/libspdm_secmes_session.c#L1107

Symmetric keys are the output of HKDF functions whose output size is the size of the hashing algorithm.
finished_key = HKDF-Expand(handshake-secret, bin_str7, Hash.Length);

Since HMAC can take nearly arbitrary sized keys the assumption is that it would be the same size as the hashing algorithm, but the specification does not say that explicitly. I'll file an issue against it.

Actually that's contained in the Hash.Length argument above, so I'm not sure if the specification needs a statement to the affect of

The size of finished_key shall be the size of the negotiated hashing algorithm.

@jyao1 what do you think?


Move over Shuffle

So far we've migrated two pieces of sizable functionality

Apply-concat-apply
Read_parquet

The next chunk I think it would be good to move over is shuffling.
It would also be nice if we could simplify things as we move them over.  In at least the ACA case (the only one I have real knowledge of) the code got significantly simpler (my guess is 25% the original size).  My hope is that we could do something similar with shuffling as well.

@rjzamora I'm not sure what you're excited about next, but from my perspective this would be a good candidate

Yes - I'll attack this next.
Related thought: Perhaps we should use P0-P2 labels to coordinate/agree on the highest priority items? Or maybe allow priority discussion/rationalization in a "meta" issue?

🤷♂ happy either way.  Right now there aren't that many issues, and there
aren't that many of us, so I'm inclined to continue handling this ad-hoc.
If labels would help you though then I'm game to do that.
On Wed, Apr 12, 2023 at 10:46 AM Richard (Rick) Zamora <
@.***> wrote:

Yes - I'll attack this next.
Related thought: Perhaps we should use P0-P2 labels to coordinate/agree
on the highest priority items? Or maybe allow priority
discussion/rationalization in a "meta" issue?
—
Reply to this email directly, view it on GitHub
https://github.com/mrocklin/dask-match/issues/10#issuecomment-1505507748,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AACKZTCFHOEO3CXXC6FFPYLXA3E3XANCNFSM6AAAAAAWMJ5YGA
.
You are receiving this because you authored the thread.Message ID:
@.***>

All three shuffle routines ("tasks", "disk", "p2p") have been ported at this point.


Tyk Operator list of 3rd party ingress controllers

One more ingress Controller to add to the list of 3rd party Ingress providers.

/sig network

/approve


Beta

2020.12.15 Ver 0.15 IOT-House_zero_w_0.15 we were released.

2020.12.15 Ver 0.15 IOT-House_zero_w_0.15 we were released.


Import events periodically?

This is a great plugin that's going to really improve my workflow, thanks @sawhney17!
Is there a way to automate the import, so that e.g. it runs whenever Logseq is started, and/or periodically? If I have to press the button to import there's a good chance I will forget, which somewhat defeats the purpose.
Thank you!

Yes this would be very usefull


Allow the use of the babel-runtime transformer

For some features the Babel runtime is required. However, there is no way to configure applying the runtime transform when using babel-jest.

If you need finegrained control over Babel options then just copy and paste the current script preprocessor.


Handle app.json file

When trying to deploy I receive a KeyError: key not found: "SOME_ARBITRARY_CONFIG_VAR_HERE" in my build log. I guess this is because you don't handle the app.json file? In our project we have a lot of config variables that our application needs.
Can you think of a way to extract the config variables from the app.json file or do you have a workaround?

Did you already set this config on Heroku using something like heroku config:set or from the UI?

That might explain the Redis::CannotConnectError I get during the setup of the asset pipeline since the Redis addon requirement is declared in my app.json file.

@amessinger Yeah that's the article I have open as well. I'll check on it later but if you find a solution, feel free to send a PR 🙏🏽

Hey @jimmypoulsen @amessinger I've made some enhancement. Can you pls try it out using this version<EMAIL_ADDRESS>Let me know if it works well for you. The only new thing you need to do is pass a use-app-json: true as an input parameter. E.g:
on:
  pull_request:
    types: [opened, reopened, closed, synchronize]

jobs:
  hello_world_job:
    runs-on: ubuntu-latest
    name: A job to test custom actions
    steps:
      # To use this repository's private action,
      # you must check out the repository
      - name: Checkout
        uses: actions/checkout@v3
      - name: Deploy app action step
        uses<EMAIL_ADDRESS>        # uses: ./actions-composite
        id: deploy
        with:
          api-key: ${{ secrets.HEROKU_API_KEY }}
          pipeline-id: ${{ secrets.HEROKU_PIPELINE_ID }}
          app-name-prefix: getting-started
          region: eu
          # stack: heroku-18
          use-app-json: true
      # Use the output from the `deploy` step
      - name: Get the output url
        run: echo "The URL is ${{ steps.deploy.outputs.url }}"
      - name: Comment on commit
        uses<EMAIL_ADDRESS>        with:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
          COMMENT_IDENTIFIER: "Deploy"
          message: |
            I deployed a review app for you to try out this pull request 👇🏽

            Heroku App: ${{ steps.deploy.outputs.url }}

@guioconnor  Do you have the buildpack defined in the app.json? Does this happen for the first build i.e when the PR was opened/reopened?

Hi again, I spend some time trying to improve your action but in the end I'm not knowledgeable enough in how Heroku works so I looked for another solution and ended up using https://github.com/matmar10/heroku-review-app.
Thanks for your initiative and support, have a great rest of the day!

@pmbanugo yes and yes.

@guioconnor Can you try again using v1.2.0? Set use-app-json: true, then close and reopen the PR. I tried it and the buildpacks in the app.json are detected and used. If you still get error you could create an app that I can use to reproduce the error.

Fixed in https://github.com/pmbanugo/heroku-review-app-actions/pull/8
Closing the issue because the 1.2.0 release now supports handling app.json.

@pmbanugo Sorry, I was AFK over the weekend. I tried this morning and something is failing but I haven't looked much into it because I've been exploring the solution proposed by @amessinger

@pmbanugo Works! Thank you so much ⭐

@pmbanugo
I have returned to this action for some more testing. V1.0 successfully creates the app but —as expected— doesn't use app.json. On the other hand 1.2 consistently errors with
{"id":"conflict","message":"The app and pipeline do not have the same owner. Consider transferring the app to the pipeline's owner before trying again."}
even though the step is marked as successful.

@guioconnor  Can you pls create a new issue for that? I think I'll need to pass in the pipeline owner in this case.

@guioconnor I guess it's related to https://github.com/pmbanugo/heroku-review-app-actions/issues/7 but I would need more info to be able to reproduce the error and provide a better solution. For example, if you have app.json, or if using the API from the team owner, etc.

@pmbanugo done #9


Query: SubQueryMemberPushDown optimization is too aggressive, which may lead to invalid sql or data corruption

Part of QM optimization is SubQueryMemberPushDownExpressionVisitor, which pushes down member from outside subquery into it. This way we get much simpler QMs and are able to translate more queries fully to sql. Problem is that we are doing it too aggresively, e.g. query:
from l1 in ctx.LevelOne
select (from l3 in ctx.LevelThree
		orderby l3.Id
		select l3).Distinct().Skip(1).FirstOrDefault().Name

with the following QM (before optimization):
from Level1 l1 in DbSet<Level1>
select
    (from Level3 l3 in DbSet<Level3>
    order by [l3].Id asc
    select [l3])
    .Distinct()
    .Skip(1)
    .FirstOrDefault().Name

will get "optimized" to:
from Level1 l1 in DbSet<Level1>
select
    (from Level3 l3 in DbSet<Level3>
    order by [l3].Id asc
    select [l3].Name)
    .Distinct()
    .Skip(1)
    .FirstOrDefault()

which is wrong. This produces invalid sql, but even if the sql would be valid, results would be incorrect - Distinct is now applied on the Name, rather than entity itself, which will produce unexpected results if the Name has duplicated values
We should not perform the pushdown if Distinct is present in the subquery ( other operators also? Intersect, Except, Union)

@maumar Do you think you can get this merged today?

I hope so, hit a bunch of issues yesterday and today but I think I finally got it

fixed in 3f8baeb79de4edda654b0674d46bdb3e48a18a02


[Set Audio Device] ... Doesn't set favorite audio device M1 and intel Mac

Extension
https://www.raycast.com/benvp/audio-device
Description
Hello,
Appreciate the Reycast as well rich library of extension it brings to the table. Really impressed by productivity boost and ease of use.
Would like to clarify one particular problem. Currently experiencing the problem trying to set audio input/output device as favorite with Set Audio Device extention.
Maybe I am just not understanding a concept of "setting favorite device in Preference" - is it meant to be MacOS preferences or Reycast Preferences?
The problem is the following: In macOS (14.1 Sonoma) on both - Macbook Pro Intel (2019) and M1 MAX (2021) - I select an audio input/output device in Mac -> Sound preferences -> Open Reycast -> Trigger "Set Output Device to Favorites" and get this error:

Could someone take a look at this issue?
P.S: It might be just my missunderstand.
Thanks!
Steps To Reproduce

Open Mac Sound settings output tab
Select output device
Open Reycast and execute "Set Output Device To Favorites"
Get error: "No favorite output audio device specified"

Current Behaviour
No response
Expected Behaviour
No response

I've set my "Favourite Output Device" in the extensions settings...

but I get an error running "Set Output Device to Favourite"

we need a new set audio device extension 👀


Add deref (with target &[Capability<T>]) and from_elem to CapabilitySet

from_elem allocates a CapabilitySet containing a single capability.
This is useful when making a CapabilitySet out of the default
capability provided to a new operator (as shown in the example for
from_elem).
This is an ergonomics improvement. from_elem is the same name used
in Antichain:
https://github.com/TimelyDataflow/timely-dataflow/blob/8f0c22b1523784e28d3ac6e5eab30fa6d0a03839/timely/src/progress/frontier.rs#L73-L82
deref lets the operator use the capabilities in the set to e.g. open a
session and send messages (again, as shown in the example for
from_elem).

This looks good to me; thanks very much!

I've added a commit that derives Clone (which does the obvious thing of cloning the capabilities) and Debug.


Classes does not work for Components with special chars in display name

The new prefix for the generated classes that use the display name of the decorated components are not being sanitized.
For example:
Decorated class display name "SomeOtherDecorator(Test)"
Generated classes ".SomeOtherDecorator(Test)-root-0-1"
The parenthesis in the classes is causing the problems here.
Suggested solution: Parse the display name of the component to remove the special characters.

Or escape the chars.

I was checking the code and thinking about the issue, it seems to be a jss issue instead of a react-jss issue. What do you think?

Also the escaping needs to be done in dev mode only, because in production we build short class names.

Issue moved to cssinjs/jss #624 via ZenHub


[3.x] Cache EditorResourcePicker's allowed types

Mitigates https://github.com/godotengine/godot/issues/51188 by caching the types which the picker allows based on the base types. This means that the first time a new kind of node is selected, it will still hang, but from that point on there will be no freezes for a picker with the same type.
So for example, in a simple scene where you have a Sprite node and a CPUParticles2D node clicking on the particles will freeze for a bit, but then dragging and reselecting will work just fine. If you then select the sprite afterwards it won't freeze either, because it only has pickers for Texture resources, which would already be cached from clicking on CPUParticles2D. However, if upon loading the scene you click on the sprite first, and then on the particles, it will freeze a bit both times, as particles have other types of pickers too.
This doesn't solve the freezing completely, but it makes it less severe and more predictable. Unfortunately, as it stands, we need to do the run for each base type at some point, even to cache it. This cache is also valid for the entirety of the editor uptime — a restart is required to capture newly class_named scripts. But this is already an existing limitation for some editor features so while not ideal doesn't introduce a new regression.
Ultimately, it's better to have support for custom types at least like that, because previously it was even more limited.

I'll take a look if this should also be done in master in a bit.

Thanks!


Connections close by themselves after a while?

I have a simple rails app on a staging server, served using passenger5+apache2.4 and when i start it up, RabbitMQ's connections tab shows two connections. I verify it's that server via the IP address that show sup. I'm guessing Hutch opens two separate connections? I run Hutch.connect from an initializer and I read my settings from a config yaml file.
Now the server is sitting behind an amazon elb, and after I leave it for about 5-10 minutes (i.e. the only requests hitting the server are the aws health checks, which get returned 200), RabbitMQ shows only 1 connection from that server. Then after another 5-10 minutes, it shows 0 connections! I then test this by hitting the Rails app at an endpoint that calls Hutch.publish and, as expected, no message is seen by my consumer or rabbitmq's admin console.
Can someone explain this or does it require more info about the staging environment? Is there something in the background that's causing this?

@potato20 we cannot suggest much without seeing RabbitMQ log files but in 95% of cases it's the load balancer that closes connections that it considers to be stale or inactive. Enable heartbeats with a timeout value of 10 or so, that will keep TCP load balancers with sane timeout values happy.

By default heartbeat intervals are 580 seconds (prior to RabbitMQ 3.6.0) or 60 seconds (3.6.0 and later versions). Clients can override this value.

I wasn't aware elb closes tcp connections it was no business with? The idle timeout is at 60 seconds but i thought that only dealt with tcp connections between the server the the elb, not the server and external services??
Regardless, I was using rabbitmq 3.5.6, and setting heartbeat to 10 in the config did not stop the issue.

@potato20 load balancers certainly can close connections they consider to be inactive. Again, we can only speculate without seeing your code or RabbitMQ log files. Passenger forks processes and that affects open sockets (open file handles in general, actually), as mentioned in Bunny documentation. So make sure you connect in the worker process.

I've followed Bunny's docs and established the connection in the worker process. It's been two hours doing just elb health checks and some serving, and the connections are stable, I'm guessing that was the solution. Perhaps it's worth mentioning how to connect Hutch for servers like passenger.
Thanks!


Issue #SB-7129 feat: Reviewer comments plugin outline

@manjudr , @vinukumar-vs , Please review the PR and let me know your comments.


Clear command in pwsh terminal leaves extra dot

On the latest Insiders on Win10:

Run some commands in a pwsh terminal with shell integration enabled. I narrowed the terminal so that I had a multiline prompt.
Run a clear command.
:bug: There's a dot that seems to be left behind.

Yep, fixed in OSS off of main 😄

/duplicate of https://github.com/microsoft/vscode/issues/143784


Cant scan any files

Hi hoping I could get some help, I just installed following the guide at https://www.htpcguides.com/install-comicstreamer-windows-for-personal-comic-server/.
Windows 10 is OS
Everything is working and I add my folders, just doing a couple to test it out so only about 30 comics.
However home just states:

Scan status: SCANNING
Monitor: 30 new files to scan...

and nothing ever gets added.
I read the other issues and installed unrar in python in case that was it but still no luck.
CHecked my installed packages in python and got the following:

[u'argh', u'backports-abc', u'configobj', u'futures', u'natsort', u'pathtools', u'Pillow', u'python-dateutil', u'PyYAML', u'singledispatch', u'six', u'SQLAlchemy', u'tornado', u'unrar', u'watchdog']

So all requirements seem meet.
Comic files are .cbr and have been scanned/tagged by ComicRack previously. FOlder/file structure is

Publisher/Title/Volume/Title (volume) ##.cbr

Going to folder tab shows folders are there:

g:\my comics\451 media group
g:\my comics\ahoy comics

Tried generating an API key and but that doesnt seem to do anything different. logs currently show as:

2019-08-03 13:14:29,993 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 0.00ms
2019-08-03 13:14:28,990 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 0.00ms
2019-08-03 13:14:27,957 - DEBUG - 304 GET /comic/0/thumbnail?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 3.00ms
2019-08-03 13:14:27,947 - DEBUG - 200 GET / (::1) 13.00ms
2019-08-03 13:14:26,180 - DEBUG - 200 GET /log (::1) 7.00ms
2019-08-03 13:14:25,440 - DEBUG - 304 GET /about (::1) 9.00ms
2019-08-03 13:14:25,085 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 0.00ms
2019-08-03 13:14:24,081 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 1.00ms
2019-08-03 13:14:23,075 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 1.00ms
2019-08-03 13:14:22,069 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 1.00ms
2019-08-03 13:14:21,063 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 0.00ms
2019-08-03 13:14:19,966 - DEBUG - 304 GET /comic/0/thumbnail?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 4.00ms
2019-08-03 13:14:19,950 - DEBUG - 200 GET / (::1) 15.00ms
2019-08-03 13:07:35,418 - DEBUG - 200 GET /log (::1) 11.00ms
2019-08-03 13:07:34,595 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 0.00ms
2019-08-03 13:07:33,592 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 0.00ms
2019-08-03 13:07:32,588 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 1.00ms
2019-08-03 13:07:31,581 - DEBUG - 200 GET /scanstatus?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 0.00ms
2019-08-03 13:07:30,526 - DEBUG - 304 GET /comic/0/thumbnail?api_key=2eb70e82c8c1a8e08f0d8600cd511f0c (::1) 92.00ms
2019-08-03 13:07:30,401 - DEBUG - 200 GET / (::1) 56.00ms
2019-08-03 13:07:03,818 - INFO - Monitor: 30 new files to scan...
2019-08-03 13:07:03,818 - DEBUG - Monitor: removing already scanned files from file list
2019-08-03 13:07:03,818 - DEBUG - Monitor: found 30 files to inspect...
2019-08-03 13:07:03,818 - DEBUG - Monitor: Done removing files.
2019-08-03 13:07:03,818 - DEBUG - Monitor: Removing missing or modified files from DB...
2019-08-03 13:07:03,818 - DEBUG - Monitor: done listing files.
2019-08-03 13:07:03,818 - DEBUG - Monitor: sorting recursive file list (30 items)
2019-08-03 13:07:03,709 - DEBUG - Monitor: Making a list of all files in the folders...
2019-08-03 13:07:03,709 - INFO - Monitor: Beginning file scan...
2019-08-03 13:07:03,693 - WARNING - Cannot run bonjour server!  Maybe some packages need to be installed?
2019-08-03 13:07:03,693 - DEBUG - Bookmarker: started main loop.
2019-08-03 13:07:03,693 - DEBUG - Monitor: started main loop.
2019-08-03 13:07:03,693 - DEBUG -    u'g:\my comics\ahoy comics'
2019-08-03 13:07:03,693 - DEBUG -    u'g:\my comics\451 media group'
2019-08-03 13:07:03,693 - DEBUG - Going to scan the following folders:
2019-08-03 13:07:03,677 - INFO - Stream server running on port 32500...

Any help would be appreciated.

I'm having this issue also. It was working before. I can see folders but "no comics". wonder why

hey not sure if this place is still supported, but I went to the "Control" page and clicked "Restart" and now it's seemingly scanning and finding comics.


GPC-NONE: Remove unneeded s3 policies

Trivy says no, and I'm inclined to go with it. Somehow the per bucket settings and the account settings are decoupled in the console. I assume the account settings win otherwise there's no point, but if we were ever to remove the account setting because we actually wanted a public bucket (can't think why) then having them on every bucket would be a good thing