🐞 onKeyEvent not working as expected

If i add fillMaxSize  before onKeyEvent, the onKeyEvent is not getting called.

Interesting problem, do you have full reproducer?

I'm pretty sure it's upstream Compose a problem, we need to check it on Android

It would be nice to have a onKeyEvent on App level. Which is independent from focus. Because in Android legacy view system as well as in compose it is a pain to get focus working. It is near to impossible to reliable catch key events.

I have the same problem. How to workaround this issue? I am thinking it has something to do with focus. Is there a tutorial or example somewhere that clearly describes how to use onKeyEvent? I just launched a window and want to handle arrow events but its not even fired.

App-level key events can be handled with LocalWindow.current.keyboard.onKeyEvent block starting with 0.5.0 builds. See example at https://github.com/kirill-grouchnikov/aurora/blob/icicle/demo/src/desktopMain/kotlin/org/pushingpixels/aurora/demo/AuroraScrollDemo.kt#L192

App-level key events can be handled with LocalWindow.current.keyboard.onKeyEvent block starting with 0.5.0 builds. See example at https://github.com/kirill-grouchnikov/aurora/blob/icicle/demo/src/desktopMain/kotlin/org/pushingpixels/aurora/demo/AuroraScrollDemo.kt#L192

This worked. Thanks!

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Remove @ts-ignores from tests

This allows the JSX namespace to be resolved in the tests file, removing the need for ts-ignores.

As an aside, it looks like a few things have been added since the last time I played around with this repo and a few things on my end were broken on my end.
https://github.com/anysphere/priompt/blob/0ba66fb760462385c951c4e9e1312199a5c4764f/priompt-preview/src/openai.ts#L10
On my end, since ossEndpointsJson is "undefined", the preview app throws an error trying to parse "undefined" as a JSON. If needed, I can make a PR with my fix to get the app running.

This is great, thank you. Instead of making it global (which would potentially cause problems with mixing React/SolidJS and Priompt in the same project), I just made the tests import from ./index instead.

Also, thank you for pointing out the ossEndpointJson problem! It appears there are a few more problems with running Priompt (e.g. tiktoken-node) — I will fix them right now.

This is great, thank you. Instead of making it global (which would potentially cause problems with mixing React/SolidJS and Priompt in the same project), I just made the tests import from ./index instead.

I hadn't considered that conflict, your fix certainly makes more sense than what I did!


[feature]File Manage support batch upload files

Version: 1.2.0
File Manage support batch upload files
文件管理支持批量上传

good idea
btw， next version will support multi directory

expect

Related issue: #5201


NaN value in Strategy Room

I don't have this issue but someone has this. I still post it here to keep track
https://www.facebook.com/photo.php?fbid=723434847766353&set=p.723434847766353&type=1&theater

Would be nice if the person is able to report which versions he/she is on. :stuck_out_tongue:
To me (as a non-developer) it is either one of two things:

The database has not obtained a complete listing of the ships data from since the game is to download that 1MB or so file at the beginning of the game (ship loading screen).
The database is probably corrupted internally.

Have you also suggested the person in question to try and open up debug window whilst they are in strategy room? any errors might be more useful than just a screenshot in my opinion.

as I see it, he used the panel too late in the game, and not on startup
equipment list is only loaded at the start of the game or after sorties. if he opened it late, we don't have a list of his equipment and its IDs, which explains missing equipment icons on the right, and that the AntiSub / Evasion / LoS values are actually derived values where we deduct ship stats minus the equip stats. It will become NaN if there are not equip stats.
See sendai K2 probably has no equipment at all so there is no bad subtraction


Polygon footprint model is not detecting obstacle collision

Robot collides with obstacles when using polygon footprint, but works fine for other footprint models.
You can see in the following video (line model) the robot correctly stops before collision: infeasible footprints show in red and there are WARN logs about trajectory infeasibility.
https://user-images.githubusercontent.com/15384781/143421514-a16c42ea-ed2b-4606-93d5-0ec67166e6aa.mp4
But in the following video (polygon model) the robot does not stop: there are no infeasible footprints in red, and WARN logs only appear after the robot has already collided with the obstacle.
https://user-images.githubusercontent.com/15384781/143421963-812fdc95-b7c3-4758-9944-c800e22f73cb.mp4

I realized that this is an effect of setting inflation weight to 1.0.1


Measuring scale-out performance for HBase and MySQL

Hi,
I would compare HBase and MySQL Server in terms of scalability by using YCSB on parallel mode.
For HBase, I installed HBase in standalone mode. Then, to scale out I add regionservers to my cluster.
For MySQL, I installed MySQL server in the first machine. Then, to scale out I install MySQL server in other machines of the cluster.
For load and run phases, I run the commands in each machine(For MySQL and HBase ) and I aggregate the results thereafter.
Is this method correct to evaluate the scalability of MySQL server?
Please, I really need your help.

are the mysql servers running in some cluster mode? or are you assuming mysql sharding will be handled at the application layer?
are you running YCSB according to our guidelines for running multiple YCSB clients?

Thank you for your response.
I assuming that mysql sharding will be handled at the application layer by using  the guidelines for running multiple YCSB clients.
Is this methode correct?

no, the parallel YCSB instances assume they are all talking to a single key space. For example, workloads that use Zipf distribution for operation requests will parallelize the inserts across all the mysql shards but their reads will very likely only hit a single shard.
You should configure MySQL in some cluster deployment if you want to test scaling mysql out across multiple servers. You should check MySQL documentation or forums for ways to do this.


Plugin request for Buf Schema Registry: grpc/grpc-dart

Not ready to open an issue, but want to chat about your plugin? Come find us on our Public Slack channel:
https://buf.build/links/slack
Mandatory
Where is the source code for the plugin?
https://github.com/grpc/grpc-dart

The existing https://buf.build/protocolbuffers/dart plugin already supports generating gRPC code if you specify the grpc option: https://pub.dev/packages/protoc_plugin#generating-grpc-headers
There is an end to end example of using gRPC with Dart here: https://grpc.io/docs/languages/dart/quickstart/


ev.pointers.length in panend

I'm not sure if that behaviour is intented, but if I pan with one finger and release it, ev.pointers.length in panend returns 1. If I do the same with touchend, ev.touches.length returns 0.
Since the touch was released in touchend/panend I don't see why there should be any pointers/touches in ev.pointers. Released touches will be found in the changedTouches/changedPointers in any way.

This may be due to an incorrect ordering of events in pan that was fixed by https://github.com/hammerjs/hammer.js/commit/92f2d76188480d967e738a19cd508d0b94a31329

Turns out this is intended. pointers contains pointers that have been removed as well.  You'll need to loop pointers and examine their types.  We're looking into the possibility of adding an activePointers property for 2.1.x


standalone-cinder-provisioner with iscsi volume type  attached the k8s minion host but cinder list see attached to NONE

Is this a BUG REPORT or FEATURE REQUEST?:
/kind bug
What happened:
i use the standalone-cinder-provisioner and the backend storage is iscsi,the pv and volume can dynamic created, the device can  attached the k8s minion but cinder list see attached to NONE
| cd265309-5c86-4bba-80dc-da52a63cbe23 | 90d234769080430d9ae8b0052d8f8cd2 |   in-use  | cinder-dynamic-pvc-91233138-39a5-11e9-9a2c-0a58ac100002 |   1   |    iscsi    |  false   |    False    |                                                      None
What you expected to happen:
cinder list result can attached to k8s minion host name
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:k8sv1.13

openstack-cloud-controller-manager version:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Install tools:
Others:

/assign @aglitke

/assign @j-griffith  @dims
the pr merge is
https://github.com/kubernetes/cloud-provider-openstack/pull/179

/cc @aglitke


fix: strict mode null checks

This PR adds null checks to address the v0.34.0 strict mode changes

For information:
I tested this pull request in Deno v0.35.0 and it works.
Without this update the cli-spinners library does not compile.

Thanks @fvilante @aaron-harvey for the contribution


latex biomes are still generateing beach/river like and tends to generate with edges matching chunk borders

this was done on a fresh world with ONLY changed 0.8.3 installed

biome quickly ends a few chunks behind on top of being able to see the chunk borders

This will be re-planned as a terrablender dependency for v0.10.0


getAccessToken

Hi
How do you create an accessToken programmatically?  I have tried using above method but is undefined because I have created class with no access token option.  I have seen auth examples but this is with web interaction, is this not possible due to auth2!?
Thanks

You can't create an access token entirely programmatically, as the user needs to explicitly/manually authorize the app before the app is given an access token to access the user's account.
You'll need to process the app authorization flow as shown in the auth example first. After that, you can store and re-use the resulting access token for that user programmatically though.

What if the consumer of dropbox api and user are one and same thing? They cannot programmatically access api without needless gui interaction with oauth2.  This makes the api not very programmer friendly, and I can only hope this changes in the future!

Thanks for the feedback! You can get the access token once though, and store and re-use it programmatically without further manual intervention after the first use though.

Also, not sure if you already knew this, but you can just go to https://www.dropbox.com/developers/apps, click on your app, and then click "Generate access token" to get one. There's no need to go through the OAuth flow in the browser if you just need a token for your own account.

Thanks @smarx  I will have to use that method but it would be good if this could be accessed by an api call.

@simon-p-r How would you authenticate such an API call?

I am not a security expert, just a Dropbox customer that finds it a cumbersome API to work with.

My point is that you'll have to pass some sort of secret to get an access token, and you'll need to get that secret from dropbox.com when you're logged in. (How else would you prevent other people from accessing your account?)
The access token is already a secret you get from dropbox.com when logged in, so I can't think of a way to make this easier unless we supported username/password authentication (since your password is a secret you already know). But that's generally something to avoid from a security perspective, which is one of the major reasons OAuth exists in the first place.

Basic auth over ssl is safe for what this feature is providing, which is basic programmatic access to generate a token.  This token could even expire until the real token is generated.
As I said I am no security access but all I know are other public apis have better interfaces for providing access to their services.

How to generate ACCESSTOKEN using python program with user credentials only?

@nagurameer The API doesn't offer a way to retrieve an access token in an entirely programmatic way. Please refer to the discussion above for more context.
For Python, we recommend using the official API v2 Python SDK. That has support for the OAuth 2 app authorization flow.

@greg-db thanku,but mi requirement is to generate access token for Dropbox using user's credentials.I am  Building a application which allow to upload and download the files Many to Many scenario Where i need to access different users accounts.Is it possible to generate Accesstoken using user credentials.

@nagurameer Thanks for the feedback. The API doesn't offer a way to generate an access token from user credentials.

@greg-db thanku.We contacted Dropbox support team.They provided different solution for us.once again thanku 'greg'


Split amount of money into equal chunks without losing cents.

Hi! 🍡

