Games don't detect ultrawide resolution by default

Hyprland Version
 System/Version info
Hyprland, built from branch  at commit e8e02e81e84bb04efa0c926361ec80c60744f665  (README: minor cleanup).
Date: Tue Apr 16 16:36:21 2024
Tag: v0.39.1-1-ge8e02e81, commits: 4461

flags: (if any)

System Information:
System name: Linux
Node name: ninth
Release: 6.8.7-gentoo-dist
Version: #1 SMP PREEMPT_DYNAMIC Thu Apr 18 14:31:14 -00 2024

GPU information:
03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 14 [Radeon RX 5500/5500M / Pro 5500M] [1002:7340] (rev c5) (prog-if 00 [VGA controller])

os-release: NAME=Gentoo
ID=gentoo
PRETTY_NAME="Gentoo Linux"
ANSI_COLOR="1;32"
HOME_URL="https://www.gentoo.org/"
SUPPORT_URL="https://www.gentoo.org/support/"
BUG_REPORT_URL="https://bugs.gentoo.org/"
VERSION_ID="2.14"

plugins:

Bug or Regression?
Bug
Description
Games don't detect 21:9 resolution (2560x1080) by default on hyprland. I have a problem with gamescope because it makes my games not launch anymore forever when i run them with gamescope, only fix is reinstalling the game (im now having to reinstall baldurs gate 3 :smiley: ), so I can't use it to force resolution (it does work if i force it).
Some games have all res available so I'm still able to set them, but, with games that try to detect dynamically, it doesn't work.
How to reproduce
Launch game from steam with ultrawide monitor
No ultrawide option available if it tries to detect from current monitor.
Crash reports, logs, images, videos
No response

almost all games run through xwl and use the primary x monitor to detect res. Set the primary X display with xrandr to your ultrawide.
Anyways, this is not a hl issue


Not working in fragment

Not working for me in fragment ...

sorry,Its working, I forgot to put android:indeterminate="true" inside progress in xml

Can i take a look of your code? I have a problem my app crashes always


server: fix reset password test

TestResetPasswordHandler depended on makeToken begin called twice during the initialization of a single test case and later assuming the result would match. Because the token has a timestamp accurate to the second, occasionally the timestamps would be slightly off within a single test case and cause the test to fail.
Adding a sleep statement to makeToken would cause the test to fail reliably.
Define a single token for each test case outside of the struct initializer so test cases compare the same token.
Closes #274
Additionally remove logging statements that dump entire HTML pages.

@bobbyrullo this PR has been updated

LGTM


Add support for custom queue runners

I have a custom implementation of QueueRunner but right now TF complains when serializing:

WARNING - tensorflow - Error encountered when serializing queue_runners.
Type is unsupported, or the types of the items don't match field type in CollectionDef.
unbound method to_proto() must be called with QueueRunner instance as first argument (got IteratorRunner instance instead)

The use case for the implementation is to take advantage of automatic thread starting from Experiment, Supervisor, managed_session, etc.
I could inherit from QueueRunner but a QueueRunnerBase would be ideal as much of the existing implementation assumes the use of enqueue_ops.
As an example, I have GeneratorRunner which runs a generator in a thread and enqueues the outputs. This is more flexible than the existing QueueRunner since it  supports placeholders with feed dictionaries.

@jimfleming do you have a solution in mind? (ie, is it an issue of an internal check being unnecessarily strict?)

That may be one issue and possibly a feature request for a QueueRunnerBase or for a more general thread runner. I haven't yet looked at what is involved with serialization so the check may be valid, in the case of my custom runner, particularly as it has not been tested in a distributed setting.
I'm open to suggestions for how to proceed and if a pull request is warranted I can put one together.

An alternative to "queuerunnerbase" is to implement it as new object and use duck typing to make it work with tensorflow serialization. The amount of stuff in QueueRunner is quite small, I'm not sure if it's worth using inheritance as opposed to "copy paste the needed bits"

I agree that it's quite small. It looks like add_queue_runner and start_queue_runners wouldn't be affected. QueueRunnerDef appears to expect a list of enqueue_op_name which breaks from my current use case as the generator performs the enqueue directly.

btw, things seem to be moving in the direction of single threaded stuff using "Hooks" ... not sure if there's a future for queue runners ... IE, instead of having multiple threads issuing run calls in parallel (and causing unreproducible memory errors when the scheduling gets unlucky), do everything in a sequence, see https://github.com/tensorflow/tensorflow/blob/4c192f060cf9ff897911d240c140299d6db257b6/tensorflow/python/training/basic_session_run_hooks.py
BTW, here's current existing code-base handles passing feed_dict to existing queue runners
https://github.com/tensorflow/tensorflow/blob/799e31f3840c21322e380e1ec6e5bacb95d016fa/tensorflow/contrib/learn/python/learn/learn_io/data_feeder_test.py

In particular, it seems "StreamingDataFeeder" is similar to your use case
https://github.com/tensorflow/tensorflow/blob/799e31f3840c21322e380e1ec6e5bacb95d016fa/tensorflow/contrib/learn/python/learn/learn_io/data_feeder.py#L549

Interesting. I agree that queue runners have their issues, especially wrt reproducibility. I'll look at using run hooks to replicate this without threads.
Something like StreamingDataFeeder seems to fit. It's not clear from the tests how it would be used with something like Estimator/Experiment which does not accept a feed_dict, but rather an input_fn which returns tensors fed by a queue. I guess I could combine with something like FeedFnHook but this feels hacky.
Since it sounds like queue runners are going away the original issue is no longer accurate. If this is moving towards a usage question of existing functionality I can file on SO.

@mrry, could you comment on this issue. I think we can close and move to SO based on discussion, but you should take a look. Thank you!

I'm not sure what's a possible action is here... or what the utility of a new class hierarchy would be. There's already a way to register serialization and deserialization functions for custom graph-collection objects using register_proto_function(), so perhaps you could use that? I don't think there's any additional magic we can bring for your GeneratorRunner since we don't have (AFAIK) a standard way to serialize a Python generator.
(As an aside, we're trying to find ways to reduce the need for queue runners, but they're in the API for 1.0, so they'll be around for a while but I doubt we'll invest much effort in improving them.)

It seems this kind of modification is easier to do as a library on top of TensorFlow rather than part of TensorFlow itself (Conway's Law). A change to core needs to have some benefit that's not easily achievable when outside of core. Now that TF 1.0 is out, I'm hoping 3rd party libraries will emerge which will collect things like that into toolboxes that are add-ons to TensorFlow. I think this generator pattern is useful, here's a recent user than wanted to know how to use a generator as TensorFlow input -- http://stackoverflow.com/questions/42322176/tensorflow-custom-data-reader-using-py-func


Prevent users from being able to reuse old passwords

A setting should be added that would prevent users from being able to reuse the previous password. This would mean a new column would have to be created, in which, upon changing the password, the old password would be stored. It goes without saying that the HASHED version of the password would be saved.

If you really want to prevent it, you need to store the old passwords in a seperate table! :)

That's also possible, it would definitely be safer. Thanks for the suggestion!


rename filename to title is not supporting frontmatter title stype

Checks

[ ] I confirm I have restarted NotePlan and this problem still persists.
[ ] Is this a repeatable problem?

Describe the bug
A clear and concise description of what the bug is.
What do you expect it to do instead?
To Reproduce
Steps to reproduce the behavior:
have a file with frontmatter title like
---
title: test title
---

Screenshots
If applicable, add screenshots to help explain your problem.

System

Device: mac
OS: Sonoma 14.5 (23F79)
NotePlan Version [e.g. 3.0.25]
Plugin Name & Version Note Helpers v0.19.2

Additional context
Add any other context about the problem here.
Plugin Console Log
To provide us with more clues about where the bug/error is occurring...

Open the Plugin's Preferences by going to NotePlan's menu > Preferences > Plugins and clicking the settings "cog" icon next to the plugin in question. Scroll to the bottom and set the logging level to "DEBUG" and click "Save & Close"
Now open the Plugin Console by going to Noteplan > Help > Plugin Console (not the macOS Console app).
Run the plugin command you're reporting
Copy the output from the Plugin Console and paste it below
Delete any output that has personal information you don't want in there

    PASTE_PLUGIN_CONSOLE_OUTPUT_HERE

Thanks for the report. I've added it to my list.

Will be released in v0.20.


Don't let grobid occupy 8070 port when using docker image

Hi, I saw the document that we can map 8070 to 8080 if we want to use grobid on 8080.
But in this way, 8070 is still used for grobid. Here I have another need that 8070 is not available and I don't want grobid occuping on this port. How can I do it if I use docker image?

Hello @JaniceXiong !
When using the docker image with port mapping, 8070 is not used on the host machine by Grobid, only "inside" the container.
For instance, I start Grobid image with mapping to 8080:
docker run -t --rm --init -p 8080:8070 lfoppiano/grobid:0.7.0

Port 8070 on the host machine is free (checked with sudo lsof -i -P -n | grep LISTEN on linux).
If you want Grobid to use another port inside the container, you can always indicate another port in the config file, see the documentation -> https://grobid.readthedocs.io/en/latest/Configuration/#service-configuration (last paragraph)
but it does not impact the host machine where the container is running.


[Updates] ChainpipeVar-Clarifications

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: ____Updated chained pipeline variables doc as customers were constantly confused by the information and couldn't understand the information Added screenshot
Jira/GitHub Issue numbers (if any): _______https://harnesssupport.zendesk.com/agent/tickets/66309
Preview links/images (Internal contributors only): ____ included in PR

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

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


Unable to download from asset library

res://Gmap-572c45022f7a39e66ddf30b8fe8150c24a155909/addons/gmap/plugin.gd:6 - Parse Error: Preload file "res://addons/gmap/builder/MapBulder.tscn" does not exist.
modules/gdscript/gdscript.cpp:2788 - Failed to load script "res://Gmap-572c45022f7a39e66ddf30b8fe8150c24a155909/addons/gmap/plugin.gd" with error "Parse error".  If you want to keep it off you need to change line 6 in "res://Gmap-572c45022f7a39e66ddf30b8fe8150c24a155909/addons/gmap/plugin.gd" to builder = preload("res://Gmap-572c45022f7a39e66ddf30b8fe8150c24a155909/addons/gmap/builder/MapBulder.tscn").instantiate()

Thanks <3


Clarify OpenSSL 1.1.1 Status

Take it or leave it.  #19

Thanks for your interest in our work. The proposed addition is a duplication of what is covered in more detail in and by the "Status" section, though.

Just to clarify here, I see the information is implied by the bottom of the section you reference, but it does not seem clear to me at all.  In my opinion, ideally there would be a clear and obvious path for every visitor to switch to quantum-informed algorithms.  However, I understand your work is on the cutting edge and most of your visitors will be intellectuals with sharper eyes than I have.  Thank you for your needed work.

Thanks very much for this needed "external" view: By no means our work is meant for "sharp eyed intellectuals" only. To the contrary we spent a lot of effort to make things as easy as possible to consume (e.g., doing docker images) for people with less time and interest to dive into all details of PQ/QS crypto.
You are pointing out a relevant shortcoming that I only now realized myself: The OpenSSL provider had been part of the OpenSSL fork and is not properly documented at the project overview at https://openquantumsafe.org (in particular the part on TLS). We'll fix this.
As the various OQS subprojects further may have non-obvious interdependencies for the initial user it probably is a good idea to provide additional pointers from the github READMEs to the project overview site to explain those to the "unwary". Will notify you of updates via comment here. Thanks again for your time to make us aware of this.

