ListBox slow rendering

In v11.0.0
With the Preview releases, scrolling ListBoxes was fast. Instant without lag.
In the final v11.0.0, scolling a standard ListBox with text content (using FluentAvalonia) has some lag. It it noticeably slower to render.
OS: Garuda Linux
I'll note that scrolling through a long list of media players renders instantly. Only the ListBox is slow.

After publishing the app, the performance problem is gone.
Maybe it's just when debug is enabled?

You may look in the debug console if you see a large amount of errors, in the debug mode it slows down the application, and also implies that you probably did something wrong.

[Binding]Error in binding to 'Avalonia.Xaml.Interactions.Core.InvokeCommandAction'.'Command': 'Null value in expression '{empty}' at ''.'(InvokeCommandAction #57281770)

<ListBox ItemsSource="{Binding Files.Source}" x:CompileBindings="False"
         SelectedItem="{Binding Files.CurrentItem, Mode=TwoWay}" TabIndex="8" Background="{x:Null}">
    <ListBox.Styles>
        <Style Selector="ListBoxItem">
            <Setter Property="TabIndex" Value="5" />
        </Style>
    </ListBox.Styles>
    <ListBox.ItemTemplate>
        <DataTemplate>
            <TextBlock Text="{Binding Display}">
                <Interaction.Behaviors>
                    <RoutedEventTriggerBehavior RoutedEvent="{x:Static InputElement.DoubleTappedEvent}">
                        <InvokeCommandAction
                            Command="{Binding ViewModel.Play, RelativeSource={RelativeSource AncestorType=views:MainView}}"
                            CommandParameter="{x:Null}" />
                    </RoutedEventTriggerBehavior>
                </Interaction.Behaviors>
            </TextBlock>
        </DataTemplate>
    </ListBox.ItemTemplate>
</ListBox>

Double-click works though.

I had the same problem with ItemsRepeater, apparently a bug, it seems that the first moment the element is loaded, it's not yet connected to the DataContext and throws an error, and then the DataContext connects.
At least it's not a blocking bug.

Yeah, closing as a duplicate of https://github.com/AvaloniaUI/Avalonia/issues/5762


Require a -uri switch before a command line URI.

I have a mixed feeling about that. On one hand I clearly prefer being able to pass only one argument (the uri) like other engines do (etlegacy etc.), on the other hand the uri thing something that is usually configured by the installer (via desktop file on linux or registry keys on windows), hence we can virtually do everything we want.
And I have a secret hope for having one day a standard common protocol that would be kiss enough to be implemented by multiple games, something like dgp://unvanquished/server/gg.illwieckz.net:27960/team/aliens (the first option being the game name a generic launcher can use to launch the game or any compatible game can use to redirect to the right game thanks to a common libdgp).

It would be easy enough to support both ways (with and without -uri). At this time though, there seems to be little point in having multiple ways to do the same thing.

why not just walking the command line and doing s|unv://|+connect | before parsing it?

It's impossible to escape the URL, so the URL switch requires special treatment to ignore all following parameters.

I'm fine with the general concept, but I'd prefer we call it -connect or something to make it clear what the action is.

Renamed to -connect.

This whole thread is surrealist and I feel very weird reading it. There is already a +connect command.
If we gonna make an extra option a requirement for url call, we just have to make +connect droping the unv:// prefix if exists.
If we wanna make unv://… url callable without extra option, and if we can't properly sanitize it, we can just define that this behavior is only supported when the url is the very last argument.

Please note that I don't think it's a bad idea by itself to make the connect command en engine command, I just find bizarre to reinvent the wheel.

I was talking about user interaction. I don't mind if code is larger if usage is meaningful for people. After all computers are just machines made to do complex tasks to makes human life easier, same about software. I like the idea that code purity comes after usability because the whole point of a code is to be used.

Well, this -connect is primarily useful as a machine interface, to be used in protocol handlers. Users can still put +connect in the command line if they want to (and it will work as expected anywhere, instead of causing arguments to be ignored if they are at the end).


Add link to expense to notification email

As a Collective or Host admin, I want to be able to click through to the individual expense page so I can see comments or take action.
Currently there is no link on the email notification:

This is where the link has to be added: https://github.com/opencollective/opencollective-api/blob/a0e9414694f9629d64a04b43c7c19d321d184b67/templates/emails/collective.expense.paid.for.host.hbs#L17
Something like this should do the job:

View Expense


Errors: Aider, docker, ollama

Issue
I run Linuxmint 21.2, Latest Ollama docker image and latest Docker CE
I constantly battled to get the official aider docker image working.
I used the latest docker image from from "paulgauthier/aider" and could not get it to work.
I tried to create the image from the repo but could not figure out the dockerfile since it always bombed out. I then moved it to the root folder and it still bombed out, but diffrently. I gave up.
I then used the "adskbradb/aider-docker" git to create the docker image.
git gave huge problems even when I followed the aider documentation.
I finally got that to work with the following dockerfile contents
FROM python:3.10
Adding environment variables
ENV OPENAI_API_KEY="1234567890asdfghj"
ENV OLLAMA_API_BASE="http://host.docker.internal:11434"
RUN python -m pip install aider-chat
RUN apt-get update && apt-get install universal-ctags && pip install --upgrade pip
RUN git config --global --add safe.directory /app
COPY gitconfig /etc/gitconfig
ENV GIT_CONFIG_GLOBAL=/etc/gitconfig
COPY my.aider.conf.yml /root/.aider.conf.yml
WORKDIR /app
CMD aider
I had to modify git with a gitconfig file.
[safe]
directory = *
I created a volume to pass .env files and ".aider.conf.yml" so that I can change the models
openai-api-key: sk-1234567890asdfghj
model: "ollama/deepseek-coder-v2:16b-lite-instruct-q3_K_M"
openai-api-base: OPENAI_API_BASE
Now my docker run command is
docker run --rm -it
-v "$(pwd)":/app
-v ./Docker_Work_Volumes/Aider:/root
--add-host=host.docker.internal:host-gateway
aider:latest
The "$(pwd)" is important to handel folder names with spaces inside.
Using the "deepseek-coder-v2:16b-lite-instruct-q3_K_M I got repeated iterations during processing. This is not consistant so.
When it completed the iterations, the file is created using default settings.
However, the files are called "<｜tool▁call▁begin｜>function<｜tool▁sep｜>add_two_numbers.py" and not only "add_two_numbers.py"
WHen I rerun the docker command it gives me the error.
Unexpected error: Attempted to access streaming response content, without having
called read().
Traceback (most recent call last):
File "/usr/local/lib/python3.10/site-packages/aider/coders/base_coder.py",
line 860, in send_new_user_message
..
..
..
When I start an empty project the first you have to do a is "git init" and only then run the docker command.
This is my current experience using all the latest versions
Version and model info
Aider v0.43.4
ollama/deepseek-coder-v2:16b-lite-instruct-q3_K_M

Sorry I forgot the Docker ports for the GUI.
The Docker command is now
docker run --rm -it
-p 8501:8501
-v "$(pwd)":/app
-v /Docker_Work_Volumes/Aider:/root
--add-host=host.docker.internal:host-gateway
aider:latest

Thanks for trying aider and filing this issue. Sorry, I am not sure what question you are asking or issue you are reporting?

HI
Thanks for the reply but I sorted it out. I will create a github to
generate the docker image with more features and that works on my
linuxmint system with Ollama. Permissions are a pain in the neck :-)
Both are now in separate docker images.
I will email you a link once I verified everything and uploaded it. I hope
that is OK?
In any case...... Thanks for this create app that you have created and made
available. It is very useful.
If I experience any other bugs, I will let you now.
On Wed, Jul 17, 2024 at 3:55 PM paul-gauthier @.***>
wrote:

Thanks for trying aider and filing this issue. Sorry, I am not sure what
question you are asking or issue you are reporting?
—
Reply to this email directly, view it on GitHub
https://github.com/paul-gauthier/aider/issues/856#issuecomment-2233388653,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BGCNBBXWKG3ZAUKE4DOTXW3ZMZZT3AVCNFSM6AAAAABK3BTFC2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZTGM4DQNRVGM
.
You are receiving this because you authored the thread.Message ID:
@.***>

I'm going to close this issue for now, but feel free to add a comment here and I will re-open or file a new issue any time.

HI
As promised here is the github link for my Docker image, It works with
Linux Mint 21.2 and Ollama, also in a Docker image.
https://github.com/DRomatzki/AiderDockerImage/tree/main
Please note I am not a programmer nor a Docker specialist. I did
this because I could not get yours going.
Had some fun  .... :-)


Add subscribe form to frontpage

This adds a subscribe form to the frontpage and hides the top right subscribe page on the homepage.

Marked as draft because it doesn't work. Hitting "enter" won't subscribe but triggers the form action, which is not set.
https://ghost.org/docs/themes/members/#signup-forms

After so many years, I'll go ahead and clean / close this one up for now :)
../Frenck


Hex decoder doesn't work

On latest version with file input:
python3 -m ciphey - activation.txt
Traceback (most recent call last):
  File "/usr/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/usr/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/kiyoukan/.local/lib/python3.8/site-packages/ciphey/main.py", line 3, in <module>
    ciphey.main()
  File "/home/kiyoukan/.local/lib/python3.8/site-packages/click/core.py", line 829, in call
    return self.main(args, kwargs)
  File "/home/kiyoukan/.local/lib/python3.8/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
  File "/home/kiyoukan/.local/lib/python3.8/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, ctx.params)
  File "/home/kiyoukan/.local/lib/python3.8/site-packages/click/core.py", line 610, in invoke
    return callback(args, **kwargs)
  File "/home/kiyoukan/.local/lib/python3.8/site-packages/ciphey/ciphey.py", line 255, in main
    kwargs["text"] = kwargs["file_stdin"].read().decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf7 in position 8: invalid start byte

test.txt

That snippet in main should check if the user has requested binary input

This file doesn't seem to have any hex in it! I'm closing until some expected behaviour can be found


Example does not work properly

Hey
So, I've downloaded the repo, but the example isn't working properly. I can't type in any commands, just can open the shell with ~, but then nothing. No errors.
Any suggestions?

Fixed it.

Curious what the problem was. I haven't touched Josh.js in a while, but would appreciate any feedback on setup pitfalls that might be worth documenting

Just needed to rename the js folder to javascripts. I'm sorry for that one:D
But when I want to run this on my github page it doesn't works properly. Don't see any bash like command line, but the windows is there...


Functions with custom commands fail to load with Spigot 1.16