@reillywatson added doc comment! let me know if it's not clear/should be reworded. Thanks!

Looks great, thanks!


facet arrows bump down in medium (new font is wider?)

@mccalluc: can we widen the facets by a few pixels?


gst-plugins-good: Add optional qt5Support

Motivation for this change
nheko video calling (Drafted in PR #110595) needs qmlgl, so I put a switch into gst-plugins-good to enable it.
I put another switch in for lreleaseSupport, because I don't think it's necessary in most cases but I would be happy to see it when I needed it while working on something.
While working on it, I saw that pulse was disabled twice in the same block, so I also fixed that in another commit.
Thanks @rnhmjoj for the help,
ping @matthewbauer
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review pr 110608"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

So, I've investigated a bit the lrelease situation. This is tool needed to compile translation files used by Qt applications.
I looked at the gst-plugins-good sources and found no mentions of translation (no TRANSLATIONS variable in the .pro or .ts files). Since the project builds and works without it I assume the meson message (Program lrelease found: NO) is a product of some default template/code generation but it can be ignored.

So, I've investigated a bit the lrelease situation. This is tool needed to compile translation files used by Qt applications.
I looked at the gst-plugins-good sources and found no mentions of translation (no TRANSLATIONS variable in the .pro or .ts files). Since the project builds and works without it I assume the meson message (Program lrelease found: NO) is a product of some default template/code generation but it can be ignored.

I'd like to get this merged before the other nheko PR. Can you drop the qtrelease thing so we can go on?

Whoops, I thought I already did that. Here you go.


Font awesome Icons large on load

On web, while loading the javascript the svg icons scale to 100% until the javascript kicks in which then sets the size correctly.
To get around this temporary we set the width & height on the icon but we might want to look into a more robust solution.

This only happens for static websites. It can be fixed by importing @fortawesome/fontawesome-svg-core/styles.css in ur global css.


⚠ Jenkins Plugins Artifactory has degraded performance

In 51da5b0, Jenkins Plugins Artifactory (https://get.jenkins.io/plugins/artifactory/) experienced degraded performance:

HTTP code: 200
Response time: 1154 ms

Resolved: Jenkins Plugins Artifactory performance has improved in cc9dda7 after 19 minutes.


Small feature request

Can you add just a command line argument pass for Genshin, like you did for Honkai? I want to try some arguments and see what works and whatnot, and eventually you can come up with just a setting toggle when everything is tested out.
You can actually do it on a test branch as to not mess up with the current one

That's a good idea. I think we can try to add that in the next Release Candidate 3 release since I'll be focusing on fixes for Release Candidate 2.
I will consider this feature later.

More like you can try, I just had the idea

Hi there,
I just finished to implement this feature and yes, it's possible to get done so we can test the feature now.
Also, this feature will be included in the next Release Candidate 2

Build download:
https://github.com/neon-nyan/CollapseLauncher/releases/tag/CL-v<IP_ADDRESS>-fix20221019-test

All right I'll test it in about an hour and log what works and whatnot (though having a possible list of accepted command line arguments would be great to have).
P.S. is that Zeenless Zone Zero I see in the background?

P.S. is that Zeenless Zone Zero I see in the background?

Yes, that's Zenless Zone Zero 👀

It's just a custom background btw

I can say that the argument pass is working, now next step is to find which arguments are accepted and eventually have some being toogleable for user friendliness though that's not necessary

Closing this issue since the support has been added


Add information on what "automatic checkpoints" are and how they work

Please add a section to this document explaining what automatic checkpoints are and how they work as I haven't been able to find any official documentation on that feature in Hyper-V on Windows 10 hosts.
I found lots of links to the website https://blogs.technet.microsoft.com/virtualization/2017/04/20/making-it-easier-to-revert/ which used to contain good information on automatic checkpoints, but that blog post has been taken offline and now redirects to https://techcommunity.microsoft.com/t5/Virtualization/bg-p/Virtualization.
Luckily that blog post is still viewable via the Wayback Machine at:
https://web.archive.org/web/20190323205208/https://blogs.technet.microsoft.com/virtualization/2017/04/20/making-it-easier-to-revert/

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

ID: 371a9010-df75-2250-6e55-85bef8c0b9de
Version Independent ID: 9f61de64-c87e-39c9-901d-463e44df06b8
Content: Using checkpoints
Content Source: virtualization/hyper-v-on-windows/user-guide/checkpoints.md
Service: windows-10-hyperv
Product: windows-10-hyperv
GitHub Login: @scooley

The blog post is now here: https://techcommunity.microsoft.com/t5/Virtualization/Making-it-easier-to-revert/ba-p/382370
But yes, it would make sense to at least add the link.

We hugely appreciate your contribution, feedback, and support to our technical documentation.
We’ve phased out GitHub Issues on this repository as the feedback mechanism for content and have replaced it with a new feedback system. For more information see, Content User Feedback. As part of this rollout, we are migrating your issue where our team will use your comments to improve the documentation experience. Unfortunately, this does mean you won't be able to access this issue after the migration is complete.
All issues will be migrated by Thursday 29th August 2024.
Once again, thank you for your valuable feedback, we hope you’ll continue to contribute using our new feedback system.


Add auth delegation utilities

Motivation
Applications usually perform some authentication & authorization, and for kubernetes-native apps it makes sense to leverage apiserver for that, e.g. this is recommended for the extension API servers.

Solution
This PR adds simple high-level client together with SubjectAccessReview builders.
Additionally, while I was writing an example, I realized that currently it is not possible to create subresources, so I added a method for this in a separate commit.

Codecov Report

Merging #778 (647233e) into master (4d991fe) will decrease coverage by 1.69%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master     #778      +/-   ##
==========================================
- Coverage   71.99%   70.29%   -1.70%
==========================================
  Files          54       55       +1
  Lines        3631     3720      +89
==========================================
+ Hits         2614     2615       +1
- Misses       1017     1105      +88

Impacted Files
Coverage Δ

kube-client/src/lib.rs
92.80% <ø> (ø)

kube-client/src/util/auth.rs
0.00% <0.00%> (ø)

kube-core/src/request.rs
92.16% <0.00%> (-2.84%)
:arrow_down:

kube/src/lib.rs
87.80% <ø> (ø)

kube-runtime/src/wait.rs
70.00% <0.00%> (+2.00%)
:arrow_up:

Continue to review full report at Codecov.

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

Hey, thanks a lot for all of this! I think this makes sense to include a lot of this in kube, and will come back in a day or two to give this a proper review (the tokenreview stuff is all new to me, so need to read through this properly).
Some quick notes:

extra subresource create absolutely makes sense
authclient and associated enums makes sense
the builders for subjectaccessreview possibly makes sense - they might clash with https://github.com/kube-rs/k8s-pb/issues/9 down the line though :thinking:

I'm going to close this:
builders, while being useful, are probably out-of-scope for kube-rs, and the rest is already implemented in other PRs


SPI IRQ test

Testing of SPI interrupts.

I assume it's because of this line: spi->control = SonataSpi::ControlInternalLoopback | SonataSpi::ControlTransmitEnable | SonataSpi::ControlReceiveEnable | (encRxWatermark << 8) | (encTxWatermark << 4);
We might need to undo it after the interrupt test or set the correct control value in the pinmux SPI test.

I assume it's because of this line: spi->control = SonataSpi::ControlInternalLoopback | SonataSpi::ControlTransmitEnable | SonataSpi::ControlReceiveEnable | (encRxWatermark << 8) | (encTxWatermark << 4); We might need to undo it after the interrupt test or set the correct control value in the pinmux SPI test.

This isn't a problem with the interrupt test. Altered signalling to the SPI DPI model in simulation with the pinmux changes has exposed the fact that the model was not happy with SCK toggling when CS is deasserted (PR #292).


frozen_box propagation into sub-nodes

Is that a designed behaviour:
hash(Box({'x': {'y': 2}}, frozen_box=True))
# OK!

hash(Box({'x': Box({'y': 2})}, frozen_box=True))
# TypeError: unhashable type: 'Box'

When combining a structure from pieces a mixed dict/Box hierarchy may emerge,
and to make it frozen one should now traverse it and change box-node by node, or
some ugly thing like that:
frozen_box = Box(Box(struct).to_dict(), frozen_box=True)

An alternative would be to make sure that Box(struct, frozen_box=True)
would make sure all the sub-boxes are frozen too.
What do you think?
Thanks

Well that's something I guess I never thought about was propagating the settings to already created sub-boxes.
It would make sense that all box objects coming into another box should adhere to the parents convention. However I can also see where some might find that detrimental, so it will have to be configurable (probably with auto inheritance being the standard.)
This is something I will want to flush out for 5.0

I am starting to cut pre-releases for 5.0.0, if you are feeling adventurous please test it out and let me know if it solves your issues!
pip install --upgrade "python-box[all]>=5.0.0a0"

Details on the new wiki


Fall 2017 Compatibility Update

Changelog

Makes BTS compatible with Fall 2017 update. Fixes issues will pulldown sizes and adds religious pressure icons.
Makes ML compatible with Fall 2017 update. Fixes issues with the builder lens, adds the religion lens changes.
Changed tab length for two files in ML. Those commits only change tab length. That is the reason for the huge amount line deletions and additions. If you need me to change the tab length to 4, I can push a commit for that. Let me know.

Will work on BES later...

@Azurency Don't merge this yet. Apparently there is a bug with TradeRouteChooser screen going out of screen. I should have this fixed this week.

Ok, I'll wait. If you need any help, do not hesitate to ask, I could take a look at it.

Also hovering a city when you are in some lenses, reset the graphics. It's not an indented behavior as hovering a city happens often when you move on the map.
The concerned lenses :

Religion
Continent
Government

@Azurency Both those bugs should be fixed now. Hopefully everything else works. 😄 👍

Nice 👍 ! You'll add your update to BES in this pull request or should I merge it now ?

I can add BES here I guess. I am looking into it now. That way all three are updated at the same time.

@Azurency and others, can you check this pull request, specifically the BTS part. I have gotten comments saying they can't start domestic routes or the route choose screen is only showing one route, but it is working for me, so I want to know how to recreate that bug and try and fix it.

I remember testing the changes yesterday and everything was fine. I can't check today, but I'll give it a look tomorrow evening

@Azurency With this all my mods should be updated. If bugs do arise, I'll post a separate pull request.

@astog It's merged 🎉 thx a lot for updating your mods so fast and making this pull request !


Failure to parse ip address in offer returned from Chrome

In doing local testing for setting up a WebRTC channel with a simple JS example on the same computer (mac chrome simple JS offer/answer video  + aiortc responding with an image), a python exception is happening on one of our dev computers (because of the browser offer returning what Python thinks is a non-parsable ipv6 address) but not on all of them.
The ice candidates that Chrome returned are:
a=candidate:706387448 1 udp<PHONE_NUMBER> 5177eebd-d4eb-495a-a75e-0defface8929.local 52832 typ host generation 0 network-cost 999
a=candidate:842163049 1 udp<PHONE_NUMBER> <IP_ADDRESS> 52832 typ srflx raddr <IP_ADDRESS> rport 0 generation 0 network-cost 999

And python3 is returning that it can't parse the ipv6 version of it.
Task exception was never retrieved
future: <Task finished coro=<RTCPeerConnection.__connect() done, defined at /usr/local/lib/python3.6/dist-packages/aiortc/rtcpeerconnection.py:776> exception=ValueError("'5177eebd-d4eb-495a-a75e-0defface8929.local' does not appear to be an IPv4 or IPv6 address",)>
Traceback (most recent call last):
  File "/usr/local/lib/python3.6/dist-packages/aiortc/rtcpeerconnection.py", line 781, in __connect
    await iceTransport.start(self.__remoteIce[transceiver])
  File "/usr/local/lib/python3.6/dist-packages/aiortc/rtcicetransport.py", line 289, in start
    await self._connection.connect()
  File "/usr/local/lib/python3.6/dist-packages/aioice/ice.py", line 361, in connect
    if (protocol.local_candidate.can_pair_with(remote_candidate) and
  File "/usr/local/lib/python3.6/dist-packages/aioice/candidate.py", line 114, in can_pair_with
    b = ipaddress.ip_address(other.host)
  File "/usr/lib/python3.6/ipaddress.py", line 54, in ip_address
    address)
ValueError: '5177eebd-d4eb-495a-a75e-0defface8929.local' does not appear to be an IPv4 or IPv6 address

On our other computer, these are the candidates which are returned and it does not have this error:
a=candidate:2213748025 1 udp<PHONE_NUMBER> <IP_ADDRESS> 61769 typ host generation 0 network-id 3
a=candidate:1940115785 1 udp<PHONE_NUMBER> 2600:1700:87d0:3800:a4b1:c744:37d:ebc7 61770 typ host generation 0 network-id 2 network-cost 10
a=candidate:1995739850 1 udp<PHONE_NUMBER> <IP_ADDRESS> 65067 typ host generation 0 network-id 1 network-cost 10
a=candidate:2162486046 1 udp<PHONE_NUMBER> <IP_ADDRESS> 65067 typ srflx raddr <IP_ADDRESS> rport 65067 generation 0 network-id 1 network-cost 10
a=candidate:3446727113 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 3
a=candidate:1025519033 1 tcp<PHONE_NUMBER> 2600:1700:87d0:3800:a4b1:c744:37d:ebc7 9 typ host tcptype active generation 0 network-id 2 network-cost 10
a=candidate:947351098 1 tcp<PHONE_NUMBER> <IP_ADDRESS> 9 typ host tcptype active generation 0 network-id 1 network-cost 10

It seems that the ipv6 "*.local" is the issue here for python parsing the return.

Ok. I found that it has just been pushed 19 days ago. Updated the code and verified it now works. pip3 install --upgrade aiortc Thanks!!


Restore database error due to unrecognized configuration parameter

System information:

Operating system (distribution) and version
DBeaver version

Connection specification:

Database name and version

Describe your question:

Hello,
I am trying to restore a database in Dbeaver 7.1.1 (working on a Chromebook)
psql (PostgreSQL) 12.3 (Debian 12.3-1.pgdg100+1)
The db I have to restore is in .tar format
dvdrental.zip
However, the restore process always fails due to an unrecognized configuration parameter "default_table_access_method"
Is there a way to solve this issue? Is that a problem in the file?

closed as duplicate of #8069


fix: make line render properly

This pull request was made in response to an issue where the line would not print with the user's name properly
Previously, like the OP's terminal, the line would print very shortly without the user's name. These changes fixed that issue locally, and now the line properly renders every time - please try running poetry build and installing the whl file to test.
I believe console.rule is a better function to use for printing that line rather than nesting it in centerprint; it reduces complexity and returns the same result.

So the issue is in Rich's Rule module, right?

So the issue is in Rich's Rule module, right?

Yeah, I think so. I think the way it is in main like this:
center_print(Rule(date_text, style="#FFBF00"))

where the Rule function was being called as an argument for the center_print function was causing weird errors and issues, resulting in the mentioned issue where sometimes the user's name wasn't printed with a very short line.
Changing that line of the code to
console.rule(date_text, align="center", style="#FFBF00")
is a lot easier to maintain, and it returns expected behavior. There really isn't a need to call center_print on the user's name when the console.rule module does the same thing by calling one function.
After I built and tested the changes, I no longer had the same errors described in the linked issue.

I also changed the logic of checking if the user wants that line from
try:
            if config["disable_line"]:
                center_print(date_text)
            else:
                pass
        except:
            center_print(Rule(date_text, style="#FFBF00"))

to
if "disable_line" in config.keys() and config["disable_line"] == True:
            center_print(date_text)
        else:
            console.rule(date_text, align="center", style="#FFBF00")

The logic is the same as before, but it simplifies the code. Checking to see if the user does not have the disable option in their config file by looking for a key error is replaced by the else statement.

I also changed the logic of checking if the user wants that line from
try:
            if config["disable_line"]:
                center_print(date_text)
            else:
                pass
        except:
            center_print(Rule(date_text, style="#FFBF00"))

to
if "disable_line" in config.keys() and config["disable_line"] == True:
            center_print(date_text)
        else:
            console.rule(date_text, align="center", style="#FFBF00")

The logic is the same as before, but it simplifies the code. Checking to see if the user does not have the disable option in their config file by looking for a key error is replaced by the else statement.

Yours is definitely better. I think we'll have to change all the instances of try except with this method.


Issue 20 Move to mock-enb

resolved #20
@blond
Please review it

Coverage remained the same at 100.0% when pulling 214406ac4d27522d3a2acc63850434f020e3d5db on issue-20 into 5a60613c4f4bc6cbb382f97893a49d12030247db on master.


Add slot support for listing functions

Could be fixed with https://github.com/Azure/azure-functions-host/issues/3994

@EricJizbaMSFT is it possible to get this enabled, the GA is planned for This Friday

@ahmedelnably we can try, but probably a stretch at this point.
cc @fiveisprime @jinglouMSFT

It is fine, if it is in the next release no need to for extraordinary effort to get it sooner


lua fails to build when cross-compiling

Describe the bug
Due to weird hardcoded CC, AR and RANLIB in Makefiles, lua doesn't like to be cross-compiled. The build crashes, unable to find gcc.
To Reproduce
Steps to reproduce the behavior:

nix-build --arg crossSystem '{ system = "armv7l-linux" }' '<nixpkgs>' -A lua
Wait for the build to crash

Expected behavior
lua cross-compiles successfuly, like any other package
Screenshots
Here's an excerpt from the build log:
building '/nix/store/isd9w196grdcwgrs00fi3fv54bx31llp-lua-5.2.4-armv7l-unknown-linux-gnueabihf.drv'...
unpacking sources
unpacking source archive /nix/store/28g8gzsd38c3kli6s0f0p0q9a95s7vgm-lua-5.2.tar.gz
source root is lua-5.2.4
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file lua-5.2.4/README
patching sources
applying patch /nix/store/jpkm2nm2m9xf9m9v44cr5lw9kx3b2rf7-lua-arch.patch
patching file Makefile
patching file src/luaconf.h
patching file src/Makefile
source root is libzip-1.3.0
updateAutotoolsGnuConfigScriptsPhase
configuring
setting SOURCE_DATE_EPOCH to timestamp<PHONE_NUMBER> of file libzip-1.3.0/man/zip_stat.man
building
patching sources
build flags: SHELL=/nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/bash INSTALL_TOP=/nix/store/j4faq0xc9a875n54w7aczgfhkadkklls-lua-5.2.4-armv7l-unknown-linux-gnueabihf INSTALL_MAN=/nix/store/j4faq0xc9a875n54w7aczgfhkadkklls-lua-5.2.4-armv7l-unknown-linux-gnueabihf/share/man/man1 R=5.2.4 LDFLAGS=-fPIC V=5.2 PLAT=linux CFLAGS=-DLUA_USE_LINUX\ -O2\ -fPIC\ -DLUA_COMPAT_ALL
cd src && make linux V=5.2 R=5.2.4
make[1]: Entering directory '/build/lua-5.2.4/src'
make all SYSCFLAGS="-DLUA_USE_LINUX" SYSLIBS="-Wl,-E -ldl -lreadline"
patching script interpreter paths in test-driver
make[2]: Entering directory '/build/lua-5.2.4/src'
gcc -DLUA_USE_LINUX -O2 -fPIC -DLUA_COMPAT_ALL   -c -o lapi.o lapi.c
/nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/bash: gcc: command not found
make[2]: *** [<builtin>: lapi.o] Error 127
make[2]: Leaving directory '/build/lua-5.2.4/src'
make[1]: *** [Makefile:113: linux] Error 2
make[1]: Leaving directory '/build/lua-5.2.4/src'
make: *** [Makefile:55: linux] Error 2
test-driver: interpreter directive changed from " /bin/sh" to "/nix/store/xfghy8ixrhz3kyy6p724iv3cxji088dx-bash-4.4-p23/bin/sh"
builder for '/nix/store/isd9w196grdcwgrs00fi3fv54bx31llp-lua-5.2.4-armv7l-unknown-linux-gnueabihf.drv' failed with exit code 2

Additional context
I'm currently trying to build a usable server system for armv7l to put my old Raspberry Pi 2 to good use and reporting bugs with cross-compilation as I go. This is the first one I couldn't fix myself with a simple packageOverride.
Metadata

system: "x86_64-linux"
host os: Linux 4.19.62, NixOS, 19.09pre186857.239fffc90d7 (Loris)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.2.2
channels(root): "cleveca22, nixos-19.09pre186857.239fffc90d7"
channels(kisik21): "home-manager"
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
attribute:
   - lua
   - lua5
   - lua51
   - lua52
   - lua53

You might want to try luajit as a quick work-around... only for some reason it needs build and host to have the same pointer size – but one can usually choose x86_64 or i686 as build (i.e. on -linux), e.g.
nix build -f . --arg crossSystem '(import ./lib).systems.examples.armv7l-hf-multiplatform' --argstr system i686-linux luajit

(tested the build now on current unstable: 8746c77a)

@vcunat any ways to use that with packages such as nmap and prosody in the configuration.nix?

You can certainly import whole nixpkgs into a let-binding with differently passed parameters (system and crossSystem in this case), though I'm not sure what's the best-practice way of doing that... but import <nixpkgs> { parameters } should work fine IIRC.

@vcunat with some hacking (it was very weird but I think I solved it now!) I seem to be able to carry on. As a workaround, I used the following overlay:
let
  target = "armv7l-linux";
  host = "i686-linux";
  fixedLuaJIT = (import <nixpkgs> {
    crossSystem = { system = target; };
    localSystem = { system = host; };
  };
in self: super: {
  # Replacing LuaJIT with a fixed version.
  luajit = fixedLuaJIT;
  # Some programs depend on Lua. We replace Lua here.
  # This list is obviously incomplete!
  highlight = super.highlight.override { lua = fixedLuaJIT; };
  prosody = super.prosody.override { lua5 = fixedLuaJIT; };
  nmap = super.nmap.override { lua5_3 = fixedLuaJIT; };
}

nmap: luajit fully supports 5.1 version of the language, though it does now have some features from later versions – I suppose that's why it won't (directly) work there.

I fixed it with an overlay!
let
  fixedLua = lua: stdenv: (lua.overrideAttrs (oldAttrs: {
    makeFlags = oldAttrs.makeFlags ++ [
      "CC=${stdenv.hostPlatform.config}-gcc"
      "RANLIB=${stdenv.hostPlatform.config}-ranlib"
    ];
  })).overrideAttrs (oldAttrs: {
    configurePhase = ''
      makeFlagsArray+=("AR=${stdenv.hostPlatform.config}-ar rcu")
    '';
  });
in self: super: {
  lua5_1 = fixedLua super.lua5_1 self.stdenv;
  lua5_2 = fixedLua super.lua5_2 self.stdenv;
  lua5_2_compat = fixedLua super.lua5_2_compat self.stdenv;
  lua5_3 = fixedLua super.lua5_3 self.stdenv;
  lua5_3_compat = fixedLua super.lua5_3_compat self.stdenv;
}

I'll make a patch to nixpkgs very soon and close the issue myself! (could someone assign this to me if possible?)

thanks for working on this.

@teto I'm doing this because of my reasons, but why not contribute? armv7l-linux cross-compile needs more love and I'm gonna provide it! Expect more patches and issues coming ahead as I'm reporting my findings while trying to build a working system :3

Sent a PR - #66883. Will close when it gets merged. Or should I close it now?


revive empty.rs

Summary of changes
Changes introduced in this pull request:

I am unsure why this file was removed, but this is a valuable utility for state migrations. Either we need to redefine all such utilities in Forest or don't delete them from builtin-actors source.

Reference issue to close (if applicable)

Closes
Other information and links

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Side | Side Chat windows

On desktop mode (sorry, mobile, this is too much for you), there should be a way to split the current window into a top/bottom half or left/right half.
While AppChat shall still keep a single Composer, there should be an option to send the same output to both (or 3,4..) chats, as well as selecting which chat receives the input (an outline, dedicated buttons, or something).
Requirements:

Side-by-side window rendering (can start with just that split)
history to track on which window a chat was opened #207
Easy way to close any of the open windows

Stretch goals:

Easy way to select whether to send an instructions to all conversation windows, or just to the active one
it should be already supported to see the same chat in multiple windows, so hopefully the framework is abstracted enough
Any ideas of creative tools? copy from one side to the other? Overwrite one assistant with the other's message?

Any ideas of creative tools? copy from one side to the other? Overwrite one assistant with the other's message?

You're asking for other usage cases for such a feature besides https://github.com/enricoros/big-agi/issues/126 ?
Maybe something along the lines of Professor Synapse ChatGPT prompt https://gist.github.com/centminmod/21fb1d2f097ebfc6a8cb3e82e3a02796 where /save command saves and summarizes the chat progress so far in attempts at extending the context length accuracy a bit further?
So you could have left window split for the current chat progress and have an option to save a summary of the current chat and have it output to right window split chat. Then have left window split support on command or automatically reading the right window split summary to extend the context of left window split discussion.
Doing it this way also gives you a history of all summarizes neatly organized on the right window split chat which you can reference back to and/or give you a more mature fleshed out starting point if you have to revisit the same chat discussion again and not have to go through the already discussed left window split chat from scratch again :)

@centminmod this is genious - do you have more about this prompt? I love this use case that you mention.
It's exactly one of the directions I want to go towards: higher level controllers that can control lower level. Large parallel with how organizations of humans scale - you keep adding leaves to the org and splitting the control/execution responsibility.
This is a great input because allows me to conceive cross-chat communication and synchronization mechanisms.
A+ for your contib here, and if you have more on this example, please share.

Professor Synapse prompt has a few Youtube videos you can watch. It seems to have a Github repo too https://github.com/ProfSynapse/Synapse_CoR and web site https://www.synapticlabs.ai/

I was asking myself whether there should be an explicit communication protocol between the 2 (or more) windows, or whether just loading the Professor on the left side, and a worker on the Right side, and letting them chat, would work.
In that case, the UX could have a big "🔁" button that when pressed makes the left side chat to the right and vice versa, becoming one the assistant of the other (and removing half of the space).

Split window: [ assistant <> user ] | [ assistant2 <> user ]
Assistant vs Assistant 🔁:    [ assistant1 <> assistant 2 ]

But I'm curious if this is enough (e.g. "text" is the interface between the 2 windows), or if more structured state shall be exposed between the windows.
For instance a "hierarchical" controller where Window1 controls Window 2 controls Window 3, could also be fascinating.

The technical or coding aspects would be outside of my wheelhouse. But my first thought would be what about beyond 'text' i.e. images since OpenAI has DALLE-E and vision GPT as well.
a "hierarchical" controller would be interesting for more than 2 windows, i.e. ask a question in main chat which as an A/B if/else narrative and have A/if on window 2 and B/else on window 3

Great ideas, thanks

@centminmod done, and includes a "multicast mode" to chat with multi-chats at once. No intertwined modes for chat.

Bit late but thanks @enricoros working nicely on my end :)
Definitely useful when you have a tangential thought and need to branch split the current chat :D


Use beginner 2d platformer visual style

I'm using the beginner 2D platformer style/look to finish up the visuals for the demos. Moving away from sprites & using instead the shapes.
Example:

Still need to figure out an easier color selection process. It's not a problem for stuff like the circles, but the "flying spaceships" are a bit different:

closes #3

Just tested all the demos, looking good!

OK, I finished up this "fixing" the polygon (ship) demos too. Needs a final look at it, otherwise it's ready to be merged


[#127982711] Admin views signed agreement page

For this story: https://www.pivotaltracker.com/story/show/127982711
First version of agreement signing page, buttons and lot details to be added by later stories.
For embedding PDFs I discussed with @pcraig3 and we agreed that hard-coding height="905" is a reasonable approach.  Reasoning as follows: the 100% width of the column is 640px, and the aspect ratio of A4 is 1.414.  640*1.414 is (almost) 905.
That logic all still stands, but the way PDF embedding looks it required a small amount of scroll bar so I've increased the height to 930px. (Testing it it seems like 925px would probably do, but it doesn't hurt to give it the extra 5px). [Screenshot now updated to no scroll bar version]
Supplier has returned an image file (png in this case)

Supplier has returned a PDF

Looks good 👍


Move mini map to widescreen area

Implemented configurable mini-map in https://github.com/snaphat/final_fantasy_vi_widescreen/commit/325c611a93bfa35ed5461268e8864e14f98c343b


Add French translation, improve German translation

Add French translation

ping

released v1.0.17
Thanks

thank you! :)


