Winelib DXVK crashing configators of bethesda games

Winelib DXVK crashing configators of bethesda games: Fallout 4, Skyrim SE (and probably D9VK oblivion, I'll test it now)
With Fallout New Vegas and F3 - everything OK.
STEPS TO REPRODUCE:
1.Have Mesa AMD RADV driver
2.Build wine with DXVK winelib
3.Start game launcher
4.Press SETTINGS
5.See: wine: Unhandled page fault on read access to 0x00000000 at address 0x14000c5c1 (thread 0035), starting debugger...
Problem on memory acces when app wants to get video capabilities from driver.
It's weird, because games itself works perfect.
On standalone DXVK this bug not appear.
Is it possible to fix it somehow or figure out with workarounds?

Probably some DLL load order issue. This is also why winelib builds aren't really supported, symlinking them to the DLL names is a dirty hack that doesn't always produce the desired results.
Please use the mingw builds instead.

Im using ASYNC flag in Tk-Glitch
So for that I need setup full mingw kitchen and build all components manually.
Force-disabled ASYNC flag does not hurt anybody, and everyone can turn it on in offline games on official builds.
I just cant understand, it's difficult to support that feature or what?..

I just cant understand, it's difficult to support that feature or what?..

I explained why this feature is not and will not be supported in DXVK in #1026. If you want to use it, fine, but don't expect me to provide any support for it.
wrt winelib not working, you could try setting d3d11.dll and dxgi.dll to builtin instead of native, since wine tends to treat the winelib .dll.so files as builtin. No gurantee that this will work though.


Update FilepickerWidget.tsx

Description
Made isLoading as a state variable and defined in the constructor. And it should be false inside handleFileUpload function whereas true inside onFileSelected in order to achieve proper flow and thus not creating a reported bug.
Fixes #949
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Same steps mentioned in the issue
Checklist:

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

This looks good. Can we also add a Cypress test for this functionality to ensure it does not break again?

This looks good. Can we also add a Cypress test for this functionality to ensure it does not break again?

Hey @hetunandu , could you please elaborate as i am not aware of cypress test term

Cypress is an E2E test suite used to automate ui testing.
We use this to write ui tests to ensure product quality is maintained. File for filepicker test is here
You can add an assertion to the test here for loading sign when this button is clicked

Cypress is an E2E test suite used to automate ui testing.
We use this to write ui tests to ensure product quality is maintained. File for filepicker test is here
You can add an assertion to the test here for loading sign when this button is clicked

Ohh , got it.. .But main concern is i am not much into testing , so is it mandatory or can be catered at your end ? I hope you understand my concern

Cypress is an E2E test suite used to automate ui testing.
We use this to write ui tests to ensure product quality is maintained. File for filepicker test is here
You can add an assertion to the test here for loading sign when this button is clicked

Ohh , got it.. .But main concern is i am not much into testing , so is it mandatory or can be catered at your end ? I hope you understand my concern

You should give it a try. Never too late to start learning something new 🙂

Cypress is an E2E test suite used to automate ui testing.
We use this to write ui tests to ensure product quality is maintained. File for filepicker test is here
You can add an assertion to the test here for loading sign when this button is clicked

Ohh , got it.. .But main concern is i am not much into testing , so is it mandatory or can be catered at your end ? I hope you understand my concern

You should give it a try. Never too late to start learning something new 🙂

hEY, @hetunandu i tried to understand already cypress test cases for file picker and button widget too but it seems quite unfeasible for me due to bandwidth issues also, but if you can guide to set up on my local(few commands to build and all) then i can test and verify that bug has been fixed.
Cheers

Sure @ng29 ! Please join our discord and ping me there and ill be happy to help you setup on local.

Closing since no activity seen in some while.


Test Docker Image with Phase I & II Work

As part of the Update the "First Install" to use Docker project, we will need to test the work done by @dipinhora on the docker-phase-i-ii branch on OSX, Linux, and Windows.
Phase I: Docker image that lets a user run all of the examples
Phase II: Docker image that lets a user run all of the examples and tweak them
We should be able to create the image and execute both Phase I and II. If any issues arise from testing, they should be added to the project.

Initial testing using the external Metrics UI is done, another round of testing will be done after adding in the Metrics UI.

Testee on OSX, Linux, and Windows using Docker image that includes the Metrics UI to avoid additional networking overhead.


780 | Reaching Points | C++

please assign this problem to me . I am the issue creator.
Adding new code
Type of Issue -
Please add/delete options that are not relevant.

[x] Adding New Code

Programming Language
Please add/delete options that are not relevant.

[x] C++

Self Check

Ask for issue assignment and wait to get assigned to it before making Pull Request.
Add your file in the proper folder
Clean Code and Documentation for better readability
Add Title and Description of the program in the file

:star2: Star it :fork_and_knife:Fork it :handshake: Contribute to it!
Discord server ✉ - https://discord.gg/CXksGdn
Happy Coding,

please assign this problem to me . I am the issue creator.

created a PR for this issue : https://github.com/SHY-Corp/LeetCode-Solutions/pull/342


Close #237

Add ability to set the responsiveWidth for all LeftResponsive-Behaviours.
The LeftResponsiveHybrid-Behaviours use responsiveWidthNarrow and responsiveWidthWide instead.
The specified width is always used as min-width, to avoid intersections.
Close #237

Did you run the UI tests against this branch?

I just let them run, but one of the tests seems to fail.
I have to recheck it tomorrow

@appreciated I just retryed the tests twice without errors, not sure what caused the error yesterday.
Should I merge this PR?


feat: Support for point particles

Up until now, all of this library's particle effects are based on instanced meshes. It would be good to implement an alternative that is purely gl.POINTS based, for situations where you really only need points of any size (or unscaled sprites.)

It should be relatively easy to setup from what I remember, I'm pretty sure we can do scaling with Three.POINT but I wont be 100% until we try...
Here's the official Points/Sprites Demo: and it seems they are scaling

And then I'm not sure if they are gl.POINT based underneath, but the vanilla Three.SPRITE seem to be scalable: https://threejs.org/examples/#webgl_spr

The only thing I'm unsure about is how this all plays together with using CSM to pass stuff around. Like I don't know if Sprites would be better with their own SpriteMaterial


OK

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

ID: 3d07a81d-cdaf-bafb-c1d5-aaf640d8de09
Version Independent ID: c674b276-f0cb-a5d6-3098-6a31c417f162
Content: OneDrive Controls for Developers - OneDrive dev center
Content Source: docs/controls/file-pickers/index.md
Product: onedrive
GitHub Login: @JeremyKelley
Microsoft Alias: JeremyKe

"c674b276-f0cb-a5d6-3098-6a31c417f162


Decouple Fullscreen logic of Core and MediaControl

Summary
OBS: Changes only for iOS.
At the moment the complexity of fullscreen logic is spread between Core and MediaControl.
When the option kFullscreenByApp: true means that the Clappr doesn't set the player to fullscreen when the user taps on the fullscreen button, instead it triggers an event to notify the desire of the user. Then the app takes the responsibility to put the player in the fullscreen mode.
The Core and MediaControl class hold the logic to know when its necessary to only trigger event, change the icon and change the layout state to embed or fullscreen.
Goal
Simplify and decouple the logic of fullscreen.
MediaControl
Media controls don't hold any logic of fullscreen controlled by the app.
When user taps on fullscreen button the MediaControl triggers the event:

userRequestExitFullscreen
userRequestEnterInFullscreen

When core triggers didExitFullscreen/didEnterFullscreen

Changes the icon to the respective state

Core
Now Core holds both logic of fullscreen: Controlled by App or by the Player.
How to test

Run all unit tests.
Run the Example app and check if the icon of fullscreen is being set correctly.
On ViewController.swift, append the option kFullscreen: true and check if the player starts in fullscreen mode.

@nabilsafatli reports:
Hey Cristian,
I guess something happened here when the fullscreen mode changes.

To repeat this scenario:
With the phone on portrait mode open the app and start with Full screen controlled by app and Start player as fullscreen off.
Press Play
Click on fullscreen
Change the phone to landscape ( in case of a simulator, press Command + <- )
Maybe this is because of the constraints on the Sample app, I am looking into the code to understand what may happened.

The issue discovered by @nabilsafatli will be fixed on a different PR.

 dsad


Configure export fields

Closes #237
This PR allows for specifying which fields in an item's deidUpload metadata are included in the export report. Fields to be included must be specified as a list in the girder config file, as the value of the upload_metadata_for_export_report property. The default fields match the default schema.

The same list occurs in the importReport function, so we should use the values there, too.


Insufficient Color Contrast in UI

Describe the problem
The user interface (UI) of the application exhibits insufficient color contrast in several key areas, making it challenging for users with visual impairments to navigate and interact with the application effectively.
This issue affects elements buttons where the contrast between text and background color is not meeting accessibility standards.
Example:

Describe the proposed solution
Possible solutions:

Adjust Existing Colors: Modify the color scheme to improve contrast without changing the overall design aesthetic.

Provide Accessibility Settings: Introduce settings that allow users to customize color contrast to their preferences. (not preferable)

Alternatives considered
No response
Importance
i cannot use ICT Methods without it
Additional Information
https://www.w3.org/WAI/WCAG21/Understanding/contrast-minimum.html
https://chrome.google.com/webstore/detail/axe-devtools-web-accessib/lhdoppojpmngadmnindnejefpokejbdd

+1

Thanks for mentioning it. I have removed the category-based colors for the time being, because when changing the contrast, the colors no longer correspond to the colors in the card pack. Will discuss a possible solution with HBO I

We have considered the proposal. Category based colors have been removed from the navigational components. On the actual cards, the colors are mainly for decorative purposes. @RoelLeijser If you still experience issues, please contact us.


fix: electra fork typerebase - DONOTMERGE

PR to check CI on the rebased electra branch on type refactor
To supersede electra-fork once CI passes

closing branch as promoted to electra-fork


Authorization policy impacting TCP traffic.

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities/
To ask questions about how to use Istio, please visit https://discuss.istio.io
)
Bug description
I have an authorization policy attempting to block traffic on a specific path and coming with a specific user-agent header.
See the configuration below.
When this policy is applied, it also blocks all non HTTP traffic in my cluster. It seems like it's trying to apply the policy to the TCP traffic but since it can't figure out the path or the header, it just defaults to DENY.
---
apiVersion: security.istio.io/v1beta1
kind: AuthorizationPolicy
metadata:
  name:useragent-filter
  namespace: istio-system
