The parameter is incorrect.

Hi team,
I just installed Terminal app from store.
But app can't start. It throw exception:
[Window Title]
C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.4.3243.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
[Content]
C:\Program Files\WindowsApps\Microsoft.WindowsTerminal_1.4.3243.0_x64__8wekyb3d8bbwe\WindowsTerminal.exe
The parameter is incorrect.

Which version of Windows?
Is you r issue the same as any of these issues?

It is v.1909, OS build 18363.1198.
And I try to start the terminal with -m and --minimized --focused
parameters.
But it didn't work.
On Fri, Dec 11, 2020 at 1:39 PM Mike Griese<EMAIL_ADDRESS>wrote:

Which version of Windows?
Is you r issue the same as any of these issues
https://github.com/microsoft/terminal/issues?q=is%3Aissue+"The+parameter+is+incorrect"+is%3Aclosed
?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/terminal/issues/8559#issuecomment-743145145,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALBON7ZOLROWPKWW7CXNILSUIAIPANCNFSM4UWKHJXA
.

Well that makes sense - --minimized isn't supported (yet) 😄
https://github.com/microsoft/terminal/blob/a1f42e87a8f7670a405f9df38ee1803db76fc516/src/cascadia/TerminalApp/AppCommandlineArgs.cpp#L163-L172
See also /dup #7374

That's cool, but I have the same error.
On Tue, Dec 15, 2020 at 12:53 PM Mike Griese<EMAIL_ADDRESS>wrote:

Well that makes sense - --minimized isn't supported (yet) 😄
https://github.com/microsoft/terminal/blob/a1f42e87a8f7670a405f9df38ee1803db76fc516/src/cascadia/TerminalApp/AppCommandlineArgs.cpp#L163-L172
See also /dup #7374 https://github.com/microsoft/terminal/issues/7374
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/terminal/issues/8559#issuecomment-745211613,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AALBON6T3LMQ6IM4XDILZHDSU45ZJANCNFSM4UWKHJXA
.


Add tests for invoice finance flow

Fixes #ISSUEID
Add description here.

Codecov Report

Merging #2705 (7f59d65) into main (6bc7b8d) will increase coverage by 0.19%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2705      +/-   ##
==========================================
+ Coverage   80.57%   80.76%   +0.19%
==========================================
  Files         652      652
  Lines       23227    23441     +214
==========================================
+ Hits        18714    18932     +218
+ Misses       4513     4509       -4

Impacted Files
Coverage Δ

hypha/apply/projects/tests/test_forms.py
100.00% <100.00%> (ø)

hypha/apply/projects/tests/test_models.py
100.00% <100.00%> (ø)

hypha/apply/users/tests/factories.py
98.75% <100.00%> (+0.08%)
:arrow_up:

hypha/apply/projects/models/payment.py
92.66% <0.00%> (+2.66%)
:arrow_up:

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 6bc7b8d...7f59d65. Read the comment docs.


Spontaneous Data Deletion

I have a very odd problem, and I'm still not entirely sure if it's a problem in my code or mongoose. I'm working on a MUD server, and I've got it to the point where a world can be loaded into a Mongo database via Mongoose, and then loaded to be wandered around in.
The rooms are loaded from the database into memory, and stored in an associative array (made with {}). There is no other direct interaction with mongoose. However, when I move into another room, the data for the room in MongoDB simply disappears. There's no exception, no mongoose error that I'm aware of. I just move, and the data goes poof. It's still in memory of course, and I can move around the MUD until I restart it, at which point crashes because there's no world data.
The MUD code is located here: https://github.com/ProjectMoon/nmud
Steps to reproduce:
cd nmud
node import.js ./sampleworld.json
node main.js

nmud> move north
nmud> move south

When you move into the room, the data for it disappears from the rooms collection in the nmud database in Mongo.
I've stepped through my code with a debugger, and the room data is there from the command being entered all the way to the results of the command being output, so I'm not really sure where it's happening. I suspect it's somewhere inside Mongoose.
Is there a way to turn on detailed logging for Mongoose? That would help me better identify the problem. It would also help me produce a boiled-down test case.
The MUD server does some really weird stuff with mixins and prototype chains (see core.js), and I highly suspect this is causing issues with Mongoose. Not sure though.

require('mongoose').set('debug', true);
On Fri, Jan 6, 2012 at 12:41 PM, ProjectMoon <
<EMAIL_ADDRESS>
wrote:

I have a very odd problem, and I'm still not entirely sure if it's a
problem in my code or mongoose. I'm working on a MUD server, and I've got
it to the point where a world can be loaded into a Mongo database via
Mongoose, and then loaded to be wandered around in.
The rooms are loaded from the database into memory, and stored in an
associative array (made with {}). There is no other direct interaction
with mongoose. However, when I move into another room, the data for the
room in MongoDB simply disappears. There's no exception, no mongoose error
that I'm aware of. I just move, and the data goes poof. It's still in
memory of course, and I can move around the MUD until I restart it, at
which point crashes because there's no world data.
The MUD code is located here: https://github.com/ProjectMoon/nmud
Steps to reproduce:
cd nmud
node import.js ./sampleworld.json
node main.js

nmud> move north
nmud> move south

When you move into the room, the data for it disappears from the rooms
collection in the nmud database in Mongo.
I've stepped through my code with a debugger, and the room data is there
from the command being entered and the results of the command being output,
so I'm not really sure where it's happening. I suspect it's somewhere
inside MongoDB.
Is there a way to turn on detailed logging for Mongoose? That would help
me better identify the problem. It would also help me produce a boiled-down
test case.
The MUD server does some really weird stuff with mixins and prototype
chains (see core.js), and I highly suspect this is causing issues with
Mongoose. Not sure though.

Reply to this email directly or view it on GitHub:
https://github.com/LearnBoost/mongoose/issues/673

--
Aaron

Got this:

jeff@io:~/Programs/nmud$ node main.js
Mongoose: rooms.find({}) { fields: undefined, safe: true }
nmud> move north
You move north
Sample Room 2
This is the second sample room.

nmud> Mongoose: rooms.remove({ _id:<PHONE_NUMBER>00000000000000 })

Then I just had an epiphany. It's a prototype mixup. Closing issue.


System search bar

Proposed changes
Adds a search bar to the client debugger view. Systems are hidden when they do not match the search filter.
Related issues
Closes #109
Additional comments
The server debugger would also benefit greatly from the search feature but the way that's all setup makes it more complicated. Let's re-visit another time to add the search to the server view.
Preview
https://gyazo.com/509ee4478fa14ac37a1b7ad642b128df

I'm not sure it makes sense to add it to one realm but not the other

I'm not sure it makes sense to add it to one realm but not the other

I do agree that it is peculiar to add it to one realm and not the other. The shared server debugger complicates implementing the search feature, but I'm happy to explore that again with guidance.

but the way that's all setup makes it more complicated.

Can you explain in more detail exactly what is making it more complicated and how much more complicated?

Do we share the search filter between users or do we come up with a way to allow users to search independently from each other?

Do we share the search filter between users or do we come up with a way to allow users to search independently from each other?

Right now the there's just one server debugger, so it doesn't really seem like that's much different from other parts of the state that get shared for everyone using it unless I'm misunderstanding something.

but the way that's all setup makes it more complicated.

Can you explain in more detail exactly what is making it more complicated and how much more complicated?

The server debugger is setup in a way that shares the debugger state between debugging clients. The EventBridge class seems to handle parts of that behaviour. I was unsure on how best to approach implementing it, as following the existing shared behaviour of the server debugger would mean that the search filter is shared between debugging clients. Essentially, if multiple clients were typing in the server search bar at the same time, their search filters would be clashing with each other.
I could have another look at some point to see if making the search on the server unique to the client who is searching is feasible with the current setup. I'm not yet well familiarized with the shared server debugger's logic (the part of it that shares the state between all debugger clients), so that may be why I found it less straightforward.

I did try adding a updateSearchFilter condition case here, but there's more to it than that.

as following the existing shared behaviour of the server debugger would mean that the search filter is shared between debugging clients.

Right, this is what I'm saying. This doesn't sound like new behavior or a new challenge to me, it sounds like it's just baggage we already deal with in the server debugger because of the way it works. There's lots of state that's sort of weird because of how it operates in this shared way, and this just sounds like another.
We can improve it, but I think it's just okay to have it work that way for now, and we can look into improving it later. Honestly, most of the time only one person is really using the debugger at a time anyway. So it's a bit of unpleasantness sometimes, but not something that I think really should prevent it from functioning.
If you think you have a good handle on the problem you can go ahead and pre-emptively make an issue for it, but I think we should have this working in the server debugger even if it behaves weird when that happens.

I'll take a look at the server search functionality again! 😄

@Nidoxs Why is this closed? I think that it's currently OK to have shared state between client and server in the debugger because that's how the rest of this works.


Align map view so that marker is close to the bottom

Hi There.
How do I allow the cursor to be more towards the bottom of the page like in the regular gps navigation styles?

Hi! You would need to modify the component responsible for the map. There is no built in solution for this, so you would need to provide a solution on your own.

Closing this for now


Add error handling for unauthorized map modifications

Can you please provide more details, and reproduction steps if possible?
Thank you, @MartinBelthle

From what I understood from Martin's explanation yesterday: when the user tries to modify the map of a study for which he does not have write access, he should receive an error message notifying him that he does not have authorization.
The actual behavior is that he receives the "403 Forbidden" error, because when he examines the responses to the requests in the "Network" tab of the DevTools, he can see this error.
According to Martin, the fix would simply be to display the "403 Forbidden" error in a red notification message, as it is done for other error messages.
From my point of view, it would be necessary to forbid the modification of the map (disable the modification buttons, etc.)

Laurent explained really well. The old behavior was displaying the "403 forbidden" error in a red notification message.