Color in Tilt web logs

The logs in Tilt web are all white on a dark green background. It is not easy to distinguish between different logical sections even with the spacing / indentation.
We already use a little bit of color to indicate headings and sections. But not a lot.
We should consider how to use color further in the logs to improve this UX.

Perhaps one first initial feature is to distinguish different resources’ logs when they are all viewed together.

just as a note, that's a pretty old screenshot, and doesn't represent the current state of headers/color

Thanks @nicks . I replaced with an updated screenshot.

The dotnet compiler's colors come through, FWI: https://cloud.tilt.dev/snapshot/AYrj2-cL3CIknraEQ8c=

IIUC:

the original wording of this issue is worded along the lines of having tilt add new colors to logs that don't already have them, to make things clearer
the report that led to this issue was about a case in which a program's logs had colors when run outside of Tilt, but when run inside of Tilt, none of the colors showed up.

I'm not aware of any users giving us feedback on the former, so I think it makes sense to reword this issue to the latter.

Thanks @landism for explaining further. That makes sense. I suggested something in the updated title and description. Feel free to update it directly if it needs to be further refined.

Is this equivalent to https://github.com/windmilleng/tilt/issues/3038 ?
Some apps auto-detect whether they should run with colors, and sometimes that auto-detection falls down. Tilt doesn't have much control over this, so usually the solution is to add some env varable or flag to force color.
Can we get a little bit more detail on the exact configuration the user is having issues with? Possibly a repro case?