spec:
  action: DENY
  rules:
  - when:
    - key: request.headers[User-Agent]
      values: ["User-Agent: redacted"]
    to:
    - operation:
        paths:
        - /path/*

Our current fix is to make this policy more scoped by also targeting a port in the operation field. I was assuming that by having the path and the header, it would make this policy apply to HTTP traffic only. I didn't find any other way to configure a policy so that it would only apply to a specific protocol (HTTP in that case).
I wasn't sure if it was the intended design for authorization policy or if it is actually a bug..
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[x] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Affected features (please put an X in all that apply)
[ ] Multi Cluster
[ ] Virtual Machine
[ ] Multi Control Plane
Expected behavior
Authorization policies applying to path or header should only apply to HTTP traffic or Authorization policies should have a way to specify which protocol they apply to.
Steps to reproduce the bug

Create a DENY policy on a specific path + request header.
Try accessing any non http service.

Version (include the output of istioctl version --remote and kubectl version and helm version if you used Helm)
istio: 1.6.2
kubernetes (eks): 1.16
helm: 3.2.4
How was Istio installed?
We are using the istio operator.
Environment where bug was observed (cloud vendor, OS, etc)
amazon eks.
Additionally, please consider attaching a cluster state archive by attaching
the dump file to this issue.

@yangminzhu  can you take a look?
This AuthorizationPolicy is applied globally in the mesh. If there are TCP workloads, they will be impacted too. Although this is expected behavior, I can see the confusion in this use case. Probably we can add "protocol" as one of the conditions? But I am not sure how it interacts with protocol sniffing.

@kuuji Thanks for the report, this is the expected behavior and it's totally correct to "fix" this by explicitly specifying the port number in the DENY policy. Also see https://istio.io/latest/docs/tasks/security/authorization/authz-tcp/#configure-access-control-for-a-tcp-workload for a task in this case.

Probably we can add "protocol" as one of the conditions? But I am not sure how it interacts with protocol sniffing.
@liminw  yes, this is also possible, but need some investigations.

No problem @yangminzhu . It makes sense.
I think having the protocol as one of the condition would be great. Because I can't always predict the port that is going to be used and I can see some use cases where you would want a policy to apply to all HTTP workload.
I can create a feature request for this if you want. Unless we want to turn this issue into a feature request.

Thanks @kuuji , your example and the use case is well written and I think we can just turn this into a feature request (some small updates to the title and the content should be good enough).

Seems like a doc follow up edit would be sufficient. Not sure if "protocol support" is something we will add for next version's authz API


Fixed #34017 -- Doc'd that Argon2id variant is used by Argon2PasswordHasher.

@ritiksoni00 Thanks for this patch :+1: Welcome aboard :boat:

one thing I will ask. when I tried to run the test on Codespace but it was failing some tests and   giving me some errors
test_cache_dir_permissions (cache.tests.FileBasedCachePathLibTests) failed:
    AssertionError('494 != 448')

File "/usr/local/python/3.10.7/lib/python3.10/site-packages/django/test/runner.py", line 181, in _confirm_picklable
    pickle.loads(pickle.dumps(obj))
TypeError: cannot pickle 'traceback' object

one thing I will ask. when I tried to run the test on Codespace but it was failing some tests and giving me some errors
test_cache_dir_permissions (cache.tests.FileBasedCachePathLibTests) failed:
    AssertionError('494 != 448')

It seems that test_cache_dir_permissions doesn't handle specific permissions set on Codespace. Feel-free to fix this in a separate cleanup.


Crashing if game path is no longer valid

If you run PV and load your game files, then close it and delete the game folder, revert to a packed copy of the game, etc, PV will then crash on startup.
Resolved by deleting the config file, but not ideal.

keeeeeeeeek


Log reg multinomial

Here is the link for our project: Website

Project manager
Technical writer
Author of executable content
Designer of interactive plots
Designer of quizzes

Maidan Sanzhar
Almenov Madiyar
Bekezhan Nurlan
Salim Togzhan
Abdulla Aigerim

Online version doesn't work (браузер виснет)


Check Gateway API Admission Availability

EG should check the presence and availability of the Gateway API bundle, e.g. CRDs, webhook server, etc. resources during startup.

Check the status of deploy/gateway-api-admission-server -n gateway-system.
Check the status of svc/gateway-api-admission-server -n gateway-system.
Check for Gateway API RBAC
Check that CRDs are installed with the supported versions.
etc.

Should EG periodically check for the presence of these resources too?

xref: https://github.com/envoyproxy/gateway/issues/384
cc: @BLasan

@Xunzhuo is this something that can be baked into helm ?

closing this issue for now since we no longer install the admission server and webhook


Does PinPoint work with the Java daemon?

Pinpoint has been successfully integrated with the Tomcat service.
This time I want to integrate Pinpoint with a running daemon using the main method of pure Java on the server.
However, the span data does not appear on the graph.
Are there any settings that need to be added more than WAS integration settings?

https://github.com/naver/pinpoint/blob/master/agent/src/main/resources/profiles/release/pinpoint-env.config#L210
profiler.entrypoint=${java_demon_entrpypoint}
Would you like to try this option?

Thank you.
The problem was solved in the way you said.


SCP-2638: simplify datatypes which are used only at the type-level

I got annoyed with what I was doing and I wanted to polish off something where I knew what to do, so I did this. cc @kk-hainq also.

Change dependency analysis to account for the fact that the
term-level parts can be removed (see note).
Simplify datatype bindings into trivial type bindings if all their
term-level parts are dead.

Had to do a bit of test rearrangement since a lot of the
plutus-tx-plugin tests for a type T just used a lambda with an unused
argument of type T... which gets simplified with this PR!
Fixes #4147.
Fixes #3702.

Pre-submit checklist:

Branch

[x] Tests are provided (if possible)
[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[ ] (For external contributions) Corresponding issue exists and is linked in the description
[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

You got the wrong issue number again!
Anyhow, looks like something I should have done given your past suggestions, cannot wait to get back on track with these works soon :+1:.

Hydra is being weird, this passed fine.

I noticed that some of the golden files are longer, not shorter. I thought the goal is to remove more dead code?

That's because I changed the inputs! As I alluded to in the PR description, I had to change a few tests to avoid the new optimization removing stuff that the test actually cared about!


MNT: rerender

Hi! This is the friendly automated conda-forge-webservice.
I've started rerendering the recipe as instructed in #49.
If I find any needed changes to the recipe, I'll push them to this PR shortly. Thank you for waiting!
Here's a checklist to do before merging.

[ ] Bump the build number if needed.

Fixes #49

Didn't we mark 12 broken for some reason?

OK Weird. I have no idea why the rerender added new builds here but ok.


When a task fails and doesn't throw an exception, report it correctly…

Noticed when running in MM-less mode, that when a task failed and then the runTask() method would swallow the exception.  Thus it was reported as a success when it had in fact failed.  This fixes that issue.

Thanks for the fix, @churromorales !
Taking a look at the original changes, I wonder if we need the UpdateStatusAction. It is invoked only when the task has finished, either successfully or not, and it leads to the triggering of the registered TaskRunnerListeners.
Rather than creating a new task action, I think it would be cleaner to just update it inside KubernetesTaskRunner, which already seems to be happening. This would also help us get rid of the TaskRunner.updateStatus() which really seems to be in contradiction with the TaskRunner API. We shouldn't have to tell the TaskRunner of the status of the task since it returns the status of the task itself in ListenableFuture<TaskStatus> run(Task task).
Does triggering the action from AbstractTask satisfy a specific corner case which is not covered by the KubernetesTaskRunner?

@kfaraz great question.  Originally that was the design, but when testing it in reality I encountered quite a few problems doing it this way.  I had a comment in the original PR describing why I chose to go with handling it in the AbstractTask:
https://github.com/apache/druid/pull/13156#issuecomment-1278289541
Let me know if you still have questions.
Thank you

@kfaraz I was wondering if you were okay with the response.
TLDR:
When a k8s task completes, we monitor the job's exit code to see if we were successful or not.  The KubernetesTaskRunner does this as a fallback in case the peon's message didn't arrive back to the overlord properly.
But the real issue is that the time between when the java (peon) process terminates, and the pod gracefully shuts down (which usually has some terminiation grace period for a preStop hook to execute) to when the job is marked as success or failure is not trivial in many situations.  And if these tasks are holding locks, then we are holding locks for longer than we should.  Let me know if you have any further questions on this approach.

the task runner before was forking the task but on the same host.  Now you don't have that luxury, you had all the info on your local filesystem and control of the process, now you don't have that luxury anymore.

🙏

Thanks for the clarification, @churromorales !
Sorry, I was out last week and couldn't respond sooner.


Transaction support?

BEGIN;

SELECT * from pgmq_send('my_queue', '{"foo": "bar1"}');

ROLLBACK;

Will message exists in queue in this case? ☝

This is definitely something we want to support and have well tested though. Thank you for bringing it up @darky!

Closing this in favor of #130. If you think additional tests should be made, we can discuss that


Include article content in feed

Hi Mätthu
Thanks for creating this repo :)
I added support for article content in feeds in my fork.
If you are interested I can clean the code up and create a PR.
So far I tested it manually on recent articles.
It looks Republik is using https://github.com/syntax-tree/mdast so I created a simple converter to html.
Here is an example how it looks in my RSS reader:

Original article: https://www.republik.ch/2024/09/18/am-gericht-hopfen-und-malz-verloren
To not violate Republik's intellectual property it may be necessary to add authentication to the feed.
Or a clear note to not share this feed publicly.
Cheers,
Ali

Lovely, thank you very much :slightly_smiling_face: I'm rather busy at the moment, so it will probably take a while until I can look at and merge it, but it's a very nice addition indeed, very much appreciated :pray:


pub build not copying over .dart files into build ?

I wanted to use pub build to prep my client app to be served by a static web server. It appears that pub build does not copy over .dart files into build/  In my case, I wanted to serve those files as downloadable assets. That is, I wanted to link to the .dart files for users.
Did I break something or is pub build not moving .dart files over to build/ by design?

This issue has been moved to dart-lang/pub#797.


websocket setup on apache

How do i set my .htaccess for the webscoket to work properly in apache?

I played with this some 2 year ago.
Here is a guide I wrote for myself to make websockets run on the same domain / vhost as the project.
Hope it helps you :)


saving snapshot should not block raftNode loop

v3 snapshot saving already does not blocking raft at all. The actual saving happens in a goroutine in rafthttp library(https://github.com/coreos/etcd/blob/master/rafthttp/http.go#L173-L179). And that routine send the raft.MsgSnap to raft. Now we only need to make sure the snapshot recovery does not block raft/etcdserver loop.
Moreover, we assume v2 snapshot is small so it does not matter a lot although it still blocks.


On the circuit convert from qiskit to quri

Dear quri-parts developers.
We would like to use Quri to create a UCC circuit in Qiskit and convert it to a circuit to quri. quri-parts-qiskit seems to be compatible with version 0.39.5 of qiskit, but the version of Qiskit is old and it seems  that we cannot use the library Qiskit-Nature which contains the UCC method. Are there any plans to support the current version of Qiskit? Also, how can quri be used for quantum circuits for the UCC method?
Sincerely, Yukihiro Okuno.

Thank you for pointing out the issue about Qiskit version, we will check if we can support newer Qiskit.
For your information, the latest quri-parts-openfermion contains some variations of UCC ansatz: https://quri-parts.qunasys.com/quri_parts/openfermion/quri_parts.openfermion.ansatz.html
We are also working on adding tutorials for these chemistry-related modules.

Thank you for your suggestion. I could not find UCC ansatz in quri-parts-openfermion. I will try openfermion UCC circuit.
Sincerely.
Yukihiro Okuno.


Osei-b4 : Asynchronous  Programming : 3 weeks

[x] I have pushed my progress to my fork of exercises repo

Learning objectives

[ ] 🥚 You understand the JavaScript Event Loop, and can demonstrate this by using setTimeout and setInterval to schedule simple tasks.
[ ] 🥚 You can explain why Asynchronous Programming is important for programs that have blocking and non-blocking tasks.
[ ] 🥚 You can explain the basics of the Client/Server model and HTTP requests and can fetch data from RESTful APIs.
🐣 You can break down an asynchronous problem into smaller tasks and solve it using promises. This includes identify which tasks depend on each other and which are independent:

[ ] dependent tasks_: The return value from one task is required to start the next task, these must be completed in a specific order - .then
[ ]  Independent tasks_: These tasks do not use each other's return values, they can be completed at the same time - Promise.allsystem.

[ ] 🐣 You can fetch data from an API and render it into the DOM using /api-calls, /handlers and async/await syntax.
[ ] 🐣 You can write unit tests for functions that return promises using async/await syntax.

@Osei-b4 your issue is not complete.

@Osei-b4 We can have a look at it together, maybe next week? Don't forget to add the second week.

@Osei-b4  please check my gitHub account you will find more than 7 projects hopefully they will answer all your questions

@bermarte  Yes will do that for the main time to understand further.

@samirm00 Yes will do that for the main time to understand further.


Crash when opening a large file in the editor

VSCode Version:1.19
OS Version:Ubuntu 14.04 LTS

Steps to Reproduce:

generate a large file (larger than about 20MB, maybe)
use vscode to open it

It is possible to open files that large in gedit or emacs, but it's quite inconvenient and I hope this issue to be solved.

Does this issue occur when all extensions are disabled?: Yes

@rebornix sorry for not noticing your reply. It's too hard to access github here. I can confirm that opening such a large file is quite easy now, but if i first open an empty file, and then use that program to write numbers into it, vscode will crash immediately. I think it is because vscode is hard to reload the file when it changes rapidly.


Can’t enable exposure logging/Empty screen on iOS 13.7/14

Avoid duplicates

[x] Bug is not mentioned in the FAQ
[x] Bug is not already reported in another issue

Describe the bug
I wanted to activate the App this morning, but I couldn’t I was greeted by a empty screen in settings/Corona Warn/Exposure Notifications.
This was with the latest version of the app and iOS 13.7. After some failed attempts I updated iOS to 14, thinking it might fix it. However the big is still present. I tried a multiple things including reboot of the phone and reinstallation of the App. Also I tried to firstly open settings or the other way around.

Expected behaviour
Enabling exposure logging.

Steps to reproduce the issue

Download the App or disable Exposure logging
Go to Settings/Corona-Warn/Exposure Notifications
See nothing/image

Technical details

iOS Version: 13.7/14.0
Device: iPhone 7

Possible Fix

Additional context
The problem occurred after disabling exposure notifications for a few days.

Internal Tracking ID: EXPOSUREAPP-2869

Thats very weird. And CWA is also showing an empty screen?

@The-JC can you contact me directly please<EMAIL_ADDRESS>

Same problem for me. No app with Covid Api works on my iPhone XS iOS 14 ane there is nothing to enable in settings.

Thats very weird. And CWA is also showing an empty screen?

No, the CWA works as expected and displays that exposure logging is stopped.

There were some config profile with api reset but it is outdated and unusable.
https://github.com/corona-warn-app/cwa-app-ios/issues/911

There were some config profile with api reset but it is outdated and unusable.
https://github.com/corona-warn-app/cwa-app-ios/issues/911

I agree, I believe we must reset the exposure notifications api somehow. It might have got corrupted under some circumstances.
However I remember that I’ve seen this warning some time ago. It might be directly related to this issue.

https://github.com/corona-warn-app/cwa-app-ios/issues/911#issuecomment-659411203

Similar problem for me on an iPhone 8; since today exposure logging is disabled and there's no way for me to enable it.
I upgraded to iOS 14 on Friday but it worked Friday, Saturday and Sunday.
Let me know if there are any more details I could share.

Ok I was able to get this back working by going to iOS "Exposure Notifications" and setting CWA as default and setting Active Region as "Deustchland" maybe this help other users so leaving both comments instead of deleting them.

Had the same problem. Rebooting the device and changing the config as above didn't help. I had to disable/re-enable WLAN to make it work again. Maybe CWA failed to confirm the region without accessing the cell provider?

It doesn't work for me. Disabled WLAN, Bluetooth and have tried Flight mode but nothing changed.

I had the same issue. The fix for me was to enable "Significant Locations" at the bottom of Settings > Privacy > Location Services > System Services > Significant Locations.

Hey everyone,
Thank you for the reports. We have created a ticket for the internal Jira tracker (EXPOSUREAPP-2869) for this bug.
Regards,
CH

Corona-Warn-App Open Source Team

I had the same problem with the English NHS Corona app. What fixed it (through a suggestion from their support team) was Settings -> General -> Reset -> Reset Location & Privacy.
It seems like the app never requested the correct Exposure Notification and Location permissions - probably because something had gone wrong with multiple Covid apps or the iOS 14 upgrade.
I will have to give all my apps permissions again, but at least it's working now.

You are right. Resetting helped and exposure warning works again. Thanks a lot.

This looks more like a general issue and not related to the CWA app. Maybe it makes sense to publish a new FAQ entry and close this issue.

Hello, wanted to say that this is an issue we also noticed with Smitte|stop (Danmark), and for us it looks like an iOS issue. We reported it to Apple, I guess you should do the same.

I have created a new issue in the cwa-website repository so this will get added to the FAQ soon:
https://github.com/corona-warn-app/cwa-website/issues/426
Thank you again for your input!
Best regards,
SG
Corona-Warn-App Open Source Team

@NilsKrumrey your workaround was published on the FAQ website:
https://www.coronawarn.app/en/faq/#ios_black_screen
https://www.coronawarn.app/de/faq/#ios_black_screen
Thank you again for your input!

Hi. I just started as a developer on the Dutch "CoronaMelder" app. We launched nationwide this weekend and are encountering this issue in the wild too. We are even encountering this when a user has previously deleted the app and then re-installed it. The suggestion in your FAQ fixed that case too. It seems some state remains on the OS that prevents the framework from being initialised correctly.
Did you get any feedback from apple on this situation yet?

@roelspruit just wanted to mention that i'm using the CoronaMelder app and i have this exact same issue. I tried re-installing several times as well. The 'reset privacy' thing didn't work for me, but after that i did a reboot and i did get the 'Enable COVID-19 exposure logging' popup again and was able to enable it.

Potwierdzam. Działa od razu.

This is because when exposure logging is enabled, Bluetooth gets disabled or completely greyed out. Could be an iOS issue or the issues of CWA! I am on latest iOS 14.5.1! I even got my phone replaced because the Bluetooth was greyed out and I was not able to use any accessories with my phone. After the replacement the new phone had the same issues. So when I disable exposure logging and remove CWA, this issues vanishes. I am not sure how to contact Apple to Dev support, but if it is a possibility to look from the CWA side let me know if I can run a testflight build and can provide some logs

@diimaan
May I ask you to open a new bug report where you explain the problem in detail?
Where exactly does something get grayed out or disabled because of Exposure Logging?


Update ngrok image to latest official

The project is using an outdated image (wernight/ngrok) for the ngrok service, it should be updated to use the latest official image ngrok/ngrok.

Added a small PR for this
https://github.com/hyperledger/aries-endorser-service/pull/47


User params keyword in function

Hi,
I will use function with number of parameters variable. (functions like max(), min(),..)
I tried     Func< int[], int> Max = (v) => myMax( v ), but it crash on execution.
I tried     Func< patrams int[], int> Max = (v) => myMax( v ), but it does not compile.
private int myMax(params int[] v)
{
int m = -1;
foreach (int i in v)
if (m < i)
m = i;
        return m;
    }

Best regards
Giovanni Rubagotti

Thanks for the report. Can I just ask you to provide a unit test that show the problem? So it can be easier to understand and fix it.
Try to look at other tests for some examples.
Thanks

Thanks for the quick reply.
I resolved this issue using a custom delegate:
delegate int MyDelegate(params int[] p);
var target = new Interpreter();
target.SetFunction("max", new MyDelegate(myMax));
var result = target.Eval("max(1,2,3,4,5,6)");
Best regards
Giovanni Rubagotti


[tool_crash] _CastError: (#0      AppResourceBundle.translationFor (package:flutter_tools/src/localizations/gen_l10n_types.dart:509:76))

Command
flutter --no-color pub get

Steps to Reproduce

...
...
...

Logs
_CastError: (#0      AppResourceBundle.translationFor (package:flutter_tools/src/localizations/gen_l10n_types.dart:509:76))
#0      AppResourceBundle.translationFor (package:flutter_tools/src/localizations/gen_l10n_types.dart:509:76)
#1      LocalizationsGenerator._generateBaseClassFile.<anonymous closure> (package:flutter_tools/src/localizations/gen_l10n.dart:1101:18)
#2      MappedIterator.moveNext (dart:_internal/iterable.dart:391:20)
#3      Iterable.join (dart:core/iterable.dart:364:23)
#4      LocalizationsGenerator._generateBaseClassFile (package:flutter_tools/src/localizations/gen_l10n.dart:1118:41)
#5      LocalizationsGenerator._generateCode (package:flutter_tools/src/localizations/gen_l10n.dart:1200:46)
#6      LocalizationsGenerator.writeOutputFiles (package:flutter_tools/src/localizations/gen_l10n.dart:1275:47)
#7      generateLocalizations (package:flutter_tools/src/localizations/gen_l10n.dart:69:9)
#8      GenerateLocalizationsTarget.build (package:flutter_tools/src/build_system/targets/localizations.dart:56:5)
#9      _BuildInstance._invokeInternal (package:flutter_tools/src/build_system/build_system.dart:839:27)
<asynchronous suspension>
#10     FlutterBuildSystem.build (package:flutter_tools/src/build_system/build_system.dart:606:16)
<asynchronous suspension>
#11     generateLocalizationsSyntheticPackage (package:flutter_tools/src/dart/generate_synthetic_packages.dart:58:30)
<asynchronous suspension>
#12     PackagesGetCommand._runPubGet (package:flutter_tools/src/commands/packages.dart:134:7)
<asynchronous suspension>
#13     PackagesGetCommand.runCommand (package:flutter_tools/src/commands/packages.dart:176:5)
<asynchronous suspension>
#14     FlutterCommand.run.<anonymous closure> (package:flutter_tools/src/runner/flutter_command.dart:1140:27)
<asynchronous suspension>
#15     AppContext.run.<anonymous closure> (package:flutter_tools/src/base/context.dart:150:19)
<asynchronous suspension>
#16     CommandRunner.runCommand (package:args/command_runner.dart:209:13)
<asynchronous suspension>

[✓] Flutter (Channel stable, 2.8.1, on macOS 12.0.1 21A559 darwin-x64, locale en-IL)
    • Flutter version 2.8.1 at /usr/local/Caskroom/flutter/2.2.3/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 77d935af4d (3 days ago), 2021-12-16 08:37:33 -0800
    • Engine revision 890a5fca2e
    • Dart version 2.15.1

[✓] Android toolchain - develop for Android devices (Android SDK version 31.0.0)
    • Android SDK at /Users/dan/Library/Android/sdk
    • Platform android-31, build-tools 31.0.0
    • ANDROID_HOME = /Users/dan/Library/Android/sdk
    • Java binary at: /Applications/Android Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 13.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • CocoaPods version 1.11.2

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2020.3)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.10+0-b96-7281165)

[✓] VS Code (version 1.62.3)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.29.0

[✓] Connected device (2 available)
    • Android SDK built for x86 (mobile) • emulator-5554 • android-x86    • Android 11 (API 30) (emulator)
    • Chrome (web)                       • chrome        • web-javascript • Google Chrome 96.0.4664.110

• No issues found!

Flutter Application Metadata
Type: app
Version: 1.0.0+3
Material: true
Android X: false
Module: false
Plugin: false
Android package: null
iOS bundle identifier: null
Creation channel: stable
Creation framework version: 9b2d32b605630f28625709ebd9d78ab3016b2bf6

Hi @dstavy , thanks for reporting this.
Is this an isolated event or does it occur frequently?
If it does, kindly provide steps to reproduce.
Please provide your pubspec.yaml as well.
Thank you


fix: use Nat.lt_wfRel.wf instead of IsWellFounded.fix.proof_1 in PartENat.lt_wf

Simplifies the proof and makes it more closely match the mathlib3 version.
Avoids using the proof_1 lemma, which is automatically generated by this code in core. It's probably bad style to directly use such things.

https://github.com/leanprover-community/mathlib4/pull/2349 prevents library_search from suggesting such proof_1 constants.

bors merge


zoom bug

Issue Type: Bug
I accidentally deleted the zoom property from settings and It zoomed in a lot and can't zoom out back
VS Code version: Code 1.33.1 (51b0b28134d51361cf996d2f0a1c698247aeabd8, 2019-04-11T08:20:22.771Z)
OS version: Linux x64 4.15.0-48-generic

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-5500U CPU @ 2.40GHz (4 x 2055)

GPU Status
2d_canvas: enabledchecker_imaging: disabled_offflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwarerasterization: disabled_softwaresurface_synchronization: enabled_onvideo_decode: unavailable_offwebgl: enabledwebgl2: enabled

Load (avg)
1, 2, 2

Memory (System)
7.69GB (0.74GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

Extensions (4)

Extension
Author (truncated)
Version

githistory
don
0.4.6

beautify
Hoo
1.5.0

python
ms-
2019.4.12954

vscode-docker
Pet
0.6.2

That's my current window

I could reset by holding ctrl + - some time. It seems the zoom property had negative values. It Mustn't accept negative values, but I'll close even so.


Popup menus and tooltips are not working when no displays connected

Tested versions
4.2.stable
System information
Linux, X11
Issue description
I'm connecting to my PC remotely via VNC, and since the physical display is off, the system thinks there are no displays connected. Godot complains about it:
platform/linuxbsd/x11/display_server_x11.cpp:1062 - Invalid screen index: 0(count: 0).
platform/linuxbsd/x11/display_server_x11.cpp:1133 - Index p_screen = 0 is out of bounds (screen_count = 0).

Most functions work fine, however I have noticed that pop-up menus and tooltips don't work. I suspect that the menus are 0x0 pixels in size and therefore not visible.
However, the X11 screen still exists even without display, and I think Godot should work with it correctly.

Steps to reproduce
Unplug the display cable, I guess?
Minimal reproduction project (MRP)
N/A

I still have this same issue when connecting to a remote machine using TeamViewer

You are using 4.3.beta1?

Ope, thought I was using the newest release, but I wasn't. Issue is fixed in 4.3


Added Translation to hr/auth.php

This correction added a correct Croatian translation
instead of the english ones that were in the auth.php script.
Users of this code will therefore not have to change/modify
these manually as they are already correct.
This prevents from showing unwanted translations and
enhances the user experience.

Hello,
thanks but can you delete vagrant.xml ?

Hi.
This should be it.  :)
On Wed, Oct 14, 2015 at 2:40 PM, Fred Delrieu<EMAIL_ADDRESS>wrote:

Hello,
thanks but can you delete vagrant.xml ?
—
Reply to this email directly or view it on GitHub
https://github.com/caouecs/Laravel-lang/pull/443#issuecomment-148037053.

Thanks


Manually updating date time does not notify

Manually updating date time does not notify
Expected behavior and actual behavior:
Updating date time with picker updates/notifies, but manually editing it (keyboard up,down etc.) won't.
Steps to reproduce the problem:
git clone https://github.com/ugurk/px-datetime-picker
cd px-datetime-picker
npm install
bower install
gulp serve

I forked the repo and pushed a commit that shows date time variable in a span.
Environment (component version number, Browser (including version), operating system, hardware, etc):
Chrome v56 on Windows 7
Screenshots (optional, but very helpful):
Code examples
https://github.com/ugurk/px-datetime-picker
BTW: codepen link on demo page is dead.

Someone submitted #17 to try and fix your problem. Please pull the latest and see if your problem is fixed.

@nonmetalhail now it works as expected


Using KeyVault FlexVolume with Autoscaler

Describe the request
Hey, I'm currently using GKE and AKS (different purposes). When using GKE, I have set autoscaler to run a minimum 0 GPU nodes in order to save money.
The problem is that once a GPU node is up, the keyvault-flexvol installation is not available.
If  there's a way to let the autoscaler know that it needs to install keyvault-flexvol (or any other .yaml) that would solve the problem.
Explain why Key Vault FlexVolume needs it
It would allow developers to use KeyVault together with autoscaler in order to share secrets.
For example, this would be very powerful when using kubeflow or azureml.
Describe the solution you'd like
Not sure if possible, but provision node when it goes up same as nvidia does with its drivers for GPU nodes
Describe alternatives you've considered
Additional context

Does it work fine for CPU instances provisioned by auto scaling? Maybe the issue is just with the DaemonSet node selector.
Manually modify the node selector for the DaemonSet here and deploy your modified YAML.
https://github.com/Azure/kubernetes-keyvault-flexvol/blob/master/deployment/kv-flexvol-installer.yaml

Does it work fine for CPU instances provisioned by auto scaling? Maybe the issue is just with the DaemonSet node selector. It should work fine as is on AKS.

I'm seeing another error, I think it's related to permissions though. Will report back

Are you just having trouble on GKE? If you checked the labels on the GPU instances do they match the node selector? Make sure to also use the GKE specific FlexVolume mount path.

Labels are matching and I have edited the .yaml file accordingly.
Currently I'm not seeing it on the gpu server and I think that it won't work either way because the secretRef is not set automatically.

Hey @berndverst,
I have been testing one of those two issues - the CPU problem with the missing tenantId.
I have finally figured what is the root cause of this! While running manually the kv binary on the node, I see the following error:
/home/kubernetes/flexvolume/azure~kv $ sudo ./kv mount /tmp/test1 '{"usepodidentity": "false","resourcegroup": "resourcegroup-name","keyvaultname": "vault-name","keyvaultobjectnames": "secret-name","keyvaultobjectaliases": "secret.json","keyvaultobjecttypes": "secret","subscriptionid": "<subscriptionid>","tenantid": "<tenantid>"}'

./kv: line 41: /usr/bin/jq: No such file or directory
./kv: line 42: /usr/bin/jq: No such file or directory
./kv: line 44: /usr/bin/jq: No such file or directory
./kv: line 45: /usr/bin/jq: No such file or directory
./kv: line 48: /usr/bin/jq: No such file or directory
./kv: line 49: /usr/bin/jq: No such file or directory
./kv: line 50: /usr/bin/jq: No such file or directory
./kv: line 51: /usr/bin/jq: No such file or directory
./kv: line 53: /usr/bin/jq: No such file or directory
./kv: line 54: /usr/bin/jq: No such file or directory
./kv: line 55: /usr/bin/jq: No such file or directory
./kv: line 58: /usr/bin/jq: No such file or directory
./kv: line 59: /usr/bin/jq: No such file or directory
./kv: line 60: /usr/bin/jq: No such file or directory
./kv: line 64: /usr/bin/jq: No such file or directory
./kv: line 65: /usr/bin/jq: No such file or directory
./kv: line 66: /usr/bin/jq: No such file or directory
{"status": "Failure", "message": "validation failed, tenantid is empty"}

As this is a GKE node, I cannot install jq.
Any ideas how this can be fixed?

Hey @berndverst

The problem is that once a GPU node is up, the keyvault-flexvol installation is not available.

I have finally found the problem.
The GPU nodes contain a taint:
kubectl describe node gke-node | grep -i 'nosche'
Taints:             nvidia.com/gpu=present:NoSchedule

Node affinity, described here, is a property of pods that attracts them to a set of nodes (either as a preference or a hard requirement). Taints are the opposite – they allow a node to repel a set of pods.

Taints and tolerations work together to ensure that pods are not scheduled onto inappropriate nodes. One or more taints are applied to a node; this marks that the node should not accept any pods that do not tolerate the taints. Tolerations are applied to pods, and allow (but do not require) the pods to schedule onto nodes with matching taints.

https://kubernetes.io/docs/concepts/configuration/taint-and-toleration/
This means that in order for keyvault-flexvol to work, one will have to update the kv-flex-installer.yaml tolerations:
      tolerations:
        - key: nvidia.com/gpu
          value: present
          effect: NoSchedule

I will add this to the PR.

Hi @ritazh , hope you are well :)
Can you look at this issue or PR #186  for removing the reliance on jq at least outside of AKS? There appear to be some folks wanting to use KeyVault from GKE and jq isn't available there.
Also, it would be good to provide some instructions for adding the toleration to the daemonset spec in case someone wants to run the Flex Volume driver on GPU nodes as well. Alternatively, provide an installer yaml for CPU instances and one for CPU + Nvidia GPU instances. I'm not sure that a comment in the yaml alone is obvious enough.

@berndverst

Also, it would be good to provide some instructions for adding the toleration to the daemonset spec in case someone wants to run the Flex Volume driver on GPU nodes as well. Alternatively, provide an installer yaml for CPU instances and one for CPU + Nvidia GPU instances. I'm not sure that a comment in the yaml alone is obvious enough.

Honestly, I think that by default the installation should work on all types of nodes i.e uncomment toleration part and instead add a comment why it's there

@Shaked I suppose it doesn't really matter anymore. I just learned that mounting KeyVault will be done differently in the future. Kubernetes moves fast as you know! Check this out:
https://github.com/Azure/secrets-store-csi-driver-provider-azure
You'll need to use the Service Principal option if you are not running on AKS / AKS Engine clusters in Azure.

@berndverst
I will definitely check it out, thank you!
I still think that it will take time to migrate from the current implementation of keyvault-flexvol to the new one, and easier to upgrade its version than migrating and putting our resources on it.
Therefore, I'd still be happy if this PR will be accepted.
Do you know if the new implementation will allow to import secrets from AKV directly to ENV vars instead of mounting to files?

@ritazh and team is whom you have to convince :)

@Shaked sorry for the delay and thank you for the PR. will review and test the PR soon!


fix: Azure boards e2e test

related to https://github.com/dora-metrics/pelorus/issues/915

@mpryc please review

azure-devops-secret matches one from the: https://github.com/dora-metrics/pelorus/pull/919/files#diff-c2048aaa52b1f1ac5d632b3e537bd6cbaec9bed085ad43ce6432fecbdfce2321R504
approving


Ultra Slow Preview Times

Wow, the rendering of the @Preview is very slow. I could’ve done the view equivalent faster in XML. This preview feature has to be fast if we are to use this in a real release.
Also we would love to have a library (similar to a Palette) from which we can choose “composable” from because I’m really don’t know how many stock composable are there except for Text(), Image(), FloatingActionButton()and Button()
Other than that this is an interesting framework no more hunting for useless libraries for a circular image. 😁

Wow, the rendering of the @Preview is very slow. I could’ve done the view equivalent faster in XML. This preview feature has to be fast if we are to use this in a real release.
Also we would love to have a library (similar to a Palette from which we can choose “composable” from because I’m really don’t know how many stock composable are there except for Text(), Image(), FloatingActionButton()and Button()

Wow, the rendering of the @Preview is very slow. I could’ve done the view equivalent faster in XML. This preview feature has to be fast if we are to use this in a real release.
Also we would love to have a library (similar to a Palette from which we can choose “composable” from because I’m really don’t know how many stock composable are there except for Text(), Image(), FloatingActionButton()and Button()

Thanks for the feedback, but this is unrelated to this repo of samples. Perhaps you could file it on the Android Studio Issue Tracker?

Thanks for the feedback, but this is unrelated to this repo of samples. Perhaps you could file it on the Android Studio Issue Tracker?


Phone numbers are not actually being updated on the user profile

 Phone numbers are not actually being updated on the user profile #689


Escape literal "{" in a regular expression pattern.

To support changes introduced with perl-5.21.3.

Fixes the ./bootstrap issue raised in #1036.

Current coverage is 72.96% (diff: 100%)

Merging #1060 into master will decrease coverage by 0.11%

@@             master      #1060   diff @@
==========================================
  Files           126        127     +1
  Lines         18302      18310     +8
  Methods        2548       2552     +4
  Messages          0          0
  Branches       2236       2236
==========================================
- Hits          13375      13359    -16
- Misses         4231       4255    +24
  Partials        696        696

Powered by Codecov. Last update a3b4640...3374818

I checked this out and just ran ./bootstrap and I get the following:
nibanks@nibanks1:/mnt/c/Users/nibanks/Source/Repos/ot-jwhui$ ./bootstrap
/mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: 4: /mnt/c/Users/niba: not foundRepos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf:
/mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: 8: /mnt/c/Users/niba: not foundRepos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf:
/mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: 13: /mnt/c/Users/nib: not found/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf:
/mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: 18: /mnt/c/Users/nib: not found/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf:
/mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: 21: /mnt/c/Users/nib: not found/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf:
/mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: 25: /mnt/c/Users/nib: not found/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf:
/mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: 41: /mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf: Syntax error: newline unexpected (expecting ")")
automake: error: /mnt/c/Users/nibanks/Source/Repos/ot-jwhui/third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/autoconf failed with exit status: 2

@nibanks, I have not seen that error before.  ./bootstrap works well for me on both Linux and Mac.    I assume the error does not occur when removing the single backslash \ that was added to the automake script?  What version of Perl are you using?

I have version 5.18.2. But I still seem to get the error when I manually undo your change to third_party/nlbuild-autotools/repo/tools/host/x86_64-unknown-linux-gnu/bin/automake. So I'm not sure what is up.

Ok, I figured it out. I have to run the following for each new clone on Windows:
git config core.autocrlf false
git rm --cached -r . && git reset --hard

./bootstrap works just fine with this change on Windows.

@nibanks, thanks for following up.  Might be useful to put that hint somewhere in the wiki :)


Should we create Windows 10 Pro N or Pro

Follow this tutorial to create a new lab and then apply the following settings:
LAB CONFIGURATION
Virtual machine size	Image
Medium (Nested Virtualization)	Windows Server 2019 Datacenter
Medium (Nested Virtualization)	Windows 10
Should we create Windows 10 Pro N or Pro since those are alone available
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 4ea1ad9a-caa7-c1e4-e1cd-24ecb03c9320
Version Independent ID: fae02521-1ea2-1a62-4cab-77f70a8b32ee
Content: Set up an ethical hacking lab on VirtualBox with Azure Lab Services - Azure Lab Services
Content Source: articles/lab-services/class-type-ethical-hacking-virtualbox.md
Service: lab-services
GitHub Login: @ntrogh
Microsoft Alias: nicktrog

Thank you for reaching out. At this time we are reviewing the ask and will provide an update as appropriate

@aparna10061, Apologies for the delay response! I'd recommend posting your question in https://azure.microsoft.com/en-us/support/community/ since it's not directly related to the documentation. We'll follow up there. We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Duplicate key value violates unique constraint "shedlock_pkey"

Hello,
when application starts we have following error on PostgreSQL logs:
ERROR:  duplicate key value violates unique constraint "shedlock_pkey"
DETAIL:  Key (name)=(SomeScheduler) already exists.
STATEMENT:  INSERT INTO shedlock(name, lock_until, locked_at, locked_by) VALUES($1, $2, $3, $4)

Is there a possibility to avoid or fix above error?

it is intentional. In order to have atomic and database independent code, we first try to insert the lock and if the insert fails due to key collision, we try to update it. There is a cache so we usually try the insert only once. In theory you may use PosgreSQL upsert for this but to do that you would need to write your own LockProvider.

@lukas-krecan ok, but is there a possibility to check (before insert the lock) is lock exists to avoid duplicate key error?

@lukas-krecan why can't we have the same check for mysql & other databases.
I think we can modify "MySqlServerTimeStatementsSource" class with below changes.
@Override
String getInsertStatement() {
return "INSERT INTO " + tableName() + "(" + name() + ", " + lockUntil() + ", " + lockedAt() + ", " + lockedBy() + ") VALUES(:name, " + lockAtMostFor + ", " + now + ", :lockedBy)" +
" ON DUPLICATE KEY UPDATE " + updateClause();
}
@NonNull
private String updateClause() {
    return lockUntil() + " = " + lockAtMostFor + ", " + lockedAt() + " = " + now + ", " + lockedBy() + " = :lockedBy;
}

We can, can you please provide a PR?

@lukas-krecan I hope I sent the PR properly, can you please check once?


document example of remote config for team config

In the wiki, there's a comment that remote configurations are used by the developers to store user info in a git repo:

if you have remote configurations (which in our use case, we have a private git repository with JSON files for each user that contains each user's desired username, public IP address/CIDR, and public ssh key)

https://github.com/ezra-buckingham/terry-the-terraformer/wiki/Usage
Can you please document somewhere what the layout of the json files in that repo look like and how you merge their contents into the team config?
Thanks!

Should be done! Let me know if you have any issues!
https://github.com/ezra-buckingham/terry-the-terraformer/wiki/Getting-Started#remote-configurations


Different Formats of Time Tags

Hello Mr. Steinbach,
I have observed the following behavior in the format of different time-tags:
Some have a   T   after the date part,
others have just a white-space there.
Example:
Last Upd from WeC    2023-02-01T23:30:01+01:00
Last Upd from Car    2023-02-01 22:07:24+01:00

Can you confirm this observation ?   Some reason behind ?
On my side I like to assign the value to a datetimetype in openhab, which does not work.
Thank you for your comment.
Best regards

hmmm, I have to check why this is wrong...


Merge new sauerbraten commits

@a-teammate Could you please verify that this still works on VS?

works with vs :+1:

Thank You!


[Bug] Two softbreaks at the end of the document cause weird behavior

Describe the bug
Two softbreaks at the end of the document cause weird behavior
To Reproduce

Insert Text
Add two softbreak at the end
Apply the resulting markdown again to the component

Screenshots

Milkdown version
Latest
Desktop (please complete the following information):

OS: Win, Linux
Browser Chrome, FF, etc
Version latest

Thanks!
Is there an E.T.A. for the for the next release which includes this fix?

Thanks!
Is there an E.T.A. for the for the next release which includes this fix?

I think it will be within next week.


Results are sorted by ID by default?

I have a list of ids that look like this [2,1,3], when I query this list and return a list of items, it sorts them as
{
  result: [
    { id: 1 },
    { id: 2 },
    { id: 3 },
  ]
}

Is this normal? I expected them to return in the same order as the list that was populating the query results

/*
  Hypothesis: graphql-yoga sorts lists by `id: ID!` automatically
*/

