Android build failed due to resource linking issue

I added the following files to my project:
/resources
   -> icon.png (1024x1024)
   -> spalsh.png (2732x2732)
   /android
      -> icon-foreground.png (1024x1024)

Then ran the following:
cordova-res android --icon-background-source "#FFFFFF"
It generated all the files and added the following to my config.xml file:
        <icon background="@color/background" density="ldpi" foreground="resources/android/icon/ldpi-foreground.png" src="resources/android/icon/drawable-ldpi-icon.png" />
        <icon background="@color/background" density="mdpi" foreground="resources/android/icon/mdpi-foreground.png" src="resources/android/icon/drawable-mdpi-icon.png" />
        <icon background="@color/background" density="hdpi" foreground="resources/android/icon/hdpi-foreground.png" src="resources/android/icon/drawable-hdpi-icon.png" />
        <icon background="@color/background" density="xhdpi" foreground="resources/android/icon/xhdpi-foreground.png" src="resources/android/icon/drawable-xhdpi-icon.png" />
        <icon background="@color/background" density="xxhdpi" foreground="resources/android/icon/xxhdpi-foreground.png" src="resources/android/icon/drawable-xxhdpi-icon.png" />
        <icon background="@color/background" density="xxxhdpi" foreground="resources/android/icon/xxxhdpi-foreground.png" src="resources/android/icon/drawable-xxxhdpi-icon.png" />

And the build failed with the following:

What went wrong:
Execution failed for task ':app:processDebugResources'.

Android resource linking failed

C:\Users\RPO\dev\myApp\platforms\android\app\build\intermediates\merged_manifests\debug\AndroidManifest.xml:157: AAPT: error: resource color/accent (aka com.myApp:color/accent) not found.
error: failed processing manifest.

What does this mean, how can I fix it?

I resolved it, my root/resource/values/colors.xml file was missing
 `<color name="accent">#FFFFFF</color>`

Not certain where a color called accent came from - must be from the generated icons from cordova-res - but it failed to update my colors.xml file.

closing issue.

get the same error here:
AndroidManifest.xml:152: error: resource color/accent (aka com.orangeapps.candyvalley_stand:color/accent) not found.
error: failed processing manifest.