CommandAPI version
v3.2
Minecraft version
1.16.1, affecting both Spigot and Paper (tested on Paper-90 and Paper-1)
Describe the bug
Functions that have commands created by the API do not load properly, acting as though the command does not exist. /execute and chat commands work properly.
Given error:
[18:44:22 ERROR]: Failed to load function test:hi
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown or incomplete command, see below for error at position 0: <--[HERE]
	at java.util.concurrent.CompletableFuture.encodeThrowable(CompletableFuture.java:314) ~[?:?]
	at java.util.concurrent.CompletableFuture.completeThrowable(CompletableFuture.java:319) ~[?:?]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1766) ~[?:?]
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1130) [?:?]
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:630) [?:?]
	at java.lang.Thread.run(Thread.java:832) [?:?]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown or incomplete command, see below for error at position 0: <--[HERE]
	at net.minecraft.server.v1_16_R1.CustomFunction.a(CustomFunction.java:69) ~[patched_1.16.1.jar:git-Paper-90]
	at net.minecraft.server.v1_16_R1.CustomFunctionManager.a(SourceFile:84) ~[patched_1.16.1.jar:git-Paper-90]
	at java.util.concurrent.CompletableFuture$AsyncSupply.run(CompletableFuture.java:1764) ~[?:?]
	... 3 more

My code
This code (copied from documentation) reproduces the behavior:
    public void onLoad() {
        new CommandAPICommand("killall")
            .executes((sender, args) -> {
                //Kills all enemies in all worlds
                Bukkit.getWorlds().forEach(w -> w.getLivingEntities().forEach(e -> e.setHealth(0)));
            })
            .register();
    }

function test:hi
say hi
killall

Expected behavior
The function loads properly and successfully recognizes the commands.
Additional context
In 1.14.4 and 1.15.2, Paper does load the function properly. The difference seems to be that Spigot 1.16 switched the startup sequence so that data packs load before plugins. Maybe that means that an issue should be reported to Spigot but I wanted to see if something could be done within the API first.
/minecraft:reload still errors, even after commands have been registered.

Interesting... Thanks for bringing this to my attention, I'll start an investigation within the next 24 hours.

How utterly bizarre - it appears to be loading this before the server starts??
Take the 1.15.2 spigot startup log:
Loading libraries, please wait...
2020-07-16 01:53:31,694 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[01:53:37] [Server thread/INFO]: Starting minecraft server version 1.15.2
[01:53:37] [Server thread/INFO]: Loading properties
[01:53:38] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-a99063f-fad2494 (MC: 1.15.2) (Implementing API version 1.15.2-R0.1-SNAPSHOT)
[01:53:38] [Server thread/INFO]: Debug logging is disabled

And then compare that to the 1.16.1 spigot startup log:
Loading libraries, please wait...
2020-07-16 01:50:17,222 main WARN Unable to instantiate org.fusesource.jansi.WindowsAnsiOutputStream
[01:50:22] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[01:50:22] [main/INFO]: Reloading ResourceManager: Default, bukkit
[01:50:23] [Worker-Main-4/INFO]: Loaded 7 recipes
[01:50:23] [Worker-Main-4/ERROR]: Failed to load function mycustomnamespace:test
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown or incomplete command, see below for error at position 0: <--[HERE]
        at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_261]
        at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_261]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown or incomplete command, see below for error at position 0: <--[HERE]
        at net.minecraft.server.v1_16_R1.CustomFunction.a(SourceFile:62) ~[spigot-1.16.1.jar:git-Spigot-758abbe-8dc1da1]
        at net.minecraft.server.v1_16_R1.CustomFunctionManager.a(SourceFile:84) ~[spigot-1.16.1.jar:git-Spigot-758abbe-8dc1da1]
        ... 6 more
