Add Compatibility for Symfony 4

This PR adds Compatibility for Symfony 4 and should fix issues #32 and #33
I'm not sure if this is the best solution, tell me if you have an other idea.
If you are ok with this solution I will update the install doc.
On an other note on sonata-project/admin-bundle 3.40 they have removed the inlined js used in the layout.html.twig, and replaced it with a meta attribute. This make the bundle not working with version > 3.40, do you want us to force to recent version, and update the layout.html.twig? And if yes, should I do it in this PR or in an other?

Great, thanks. You can force to upgrade to admin-bundle 3.40+, in the same PR.

Here you go, and doc updated as well.

@dunglas Is there anything I can do to make this PR mergeable?

Could someone merge this PR, I need these changes to upgrade my SF4 project ?

Thanks @dFayet


Raycast functionality?

Is there any equivalent of Mujoco's raycast feature in Brax or planned for a future release? I am interested in creating an environment that provides the agent with LIDAR-style observations.

Hi @minqi , we don't currently have that implemented and don't have that feature planned as of now. The next closest thing: brax/io/image.py


script generating wierd images that are very blurry

why is my image being generated so blurry? all my layers are clear and in png format and not so disorted..

.

Same for me. Any suggestion?

How are you guys generating the NFTs? Can't find any clear steps.

Check the image resolution. I am using 300 resolution for an image element.


simple-linked-list: simplify example implementation [Fix #568]

Should fix issue #568.

Reviewer Resources:
Track Policies

I've been musing on this exercise... bear with me...
Since we have both simple-linked-list and linked-list, and the capabilities demanded by linked-list are a superset of the capabilities demanded by simple-linked-list (AFAICT), it seems like the tests for simple-linked-list should be a strict subset of the tests for linked-list. Right now, that's not the case, and there are tests that demand extra functionality in simple-linked-list that is not part of linked-list.
I think this PR improves the situation captured by #568 for sure; however, I think it could go a little further based on the reasoning above. @FridaTveit what do you think? And if you agree, would you like to make a separate card for that work, or address it right now by modifying this PR?

I completely agree! And I'd be happy to make those changes as part of this PR :)

Awesome! ❤

Actually, having looked more closely at the description for simple-linked-list, it doesn't look like there's very much, if anything, we can remove. The description says that you need to be able to reverse the list and convert to and from an array, and those are the main features that simple-linked-list has but linked-list doesn't, as far as I can tell. But I still think it's strange that, in my opinion, simple-linked-list is more difficult to implement than linked-list... @stkent, what do you think?

In that case, I'd say the issue may lie with the description for linked-list, which (IMO) should include all those requirements from simple-linked-list plus whatever tests are specific for the doubly-linked version. It might be worth tackling the open x-common issues and standardizing the canonical data for these exercises before we launch down a path that might be separate from other tracks.
https://github.com/exercism/x-common/issues/587
https://github.com/exercism/x-common/issues/568

Standardising the canonical data sounds like a good plan :) I think the description for linked-list is okay, that's what I would expect from a linked list. I more think the problem is the description for simple-linked-list. I think either the "to and from array" bit (and possibly the reverse bit as well) should be removed, or it should be renamed single-linked-list instead of simple. Because at the moment I don't think it really is simple...

Agreed, I think ideally we'd have

simple-linked-list renamed to singly-linked-list;
linked-list renamed to doubly-linked-list;
singly-linked-list made simpler than doubly-linked-list;

but I'm not sure how difficult it is to rename an exercise slug. (I think it's been done once before, so it is possible...) I'm going to merge this PR now, since the discussions above are vastly expanding the scope, and then we can work on those upstream issues before making any further changes. Sound good?

Sounds good :)

See: https://github.com/exercism/discussions/issues/156 for discussion around exercise renames.


Build/add arm images

Add ARM builds to the Ruby images
Lots of modern development work goes on ARM machines - like M1 Macs, now.
 This is especially painful when installing gems with native extensions because they take a long time to compile or just never finish.
You could work around this by building these images locally on your Mac.
In addition, having ARM images lets you utilise cloud computing resources with lower power requirements (and lower bills), like Graviton.
Upside
You get ARM images. See above.
Downside
The build takes about 45 minutes now, because GitHub Actions has no (publicly available) ARM CI runners currently. So it's running using QEMU.  Using cross-compilation would be faster but more complicated to set up. Using separate runners would be a more complex build script, but probably worth it if ARM executors are available.

Ah I was unaware that https://github.com/alphagov/govuk-ruby-images/compare/main...GIFT-multiarch is based on and ahead of this branch. I'll leave you folks to it! Sorry for any confusion caused.


Installation Improvements

I'm not sure if you consider this Package to be released already but if you do, could you please add a git tag to your main branch so that:

There can be version numbering for the releases
It can be marked as a release on github
I can suggest to swiftpackageindex.com that they add this package to their directory. See: https://swiftpackageindex.com/add-a-package

This way more people will see your package, plus they will automatically compile and host DocC documentation for you for free.

Also, in the README it would be helpful if you also included how to add the dependency to a particular target within a Package.swift file:
for example:
// ...
dependencies: [
.target(
            name: "Models",
            dependencies: [

                    .product(name: "SwiftAndTipsMacros", package: "SwiftAndTipsMacros") // 👈🏼
            ]
        )
]

Also, Xcode 15 won't compile a Package.swift file if it depends on a macro unless you give permission to the macro. (I guess it's to protect you from macros running malicious code). But Xcode does a really bad job of showing that error, or showing the dialog box so that you can give permission. So if you have any tips for that, that would be helpful.

Hi @DandyLyons ,
First off, I'm sorry for my delay in replying to you. Second, thank you very much for your comments!
I've added some instructions about installation already https://github.com/pitt500/SwiftAndTipsMacros#installation, however, it is not versioned and definitely will be a great improvement.
I will try to update this as soon as possible, however, I have an urgent release in my full-time job, and my YouTube channel and side projects like this one have been affected, but I promise to take a look this month on this.
Regarding your question about Xcode 15 permissions, I noticed that and I don't have a clue yet on how to solve it. Looks like it's a "feature", but If I get something, I will let you know.
Regards,
Pitt

No rush. Thanks for the reply.
Also, this article might be helpful/interesting for you: Being a good citizen in the land of SwiftSyntax
TL;DR;: Since SwiftSyntax is a gigantic dependency, here are tips on how to reduce build times.

No rush. Thanks for the reply.
Also, this article might be helpful/interesting for you: Being a good citizen in the land of SwiftSyntax TL;DR;: Since SwiftSyntax is a gigantic dependency, here are tips on how to reduce build times.

Thanks for sharing!


terraform destroy was not able to delete the apps.

Corrected the Delete method to pass the necessary
arguments for the delete to go through successfully.

Merging the terraform destroy support.


Start a subscription to audit log content

When trying Start a subscription to audit log content, in Step 2 where I would establish a new connection, I get an error during the sign.  I am signing in with an admin account that has PP admin, and audit log read access.
Sorry, but we’re having trouble signing you in.
AADSTS700016: Application with identifier 'd94c19aa-1596-xxxx-xxxx-a34b77408a0f' was not found in the directory '3596192b-xxxx-xxxx-a6fa-acb706c963d8'. This can happen if the application has not been installed by the administrator of the tenant or consented to by any user in the tenant. You may have sent your authentication request to the wrong tenant.

@BandyCh
Please contact support: https://powerapps.microsoft.com/support/


Logs

How to disable Debug logs in this one ?

I find that all logs were written in the lib. You can remove all log functions by yourself. I think there no way to disable logs in this lib.

willfix

Awesome, Some method should be given..

Through some research, I think the best approach is to use proguard in your project to strip out the log code.
Please see the DemoApp configuration for details:
https://github.com/wenchaojiang/AndroidSwipeableCardStack/blob/master/DemoApp/proguard-rules.pro

Thanks Wenchao


Refactor server interface

What do you think about this cleanup?