/*
  Mock server
*/
const { GraphQLServer } = require("graphql-yoga");

const typeDefs = `
  type Foo {
    id: ID!
  }

  type Query {
    foos: [Foo!]!,
  }
`;

const resolvers = {
  Query: {
    foos: () => [2, 1, 3].map(id => ({ id }))
  }
};

const server = new GraphQLServer({ typeDefs, resolvers });
server.start(() => console.log("Server is running on localhost:4000 🚀"));

/*
  Query
*/

// query {
//   foos {
//     id
//   }
// }

/*
  Response
*/

// {
//   "data": {
//     "foos": [
//       {
//         "id": "2"
//       },
//       {
//         "id": "1"
//       },
//       {
//         "id": "3"
//       }
//     ]
//   }
// }

/*
  Conclusion

  Hypothesis is **false**.
  It appears that the list order is preserved.
*/


Empty line at EOF cause syntax error

Empty line at end of file will cause syntax error, e.g. for following code:
:- initialization(main).

main :- write('hi'), nl, halt.

Output:
Trealla v0.1alpha, 64-bits (int=128-bits), Dec 19 2016
ERROR: consult 'foo.pro'
>>> Syntax error,line=4
>>> (null)
?-

I think this issue can be closed now.


Getting options from inputs

In script.js we have options object for demo of coda.
we should get these options value from inputs in index.html