Thanks for your links.  Looks like https://github.com/open-quantum-safe/oqs-engine was what I was wondering the status of, and it needs a dev to be able to continue.
Apologies if I have taken your time.


Jaden

I added a main.py file which checks if the game is running and displays a black tkinter box with the text "StarCraft II is running!" as long as there is a running instance of StarCraft II. Once you close the game, it will display "Closing StarCraft II..." for three seconds before terminating. Let me know what you guys think.

Hi @Jaden-Albrecht
Thank you for the patch, but could you please describe what is the purpose of it?
Regarding the documentation part:
We already have the docs folder with different info. It is preferred to extend it with documentation in .md format rather then with .docx files. Especially because many people use linux or mac and have problems with the docx format.

Hi there,
I made a mistake pushing these changes to the master branch. Sorry about
that! I'm working on a personal project and forgot to switch to a different
forked repository.
On Tue, Oct 10, 2023 at 1:03 PM Alexander Kurbatov @.***>
wrote:

Hi @Jaden-Albrecht https://github.com/Jaden-Albrecht
Thank you for the patch, but could you please describe what is the purpose
of it?
Regarding the documentation part:
We already have the docs folder with different info. It is preferred to
extend it with documentation in .md format rather then with .docx files.
Especially because many people use linux or mac and have problems with the
docx format.
—
Reply to this email directly, view it on GitHub
https://github.com/cpp-sc2/cpp-sc2/pull/134#issuecomment-1756062906, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/A6256BUAYE6V7LJBMW6NMXDX6WLX3AVCNFSM6AAAAAA52YMT7SVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONJWGA3DEOJQGY
.
You are receiving this because you were mentioned.Message ID:
@.***>

Ah, I see.
No problem, feel free to contribute ;)


Incorrect code snippet

For item 9. In AppDelegate.cs, update FinishedLaunching() to match the following code: the code is not syntactically correct.
It should be:
public override bool FinishedLaunching(UIApplication application, NSDictionary launchOptions)
{
    if (UIDevice.CurrentDevice.CheckSystemVersion(10, 0))
    {
        UNUserNotificationCenter.Current.RequestAuthorization(UNAuthorizationOptions.Alert | UNAuthorizationOptions.Badge | UNAuthorizationOptions.Sound,
                                                                (granted, error) => InvokeOnMainThread(UIApplication.SharedApplication.RegisterForRemoteNotifications));
    }
    else if (UIDevice.CurrentDevice.CheckSystemVersion(8, 0))
    {
        var pushSettings = UIUserNotificationSettings.GetSettingsForTypes(
                UIUserNotificationType.Alert | UIUserNotificationType.Badge | UIUserNotificationType.Sound,
                new NSSet());

        UIApplication.SharedApplication.RegisterUserNotificationSettings(pushSettings);
        UIApplication.SharedApplication.RegisterForRemoteNotifications();
    }
    else
    {
        UIRemoteNotificationType notificationTypes = UIRemoteNotificationType.Alert | UIRemoteNotificationType.Badge | UIRemoteNotificationType.Sound;
        UIApplication.SharedApplication.RegisterForRemoteNotificationTypes(notificationTypes);
    }

    return true;
}

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

ID: 45afd17d-e909-ccd9-01c3-f746bdf406a2
Version Independent ID: d2c8cc69-5a37-4c73-d48b-9c058cf4595e
Content: Send push notifications to Xamarin using Azure Notification Hubs
Content Source: articles/notification-hubs/xamarin-notification-hubs-ios-push-notification-apns-get-started.md
Service: notification-hubs
GitHub Login: @sethmanheim
Microsoft Alias: sethm

@c-lamont Thank you for your feedback! We will review and update as appropriate.

@c-lamont Thanks again for the feedback! I have created PR for this and it will merge soon.


vm: Type values obtained from a typedef should represent the underlying type, not the typedef

This is the vm specific issue for #32782, which has the details. Note that it is possible that it will be resolved because the issue is handled by the common front end.

Note that the associated test language_2/type_alias_equality_test.dart still fails on several configurations of the vm as of April 25, 2019.
However, it succeeds with dart2js compiled code, so the expectation that

it is possible that it will be resolved because the issue is handled by the common front end

does not seem to be valid.


hyprwayland-scanner: 0.3.10 -> 0.4.0

Automatic update generated by nixpkgs-update tools. This update was made based on information from passthru.updateScript.
meta.description for hyprwayland-scanner is: Hyprland version of wayland-scanner in and for C++
meta.homepage for hyprwayland-scanner is: https://github.com/hyprwm/hyprwayland-scanner
meta.changelog for hyprwayland-scanner is: https://github.com/hyprwm/hyprwayland-scanner/releases/tag/0.4.0
Updates performed

Ran passthru.UpdateScript

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact
Checks done

built on NixOS
The tests defined in passthru.tests, if any, passed
found 0.4.0 with grep in /nix/store/rjd7nhczyq791pqmpzzmzkdsa4mwk0gs-hyprwayland-scanner-0.4.0
found 0.4.0 in filename of file in /nix/store/rjd7nhczyq791pqmpzzmzkdsa4mwk0gs-hyprwayland-scanner-0.4.0

Rebuild report (if merged into master) (click to expand)

23 total rebuild path(s)

23 package rebuild(s)

First fifty rebuilds by attrpath

grimblast
hdrop
hyprland
hyprlandPlugins.borders-plus-plus
hyprlandPlugins.csgo-vulkan-fix
hyprlandPlugins.hy3
hyprlandPlugins.hycov
hyprlandPlugins.hypr-dynamic-cursors
hyprlandPlugins.hyprbars
hyprlandPlugins.hyprexpo
hyprlandPlugins.hyprfocus
hyprlandPlugins.hyprgrass
hyprlandPlugins.hyprscroller
hyprlandPlugins.hyprspace
hyprlandPlugins.hyprtrails
hyprlandPlugins.hyprwinwrap
hyprshade
hyprshot
hyprwayland-scanner
nwg-panel
waybar
xdg-desktop-portal-hyprland

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/rjd7nhczyq791pqmpzzmzkdsa4mwk0gs-hyprwayland-scanner-0.4.0 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A hyprwayland-scanner https://github.com/r-ryantm/nixpkgs/archive/933362dc0d8f99024c1df22a2bdf2552c693d6c9.tar.gz

Or:
nix build github:r-ryantm/nixpkgs/933362dc0d8f99024c1df22a2bdf2552c693d6c9#hyprwayland-scanner

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/rjd7nhczyq791pqmpzzmzkdsa4mwk0gs-hyprwayland-scanner-0.4.0
ls -la /nix/store/rjd7nhczyq791pqmpzzmzkdsa4mwk0gs-hyprwayland-scanner-0.4.0/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

2 packages failed to build:

nwg-panel
nwg-panel.dist

24 packages built:

grimblast
hdrop
hyprland
hyprland.dev
hyprland.man
hyprlandPlugins.borders-plus-plus
hyprlandPlugins.csgo-vulkan-fix
hyprlandPlugins.hy3
hyprlandPlugins.hycov
hyprlandPlugins.hypr-dynamic-cursors
hyprlandPlugins.hyprbars
hyprlandPlugins.hyprexpo
hyprlandPlugins.hyprfocus
hyprlandPlugins.hyprgrass
hyprlandPlugins.hyprscroller
hyprlandPlugins.hyprspace
hyprlandPlugins.hyprtrails
hyprlandPlugins.hyprwinwrap
hyprshade
hyprshade.dist
hyprshot
hyprwayland-scanner
waybar
xdg-desktop-portal-hyprland

Maintainer pings
cc @fufexan for testing.

No need to update until next Hyprland release.


Installs role management plugin

Installs Members plugin and updates Composer dependencies

What is the members plugin for?

@tanyapowell Charlene requested the ability to create custom roles on the job board, this plugin enables that


Add Kakao to USERS.md

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Fixes: #issue-number
<!-- Enter the release note text here if needed or remove this section! -->

/test

release-note/misc label is needed for this from who are with the appropriate permissions.


Feat: UI friendly validation on the signup page

Describe the feature
I see that the code is already using react-toastify,so it will ui friendly to show the validations using react-toastify.Adding the password strength is making the form unnecessary long.I will show even the strength of the password using react-toastify.
Add ScreenShots
Instead of overwhelming the form using all these I will show validation in ui friendly manner

Record

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

Will you be able to solve this issue ?? Even i feel , the validations should be show through toastify

@VanshKing30 yup I will be able to solve


Stream Output Support

With the Vulkan 1.1.88 spec update including the new VK_EXT_transform_feedback extension, DXVK can finally support Stream Output, which has been a big issue for a number of games (see #135).
Prerequisites
All of the following are required in order for Stream Output to work. If any of these requirements are not met, you will see log messages indicating that Stream Output support is not present.
Please make sure that your setup is working correctly before reporting bugs.
DXVK
DXVK enables Stream Output support starting with commit 6b5aa0b92866910b5fbbbeb12428c0e84c2c91ee. A new release is planned shortly.
Drivers
You will need a driver which implements the VK_EXT_transform_feedback extension:

AMD: A patch series for the RADV driver is available here.
Intel: A patch series for the ANV driver is available here.
Nvidia: Use the Vulkan beta version 396.54.09.

Wine
Wine needs to be patched in order to expose the extension to DXVK:
winevulkan-transform-feedback.patch.txt
On Arch Linux, you may use wine-tkg-git, otherwise, winevulkan needs to be patched manually.
Screenshot

Witcher 3: Geralt fighting the previously problematic Sirerens, with Hairworks enabled.

Wow! I think the time to ditch the Windows partition has come. But I'll wait for the final version of Wine and Nvidia drivers with support, anyone know the ETA for those?

Wine should hopefully come with updated winevulkan in the next release (3.19, probably in two weeks). Not sure when official driver releases will land, might still take a while.

@doitsujin Brilliant work, THANK YOU!!! and to everyone involved into making this happen.
If anyone needs, I have uploaded a pre-patched version of Wine 3.18 with the Stream Output.
Wine 3.18 Source: https://drive.google.com/file/d/1SPFB71dZCejKVLxwIrkGaBQiyStPd9eb
Pre-compiled Build 3.18 with StreamOutput (Built using Debian 9.5): https://drive.google.com/file/d/1Eoaydn1XbwK0UWpn8swZ7DKcdrF1Ybxy
I haven't tried Witcher 3 yet however here's a screenshot of Vikings: Wolves of Midgard with DXVK, the main character and all enemies didn't render at all previously.

Oooooooooooohh, boy!

Huge thanks for this !!!
Can't wait to get home and try it on the Witcher.

Nvidia: Use the Vulkan beta version 396.54.09.

How about those on 410.XX already? Either downgrade to the 396 beta or wait for one to be released for 410.xx?

@MinIsMin The option is still used for users who don't have a driver/wine version with Transform Feedback support.
@C0rn3j The 396 beta driver is currently the only one which implements the extension. But it also has performance improvements which have not yet landed in the main branch, so it might be worth checking out either way (unless you have a Turing GPU).

Rotfiends working:

Giana Sisters : Twisted Dreams crashes with RADV driver with transform feedback enabled (required by the game). Previous versions of DXVK (0.80 and 0.81 tested) work, but with broken output. The feature is working correctly on my system since I can successfully run Witcher 3 with correctly rendered rotfiends and hairworks.
Here's the error:

SPIR-V parsing FAILED:
In file ../mesa-9999/src/compiler/spirv/vtn_variables.c:1952
base_val->value_type == vtn_value_type_pointer
1244 bytes into the SPIR-V binary

Might be a bug in my shader compiler, I'll have to take a look at it.

Very nice to see this done!

Hurrah! Hurrah! HURRAH! News of the year. :) THANK YOU!

