"protein anchor" is restricted to membrane anchoring

spotted this outstanding part of  this closed ticket:
https://github.com/geneontology/go-ontology/issues/13348#issuecomment-294179238
It seems strange that we have a MF term for "protein anchor" which is restricted to "anchoring to membrane" but we have "anchoring" process terms which apply to the cortex. It seems that we could use the MF term "protein anchor" to apply to gene products that function as protein anchors in contexts other than "anchoring to membrane".
Suggest that the term name of "protein anchor" is revised to "extrinsic membrane protein anchor" or something else specific to this particular context ?

has it been used only for membrane protein contexts?

actually it' a mixture of problems
we have process terms for cortical anchoring
http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0032065
but function terms for membrane anchoring....
http://www.ebi.ac.uk/QuickGO/GTerm?id=GO:0043495
we need to decide if it's a process of a function and bring together different types of "anchor protein". This probably comes under "MF refactoring" umberalla?

Not sure if it will come under MF refactoring. I am hesitant to change any term name without first knowing if the term has been used only in the context of the name it will be changed to. Otherwise, annotations have to be re-considered.

I would think the function term '"membrane protein anchor" would have a relationship to
maintenance of protein location in membrane
Any process in which a protein is maintained in a specific location in a membrane, and is prevented from moving elsewhere.
is-a 	 maintenance of protein location in cell
part of  protein localization to membrane
Biological Process
GO:0072658