Thanks @nicks . I believe it is indeed a duplicate. So I'll close this issue.
See this original internal thread from a user: https://windmill-eng.slack.com/archives/CTLBW1RA8/p1585145355016300?thread_ts=1585142242.015100&cid=CTLBW1RA8


C#: Expose Transform2D.Determinant()

Follow-up to https://github.com/godotengine/godot/pull/76311
Fixes https://github.com/godotengine/godot/issues/95255

Thanks!


Interface incompatibility in 1.4.0

Hi there. Just updated to 1.4.0, got this error message:

PHP Fatal error:  Declaration of Spatie\LaravelIgnition\Solutions\SolutionProviders\SolutionProviderRepository::registerSolutionProvider(string $solutionProviderClass): Spatie\Ignition\Contracts\SolutionProviderRepository must be compatible with Spatie\Ignition\Contracts\SolutionProviderRepository::registerSolutionProvider(Spatie\Ignition\Contracts\HasSolutionsForThrowable|string $solutionProvider): Spatie\Ignition\Contracts\SolutionProviderRepository in .../vendor/spatie/laravel-ignition/src/Solutions/SolutionProviders/SolutionProviderRepository.php on line 24

I guess there is just a small thing that needs to be updated. Leaving the issue here for further discussion.

Havong the same error in newest Laravel version without any special changes to the ignition part. I think this is impacting quite a lot of laravel users.

Responsible PR here: https://github.com/spatie/ignition/pull/160

Looks like a fix just got updated in 1.4.1

Yeah thanks for the fast fix, awesome!

Wow, that was quick. Thanks for the fix!


#209 タイトルによる記事検索機能を追加

@Shitomo
タイトルによる記事検索機能を追加しました。

Codecov Report
Patch coverage: 82.35% and project coverage change: +0.15 :tada:

Comparison is base (246d400) 76.76% compared to head (7b35d7f) 76.91%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #210      +/-   ##
==========================================
+ Coverage   76.76%   76.91%   +0.15%
==========================================
  Files          66       67       +1
  Lines        2470     2508      +38