This issue solved as expected


Update the comparable matcher to support all types and add it to front end.

This PR updates the comparable matcher operator with the new designs. The old comparable matcher needs a generic type T to make it work, however it's not possible to construct the type T in the new user interface.
The new comparable matcher doesn't have the generic type T, instead, it will infer the type from the input schema.

Per our F2F discussion, it LGTM.  Please add an issue to deal with the DATE type separately.


Need ability to add "ON UPDATE" and non-escaped values

For TIMESTAMP data type setting the value you to CURRENT_TIMESTAMP results in the escaped string value being sent: 'CURRENT_TIMESTAMP'. The ideal way this would work is to pass along without quotes.
Secondly, I'd like to be able to add "ON UPDATE" perhaps as "OnUpdate" as API value.
-- I've been trying to add updated timestamp on record update

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

related to #211

Hello
while creating the feature
exports.up = function(db) {   return db.createTable('users',{     id:{type:'bigint',primaryKey:true,autoIncrement:true, unsigned: true},     name:{type:'string',length:255,notNull:true},     email:{type:'string',length:100,unique:true,notNull:true},     password:{type:'string',length:255,},     created_at:{type:'timestamp',defaultValue:new String('CURRENT_TIMESTAMP')},     updated_at:{type:'timestamp'}   }).then( ()=>{     db.runSql("ALTER TABLE users	CHANGE COLUMN updated_at updated_atTIMESTAMP NULL DEFAULT NULL ON UPDATE CURRENT_TIMESTAMP AFTERcreated_at;");   }); };