Perusing  the current annotations in Amigo, one will need to look at the papers to confirm these are used in the context of anchoring to a membrane;
Excluding the IEA annotation, there are around 319 coming from the PAINT pipeline, and about 41 with some sort of experiment based annotation; a few TAS, and some orthology based.
If we change the name, do we need a "cortex anchor" function term (or maybe 'non-membrane protein anchor;
A problem is "cell cortex" sounds very very close to the plasma membrane: 'The region of a cell that lies just beneath the plasma membrane and often, but not always, contains a network of actin filaments and associated proteins'

GO:0043495
Name | protein anchor
Ontology | Molecular Function
Definition | Interacting selectively and non-covalently with both a protein or protein complex and a membrane, in order to maintain the localization of the protein at a specific membrane location.
Because this is defined  as anchring to a membrane, I think we have to assume that it has been used correctly for "anchoring to membrane"
However this is not the ONLY type of protein anchor.
I think the best thing to do right now is  just to  rename
"protein anchor" to "protein membrane anchor"
This means that the term name matches the definition more closely and it will be less likely to be used incorrectly.
This also frees up "protein anchor" for if we want a grouping term later for "anchors"
like "coritical anchors".
Then you could close this one and we could revisit later  in the context of "is anchoring a function or a process" !

done


Routes to get events from conversations and agent messages

FYI ~ 20 files in our api routes using .findOne => this is why I was misled

Fixed and agree it's better this way
however, we have Model.findOne in ~ 20 of our api routes in front so if we believe it's important to avoid, we should refactor that in the future


Bug: The Home option in the Nav bar is not working

https://github.com/SiddharthBahuguna/NEWS-AGGREGATOR-PROJECT/assets/155231566/04a4ebdf-1658-460e-a2ee-bd2fa4d4c92a
I would like to link this home button to the home page and add a bookmarks page as well
please assign this issue to me

#159 /assign to me


[chip_if]-fixed force adc_d_o method and added method to test

Changed force_adc_d_o method in chip_if to force `AST_HIER.adc_d_o directly.
Switched uvm_hdl_force with said method in a chip_sw_adc_ctrl_sleep_debug_cable_wakeup_vseq sequence.

@thouri just curious, do you know why did we write bit by bit force initially?

@thouri just curious, do you know why did we write bit by bit force initially?

I did it bit by bit, but it didn't work so I changed it.


Add ability to overwrite analytics code

We have global setting for whole page with analytics code, but each event can have its own code. If event has one make sure event code is rendered instead of the global one.

I'm taking this one issue.

PR merged


Add an inspect option that expresses useful suggestions/warnings/errors

For example, a user should be able to pass a VC to inspect (bikeshed) and it should output warnings if any of the terms used in the data were not @protected in the context.

We may also want a flag for sign that would enforce the @protected requirement.

jsonld.js has a brand new work-in-progress 'eventHandler' feature that can be expanded to be used for use cases like this.

Closing as this is being addressed by other features elsewhere and the new safe mode is in place that generates more useful errors already.


Cover uncovered areas with tests

[x] Skipping benned control elements
[x] Nesting<form>
  <input name="firstname" />
  <fieldset name="user">
    <input name="firstname" />
  </fieldset>
</form>

[x] remove useless wrappers
[x] remove screen from testing library
[x] update readme with lates api changes

Updates JS playgrounds on stackblitz.com


Please clarify "Windows Settings details"

In the section "Windows Settings details" it is unclear in the first 2 paragraphs what is meant by "Other entries" and what are "Settings Group column"
If "Other entries" refers to the "Sync your settings" on/off switch called "Other Windows settings" it should say this instead, and otherwise clarify what is mean by "Other entries".
If "Settings Group column" refers to the first column in the table below, that column is called "Settings", not "Settings Group".  I just don't understand what is written to describe this table.
Finally in the table, there should be legend that defines what the terms "sync", "backup", and "sync backup" mean, and what some of the words under the Group column are capitalized or not - I assume capitalized means it is one of the "Sync your settings" on/off switches, but then there is both language and Language, but no "Language preferences".
As written it leaves a lot for me to assume an interpretation of.
Thanks

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4459a0c8-0451-bbdf-3d2f-f62f46dc2240
Version Independent ID: 7ebbbee6-1bd2-de5a-aabf-978d12099f3f
Content: Windows 10 roaming settings reference - Azure Active Directory
Content Source: articles/active-directory/devices/enterprise-state-roaming-windows-settings-reference.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@giterdn  Thanks for reaching out. We will investigate and update the thread accordingly.

@MicrosoftGuyJFlo  Could this be clarified ?

#please-close no response from product group

#please-close no response from product group

Personally, I would have re-sent the request before closing due to no response.  There isn't incentive to provide feedback to articles otherwise.

Personally, I would have re-sent the request before closing due to no response.  There isn't incentive to provide feedback to articles otherwise.

I have. I am sorry. I have followed up multiple times with the Product Group to no avail. If you want to email me I am happy to chat offline. Email is in my profile.

I have. I am sorry. I have followed up multiple times with the Product Group to no avail. If you want to email me I am happy to chat offline. Email is in my profile.


Incorrect && and || interpretation

Type 'evaluate (true||false||false).
The output is false.
The same issue is true for 'evaluate (false&&false&&true)'.
The output here is true. :(

Issue fixed.


DMA move API tracking issue

Basics

#1716
#1719
#1856
#1976

Peripheral support

[x] SPI master
[ ] SPI slave
[x] I8080 #2191

#2268

[x] Camera #2242
[ ] AES
[ ] PARL IO
[ ] I2S

Buffer features

#2161
[ ] Support other slice types besides u8.
[ ] Support configuring burst mode
[ ] Support configuring the "check descriptor ownership" feature on the DMA channel
[ ] Support configuring the ownership write back feature in the DMA channel
[ ] Allow users to create the Preparation struct (make it public)
[ ] Expose an unsafe constructor for people to create buffers on the stack.
[ ] Place the buffer view methods in internal ram since they're likely to be called in interrupts

Buffer types

[ ] DmaTxStreamingBuf
[ ] DmaTxCircularBuf
[ ] DmaRxCircularBuf
[ ] Compressed buffer? Not sure if this should be in the hal

I thought we might want to track work that needs to be done in this area, but I'm unsure what that work actually is.

I've added all the stuff I had at the back of my mind


websocket_push example fails

Hello,
I'm trying to run the websocket_push.py example but I encounter two issues:

flask_sockets is required to run the process (although missing from requirements.txt).
After installing flask_sockets I get this:

werkzeug.routing.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
2021-12-23T23:51:28Z {'REMOTE_ADDR': '::1', 'REMOTE_PORT': '32888', 'HTTP_HOST': 'localhost:5000', (hidden keys: 31)} failed with WebsocketMismatch

Do I need to do some preparation work prior to running the example?

The is expected behaviour. I didn't include that package in requirements, as it is only use in the example itself.
That shouldn't be necessary, it should just work out of the box. What OS and Python version are you on? I haven't seen that error before (I tested on Ubuntu).

Python 3.9.5
Ubuntu 21.04
I'm running the script in a venv based on the requirements.txt and the additional flask_sockets.
I believe the error comes from the flask_socket library. See full traceback below:
Traceback (most recent call last):
  File "/home/harisbal/Programming/dash-websocket/.venv/lib/python3.9/site-packages/gevent/pywsgi.py", line 999, in handle_one_response
    self.run_application()
  File "/home/harisbal/Programming/dash-websocket/.venv/lib/python3.9/site-packages/geventwebsocket/handler.py", line 75, in run_application
    self.run_websocket()
  File "/home/harisbal/Programming/dash-websocket/.venv/lib/python3.9/site-packages/geventwebsocket/handler.py", line 52, in run_websocket
    list(self.application(self.environ, lambda s, h, e=None: []))
  File "/home/harisbal/Programming/dash-websocket/.venv/lib/python3.9/site-packages/flask/app.py", line 2091, in __call__
    return self.wsgi_app(environ, start_response)
  File "/home/harisbal/Programming/dash-websocket/.venv/lib/python3.9/site-packages/flask_sockets.py", line 40, in __call__
    handler, values = adapter.match()
  File "/home/harisbal/Programming/dash-websocket/.venv/lib/python3.9/site-packages/werkzeug/routing.py", line 2039, in match
    raise WebsocketMismatch()
werkzeug.routing.WebsocketMismatch: 400 Bad Request: The browser (or proxy) sent a request that this server could not understand.
2021-12-24T11:12:56Z {'REMOTE_ADDR': '::1', 'REMOTE_PORT': '51696', 'HTTP_HOST': 'localhost:5000', (hidden keys: 31)} failed with WebsocketMismatch

I figured it out. Using Werkzeug==1.0.1 solved the issue. However, many other dependencies had to be downgraded too (e.g. Flask 2 cannot be used). I understand that the implications may be significant but could flask-socketio be used instead of flask_sockets (which seems like an abandoned project)?

I believe so. This was just a small example to demo the usage that I put together when the component was implemented. I would be happy to look at a PR, either with a comment on dependencies needed or a more up to date example.


Add ability to disable autofocus on modals

Description
This PR adds the ability to disable the automatic autofocus when a modal gets opened. See https://github.com/filamentphp/filament/discussions/12977

[x] Code style has been fixed by running the composer cs command.
[x] Changes have been tested to not break existing functionality.
[x] Documentation is up-to-date.

Thanks!

getting this error when loading a table with filters in a custom livewire page after this change:
commenting out the filters block on the table makes it work again, but is obviously not desired...
[2024-05-30 19:44:55] local.ERROR: Method Filament\Tables\Actions\Action::isAutofocused does not exist. {"view":{"view":"/home/forge/xxx/vendor/filament/tables/resources/views/components/filters/dialog.blade.php","data":[]},"exception":"[object] (Spatie\LaravelIgnition\Exceptions\ViewException(code: 0): Method Filament\Tables\Actions\Action::isAutofocused does not exist. at /home/forge/xxx/vendor/filament/support/src/Concerns/Macroable.php:72)
[stacktrace]
...

@schaper1337 thanks for letting me know, I have released a new version with a patch for that


Skillmap restyle 'Story'

Restyle of the "Story" map tutorials to the Super-Beginner format.
Story 1 (story1.md)

Remove extraneous ghost blocks to just those used in this tutorial.
Hard breaks added to lead the triple emoji lines.

Story 2 (story2.md)

Remove extraneous ghost blocks to just those used in this tutorial.
Cleanup/consolidate block choices for particular steps.
For some reason the 'birthday' song doesn't preload in the template for the startSong block.

Story 3 (story3.md)

Combine block actions to remove steps.
Change the "lantern" image from an inline def to an asset to facilitate editing sanity.
Hard breaks added to lead the triple emoji lines.

Story4 (story4.md)

Currently empty, what's the concept for this one?

Story4 is currently blank what's the concept had in mind for this one?


Updating application icon works only after restart

The icon in the listing under "My Apps" tab in the Workbench can be changed.
Changing the image file does however not take effect until restarting the Workbench. This may be due to image caching. Investigate and fix.

How to restart the Workbench?


[CORE-15] SQLQueryStatus event expects get_response to return AdapterResponse object only

See https://github.com/dbt-labs/dbt-spark/pull/265 for context
My proposal would be:

v1.0.1: Check the type of the value returned by get_response, then either use its _message attribute (if AdapterResponse) or itself (if str)
v1.1.0: Enforce that the get_response abstract method must return an AdapterResponse — not a bad change, and it's effectively true, but we should wait for a minor version release, with clearer communication ahead of time

re-opening since #4463 only solved the first bullet.

Opened https://github.com/dbt-labs/dbt-core/issues/4499 to reflect future work. Closing this one as resolved!


quotes around table name

Hello, excellent plugin...
I have a table called transaction, in my project a i have some problems, but i fixed
now in the websqldump i found the same issue and i fixed too
line 57:  sql: "SELECT * FROM '" + table + "';", // addquotes around the table name

Hi Neomicho!
You are awesome!! Always happy to find out other people are using/testing my code too.. Thanks for the fix, applying right away!!
Steven


Update free-courses-ru.md (add C++)

Hacktoberfest notes:

due to volume of submissions, we may not be able to review PRs that do not pass tests and do not have informative titles.
please read our contributing guidelines
be sure to check the output of Travis-CI for linter errors
if this is your first open source contribution, make sure it's not your last!

What does this PR do?
Add Resource(s) | Remove Resource(s) | Add info | Improve Repo
For resources
Description
Why is this valuable (or not)?
How do we know it's really free?
For book lists, is it a book? For course lists, is it a course? etc.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

pleasue use links directly to the course, for example, https://www.coursera.org/learn/c-plus-plus-white
Don't invent titles! Use the title given by the resource
Please add instructor/platform names after the link where appropriate.
please resolve conflict or start from a fresh branch.

Be sure to check the output of Travis-CI for linter errors. Alphabetical order and spacing are the most common problems.


How can we create multiple Livestream by API?

How can we create multiple Livestream by API?

Like restream ?


Adding MathML Core support to rsx

This PR adds a MathML Core support to the rsx as discussed in issue https://github.com/DioxusLabs/dioxus/issues/1778.
Deprecated tags and attributes are not included in the code base.
annotation-xml is aliased to annotationXml due to the naming restrictions of rsx macro.
@stefnotch @Jah-On

Will we need a MathML equivalent of https://github.com/DioxusLabs/dioxus/blob/53727b344de9af5bcd160fb99703a09ec0da2da4/packages/html/src/global_attributes.rs#L1643 ? The MathML core spec specifies a few global attributes.

@stefnotch @ealmloff
I will try to add the global attributes.


Mock support for static classes

Mockery doesn't seem to support mocking static classes.
This could be achieved using __callStatic and the mock creation method described in #6

@padraic Would you mind posting a quick example of how you would mock a static method at least to get the syntax right?

@padraic Nevermind. I found the test for it testCanMockStaticMethods() https://github.com/padraic/mockery/blob/master/tests/Mockery/ContainerTest.php#L385


[typescript-react-query] Allow passing headers to graphql-request

Description
With graphql-request it's possible to pass in headers on a per request basis. With the current implementation, this can not be achieved with @graphql-codegen/typescript-react-query. This PR adds an optional parameter headers to the hook and fetcher.
Type of change

[x] New feature (non-breaking change which adds functionality)
[x] This change requires a documentation update

How Has This Been Tested?

[x] Existing tests have been extended

Test Environment:

OS: macOS
@graphql-codegen/...:
NodeJS:

Checklist:

[x] I have followed the CONTRIBUTING doc and the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

How about adding all other props of RequestInit ?

@ardatan The third parameter of request only allows headers to be passed in: https://github.com/prisma-labs/graphql-request#passing-headers-in-each-request

Hi @dan-lee , thank you for creating this PR.
Can you please rebase and add a changeset file?

Hey, @dotansimha. After some trouble with rebasing, I finally got it done. Should be ready to merge :)


Create seriea.yml

Create configuration file for 2016/17 Serie A season

@noso2k1  Great. Thanks for adding the missing configuration (for the import).  PS: Will try to get an auto-build get going in mid/late August.


Extensions open in bottom side instead of open in new tab

Is it possible to open extensions panel in bottom side instead of open it in a new tab like lemur browser.

@kiwibrowser


Add a debug overlay for accessreaders

May make a generic debug overlay.

didnt pjb have issues with doing the control stuff in an overlay and just wanted direct texture draw

That is what I ended up doing.


Bail early for files which don't match the requested extensions

We shouldn't calculate match scores for files which will be ignored.

This change seems to cause a lot of breakage.


Early pull request for Asset Upload Feature

Hi @jansenbe
As discussed, this is my code so far for the asset merge, this compiles with the latest from dev on my machine, so the compile error comment I mentioned pls ignore.
This includes the framework for the asset upload and majority of the commits for the test rig and assets for testing the sites. Much of this is incomplete but should be in a state that does not hinder other framework features and hopefully ready to split to a separate branch.
Related to issue #60
Paul

@pkbullock: thanks for this! As discussed I've merged this into a new branch called assettransfer. Once asset transfer is in good state I'll merge this into dev and from there on we can work again on the dev branch.

I will continue from that branch as you have setup. 👍

No idea why github does not show this one as merged as it clearly was in the assettransfer branch. Will close manually


rust model: reorganize the models

At the moment, all the keth model in rust are stored in this single file: https://github.com/kkrt-labs/keth/blob/bd14d973f19314bb5cb246aaff6ceab3e4d8f65f/crates/exex/src/model.rs
It is starting to become quite big and it would be good to split it into several files in a model folder:

general primitives :KethU256, KethMaybeRelocatable, KethOption...
block header model: KethBlockHeader
transaction model: KethTransactionEncoded

With this new division, we would have a more modular and scalable structure with small modules

I can take this up

I can take this up

@varun-doshi Sorry forgot to link the issue, already closed by https://github.com/kkrt-labs/keth/pull/116
But soon we will have more good first issues, will tag you if you want

I can take this up

@varun-doshi Sorry forgot to link the issue, already closed by #116
But soon we will have more good first issues, will tag you if you want

Looking forward to the next issues
Thanks


LEP-136 added inputs and outputs for self employed types of sole trad…

…er and partnership
What
Link to story
Describe what you did and why.

added input and outputs for self employed for Sole Trader and Partnership types
Added new constant for VALID_SELF_EMPLOYMENT_TYPES
added new constant for VALID_SELF_EMPLOYMENT_PAYMENT_FREQUENCIES
added self employment example to partner financials
regenerated swagger docs
checked swagger docs

Checklist
Before you ask people to review this PR:

Tests and rubocop should be passing: bundle exec rake
Github should not be reporting conflicts; you should have recently run git rebase main.
There should be no unnecessary whitespace changes. These make diffs harder to read and conflicts more likely.
The PR description should say what you changed and why, with a link to the JIRA story.
You should have looked at the diff against main and ensured that nothing unexpected is included in your changes.
You should have checked that the commit messages say why the change was made.

Apologies that this has been a moving target. We may yet use this PR's interface for sole trader etc, when we get to doing certificated self employed, but let's park this PR ready for that. However the design I think we should be aiming for is this one: https://dsdmoj.atlassian.net/browse/LEP-135?focusedCommentId=290054, and I suggest you do a fresh PR for that...


License?

Package Version

Description
What's the license?

MIT. I added it in pyproject.toml but missed the LICENSE file, adding now in #32. Thanks for querying.


'SB' and 'SH' tests expect to store data in addresses lower than RV_COMPLIANCE_DATA_BEGIN.

The RV32I 'store byte' and 'store halfword' instruction tests expect that they will be able to store data at a negative offset from the test_1_res label, which is located immediately after the RV_COMPLIANCE_DATA_BEGIN label:
SB: https://github.com/riscv/riscv-compliance/blob/master/riscv-test-suite/rv32i/src/I-SB-01.S#L66
SH: https://github.com/riscv/riscv-compliance/blob/master/riscv-test-suite/rv32i/src/I-SH-01.S#L66
I believe that this can (and should) cause failures if the RV_COMPLIANCE_DATA_BEGIN section is placed at the very beginning of RAM. If RAM starts at 0x20000000, these instructions attempt to store data in address 0x1FFFFFFD, which will likely fail or trigger a trap.
If I change the linker script to start the RAM address space at 0x20000004, the tests pass as expected. Should an extra word of data be added before the test_1_res section if a negative offset will be used with that label?
Thanks.

I think this is similar to the open issue #84 ?

Oh - yeah, that does look like it's caused by the same behavior. Sorry I didn't read more carefully.


AttributeError: module 'dlib' has no attribute 'correlation_tracker'

the video starts each time i try to run the code..but it stop as soon as the people in the video touches the line...please help
C:\Users\User\Desktop\test3>python run.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input videos/example_01.mp4
[INFO] Starting the video..
Traceback (most recent call last):
File "C:\Users\User\Desktop\test3\run.py", line 345, in
run()
File "C:\Users\User\Desktop\test3\run.py", line 159, in run
tracker = dlib.correlation_tracker()
AttributeError: module 'dlib' has no attribute 'correlation_tracker'

C:\Users\User\Desktop\test3>

did you install dlib?

Im getting this error while installing dlib .. visual c++ is already installed on my system tho...
Microsoft Windows [Version 10.0.19041.746]
(c) 2020 Microsoft Corporation. All rights reserved.
C:\Users\User>pip install dlib
Collecting dlib
Using cached dlib-19.21.1.tar.gz (3.6 MB)
Building wheels for collected packages: dlib
Building wheel for dlib (setup.py) ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' bdist_wheel -d 'C:\Users\User\AppData\Local\Temp\pip-wheel-8b44ww9i'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f
Complete output (58 lines):
running bdist_wheel
running build
running build_py
package init file 'tools\python\dlib_init_.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\build\lib.win-amd64-3.9 -DPYTHON_EXECUTABLE=c:\python\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\build\lib.win-amd64-3.9 -A x64'
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:5 (message):
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

You must use Visual Studio to build a python extension on windows.  If you
are getting this error it means you have not installed Visual C++.  Note
that there are many flavors of Visual Studio, like Visual Studio for C#
development.  You need to install Visual Studio for C++.

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
File "", line 1, in
File "C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py", line 223, in
setup(
File "c:\python\lib\site-packages\setuptools_init_.py", line 165, in setup
return distutils.core.setup(**attrs)
File "c:\python\lib\distutils\core.py", line 148, in setup
dist.run_commands()
File "c:\python\lib\distutils\dist.py", line 966, in run_commands
self.run_command(cmd)
File "c:\python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\lib\site-packages\wheel\bdist_wheel.py", line 299, in run
self.run_command('build')
File "c:\python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "c:\python\lib\distutils\command\build.py", line 135, in run
self.run_command(cmd_name)
File "c:\python\lib\distutils\cmd.py", line 313, in run_command
self.distribution.run_command(command)
File "c:\python\lib\distutils\dist.py", line 985, in run_command
cmd_obj.run()
File "C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py", line 135, in run
self.build_extension(ext)
File "C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py", line 172, in build_extension
subprocess.check_call(cmake_setup, cwd=build_folder)
File "c:\python\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\tools\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\build\lib.win-amd64-3.9', '-DPYTHON_EXECUTABLE=c:\python\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\build\lib.win-amd64-3.9', '-A', 'x64']' returned non-zero exit status 1.
ERROR: Failed building wheel for dlib
Running setup.py clean for dlib
Failed to build dlib
Installing collected packages: dlib
Running setup.py install for dlib ... error
ERROR: Command errored out with exit status 1:
command: 'c:\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\User\AppData\Local\Temp\pip-record-hgpz4aj8\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\Include\dlib'
cwd: C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f
Complete output (60 lines):
running install
running build
running build_py
package init file 'tools\python\dlib_init_.py' not found (or not a regular file)
running build_ext
Building extension for Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec  7 2020, 17:08:21) [MSC v.1927 64 bit (AMD64)]
Invoking CMake setup: 'cmake C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\tools\python -DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\build\lib.win-amd64-3.9 -DPYTHON_EXECUTABLE=c:\python\python.exe -DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\build\lib.win-amd64-3.9 -A x64'
-- Building for: NMake Makefiles
CMake Error at CMakeLists.txt:5 (message):
  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

  You must use Visual Studio to build a python extension on windows.  If you
  are getting this error it means you have not installed Visual C++.  Note
  that there are many flavors of Visual Studio, like Visual Studio for C#
  development.  You need to install Visual Studio for C++.

  !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

-- Configuring incomplete, errors occurred!
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py", line 223, in <module>
    setup(
  File "c:\python\lib\site-packages\setuptools\__init__.py", line 165, in setup
    return distutils.core.setup(**attrs)
  File "c:\python\lib\distutils\core.py", line 148, in setup
    dist.run_commands()
  File "c:\python\lib\distutils\dist.py", line 966, in run_commands
    self.run_command(cmd)
  File "c:\python\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\python\lib\site-packages\setuptools\command\install.py", line 61, in run
    return orig.install.run(self)
  File "c:\python\lib\distutils\command\install.py", line 546, in run
    self.run_command('build')
  File "c:\python\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\python\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "c:\python\lib\distutils\command\build.py", line 135, in run
    self.run_command(cmd_name)
  File "c:\python\lib\distutils\cmd.py", line 313, in run_command
    self.distribution.run_command(command)
  File "c:\python\lib\distutils\dist.py", line 985, in run_command
    cmd_obj.run()
  File "C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py", line 135, in run
    self.build_extension(ext)
  File "C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py", line 172, in build_extension
    subprocess.check_call(cmake_setup, cwd=build_folder)
  File "c:\python\lib\subprocess.py", line 373, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', 'C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-dlt3_6mk\\dlib_f47bee40ebca446e92a7b4d30e03969f\\tools\\python', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY=C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-dlt3_6mk\\dlib_f47bee40ebca446e92a7b4d30e03969f\\build\\lib.win-amd64-3.9', '-DPYTHON_EXECUTABLE=c:\\python\\python.exe', '-DCMAKE_LIBRARY_OUTPUT_DIRECTORY_RELEASE=C:\\Users\\User\\AppData\\Local\\Temp\\pip-install-dlt3_6mk\\dlib_f47bee40ebca446e92a7b4d30e03969f\\build\\lib.win-amd64-3.9', '-A', 'x64']' returned non-zero exit status 1.
----------------------------------------

ERROR: Command errored out with exit status 1: 'c:\python\python.exe' -u -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py'"'"'; file='"'"'C:\Users\User\AppData\Local\Temp\pip-install-dlt3_6mk\dlib_f47bee40ebca446e92a7b4d30e03969f\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(file);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, file, '"'"'exec'"'"'))' install --record 'C:\Users\User\AppData\Local\Temp\pip-record-hgpz4aj8\install-record.txt' --single-version-externally-managed --compile --install-headers 'c:\python\Include\dlib' Check the logs for full command output.
C:\Users\User>

You need to install visual studio build tools, windows 10 sdk add ons from your visual studio installer

problem solved sir ...tq so much...

the video starts each time i try to run the code..but it stop as soon as the people in the video touches the line...please help
C:\Users\User\Desktop\test3>python run.py --prototxt mobilenet_ssd/MobileNetSSD_deploy.prototxt --model mobilenet_ssd/MobileNetSSD_deploy.caffemodel --input videos/example_01.mp4
[INFO] Starting the video..
Traceback (most recent call last):
File "C:\Users\User\Desktop\test3\run.py", line 345, in
run()
File "C:\Users\User\Desktop\test3\run.py", line 159, in run
tracker = dlib.correlation_tracker()
AttributeError: module 'dlib' has no attribute 'correlation_tracker'

C:\Users\User\Desktop\test3>

Same error please, dlib is installed but i get this error every time

Can you tell me how did you install dlib and its version?

I'm facing legacy-install-failure when  i try to install dlib, also i have already installed cmake using 'pip install cmake' my operating system win 11 and also installed vs build tools


[Question] Using Dependency Injection Plugins in ASP.NET Core MVC

I'm trying to make an ASP.NET Core MVC application support plugins that have dependencies; both "core dependencies" and dependencies specific to the plugin. I've got the plugin loader working (I think) and it's registering services from the plugin as I'd expect also. However, I can't get the plugin to work with dependencies. Here are the relevant samples of code I've been working with (largely based on the samples in this project).
I am trying to use a dependency in the Install() method of the plugin (last snippet below) and it is always null.
Any pointers for what I might be missing?
Startup.cs constructor
public Startup(IConfiguration configuration,
    IWebHostEnvironment environment)
{
    Configuration = configuration;
    Environment = environment;

    //_pluginFinder = new PluginFinder(environment);
    //_pluginFinder.FindPlugins();

    var rootPath = Environment.ContentRootPath;
    var pluginPath = Path.Combine(rootPath, "Plugins");
    var pluginDirectories = Directory.GetDirectories(pluginPath);

    foreach (var pluginDir in pluginDirectories)
    {
        var dirName = Path.GetFileName(pluginDir);
        var pluginFile = Path.Combine(pluginDir, $"{dirName}.dll");
        var loader = PluginLoader.CreateFromAssemblyFile(pluginFile,
            sharedTypes: new[]
            {
                typeof(IApplicationBuilder),
                typeof(IServiceCollection),
                typeof(IPluginFactory)
            });

        foreach (var type in loader.LoadDefaultAssembly()
            .GetTypes()
            .Where(x => typeof(IPluginFactory).IsAssignableFrom(x) && !x.IsAbstract))
        {
            Console.WriteLine($"Found plugin {type.Name}");
            var plugin = (IPluginFactory)Activator.CreateInstance(type);
            _plugins.Add(plugin);
        }
    }
}

Startup.cs ConfigureServices()
var pluginLoaders = GetPluginLoaders();
foreach(var pluginLoader in pluginLoaders)
{
    foreach (var pluginType in pluginLoader
            .LoadDefaultAssembly()
            .GetTypes()
            .Where(t => typeof(IPluginFactory).IsAssignableFrom(t) && !t.IsAbstract))
    {
        // This assumes the implementation of IPluginFactory has a parameterless constructor
        var plugin = Activator.CreateInstance(pluginType) as IPluginFactory;

        plugin?.ConfigureServices(services, Configuration);
    }
}

ExamplePluginFactory
public class AmazonSesEmailClientPluginFactory : IPluginFactory
{
    public void Configure(IApplicationBuilder builder)
    {
    }

    public void ConfigureServices(IServiceCollection services, IConfiguration configuration)
    {
        services.AddTransient<IPlugin, AmazonSesEmailClientPlugin>();
        services.AddTransient<IEmailClient, AmazonSesClient>();
    }
}

ExamplePlugin
public class AmazonSesEmailClientPlugin : PluginBase, IPlugin
{
    private readonly ILanguageResourceService _languageResourceService;

    public AmazonSesEmailClientPlugin(ILanguageResourceService languageResourceService)
    {
        _languageResourceService = languageResourceService;
    }

    public void AddAdminNavItems(List<NavItem> navItems)
    {
    }

    public Task InstallAsync()
    {
        Console.WriteLine("TEST OUT " + _languageResourceService.GetResource("Test", 1));

        return Task.CompletedTask;
    }

    public Task UninstallAsync()
    {
        return Task.CompletedTask;
    }
}

I can't tell what's going wrong based on this snippet alone. Were you able to figure it out?

Unfortunately not, but it's been a while since I've looked at it too.

Ok. If you have a functional project to share that reproduces, I may be able to help more. Often the problem comes down to missing a shared type, or a misconfiguration of the way the plugin is being produced an installed.

@natemcmaster was hoping to get a repro for you this weekend but didn't get to it. Hoping to get you something this week (will have to pull it out of a project).

does this solves the issue of hot reload? https://weblog.west-wind.com/posts/2019/Jun/03/Building-Live-Reload-Middleware-for-ASPNET-Core i think its a very promising library.


Update Headers for 2021

Please make sure the below checklist is followed for Pull Requests.

[ ] Checks are green
[ ] Tests are added where necessary
[ ] Documentation is added/updated where necessary
[ ] Coding Rules & Commit Guidelines as per our CONTRIBUTING.md document are followed

It is a deprecated project but can be merged

It is a deprecated project but can be merged


RoutablePageMixin without WAGTAIL_APPEND_SLASH

I don't like trailing slashes - they look ugly. When I use RoutablePageMixin with WAGTAIL_APPEND_SLASH = False template tag routablepageurl generates URLs without slash between main part and routable part of URI. For example class:
class TestPage(RoutablePageMixin, Page):
    @route(r'^tag/(\w+)/$', name='tag')
    def tag_route(self, request, tag, *args, **kwargs):
        # do something

For this example on page example.com/testpage tag {% routablepageurl page 'tag' "test" %} will generate URI example.com/testpagetag/test - this wouldn't work of course. I've tried change route to something like @route(r'^/tag/(\w+)/$', name='tag') - it throws 404 error.
With WAGTAIL_APPEND_SLASH = True - all works nice.

And one more problem: if I try route without ending slash:
class TestPage(RoutablePageMixin, Page):
    @route(r'^tag/(\w+)$', name='tag')
    def tag_route(self, request, tag, *args, **kwargs):
        # do something

It doesn't work at all and shows 404 error for both somepage/tag/test and somepage/tag/test/.

I would also like to see this fixed. Fortunately, my codebase already had a workaround for the second problem that @soar mentioned (removing the end slash makes the route totally break), so we don't suffer from that. But the templatetag creating the URL wrong means we can't use it, and must build the URL ourselves in a custom templatetag, which is rather ugly:
news_index.url + '/' + news_index.reverse_subpage('rss_feed')

As you can see by the need for manually inserting a slash, when WAGTAIL_APPEND_SLASH = False the reverse_subpage() function doesn't prepend a separator between the route to the Page and the subroutes defined through RoutablePageMixin.
Perhaps the wagtailroutablepage.models.route dectorator could be updated to take WAGTAIL_APPEND_SLASH = False into account, and prepend that slash onto the pattern argument? If you think that makes sense, I'd be happy to write up a PR.

It looks like the routablepageurl template tag generating incorrect urls was fixed in PR #3856 which was released a while ago in Wagtail 2.0.
Using @route(r'^tag/(\w+)$', name='tag') (without a / before the $) still results in 404 errors. In this case it does not matter if WAGTAIL_APPEND_SLASH is true or false. I am not sure if this is intended or a bug.
I think this issue can be closed now because the primary issue was resolved.

Thanks @Stormheg! Closing this as fixed by #3856, with the secondary issue now covered by #5814.


[bug] Time display error

Search before asking

[X] I had searched in the issues and found no similar issues.

Environment
https://laf.dev
What happened
The front-end display is not the same as the log time display, the front-end display is wrong
How to reproduce
console.log(new Date())

Are you willing to submit PR?

[ ] Yes I am willing to submit a PR!

This time display is correct and as expected. One shows the time in the client's time zone, and the other prints the timestamp.


Nothing is exported if filename is pathlib.Path type

When a pathlib.Path object is passed to dfi.export, nothing is saved and no error is raised (although pathlib.Path should be supported)
To replicate:

The code below will save nothing (no errors, just no output!)

from pathlib import Path

import numpy as np

import pandas as pd

import dataframe_image as dfi

filename = Path('test.png')
pd.DataFrame(np.random.rand(6,4)).dfi.export(filename)

Adding a str() will make dataframe_image work as per documentation:

pd.DataFrame(np.random.rand(6,4)).dfi.export(str(filename))

Version information:
>>> sys.version
'3.9.6 (tags/v3.9.6:db3ff76, Jun 28 2021, 15:26:21) [MSC v.1929 64 bit (AMD64)]'
>>> dfi.__version__
'0.1.1'
>>> pd.__version__
'1.3.2'

Same here

Fixed in latest version: https://github.com/dexplo/dataframe_image/commit/8c99cc8dc630d01972c9836a227065c2f6d810da
You could install it directly from
pip install git+https://github.com/dexplo/dataframe_image or wait for next release.


Improve boundary preview

Now you can:

Click on the "Source/Target" text to switch between source/target
Click on the diagram to recover it (if the workspace is empty)
Remove the source/target

Thanks Yulong, this looks nice!

This looks great, thanks Yulong! I think we can merge this now and will hopefully fix #609 soon.

Great! I think it might be better to close #586 after #609 is fixed.


"Unable to load KBFS" error after upgrading to Ventura

After upgrading my 2019 Quad-Core Intel i7 MacBook Pro to Ventura I received the following error.
Keybase Install Error
We were unable to load KBFS (Fise Kext). This may be due to a limitation in MacOS where there aren't any device slots available.  Device slots can be taken up by apps such as VMWare, VirtualBox, anti-virus programs, VPN programs and Intel HAXM.  Please run 'keybase log sent" to report the error.
I followed the instructions and ran the program and now submitting the issue.
my log id: 8151b4e8120f37bb53693c1c

I have the same issue.

NOTE 👈  Kexts are no longer recommended for macOS. Kexts risk the integrity and reliability of the operating system, and Apple recommends users select solutions that don’t require extending the kernel.

💁  KBFS doesn't work on MacOS X 13 Ventura #25226

Dupe of #25226


test: add QGB queries test

Overview

Closes https://github.com/celestiaorg/celestia-app/issues/1343
Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Codecov Report

Merging #1374 (56c2645) into main (ff69444) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1374   +/-   ##
=======================================
  Coverage   48.35%   48.35%
=======================================
  Files          79       79
  Lines        4438     4438
=======================================
  Hits         2146     2146
  Misses       2113     2113
  Partials      179      179

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Add backcolor property to an md-chip

Bug, feature request, or proposal:
feature request
What is the expected behavior?
a chip has a background color property. Which can be set during runtime by a hex value from the database.
What is the current behavior?
Only the selected chip`s color can be set but not the background color of an unselected chip.
What is the use-case or motivation for changing an existing behavior?
certain items can be better seen at first sight when there are like 90 chips on a screen. Think of 3 subjects for 30 students. Biology (green), Geography (brown), etc...
Which versions of Angular, Material, OS, TypeScript, browsers are affected?
latest version.

In the Material design guidelines, the Chips section, there is nothing about different colors for Chips in one page, then maybe it's fine to add the feature.
But from design view, I think it's more elegant to have the same colors for Chips with the same action in one page, but doing a bit lighter change, like you might want to change the icon might be a better idea.

My user has a page with 30 md-chips each a student. They are readonly except the "x" can be clicked to detach a subject from a student. Why can each of the md-chips subject not have a different backcolor? I even know 20 year old vb classic applications which had that feature ^^
Have a look:
That way it should finally look with material design: (the chips are my custom implementation...)

But as you said it's a 20 years old VB application. Obviously they were not following Material design rules.

@bastienJS why not just use regular old css to set the background colors?
https://plnkr.co/edit/ZAa5gKgZ0aydVnIdz35y?p=preview

@willshowell  because my backcolor settings come from database, I can not put those values in a stylesheet and reference them as a css class.

@bastienJS then how about ngStyle?
https://plnkr.co/edit/mA5vM1MMrrF4rdq3uoXV?p=preview
I dunno, it seems like adding an API for background color seems extraneous, especially when it's so easy to accomplish by other means.

@willshowell  You are right! Either I thought it does not work as I have done once the same feature request fo ngJS material design chips and binding to backcolor was buggy or I was just confused... There should be no api change if its that easy!


Added team agents to rendered board

This goes with issue #158

There is an example of the team agents in the issue (#158 )

lgtm :).


update build versions for NM fork pypi push

moving forward build versions will by synced with the latest NM release (patch version is async) with the fourth slot either the nightly date for nightly or the base transformers version for release
example nightly: <IP_ADDRESS>30331
example release: <IP_ADDRESS>301

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


Error: Invalid mnemonic word _____

Hi,
I'm attempting to try and combine a set of mnemonics that were originally created through a Trezor Model T. Have tried to use a number of tools but without much success.
However, it appears that Trezor use a different wordlist then BIP-39 so when I try to combine, I get an error "Error: Invalid mnemonic word _____" (I replaced the actual word with _____ for security reasons).
Any thoughts on whether this tool could be adapted to support the Trezor wordlist?
Thanks!

Posted in the wrong place :)