if the user does not have write access, to prevent them from even attempting to make changes. Displaying a red notification message after the fact is not enough, as it still allows the user to make the unauthorized changes before they receive the notification. To provide a complete and secure solution, disabling the modification buttons would be necessary in addition to displaying the error message, as suggested by @laurent-laporte-pro. Thanks to both of you @MartinBelthle.
Maybe we should move this to a new issue e.g.(disable map modifications for unauthorized users)?


Can’t do the cron job for backup gcp

Hi Jack, first of all thank you for your script! I wonder if you can help with this... when I tried to run the job, it gives me, no disks were found please check your script options/account permission. Do you think you can help me with this? Thanks again !!

Hi @hvalentino
Does the script work when you run it manually?
If so, have you tried using sudo in the CRON command?
Using the example in the README that would be:
0 5 * * * sudo root /opt/google-compute-snapshot/gcloud-snapshot.sh > /dev/null 2>&1

Another user has reported that this fixed the problem for them!
Thanks,
Jack

Hi all,
So I started the thread regarding "command not found" only when the script was run through crontab.
To resume what happened
During normal shell session in terminal
gcloud  --> command is found
sudo gcloud --> command not found
Once the script is run through crontab with current user (NOT sudo)
0 5 * * * /opt/google-compute-snapshot/gcloud-snapshot.sh > /dev/null 2>&1
in the log file--> gcloud command not found
I tried adding my path to the gcloud sdk in my case /home/user/google-cloud-sdk/bin/gcloud
to the $PATH variable and when I called echo $PATH in the terminal the directory was well in PATH.
What i figured is that crontab runs through a limited PATH environment including only /usr/bin and /bin. No matter how I tried to mention to crontab to take into account my sdk path, it just would not use it.
So What I did is really simple. I just created a symlink to gcloud in the /usr/bin folder this way
$ sudo  ln -s /home/user/google-cloud-sdk/bin/gcloud /usr/bin/gcloud
This completely fixed the issue. As long as the script for auto snapshot does not require any other command from the gcloud-sdk environment, it will work like a charm for most users I guess.
Hope I could help someone!
Cheers!

(closing due to lack of activity)


Allow to add mutliple artifacts at once for ConfigurationVariant

Expected Behavior
Currently ConfigurationVariant API only allows adding a single artifact to it.
Quite often plugins need to configure artifacts as the content of FileCollection which may contain multiple files. And artifact method expects only single file.
On the other hand ConfigurationVariant has API method getArtifacts() which allows adding multiple artifacts at once via .addAllLater() method call, but it is not possible now to create a standalone PublishArtifact without adding it immediately to some configuration.
Would be nice to expose ConfigurationVariant.addAllLater(Provider<List<File>>) as public API.
Current Behavior (optional)
No response
Context
In Kotlin Gradle plugin/JVM case almost all the time there are two class directories – one for Java and another for Kotlin. Currently, we have to provide a special workaround for this case.
In general, variant could provide more than one artifact from a single FileCollection and it would be nice to support it officially.

This feature request is in the backlog of the relevant team and is prioritized by them.

We would likely add something similar to ConfigurationPublications#artifacts(Provider, Action). That also suffers from a bug/missing feature in it detailed by https://github.com/gradle/gradle/issues/27578#issuecomment-1894821364


Remove dependency on permission_handler

Is there a reason to make this package depending on permission_handler? the filesystem_picker is very much useful without access to external storage (android) or the documents/photo/.. storage (ios).
It is a bit annoying to have to disable all iOS permissions in my Podfile (so that it is not rejected by the app store) and/or potentially adding permissions to my app without realising it.
Would you be open for removing this dependency? It's just a one liner for the embedding app if those are really required. (And the calling app is the only who knows which permissions are required, if any).

Is there a reason to make this package depending on permission_handler? the filesystem_picker is very much useful without access to external storage (android) or the documents/photo/.. storage (ios).
It is a bit annoying to have to disable all iOS permissions in my Podfile (so that it is not rejected by the app store) and/or potentially adding permissions to my app without realising it.
Would you be open for removing this dependency? It's just a one liner for the embedding app if those are really required. (And the calling app is the only who knows which permissions are required, if any).

It probably makes sense.  Maybe add a callback to check access permissions?

@andyduke at least the way it is implemented now a callback would be pretty useless.. right now it just calls request permission in initState, and never again.. so callers could just as easy call it directly before ever starting the filesystem picker
The only problem would probably be when permissions are missing.. but i think to check this, one could simply try to do a listFiles.. or maybe there should just be documentation that the picker needs permission to access the rootDirectory (duh) and it's the callers responsibility to ask for it..
(Imo in most cases there is no reason for this.. if you need access to external files, users should use a native file picker like file_picker_writable (if i might plug my own plugin :) ) .. a flutter based picker almost only makes sense for "internal" file locations like the apps own documents directory) or at least a pretty narrow known location..

@andyduke at least the way it is implemented now a callback would be pretty useless.. right now it just calls request permission in initState, and never again.. so callers could just as easy call it directly before ever starting the filesystem picker
The only problem would probably be when permissions are missing.. but i think to check this, one could simply try to do a listFiles.. or maybe there should just be documentation that the picker needs permission to access the rootDirectory (duh) and it's the callers responsibility to ask for it..
(Imo in most cases there is no reason for this.. if you need access to external files, users should use a native file picker like file_picker_writable (if i might plug my own plugin :) ) .. a flutter based picker almost only makes sense for "internal" file locations like the apps own documents directory) or at least a pretty narrow known location..

I added a permission request to the picker just to update the status and display a message when no permissions were granted. So I think it's worth adding a callback instead of permission_handler.


Support optional behaviours in the SaveStateAsync method

Describe the proposal
I'd expect the SaveStateAsync method to support the use of optional behaviours, such as

concurrency
consistency
retry policy

This is somehow mentioned in #197 , but I believe it deserves an independent issue for tracking purposes.
Additionally, these might have a dependency on #142

@pacodelacruz Yes, its on the plan and we will be overhauling our client apis in dotnet sdk, that work would add all these behaviors.

Thsi should be handled by https://github.com/dapr/dotnet-sdk/issues/225


Fix erlang_deb_url

Thanks for the fix @CraigCottingham!
If you don't mind, I'll add you to the contributors list.


Assets not loading + Plugin not working

When joining the game, all the blocks just say unknown node and in chat it says
ERROR[Main]: Client: ignoring duplicate media announcement sent by server: "ServerName1_player.png"
the same with this for a bunch of assets.
I also tried installing the commands plugin, however there were no install instructions, i tried compiling it to an .so file and putting that file in the plugins directory of the mt-multiserver-proxy, however that didn't change anything.
Can you please help me fix this?

Of course I can (hopefully), but I need additional information:

Which version of Minetest are you using (server and client)? As of now only 5.4.1 is supported.
Please send the proxy log output and configuration file.
Which subgame are you using? They should all work fine but I mainly test with devtest and MTG.

Compiling the plugin to a .so file is the right way to do it (see doc/plugins.md for more details). Did the proxy print "load plugins" on startup? Did it output an error related to plugin.Open? If not, have you tried typing ">help" in chat to verify it is loaded?
I can't tell why the node definitions and assets are broken. I'll try to reproduce the issue if I'm able to compile MT 5.4.1.

I just tested it and the chat command plugin and block textures work fine, but I was able to replicate the media announcement error message. It does not seem to be a fatal error as the listed textures load properly. It's probably caused by the proxy sending the builtin textures before the servers do, resulting in the same media hashes being announced multiple times.

Can confirm that happens when running a later version than 5.4.1. Latest 5.7.0 shows unknown nodes everywhere and the same error messages in chat
What would need to be updated in theory to get this project stable for latest 5.7.0?

The serialization and packet formats needed to be updated, plus some version number constants. I just did that. The latest commit is (exclusively) compatible with Minetest 5.7.0. @kaajjaak, please update the proxy and the chat command plugin and check again.
Commits for each Minetest version:

Minetest 5.4.1: proxy 4c90fdd8d212a1c94a7e9ffad587ef610dcc243b, chatcmds https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/bae3cf2cf232a90203677464d83bbffc50be77b1 (fixed: strict version checking, duplicate announcements)
Minetest 5.5.0 to 5.5.1: proxy dd9e80d6a9a7031c97c64a1979e1e514c092a4cd, chatcmds fc27ae7c87be94a39bb9ccb15f2ad0b27fcac76c
Minetest 5.6.0 to 5.6.1: proxy 04705a9129afe3e3f5414af1799667efcc57d3eb, chatcmds https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/4020944da5bce99b878fae4c2d9709f610f4cf6a
Minetest 5.7.0: proxy 632688cd4fb970432ad03bbbdda41636eb0cc492 (latest), chatcmds https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/86944815374466a993c34c70d0bb58291244628d (latest)

Functional block textures, error message not present for 5.7.0 server/client on fedora 36. Will be testing on Ubuntu soon.
The only issue I can see is the inventory textures are rendering as notexture.
I'm going to have to learn Go so I can understand how this awesome project is working under the hood!
Very nice work!

Thanks!
I'm going to assume you're running Minetest Game and are talking about the recipes tab. This should be fixed now (though it should work with any subgame).
This project was actually the main reason I decided to learn Go. It's a fantastic language for many programs, especially for networking code. If you want to learn it, the official tour is a good place to start. Reading existing code and trying to understand it is also a good idea.
You can read the docs to get a basic idea of what the proxy does.
Trying to multiplex multiple Minetest servers presents a number of challenges, including the following:

Mapping AO (active object) IDs. For example the ID of the local player always has to stay the same even when switching servers.
Authentication needs to be handled at the proxy layer as Minetest uses SRP. Empty passwords are used for connections to internal servers, which is why they need to be secured against direct player login.
Media (textures, sounds, models) can only be sent to the client once. There have been some recent improvements to this but it's still not powerful enough. Instead the media from all servers is merged and prepended with the name of the server (from the config). Any packets referencing those assets are also changed to use the prepended name.
Item and node definitions are similar to media but can't be overwritten at all (the client will crash if you try anyway). They are handled in a very similar way.
Tool capabilities and player hands are easily the most annoying part. The only way to set these dynamically (instead of changing the item definition for ":" which can't be done dynamically) is to use item metadata. As a result the proxy has to create per-server hand definitions and use a specific inventory slot to switch between them.

On top of this the Minetest network protocol is quite annoying to deserialize since packet formats can change depending on the values of other fields in the packet. There have been several pull requests to add server hopping functionality into the engine directly, but none of them have made it into the upstream project.
If you have any questions about the exact things the proxy does or about the code itself, feel free to ask!

Hi, I've been putting together a whole bunch of podman containers to run this and have finally got to running mt-multiserver-proxy in its own container.
I can connect via my client, however loading stops at Item definitions, and the proxy logs:
./start.sh
2023/06/17 05:48:39 load config
2023/06/17 05:48:39 [proxy] load plugins
2023/06/17 05:48:39 [proxy] listen [::]:10209
2023/06/17 05:50:18 [<IP_ADDRESS>:43818] -> connect
2023/06/17 05:50:18 [<IP_ADDRESS>:43818 repcomm] -> set password
2023/06/17 05:50:19 [content Hub] <- invalid serializeVer
I swapped OSes recently and needed to rebuild mt-multiserver-proxy today, so I wonder if I have commits that break something.
Is there a way for me to compile from the specific commit you made for 5.7.0 ? @latest is broken for me

The last log message indicates that the hub server sent a serialization version that is not compatible with the proxy (only 29 is supported for 5.7.0) while trying to fetch content definitions and media resources. The value the server sends is min(client_max, server_max). The proxy sends 29 as its supported maximum and a 5.7.0 server should use 29 as its server_max.
The only way this can lead to any serialization version other than 29 being sent back to the proxy is for the server to have a lower version.
Please confirm that you're running Minetest 5.7.0 on the client and all servers. OS packages tend to be out of date.
The new commits fix the issue of unknown items showing up in the recipes tab in the inventory. They shouldn't break connectivity, but you can downgrade to 805dc0f732289e22ce701efb3114dd36ca914caa (first commit to support 5.7.0 connections) using
go install<EMAIL_ADDRESS>
The chat commands need to be downgraded to https://github.com/HimbeerserverDE/mt-multiserver-chatcommands/commit/d5ebcb007eb134a02d8715599f8b1c8b0d07504a if you want them to load, a simple
git checkout d5ebcb007eb134a02d8715599f8b1c8b0d07504a

and rebuild of the plugin should do.
In case you're wondering how the v0.0.0-20230608181740-805dc0f73228 came to be: this is called a pseudo version. They are used if there are no tagged releases on the repository. The format is v0.0.0-YYYYmmddHHMMSS-XXXXXXXXXXXX. The timestamp is in UTC and XXXXXXXXXXXX is the first 12 characters of the commit hash. I made a script to calculate it: https://github.com/HimbeerserverDE/bspwm-setup/blob/main/bin/gopseudover.
Unfortunately I don't have much time to test anything at the moment. I can have a more detailed look at it in about a week from now.

Can confirm that minetest server was at lower version 5.4.1
I assume my ubuntu container would pull latest minetest after apt-get update, which I guess was a mistake.
I had to add the minetestdevs ppa:
RUN apt-get update
RUN apt-get install -y software-properties-common
RUN add-apt-repository ppa:minetestdevs/stable
RUN apt-get update
RUN apt-get install -y minetest
COPY minetest.conf /root/minetest.conf

Then I needed to configure my squid-cache container to allow 3rd party PPAs, otherwise it would 403 error and apt-get would default to installing 5.4.1 minetest, without giving me a lot of notice.
squid-deb-proxy.conf :
# allow access only to official archive mirrors
#http_access deny !to_archive_mirrors
http_access allow !to_archive_mirrors

#...

# don't cache domains not listed in the mirrors file
#cache deny !to_archive_mirrors
cache allow !to_archive_mirrors

All is functional now, even on mt-multiserver-proxy@latest
You have been such a huge help, thank you! Let me know if I can contribute in some fashion.
-- less related, do you have a donation link somewhere?


Sc 1396

chnages for unit test for password validation.

 Here is an overview of what got changed by this pull request:

Issues
======
+ Solved 1

Complexity increasing per file
==============================
- service/test/controllers/usermanagement/UserControllerTest.java  1

See the complete overview on Codacy


Reusage of old sessions

When trying to join using an old session link, that won't work.
I would like to be able to reuse old sessions, so I don't have to create new ones everytime I want to use the app.
Possible implementation options would be:

adding a database to persist the session
saving the sessions in the browser and recreating the session with that information
don't save anything and transparently create a new session on the fly

"don't save anything and transparently create a new session on the fly" this seems like the best way to me
maye if session you join no longer exists ask with a modal if you want to recreate a new session with the same name
tho the joining of other player wont really work that way
maybe you can change the creation progress so you can reuse session tokens
then the join links would not totally be invalid
some audit needs to be done before starting this ticket


[Add] Identify measures from Strengthening Democracy Challenge

Would be good to take a look at the outcome measures from the Strengthening Democracy Challenge:
https://www.strengtheningdemocracychallenge.org/paper
Survey Title
Survey Source
Survey Overview
Tasks

[ ] Create a new folder in surveys/src/surveys w/ descriptive, easy-to-read name superSpecialSurvey/
[ ] Create SurveyJS .json file (e.g. superSpecialSurvey/superSpecialSurvey.json)
[ ] Create a .bib file citing your references for the survey (always: references.bib)
[ ] Create a storybook markdown file to document (e.g. superSpecialSurvey.stories.mdx)

[ ] Survey purpose
[ ] Expected behavior
[ ] Design rationale
[ ] APA-style bibliography

[ ] Create file with function to aggregate survey data (e.g. superSpecialSurvey.score.js)
[ ] Create PR and link to this issue

Extensive outcome review here: https://docs.google.com/spreadsheets/d/1K1kZwnSP3f-sTb-fEd2ps29QeW1_bW5zlpV6kvTF1E4/edit?gid=0#gid=0


Warnings at build time

Do you use the latest version of NF?
Can you please provide a reproduction?


Update ableton-live-intro to 10.0.1

After making all changes to the cask:

[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] The commit message includes the cask’s name and version.

i have bad internet connection at the moment... someone might want to update ableton-live, ableton-live-lite, ableton-live-standard and ableton-live-suite to 10.0.1 as well, please?


How to install this tool without cargo and snap

Hello,
I am not very familiar cargo and snap. How do I install this tool using python commands? I have downloaded and unpacked the zip file. Can you please guide me step by step what to do next? I am on Ubuntu machine.
Thanks
Abhijit

Hello @sanyalab ,
If you are on Ubuntu you just have to do:
sudo snap install pseqsid

This is not a python script, so you do not install it with python commands.
Best regards,
Amaury

Closed.

Can I do this via conda? I do not have sudo rights.

I see the above when I search anaconda for snap. Do I install the second from top? and then do snap install pseqsid


Preview and Program logic

It shouldn't really be the case that one camera is selected as both Preview and Program, but it does happen especially with volunteers. On my system, a GPO listener connected to a Datavideo ITC-100 intercom and tally system, there is a dual colour LED with amber for preview and red for program. The TallyArbiter logic will turn both LEDs on which gives a sort of deep amber than confuses the presenter. I'm not sure whether it should be in the server or the listener, but I wonder whether there could be a hierarchy within the logic so that program trumps preview.
Thanks for all you're doing to develop and maintain this software, it's genuinely useful and clever.

I think the problem is your listener. We use the M5AtomMatrix listener, which makes provisions for having one device in Preview and Program state. Mixedcolor is defined as red, giving Program state priority:

else if (mode_preview && mode_program) {
logger("The device is in preview and program.", "info-quiet");
M5.dis.clear();
drawNumber(number[camNumber], mixedcolor);

I also plan to add assignable colors from the server at some point which will tell the clients to show that color, if they support it. But yeah, until then, just modify the code to suit your needs


azurerm_application_gateway - Add host_name and probe_name to backend_http_settings

There's already an issue open for probe settings in general, and the probe_name may already be covered by that.... https://github.com/aztfmod/terraform-azurerm-caf/issues/432
Chur!

Wrong repo, ooops


Runtime error: The operation couldn’t be completed. (Tokenizers.TokenizerError error 1.)

On Mac Sonoma. Just installed the software from the latest release (1.1.2 (4)), and downloaded the LLama-3.2-3B-8bit from the MLX community panel. Then see this error.

LLama-3.2-3B-8bit is not a chat model; it is recommended to use Instruct or Chat models.
Ex: https://huggingface.co/mlx-community/Llama-3.2-3B-Instruct-8bit
I will compatibility such models.

Thank you.


Host header in the logs

Hi All,
Does anyone know if it’s possible to include the Host header in Coraza logs?
I’m using a container that logs to stdout and need a way to assign each matched rule to the site the request is coming from.
Lookup the coraza id in the haproxy logs need too much effort for the current needs
Before the last change, I was generating an ugly unique-id in haproxy that included the Host header, but now that Coraza generates the ID, I’ve lost that ability.
Any suggestions would be appreciated.
Thanks

As the logs are generated by https://corazawaf/coraza this may not be the right place for this issue.
You can log all headers using die AuditLogs. If that's not overkill for you..
https://coraza.io/docs/seclang/directives/#secauditlogparts


Bug in infractions/km calculation in compute_global_statistics

I think there is a bug in the computation of the infractions / km metrics in the current leaderboard repository (master):
The file is leaderboard/utils/statistics_manager.py
Function  def compute_global_statistics(self, total_routes):
...
if self._registry_route_records:
        for route_record in self._registry_route_records:
                 global_record.scores['score_route'] += route_record.scores['score_route']
                 global_record.scores['score_penalty'] += route_record.scores['score_penalty']
                 global_record.scores['score_composed'] += route_record.scores['score_composed']

                 for key in global_record.infractions.keys():
                     route_length_kms = max(route_record.scores['score_route'] / 100 * route_record.meta['route_length'] / 1000.0, 0.001)
                     if isinstance(global_record.infractions[key], list):
                          global_record.infractions[key] = len(route_record.infractions[key]) / route_length_kms
                     else:
                          global_record.infractions[key] += len(route_record.infractions[key]) / route_length_kms

                 if route_record.status is not 'Completed':
                     global_record.status = 'Failed'
                     if 'exceptions' not in global_record.meta:
                         global_record.meta['exceptions'] = []
                     global_record.meta['exceptions'].append((route_record.route_id,
                                                              route_record.index,
                                                              route_record.status))

             for key in global_record.scores.keys():
                 global_record.scores[key] /= float(total_routes)
             ...

In the line:
global_record.infractions[key] += len(route_record.infractions[key]) / route_length_kms
The infractions/km from all the individual routes simply get added together, leading to nonsense value that are dependent on the number of routes.
The current code implements the following formula:

where c_i is the number of collisions in route, km_i is the number of km driven in route i. N is the number of routes.
A naive fix would be to divide by the number of routes:

However this is not exactly the correct calculation.
Slicing the driven km into route segments changes the result of the infraction / km metric and in the worst case can lead to a  simpsons paradox.
What we want to compute is the total number of collisions / total number of km driven so the correct formula is:

which in code would looks something like adding the infractions (per type) as well as adding the driven (!) km to variables outside the for_loop and after the route for loop dividing the counts by the total number of driven kms.

leading to nonsense value that are dependent on the number of routes.

I knew what you mean here, but the infraction on global record may want to the result as the formula here.
The next one actually cannot seem like the average of collisions on routes kilometers. but average on all kilometers with fading the route concept?

But I agree with your opinion. since the first one will cause some number really big when the route_length_kms on one route are really small.

As a sidenote one needs to take additional care with the off-road infraction metric.
Right now I think the leaderboard always reports it as one infraction adding together the total amount of meters driven off road.
So counting does not work for that infraction since it is either 1 or 0.
With the current system one can sum up the (kilo!) meters driven off road (and divide by the total number of km driven) to get a meaningful estimate (maybe multiply by 100 because that is a percentage).
The other option would be to change how off-road is reported and report every single instance where the agent drove off the road (and then just count as usual).

Hey @Kait0, thanks for the detailed explanation. I'll take a look at it and report back

After some inspection, it does seem to be misscalculated. We are indeed using

to calculate the infractions per km, while in reality we want

I'll update the Leaderboard as soon as I can with this fix, thanks :slightly_smiling_face:

With the coming release of the LB 2.0, this issue has been fixed. It is currently only available in the leaderboard-2.0 branch, but for those interested, the fix is done in this PR https://github.com/carla-simulator/leaderboard/pull/130/files (along with many other things).


Compatibility with STS4

Hello, Lombok is unable to recognize STS4 as an IDE. Is it possible to install it manually?

Can you tell me the name of the executable and of the ini file?

I think they renamed STS.exe and STS.ini to SpringToolsSuit4.exe and SpringToolsSuit4.ini.

You can always install it manually by copying the jar file and modifying the ini file.
In the installer, just click on the link Show me what this installer will do to my IDE installation. and execute the actions yourself.

Hi, the name is SpringToolSuite4. I found "STSLocationProvider" class which I guess is for Spring Tool Suite. Is it OK to change and create a PR for this?

Working on it already

Ok, great! I already installed it manually by the way.


2 weeks hardwired

One  can imagine that for e.g., oil wells one might want four weeks instead of two, so there should be some way to adjust these kind of things.

In the next release, the limit will be just under 2 months instead of 2 weeks.
I think 2 months hardcoded is a good compromise, as that isn't enough time for much to significantly change — and saves adding some extra configuration.

Yes, I want to keep config options to a minimum, and the threshold will be increased in the next version.


Add VPCConfig.SecurityId reference

Issue #, if available:
Description of changes:
Adding reference for VPCConfig.SecurityId
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/rebase

/hold


Handling threads is solved in a convoluted and bad way

The StartableThread is a class extending the StartableBase interface. When a new thread is launched, it stores its instance in a dictionary, mapping thread ID to Thread instance and vice versa.  However, wait_to_finish() is currently called in a very bad manner. A scheduler just checks in intervals, which instances have finished execution and then joins them. This is very bad for performance. A better version is already in NativeGodotRx!

Sorry but what does this mean for GodotRx users?
I see that NativeGodotRx has a few definitions that GodotRx already has — Observable, Scheduler, etc.
Should GodotRx users add NativeGodotRx GDExtension and replace all parent classes in this addon with the ones from the native one?

G'Day! The simple answer: No, the native version is a separate project. The creation and joining of Godot-Threads is
handled differently there. That is why I brought it up in the first place.
Some additional information:

The native version has a very pretty worker thread, which is only active when Godot-Threads need to be cleaned up. This is what I want to implement in GodotRx as well instead of the naive terribleness we currently have.
I also exaggerated a bit considering performance. I just want to free threads when they finish, not in intervals. In a bad scenario, there are many thread instances at the same time just existing without any reason between intervals.
Also, GodotRx has not been ported to the current Godot version, so might as well add another issue there.

The faster NativeGodotRx version (already way faster than RxPY) is currently not yet public. I think you saw my abandoned repo. I still have around 60 ops to port but it will become public soon! Afterwards, I will update this version but NativeGodotRx is my current focus.

Fixed with 4.1 rewriter!


Readme + types

Bundle Report
Bundle size has no change :white_check_mark:

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (c56289f) to head (0bb1b4f).

Additional details and impacted files
@@            Coverage Diff            @@
##              main        #2   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            2         2
  Lines          213       213
=========================================
  Hits           213       213

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


Some target of URI don't exist

List of URIs that don't exist:

drawer_viewmodel.dart,
history_viewmodel.dart
url_bottomsheet_view.dart

Log of flutter run --verbose:
[+5182 ms] [+5584 ms] lib/ui/views/History/history_view.dart:9:8: Error: Error when reading 'lib/ui/views/history/history_viewmodel.dart': No such file or directory
[        ] [   +3 ms] import 'package:rutorrentflutter/ui/views/history/history_viewmodel.dart';
[        ] [   +2 ms]        ^
[        ] [  +13 ms] lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart:3:8: Error: Error when reading 'lib/ui/widgets/smart_widgets/URL_bottom_sheet/url_bottomsheet_view.dart': No
such file or directory
[        ] [        ] import 'package:rutorrentflutter/ui/widgets/smart_widgets/URL_bottom_sheet/url_bottomsheet_view.dart';
[        ] [        ]        ^
[        ] [   +2 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:9:8: Error: Error when reading 'lib/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart': No such file or directory
[        ] [        ] import 'package:rutorrentflutter/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart';
[        ] [        ]        ^
[  +98 ms] [        ] lib/ui/widgets/dumb_widgets/label_tile_widget.dart:3:8: Error: Error when reading 'lib/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart': No such file or directory
[        ] [        ] import 'package:rutorrentflutter/ui/widgets/smart_widgets/Drawer/drawer_viewmodel.dart';
[        ] [        ]        ^
[        ] [   +2 ms] lib/ui/views/Download/download_view.dart:7:8: Error: Error when reading 'lib/ui/views/download/download_viewmodel.dart': No such file or directory
[        ] [   +4 ms] import 'package:rutorrentflutter/ui/views/download/download_viewmodel.dart';
[        ] [        ]        ^
[        ] [  +79 ms] lib/ui/views/History/history_view.dart:157:39: Error: Type 'HistoryViewModel' not found.
[        ] [        ]   _showRemoveDialog(String hashValue, HistoryViewModel model, context) {
[        ] [        ]                                       ^^^^^^^^^^^^^^^^
[   +1 ms] [        ] lib/ui/widgets/dumb_widgets/label_tile_widget.dart:6:9: Error: Type 'DrawerViewModel' not found.
[        ] [        ]   final DrawerViewModel model;
[   +1 ms] [        ]         ^^^^^^^^^^^^^^^
[ +395 ms] [ +306 ms] lib/ui/widgets/smart_widgets/bottom_sheets/bottom_sheet_setup.dart:88:19: Error: The method 'FlatButton' isn't defined for the class '_FloatingBoxBottomSheet'.
[        ] [        ]  - '_FloatingBoxBottomSheet' is from 'package:rutorrentflutter/ui/widgets/smart_widgets/bottom_sheets/bottom_sheet_setup.dart'
('lib/ui/widgets/smart_widgets/bottom_sheets/bottom_sheet_setup.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
[        ] [        ]                   FlatButton(
[   +1 ms] [   +1 ms]                   ^^^^^^^^^^
[  +97 ms] [ +165 ms] lib/ui/views/History/history_view.dart:19:29: Error: 'HistoryViewModel' isn't a type.
[        ] [        ]     return ViewModelBuilder<HistoryViewModel>.reactive(
[        ] [        ]                             ^^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/views/History/history_view.dart:34:30: Error: The getter 'choices' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'choices'.
[        ] [        ]                 return model.choices
[        ] [        ]                              ^^^^^^^
[        ] [   +2 ms] lib/ui/views/History/history_view.dart:45:23: Error: The setter 'selectedChoice' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing setter, or defining a setter or field named 'selectedChoice'.
[        ] [        ]                 model.selectedChoice = choice;
[        ] [        ]                       ^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:47:29: Error: The method 'loadHistoryItems' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'loadHistoryItems'.
[   +1 ms] [        ]                     ? model.loadHistoryItems()
[        ] [        ]                             ^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:48:29: Error: The method 'loadHistoryItems' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'loadHistoryItems'.
[        ] [        ]                     : model.loadHistoryItems(
[        ] [        ]                             ^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:55:40: Error: The method 'refreshHistoryList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'refreshHistoryList'.
[        ] [        ]           onRefresh: () async => model.refreshHistoryList(),
[        ] [        ]                                        ^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:67:39: Error: The getter 'torrentHistoryDisplayList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'torrentHistoryDisplayList'.
[        ] [        ]                       'Files (${model.torrentHistoryDisplayList.value.length})',
[        ] [        ]                                       ^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:71:25: Error: The getter 'isBusy' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'isBusy'.
[        ] [        ]                   model.isBusy
[        ] [        ]                         ^^^^^^
[        ] [   +6 ms] lib/ui/views/History/history_view.dart:73:32: Error: The getter 'torrentHistoryDisplayList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'torrentHistoryDisplayList'.
[        ] [        ]                       : (model.torrentHistoryDisplayList.value.length != 0)
[        ] [        ]                                ^^^^^^^^^^^^^^^^^^^^^^^^^
[  +91 ms] [  +14 ms] lib/ui/views/History/history_view.dart:75:54: Error: The getter 'torrentHistoryDisplayList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'torrentHistoryDisplayList'.
[        ] [        ]                               valueListenable: model.torrentHistoryDisplayList,
[        ] [        ]                                                      ^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [  +12 ms] lib/ui/views/History/history_view.dart:140:31: Error: The method 'HistoryViewModel' isn't defined for the class 'HistoryView'.
[        ] [        ]  - 'HistoryView' is from 'package:rutorrentflutter/ui/views/History/history_view.dart' ('lib/ui/views/History/history_view.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'HistoryViewModel'.
[        ] [        ]       viewModelBuilder: () => HistoryViewModel(),
[        ] [        ]                               ^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/views/History/history_view.dart:157:39: Error: 'HistoryViewModel' isn't a type.
[   +1 ms] [        ]   _showRemoveDialog(String hashValue, HistoryViewModel model, context) {
[        ] [        ]                                       ^^^^^^^^^^^^^^^^
[  +92 ms] [ +176 ms] lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart:53:15: Error: The method 'FlatButton' isn't defined for the class
'ConfirmBottomSheetView'.
[        ] [        ]  - 'ConfirmBottomSheetView' is from 'package:rutorrentflutter/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart'
('lib/ui/widgets/smart_widgets/bottom_sheets/confirm_bottom_sheet/confirm_bottom_sheet_view.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'FlatButton'.
[        ] [        ]               FlatButton(
[        ] [        ]               ^^^^^^^^^^
[ +101 ms] [  +63 ms] lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart:23:24: Error: The method 'URLBottomSheetView' isn't defined for the class 'HomeViewFloatingActionButton'.
[        ] [        ]  - 'HomeViewFloatingActionButton' is from 'package:rutorrentflutter/ui/widgets/dumb_widgets/floating_action_button_widget.dart'
('lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'URLBottomSheetView'.
[        ] [        ]                 return URLBottomSheetView(
[        ] [        ]                        ^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart:33:24: Error: The method 'URLBottomSheetView' isn't defined for the class 'HomeViewFloatingActionButton'.
[        ] [        ]  - 'HomeViewFloatingActionButton' is from 'package:rutorrentflutter/ui/widgets/dumb_widgets/floating_action_button_widget.dart'
('lib/ui/widgets/dumb_widgets/floating_action_button_widget.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'URLBottomSheetView'.
[        ] [        ]                 return URLBottomSheetView(
[        ] [        ]                        ^^^^^^^^^^^^^^^^^^
[        ] [   +2 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:18:29: Error: 'DrawerViewModel' isn't a type.
[        ] [        ]     return ViewModelBuilder<DrawerViewModel>.reactive(
[        ] [        ]                             ^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:19:38: Error: The method 'init' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'init'.
[   +1 ms] [        ]       onModelReady: (model) => model.init(),
[   +1 ms] [        ]                                      ^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:36:51: Error: The getter 'packageInfo' isn't defined for the class 'Object?'.
[   +1 ms] [        ]  - 'Object' is from 'dart:core'.
[   +3 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'packageInfo'.
[        ] [        ]                     'Application version: ${model.packageInfo?.version ?? ""}',
[        ] [        ]                                                   ^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:46:41: Error: The getter 'diskSpace' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +1 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'diskSpace'.
[   +1 ms] [        ]                     ShowDiskSpace(model.diskSpace),
[   +1 ms] [        ]                                         ^^^^^^^^^
[        ] [   +3 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:48:48: Error: The getter 'getAccountValueListenable' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +2 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'getAccountValueListenable'.
[        ] [        ]                         valueListenable: model.getAccountValueListenable,
[        ] [        ]                                                ^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:56:45: Error: The method 'getAccountsList' isn't defined for the class 'Object?'.
[   +1 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'getAccountsList'.
[        ] [        ]                             children: model.getAccountsList(context),
[        ] [        ]                                             ^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:70:39: Error: The method 'filterTileList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'filterTileList'.
[        ] [        ]                       children: model.filterTileList(model),
[        ] [        ]                                       ^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:83:41: Error: The getter 'listOfLabels' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'listOfLabels'.
[        ] [        ]                       children: ((model.listOfLabels.value as List<String>)
[        ] [        ]                                         ^^^^^^^^^^^^
[        ] [   +1 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:95:42: Error: The method 'navigateToIRSSIScreen' isn't defined for the class 'Object?'.
[   +3 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToIRSSIScreen'.
[        ] [        ]                       onTap: () => model.navigateToIRSSIScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^
[        ] [   +2 ms] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:103:42: Error: The method 'navigateToHistoryScreen' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToHistoryScreen'.
[        ] [        ]                       onTap: () => model.navigateToHistoryScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^^^
[   +6 ms] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:111:42: Error: The method 'navigateToDiskExplorerScreen' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +2 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToDiskExplorerScreen'.
[  +48 ms] [        ]                       onTap: () => model.navigateToDiskExplorerScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:119:42: Error: The method 'navigateToSettingsScreen' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'navigateToSettingsScreen'.
[        ] [        ]                       onTap: () => model.navigateToSettingsScreen(),
[        ] [        ]                                          ^^^^^^^^^^^^^^^^^^^^^^^^
[        ] [        ] lib/ui/widgets/smart_widgets/drawer/drawer_view.dart:171:31: Error: The method 'DrawerViewModel' isn't defined for the class 'DrawerView'.
[        ] [        ]  - 'DrawerView' is from 'package:rutorrentflutter/ui/widgets/smart_widgets/drawer/drawer_view.dart' ('lib/ui/widgets/smart_widgets/drawer/drawer_view.dart').
[   +4 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'DrawerViewModel'.
[        ] [        ]       viewModelBuilder: () => DrawerViewModel(),
[        ] [        ]                               ^^^^^^^^^^^^^^^
[        ] [  +82 ms] lib/ui/widgets/dumb_widgets/label_tile_widget.dart:6:9: Error: 'DrawerViewModel' isn't a type.
[        ] [        ]   final DrawerViewModel model;
[        ] [        ]         ^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/views/Download/download_view.dart:15:29: Error: 'DownloadViewModel' isn't a type.
[        ] [        ]     return ViewModelBuilder<DownloadViewModel>.reactive(
[        ] [        ]                             ^^^^^^^^^^^^^^^^^
[        ] [   +4 ms] lib/ui/views/Download/download_view.dart:17:26: Error: The getter 'onBackPress' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'onBackPress'.
[        ] [        ]         onWillPop: model.onBackPress,
[        ] [        ]                          ^^^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:24:35: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                   'Files (${model.filesList.length})',
[        ] [        ]                                   ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:28:22: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[   +5 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]               (model.filesList.length != 0)
[        ] [        ]                      ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:31:42: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                         itemCount: model.filesList.length,
[        ] [        ]                                          ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:34:48: Error: The method 'openFile' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +1 ms] [        ] Try correcting the name to the name of an existing method, or defining a method named 'openFile'.
[        ] [        ]                             onTap: () => model.openFile(index),
[        ] [        ]                                                ^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:36:39: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                                 model.filesList[index] is Directory
[        ] [        ]                                       ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:38:45: Error: The method 'getFileIcon' isn't defined for the class 'Object?'.
[   +1 ms] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'getFileIcon'.
[        ] [        ]                                     : model.getFileIcon(
[        ] [        ]                                             ^^^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:39:47: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[   +2 ms] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[   +2 ms] [        ]                                         model.filesList[index].path),
[        ] [        ]                                               ^^^^^^^^^
[        ] [   +1 ms] lib/ui/views/Download/download_view.dart:40:46: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                                 color: model.filesList[index] is Directory
[        ] [        ]                                              ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:44:37: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                               model.filesList[index].path.substring(
[        ] [        ]                                     ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:45:41: Error: The getter 'filesList' isn't defined for the class 'Object?'.
[        ] [        ]  - 'Object' is from 'dart:core'.
[        ] [        ] Try correcting the name to the name of an existing getter, or defining a getter or field named 'filesList'.
[        ] [        ]                                   model.filesList[index].path.lastIndexOf('/') +
[        ] [        ]                                         ^^^^^^^^^
[        ] [        ] lib/ui/views/Download/download_view.dart:69:31: Error: The method 'DownloadViewModel' isn't defined for the class 'DownloadView'.
[        ] [        ]  - 'DownloadView' is from 'package:rutorrentflutter/ui/views/Download/download_view.dart' ('lib/ui/views/Download/download_view.dart').
[        ] [        ] Try correcting the name to the name of an existing method, or defining a method named 'DownloadViewModel'.
[        ] [        ]       viewModelBuilder: () => DownloadViewModel(),
[        ] [   +4 ms]                               ^^^^^^^^^^^^^^^^^

is this issue resolved? if not assign me

Please @danger-ahead please assign this issue to me, I have already solved it.

If not resolved assign me


CreatePrograms.php Header

Hi everlyd,
I think the header is incorrect when creating programs.
Thanks for creating these classes, they have been very useful in learning about the Marketo API.
Cheers,
Jeff

Jeff, Thanks for pointing that out.  -Dave


SSO accounts

I'm not able to authenticate with the current user/pass combo since my jira instance uses SSO. How do I log in with SSO?

Hello @benharri, can you please take a look to this: https://community.atlassian.com/t5/Jira-questions/REST-SSO-Atlassian-Account-JIRA/qaq-p/580736 it seems that the login with password still works in the API, maybe using your email instead your username? give it a try and let me know :)

@miguelmich that still didn't work. I'll give it another try tomorrow.

You can use API tokens. I used my SSO email address and the token as the password
https://confluence.atlassian.com/x/Vo71Nw

Oh the API token worked! Just got a chance to try it.
Thanks!


:robot: Triggering CI on branch 'release-next' after synching to upstream/main

/retest

We need the patch for seccomp on main too (we only have it for 1.7). We enabled seccompProfile at the S-O side but this does not work without our patch, upstream fails too: https://github.com/knative/serving/pull/13763.


Examples for nextTrack etc. are lacking

It seems highly insufficient UI-wise to not have preloaded the image and a bit of the music file. Since you basically cannot release a player that does not have that, we should make sure that the examples cover it I think, as it might illustrate some API holes as well. (E.g. we might need to have more state on when artwork is loaded and such.)

Right now the spec does not say we must wait for the fetch steps to complete before showing media controls.
I agree it could be good to have a preloaded image. Perhaps we should define 'display media controls' steps similar to notification's display steps that wait until any related fetch steps have completed.
Alternatively, maybe it is ok to 'lazy load' artwork URLs so the fetch steps do not block any display steps. WDYT?

I can imagine being okay with showing the artwork at a later point (if you're bandwidth constrained, or the user skips very quickly, or some such), but I think by default you want to show the correct artwork and the API needs to accommodate for that.
An alternative could be that you pass a Blob rather than a URL, but maybe that's too low-level... If you stick with URLs though I think you might want either events or some kind of property that returns a promise when everything is loaded.
And the examples should indicate that while you play the current song, you're already caching bits for the next song. And that once you start playing the next song, enough is cached to show the image and play it. (And then you start caching for the song after that of course, or some such.)

setMetadata itself could return a promise that resolves when the artwork is loaded. Not sure if we'll regret that if we end up with more than one kind of artwork, though.

It seems setMetadata() is the wrong API, since you might end up changing title/etc. while still showing the old artwork?

Perhaps as with <canvas> we can require one of HTMLImageElement & friends?

Is ImageBitmap a good primitive for an already-loaded-and-decoded image? We've talked about that, but it seems annoying if all you have is a URL, and what about cross-origin artwork?

Passing a URL might still be okay, but in that case you need a distinct object I think that holds all the metadata and is responsible for loading assets. And then separately you can decide when that object is going to take over from what is displayed now.
[Constructor(MediaSessionDataInit init)]
interface MediaSessionData {
  ...
  readonly attribute Promise<boolean> done;
};
dictionary MediaSessionDataInit {
  ...
};
partial interface MediaSession {
  void setSessionData(MediaSessionData data);
};

Yeah, something like that could work. We had talked about having a mutable MediaSessionData object on the MediaSession object, but that would amount to a tear-off and for any mutation one would have to enqueue a microtask to actually use the new state to group all changes in a script run. Having a separate constructible object with readonly members doesn't have those problems.

This issue was originally discussed in https://github.com/whatwg/mediasession/issues/44.
One way a web developers could ensure media artwork loads immediately is to pass a preloaded Blob or data URI as the 'artwork URL'.
Media artwork URL fetching is (currently) unobservable from a web page perhaps we should defer to implementations to decide exactly when this fetch should happen. It feels like we can have interoperability in the JS platform without initially specifying this.
I could be wrong :/

We should not rely on fetching blob or data URLs (especially the former) to happen synchronously.

We should not rely on fetching blob or data URLs (especially the former) to happen synchronously.

Right. I also plan to remove invocation of the fetch steps from the setMetadata(metadata) algorithm.
At this point it's unclear if we need to change the API. If we want to discuss changing setMetadata to something else perhaps we should re-open https://github.com/whatwg/mediasession/issues/44?

If you remove the fetch steps, when would the image be fetched?

I've been trying to prototype a solution for this. First, a URL and Promise pair:
partial interface MediaMetadata {
  attribute USVString artwork;
  readonly attribute Promise<Response> artworkLoaded;
}

Setting artwork starts the fetch, and artworkLoaded is the promise returned by the internal fetch(). I'm not a huge fan, it's kind of duplicating fetch() and doing metadata.artworkLoaded.then(...) before setting metadata.artwork wouldn't work.
Another idea, not implemented, and possibly crazy:
partial interface MediaMetadata {
  attribute Promise<Response> artwork;
}

The API would then be metadata.artwork = fetch(artworkURL), which looks OK, but no existing API works like this. I think making the type simply Response would not work, because then one cannot start the fetch at the latest opportunity, which a simple USVString does allow.
@annevk, advice on how to integrate with Fetch much appreciated!

We need to resolve this in order to put artwork back in the spec. Currently, I'm thinking that the MediaMetadata constructor shouldn't fetch, but rather the fetch steps (currently never invoked) should be run when the browser knows it's going to use the artwork.
But, how do we make prefetching the artwork load? The best I can come up with is a fetchArtwork() method, but there's something not-great about integrating with Fetch by adding a new method that's a specialized variant of fetch().
@annevk, thoughts on Fetch integration would be much appreciated. At one point I was thinking that the artwork attribute should be of type Promise<Response>, but that would be a first for the platform I think.

@annevk replied (I asked on the wrong issue at first):

For notifications we just fetch as a side effect of the constructor/factory method. That's not super clean. A promise for a Response object does not seem entirely unreasonable. I guess it depends a bit as to what you're aiming for. Looking at the latest in <canvas> might also be an idea, by just feeding artwork one of the various ways to represent an image.

The simple options when going with artwork as a URL are:

Fetch in the MediaMetadata constructor
Fetch when setting the session.metadata attribute
Don't define exactly when to Fetch

Looking at the latest in <canvas> might also be an idea, by just feeding artwork one of the various ways to represent an image.

Do you mean CanvasImageSource? I'm thinking that just for notification icons, it's likely that media session artwork will evolve to allow some kind of manifest for different screen densities and similar, could that be done by pointing to an img element that's the child of a picture element?

img elements are probably not a good fit as the artwork will be rendered outside the normal layout tree. I guess the simplest here would be to do something similar to notifications, which is also a little vague as to when fetching happens.
Did you check what iOS and Android do?

Yes, @doomdavve took a close look at the iOS and Android APIs when we were starting this.  We'll be implementing it by passing a decoded image, so that gives us rather a lot of freedom in how the web-exposed bits look.
I'm leaning towards just going with an URL for now and not defining when the fetch steps are invoked, just what they do. Do you think it would be preposterous to later add fetchArtwork() or similar for preloading, or is there just no master plan for how to do preloading using Fetch for the gazillion APIs that currently use URLs only?

I think for preloading you'd use https://w3c.github.io/resource-hints/.

Thanks, I knew that was a thing but it still didn't come to mind! There's also https://w3c.github.io/preload/ and it looks like something like this might work:
var metadata = new MediaMetadata({ artwork: "artwork.jpg" });
var res = document.createElement("link");
res.rel = "preload";
res.as = "image";
res.href = metadata.artwork;
document.head.appendChild(res);

I'm unsure if getting the referrer right might ruin it, @richtr's spec text that I've revived says "no referrer" but I assume that the above would send a referrer. Is there a way to inhibit that? The referrerpolicy isn't on HTMLLinkElement in https://w3c.github.io/webappsec-referrer-policy/ and I guess there's a reason. @mikewest @jeisinger?

right, however, it's not yet implemented nor shipped in chrome

OK, sounds like the right primitives are in the pipeline, so for https://github.com/whatwg/mediasession/pull/126 I think I'll keep the "fetch steps" as late as possible, and lean on preloading to handle this. Thanks all!

FWIW, Android doesn't quite work well with URLs for notifications.
IMO, it would be better to let the UA decide when to fetch. Ideally, if the web application cares about the artwork being available quickly, it could download it and cache it in a SW so it would work offline and be quick to grab on demand.

FWIW, Android doesn't quite work well with URLs for notifications.

Is this only because the resource is needed in many different sizes, or is the timing of the fetch also a problem?

Hmm, I should have said "Android APIs". There are these METADATA_KEY_* fields that one can use to set up some info. I was told by some Android folks that the *_URI ones are not used by some components like Wear. As a result, we must use the Bitmap ones. It's also better for the UA to control the fetch instead of hand it off to the system because it allows SW to intercept it.

@doomdavve has a WIP prototype adding artwork to MediaMetadata where the URL is fetched and decoded as an image similar to the implementation for Notifications. So then one hands a Bitmap to the Android APIs and that seems to work well.


Fix rubocop warnings

I recently made a comment urging the release of kredis.
Thank you for releasing 1.6.0.
I don't know if this is a result of that, but I noticed that the tests in the main branch are red.
Fortunately, I ran Rubocop locally and all errors were resolved.
I don't know if this qualifies as an open source contribution, but let me submit it as a PR.
Here is my output:
$ bundle exec rubocop
Inspecting 56 files
........................................................

56 files inspected, no offenses detected

I don't like any of those fixes. Should tell rubocop to ignore them instead.

We have two options.
The first is that this Rubocop rule references a rule in Rails itself, and Rails allows AssertPredicate, so we need to disable this one.
The second would be to add AssertPredicate to the .rubocop.yml file as an exception.
Which is preferred?

Let's adopt https://github.com/rails/rubocop-rails-omakase/.

Fixed in https://github.com/rails/kredis/commit/01a893b267f3456a6eb18f761b2b5425654b8c1c.


Configuration for rule "dot-notation" is invalid

Hi
I am encountering this lint issue

I was able to trace the cause to this
eslint-config-airbnb-typescript loads eslint-config-airbnb-base to get its configurations for core rules and use them as configurations for typescript-eslint plugin rules. But it doesn't deep-clone the configurations, so the same objects end up in configurations for multiple rules. During the validation for @typescript-eslint/dot-notation rule, ESLint sets defaults on the same object that is used as configuration for the core dot-notation rule, which then doesn't pass the validation due to unknown properties.
https://github.com/eslint/eslint/issues/15988
I originally opened this ticket and he said that this is in your area.
https://github.com/airbnb/javascript/issues/2766
Any help is much appreciated.

I added that to the local eslintrc but it still gave me the same error.

@iamturns , any idea as to why this is happening?

@novascreen
Is there any resolution? Something is adding the extra config that is causing the issue.
eslint --print-config

I didn't dive into disabling the rules that require linting with type information and instead made sure that it works by adding the right parserOptions. What does your full config look like?

My project is a Nx monorepo.
Root .eslintrc.json
{
  "root": true,
  "ignorePatterns": ["**/*"],
  "plugins": ["@nx"],
  "overrides": [
    {
      "files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
      "rules": {
        "@nx/enforce-module-boundaries": [
          "error",
          {
            "enforceBuildableLibDependency": true,
            "allow": [],
            "depConstraints": [
              {
                "sourceTag": "*",
                "onlyDependOnLibsWithTags": ["*"]
              }
            ]
          }
        ]
      }
    },
    {
      "files": ["*.ts", "*.tsx"],
      "extends": [
        "airbnb",
        "airbnb-typescript",
        "plugin:@nx/react",
        "plugin:@nx/typescript",
        "prettier"
      ],
      "parserOptions": {
        "project": "./tsconfig.base.json"
      },
      "rules": {
        "@typescript-eslint/ban-ts-comment": "warn",
        "dot-notation": "off",
        "@typescript-eslint/dot-notation": "error",
        "@typescript-eslint/naming-convention": "warn",
        "no-shadow": "off",
        "@typescript-eslint/no-shadow": "warn",
        "@typescript-eslint/no-unused-expressions": [
          "error",
          {
            "allowShortCircuit": true,
            "allowTernary": true
          }
        ],
        "import/extensions": "off",
        "import/no-extraneous-dependencies": "off",
        "import/no-unresolved": "off",
        "import/prefer-default-export": "off",
        "no-nested-ternary": "warn",
        "no-underscore-dangle": "off",
        "one-var": ["warn", "always"],
        "react/function-component-definition": "off",
        "react/jsx-filename-extension": [
          1,
          {
            "extensions": [".jsx", ".tsx"]
          }
        ],
        "react/jsx-props-no-spreading": "off",
        "react/no-unstable-nested-components": [
          "error",
          {
            "allowAsProps": true
          }
        ],
        "react/react-in-jsx-scope": "off",
        "react/require-default-props": "off",
        "react-hooks/rules-of-hooks": "off",
        "react/jsx-no-useless-fragment": [
          "error",
          {
            "allowExpressions": true
          }
        ]
      }
    },
    {
      "files": ["*.js", "*.jsx"],
      "extends": [
        "airbnb",
        "plugin:@nx/react",
        "plugin:@nx/javascript",
        "prettier"
      ],
      "rules": {}
    },
    {
      "files": ["**/?(*.)+(spec|test).[jt]s?(x)"],
      "env": {
        "jest": true
      },
      "extends": [
        "plugin:jest/recommended",
        "plugin:jest/style",
        "plugin:jest-dom/recommended",
        "plugin:testing-library/react"
      ],
      "rules": {
        "jest-dom/prefer-empty": "off",
        "testing-library/no-node-access": [
          "warn",
          {
            "allowContainerFirstChild": true
          }
        ],
        "testing-library/prefer-screen-queries": "off"
      }
    }
  ],
  "extends": ["plugin:storybook/recommended"]
}

Child .eslintrc.json
{
  "extends": ["../../../../.eslintrc.json"],
  "env": {
    "browser": true,
    "es2021": true
  },
  "ignorePatterns": ["!**/*", "**/*.config.js", "**/*.d.ts"],
  "globals": {
    "ComponentFramework": true,
    "React": true
  },
  "rules": {
    "@typescript-eslint/lines-between-class-members": "off",
    "@typescript-eslint/no-useless-constructor": "off",
    "@typescript-eslint/no-empty-function": "off",
    "class-methods-use-this": "off",
    "import/order": "off",
    "no-alert": "error",
    "vars-on-top": "off"
  }
}

@novascreen, any ideas on how to address this?

hm, i wonder if something goes wrong with the path to the tsconfig in parserOptions.project, because it might not apply or be the wrong in your child eslint config.
You could try to add parserOptions.project in the child config as well. You could also try to just set it to true if you have a tsconfig.json next to each of your eslint configs.

The funny thing is the problem seems to have resolved itself. I have no idea how that happened.


Catch exception if workspace not an integer

Fixes #1

LGTM

You're alive! :D

Yeah, my projects have been super inactive as my summer is just packed with trips and stuff, doing some maintenance before i leave for the next one again xd


Bug_report_swap

Template PR swap.react
If the build is not going, the PR do not even look

Match style guide 😏

[ ] js
[ ] react
[ ] css/sass

In the description issue 😋

[ ] number issue
[ ] brief description of the work
[ ] why they chose this solution

Git 😈

[ ] The rebase master is done
git pull --rebase origin master

For the correct PR bonus tokens ✨
💔Thank you!

https://github.com/swaponline/swap.react/issues


Generalize node type to non-floats

I had a request from someone over email that I enable SymbolicRegression.jl to work with FixedPointNumbers.jl since they wish to find expressions that work with this datatype for their specific hardware.
This change generalizes the Node type to constants that are any Real, rather than just AbstractFloat. To make this change I had to change the constructor from Node(val::AbstractFloat) and Node(feature::Int) to:
Node(; val::T1=nothing, feature::T2=nothing)
Node(::Type{T}; val::T1=nothing, feature::T2=nothing)

In other words, now you explicitly specify whether the node is a constant or a variable, like Node(; val=2.0) or Node(; feature=1). This also lets you construct expressions which have integers for constants, although this won't work for the actual search, as Optim is not enabled for it.
This change lets you use FixedPointNumbers like so:
using SymbolicRegression
using FixedPointNumbers
options = Options(binary_operators=(+, *, /, -), unary_operators=(cos, sin))

# Set up some variable nodes:
x1, x2 = Node("x1"), Node("x2")

# By default, these will have type `Float32`:
println(typeof(x1))
# > Node{Float32}

# Create an expression. This will automatically
# promote types:
tree = cos(x1) * 3.2 - sin(5.2 / x2)
println(typeof(tree))
# > Node{Float64}

# Convert the expression to FixedPointNumbers:
T = Fixed{Int32, 8}
fixed_point_tree = convert(Node{T}, tree)

println(fixed_point_tree)
# > ((cos(x1) * 3.199Q23f8) - sin(5.199Q23f8 / x2))

Probably want to include tests for custom Real types.

This is a breaking change to the Node constructor, so this will be version 0.12 of SymbolicRegression.jl


Is there native wayland support planned?

Hey,
is there native wayland support planned?

Hi @blnagain, GNOME on Wayland is now supported - we've worked with the community to ensure that GNOME's compositor, Mutter is working well with evdi. Other compositors may need more work to fully support running on secondary graphics adapters.

I am not sure about the terminology. But it sounds like every window-manager needs specifically support evdi?
How is the process for other DE like sway, KDE...?

It is not the case that every WM or DE has to support specifically evdi, rather they need to implement Wayland itself (like in Mutter).
Only then we are able to tackle issues related to that implementation specifically.
In any case, I'm closing this as the topic is too broad. In the future, please, create WM/DE specific issues to discuss their Wayland implementations. Thanks. 😇


cmd/cgo: building c-archive with function pointer works with Go 1.14, but not 1.15 and beyond

What version of Go are you using (go version)?

$ go version
go version go1.15 darwin/amd64

Does this issue reproduce with the latest release?
Yes.
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
GO111MODULE=""
GOARCH="amd64"
GOBIN=""
GOCACHE="/Users/willie/Library/Caches/go-build"
GOENV="/Users/willie/Library/Application Support/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="darwin"
GOINSECURE=""
GOMODCACHE="/Users/willie/pkg/mod"
GONOPROXY="github.com/vitalsource/*"
GONOSUMDB="github.com/vitalsource/*"
GOOS="darwin"
GOPATH="/Users/willie"
GOPRIVATE="github.com/vitalsource/*"
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/Users/willie/.asdf/installs/golang/1.15/go"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/Users/willie/.asdf/installs/golang/1.15/go/pkg/tool/darwin_amd64"
GCCGO="gccgo"
AR="ar"
CC="clang"
CXX="clang++"
CGO_ENABLED="1"
GOMOD="/Users/willie/willie/cgotest/go.mod"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fno-caret-diagnostics -Qunused-arguments -fmessage-length=0 -fdebug-prefix-map=/var/folders/4z/2t7q40b14znb__08yd_p_znw0000gn/T/go-build009670235=/tmp/go-build -gno-record-gcc-switches -fno-common"

What did you do?
I build a Go c-archive static library to use in several C/C++ programs. Building c-archives with cgo broke in a way that I don't understand in Go 1.15 and later. Building with Go 1.14 works fine. I put together a simple example here: https://github.com/willie/cgotest
What did you expect to see?
I expected to be able to build a c-archive static library with no errors.
What did you see instead?

# command-line-arguments
_cgo_export.c:29:3: error: unknown type name 'writeFunc'

The problem here is
func HTTPGet(url *C.char, writeFunc C.writeFunc, writeFuncData unsafe.Pointer) (read int64) {

Note that writeFunc is both the Go parameter name and the C type name.  This leads to confusion in the generated C code.

YES! Changing the Go parameter name fixed the problem. Such a relief and an easy change. Thank you for the help @ianlancetaylor

@ianlancetaylor Ian, is there something to do here for Go 1.17, or is it appropriate to move it to Backlog until it becomes more clear what the timeline of a fix might be?

Moving to Backlog.


multiple cars, same name, add vin next to name

fixes #3891

Nice!  Thank you!

Hi everyone,
I had previously opened this pull request, for cases of unnamed vehicles

https://github.com/teslamate-org/teslamate/pull/4198

Looks like the behavior changed in this pull request
From:

To:

In my opinion, displaying a bunch of numbers with no context isn't too great.
Would you be opposed if I opened a new pull request to change back the case of unnamed vehicles to VIN $full_vin?
In summary:

Uniquely named vehicles: $Name
Duplicate named vehicles: $Name - $Last_six_of_vin
Unnamed vehicles: VIN $Full_vin

c.c. @swiffer , @JakobLichterfeld , @edgararroyo

@arcastro - converted into new issue, will be adressed shortly after merge of open PRs


Getting an error about ir_measures

I have downloaded the ir_measures==0.2.1,when I run the following command:
scripts/pipeline.sh config/bert config/robust
an error message is occurred:

Could you tell me how to fix it? Thanks

I observe that all metrics config are lowercase like p@20 and ndcg, after chang it to capital like P@20 and NDCG. The Error is gone.


Alternative GUI Downloader

Feel free to check out xload as an alternative
https://github.com/MustafaHi/xload

no lol.

No thanks. Your 'open-source-code' is so open-source that no one can actually see it.

LOL

Is this a joke or something ?


Mh Scans no funciona

Source information
MHScan (es.mhscans)
Source language
Español
Steps to reproduce
No puedo actualizar el contenido y no hay paginas en los capitulos.
Expected behavior
Mis manhwas de mhscan no funcionan, pero solo esos
Actual behavior
Revisa la pagina y funciona bien, nose si cambio el url (manhuaonline.org)
Mihon/Tachiyomi version
0.16.3
Android version
Android 10
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Duplicate of #5693


[refactor]: Optimize executor

Description
Originally this work was about #3991. But after implementing reference counting for ConstString I got these results:

7.5 - 13 % less memory footprint
50 - 75 % slower

I measured memory using the next command:
gtime -f 'Time passed: %E\nMax memory used: %M kbytes' ../../target/release/examples/apply_blocks

Where gtime is a time utility by GNU, which can be installed on mac using brew install gnu-time
So it defenelty doesn't worth it.
You can do your own research. Take a look at my branch: https://github.com/arjentix/iroha/tree/arc_name

Fixed apply_blocks benchmark
Made apply_blocks even more heavy with long ids
After that this benchmarks just stops woring on iroha2-dev, the issue was a very long transaction deallocation inside wasm executor, so fixed that with core::mem::forget()
Some minor refactoring

Benefits

Checklist

[x] I've read CONTRIBUTING.md
[x] I've used the standard signed-off commit format (or will squash just before merging)
[x] All applicable CI checks pass (or I promised to make them pass later)
[ ] (optional) I've written unit tests for the code changes
[ ] I replied to all comments after code review, marking all implemented changes with thumbs up

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

50 of 66 (75.76%)  changed or added relevant lines in 6 files are covered.
6913 unchanged lines in 129 files lost coverage.
Overall coverage decreased (-3.5%) to 55.897%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

smart_contract/derive/src/entrypoint.rs
0
1
0.0%

smart_contract/trigger/derive/src/entrypoint.rs
0
1
0.0%

core/src/query/store.rs
0
2
0.0%

smart_contract/executor/derive/src/entrypoint.rs
0
2
0.0%

core/src/smartcontracts/isi/asset.rs
3
13
23.08%

Files with Coverage Reduction
New Missed Lines
%

client/src/lib.rs
1
0.0%

config/base/derive/src/view.rs
1
99.37%

config/src/block_sync.rs
1
95.0%

config/src/network.rs
1
93.75%

config/src/torii.rs
1
96.0%

config/src/wasm.rs
1
87.5%

core/src/smartcontracts/isi/block.rs
1
87.5%

config/src/kura.rs
2
79.41%

config/src/lib.rs
2
0.0%

ffi/src/option.rs
2
71.43%

Totals

Change from base Build<PHONE_NUMBER>:
-3.5%

Covered Lines:
22106

Relevant Lines:
39548

💛  - Coveralls


great library; using it for voltage calibration in voltmeter

wanted to give a big thanks for putting together this library!
I included it in my esp8266 voltmeter (data logger) project and it improved the accuracy with very little extra effort on my part, just had to learn how to call your api - and that was pretty easy.
tiny suggestion: for things that are positive integers (like number of points), maybe make that more explicit that its unsigned int rather than it.
it would also be interesting to know what the memory needs/usage is, as you choose the number of points and order of the poly.
again, thanks for such a great contribution.

Hey, glad you're finding it useful! I've not touched this in a long time.
Right now the memory allocated is static, IIRC to make sure it doesn't crash, as the memory usage can be huge for larger orders (i think it's n^3 ish)
But I do have some dynamic matrix code from a while back so could make memory not static. right now it relies on the MAX ORDER #define somewhere.
I think the "x" value can be negative, where the x values are the LHS of the y axis.
Glad you're enjoying it!

My bad - looking at the source it's all allocated on the stack - so there's no theoretical max order, just the size of your stack.
It could do with some cleaning up but if it works, it works!


Installation Issue: Specific Node Version Required?

Following the instructions on a system with:
`
ubuntu@ollama:~/nextjs-ollama-llm-ui$ node -v

v12.22.9
ubuntu@ollama:~/nextjs-ollama-llm-ui$ nvm -v
0.39.3
ubuntu@ollama:~/nextjs-ollama-llm-ui$ npm -v
8.5.1
`

executing: npm install
throws about 50:
`

ubuntu@ollama:~/nextjs-ollama-llm-ui$ npm install
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package:
'<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
npm WARN EBADENGINE Unsupported engine {
npm WARN EBADENGINE   package: '<EMAIL_ADDRESS>npm WARN EBADENGINE   required: { node: '>=18' },
npm WARN EBADENGINE   current: { node: 'v12.22.9', npm: '8.5.1' }
npm WARN EBADENGINE }
`

Is there a specific version of node to be using? Any one else run into this?

Ah! Oddly when setting up a fresh box it used an ancient version of Node. I suggest anyone else having similar issues make sure you run "nvm install 21.6.1" after a fresh install to make sure you're current.

Thank you for reporting this issue.
Yeah, according to the langchain docs, it does indeed require node 18+.
Glad you got it working though 👍
I'll update the readme to inform users about this.

One other thing... now that I've got the server spinning up, when you access it, it launches "Compiliing", which runs for a bit and then crashes.
`
ubuntu@ollama:~/nextjs-ollama-llm-ui$ npm run dev

<EMAIL_ADDRESS>dev
next dev

▲ Next.js 14.1.0

Local:        http://localhost:3000
Environments: .env

✓ Ready in 1710ms
○ Compiling / ...
ubuntu@ollama:~/nextjs-ollama-llm-ui$
`
Not sure what the issue is as no error is thrown but I'll keep tinkering.
Also, if you run the LATEST version of node (21) you get deprecation warnings. I went and installed 18 and I get no errors but I get a crash while "compiling" after pinging the server.

One other thing... now that I've got the server spinning up, when you access it, it launches "Compiliing", which runs for a bit and then crashes.
` ubuntu@ollama:~/nextjs-ollama-llm-ui$ npm run dev

<EMAIL_ADDRESS>dev
next dev

▲ Next.js 14.1.0

Local:        http://localhost:3000
Environments: .env

✓ Ready in 1710ms ○ Compiling / ...
ubuntu@ollama:~/nextjs-ollama-llm-ui$ `
Not sure what the issue is as no error is thrown but I'll keep tinkering.
Also, if you run the LATEST version of node (21) you get deprecation warnings. I went and installed 18 and I get no errors but I get a crash while "compiling" after pinging the server.

Can you create a new issue for this?
And include the deprecation warnings. Thanks!


The status of GAT implementation?

Hi,
Since GAT is now stabilized, what's the status of GAT of async_trait?
I'm building a library that utilizes GAT heavily. It will be nice just write
#[async_trait]
trait Foo {
    async fn foo(&self);
}
struct F;
#[async_trait]
trait Foo {
    async fn foo(&self) {}
}

Rather than
trait Foo {
    type Future<'a>: Future<Output = ()> + 'a;
    fn foo(&self) -> self::Future<'_>;
}
struct F;
trait Foo {
    type Future<'a> = impl Future<Output = ()> + 'a;
    fn foo(&self) -> self::Future<'_> {}
}

GAT can eliminate Boxes, but harder to write and not object-safe. So it's better to have an option to opt-in the GAT version.

A GAT implementation is not being considered for this crate.

A GAT implementation is not being considered for this crate.

But why?