FTP writing error throws exceptions that doesn't implement League\Flysystem\UnableToWriteFile intferface

Laravel Version: 9.10.1
PHP Version: 8.1.0
Database Driver & Version:  MySQL (ver. 5.7.36)
league/flysystem-ftp 3.0.9

Description:
According to the Laravel documentation storage writing errors (with throwing enabled) should throw exceptions that implement the interface League\Flysystem\UnableToWriteFile
https://laravel.com/docs/9.x/filesystem#failed-writes
If you're using an ftp configuration where everything except the root is valid.
And do a writing operation. Than the following problem occurs:

The by laravel used flysystem generates a warning due to the usage of the native php function ftp_chdir

FtpAdapter

Laravels error handler turns this warning into an ErrorException

HandleExceptions.php

The ErrorException does of course not implement the UnableToWriteFile interface. Which is the Bug.
So in my opinion the Laravel FilesystemAdapter should take care if this ErrorException and re-throw it implementing the correct interface. Or some solution that brings a similar result :)
Additional Notes
I don't think this is a league/flysystem bug. As they say in the documentation that every exceptions implements the FilesystemExcption Interface. But from the view of the package this is only a warning.
https://flysystem.thephpleague.com/docs/usage/exception-handling/
Steps To Reproduce:

I created a public repository as wished https://github.com/Keryx42/laravel-filesystem-bug-showcase
I also repeat now what I did to get to the probem