move relevant defuns together
in function names, vars, and docstrings, refer to "server" instead of variants of "python process"
rename pygn_handler.py to pygn_server.py
hoist response wait and timeout to variables.  We shouldn't have to be passing these every time.  And key values are also buried in code.
many docstring revisions
remove TODO comment which is completed
no need to restart server in pygn-mode-fen-at-pos and pygn-mode-board-at-pos, since it gets restarted later by the query function
guard form when checking for running server
use unless instead of (when (not …

Rebased, and added basic doc of the server protocol in pygn_server.py comment header.

This looks good, but has conflicts

Fixed conflicts.


Maintenance update: msgs10 and checkout@v3

🦟 Bug fix
This patch updates some of the Harmonic dependencies and the actions/checkout workflow.
Checklist

[x] Signed all commits for DCO
[ ] Added tests
[ ] Updated documentation (as needed)
[ ] Updated migration guide (as needed)
[ ] Consider updating Python bindings (if the library has them)
[ ] codecheck passed (See contributing)
[ ] All tests passed (See test coverage)
[ ] While waiting for a review on your PR, please help review another open pull request to support the maintainers

Note to maintainers: Remember to use Squash-Merge and edit the commit message to match the pull request summary while retaining Signed-off-by messages.

@osrf-jenkins retest this please


Trees, but not cells get distributed in P4estMesh?

We should double-check that in a P4estMesh really the cells get distributed and not the trees. The issue came up in #1326 (comment).

I'll assign this to you as a mid-term goal. It's great that you found this issue!

I think this issue may be caused by the fact that we use p4est with the allow_coarsening=true flag. This causes p4est to keep families of cells on the same rank to allow coarsening the mesh easily. In the example in the linked comment, 96 elements on 24 and 25 ranks are used. So for 24 ranks p4est can always assign 4 cells per rank whereas for 25 ranks p4est might intentionally leave one rank empty.
This could be tested by setting allow_coarsening to false here, running the affected elixir with 24/25 ranks and comparing the partitioning. Note that this might break AMR, so it is probably better to disable it for this test.

Thanks, @lchristm! Could you please test this, @JoshuaLampert?

Thanks, @JoshuaLampert! Did AMR try to coarsen cells that were distributed across multiple cores in your tests?

You could test it with indicators that always want to coarsen the mesh, similar to https://github.com/trixi-framework/Trixi.jl/blob/main/examples/tree_2d_dgsem/elixir_advection_amr_coarsen_twice.jl
If that works as well, we should consider changing the default.

Thanks, @ranocha. I ran this elixir for a P4estMesh instead of the TreeMesh and allow_coarsening=false with many MPI ranks and it worked. But I think it only coarsened the mesh that is owned by the current rank and not across multiple cores. In one of my test cases according to the AMR part of the AnalysisCallback the root rank owned 25 elements on level 4 initially and in the end it owned 3 elements: 2 elements on level 3 and 1 element on level 2. I.e. it didn't coarsen its whole mesh twice since it didn't have enough cells to perform another coarsening (on the other hand it seems like it distributed 1 element to another rank since 24 + 14*4 = 24 = 25 - 1). In another test case the root rank initially owned 2 cells on level 3 and in the end it still owned 2 cells on level 3, so it didn't coarsen at all.
Does that make sense?

Thanks a lot, @JoshuaLampert!
@sloede What's your opinion - how shall we proceed? I expect there can be situations where both options for allow_coarsening can be better.

If I understand allow_coarsening correctly, it will disallow coarsening a set of 4 (2D) or 8 (3D) sibling cells if it is distributed across multiple ranks. This situation (splitting of siblings) can happen even in large simulations with "enough" cells to go around for each rank. Since that would mean that the result of the simulation may change depending on the number of ranks used, even in the case that there are enough cells, I think this is not an option for us. Thus, we should leave the allow_for_coarsening option true, which is the only sane thing to do in my opinion.

Okay - so we will leave everything as it is. Is this GitHub issue enough to document this or do you think we should discuss it somewhere else - maybe in the FAQ section of the docs at https://trixi-framework.github.io/Trixi.jl/stable/troubleshooting/?

@JoshuaLampert a definitive test would be if you create a P4estMesh with 2x2 trees and ref level 1. This should give you 16 cells, right? If you now set allow_for_coarsening=false, run on 3 MPI ranks, and let it coarsen once, you should end up with not 4 but either 7 or 10 cells (depending on where the space filling curve is cut).

I think it would be good to document this somewhere either in a docstring or the Trixi manual.

I think it would be good to document this somewhere either in a docstring or the Trixi manual.

A docstring isn't really an option since we don't expose this functionality (unless someone calls partition! manually). Thus, it would be great if you, @JoshuaLampert, could summarize this behavior in a new section in https://github.com/trixi-framework/Trixi.jl/blob/main/docs/src/troubleshooting.md.

@JoshuaLampert a definitive test would be if you create a P4estMesh with 2x2 trees and ref level 1.

I did that and I get as expected initially $6 + 5 + 5 = 16$ cells and after one coarsening step we have $3 + 3 + 4 = 10$ cells.

Thus, it would be great if you, @JoshuaLampert, could summarize this behavior in a new section in https://github.com/trixi-framework/Trixi.jl/blob/main/docs/src/troubleshooting.md.

I will do that.

@JoshuaLampert a definitive test would be if you create a P4estMesh with 2x2 trees and ref level 1.

I did that and I get as expected initially

Great! Thanks for confirming my mental model 🙂 Thus, I think this definitely settles it. IMHO once this is documented in Trixi.jl, we can close this issue.


Update about page

Oh - could also consider mentioning the update in the changelog (which we did do last time), though the change is so minor I'm not sure it's necessary.


Not shown in HACS

Not shown in HACS to install. Do I need to add the Repo?


Test aceptation for filters and bug corrected

Description

Bug in FilterModel extraction corrected.
Test in test-at for filters adapted to twitter example.

Reviewer
@anistal

LGTM +1

I need one more commit, don't merge this PR now!

If you're modifying current PR, please let me know when you're finished. I'll review it again at that time.

All are corrected. You can see the last commit.

+1


Unable to configure it on Port 53

I am unable to configure it on port 53 (TCP or UDP), connection getting reset  and I am getting Fatal TLS Error
I am on Amazon Lightsail

Does it work for other ports?

Yes, works for every other port I select. Only having issue with port 53 for both TCP and UDP.
Very strange, service is running and port is listing to server, but while connecting, getting error.

Tue Aug 20 19:24:41 2019 TLS Error: client->client or server->server connection attempted from [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:24:43 2019 TLS Error: client->client or server->server connection attempted from [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:24:47 2019 TLS Error: client->client or server->server connection attempted from [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:24:55 2019 TLS Error: client->client or server->server connection attempted from [AF_INET]<IP_ADDRESS>:53

Successful on port 110
Tue Aug 20 19:30:23 2019 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Tue Aug 20 19:30:23 2019 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Aug 20 19:30:23 2019 library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
Tue Aug 20 19:30:23 2019 MANAGEMENT: TCP Socket listening on [AF_INET]<IP_ADDRESS>:25340
Tue Aug 20 19:30:23 2019 Need hold release from management interface, waiting...
Tue Aug 20 19:30:23 2019 MANAGEMENT: Client connected from [AF_INET]<IP_ADDRESS>:25340
Tue Aug 20 19:30:23 2019 MANAGEMENT: CMD 'state on'
Tue Aug 20 19:30:23 2019 MANAGEMENT: CMD 'log all on'
Tue Aug 20 19:30:24 2019 MANAGEMENT: CMD 'echo all on'
Tue Aug 20 19:30:24 2019 MANAGEMENT: CMD 'bytecount 5'
Tue Aug 20 19:30:24 2019 MANAGEMENT: CMD 'hold off'
Tue Aug 20 19:30:24 2019 MANAGEMENT: CMD 'hold release'
Tue Aug 20 19:30:24 2019 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 19:30:24 2019 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 19:30:24 2019 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 19:30:24 2019 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 19:30:24 2019 MANAGEMENT: >STATE:1566309624,RESOLVE,,,,,,
Tue Aug 20 19:30:24 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]XX.XX.XX.XX:110
Tue Aug 20 19:30:24 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 19:30:24 2019 Attempting to establish TCP connection with [AF_INET]XX.XX.XX.XX:110 [nonblock]
Tue Aug 20 19:30:24 2019 MANAGEMENT: >STATE:1566309624,TCP_CONNECT,,,,,,
Tue Aug 20 19:30:25 2019 TCP connection established with [AF_INET]XX.XX.XX.XX:110
Tue Aug 20 19:30:25 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 19:30:25 2019 TCP_CLIENT link remote: [AF_INET]XX.XX.XX.XX:110
Tue Aug 20 19:30:25 2019 MANAGEMENT: >STATE:1566309625,WAIT,,,,,,
Tue Aug 20 19:30:25 2019 MANAGEMENT: >STATE:1566309625,AUTH,,,,,,
Tue Aug 20 19:30:25 2019 TLS: Initial packet from [AF_INET]XX.XX.XX.XX:110, sid=af666e50 e32f93db
Tue Aug 20 19:30:25 2019 VERIFY OK: depth=1, CN=cn_oDJeikXs8Gj5r8MZ
Tue Aug 20 19:30:25 2019 VERIFY KU OK
Tue Aug 20 19:30:25 2019 Validating certificate extended key usage
Tue Aug 20 19:30:25 2019 ++ Certificate has EKU (str) TLS Web Server Authentication, expects TLS Web Server Authentication
Tue Aug 20 19:30:25 2019 VERIFY EKU OK
Tue Aug 20 19:30:25 2019 VERIFY X509NAME OK: CN=server_TZn2piBXHTCUIwAJ
Tue Aug 20 19:30:25 2019 VERIFY OK: depth=0, CN=server_TZn2piBXHTCUIwAJ
Tue Aug 20 19:30:26 2019 Control Channel: TLSv1.2, cipher TLSv1.2 ECDHE-ECDSA-AES128-GCM-SHA256, 256 bit EC, curve: prime256v1
Tue Aug 20 19:30:26 2019 [server_TZn2piBXHTCUIwAJ] Peer Connection Initiated with [AF_INET]XX.XX.XX.XX:110
Tue Aug 20 19:30:27 2019 MANAGEMENT: >STATE:1566309627,GET_CONFIG,,,,,,
Tue Aug 20 19:30:27 2019 SENT CONTROL [server_TZn2piBXHTCUIwAJ]: 'PUSH_REQUEST' (status=1)
Tue Aug 20 19:30:29 2019 PUSH: Received control message: 'PUSH_REPLY,dhcp-option DNS <IP_ADDRESS>,dhcp-option DNS <IP_ADDRESS>,redirect-gateway def1 bypass-dhcp,route-gateway <IP_ADDRESS>,topology subnet,ping 10,ping-restart 120,ifconfig <IP_ADDRESS> <IP_ADDRESS>,peer-id 0,cipher AES-128-GCM'
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: timers and/or timeouts modified
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: --ifconfig/up options modified
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: route options modified
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: route-related options modified
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: --ip-win32 and/or --dhcp-option options modified
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: peer-id set
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: adjusting link_mtu to 1626
Tue Aug 20 19:30:29 2019 OPTIONS IMPORT: data channel crypto options modified
Tue Aug 20 19:30:29 2019 Outgoing Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key
Tue Aug 20 19:30:29 2019 Incoming Data Channel: Cipher 'AES-128-GCM' initialized with 128 bit key
Tue Aug 20 19:30:29 2019 interactive service msg_channel=0
Tue Aug 20 19:30:29 2019 ROUTE_GATEWAY <IP_ADDRESS>/<IP_ADDRESS> I=10 HWADDR=d4:25:8b:f6:0d:79
Tue Aug 20 19:30:29 2019 open_tun
Tue Aug 20 19:30:29 2019 TAP-WIN32 device [Ethernet 2] opened: \.\Global{C935EA68-F332-4977-9DAC-CE30BDB3C701}.tap
Tue Aug 20 19:30:29 2019 TAP-Windows Driver Version 9.21
Tue Aug 20 19:30:29 2019 Set TAP-Windows TUN subnet mode network/local/netmask = <IP_ADDRESS>/<IP_ADDRESS>/<IP_ADDRESS> [SUCCEEDED]
Tue Aug 20 19:30:29 2019 Notified TAP-Windows driver to set a DHCP IP/netmask of <IP_ADDRESS>/<IP_ADDRESS> on interface {C935EA68-F332-4977-9DAC-CE30BDB3C701} [DHCP-serv: <IP_ADDRESS>, lease-time: 31536000]
Tue Aug 20 19:30:29 2019 Successful ARP Flush on interface [17] {C935EA68-F332-4977-9DAC-CE30BDB3C701}
Tue Aug 20 19:30:29 2019 do_ifconfig, tt->did_ifconfig_ipv6_setup=0
Tue Aug 20 19:30:29 2019 MANAGEMENT: >STATE:1566309629,ASSIGN_IP,,<IP_ADDRESS>,,,,
Tue Aug 20 19:30:29 2019 Block_DNS: WFP engine opened
Tue Aug 20 19:30:29 2019 Block_DNS: Using existing sublayer
Tue Aug 20 19:30:29 2019 Block_DNS: Added permit filters for exe_path
Tue Aug 20 19:30:29 2019 Block_DNS: Added block filters for all interfaces
Tue Aug 20 19:30:29 2019 Block_DNS: Added permit filters for TAP interface
Tue Aug 20 19:30:34 2019 TEST ROUTES: 1/1 succeeded len=0 ret=1 a=0 u/d=up
Tue Aug 20 19:30:34 2019 C:\WINDOWS\system32\route.exe ADD XX.XX.XX.XX MASK <IP_ADDRESS> <IP_ADDRESS>
Tue Aug 20 19:30:34 2019 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=50 and dwForwardType=4
Tue Aug 20 19:30:34 2019 Route addition via IPAPI succeeded [adaptive]
Tue Aug 20 19:30:34 2019 C:\WINDOWS\system32\route.exe ADD <IP_ADDRESS> MASK <IP_ADDRESS> <IP_ADDRESS>
Tue Aug 20 19:30:34 2019 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=3 and dwForwardType=4
Tue Aug 20 19:30:34 2019 Route addition via IPAPI succeeded [adaptive]
Tue Aug 20 19:30:34 2019 C:\WINDOWS\system32\route.exe ADD <IP_ADDRESS> MASK <IP_ADDRESS> <IP_ADDRESS>
Tue Aug 20 19:30:34 2019 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=3 and dwForwardType=4
Tue Aug 20 19:30:34 2019 Route addition via IPAPI succeeded [adaptive]
Tue Aug 20 19:30:34 2019 Initialization Sequence Completed
Tue Aug 20 19:30:34 2019 MANAGEMENT: >STATE:1566309634,CONNECTED,SUCCESS,<IP_ADDRESS>,XX.XX.XX.XX,110,<IP_ADDRESS>,53400

With Port 53
Tue Aug 20 19:34:23 2019 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Tue Aug 20 19:34:23 2019 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Aug 20 19:34:23 2019 library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
Tue Aug 20 19:34:23 2019 MANAGEMENT: TCP Socket listening on [AF_INET]<IP_ADDRESS>:25340
Tue Aug 20 19:34:23 2019 Need hold release from management interface, waiting...
Tue Aug 20 19:34:23 2019 MANAGEMENT: Client connected from [AF_INET]<IP_ADDRESS>:25340
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'state on'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'log all on'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'echo all on'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'bytecount 5'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'hold off'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'hold release'
Tue Aug 20 19:34:24 2019 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 19:34:24 2019 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 19:34:24 2019 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 19:34:24 2019 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 19:34:24 2019 MANAGEMENT: >STATE:1566309864,RESOLVE,,,,,,
Tue Aug 20 19:34:24 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:24 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 19:34:24 2019 Attempting to establish TCP connection with [AF_INET]<IP_ADDRESS>:53 [nonblock]
Tue Aug 20 19:34:24 2019 MANAGEMENT: >STATE:1566309864,TCP_CONNECT,,,,,,
Tue Aug 20 19:34:25 2019 TCP connection established with [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:25 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 19:34:25 2019 TCP_CLIENT link remote: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:25 2019 MANAGEMENT: >STATE:1566309865,WAIT,,,,,,
Tue Aug 20 19:34:25 2019 Connection reset, restarting [0]
Tue Aug 20 19:34:25 2019 SIGUSR1[soft,connection-reset] received, process restarting
Tue Aug 20 19:34:25 2019 MANAGEMENT: >STATE:1566309865,RECONNECTING,connection-reset,,,,,
Tue Aug 20 19:34:25 2019 Restart pause, 5 second(s)
Tue Aug 20 19:34:30 2019 MANAGEMENT: >STATE:1566309870,RESOLVE,,,,,,
Tue Aug 20 19:34:30 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:30 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 19:34:30 2019 Attempting to establish TCP connection with [AF_INET]<IP_ADDRESS>:53 [nonblock]
Tue Aug 20 19:34:30 2019 MANAGEMENT: >STATE:1566309870,TCP_CONNECT,,,,,,
Tue Aug 20 19:34:31 2019 TCP connection established with [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:31 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 19:34:31 2019 TCP_CLIENT link remote: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:31 2019 MANAGEMENT: >STATE:1566309871,WAIT,,,,,,
Tue Aug 20 19:34:31 2019 TLS Error: client->client or server->server connection attempted from [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:31 2019 Fatal TLS error (check_tls_errors_co), restarting
Tue Aug 20 19:34:31 2019 SIGUSR1[soft,tls-error] received, process restarting
Tue Aug 20 19:34:31 2019 MANAGEMENT: >STATE:1566309871,RECONNECTING,tls-error,,,,,
Tue Aug 20 19:34:31 2019 Restart pause, 5 second(s)
Tue Aug 20 19:34:36 2019 MANAGEMENT: >STATE:1566309876,RESOLVE,,,,,,
Tue Aug 20 19:34:36 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:36 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 19:34:36 2019 Attempting to establish TCP connection with [AF_INET]<IP_ADDRESS>:53 [nonblock]
Tue Aug 20 19:34:36 2019 MANAGEMENT: >STATE:1566309876,TCP_CONNECT,,,,,,
Tue Aug 20 19:34:37 2019 TCP connection established with [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:37 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 19:34:37 2019 TCP_CLIENT link remote: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 19:34:37 2019 MANAGEMENT: >STATE:1566309877,WAIT,,,,,,
Tue Aug 20 19:34:37 2019 Connection reset, restarting [0]
Tue Aug 20 19:34:37 2019 SIGUSR1[soft,connection-reset] received, process restarting
Tue Aug 20 19:34:37 2019 MANAGEMENT: >STATE:1566309877,RECONNECTING,connection-reset,,,,,
Tue Aug 20 19:34:37 2019 Restart pause, 5 second(s)

With Port 53
Tue Aug 20 19:34:23 2019 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Tue Aug 20 19:34:23 2019 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Aug 20 19:34:23 2019 library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
Tue Aug 20 19:34:23 2019 MANAGEMENT: TCP Socket listening on [AF_INET]<IP_ADDRESS>:25340
Tue Aug 20 19:34:23 2019 Need hold release from management interface, waiting...
Tue Aug 20 19:34:23 2019 MANAGEMENT: Client connected from [AF_INET]<IP_ADDRESS>:25340
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'state on'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'log all on'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'echo all on'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'bytecount 5'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'hold off'
Tue Aug 20 19:34:24 2019 MANAGEMENT: CMD 'hold release'
Tue Aug 20 19:34:24 2019 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 19:34:24 2019 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 19:34:24 2019 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 19:34:24 2019 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 19:34:24 2019 MANAGEMENT: >STATE:1566309864,RESOLVE,,,,,,
Tue Aug 20 19:34:24 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:24 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 19:34:24 2019 Attempting to establish TCP connection with [AF_INET]XX.XX.XX.XX:53 [nonblock]
Tue Aug 20 19:34:24 2019 MANAGEMENT: >STATE:1566309864,TCP_CONNECT,,,,,,
Tue Aug 20 19:34:25 2019 TCP connection established with [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:25 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 19:34:25 2019 TCP_CLIENT link remote: [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:25 2019 MANAGEMENT: >STATE:1566309865,WAIT,,,,,,
Tue Aug 20 19:34:25 2019 Connection reset, restarting [0]
Tue Aug 20 19:34:25 2019 SIGUSR1[soft,connection-reset] received, process restarting
Tue Aug 20 19:34:25 2019 MANAGEMENT: >STATE:1566309865,RECONNECTING,connection-reset,,,,,
Tue Aug 20 19:34:25 2019 Restart pause, 5 second(s)
Tue Aug 20 19:34:30 2019 MANAGEMENT: >STATE:1566309870,RESOLVE,,,,,,
Tue Aug 20 19:34:30 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:30 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 19:34:30 2019 Attempting to establish TCP connection with [AF_INET]XX.XX.XX.XX:53 [nonblock]
Tue Aug 20 19:34:30 2019 MANAGEMENT: >STATE:1566309870,TCP_CONNECT,,,,,,
Tue Aug 20 19:34:31 2019 TCP connection established with [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:31 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 19:34:31 2019 TCP_CLIENT link remote: [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:31 2019 MANAGEMENT: >STATE:1566309871,WAIT,,,,,,
Tue Aug 20 19:34:31 2019 TLS Error: client->client or server->server connection attempted from [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:31 2019 Fatal TLS error (check_tls_errors_co), restarting
Tue Aug 20 19:34:31 2019 SIGUSR1[soft,tls-error] received, process restarting
Tue Aug 20 19:34:31 2019 MANAGEMENT: >STATE:1566309871,RECONNECTING,tls-error,,,,,
Tue Aug 20 19:34:31 2019 Restart pause, 5 second(s)
Tue Aug 20 19:34:36 2019 MANAGEMENT: >STATE:1566309876,RESOLVE,,,,,,
Tue Aug 20 19:34:36 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:36 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 19:34:36 2019 Attempting to establish TCP connection with [AF_INET]XX.XX.XX.XX:53 [nonblock]
Tue Aug 20 19:34:36 2019 MANAGEMENT: >STATE:1566309876,TCP_CONNECT,,,,,,
Tue Aug 20 19:34:37 2019 TCP connection established with [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:37 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 19:34:37 2019 TCP_CLIENT link remote: [AF_INET]XX.XX.XX.XX:53
Tue Aug 20 19:34:37 2019 MANAGEMENT: >STATE:1566309877,WAIT,,,,,,
Tue Aug 20 19:34:37 2019 Connection reset, restarting [0]
Tue Aug 20 19:34:37 2019 SIGUSR1[soft,connection-reset] received, process restarting
Tue Aug 20 19:34:37 2019 MANAGEMENT: >STATE:1566309877,RECONNECTING,connection-reset,,,,,
Tue Aug 20 19:34:37 2019 Restart pause, 5 second(s)

Did you check your instance's firewall?

It works for me on Lightsail with Debian 9, and with the correct ports open on the firewall. (I mean the Lightsail firewall, via the web console)

Hi,
I have all the ports opened, I am using this for my Lightsail
WordPress Certified by Bitnami and Automattic 5.1.1-2.
Distributor ID: Ubuntu
Description:    Ubuntu 16.04.6 LTS
Release:        16.04
Codename:       xenial
Ports: https://imgur.com/yroWaAf
Could you please give it a try with same image i am using.

It works for me. Are you sure OpenVPN is running?

I just deployed a new instances in Light sail in Oregon, with both TCP/UDP DNS port opened. Installation went fine, even I can telnet to port 53 on the server, but failed to establish connectivity, getting same error in TLS.
Tue Aug 20 22:09:25 2019 OpenVPN 2.4.6 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 26 2018
Tue Aug 20 22:09:25 2019 Windows version 6.2 (Windows 8 or greater) 64bit
Tue Aug 20 22:09:25 2019 library versions: OpenSSL 1.1.0h  27 Mar 2018, LZO 2.10
Enter Management Password:
Tue Aug 20 22:09:25 2019 MANAGEMENT: TCP Socket listening on [AF_INET]<IP_ADDRESS>:25341
Tue Aug 20 22:09:25 2019 Need hold release from management interface, waiting...
Tue Aug 20 22:09:25 2019 MANAGEMENT: Client connected from [AF_INET]<IP_ADDRESS>:25341
Tue Aug 20 22:09:25 2019 MANAGEMENT: CMD 'state on'
Tue Aug 20 22:09:25 2019 MANAGEMENT: CMD 'log all on'
Tue Aug 20 22:09:25 2019 MANAGEMENT: CMD 'echo all on'
Tue Aug 20 22:09:25 2019 MANAGEMENT: CMD 'bytecount 5'
Tue Aug 20 22:09:25 2019 MANAGEMENT: CMD 'hold off'
Tue Aug 20 22:09:25 2019 MANAGEMENT: CMD 'hold release'
Tue Aug 20 22:09:25 2019 Outgoing Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 22:09:25 2019 Outgoing Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 22:09:25 2019 Incoming Control Channel Encryption: Cipher 'AES-256-CTR' initialized with 256 bit key
Tue Aug 20 22:09:25 2019 Incoming Control Channel Encryption: Using 256 bit message hash 'SHA256' for HMAC authentication
Tue Aug 20 22:09:25 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:25 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 22:09:25 2019 Attempting to establish TCP connection with [AF_INET]<IP_ADDRESS>:53 [nonblock]
Tue Aug 20 22:09:25 2019 MANAGEMENT: >STATE:1566319165,TCP_CONNECT,,,,,,
Tue Aug 20 22:09:26 2019 TCP connection established with [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:26 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 22:09:26 2019 TCP_CLIENT link remote: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:26 2019 MANAGEMENT: >STATE:1566319166,WAIT,,,,,,
Tue Aug 20 22:09:26 2019 TLS Error: client->client or server->server connection attempted from [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:26 2019 Fatal TLS error (check_tls_errors_co), restarting
Tue Aug 20 22:09:26 2019 SIGUSR1[soft,tls-error] received, process restarting
Tue Aug 20 22:09:26 2019 MANAGEMENT: >STATE:1566319166,RECONNECTING,tls-error,,,,,
Tue Aug 20 22:09:26 2019 Restart pause, 5 second(s)
Tue Aug 20 22:09:31 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:31 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 22:09:31 2019 Attempting to establish TCP connection with [AF_INET]<IP_ADDRESS>:53 [nonblock]
Tue Aug 20 22:09:31 2019 MANAGEMENT: >STATE:1566319171,TCP_CONNECT,,,,,,
Tue Aug 20 22:09:32 2019 TCP connection established with [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:32 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 22:09:32 2019 TCP_CLIENT link remote: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:32 2019 MANAGEMENT: >STATE:1566319172,WAIT,,,,,,
Tue Aug 20 22:09:32 2019 Connection reset, restarting [0]
Tue Aug 20 22:09:32 2019 SIGUSR1[soft,connection-reset] received, process restarting
Tue Aug 20 22:09:32 2019 MANAGEMENT: >STATE:1566319172,RECONNECTING,connection-reset,,,,,
Tue Aug 20 22:09:32 2019 Restart pause, 5 second(s)
Tue Aug 20 22:09:37 2019 TCP/UDP: Preserving recently used remote address: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:37 2019 Socket Buffers: R=[65536->65536] S=[64512->64512]
Tue Aug 20 22:09:37 2019 Attempting to establish TCP connection with [AF_INET]<IP_ADDRESS>:53 [nonblock]
Tue Aug 20 22:09:37 2019 MANAGEMENT: >STATE:1566319177,TCP_CONNECT,,,,,,
Tue Aug 20 22:09:38 2019 TCP connection established with [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:38 2019 TCP_CLIENT link local: (not bound)
Tue Aug 20 22:09:38 2019 TCP_CLIENT link remote: [AF_INET]<IP_ADDRESS>:53
Tue Aug 20 22:09:38 2019 MANAGEMENT: >STATE:1566319178,WAIT,,,,,,
Tue Aug 20 22:09:38 2019 Connection reset, restarting [0]
Tue Aug 20 22:09:38 2019 SIGUSR1[soft,connection-reset] received, process restarting
Tue Aug 20 22:09:38 2019 MANAGEMENT: >STATE:1566319178,RECONNECTING,connection-reset,,,,,
Tue Aug 20 22:09:38 2019 Restart pause, 5 second(s)
Tue Aug 20 22:09:41 2019 SIGTERM[hard,init_instance] received, process exiting
Tue Aug 20 22:09:41 2019 MANAGEMENT: >STATE:1566319181,EXITING,init_instance,,,,,

The client can access the server, but the issue is Connection reset, restarting

Can you check the openvpn logs on the server?

This is very strange, nothing wrong OpenVPN, as today I discovered that something blocking the client while initiating the connectivity over home WiFi, it is actually dropping the request, and I really don't know why or what actually the root cause.
I am able to established the connectivity while using my mobile data.
Thanks for your help.

Interesting! Maybe some QoS on your router or something :man_shrugging:


Confirmation window selection problem

Originally submitted to Google Code by roopa.machaiah on 13 Oct 2009

I am automating our web application using SeleniumLibrary (version 2.2.1)
My test case is :
step #1 : click on the delete button in my application
(a confirmation window that loads as an applet comes up)
Step #2: Confirm by clicking on “delete” in the confirmation box that comes
up in the applet.
Selenium is giving me a timed out message after the first delete click and
fails to locate the confirmation window that is loaded
I have tried all possible keywords but none of it seems to be working.
Kindly help.
I have attached the snapshot and the source page file of my application.
The source page of my application for this bit is as follows:

        <input type="submit" id="Modify"

name="action:ModifySingleSubscriptionAction!modify" value="Modify"
class="button"/>
        <input type="button" id="Delete" name="Delete" class="button"

value="Delete"
onclick="javascript:SAAMMessageBox.confirmAndDelete('Are you sure you want
to delete this subscription?', this.form)" />

</form>

Originally submitted to Google Code by @yanne on 19 Oct 2009

To be able to investigate this, I would have to know the implementation of
SAAMMessageBox. Without this knowledge I cannot know how to access the dialog.

Originally submitted to Google Code by Magnus.Smedberg on 27 Oct 2009

Hi,
I have similar problems.
When running the attached test under Linux, "Confirm Action" seems to fail (or never
execute), because the previous keyword (Click Link) times out. (See attached log file
of the execution of one test case)
However, when I leave the browser open after execution and check the page I've been
testing, I can see that it's in the state after the pop up confirm, so maybe Confirm
Action is being executed, but not registered as done?
If I set the Selenium speed to 2 seconds, it works some of the time, but not all.
For some reason, these test cases work fine when run in Windows (Firefox browser used
in both win and linux), but as I said, not in Linux (Ubuntu). Same versions of
Python, Selenium and RF on both systems.
Using SeleniumLib 2.2.1 btw.
BRs
Magnus

Originally submitted to Google Code by @yanne on 28 Oct 2009

Have you tried executing the previous action (Click Link 	${SEARCH VOUCHER ORDERS
BUTTON SEARCH ORDERS} without waiting for a page load? Click link timeouts if reload
does not happen (Although, then I wonder why it passes in Windows...)

Originally submitted to Google Code by Magnus.Smedberg on 28 Oct 2009

Hadn't actually tried it previously, no.
Have now though...
I can get it to work (on both Win & Linux) if I add "dont_wait" to that Click Link,
but then I have to add an additional "wait" afterward so that it doesn't try to
validate the response before the search is complete.

Originally submitted to Google Code by @yanne on 25 Nov 2009

Fundamentally, the ugliness arises from the way Selenium tests and Javascript work.
There's not much we can do, because we need to support the same user interactions
(click link etc.) with both page loads happening and not.


Should build work for frdm_k64f board?

So I successfully ran the sample app for BOARD=qemu_cortex_m3 in Qemu with Zephyr v2.1.0.  Now I want to switch to my little embedded board supported by Zephyr.  So I was expecting
cmake -GNinja -DBOARD=frdm_k64f ..
ninja flash
to work.  But instead it fails like this:

dzu@krikkit:/opt/src/git/zephyr-rust/samples/rust-app/build-arm (master)$ ninja flash
[1/164] Generating rust-app/Cargo.toml

crate_dir=/opt/src/git/zephyr-rust/samples/rust-app
outdir=/opt/src/git/zephyr-rust/samples/rust-app/build-arm/modules/zephyr-rust/rust-app
rm -rf /opt/src/git/zephyr-rust/samples/rust-app/build-arm/modules/zephyr-rust/rust-app
mkdir -p /opt/src/git/zephyr-rust/samples/rust-app/build-arm/modules/zephyr-rust/rust-app/src
echo extern crate app;
cat
[8/164] Building C object zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
FAILED: zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj
ccache /opt/zephyr-sdk-0.10.3/arm-zephyr-eabi/bin/arm-zephyr-eabi-gcc -DBUILD_VERSION=zephyr-v2.1.0 -DKERNEL -D_FORTIFY_SOURCE=2 -D__PROGRAM_START -D__ZEPHYR__=1 -I/opt/src/git/zephyrproject/zephyr/kernel/include -I/opt/src/git/zephyrproject/zephyr/arch/arm/include -I/opt/src/git/zephyrproject/zephyr/include -I/opt/src/git/zephyrproject/zephyr/include/drivers -Izephyr/include/generated -I/opt/src/git/zephyrproject/zephyr/soc/arm/nxp_kinetis/k6x -I/opt/src/git/zephyrproject/zephyr/ext/hal/cmsis/Core/Include -I/opt/src/git/zephyr-rust/uart-buffered/src -isystem /opt/src/git/zephyrproject/zephyr/lib/libc/minimal/include -isystem /opt/zephyr-sdk-0.10.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/include -isystem /opt/zephyr-sdk-0.10.3/arm-zephyr-eabi/bin/../lib/gcc/arm-zephyr-eabi/8.3.0/include-fixed -Os -imacros/opt/src/git/zephyr-rust/samples/rust-app/build-arm/zephyr/include/generated/autoconf.h -ffreestanding -fno-common -g -mthumb -mcpu=cortex-m4 -imacros/opt/src/git/zephyrproject/zephyr/include/toolchain/zephyr_stdint.h -Wall -Wformat -Wformat-security -Wno-format-zero-length -Wno-main -Wno-pointer-sign -Wpointer-arith -Wno-unused-but-set-variable -Werror=implicit-int -fno-asynchronous-unwind-tables -fno-pie -fno-pic -fno-strict-overflow -fno-reorder-functions -fno-defer-pop -fmacro-prefix-map=/opt/src/git/zephyr-rust/samples/rust-app=CMAKE_SOURCE_DIR -fmacro-prefix-map=/opt/src/git/zephyrproject/zephyr=ZEPHYR_BASE -fmacro-prefix-map=/opt/src/git/zephyrproject=WEST_TOPDIR -ffunction-sections -fdata-sections -mabi=aapcs -march=armv7e-m -std=c99 -nostdinc -MD -MT zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj -MF zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj.d -o zephyr/CMakeFiles/offsets.dir/arch/arm/core/offsets/offsets.c.obj   -c /opt/src/git/zephyrproject/zephyr/arch/arm/core/offsets/offsets.c
In file included from /opt/src/git/zephyrproject/zephyr/include/arch/arm/cortex_m/cmsis.h:17,
from /opt/src/git/zephyrproject/zephyr/include/arch/arm/syscall.h:29,
from /opt/src/git/zephyrproject/zephyr/include/arch/syscall.h:15,
from /opt/src/git/zephyrproject/zephyr/include/syscall.h:12,
from /opt/src/git/zephyrproject/zephyr/include/kernel_includes.h:32,
from /opt/src/git/zephyrproject/zephyr/include/kernel.h:17,
from /opt/src/git/zephyrproject/zephyr/arch/arm/core/offsets/offsets.c:25:
/opt/src/git/zephyrproject/zephyr/soc/arm/nxp_kinetis/k6x/soc.h:32:10: fatal error: fsl_common.h: No such file or directory
#include <fsl_common.h>
^~~~~~~~~~~~~~
compilation terminated.

Is this expected to work and if yes, how can I fix it?
Thanks in advance
Detlev

My guess is you need to run west update to get the BSP dependencies. The build instructions here need to be updated to use west, following the general steps from the quick start.
There are no special commands for the zephyr-rust build procedure, other than adding this repo to ZEPHYR_MODULES in the project's cmake file, so you'd probably get the same problem building zephyr proper. Could try that as a baseline.

FWIW, I'm getting similar when I try to build zephyr-rust for any real targets. (can't find nrfx.h for Nordic targets, and fsl_common.h for NXP targets). Non-rust application builds work fine.

Update: I was able to fix this error by changing CMakeLists.txt to add ${ZEPHYR_RUST} to the ZEPHYR_EXTRA_MODULES list instead of ZEPHYR_MODULES

ZEPHYR_EXTRA_MODULES should be used when the intention is to add an extra module to those already found by west.

The build system variable ZEPHYR_MODULES is a CMake list of absolute paths to the directories containing Zephyr modules. [...]
If you have west installed, you don’t need to worry about how this variable is defined unless you are adding a new module. The build system knows how to use west to set ZEPHYR_MODULES. You can add additional modules to this list by setting the ZEPHYR_EXTRA_MODULES CMake variable or by adding a ZEPHYR_EXTRA_MODULES line to .zephyrrc (See the section on Environment Variables for more details). This can be useful if you want to keep the list of modules found with west and also add your own.

I switched the samples to ZEPHYR_EXTRA_MODULES and that does indeed seem to fix the targets that use west modules. That driver example has been around for a while, not sure how I missed that, but thanks everyone!


fix: notifications

Notification events are broken. Probably by bumping the Electron version and not handling required changes.
window.Notification is not shared with BrowserWindow and preload if contextIsolation is set.

@exander77 true, good catch, thx for locating the reason, and thx for the PR. Copy-pastaing details from Electron 12 breaking changes:

Default Changed: contextIsolation defaults to true
In Electron 12, contextIsolation will be enabled by default. To restore the previous behavior, contextIsolation: false must be specified in WebPreferences.
We recommend having contextIsolation enabled for the security of your application.
Another implication is that require() cannot be used in the renderer process unless nodeIntegration is true and contextIsolation is false.
For more details see: https://github.com/electron/electron/issues/23506

I find the security drop acceptable and am happy merge this, as reverting the new Electron 12 isolation brings us to the previous level of security, and I don't have the time/will to keep the isolation and migrate to the newer better safer thing that Electron >= 12 wants. @TheCleric agreed?

@exander77 an aside: gentle with your communication style please, "bumping the Electron version and not handling required changes" is harsh.
We do look at breaking changes, but we're only humans and accidents happen. Nativefier is between a rock and a hard place: I personally no longer even use Nativefier, I maintain it minimally only to not ship something woefully insecure, and Adam's bandwidth is limited these days.
But standing still is not an option, because there's only one way in web land: forwards; not doing major Electron bumps would keep users insecure. And so, we do them. But by doing them, because it's only the two of us with limited usage / motivation and because we don't have an army of testers, we sometimes miss on stuff and regressions happen. On that note, if you have the time, tests for https://github.com/nativefier/nativefier/pull/1288 welcome.


Support Android TV

I have a Nexus Player now -- and while I can install TEA on it, the result is not usable due to overscan.
Need to:
have a TV layout that avoids the overscan area
use large text by default
TV-compatible icon

Curiously the problem is identical on TF101 with the HDMI output ( minus the text size issue and icon).
Maybe the default setting for the font size could be infered from the system text size scaling ?

Made an experiment with my fork, which add margins to the TermViewFlipper, but not the whole view.
I try adding some android TV detection to set the preference by default, but could not test as I do not own such device.

Testing the HDMI output, the margins are ok, but yes the fontsm size are quite small. And the emulator view seems to ignore the margins, making the the overflowing on the right an bottom.

dvhh -- you can test using the Android emulator. There is an "Android TV" emulator.
I don't think your approach is the right approach -- the proper thing to do is to use a different layout, with a different UI, that's designed for TV.
https://developer.android.com/training/tv/start/layouts.html
I'm going to back out your patch because it doesn't work right.

I understand, but I also wanted to solve quite the same clipping issue when outputing on hdmi, for various devices, which it solve. You can rollback if you so desire.

Closing because I've decided to stop working on TEA, so this bug won't be fixed.


Roblox Crashing When Window Minimized

everytime i minimize a window to do something else, like watch yt or look something up, my roblox crashes.... any fixes?

also it crashes when i close roblox too

Take a look at the Wiki first before opening an issue. https://github.com/pizzaboxer/bloxstrap/wiki/Information-on-Roblox-crashes


Add preferred browser support

Workaround for https://identitydivision.visualstudio.com/Engineering/_workitems/edit/2314902
If "preferred_browser" is set (in MSAL configuration), then MSAL and Broker (for Intune COBO/CloutExt only) will use that browser if it's installed and the package condition matches.
Otherwise, It will fall back to the existing behavior.
i.e. Opera will be used regardless of what default browser is if the following configuration is used
{
  "client_id" : "XXXXXXXX",
  "authorization_user_agent" : "BROWSER",
  "redirect_uri" : "msauth://XXXXXXXX/YYYYYYYYYYYYYYYYYY",
  "authorities" : [
    {
      "type": "AAD",
      "audience": {
        "type": "AzureADMultipleOrgs"
      }
    }
  ],
  "preferred_browser" : {
    "browser_package_name": "com.opera.browser",
    "browser_signature_hashes": [
      "FIJ3IIeqB7V0qHpRNEpYNkhEGA_eJaf7ntca-Oa_6Feev3UkgnpguTNV31JdAmpEFPGNPo0RHqdlU0k-3jWJWw=="
    ]
  }
}

Did manual test with MSAL + Broker. Added 2 unit tests.
Will ask for explicit sign off from Intune before merging in.

LGTM


Menu "Open Recent" doesn't show recent models

Describe the bug:

Menu "Open Recent" remains empty although I opened a model before. There is only an entry "Clear Menu".
Expected behaviour:

There should be an entry of the model that I opened last time.
Environment:

Version: <IP_ADDRESS>
Platform: Desktop App
OS: Windows
Browser: N/A

To Reproduce:

Open a model
Optionally save it
Close it, or close and reopen the application
Check the menu File -> Open Recent

Any additional context, screenshots, etc:

This has probably only been tested on Linux and MacOS

for reproducing this issue, do we have to join the threat dragon ?

@Suvendu-UI this is the desktop version running on Windows only - as far as I can tell

This issue is also for Linux as well as Windows, so the only platform it works for is MacOS

From the electron documentation Windows notes :
To use this feature on Windows, your application has to be registered as a handler of the file type of the document, otherwise the file won't appear in JumpList even after you have added it. You can find everything on registering your application in Application Registration.


logging MDC support for HttpRequests

Currently it's difficult to track properly everything in our logs since we are not using the MDC available with logback:
http://logback.qos.ch/manual/mdc.html
we should add support for it and log in it for the requests coming from the Front End Dashboard:

UserID
First name, last name
URI
source IP address
browser/use-agent

For non Front End system, they should be capturing:

URI
source IP of the system requesting the URI
any extra headers that will make sense to log in the context of the application

this mean we will have to customize the Pattern used to log - and we need to be sure that it will be properly pushed to our logstash system.

11/20/15, 10:41 AM Rick Hightower:
http://logback.qos.ch/manual/mdc.html
11/20/15, 10:51 AM Rick Hightower:
Adding MDC works.
{
  "_index": "logstash-2015.11.20",
  "_type": "logs",
  "_id": "AVEmOenSMINGGFsIeStl",
  "_score": null,
  "_source": {
    "@timestamp": "2015-11-20T18:48:27.487Z",
    "@version": 1,
    "message": "DO POST EVENT LIST 3c1fc24c-b760-4853-a8f0-58449e09d4b0<PHONE_NUMBER>854775797 count = 2 to calypso.dashboard.event.new",
    "logger_name": "com.redacted.redacted.push.SomeService",
    "thread_name": "QueueListener|Send Queue  /api/v1/ingestion",
    "level": "INFO",
    "level_value": 20000,
    "HOSTNAME": "Richards-MacBook-Pro-3.local",
    "uri": "/event",
    "application_name": "pushService",
    "availability_zone": "dev-box",
    "env": "other",
    "facing": "other",
    "host": "<IP_ADDRESS>"
  },
  "fields": {
    "@timestamp": [
<PHONE_NUMBER>487
    ]
  },
  "highlight": {
    "application_name": [
      "@kibana-highlighted-field@pushService@/kibana-highlighted-field@"
    ],
    "level": [
      "@kibana-highlighted-field@INFO@/kibana-highlighted-field@"
    ]
  },
  "sort": [
<PHONE_NUMBER>487
  ]
}

    @RequestMapping(value = "/event", method = RequestMethod.POST, code=HttpStatus.ACCEPTED)
    public void postEvent(final Callback<String> httpCallback,
                          @HeaderParam(value = "api-key", required = true)
                          final String apiKey,
                          final Event event) {

        MDC.put("uri", "/event");

The URI that I added shows up.
"uri": "/event",

@sailorgeoffrey @fadihub @revelfire
Check this out. I am going to build MDC into QBit.

working on MDC
want to brain storm a bit
first.. I was able to prove out that MDC works with Logstash.. with our current setup with no problem and no changes.
Next.. QBit supports AOP from day 1.
It is not a feature that gets used a lot but it is there.
(It gets  used internally to provide stats, etc.)
package io.advantageous.qbit.logging;

import io.advantageous.boon.core.Str;
import io.advantageous.qbit.http.request.HttpRequest;
import io.advantageous.qbit.message.MethodCall;
import io.advantageous.qbit.message.Response;
import io.advantageous.qbit.service.AfterMethodCall;
import io.advantageous.qbit.service.BeforeMethodCall;
import io.advantageous.qbit.util.MultiMap;
import org.slf4j.MDC;

import java.util.Collections;
import java.util.Set;

/**
 * Provides MDC support for QBit REST services.
 * Intercepts method calls to a service.
 * Looks at the originatingRequest to see if HTTP request is the originating request.
 * If an HTTP request is the originating request then we decorate the Log with
 * MDC fields.
 *
 * [http://logback.qos.ch/manual/mdc.html](Mapped Diagnostic Context)
 *
 * You can specify the headers that you want extracted and placed inside
 * the Mapped Diagnostic Context as well.
 *
 */
public class SetupMdcForHttpRequestBeforeMethodCall implements BeforeMethodCall, AfterMethodCall {

    /**
     * Holds the headers that we want to extract from the request.
     */
    private final Set<String> headersToAddToLoggingMappingDiagnosticsContext;

    /**
     * Construct a SetupMdcForHttpRequestBeforeMethodCall
     * @param headersToAddToLoggingMappingDiagnosticsContext headers to add to the Logging Mapping Diagnostics Context.
     */
    public SetupMdcForHttpRequestBeforeMethodCall(Set<String> headersToAddToLoggingMappingDiagnosticsContext) {
        this.headersToAddToLoggingMappingDiagnosticsContext =
                Collections.unmodifiableSet(headersToAddToLoggingMappingDiagnosticsContext);
    }

    /**
     * Gets called before a method gets invoked on a service.
     * This adds request URI, remote address and request headers of the HttpRequest if found.
     * @param methodCall methodCall
     * @return true to continue, always true.
     */
    @Override
    public boolean before(final MethodCall methodCall) {

        if (methodCall.originatingRequest() instanceof HttpRequest) {
            final HttpRequest httpRequest = ((HttpRequest) methodCall.originatingRequest());
            extractRequestInfoAndPutItIntoMappedDiagnosticContext(httpRequest);

        }
        return true;
    }

    /**
     * Gets called after a method completes invocation on a service.
     * Used to clear the logging Mapped Diagnostic Context.
     * @param call method call
     * @param response response from method
     * @return always true
     */
    @Override
    public boolean after(final MethodCall call, final Response response) {
        MDC.clear();
        return true;
    }

    /**
     * Extract request data and put it into the logging Mapped Diagnostic Context.
     * @param httpRequest httpRequest
     */
    private void extractRequestInfoAndPutItIntoMappedDiagnosticContext(final HttpRequest httpRequest) {
        MDC.put("request.URI", httpRequest.getUri());
        MDC.put("request.remoteAddress", httpRequest.getRemoteAddress());
        MDC.put("request.httpMethod", httpRequest.getMethod());

        extractHeaders(httpRequest);

    }

    /**
     * Extract headersToAddToLoggingMappingDiagnosticsContext data and put them into the logging mapping diagnostics context.
     * @param httpRequest httpRequest
     */
    private void extractHeaders(final HttpRequest httpRequest) {
        if (headersToAddToLoggingMappingDiagnosticsContext.size() > 0) {
            final MultiMap<String, String> headers = httpRequest.getHeaders();
            headersToAddToLoggingMappingDiagnosticsContext.forEach(header -> {
                String value = headers.getFirst(header);
                if (!Str.isEmpty(value)) {
                    MDC.put("request.header." + header, value);
                }
            });
        }
    }

}

this part is somewhat easy. It is handing of the request to downstream services. So if your REST service calls another service, we need to somehow pass the request object to the downstream object. And I know how to do this. More to come
We need another AOP thingy to capture the http request per service queue.

Going to capture encoding of the call into a method via the proxies.
package io.advantageous.qbit.client;

import com.sun.tools.doclets.internal.toolkit.builders.MethodBuilder;

public interface BeforeMethodSent {

    default void beforeMethodSent(final MethodBuilder methodBuilder) {}
}

Ok so this is used to intercept calls to client proxies just before the method is built and sent to the serviceQueue.
This allows us to pass the original request to children, which the MDC populatore interceptor can use to populate the MDC
package io.advantageous.qbit.http.interceptor;

import io.advantageous.qbit.client.BeforeMethodSent;
import io.advantageous.qbit.message.MethodCallBuilder;
import io.advantageous.qbit.message.Request;
import io.advantageous.qbit.service.RequestContext;

import java.util.Optional;

/** This is used by proxies to find the parent request and forward it
 * to the service that the parent calls.
 */
public class ForwardCallMethodInterceptor implements BeforeMethodSent {

    /**
     * Holds the request context, which holds the active request.
     */
    private final RequestContext requestContext;

    /**
     *
     * @param requestContext request context
     */
    public ForwardCallMethodInterceptor(final RequestContext requestContext) {
        this.requestContext = requestContext;
    }

    /**
     * Intercept the call before it gets sent to the service queue.
     * @param methodBuilder methodBuilder
     */
    @Override
    public void beforeMethodSent(final MethodCallBuilder methodBuilder) {

        if (methodBuilder.getOriginatingRequest() == null) {
            final Optional<Request<Object>> request = requestContext.getRequest();
            if (request.isPresent()) {
                methodBuilder.setOriginatingRequest(request.get());
            }
        }
    }
}

Now the request/methodCall (an HttpRequest and a MethodCall both implement Request in QBit) complete chain is constructed if you use this interceptor.
package io.advantageous.qbit.http;

import io.advantageous.qbit.http.request.HttpRequest;
import io.advantageous.qbit.message.Request;
import io.advantageous.qbit.service.RequestContext;

import java.util.Optional;

public class HttpContext extends RequestContext {

    /** Grab the current http request.
     *
     * @return Optional http request.
     */
    public Optional<HttpRequest> getHttpRequest() {
        final Optional<Request<Object>> request = this.getRequest();
        if (request.isPresent()) {
            return findHttpRequest(request.get());
        } else {
            return Optional.empty();
        }
    }

    private Optional<HttpRequest> findHttpRequest(Request<Object> request) {

        if (request.originatingRequest() instanceof HttpRequest) {
            return Optional.of(((HttpRequest) request.originatingRequest()));
        } else if (request.originatingRequest()!=null) {
            return findHttpRequest(request.originatingRequest());
        } else {
            return Optional.empty();
        }
    }

}

This allows us to create the above which basically looks for the HttpRequest no matter how deep the call chain is (provided that you use the interceptors to find and populate the context and build the method calls correctly). The ManagedServiceBuilder will do this in the right order automatically (if enabled to do so, but it will be a simple enableCallChainTracking and enableCallMDC which will call enableCallChainTracking).

This MDC stuff is going to be sweet!
Not only can it track stuff in the original service that is exposed via Http/REST, but it can forward the context to other service calls. So a service call that calls a service that calls a service ad infinitum.. can get the originating URI, request headers, etc.

Ok search for
//TODO LEFT OFF HERE TESTING MDC
so far it all works.

We just need to finish the test and add some helper methods to ManagedServiceBuilder

Got MDC working for Rest service and bundle.
12:10:30.186 [QueueListener|Send Queue  /services/myService] INFO  i.a.q.e.mda.InternalServiceImpl - GET CallStack called

0:0:0:0:0:0:0:1:56473 - /rest/callstack/bundle - GET

The REST request gets passed to downstream services running in different threads too.


pom.xml in video, not in github

https://www.youtube.com/watch?v=rHq514-1aHM&t=27s

Thanks! I noticed that yesterday. The pom.xml was accidentally moved to the boundary package. See older commits.


Anticipating Slow Compile Times

Hi there!
Very excited to see this package. Adding tailwind to a new rails project is one of the first things I do.
Locally, I've noticed that that a trivial change to application.js (or one of its dependencies) results in slow compile times:
[Webpacker] Compiling...
[Webpacker] Compiled all packs in /Users/evan/Projects/scratch-pad/TailwindTester/public/packs
[Webpacker] Hash: b937b4359523d601173a
Version: webpack 4.46.0
Time: 5188ms

This is on an M1 MBP.
This is a known issue for the interaction of postcss, web pack, and tailwind 2. While there are a few proposed work arounds on that issue, nothing seems super satisfactory.
Do you have any plans for addressing this? If so, I'd love to help in anyway. Right now I'm scratching my head on how to address it.

You can use the webpack dev server. I believe that'll be faster. But otherwise, no. Not within the scope of what this gem is capable of doing.
The asset path version doesn't suffer from this (because there's no JS compile times!), but that's of course a larger change to make.


Allow setting numberOfLines property on UILabel through NUI

Renderer
NUISetting (getInteger)
Converter (toInteger)
Tests
readme

Build failed due to FBSOpenApplicationErrorDomain error 4 on iPhone 6s+.
I think it should be ok to test again, but I don't know how to trigger build manually

Looks like the contents from your other pull request snuck into this one when you merged back into master. If you can re-issue this pull request on a separate branch just like you did for PRUITextFieldKeyboardAppearance, that would be great!
Regarding rerunning a test build. I don't believe you can from the web console, only collaborators are able to. However, submitting a new commit will automatically trigger a new build as well.

Will re-open from separate branch


Add the argument --results so it transforms yolo result format to coco result format

It now can be used to transform results format too (saves confidence)

@andresinsitu
Thanks for implementing this handy feature! :smile:


Fix densenet models: pass kwargs

densenet121  and other functions in densenet module accept **kwargs, but they are not passed to DenseNet class, unlike for other models (for example vgg and resnet). They are useful to define e.g. num_classes different from default ImageNet value.

thanks!


Win10: extracted files require admin rights to delete the file

Hi,
I have gow (https://github.com/bmatzelle/gow - Gnu on Windows) installed on my win10 laptop to leverage most of the (linux) gnu utils on the cmd commandline. I used tar -czvf data.tar.gz test*.* to create a small archiv with 3 files. tar -tzvf ...  gives the following output:
C:\source_code\julia\...\archives>tar -tzvf data.tar.gz
-rw-rw-rw-  0 0      0         475 Nov 05 19:17 ./test_1.dat
-rw-rw-rw-  0 0      0         155 Nov 05 19:17 ./test_2.dat
-rw-rw-rw-  0 0      0         156 Nov 05 19:17 ./test_3.dat

I can export it like this:
function untar(data::IO, exdir::String)
    if isdir(exdir) == false mkdir(exdir) end
    tar = GzipDecompressorStream(data)
    Tar.extract(tar, exdir; copy_symlinks=true)
    close(tar)
end

and the files are created with the correct content. But in order to delete the files again, I need windows admin rights. And the julia traceback when trying to delete the file is
Got exception outside of a @test
  IOError: unlink: permission denied (EACCES)
  Stacktrace:
   [1] uv_error at .\libuv.jl:97 [inlined]
   [2] unlink(::String) at .\file.jl:918
   [3] rm(::String; force::Bool, recursive::Bool) at .\file.jl:268
   [4] rm(::String; force::Bool, recursive::Bool) at .\file.jl:278

Looking at the windows file properties, "Read", "Write" and "Special" are enabled. Which kind of matches the permissions in the tar file. Whereas manually creating files usually inherits the rights ("Modify" and "Read & Execute").
Am I somehow able to prevent Tar from changing the permission (skip that step)?  Or change them while reading the data and before changing the files' permission?
I'm using:
[[Tar]]
deps = ["ArgTools", "SHA"]
git-tree-sha1 = "c4b3a3a28f72ce90866d8a0fce2c61b201d1b693"
uuid = "a4e569a6-e804-4fa4-b0f3-eef7a1d5b13e"
version = "1.9.0"

with Julia version 1.5.3  (Win10).
thanks a lot for your help

@staticfloat, any thoughts on this? Since this is happening on 1.5.3, it seems like this isn't due to the 1.6 changes. On the flip side, is this fixed on 1.6?

@jdonnerstag can you try with Julia v1.5.4? or Julia v1.6?  I think this may have already been fixed in both of those.


useDirectusAuth creates warning when used in middleware

When using useDirectusAuth() in a midleware, nuxt warns about the usage of useRoute in a middleware.
As the route is only needed for the loginWithProvider() function, I'd suggest to move the const route = useRoute() into the desired function.
https://github.com/Intevel/nuxt-directus/blob/126e7d1ac579f6c7fc954eaf7d74ed4de68a5311/src/runtime/composables/useDirectusAuth.ts#L24
Version
nuxt-directus 5.4.4
nuxt: 3.6.1
Reproduction Link
Steps to reproduce

Use useDirectusAuth  auth in a middleware

What is Expected?

No warning

What is actually happening?
Nuxt throws a warning:

[nuxt] Calling useRoute within middleware may lead to misleading results. Instead, use the (to, from) arguments passed to the middleware to access the new and old routes.

Fixed in newest Commit


Not seeing any Ecowitt accessories in HomeKit ?

I have just recently ventured into the Ecowitt environment , I have the GW1200 hub and have a number of the soil moisture sensors - WH51 and a rain gauge WH40. Did  the configuration on the WSView app, can see the sensors in the app ok, and they are reporting data fine in the WSView app, but cannot see any sensors in Homekit? In the Homekit settings - Home Hubs & Bridges I can see the Ecowitt GW1200 hub - all good.  But No sensors show in Homekit!!?  If I use the EVE app and go to Accessories I can see the GW1200 hub there OK, but when  I go into the hub under Bridged Accessories It says - NONE.
In Homebridge (running on Synology), looking at the Accessories tab I see no Ecowitt accessories at all.
I have a fixed IP address for the hub, on port 8081 and Path = /data/report.
Hoping someone can advise where I am going wrong here??
[12/23/2024, 3:05:32 AM] [Ecowitt] Listening for data reports on 8081 /data/report
[12/23/2024, 3:25:28 AM] [Ecowitt] Restarting child bridge...
[12/23/2024, 3:25:28 AM] Got SIGTERM, shutting down child bridge process...
[12/23/2024, 3:25:33 AM] [Ecowitt] Child bridge process ended
[12/23/2024, 3:25:33 AM] [Ecowitt] Process Ended. Code: 143, Signal: null
[12/23/2024, 3:25:40 AM] [Ecowitt] Restarting Process...
[12/23/2024, 3:25:43 AM] [Ecowitt] Launched child bridge with PID 1221
[12/23/2024, 3:25:43 AM] The plugin "homebridge-ecowitt-weather-sensors" requires Node.js version of ^18.20.4 || ^20.16.0 || ^22.5.1 which does not satisfy the current Node.js version of v20.9.0. You may need to upgrade your installation of Node.js - see https://homebridge.io/w/JTKEF
[12/23/2024, 3:25:47 AM] Registering platform 'homebridge-ecowitt-weather-sensors.Ecowitt'
[12/23/2024, 3:25:47 AM] [Ecowitt] Loaded homebridge-ecowitt-weather-sensors v2.5.1 child bridge successfully
[12/23/2024, 3:25:47 AM] Loaded 0 cached accessories from cachedAccessories.0EE1E6EA7EC5.
[12/23/2024, 3:25:48 AM] Homebridge v1.8.5 (HAP v0.12.3) (Ecowitt) is running on port 36891.
[12/23/2024, 3:25:48 AM]

Hi @NiftyMac.  Thanks for reaching out.  I'm happy to help troubleshoot.
Based on those logs that you shared, it appears that the plugin continues to crash and restart the child bridge?  Or are there more startup logs for the plugin that you can share?
Would you be able to put the plugin in debug mode - instructions here and provide the data report?

Hello, thank you for your quick response, much appreciated.
I put Homebridge into Debug mode, and restarted Homebridge
With my limited knowledge of this , to me it does not seem to be logging any data reports to Homebridge??
I have just copied everything here to do with the Ecowitt after the restart of Homebridge. But could not see any reports in the logs .?
It is logging data to the WSView app.
[12/23/2024, 5:56:40 AM] [Ecowitt] Plugin config
{
"name": "Ecowitt",
"baseStation": {
"mac": "E4:B0:63:17:50:08",
"port": 8081,
"path": "/data/report"
},
"additional": {
"staticNames": "true",
"validateMac": "true",
"luxFactor": 126.7,
"acceptAnyPath": "false",
"validateTimestamp": "true",
"removeStaleDevices": "true"
},
"thresholds": {
"windSpeed": 0,
"rainRate": 14,
"rainEventTotal": 20,
"rainDailyTotal": 21,
"rainWeeklyTotal": 10,
"rainMonthlyTotal": 20
},
"hidden": {
"WH40": false,
"WH51": false
},
"units": {
"wind": "kph",
"rain": "mm",
"distance": "km",
"temperature": "ce"
},
"platform": "Ecowitt"
}
[12/23/2024, 5:56:40 AM] [Ecowitt] Creating data report service on 8081 /data/report
[12/23/2024, 5:56:40 AM] Publishing bridge accessory (name: Ecowitt, publishInfo: {
username: '0E:E1:E6:EA:7E:C5',
port: 36891,
pincode: '--**',
category: 2,
bind: undefined,
mdns: undefined,
addIdentifyingMaterial: true,
advertiser: 'ciao'
}).
[12/23/2024, 5:56:40 AM] Homebridge v1.8.5 (HAP v0.12.3) (Ecowitt) is running on port 36891.
[12/23/2024, 5:56:40 AM]
NOTICE TO USERS AND PLUGIN DEVELOPERS

Homebridge 2.0 is on the way and brings some breaking changes to existing plugins.
Please visit the following link to learn more about the changes and how to prepare:
https://github.com/homebridge/homebridge/wiki/Updating-To-Homebridge-v2.0

[12/23/2024, 5:56:40 AM] [Ecowitt] Listening for data reports on 8081 /data/report
[12/23/2024, 5:56:40 AM] [Ecowitt] Finished initializing plugin

In debug mode the plugin should log the full data report every time it's received.  If the data report is not showing in the logs, it's likely an issue with the homebridge plugin receiving the data report from the Ecowitt hub (or with the hub sending it).  Would you be able to provide a screenshot of your Ecowitt custom weather service?  Should look something like this - https://github.com/rhockenbury/homebridge-ecowitt-weather-sensors/blob/master/docs/assets/webui-config.png.

Ok, here is the screen shot of the custom weather service settings.

I think I may have resolved the data reporting issue !!  The only thing I did was go into Homebridge Network settings and Tick the Ethernet port option, I don't believe I have ever had this ticked and all other Homebridge apps have worked fine.

But there does seem to be a error reporting for the WH40 rain gauge when it was updating that accessory, see logs here.
appreciate your help with all of these, think I am making progress.
[12/23/2024, 10:18:49 AM] [Ecowitt] Received request for POST /data/report/ from ::ffff:<IP_ADDRESS>
[12/23/2024, 10:18:49 AM] [Ecowitt] Recieved data report, if you are submitting a bug report copy and paste the full data report object
{
"PASSKEY": "B411D7A57F3AF740D35C148637EE36D7",
"stationtype": "GW1200C_V1.3.3",
"runtime": "6827",
"heap": "99140",
"dateutc": "2024-12-22 23:18:50",
"tempinf": "78.08",
"humidityin": "55",
"baromrelin": "29.149",
"baromabsin": "29.149",
"rainratein": "0.000",
"eventrainin": "0.000",
"hourlyrainin": "0.000",
"dailyrainin": "0.000",
"weeklyrainin": "0.043",
"monthlyrainin": "0.185",
"yearlyrainin": "0.185",
"totalrainin": "0.185",
"soilmoisture1": "0",
"soilad1": "61",
"soilmoisture2": "35",
"soilad2": "189",
"soilmoisture3": "0",
"soilad3": "53",
"wh40batt": "1.5",
"soilbatt1": "1.3",
"soilbatt2": "1.5",
"soilbatt3": "1.4",
"freq": "433M",
"model": "GW1200C",
"interval": "30"
}
[12/23/2024, 10:18:49 AM] [Ecowitt] Received new data report for 2024-12-22 23:18:50 UTC
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating sensor - type: GW1200
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating accessory 5008:GW1200
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating sensor - type: WH51 channel: 1
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating accessory 5008:WH51CH1
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating sensor - type: WH51 channel: 2
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating accessory 5008:WH51CH2
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating sensor - type: WH51 channel: 3
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating accessory 5008:WH51CH3
[12/23/2024, 10:18:49 AM] [Ecowitt] Updating sensor - type: WH40
[12/23/2024, 10:18:49 AM] [Ecowitt] An issue occured while updating sensor values for WH40. Update on 5008:WH40 requires data rainbatt,rainratein,eventrainin,hourlyrainin,dailyrainin,weeklyrainin,monthlyrainin,yearlyrainin. Please file a bug report if needed at https://bit.ly/3yklrWZ

Hi @NiftyMac.  Glad to hear it.  The issue with the WH40 is a known problem, see #44.  I'll have a fix for that out soon, probably after the holidays in early January.
In my set up, I don't have a network interface selected so I'm not entirely sure that's related.  One other thing you could try (if you wanted to experiment) is just putting the IP address <IP_ADDRESS> in the first field, the protocol (http://) and trailing slash should not be needed there, and then uncheck your network interface selection in Homebridge.  Of course, since it is working for you now, feel free to leave it as is.

I did go and uncheck network interface in Homebridge settings and everything is still all working OK.  AS bit of a mystery what fixed it then?  Moving on...  :-)
thank you again


Remove Duplicate Key in .clang-format

Description
Apparently, newer versions of clang-format throw and error when a key is provided twice in .clang-format. This removes the duplicate language specification.

🚀 [bumpr] Bumped! New version:v0.1.16 Changes:v0.1.15...v0.1.16


WASM - C# toolchain?

Hi, what is the state of C# -> WASM toolchain using Microsoft tools such as Visual Studio? Thanks.

Not aware of any plans for this functionality. (Marking as External because that would be owned by the C# team.)

@dilijev Yeah, and then C# team says it's not their problem and the LLVM team says it's not their problem either. It's not owned by anyone at Microsoft. Great, let's have the support anyway - maybe someone will actually use it one day.

Devil's advocate: Given the low-level nature of WASM/Asm.js it makes more sense to compile a non-managed and low-level language like C++ to those low-level representations than it does to compile a managed language like C# to those low-level targets (and Emscripten is quite good at what it does for C++).
Even if it were trivial to do, there's a lot of stuff in even a logically simple C# application that would bloat the code size and execution time.
If multiple compiler implementations are saying that it doesn't seem like a good thing to spend their time on, it is probably that they see there being little improvement for customers at the cost of a lot of developer time. It makes more sense to spend that time on features that have more impact per dev hour. The story may change if a lot of people start desiring this functionality, so it's good to make your desire known even if they reject the idea right now. If enough people are looking for that functionality then it will be a higher-value feature and you would be more likely to see an implementation.

@dsaf In the longer term, we are planning on adding support for managed languages by exposing GC primitives. C# is one of the languages that we will keep in mind when designing this feature. This is all out of scope for the wasm MVP.
Until then, I have seen some community effort into this, e.g. https://github.com/kg/ilwasm. So it is possible or even likely that the community will come up with a solution.

Thank you for explanation!
@dilijev it makes sense not to use JavaScript on server yet here we are with Node.js! If developers want to use C# to build mobile apps (Xamarin) they will most definitely want to use it for web - given "first-class citizen" experience - not transpilers-over-transpilers.
@MikeHolman

C# is one of the languages that we will keep in mind when designing this feature.

Yes, it's important that C# needs are well-represented in WASM committee.

So it is possible or even likely that the community will come up with a solution.

I doubt community can create a nice well-integrated toolchain as it requires full IDE control. Besides the community has a terrible continuity problem, so corporate backing (paid maintainers) is paramount.

FWIW, there is an issue tracking codegen for WASM in the CoreCLR project. But again, it is blocked on the CG figuring out the GC support story. https://github.com/dotnet/coreclr/issues/5303

I think that even a community implementation, with any problems it has, will speed adoption by corporate-backed efforts. This seems like overall a good thing to me.
@MikeHolman mentioned we're planning to add engine-side support for GC primitives so we can support managed languages. With that I think any potential work items on our end for this question are covered, so I'll plan to close this Question soon (I'll leave it open for a couple more days for additional comments).
Sounds like ILWASM is C# to WASM via .NET IR, which is the equivalent of the Emscripten approach for C++ to asm.js via LLVM IR.
So, it seems like the effort is underway along multiple avenues and I'm excited to hear this. Looking forward to it!

Here is the link in the Wasm project talking about the future plan to add support for GC objects: [https://github.com/WebAssembly/design/blob/master/GC.md].

@LouisLaf thanks, gives a hope for the future!

@LouisLaf I noticed that tooling is marked as high-priority after MVP and C# is mentioned there as well: https://github.com/WebAssembly/design/blob/master/Tooling.md

Xamarin team has a plan I think-
https://github.com/xamarin/WebSharp#future-work

Looks like this question is answered and there's no action to take on our end. Closing this issue.


Release cobigen-xmlplugin-v4.2.0

This issue has been automatically created. It serves as a container for all release related commits

Automatically processed.
The decisions taken by the developer and the context of the decisions throughout the script:

User confirmed that tests are running on CI and the build is not failing.
User confirmed that tests are running on CI and the build is not failing after pushing release changes to development branch.


WIP: Allow using custom libraries

This sets up some structure to allow using custom builds of p4est. I wanted to test this using a system provided version of p4est from the Debian repo. However, that one uses MPI and we will have to add all of the relevant MPI includes etc. Hence, I think we should join forces in adding MPI support (#6) and custom p4est builds.

~/.julia/dev/P4est$ JULIA_P4EST_INCLUDE="/usr/include" JULIA_P4EST_LIBRARY="/usr/lib/x86_64-linux-gnu/libp4est.so" julia<EMAIL_ADDRESS>
julia> import Pkg; Pkg.build("P4est")
   Building P4est → `~/.julia/dev/P4est/deps/build.log`
┌ Error: Error building `P4est`:
│ /usr/include/sc.h:84:10: fatal error: 'mpi.h' file not found
│ ERROR: LoadError: Errors encountered parsing headers, unable to proceed with conversion
│ Stacktrace:
│  [1] error(::String) at ./error.jl:33
│  [2] (::CBindingGen.var"#18#21"{var"#3#4",Array{String,1}})(::String) at ~/.julia/packages/CBindingGen/44XAK/src/CBindingGen.jl:192
│  [3] mktempdir(::CBindingGen.var"#18#21"{var"#3#4",Array{String,1}}, ::String; prefix::String) at ./file.jl:682
│  [4] mktempdir(::Function, ::String) at ./file.jl:680 (repeats 2 times)
│  [5] convert_headers(::Function, ::Array{String,1}; args::Array{String,1}) at ~/.julia/packages/CBindingGen/44XAK/src/CBindingGen.jl:168
│  [6] top-level scope at ~/.julia/dev/P4est/deps/build.jl:120
│  [7] include(::String) at ./client.jl:457
│  [8] top-level scope at none:5
│ in expression starting at ~/.julia/dev/P4est/deps/build.jl:120
│ Use custom p4est library /usr/lib/x86_64-linux-gnu/libp4est.so
│ Use custom p4est include path /usr/include
│ include_directories = ["/usr/include"]
│ include_args = ["-I", "/usr/include"]
└ @ Pkg.Operations /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v1.5/Pkg/src/Operations.jl:949

Thanks for getting the ball rolling here! Could you try it out with a custom p4est installation without MPI? This should get you up and running:
P4EST_TMP=~/code/p4est/tmp # modify path to your favorite location
mkdir -p $P4EST_TMP
cd $P4EST_TMP/
wget https://p4est.github.io/release/p4est-2.2.tar.gz
tar xf p4est-2.2.tar.gz
mkdir build
cd build/
$P4EST_TMP/p4est-2.2/configure --prefix=$P4EST_TMP/prefix
make -j 4
make install
ls -l $P4EST_TMP/prefix/lib/libp4est.so
# Test by running `$P4EST_TMP/prefix/bin/p4est_step1` (warning: will create some output files in the CWD)

Thanks for getting the ball rolling here! Could you try it out with a custom p4est installation without MPI? This should get you up and running:
P4EST_TMP=~/code/p4est/tmp # modify path to your favorite location
mkdir -p $P4EST_TMP
cd $P4EST_TMP/
wget https://p4est.github.io/release/p4est-2.2.tar.gz
tar xf p4est-2.2.tar.gz
mkdir build
cd build/
$P4EST_TMP/p4est-2.2/configure --prefix=$P4EST_TMP/prefix
make -j 4
make install
ls -l $P4EST_TMP/prefix/lib/libp4est.so
# Test by running `$P4EST_TMP/prefix/bin/p4est_step1` (warning: will create some output files in the CWD)

Thanks for that! Using that setup and some modifications that I've just pushed, I can build and test P4est successfully:
~/.julia/dev/P4est$ JULIA_P4EST_LIBRARY=~/.julia/dev/P4est/p4est_tmp/prefix/lib/libp4est-2.2.so  JULIA_P4EST_INCLUDE=~/.julia/dev/P4est/p4est_tmp/prefix/include/ julia<EMAIL_ADDRESS>
julia> import Pkg; Pkg.build("P4est")
   Building P4est → `~/.julia/dev/P4est/deps/build.log`

julia> Pkg.test("P4est")
...
Test Summary:  | Pass  Total
P4est.jl tests |    3      3
    Testing P4est tests passed

Codecov Report

Merging #9 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##            master        #9   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            1         1
  Lines            1         1
=========================================
  Hits             1         1

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 ee16309...6853f16. Read the comment docs.

We now have the additional option JULIA_P4EST_PATH and builds on Travis with both P4est_jll and a custom build of p4est.


sorting not working in reverse.

Have you tried latest version of polars?

[yes]

What version of polars are you using?
"nodejs-polars": "^0.15.0",
What operating system are you using polars on?
Windows 11
What node version are you using
Node.js v20.17.0
Describe your bug.
The sorting method does not sort in reverse. I found this on dataframes as well as with series like the ones in the documentation.
What are the steps to reproduce the behavior?
let fooSeries = pl.Series("foo", [4, 1, 2, 3])
const fooSeriesRev = fooSeries.sort({reverse: true})
fooSeries = fooSeries.sort({reverse: false})

console.log( fooSeries);
console.log( fooSeriesRev);

What is the actual behavior?
Series: 'foo' [f64]
[
        1.0
        2.0
        3.0
        4.0
]
shape: (4,)
Series: 'foo' [f64]
[
        1.0
        2.0
        3.0
        4.0
]

What is the expected behavior?
Sort the series in reverse.
Series: 'foo' [f64]
[
        1.0
        2.0
        3.0
        4.0
]
shape: (4,)
Series: 'foo' [f64]
[
        4.0
        3.0
        2.0
        1.0
]

temporary work around using  .mul(-1) to achieve reverse sorting.

Please use: const fooSeriesRev = fooSeries.sort({descending: true}); Thx

ok, thanks.
⚠reverse is all over the documentation though.


Add support for on-demand DynamoDB

Status:

[x] Read and write requests
[x] Data storage
[x] Continuous backup
[x] On-demand backup
[x] Restore from backup
[x] On-demand global tables
[x] DynamoDB Streams

Issues:

Fixes #83

Useful links:

Overview: https://aws.amazon.com/dynamodb/
Pricing: https://aws.amazon.com/dynamodb/pricing/on-demand/
Terraform: https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/dynamodb_table

@aliscott This PR is almost done, but I couldn't find anything related to data-transfre pricing in our pricing-api for DynamoDB. Could you also check it?

Thanks @sinabakh. I'd ignore data transfer costs just now - they are aggregated across different services, so it's a separate resource we'll somehow need to model and add support for.

@aliscott So I think it's ready for review.

@sinabakh this is awesome.
Given that we now have a "price" column, in addition to "cost" columns, we could show the price for PAY_PER_REQUEST dynamo tables, and leave the costs as blank. As a developer, I still find it valuable to see what has a price and what does not, and if I want, I could use the infracost terraform provider to add usage estimates to get cost estimates. It seems like some of the cost component names are similar to, e.g. Write capacity unit (WCU) vs Write request units, so the pricing is similar, it's just how the resources are "reserved" or "pre-provisioned". What do you think?

@alikhajeh1 I didn't exactly get what you mean by leaving the cost blank, the PAY_PER_REQUEST tables have cost and we calculate the price by using our own terraform plugin.

@alikhajeh1 I didn't exactly get what you mean by leaving the cost blank, the PAY_PER_REQUEST tables have cost and we calculate the price by using our own terraform plugin.

I'm probably missing something @sinabakh, can you please paste the output when the infracost terraform provider isn't used? I'm working on https://github.com/infracost/infracost/pull/113/files#diff-6a3371457528722a734f3c51d9238c13R15-R50 that should help clarify what can work nicely when adding new resources.
In my mind, the infracost terraform provider is still not validated with users and we don't know if developers will take the extra step of adding that to their terraform, so I want to ensure that going forward we show all price components regardless of that provider being used or not. Just seeing that something has a price has value, and that should continue to work even if we change strategy to do something else for usage-based costs.

@alikhajeh1 Oh I think I got what you mean,
currently with usage data with PAY_PER_REQUEST we got this:
  NAME                                                 MONTHLY QTY  UNIT         PRICE   HOURLY COST  MONTHLY COST

  aws_dynamodb_table.my_dynamodb_table
  ├─ Continuous backup (PITR) storage                         2300  GB-months    0.2000       0.6301      460.0000
  ├─ Data storage                                              230  GB-months    0.2500       0.0788       57.5000
  ├─ On-demand backup storage                                  460  GB-months    0.1000       0.0630       46.0000
  ├─ Read request unit (RRU)                               8000000  RRU-months    2e-07       0.0027        2.0000
  ├─ Restore data size                                         230  GB-months    0.1500       0.0473       34.5000
  ├─ Streams read request unit (sRRU)                      2000000  sRRU-months   2e-07       0.0005        0.4000
  ├─ Write request unit (WRU)                              3000000  WRU-months    1e-06       0.0051        3.7500
  ├─ Replicated write request unit (rWRU) (us-east-2)      3000000  rWRU-months   2e-06       0.0077        5.6250
  └─ Replicated write request unit (rWRU) (us-west-1)      3000000  rWRU-months   2e-06       0.0086        6.2739
  Total                                                                                0.8439      616.0489

  OVERALL TOTAL                                                                               0.8439      616.0489

And without usage data:
  NAME                                  MONTHLY QTY  UNIT  PRICE  HOURLY COST  MONTHLY COST

  aws_dynamodb_table.my_dynamodb_table
  Total                                                                0.0000        0.0000

  OVERALL TOTAL                                                        0.0000        0.0000

I think you mean we show costs for basic resources but with no price. Like read/write request units.

@sinabakh yep, I'll merge this as it predates https://github.com/infracost/infracost/blob/master/CONTRIBUTING.md and I'll add a ticket so we change it to always show the price, but only cost if the terraform provider is used.


implement incremental neighbors update

Codecov Report

Merging #271 (1b4f580) into master (2f34bcd) will decrease coverage by 0.07%.
The diff coverage is 66.66%.

@@            Coverage Diff             @@
##           master     #271      +/-   ##
==========================================
- Coverage   72.05%   71.98%   -0.08%
==========================================
  Files          42       42
  Lines        7690     7720      +30
==========================================
+ Hits         5541     5557      +16
- Misses       1604     1613       +9
- Partials      545      550       +5

Impacted Files
Coverage Δ

master/tasks.go
52.21% <62.50%> (+0.05%)
:arrow_up:

model/ranking/model.go
87.00% <100.00%> (ø)

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 2f34bcd...1b4f580. Read the comment docs.


Upgrade antlr4 to 4.9.3

Description
Upgrade antlr4 to 4.9.3 to fix incompatible warning:
ANTLR Tool version 4.8 used for code generation does not match the current runtime version 4.9.3

How was this patch tested?
Manual test.
Does this PR introduce any user-facing changes?
No.

cc @allisonport-db


Mount audit log file to disk

What this PR does / why we need it:
Audit logging in enabled by default in Kubernetes 1.8 and above, but you cannot get to the log file easy, because it is only accessible within the kube-apiserver container. This PR puts the file on the host instead.
Special notes for your reviewer:
The path of the audit log is changed, because I don't think it will be a good idea to mount the hosts /var/log to the container.
If applicable:

[ ] documentation
[ ] unit tests
[ ] tested backward compatibility (ie. deploy with previous version, upgrade with this branch)

Release note:

/assign @cecilerobertmichon

@CecileRobertMichon what do you think about this?


Caps Lock command does not work

Neither the alt + super or super + alt commands are working as caps lock on my Chromebook C13 Yoga with coreboot.

I remove caps lock as it caused issues when tty switching and it was an unpopular feature. In the future there will be a customization system to enable/disable it. For now you can revert the commit that removed it, then run the setup script again.


Its crashing when injecting it

If u can pls fix it

I'm so sorry but the development of this has been suspended since a few years back.
Not only the offsets are outdated, but all the code is outdated and they already have detection vectors on some method this cheat is using too. It was good old days. no longer now.


Include build number in generated files

PR to address #45, which I have opened some days ago.
This change creates a new container in the offsets file called game_info.
For now this container gets created when dwBuildNumber is being read, and is being populated with one entry.
Said entry is the build number, at the time of the dumping process.
If there will be any other "dump-time" variables added to the container in the future, the relevant code should probably be relocated.
Long story short, in the end it basically adds this to the offset files (Here in rust):
pub mod game_info { // Some additional information about the game at dump time
    pub const buildNumber: usize = 0x369F; // Game build number
}

Thanks for the PR. I'll merge this for now.
I think that separating this from the generated offset files would be better, however. One of the reasons is that depending on the file type, the value will be displayed in hexadecimal, which may not be ideal if you manually check the file for the build number.
Initially, I thought about postfixing each generated file name with the build number, but this would make parsing it difficult, which isn't ideal. Another approach is to generate a single text file called build.txt or similar, containing just the build number; it would be easy to parse and check manually. If there was a need to store other info collected at dump time like you mentioned, then a single JSON file may be better. I will reconsider this when I have some time again.
What are your thoughts on this?

I'm not sure about a singular build.txt file, I mean, it will work, but I personally like having the stuff compiled in, so no extra parsing is necessary.
My idea would be to create a new file`, and using different filebuilders, or modifying the existing ones to have a toggle for hexadecimal values. This would be a futureproof solution, for when new dump-time values get added. But to be honest, I don't know what else could be added?
I think I'll leave the decision up to you, it's your project after all 😆


The AppVeyor build status is succeeded, even if an error was thrown

Expected
The AppVeyor build status is failed, when an error occurs.
Actual
The AppVeyor builds are marked succeeded, even if an error appears in the output.
Few successful builds with an error:
https://ci.appveyor.com/project/TauriCode/psdt-visualstudio/build/1.0.1802.15014
https://ci.appveyor.com/project/TauriCode/psdt-visualstudio/build/1.0.1802.15013
https://ci.appveyor.com/project/TauriCode/psdt-visualstudio/build/1.0.1708.07010

#1


Cocoapods themes path

Fix theme loading for Cocoapods installations that have yet another path format.
Also public init(_ name: String) maybe better changed to an optional init?(...) as it is not guaranteed that any name will result in a Theme.

Sorry this took so long to pull in, @rivera-ernesto. Thank you!