and looks like cordova-plugin-firebasex have that options in package.json:
"cordova-plugin-firebasex": {
        "FIREBASE_ANALYTICS_COLLECTION_ENABLED": "true",
        "FIREBASE_PERFORMANCE_COLLECTION_ENABLED": "true",
        "FIREBASE_CRASHLYTICS_COLLECTION_ENABLED": "true",
        **"ANDROID_ICON_ACCENT": "#FF00FFFF",**

It strange that we have the almost the same project with the same plugins and its generated ok and this one with problem like that

I did find out the problem: the command "cordova prepare" does not print any errors but not finish prepare of project by missing png file from config.xml.


[建议]建议README.md中的说明不要中英文穿插

建议整个段都是中文，然后再是英文，或者单独分成两个文件，上面有个连接可以切换，中英文穿插读起来体验很不好，本来只需要4页的，现在需要8页。

I don't know which version of the README you're looking at. Chinese only appears in the Updates section

When you use SurrealismUI, you should use releases asserts which not has README.md


fix: use uint8array for decryption and default key

:tada: This PR is included in version 1.0.0-alpha.8 :tada:
The release is available on:

npm package (@release-v1 dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Bug: Profile Page bug

What happened?
I Think the main card of the user should stay fixed and just the projects card should move ,maybe that will look better
Add screenshots
https://github.com/priyankarpal/ProjectsHut/assets/109215419/298b6e9f-3003-4f16-a628-9e820328c979
What browsers are you seeing the problem on?
Chrome
Record

[X] I have checked the existing issues
[X] I have read the Contributing Guidelines
[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSoC'23 contributor
[X] I want to work on this issue

sure @Sahilll15 assigned


update 0.3.0

Linter check found the following problems:
The following problems have been found:
ERROR: /tmp/abs_d79p936ht1/clone/recipe/meta.yaml:14: pip_install_args: pip install should be run with --no-deps and --no-build-isolation.
ERROR: /tmp/abs_d79p936ht1/clone/recipe/meta.yaml:44: missing_pip_check: For pypi packages, pip check should be present in the test commands
ERROR: /tmp/abs_d79p936ht1/clone/recipe/meta.yaml:44: missing_pip_check: For pypi packages, pip check should be present in the test commands
Errors were found


prepare release

fix #130

@sagikazarmark can you help me with the phpstan here? i added a composer run to install the dev dependencies to get rid of all the errors about 3rd party classes being unknown, but according to the log, we then again run composer uninstalling the dev dependencies again.

i merged this now, not touching the phpstan issues. there have been no code changes, i guess it is improved checks ithat uncover things we should be fixing, but that should not prevent us from tagging the release.

Thank you! btw phpstan version should be definitely locked


Updating DOM breaks item draggability

Version
2.6.0
Reproduction link
https://codepen.io/skinnp91/pen/JjKKxZy
Steps to reproduce
Drag item from one box to another
What is expected?
https://codepen.io/skinnp91/pen/rNLLZPX
Item is draggable pre-v2.6.0
What is actually happening?
Item is no longer draggable and page state is broken

This issue carries through to Vue 3.0 as well, able to reproduce with this same setup, different vue mounting.

just found https://github.com/vuejs/vue/issues/11607 and did some testing. turns out i can get around this issue using setTimeout https://codepen.io/skinnp91/pen/BazzbQa


Disabling items in the config makes creative tabs crash

The game will crash if you disable any of the corresponding items that are supposed to be in the custom creative tabs when you click on them.

Here is the crashlog: https://paste.dimdev.org/usaduluzop.mccrash

Thank you for the report! I will try to fix this problem!

Well, I have a problem with my minecraft with this mod, all my armor has been bugged and it looks very ugly. Thank you


Run gtm in background with rate limit of 1/s

Fixes issues with lagging tab switching. With status enabled UI was locked till end of GTM execution.

Hi @wACKYz, GTM should be very fast and not noticeable when recording. We shouldn't have to run it in the background.  It could be either something local to your computer and/or configuration or a bug in GTM or the JetBrain's PlugIn that needs to be addressed.
Can you provide some more information on the issue?  What would be helpful is to add logging to plugin for how long the gtm record takes.

 So it is freezing my UI for 100ms, it means that using keyboard shortcut to switch editor tabs I'm not able to do it quickly (for e.g. move by 4 will take more than half second).
No difference on Windows machines.
IMHO, you should not make User Interface fluidity depend on executing external binary.

@wACKYz I agree async makes sense when it comes to the UI.  I just hadn't noticed any delay but I guess that can vary based on your setup.  I was hoping for a simpler change.  I'm not a Java expert and I'm sure your code is good.  However I think I found a less intrusive approach to making it async.  Can you take a look and let me know what you think? https://github.com/git-time-metric/gtm-jetbrains-plugin/pull/7/files

I'm not java specialist either :)
It create new problem:

it is possible to have more than 1 process in background, more problems appear:
race condition: no guarantee that gtm executable will write .event file in execution order (it will depend on os scheduling)

GTM use 1 second resolution. It make no sence to execute it more frequently.
Simple approach would be to check if last run was less than a second ago but it is more important to keep last event than first (occured in same second). That is how I ended with my solution and I think it is one of simplest to solve it.

@wACKYz I think we may be OK.  I made some updates to assure it's only running one task at a time.  I also synchronize the methods, so I don't think it's vulnerable to a race condition.
It is true that GTM does track time spent in seconds but it does this without having to record every second. Checkout how the algorithm for tracking time works here https://github.com/git-time-metric/gtm/wiki/Time-Tracking-Algorithm.

@mschenk42

Locks UI:
at least on OSX. Try to put sleep in GTM executable.

error case:
look at file A then switch to file B immediately (in same second, before GTM record A will finish) then stare at file B. It will be counted as time spend on file A

resource overuse:
it will execute GTM more often that it is necesarry, draining battery

@wACKYz so far I'm not seeing any of those issues.  I'm running macOS Sierra with IntelliJ IDEA 2017.2.

@mschenk42
IntelliJ IDEA 2017.2.6
Build #IU-172.4574.11, built on November 13, 2017
JRE: 1.8.0_152-release-915-b12 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.12.6
replaced gtm with:
#!/bin/sh
sleep 10

changed permissions to 755 ... and ...  IDE is not responding

@wACKYz I see what you mean now.  Thank you. That's a nice way to verify it's doing what you expect. It was still running synchronously.  I shouldn't be synchronizing the runRecord method. I only need that for the submitRecord.  I tested with calling the sleep process and the IDE no longer pauses.  I pushed the commits to master.


Define IDL instructions for non transferable mint extension

This PR manually updates the Codama IDL in order to support all instructions in the  transferable mint extension. In turn, this allows helpers to be generated for the new web3.js..
This pull request was created for https://app.gib.work/bounties/be283760-fd92-496c-b845-9df46e341e81 in an attempt to solve a bounty #25 . Payment for the bounty is immediately sent to the contributor after merge.

Thank you! It's a bit of a nit but would you mind moving the instruction in the idl.json so it's ordered by discriminator? If you check the generated if statement in token2022.ts, it should be generated next to a sibling discriminator. It's not necessary for the code to work but it makes it easier to find instruction in the idl.json in the future.
Now that your other PR is merged you'll also need to rebase.
Recap of my checks:

❌ Add the instruction in idl.json in the right place (ordered by discriminator).
✅ Update getInitializeInstructionsForExtensions.ts accordingly.
✅ Add tests that follow the same conventions as the existing tests.
✅ Ensure the right discriminator is set.
✅ Ensure the multiSigner remaining account is set when applicable.

Sure doing the required changes.

Thank you! It's a bit of a nit but would you mind moving the instruction in the idl.json so it's ordered by discriminator? If you check the generated if statement in token2022.ts, it should be generated next to a sibling discriminator. It's not necessary for the code to work but it makes it easier to find instruction in the idl.json in the future.
Now that your other PR is merged you'll also need to rebase.
Recap of my checks:

❌ Add the instruction in idl.json in the right place (ordered by discriminator).
✅ Update getInitializeInstructionsForExtensions.ts accordingly.
✅ Add tests that follow the same conventions as the existing tests.
✅ Ensure the right discriminator is set.
✅ Ensure the multiSigner remaining account is set when applicable.

Sure doing the required changes.

@lorisleiva I have made the changes to IDL ordering, regenerated files, and rebased the main branch as per the comment. Please review it now.

Thanks! Almost there.

@lorisleiva I have removed the second discriminator and regenerated the files again.


mpv: use correct nv-codec-headers version

Description of changes
Closes #272710.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Result of nixpkgs-review pr 273318 run on x86_64-linux 1

1 package marked as broken and skipped:

feishin

71 packages built:

adl
ani-cli
anime-downloader
anime-downloader.dist
anki
anki.dist
anki.doc
anki.man
celluloid
cplay-ng
cplay-ng.dist
curseradio
curseradio.dist
deepin.dde-gsettings-schemas
deepin.deepin-movie-reborn
deepin.deepin-movie-reborn.dev
dmlive
dra-cla
ff2mpv
ff2mpv-go
gonic
haruna
hydrus
hydrus.doc
hypnotix
invidtui
jellyfin-media-player
jellyfin-mpv-shim
jellyfin-mpv-shim.dist
jftui
klipperscreen
libsForQt5.plasmatube (plasma5Packages.plasmatube)
libsForQt5.tokodon (plasma5Packages.tokodon)
linux-wallpaperengine
memento
minitube
mnemosyne
mnemosyne.dist
mov-cli
mov-cli.dist
mpc-qt
mpv
mpv-unwrapped
mpv-unwrapped.dev
mpv-unwrapped.man
mpvScripts.inhibit-gnome
mpvScripts.mpris
mpvScripts.thumbfast
mpvpaper
photoqt
plex-media-player
plex-mpv-shim
plex-mpv-shim.dist
python310Packages.mpv
python310Packages.mpv.dist
python311Packages.mpv
python311Packages.mpv.dist
qimgv
radioboat
somafm-cli
stremio
sublime-music
sublime-music.dist
subtitleedit
supersonic
supersonic-wayland
tomato-c
wtwitch
youtube-tui
ytfzf
ytui-music


Markdown Render VSCode Command Link

Issue Type: Bug
Hello,
Regarding the MarkdownString, in Markdown this:
[Name](link)
Renders a link. In a VS Code Extension, this is also possible:
[Run It](command:pkg.command)
Creating a link to run a command.
One would think creating an actual anchor link like this:
Run It
Would work but the click does not execute the command.
VS Code version: Code 1.63.0 (7db1a2b88f7557e0a43fec75b6ba7e50b3e9f77e, 2021-12-07T05:18:59.299Z)
OS version: Linux arm64 5.15.7-1-MANJARO-ARM
Restricted Mode: No

System Info

Item
Value

CPUs
unknown (6 x 1416)

GPU Status
2d_canvas: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onrasterization: disabled_softwareskia_renderer: enabled_onvideo_decode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
2, 1, 2

Memory (System)
3.77GB (0.02GB free)

Process Argv
. --crash-reporter-id 2a85f066-a8e2-4971-b1ff-37959f57a0f0

Screen Reader
no

VM
0%

DESKTOP_SESSION
plasma

XDG_CURRENT_DESKTOP
KDE

XDG_SESSION_DESKTOP
KDE

XDG_SESSION_TYPE
x11

Extensions (4)

Extension
Author (truncated)
Version

vscode-eslint
dba
2.2.2

gitlens
eam
11.7.0

vscode-drawio
hed
1.6.4

vsliveshare
ms-
1.0.5242

can i take this?

I think they'd be happy if you created a PR.
For completeness: data-href works:
Run It
but the cursor does not change to a hand icon like if href was populated.

I think they'd be happy if you created a PR.
For completeness: data-href works:
Run It
but the cursor does not change to a hand icon like if href was populated.

Thanks, will take a look

This is what I found. In markdown links are detected at two places:

extensions\markdown-language-features\src\features\documentLinkProvider.ts detects anything starting with http:// or https:// or file://
extensions\markdown-language-features\src\features\documentLinkProvider.ts checks for []() and returns anything inside () as URI

That's why Run It is detected as a link but Run It isn't.
I couldn't get Run It to work. I tried holding ctrl while clicking it and tried in preview as well. Can you tell me how to reproduce it?

You'll need to register a command for it to take an action. The example in the link is probably the easiest. After registration create a MarkdownString containing the registered command. In regards to the linked example:
Say Hello
You should be able to click on it and see the console log. Note that the cursor doesn't change to a hand icon.

@rbrisita Have you found any solution? For me even data-href doesn't work :(

The way I implemented Markdown and executing a registered command (through package.json) was by adding a MarkdownString (mds) to the tooltip of a StatusBarItem. The structure is very particular because it is an implementation of the CommonMark Spec  and is something like this:
const stop = '# [$(debug-stop)](command:my_ext.stop)';
const table = `

${stop}

`;
mds.value = table;
statusBar.tooltip = mds;

Make sure you are using the correct VS Code version too.

Command links in MarkdownString should now also work for normal  elements included in the markdown (you have to set isTrusted and supportHtml on the MarkdownString to enable this)

@mjbvz where should links work? I tried this in a completion item MarkdownString and neither link syntaxes work:
snippetCompletion.documentation = new vscode.MarkdownString("Inserts a snippet that lets you select the _appropriate_ part of the day for your greeting.[run it](command:workbench.action.reloadWindow) Run It");

@TylerLeonhardt Sorry for not adding verification details. The markdown string needs to both trusted and have html enabled:
const docs = new vscode.MarkdownString(`<a href="command:workbench.action.toggleSidebarVisibility">Run It</a>.`);
docs.isTrusted = true;
docs.supportHtml = true;


buildRustPackage: fix overrideAttrs

this commit doesn't change any hashes yet
this fixes overriding cargoSha256 and other attrs
so no need to overriding cargoDeps anymore
will drop the first 2 commits before merge
Closes https://github.com/NixOS/nixpkgs/issues/107070
Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Anything needed for this? It would be really nice to be able to override cargoHash and similar.


Added my new TinyS3, FeatherS3 and ProS3 boards

All PIDs are from Espressif.

thach will return after Tet!

thach will return after Tet!

Yup, that's cool :)
I just wanted to get this in as it's been sitting in my repo for a few weeks and I didn't want to forget!

@UnexpectedMaker which board of yours have the issue #186 ?

@UnexpectedMaker which board of yours have the issue #186 ?

That issue is gone in this commit/PR. I totally forgot to update and close that issue, so I did now. Sorry!
Happy new year! I hope you had a nice break :)


linera-views: add local variants of store traits

Motivation
In order to support non-Send Linera view stores on the Web, we need local variants of the store traits that don't require Send.

Proposal
Replace async-trait with native AFIT, and use trait-variant to automatically create local and non-local variants.

Test Plan
CI build should catch regressions.

Release Plan

Need to bump the major/minor version number in the next release of the crates.

This changes the trait interfaces, which is a backward-incompatible change (for people using linera-views directly).
Links

reviewer checklist

the works also applies to the Sync trait and it would be nice to mention that.

I think the original async-trait-based implementation of these traits already assumed that Self: Sync — certainly the implementation needs Self to be Sync in order for the future to be Send.  As far as I know, the only change is that the Sync bound is now a constraint on the default function implementation rather than a requirement for the trait itself.


Support tarball creation

It would be useful to be able to create a tar::Builder from a git2::Tree object.
This should also be useful for Cargo to create deterministic archives/packages.

Seems like a nifty idea! Perhaps a separate crate, though?

I'm going to close this for now as I think this should be in a separate crate.

May I ask the original requester, @l0kod : was this a suggestion to support a library feature equivalent of git archive via this crate?  If so I think that would be useful, but note that there is no archive high level API in the underlying libgit2 (that I could find).
@alexcrichton would that detail of the feature (e.g. tarball of file content from local repo instead of working tree copy, which could be dirty) change your stated position that this is better separated? I'm just looking for clarification here.

I believe this would still be best done as a separate crate, not built directly into the git2 crate.


Uncaught TypeError: Cannot read property 'tokenizePlaceholders' of undefined

I updated prism to 1.14.0 because I needed to support another language and since then I get the following error on my page:
prism.js:formatted:1119 Uncaught TypeError: Cannot read property 'tokenizePlaceholders' of undefined
    at prism.js:formatted:1119
    at Object.run (prism.js:formatted:249)
    at Object.highlight (prism.js:formatted:154)
    at Object.highlightElement (prism.js:formatted:139)
    at Object.highlightAllUnder (prism.js:formatted:97)
    at HTMLDocument.highlightAll (prism.js:formatted:88)

If I follow prism.jsformatted:1119 I get to the following code:
e.hooks.add("after-tokenize", function(n) {
   e.languages["markup-templating"].tokenizePlaceholders(n, "php")
})

You need to include the markup-templating component in your code. See related #1395 and #1400.

What is markup-templating? The website says I only need to add the js and css to my website in order to work. Is the website wrong or is the current version broken?

I use the following link to get the css and js:
http://prismjs.com/download.html?#themes=prism&languages=markup+css+clike+javascript+c+csharp+bash+batch+cpp+aspnet+arduino+coffeescript+ruby+git+java+json+less+objectivec+php+powershell+python+scss&plugins=line-highlight+line-numbers
I implement it in a static web site by referencing the css and js file.

It should be fixed with c2ff24822a750f2aad24b9393bd78c6e896fe633. Can you please try to redownload Prism using the same link you posted above? You should see that the checkbox "Markup templating" is automatically checked now.

In my case I had this
import Prism from 'prismjs';
should've been:
import * as Prism from 'prismjs';


Allow UNIX timestamp auth

Hello,
It would be great if we could pass a raw UNIX timestamp in the auth header.
A simple solution is to pass an '@' at the beginning of the value to strtotime treat the input as a UNIX timestamp (as described here https://www.php.net/manual/en/datetime.formats.compound.php)
The only fix is to add '@' char in the sanitizer allowed array

Cool, added to the "enhancements" list


HttpTrigger with complex type does not work

Using the below HttpTrigger signature with preview 4.
[FunctionName(nameof(CreateTodosList))]
public async Task<HttpResponseData> CreateTodosList([HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = "todolists")]
TodoList todoList,
HttpRequestData req,
FunctionExecutionContext executionContext)
{
``
}
TodoList instance is always null. Even HttpRequestData instance is null.
This signature works fine with .NET core 3.1 solution with HttpRequest.

Thank you @swilkodev . We have an update dropping this week bringing a lot of binding enhancements and fixes. This scenario might still not be addressed, but we'll use this to track.

This has been updated and the instructions on how to get the new version are here: https://github.com/Azure/azure-functions-dotnet-worker/issues/223
Closing as resolved, but please let us know if you continue to have issues. Thank you!

I tried preview 5, however the same issue persists where the complex type (TodoList) and HttpRequestData is null.
I tried swapping the parameters around, and found HttpRequestData was then initialised correctly, however the complex type is still null.

Request data wouldn’t be populated separately, but the POCO binding should work. Can you share your POCO and the sample request you’re sending?

POCO class
public class TodoList
 {
public string Title { get; set; }
}
Below is the request I'm sending in. I'm using REST Client in VS Code.
POST http://localhost:7071/api/todolists
Content-Type: application/json
{
"title": "My Todo List"
}

Throws an exception when using code at commit 4f988d3
Error converting 1 input parameters for Function 'HttpRequestWithPOCO': Cannot convert input parameter 'book' to type 'FunctionApp.Function1+Book' from type 'Microsoft.Azure.Functions.Worker.GrpcHttpRequestData'

Program.cs
using System.Diagnostics;
using System.Threading.Tasks;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Hosting;

namespace FunctionApp
{
    class Program
    {
        static async Task Main(string[] args)
        {
#if DEBUG
            Debugger.Launch();
#endif

            var host = new HostBuilder()
                .ConfigureAppConfiguration(c =>
                {
                    c.AddCommandLine(args);
                })
                .ConfigureFunctionsWorker((c, b) =>
                {
                    b.UseDefaultWorkerMiddleware();
                })
                .ConfigureServices(s =>
                {
                    //s.AddSingleton<IHttpResponderService, DefaultHttpResponderService>();
                })
                .Build();

            await host.RunAsync();
        }
    }
}

Function1.cs
using System.Net;
using Microsoft.Azure.Functions.Worker;
using Microsoft.Azure.Functions.Worker.Http;

namespace FunctionApp
{
    public class Function1
    {
        [Function("Function1")]
        public HttpResponseData Run(
            [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequestData req,
            FunctionContext context)
        {
            var response = req.CreateResponse(HttpStatusCode.OK);

            response.Headers.Add("Date", "Mon, 18 Jul 2016 16:06:00 GMT");
            response.Headers.Add("Content", "Content - Type: text / html; charset = utf - 8");
            response.WriteString("Book Sent to Queue!");

            return response;
        }

        [Function(nameof(HttpRequestWithPOCOAndHttpRequest))]
        public HttpResponseData HttpRequestWithPOCOAndHttpRequest(
            [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] Book book,
            HttpRequestData req,
            FunctionContext context)
        {
            var response = req.CreateResponse(HttpStatusCode.OK);
            response.WriteString("Book Sent to Queue!");
            return response;
        }

        [Function(nameof(HttpRequestWithPOCO))]
        public void HttpRequestWithPOCO(
            [HttpTrigger(AuthorizationLevel.Anonymous, "post", Route = null)] Book book,
            FunctionContext context)
        {

        }

        public class Book
        {
            public string name { get; set; }
            public string id { get; set; }
        }
    }
}

Requests.http
###

POST http://localhost:7071/api/Function1 HTTP/1.1
content-type: application/json

{
    "name": "sample",
    "id": "3"
}

###

POST http://localhost:7071/api/HttpRequestWithPOCO HTTP/1.1
content-type: application/json

{
    "name": "sample",
    "id": "3"
}

###

POST http://localhost:7071/api/HttpRequestWithPOCOAndHttpRequest HTTP/1.1
content-type: application/json

{
    "name": "sample",
    "id": "3"
}

FunctionApp.csproj
<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <IsPackable>false</IsPackable>
    <TargetFramework>net5.0</TargetFramework>
    <LangVersion>preview</LangVersion>
    <AzureFunctionsVersion>v3</AzureFunctionsVersion>
    <OutputType>Exe</OutputType>
    <_FunctionsSkipCleanOutput>true</_FunctionsSkipCleanOutput>
    <SignAssembly>true</SignAssembly>
    <AssemblyOriginatorKeyFile>..\..\key.snk</AssemblyOriginatorKeyFile>
  </PropertyGroup>
  <PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|AnyCPU'">
    <DefineConstants>DEBUG;TRACE</DefineConstants>
  </PropertyGroup>
  <ItemGroup>
    <Compile Remove="Function2\**" />
    <Compile Remove="Function3\**" />
    <Compile Remove="Function4\**" />
    <Compile Remove="Function5\**" />
    <EmbeddedResource Remove="Function2\**" />
    <EmbeddedResource Remove="Function3\**" />
    <EmbeddedResource Remove="Function4\**" />
    <EmbeddedResource Remove="Function5\**" />
    <None Remove="Function2\**" />
    <None Remove="Function3\**" />
    <None Remove="Function4\**" />
    <None Remove="Function5\**" />
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Azure.Functions.Worker.Sdk" Version="1.0.1-preview5" />
    <PackageReference Include="Newtonsoft.Json" Version="12.0.3" />
    <PackageReference Include="System.Net.NameResolution" Version="4.3.0" />
  </ItemGroup>
  <ItemGroup>
    <ProjectReference Include="..\..\extensions\Worker.Extensions.Abstractions\Worker.Extensions.Abstractions.csproj" />
    <ProjectReference Include="..\..\extensions\Worker.Extensions.Http\Worker.Extensions.Http.csproj" />
    <ProjectReference Include="..\..\extensions\Worker.Extensions.Storage\Worker.Extensions.Storage.csproj" />
    <ProjectReference Include="..\..\src\DotNetWorker\DotNetWorker.csproj" />
  </ItemGroup>
  <ItemGroup>
    <None Update="host.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
    </None>
    <None Update="local.settings.json">
      <CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
      <CopyToPublishDirectory>Never</CopyToPublishDirectory>
    </None>
  </ItemGroup>
</Project>

This seems to be the way if you want both the HttpRequestData and the object from the body.
[Function(nameof(HttpRequestWithPOCO))]
public async Task<HttpResponseData> HttpRequestWithPOCO(
    [HttpTrigger(AuthorizationLevel.Anonymous, "get", "post", Route = null)] HttpRequestData req,
    FunctionContext context)
{
    var response = req.CreateResponse(HttpStatusCode.OK);
    var book = await req.ReadFromJsonAsync<Book>();

    response.Headers.Add("Date", "Mon, 18 Jul 2016 16:06:00 GMT");
    response.Headers.Add("Content", "Content - Type: text / html; charset = utf - 8");
    response.WriteString(JsonSerializer.Serialize(book));

    return response;
}

Thanks @eriklieben for the suggestion. I can confirm that works in my repo so I will use that technique for now.

@fabiocav -- did you have a branch with some of these changes in progress?

This has been merged.
We're working on documentation updates and will have the package out soon.


[Bug] Tag property not working for Vuetify components

First check https://github.com/SortableJS/Vue.Draggable/blob/master/CONTRIBUTING.md
Step by step scenario
<draggable
        v-model="mediaItems"
        item-key="id"
        tag="v-list"
        group="media-items"
        @start="dragging = true"
        @end="dragging = false"
      >
        <template #item="{ element, index }">
             <media-item />
        </template>
</draggable>

Error message
Failed to resolve component: v-list
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

Expected Solution
It should render the Vuetify v-list component.

Having the same issue

Same here, but with Quasar's QList.
[Vue warn]: Failed to resolve component: q-list
If this is a native custom element, make sure to exclude it from component resolution via compilerOptions.isCustomElement.

Seems like in general it cannot handle custom vue components and only deal with html tags, which is uncomfortable because this way you have to generate extra containers at places where you definitely don't want them

In case anyone needs this, I got it working this way:
<draggable
    ...
    tag="VTabs"
    :componentData="componentData"
>...</draggable>

import { VTabs } from 'vuetify/components/VTabs';
import draggable from 'vuedraggable';

draggable.components = { ...draggable.components, VTabs };

// ...

@GrzegorzKazana Thank you, save my day.


"Other" form on issue forms

Describe new feat
Add "Other" form for when the issue is not related with a new feature nor a bug.
Referencies
No response

I just notice that there is already an option for creating a blank issue on the end of issue form options:


Support for KR580VM1

This one stems from the same lineage as the Intel 8080, 8085 and Z80 line. It has another couple of registers, another address space and a few other bits and bobs.
Слава Україні!

We have KR580VM1 support now


font not increase.

i used react and design with css
why when i wrote for element a class with font-size , and then i try to increase is not change...
for example
.title{
font-size:20px;
}
and when i try to increase or decrease is not change.. but if delete the font-size is change.
how i can make it that it will change any time?

Hi @RoniJackVituli
As written on the documentation, you can set the textPixelMode option to true like this:
new Accessibility({ textPixelMode: true })


Draft PR - Drawing decision trees #268

Hi @MaxHalford, @rmahesh123,
This pull request is directly linked to issue #268.
What information should we display in the nodes associated with branches and in the nodes associated with leaves?
Currently, I can only find one metadata, which is the branch decision function.
Example:
import operator

from creme.tree.base import Branch
from creme.tree.base import Leaf
from creme.tree.base import Split

tree = Branch(
    Split('a', operator.lt, .1),
        Branch(
            Split('b', operator.lt, .2),
            Leaf(no=1),
            Leaf(no=2)
        ),
        Branch(
            Split('c', operator.lt, .3),
            Leaf(no=1),
            Branch(
                Split('d', operator.lt, .4),
                Leaf(no=1),
                    Branch(
                        Split('e', operator.lt, .5),
                        Leaf(no=1),
                        Branch(
                            Split('f', operator.lt, .6),
                            Leaf(no=1),
                            Leaf(no=2)
                        )
                    )
            )
        )
)

tree.draw()

I set a parameter called "max_depth" to avoid drawing too deep trees.
tree.draw(max_depth = 1)

Thank you,
Raphaël

Codecov Report

Merging #269 into master will decrease coverage by 0.35%.
The diff coverage is 16.66%.

@@            Coverage Diff             @@
##           master     #269      +/-   ##
==========================================
- Coverage   89.22%   88.86%   -0.36%
==========================================
  Files         185      185
  Lines        6132     6162      +30
==========================================
+ Hits         5471     5476       +5
- Misses        661      686      +25

Impacted Files
Coverage Δ

creme/tree/base.py
60.24% <16.66%> (-24.67%)
:arrow_down:

Continue to review full report at Codecov.

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


Multiple foreign key constraints can exist on the same column

Fixes #6607.

Added notes and example to Foreign Key docs page.
Removed single-column requirement from Foreign Key docs page.
Removed note from Performance docs.

https://github.com/cockroachdb/cockroach/pull/43417 affects more than just docs about foreign keys... In specific, we need to update the MovR schema to take advantage of this lifted restriction. That schema needs to be updated for a number of other things as well, so I consider updating the schema out of the scope of this docs issue.

This change is

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/9d56065e99ec02d3a5ea6a151dff4e9d1cdf00a0/
Edited pages:

v20.1/foreign-key.md


Guide to compile on Windows (spawn ENOENT on plistbuddy fix)

If you happens to build Adafruit-Pi-Finder on Windows and have the same error than me, here is how to fix it.
Compile Adafruit-Pi-Finder

I downloaded node.js from the official source : https://nodejs.org/download/
And type theses commands inside Adafruit-Pi-Finder/pi_finder/main

npm install -g grunt-cli
npm install
grunt build --force

Which gave me this error:

Fix error
Comment every reference to plistbuddy inside Gruntfile.js and it should works
L142
//grunt.loadNpmTasks('grunt-plistbuddy');

L149
grunt.registerTask('build', ['clean:all', 'build-atom-shell-app', 'rename', 'copy', 'chmod', /*'plistbuddy',*/ 'winresourcer', 'compress']);

This won't compile the MACOS version but I don't think this is possible on Windows :-(
Test your modification
Remove autoupdater
Each times Adafruit-Pi-Finder starts it will reset adafruit-pi-finder folder to the original version.
you need to comment this part to avoid this.
main/main.js
L13/L21
  //npm.commands.install(__dirname, ['adafruit-pi-finder@latest'], function(err) {

   //   if(err) {
   //     return dialog.showErrorBox('ERROR', 'Pi Finder auto update failed! Are you connected to the internet?');
   //   }

      require('adafruit-pi-finder')(app);

    //});

Install atom-shell client
You will need to install atom-shell to test your application without compiling it.
inside pi_finder type
npm install atom-shell -g
atom-shell main

@maditnerd thanks for your notes! i'll switch out plistbuddy once i get a chance to get back to working on pi finder. the grunt task just downloads the prebuilt atom shell binaries for each OS and modifies them, so i think i could probably fix this issue by using something more generic for replacing strings in the plist files for the mac build


[usd] Build Failure on Windows

Host Environment

OS: Windows
Compiler: VS 2019 / VS 2022
vcpkg version 2022.04.12

Good afternoon,
I'm currently working on an USD 22.05 port. The port works fine on Linux and macOS (x86/arm64), but I'm having a weird CMake bug. More precisely, in debug, CMake is generating a cmake_install.cmake that contains a typo:
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "C:/Users/***/git/vcpkg/packages/usd_x64-windows/debug"")
endif()

which is the extraneous " at the end of set. Did you ever encounter this error? Note that the release counterpart of that file is correctly generated:
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "C:/Users/***/git/vcpkg/packages/usd_x64-windows")
endif()

 -DPYTHON_EXECUTABLE="${Python3_EXECUTABLE}"

This is not portable. You must quote the entire cmake expression:
  "-DPYTHON_EXECUTABLE=${Python3_EXECUTABLE}"

And this is also which breaks your build, with Python3_EXECUTABLE being empty:
..L=ON" "-DPYTHON_EXECUTABLE=""" "-DPXR...

That was indeed the problem! Thanks a lot.


fix/textfield state count issues

Describe pull-request
If a user selected a char count without a state the counter would render at the wrong place. Also if the value of the textfield/textarea is null nothing would render in the char counter, this adds a "0" in that case.
Solving issue
Fixes: AB#2574
How to test

Checkout branch and run storybook.
Check in Components -> Textfield/Textarea
Add a char counter with and without a state and see that it renders correctly.

Screenshots
Additional context

@mJarsater  - It looks good buddy. Issues I could only reproduce for text field component.
Anyway, I have merged changes for main_4.10.0 so now you can use "main" branch to checkout and to merge back to. No need for 4.10.0 anymore.
Please change it and I will approve asap.


.FormatConditions.Interior.ColorIndex

A was looking for the folowing information, but i'm unable to write it in a "Docs" format.
Here is the idea :

Note : in case you would like to use color with FormatCondition in VB, you should look at something like .FormatConditions(IndexFormatCondition).Interior.ColorIndex

If someone used to writing in those docs could handle it, it would surely be usefull for others.

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

ID: 0b432d6a-4b78-2dfd-84eb-001b9571ae8b
Version Independent ID: ebf4528e-5d0a-26a2-ed41-b404df1a116d
Content: ColorIndex Property
Content Source: api/Excel.ColorIndex.md
Product: excel
GitHub Login: @o365devx
Microsoft Alias: o365devx

@CapitainFlam
Thanks for your feedback. I added this note; is that what you meant? If not, I need you to be specific about the link you want to point people to.

[!NOTE]
If you would like to use color with FormatCondition in Visual Basic, see Interior.ColorIndex Property (Excel).

@Linda-Editor
Thanks for your answer !
...Indeed, yes, it is exactly the note I would have been looking for !
Thanks again !

@CapitainFlam Thanks for confirming! Changes will go live in a day or so...


Remove SDV checks from current appveyor CI

The build execution with SDV takes too long. Let's exclude it from the public CI for now and we will add it to the next gen CI that will run HCK as well.

This commit 85f05dee32703f37d83f50098ae7eb4a76d11e00 solves the issue.


chore: release main

:robot: I have created a release beep boop
ui5-cc-excelupload: 0.18.1
0.18.1 (2023-06-09)
Bug Fixes

removed check for nullable fields (#255) (f4b569a)

ui5-cc-excelupload-button: 0.6.1
Dependencies

The following workspace dependencies were updated

dependencies

ui5-cc-excelupload bumped from 0.18.0 to 0.18.1

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/marianfoo/ui5-cc-excelUpload/releases/tag/ui5-cc-excelupload-v0.18.1 :sunflower:

:robot: Release is at https://github.com/marianfoo/ui5-cc-excelUpload/releases/tag/ui5-cc-excelupload-button-v0.6.1 :sunflower:


Business Central - (sandbox) Job queue issue Object of type CodeUnit with ID - could not be found

Hi,
We're running a codeunit in JobQueue in the licensed range for us and it is deployed as part of the extension. In the log entries window we keep seeing this error message "Object of type CodeUnit with ID - could not be found." I've omitted the object ID from here. Not sure why it's doing this. We initially had no. of minutes between runs set to 1 then increased to 3. Ideally we'd like a minute interval for what we're doing. Eventually, the errors would cause the Job queue to error and stop. Is it because the job is taking too long before next run cycle or is it some sort of business central specific issue that it's not recognizing our object? We have increased maximum no of attempts to 20 from 10. This still doesn't guarantees a successful day run for this.  Any ideas?
I'm not sure how to flag this as a question or if I even have that capability.
Thanks!

Hi @tkane823 can you share some screen shot of the codeunit and error.

This question is out of scope for AL forum. I will mark it as a question and leave it open for a while in case the community can help with the answer.
For Microsoft assistance with this you would need to contact support.

hi @rishiaurrishabh,
It's a custom Codeunit. Some normal functions being executed on run. Proper use of error handling is in place as well. Here is the screen cap  with the codeunit object ID omitted. This message can be seen from the log entries page. Depending on your no. of attempts it should re-attempt even with error showing untl the maximum attempt count. Then it should fail with that error. However, the error in itself is confusing... It doesn't makes any sense for the object to be not found. It is deployed part of extension. Our process provides automation with use of Job queue and manual process which also calls this same codeunit object type. No issues finding object when run manually. Good luck!


Add a LogPublisher for test.

Currently, we don't have a reliable way to test the features (e.g. status checks, checks steps) that require the involvement of an implementation. Thus, adding a LogPublisher only for testing that logs the check details or anything being published is a good way to improve our test coverage and quality.
After injecting the LogPublisher into the Jenkins instance while testing, we can later check the log to make assertions, examples are like: https://github.com/jenkinsci/checks-api-plugin/blob/75b92fb04b1de582226553691c27b6a6dff1531c/src/test/java/io/jenkins/plugins/checks/steps/PublishChecksStepITest.java#L28

For the junit plugin I created a publisher that just stores published checks in a simple list:
https://github.com/jenkinsci/junit-plugin/blob/master/src/test/java/io/jenkins/plugins/junit/checks/JUnitChecksPublisherTest.java#L35-L66
that can be inspected after a run has finished.
Might this be something useful to move into here?


Ability to pass SCM credentials through

Roslyn needs this ability as we utilize private repos in our Jenkins setup.

CC @mmitche
This was one gap I saw when porting the roslyn-internal groovy setup to dotnet-ci.

@jaredpar That is actually in InternalUtilities.addPrivateScm

@mmitche don't see that.  Where can I see the groovy script to use as a reference?

@mmitche hmm,


Update of FormCollection with UniqueConstraint not possible

Hello,
when I submit a EditCollectionView, where I can update the FormCollection, which has not been changed at all, the Form complains that it is invalid because of a unique constraint which is set.
class UpdateTermCollectionView(EditCollectionView):
    model = Term
    collection_class = TermFormCollection
    template_name = 'glossary/term_update.html'
    success_url = reverse_lazy('glossary:index')

class TermFormCollection(FormCollection):
    default_renderer = FormRenderer()
    term = TermForm()
    synonyms = SynonymCollection()

class Term(TimeStampedModel, models.Model):
    title_de = models.CharField(max_length=250, help_text="Term in German")
    title_en = models.CharField(max_length=250, help_text="Term in British English")
    source = models.CharField(max_length=20, choices=SOURCE_CHOICES)

    class Meta:
        constraints = [
            models.UniqueConstraint(fields=["title_de", "source"], name='unique_term_source'),
        ]

When I remove the unique constraint, it works as expected.

I found the similar problem (branch https://github.com/jrief/django-formset/tree/issue_37).
I modified Company model:
class Company(models.Model):
    name = models.CharField(
        verbose_name="Company Name",
        max_length=50, unique=True
    )
    employees = models.IntegerField(
        verbose_name="Employees",
        null=True, blank=True
    )

then I wasn't able to change the Company - change employees value

I was able to reproduce this and fixed it in branch https://github.com/jrief/django-formset/tree/version_1
Currently only for a single company. For multiple companies on the root level, I haven't found any generic solution yet.

And is it now mandatory to add the full_clean() function to all ModelForms?
https://github.com/jrief/django-formset/commit/61cc8d1398191b510d90ad0c6731fdb15b3e8dfd#diff-8fd7a2b557c98b7e06e93ad2a7166ed1037a9aa8b57735a17cbe4cf71cf0e8dd
po 20. 3. 2023 v 23:35 odesílatel Jacob Rief @.***>
napsal:

I was able to reproduce this and fixed it in branch
https://github.com/jrief/django-formset/tree/version_1
Currently only for a single company. For multiple companies on the root
level, I haven't found any generic solution yet.
—
Reply to this email directly, view it on GitHub
https://github.com/jrief/django-formset/issues/34#issuecomment-1477033118,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABYSF2F6LM7XJES25TQ3XQLW5DLSHANCNFSM6AAAAAAU7OCK4Y
.
You are receiving this because you commented.Message ID:
@.***>

And is it now mandatory to add the full_clean() function to all FormCollections?

unfortunately yes, because one must assign the real model instance to the form's instance. However, I will check, if I can find a more elegant solution, which fits both collection types, those with siblings and those with a single instance.

I'm just refactoring the code. Currently my idea is to add an optional hook method to a form collection without siblings named assign_instance(). It defaults to noop. If overridden it shall assign the current instance to the sub-form controlling that object.
Form collections with siblings must behave differently. They shall implement a method retrieve_instance(data) which take the data dict and return the corresponding instance.
I implemented both variants. With slug company I use a collection binding to a single company. With slug companies I use a collection binding to multiple company objects. Model Company has its name set as unique. Please check the modified code and tell me if that's a feasible API for you.

I think I encountered the same problem: a FormCollection's form which included a field with a unique constraint would fail validation because the unique field's value was supposedly already used. I solved it by overriding the view's get_form_collection() to ensure that the affected form's instance field was set to reflect the database record being edited. This way the standard uniqueness tests could function correctly by ignoring the apparent duplicate name if it was found in the database record being edited.
class Account(models.Model):
    account_name = models.CharField(max_length=64, unique=True)

class Address(models.Model):
    address_line_1 = models.CharField(max_length=128)
    ::
    account = models.ForeignKey('Account', on_delete=models.CASCADE, null=True)

class AddressCollection(FormCollection):
    min_siblings = 1
    max_siblings = 4
    def model_to_dict(self, account):
        ::
    def construct_instance(self, account, data):
        ::

class AccountCollection(FormCollection):
    account = AccountForm()
    addresses = AddressCollection()

class AccountCollectionView(EditCollectionView):
    model = Account
    collection_class = AccountCollection

    def get_form_collection(self):
        collection = super().get_form_collection()

        if self.extra_context['add'] is False and self.request.method != 'GET':
            if self.object is None:
                obj = self.get_object()
            else:
                obj = self.object
            collection.declared_holders['account'].instance = obj

        return collection

A related problem was a crash in the django-formset python code when adding a new Account because the validation methods assumed that there was always an object to act on (I can't recall if this was due to the unique constraint or not).  The view's get_object() method was overridden to make sure an object was explicitly created when an "add" operation was done:
    def get_object(self, queryset=None):

        if self.extra_context['add'] is False:
            ret = super().get_object(queryset)
            return ret

        if self.request.method != 'POST':
            return None
        placeholder_name = "temporary-name-" + get_random_string(length=24)
        return self.model.objects.create(account_name=placeholder_name)

Finally, the view's form_collection_invalid() method was overridden to dispose of the object created by get_object() in the event of an error:
    def form_collection_invalid(self, form_collection):
        if (self.extra_context['add'] is True):
            self.object.delete()
            self.object = None
        return super().form_collection_invalid(form_collection)

With all this in place, I was able to add and edit collections whose forms included fields with unique constraints. This was with django-formset 0.13.2. It may not be the most elegant solution but it seems to work for me.

@jwoithe Please recheck with the branch https://github.com/jrief/django-formset/tree/version_1
If you look at the example with model Company you find a working solution.
This btw. has a simpler interface.

Thanks. I will try to do this as soon as possible, but it won't be in the next few days. I currently have some tasks on the django project which need to be demonstrated soon and therefore don't have time right now to learn a new way to make this work. I will take a look at the new example once I work out where it is.  When time allows I will try to determine how the revised examples fit in with the structures I'm working with (I found this quite a challenge the first time around).  All that said, simpler is definitely better so I'm looking forward to checking the new code out when the opportunity arises.

@jwoithe @ralph089 have you been able to test with the latest version?
I'd like to close this issue.

Yes, it‘s working! Thank you!


Local Dev Only Seems to Support Projects Created in \sfdx-source\main\default

Summary
Local Dev only appears to support LWC components created in the OOTB directory \sfdx-source\main\default our project uses a custom directory \sfdx-source\[customNamespace]\[directories]
Steps To Reproduce:

Run through all prerequisites here https://developer.salesforce.com/docs/platform/lwc/guide/get-started-test-components.html
Execute sf lightning dev app  in Terminal.

Expected Result

Browser loads
Able to live preview site

Actual Result

Browser loads
LWC changes made aren't reflected live.
Errors with Error (1): Expected workspace to have one lwc folder

Additional Information
If I DEBUG=* sf lightning dev app I get additional debug and can see Skipping [redacted]\sfdx-source\main\default because it does not exist or is not a directory which is correct I don't have this directory; we're using a custom directory.
Then it errors with
Error (1): Expected workspace to have one lwc folder
System Information
@salesforce/cli/2.63.8 win32-x64 node-v20.17.0
OS Name:                   Microsoft Windows 11 Pro
OS Version:                10.0.22631 N/A Build 22631
GNU bash, version 5.2.12(1)-release (x86_64-pc-msys)

@supert3d Thanks for filing the issue. Can you please attach the contents of sfdx-project.json to the issue description?
The reported issue appears to be similar to https://github.com/salesforcecli/plugin-lightning-dev/issues/185

@supert3d , From my understanding, you may have to have a path ending in "lwc" if you choose not to confine by the OOTB path determined. Check out this line of code when creating the LWC Server:
https://github.com/salesforcecli/plugin-lightning-dev/blob/b9ca5a2227d526fab96527e9823b5cfa182272fa/src/lwc-dev-server/index.ts#L33


Any plan for preset or reusable configuration?

Do you have plan for preset configuration that can be saved in a MonoBehaviour or ScriptableObject so we can mirror the functionality of DOTween Animation?

I'm skeptical that LitMotion needs such a feature. I've been using DOTweenPro for a long time, but I've never used the DOTween Animation component. I think Timeline is a better way to build animations without writing code. (You can easily create tweens on Timeline by using TweenPlayables.)


Particles appear in more than one dimension

I made an issue on this a while back but didn't realize what it was. I am now making an issue on it again because I actually realize what is happening.
////
Extra Required Mods: Optifine
////
Description: When particles are generated in one dimension, They also appear in all other dimensions!
////
Steps to Reproduce:

Grab yourself a copy of Optifine, drop it in the mods folder with Optifabric so that it works, then load a minecraft world (A creative world works best)
Make a Portal. Any portal will work, but a portal between 2 dimensions that lead to the same coordinates works best.
Enable all particles for maximum effect.
Place a block that emits particles. I found that Campfires work best due to them constantly emitting smoke.
Go through the portal and observe the same coordinates on the other side.
////
Result: Particles from the block are in other dimensions.
Expected Result: Particles should not randomly appear.
////
Some Screenshots I took of it in action. I promise, despite what the screenshots show, that each particle appeared in each dimension. Yes, I tested it out in every dimension.

////
Tester's Notes: You can't just see the particles in all dimensions, each block actually makes different particles in each dimension. This could cause massive amounts of lag when in areas with lots of portals and lots of particles. Also, you're welcome for gathering as much data on this bug as I reasonably could, and then putting it into this format. Should make it easier to read.

This only happens because the particle fix currently does not work when OptiFine is present, so therefore is disabled.

Still needs to be fixed

To be fair, you are given a warning in chat

What do you mean?

You get a warning in chat saying there may be portal rendering artifacts because optifine is present, if you aren't using one of the newest versions(including preview versions) you will not see that message.

I suppose that is fair, but like I said, it's still a bug that will eventually need to be fixed. Might as well report it now rather than later.

Should be fixed


[Docs] Update Python Min Version

updating docs for dev set up and tests to show py3.8 as the new minimum.

/check-enforcer override


Traffic replay client program

Replay client with README.md

@dragon512 please review

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/161/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/176/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1857/

AU check failed! https://ci.trafficserver.apache.org/job/autest-github/158/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1747/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/287/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/420/

Hmmm. Although the RAT check was successful. I'l talk to @persiaAziz about this today.

I added the license texts to the files

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/203/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/188/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1884/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/185/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1775/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/314/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/447/

I have to ask, do we need AL2 blurbs on the .md file and the configuration files?

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/231/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/217/

AU check failed! https://ci.trafficserver.apache.org/job/autest-github/213/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1804/

Intel CC build failed! https://ci.trafficserver.apache.org/job/icc-github/342/

clang-analyzer build successful! https://ci.trafficserver.apache.org/job/clang-analyzer-github/475/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1912/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/270/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/284/

AU check failed! https://ci.trafficserver.apache.org/job/autest-github/266/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1965/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1857/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/395/

clang-analyzer build failed! https://ci.trafficserver.apache.org/job/clang-analyzer-github/528/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/286/

clang format failed! https://ci.trafficserver.apache.org/job/clang-format-github/272/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/268/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1967/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/397/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1859/

clang format successful! https://ci.trafficserver.apache.org/job/clang-format-github/273/

RAT check successful! https://ci.trafficserver.apache.org/job/RAT-github/287/

AU check successful! https://ci.trafficserver.apache.org/job/autest-github/269/

clang-analyzer build failed! https://ci.trafficserver.apache.org/job/clang-analyzer-github/530/

FreeBSD11 build successful! https://ci.trafficserver.apache.org/job/freebsd-github/1968/

Intel CC build successful! https://ci.trafficserver.apache.org/job/icc-github/398/

Linux build successful! https://ci.trafficserver.apache.org/job/linux-github/1860/

clang-analyzer build failed! https://ci.trafficserver.apache.org/job/clang-analyzer-github/531/


Peer review

Good luck with the rest of the project!
Areas of strength

Very organized project structure.
Function to simulate data was neat. It's something we can use for teaching purposes!
A lot of different applications of functional programming

One thing that I learned

Didn't know anything about twitter data analysis. So, now I have an idea about how to start.

Areas for improvement

In a couple tutorials, it looks using here::here can be helpful.

@datalorax

Great review, Murat!


Split packets by direction

The UDP protocol re-uses the same packet variant ID for different packet types, depending if the packet is going from firmware to server or the other way around. This PR makes Packet generic over the direction of data. Deku and type params are starting to get a bit unwieldly, but theoretically they do not need to be touched anymore.

Approving and merging, now that I addressed the hrtb issue along wtih some other nits


Wrong link when file name have space

When user upload a file with a blank space filename (ex: "my pic.jpg") the file is saved with underscores instead black spaces but the link is pointing to the original file name with blank space giving a 404 error

I have just uploaded a "too simple" fix for this now. I wonder who is replacing the spaces with underscores in the first place. I want to use the same function when making the links in case that function does something more as well. I could not find it in the DefaultStorage class.
However, your specific problem should be OK in the newly pushed version.


v0.1.0 - add stable baseline

I have no idea how this ended up here. Seriously. I don't know how.

I have no idea how this ended up here. Seriously. I don't know how.


TAB key does not work as before

I'm new to lazyvim and have been using a version installed months ago.
Recently i have tried updated lazyvim, and I found the TAB key does not work well.
It gives some error like:
E5108: Error executing lua: ...ng/nvim-data/lazy/LazyVim/lua/lazyvim/plugins/coding.lua:100: attempt to index field 'snippet' (a nil value)
stack traceback:
	...ng/nvim-data/lazy/LazyVim/lua/lazyvim/plugins/coding.lua:100: in function <...ng/nvim-data/lazy/LazyVim/lua/lazyvim/plugins/coding.lua:99>

I've tried reinstalled and it does not help.

that's because you're on an old nightly.
Either use a stable release or a recent nightly.
And next time, please use Github discussions in the LazyVim repo.


Add voyager ui middleware

Adding Voyager Ui Middleware would be great.

This one is now included in 0.8.0-rc.1

This one is now included in 0.8.0-rc.1


Support deferred rendering in RenderTarget::render

Currently, to do deferred rendering you'll have to use the deferred pipeline and call two separate functions (geometry pass and light pass) and all the objects has to use a deferred material. After #200, the deferred render call can be done in one method and it is therefore possible to incorporate it into RenderTarget, ColorTarget and DepthTarget render calls.
My idea is to sort the objects such that the objects with deferred materials are first, and then render those (if any) into a geometry target, followed by a light pass followed by standard rendering of forward materials.
Details:

Geometry pass textures are created each frame if there are any deferred materials.
The materials need to be flagged wether they are deferred or not (similar to is_transparent) to be able to sort them.
Debug drawing in deferred mode will be deprecated, use forward rendering for debug rendering instead.

#259


rendering issue in Concepts / Operations on multiple qubits

There is a rendering error in
https://learn.microsoft.com/en-us/azure/quantum/concepts-multiple-qubits#entanglement-in-pure-states

It seems the renderer has difficulties with the \ket{} followed by subscript, e.g. $\ket{\phi}_{AB}$, from some reason.

Hi @haplav - Thank you so much for catching this one. We'll fix the error asap.


Suggestions are incorrectly offset from the start of the textfield

To replicate, add horizontal padding around the ChipsInput.
e.g.
Padding(
  padding: const EdgeInsets.symmetric(horizontal: 16.0),
  child: ChipsInput(

This might just be an autocomplete issue? Can't find anywhere in the package that could cause this.

Yes, this might be part of autocomplete. You could use optionsViewBuilder instead of suggestionBuilder to fix the padding on the right, I guess (see Readme.md).

I have done that and face the same situation. If you have 0 horizontal padding, the autocomplete centers, it doesn't go edge to edge. If you add padding, you get the result in the screenshot above.

Confirmed this is an autocomplete issue, the overlay doesn't get the padding from the parent autocomplete.

Thank you for digging into this. Is there an existing issue at github that tracks the autocomplete issue?

https://github.com/flutter/flutter/issues/78746
https://github.com/flutter/flutter/issues/79227
Both of these go into it


Java 8 changes

Changed pom to compile with Java8.
Updated approach has Packet as an interface with default methods so classes only have to implement Packet not extend AbstractPacket as was previously the case.

Merging Java 8 Changes.


Add spanish translation of comments.js

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

I've added a spanish folder and the respective comments.js file to the curriculum/dictionaries directory.

Thanks for the review. I've now corrected the variable names that were translated by mistake. I'm still waiting for confirmation on the folder's name and can update it if necessary.

Thanks for the review. I've now corrected the variable names that were translated by mistake. I'm still waiting for confirmation on the folder's name and can update it if necessary.

@itsMeNicoG thanks for the quick changes. Please do change the folder to "espanol". We are following this convention for consistency. Thanks again. 🙏

@itsMeNicoG thanks for the quick changes. Please do change the folder to "espanol". We are following this convention for consistency. Thanks again. 🙏

@RafaelDavisH folder has now been renamed as required. Please let me know if there are any other changes to be made.

@RafaelDavisH folder has now been renamed as required. Please let me know if there are any other changes to be made.

@raisedadead I am good with these changes now.

@raisedadead I am good with these changes now.


uninitialized constant Chef::Resource::WinrmConfigListener

I upgraded chef-client to version 13.3, and now when I run my recipe to converge my winrm listeners, I'm receiving the following.  It's worth noting that this is working fine on my down-level chef clients (v12.19.36), so this appears to be an issue with something that may have changed in the latest version of the chef client (or something that has changed between these versions).
Recipe: winrm-config::listeners
  * winrm_config_listener[HTTP listener configuration] action configure

    ================================================================================
    Error executing action `configure` on resource 'winrm_config_listener[HTTP listener configuration]'
    ================================================================================

    NameError
    ---------
    uninitialized constant Chef::Resource::WinrmConfigListener

    Resource Declaration:
    ---------------------
    # In C:/chef/cache/cookbooks/winrm-config/recipes/listeners.rb

     27:   winrm_config_listener "#{key} listener configuration" do
     28:     address                    conf['Address']
     29:     enabled                    conf['Enabled']
     30:     certificate_thumbprint     conf['CertificateThumbprint']
     31:     hostname                   conf['Hostname']
     32:     port                       conf['Port']
     33:     transport                  conf['Transport']
     34:     url_prefix                 conf['URLPrefix']
     35:     notifies :restart, 'service[WinRM]', :delayed
     36:   end
     37: end

    Compiled Resource:
    ------------------
    # Declared in C:/chef/cache/cookbooks/winrm-config/recipes/listeners.rb:27:in `block in from_file'

    winrm_config_listener("HTTP listener configuration") do
      action [:configure]
      default_guard_interpreter :default
      declared_type :winrm_config_listener
      cookbook_name "winrm-config"
      recipe_name "listeners"
      address "*"
      enabled true
      certificate_thumbprint ""
      hostname ""
      port 5985
      transport :HTTP
      url_prefix "wsman"
      key "HKLM\\SOFTWARE\\Microsoft\\Windows\\CurrentVersion\\WSMAN\\Listener\\*+HTTP"
    end

    System Info:
    ------------
    chef_version=13.3.42
    platform=windows
    platform_version=6.3.9600
    ruby=ruby 2.4.1p111 (2017-03-22 revision 58053) [x64-mingw32]
    program_name=C:/opscode/chef/bin/chef-client
    executable=C:/opscode/chef/bin/chef-client

FYI - I believe I found the specific item that was change in v13 that is breaking the listener LWRP.  Per the following release notes link: https://discourse.chef.io/t/chef-client-13-released/10735

DSL-based custom resources and providers no longer get module constants
Up until now, creating a mycook/resources/thing.rb would create a Chef::Resources::MycookThing name to access the resource class object.
This const is no longer created for resources and providers. You can access resource classes through the resolver API like:
Chef::Resource.resource_for_node(:mycook_thing, node)
Accessing a provider class is a bit more complex, as you need a resource against which to run a resolution like so:
Chef::ProviderResolver.new(node, find_resource!("mycook_thing[name]"), :nothing).resolve


Use RequirementMachine to build archetypes when enabled

This was the last GenericSignature-based operation that relied upon the GenericSignatureBuilder.
Next steps:

Finish some edge cases with superclass requirements
Various rewrite system optimizations to recover performance
Enable the requirement machine by default?
Start work on using rewrite system to compute minimal and canonical generic signatures
Nuke the GSB altogether

@swift-ci Please smoke test

@swift-ci Please test source compatibility


Fix some methods

Hi, @oky-123 . This is great plugin!
I use neovim v0.7, and the marksigns are not refreshed. I think this fix will work. Could you check it?

@kitagry Thank you so much!
As I looked, it seems to be related to this issue. https://github.com/neovim/neovim/issues/12587
It seems that the CursorHold event will not fire if other timers keep queuing events.
It would be great to have an option to choose between CursorHold or CursorMoved, CursorMovedI!

@oky-123
I fixed it!


JSON is not defined - ignoring global configuration

Using version 0.11
I have no .jshintrc, only this in my Gruntfile.js
	jshint: {
		options: {
			jshintrc: true,
			JSON: true
		},
		files: ['index.js', 'Gruntfile.js', 'lib/*.js', 'test/*.js']
	}

Error:
 29 |   test = new Test(JSON.stringify(text), function(done) {
                        ^ 'JSON' is not defined.

When downgrading to 0.10 it works. What's the issue?

any thoughts?

When upgrading to version: 0.11.2 its working.
But I'm wandering why this should be in the global configuration , in my opinion this should be always true.

yep, works with latest version. even without JSON: true. so i think it works by default again, doesn't it?

No, its not working I need to set: JSON: true

Should it be:
jshint: {
        options: {
            jshintrc: true,
                global: {
                    JSON: true
                }
        },
        files: ['index.js', 'Gruntfile.js', 'lib/*.js', 'test/*.js']
    }

:question:

Appears that with newer jshint it will depend on what setting you have for es3 which is why it starts to show up around 0.11.0 because that is when jshint 2.6.0 started to land which includes https://github.com/jshint/jshint/commit/da52aa096a1a5c3c40e731c9bcceb038e410deeb which i think causes this. Either way @furzeface is correct, moving JSON: true into options.global should fix it, as does switching es3 to false. (JSON wasn't in es3 in various IE versions.)


Add security audits

Closes #484
Small typo fix
Remove reference to deleted documentation

@sohkai yes please go ahead. Having links to them all in one place will be helpful.

@john-light I've added them and moved them to be under a different subsection from the aragonOS audits.


Swifty MCMC and python iterop

We should think/talk about MCMC algorithm API and tfp interop.
@marcrasi says:
As a direct translation of the Python API, the current API looks right to me. If you want to go this direction, then that sounds good to me!

The "Swifty" way can make some things a lot nicer so I'll describe a "Swifty" idea here to tempt you :)
The TransitionKernel looks like an infinite Sequence. So there's no need to define a protocol TransitionKernel -- you can conform things to Sequence instead.
For example, RandomWalkMetropolis would be something like:
struct RandomWalkMetropolis<State>: Sequence, IteratorProtocol {

  var previousLogProb: Double
  var currentState: State

  let target_log_prob_fn: (State) -> Double
  let new_state_fn : (State)->State

  init(_ target_log_prob_fn: @escaping (State) -> Double, _ new_state_fn : @escaping (State)->State, _ initialState: State) {
    ...
  }

  mutating func next() -> State {
    let result = currentState

    // update `currentState` and `previousLogProb` according to metropolis rules
    ...

    return result
  }
}

This is nice because it allows us to use all the Sequence algorithms. For example, sampleChain becomes something like:
Array(sequence.dropFirst(num_burnin_steps).prefix(num_results))

Originally posted by @marcrasi in https://github.com/borglab/SwiftFusion/pull/95/files

I'll add an agenda item for this to our Friday meeting!

While we're in this area, consider #143


Consecutive mouse clicks on button get lost if mouse is not moved between clicks

In a simple application I have a Button which acts as a toggle button by altering some state in its onClick lambda. This worked perfectly until v1.1.0-alpha03 but stopped working reliably after this version. I found out that consecutive clicks are just ignored if I do not slightly move the mouse between the clicks. If I move the mouse just a little bit everything seems to be ok but if I keep the mouse at the same position then the clicks seem to get lost.
I tested this on a Mac with versions v1.1.0-alpha03, v1.2.0-alpha01-dev602 and v1.2.0-alpha01-dev606.

Am I correct, that you have issues in 1.2.* builds, while 1.1.0-alpha03+ is fine?

@akurasov Yes, exactly.

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


Feature: Support for custom breakpoints

Pass custom media queries as string with customQuery.
If any of those usual properties are set, customQuery will not be honoured.
Note: window.matchMedia() is supported in all major browsers.

@rehman-00001 This is great. Looking good, thanks. I will review this a bit elaborately soon and have it merge ready. We will also need to update docs to reflect that we support this. Will you be interested in updating the docs as well for this shiny new feature?

@rehman-00001 you might need to update the types with customQuery props for typescript
https://github.com/flexdinesh/react-socks/blob/master/%40types/index.d.ts

@flexdinesh Thanks! Doc changes are on the way! :)

@rehman-00001 Looking good so far. We can amend docs later if needed. I think if we get the last few things addressed, we're good for merge.

As @nutboltu mentioned, we need to update types for customQuery. Perhaps we could do that with some help from folks familiar with TypeScript.
Tests. We need to cover all the cases for customQuery, say, what happens when customQuery is passed, when it's not passed, when it's passed alongside breakpoints and all other possible cases.

@rehman-00001 Looking good so far. We can amend docs later if needed. I think if we get the last few things addressed, we're good for merge.

As @nutboltu mentioned, we need to update types for customQuery. Perhaps we could do that with some help from folks familiar with TypeScript.
Tests. We need to cover all the cases for customQuery, say, what happens when customQuery is passed, when it's not passed, when it's passed alongside breakpoints and all other possible cases.

@flexdinesh ,
✅ Updated types for customQuery
✅ Added test cases for the same.

@rehman-00001 This is great. Thanks.
@nutboltu Would you be able to review the type changes?
I'm gonna run a few things in my local over the weekend before merge and publish.

@rehman-00001 I ran these changes in the local and the example customQuery="(min-width: 500px)" shows up in the browsers even if the width is less than 500. I think we should figure out why that's happening.

@rehman-00001 All good. You've done amazing work in this PR already. I'll check the changes in gatsby/next over the weekend and we'll release next week. Thanks for everything you did in this PR!

@flexdinesh You're most welcome :) Its my pleasure to work for this simple yet powerful library!

@rehman-00001 It's a good thing we held off the release. This broke SSR. But it was a small change and I've fixed it now.
Changes released in v2.1.0.
Thanks @rehman-00001 and @nutboltu

Thats great! 🏆 😊

This closes #8


angular-formio form builder don`t work with formio/angular-material

When I`m installing formio/angular-material my form builder disappears.

I can confirm this behaviour with the latest formio modules

This module does not support the form builder interface. This is a known issue and has not yet been resolved and is currently not scheduled. It would most likely need to be sponsored to happen.


Retire Address - retire stacked address

When a single address is retired, a confirmation pop-up is displayed giving the user a chance to cancel the retirement. No pop-up appears for a stacked address.

The reason the above message box was added is to make the retirement action explicit. i.e. as opposed to the user just clicking on an point and the address being retired.
With stacked addresses the user selects the stack and the below dialogue appears. The user then selects from the stack which addresses should be retired. The user then has the chance to select "ok" or "cancel". this is the point at with an stacked address retirement can be aborted.
I feel any more dialogues such as "are you sure you really want to delete addresses x,y,z? " would be overkill and an unnecessary step as the user already has the opportunity to review there addresses selected for retirement and then abort the action
I have closed this issue but feel free to reopen and add to the case for extra opportunity to abort retirement.


Including bower components

Hi,
how can I include bower components? They should be located in root.
Should I include them in index.html or in Main.js? I think I am having problem accessing bower components folder because it is parent of src folder.
Thank you in advance.

Hi @be-codified, I will look into this and update the Generator with this feature. In the mean time, you could look if the given module you want to include is not also available via the npm registry.

Hi @be-codified,
I just updated the generator to include support for bower. I tested it with:
bower install jquery

# src/components/MainComponent.js
var jq = require('jquery');
console.log(jq);

Newly generated projects should now have bower support. If you want to include it in already set up projects, just add the adjustments from https://github.com/weblogixx/react-webpack-template/commit/827dd86a3cd2fc52d2918a84bd2e416b92e05320.
Hope this helps :)

Hi @weblogixx,
thank you :)

You are welcome :)


Add LVM config for AIOs

Adds an lvm configuration for the ci-aio environment and updates the automated setup script with an --lvm flag for additional configuration.
A minimum 30gb root disk is recommended

This will make CI jobs fail if the image is not using LVM. The config will be included in the same PR that switches to using LVM images


Bump Dependencies #1784629555

Bumps dependencies for product-is. Link : https://github.com/wso2/product-is/actions/runs/1784629555

 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.jenkins-is-staging seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Publish multiple projects in a solution

We're getting questions/issues about publishing iOS projects when there are multiple projects in a solution. Just running dotnet publish will try to publish each project separately which won't work. Adding some more clarity to the docs.
Fixes #543

I'll update this today or Monday so that each publish doc calls out #543


add actionlint workflow to lint the Action and chacksum to dockerfile

add actionlint workflow to lint the Action and chacksum to dockerfile
to prevent supply chain attacks

Thanks for the PR.  I'm just curious, where (what repo) are you using gha-ssh?

First, thanks so much for taking the time to put together this pull request.  I've thought about this PR for a few days, and have decided not to include it in the repo.
The main reason is one of the main goals of this GH action is to limit the number of dependencies to make auditing easier.  There are many other GH actions that do the same thing, but they all have many deps that make it difficult to determine "should I be running this?"
That being said, feel free to fork what I've done so far and use it.  But please rename from gha-ssh to something else if you do that.


Reflect the introduction of schemas in the naming scheme

Fixes #2017.
@jseldess please take over this.
I'll want your help to generate the new diagram for SHOW SCHEMAS.

This change is

OK, thank you, @knz. Will take this over early next week.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/c372858fc16e377b7ddd07aec6b8939a1f3ff14d/

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/607fa10298df2936352e1942a8cf7efbac98f8f9/

Fixes #1973.

http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/85e6fc4b81cabb02578b2c8e95e0359c5ed93c79/

@knz, I made a git goof and can't resolve it, so it's just easier for me to pick your changes into this new branch: https://github.com/cockroachdb/docs/pull/2748


[Feature request]: From Android gallery, share a picture to PrivacyBlur, then share again to target app

I often browse my recent pictures using Android's stock gallery, and think "Oh I want to share that picture to Facebook!".
I believe it is most people's workflow.
It would be great if I could just tap "Share to", select PrivacyBlur, configure the blurring, then tap "Share to" and select Facebook.
This avoids losing time finding that picture. Two times. First finding it within PrivacyBlur, then finding it within the Facebook app. Since I already have the picture open under my eyes within the gallery app, I should never be asked to find it.
In addition to costing time, requiring the user to find the picture causes a risk to choose the wrong picture:

At the first step, not choosing the best picture to share because Android's picker only shows small square thumbnails and does not allow to zoom to see details. For instance if you have 10 out-of-focus pictures and 1 good one, in the Android picker it is really hard to guess which picture is the good one.
At the second step, mistakenly not choosing the blurred version. Huge privacy risk.

All social apps support the "share to" intent.
All privacy apps I have tried support the "share to" intent (examples: Point Blur, Scrambled Exif, LLCrop, Photo Editor, etc)
Thanks, keep up the great work! :-)

(Note to myself) There is a Flutter package we might use for implementing this: https://plus.fluttercommunity.dev/


hr

Type: Bug
tyh
VS Code version: Code 1.74.1 (1ad8d514439d5077d2b0b7ee64d2ce82a9308e5a, 2022-12-14T10:30:51.966Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-9700 CPU @ 3.00GHz (8 x 3000)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
undefined

Memory (System)
15.81GB (4.20GB free)

Process Argv
--crash-reporter-id 3faeec12-2ea8-49fd-8359-2c48bb2091b7

Screen Reader
no

VM
0%

Extensions (21)

Extension
Author (truncated)
Version

ng-template
Ang
15.1.0

vscode-javac
geo
0.2.45

isort
ms-
2022.8.0

python
ms-
2022.20.2

vscode-pylance
ms-
2023.1.20

jupyter
ms-
2022.11.1003412109

jupyter-keymap
ms-
1.0.0

jupyter-renderers
ms-
1.0.13

vscode-jupyter-cell-tags
ms-
0.1.6

vscode-jupyter-slideshow
ms-
0.1.5

material-icon-theme
PKi
4.23.1

vscode-thunder-client
ran
2.3.1

java
red
1.14.0

intellicode-api-usage-examples
Vis
0.2.6

vscodeintellicode
Vis
1.2.30

vscode-java-debug
vsc
0.47.0

vscode-java-dependency
vsc
0.21.1

vscode-java-pack
vsc
0.25.7

vscode-java-test
vsc
0.37.1

vscode-maven
vsc
0.40.3

volar
Vue
1.0.24

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383cf:30185419
vspor879:30202332
vspor708:30202333
vspor363:30204092
vslsvsres303:30308271
pythonvspyl392:30443607
vserr242:30382549
pythontb:30283811
vsjup518:30340749
pythonptprofiler:30281270
vshan820:30294714
vstes263cf:30335440
vscorecescf:30445987
pythondataviewer:30285071
vscod805:30301674
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
cmake_vspar411:30581797
vsaa593cf:30376535
pythonvs932:30410667
cppdebug:30492333
vsclangdc:30486549
c4g48928:30535728
dsvsc012:30540252
azure-dev_surveyone:30548225
pyindex848cf:30577861
nodejswelcome1:30587005
282f8724:30602487
f6dab269:30613381
fim-prod:30623723

grt

Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.74.3. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!

Thanks for creating this issue! We figured it's missing some basic information or in some other way doesn't follow our issue reporting guidelines. Please take the time to review these and update the issue.
Happy Coding!

This issue has been closed automatically because it needs more information and has not had recent activity. See also our issue reporting guidelines.
Happy Coding!


Resolves logpresso/CVE-2021-44228-Scanner#106

Hi,
I've tried to generate the json output with some simple classes put in your project - so no needed extra dependencies are used.
Of course existing libraries are better. If you prefer a additional lib - take this one:

org.json
json
20211205

It is API compatible to the new classes JsonObject and JsonArray (They are called JSONObject and JSONArray in org.json.json)

Would love to see this functionality


Updating our json validator

The problem with the existing json schema validator is it does not provide helpful information which rule is broken if a json document fails validation.
Requirements:

Being performat enough to process ~million of json documents in reasonable time - had to be parallelized.
Has to be json schema agnostic - should not matter what type of document we are validating eg. if it's a disease/target evidence or an interaction object.

This work is not under active work. See more comments on the exploration under #2722


Merge category system

Add a category for the repository which is fetched by ghq get
List the repositories which are categorized by the specified category

Sorry. This is a mistake.


Add link to contribution page in README

https://github.com/PistonDevelopers/piston/blob/master/CONTRIBUTING.md
@ccgn @nwin You should add yourself to the donation list.

README.md has a how to contribute link now. I think this can be closed.


Link to Install.md is not working on DockerHub when referencing directly GitHub Files

https://github.com/eclipse-tractusx/sldt-bpn-discovery/blob/52341eeb3d9a7e86ec0dcdfcf0c970c02336d385/README.md?plain=1#L44
https://hub.docker.com/r/tractusx/sldt-bpn-discovery

Hi @bs-sili i would fix it on main, but that has to be correct. so guess afterwards should be ok. we have to ensure that the legal information is accessible 😉


GPU memory issue

Hi Qingyun, it is really a nice job. Thank you so much for providing the codes and models. When I was try to decode your model, even with batch size 1, my machine suffers from the "CUDA out of memory" problem. I am not sure whether it is because of me or it is because of my machine. I am using V100 GPU with 32GB memory. May I ask what the GPU memory of your machine is when you finetuning and decoding the T5-large model?  Hope to hear from you. Thank you so much!

Hi Qingyun,
I am really really sorry for the late reply. The email went to spam somehow and I didn't see the issue on Github so I was even doubtful whether I had made the comment on Github. I just found the email yesterday and redid the experiment.  I figured out the reason that I got the issue because there were lots of sleeping processes on our server by other folks that cost the GPU memory. Your T5- large model can run on V100 GPUs. Thank you so much for your reply and help. And very sorry for the late reply.
Best,
Xiao

From: Qingyun Wang @.>
Sent: Wednesday, September 29, 2021 17:34
To: EagleW/Stage-wise-Fine-tuning @.>
Cc: Shi, Xiao @.>; Mention @.>
Subject: Re: [EagleW/Stage-wise-Fine-tuning] GPU memory issue (#2)
Closed #2https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEagleW%2FStage-wise-Fine-tuning%2Fissues%2F2&data=04|01|xiao.shi%40mavs.uta.edu|b41426bab3b94f84d4e108d98399407f|5cdc5b43d7be4caa8173729e3b0a62d9|1|0|637685516498728572|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=iWkm89dKdrTO1hdQMpfgYuNYKSVzsKGUt3h53hfnh2U%3D&reserved=0.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FEagleW%2FStage-wise-Fine-tuning%2Fissues%2F2%23event-5383867324&data=04|01|xiao.shi%40mavs.uta.edu|b41426bab3b94f84d4e108d98399407f|5cdc5b43d7be4caa8173729e3b0a62d9|1|0|637685516498738526|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=psght%2BgA57jRx%2BUTrhysfy%2FeifrDLJ%2BSQ5Zyp3bKWf0%3D&reserved=0, or unsubscribehttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAKWFX4CDL2UHGV75FPMXVV3UEOH6BANCNFSM5EZ7GHQQ&data=04|01|xiao.shi%40mavs.uta.edu|b41426bab3b94f84d4e108d98399407f|5cdc5b43d7be4caa8173729e3b0a62d9|1|0|637685516498738526|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=BpzNRcErqZgL68QHIUuXFIaB5i2Gcp3HBWDXSLfvZws%3D&reserved=0.
Triage notifications on the go with GitHub Mobile for iOShttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fapps.apple.com%2Fapp%2Fapple-store%2Fid1477376905%3Fct%3Dnotification-email%26mt%3D8%26pt%3D524675&data=04|01|xiao.shi%40mavs.uta.edu|b41426bab3b94f84d4e108d98399407f|5cdc5b43d7be4caa8173729e3b0a62d9|1|0|637685516498738526|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=S7zeCctxlpvnQdnFq2%2Bw%2FFIA26r6nxZEDJpvQ81%2FWTE%3D&reserved=0 or Androidhttps://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Fplay.google.com%2Fstore%2Fapps%2Fdetails%3Fid%3Dcom.github.android%26referrer%3Dutm_campaign%253Dnotification-email%2526utm_medium%253Demail%2526utm_source%253Dgithub&data=04|01|xiao.shi%40mavs.uta.edu|b41426bab3b94f84d4e108d98399407f|5cdc5b43d7be4caa8173729e3b0a62d9|1|0|637685516498748482|Unknown|TWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D|1000&sdata=%2FZcXbpEyInNto%2Bm%2BOAVZCXJ%2FGpiSPJaNAN8U9rFUTdI%3D&reserved=0.

Great! Have a good day!


undefined method `visit_type' exception in messages compiler

First of all, thank you very much for new updates.
Just tried dry-validation 0.10.1 version, and got exception from my schemas, when use #messages method on failed schema.
Exception is this:
    NoMethodError:
       undefined method `visit_type' for #<Dry::Validation::MessageCompiler:0x007fa32373fe38>
       Did you mean?  visit_key
                      visit_set
                      visit
                      visit_not
                      visit_rule
     # /Users/kukunin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/dry-validation-0.10.1/lib/dry/validation/message_compiler.rb:43:in `visit'
     # /Users/kukunin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/dry-validation-0.10.1/lib/dry/validation/message_compiler.rb:137:in `visit_key'
     # /Users/kukunin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/dry-validation-0.10.1/lib/dry/validation/message_compiler.rb:43:in `visit'
     # /Users/kukunin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/dry-validation-0.10.1/lib/dry/validation/message_compiler.rb:73:in `visit_rule'
     # /Users/kukunin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/dry-validation-0.10.1/lib/dry/validation/message_compiler.rb:43:in `visit'
     # /Users/kukunin/.rbenv/versions/2.3.0/lib/ruby/gems/2.3.0/gems/dry-validation-0.10.1/lib/dry/validation/message_compiler.rb:81:in `block in visit_and'

Simple code to reproduce:
        Types = Dry::Types.module
        MySchema = Dry::Validation.Schema do
          required(:address).schema do
            required(:zip).filled(Types::Strict::String.constrained(format: /\A[0-9]{5}(-[0-9]{4})?\z/))
          end
        end

        expect(MySchema.call(address: {zip: '91403'})).to be_success
        expect(MySchema.call(address: {zip: '1234'})).to be_failure
        expect(MySchema.call(address: {zip: '1234'}).messages).not_to be_empty #works fine
        expect { MySchema.call(address: nil).messages }.not_to raise_error #raises exception
        expect { MySchema.call({}).messages }.not_to raise_error #raises exception

It works fine when there is nested schema or I specify filled with predicate like .filled(:str?)
Hopefully these details are enough to locate and resolve this bug.
Otherwise, release looks great. Thanks!

Integration with dry-types is still in experimental phase so we're missing some coverage (hence the regression). I'll deal with this in 0.10.2. Sorry about that.

@solnic is there a chance when http://dry-rb.org/gems/dry-validation/type-specs/ would help?

Not in this case. I'll fix it later today and push 0.10.2.

Seems like it's choking on hint compilation, to easily avoid this crash, please just use the new errors interface, so MySchema.call({}).errors should work. I'll fix hint compilation nevertheless of course.

Fixed in 0.10.2

Super! Thanks for quick fix!


easy_pil

😳

Hello, when I want to install easy_pil with python, easy_pil is still not considered as installed

Maybe you did not installed it in the correct environment from where you are running your code