Add an ftp configuration to the config/filesystems.php file

Everthing must be valid except the root
throws must be true
See https://github.com/Keryx42/laravel-filesystem-bug-showcase/blob/ba684d5475e7f6c3ac4c841b343f13b7735baa80/config/filesystems.php#L59

Try to execute a writing operation to that disk

Like     Storage::disk('bug_showcase_ftp')->put('bug_showcase.txt','bug showcase');

This should lead to an ErrorException

Final Notes
This is my first bug report. Feel free to ask any question
Thanks for creating laravel I love it <3

Hey @Keryx42, thanks for the report. It's definitely well written.
I'm not sure I agree this is a Laravel issue. We can't catch all ErrorExceptions in the filesystem adapter because that would hide actual errors/bugs. I feel like this should either be caught by the Flysystem FTP adapter and converted into a dedicated exception or this should bubble up to the app like it does now so it's explicit that there's something wrong with the code that calls the filesystem. I'll discuss this with @frankdejonge.

This is going to be addressed within Flysystem soon. Thanks!

@driesvints Thanks so much :) Have a great day!

Final update for completeness :)
The problem got solved here
https://github.com/thephpleague/flysystem/blob/3.0.19/CHANGELOG.md


Multi-monitor borderless windowed mode compatibility

Is it possible to integrate this tool with the known method to induce true borderless windowed with multi-monitor set-up? Referring to this known workaround: https://www.reddit.com/r/Genshin_Impact/comments/kl4z7r/how_to_use_borderless_windowfullscreen_mode_on/
I think its possible to add those launch settings to this tool, and it would really help multi-monitor setup people like me a lot. Thanks!
EDIT: See new commment

This already exists, options>settings>Launch options check the Popup Window option.


Tests fail when run on Windows

Environment summary
Install Method: How did you install the CLI? (e.g. pip, interactive script, apt-get, Docker, MSI, nightly)
Answer here: dev_setup.py
CLI Version: What version of the CLI and modules are installed? (Available with az --version)
Answer here: latest
OS Version: What OS and version are you using?
Answer here: Windows 10
Shell Type: What shell are you using? (e.g. bash, cmd.exe, PowerShell)
Answer here: cmd.exe
Description
The following tests routinely fail on my machine when I run run_tests (they pass on CI however).

test_get_expanded_subscription_info_for_logged_in_service_principal
test_batch_cancel_operation
test_batch_copy_blob_with_pattern
test_batch_copy_blob_with_sas
test_batch_copy_blob_without_sas
test_batch_copy_files_without_sas
test_help_extra_missing_params
test_help_full_documentations
test_help_group_help
test_set_config_value_file_permissions
test_storage_blob_upload_128mb_file
test_storage_blob_upload_64mb_file
test_storage_blob_upload_midsize_file
test_storage_blob_upload_small_file

Just ran into test_get_expanded_subscription_info_for_logged_in_service_principal failing.
Looks like on a clean machine, it succeeds the first time. Second time it fails. That would explain why it works on CI.

@derekbekoe what platform? Windows?

One reason I can see for there tests to fail on Windows is the file path issue. For example, the storage tests depend on temp file, in which the separator must be \ instead of / on Windows.

Fixed recently


Onboard Windows PR tests to Azure Pipelines YAML and Scale Sets

Describe the pull request
This PR contains supporting infrastructure to use Azure Virtual Machine Scale Sets for vcpkg's PR builds, which should both improve our PR build times and reduce Azure spending by shutting down machines when they aren't being used.
Included is a script that sets up all vcpkg's Azure infrastructure for Windows PR tests, and several updates to baselines. The baseline updates are generally caused by an updated copy of the MSVC++ compiler caused by updating the VMs, but some are caused by missed failures only detected now because this did a cleared out archives directory first.
Some of the build infrastructure isn't what I'd call 'pretty' (e.g. we're split into more scripts and such than I'd like) but this mirrors how our existing PR system works.
It is expected that the existing vcpkg Windows PR system will hate these baseline updates so we'll need to merge this, then remove that (duplicate) workflow immediately afterwards, then delete all the Windows VMs powering the old infrastructure.

Which triplets are supported/not supported?

All the Windows ones so far.

Does your PR follow the maintainer guide?

@strega-nil The scripts create-vmss.ps1, provision-image.ps1, and sysprep.ps1 are new (effectively copied from microsoft/STL equivalents with minor changes to support vcpkg rather than the STL). The other scripts are almost unmodified from the old vcpkg-utils repo. For those 3 new ones I'm happy to fix tons of nitpicks, for the others I would prefer to avoid blocking this on such changes as they were the status quo if possible.

Neck yes green green green

/azp run


Regent: Non-deterministic issue at compile time

While compiling HTR with new features on Lassen using a dedicated node with 256 GB of memory, I get the following error non-deterministically (during approximately 90% of clean compilations): not enough memory. When then restarting the compilation after receiving the error, the probability the code finishes compiling increases substantially. When the application is ultimately compiled, the executable runs as expected. Do you have any recommendations for debugging this issue?

Try building with -femergency-gc 1.
Separate compilation would help, and would be a good idea for other reasons as well.
For what it's worth, I believe the problem will not occur on an x86 machine, especially if you build with LuaJIT instead of Moonjit. So on Tioga, for example, this shouldn't happen.

When I tried compiling with -femergency-gc 1, I received the following error: LLVM ERROR: Symbol not found: H5Aclose. (This issue did not occur prior to using the -femergency-gc 1  flag). Do you know what might be causing this?