==========================================
+ Hits         1896     1929      +33
- Misses        504      509       +5
  Partials       70       70

Impacted Files
Coverage Δ

internal/adapter/external/article.go
0.00% <0.00%> (ø)

internal/domain/model/article.go
92.68% <ø> (ø)

internal/adapter/handler/article.go
67.71% <70.83%> (+2.17%)
:arrow_up:

internal/adapter/controller/article.go
87.87% <100.00%> (+0.64%)
:arrow_up:

internal/adapter/gateway/article.go
86.36% <100.00%> (+0.64%)
:arrow_up:

internal/application/interactor/api_article.go
77.14% <100.00%> (ø)

internal/application/interactor/core_article.go
87.87% <100.00%> (ø)

internal/domain/repository/article_mock.go
100.00% <100.00%> (ø)

internal/domain/rpc/article_mock.go
78.37% <100.00%> (+3.37%)
:arrow_up:

internal/domain/value/filter.go
100.00% <100.00%> (ø)

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


Right channel playback not working properly (even the example doesn't work)

Playing sounds on the left channel works fine, but if I try to play something on the right channel, it plays on both (but maybe with slightly less volume on the left? hard to tell).
When running cargo run --example stereo, what you're supposed to hear is a tone that alternates right/left/right/left channels, but what I hear is both/left/both/left.
If I play the actual file (Assets/RL.ogg) in a different program, it sounds fine. But when playing via rodio, I get this issue.
I'm assuming this doesn't happen to everyone. Any ideas on what the issue could be? A weird quirk of my system/setup, or a rodio bug?

I think its a weird quirk as I can not reproduce it. And if it is it will be on Cpal's side (its what rodio uses to produce sound).
Could you try playing the file with symphonia's symphonia-play example?
link: https://github.com/pdeljanov/Symphonia/tree/master/symphonia-play
It uses Cpal too. If you run into the same quirk there its highly probable its a cpal bug regarding your setup.

Oh good call. I just tried that, I ran cargo run -- ../../rodio/assets/RL.ogg on the symphonia-play directory. For some reason it seems to squish the file, playing the 27 second clip in only ~7 seconds which makes it sound really high pitched, but the R/L channels work fine.
I did some more testing. If I use a different audio device, both symphonia-play and the rodio stereo example work fine.
My headphones do have a fancy "surround emulation" feature that gives them 8 channels, which I usually keep disabled. Whether it's enabled or not, if I play a rodio Source that reports channels() to be 8, now I can get it to play only on the left or right.
The same root cause may be responsible for the weird fast playback in Symphonia. Maybe it's squishing samples meant for 8 channels into only 2... 8/2 is roughly 27/7... 🤔

Alright now I'm convinced the issue is my headphones simply have 8 channels, whether the feature is enabled or not, and in that case the failure point is here: https://github.com/RustAudio/rodio/blob/master/src/conversions/channels.rs#L57
It seems when playing a source with X channels to a device with Y channels, where Y > X, rodio will send the first X samples, and then repeat the last sample until filling Y. I think what it should do instead is alternate all the previous samples. So let's say, source with two channels to a device with 8 channels, what rodio sends is

0 1 1 1 1 1 1 1

And what it probably should send is

0 1 0 1 0 1 0 1

I'll see if I can get it working and maybe submit a PR.

My headphones do have a fancy "surround emulation" feature that gives them 8 channels, which I usually keep disabled. Whether it's enabled or not, if I play a rodio Source that reports channels() to be 8, now I can get it to play only on the left or right.

Alright now I'm convinced the issue is my headphones simply have 8 channels, whether the feature is enabled or not, and in that case the failure point is here: https://github.com/RustAudio/rodio/blob/master/src/conversions/channels.rs#L57

Good catch! and a nice investigation thank you very much!
And kind of a funny bug tbh :)
I can imagine it can get quite complicated converting 3 channel audio to 9 channel outputs (if those even exist).  As you said there may be a better way then cloning the last sample.
We would love a PR! If you do please add a comment describing why the channels are spread the way you do. If you don't then again thanks for the investigation!
There is a bit of a backlog of PR's to work through for me but I'll take a look if I see this pop up!

Awesome.
I got it working, it wasn't too bad.

If you do please add a comment describing why the channels are spread the way you do.

To be honest, the thing is I'm not 100% sure. It fixes this issue, it seems to make more sense, and I'm just kinda guessing it's how you're supposed to do that? Haha... I wish I could give a stronger justification.


new genesis block

a new hash for a new day and a new nNonce too, but merkle and checkpoint stay the same

k


bug: Entire page deopted into client-side rendering

Is there an existing issue for this?

[X] I have searched the existing issues

Package Version
^1.4.3
Current Behavior
I am getting this error "Entire page /affiliates deopted into client-side rendering".
I have a provider wrapper around my App which looks like this.
"use client";

import { WagmiConfig } from "wagmi";
import { config, projectId, chains } from "utils/wagmiConfig";
import { createWeb3Modal } from "@web3modal/wagmi/react";
import { AppProgressBar } from "next-nprogress-bar";

createWeb3Modal({
  wagmiConfig: config,
  projectId,
  chains,
});

export default function Web3ModalProvider({ children }) {
  return (
    <WagmiConfig config={config}>
      {children}

      <AppProgressBar
        height="3px"
        color="#7e20fc"
        options={{ showSpinner: false }}
        shallowRouting
      />
    </WagmiConfig>
  );
}

which then wraps my whole app in layout.js which looks like this.
  <body>
        <Web3ModalProvider>
          <Layout>{children}</Layout>
        </Web3ModalProvider>
      </body>

If I am commenting <Web3ModalProvider> then warning is not showing.
Expected Behavior
It shouldn't give this "Entire page /patent deopted into client-side rendering" error
Steps To Reproduce
download latest web3modal by running this command which is written on web3modal website.
npm install @web3modal/wagmi wagmi viem
and follow the instructions written on website to reproduce.
Link to Minimal Reproducible Example (StackBlitz, CodeSandbox, GitHub repo etc.)
No response
Anything else?
No response

See https://nextjs.org/docs/messages/deopted-into-client-rendering

I think it's not about this, because I am not using useSearchParams in my entire app. As soon as I remove <Web3ModalProvider> wrapping my whole app, The error goes away.
But I found a work around it. I wrapped my Web3ModalProvider component in NonSSRWrapper component, which fixed this error Entire page deopted into client-side rendering. But I am still in doubt that if this trick is good way to solve error or in first place why this error is showing while building.


Update administer-security-policy-settings.md

Changed the URL to Microsoft security baselines blog
fixes#https://github.com/MicrosoftDocs/windows-itpro-docs/issues/10332

@JohanFreelancer9 Please copy review

Learn Build status updates of commit ef8c7ee:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/threat-protection/security-policy-settings/administer-security-policy-settings.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel

Learn Build status updates of commit 13eb0d0:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

windows/security/threat-protection/security-policy-settings/administer-security-policy-settings.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the learn.microsoft.com contributor guidesPost your question in the Learn support channel


Add snap into stackage

Checklist:

[ ] Meaningful commit message - please not Update build-constraints.yml
[ ] Some time passed since Hackage upload
[ ] stack build --resolver nightly --haddock --test --bench --no-run-benchmarks

This would be my first contribution to stackage and I'm sure there is a good reason why snap is not in stackage, and I'd really like to get those issues fixed if it's possible

Pinging @ludat, are you planning on following up with upstream to get the dependency issues resolved?

@snoyberg yeah, I've been really busy, but I plan to get this working, apparently the Glob dependency is not used in snap anymore, and the heist one looks like an easy fix.


Feature Request: In Camping Mode, IGNORE presence of key entirely for safety.

This really should have already been done, I'm surprised it wasn't.
IGNORE THE PRESENCE OF THE KEY - DO NOT AUTOUNLOCK WHEN IN CAMPING MODE.
"walk away locking" is already disabled when in camping mode. WHY then if you manually lock the doors for safety while sleeping (as you should)... WHY would the Model X randomly decide it detects the key and unlock the doors? Sometimes this will happen 3-4 times a night. As I'm asleep I don't know exactly how long it takes, but even with the key under a cellphone so the bluetooth shouldn't detect - it frequently won't find the key when in my POCKET under the phone - it still manages to sense it and unlocks the doors.
I have used a faraday bag to some success - although the quality of said pouch is suspect and even that wasn't 100% effective.
Just keep the doors locked when I press the button until I press the button again to unlock! No automation of locks when in camping mode. That's all. Thanks.

Just turn the phone key off when in camp mode?

Not on the classic Teslas where you are using an actual key fob that communicates with Bluetooth Low Energy. Phone key doesn’t work on those.Sent from my iPhoneOn Jan 28, 2024, at 6:52 AM, Riley MacDonald @.***> wrote:
Just turn the phone key off when in camp mode?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>

Is your "feature request" issue related to Tesla's vehicle command sdk or the fleet api?

Thanks for the feature request, but this seems very out of scope for this repository. I'll forward this to a product manager but this is not the place to submit general vehicle feature requests and can't guarantee when/if it gets implemented.


lib/plugin: support plugin pinning

This adds geometry_prompt_plugin_check(), which will be run to determine if we are in a context where it makes sense to display the plugin
A plugin can be pinned by appending a * to skip this check.
How can we could remove the quoting requirement for pins?
GEOMETRY_PROMPT_PLUGINS+=(rustup*)

instead of
GEOMETRY_PROMPT_PLUGINS+=('rustup*')

Changing from a * to . works, but looks kinda weird at the end, like a typo.
maybe a . at the beginning like .rustup
I tried ! at the end, which works as well.

Watch out for API breaking changes. Either we should be backward compatible or start tagging/versioning.
My concern is with existing custom plugins that might break with a geometry update.

One thing I saw zplug do, which I like, is to release a version that prints out deprecation messages, then wait a month, then remove support. We can do that here, though we might be able to get away with just ignoring _check() if it does not exist, which would be backwards compatible.

I'm good with 'plugin*', don't have any strong feelings on that. None of the other suggestions do it better IMO.
I moved the version discussion to #121 since a lot has been said in different PRs and issues. Might as well have a dedicated issue for that 😄

I really don't like the extra ritual for globbing, this patch proposes +plugin for pinning

I also made it backwards compatible in that, if you don't have a check function for a plugin, it just runs render. That way we don't need to version yet.

Looking great! @desyncr any takes?

So, should I squash the three commits, rewrite the commit message, and push? Not sure what's good protocol.

Precisely that. Squash, merge, push. Or just change the big green button on GitHub to say "Squash and merge" and hit that.


Explain Unicode license agreement