@doitsujin Brilliant work, THANK YOU!!! and to everyone involved into making this happen.
If anyone needs, I have uploaded a pre-patched version of Wine 3.18 with the Stream Output.
Wine 3.18 Source: https://drive.google.com/file/d/1SPFB71dZCejKVLxwIrkGaBQiyStPd9eb
Pre-compiled Build with StreamOutput (using Debian 9.5): https://drive.google.com/file/d/1Eoaydn1XbwK0UWpn8swZ7DKcdrF1Ybxy
I haven't tried Witcher 3 yet however here's 2 screenshots of Vikings: Wolves of Midgard with DXVK, the main character and all enemies didn't render at all previously.

Sorry but your game is on linux for what try this game with dxvk ?

What Mesa version should I use with AMD?

@liberodark Because it's a test case for Stream Output? Please don't start any off-topic Linux Native vs Wine discussions.

I am sorry, but how to apply the patch to wine manually?

I feel confused everytime someone talk about technical stuff, so I need to ask some questions if you excuse me:
1- How to apply a patch to Wine manually?
2- What Mesa version that support VK_EXT_transform_feedback extension?
3- Does esync-staging-ppa-3.18 have this patch?

1- Like any other patch. Google has all the answers for that.
2- Devel, with some added patches that aren't yet merged in master.
3- Yes.

@liberodark

Sorry but your game is on linux for what try this game with dxvk ?

Just to keep to keep it short - the Linux version is not available on GOG.

THIS is just awesome! Thank you @doitsujin and everyone who helped to make this possible!

Stream Output seems to be working properly with the GOG version of The Witcher 3 on an AMD RX580 8GB, Kubuntu 18.04 x64 (KDE Plasma 5.13).
Manually built Wine prefix with:

DXVK 0.90 release
RADV via Mesa 8.3 (current master branch + the referenced patch series applied manually (only patches 02 - 15, the first is already applied on master) + local mesa build+install).
Jrugia's pre-built Win 3.18 with the StreamOutput patches (https://drive.google.com/file/d/1Eoaydn1XbwK0UWpn8swZ7DKcdrF1Ybxy).

I tested on Skellige (lot of sirens and ekhidnas).
The game also seems to be faster by ~5-10% but that may be because I have updated from an older DXVK version (0.42).

I installed mesa-git 18.3 from AUR (it took 9 hours to compile), and it updated mesa+vulkan-radeon+vulkan-intel, then I updated vulkan-icd-loader to the latest version I found 1.1.85+2969+5abee6173-1, then I installed esync-staging-ppa-3.18 that contains the latest patches, but DXVK_HUD shows Vulkan version 1.0.68! What did I do wrong?!

Don't know, please post your full DXVK logs.
Also, there's no way that compiling mesa-git takes 9 hours, except maybe if you did it on a first-gen Raspberry Pi. Any modern desktop CPU can do it in a few minutes, so I'm not sure what exactly you compiled there.
Also, please ignore the Vulkan version. It means absolutely nothing, and you don't need to update the ICD loader.

witcher3_d3d11.log
witcher3_dxgi.log
I went to the sea looking for Sirens, but it is still invisible for me.

You haven't said your graphics stack, but AUR mesa-git doesn't have any of the patches added. They haven't been pulled to master yet, you have to add a prepare() section to the PKGBUILD that applies the relevant patches.

I don't know how to do that. I will wait for the next update from Mesa that contains this patch.

@doitsujin  I asked about the time it took me to compile Mesa-git on Manjaro forum, and an admin there told me: "Sounds about right.", so I guess it is ok.

@ahmed-elsayed2017 modify your /etc/makepkg.conf file to have your system use all your CPU during build by adding a -j in MAKEFLAGS.
But yeah, if you don't want to mess around with patches, better wait for them to get merged into the master branch.

@maugre
What is the right value for my CPU?
I use Intel core I5 4200M

@ahmed-elsayed2017

I think some of them are already in (updated Vulkan headers etc.), which makes applying them manually even harder.

Just apply patches 2-15 for radv for now, skip the first one.

@C0rn3j
It doesn't give accurate answer but I will try j8 and see how much CPU usage will be during compiling.

@ahmed-elsayed2017 By the way, you don't want to enable too many concurrent make jobs if you do not have enough memory, keep that in mind. It may hit swap hard, especially on llvm compilation.

I don't know how helpful I'm really being doing this (as if you can't edit the file yourself, you probably shouldn't trust an idiot on the internet giving you a random file with the ability to break your PC...), but for Arch Linux users using RADV here's the PKGBUILD I used: PKGBUILD
You need to download it and save it to a folder, you also need the patch files 2-15 from here saved in the same folder and you need the LICENSE file from the AUR also saved in that folder.
Open a terminal/console in the folder and run makepkg -i
This will either work for you, or it won't. I shan't help you debug it if it doesn't, or if your PC explodes. You've been warned...

@ahmed-elsayed2017 https://ark.intel.com/products/76348/Intel-Core-i5-4200M-Processor-3M-Cache-up-to-3-10-GHz-
# of Cores 2
# of Threads 4

Looks like its a dual-core w/hyperthreading. So, you should be using -j4 or -j5 (if plenty of ram, go for -j5).

@doitsujin I also see Józef Kucia has added a patch to wine:
https://source.winehq.org/patches/data/152604
winevulkan: Update vk.xml to 1.1.88.
This seems to implement the winevulkan-transform-feedback.patch (+ more) i think.

I replaced the custom patch in the original post with a link to the official wine patch.

@ahmed-elsayed2017 https://ark.intel.com/products/76348/Intel-Core-i5-4200M-Processor-3M-Cache-up-to-3-10-GHz-
# of Cores 2
# of Threads 4

Looks like its a dual-core w/hyperthreading. So, you should be using -j4 or -j5 (if plenty of ram, go for -j5).

I used -j8 to compile lib32-mesa-git and it took 4.5 hours (half the time was before). Cpu usage didn't exceed 30%. I will try -j12 next time to see if it will increase cpu usage and being stable at the same time.

@ahmed-elsayed2017 the "-j" option sets how many threads you use. It is not really beneficial to use "too many", or else one would just pop "-j100" and compile very fast...
You can easily try different settings, but afaik you will only loose time compiling with too many threads. Discussion about having "thread +1" vs "threads" - ie. for YOU "-j4" vs "-j5" is up to debate, and kind of non-conclusive :)
To check how many cores your Linux install have found, you can do:
lscpu
The output for ME with a i7-8700K 6cores+6threads is:
Architecture:        x86_64
CPU op-mode(s):      32-bit, 64-bit
Byte Order:          Little Endian
CPU(s):              12
On-line CPU(s) list: 0-11
Thread(s) per core:  2
Core(s) per socket:  6
Socket(s):           1
NUMA node(s):        1
Vendor ID:           GenuineIntel
CPU family:          6
Model:               158
Model name:          Intel(R) Core(TM) i7-8700K CPU @ 3.70GHz

Here you see i have 12 cpu's, listed as 2 threads per core, and 6 cores per socket.. with 1 socket, and that is correct based on my model.
I use "-j12" when i compile... but have not benchmarked if i could earn a millisec or two from doing "-j13" :)

Wine has landed vulkan patches with VK_EXT_transform_feedback upstream, so no need to patch it manually anymore, just build Wine master. It should be available in Wine 3.19 release.

Does this work with winelib versions or no? It might be unrelated, but when I use a winelib build(which at this point is 6 commits ahead of the release), the victory screens in Overwatch are blacked out. Works fine using the normal release. Admittedly this could be a result of one of the 6 commits to master since the .90 release but I figured I would mention this.

If there's a regression, please bisect it. I haven't heard any complaints about Overwatch since 0.90 though.

@Sukid I cant get World of Warcraft to launch at all with a winelib build. Tested building winelib with dxvk-0.81, dxvk-0.90 and 629587bedd92ef645afc7818445960530179599d
Possibly totally unrelated, but given they both are Blizzard games...

@SveSop this thread is for discussion of stream output support in DXVK

The Vulkan-Headers and Vulkan-Loader repos are not yet updated to 1.1.88. How do you compile dxvk-0.90 with transform feedback support?

You don't have to compile DXVK yourself, just use release build 0.90. You'll need to compile Wine though.

Compiling dxvk yourself doesn't need vulkan dev package at 1.1.88.

The only thing you need to compile yourself will be your graphics drivers. Try pulling down the mesa3d repo, apply the patches provided by the OP, build the drivers, then you can verify the header is there with vulkaninfo | grep VK_EXT_t and you should see the transform feedback extension. Unless you link your new drivers to /usr/lib youll have to prefix vulkaninfo with the LD_LIBRARY_PATH, LIBGL_DRIVERS_PATH, and EGL_DRIVERS_PATH environment variables.
OR
you can just wait a while for the patches to be merged and distributed

Unless you link your new drivers to /usr/lib youll have to prefix vulkaninfo with the LD_LIBRARY_PATH, LIBGL_DRIVERS_PATH, and EGL_DRIVERS_PATH environment variables.

You can use Vulkan ICD file for that. I.e. something like:

Oh. That's way more badass. Seems like the default for ubuntu 18 is /usr/local/share/vulkan/icd.d
The more you know.

@minionprocyk /usr/local/share/vulkan/icd.d doesn't even exist on Ubuntu by default.
/usr/local is for stuff installed via make install, it's common thing for all build systems to put it there by default. Being Ubuntu or not has nothing to do with it.

@mati865 Sorry I thought it was obvious this was from a build since we're talking about compiling graphics drivers.

Being Ubuntu or not has nothing to do with it.
good to know. I'm not very savy with differences across distros so I generally state the distro I work with.

Mesa 18.3 Devel with transform_feedback patch for Manjaro and Arch users
mesa
https://aur.archlinux.org/packages/mesa-transform-feedback-git
lib32-mesa
https://aur.archlinux.org/packages/lib32-mesa-transform-feedback-git/

https://github.com/doitsujin/dxvk/issues/719

@doitsujin Do you know if Mesa is going to release VK_EXT_transform_feedback patches in the next stable release 18.2.4?

Not until tests are complete and passing.
https://patchwork.freedesktop.org/series/50969/

This series adds support for the new VK_EXT_transform_feedback extension.
As far as I know, everything works but it's still all a bit experimental as
we don't have very good tests yet.  CTS tests are in-progress and we hope
to have decent testing soon.  We likely won't be landing them in master
until we get better testing as the testing is currently really sketchy.

I hope they'll do it in time before 18.3 though.

18.2.x releases are no feature updates anyway, so no.

Not until tests are complete and passing.
https://patchwork.freedesktop.org/series/50969/

This series adds support for the new VK_EXT_transform_feedback extension.
As far as I know, everything works but it's still all a bit experimental as
we don't have very good tests yet.  CTS tests are in-progress and we hope
to have decent testing soon.  We likely won't be landing them in master
until we get better testing as the testing is currently really sketchy.