qa_openstack: zypper dup from cloud repo

Just in case the base image run i.e. cloud-init which has some packages
which are also in the OpenStack repositories.

Sorry, I can't understand this description at all - for a start the sentence doesn't parse, but I also don't get the relevance of cloud-init.  Please can you rewrite with more details?

@aspiers better now?

Thanks - better yes, but it would be more useful if you put the explanation in the comment than in the git history, otherwise people have to do git blame in order to understand it.  Currently the comment is quite cryptic.

So zypper dup  seems to be the wrong solution


feat: updates docker file by exposing the tracing port 26661

The port :26661 needs to be exposed in order to access traced data.
Part of #3318

Do we want to have tracing enabled in v1.x? if not, then I'll remove the backporting tag.


Updated routes

Modified routes to mimic Insights starter app
#1389

Codecov Report

Merging #1435 into master will decrease coverage by 0.11%.
The diff coverage is 46.66%.

@@            Coverage Diff             @@
##           master    #1435      +/-   ##
==========================================
- Coverage   76.58%   76.46%   -0.12%
==========================================
  Files         198      198
  Lines        3519     3523       +4
  Branches      650      651       +1
==========================================
- Hits         2695     2694       -1
- Misses        740      745       +5
  Partials       84       84

Impacted Files
Coverage Δ