Assuming truly nothing else has changed, then this would be either a GC bug in Moonjit, or else a place where weak references are somehow being misused.
You could go to language/src/common/data.t and replace:
function data.new_weak_key_table()
  return setmetatable({}, {__mode = "k"})
end

with:
function data.new_weak_key_table()
  return {}
end

If that doesn't make any difference, then we may be stuck (assuming there is nothing that went wrong on your end, e.g., an -foffline 1 flag didn't go missing or something).
Separate compilation should still be an option.


Update .pre-commit-config.yaml

Update revisions (we might wanna have a bot doing this).

📚 Documentation preview 📚: https://pymc-marketing--473.org.readthedocs.build/en/473/

I've used this ruff pre-commit https://github.com/astral-sh/ruff-pre-commit
Thinking charliermarsh one was outdated. Maybe my memory is wrong about this though
Do you know where there differences are?

dependabot works pretty well for PyMC.

I've used this ruff pre-commit https://github.com/astral-sh/ruff-pre-commit
Thinking charliermarsh one was outdated. Maybe my memory is wrong about this though
Do you know where there differences are?

Ups! Let me double check as you might be right 😬


Unable to find command for ''

When I call navi from command line I always get "Unable to find command for '...".
It seems like navi is ignoring the first character under selected item. Refer to image, please.

I have just cloned the repo and tried whith the navi executable.
git clone git@github.com:denisidoro/navi.git
cd navi
./navi

What OS are you using?

I'm not able to reproduce the error on OSX nor on an alpine docker container 😞

Could you check if the following works?
cd "$(navi home)"
git pull
git checkout workaround/111
./navi

It's hacky, though.

And could you check the following?
cd "$(navi home)"
./test/run

This way, I can (hopefully) know exactly where the error is occurring.

Are you using termux on Android? I got the same error

I already know the fix. I'll release a new version next Monday


Why fetch result column-name are lowercased ?

rds-test> (jdbc.core/fetch conn ["select haNetworkTimeout from InstanceGroup"])
[{:hanetworktimeout 5}]
the column name is : "haNetworkTimeout", but result key is : "hanetworktimeout"
why do this conversion ?

Because, the column names usually are case insensitive in the database, and in most cases is the database that returns the column names normalized to lowe case.
Let see a little example using postgresql:
test=# create table test (aA int);
CREATE TABLE
test=# insert into test (aa) values (1);
INSERT 0 1
test=# insert into test (aa) values (2), (3), (4);
INSERT 0 3
test=# select * from test;
 aa
----
  1
  2
  3
  4
(4 rows)

test=# select aa,AA,aA from test;
 aa | aa | aa
----+----+----
  1 |  1 |  1
  2 |  2 |  2
  3 |  3 |  3
  4 |  4 |  4

This is not what MySQL presents. Maybe keep what database returned is a better way?

You can provide your own behavior, providing the {:identifiers identity} option


svr_linear_trainer multithreaded

Hi,
I see that there are two include files: svm.h and svm_threaded.h. I am wondering if it's possible for SVR and how to use a svr_linear_trainer in a multithreaded way?
Is there any example?
Thanks!

http://dlib.net/faq.html#Whereisthedocumentationforobjectfunction


Undo/Redo does not work for Mesh placement

Terrain3D version
latest
System information
Godot 4.3 stable (mono) on Windows 11 Pro
Is the issue reproducable in the demo?
Not applicable
Issue description
When you place a mesh, there doesn''t seem to  be a way to undo that mesh placement.
Logs
No response

Latest as in main or 0.9.3a? You need to provide more examples and information, including what your console/terminal says. Undo definitely works in the demo. It's done w/ ctrl+z or the undo history.

I'm going to close this if there's no response. Undo/redo of placing mesh instances works fine. There was a bug in update_transforms that messed up a narrow use case of undo that was just fixed, but that didn't prevent undo from working.


redirect does not work

Hello, i installed the application, launched it, set the tags, run: add avatar, upload, click add. The avatar is loading, but nothing happens on the page utomatically we remain on the same page without visual changes. (The page does not refresh)
I suspect that this part does not work:
\Lib\site-packages\avatar\views.py: 117
return redirect (next_override or _get_next (request))
If you manually go "back", the message "About successful download" will be displayed.
What to do?

How can I define page (example profile.html) to redirect after the operation?

It seems to have figured it out. If someone needs: you need to replace this line:
return redirect (next_override or _get_next (request))

@ogurec-ogurec Is this a bug? What did you replace that line with?

Closing this issue as no further feedback was received and it's unclear if this is still an issue. @ogurec-ogurec please reopen if this continues to be an issue.


model_dump methods fail for combination usage of BaseModel and RootModel

Initial Checks

[X] I confirm that I'm using Pydantic V2 installed directly from the main branch, or equivalent

Description
My project does some pretty complex typing where I ultimately need a list of varying types. Some of which are unions of variants (unioned RootModels), and others are direct BaseModels. When trying to do model_dump and model_dump_json on the complex list, I get an error '<Class>' has no attribute 'root'.
If I convert all types unioned to be RootModels, the dump works just fine. Same if I convert them all to BaseModels and rely on optional fields. The former is do-able for my use-case as it's just adding extra classes, but the latter would cause issues with some of the more complex typings we need to do and validate (without bloating a single BaseModel).
Please see the example code for a reproduction case. Note also that I reproduced this in two different environments and pasted both below as well.
Also please let me know if RootModel | BaseModel is not a supported use-case, thanks!
Example Code
# Usage:
#   python -m venv .venv
#   . .venv/bin/activate  # or . .\.venv\Scripts\Activate.ps1
#   pip install git+https://github.com/pydantic/pydantic.git#egg=pydantic
#   pip freeze  # confirm pydantic commit is current tip of main
#   python model_dump_issues_pydv2.py
# pylint: disable=all
from pydantic import RootModel, BaseModel

class IdVariant1(BaseModel):
    id_str: str

class IdVariant2(BaseModel):
    id_int: int

class Id(RootModel):
    root: IdVariant1 | IdVariant2

class Name(BaseModel):
    name: str

class Items(RootModel):
    root: list[Id | Name]

def main():
    items = Items.model_validate([{"id_str": "id1"}, {"id_int": 2}, {"name": "number-three"}])  # ok
    print(items)  # ok
    print(items.model_json_schema())  # ok

    # this fails with:
    #   pydantic_core._pydantic_core.PydanticSerializationError: Error serializing to JSON: AttributeError: 'Name' object has no attribute 'root'
    print(items.model_dump_json())

if __name__ == "__main__":
    main()

Python, Pydantic & OS Version
> python -c "import pydantic.version; print(pydantic.version.version_info())"  # Windows
             pydantic version: 2.0b2
        pydantic-core version: 0.39.0 release build profile
                 install path: C:\Users\kmfarley11\.venv\Lib\site-packages\pydantic
               python version: 3.11.2 (tags/v3.11.2:878ead1, Feb  7 2023, 16:38:35) [MSC v.1934 64 bit (AMD64)]
                     platform: Windows-10-10.0.22621-SP0
     optional deps. installed: ['typing-extensions']

$ python -c "import pydantic.version; print(pydantic.version.version_info())"  # WSL dev container
             pydantic version: 2.0b2
        pydantic-core version: 0.38.0 release build profile
                 install path: /home/vscode/.local/lib/python3.11/site-packages/pydantic
               python version: 3.11.3 (main, Apr 12 2023, 14:31:14) [GCC 10.2.1 20210110]
                     platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.31
     optional deps. installed: ['typing-extensions']

@kmfarley11 Thank you for the feedback. This looks like a valid bug.
As for now, I'd suggest "wrapping" Name in a RootModel.
class Items(RootModel):
    root: list[Id | RootModel[Name]]

I can confirm that the issue reproduces

@kmfarley11 Another workaround that works at the moment is to change the order of models in the annotation.
class Items(RootModel):
    root: list[Name | Id]


Make keyboard context able to specify numeric toolbar input mode

Add this setting to the keyboard context, then make the KeyboardView automatically honor it.

I will try to get to this in a patch update instead, since the 8.9 is already too big and this is easy to implement manually.

This is not needed. The currently existing view modifier is the way to go.


Moeved event and sponsors in context to have them on one place

Current coverage is 94.72% (diff: 88.46%)

Merging #228 into master will decrease coverage by 0.25%

@@             master       #228   diff @@
==========================================
  Files            46         46
  Lines          1433       1440     +7
  Methods           0          0
  Messages          0          0
  Branches          0          0
==========================================
+ Hits           1361       1364     +3
- Misses           72         76     +4
  Partials          0          0

Powered by Codecov. Last update 8d757fd...bca8887

LGTM


feat(dateFilter): Add option to display date as am/pm

This adds a new option in order to choose whether to display a date as
AM/PM or am/pm.
Note: This contains a breaking change.  a now will display am/pm,
whereas the old behavior is specified by A for AM/PM.
This is in support of #8763 .

@lgalfaso I found myself needing lowercase am/pm today and am interested in adding it. I don't fully understand the issue you've outlined above. Can you explain what the CLDR is and what needs to be added to the built-in i18n locales?