I hope they'll merge it in time before 18.3 though.

I hope that too, because it doesn't work well right now on my AMD card

In the good side I tried Mafia III on Windows then I tried it on Manjaro with Mesa 18.3 git with RADV Patches for VK_EXT_transform_feedback, and the performance is better than Windows. The only downside right now is the graphic glitches, so I hope that it will be fix it soon.

Update: RADV just landed Transform Feedback support in mesa-git. No more manual patching required!

Great! So it will be available in 18.3.

Just got around to installing the 396.54.09 driver.
This patch also fixes non-rendering characters in Furi, awesome!

I play quake champions and have just discovered that not only am I using the wrong NVIDIA driver version (410.73) but I am also using the wrong Vulkan driver (1.1.82) version but since moving to Wine 3.19 staging Quake champions now works perfectly without any crashes with Sorlag or any maps that were known to cause problems.
I can only assume that the game needs to be told that the extension is available without actually using it? Either way it will keep me playing until the NVIDIA drivers are updated officially :D

@7oxicshadow Not entirely sure how nVidia does its versioning, but i guess 410.73 have vulkan 1.1.82, while the 396.54.09 has 1.1.85... However, from the LunarG site, the needed VK_EXT_transform_feedback for stream output came with 1.1.88?
You can check the apiversion with: vulkaninfo | grep -i apiversion, and if you have the extension: vulkaninfo | grep -i vulkaninfo | grep -i apiversion
With 396.54.09 it reads:
apiVersion     = 0x401055  (1.1.85)
VK_EXT_transform_feedback           : extension revision  1

Guess the extension is kinda "retro-fitted" to work with the latest vulkan beta-driver from nVidia, since it in theory should be apiVersion 1.1.88 ?

Just ignore the Vulkan version, it doesn't mean much. The extension had been in development for several months anyway.

@SveSop where you had:

You can check the apiversion with: vulkaninfo | grep -i apiversion, and if you have the extension: vulkaninfo | grep -i vulkaninfo | grep -i apiversion

Did you mean:
vulkaninfo | grep -i apiversion && vulkaninfo | grep -i VK_EXT_transform_feedback

Yeah, double grep was a typo :) Thx for clearing that up @enrique556

FYI. Found this on nVidia forums, hope it's useful:
https://devtalk.nvidia.com/default/topic/1044231/linux/which-driver-to-use-long-short/post/5297592/#5297592

Interesting note from the changelog for 410.x driver:

Removed support for the VK_NV_glsl_shader Vulkan extension.
This extension was added before the Vulkan ecosystem had mature
SPIR-V compilers and tools.  Now that the SPIR-V compilers and
tools have advanced, Vulkan developers are encouraged to use SPIR-V
instead of GLSL.

Perhaps something to plan for @doitsujin ? I see references to this in various places...

I see references to this in various places..

Where? I never used that extension.

Possibly not USED for anything, so it could probably just stay quietly in /include/vulkan/vulkan_core.h
#define VK_NV_glsl_shader 1
#define VK_NV_GLSL_SHADER_SPEC_VERSION    1
#define VK_NV_GLSL_SHADER_EXTENSION_NAME  "VK_NV_glsl_shader"

Yeah, those will disappear when I update the headers the next time.

How do I get the right nvidia driver version on arch? I can't find it in the repos.

415.18.02 is the version you should use nowadays.
aur/nvidia-vulkan or aur/nvidia-vulkan-dkms (you need linux-headers for this one assuming you use vanilla kernel)  is what you want.

415.18.02 is known to break all Unity Engine games on Wine, so if you have any of those, it's better to stay away from it. I'm not going to recommend it until this issue is sorted out.

I hope they don't make any new games with Unity Engine because all Unity games that I tried so far have problems with controllers and I have to use steam to config controllers to act as mouse and keyboard.

If you mean via WINE then you may have some luck with https://github.com/kozec/dumbxinputemu and sc-controller. A bit OT though.

@C0rn3j Thanks, I'm aware of it and will test it later, will update the wiki if it runs well.

Status update:

RADV and Nvidia support this extension in their mainline drivers.
Intel doesn't yet, but patches are available.
AMDVLK will probably support this quite soon as well.

@doitsujin Your post says 418.22 but I believe it's supposed to be 415.22.

Right, thanks.


Make --cached option as a switch

Commit 6635370 ("Add packages list subcommand") introduced --cached option as an option must be set. But it should be a switching option so that it can be disabled by default.

Ah, makes sense. LGTM.
Sorry that I didn't catch it in the previous PR. I wasn't familiar with argh and didn't bother to check it. But now I've read the document and I think switch is a better ... eh, option :smile:


ci.adoptopenjdk.net package upgrade problems

The Jenkins host ci.adoptopenjdk.net had a number of critical OS package updates pending.  Upgrading the packages has introduced problems with Jenkins.
Jenkins is up and running, but a number of nodes are currently flagged as offline.

Starting a Jenkins downgrade

Jenkins stuck on "Jenkins is going to shut down" message, even though no jobs in flight.
May need an OS signal to shutdown?
Looking for the launch line to restart Jenkins from the command-line.  Thought there may be a script for this, but looking back through command history it looks like:
/usr/bin/daemon --name=jenkins --inherit --env=JENKINS_HOME=/home/jenkins/.jenkins --output=/var/log/jenkins/jenkins.log --pidfile=/var/run/jenkins/jenkins.pid -- /usr/bin/java -Djava.awt.headless=true -jar /usr/share/jenkins/jenkins.war --webroot=/var/cache/jenkins/war --httpPort=8080

Figured we should get confirmation of this plan, so not yet tried.

I'd prefer if we moved to a seimple service / sysemctl / systemd  / whatever way of firing these up.  a sudo service jenkins restart is much simple to remember

Ok, plan is to downgrade Jenkins to most recent version that does not require JDK8.  From the Jenkins changelog this is 2.53, but that version is not available in the master machine's repositories, so the latest compatible I see is apt-get install jenkins=2.46.3.

Also issued an apt-mark hold jenkins ;-)

Jenkins successfully restarted.
Some observations:

build-marist-s390x-rhel-6 is offline due to Cannot find SSH User credentials
build-osuosl-ppc64-aix-71-2 is getting OutOfMemory errors
build-osuosl-ppc64le-fedora-24-2 is Disconnected by gdams

Otherwise things look ok.

Are we going to plan to move to 8 though?  I'd hate to fall behind in Jenkins versioning as security updates come thick and fast.

@karianna yes, there is an open issue #10 to move to JDK8 across all machines, and then we can update Jenkins.
Closing out this particular issue now.


Autocompletion for fastapi_users.db doesn't work

Describe the bug
In Visual Studio Code autocompletion for classes in module fastapi_users.db doesn't work.
To Reproduce
Steps to reproduce the behavior:
Type from fastapi_users.db import   and press  to trigger autocompletion. Only base class will be showed.
Expected behavior
In my environment where I install fastapi-users[sqlalchemy2] it must show SQLAlchemyBaseUserTable, SQLAlchemyUserDatabase and SQLAlchemyBaseOAuthAccountTable.
Configuration

Python version : 3.10
FastAPI version : 0.71.0
FastAPI Users version : 9.2.1

Same problem with fastapi_users.router module.


i18n and Japanese translation

Modification

modify script and JSON for i18n
add Japanese translation on JSON and create README.ja_JP that created by JSON

How to add another translation

add language to languages in questions.json

I recommend using locale (e.g. if you want Spanish, use es_ES )

add category translation to i18nCategories with locale

if translation is not found, script output English name

add sentence translation to questions with locale

if translation is not found, script output English sentence

run npm start , and get i18n README.md (e.g. README.es_ES.md)

Oh, I found conflict.
I'll solve it, if you accept pull request like this.

@VGraupera
I solved conflict.
Please check it.

Thanks, this is impressive


Add support for custom commands

This would allow a user to tailor the output of GLXOSD to their specific needs, line-by-line if they so chose. For example, one could have a ~/.glxosdrc file and specify the output of glxosd based on that similar to conky, by using individual shell commands and displaying the STDOUT from those commands.

I'll implement this once I get the chance. It's something that I had on my mind for a long time.

GLXOSD v3 has a plugin API. There isn't much documentation yet, but stay tuned for more information.


how to separate an duet audio?

how to separate an duet audio?

Hi,
if you were asking for the algorithm details, you can check the function here
https://github.com/yoyololicon/duet-svs-diffusion/blob/69c8276ee91f030aa6686c3a5e18c2348737119c/eval.py#L19
We didn't have a simple script that could be used immediately for simple use cases, but you can start something from there.
I hope this helps.

Please make a simple script for separation, so we can directly test the result.Thanks.

pred = separate_mixture(
sub_m,
noise,
denoise_fn,
sigmas,
s_churn=s_churn,
cond=cond,
cond_index=overlap_size,
use_tqdm=False,
gaussian=False,
)
in 'eval.py' noise and overlap_size is related to the source file, if I only have mix files,how to set 'noise' and 'overlap_size'?

mixture_path = 'input.wav'
mixture, sr = librosa.load(mixture_path, sr=44100)
mixture = torch.as_tensor(mixture, dtype=torch.float32)
model_config_path = 'model/config.yaml'
model_path = 'model/last.ckpt'
T = 100 #Number of diffusion steps
s_churn = 40.0 #S churn
hop_length = 1024
config_path, config_name = os.path.split(model_config_path)
with hydra.initialize(config_path=config_path):
cfg = hydra.compose(config_name=config_name)
sr = cfg.sampling_rate
length = cfg.length
model = hydra.utils.instantiate(cfg.model)
vctk_checkpoint = torch.load(
model_path,
map_location="cpu",
)
model.load_state_dict(vctk_checkpoint["state_dict"])
diffusion_schedule = hydra.utils.instantiate(
cfg.callbacks.audio_samples_logger.diffusion_schedule
)
model = model.cuda()
model.eval()
diffusion_schedule = diffusion_schedule.cuda()
inner_denoise_fn = model.model.diffusion.diffusion.denoise_fn
def denoise_fn(x, sigma):
x = x.unsqueeze(1)
return inner_denoise_fn(x, sigma=sigma).squeeze(1)
sigmas = diffusion_schedule(T, "cuda")
x = mixture.cuda()
original_length = x.numel()
padding = length - (original_length % length)
if padding < length:
x = torch.cat([x, x.new_zeros(padding)], dim=0)
result = separate_mixture(
x,
torch.randn(2, x.numel()).cuda(),
denoise_fn,
sigmas,
s_churn=s_churn,
use_tqdm=False,
)[:, :original_length]
est = result.squeeze().cpu().numpy()
filename = os.path.splitext(os.path.basename(mixture_path))[0]
for i, s in enumerate(est):
out_path = 'outputs' + '/' + f"{filename}_{i}.wav"
sf.write(out_path, s, 44100, "PCM_16")
Is it correct?And the speed is very slow,what should i do?Thanks.

When the mix file is separated into two files like A and B, there is B in A and A in B, and they are constantly interspersed. How to solve this problem? It seems that adjusting the s-churn can solve something?//Thanks

When the mix file is separated into two files like A and B, there is B in A and A in B, and they are constantly interspersed. How to solve this problem? It seems that adjusting the s-churn can solve something?//Thanks