src/app.tsx
57.14% <ø> (+0.89%)
:arrow_up:

src/routes.tsx
61.90% <46.66%> (-25.60%)
:arrow_down:

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 b02bc83...c32f7af. Read the comment docs.


[Compute] Fix issues with VMSS and VM availability set update.

Fix #2747. Fix #2762. This regression was caused by a bug fix in how generic update works that exposed flaws in the VMSS and avail-set update commands. I've added to the existing scenario tests to protect against future regressions.
This checklist is used to make sure that common guidelines for a pull request are followed.
General Guidelines

[x] The PR has modified HISTORY.rst with an appropriate description of the change.

Command Guidelines

[x] Each command and parameter has a meaningful description.
[x] Each new command has a test.

(see Authoring Command Modules)

Codecov Report

Merging #2773 into master will increase coverage by 0.02%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master    #2773      +/-   ##
==========================================
+ Coverage   62.83%   62.86%   +0.02%
==========================================
  Files         480      480
  Lines       25783    25789       +6
  Branches     3904     3904
==========================================
+ Hits        16201    16211      +10
+ Misses       8574     8566       -8
- Partials     1008     1012       +4

Impacted Files
Coverage Δ

...source/azure/cli/command_modules/resource/_help.py
100% <ø> (ø)
:arrow_up:

...azure-cli-vm/azure/cli/command_modules/vm/_help.py
100% <100%> (ø)
:arrow_up:

...zure-cli-vm/azure/cli/command_modules/vm/custom.py
72.99% <100%> (+0.42%)
:arrow_up:

src/azure-cli-core/azure/cli/core/util.py
68.99% <0%> (ø)
:arrow_up:

...dback/azure/cli/command_modules/feedback/custom.py
34.69% <0%> (ø)
:arrow_up:

...-cli-role/azure/cli/command_modules/role/custom.py
19.28% <0%> (ø)
:arrow_up:

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 8dda58c...8aacf90. Read the comment docs.


Add CDNJS version badge in readme

This will add the badge to show its version on CDNJS and also link to its page on CDNJS!

Thanks!


feat:[#728] Implement Logfunction to ast_builder

resolves #728
I have implemented Log function to ast_builder.
Many thanks

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

22 of 22 (100.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 97.947%

Totals

Change from base Build<PHONE_NUMBER>:
0.1%

Covered Lines:
29104

Relevant Lines:
29714

💛  - Coveralls


19/move code to proper packages

Highlights:

Fix for https://github.com/infinispan/infinispan-spring-boot/issues/19. Moved packages to org.infinispan.spring.starter.embedded/remote
Version upgrades
Some small fixes and enhancements

//cc @lburgazzoli

@slaskawi You merged your own PR without any review?

@galderz You can always add comments later on... I will try to address them (or just create an issue).


[SUGGESTION] I wish to have a feature for handling LiteDb with Isolated Storage

Is your feature request related to a problem? Please describe.
I wish to store some information where I believe IsolatedStorage is the best candidate. The dotnet API does not provide a full path for the IsolatedStorage file where we can pass it to LiteDb to store the database (with reflection its possible, however it is a hack and not a perfect solution I believe).
Describe the solution you'd like
I would like a constructor which accepts IsolatedStorageFile instance and with the other options like Password and other connection string options we can pass.
Describe alternatives you've considered
I tried it with the hack and was not satisfied with the flow of the code, for just getting a field, I had to use reflection, and it is internal which may get renamed anytime.
Additional context
I would be happy if there is another constructor overload with the options mentioned above.

Hi
I think it is already possible with IsolatedStorageFileStream and LiteDatabase constructor overload type ILiteEngine implementation.
I was able to ready LiteDB instance from isolate storage and read / insert documents. Below I’m attaching sample code that I think can be enhanced for your needs.
    class Program
    {
        static void Main(string[] args)
        {
            IsolatedStorageFile isoFile = IsolatedStorageFile.GetUserStoreForAssembly();

            String[] dirNames = isoFile.GetDirectoryNames("*");
            if (dirNames.Contains("LiteDB") && isoFile.FileExists("LiteDb\\LiteDb.dll")) {
                IsolatedStorageFileStream liteDBStream = isoFile.OpenFile("LiteDb\\LiteDb.dll", System.IO.FileMode.Open);

                var connectionType = LiteDB.ConnectionType.Shared;

                EngineSettings engineSettings = new EngineSettings();
                engineSettings.DataStream = liteDBStream;
                engineSettings.Filename = "LiteDb.dll";
                engineSettings.Password = "1234";
                engineSettings.ReadOnly = false;

                ILiteEngine liteDbEngine = connectionType == LiteDB.ConnectionType.Shared ?
                    (ILiteEngine)new LiteDB.SharedEngine(engineSettings) : (ILiteEngine)new LiteEngine(engineSettings);

                LiteDB.LiteDatabase liteDatabase = new LiteDB.LiteDatabase(liteDbEngine);

                var testQuery = liteDatabase.GetCollection<TestDto>("query");
                testQuery.Insert(new TestDto() { Name = "Worked" } );

                var result = testQuery.FindAll();

            }
        }
    }

    class TestDto {

        public ObjectId Id { get; set; }
        public string Name {get;set;}
    }

Let me know if this is works for you.
Regards
Piotr

@quicksln Your basic idea is good, but your solution lacks some things, like a log stream (if you don't have a FileStream as log stream, there will be data loss in case of a crash). Here's my proposed solution:
IsolatedStorageFile isf = IsolatedStorageFile.GetUserStoreForAssembly();

string path = "myfilepath.db"; //replace this with your datafile path
string logPath = path.Replace(".db", "-log.db");

IsolatedStorageFileStream dataStream = isf.OpenFile(path, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.Read);
IsolatedStorageFileStream logStream = isf.OpenFile(logPath, FileMode.OpenOrCreate, FileAccess.ReadWrite, FileShare.Read);

EngineSettings settings = new EngineSettings();
settings.DataStream = dataStream;
settings.LogStream = logStream;

var connectionType = LiteDB.ConnectionType.Direct; //use this variable to select the connection type
//(Direct is recommended, unless you need multi-process support)

ILiteEngine liteDbEngine = connectionType == LiteDB.ConnectionType.Shared ?
    (ILiteEngine)new LiteDB.SharedEngine(settings) : (ILiteEngine)new LiteEngine(settings);

using (LiteDatabase db = new LiteDatabase(liteDbEngine))
{
	//do whatever you want here
}

@pankaj-nikam

Thank you @quicksln and @lbnascimento :)
The solutions do seem promising. I am wondering if it is good enough to be a feature itself in the package?
Users may find it helpful if it supports isolated storage out of the box.
What do you think?

@lbnascimento good point with adding log file stream, @pankaj-nikam  hope you find this useful.
Defiantly it's good candidate for extension method inside individual project :)
Regards
Piotr

Agree with you @quicksln. Its good to make an extension method.

@quicksln It's a possibility, but I'd have to think of a better way to integrate this feature in LiteDB. Maybe adding a log stream parameter in the constructor would be good enough (and it would also be very flexible).

@lbnascimento Agree that could be more helpful and complete solution. What I would like to avoid is to introduce new Ctor. Taking you suggestion I think good candidate for extension is :
        public LiteDatabase(Stream stream, BsonMapper mapper = null)
        {
            var settings = new EngineSettings
            {
                DataStream = stream ?? throw new ArgumentNullException(nameof(stream))
            };
	     …
	}

to replace it with
        public LiteDatabase(Stream stream, BsonMapper mapper = null, Stream logStream = null)
        {
            var settings = new EngineSettings
            {
                DataStream = stream ?? throw new ArgumentNullException(nameof(stream)),
                LogStream = logStream
            };

@lbnascimento let me know what you think, I'll create PR to implement this.

@quicksln Yes, somethink like that would be fine. And, if possible, please make some tests for it, just to make sure everything is working as expected (you can use TempStream).


#P11. As Participant, I would like to withdraw from a Hackathon event.

Only available until the teams/judges are dispersed automatically.

@mkuti, working already on P05 and can also do this one


WaitFor for MongoDB (health checks)

Description
Wires up health checks to the AddMongoDB(...) so that it can work fully with WaitFor.
Related #5645
Checklist

Is this feature complete?

[x] Yes. Ready to ship.
[ ] No. Follow-up changes expected.

Are you including unit tests for the changes and scenario tests if relevant?

[x] Yes
[ ] No

Did you add public API?

[ ] Yes

If yes, did you have an API Review for it?

[ ] Yes
[ ] No

Did you add <remarks /> and <code /> elements on your triple slash comments?

[ ] Yes
[ ] No

[x] No

Does the change make any security assumptions or guarantees?

[ ] Yes

If yes, have you done a threat model and had a security review?

[ ] Yes
[ ] No

[x] No

Does the change require an update in our Aspire docs?

[ ] Yes

Link to aspire-docs issue:

[x] No

Microsoft Reviewers: Open in CodeFlow

/azp run

/azp run

Waiting on #5701

/azp run


adding new pandas_ta indicators

hey I just updated some of the indicators and did some bug hunting don't know if these changes will do

Hi, Thanks for the PR!  I haven't looked at tuneta for a while now since I have been focused on another AI stock investment project (which I could use a partner if you're interested).  It looks like you have done a great job!  Will probably be a bit of time before I can have a look but will merge into the master branch (but will hold off on creating a pypi release for now).


Record WhatsApp Web Usage

When trying to open the WhatsApp web client at https://web.whatsapp.com -

In the console -
The Components object is deprecated. It will soon be removed. webrecorder.io
The ‘content’ attribute of Window objects is deprecated.  Please use ‘window.top’ instead. pywb.js:19:24698
onmozfullscreenchange is deprecated. pywb.js:19:24698
onmozfullscreenerror is deprecated. pywb.js:19:24698
The script from “https://content.webrecorder.io/static_cors/bundle/autoFetchW…cp7awi%5C%5C%2Frecord%5C%5C%2F%5B%5E%2F%5D%2B%5C%5C%2F%22%7D” was loaded even though its MIME type (“text/html”) is not a valid JavaScript MIME type. web.whatsapp.com
The Components object is deprecated. It will soon be removed. web.whatsapp.com
Firefox can’t establish a connection to the server at wss://content.webrecorder.io/temp-YQISX7GF/temp/sxsnk7n2rvcp7awi/record/20190810081531ws_/wss://web.whatsapp.com/ws. 5 pywb.js:19:77181
Firefox can’t establish a connection to the server at wss://content.webrecorder.io/temp-YQISX7GF/temp/sxsnk7n2rvcp7awi/record/20190810081531ws_/wss://web.whatsapp.com/ws. pywb.js:19:77181

I wonder if the reason it's failing is because WhatsApp web already uses the WS layer to pull the QR code?
wss://content.webrecorder.io/temp-YQISX7GF/temp/sxsnk7n2rvcp7awi/record/20190810081531ws_/wss://web.whatsapp.com/ws. 5 pywb.js:19:77181

This on an updated version of Firefox 68.0.1 x64 Ubuntu 18.04


new datasource - https://coronadashboard.rijksoverheid.nl/

This datasource might be interesting to add to CoronaWatchNL. Its the corona dashboard from the government. I think it is mostly interesting because it contains data around care-homes but also data regarding the reproduction number.
Unfortunately I don't have time to send in a PR for this at the moment.
It looks like the national data is encapsulated in a json:
https://coronadashboard.rijksoverheid.nl/json/NL.json
There's also data on a per-veiligheids-regio level, which is encapsulated in jsons where the filename has the veiligheidsregio id in it.
Veiligheidsregio id's: https://www.rijksoverheid.nl/binaries/medium/content/gallery/rijksoverheid/content-afbeeldingen/ministeries/justitie-en-veiligheid/2020/kaartje-van-veiligheidsregios.png
JSON example URL for Rotterdam-Rijnmond:
https://coronadashboard.rijksoverheid.nl/json/VR17.json
JSON example URL for Groningen:
https://coronadashboard.rijksoverheid.nl/json/VR01.json

Thanks, my colleague is working on this! https://github.com/J535D165/CoronaWatchNL/pull/124. We are happy to integrate more sources.
Thanks for pointing out @Sikerdebaard

We added 3 datasets. What sources are you interested in?


Documentation issues

To install whis app on system like Arch you need to install aalib:
sudo pacman -S aalib
or you'll get an error OSError: libaa.so.1 no such file or directory
and you need to have python image library (pillow):
sudo pip install pillow

Typo in config.ini:
# ASCII iamge art
aalib = False

I think aalib depends by python-aalib.
Anyway, documentation is updated

Resolved


Unwanted changes to my jsx import.

Some of my javascript code (jsx) will, sometimes, changed, for example from
import get from 'lodash/get'

to
import get from '../../../../../Library/Caches/typescript/2.9/node_modules/@types/lodash/get'

The changed path points to some modules under ../../../../../Library/Caches/typescript/2.9/node_modules/@types/.
I don't even know if it's changed by vscode or vscode extensions.
It maybe have some relation to git operation.
So my question is:

Is it a bug of vscode
How can I investigate the which extensions changed my import?

> code --list-extensions
EditorConfig.EditorConfig
Tyriar.sort-lines
christian-kohler.npm-intellisense
dbaeumer.vscode-eslint
dsznajder.es7-react-js-snippets
eg2.vscode-npm-script
file-icons.file-icons
formulahendry.auto-close-tag
formulahendry.auto-rename-tag
HookyQR.beautify
jakob101.relativepathrefactor
john-lee.copy-relative-path
kumar-harsh.graphql-for-vscode
mrmlnc.vscode-duplicate
ms-python.python
ms-vscode.cpptools
ms-vscode.Go
msjsdiag.debugger-for-chrome
noku.rails-run-spec-vscode
rebornix.Ruby
ryanluker.vscode-coverage-gutters
Shan.code-settings-sync
xyz.plsql-language
yzane.markdown-pdf

Same issue on my end, it happens when I rename a file and all the local packages path is changed.
For example:
import * from 'reactstrap';
becomes:
import * from 'C:/Users/Vali/AppData/Local/Microsoft/TypeScript/2.9/node_modules/@types/reactstrap';
Very ugly issue, please fix it!

i hava same problem


I customized the portfolio specifically for computer science or related professionals

It looks like you are attempting to push a change to the part repository, for help with deploying please start a new thread in the discussions.


Looking for lake_cell_tile_xwalk.csv and GCM_{gcm name}.nc for MO models

I am trying to find the following files:

7_drivers_munge/out/lake_cell_tile_xwalk.csv
7_drivers_munge/out/GCM_{gcm name}.nc

So that I can set up a file structure similar to the one outlined in this repo's README.md. I do not have them in my local copy of lake-temperature-model-prep nor was I able to find them on the google drive for lake-temperature-model-prep.
@hcorson-dosch do you know where these files live? Or am I totally missing something here? I would appreciate any advice you might have to offer.

Hi Julie - those files pertain only to the GCM portion of the workflow in this repo, which generates GLM predictions using GCM driver data for contemporary and future time periods (noted as 'future-casting' lake temperatures in our task sheet). Those files you listed above are used to match each lake to the correct GCM driver data.
Since you're working w/ NLDAS to hindcast temperatures in MO reservoirs you won't need those files. Instead you can use the meteo_fl field specified for each lake in the nml_list.rds (here p1_nml_list_rds) to identify the correct NLDAS meteo data for each lake's simulation. That's the workflow set up for NLDAS model runs in this repo.

Great! Thank you!


Correction for raw affiliation CH, Narbonne, France

Correction needed for raw affiliation CH, Narbonne, France
raw_affiliation_name: CH, Narbonne, France
new_rors:
previous_rors: 022m8c549
works_examples: W4376874409
contact: c36ec6ba5e2268beca3b3ecea3cf8895:645999a3fc6dd7985326a10698e7b678044d @ inrae.fr

This issue was accepted and ingested by the OpenAlex team on 2024-10-10. The new affiliations should be visible within the next 7 days.


add hip unsafe atomic option

AMD introduced the unsafe-fp-atomics options to make atomicAdd faster.
unsafe atomicAdd is correct when the memory is on coarse grain.
hipMalloc always allocates memory on coarse grain, so we can use it by default.
although unsafe-fp-atomics should be added in clang-12, it is not always true when hip uses clang on their own repo.
llvm: https://github.com/llvm/llvm-project/commit/6054a456daf323294d6f9101b9a5a2345d6b5400
amd llvm: https://github.com/RadeonOpenCompute/llvm-project/commit/189310a140fa1c33f8f4838560f567bab9e99245
but amd shows the rocm >= 5 should use the llvm with unsafe atomic support.
Another note: only 5.2 requires compiler to use unsafe, but the rocm < 5.2 only suggests compiler such that it may not really use unsafe.

I only found the reference here.
https://docs.olcf.ornl.gov/systems/crusher_quick_start_guide.html#floating-point-fp-atomic-operations-and-coarse-fine-grained-memory-allocations


Element.id incorrectly declared in HTMLElement

Version: 1.0.0-RC1
HTMLElement should inherit id from Element. In Closure externs, Element.id is found at gecko_dom.js:756, HTMLElement.id is found at w3c_dom2.js:416.
Comments in gecko_dom suggest that id is defined on HTMLElement and SVGElement separately, but this is no longer true.

Contribution is welcome here.
This need to be fixed in google/closure-compiler repository
directly

Submitted a fix in google/closure-compiler#3394 and once this is merged we can close this issue

The PR landed upstream so this issue can be closed

Thanks!


I can't open main.java

I don't really understand where should I open it... Which IDE should I use and how?

I am sorry for the trouble . I meant to create an executable file for easy use but cant seem to get the time . I will create one as soon as I get the time . In the meantime, if you have followed all the steps above you can do 2 things -

Can download Eclipse IDE from http://www.eclipse.org/downloads/packages/eclipse-ide-java-ee-developers/marsr , install it and go to File->Open Existing Project and navigate to where you have downloaded the source code and open up the project. After that open src/application/Main.java in the IDE and run it using the play button on the top.

2)Can use the command line to directly run the script . Navigate to the scripts folder using cmd and run the following command (I am only giving the command for animeheaven as the command for 9anime is a bit complicated) -
python -u AnimeHeavenDownloader.py "url of series inside quotes" "path where to download in quotes"

I got it to work with your kind instructions, thank you! I'm still looking forward to testing out the executable when possible!


exception when last element of datablock is string

When I construct a datablock which has its last element of type string and attempt to read it via the serializer.dispense method I get the following exception: -
com.github.s7connector.exception.S7Exception: dispense
at com.github.s7connector.impl.serializer.S7SerializerImpl.dispense(S7SerializerImpl.java:157)
at com.ascari.s7.main$4.widgetSelected(main.java:225)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:252)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:89)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:4131)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1055)
at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3944)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3547)
at com.ascari.s7.main.open(main.java:66)
at com.ascari.s7.main.main(main.java:51)
Caused by: java.lang.IllegalArgumentException: Result: the desired address is beyond limit for this PLC
at com.github.s7connector.impl.S7BaseConnection.checkResult(S7BaseConnection.java:55)
at com.github.s7connector.impl.S7BaseConnection.read(S7BaseConnection.java:101)
at com.github.s7connector.impl.S7BaseConnection.read(S7BaseConnection.java:93)
at com.github.s7connector.impl.S7BaseConnection.read(S7BaseConnection.java:93)
at com.github.s7connector.impl.serializer.S7SerializerImpl.dispense(S7SerializerImpl.java:154)
... 9 more
if I append the datablock with an additional non-string type, the read works successfully..