FYI @ComputerDruid and @anp (related to https://github.com/dtolnay/unicode-ident/pull/4#issuecomment-1158277839)


Add stranger

This PR adds Stranger to the pipeline. It fixes #108.
PR checklist

[x] This comment contains a description of changes (with reason).
[ ] If you've fixed a bug or added code that should be tested, add tests!

[x] If you've added a new tool - have you followed the pipeline conventions in the contribution docs
[x] If necessary, also make a PR on the nf-core/raredisease branch on the nf-core/test-datasets repository.

[x] Make sure your code lints (nf-core lint).
[x] Ensure the test suite passes (nextflow run . -profile test,docker --outdir <OUTDIR> -stub).
[ ] Usage Documentation in docs/usage.md is updated.
[ ] Output Documentation in docs/output.md is updated.
[ ] CHANGELOG.md is updated.
[ ] README.md is updated (including new tool citations and authors/contributors).

Thank you for the review @jemten!


redis parser error

ReplyError: Protocol error, got "o" as reply type byte. Please report this.
at parseType (\node_modules\redis\node_modules\redis-parser\lib\parser.js:271:17)

Version: 2.6 redis-parser :2.3
Platform:  Windows 2012 server

the service we have is a socket.io service which uses node-redis package
from time to time I get the error log above the letter is changing but the rest of the text is not
the full stuck is:
^
ReplyError: Protocol error, got "o" as reply type byte. Please report this.
at parseType (......\node_modules\redis\node_modules\redis-parser\lib\parser.js:271:17)
at JavascriptRedisParser.execute (....\node_modules\redis\node_modules\redis-parser\lib\parser.js:480:20)
at Socket. (....\node_modules\redis\index.js:267:27)
at Socket.emit (events.js:107:17)
at readableAddChunk (_stream_readable.js:163:16)
at Socket.Readable.push (_stream_readable.js:126:10)
at TCP.onread (net.js:538:20)

@yarivat what Node.js version do you use and please have a look at the buffer and offset attributes on the returned error. I need those to be able to debug this properly.

Please reopen if you have any new information.


deps: reduces CVEs around jackson and okio

trivy found these. last thing after this is lens and upgrading the amqp driver.

as yoda once said.. At this thanks for looking, rag.


Custom Waveforms

luphoria — Today at 9:20 AM

is it ever planned to allow users to import waveforms? keyboard alone is fun to work with

Not sure about importing files, but custom waveforms could be drawn and converted to the format used by Web Audio API with an inverse Fourier transform.

With the formal grammar coming up in SW3 it would certainly be possible to create a parser for math expressions that evaluate to waveforms and spectra. Inharmonic spectra would require a new synth though.
Hand-drawing in linear and log domains could also be possible. A simple waveform fits into a database while proper samples might take up too much space.

Time estimate: 8 hours


MM-35439: CRT, clicking x unread threads

Summary
Clicking x unread threads in global threads was a no-op.
This commit changes that so the first unread thread and the
Unreads tab are selected.
Ticket Link
https://mattermost.atlassian.net/browse/MM-35439
Release Note
NONE

/cherry-pick release-5.37

Cherry pick is scheduled.

/cherry-pick cloud

Cherry pick is scheduled.

Error trying doing the automated Cherry picking. Please do this manually
+++ Updating remotes...
Fetching upstream
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
Fetching origin
Failed to add the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts (/app/.ssh/known_hosts).
+++ Updating remotes done...
+++ Creating local branch automated-cherry-pick-of-mattermost-webapp-#8333-upstream-cloud-1625681085
Switched to a new branch 'automated-cherry-pick-of-mattermost-webapp-#8333-upstream-cloud-1625681085'
Branch 'automated-cherry-pick-of-mattermost-webapp-#8333-upstream-cloud-1625681085' set up to track remote branch 'cloud' from 'upstream'.

+++ About to attempt cherry pick of PR #8333 with merge commit 143008e0610be192c4375a66b5626ae901f0a8aa.

The previous cherry-pick is now empty, possibly due to conflict resolution.

Needs a manual cherry-pick to cloud.

@koox00 Kind reminder for manual cherry-pick ^


Development: Add Dockerfile caches

Checklist
General

[ ] I tested all changes and their related features with all corresponding user types on a test server.
[x] This is a small issue that I tested locally.
[x] Language: I followed the guidelines for inclusive, diversity-sensitive, and appreciative language.
[x] I chose a title conforming to the naming conventions for pull requests.

Motivation and Context

In GitHub actions we already cache the npm and gradle actions.
So we also want to use caching for our Docker Images locally and for GitHub actions!
Description

This adds Docker cache volumes for apt, npm, angular cli, and gradle caches.
These are then used by GitHub actions when building the Artemis docker image.
Steps for Testing

Local:

build the docker image
run and test it!
optionally: make some small changes and build it again
compare the build time!

GitHub actions:

rebuild a GitHub workflow
pull the image, run and test it

Review Progress

Code Review

[ ] Code Review 1
[ ] Code Review 2

Manual Tests

[ ] Test 1
[ ] Test 2

Codecov Report

Merging #6790 (aad815c) into develop (d8b419a) will decrease coverage by 0.02%.
The diff coverage is n/a.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #6790      +/-   ##
=============================================
- Coverage      80.43%   80.41%   -0.02%
+ Complexity     13992    13983       -9
=============================================
  Files           2449     2448       -1
  Lines          93628    93570      -58
  Branches       13156    13154       -2
=============================================
- Hits           75308    75248      -60
+ Misses         10069    10067       -2
- Partials        8251     8255       +4

see 44 files with indirect coverage changes

Flag
Coverage Δ

client
76.22% <ø> (+<0.01%)
:arrow_up:

server
84.93% <ø> (-0.04%)
:arrow_down:

Continue to review full report in Codecov by Sentry.

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

The docker build is failing after this change. Please have another look

@Mtze can you take a look at this as maintainer if this is still needed? Thx in advance!


get pr branch without merge

I just ran into an issue while to trying to build a branch off an older release for an hotfix, what I did not realize is that this resource merged my branch into master resulting in multiple changes I did not want to deploy being deployed.
Is there a way to avoid this ? I am not really sure why the resource does a force merge in the first place, in my case the pipeline won't set the status unless the pr is merged and I just configure the repo on github to require the branch to be based on master before merge.

After some digging I found the integration_tool option, setting it to checkout fixed the issue.
I strongly feel that this behaviour should have been the default.


lib: cpp: Introduce FULL_LIBCPP_SUPPORTED similar to C version

Introduce Kconfig symbol FULL_LIBCPP_SUPPORTED that is similar to the C version FULL_LIBC_SUPPORTED.  This way we can utilize the same pattern in tests and samples to filter for when a full libc++ is needed.

plan to use this for thrift samples to start.

plan to use this for thrift samples to start.

In true FB fashion, fb has yet another thrift that has been open-sourced.
This one seems like it would be significantly less resource intensive because it uses std::coroutine and std::string_view.
I would love to get an ISO C code generator on the other hand.

Since we are adding FULL_LIBCPP_SUPPORTED, shall we add MINIMAL_LIBCPP_SUPPORTED, GLIBCXX_LIBCPP_SUPPORTED and others as well?

I figured we would add them if they where needed.

Would be good to see this in actual use to make sure it works as advertised.

Here's how this would be used:
https://github.com/zephyrproject-rtos/zephyr/pull/57097

@stephanosio do you think we should add select FULL_LIBCPP_SUPPORTED for EXTERNAL_LIBCPP?  Should we also limit EXTERNAL_LIBCPP to NATIVE_APPLICATION.  Since it seems to exist purely for native_posix from what I can tell.

do you think we should add select FULL_LIBCPP_SUPPORTED for EXTERNAL_LIBCPP?

No, because EXTERNAL_LIBCPP in itself does not imply a full standard C++ library (e.g. one could provide their own standard C++ library, similar to the Zephyr minimal C++ library, that implements a limited subset of the standard C++ library).

Should we also limit EXTERNAL_LIBCPP to NATIVE_APPLICATION. Since it seems to exist purely for native_posix from what I can tell.

No, because this option is intended to be selected when an external standard C++ library is used (e.g. when user/application supplies their own standard C++ library).
So, I would say we should leave the selection of the FULL_LIBCPP_SUPPORTED up to whoever/whatever is supplying that LIBCPP.
In case of the NATIVE_APPLICATION, it should select FULL_LIBCPP_SUPPORTED based on the aforementioned reasoning; in fact, it already selects FULL_LIBC_SUPPORTED:
https://github.com/zephyrproject-rtos/zephyr/blob/58088f3a5dc371c0680d4fcab0b8c73a66f235fa/Kconfig.zephyr#L317-L319


Workaround added concerning the Docker issue with external volumes.

The solution is to use a Mesos container with a Docker image, it gives
the ability to use a Docker image while preventing the automatic
creation of anonymous volumes.

I think I would remove the thanks to the Mesos containerizer part and just leave the fact that the issue doesn't arise using the Mesos containerizer.
I love the Mesos containerizer as much as the next guy but given it's our own documentation it might sound a bit pompous. 😄
Other than that 👍  :shipit:

Thanks @ArmandGrillet. Please change the sentence according to Lukas suggestion.

@ArmandGrillet Thanks!


Fix bug when matching locations for missing task dependencies

This caused the wrong path to be matched which caused arbitrary results.
Fixes #16061

@bot-gradle test QFL

OK, I've already triggered QuickFeedbackLinux build for you.


Height or offset not properly set in WP

This is WordPress specific issue but since I am making a theme for users
there will be many of them asking to fix it.
When admin is logged in the  #wpadminbar is enabled and the heights are off by 32px beacuse of the WP html 32px top margin.
I tried to play with offset , setting setHeights to false but it is either off on first section or correct on first and off on all others.
See this please http://take.ms/4xMay
Any help is appreciated!

This is the issue
https://github.com/lukehaas/Scrollify/blob/master/jquery.scrollify.js#L658
the first section position is not taking possible html top spacing margin/padding
if I do
heights[i] = parseInt($this.offset().top - 32);
the first section is scrolled to properly onload when WP admin bar is visible

This is the issue
https://github.com/lukehaas/Scrollify/blob/master/jquery.scrollify.js#L658
the first section position is not taking possible html top spacing margin/padding
if I do
heights[i] = parseInt($this.offset().top - 32);
the first section is scrolled to properly onload when WP admin bar is visible

@danyj I was able to overcome with a test for the admin-bar class, then subtracted 32. (I removed some css I previously had that was compensating for the admin bar)
Please review the screenshot

@danyj hey dude, I managed to get this resolved by checking for the admin bar and applying the difference only if the admin bar is present.
Please review my screenshot and let me know if it works for you as well.


Enchantments such as the Steel Enchantment do not adopt the effects of shield items from Thorium

For instance, the Steel Enchantment uses the Thorium Shield to craft, so theoretically, on top of the other effects, the enchantment should increase defense by 3 and generate a 16 life shield. I don't know if this is intended or not but I miss my shields :(

it is intended yea sorry ! lol


Update Plugin Patterns page to reflect Webpack 4 conventions

I went to play around with some of the sample code in here and got deprecation warnings.
Feature to document
https://webpack.js.org/contribute/plugin-patterns/
Author(s)
I couldn't seem to find authors associated with this section. If folks know how to source them, could you tag them on this issue.
Additional information

There is some work at this moment https://github.com/webpack/webpack.js.org/pull/2200/files


Remove template lock in tiler

Figure it out a way to remove the locks for templates in the tiler
The current limitation is the signed maps thing which requires to lock the template creation/update/deletion
REF 3565501

We are no longer using a lock for template manipulation: https://github.com/CartoDB/Windshaft-cartodb/pull/246


Offline get() improvements.

[Port of https://github.com/firebase/firebase-js-sdk/pull/1133]

Changed MAX_WATCH_STREAM_FAILURES to 1 per conversation with @wilhuff and
@jdimond.
Fixed a "race" where when a get() triggered a watch stream error, we'd
restart the stream, then get() would remove its listener, and so we had no
listener left once the watch stream was "opened". Without a listen to send
we'd be stuck in Offline state (even though we should be Unknown whenever
we have no listens to send), resulting in the next get() returning data
from cache without even attempting to reach the backend.

Bleh. Android CI caught an issue with this.  I think it's an easy fix, but rather than rush a fix and port it around, I think I'll just hold off on this until I'm back. :-/


use JSON-LD data models for credentials

Closes https://github.com/ZebraDevs/Zebra-Iota-Edge-SDK/issues/31

for the Personal Credential, better if we don't have spaces in the type name PersonalInformation I have checked that there is no Credential types apart from educational on schema.org
for the Health Credential, when having nested fields, can we just concatenate so that We can have something like code/codeValue, code/type i.e. something more understandable
in the device credential credential type could be DeviceID instead of Device ID
in the device credential the type: ["Device"] is missing. also the @context: ["https://smartdatamodels.org/context.jsonld"]


U2F implementation

Add support for using the TiDAL as a secure 2nd factor authenticator.
Current status
The protocol for USB 2 factor auth support is complete and working on some devices. Users can register a TiDAL as an authenticator and authenticate requests, however this isn't working reliably across devices.
This branch contains a custom firmware that allows testing this functionality, however it requires that the crypto chip has been provisioned before it can be used. Once it's provisioned it cannot be reset, it is a destructive operation. We are not confident that the provisioning is correct. In particular, it may well require changes to support attestation. It will also prevent you being able to provision a known key onto the device, which will limit debugging.
This is done by calling
ecc108a.provision_slot() followed by ecc108a.lock_config_zone()
This is likely the problem, the following config (from ecc108a_tools.run()) works on slot 6 only:
Serial number: 01 23 07 9f f1 58 b9 fd ee
Revision number: 0x5100000
Reserved 1: 0xc0
Interface mode: I2C
Reserved 2: 0x90 0x0
I2C address: 0xc0
Reserved 3: 0x0
OTP mode: 0x55 (consumption)
Selector mode: unlimited
TTL reference mode: fixed
Watchdog timeout: 1.3s
Reserved 4: 0x0
UserExtra: 0x0
Selector: 0x0
LockValue: 0x55 (unlocked)
LockConfig: 0x0 (locked)
Reserved 5: 0xff
Reserved 6: 0xff
X509format[0].PublicPosition: 15
X509format[0].TemplateLength: 15
X509format[1].PublicPosition: 15
X509format[1].TemplateLength: 15
X509format[2].PublicPosition: 15
X509format[2].TemplateLength: 15
X509format[3].PublicPosition: 15
X509format[3].TemplateLength: 15
Key 0:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
  UseFlag: 0xff
  UpdateCount: 0
Key 1:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
  UseFlag: 0xff
  UpdateCount: 0
Key 2:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
  UseFlag: 0xff
  UpdateCount: 0
Key 3:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 0
Key 4:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 1300
  UseFlag: 0xff
  UpdateCount: 0
Key 5:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 0013
  UseFlag: 0xff
  UpdateCount: 0
Key 6:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 34
Key 7:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
  UseFlag: 0xff
  UpdateCount: 0
Key 8:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
Key 9:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
Key 10:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 3300
Key 11:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6081
  KeyConfig: 3300
Key 12:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8160
  KeyConfig: 3300
Key 13:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
Key 14:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
Key 15:
  SlotLocked: 1 (unlocked)
  SlotConfig: 8360
  KeyConfig: 3300
  Key use: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

but this one, where all keys replicate slot 6's config above, no slots work:
Serial number: 01 23 56 14 30 14 c1 f5 ee
Revision number: 0x1100080
Reserved 1: 0xc0
Interface mode: I2C
Reserved 2: 0xa6 0x0
I2C address: 0xc0
Reserved 3: 0x0
OTP mode: 0x55 (consumption)
Selector mode: unlimited
TTL reference mode: fixed
Watchdog timeout: 1.3s
Reserved 4: 0x0
UserExtra: 0x0
Selector: 0x9
LockValue: 0x55 (unlocked)
LockConfig: 0x0 (locked)
Reserved 5: 0xff
Reserved 6: 0xff
X509format[0].PublicPosition: 15
X509format[0].TemplateLength: 15
X509format[1].PublicPosition: 15
X509format[1].TemplateLength: 15
X509format[2].PublicPosition: 15
X509format[2].TemplateLength: 15
X509format[3].PublicPosition: 15
X509format[3].TemplateLength: 15
Key 0:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 136
Key 1:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 6
Key 2:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 1
Key 3:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 0
Key 4:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 0
Key 5:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 0
Key 6:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 1
Key 7:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  UseFlag: 0xff
  UpdateCount: 0
Key 8:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
Key 9:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
Key 10:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
Key 11:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
Key 12:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
Key 13:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
Key 14:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
Key 15:
  SlotLocked: 1 (unlocked)
  SlotConfig: 6083
  KeyConfig: 0033
  Key use: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff

Excessive detail
HID mode
The badge
FIDO USB HID / CTAPHID
Interactions with U2F devices are tunneled over the USB HID protocol. An explanation of how those messages are sent is in the USB HID section below.
These messages are detailed at https://fidoalliance.org/specs/fido-u2f-v1.0-ps-20141009/fido-u2f-hid-protocol-ps-20141009.html
The implementation in the badge is at https://github.com/emfcamp/TiDAL-Firmware/blob/feature/u2f-mode/drivers/tidal_usb/tidal_usb_u2f.c
There are three commands implemented, init, wink and msg. Wink is what makes a device flash for attention. Init begins a session, and 'msg' contains a message for the next protocol down in the stack.
FIDO / CTAP
That next protocol down is FIDO / CTAP. This is detailed in https://fidoalliance.org/specs/fido-u2f-v1.2-ps-20170411/fido-u2f-raw-message-formats-v1.2-ps-20170411.html and implemented in the handle_u2f_msg function of  https://github.com/emfcamp/TiDAL-Firmware/blob/feature/u2f-mode/drivers/tidal_usb/tidal_usb_u2f.c
This message contains either a register or an authenticate command.
Register
In register mode, we need to allocate a 'handle' for the site. The handle is what the server sends to the device during authentication to identify itself. Many other devices use this to return an encrypted key, so the device then decrypts the handle, and uses that to sign the challenge. We don't have support for that, our handles are integers that reference which of the (few) key slots the crypto chip has is responsible for this site.
This is currently hard-coded to 6, in https://github.com/emfcamp/TiDAL-Firmware/blob/feature/u2f-mode/drivers/tidal_usb/u2f_crypto.c#L122-L124
We return from register with the handle, the pubkey to validate against, an attestation certificate and a signature. Attestation allows consumers to verify that an authenticator is itself authentic. For example, Yubikeys will be attested by Yubikey, to allow validation that the user is using one of an allowlist of known good authenticators
Authenticate
The authenticate message is relative simple, it contains a challenge, a counter and a signature. These are returned and checked by the host machine
Work remaining:

~Hook up a GUI app that allows users to accept register requests~ and pick a slot to store the key in

The first available slot is used

Implement signing with an attestation certificate

USB HID
In order to get this to work, we need to support more USB HID types than just mouse and keyboard. We have therefore switched from the TinyUSB implementation in esp-iot-solution to a vendored-in one with more options. We have moved some of the callbacks into the TiDAL USB driver and added support for the U2F HID types at https://github.com/emfcamp/TiDAL-Firmware/blob/feature/u2f-mode/components/tinyusb/additions/src/descriptors_control.c#L21-L58
The HID implementation at https://github.com/emfcamp/TiDAL-Firmware/blob/feature/u2f-mode/drivers/tidal_usb/tidal_usb_hid.c always includes the standard HID code, but only includes the U2F hooks when enabled.
Work remaining:

~Exposing multiple HID descriptors was causing issues. You need to choose between CONFIG_TINYUSB_HIDKEYBOARD_ENABLED and CONFIG_TINYUSB_U2FHID_ENABLED in sdkconfig.board. In future, having this switch at run-time rather than build-time would be preferable. This has not been a priority.~

You must select the U2F mode in the settings panel and reboot the badge. This will stop the USB keyboard functionality from working until it's switched back.

ECC108a chip
The crypto chip is connected over i2c. The datasheet has many details. Some functions have been exposed in micropython, which may assist you in debugging. These are in the ecc108a module. There is also an ec108a_tools module which contains helper code for understanding the config zone.
None of the cryptography functions will work until the config zone is locked, and none of the provisioning and config controls will work once it is locked.
Below is an example transaction, which may be useful for people attempting to validate the behavior. The verify method is not working..
>>> ecc108a.get_pubkey(6)
(b')Y\x0f\xf3\x8e\xcb\\\xc5\xf3W\xc5\xf4+\x9f\x82v\x9e\x92 \x0fe\xe4\xecMrnnh6\x95\x14J', b'\xd0\xa2\xd41\x91\x9ce\xd5\x84D\xe9\x93\xact\xda/\x86\xf3\x07!s\xdc\xa01\xd5\x14[\nk\x03\x87\xa8')
>>> ecc108a.genkey(6)
(b'\xe4`\xb2\x93\xc9\x9bj\x9f\xfbD\x94\x1di\x9b\x96\xc7\x91F\x1c\xcf\x7f\xe4\xbe\x8d4%P\xe3\xbb\x18;\xa0', b'\x0b\x9e\xe8\xf1\x9cB\x06\xb1\x93\xd2&\x7f\xdb\x03\x17\xa82\x99\x18\x1f\t\x1cz\xe5H\xb2\xb3}fM\xabe')
>>> pubkey = ecc108a.get_pubkey(6)
>>> pubkey
(b'\xe4`\xb2\x93\xc9\x9bj\x9f\xfbD\x94\x1di\x9b\x96\xc7\x91F\x1c\xcf\x7f\xe4\xbe\x8d4%P\xe3\xbb\x18;\xa0', b'\x0b\x9e\xe8\xf1\x9cB\x06\xb1\x93\xd2&\x7f\xdb\x03\x17\xa82\x99\x18\x1f\t\x1cz\xe5H\xb2\xb3}fM\xabe')
>>> msg = hashlib.sha256("hello world").digest()
>>> msg
b"\xb9M'\xb9\x93M>\x08\xa5.R\xd7\xda}\xab\xfa\xc4\x84\xef\xe3zS\x80\xee\x90\x88\xf7\xac\xe2\xef\xcd\xe9"
>>> signature = ecc108a.sign(6, msg)
>>> signature
(b'\x08^\xecuD\xfa\xad\xf67\x06\xdb\xf4\\\xbdZ\x99\xd8$0\xfb\x03R\xc3\xfb\n+\xdaqc\xb1\xae\x1e', b'\\\xa6\xcb\xbbK\x01\x180\x02\xcf\xac-\xc2\x03\xd5\xe9d~\xeb\xbe\xda\x7f\xfe\xcf"`\'i\xf0t\x14e')
>>> ecc108a.verify(msg, pubkeky, signature)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
OSError: 244
# N.B:  244 = ATCA_EXECUTION_ERROR

Work remaining:

Fix verify method

Debugging end-to-end
I recommend using Wireshark in USB mode and u2fcli for debugging.

The following is a minimal reproducer of the problem:
import ecc108a, hashlib
slot = 6
key = ecc108a.get_pubkey(slot)
message = "This is a test message"
sig = ecc108a.full_sign(slot, message)
hash = hashlib.sha256(message).digest()
assert ecc108a.verify(hash, sig, key)

This works on working slots/devices and fails on non-working ones.


Fire an input event on editor.action.clipboardPasteAction

This fixes #186998
In VS Code web, when editor.action.clipboardPasteAction is triggered (eg by right clicking on an input and selecting paste) it updates the value by setting element.value = .... However, this does not trigger the oninput handler which a the QuickInputs use to detect changes. As such right click and paste does not update the input causing #186998.
This can be fixed by updating the paste action to dispatch an input event on the element.

^ The issue is that Event is imported so the constructor clashes (but somehow still works?)
I'll update the code to avoid the collision.

Updated import and tests now pass


Fixed a bug in the Github Search provider that was preventing code searches

Github added in validation requirements for code searching (https://developer.github.com/changes/2013-10-18-new-code-search-requirements/) - these parameters are now added as search options.
Added in support for GitHub client_id and client_secret as well as the respective entries into the scumblr initializer.
Added in support for custom User-Agent strings. Per (https://developer.github.com/v3/#user-agent-required) GitHub requires custom user agents, and will rate limit generic api User Agents.

We have released Scumblr 2.0 and will no longer be accepting pull requests on the 1.x branch.  We also added a new Github search which fixes many issues with searching.  Please upgrade to Scumblr 2.0 and submit any pull requests if your issue was not already addressed.


Add a Delay action

in a recipe, please add an action to add a delay.
Example:
If I want to add a recipe which will execute these two commands say hi and say hello but I want to add a 2 second delay between them, so I will add a delay action between those two command actions and then by executing the recipe it will add a delay between those two commands to be executed.
I hope you understand what I mean. sorry for bad English

You can use the Script > Wait action for that feature.

thanks so much its working, you are really fast.


Document the longval tables

This is a very short description of what is found. IOB only.

This seems to reference your local changes to tiled_fuzzer.py but that'll be fixed eventually I suppose.

That's right, I'll do a PR of the code when the testing is done.


Refactored code for readability

Hey,
this PR is basically a refactoring of the code-basis for ts-nats. The changes are only code-style changes, more or less, and I hope to make the code-base simpler for future contributors. I didn't change the logic of the code. Not all changes might be wanted, so let's talk about them, so I can learn what's needed.
The changelog:

Added/removed spacing and empty lines where needed
Added/removed semicolons where needed
Changed the copyright year to 2019 in all edited files
Added missing return-type definitions
Added code comments at 1-2 points
Unified import style

Some imports used import x = require('...'), other import x from '...', now it's the second in all files

Changed let to const in all places where possible

This prevents unintentional behavior straight up while developing, and prevents possible problems when working on future features

Replaced a lot of single character variable names with multi-character ones

Reading the code with single character variable names is pretty hard, and makes the code harder to grasp. Helpful names make code more approachable
Some short names are not optimal, for example catch(ex), where ex implies an exception, not an error. Errors are runtime-errors, that occur in own code, exceptions are problems/bugs in the JS-engine itself, so error is the better fitting one (in my opinion)
Some names like fs imply a certain content (for fs it's the filesystem), so I've tried to choose an appropriate one

Refactored some forEach-loops to map-loops to make the code more expressive

Pull Request Test Coverage Report for Build 116

253 of 279 (90.68%)  changed or added relevant lines in 10 files are covered.
13 unchanged lines in 3 files lost coverage.
Overall coverage decreased (-0.04%) to 89.741%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/error.ts
9
10
90.0%

src/messagebuffer.ts
5
6
83.33%

src/servers.ts
32
36
88.89%

src/protocolhandler.ts
97
117
82.91%

Files with Coverage Reduction
New Missed Lines
%

src/nats.ts
1
97.39%

src/muxsubscriptions.ts
1
94.74%

src/protocolhandler.ts
11
83.8%

Totals

Change from base Build 112:
-0.04%

Covered Lines:
893

Relevant Lines:
985

💛  - Coveralls

The current build problems are related to this and this issue. As soon as the issue with highlight.js is resolved the builds should work.

The current build problems are related to this and this issue. As soon as the issue with highlight.js is resolved the builds should work.

Yes - when it works we can add it - node 6 is eol very soon now.

Thank you for the feedback! The provided rules give me a good feeling about the code style for future PRs :)
Tomorrow I'll rework the PR according to your feedback and check all not commented changes based on that (here in Germany it's already late).
I want to ask about the reasoning behind Changes from double-quote to single quote for strings will not be accepted. The quoting (' or ") is pretty mixed throughout the code (example: protocolhandler.ts L49 vs L64), so I thought about unifying this. Is there a special rule, or could I normalize them to double-quotes?

Thank you for the feedback! The provided rules give me a good feeling about the code style for future PRs :)
Tomorrow I'll rework the PR according to your feedback and check all not commented changes based on that (here in Germany it's already late).
I want to ask about the reasoning behind Changes from double-quote to single quote for strings will not be accepted. The quoting (' or ") is pretty mixed throughout the code (example: protocolhandler.ts L49 vs L64), so I thought about unifying this. Is there a special rule, or could I normalize them to double-quotes?

OK - compromise - let's do single quotes everywhere unless the string embeds a single quote in which case it will be an outer double quote.

I'm going to split the changes in other PRs, so the git-history will stay clean. This PR won't get any future changes, so it's safe to close. Changes, that are not present in #38 , but are applicable will get their own PR.

@sateffen the other PR covered the changes to include, I am going to closing this one. Thank you for your contribution.


How to build a static bin file ?

Hi,
is it possible to build a static bin file from bb-dl ?
tryed this:

apt-get install python-setuptools python3-pip
pip3 install pyinstaller
cd bbb-dl-1.0.13/bbb_dl
pyinstaller main.py

Got a bin file in dist/main/
ls -lathr
-rwxr-xr-x  1 developer developer 4.5M Nov  2 08:52 main

file main
main: ELF 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=04804d3c31218f938502cbed5cdd1af09d59a8f0, for GNU/Linux 2.6.32, stripped

But did not work, no usage output or error when run
$ ./main
tryed also:
 cd bbb-dl-1.0.13 pyinstaller --distpath bbb_dl/ bbb_dl/main.py
$ ./main
[PYI-155687:ERROR] Failed to load Python shared library '/home/developer/Downloads/bbb-dl-1.0.13/build/main/_internal/libpython3.11.so.1.0': dlopen: /home/developer/Downloads/bbb-dl-1.0.13/build/main/_internal/libpython3.11.so.1.0: cannot open shared object file: No such file or directory

Oh lol, I did not notice you are using linux. I thought you are using windows, because of your PATH problems. Pretty unusual to have PATH problems on linux.
Would be pretty complicated, because we are using playwright.
I guess it should be possible with pyinstaller
We would have to look at other python open source projects how they do it. Like yt-dlp, ...
You are welcome to make a PR if you got it working. I also planed this for my moodle-dl project. But got no time to investigate in it...
Would be nice if git CI/CD creates executables for Linux, Windoof and Mac

We would probably also have to bind ffmpeg to the installer...

Would be nice if git CI/CD creates executables for Linux, Windoof and Mac

yes - that was my plan to be able to build bin files for this OS

We would probably also have to bind ffmpeg to the installer...

yes

Would be pretty complicated, because we are using playwright.

ok

I guess it should be possible with pyinstaller

ok - hope I will find time the next days!
Thank you so much for you nice work!


show URL if fail to open

Hi. I saw the same problem as #69. I'd like to see the URL even if I don't know the option --verbose.
$ greenkeeper login
                        oooo
                        `888
             .ooooooooo  888  ooooo
            8888' `8888  888 .88P'
            8888   8888  8888888.       g r e e n k e e p e r . i o
            `888bod88P'  888 `888b.
             `Yooooooo. o888o o8888o
                  `Y88b
            d88P   d888
            `Y8888888P'

Login from this URL: https://api.greenkeeper.io/login?id=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Hi @ginpei!
I think this is a pretty helpful idea. Thank you for your PR.
One thing: Instead of using setInterval, could you use the callback of opener and catch the error there? It's undocumented, but you can see it implemented here: https://github.com/domenic/opener/blob/master/opener.js#L7

That's what I was looking for on the document! OK I changed it.
I guess you prefer err to error, btw. :)

Yeah that looks good! We should probably create a PR for the documentation of opener as well 😅
@boennemann @christophwitzko Could one of you review this? LGTM

Thank you :+1:


Data: project addition by KALEPU-OMKAR

Add a new project to the list
I want to add a new project to this repository.
The project identifies as event_keycodes.
This is a simple project using HTML, CSS and JavaScript that displays the keycodes when a key is pressed.
Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Completed. Thanks for your contributions 🎉 ❤

May I know the reason why the labels have been removed?

May I know the reason why the labels have been removed?

according to the GSSoC rules it's invalid. You've added the same projects in two different repositories.

Oh, my apologies. I didn't know.