Uploading 3files.zip…


Needing an old version of the player

I have a project that was created a year ago and need to grab a compatible player. When I'm looking at commits from a year ago, as far as I can tell, the player javascript is a binary file. Where can I grab an old player?
example : https://github.com/bodymovin/bodymovin/blob/5a0669929b4a7c1eb551531d063c031ce9bcf92c/build/player/bodymovin.js
Thank you! I know these type of requests are ultra annoying :-P

do you know the version of the player you need?
can you share a json file so I check the version of the export?

You bet :
https://gist.githubusercontent.com/Tolmark12/2849eac9014d757406c108fffeb103f4/raw/debf57d592aafdaf6938c4cd530035d54c06b50a/gistfile1.json

it's really old :)
can you try this player?
https://github.com/bodymovin/bodymovin/blob/5a0669929b4a7c1eb551531d063c031ce9bcf92c/extension/assets/player/bm.js

:D, yeah.
I think that's close, a few of the animations played, then I got an error :
Cannot read property 's' of undefined

I ended up expanding the minified libs file and extracting modymovin from there. Thank you for your help!!


CLOUDP-168427: remove parameters from the Error object

CLOUDP-168427
Description
Temp workaround that will enable us to process errors in the GO SDK.
Actuall fix made in the openapi.

Fixed this following open API spec. I think that the common pattern for an array returning everything is to return {}.
Returning object array strongly implies map.


Viewport stretch transform was calculated incorrectly

Viewport stretch transform was calculated using old size and/or view size 2d override upon size change. Transform scale was calculated using integer divison (Vector2i). There's a case to be made that the method stretch_transform() belongs in the Viewport class since it's already aware of the concept of stretching even though it's only used by the SubViewport. If this was the case, stretch_transform() could be automatically called inside _set_size on the Viewport, instead of relying on the caller to supply a new stretch_transform

Does this bug also occur in 3.x?

@awsker Does this bug also occur in 3.x?

No, I discovered this bug when porting my project to alpha4

Superseded by #67331.


Set node role to worker if nodepool has no role assigned

This makes the logic consist where no role means worker role.  For custom this is how we do it, but for node pools it seems to be different.
https://github.com/rancher/rancher/issues/28758

It's not really decided yet if this is the right behavior though.


Return an error when lampo-wallet already exists

Return the error when creating a new wallet while an old wallet already exists.
See comment https://github.com/vincenzopalazzo/lampo.rs/issues/233#issuecomment-2152618068 and https://github.com/vincenzopalazzo/lampo.rs/issues/233#issuecomment-2152661039

@Psycho-Pirate is working on this with https://github.com/vincenzopalazzo/lampo.rs/pull/295

@Harshit933 Do you think that this is fixed? can you double check? and closing the issue fi yes

The issue is describing

Return the error when creating a new wallet while an old wallet already exists.

So probably this is already solved right?

After creating a fresh new wallet I deleted it, then after if I put money on my bitcoin wallet via bitcoin-cli

This is an invalid operation, so probably you mean creating a new wallet in bitcoin core? and not a lampo wallet?

This is an invalid operation, so probably you mean creating a new wallet in bitcoin core? and not a lampo wallet?

When we create a new wallet in lampo, it esentially resides in .bitcoin/<network> and we communicate to that wallet via bitcoincore_rpc we can also communicate to that wallet via bitcoin-cli, which is what I did here.

So probably this is already solved right?

Yup, this issue is resolved, if we think that the user have not deleted the .lampo directory, which is an invalid operation.

if we think that the user have not deleted the .lampo directory, which is an invalid operation

Right it is, why someone should delete a wallet :) well it is also true that people do crazy stuff. Let see if we can improve this somehow


Advanced Search for Accounts

Create a search functionality, search accounts by concept, due date, amount, status.

Could be at the top right a "search logo" fixed and shows a popup


Install @vitejs/plugin-vue to handle .vue files.

Hello @eirslett
I had the same issue as https://github.com/eirslett/storybook-builder-vite/issues/4 and thanks to your recommendation it worked (changing the @storybook/vue3 version to 6.3.0-alpha.10) but I'm facing a new issue with Vue3 components.
Here is the complete error log :
 [vite] Internal server error: Failed to parse source for import analysis because the content contains invalid JS syntax. Install @vitejs/plugin-vue to handle .vue files.
  Plugin: vite:import-analysis
  File: /Users/thz/Documents/pro/Senz/senz-app/design/src/stories/Header.vue
  17 |                fill="#91BAF8"
  18 |              />
  19 |            </g>
     |                ^
  20 |          </svg>
  21 |
Acme

      at formatError (/Users/thz/Documents/pro/Senz/senz-app/design/node_modules/vite/dist/node/chunks/dep-66eb515d.js:43518:46)
      at TransformContext.error (/Users/thz/Documents/pro/Senz/senz-app/design/node_modules/vite/dist/node/chunks/dep-66eb515d.js:43514:19)
      at TransformContext.transform (/Users/thz/Documents/pro/Senz/senz-app/design/node_modules/vite/dist/node/chunks/dep-66eb515d.js:45028:22)
      at async Object.transform (/Users/thz/Documents/pro/Senz/senz-app/design/node_modules/vite/dist/node/chunks/dep-66eb515d.js:43716:30)
      at async transformRequest (/Users/thz/Documents/pro/Senz/senz-app/design/node_modules/vite/dist/node/chunks/dep-66eb515d.js:59433:29)
      at async /Users/thz/Documents/pro/Senz/senz-app/design/node_modules/vite/dist/node/chunks/dep-66eb515d.js:59555:32

package.json
{
  "name": "package",
  "files": [
    "dist"
  ],
  "version": "0.0.0",
  "scripts": {
    "dev": "vite",
    "build": "vue-tsc --noEmit && vite build",
    "serve": "vite preview",
    "storybook": "start-storybook -p 6006",
    "build-storybook": "build-storybook"
  },
  "dependencies": {
    "vue": "^3.0.5"
  },
  "devDependencies": {
    "@babel/core": "^7.13.15",
    "@storybook/addon-actions": "^6.2.8",
    "@storybook/addon-essentials": "^6.2.8",
    "@storybook/addon-links": "^6.2.8",
    "@storybook/builder-webpack5": "^6.3.0-alpha.12",
    "@storybook/vue3": "6.3.0-alpha.10",
    "@types/node": "^14.14.41",
    "@vitejs/plugin-vue": "^1.2.1",
    "@vue/compiler-sfc": "^3.0.5",
    "babel-loader": "^8.2.2",
    "sass": "^1.32.8",
    "sass-loader": "^11.0.1",
    "storybook-builder-vite": "^0.0.3",
    "typescript": "^4.1.3",
    "vite": "^2.1.5",
    "vue-loader": "^16.2.0",
    "vue-tsc": "^0.0.24"
  }
}

Do you have any ideas why @vitejs/plugin-vue is not detected please ^^' ?

Is this during start-storybook or build-storybook? Looks like in build.js I forgot to add the vue plugin. For start/dev, it should work, I'm not sure why it's not triggered...

Thanks for your quick response 😀
It's on the start-storybook command

if (framework === 'vue') {
        const vuePlugin = await import('@vitejs/plugin-vue').then((plugin) =>
            plugin.default()
        );
        plugins.push(vuePlugin);
    }

The code is doing this... why is it even using import() in the first place, this is CommonJS so it should use require(). 🤦

My framework value is vue3, instead of vue

Ah, that explains it! @SasanFarrokh do you know if we need to configure Vite differently for Vue 3 than for earlier versions?

I updated the plugin now, I think it should work with Vue. @thozh could you please try again, see if it works for you now?

Closing this - feel free to reopen if it's still an issue.

Yo ! I have the same issue and i don't understand why ?

@Gelocg would you mind opening a new issue with the details of what you're seeing, and ideally a reproduction or link to your repo that we can use to investigate?

Yo ! I have the same issue and i don't understand why ?

I have added vite.config.js and it works now for me.
const vue = require('@vitejs/plugin-vue2');
import { defineConfig } from "vite";

export default defineConfig({
    plugins: [vue()]
});


Update best-practice-security with TLS Cipher Suites.md

Hi @stellastrareviews. As this is an unsolicited PR with no text body description whatsoever I'm inclined to close this.
I'll ask for @crandmck  to take a look first.

Thanks @chrisdel101 ...
I'm not a security expert, so I have no idea if this is good advice.  It's important to provide good security guidance, so if it IS, then we should include it.
Perhaps @jonchurch can advise?   Otherwise, then, yes, we can just close this.

Suggest closing without merging.  Unsolicited PR recommending a proprietary tool which is redundant for the recommendations already provided.


[IRGen] Fix a large-types corner case wherein we have a module without any signature modifications but with callee modifications

Assume we have a module with functions that keep their signatures as-is. And assume we have a method call callee for which we modified the return type to be indirect.
In that case we need to re-create the applies to said callee.
The large loadable types pass had a check that if we did not modify any function signatures, we can exit the module pass early to reduce compile time, that check breaks the situation described above.
This commit changes the early-exit check so that we can skip the rest of of the module pass if we did not change any function signatures AND we did not change any applies.
rdar://problem/40809999

@swift-ci Please smoke test and merge


Wrong code highlight when error is in function body

EdgeDB Version: Docker: 1.0a4-2020071615~buster
EdgeDB CLI Version: edgedb-cli 1.0.0-alpha.4

Steps to Reproduce:
Run this code:
START TRANSACTION;
START MIGRATION TO {
    module default {
        function create_user(nickname: str, email: str, pass: bytes) -> integer
        {
            volatility := 'VOLATILE';
            using EdgeQL $$
                WITH
                    conflicting := (
                        SELECT User {
                            created_at,
                        }
                        FILTER .nickname = <str>$nickname OR .email = <str>$email
                        LIMIT 2
                    ),
                    deleted := (
                        FOR x IN conflicting
                        UNION (
                                DELETE
                                x
                            IF
                                NOT .email_verified
                                AND (datetime_of_transaction() - .created_at) > to_duration(hours := 24 * 5)
                            ELSE
                                <User>{}
                        )
                    )
                SELECT 1
            )
            $$;
        };
    };
};

Error message:
error: Unexpected 'conflicting'
   ┌─ query:12:7
   │
12 │                         FILTER .nickname = <str>$nickname OR .email = <str>$email
   │       ^^^^^^^^^^^^ error

CLI highlights code counting lines from the beginning of file instead of from the beginning of function body.
Both text highlight and line:character positions are wrong.

This is a bug in edgedb itself. It appears that context isn't set correctly for errors in functions bodies.


"Qiskit Runtime local testing mode" notebook is broken

URL to the relevant documentation
https://github.com/Qiskit/documentation/blob/main/docs/verify/local-testing-mode.ipynb
Select all that apply

[ ] typo
[x] code bug
[ ] out-of-date content
[ ] broken link
[ ] other

Describe the fix.
To reproduce, run
tox

Output:
❌  docs/verify/local-testing-mode.ipynb

An error occurred while executing the following cell:
------------------
from qiskit.circuit.library import RealAmplitudes
from qiskit.circuit import QuantumCircuit, QuantumRegister, ClassicalRegister
from qiskit.quantum_info import SparsePauliOp
from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager
from qiskit_ibm_runtime import SamplerV2 as Sampler
from qiskit_ibm_runtime.fake_provider import FakeManilaV2