hmm, i can't reproduce this :confused:
Did you make sure that your datablock has enough size, for example:
	@Datablock
	public static class MyDB {
		@S7Variable(type=S7Type.STRING, byteOffset=0, size=20)
		public String str;
	}

This DB should have at least 22 bytes (20 bytes string + 1 byte current length + 1 byte max length)
My guess is, that the dispenser tries to read over the end of the datablock...

@parich007 can you provide a concrete example: Snapshot from the db, annotations and your read/write code? Then I will test it!


Fix SSLv3 Client Auth

The rec_layer_s3.c changes in this PR aren't really part of this change. They are being reviewed separately as a different standalone bug fix - but they are a pre-requisite for this fix, so they are included here too.
Client Auth for SSLv3 is badly broken. There are a number of fixes in this MR:

Move the preparation of the client certificate to be post processing work after reading the CertificateRequest message rather than pre processing work prior to writing the Certificate message. As part of preparing the client certificate we may discover that we do not have one available. If we are also talking SSLv3 then we won't send the Certificate message at all. However, if we don't discover this until we are about to send the Certificate message it is too late and we send an empty one anyway. This is wrong for SSLv3.

Having received a ClientKeyExchange message instead of a Certificate we know that we are not going to receive a CertificateVerify message. This means we can free up the handshake_buffer. However we better call ssl3_digest_cached_records() instead of just freeing it up, otherwise we later try and use it anyway and a core dump results. This could happen, for example, in SSLv3 where we send a CertificateRequest but the client sends no Certificate message at all. This is valid in SSLv3 (in TLS clients are required to send an empty Certificate message).