@jnraine the CLDR is the Unicode Common Locale Data Repository that is from where many libraries extract the date/time symbols for the many locales. It also has a reference for many of the date/time patterns, and to do so it defines the symbols, again, commonly used in many libraries (http://www.unicode.org/reports/tr35/tr35-dates.html#Date_Field_Symbol_Table).
Now, even when the information at the CLDR is very extensive, it does not cover every use case. Eg it does not cover lower case version of the time period (ie, am/pm). It would be close to impossible for an independent library to add and maintain a symbol that is not in the CLDR, as the amount of work would be overwhelming and the benefit would be very limited.
I would recommend you that you just add the filter lowercase to the expression to work around this limitation.


error: "memory exhausted" when defining more than 9994 local-zones

Describe the bug
unbound 1.21 does not start anymore with the same config files that worked in 1.20. The error originates when parsing the config file:
# unbound-checkconf
/etc/unbound/blocklist.conf:9994: error: memory exhausted
read /etc/unbound/unbound.conf failed: 1 errors in configuration file

Minimal unbound.conf
server:
        access-control-view: <IP_ADDRESS>/16 adware_view
view:
        name: "adware_view"
        include: /etc/unbound/blocklist.conf

With blocklist.conf containing LOTS of entries like
local-zone: "some.domain.com" always_nxdomain
Sample configuration files are here:
config_files.tar.gz
If blocklist.conf is stripped down to 9993 lines, it works and unbound consumes around ~12M memory. So, this doesn't look like an OOM error.
With unbound 1.20 I had around 170k local-zone entries and with a memory consumption of around ~75M.
If this setup is somehow not supported anymore, how would I change it?
To reproduce

Use attached config files
Execute unbound-checkconf

Expected behavior
unbound still works.
System:

Unbound version: 1.21
OS: Linux Arch
unbound -V output:

 Version 1.21.0

Configure line: --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin --disable-rpath --enable-dnscrypt --enable-dnstap --enable-pie --enable-relro-now --enable-subnet --enable-systemd --enable-tfo-client --enable-tfo-server --enable-cachedb --with-libhiredis --with-conf-file=/etc/unbound/unbound.conf --with-pidfile=/run/unbound.pid --with-rootkey-file=/etc/trusted-key.key --with-libevent --with-libnghttp2 --with-pyunbound
Linked libs: libevent 2.1.12-stable (it uses epoll), OpenSSL 3.3.1 4 Jun 2024
Linked modules: dns64 cachedb subnetcache respip validator iterator
DNSCrypt feature available
TCP Fastopen feature available

BSD licensed, see LICENSE in source package for details.
Report bugs to<EMAIL_ADDRESS>or https://github.com/NLnetLabs/unbound/issues

I understand things are going wrong, but there have been no memory allocation changes for local zones between 1.20.0 and 1.21.0.

The issue reproduced exactly, it seems the grammar rules for the config parsing caused the stack depth for the parser to be exceeded at that point. The fix makes it not run down the stack. That fix makes the config example work for me. Thank you for detailed bug report!


Custom CSS should come AFTER Theme CSS

I've noticed when editing the custom.css file that the overrides do not work, so I viewed the source code and the custom.css is not in the right order to override the default template styles.
The CSS in your theme goes in this order:
style.css
custom.css
custom_cerulean.css
It should go:
style.css
custom_cerulean.css
custom.css

This is how Vanilla loads stylesheets; it's not related to the theme.

Ok, I'll let them know about the issue. Thanks


Add shortcut to edit textfield in editor

This is a rebased version of #32, adjusted to reuse the ExtendedEdit control.
Closes #32

Thanks, I was planning to get onto that.


Stop logging out critical info of database

The signer will print out the user name and password of the database
which could cause security problem.
The server side is OK.
Signed-off-by: Hu Keping<EMAIL_ADDRESS>

Can one of the admins verify this patch?

Good catch @HuKeping!  Thanks so much!


[padctrl/prim_pad_wrapper] Rework the way the pad attr WARL mask is determined

The WARL mask for the supported pad attributes is currently determined based on the Impl parameter inside padctrl, but this is probably not the cleanest way to implement this. One idea would be to have the prim_pad_wrapper output the WARL mask, since the actual implementation is selected within that wrapper.

The implementation of the WARL behavior has been moved into prim_pad_attr, which captures the supported attributes for a given pad library and technology target.


Text Won't Appear on Facebook

Hello Eddy,
I tried use this plugin, it works magfinicent on iOS then I tried to Android (I'm using Lollipop version).
But, the problem is text won't appear on facebook post dialog.
I there any problem?
Please, give me your advice.
Thank you in advanced.
Daksa Media

Please see the readme and a dozen of similar issues. Sharing text to Fb is not possible.


Functions should not be assignable to objects

Search Terms
function, object, type compatibility, assignment, generic constraint
Suggestion
I was surprised by the following behavior of TypeScript (as of version 3.0.3):
let o: object;
o = { p: 1 }; // fine [as expected]
o = 'a'; // error TS2322: Type '"a"' is not assignable to type 'object'. [as expected]
o = 1; // error TS2322: Type '1' is not assignable to type 'object'. [as expected]
o = (x: number) => x; // fine [UNEXPECTED!]
o(1); // error TS2349: Cannot invoke an expression whose type lacks a call signature. Type '{}' has no compatible call signatures. [as expected]

I searched everywhere for documentation and explanation of this behavior. The closest I could find is

object is a type that represents the non-primitive type, i.e. any thing that is not number, string, boolean, symbol, null, or undefined.

from the official handbook, which kind of implies that functions are not excluded. This behavior is nevertheless surprising given the fact that even JavaScript distinguishes between object and function types (at least in case of typeof.) (Not being a JavaScript expert myself, there does seem to be a difference in JavaScript, though: In case of let f = a => a; f.p = 1;, f.p evaluates to 1, whereas in case of let v = 1; v.p = 1;, v.p evaluates to undefined. This might explain why TypeScript handles functions the way it does, however, it shouldn't be relevant how JavaScript handles this, in my opinion, because such assignments don't work in TypeScript anyway.)
My suggestion is to make functions non-assignable to the object type (which can but doesn't have to include introducing a new type function (or something similar if the collision with the keyword is to be avoided) for all types that have a call signature).
Use Cases
The reason I stumbled upon this behavior is that I thought about constraining the generic type of a React higher-order component with object (as in function load<LoadedProps extends object, ProvidedProps extends object = {}>(…) {…} which loads some properties from the backend but still requires other properties to be provided by the caller). At least to me, it makes sense that properties have to be objects but with the current version of TypeScript you can still write load<(a: string) => string>(…) (though not load<string>(…)).
Additional Suggestion
There was also another reason why I thought about constraining the generic type: I'm using keyof LoadedProps in the code, which also only makes sense on objects – at least to me. Using the tooltip of Visual Studio Code, keyof has the following behavior:
type A = keyof { p: any }; // type A = "p" [expected]
type B = keyof string; // type B = number | "toString" | "charAt" | "charCodeAt" | "concat" | "indexOf" | "lastIndexOf" | "localeCompare" | "match" | "replace" | "search" | "slice" | "split" | "substring" | "toLowerCase" | ... 27 more ... | "padEnd" [unexpected because methods like toString also exist on objects]
type C = keyof number; // type C = "toString" | "valueOf" | "toFixed" | "toExponential" | "toPrecision" | "toLocaleString" [equally unexpected but at least consistent]
type D = keyof (string | number); // type D = "toString" | "valueOf" [also unexpected but makes sense given the above]
type E = keyof ({ p: any } | undefined); // type E = never [makes sense]
type F = keyof (string | undefined); // type F = never [makes also sense]
type G = keyof (any | undefined); // type G = string | number | symbol [seriously?! Strange but not really the focus of this issue]
type H = keyof ((a: any) => a); // type H = never [makes sense]

Wouldn't it make sense to support keyof only for object types?
type Partial<T> = {
    [P in keyof T]?: T[P];
};

could (respectively with this second suggestion then should) result in a compile-time error and would have to replaced by
type Partial<T extends object> = {
    [P in keyof T]?: T[P];
};

Feedback
If this has been asked, discussed or explained before, please refer me to the corresponding conversation or documentation. If this issue hasn't been raised before, do my suggestions make sense or is this behavior intended (and for what reasons)?
Checklist
My suggestion meets these guidelines:

[ ] This wouldn't be a breaking change in existing TypeScript / JavaScript code
[x] This wouldn't change the runtime behavior of existing JavaScript code
[x] This could be implemented without emitting different JS based on the types of the expressions
[x] This isn't a runtime feature (e.g. new expression-level syntax)

This wouldn't be a breaking change in existing TypeScript / JavaScript code

I guess it doesn't have to be a breaking change in existing code if, instead of redefining object, we introduce a new type objectWithoutFunctions (or something more elegant). (The second suggestion breaks existing code like in the given example but maybe it could still be considered for TypeScript 4.)

Much like how Dogs are Mammals, Functions are objects in JavaScript. They are instanceof Object, you can pass them to Object.keys, you can call defineProperty with them, you can assign properties to them, etc etc etc.
You can write something like this to achieve something close to the desired effect:
type ObjectButNotFunction = object & { prototype?: never; };

function fn(obj: ObjectButNotFunction) { }
// OK
fn({});
// Error
fn(() => { });

Thanks for the quick response and the hint how to define an ObjectButNotFunction type! I will gladly use this in my code.
What do you think about my second suggestion? The behavior of keyof string seems strange to me (given that you don't get methods like toString() with keyof { p: any }). And shall I report keyof (any | undefined) = string | number | symbol  as a bug or is this indeed intended?

Given your explanation, I tried the following, which works:
type FunctionWithProperty = (() => void) & { p?: number };
const f: FunctionWithProperty = () => { return; };
f.p = 1;

keyof FunctionWithProperty is then "p", which is nice.
How would you create an instance if the key p wasn't optional?

How would you create an instance if the key p wasn't optional?

As of 3.1, simply
const f= () => { return; };
f.p = 1;
const y: (() => void) & { p: number } = f;

@KasparEtter keyof {p:any;} works as designed.
http://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-1.html
Seems like 'keyof string' just returns all members of 'String' interface.
Not sure whether it is desired or just implementation details.
You can see this in playground
And here everything is correctkeyof (any | undefined) = string | number | symbol
Check changes of keyof in 2.9
https://www.typescriptlang.org/docs/handbook/release-notes/typescript-2-9.html
keyof now returns string | number | symbol.

Thanks a lot for all your responses! Since there exist enough open issues already, I close this one now with the following remarks and conclusions for all future readers:

As usual, JavaScript is to blame for my headache whereas TypeScript is awesome. Functions are indeed objects (as explained here), they are both instanceof of Function and Object, and I was simply misled by typeof. While I still think that TypeScript could (without implying should) handle functions differently, I see and understand why TypeScript functions the way it does.
As suggested by @RyanCavanaugh, you can achieve what I as looking for with type ObjectButNotFunction = object & { prototype?: never; };. If I'm not mistaken, this works only in TypeScript 3, though. In our project, where I'm stuck with TypeScript 2.9.2, unfortunately, I can still assign a function to a variable of that type. Moreover, the construction of this type is counterintuitive (at least to me) and should ideally be documented in the handbook as objects also have a prototype.
I took the keyof examples from my Visual Studio Code running TypeScript 2.9.2 (again, my bad, sorry). Using the excellent Playground with tooltip support, which I wasn't aware of, keyof (… | undefined) is now consistently ignoring the undefined part (see the link to the Playground). (It would be great if one could choose an older TypeScript version in the Playground but this is again a different topic!)
Supporting keyof only for types that extend object might still be a worthwhile suggestion for the TypeScript team but this was not the focus of this issue. (What I mean is not that keyof should return never for all non-objects but rather that keyof number, for example, should be a compile-time error and thus also Partial<number> – instead of being number, which I don't get at all given what keyof number returns (see this Playground).)