# Bell Circuit
qc = QuantumCircuit(2)
qc.h(0)
qc.cx(0, 1)
qc.measure_all()

# Run the sampler job locally using FakeManilaV2
fake_manila = FakeManilaV2()
pm = generate_preset_pass_manager(backend=fake_manila, optimization_level=1)
isa_qc = pm.run(qc)

# You can use a fixed seed to get fixed results.
options = {"simulator": {"seed_simulator": 42}}
sampler = Sampler(backend=fake_manila, options=options)

result = sampler.run([isa_qc]).result()
------------------

---------------------------------------------------------------------------
ImportError                               Traceback (most recent call last)
Cell In[1], line 5
      3 from qiskit.quantum_info import SparsePauliOp
      4 from qiskit.transpiler.preset_passmanagers import generate_preset_pass_manager
----> 5 from qiskit_ibm_runtime import SamplerV2 as Sampler
      6 from qiskit_ibm_runtime.fake_provider import FakeManilaV2
      8 # Bell Circuit

ImportError: cannot import name 'SamplerV2' from 'qiskit_ibm_runtime' (/home/kjs/projects/documentation/.tox/py311/lib/python3.11/site-packages/qiskit_ibm_runtime/__init__.py)

Fixed by #1093


Read XML data into SMPQ & Add Affinity Matrix GUI Structure

Feature to read an XML file and populate SMPQ GUI data tables.
Feature to save SMP Data Grid tables data to a XML file.
Feature added to Import/Modify an XML and run SMP using XML file.
Affinity Matrix GUI structure added for New SMPData, CSV Import, DB Edit and XML import tables.

Just for completeness, let me state here that I have discovered that the issue documented in the 4th bullet above is unrelated to this PR.


Component request: file uploader

A file uploader component would be really useful. Especially since it will not be included in chakra-ui itself, see https://github.com/chakra-ui/chakra-ui/issues/457.

I think chakra-templates is not the place to build new chakra components. I will close this.


Docker setup not starting correctly

Hello,
I have troubles with getting the docker setup to work. After starting the containers with compose-setup.sh I get this:
Cannot start container f107133ba6fafad4c6e8b50e81800c2da4eca782c3b27aed6c2a46ba9acc66ee: Cannot link to a non running container: /portus_web_1 AS /portus_registry_1/portus_web_1