In TLS if the server sends a CertificateRequest and the client does not provide one, if the server cannot continue it should send a HandshakeFailure alert. In SSLv3 the same should happen, but instead we were sending an UnexpectedMessage alert. This is incorrect - the message isn't unexpected - it is valid for the client not to send one - its just that we cannot continue without one.
The Client Auth tests were not correctly setting the Protocol, so that this aspect had no effect. It was testing the same thing lots of times for TLSv1.2 every time.

In TLS during ClientAuth if the CA is not recognised you should get an UnknownCA alert. In SSLv3 this does not exist and you should get a BadCertificate alert. The tests didn't take account of this.
If configuring for anything other than the default TLS protocols then test failures were occurring.

The core dump issue noted above was found using the BoringSSL test suite, and is what started me on this odyssey. We'd have found it using our own client-auth tests if it wasn't for the fact that:

We don't build sslv3 by default
The tests were broken for sslv3 anyway
Even if the obvious test problems were fixed it still would have been hidden because the tests weren't actually testing different protocol versions even though they appeared to be.

Also enable ssl3 in one of the travis builds? I'd suggest one of the sanitizers.

New commits pushed. I think I have addressed all comments:

New commit added to remove the "-1" return value handling for key_exchange_expected()
New commit added to simplify the server side CKE transition processing logic
New commit added to switch on SSLv3 testing in Travis (lets see what happens with this!)

I also rebased to remove all the rec_layer_s3_.c changes which were showing up in this MR but were actually being reviewed elsewhere. Those have now been pushed to master so after the rebase, these no longer show up.

+1 modulo the two minor  comments.

New commit pushed. Can you just reconfirm your +1 because I wasn't sure about the bad indent you referred to.

+1, whatever I thought I saw wrong with the indent, it's gone now :)

Pushed. Thanks for the review.


Add Dockerfile for building image with autoscaler and juju binaries

This PR adds a Dockerfile that can be used to build an OCI image containing both the autoscaler and the juju CLI binaries.

why doesn't this file go into cluster-autoscaler/cloudprovider/juju?  It seems odd to be top-level like this

it's odd the CI action didn't engage.  is that because you are raising this PR from a fork?

why doesn't this file go into cluster-autoscaler/cloudprovider/juju? It seems odd to be top-level like this

to build the autoscaler the files from the top level on down must be in the context. It is probably possible to put this in the juju folder but it might require some path shenanigans for the copy commands. You would also have to pay special attention when running the docker build command and pass in the correct path to the top level so they are in context.


fixes #293 to add support for PV and PVC. Also show the file that YAML parsing errors occur in!

LGTM [merge]

LGTM [merge]


Configure settings if needed

read_template_source sometimes used settings before it get configured.

:+1:

@nedbat: canhas merge & release please?

@nedbat Any chance of a new tag & PyPI release including this fix?


Fixing readme

README update according to v4 migration of the wrapper(removed videoElement passing to wrapper) and fixes in sample code.
These bugs are fixed:
https://www.pivotaltracker.com/story/show/121849887
https://www.pivotaltracker.com/story/show/121851121

👍


Lock all activities to portrait mode

LGTM

this can be configured from the app side.. from the readme:
You also may want to re-configure the activities to fit your own needs.
    ...

    <activity
        android:name="org.researchstack.backbone.ui.ViewTaskActivity"
        android:screenOrientation="portrait"
        android:windowSoftInputMode="adjustResize"/>

    ...


chore: Validate "exports" field in package.json

According to publint:
This entrypoint has types at build/lib/index.d.ts but it is not exported from pkg.exports. Consider adding it to pkg.exports["."].types to be compatible with TypeScript's "moduleResolution": "bundler" compiler option. ([More info](https://publint.dev/rules.html#types_not_exported))
This was actually working with bundler mode because the .d.ts files are adjacent to the .js files. However, this is obviously more correct, and the other query packages do this already.
I've added a check to validate-packages.ts to look for exports['.']['default'], and also moved the entries logic into config.ts. In the future, it might be possible to add publint to this file - however I ran into a CJS/ESM error which I will investigate at a later time.

@TkDodo any idea why these checks failed?

Yeah alpha is broken currently since I merged main back to it, where we added distributed task execution in nx. @ZackDeRose is looking into it. Sorry for the inconvenience 🙈

@TkDodo no stress! The Nx distributed agents speed gains are 💯. Are checks on main also broken?

@lachlancollins upgrade to node18 fixed the issue

build validation fails now with:

Validating packages...
Error: Missing entry for "types" in svelte-query/package.json!

I'm on it!

Hi @TkDodo , could you please review my changes to validate-packages.ts? I've added a check to make sure packages have exports['.']['default'] field - eslint-plugin-query was failing this test so I've added exports to it. If this is too far outside the scope of this PR let me know and I'll split it. Or I could rename this PR more generally related to package.json :)

Codecov Report
Patch coverage has no change and project coverage change: -8.74 :warning:

Comparison is base (058f030) 97.12% compared to head (29a13dd) 88.39%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #5350      +/-   ##
==========================================
- Coverage   97.12%   88.39%   -8.74%
==========================================
  Files          11       24      +13
  Lines         383      491     +108
  Branches      140      152      +12
==========================================
+ Hits          372      434      +62
- Misses         11       52      +41
- Partials        0        5       +5

see 13 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@lachlancollins I don't think the eslint-plugin needs an exports entry. Maybe we could add exports to entries in scripts/config.ts so that it becomes:
entries: ['main', 'module', 'types', 'exports'],

for most packages, but leave it out for the eslint one?

@TkDodo I'd have to do something like exportsEntries: ['default', 'import', '...'], since exports is a bit more complex to check. Would be easier to replace all this logic with publint!
Is there any harm in adding exports to the eslint package? It is the "replacement" to main/module/types and is used by all the other packages.
Also, I'm happy to add back module and types to svelte-query, but I don't think it's even possible to build svelte with a bundler that doesn't support exports :P

Is there any harm in adding exports to the eslint package?

I suppose not.

Also, I'm happy to add back module and types to svelte-query, but I don't think it's even possible to build svelte with a bundler that doesn't support exports

Alright, just wanted to double check 👍

not sure why codesandbox build is failing now and I can't re-trigger that. can you add an empty commit to re-run it?

@TkDodo what gets run on codesandbox? It seems like nx run root:rollup completes successfully, then whatever happens immediately after causes the error.

@TkDodo I saw webpack mentioned on the svelte subreddit so I panicked and added back the non-exports fields 😅


Built multiarch version of staticroute-operator image

The related logs from travis https://app.travis-ci.com/github/IBM/staticroute-operator/builds/263395111
...
quay.io/example/static-route-operator/staticroute-operator-s390x   latest            a19b1acf04b0   4 seconds ago   53.6MB
quay.io/example/static-route-operator/staticroute-operator-amd64   latest            03f4debc0c75   2 minutes ago   51.6MB
...

Thanks @mihivagyok @Tamas-Biro1 @SzabolcsSzoke for review and make the PR merged!


Timed beliefs

This PR introduces the TimedBelief table and functionality to turn its entries into a BeliefsDataFrame and vice versa.
As part of your review, I'd be interested to get your opinion on the naming of the class methods I introduce for this functionality.
Best reviewed in conjunction with timely-beliefs PR 53.

Thanks for your thoughts regarding method naming. I suggest the following:

flexmeasures: TimedBelief.search() and TimedBelief.add()
timely-beliefs: TimedBelief.search_session() and TimedBelief.add_to_session()

This way, the naming reflects when you have to pass it a session explicitly, and the fm class method names won't overwrite the tb class method names, as they would if they are named exactly the same. Alternatively, it could be:

flexmeasures: TimedBelief.search() and TimedBelief.add()
timely-beliefs: TimedBelief._search() and TimedBelief._add()

or:

flexmeasures: TimedBelief.search_session() and TimedBelief.add_to_session()
timely-beliefs: TimedBelief._search_session() and TimedBelief._add_to_session()

But I prefer (and implemented) the first suggestion.


Travis spark support

@jborchma @theianrobertson

Adding Spark support to Travis
bumping pytest to the latest version.

minor fix for Spark tests and raises usage

Closes #41

pretty straightforward! LGTM

Seems like pytest==5.1.3 doesn't support python 2 anymore. Might be a good time to start on dropping python 2 support


Layout cookbook: Bootstrap style list group with badges

User story
As a web developer I want to understand how to create a list group with badges component. Such as http://getbootstrap.com/docs/4.1/components/list-group/#with-badges
Acceptance criteria
New recipe in the cookbook section with live examples and downloadable code.
Tasks

[x] Create example

[x] Commit live example and downloadable code to CSS Examples Repo

[x] Write page for the cookbook

[x] Add relevant compat info

The page is here: https://developer.mozilla.org/en-US/docs/Web/CSS/Layout_cookbook/List_group_with_badges

I've given this an edit, looks great! Thanks Rachel.


feat(aliase): drop support package.json

Resolves #20

The README still needs to be updated to mention package.json imports

The README didn't mention support of package.json

The README still needs to be updated to mention package.json imports

The README didn't mention support of package.json

Correct. It should.


Crawler 1st working version

First working version of the todostuslibros crawler.

Close pull request because it is the 1st one.


let ga determine the default value of pageview if payload.[VALUES] is undefined

By default ga will determine the default value for pageview location/page/title if not-defined.

some minor feedback, overall it's 👍

Force update the pr based on code review. Thanks!!

👍


Using a custom graph protocol is blocked by the Traversal SDK

When adding a custom protocol, e.g.
<ProjectReferenceTargets Include="Foo" Targets="Foo" />