[01:50:22] [main/INFO]: Environment: authHost='https://authserver.mojang.com', accountsHost='https://api.mojang.com', sessionHost='https://sessionserver.mojang.com', name='PROD'
[01:50:22] [main/INFO]: Reloading ResourceManager: Default, bukkit
[01:50:23] [Worker-Main-4/INFO]: Loaded 7 recipes
[01:50:23] [Worker-Main-4/ERROR]: Failed to load function mycustomnamespace:test
java.util.concurrent.CompletionException: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown or incomplete command, see below for error at position 0: <--[HERE]
        at java.util.concurrent.CompletableFuture.encodeThrowable(Unknown Source) ~[?:1.8.0_261]
        at java.util.concurrent.CompletableFuture.completeThrowable(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.CompletableFuture$AsyncSupply.run(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.CompletableFuture$AsyncSupply.exec(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinTask.doExec(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinPool$WorkQueue.runTask(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinPool.runWorker(Unknown Source) [?:1.8.0_261]
        at java.util.concurrent.ForkJoinWorkerThread.run(Unknown Source) [?:1.8.0_261]
Caused by: java.lang.IllegalArgumentException: Whilst parsing command on line 2: Unknown or incomplete command, see below for error at position 0: <--[HERE]
        at net.minecraft.server.v1_16_R1.CustomFunction.a(SourceFile:62) ~[spigot-1.16.1.jar:git-Spigot-758abbe-8dc1da1]
        at net.minecraft.server.v1_16_R1.CustomFunctionManager.a(SourceFile:84) ~[spigot-1.16.1.jar:git-Spigot-758abbe-8dc1da1]
        ... 6 more
[01:50:25] [Server thread/INFO]: Starting minecraft server version 1.16.1
[01:50:25] [Server thread/INFO]: Loading properties
[01:50:25] [Server thread/INFO]: This server is running CraftBukkit version git-Spigot-758abbe-8dc1da1 (MC: 1.16.1) (Implementing API version 1.16.1-R0.1-SNAPSHOT)
[01:50:25] [Server thread/INFO]: Debug logging is disabled

Note how the error occurs before the message "Starting minecraft server version ..."
Very strange indeed. I tried changing the loading order in the plugin.yml file for the CommandAPI to load: STARTUP, but that didn't help the issue. I have a feeling that this might be outside of the scope of what I can do as a plugin developer, but want to confirm that for certain first.

So, I've confirmed that this is indeed an issue outside of my control. In the 20w22a update, under General -> Data packs, it includes the following:

Slightly changed datapack loading to prevent custom datapacks from crashing.
If datapack reload fails, changes will not be applied and the game will continue using the previous data.
Changes to datapack list are stored only after a successful reload.
If existing datapacks prevents the world from loading, the game will give the option to load the world in safe mode, which only loads the vanilla datapack.
Added --safeMode option for servers to only load the vanilla datapack.
Game will now detect any critical datapack issues, such as required tags being missing, and prevent the world from being loaded.

I have confirmed that datapacks now load before the "Starting minecraft server version ..." message is displayed. The earliest time for plugins to be loaded occurs not long after that message is displayed in the console. As a result, I hereby declare that there's nothing I can do to fix this.

Yup.

@endrdragon I've found a workaround.

I've included the fix in version 3.3. I'll update the documentation later to explain how the fix works.

Hmmm, still seems like it doesn't work for me. There's an error trying to reload data packs:
[14:47:25] [Server thread/INFO]: Done (25.777s)! For help, type "help"
[14:47:25] [Server thread/INFO]: [CommandAPI] Linking permissions to commands:
[14:47:25] [Server thread/INFO]: [CommandAPI] NONE -> /killall
[14:47:25] [Server thread/INFO]: [CommandAPI] Reloading datapacks...
[14:47:25] [Server thread/WARN]: java.lang.NoSuchFieldException: modifiers
[14:47:25] [Server thread/WARN]: 	at java.base/java.lang.Class.getDeclaredField(Class.java:2489)
[14:47:25] [Server thread/WARN]: 	at dev.jorel.commandapi.nms.NMS_1_16_R1.reloadDataPacks(NMS_1_16_R1.java:154)
[14:47:25] [Server thread/WARN]: 	at dev.jorel.commandapi.CommandAPI.cleanup(CommandAPI.java:43)
[14:47:25] [Server thread/WARN]: 	at dev.jorel.commandapi.CommandAPIMain.lambda$onEnable$0(CommandAPIMain.java:52)
[14:47:25] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftTask.run(CraftTask.java:81)
[14:47:25] [Server thread/WARN]: 	at org.bukkit.craftbukkit.v1_16_R1.scheduler.CraftScheduler.mainThreadHeartbeat(CraftScheduler.java:400)
[14:47:25] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R1.MinecraftServer.b(MinecraftServer.java:1061)
[14:47:25] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R1.DedicatedServer.b(DedicatedServer.java:354)
[14:47:25] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R1.MinecraftServer.a(MinecraftServer.java:1009)
[14:47:25] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R1.MinecraftServer.v(MinecraftServer.java:848)
[14:47:25] [Server thread/WARN]: 	at net.minecraft.server.v1_16_R1.MinecraftServer.lambda$0(MinecraftServer.java:164)
[14:47:25] [Server thread/WARN]: 	at java.base/java.lang.Thread.run(Thread.java:832)
>function test:hi
[14:47:33] [Server thread/INFO]: Unknown function test:hi

(tested with Spigot)

What version of Java are you running?

Ah, I'm running Java 14, lemme try on Java 8 then.

Looks like that fixed it. I guess it would be important to point out in documentation then.

Will do.

Just out of curiosity, what JRE installation are you using? It appears that the OpenJDK standard up to Java 15 should be supported by the CommandAPI. I don't know what versions of Oracle's JRE are incompatible.

I'm using the Homebrew installation of OpenJDK 14.0.1 which uses the same download file as the one you can normally get on jdk.java.net, so I'm not sure why it broke if that's the case.

I have the java.lang.NoSuchFieldException: modifiers problem too. I have seen this before in plugins, and it usually means you're trying to use reflection to make something non-final. This happens on Java 12+. A workaround is found here: https://stackoverflow.com/a/56043252/8584806

@Justsnoopy30 Right, that makes sense. I'll try it out at some point later this week and push out a new release if it works.

@Justsnoopy30 Of course, I only now remembered this!
The solution from the Stack Overflow that you linked me to uses the MethodHandles.privateLookupIn(); method. Unfortunately, this method only exists in Java 9 onwards. Since most servers use Java 8, the CommandAPI is also compiled to fit Java 8 standards, and as such, I cannot use this without changing my entire development environment to accommodate for Java 9+ users. Of course, accommodating for Java 9+ users will then make the CommandAPI incompatible with users that are running Java 8.

@Justsnoopy30 CommandAPIv3.3_21_Jul_2020_(02-52-42pm).zip
I've included a copy of the CommandAPI which should have multi-release support for Java 9+. In short, this should work. If you could test that this is the case, it would be much appreciated!

After some personal testing, I have confirmed that the jar is packaged correctly as a multi-release jar, but I haven't been able to get it to load correctly. This might be a spigot issue?

Oh, you shouldn't have to use multi-release jars to solve this. As I said, I've seen this before with other projects, and the solution did not require anything requiring multi-release jars, and worked with java 8, as well as new java versions. I'll get back to you tomorrow with more details


Fix the "extra-traits" feature of macro-support, allowing it to build again

Allows this feature (which is useful for debugging) to build again

Oops, thanks!


Change default provider to Ember

Towards #7
Adds support for the Ember provider and makes it the default.
go run .

curl -s http://localhost:8000/metrics | grep grid | head
# HELP grid_intensity_carbon_actual Actual carbon intensity for the electricity grid in this region.
# TYPE grid_intensity_carbon_actual gauge
grid_intensity_carbon_actual{provider="ember-climate.org",region="ARG"} 365.292
grid_intensity_carbon_actual{provider="ember-climate.org",region="ARM"} 206.522
grid_intensity_carbon_actual{provider="ember-climate.org",region="AUS"} 526.876
grid_intensity_carbon_actual{provider="ember-climate.org",region="AUT"} 145.083
grid_intensity_carbon_actual{provider="ember-climate.org",region="AZE"} 536.585
grid_intensity_carbon_actual{provider="ember-climate.org",region="BDI"} 275.862
grid_intensity_carbon_actual{provider="ember-climate.org",region="BEL"} 156.063
grid_intensity_carbon_actual{provider="ember-climate.org",region="BGD"} 559.606

Or for a single country
GRID_INTENSITY_REGION=ESP go run .

curl -s http://localhost:8000/metrics | grep grid | head
# HELP grid_intensity_carbon_actual Actual carbon intensity for the electricity grid in this region.
# TYPE grid_intensity_carbon_actual gauge
grid_intensity_carbon_actual{provider="ember-climate.org",region="ESP"} 193.737

Or using the carbonintensity.org.uk provider
GRID_INTENSITY_PROVIDER=carbonintensity.org.uk go run .

curl -s http://localhost:8000/metrics | grep grid | head
# HELP grid_intensity_carbon_actual Actual carbon intensity for the electricity grid in this region.
# TYPE grid_intensity_carbon_actual gauge
grid_intensity_carbon_actual{provider="carbonintensity.org.uk",region="UK"} 197

Do you think it's better to just have the exporter list a single country?

The data from ember is very unlikely to change, and I can't think of a use case where you would be listing all the countries for prometheus to consume, because previously the library is been a bit like allowing a computer to say:

Good point, I'll remove the changes listing all countries. I also don't have a good use case for it right now.
My thinking was about the dev experience. So the user wouldn't need to provide any configuration and could later select the country they are interested in.
But I think it's better and simpler 😅 to provide example install commands with a country and the user can change to their value.


[Request] Ability to filter projects based on tags

Gitlab allows you to tag a project (not tag as in the Git sense)
It would be great if we could include projects on our dashboard based on these tags, as we have a handful of projects across several groups we would like to include.
You get a list of tags from the v4 API project search scope response:
[
  {
    "id": 201,
    // other fields omitted
    "created_at": "2016-08-12T16:05:03.531Z",
    "default_branch": "master",
    "tag_list": [
      "composer",
      "monitored"
    ],
    // other fields omitted
  }
]

Hey @timoschwarzer, any news on this?We also want to get pipeline  base on these tags

Hi there!
Sorry for the long delay.
I've just implemented includeTags and excludeTags filters.
https://github.com/timoschwarzer/gitlab-monitor/commit/3fa066d361b3ee02115dbe2271362aa23417f673


SSL certificate verification errors when trying to run Python models

Describe the feature
A community member reported issues running Python models: https://discourse.getdbt.com/t/dbt-core-python-model-issue-ssl-certificates/7666
The error message was
HTTPSConnectionPool(host=‘<databricks_domain>’, port=443): Max retries exceeded with url: /api/1.2/contexts/create (Caused by SSLError(SSLCertVerificationError(1, ‘[SSL: CERTIFICATE_VERIFY_FAILED] certificate verify failed: self signed certificate in certificate chain (_ssl.c:1129)’)))

They were able to resolve it as described in the linked thread, but it was not clear what the issue was or how to resolve it.
It might be useful to do some combination of:

Modify dbt debug to also validate the ability to connect and run Python models in addition to connecting to the SQL endpoint
Provide a clearer error message in the CLI output
Clarify in the dbt documentation what steps are necessary here, and under which circumstances

Who will this benefit?
Users of Python models

Closing as not able to repro (and the fixes seem like something that should be solved in dbt core).  Please reopen if this shows in 1.6.x

Seeing same issue when running dbt deps in unix when connected to VPN
External connection exception occurred: HTTPSConnectionPool(host='hub.getdbt.com', port=443): Max retries exceeded with url: /api/v1/index.json (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7fe4a427aca0>, 'Connection to hub.getdbt.com timed out. (connect timeout=30)'))
Any suggestions ?
Vidhya

I am facing this issue while trying to run dbt deps -
Encountered an error:
External connection exception occurred: HTTPSConnectionPool(host='hub.getdbt.com', port=443): Max retries exceeded with url: /api/v1/index.json (Caused by SSLError(SSLCertVerificationError(1, '[SSL: CERTIFICATE_VERIFY_FAILED]
certificate verify failed: unable to get local issuer certificate (_ssl.c:1007)')))
any help?


Improvements of password security for Issue #7:

The changes are:

New parameters added to the script for run a container with encrypted password:
-e passwordencrypted=
-e passwordkey=
or
-e passwordkeypath=

Password variables cleared after usage

Functions added to Create / Get Password & Key in HelperFunctions2.ps1
(This could be merged with the content from HelperFunctions.ps1 and can be copied to the repo of @Koubek (https://github.com/Koubek/nav-docker-examples/tree/master/basic_winauth)

 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.:x: megel sign nowYou have signed the CLA already but the status is still pending? Let us recheck it.

This has been implemented in generic version <IP_ADDRESS>


added letter c (lowecase) to straight.h

added letter c (lowecase) to straight.h
#39

As it is a lowercase character, adjust it so that they are aligned with the bottom


Question about scraping multiple vcenters

I have seen on the projet page that it is possible to scrape mutiple vcenters.
So I set up my config.yml file likfe this:
default:
    vsphere_host: "vcenter"
    vsphere_user: ""
    vsphere_password: ""
    ignore_ssl: True
    collect_only:
        vms: True
        vmguests: True
        datastores: True
        hosts: True
        snapshots: False

vcenter1:
    vsphere_host: "vcenter1"
    vsphere_user: ""
    vsphere_password: ""
    ignore_ssl: True
    collect_only:
        vms: True
        vmguests: True
        datastores: True
        hosts: True
        snapshots: False

vcenter2:
    vsphere_host: "vcenter2"
    vsphere_user: ""
    vsphere_password: ""
    ignore_ssl: True
    collect_only:
        vms: True
        vmguests: True
        datastores: True
        hosts: True
        snapshots: False

vcenterora:
    vsphere_host: "vcenterora"
    vsphere_user: ""
    vsphere_password: ""
    ignore_ssl: True
    collect_only:
        vms: True
        vmguests: True
        datastores: True
        hosts: True
        snapshots: False

When I start vmware_expoerter I can see in the output that it only scrapes the "default" section. No matter if this section is the first one oder last one.
I am pretty sure I am just missing some little snipper, but I just can't find it.

What are you setting your target to in the url?

Hi pryorda,
I'm not quite sure what you mean. What URL do you mean ? I the config file ?

In the readme it describes how to switch sections and targets. Let me know if you still have trouble.

running the command
 vmware_exporter -c /etc/alertmanager/config.yml
only goes through the Default

i found out you can have more vcenter hosts in the default configuration
default:
    vsphere_host: "vc1"
    vsphere_user: "yadda"
    vsphere_password: "yadda"
    vsphere_host: "vc2"
    vsphere_user: "yadda"
    vsphere_password: "yadda"
    ignore_ssl: True
    specs_size: 5000
    fetch_custom_attributes: True
    fetch_tags: True
    fetch_alarms: True
    collect_only:
        vms: True
        vmguests: True
        datastores: True
        hosts: True
        snapshots: True


Installation error

Hi.
When i try to install, these error messages are presented:
npm WARN git config --get remote.origin.url returned wrong result (https://git
hub.com/tgriesser/knex.git) undefined
npm WARN git config --get remote.origin.url returned wrong result (https://git
hub.com/tgriesser/knex.git) undefined
npm ERR! git clone https://github.com/tgriesser/knex.git undefined
npm ERR! git clone https://github.com/tgriesser/knex.git undefined
npm ERR! not found: git
npm ERR!
npm ERR! Failed using git.
npm ERR! This is most likely not a problem with npm itself.
npm ERR! Please check if you have git installed and in your PATH.
Something wrong with git url of knex.
I'm very sad, I really liked what I saw, =\

npm ERR! not found: git
Seems like you need to install git or adapt your environment PATH variable.

My Bad.
I don't know how my os can lost git path environment. Simple suddenly happened!
Thank you very much for your attention.
Cheers.


X is not a constructor

Hi there, I get this error when trying to create a new Calendar Object.
It happens with all of the Calendars (ical, google, outlook, yahoo)
It will throw an error like this: GoogleCalendar is not a constructor
I'm using Angular 7.2.14
Datebook 1.3.5

I'm getting the same issue. I can't the primary examples to work (even after fixing the missing commas).
_datebook.ICalendar is not a constructor

Datebook: 2.0.3 from NPM
Parcel: 1.12.3
I can however generate URLs/iCal using the Calendars static methods:
import Calendars from 'datebook/src/utils/calendars.js';
const opts = {
  title: 'Happy Hour',
  location: 'The Bar, New York, NY',
  description: "Let's blow off some steam from our weekly deployments to enjoy a tall cold one!",
  start: '20190704T190000',
  end: '20190704T210000',
  recurrence: {
    frequency: 'WEEKLY',
    interval: 2,
  },
};
const url = Calendars.getMicrosoftCalendarUrl(opts);
console.log('url: ', url);

which is very cool.

Hi there, I get this error when trying to create a new Calendar Object.
It happens with all of the Calendars (ical, google, outlook, yahoo)
It will throw an error like this: GoogleCalendar is not a constructor
I'm using Angular 7.2.14
Datebook 1.3.5

same problem here. did you find any solution to this issue?

This library has been updated to export each calendar type individually; the import usage would now be:
import { ICalendar } from 'datebook'
import { GoogleCalendar } from 'datebook'
import { YahooCalendar } from 'datebook'
import { OutlookCalendar } from 'datebook'
import { ICalendar } from 'datebook'

Import issues have been fixed as of v4.0.0.


Added django.conf.settings

Fixes the error "error: Module 'django.conf' has no attribute 'settings'"

That helps, thanks!


WinError2 when i tried to generete a cover

Traceback (most recent call last):
File "C:\Users\Micro\Desktop\IAvoz\AICoverGen\src\my_utils.py", line 14, in load_audio
ffmpeg.input(file, threads=0)
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\ffmpeg_run.py", line 313, in run
process = run_async(
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\ffmpeg_run.py", line 284, in run_async
return subprocess.Popen(
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 971, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\subprocess.py", line 1456, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
FileNotFoundError: [WinError 2] O sistema não pode encontrar o arquivo especificado
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Micro\Desktop\IAvoz\AICoverGen\src\main.py", line 291, in song_cover_pipeline
voice_change(voice_model, main_vocals_dereverb_path, ai_vocals_path, pitch_change, f0_method, index_rate, filter_radius, rms_mix_rate, protect, crepe_hop_length, is_webui)
File "C:\Users\Micro\Desktop\IAvoz\AICoverGen\src\main.py", line 201, in voice_change
rvc_infer(rvc_index_path, index_rate, vocals_path, output_path, pitch_change, f0_method, cpt, version, net_g, filter_radius, tgt_sr, rms_mix_rate, protect, crepe_hop_length, vc, hubert_model)
File "C:\Users\Micro\Desktop\IAvoz\AICoverGen\src\rvc.py", line 147, in rvc_infer
audio = load_audio(input_path, 16000)
File "C:\Users\Micro\Desktop\IAvoz\AICoverGen\src\my_utils.py", line 19, in load_audio
raise RuntimeError(f"Failed to load audio: {e}")
RuntimeError: Failed to load audio: [WinError 2] O sistema não pode encontrar o arquivo especificado
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\routes.py", line 442, in run_predict
output = await app.get_blocks().process_api(
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1392, in process_api
result = await self.call_function(
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\blocks.py", line 1097, in call_function
prediction = await anyio.to_thread.run_sync(
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio\to_thread.py", line 33, in run_sync
return await get_asynclib().run_sync_in_worker_thread(
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio_backends_asyncio.py", line 877, in run_sync_in_worker_thread
return await future
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\anyio_backends_asyncio.py", line 807, in run
result = context.run(func, *args)
File "C:\Users\Micro\AppData\Local\Programs\Python\Python310\lib\site-packages\gradio\utils.py", line 703, in wrapper
response = f(*args, **kwargs)
File "C:\Users\Micro\Desktop\IAvoz\AICoverGen\src\main.py", line 316, in song_cover_pipeline
raise_exception(str(e), is_webui)
File "C:\Users\Micro\Desktop\IAvoz\AICoverGen\src\main.py", line 83, in raise_exception
raise gr.Error(error_msg)
gradio.exceptions.Error: 'Failed to load audio: [WinError 2] O sistema não pode encontrar o arquivo especificado'

Same here 🤷♀
Tried many things, the same error everytime.


Fix test_unaligned_bit_chunk_iterator on aarch64

Which issue does this PR close?
Closes #1294
Rationale for this change
Test should pass
What changes are included in this PR?
Fix test
Are there any user-facing changes?
No, this only changes a test

I have tested this on an aarch64 M1 Mac and it now passes 😀

Codecov Report

Merging #1297 (1c46241) into master (39f3f71) will decrease coverage by 0.00%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master    #1297      +/-   ##
==========================================
- Coverage   83.01%   83.00%   -0.01%
==========================================
  Files         180      180
  Lines       52715    52716       +1
==========================================
- Hits        43760    43758       -2
- Misses       8955     8958       +3

Impacted Files
Coverage Δ

arrow/src/util/bit_chunk_iterator.rs
93.50% <100.00%> (+0.02%)
:arrow_up:

arrow/src/datatypes/datatype.rs
66.40% <0.00%> (-0.40%)
:arrow_down:

parquet_derive/src/parquet_field.rs
65.75% <0.00%> (-0.23%)
:arrow_down:

arrow/src/array/transform/mod.rs
84.64% <0.00%> (-0.13%)
: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 39f3f71...1c46241. Read the comment docs.

@nevi-me  would you like me to spin up a new RC with this change?

@nevi-me would you like me to spin up a new RC with this change?
Edit: or are you comfortable with releasing 9.0.3 given that this is only a test issue?

I'm away from my laptop, I didn't see if the failure prevented other crates from running, or if they ran. I'll confirm this evening.
I don't think cutting another RC would be necessary. Thanks @alamb


Set proxy environment in HTTP client

Without passing proxy environment to http client again, proxy will not be honored.
Issue #, if available:
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.10

/cherrypick release-0.10


[Docs] Upgrade Sphinx from 6.2 to 7.x to support Python 3.12

Describe the enhancement requested
I noticed the conda packages for the docs (https://github.com/apache/arrow/blob/main/ci/conda_env_sphinx.txt) currently can't be installed under Python 3.12 due to what I assume is sphinx 6.2 being pinned to a version of docutils that can't be installed on Python 3.12:
$ conda install -c conda-forge --file=./ci/conda_env_sphinx.txt
...
Could not solve for environment specs
The following packages are incompatible
├─ pin-1 is installable and it requires
│  └─ python 3.12.* , which can be installed;
└─ sphinx 6.2  is not installable because it requires
   └─ docutils >=0.18.1,<0.20  but there are no viable options
      ├─ docutils [0.18.1|0.19] would require
      │  └─ python >=3.10,<3.11.0a0 *_cpython, which conflicts with any installable versions previously reported;
      ├─ docutils [0.18.1|0.19] would require
      │  └─ python >=3.8,<3.9.0a0 *_cpython, which conflicts with any installable versions previously reported;
      ├─ docutils [0.18.1|0.19] would require
      │  └─ python >=3.9,<3.10.0a0 *_cpython, which conflicts with any installable versions previously reported;
      ├─ docutils 0.19 would require
      │  └─ python >=3.11,<3.12.0a0 *_cpython, which conflicts with any installable versions previously reported;
      └─ docutils 0.18.1 conflicts with any installable versions previously reported.

@jorisvandenbossche @AlenkaF have you already looked into how compatible Sphinx 7.x is with the docs? I think upgrading would be good for a variety of reasons, including making it easier for new contributors (who will likely have Python 3.12+ installed) to build the docs.
Edit: After assessment below, this work is currently blocked until Breathe supports the Sphinx 7.x series and the feedstock is updated. Breathe doesn't have a clear statement of support for Sphinx 7.x but I think its addition to their CI would be the best indicator, see https://github.com/breathe-doc/breathe/blob/main/.github/workflows/unit_tests.yml#L20.
Component(s)
Documentation

I took a look at the changelog for the 7.x series and searched the docs source for deprecations and didn't find any. I then tried to build the docs with Sphinx 7.2.6 and ran into an error with breathe,

AttributeError: module 'sphinx.domains.python' has no attribute 'PyModulelevel'

This was fixed in breathe 4.35.0 but conda is only picking up breathe 4.15.0. It's unclear but it generally looks like breathe supports Sphinx >7 but when I ask conda to solve sphinx and breathe together I get sphinx 6.2.1 and breathe 4.35.0. pip happily installs sphinx 7.2.6 with breathe 4.35.0 so I think the blocker here is conda.

The conda recipe for breathe is pinned to sphinx<7 and I don't think a PR to the feedstock bumping the pin is a good idea since it looks like breathe's support for Sphinx 7.x still WIP (based on their issue tracker).
I think we can leave this open and revisit it at some point in the future.

Thank you @amoeba for looking into this! We have been planning to remove the pin for Sphinx for a while now but didn't get to it yet so this is much appreciated.
I do not remember why we haven't removed the pin on Sphinx altogether but I guess the work here will be similar to https://github.com/apache/arrow/pull/36296 which is what you have already investigated. Waiting for breathe to support Sphinx 7.x is something we have to wait for.

Thanks @AlenkaF. I did try building the docs with Sphinx 7.2.6 and it looks fine but a more thorough inspection would be warranted. I edited my original post here to make it clear what the blocker is on this work so we can revisit this in the future.


Feature Proposal: Ability to inject specific times outside of interval

Hi first of all thanks for the great library :)
Right now the times shown are only controlled via the timeIntervals option, which makes a lot of sense. But sometimes I want to show my users a special time (e.g. 23:59 PM for end of day).
I would like to propose a new feature whereby specific times can be injected into the list of time via a new property injectTimes.
Usage :-
<DatePicker
    selected={this.state.startDate}
    onChange={this.handleChange}
    showTimeSelect
    timeFormat="HH:mm"
    injectTimes={[moment().hours(23).minutes(59)]}
    dateFormat="LLL"
/>

Resulting in something like this

I'll submit a PR with this feature.

Merged the PR, closing this

Is there a way to only show the specific times I inject, and no other times? Like if i only want 11:59pm, and 12:05am, and thats all? Like exclude all other times other than the injected ones?

Please were you able to resolve this?

Is there a way to only show the specific times I inject, and no other times? Like if i only want 11:59pm, and 12:05am, and thats all? Like exclude all other times other than the injected ones?

Please were you able to resolve this?

I think I used CSS to hide specific times I did not want to see, and the interval property (I think). It's been a while and I don't have that code base to refer to anymore.


Add documentation on how to run via command line

I see in the readme that this is possible, but I don't know where to begin. Any tips on how to run Dream Factory via command line?

Ah, thanks for the reminder - I'll have to add instructions to the readme at some point. For now, you can operate in command-line mode by making this change to your config.txt file:
WEBSERVER_USE = no

And then you can start Dream Factory with:
python dream-factory.py --prompt_file prompts/example-standard.prompts

Replace 'prompts/example-standard.prompts' with the path/filename of the .prompts file you want to run.
If you're using custom models, you may see some warnings that they're not recognized upon startup (DF is attempting to look them up before it had a list of valid models - need to fix in a future release), but they should load correctly regardless.


Check iso_url in automatic install mode like iPXE

Problem:
When iso_url is left blank in harvester automatic install like iPXE, no proper check is done, system goes into unexpected state
Solution:
Add check in harv-install shell script,  when iso_url is blank in automatic mode, stop install and show error info.
Related issue:  harvester/harvester#1439
Test plan:

Set proper iPXE boot environment
In config file (e.g. config-create.yaml), set iso_url be blank;  (BTW: given the iso_url is wrong/unreachable, there has already been some checks and error/info prompt)
Boot the VM or baremetal via iPXE
Expect: Install will stop, and show info "Failed to read iso_url, it must be set in automatic install mode"

Both PXE and ISO installation works as expected.


[WIP] [Feature] Support ARNs for EventBridge webhooks

WHY are these changes introduced?
This is a potential solution for the issue described in #125.
My understanding is that EventBridge webhooks must be registered with an ARN rather than a URL, so this introduces changes to facilitate passing an ARN as a path, or defining one via the Context object.
WHAT is this pull request doing?
When constructing an address in the webhook register method, some conditional logic has been added to differentiate EventBridge vs HTTP subscriptions.
If DeliveryMethod.EventBridge is used, the address is assigned the verbatim value of the path option, rather than prefixing it with a protocol extension + HOST_NAME. In addition, path becomes optional for the EventBridge specific options object (see the updated RegisterOptions type), and if not explicitly provided the address will fallback to the additional EVENTBRIDGE_ARN property that has been added to the ContextParams type.
To support ARNs, the deprecated top-level callbackUrl field on the GraphQL WebhookSubscription object has been removed and replaced with the new endpoint field. I believe this drops webhook support for API versions <=2020-04, which I understand may not be ideal.
Type of change

[X] Major: Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist

[ ] I have added a changelog entry, prefixed by the type of change noted above
[X] I have added/updated tests for this change
[ ] I have documented new APIs/updated the documentation for modified APIs (for public APIs)

I've added backwards compatibility for API versions that don't support the endpoint field. These requests will revert to using the node level callbackUrl field instead. Any thoughts?

Not so experienced with GH reviews, but I think all of the requested changes have been implemented now?

Hey @rdunk, sorry for the delay in responding - I think all of the changes look good now, I just haven't had a chance to test it out myself before merging, but I was actually working on that yesterday. I'll keep you posted!

I tested this myself, and I was able to register both legacy and current HTTP webhooks, and the library code worked for ARN endpoints too (even though I didn't have a valid one to test, the request we fired was correct).
Huge thanks to @rdunk for your amazing contribution and patience!

@paulomarg Great stuff! No worries about the delay at all, thanks very much for the thorough reviews and input. Hopefully others find this useful too.

@paulomarg Great stuff! No worries about the delay at all, thanks very much for the thorough reviews and input. Hopefully others find this useful too.


fix: sem rel CI

:tada: This PR is included in version 1.0.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[FLINK-17311][python][AZP] Add the logic of compressed in tgz before uploading artifacts

What is the purpose of the change
This pull request will Add the logic of compressing compiled result to flink.tar.gz before uploading artifact
Brief change log

Add the logic of compressing compiled result to flink.tar.gz before uploading artifact in build-python-wheels.yml

Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (no)
The serializers: (no)
The runtime per-record code paths (performance sensitive): (no)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (no)
The S3 file system connector: (no)

Documentation

Does this pull request introduce a new feature? (no)
If yes, how is the feature documented? (not applicable)

@zentol It seems that ci-bot has never pushed a branch for db62ebb to flink-ci/master. Is this by design (because it checks if there's a diff between the commits, and if the push was just a rebase, it won't see a diff)?

@HuangXingBo was the force push from c94cfb4 to db62ebb just a rebase to current master?
Do you think we can merge this PR as is, or should we try to manually trigger a CI build to verify again?

Thanks, @rmetzger . I just rebased to current master. The logic will be only tested in corn job. And I have tested related test in my free Azure CI https://dev.azure.com/hxbks2ks/FLINK-TEST/_build/results?buildId=203&view=results. So I think we don't need to wait for CI build.

ok. Will merge


Add support for relative paths

This is convenient for mounted file systems such as Docker, or for moving entire directories full of projects around without affecting symlinks

Thanks for this feature, it's seems nice.


Remove swiftImageInspectionShared

Remove the swiftImageInspectionShared since https://github.com/apple/swift/pull/12758 removed the need for it's existence.

@compnerd

@compnerd I haven't actually tested this but it  appears to remove ImageInspectionELF.cpp so I dont see how it would work for extra libraries that get loaded. It would also need to implement a version of lookupSymbol that doesn't use dladdr() which is unavailable in static binaries.

Huh? This commit does not remove that file.

Sorry, I mis-read the diff and didn't see the line
-  list(REMOVE_ITEM swift_runtime_sources ImageInspectionELF.cpp)

So thought that it was not getting compiled in.
The point of the libswiftImageInspectionShared is that it contains just the parts only needed in a dynamic executable, there should be a libswiftImageInspectionStatic for static executables (which is restored in apple/swift#15183). So the two are used as follows:
Normal dynamic binary and binary built with -static-stdlib: libswiftCore + libswiftImageInspectionShared (ImageInspectionELF.cpp).
Statically linked binary built with -static-executable: libswiftCore + libswiftImageInspectionStatic (StaticBinaryELF.cpp).
Once apple/swift#15183 is applied it will make more sense.

@spevans I'm really not sure I follow the logic here.  ImageInspectionELF.cpp contains everything needed for static or shared libraries.  The only bit that causes issues in the first place is the swift::lookupSymbol which we could easily conditionalize on the build type (static or shared) and it is included in the runtime.  The duplication that apple/swift#15183 causes seems unnecessary since the functions are identical.
swift_addNewDSOImage will register the current image into the registered list of images, and then register the metadata into the runtime.  The loops that you have removed in the duplication in the mentioned PR will execute once and have the same effect, so you have duplicated the code for no reason.
Why not just reuse the existing code path and remove the single function in the case of the static runtime build?  This is basically the same issue that I raised on apple/swift#15183.  I'd like to understand what exactly the motivation is to duplicate the runtime into a second build when you are simply trying to remove a single reference (i.e. dladdr) from an unused function.

I wasn't clear enough in my previous answer, but libswiftCore.a is actually used in 2 separate ways when building an executable.

Normal dynamic executable: libswiftCore.so + libswiftImageInspectionShared.so (lookupSymbol uses dladdr)

Fully static executable (-static-executable): libswiftCore.a + libswiftImageInspectionStatic.a (lookupSymbol directly reads the symbols using StaticBinaryELF.cpp

Dynamic executable with static swift stdlib (-static-stdlib): libSwiftCore.a + libswiftImageInspectionShared.a: (lookupSymbol uses dladdr)

Its case 3. which causes issues due to its mixture of static libraries in a dynamic executable.
If we wanted to eliminate the ImageInspection stub libraries we could by explicitly producing 2 libswiftCore.a and end up with:
libswiftCore.so, libswiftCoreForUseInFullyStaticBinaries.a, and libswitCoreForUseInSharedBinariesIncludingWithStaticStdlib.a which may be simpler in the end assuming we can come up with some better names 😀
As to your query about swift_addNewDSOImage you are correct in that it can be reused and in shared libraries (in combination with the initialise*Lookup() functions) it maintains a list of metadata sections from swift libraries as they are loaded and then adds them in using the initialise*Lookup() functions.
For static binaries this can be short circuited to simply add the section in the initialise*Lookup() functions since there is only one metadata section for the whole binary and its data is available immediately. This eliminates the extra call overhead of the swift_image_constructor in SwiftRT-ELF.cpp and saves maintaining the linked list.

(responding in reverse order since the latter is more involved)
I agree that short-circuiting avoids the linked list maintenance, but that really is 4 writes, which is really  not that expensive and avoids a bunch of code duplication.  I think that the benefits of a single codepath there outweighs the benefits of the tiny optimization that you get.  The "overhead" in the swift_image_constructor is some memory writes and a function call, which is again quite cheap IMO.  Do you have a particular environment in mind where the ~20 memory writes and a function call are so expensive to make this worth the possibility of divergence worth it?
As to the point of the merged static runtimes, I think that it might be nicer to have the separate builds of the runtime.   I'd like to get @bob-wilson's and @jrose-apple's opinion on this as well.  I think that longer term, having a static runtime with a dynamic executable would probably be deprecated?  This really is only needed right now due to the unstable ABI, and as discussed offline with @bob-wilson, I think that it makes sense to switch to a resilient ABI across the board in one go.  That would really obviate the need for the static runtime + dynamic executable case.  In such a case, with the merged constructor, I think that the difference really would become which runtime library you link against (libswiftCore.so vs libswiftCore.a).  This greatly reduces the overall complexity in the system.  Of course this leaves us with the difficult problem of naming.
For the naming, I think that we should go for something confusing rather than clear if my assumption about future obsolescence is correct.  We could do something like:
libswiftCore.so: dynamic runtime (dynamic executable)
libswiftCore.a: static runtime (static executable)
libswiftCoreFragile.a: static runtime (dynamic executable)
This indicates that the runtime itself is built with the fragile (Apple parlance, I don't think that Linux/Windows have a nice term for this) runtime.  The benefit of this slightly obscure naming is that we would simply drop libswiftCoreFragile.a eventually, and people wouldn't notice any changes in the command line.


test

meta:
  id: 0adaptive_scalable_texture_compression
  application: OpenGL
  xref:
    wikidata: Q4680713

.

Looks pretty cool :) I wonder if we can set up something similar for checking regular PRs for formats repo?

Basically, I like the idea of having a lint for semi-automatic reviewing of ksy submissions in formats repo very much.

wonder if we can set up something similar for checking regular PRs for formats repo?

ksylint by @cugu should be finished first. Currently that just checks the schema without using any custom validators.


Make behaviour between global and second phase when ranking.sorting='' is given consistent

Is your feature request related to a problem? Please describe.
When a global-phase is combined with the ranking.sorting='' (i.e. an empty string) then hits are returned not in the order of the relevance value but the order of the previous phase ranking. When ranking.sorting='' is combined with the second-phase then docs a returned in the descending order of the relevance value. The difference is unexpected.
Describe the solution you'd like
The behavior would be consistent between the second and global phase. It can be: a 400 error, default to -[relevance], etc.
Describe alternatives you've considered
Do not send ranking.sorting=''.
Additional context
Slack thread
Reproducibility

fixed by https://github.com/vespa-engine/vespa/pull/30182


Feature requests

The library looks great.
It would be nice to integrate saving/loading of recommendations into some storage/database. Like integrating pgvector/pgvector-php with this package for storing the recommendations.
We may have additional methods like
$recommender->itemRecs($itemId)->save();
$recommender->itemRecs($itemId)->refresh();
$recommender->itemRecs($itemId)->delete();
$recommender->itemRecs($itemId)->get();

Additionally, $recommender->itemRecs($itemId) may check for recommendations existance in database and load the same instead of generating new recommendations. The user may call $recommender->itemRecs($itemId)->refresh() to make new recommendations and sync them to database.
Maybe use model observers / events to refresh the recommendations automatically on model creation / updation or deletion.

Hi @ehsanquddusi, thanks for the suggestion. I'd like to keep the storage separate, but there's an example in the readme for pgvector.


Add draft test CI

Should fix #180. The CI is adapted from https://github.com/exercism/gdscript/blob/main/.github/workflows/test.yml and uses the LFE test runner image to test each file.

@ErikSchierboom, the proposed test CI fails on Luhn. That's a good sign, and I've confirmed that the example.lfe fails on the website so that file should be updated.


Question about redis and jdbc instrument

I find when can not get redis/jdbc connection ,the tracer do nothing(no span and no error span).  I view the source and I find the root cause that we trace the redis/jdbc access after we get redis/jdbc connection
So, I am confused that we should report error span when we can not get redis/jdbc connection

@pavolloffay  @malafeev

when we get connection we don't create span, therefore there is no error span.
but do we need to do it?
you will see  many alone spans which purpose only to show connection status.

If the connection request is part of a bigger transaction, then sure. But if it's a typical connection pooling mechanism, where a background thread opens/closes/checks the connection, then no.

should we check if there is an active span and if there is one then create span?

As for me ,I think "getConnection" is a part of transaction,so there should be only one span and "getConnection" should be first step which can be recorded in opentracing log.If not so,it is so weird for user ,beacuse he/she can not get any error span or error log ,and also it is so hard for him/her to survey problem


PowerShell remoting fails because of SSL certificate issues

After enabling PowerShell remoting by using this command, Enable-AzVMPSRemoting, this subsequent command fails:
Invoke-AzVMCommand -Name MyVM1 -ResourceGroupName MyResourceGroup -Scriptblock {Get-ComputerInfo} -Credential (Get-Credential)
With the following error:
SSL operation failed - tls_process_server_certificate:certificate verify failed

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

ID: d429ecd5-657d-35fc-fbe5-d8131c4da484
Version Independent ID: 5b51f1ff-c0b2-4810-7c05-b867a9aa06af
Content: Azure Cloud Shell Quickstart - PowerShell
Content Source: articles/cloud-shell/quickstart-powershell.md
Service: azure
GitHub Login: @maertendMSFT
Microsoft Alias: damaerte

@MGrasdal, Thanks for the feedback! We are taking a look into this and will get back to you soon.

@MGrasdal can you provide some more information about the VM you are trying to connect to?  What OS is it running?

@MGrasdal can you provide some more information about the VM you are trying to connect to?  What OS is it running?

Hi, I am using WS2016. My theory is that you need to implement the SkipCACheck option in your code. When you run the Enable-AzVMPSRemoting command, a self-signed certificate gets installed into the local machine store of the Windows Azure VM. I believe you are not accounting for this. Just my 2 cents.

Hi, I am using WS2016. My theory is that you need to implement the SkipCACheck option in your code. When you run the Enable-AzVMPSRemoting command, a self-signed certificate gets installed into the local machine store of the Windows Azure VM. I believe you are not accounting for this. Just my 2 cents.

I am experiencing the same issue. The last time I know it worked as expected was on Dec 3, 2020, and the first time I noticed this unexpected failure behavior was on Dec 17, 2020.

I am experiencing the same issue. The last time I know it worked as expected was on Dec 3, 2020, and the first time I noticed this unexpected failure behavior was on Dec 17, 2020.

Hi all, is this issue gaining any traction at all? It has been at least 10 days since the last response from MS.

Hi all, is this issue gaining any traction at all? It has been at least 10 days since the last response from MS.

@MGrasdal - Apologies for the delay in response. And Yes, Our Internal team is looking into this issue and we will let you know once we have some update from them. Thank you for your understanding.

@MGrasdal - Apologies for the delay in response. And Yes, Our Internal team is looking into this issue and we will let you know once we have some update from them. Thank you for your understanding.

Hi all, has there been any updates on the fix for this issue?

Hello. Has this gained any traction?

Hello -  Thanks for bringing this to our attention.
I'm going to assign this to the document author so they can update the document accordingly.

It is not an issue with the documentation. The issue is that the Invoke-AzVMCommand does not work properly with Cloud Shell. The documentation is, or at least was fine, until early December, 2020. At that time, something appears to have changed that broke the operation of the Invoke-AzVMCommand. I initially posted here because this was the most convenient place to get someone's attention. Please escalate this issue to the appropriate team. Thanks.

Is there a workaround that has been found that can be shared while a permanent fix is worked? A way for a user to manually install/use certs in Azure Cloud Shell if a self-signed cert is auto-generated on a VM?

Hello. Any further information?

Hello. I see that another user has mentioned this issue. Any more updates?

Any further info?

I have heard nothing. I made the original report 2 and half months ago, and there has been no sign of any activity to fix this, aside from the odd comment from MS here. I am sure this issue does require a complicated fix, so I am not sure what is causing the delay.

I'm also experiencing this bug and would greatly appreciate some traction

Can folks try this workaround?
install-module pswsman
Disable-WSManCertVerification -All

Thanks, @maertendMSFT. That works. When I posted about this issue some time ago, I had speculated that strict certificate checking had to be disabled. I was hoping that MS would update the code to do this. I was about to try a similar work around, but thanks for your solution!

@maertendMSFT that resolved the issue. Is this a temporary workaround and will the Cloud Shell behavior go back to the way it was before regarding the certificate verification, or is this going to be the way going forward?

This is just a temporary fix.  This issue was due to a change in an upstream dependency, the cmdlets will be fixed in the future.  Leaving this issue open until that point.

@maertendMSFT curious as to what that upstream dependency change was. AFAIK the builtin libmi library used by PowerShell has no certificate verification and the Disable-WSManCertVerification was added specifically for my PSWSMan fork which added that functionality. Was/is CloudShell using PSWSMan in any way here, if not then I'm not sure how Disable-WSmanCertVerification would help with this,

#label:"cloud-shell/svc"

This documentation has been updated.
#please-close


Call Waiting disabled: white/empty window on screen

After disabling Call Waiting as described in #393, callers get a busy (SIP Status 486) while I am calling with some else. I do not get that window with those two/three buttons to accept just audio, video, or reject that call. So far so good. However, I do get that window totally blank/white. I can change the current window so it moves to the back, but it does not disappear. It stays in the list of open windows until I quit Jitsi Desktop.
Platform: Ubuntu 19.10 (64 bit)
Jitsi Desktop: 2.11.5623

@traud would you mind explaining me how you did to implement this step? Which file did you edit?

@traud would you mind explaining me how you did to implement this step to disable call waiting? Which file did you edit?

When have added a property net.java.sip.communicator.impl.protocol.CallWaitingDisabled = True in Advanced/Property editor


eof_ending fixer doesn't like windows style new lines

Surely if a file ends in a windows style new line, that still counts as ending in a new line of some sort, so no fixes should be made?

The eof_ending fixer is PSR-2 and PSR-2 also states All PHP files MUST use the Unix LF (linefeed) line ending. Therefor I think the windows style new line should not be supported.
The exception is when using the windows style new line outside of PHP, for example at the end of a file after the ?> tag. To support this I created https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/1193

Closing due to merge of #1193


ignore DSL inside ignore.ghiqc

Let's add support for special syntax in order to configure tool to ignore some issues. For instance the following ignore rules can be placed in ignore.ghiqc:
author:jeff
!author:foo
author:(jeff|foo|max)
!author:(jeff|foo|max)
label:foo
label:!bug
title:"bar"
title:"*foo"
title:!"*something"

We can add author:unknown too. In case bug report was submitted by newcomer, it will check the issue, otherwise no checks will be performed.

@h1alexbel 3 puzzles #36, #37, #38 are still not solved.

@h1alexbel the puzzle #36 is still not solved; solved: #37, #38.

@h1alexbel 2 puzzles #44, #45 are still not solved; solved: #36, #37, #38.


ExceptionMessage":"ChangeSetId does not match

Hi All, I am trying to do zip deploy on Azure App Service Environment with below command.
curl -X POST -u $AZDUSERNAME:$AZDPASSWORD https://AppServiceEnvirnmentSCMURL/api/wardeploy?name=catalyst-notification1-service --data-binary @warfilepath
but I am seeing below error.
"Message":"An error has occurred.","ExceptionMessage":"ChangeSetId(release-1.0) does not match d9b1c74611e947759da28b84f1c21a07, 'master' or 'HEAD'","ExceptionType":"System.InvalidOperationException","StackTrace":"   at Kudu.Core.SourceControl.NullRepository.GetChangeSet(String id) in C:\Kudu Files\Private\src\master\Kudu.Core\SourceControl\NullRepository.cs:line 73\r\n   at Kudu.Core.Deployment.FetchDeploymentManager.d__9.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 235\r\n--- End of stack trace from previous location where exception was thrown ---\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at Kudu.Core.Deployment.FetchDeploymentManager.<>c__DisplayClass8_0.<b__0>d.MoveNext() in C:\Kudu Files\Private\src\master\Kudu.Core\Deployment\FetchDeploymentManager.cs:line 116\r\n--- End of stack trace from previous location where exception was thrown ---\r\n .
My repo is GITLAB and project version is release-2.0 . I build the war file as part of CI process in GITLAB on branch release-2.0. I cloned this release-2.0 branch from release-1.0.
I did verified my yml and POM file to check if there any references to release-1.0 branch but could not see any references.
Any help on this would be greatly appreciated.
Thanks,
Shekar

I am also using a private gitlab to deploy to Azure app services.
I recommend using "External Git" as your deployment method.

Set up a special "Deployment" branch within your repo, with the desired deployment payload

in the app service, go to deployment center, select "External Git"

Select Kudu build service

Provide the "Clone with SSH" url as the source

Provide the name of your deployment branch

Assuming your repo is private, provide either your credentials, or the credentials of a neutral "deployment user" (our solution)

Ok now time to tell Gitlab what the deal is:
Every app service will happily provide it's RSA key if you go to the following url

Log in if prompted
https://your-app.scm.azurewebsites.net/api/sshkey?ensurePublicKey=1

NOTE: Replace your-app with the name of your app service
THIS (without the double quotes) is the deployment key (ssh key) you need to give to your project in gitlab, so that gitlab will allow kudu to pull.

That's it!
You can manually tell azure to deploy your branch by clicking the "Sync" button that is now present in the deployment center.

But we're lazy developers right? Why do I have to go click a thing when I JUST updated my deployment branch? Fortunately Both Azure App Services and Gitlab made this part pretty painless

On the app overview page in the Azure Portal, download publish profile

Look for the password in the file
Recommended if using vscode:

set vscode to treat the file as an html file
apply document formatting from the command palette (F1)

In gitlab, in the project, go to Settings > Integrations

Add URL<EMAIL_ADDRESS>

Test:

Make a small change and push it into the deploy branch
In the deployment center make sure the deploy commit # is the same

I am getting the same error as above. Has anyone solved the real issue here?

@tonykaralis Have you tried the solution suggested by @carson-nr  above? also if this is still occurring, can you please post the exception message here?

@tonykaralis @lshekarrao One of the reasons why you would run in to this issue is if you already have CICD configured with the app and if you try to deploy something out of band and/or change your deployment source without disconnecting. If you are still running in to this issue, we would need to collect some more information.
But my first recommendation would be for you to disconnect and re-connect to your source control.

@nertim Thanks for getting back to me. I did realise at the time I had configured for deployment via an external git source. Once I disconnected the zipdeploy worked. It would be great if the error messages were slightly more verbose.
Thanks though, I did get it working in the end.

Hello. I am experiencing the same behavior. Previously I used "local git" deployment. Now I try to perform a zip-deployment. I have disconnected the "local git" deployment source. But the same error as above:
ChangeSetId(azure_dev) does not match 876813da8c5c46ed8ee160b35fc4eea7, 'master' or 'HEAD'
happens. It seems, that Kudu tries to use "local git" deployment furthermore. How could the "local git" deployment  be completely turned off?
deploymentlog.xml.txt

Remove "d:\home\site\repository" directory and retry.

@suwatch thank you, unfortunately it did not help. But I solved the problem.
I had a configuration setting
deployment_branch=azure_dev
After deleting it, zip-deployment started to work.

@suwatch thank you, unfortunately it did not help. But I solved the problem.
I had a configuration setting
deployment_branch=azure_dev
After deleting it, zip-deployment started to work.
I couldn't find  deployment branch settings . But removing settings.xml from D:\home\site\deployments>  worked for me

The common cause for this is when a site or slot have 2 conflicting types of deployments (eg. zipdeploy as well as git such as localgit or CI/CD for GitHub, etc.).   Wonder if your issue fall into this category?

@tonykaralis @lshekarrao Um dos motivos pelos quais você teria esse problema é se já tiver o CICD configurado com o aplicativo e se tentar implantar algo fora da banda e / ou alterar sua fonte de implantação sem se desconectar. Se você ainda estiver enfrentando esse problema, precisaremos coletar mais algumas informações.
Mas minha primeira recomendação seria que você desconecte e reconecte ao seu controle de origem.

This works, but I don't want to have to logout every time I need to upload new code, do you know any code to automatically logout?

A causa comum para isso é quando um site ou slot tem 2 tipos conflitantes de implantações (por exemplo, zipdeploy e git, como localgit ou CI / CD para GitHub, etc.). Quer saber se o seu problema se enquadra nesta categoria?

O meu acontece isso, porém eu queria que desconectasse porque toda vez que preciso mudar alguma coisa no código, ele da esse erro, e eu preciso desconectar manualmente, é possivel com algum codigo automatizar isso?

@tonykaralis @lshekarrao Um dos motivos pelos quais você teria esse problema é se já tiver o CICD configurado com o aplicativo e se tentar implantar algo fora da banda e / ou alterar sua fonte de implantação sem se desconectar. Se você ainda estiver enfrentando esse problema, precisaremos coletar mais algumas informações.
Mas minha primeira recomendação seria que você desconecte e reconecte ao seu controle de origem.

This works, but I don't want to have to logout every time I need to upload new code, do you know any code to automatically logout?

In my case I only needed to do this one and specifically because I had previously set up a different means of deployment as @nertim had mentioned. Once I did this, I didn't have to login and do anything ever again. Perhaps you are experiencing this for different reasons.

Just happen to hit into this with a cx.
Deleting an App setting entry with "DEPLOYMENT_BRANCH" worked for us.

Hi
If the problem persists and is related to running it on Azure App Service, please open a support incident in Azure:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
This way we can better track and assist you on this case
Thanks,
Joaquin Vano
Azure App Service


Remove unneeded environment variable from ROCm install guide

Is it because we set it here?
https://github.com/cupy/cupy/blob/0d103ab79708d620642d0aa13253b211ef219d51/cupy_setup_build.py#L597

I guess the documentation was wrong from the start.
It seems there are no modules using __HIP_PLATFORM_HCC__ as an environment variable. Moreover export __HIP_PLATFORM_HCC__ (without value) does nothing.

Yeah I didn't notice it's not recommended to be set to 1, and indeed it's only needed by compilers (as a compile time flag) to select the code path.

Change looks correct in the docs. Merge without jenkins


Switch from Qt Process to subprocess

After debugging with @amymmorton it seems that qt.QProcess does not appear to be working on some instances of Windows. However, using the subprocess library from Python worked fine.
This appears to be related to issue #15

Is there a qt issue referencing a known problem ?

I could not find an issue on the Qt forums, Amy and I tried a few things to get the QProcess working but nothing seemed to work.
I did have another idea, however, @amymmorton could you add the following line to AutoscoperM.py at line 351?
print(self.AutoscoperProcess.state())

This will allow us to verify the state of the subprocess right before the connection attempt is made.

To
C:\Users\amorton1\AppData\Local\slicer.org\Slicer 5.3.0-2023-03-27
slicer.org
\Extensions-31693\SlicerAutoscoperM\lib\Slicer-5.3\qt-scripted-modules\AutoscoperM.py
on line 351 added
print(self.AutoscoperProcess.state())
I relaunched slicer and the autoscoperM module, tried to launch autoscoper,
before the error messages was 0:
0
Traceback (most recent call last):
File "C:/Users/amorton1/AppData/Local/slicer.org/Slicer
5.3.0-2023-03-27/slicer.org/Extensions-31693/SlicerAutoscoperM/lib/Slicer-5.3/qt-scripted-modules/AutoscoperM.py",
line 249, in onApplyButton
self.logic.startAutoscoper(executablePath)

File "C:/Users/amorton1/AppData/Local/slicer.org/Slicer
5.3.0-2023-03-27/slicer.org/Extensions-31693/SlicerAutoscoperM/lib/Slicer-5.3/qt-scripted-modules/AutoscoperM.py",
line 357, in startAutoscoper
self.connectToAutoscoper()

File "C:/Users/amorton1/AppData/Local/slicer.org/Slicer
5.3.0-2023-03-27/slicer.org/Extensions-31693/SlicerAutoscoperM/lib/Slicer-5.3/qt-scripted-modules/AutoscoperM.py",
line 310, in connectToAutoscoper
self.AutoscoperSocket = AutoscoperConnection()

File "C:\Users\amorton1\AppData\Local\slicer.org\Slicer
5.3.0-2023-03-27\lib\Python\Lib\site-packages\PyAutoscoper\connect.py",
line 24, in init
self.socket = self._openConnection()

File "C:\Users\amorton1\AppData\Local\slicer.org\Slicer
5.3.0-2023-03-27\lib\Python\Lib\site-packages\PyAutoscoper\connect.py",
line 103, in _openConnection
s.connect((self.address, 30007))

ConnectionRefusedError: [WinError 10061] No connection could be made
because the target machine actively refused it
[image: image.png]
On Thu, Mar 30, 2023 at 12:53 PM Anthony Lombardi @.***>
wrote:

I could not find an issue on the Qt forums, Amy and I tried a few things
to get the QProcess working but nothing seemed to work.
I did have another idea, however, @amymmorton
https://github.com/amymmorton could you add the following line to
AutoscoperM.py at line 351
https://github.com/BrownBiomechanics/SlicerAutoscoperM/blob/main/AutoscoperM/AutoscoperM.py#L351
?
print(self.AutoscoperProcess.state())
This will allow us to verify the state of the subprocess right before the
connection attempt is made.
—
Reply to this email directly, view it on GitHub
https://github.com/BrownBiomechanics/SlicerAutoscoperM/issues/18#issuecomment-1490623518,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APUUPFUBYEPH2MQ6ZEZPB23W6W26ZANCNFSM6AAAAAAWNPKK6Y
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Amy Morton, MSc
Sr. Research Engineer, Bioengineering Lab, Department of Orthopaedic
Research
The Warren Alpert Medical School of Brown University and Rhode Island
Hospital
1 Hoppin Street, CORO West, Ste. 404, Providence, RI 02903

I was able to recreate the error on my desktop. It appears we are getting a Failed to Start  error. Which could be due to a permission error^1. I will continue to investigate this issue.
Autoscoper process error:  0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Failed to Start:  0
Crashed:  1
Timedout:  2
WriteError:  4
ReadError:  3
UnknownError:  5

Closed via #19


feat: initial commit for next version with web-relay

Putting all facts in one file and sending that to the relay, nothing more.

@rbndg


fix(client): handle the final slash sensitivity on core routers

This PR introduces the following modifications:

reflects the final slash in the endpoint of base router (cf. https://github.com/pyronear/pyro-api/blob/main/src/app/api/endpoints/sites.py#L22) by modifying the client routes
make sure the API is redirecting to the trailing slash endpoint in the backend to avoid problems later
add a test case in the integration test script

Any feedback is welcome!
cc @MateoLostanlen

Thanks @frgfm  for fixing this bug and for adding the test, let me know when you've fixed it :smiley:

Alright, all tests passed, everything is backward compatible! I'll merge this to clean up other things in the mean time


Can't run webpack

Describe the bug
Despite webpack and webpack-cli being available, the webpack command won't run, saying webpack-cli needs to be installed. (and installation fails)
Steps To Reproduce
Steps to reproduce the behavior:

nix-shell -p nodePackages.npm nodePackages.webpack --command webpack
answer "yes" or "no

Also fails the same way:
nix-shell -p nodePackages.npm nodePackages.webpack nodePackages.webpack-cli --command webpack
Expected behavior
webpack should run and do the build.
Metadata
Please run nix-shell -p nix-info --run "nix-info -m" and paste the result.
[user@system:~]$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 5.10.0-7-amd64, Debian GNU/Linux, 11 (bullseye), nobuild`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.6.1`
 - channels(pierre): `"nixgl, nixos, nixos-21.05-21.05, nixpkgs"`
 - channels(root): `"nixpkgs"`
 - nixpkgs: `/home/pierre/.nix-defexpr/channels/nixpkgs`

This seems to work for me.
nix-shell -p nodePackages.npm nodePackages.webpack-cli --command webpack-cli

Please try using the new webpack-cli package in nixpkgs, and open a new issue if there are problems!


Add addresses in Colorado Springs, CO

Status:

[ ] Research sources and propose best source (and it's data license)
[ ] Review proposed source
[ ] Approve source based on review comments
[ ] Add to OpenAddresses

NOTE: Proposed source notes should include basic column mapping to OpenAddress data model.

service: http://gis.coloradosprings.gov/arcgis/rest/services/springsview/SpringsView_AllLayers/MapServer/120 ?

sent out several e-mails and asked on social media (facebook/ twitter) for gis/ planning department contact info and asked about open data.  Will need to follow-up asap.

followed up with planning department who told me to contact IT, who sent me to colorado computer support, who sent me back to the planning department.  I finally received someones contact info who may assist.
matt bingman
<EMAIL_ADDRESS>719-385-5602
called and left a voicemail - will follow-up tomorrow if I do not hear from him tonight

Matt called me today (10/4/2016 4 pm CST) and said they have the data.  He cannot just give it to me because it is from their police department - He literally had to take a polygraph test to access it (no idea why - thought i would just make mention of it!?!) - He is reaching out to the head of IT to see if it is something we can access and will get back to me in the next day or two.

Wow, please thank him for his diligence!

10/13/2016 called Matt backand left a voicemail - emphasizing we only need lat/ long/ st name and house/ bldg number.

10/14/2016 called Matt again and left voicemail

I think we can close this because we have the data for all of El Paso County, CO.

El Paso link here: https://www.dropbox.com/sh/nnux4dwcxlivva2/AAC2_0oXKeDS-_kOQNDtedY8a?dl=0

I used our upload thing to put this on S3 here: https://s3.amazonaws.com/data.openaddresses.io/cache/uploads/iandees/b43a21/JM EPC Lat Long Location Data.zip


npx prisma init error

Am getting the error below when I try to initiate prisma, any idea why am getting the error?

Downloading Prisma engines for Node-API for windows [                    ] 0%Error: request to https://binaries.prisma.sh/all_commits/73e60b76d394f8d37d8ebd1f8918c79029f0db86/windows/migration-engine.exe.gz.sha256 failed, reason:
unable to get local issuer certificate
error Command failed with exit code 1.

Any local network configuration that is uncommon? The file is available for download, so this seems to be something in your setup that leads to a message when checking the SSL certificate chain.

I have similar issue when installing through keystone:
'FetchError: request to https://binaries.prisma.sh/all_commits/2b0c12756921c891fec4f68d9444e18c7d5d4a6a/darwin-arm64/libquery_engine.dylib.node.gz.sha256 failed, reason: unable to get local issuer certificate\n' +
    '    at ClientRequest.<anonymous> (/Users/dev/backend/node_modules/@prisma/engines/dist/index.js:12769:16)\n' +
    '    at ClientRequest.emit (events.js:400:28)\n' +
    '    at TLSSocket.socketErrorListener (_http_client.js:475:9)\n' +
    '    at TLSSocket.emit (events.js:400:28)\n' +
    '    at emitErrorNT (internal/streams/destroy.js:106:8)\n' +
    '    at emitErrorCloseNT (internal/streams/destroy.js:74:3)\n' +
    '    at processTicksAndRejections (internal/process/task_queues.js:82:21) {\n' +
    "  type: 'system',\n" +
    "  errno: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY',\n" +
    "  code: 'UNABLE_TO_GET_ISSUER_CERT_LOCALLY'\n" +
    '}',


chore(bumped-dependencies): bumped mongoose and other deps to latests…

… versions

Codecov Report
Patch coverage: 63.63% and no project coverage change.

Comparison is base (ea1a7ea) 91.26% compared to head (dba4e5e) 91.26%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.
Additional details and impacted files
@@           Coverage Diff           @@
##           master      #57   +/-   ##
=======================================
  Coverage   91.26%   91.26%
=======================================
  Files          27       27
  Lines         584      584
  Branches      124      124
=======================================
  Hits          533      533
  Misses         46       46
  Partials        5        5

Files Changed
Coverage Δ

src/types/types.ts
100.00% <ø> (ø)

src/extendAggregate.ts
31.57% <33.33%> (ø)

src/utils/cacheKeyUtils.ts
100.00% <100.00%> (ø)

src/utils/mongooseUtils.ts
100.00% <100.00%> (ø)

src/utils/queryUtils.ts
100.00% <100.00%> (ø)

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Support override of + - * / for Fixnum and Float (rebased)

I've rebased #2579 (Support override of + - * / for Fixnum and Float) and added tests. Could we add this to mruby? It would be useful for most numeric gems (like Bignum or float4).

@matz: what do you need to consider this pull request? I am not against making this optional (new flag in mrbconf.h) if you think that including this by default is not necessary.

I made some progress on this (configuration and tests), but it seems that I misunderstood the actual mruby limitation. It looks like there always was a possibility to use Fixnum/Float +-*/ with custom classes.
The current version has a configuration flag MRB_ENABLE_NUMERIC_OVERRIDE (disabled by default). However, there are still limitations coming from the fact that + and other operators are not actual methods (you can't use super or alias_method, for example).
Therefore I am leaving my latest changes here for all of you to decide what the next step should be.


rust-analyzer --version is always nightly

download the latest release from https://github.com/rust-analyzer/rust-analyzer/releases/tag/2021-04-12
./rust-analyzer-aarch64-apple-darwin --version outputs nightly

VSCode Rust Analyzer: Show RA Version also returns nightly.

Duplicate of #8239


Adds "web-components" keyword

Which allows customelements.io to fetch this package from Bower

Killed bower support. Is this is valid as an npm keyword?

Yep


Different results from CRISPR Cas typer web server and standalone version

I need a bit more information to figure out where the problem could be.

Are you using the same standalone version as what is run on the webserver?
In which way are the results different?
Do you have a reproducible example I can use for testing?

Hello Sir,
Thank You for the response. Yes, I am using the same standalone version as
what is run on the web server (version 1.8.0). I am using this tool to
identify CRISPR-Cas systems in Metagenome Assembled Genomes (MAGs).The tool
identifies CRISPR-Cas systems in a particular bin through web server but no
CRISPR-Cas are identified for the same bin using the standalone version.
I also have certain other queries mentioned below:

How can we use the standalone version to identify CRISPR-Cas system from
all the bins at once.
2.Some of the Cas9 are predicted as ambiguous and the best type is shown as
Type II-A and Type II-C, what does this mean?
3.The predicted Cas operon tab has a false positive column but then also it
predicts the type and other details. Why?
What does unknown gene actually mean (the gene is not known to play a
role in CRISPR-Cas system or the function of the gene is not at all known)?
One of the contigs shows two Cas9 (adjacent to each other). What does it
signify?
Cas1 gene is mostly shown by purple color in the graph plot, but it is a
gene involved in adaptation so it should be shown in blue. What is the
reason for this?

I will be greatful for a quick response.
Thank You
Smiriti Gupta
On Fri, 6 Jan 2023 at 14:18, Jakob Russel @.***> wrote:

I need a bit more information to figure out where the problem could be.

Are you using the same standalone version as what is run on the
webserver?
In which way are the results different?
Do you have a reproducible example I can use for testing?

—
Reply to this email directly, view it on GitHub
https://github.com/Russel88/CRISPRCasTyper/issues/34#issuecomment-1373357602,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A5CM5DJZDKSSV3BDYEFAVRDWQ7L6NANCNFSM6AAAAAATQZLEWI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi
I will answer point by point. As for the difference between web server and standalone, how specifically are the outputs different? Do you use some non-default parameters on either the standalone or webserver?

You could put them all in one fasta and run cctyper with --prodigal meta, but it's faster to parallelize across MAGs with for example GNU parallel
There is a Cas9 HMM that matches both II-A and II-C, hence it's ambiguous
Not sure what you mean by a false positive column?
Unknown gene means that it is not CRISPR-Cas related
It's an operon with two cas9, or maybe it should have been one gene but the ORF was called wrongly
That sounds like a mistake, could you send one of the figures? Also, is it only for specific subtypes or for different subtypes?

Cheers,
Jakob

Please find the image showing Cas1 in purple. It is for all subtypes


Some images skipped utilizing option 6

I recently left the program run overnight as it backed up all my current bookmarks on my profile onto my local drive. I went into the config file and made sure to turn R18 mode to "true" so that nothing would be skipped. After going through a couple folders though, I've noticed that the program skipped over some images from some artists. For some artists, it was maybe 2 or so images. For others, it was close to 10-15 images missing that I have bookmarked. Also I do have the premium membership to Pixiv so there is no limit there.
Sorry if this is not in-depth or technical enough, let me know if there is any other information you need.
E1: I just saw this bit in the readme file:
"Setting it to True will only download R-18 images."
Does this mean that, leaving it on false will download both NSFW and SFW images? Or just SFW? Essentially I want to download all my bookmarks regardless if they are SFW or NSFW.

check the readme?

Yes as I put in my edit (which was edited about 5 minutes after my original post), I did read that in the readme/on the main code page of this github project. However, as I put in my edit, I am a little confused about the wording. If you leave that value "False", will it download BOTH SFW and NSFW images? Or just SFW?

open these two urls and you will see the difference... in short the answer to your question is `BOTH SFW and NSFW`.

i think you could just change the value of this option item to see the difference...

if r18mode is set to true, PixivUtil2 would use https://www.pixiv.net/bookmark_new_illust_r18.php?p={page_index} to get all bookmarked images/mangas. otherwise https://www.pixiv.net/bookmark_new_illust.php?p={page_index} would be used.
open these two urls and you will see the difference... in short the answer to your question is BOTH SFW and NSFW.
i think you could just change the value of this option item to see the difference...

Hello and thanks for the response! I was trying to download all my bookmarks all in one go (around 400 pages of them) so I wanted to double check before running it again. It does appear to be as you say, leaving it to "false" will download everything. My "issue" is resolved, thanks!


Inject ADOP LDAP and ACL enabled environment variables.

Injects ADOP LDAP and ACL enabled environment variables.
Signed-off-by: Northard, Robert A<EMAIL_ADDRESS>

LGTM.


Maintain separate change log document

The change log is currently tacked onto the end of the README document, down in the Python module. I think the information deserves a top-level change log document.
This would also allow expanding the format of the log: a separate section for each version, specifying release date and maintainer, with a bullet list of user-visible changes in each version.

My suggested implementation is a top-level CHANGES.txt document in reStructuredText format. This allows metadata for each version such as release date, to be specified in a field list for the version.
The branch at https://notabug.org/bignose/python-adventure/src/wip/feature/changelog-document also has a section for the in-progress version, to allow changes to be documented before the release date or version number is known.

My suspicion is that python-adventure, as a feature-complete port of the original, will not be seeing further versions released. For now, let’s keep the change log inline where it’s easier for folks to read right in the main documentation file. If in the future it becomes clear that Adventure is going back into an active development phase, then we can re-open this and opt for the more complicated but flexible scheme where the changelog is a separate file. Thanks!


Share on LinkedIn

Hello,
thanks for nice lib for swift. Any plans for share on linkedIn using your lib.  I want to share contents on linkedIn.
thanks

I also wanted to share content on linked in . Please help


Improve error messaging for upload failures

We see these fairly often. Let's get some more information about the issue so we can fix it if possible.

Not very common


1.3.2 rc

If an error occured  everdev update prints:
Updating globally-installed package everdev
npm ERR! A complete log of this run can be found in:
npm ERR!     /home/tiger/.npm/_logs/2022-10-20T08_27_18_379Z-debug-0.log
Error: An error occurred while trying to update everdev globally

If you installed everdev with sudo, run "sudo update -g everdev"

Advice: it is always possible to install packages globally without sudo,
here you can learn how: https://github.com/nvm-sh/nvm#node-version-manager---```


[BUG] New music that you add to playlist isn't added to playback queue

To repeat it:

create new playlist
add one song into the playlist
play this song from the playlist
while the song is playing add an other one
Playback will be stopped after the first song

Ah, interesting one. I would like to say, "it's not a bug, it's a feature".
Adding a track to a playlist being played will not see this new track added to the queue indeed. The way we play the tracks is context agnostic for now, meaning that the player doesn't care if you play from the main view or the playlist view.
One specific bug happening is you will see the "now playing" animation in both the Library view and the Playlist view.
About your very problem, I am not sure what should be the solution UX-side. I will try to see how other players handle this case.

hmm, that's true too, but itunes has an option to add to queue

There is one too in Museeks, or are you talking about something else?

@KeitIG sorry missed it thx, but would u also like to add an option: "Play next"