My portus_web container exits with:
/usr/local/bundle/gems/bundler-1.10.4/lib/bundler/spec_set.rb:92:in `block in materialize': Could not find execjs-2.6.0 in any of the sources (Bundler::GemNotFound)
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/spec_set.rb:85:in `map!'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/spec_set.rb:85:in `materialize'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/definition.rb:140:in `specs'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/definition.rb:185:in `specs_for'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/definition.rb:174:in `requested_specs'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/environment.rb:18:in `requested_specs'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/runtime.rb:13:in `setup'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler.rb:127:in `setup'
from /usr/local/bundle/gems/bundler-1.10.4/lib/bundler/setup.rb:18:in `<top (required)>'
from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `require'
from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:128:in `rescue in require'
from /usr/local/lib/ruby/2.2.0/rubygems/core_ext/kernel_require.rb:39:in `require'
from /usr/local/bundle/bin/thin:14:in `<main>'

Am I doing something wrong? Thanks in advance!

Hm.. I guess just removing the docker image (portus_web) and building it from the Dockerfile again solved this.


Adding browserify configuration for babel to support the latest brows…

Adding browserify configuration for babel to support the latest browserify version.

We did try webpack, but we had too many migration issues at the time and had to pull back. We are planning to migrate in the future once our app has stabilized in other areas.


Add a ValueBalance type

Motivation
As part of the value pools design we need to create a ValueBalance type.
Designs
https://github.com/ZcashFoundation/zebra/blob/main/book/src/dev/rfcs/0012-value-pools.md#create-a-new-valuebalance-type
Solution
Implement a type to hold value balances.
Review
Anyone can review the code.
Reviewer Checklist

[ ] Code implements Specs and Designs
[ ] Tests for Expected Behaviour
[ ] Tests for Errors

Follow Up Work

I'm going to get @dconnolly to do the initial review on this PR, because she was also working on the design.


Draw antennas, add padding

The client will now fetch antenna data and display the antennas on the map as squares.
Part of this implementation was to add a Map component which now handles rescaling of positions, something which was previously handled by FlowMap, HeatMap, and AntennaMap separately.
I also added padding to the rescaling algorithm, allowing data points to be shown even though they're right at the border of the data plot.

Also made the server url be saved to the client url, which means you don't need to re-insert the server url every time you relaod the client.


ERROR: Environment variable FREESURFER_HOME not set

Dear Sir or Madam:
I am running this code in jupyter on windows10.I had a problem：ERROR: Environment variable FREESURFER_HOME not set.
An exception has occurred, use %tb to see the full traceback.Can I run this code in windows?I would be grateful if you can give any assistance.

Hello,
the brainprint-python package currently requires that a working FreeSurfer installation (https://surfer.nmr.mgh.harvard.edu) is present and sourced on the system, hence the error regarding the FREESURFER_HOME environment variable.
While FreeSurfer can, in principle, run on a modern Windows system (see: https://surfer.nmr.mgh.harvard.edu/fswiki/FS7_wsl) we have not tested this and currently only support MacOS or Linux systems. We may remove the FreeSurfer dependency in the future, but likely not very soon.
Hope this still helps,
Kersten

Thank you for your reply.I try to run brainprint.py in the Ubuntu sussessfully.


redis pub/sub to publish when a task is created

Hi. first and foremost, thank you guys for this awesome piece of software.
I was wondering about the possibilities, and if it has been brought up yet and in that case what was the verdict, regarding using redis to PUBLISH to a channel (ex: conductor.worker.W1 when there is a new task scheduled for it.
I think in our case that would be a nice complement to traditional polling where we are using docker swarm and each worker/service usually is scaled up to 2 or more. So instead of having N workers polling (1 * scaled) times a second for tasks, using redis (or other) pub/sub to publish.

Hey @philipodev, Thanks for the suggestion in using pub/sub with Redis over polling. We do have plans to implement pub/sub, most probably as major version V3. But, we're not sure about the timeline. If you think you've enough bandwidth to help us accomplish this, we'd be very glad to coordinate with you.

Hi. Thank you for the reply.
I made a quick check before opening this issue and it seems that right now publish and subscribe is currently unsupported/not implemented in DynoJedisClient:
https://github.com/Netflix/dyno/blob/master/dyno-jedis/src/main/java/com/netflix/dyno/jedis/DynoJedisClient.java#L3229
I would love to help in any way you would let me.

@philipodev Apologies for delayed response. Yeah, Dyno client is yet to support pub / sub. But, the implementation in Conductor should be generic, configurable with at least one default implementation. Say, using Redis client. We shall check with Dynomite's roadmap for adding pub/sub.
Please add your proposal to this thread, with a brief overview of how the implementation would look like, and we shall take it to PR from there.

Conductor client registers available nodes to the server, then the server calls the client through RPC, would that be better?

@manheiba Conductor already has a gRPC implementation, which can be leveraged to support push tasks to workers. This also avoids the need to maintain a discovery layer. The specifics of this implementation, for eg., how the server would schedule tasks on 'n' available workers is yet to be figured.


Can I run jetson tx2 using FP32?

I want to run the imagenet example of tx2 board with FP32 precision. Does the tx2 support the FP32 precision? How can I do it? And I have tried "net_->DisableFP16()" but it doesn't work
Do I need to recompile jetson-inference with some command to achieve it?
Thanks for your help.

Hi, which vision primitive are you using?  (imageNet, detectNet, or segNet)
Add DisableFP16() call to the constructor code inside imageNet.cpp, detectNet.cpp, or segNet.cpp.  Then it should work.  For example, with imageNet:
imageNet::imageNet() : tensorNet()
{
	mOutputClasses = 0;
+       DisableFP16();
}

Thanks, I call the DisableFP16() out of constructor so it doesn't work before.
Btw, I also cannot obtain one good classification precision which I got on the PC platform under CPU mode and GPU mode using caffe even if I use disable FP16 to use FP32.

Though adding the 'DisableFP16();' code in imageNet, disabled the FP16(from the logs), the time taken to run the GoogleNet model is the same for both FP16 and FP32. Is that expected, or am I missing something. The logs look identical, even the output probabilities are exactly similar!
I am trying to run this on Nvidia Tegra TX2 running TensorRT 3.0.4


Project page implementation

WIP

dark mode looks disgusting

Changes

Added project
Support for image URL forming
Add Mentors schema
Add Framer Motion

I updated the due date for applications to Jan 30th based on convos on Discord

I updated the due date for applications to Jan 30th based on convos on Discord


Are there plans to support jest ^27?

Hi, I am having some peer dependency issues and looks like I need jest@27 but svelte-jester only currently supports <=26.
Are there plans to bump that up anytime soon?
Thanks in advance for the hard work on the package!
Best,
Jordan

Once I find some time in my current project :)

Closed in https://github.com/mihar-22/svelte-jester/pull/56


test: add test for metadata filters (box/box-codegen#454)

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

388 of 545 (71.19%)  changed or added relevant lines in 17 files are covered.
184 unchanged lines in 6 files lost coverage.
Overall coverage increased (+1.7%) to 43.733%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/managers/workflows.generated.ts
3
5
60.0%

src/schemas.generated.ts
349
504
69.25%

Files with Coverage Reduction
New Missed Lines
%

src/managers/folderMetadata.generated.ts
1
46.84%

src/networking/fetch.ts
1
80.75%

src/box/jwtAuth.generated.ts
2
80.0%

src/managers/metadataTemplates.generated.ts
3
40.92%

src/managers/fileMetadata.generated.ts
4
46.84%

src/schemas.generated.ts
173
38.03%

Totals

Change from base Build<PHONE_NUMBER>:
1.7%

Covered Lines:
7256

Relevant Lines:
12730

💛  - Coveralls


Issue/wait until model is released (#7307)

Pull request opened by the merge tool on behalf of #7307

Merged into branches iso7 in d1c5af3203029f1f81e95bde914927b87508213a


Don't Unpause Pre-allocated containers that were never used

These containers by design are not paused but we do not track pause/unpause carefully enough and end up unnecessarily unpausing the container during reclamation.  This results in a harmless but misleading error message.

This has been fixed so we do not unpause stem cell containers on reclamation if they were not used.


Cleaning GlobalEnvironment class

Description

Making the class strict & final
Rename the method addDefintion() to addDefinition().
Define the type and make properties private (better encapsulation).
Simplify an isset() L45

It is not necessary to check twice if the key and sub-key exists. DEMO

Removing unnecessary else statements.
Split the logic from addRequireAlias() into resolveWithAlias() & resolveWithoutAlias().
No logic was altered.

Thank you! I merged it!


⚠ Bofrost.at has degraded performance

In 4524b7b, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1253 ms

Resolved: Bofrost.at performance has improved in 75a8a78.


Sleep period not registered for some off-cycles

I've noticed a guy on my list who went early to bed and got up again early. Knowing him this is not a surprise, yet the graph didn't conclude he slept at all! Is there a kind of boundary for when an absence is registered as sleep?
This is ~24 hours of his activity. And here's his activity timestamps from the rest API.

The overview of sleep cycles below the graph is not very intelligent. You can see the implementation here: https://github.com/sqren/fb-sleep-stats/blob/master/src/browser/services/chart.js#L41
Basically, it assumes that a standard sleep duration is 8 hours, and that it occurs between 10pm and 8am. If extremely outside this range, it might not be included.
You are very welcome to play around with the algorithm, and see if you can find a better fit.

Btw. sleepScore is calculated here: https://github.com/sqren/fb-sleep-stats/blob/master/src/browser/services/chart.js#L8
A lower score means that the interval is more likely to be an actual sleep interval. Higher score means the deviation is high, and it is probably not a correct sleep interval.
Currently, only sleep scores below 200 is includes:
https://github.com/sqren/fb-sleep-stats/blob/master/src/browser/services/chart.js#L107

If you will you can add a feature request to this issue. The feature being a configurable deviation and possibly the STANDARD_SLEEP_DURATION. I see you set that for the recommended amount rather that the more common 6-7 hours ;)
I'd be happy to fiddle with it and make a pull request one of the upcoming days.


Using Angular 1.5 directives in an angular-cli

Is this possible?
I am currently in a migration process from Angular1 to Angular2 and want to slowly upgrade.
We want to include the Angular1 directives into the angular-cli project first, then convert them after, as our Angular1 app is pretty big

Heya @dolanmiu, my advice is that you follow https://angular.io/docs/ts/latest/guide/upgrade.html to upgrade your app.
The CLI doesn't give any specific upgrade support as it is out of scope for us. You might be able to make it work with good use of the global libs functionality, but you might run into problems doing it with the CLI.


Investigate Audio Streaming Protocol in CODEC

The team should investigate the details about the audio streaming protocol used in WM8731 codec. They should get familiar with the protocol and set the base for its implementation in FPGA fabric.
Acceptance criteria

Wiki page (or PDF document) documenting the features and rules of the protocol, data packet structures
Wiki page (or PDF document) documenting the available parameters for configuring codec operation
Block diagram and/or finite state machine diagram for receiver and transmitter which will serve as a base for implementation in VHDL on FPGA platform

We close this issue with the conclusions that created wiki pages will be further extended as new knowledge is gained by working on project activities. Moreover, the implementation details for audio streaming protocol receiver and transmitter will be provided during the second sprint.


Async support

Refs:

https://github.com/simonw/llm/issues/507
https://github.com/simonw/llm/pull/613

I'm going to push the implementation, tests will fail until I ship an alpha of LLM with the new llm.AsyncModel API.


end-to-end tests

crappy start but all I had time to do. At least it tests the cli a little bit.

This PR now depends on this: https://github.com/peterbe/minimalcss/pull/133


[ISSUE#1903][MAS4.2.5] [Labels and Relationships - Settings] Voiceover announce the same label for “Path to ngrok", "Locale", "Localhost Override"and "User ID" present in the "settings" pane

Solves #1903
Description
Fixes how Voiceover announces the TextFields' labels in the Settings editor pane. This error was extended to TextFields in other components as well.
Changes made
We added a condition to the setting of the aria-labelledby attribute in the TextField component. This way, Voiceover will read the error message only when related to the rendered element, otherwise, it will read the element's label.
Additionally, we noticed that this issue was happening on windows as well. The same solution applies to both platforms.
Testing
In the following images, you can see how Voiceover reads the labels instead of the error message:

Coverage increased (+0.005%) to 67.092% when pulling 3be36bf734badfacb7f86c1130ae2d878ee9eb17 on fix/incorrect-settings-labels-announcement into a070872f9c5d766d0da56f78e5f08c21c02ee2e7 on master.


Add xiwi command for launching single-app windows

Resolves #1422, and a prerequisite for #558.
Protip: if you intend to use the xiwi command for everything, you don't actually need to install a desktop environment...

Note: I've updated the extension to the version in this branch, and pushed a xiwi-app release, so you can try things out with sudo CROUTON_BRANCH=xiwi-app sh ~/Downloads/crouton -t xiwi ...

On Thu, Feb 26, 2015 at 2:47 PM, David Schneider<EMAIL_ADDRESS>wrote:

sudo CROUTON_BRANCH=xiwi-app sh ~/Downloads/crouton

Cool, I'll try it out.
--
DennyL@GMail

Awesome, I've got 'guake' and 'xbmc' running in separate windows + an lubuntu-desktop session!

@DennisLfromGA that's a very nice desktop wallpaper there Dennis. Would xmbc run on the samsung 32-bit arm? Would I just output an hdmi cable to the tv? and more importantly, could I watch better call saul, and MI5 on it? We have a Roku, Netflix, and Amazon prime, and none of those have these 2 shows for free right now.

Wow!! I was away for the New Year and just saw this exciting thing!!
I have actually thinking about this for a long time too.
Tried it with Xchat and pidgin just now.
It is working fine with Xchat but not Pidgin. Nothing launched on the screen for pidgin and nothing special in the log.
I believe the logging part is not yet complete?

And maybe it is better not to launch the single app in full screen by default?

I'm not using the xiwi-app yet, but have a script that brings up my xiwi precise and trusty chroots, run a few times, it brings up more. Is this safe and are they all fully usable?

@tedm -

have a script that brings up my xiwi precise and trusty chroots

That is a tasty bunch of croutons, I think the new 'xiwi-app' would be perfect for that - and take less resources.

Would xmbc run on the samsung 32-bit arm?

Wish I could answer that, I don't have an ARM Chromebook and, truthfully, I haven't investigated.

Now for completely OT -

that's a very nice desktop wallpaper

Yep, it's called Dream Afar New Tab, it has some options that make it pretty handy.

could I watch better call saul, and MI5 on it?

Luckily, I get the AMC Network and I've recorded 'Better Call Saul' but haven't taken the time to watch them yet - maybe later today,I liked his character in 'Breaking Bad'.
It looks like Netflix will be streaming it after the first season finale.
As far MI5, I'll have to check on that one ;)

@dnschneid,
After kicking off the above 2 xiwi-app sessions and the lxde-desktop session, I logged out of the lxde-desktop session, exited the xbmc session via it's exit function and closed the guake window, there's no quit function for guake that I know of.
This seems to have kept some of the processes running, I've listed the major ones below -
chronos   3422  3415  0 Feb26 ?        00:00:00 /usr/bin/xinit /usr/local/bin/croutonxinitrc-wrapper /usr/local/bin/xiwi / guake -- /etc/X11/xinit/xserverrc :1
chronos  20376 20359  0 10:38 ?        00:00:00 /usr/bin/xinit /usr/local/bin/croutonxinitrc-wrapper /usr/bin/startlxde -- /etc/X11/xinit/xserverrc :2

The 'crouton integration' extension shows nothing running:

I tried gaining access to them again using the method you describe in https://github.com/dnschneid/crouton/issues/1425#issuecomment-75339902 but it says it's already in use:
chronos@localhost ~ $ sudo enter-chroot -n trusty env DISPLAY=:1 croutonfbserver :1
Entering /mnt/stateful_partition/crouton/chroots/trusty...
socket_server_init: Cannot bind server socket. (Address already in use)
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

chronos@localhost ~ $ sudo enter-chroot -n trusty env DISPLAY=:1 croutonfbserver :2
Entering /mnt/stateful_partition/crouton/chroots/trusty...
socket_server_init: Cannot bind server socket. (Address already in use)
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.

Should these processes still be running or should they have terminated with the window - just curious?

@DennisLfromGA thanks for that video info. Going to go search and try to find those later.
Looking forward to an answer from @dnschneid or @drinkcat on the unmounting issues as I'm having them as well, especially with trusty, and now that xiwi lets us open multiple windows on a chroot, or chroots, I can't help but wonder if using multiple windows for a given chroot, or having run certain commands as root/sudo doesn't cause the last window to not unmount cleanly and quickly. Rebooting works, and as well as the not recommended unmount-chroot -a  / y / afk (SIGKILL) and get back to the crosh prompt but I think there may be some sticky processes.
With xiwi, and use of the -b, we may be unmounting a lot less than we think, since it just works, where at one time, we couldn't start a new DE if the chroot hand not unmounted, but now we can open a window on the mounted chroot, not knowing it was already mounted and running. I guess this is OK?
I've also found that trusty has more permission prompts than precise, though I haven't used trusty stand alone at the desktop level much, so I don't know if the behavior is different in crouton than stand alone trusty.
I'm able to add users (with useradd and the adduser script), and groups as root or sudo in both precise and trusty, and the corresponding /etc/passwd and /etc/shadow data is correct, so I'm not sure why others are having those issues, but I've always created a root/sudo password in crosh, and I think at one time, if you didn't do that, creating one in the chroot may have been an issue, but I've never had updates change that or been unable to access root in the chroot. Is there a relationship between the crosh root pw and the chroot root pw?

@DennisLfromGA it sounds like croutonwebsocket is closing when you log out of lxde (that's fine), but another one isn't launching and the processes aren't getting cleaned up properly.  I'll look into it.

@tonyxue welcome back!  I agree that xiwi-launched apps shouldn't full-screen by default, but I don't think I want to hold up the PR for that.  Could you file a separate bug?

@tedm as far as crouton is concerned, what you're doing is fine.  I have no idea if xfce likes having multiple instances run out of the same home directory, and you may run into problems with other applications that coordinate using your home directory.

@dnschneid OK, thanks. I don't envision often having multiple windows open on the same chroot, but it will likely happen on accident by me. The socket message(s) do show in the terminal, and in some cases I could still run the window, and on one occasion the window closed or froze.
I'll try to post the active processes next time I close a window and the terminal says it can't unmount for some reason.

Before, when (exactly when I don't know, it could be since the xiwi-app branch was installed) I logged out of my lxde-desktop, gnome-desktop, or other desktops for that matter, it unmounted the chroot and terminated the associated processes.
Now I'm getting the message:
Not unmounting /mnt/stateful_partition/crouton/chroots/trusty as another instance is using it.
and a ps -ef shows me no crouton processes - that I'm familiar with at least.
My version of crouton is a little out-of-date so I'll run an update and see what happens afterwards - and report back with my findings.

@DennisLfromGA after updating, you should be OK I think, but you can try watching the terminal output by leaving the terminal open and not using -b for launch in background.
Also, try enter-chroot and watch the dmesg commands, as well as ps ef for anything odd.
Lastly, unmount-chroot -afk / y / a can be your friend sometimes ;)

I ran unmount-chroot with the '-p' option and it spit this out:
102      10692  1239  0 16:41 ?        00:00:00 dbus-daemon --system --fork
I had to force it (-f) to unmount, the 'y' opton didn't do it.

@DennisLfromGA no idea what's going on with the first part, but @dnschneid mentioned earlier this week that those croutoncycle terminal messages will go away shortly and can be ignored for now.

Okay, thanx, I didn't catch that 'croutoncycle' info.

OK, maybe I should track dbus-daemon better.  Could you file a bug for that please?

Okey Dokey - https://github.com/dnschneid/crouton/issues/1456


preview pane

What's the Problem?
Hello,
When I turn on preview pane all I see is name of file or folder etc, not what is in document. Is this feature available, if so how do I enable?
Thanks,
Barry
Solution/Idea
Include it if it hasn't been done.
Alternatives
same as solution
Priorities
No response
Files Version
Version: <IP_ADDRESS> OS
Windows Version
windows 11
Comments
No response

What kind of document? Office?

Yes.
On Thu., Mar. 10, 2022, 15:51 Marco Gavelli, @.***>
wrote:

What kind of document? Office?
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/8625#issuecomment-1064537427,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AYFLRMVPOKCLIZ7CUUESSX3U7JVEBANCNFSM5QN4EAZA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you authored the thread.Message ID:
@.***>

Currently not supported. Tracked in #4041.


Get generative / completion prompt from domain configuration

Implemented, whereas see example inside volume/contexts/ROOT/config.xml


Returning location from POST does not set 3xx status code

Describe the bug
When returning a location path from a +page.server.ts sveltekit set status as 200, and does not perform a redirect.
The problem is located in packages/kit/src/runtime/server/page/index.js at 81:38
return redirect_response(status, result.location);

where status is not changed from 200 (at 57:5)
let status = 200;

I'd be willing to submit a PR to fix this issue.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-t26lrz?file=src/routes/+page.svelte
The page contains two buttons:

Submit form with throw redirect()
Submit form with location

Logs
No response
System Info
System:
    OS: macOS 12.5
    CPU: (10) arm64 Apple M1 Pro
    Memory: 69.66 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 18.7.0 - ~/.nvm/versions/node/v18.7.0/bin/node
    npm: 8.15.0 - ~/.nvm/versions/node/v18.7.0/bin/npm
  Browsers:
    Firefox Developer Edition: 104.0
    Safari: 15.6
  npmPackages:
    @sveltejs/adapter-auto: next => 1.0.0-next.64
    @sveltejs/adapter-node: 1.0.0-next.86 => 1.0.0-next.86
    @sveltejs/kit: 1.0.0-next.415 => 1.0.0-next.415
    svelte: ^3.49.0 => 3.49.0
    vite: ^3.0.8 => 3.0.8

Severity
annoyance
Additional Information
No response

Feel free to open a PR! This should probably be a 302

Especially since it's in response to a POST, we should probably take a stand here and make a conscious decision between 303 and 307, rather than just a 302. A 302 is, in practice, treated as a 303, so I'd be in favor of using a 303.

Looks like this was merged 2 minutes ago, but I do wonder if 307 might be nicer at least in dev mode. When developing multiple apps it's really annoying to have redirects cached

303 vs 307 is whether the POSTs turn into GETs upon redirection, or whether the new URL is also POSTed to. Neither of them is 301 Moved Permanently.


Development branch

Hey guys!
I was using the master branch here for my setup , but as i saw the video about the new features on development branch i compiled and tried to use, im having a issue here that the menu loads , shows but i cant use any button they have no action , and nothing on the log, if i use the master branch works perfectly , could you please help?
thanks!

i tried to upload all again and got the same problem

Can you explain what you mean with no action? What board are you using?

hey @DustinWatts  first of all thanks for answering!
Im using a  ESP32 DEVKIT V1 (WROOM32) and a  TFT LCD module with touchpanel ILI9488 as recomended (this one with touchscreen).
No Action i was meaning that when i power it up  it shows the bootscreen, loads the main menu but none of the buttons do anything, also no calibration was showed, if i clear all and upload the master version works ok, my user_setup.h is this:
/* This is a stripped down version of a User_Setup.h file for TFT_eSPI

Copy the contents of this file to TFT_eSPI-master/User_setup.h

This version is for a 38-pin ESP32 DevKitC and an ILI9488 screen with resistive touch controller.

*/

#define ILI9488_DRIVER     // WARNING: Do not connect ILI9488 display SDO to MISO if other devices share the SPI bus (TFT SDO does NOT tristate when CS is high)

#define TFT_BL   32            // LED back-light control pin
#define TFT_BACKLIGHT_ON HIGH  // Level to turn ON back-light (HIGH or LOW)

#define TFT_MISO 19
#define TFT_MOSI 23
#define TFT_SCLK 18
#define TFT_CS   15  // Chip select control pin
#define TFT_DC    2  // Data Command control pin
#define TFT_RST   4  // Reset pin (could connect to RST pin)

#define TOUCH_CS 21     // Chip select pin (T_CS) of touch screen

#define LOAD_GLCD   // Font 1. Original Adafruit 8 pixel font needs ~1820 bytes in FLASH
#define LOAD_FONT2  // Font 2. Small 16 pixel high font, needs ~3534 bytes in FLASH, 96 characters
#define LOAD_FONT4  // Font 4. Medium 26 pixel high font, needs ~5848 bytes in FLASH, 96 characters
#define LOAD_FONT6  // Font 6. Large 48 pixel font, needs ~2666 bytes in FLASH, only characters<PHONE_NUMBER>:-.apm
#define LOAD_FONT7  // Font 7. 7 segment 48 pixel font, needs ~2438 bytes in FLASH, only characters<PHONE_NUMBER>:-.
#define LOAD_FONT8  // Font 8. Large 75 pixel font needs ~3256 bytes in FLASH, only characters<PHONE_NUMBER>:-.

#define LOAD_GFXFF  // FreeFonts. Include access to the 48 Adafruit_GFX free fonts FF1 to FF48 and custom fonts

#define SMOOTH_FONT
#define SPI_FREQUENCY  27000000
#define SPI_READ_FREQUENCY  20000000
#define SPI_TOUCH_FREQUENCY  2500000

i have already double checked the connections from the board to the lcd and they are ok

The development branch has a new UserConfig.h (https://github.com/DustinWatts/FreeTouchDeck/blob/development/UserConfig.h)
If you select the right board there, it should work!

hey Dustin,
I selected the  correct board but still no changes :(

#pragma once
#define DEFAULT_LOG_LEVEL LogLevels::DEBUG
//#define PRINT_MEM_INFO
/* ------------------------------------------------------------------------ */
/* Select the board that you are using below. Make sure to only select one! */
/* ------------------------------------------------------------------------ */

//#define MAKERFABTOUCH
//#define ESP32TOUCHDOWN
#define ESP32DEVKIT
//#define ARDUINO_TWATCH

/* ------------------------------------------------------------------------ */
/* Board specific config. No need to touch if you selected the right board  */
/* ------------------------------------------------------------------------ */

/* MakerFab's Touchscreen configuration */
#ifdef MAKERFABTOUCH
#define CUSTOM_TOUCH_SDA 26
#define CUSTOM_TOUCH_SCL 27
#define USECAPTOUCH
#define touchInterruptPin GPIO_NUM_0
#define SCREEN_ROTATION 1
#define INVERSE_Y_TOUCH
#define FLIP_TOUCH_AXIS

/* Arduino TWatch Configuration */
#elif defined(ARDUINO_TWATCH_BASE) && defined(ARDUINO_TWATCH)
#include "axp20x.h"
#define CUSTOM_TOUCH_SDA 23
#define CUSTOM_TOUCH_SCL 32
#define USECAPTOUCH
#define touchInterruptPin GPIO_NUM_38
#define TFT_BL 12
#define SCREEN_WIDTH 240
#define SCREEN_HEIGHT 240
#define SCREEN_ROTATION 2
#define ILI9341_DRIVER

/* ESP32 TouchDown Configuration */
#elif defined(ESP32TOUCHDOWN)
#define touchInterruptPin GPIO_NUM_27
#define speakerPin GPIO_NUM_26
#define SCREEN_ROTATION 1
#define FLIP_TOUCH_AXIS
#define INVERSE_Y_TOUCH
#define USECAPTOUCH
#define SDDAT3 25

/* Using the ESP32 DevKit with a screen module */
#elif defined(ESP32DEVKIT)
#define SCREEN_ROTATION 1
#define FLIP_TOUCH_AXIS
#define INVERSE_Y_TOUCH
#define touchInterruptPin GPIO_NUM_27
#else
#error("Unsupported platform")
#endif

/* --- END OF USER CONFIG --- */

#ifndef touchInterruptPin
#define touchInterruptPin -1
#endif
#ifndef speakerPin
#define speakerPin -1
#endif
#if defined(ST7789_DRIVER) || defined(ST7735_DRIVER) || defined(ILI9163_DRIVER)
#define TFT_HEIGHT SCREEN_HEIGHT
#define TFT_WIDTH SCREEN_WIDTH
#endif
#ifndef SCREEN_ROTATION
#define SCREEN_ROTATION 1
#endif
#ifndef INVERSE_Y_TOUCH
#define INVERSE_Y_TOUCH false
#else
#undef INVERSE_Y_TOUCH
#define INVERSE_Y_TOUCH true
#endif

#ifndef INVERSE_X_TOUCH
#define INVERSE_X_TOUCH false
#else
#undef INVERSE_X_TOUCH
#define INVERSE_X_TOUCH true
#endif

#ifndef FLIP_TOUCH_AXIS
#define FLIP_TOUCH_AXIS false
#else
#undef FLIP_TOUCH_AXIS
#define FLIP_TOUCH_AXIS true
#endif

// Text Button Label Font
#define LABEL_FONT &FreeSansBold12pt7b

// Font size multiplier
#define KEY_TEXTSIZE 1

// This is the file name used to store the calibration data
// You can change this to create new calibration files.
// The FILESYSTEM file name must start with "/".
#define CALIBRATION_FILE "/TouchCalData"

// Set REPEAT_CAL to true instead of false to run calibration
// again, otherwise it will only be done once.
// Repeat calibration if you change the screen rotation.
#define REPEAT_CAL false

#define LED_BRIGHTNESS_INCREMENT 25

// percentage of free memory that the system will use as
// a temporary buffer when drawing images. Warning!
// too much buffer will lead to system instabilities.
#define BITMAP_BUFFER_FREE_RAM_PCT 0.30

Oh No :(
I was trying another board config and my touch display just blinked and now does not work anymore, i checked with a multimeter and the energy is going, i think i will need another one ;(  wait more 40 days

I made a. Video already tested the configs as recommended , but still when touch nothing happens neither log

Resolved on the third time i deleted all and done it all again started to work! thanks


Add debug statements and clean up code

PR Summary

PR Context

PR Checklist

[ ] PR has a meaningful title

Use the present tense and imperative mood when describing your changes

[ ] Summarized changes
[ ] Make sure all .h, .cpp, .cs, .ps1 and .psm1 files have the correct copyright header
[ ] This PR is ready to merge and is not Work in Progress.

If the PR is work in progress, please add the prefix WIP: or [ WIP ] to the beginning of the title (the WIP bot will keep its status check at Pending while the prefix is present) and remove the prefix when the PR is ready.

Breaking changes

[ ] None
OR
[ ] Documentation needed

[ ] Issue filed:

User-facing changes

[ ] Not Applicable
OR
[ ] Documentation needed

[ ] Issue filed:

Testing - New and feature

[ ] N/A or can only be tested interactively
OR
[ ] Make sure you've added a new test if existing tests do not effectively test the code changed

Tooling

[ ] I have considered the user experience from a tooling perspective and don't believe tooling will be impacted.
OR
[ ] I have considered the user experience from a tooling perspective and enumerated concerns in the summary.

Looks great so far, marked this as "Request Changes" because the solution file got merged in and because I'm wondering if _cmdletPassedIn should be named CmdletPassedIn since its public?

Just updated this to make it a private readonly variable like the other classes


Initial support of LocalDateTime

Hey @sjrd. Is this on demand? As far as I can see all functionality is implemented in https://github.com/cquiroz/scala-java-time

Thanks. In principle, yes, this is on demand, especially if the work is done :)
Could you please sign the CLA to proceed?

Closing for staleness.