Only the root traversal project runs the Foo target.
I think the problem is this line:
https://github.com/microsoft/MSBuildSdks/blob/96f2169fe2602f2cfdcb86d21a018e35bed8f1b6/src/Traversal/Sdk/Sdk.targets#L40
Perhaps just remove the protocols the Traversal SDK is handling rather than remove all.

Perhaps just remove the protocols the Traversal SDK is handling rather than remove all.

Sounds like a good solution to me, feel free to send a PR


[Bug]: googlechrome has been outdated for months

Prerequisites

[X] I have written a descriptive issue title.
[X] I have searched all issues/PRs to ensure it has not already been reported or fixed.
[X] I have verified that I am using the latest version of Scoop and corresponding bucket.

Package Name
googlechrome
Expected/Current Behaviour
The package googlechrome has been outdated for months.
And there was a pull request to solve it 2 weeks ago, but it stiil hasn't been reviewed and merged.
issue: Updates are blocked by ryzen-controller
pr: Fix ryzen-controller check
Steps to Reproduce
https://github.com/ScoopInstaller/Extras/blob/master/bucket/googlechrome.json
"version": "107.0.5304.107" vs "currentversion": "108.0.5359.125"

Possible Solution
There has been a pr mentioned before.
Scoop and Buckets Version
Current Scoop version:
v0.3.1 - Released at 2022-11-15

'extras' bucket:
d931e5fb6 (HEAD -> master, origin/master, origin/HEAD) telegram-downloader: Update to version 0.6.0

'main' bucket:
fd8ea2c7a (HEAD -> master, origin/master, origin/HEAD) minio: Update to version 2023-01-02T09-40-09Z

'nonportable' bucket:
7ced35e (HEAD -> master, origin/master, origin/HEAD) spotx-np: Update to version 1.7-20230101-3a2b64

'versions' bucket:
632de1f72 (HEAD -> master, origin/master, origin/HEAD) r-patched: Update to version 4.2.2-r83548

Scoop Config
last_update       scoop_repo                              scoop_branch
-----------       ----------                              ------------
2023/1/3 20:45:12 https://github.com/ScoopInstaller/Scoop master

PowerShell Version
Name                           Value
----                           -----
PSVersion                      7.3.1
PSEdition                      Core
GitCommitId                    7.3.1
OS                             Microsoft Windows 10.0.19044
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Additional Softwares
No response

I’ve merged the workaround now. Chrome series should be upfated in the next check

For the solution I need time to review it.

I’ve merged the workaround now. Chrome series should be upfated in the next check

Thank you!

Chrome is outdated for 2 major releases
109 vs 111
https://chromereleases.googleblog.com/2023/03/stable-channel-update-for-desktop.html

C:\>scoop search chrome

Results from local buckets...

Name               Version                 Source Binaries

----               -------                 ------ --------

chromium           109.0.5414.120-r1070088 extras chrome.exe

dartium            1.24.2                  extras chrome.exe

googlechrome       109.0.5414.129          extras

ungoogled-chromium 110.0.5481.177-1.1      extras chrome.exe

chromedriver       111.0.5563.64           main

You should raise a new issue. I have already update the upstream to drop windows 7 support since 109 is the last version supported.


Error running app after adding selenium library to my app

I am trying to build a windows app.
I added selenium library to my app. It runs well before building(using 'flet run' command).
But it fails after building windows app(using 'flet build windows').
This is the error message when running .exe file after building.

Traceback (most recent call last):
File "", line 40, in
File "", line 229, in run_module
File "", line 88, in run_code
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95\main.py", line 1, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages\flet_init_.py", line 1, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\flet_runtime_init_.py", line 1, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\flet_core_init_.py", line 178, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\flet_core\page.py", line 65, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\flet_runtime\auth_init_.py", line 1, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\flet_runtime\auth\authorization.py", line 8, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpx_init_.py", line 2, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpx_api.py", line 6, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpx_client.py", line 32, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpx_transports\default.py", line 32, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpcore_init_.py", line 1, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpcore_api.py", line 5, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpcore_sync_init_.py", line 1, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpcore_sync\connection.py", line 12, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\httpcore_synchronization.py", line 11, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\trio_init_.py", line 76, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\trio_path.py", line 99, in
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\trio_path.py", line 116, in Path
File "C:\Users\JJ\AppData\Local\Temp\serious_python_tempd9e19e95_pypackages_\trio_path.py", line 41, in decorator
AssertionError
Flet version (pip show flet):
Name: flet
Version: 0.20.2
Summary: Flet for Python - easily build interactive multi-platform apps in Python
Home-page:
Author: Appveyor Systems Inc.
Author-email<EMAIL_ADDRESS>License: Apache-2.0

Operating system:
Windows 11

I also have the same issue with the same exact output. You can get around it by using flet pack instead

could someone give a possible fix how to fix that? because im trying to put it in requirements.txt and app just crashes instantly when compiled unto .apk


Missing latest release notes for 1.1.8, 1.1.9, and 1.1.10-preview releases

It seems we're up to 1.1.10-preview on the PowerShell Gallery yet this page is missing release notes :)

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 173b5929-529b-938b-b6ab-59f05a5d69a8
Version Independent ID: 0a3dfe5e-938f-933d-637e-b7449e3b8aa5
Content: Microsoft Teams PowerShell Release Notes - Microsoft Teams
Content Source: Teams/teams-powershell-release-notes.md
Service: msteams
GitHub Login: @brandber
Microsoft Alias: brandber

@miketheitguy Thank you for submitting feedback and contributing to the docs. We are currently investigating this.

@brandber @dstrome


readme: add some details and usage

Thank you very much for the handy library @FFY00.
I tried to put up together a PR to add some clarifications and usage to the README.
Hopefully it is useful for you.

Thank you very much for the review @FFY00


Support joining on DataFrameLoaders with shared columns

For example:
join_with=["loader_a", "loader_b"]
Where loader_a has columns patient_id A B C and loader_b has columns patient_id C D...
...will result in columns like:
`patient_id`
`A`
`B`
`loader_a_C`
`loader_b_C`
`D`

@arahuja

Wouldn't passing suffixes=('', '_' + df_loader.name) to merge accomplish the same? Or is that different somehow?

Coverage increased (+1.3%) to 59.653% when pulling b0835cd71e1bca4ed53c59598b06fc0010f7194a on multi_join into fc224c55cd4ebefe3f18c779043f715a2f0c69f9 on master.

Coverage increased (+0.2%) to 58.554% when pulling b0835cd71e1bca4ed53c59598b06fc0010f7194a on multi_join into fc224c55cd4ebefe3f18c779043f715a2f0c69f9 on master.

Wonder why the multiple (and disagreeing) coverage messages on the same commit

@arahuja very strange indeed re the coverage.

@arahuja re suffixes, that's what I started with, but it gets problematic with multiple DataFrameLoaders. Since I don't know a better way to join > 2 DataFrames together other than sequential joins, the first join would result in non-prefixed or suffixed columns, while the second would get the suffix.
In the above example, that'd result in loader_a_C and C rather than loader_a_C and loader_b_C.

@arahuja I just switched the prefixes to suffixes for consistency with pandas.

Coverage increased (+0.2%) to 58.554% when pulling e65a88042a8afb48278a5ecbf862a4df6904fd40 on multi_join into fc224c55cd4ebefe3f18c779043f715a2f0c69f9 on master.

Ah, thanks for the explanation.
LGTM - on a minor note, I don't think rename errors on missing columns, so you could find all the missing columns at once and then bulk rename the columns, though not clear that offers an advantage.

@arahuja yeah, I was thinking about doing that but I think it's probably fine as is?


MGDOBR-523: Bridges/Processors - New Status label component

JIRA: https://issues.redhat.com/browse/MGDOBR-523
This PR is dependent on:

https://github.com/5733d9e2be6485d52ffa08870cabdee0/sandbox/pull/1033

Replacing the temporary label with a new component inspired by the kafka status label poc.
The main difference is that now creation statuses (accepted, preparing, provisioning) are grouped under the Creating label. Same for the deleting statuses.
Also, clicking on the Creating label will open a popover with more information.

Converting to draft until we solve the issue within the processor detail page.

SDK was updated, I've fixed the label when updating a processor using the new modified_at.
@manstis would you like to have another look?

Minor nit picks; but when editing a Processor the label on the Processor Details page did not update. I had to navigate away to the Processor List page (where it correctly showed as Ready after an update) and back again. Is this expected? I ran with npm run start.

Correct, that's the current behavior. The processor details page is not automatically refreshed ATM. Only the overviews are polling data.


electronize build /target linux only runs in terminal and no desktop app opens

Hi I created a simple Blazor-electron dotnet application in Ubuntu and it works fine when I use "electronize start" . The desktop application starts and I am also able to access it in the browser via port 8001. The name of the project is BlazorApp.
But when I created build using electronize build /target linux. A folder is created in the path "/BlazorApp/obj/desktop/linux". When I run
-> chmod 777 ./BlazorApp
-> ./BlazorApp
The app runs in port 5000 similar to normal dotnet run and the desktop app does not start. Please let me know if I am missing something or this is an issue.

I check in this path "BlazorApp/bin/Desktop/linux-unpacked/blazor-app" and the application launches as expected.


Updated go.mod with version 0.22.15

What type of PR is this?
Changed the go.mod client go version with v0.22.15 and able to build the binary.

What this PR does / why we need it:
k8s Cl2 using v0.20.12 and we are trying to test against the version k8s 1.22 and 1.23 which is getting failed throws us invalid apiversion error,after the version upgrading to 0.22.15 every test is getting  passed.
Its new PR after changing the patch versions https://github.com/kubernetes/perf-tests/pull/2161
Which issue(s) this PR fixes:

Fixes #
Special notes for your reviewer:
Does this PR introduce a user-facing change?:

Additional documentation e.g., KEPs (Kubernetes Enhancement Proposals), usage docs, etc.:

/lgtm
/approve
Thanks!

/ok-to-test

Now our internal tests are passing. Updating from 0.22.3 to 0.22.15 solved the issue.

@mborsz Good to hear ,Thanks!!


Angular 16 compatibility?

Is planned to provide Angular 16+ compatibility?

You may find an answer in #2000 😂

@vgr-reddy PR for angular 16+ compatibility and here is the package

Looks like Angular has native component of Google Maps
https://github.com/angular/components?tab=readme-ov-file
https://timdeschryver.dev/blog/google-maps-as-an-angular-component#putting-it-all-together