ModuleNotFoundError: No module named 'fkie_multimaster_msgs.grpc.file_pb2_grpc'

I can't manage to launch node_manager.
Is there a specific way to run it or unlisted dependencies ?
Context :
OS : Ubuntu 20.04
ROS : noetic
Step to reproduce :

sudo apt install ros-noetic-fkie-multimaster
roscore &
rosrun fkie_node_manager node_manager

Error
Traceback (most recent call last):
  File "/opt/ros/noetic/lib/fkie_node_manager/node_manager", line 5, in <module>
    import fkie_node_manager
  File "/opt/ros/noetic/lib/python3/dist-packages/fkie_node_manager/__init__.py", line 45, in <module>
    from fkie_node_manager_daemon import host as nmdhost
  File "/opt/ros/noetic/lib/python3/dist-packages/fkie_node_manager_daemon/__init__.py", line 45, in <module>
    from .server import GrpcServer
  File "/opt/ros/noetic/lib/python3/dist-packages/fkie_node_manager_daemon/server.py", line 41, in <module>
    import fkie_multimaster_msgs.grpc.file_pb2_grpc as fgrpc
ModuleNotFoundError: No module named 'fkie_multimaster_msgs.grpc.file_pb2_grpc'

Troubleshooting
I already tried to fix this issue with :

installing sudo apt install python3-grpcio python3-grpc-tools
updating grpcio to 1.33.2
checking files in /opt/ros/noetic/share/fkie_multimaster_msgs/grpc. I get :

-rw-r--r-- 1 root root  6292 août   3 10:39 file.proto
-rw-r--r-- 1 root root 11837 août   3 10:39 launch.proto
-rw-r--r-- 1 root root  3451 août   3 10:39 monitor.proto
-rw-r--r-- 1 root root  2610 août   3 10:39 screen.proto
-rw-r--r-- 1 root root  2131 août   3 10:39 settings.proto
-rw-r--r-- 1 root root  1879 août   3 10:39 version.proto

searching on internet for similar issues.
sourcing /opt/ros/noetic/setup.bash

With no success
I haven't tried yet to use the master branch of this package. I will probably but this is mainly to report the deb on the official repo has an issue.

This is indeed a problem as the auto-generated files were not included in the Debian package.
I will try to fix it.
In the meantime you have to use the noetic-devel branch to be able to use node manager!
Thank you for reporting!

Thx for writing that down @simchanu29, I just ran into the same issue.
@atiderko, I was able to build the noetic-devel branch without any warnings.
However, when trying to run the node_manager, I get the following error:
AttributeError: module 'google.protobuf.descriptor' has no attribute '_internal_create_key'
My setup:

python3-grpcio and  python3-grpc-tools are installed
protoc --version returns: libprotoc 3.6.1

Any ideas why it is failing? Am I missing something? Thx!

@tkazik : did you tried this solution on stackoverflow.com?

Thx for the quick reply! Yes, I tried that yesterday without success.

Using pip install --upgrade protobuf the version gets bumped to 3.14.0
Now, I upgraded the official protobuf package (which is at version 3.6.1 for focal) using this method.
Now both pip show protobuf and protoc --version show 3.14.0 and node_manager spawns  :tada:

The only thing I now encouter about every second time is the following error:
...
[INFO] [1613065385.776784]: start node manager daemon for http://P1G3:11311/
[WARN] [1613065385.827447]: Error while list_path from grpc://p1g3:12321: <_InactiveRpcError of RPC that terminated with:
	status = StatusCode.UNAVAILABLE
	details = "failed to connect to all addresses"
	debug_error_string = "{"created":"@1613065385.823932252","description":"Failed to pick subchannel","file":"src/core/ext/filters/client_channel/client_channel.cc","file_line":4142,"referenced_errors":[{"created":"@1613065385.823930622","description":"failed to connect to all addresses","file":"src/core/ext/filters/client_channel/lb_policy/pick_first/pick_first.cc","file_line":397,"grpc_status":14}]}"
...

However, I don't know whether that is related to protobuf or something else. Have you seen that before?

did you removed the build files after you updated protobuf and protoc?
Node Manager tries to connect to the node manager daemon which should be started automatically. On errors you see these warnings.
Try  rosrun fkie_node_manager_daemon node_manager_daemon to see if there is all ok.

Yes, I cleaned the build files after updating: Still the same error.
Now, running rosrun fkie_node_manager_daemon node_manager_daemon before node_manager, I observe the following:

rosrun fkie_node_manager_daemon node_manager_daemon prints out the following:

...
[INFO] [1613078424.309408]: Create monitor servicer
/usr/lib/python3/dist-packages/psutil/_pslinux.py:1222: RuntimeWarning: ignoring OSError(6, 'No such device or address') for file '/sys/class/hwmon/hwmon6/temp8_input'
  warnings.warn("ignoring %r for file %r" % (err, path),
[INFO] [1613078424.425969]: Create launch manger servicer
...

node_manager does not show any warnings anymore (which is good I guess).

Does this help you? Or make sense? Thx for your awesome support!

this looks good!
The warning only affects the sensor information, which is read out or not.
If you see launch files in launch dock of the node manager than all should be ok.

Ah ok...guess that is good news then :)
Yes, I see launch files in the dock (=> so I am just ignoring the [WARN] output on the console for now).
Interesting fact: If I close node_manager without shutting down the master and restart the node_manager, I don't get any warning at all. Strange...

A maybe related follow-up on this one: I now have troubles discovering the robot on the latest noetic-devel branch and get the following errors:

Do you have an idea what that temporary name resolution failure might be? Thx!
PS: I can ssh into the robot without issues from the terminal.

It looks like paramiko and ssh resolve names following different paths. paramiko is the library I use to handle SSH connections.
Unfortunately I cannot answer what causes temporary failure name resolution.
Did you try to use the IP address instead of robot?

For the record
We stumbled across the same problem, installing multimaster_fkie via apt. We instead manually installed the package via catkin, as @atiderko suggested, which resolved the problem for our side. We are running the multimaster inside a docker image using Ubuntu 20.04 on an Ubuntu 20.04 host.

@sebastianfast thank you for reporting. Currently I still did not found a solution to this problem. I don't know why the generated code will not be included into the package on Ubuntu 20.04...

@atiderko my guess is the missing dependency of "python3-grpc-tools". I don't know how rosdep get the required package names, but as i can see with a fresh ubuntu20.04 and noetic the package "python3-grpc-tools" is not going to be installed and building of the node_manager fails.

@atiderko my guess is the missing dependency of "python3-grpc-tools". I don't know how rosdep get the required package names, but as i can see with a fresh ubuntu20.04 and noetic the package "python3-grpc-tools" is not going to be installed and building of the node_manager fails.

Made no difference for me. Still not working.

Have you removed node-manager (apt remove ros-noetic-fkie-multimaster) and build it in your ros working dir?

Have you removed node-manager (apt remove ros-noetic-fkie-multimaster) and build it in your ros working dir?

No, so you mean I need that custom build and the package python3-grpc-tools?

Yes you need to uninstall/remove the apt version and then install the noetic version from source. So:
#  remove the official from apt:
sudo apt install ros-noetic-fkie-multimaster

# go to your catkin workspace and clone this repo
git clone git@github.com:fkie/multimaster_fkie.git

Then, check out the noetic-devel branch and build :)
Hope that helps!

Thanks, will try!

Hi, so there are any chances to correct this error. I'm install fkie*  from apt and have the same problem with node_manger - not run - error - ModuleNotFoundError: No module named 'fkie_multimaster_msgs.grpc.file_pb2_grpc'

Hi, I was able to fix the error. However, now you have to wait for the sync for Noetic. Or you install the packages ros-testing repository

I tried the same thing on Ubuntu 18.04, ros melodic. On the melodic-devel branch it works, but as I want to connect with a Noetic ROS_MASTER I tried it with the melodic-daemon-devel branch, where it failed.
After doing it like above
PB_REL="https://github.com/protocolbuffers/protobuf/releases"
curl -LO $PB_REL/download/v3.17.3/protoc-3.17.3-linux-x86_64.zip
unzip protoc-3.17.3-linux-x86_64.zip -d $HOME/.local
export PATH="$PATH:$HOME/.local/bin"

pip show protobuf has Version: 3.17.3, protoc --version returns libprotoc 3.17.3.
I cleaned the workspace, installed it again and I get this error:
~/catkin_ws/src/multimaster_fkie (melodic-daemon-devel)$ node_manager
Traceback (most recent call last):
  File "/home/geranos/catkin_ws/devel/bin/node_manager", line 15, in <module>
    exec(compile(fh.read(), python_script, 'exec'), context)
  File "/home/geranos/catkin_ws/src/multimaster_fkie/fkie_node_manager/nodes/node_manager", line 5, in <module>
    import fkie_node_manager
  File "/home/geranos/catkin_ws/devel/lib/python2.7/dist-packages/fkie_node_manager/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 45, in <module>
  File "/home/geranos/catkin_ws/devel/lib/python2.7/dist-packages/fkie_node_manager_daemon/__init__.py", line 34, in <module>
    exec(__fh.read())
  File "<string>", line 45, in <module>
  File "/home/geranos/catkin_ws/src/multimaster_fkie/fkie_node_manager_daemon/src/fkie_node_manager_daemon/server.py", line 43, in <module>
    import fkie_multimaster_msgs.grpc.file_pb2_grpc as fgrpc
  File "/home/geranos/catkin_ws/devel/lib/python2.7/dist-packages/fkie_multimaster_msgs/grpc/file_pb2_grpc.py", line 5, in <module>
    from fkie_multimaster_msgs.grpc import file_pb2 as fkie__multimaster__msgs_dot_grpc_dot_file__pb2
  File "/home/geranos/catkin_ws/devel/lib/python2.7/dist-packages/fkie_multimaster_msgs/grpc/file_pb2.py", line 21, in <module>
    create_key=_descriptor._internal_create_key,
AttributeError: 'module' object has no attribute '_internal_create_key'

The error comes from generated code... did you tried to install the version 3.14.0?

I tried this too but there were still errors coming up, so I gave up and installed Ubuntu 20.04 on both.


Changed "Always OnSrv1" to "AlwaysOnSrv1"

Removed space in cluster node name "Always OnSrv1" and changed to "AlwaysOnSrv1"

@dphansen : Thanks for your contribution! The author, @MikeRayMSFT, has been notified to review your proposed change.

#sign-off


Differences between design time and run time in editor

Godot version
3.4.beta4.mono
System information
Linux 11
Issue description
An image worth of many words :)

Its not make easy to understand how to design something different from "tutorials" :)
Steps to reproduce
Good question. I can say I tried different approaches but besides set all full screen I found no solution
Minimal reproduction project
Its no related to any scripts

What is your stretch mode set to?

In that case, you seem to be misunderstanding something about the controls and anchors. The most likely culprit is the HBoxContainer - is it set to the same size the top-level control is? Have you tried setting the min size? In my experience, the containers try to size themselves as small as possible so setting the min size is crucial...
BTW are you aware that the blue lines are your screen size? That means as designed in editor, your whole HUD takes up roughly the top left 1/4 of your screen...

This is not my point. :)
My point is the difference between design time and run time. If I set any value about any object I expect to have same result in run time. Don't you agree?

No, because the whole point of containers like HBoxContainers is that they size themselves automatically and place children automatically.

No, because the whole point of containers like HBoxContainers is that they size themselves automatically and place children automatically.

Than not explain the problem imo.

Its no related to any scripts

Scripts or not it doesn't matter. A reproduction project would be helpful, otherwise we can just guess what is wrong.

TestDesign.zip
No need to guess . I did my investigation.
The problem happen resizing the window. Using either OS.WindowSize or changing the project settings Display-.Wndow->Width & Height.
The panel don't keep its original size and scale down without asking permission. :)
If I set the window size(1024x600) to control size (650x400) the panel size will change from 650x400 to 276x200.

Well, you did permit the panel to resize, by setting the anchors to Full Rect layout. SetFaction node is set to Full Rect, so it will resize to the viewport. Panel is set to FullRect too, so it will resize to its parent control (and keep the size ratio). If you want your panel to stay in place and don't change size, change its anchors to top-left.
If you want your in-editor scene look the same as in game, make sure that their resolution match, i.e. the blue outline and the window size are the same. Closing, as it's not a bug, but the way anchors work.


[Feature Request] Reduce ops with keepdim=False are not supported

Currently ttnn reduce ops throw error when called with keepdim=False. There is a check inside tt-metal/ttnn/cpp/ttnn/operations/reduction/generic/generic_reductions.cpp in reduce_impl function which checks for this and throws error.
This presents an issue for us in tt-mlir compiler because then we have to always manually reshape the returned tensor after calling reduce ops with keepdim=True.
Do you have any plans to support this feature in the near future?

P0 since it is blocking JAX MNIST.

Do you have any plans to support this feature in the near future?

Hi @ntarafdar, could you please provide some info on this?

Hey @mrakitaTT , can you ask @bbradelTT . Currently reduction has no home but I think Jasmina mentioned he might be able to take them.

Do you have any plans to support this feature in the near future?

Hi @bbradelTT, could you please provide some info on this? :)

I'll take a look.

@mrakitaTT can you please provide all of the calls that you are interested in (including shapes if input tensors, etc.)?
With recent changes, depending on the shape, sometimes there are downstream fatals, sometimes there aren't. Depending on the shapes you are interested in, it may be possible to unblock you sooner.

Reducing to P1 since even though it is blocking MNIST model we have a way to make a workaround for this issue in compiler if this will take a lot of time to fix on Metal side.

@bbradelTT Sure, here are the traces for MNIST model:

Reduce op
dimArg
Input tensor shape
Output tensor shape

ttnn::max
1
tensor<128x10xf32>
tensor<128xf32>

ttnn::sum
1
tensor<128x10xf32>
tensor<128xf32>

ttnn::sum
1
tensor<128x1xf32>
tensor<128xf32>

ttnn::sum
0
tensor<128x10xf32>
tensor<10xf32>

ttnn::sum
0
tensor<1x10xf32>
tensor<10xf32>

ttnn::sum
0
tensor<128x512xf32>
tensor<512xf32>

ttnn::sum
0
tensor<1x512xf32>
tensor<512xf32>

I'll try out the shapes tomorrow. From my own investigation, it looks like the problem is in reduce, which seems to be called when keepdim=False.
import torch
import ttnn
device_id = 0
device = ttnn.open_device(device_id=device_id)
e=ttnn.from_torch(torch.ones([1,1,32,1], dtype=torch.bfloat16), layout=ttnn.TILE_LAYOUT, device=device)
s=ttnn.Shape([32],[32])
f=ttnn.reshape(e,s)
ttnn.close_device(device)
exit()

results in
RuntimeError: TT_FATAL @ ../ttnn/cpp/ttnn/tensor/types.cpp:211: normalized_index >= 0 and normalized_index < rank
info:
Index is out of bounds for the rank, should be between 0 and 0 however is<PHONE_NUMBER>3709551615
backtrace:
 --- /localdev/bbradel/tt-metal/ttnn/ttnn/_ttnn.so(+0x1a5c7cb) [0x7f05fab907cb]
 --- tt::tt_metal::LegacyShape::get_normalized_index(long) const
 --- tt::tt_metal::LegacyShape::operator[](long) const
 --- ttnn::types::Shape::operator[](long) const
 --- ttnn::operations::data_movement::ReshapeViewOperation::invoke(tt::tt_metal::Tensor const&, ttnn::types::Shape const&)
...

I need to figure out a way to avoid this error.

Unfortunately there are a lot of issues with padding.
E.g. some internal shapes that are showing up in my tests are:
[128, 1[32], 10[32], 32]
[128, 1, 10[32], 32]
[1[32], 128, 10[32], 32]

The new tensor shape work should make all of the padding irrelevant. We'll have to wait for that to be done, and then I'll revisit this issue.
cc @TT-BrianLiu @ayerofieiev-tt

@mrakitaTT could you please test with newest tt-metal main and let me know what you find?
You may need to test with a release build to avoid some asserts.


Handle the twitter configuration file

We recently moved to setup.py based installation and it looks like a thing or two broke.
The file fakemenot/twitter.config needs to be handled now. There are multiple ways to handle this.

Ask the user to keep the file in homedir, something like .twitterconfig and read it.
Pass the configuration file using an argument, say -c.
Handle the file during the installation itself.

I took a stab at it in https://github.com/sachinkamath/fakemenot/pull/9

Thanks x2 @pcn. Fixed in #9


Host Directive or base Component

It would be super nice to get rid of the wrapping component (which includes the mobx directive) and just extend a base component or add a directive to a host in order to support MobX.
When it comes to a directive for the host component, angular has this issue:  https://github.com/angular/angular/issues/8785
However, having a component that you extend to add MobX support should work. It would be kind of like the "onbserver" decorator in mobx-react.

Hi,
the first attempt I made for ng2-mobx was using a decorator approach like mobx-react.
Unfortunately, there is no way to get the change detector ref of the component.
The only way I could solve it is by using a directive.
Also, overriding the onDestroy callback was a mess using a decorator, and using a directive it's straightforward.
BTW, what do you mean add a directive to a host?

Well, I would like Angular to allow specifying it as..
@Component({
  selector: 'my-selector',
  template: `
    <div>...<div>
  `,
  hostDirectives: ['mobxAutorun'],
})

However, as the issue I linked above mentions, it is not currently feasible.

I see.
I don't like extending a base class because you can only have one base class, and this will restrict the users.
Closing the issue unless you have a better idea on how to connect mobx to ng2


[FLINK-23172][docs] Fix broken links to Task Failure Recovery page on Configuration page

What is the purpose of the change
This pull request intend to fix broken links to Task Failure Recovery page on Configuration page. In Hugo we can use the variable {{.Site.BaseURL}} to make sure the links are always right no matter where they are. This variable makes sure the links refer to absolute path instead of relative path.
In #16724, we verify the changes by running the local server with Hugo and checking if the links head to the correct page. But it seems {{.Site.BaseURL}} in local server is ended with /, while the remote server that hosts the docs for Flink doesn't. Thus, we need to add the suffix.
Furthermore, we add a variable {{.Site.LanguagePrefix}} to make sure the Chinese version will direct to the page in Chinese version, rather than the English version.
Brief change log

Fix broken links in RestartStrategyOptions.java and JobManagerOptions.java
Generate the docs based on the modification above

Verifying this change
Run the local server with Hugo and check if the links head to the correct pages.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

@Thesharing can you also create a PR to fix the link in 1.13?

@Thesharing can you also create a PR to fix the link in 1.13?

Thank you for helping me merge this PR. The PR that backport the change to 1.13 is available now: #16725.


Register signals to close controller

I use Trakman on Docker and it's boring to wait 10 seconds for the controller to get killed
process.on("SIGINT", () => { this.end(); })
process.on("SIGTERM", () => { this.end(); })
process.on("SIGHUP", () => { this.end(); })
process.on("SIGBREAK", () => { this.end(); })

process.exit(0)

this is how we do in JS

boring to wait 10 seconds

watch some tiktok in the meantime

Fixed in #257


after running script defender is broken and inaccessible even after full reset.

Describe the bug
Defender is irreparably broken after script use.
To Reproduce
Steps to reproduce the behavior:
Run the script, reinstall windows, try to run defender
Expected behavior
Defender runs as expected OOTB

Describe the bug Defender is irreparably broken after script use.
To Reproduce Steps to reproduce the behavior: Run the script, reinstall windows, try to run defender
Expected behavior Defender runs as expected OOTB

Certainly! It's important to gather more information to understand and address the issue. Here's a reply you can use:
@MichaelYelavich ,
Thank you for bringing this to our attention. I appreciate your feedback and I'm here to help resolve the issue you're experiencing. However, to assist you better, I'll need some additional information. The provided details are a bit sparse, so let's try to narrow down the problem.

Could you provide more details on how Defender is behaving after running the script? Are there any error messages or specific issues you encounter?

Are there any specific configurations or options you used with the script that might be relevant to this problem?

Can you share more about the environment in which you are running the script? For instance, the Windows version, architecture (32-bit or 64-bit), and any other relevant system information such as the Windows Build Number, Version, and Edition.

Have you encountered any other issues with Windows Defender before using the script?

Did you follow any additional steps after reinstalling Windows that might be affecting Defender?

The more details you can provide, the better we can investigate and address the issue. If possible, screenshots or logs related to the problem would be immensely helpful.
I'm committed to resolving this and appreciate your cooperation in providing the necessary information.
Best,
@simeononsecurity

@simeononsecurity
Sorry for the shitty report, i was much to tired to be making github posts
Heres the message
Page not available.
Your IT administrator has limited access to some areas of this app. And the item you tried to access is not available. Contact your IT helpdesk for more information.
What i have tried:
Reset
Cloud reset
Iso reset
Clear registry
Delete windows code integrity files.
Windows 11 Pro 64bit 22H2
AMD Ryzen 5 Pro 7540U

Oh and if it helps, i used the one click enable everything on the script. I'm also using a local account. The only modifications I made myself was gutting telemetry via gpedit.msc and services.msc but that shouldn't effect this as it didn't do anything of the sort before I ran your program. I could be wrong and am excited to learn as I'm a linux guy and am only using windows for college and this is just one of many things that makes me regret this.

@MichaelYelavich
We ran more tests to confirm. But no our script isn't doing what you're talking about.
Defender opens and works just as expected. Even on our Windows 11 Pro 64bit 22H2 test system we just created.
Something you must've changed affected this.


Memory leak when switching apps

There seems to be a memory leak when using KeyboardKit and changing apps.
I added a fix for a deinit memory leak when changing keyboards, but this memory leak occurs when switching apps.
The following information was provided by a user:

I tried the latest master but the issue seems to persist.
Here is the memory graph screenshot after opening the keyboard a couple of times.
It's always reproducible.
Steps to reproduce:

Run keyboard
Open keyboard in 'Notes' app
Open keyboard in 'Mail' app
Open keyboard in 'Reminders' app
Open keyboard in 'Safari'
Open keyboard in spotlight (home screen search)
Generate memory graph in xcode.

Forgive me if I'm wrong, is it the static variable "shared" in KeyboardInputViewController.swift that is causing this issue?
I had noticed that the deinit block gets called only after reopening the keyboard.
When opening keyboard in a new field(for the 2nd time), the static variable gets re-assigned, then only the previous instance is deinit'ed.
I had checked the starter project xcode has given when creating the keyboard extension; there the deinit block of KeyboardViewController gets called as soon as the keyboard is hidden. If we can bring the same behavior in keyboard kit, may be this leak gets solved?
I hope you fix this issue soon.

This is fixed in KK7.


The hue example does not work

Hello! Thank you for bringing it to my attention. I'll try to fix it asap :)

Thanks so much!
On Fri 1. Nov 2024 at 12:55, Elide @.***> wrote:

Hello! Thank you for bringing it to my attention. I'll try to fix it asap
:)
—
Reply to this email directly, view it on GitHub
https://github.com/elide-b/starbars/issues/17#issuecomment-2451755827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2U2SXAIP7YEZMBD56H5ALZ6NT47AVCNFSM6AAAAABQ3ZCYA6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJRG42TKOBSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hello Elide!
I've not been able to automatically have these changes apply to the package
in my jupiter notebook because it still doesn't work, but I see that it
works on your site. How do I automatically get these updates?
Best,
Serena
On Mon, Nov 4, 2024 at 11:24 AM Elide @.***> wrote:

Closed #17 https://github.com/elide-b/starbars/issues/17 as completed
via #19 https://github.com/elide-b/starbars/pull/19.
—
Reply to this email directly, view it on GitHub
https://github.com/elide-b/starbars/issues/17#event-15101424651, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2U2STSCQIOJSSAYPUUOO3Z65DN5AVCNFSM6AAAAABQ3ZCYA6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGEYDCNBSGQ3DKMI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Actually, now I have been able to update it. But there are clashes with
version I think. What are the versions of the dependencies? Have you stated
them somewhere? I cannot find it
On Tue, Nov 5, 2024 at 7:24 AM Serena Onwuka @.***> wrote:

Hello Elide!
I've not been able to automatically have these changes apply to the
package in my jupiter notebook because it still doesn't work, but I see
that it works on your site. How do I automatically get these updates?
Best,
Serena
On Mon, Nov 4, 2024 at 11:24 AM Elide @.***> wrote:

Closed #17 https://github.com/elide-b/starbars/issues/17 as completed
via #19 https://github.com/elide-b/starbars/pull/19.
—
Reply to this email directly, view it on GitHub
https://github.com/elide-b/starbars/issues/17#event-15101424651, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2U2STSCQIOJSSAYPUUOO3Z65DN5AVCNFSM6AAAAABQ3ZCYA6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGEYDCNBSGQ3DKMI
.
You are receiving this because you authored the thread.Message ID:
@.***>

Hi Elide!
It works with the latest version of seaborn; It was my seaborn that was
having issues, but thank you so much for the quick fix!!
Best,
Serena
On Tue, Nov 5, 2024 at 7:37 AM Serena Onwuka @.***> wrote:

Actually, now I have been able to update it. But there are clashes with
version I think. What are the versions of the dependencies? Have you stated
them somewhere? I cannot find it
On Tue, Nov 5, 2024 at 7:24 AM Serena Onwuka @.***>
wrote:

Hello Elide!
I've not been able to automatically have these changes apply to the
package in my jupiter notebook because it still doesn't work, but I see
that it works on your site. How do I automatically get these updates?
Best,
Serena
On Mon, Nov 4, 2024 at 11:24 AM Elide @.***> wrote:

Closed #17 https://github.com/elide-b/starbars/issues/17 as completed
via #19 https://github.com/elide-b/starbars/pull/19.
—
Reply to this email directly, view it on GitHub
https://github.com/elide-b/starbars/issues/17#event-15101424651, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AJ2U2STSCQIOJSSAYPUUOO3Z65DN5AVCNFSM6AAAAABQ3ZCYA6VHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJVGEYDCNBSGQ3DKMI
.
You are receiving this because you authored the thread.Message ID:
@.***>


Remove pointer after gzFile in NVHGzipFile.m

Commit message:

Fix the bug with gzFile: you should use it without * pointer. Otherwise the compiler will give the error: "Incompatible pointer types initializing 'gzFile *' (aka 'struct gzFile_s **') with an expression of type 'gzFile' (aka 'struct gzFile_s *')"

I believe it's a serious bug. Although, sometimes the existing code may work, it can lead to crashes.
P.S. Thanks for the project! Great job! I tried many pods to untar tar.gz and only this one works without problems. Let's do it even better!

@nvh, hi! Are you going to merge it?


Update BTNavigationDropdownMenu.swift

Prepare menu button for autolayout

@saltwat5r can you share the issue you're facing to come up with this pull request? Thanks

Closing due to inactivity and lack of context to be able to merge. Feel free to reopen if needed. Thanks.


Feature: add onEventLongPress prop

Add onEventLongPress prop, to allow more user interactions with the events

Hi @pdpino , could I know the use case of event long press? I'm just curious.

nvm, I just saw the latest comments from the mentioned issue.

That's a good question.
As part of the edit-mode feature discussed in #58, I was thinking to add a prop to allow the developer enabling edit-mode on-press or on-long-press (see this comment).
So, if the developer chooses to enable edit-mode with press, they may want to use the on-long-press for something else (e.g. showing a modal with event info).
In other words:

Developer A: enables edit-mode with on-long-press, and uses on-press to do something with the event.
Developer B: enables edit-mode with on-press, and uses on-long-press to do something with the event.

@hoangnm let me know what you think! If you think this is not necessary, or any other comments. :slightly_smiling_face:

Thanks @pdpino , I think it's nice to have this.

That's a good question.
As part of the edit-mode feature discussed in #58, I was thinking to add a prop to allow the developer enabling edit-mode on-press or on-long-press (see this comment).
So, if the developer chooses to enable edit-mode with press, they may want to use the on-long-press for something else (e.g. showing a modal with event info).
In other words:

Developer A: enables edit-mode with on-long-press, and uses on-press to do something with the event.
Developer B: enables edit-mode with on-press, and uses on-long-press to do something with the event.

@hoangnm let me know what you think! If you think this is not necessary, or any other comments. 🙂

This seems like a great idea. Enabling “edit mode” we could animate the meetings with something like a little “shake” to show the user that the events can be dragged.


Deployment iteration ID as environment variable

Is there an AZD ID of some kind that is used to distguish between different runs of azd that I could use to help debug the deployment?
It seems like there is always a deployment token or guid, but what is its name and how do I get it into the env?

Don't think we have any run specific id/name/state persisted. cc @wbreza and @ellismg to clarify, if there is indeed a way to correlate.

When you run azd provision, we create a new deployment object at subscription scope.  The name of the object is the name of your environment and a timestamp (expressed as a unix timestamp).  You can view these in the azure portal by looking at your subscription and then going to the "Deployments" view.  When azd prints the link to the deployment that is happening it's linking into this view.
You can also list these values with the az CLI using az deployment sub list.
Is that what you are looking for?

Yes - I could use a post provision hook to add that into azd env vars?

Yes - I could use a post provision hook to add that into azd env vars?

I think you could just add the following to your main.bicep:
output DEPLOYMENT_NAME string = deployment().name

Since azd writes all of the outputs of the main.bicep into the .env file.

any reason I wouldn't want to do this?

I can't think of anything that would break doing by doing this, but I guess my question would be - what's the reason for doing this?  Is there some larger goal you're after here where having a unique ID for the last deployment helps?
One other thing to note - this all depends on using Bicep as your IaC provider.  With Terraform, this wouldn't work, since azd just calls into terraform to provision the infrastructure, so you'd be stuck with whatever Terraform gives you.

My 2 reasons for this information are:

Logging to track deployments. For complicated pipelines and hooks, which would happen in CICD, I would rather have a common tool such as Kusto to wade through logging, intead of CICD stacks such as GitHub Action output. The ID in kusto log might be able to help me track back. When I look at the container app log for startup, if the start up failed, I see that in Kusto logs. If the deploy which was meant to build the container failed, I don't see that in Kusto but instead wherever it actually happened.

AZD deployments where only a service or app, out of many services/apps in the repo, is deployed. Ideally the ID could make it all the way into source code in some way that I could know which deployment item in the subscription deployment logs is associated with which app. Again - would just love to use Kusto to understand the state of deployments.


Yikes  - it seems SetCursor from mouse click is broken!

I know what the problem is.  fix coming soon.

update goki/ki -- my new nptime was wrong!  never try to fix something that was working, without looking more carefully into it!


When i press ALT KEY a window menu appears

Describe the bug
When i press ALT KEY a window menu appears
To Reproduce
Steps to reproduce the behavior:

Open Antares
Pressed ALT

Expected behavior
Nothing :hand_over_mouth:
Screenshots

Application (please complete the following information):

App client: None
App version: 0.76
Installation source: Debian package from github releases

Environment (please complete the following information):
System:   Kernel: 5.15.0-60-generic x86_64 bits: 64 compiler: gcc v: 11.3.0 Desktop: Cinnamon 5.6.7     tk: GTK 3.24.33 wm: muffin dm: LightDM Distro: Linux Mint 21.1 Vera base: Ubuntu 22.04 jammy
Additional context
I did not know what is this :man_facepalming:

Hi Cleverson,
thanks for the report.
I'm working to fix this issue.

Fixed in 63fece2a1b6b09f61ae416f7c3a7b51ee0a53d0e


Use elixir image because hex doesnt support otp 25 or 26

This hotfix uses the official Elixir image rather than one from Hex because Hex doesn't have any OTP 25 or 26 images.

This was actually caused by an issue with Dockerhub not responding. The tag we were using exists and re-running the failing jobs now works.


fix: define required secrets for the workflow

terminate workflow immediately if required secrets are not provided

@glimchb in addition, I would split the workflow within this PR in an additional commit. I think everybody wants to run tests but not everybody wants to publish to Docker Hub and provide secrets. Have a look at a proposal here: https://github.com/intelfisz/actions/pull/2. If you agree, we would need to slightly adjust other repos reusing this workflow.


New command: 🔐 spo web roleassignment remove

Usage
m365 spo web roleassignment remove [options]
Description
removes a role assignment from web permissions
Options

Option
Description

-u, --webUrl <webUrl>
URL of the site

--principalId [principalId]
SharePoint ID of principal it may be either user id or group id we want to add permissions to. Specify principalId only when upn or groupName are not used.

--upn [upn]
upn/email of user to assign role to. Specify either upn or princpialId

--groupName [groupName]
enter group name of Azure AD or SharePoint group.. Specify either groupName or princpialId

Examples
remove roleassignment from web based on group name
m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"  --groupName "saleGroup"

remove roleassignment from web based on principal Id
m365 spo list roleassignment remove --webUrl "https://contoso.sharepoint.com/sites/contoso-sales"  --principalId 2

Additional Info
we may use this POST request
/_api/web/removeroleassignment(principalid='{SomeGroupOrUserIDHere}')

hey @pnp/cli-for-microsoft-365-maintainers since this one was already merged https://github.com/pnp/cli-microsoft365/pull/3567 and the one in this issue is very similar just on the web level. Maybe no discussion is needed, and we could open it up and I could take it 😉?

Since it's a remove command, we should add the --confirm option

Hi @Adam-it,
I just noticed that we merged #3542 without confirm option. Do you want to create a separate issue to extend that command too?
Thank you,
Patrick

Hi @Adam-it,
I just noticed that we merged #3542 without confirm option. Do you want to create a separate issue to extend that command too?
Thank you,
Patrick

Sure np. Or better I will just add it when adding code for this command

Since it's a remove command, we should add the --confirm option

Will update the spec and take this one


CYOA: Set a default, and allow taking it from a URL parameter

@bebatut @lldelisle it now supports a default, which is set for your tutorial, and we can choose which branch based on the URL parameter (probably good for linking to a specific version in a course)

Thank you so much

Thank you so much

Feel free to approve if it's ok :)

I am not granted for merging...
Is it expected to have this indentation?

Maybe I would remove some space but it is really minor.

Is it expected to have this indentation?

yes, otherwise it wouldn't fit in most browsers, and people would miss the last "text" parameter, so I separated it over multiple lines. Maybe there's a better way.

I am not granted for merging...

I thought you were! If you do a review → approve, then it should let you. (And feel free to make suggestions as you like!)

I thought I was only granted for epigenetics...

Nope! You have the power now :muscle: please use it wisely :smile:

Should I delete the branch? Or do you usually keep them?

Deleting is fine for merged things!

Nope! You have the power now muscle please use it wisely smile

With great power comes great responsibility

I tried to use titles but I did not managed it seems that the left panel is parsed differently.

@hexylena Is it easy to add a flag in the left panel which tells you which option of the tutorial you are looking at? How the left panel is generated?
Thanks

It is technically possible. The left panel is mostly JavaScript, but we could add elements to it dynamically when were in a CYOA tutorial.
Would you want to be able to change which one you're on? From the left panel? Or just see it, and maybe be able to scroll back to the section where you choose?
I've also thought we could highlight the different sections, my original implementation years ago had a coloured bar for any sections that were specific to a single track.

If you can choose from the left panel this would be awsome but if you can see it and go back to the place where you choose it is already great.
I noticed that if you are using it from inside usegalaxy.eu with the non default, sometimes (maybe when you go to data libraries and come back) it put back the default without any notice.

If it is easier that you only choose from the left panel it is also fine.


TilingSprite doesn't work properly with Texture from .generateTexture()

Hello,
I was trying to use a generated texture on a TilingSprite, but when I add it to stage this error pops up:
Uncaught TypeError: Failed to execute 'drawImage' on 'CanvasRenderingContext2D': No function was found that matched the signature provided.
About code, I'm creating sprites from my single images (dimensions: 144x137) and then adding it to a container (this.spritesContainer). When finished, that container dimensions are 144x685 and then I just defined:
this.batchedTexture = this.spritesContainer.generateTexture();
this.finalSprite = new PIXI.TilingSprite(this.batchedTexture, 144, 411);
this.addChild(this.finalSprite);

I also tried using PIXI.RenderTexture instead but the result was the same.
Any suggestions if this a real issue or my bad?
Regards.

Hey all! This should work like a champ in v3 :+1:


collect all the data needed for the project

whether data should be collected from telangana open data
Soil health data should be collcted from soil health card

Uploading 2018_daily_complete_weather_data_0.csv…

https://drive.google.com/drive/folders/1mj101KgqP9735XqwxnX84aVhhOXf-j1Q?usp=sharing
weather data

Soil data Warangal rural district(6 mandal's data)
WarangalRural.zip

soil data Warangal rural(6 mandal's data in excel format)
WarangalRural(Excel).zip


Fix for #3669

Fix for #3669 and addition of AADNonInteractiveUserSignInLogs to the query.

@javiersoriano - please review here.

@shainw @petebryan please check if this the new logic is correct

@javiersoriano - I don't think we want to include non-interactive signins in Azure.  The AWS login is interactive to the "console".

@javiersoriano - I don't think we want to include non-interactive signins in Azure. The AWS login is interactive to the "console".

@shainw & @javiersoriano - Updated the query as per the suggestion & review comments.
Thank you.


[BUG] Timezone ignored, all due dates are 7 hours too early (Arizona)

In my powertodoist-card, due dates are off by 7 hours (Arizona).  I looked through the powertodoist-card.js code and it looks like there's provision for time and date, but then I checked the data being served by Todoist through Postman and found that all of the due date timezones are set to null by default for the SYNC API, but not for the REST API.  The REST API doesn't deliver the same information, however, so it would probably break the entire card if I switched the GET call to the REST API.
I suspect that since there's nothing in that timezone field, the default 0 time is being used which is rendering 7 hours off in my browser.
Todoist has a timezone setting in the app and on the website and I have it set correctly.
Is there code that I can add to the js file that will add 7 hours to the displayed time since it's not picking up the correct information?

I found a workaround by adding UTC: to the front of the mask in the dateFormat call on line 1005.  Not sure if this is the best method, but it seems to work.

There's a date_format option you can use in YAML. It defaults to "mmm dd H:mm"
Can you put the UTC in there? How, exactly?
I'm wondering if this would solve the problem (in which case we could just improve documentation), or maybe we need to work the code of that option a bit to make it effective.

The only place I see anything about date_format is in the variables in reference to submitting actions.
Looks like it's line 1002.
[this.myConfig.show_dates && item.due ? dateFormat(item.due.date, "UTC: 🗓 dd-mmm H'h'MM") : [],
...where I added UTC:
I don't quite understand how dates work in code, so the best I can do is screw around with it without knowing the ramifications.  ;).

Instead of changing it in the code, you can try a show_dates in the yaml configuration, with a value including "UTC".

@arretx Did you try my suggestion? Is this ok to close?

I believe I did...it's been a while.


interval is non optional on flux_sync

if omit interval on flux_sync , than created resources in k8s fail to reconcile with interval not set error. hence in tf interval should be market as non optional.

Hi @dzmitry-lahoda  👋
I hope you are doing well! As part of our ongoing effort to maintain and improve the quality of our project, I've been reviewing open issues and came across the one you've reported. First off, thank you for taking the time to contribute by reporting this issue; your input is crucial to us.
Upon reviewing the details of your issue, I noticed that it involves the use of a resource or feature that has yet to be supported since the 1.0.0 release of our project, which was approximately 9 months ago. This might be a key factor in the challenges you're experiencing. We understand that changes and deprecations can impact your work, and we're here to help navigate these transitions. If there are specific reasons you've continued using this unsupported resource or if there's any way we can assist in migrating to a supported alternative, please let us know.
Additionally, to ensure the efficient management of our issue tracker and to focus on issues that are actively affecting our community, we have implemented a policy for issues that remain inactive. If there is no activity on this issue within the next 3 weeks, we will consider the issue inactive and close it for you. This doesn't mean your issue is not important to us, but rather that we aim to keep our focus on actively pursued concerns. Of course, if the issue continues or if you have further updates in the future, feel free to reopen the issue or create a new one.
Thank you once again for your contribution to our project. Your feedback not only helps us improve but also supports the broader community in overcoming similar challenges. We look forward to hearing from you and hope to resolve any outstanding concerns together.
Best regards,
Steve


The pre-trained model cannot be downloaded

I want to try this model on the ACDC dataset, but the link to your pre-trained model is dead, please fix it. Thank you very much!

The trained model is now available through the Harvard Dataverse: https://doi.org/10.7910/DVN/XB6PEZ.
Please confirm that you can download it and use it.

The download scripts were updated with new data server.

All models and data scripts were updated with working urls.


Significant loading slowdown between beta 28 and 29

MC 1.19.2
Quilt Loader 0.18.1-beta.29
With the same exact modpack, it takes me:

just under 2min before the game window appears and 3min45sec to load into the game on 0.17.8
around 2.5min before the game window appears and around 4min to load into the game on 0.18.1-beta.28
5min before the game window appears and around 4min to load into the game on 0.18.1-beta.29

I'm ok with a slight slowdown seen in 0.18.x overall, but beta 29 is way too slow. Specifically the time it takes to load before the game window opens.
Not sure if any logs would be useful, so I'm just attaching the 3 instances between different versions for now:
0.17.8: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-stable_latest-log
0.18.1-beta.28: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-beta28_latest-log
0.18.1-beta.29: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-beta29_latest-log

Thanks for reporting these, however it would be really useful if you could run (and upload) sampling data for the beta.29 launch (not beta 30 - that removed some new functionality that might be responsible for the slowdown), rather than log files (since nothing is going wrong other than how long it takes, logs aren't quite as useful).
I'll write this up in a wiki, but you can do this by:

Downloading JVisualVM
Extracting the JVisualVM to a directory
Adding JVisualVM as an external tool in PrismLauncher/MultiMC (I'm assuming it's the same steps):

Go to Settings > External Tools > JVisualVM and select the text box beneath.
Locate the directory you extracted JVisualVM to, and then go into bin, and then select the executable. (So the final path will be something like C:\Users\A\Documents\MyApps\JVisualVM\2.1.5\bin\visualvm.exe
Click the check button to make sure it worked.

Launch minecraft from the "list of instances" panel, and NOT the "per instances" panel by right-clicking on the instance and then hovering over Launch, then JVisalVM
Click on the "Sampler" tab (next to Overview, Monitor, Threads)
Click CPU to start profiling
Click Launch on the MultiMC "Waiting" window
Wait for minecraft to get to the loading screen, then click the Stop button in JVisualVM
Click the Snapshot button in JVisualVM.
Click the Save button (second button from the left, just above the list of threads)
Then select Export Snapshot Data, and save that somewhere.
Add that file to a zip (github doesn't allow you to upload .nps files directly).

Thanks for the detailed instructions. Though, I had to also edit visualvm/etc/visualvm.conf file to point to the correct JDK before doing step 4, because by default it only looks for Oracle. And it took me embarrassingly long to find the Snapshot button, as it was completely hidden due to a small window size 🤦♂
Anyways, here's the file: snapshot_beta29.zip
Also tested beta.30, the loading times did not improve, so you can probably discard those changes as a potential cause.

Thanks! This was very helpful at pointing out that locating a class file is the biggest timesink at the moment - this could be caused by locating where a class is 3 times (when we should only do that once) or it could be because there are too many uncacheable classpath locations to load from. It also turns out that the transform cache prevented some classpath optimizations from working, so I've fixed that too - can you retry with beta 34?

Beta 34 now takes 2.5min before the loading window opens, so the fix worked.
However, I can't fully test it, as the update broke some of the mods I use. First one is Kambrik, second is FireplaceLib, third is Pehkui and the last* one is Frame API. Should I open separate issues for these?
*There are more mods, that crash with the same exact error as Pehkui and Frame API, so I'm going to stop binary searching here and hope that it's the same fix will resolve all of these.
Logs for FireplaceLib: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-fireplace_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-fireplace_latest-log
Logs for Frame API: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-frame_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-frame_latest-log
Logs for Kambrik: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-kambrik_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-kambrik_latest-log
Logs for Pehkui: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-pehkui_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-pehkui_latest-log

Beta 34 now takes 2.5min before the loading window opens, so the fix worked.

Yay! Hopefully there are other things we can look into optimizing, but at least that issue is fixed.
I've pushed beta 38, which fixes some of the crashes you've been having - can you retest?

I jumped straight to beta 41, it took 3min to load, so I'll attach another snapshot, in case there's more that can be done, but overall 3min is a much less drastic increase from 2.5min, than 5min+ was: snapshot_beta41_pre-loading-window.zip
Also, the loading of the game now takes 5min45sec, as opposed to 4min30sec max on beta 28 and below, or 3min45sec on 0.17.x. Here's a snapshot I took, starting from a point where the loading window opens and ending once entering main menu: snapshot_beta41_loading-window.zip
And all the aforementioned crashes have been resolved, but there are 2 more yet:
Frame API now crashes only if ReplayMod is present: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-replaymod_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-replaymod_latest-log
Enchanted Shulkers: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-shulkers_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-shulkers_latest-log
I think they are the same due to this line Failed to select mixin config: #mm:mixins.mm.json.

It looks like 32 seconds of that is spent compressed files in-memory before copying them to the transform cache, which is unnecessary so beta 43 removes that. An additional 40 seconds is spent just copying files into the transform cache which isn't ideal but fortunately that only happens once per modset (in theory). I'll try optimizing that in the future though, since that seems a bit excessive :/
Oh and beta 43 theoretically fixes the issue with MM/Fabric-ASM.

The crash with MM is fixed, but Enchanted Shulkers still causes a (different) crash: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-shulkers_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-shulkers_latest-log
Loading before the game window opens improved a bit, by around 15sec (from 3min down to 2min45sec): snapshot_beta43_pre-loading-window.zip
Loading of the game itself improved a lot, from 5min45sec down to 4min55sec, which is still a minute longer, than beta 28 and below, but not as bad: snapshot_beta43_loading-window.zip

Thanks for retesting! I've got an experimental fix for the enchanted shulkers crash - which is actually still a crash with MM (since the last crash was due to MM not being able to add new URLs to the class loader list, but the new crash was that quilt-loader refused to load classes from the added URL).
Beta 44 also adds a slight optimization to base mod loading, but that was only 16s of the loading time originally so I'm not expecting it to go down by much. I have some ideas on how to optimize populating the transform cache (which currently takes 35 seconds) but I haven't implemented them yet.
Oh, and your profiles are really helpful for this - but I think you could just take a single snapshot of the whole launch cycle? (From Launch in polymc to the main menu - taking shorter snapshots is useful if you don't want to wait around for the game to launch, but if you're getting everything you might as well only do it once).

 Affects beta 44, 45 and 46.
Enchanted Shulkers still refuses to work: https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-shulkers_crash-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-shulkers_latest-log
Incendium, ReplayMod, Structory, Structory Towers, Nullscape all cause a java.io.UncheckedIOException: java.nio.file.NoSuchFileException error with different codes. There might be more affected mods, because someone reported the same crash, but with yet another code https://forum.quiltmc.org/t/topic/626. It doesn't produce neither a crash nor a latest log, the error prints only to the launcher console:
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-incendium_launcher-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-replaymod_launcher-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-structory_launcher-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-structorytowers_launcher-log
https://gist.github.com/SplendidAlakey/49e98bbb3a24394ad8346a5132cc21c3#file-nullscape_launcher-log
Without these mods it takes me 2.5min or so before the loading window opens and then 4min20sec to load into the game, which is almost on par with 0.17.10, but since it's not a full test without these mods, I can't say the issue is completely fixed yet.
And I've been making separate snapshots, because I figured it's easier to go through them, when they are separated. If that's not the case, I'll just be capturing the entire loading process instead. Let me know whichever is preferable for you.

Thanks for retesting, I've fixed both bugs (assuming the last bug is the same bug that occurs with any mod that included empty folders inside their jars - I've only tested Enchanted Shulkers and Nullscape).

And I've been making separate snapshots, because I figured it's easier to go through them, when they are separated. If that's not the case, I'll just be capturing the entire loading process instead. Let me know whichever is preferable for you.

Single snapshot please! A profiler snapshot lets me look at how long different parts of code take to run - and since "loading quilt loader" and "loading the game" are from different parts of the code it's quite easy to see which is which.

Alright, every single crash has now been fixed.
The loading times are now almost the same as beta 28 and below. Before the game window opens it's back to 2.5min, which is fully on par with beta 28. Game loading sometimes takes 4min25sec, sometimes 4min45sec, not sure why. Here's a snapshot of when it takes the longest: snapshot_beta49.zip (takes 1min25sec before the game window and 4min5sec to load the game on 0.17.10; vs 2min30sec before the game window and 4min45sec on 0.18.1-beta.49).
Thanks a lot for all the fixes.

Okay, I've released beta 51 which has got basically all of the optimizations that I first thought of - it uses a much more optimized system for reading and writing the transform cache, which took ~55 seconds last time - hopefully that helps a bit.
The game sometimes taking 4min25sec and sometimes taking 4min45sec sounds a bit concerning - and I'm wondering if that's the transform cache incorrectly getting regenerated on some launches? I'd be interested in a log file from one of those launches - in particular if it contains any log lines like:
[04:48:40] [main/INFO] (Quilt Loader/Cache) Not reusing previous transform cache since it has different keys:
[04:48:40] [main/INFO] (Quilt Loader/Cache) Different: 'mod:minecraft_test': 'e7 07 01 15 01 29 1a 66 92 74 16 ' -> 'e7 07 01 15 04 30 27 a4 dd 94 39 '
[04:48:40] [main/INFO] (Quilt Loader/Cache) Different: 'mod:quilt_loader': 'e7 07 01 15 01 29 1a b2 68 75 16 ' -> 'e7 07 01 15 04 30 27 10 f0 96 39 '

(I'm especially interested in fixing bugs like this because we're going to use that transform cache for chasm transformations in the future, which will take longer to process but should only happen when you add or remove mods, or change relavent config options).

Ok, so the loading before the game window opens improved even further, from 2min30sec down to 2min; game loading improved from 4min45sec to 4min30sec, when re-caching stuff and I can't test with it reusing previous one, due to the issue you mentioned.
Yes, there are indeed such lines, this is the log of the instance I ran to capture the last snapshot: https://gist.github.com/SplendidAlakey/1a419092e9887e1de9fbb7506b88dc47. There are also a bunch of Multiple paths added for '/', but only a single one can be returned! errors, that used to not be there. I specifically made sure not to change any mods between the tests and even ran it a few times in a row to notice the times. I've also ran the instance a couple more times just now and mod:forge_tags, provided-mod:porting_lib_tags, provided-mod:forge_tags and porting_lib_tags are the exact same entries, that force the re-caching.

from 2min30sec down to 2min; game loading improved from 4min45sec to 4min30sec,

Huh, that's actually a bit more that I thought it would be! Optimizing further from this point might require trying to optimize other mods, since I'm really running out of ideas for optimizing quilt-loader itself.

There are also a bunch of Multiple paths added for '/', but only a single one can be returned! errors, that used to not be there.

I guess this would be a good reason for me to actually write changelogs with each release - that's a new warning in one of the betas. It's intended to be show where multiple mods have included the same resource but they are being accessed in a way which only allows one of them to be used - so this won't log a warning if multiple mods contain a common non-replacing tag json, for example. This specific case is quite weird though - apparently a mod is looking for the first "root" folder on the classpath, which is odd since every entry in the classpath contains a root folder! I'll change the warning for / to show the caller's stacktrace instead of every entry in the classpath.

mod:forge_tags, provided-mod:porting_lib_tags, provided-mod:forge_tags and porting_lib_tags

It looks like this is a solver bug - basically loader doesn't perform version comparison when selecting mods for provides, so the solver thinks there's no difference between the two options - even though the versions provided are hopefully different.

Yeah, this issue can pretty much be closed, as the loading times are on par with beta 28. Not as fast as 0.17.10, but I assume that's not really possible, since 0.18.x adds a lot of new stuff. In any case, I consider current loading times acceptable.

that's a new warning in one of the betas

So what do I do with the warnings? Report to the devs, Quilt or just ignore? As you can see, there are 119 of them and not just for the root folder.

even though the versions provided are hopefully different

I can reproduce this by launching the same exact instance twice in a row, so these files aren't, or at least shouldn't be, different. Unless Create somehow changes it on every load?

So what do I do with the warnings? Report to the devs, Quilt or just ignore? As you can see, there are 119 of them and not just for the root folder.

Erm, I'll push a new beta which logs a more useful warning, and then I'd be interested in seeing a log from that.
The / root directory specifically is a different problem than the ones which include the same class file twice. I'll also push an update which includes the mods which contain those duplicate class files so it can be reported to them, eventually.

I can reproduce this by launching the same exact instance twice in a row, so these files aren't, or at least shouldn't be, different. Unless Create somehow changes it on every load?

I'll open a new issue that describes this since i didn't do a very good job in my previous description :p

Erm, I'll push a new beta which logs a more useful warning, and then I'd be interested in seeing a log from that.

Okay, I've pushed beta 54 which adds this log.

I'm afraid something went wrong again and the pre game loading takes 4min on beta 58: snapshot_beta58.zip. Game loading itself seems unaffected, but I included the full snapshot anyway, just in case. I suspect Not reusing previous transform cache since it has different keys is the culprit, because it lists a lot of mods, that didn't change between sessions (I launched it twice in a row).
Also, Log Begone mod stopped working. When you compare my previous log to the new one, you can see almost double the amount of lines, specifically useless ones like This line is printed by the mod mixin!.
New logs: https://gist.github.com/SplendidAlakey/1a419092e9887e1de9fbb7506b88dc47

It looks like 131 seconds is now spent reconfiguring loggers, which is very strange.

Okay, beta 59 fixes a few classloading issues and should also fix Log4j not working correctly.

Yep, every issue seems to be fixed. Pre game loading is back down to 2min, game loading itself is down to 4min15sec, logs are being correctly filtered. Thanks again! Feel free to @ me anytime you need more testing done.


Feature/lex manage household

work to get running on 202 w/ Locker Service enabled.

@dospromptman this pull request to the REVIEWED branch is ready for review and merge.  It includes fixes for the Lightning CLI tool, as well as moving to newer versions of jquery/ui (it includes both minified and full versions, since i'm using full versions to debug locker service issues; i will later remove the full versions once we are done debugging summer '16).  It also includes having the visualforce page register event handlers for lightning events, rather than the hack of the lightning components calling visualforce javascript directly.  finally, it also includes your pull request for the autocomplete lightning component.


Unable to connect to Azure

Issue Type: Bug

open Data Studio
Click the Azure View Header
Click Refresh
Linked account shows
Select my account
click close
Azure view displays error: Failed to get Credentials fr account.

this happens if I also delete the linked account and log in again.
We do use Duo for 2 factor auth
Azure Data Studio version: azuredatastudio 1.28.0 (13e362762762e5cb76a5c8afd2bc650f48c2d3d8, 2021-04-15T00:24:15.710Z)
OS version: Windows_NT x64 10.0.19042

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-7600U CPU @ 2.80GHz (4 x 2904)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: enabledrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.88GB (19.48GB free)

Process Argv

Screen Reader
no

VM
0%

Extensions: none

@cssuh any idea what's happening here?

@clintduncan could you share your Developer Tools screen to see if there are any additional error messages?  You can access this by selecting Help -> Toggle Developer Tools

[cid:7055b0ed-94d6-4c07-9fb6-022ea3d6e27c]

From: Christopher Suh @.>
Sent: Friday, April 16, 2021 1:38 PM
To: microsoft/azuredatastudio @.>
Cc: clintduncan @.>; Mention @.>
Subject: Re: [microsoft/azuredatastudio] Unable to connect to Azure (#15165)
@clintduncanhttps://github.com/clintduncan could you share your Developer Tools screen to see if there are any additional error messages? You can access this by selecting Help -> Toggle Developer Tools
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/microsoft/azuredatastudio/issues/15165#issuecomment-821442809, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACK25ULFI475UGNSGMYJ46LTJB74DANCNFSM43B3N4SA.

@clintduncan I don't think that worked correctly, could you try uploading it again?

Just updated to latest version and it still does the same thing.


Possibility to translate title

Hey guys, I'm just wondering is there any possibility to translate page title? I am using ng2-translate
This is what I need translated
<title><%= htmlWebpackPlugin.options.title %></title>

@kresogalic8  - have a look at https://angular.io/docs/ts/latest/cookbook/set-document-title.html - you will need to use the title service in one of your components or services to do this, so something like
import { TranslateService } from '@ngx-translate/core';
export class AppComponent {
    public constructor(
        private titleService: Title,
        private translate: TranslateService
    ) {
        translate.get('APP_TITLE').subscribe((newTitle: string) => {
            this.titleService.setTitle(newTitle);
        });
    }
}

Haven't tested this at all though so may need some tweaking.


How to inject mock services during integration testing

I can't find where I read this, but I was under the impression that the new ASP.NET Core integration testing mechanism would facilitate injecting mock services by allowing one to replace or overwrite the service registrations in the startup class. Is something along these lines a supported scenario? I am unable to determine from the integration tests docs whether something like this is somehow possible, whether by overriding ConfigureWebHost, or within WithWebHostBuilder. Honestly, not entirely clear what the benefits of using WebApplicationFactory over TestHost are? Plus, unable to locate the docs describing how to use TestHost for integration testing so... any help would be appreciated.

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

ID: 77889d43-fedb-f8b4-8fea-379ec946555c
Version Independent ID: f499b131-8b14-7e10-1728-543fdd5a5656
Content: Integration tests in ASP.NET Core
Content Source: aspnetcore/test/integration-tests.md
Product: asp.net-core
GitHub Login: @guardrex
Microsoft Alias: riande

TestServer is the in-memory server of TestHost, and WebApplicationFactory uses TestServer. It's not a "one over the other" situation. It might be that it's difficult to connect old concepts and approaches to new the way the topic is written. WebApplicationFactory and the new Microsoft.AspNetCore.Mvc.Testing package make it easier to configure and run tests.
Regarding mock services, let's ask @javiercn to comment on that.
... and @javiercn, do you detect that we need to bridge more between yesteryear testing and testing today in the topic?

Overriding services can be achieved calling ConfigureTestServices on the web host builder. There are limitations to this approach, you need to have a startup class and a public void ConfigureServices(IServiceCollection services) method defined on it. If that's the case, you should be golden.
https://github.com/aspnet/Hosting/blob/38f691c09e3aae4f34be139c39ae1fb264803fd0/src/Microsoft.AspNetCore.TestHost/WebHostBuilderExtensions.cs#L15

@javiercn That will work in my case, so thanks. Curious though, is the reason why that mechanism is not mentioned in the docs because the team would rather people not use it? Or is it going to make it into the docs eventually?
@guardrex I did notice that WebApplicationFactory uses TestServer but that is kinda why I wonder what WebApplicationFactory does that TestServer does not. I think what is not clear is what are those things in WebApplicationFactory which "make it easier to configure and run tests". The best I can gather is it sets the application content root path? I probably don't get the importance of that since I have only built APIs and haven't used Razor/Views/Pages/etc..
I don't mean to critique too much, but perhaps you will find my feedback of some value.

I found using the TestServer pretty easy before. It felt like there was less ceremony when using TestServer as opposed to WebApplicationFactory.
The integration testing docs are very EF Core focused, and while that can be a big part of ASP.NET Core development, it would probably round out the docs if you showed examples of hooking up/arranging other services/dependencies.

How about setting up/arranging an HttpClient that the App itself will use to communicate with an external service (not the HttpClient to communicate with the TestServer). I take it that even with IHttpClientFactory, testing apps with HttpClient still requires faking HttpMessageHandlers (ie, you can't mock/fake HttpClient itself)?
And of course, as in my case, just injecting some other service that is just a simple interface/class/etc.

the reason why that mechanism is not mentioned in the docs ... is it going to make it into the docs eventually?

It is something that I'd like to rectify. I think it should be called out. I'll put something together for this asap.

make it easier to configure and run tests

It's in the methods ... see https://docs.microsoft.com/dotnet/api/microsoft.aspnetcore.mvc.testing.webapplicationfactory-1
These are sweet: ConfigureWebHost, CreateClient, WithWebHostBuilder. It requires less boilerplate ... cryptic boilerplate to many ... to get the SUT configured for tests and get tests fired off with a client ... a nicely configurable client. It's very flexible. You can set up multiple factories with custom config for batteries of tests of larger apps. My only concern is the database seeding piece. I find that bit somewhat cryptic at the moment. I wish there was a simpler way to seed the dB for testing.

I found using the TestServer pretty easy before. It felt like there was less ceremony when using TestServer as opposed to WebApplicationFactory.

I take the opposite view, but I'm not a huge integration/functional tester really. I'm more of a unit tester. Someone with much more experience than I may agree with you.

hooking up/arranging other services/dependencies.

The new section I'm thinking about for the topic should help with this part.

setting up/arranging an HttpClient that the App itself will use to communicate with an external service

It's in the sample app. It tests obtaining a GH user profile:
https://github.com/aspnet/Docs/blob/master/aspnetcore/test/integration-tests/samples/2.x/IntegrationTestsSample/tests/RazorPagesProject.Tests/IntegrationTests/BasicTests.cs#L67-L116
https://github.com/aspnet/Docs/blob/master/aspnetcore/test/integration-tests/samples/2.x/IntegrationTestsSample/src/RazorPagesProject/Pages/GithubProfile.cshtml
https://github.com/aspnet/Docs/blob/master/aspnetcore/test/integration-tests/samples/2.x/IntegrationTestsSample/src/RazorPagesProject/Pages/GithubProfile.cshtml.cs

These are sweet: ConfigureWebHost, CreateClient, WithWebHostBuilder. It requires less boilerplate ... cryptic boilerplate to many ... to get the SUT configured for tests and get tests fired off with a client ... a nicely configurable client. It's very flexible. You can set up multiple factories with custom config for batteries of tests of larger apps

Ok, took the time to read the class docs and there is some good info there. I guess I get it, it's just that one does not usually use all of those things at once, but the value would add up over projects or as you said in large projects with varied config needs.
I think you guys more than addressed my question and comments, really appreciate it. I'll leave the issue for you guys to close as it looks like you might be using it to track the updates you mentioned to the docs.

I'll leave the issue for you guys to close as it looks like you might be using it to track the updates you mentioned to the docs.

Yes, that's right. I think your issue with Javier's response has generated an opportunity to make an improvement to the topic. I'll ping u on the PR soon.


Add attributes

Added attribtues and showcased their use.

This all looks great to me, I will merge it in now.


Add logger to mergeSchemas

I need to debug errors during development and makeExecutableSchema has this nice logger parameter to log the stack traces of the errors which get swallowed by graphql.
But since the new 2.5.0 version and stitching schema's I need to pass the same logger parameter to all my schemas. Since mergeSchemas is a central place can we have the the logger parameter there also and use that to log all errors instead of repeating it always.

Sounds like a great idea, that's something we definitely want. And we definitely would welcome PRs that would implement it.

I think we want to improve error handling overall, and will probably be deprecating the logger parameter. But we want to make sure we have a good replacement before we do. #887
In general, I'm also going to be dramatically improving error handling in schema stitching overall. Follow along here: #890


create image workflow

2018-08-20 16:29:47 - Kim Pham (Work notes)
priority task to work on for the speccoll application

Fernando: optimizing workflow, cleanup logging, more testing required
flag record and indicate if a datastream is missing
need large batches multiple collections for testing
Fernando to document what are the 5 or 6 things that makes up an object

awesome ready


MySQL 5.0.95 Replication Issue

We have 2 MySQL 5.0.95 servers with working master-master replication. The issue is that when working from DBeaver the replication does not work. I edit a value in one database, the other database doesn't get it. And vice-versa. When editing from another application (Navicat, mysql.exe, etc.) the replication works as intended. I presume this may be some kind of JDBC bug not related to DBeaver but investigate if you can.
P.S.
MariaDB 5.5 master-master replication with DBeaver's MariaDB driver does not have this issue. I haven't tried though to access the MySQL 5.0.95 servers using the MariaDB driver as I'm not sure whether it is safe.

Replication happens on server side - it can't be affected by any client drivers.
Try to switch to auto-commit mode. Maybe you don't see changes in replicated server because of transaction mode.

I understand it but the fact is the replication doesn't happen only when I use DBeaver. Auto-commit mode is enabled.
Maybe something legit which only DBeaver (or JDBC) is doing triggers some weird MySQL 5.0 bug. I edit a field in server 1, press Ctrl+s to save it, close the connection, open the server 2, the filed is in the old state. Close the connection, open server 1, my changes are there. I can try to investigate further (i.e. by analyzing MySQL's binary log files) if you are willing to hunt this bug down. Thanks.

Does this happen only if you edit data in data grid? What if you modify data with SQL queries?
(You can generate SQL script using action in data editor toolbar)

I just tried to modify data using SQL UPDATE query and the result is the same (no replication).

Maybe there is something in connection configuration (check that it is exactly the same as in other UI clients). I have no other ideas for now.

I am a new user of dBeaver -- trying to find a substitute for HeidiSQL using Wine in Linux -- and am also baffled by this behaviour with MariaDB 10.1.24.
If I alter a table, the change only appears on the master, it does not show up on the slaves.  I tail the mysql.log file and see that nothing is sent when dBeaver commits the change, although the master itself shows the change.
If I take the command shown in dBeaver's pop-up window before it commits a change and enter it from the command line it immediately shows in the log on the slaves as expected.
I opened dBeaver's transaction log and it shows nothing pending, and that the ALTER TABLE command completed with success.
I also tried disabling auto-commit, updating a record, and committing the change, but still nothing appeared at the replication slaves.  I even tried closing and re-opening dBeaver and still nothing appeared on the slaves; only on the master.
This seems a strange behaviour to do by default, if it is not a bug.
This behaviour has been observed with dBeaver Community edition 4.2.5 and <IP_ADDRESS>, with Auto-Commit both enabled and disabled then manually committing the transactions.  No difference.

Can you try to use the database before making changes there? I.e. use xx; update zz set ...; instead of update xx.zz set ...

I had the same issue, i fixed adding database name to the connection configuration, thanks


dts: stm32f412Xg: Factorize package definitions

2 identical packages were defined for stm32f412 SoC, invariant "g".
Merge them in new sinclge stm32f412Xg.dtsi.
Update matching boards accordinlgy.
Signed-off-by: Erwan Gouriou<EMAIL_ADDRESS>

Codecov Report

Merging #14839 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master   #14839   +/-   ##
=======================================
  Coverage   52.49%   52.49%
=======================================
  Files         309      309
  Lines       45060    45060
  Branches    10431    10431
=======================================
  Hits        23656    23656
  Misses      16592    16592
  Partials     4812     4812

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 66d339a...d21a849. Read the comment docs.


Show correct error message for not found workflows

Summary
Fix showing Something went wrong error message on visiting old workflows.
Changes

Move the error boundary to be above the Layout.js to catch status badge errors
Map 400 errors that happens on misconfiguring archival to 404
Ignore emitting 404 responses as Errors
Create an error component for workflows page

Screenshots

Where do we map the 400 + "may have passed retention period" error to a 404? I don't see it in this PR

Where do we map the 400 + "may have passed retention period" error to a 404? I don't see it in this PR

Thanks for spotting it!, was reverted by mistake


Ambiguous spec of __wasi_fstflags_t

Possible values:

    __WASI_FILESTAT_SET_ATIM
    Adjust the last data access timestamp to the value stored in __wasi_filestat_t::st_atim.

    __WASI_FILESTAT_SET_ATIM_NOW
    Adjust the last data access timestamp to the time of clock __WASI_CLOCK_REALTIME.

    __WASI_FILESTAT_SET_MTIM
    Adjust the last data modification timestamp to the value stored in __wasi_filestat_t::st_mtim.

    __WASI_FILESTAT_SET_MTIM_NOW
    Adjust the last data modification timestamp to the time of clock __WASI_CLOCK_REALTIME.

It is unclear what the behavior is, when the both flags __WASI_FILESTAT_SET_MTIM and __WASI_FILESTAT_SET_MTIM_NOW are set. Should whichever of them take precedence or should one return EINVAL? This should be clarified in the API docs.
I suggest we return EINVAL, which is the behaviorimplemented in https://github.com/CraneStation/wasi-common/pull/54

Should this be moved to https://github.com/WebAssembly/WASI and is this even still a problem.

Yes; I've now moved it.


Create a UPROXY_VERSION variable to reference

This creates a new file, version.js, which is referenced in both the
core and the ui and contains the version information of relevant
libraries at the time of building the app.  This variable will be logged
when the core first loads and will be accessible from either the core or
the UI.

This is just or logging at startup (for diagnostics), or used in any other way?
I hope we're not getting into a if (UPROXY_VERSION > ...) { .. } else { ... } game.

This is definitely just for logging.  The move to a variable is so that it could be used for logging/feedback purposes at other points (e.g. when submitting a bug report through the app).

:+1:

@lucyhe this may be interesting for sending feedback

@mollyling - regarding switching based on the uProxy version, that wasn't the plan here, but we do want some way to enable/disable features beyond just keeping them in separate github branches, see https://github.com/uProxy/uproxy/issues/1061


Verifying credentials fails with "[Errno 104] Connection reset by peer" when using any of the AES keys

Description
Verifying credentials using the NT hash works. However, when using any of the AES keys instead of the NT hash this fails with "[Errno 104] Connection reset by peer".
Screenshots

Crackmapexec info

OS: Kali
Version of CME: 5.4.0

Additional info
CME reports the target as Windows 10. This is incorrect. The target is a Server 2019 fully patched.

Can you try with latest versio 5.4.1, I don't recommand using the APT version of cme
https://wiki.porchetta.industries/getting-started/installation/installation-on-unix

I tried version 5.4.1 but I get the same error using that.

I cannot reproduce on my side sorry


Twitter App authorization redirects to localhost:8080

when I click on twitter syndication https://api.twitter.com/oauth/authorize?oauth_token=xxxx, Authorize app redirects to http://localhost:8080/twitter/delete/finish?oauth_token=xxx&oauth_verifier=yyy
Also sending webmention to https://brid.gy/publish/twitter responds with a 400 error.
Am I missing something here?

I found a stack trace for the aformentioned 400 error: Read-only application cannot POST
W 2022-01-26 13:02:40.993623+00:00 Disabling source due to: HTTP Error 401: Unauthorized
Traceback (most recent call last):
  File "/workspace/publish.py", line 243, in _run
    result = self.attempt_single_item(item)
  File "/workspace/publish.py", line 402, in attempt_single_item
    result = self.source.gr_source.create(
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/granary/twitter.py", line 661, in create
    return self._create(obj, preview=False, include_link=include_link,
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/granary/twitter.py", line 872, in _create
    resp = self.urlopen(API_POST_TWEET, data=urllib.parse.urlencode(sorted(data)))
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/granary/twitter.py", line 1111, in urlopen
    return request()
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/granary/twitter.py", line 1089, in request
    resp = twitter_auth.signed_urlopen(
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/oauth_dropins/twitter_auth.py", line 59, in signed_urlopen
    return util.urlopen(urllib.request.Request(url, headers=headers, **kwargs))
  File "/layers/google.python.pip/pip/lib/python3.9/site-packages/oauth_dropins/webutil/util.py", line 1521, in urlopen
    return urllib.request.urlopen(url_or_req, *args, **kwargs)
  File "/opt/python3.9/lib/python3.9/urllib/request.py", line 214, in urlopen
    return opener.open(url, data, timeout)
  File "/opt/python3.9/lib/python3.9/urllib/request.py", line 523, in open
    response = meth(req, response)
  File "/opt/python3.9/lib/python3.9/urllib/request.py", line 632, in http_response
    response = self.parent.error(
  File "/opt/python3.9/lib/python3.9/urllib/request.py", line 561, in error
    return self._call_chain(*args)
  File "/opt/python3.9/lib/python3.9/urllib/request.py", line 494, in _call_chain
    result = func(*args)
  File "/opt/python3.9/lib/python3.9/urllib/request.py", line 641, in http_error_default
    raise HTTPError(req.full_url, code, ... hdrs, fp)
urllib.error.HTTPError: HTTP Error 401: Unauthorized
I 2022-01-26 13:02:41.154467+00:00 publish: Error: {"request":"\/1.1\/statuses\/update.json","error":"Read-only application cannot POST."} HTTP Error 401: Unauthorized
I 2022-01-26 13:02:41.208886+00:00 Returning 400: {'error': 'Error: {"request":"\\/1.1\\/statuses\\/update.json","error":"Read-only application cannot POST."} HTTP Error 401: Unauthorized'} {'response': <Response 152 bytes [200 OK]>}
E 2022-01-26 13:02:41.209776+00:00 <class 'werkzeug.exceptions.BadRequest'>: 400 Bad Request: {'error': 'Error: {"request":"\\/1.1\\/statuses\\/update.json","error":"Read-only application cannot POST."} HTTP Error 401: Unauthorized'}

Whoops! That is definitely not right. Thanks for reporting, will fix.

Fixed. Thanks again, sorry for the trouble!

Actually, I'm going to leave this open until I fix the root cause, but the deployed version on https://brid.gy/ is working fine now.

Yes thank you for your time!

Still trying to debug the root cause here. A few data points:

Happened between the 20220121t064908 and 20220124t120047 deploys.
Pretty sure both of those deploys were from head on the main branch.
Reproduces on the latest deploy, 20220127t080339 (not serving), also from head on all repos.
Other silos are unaffected, eg I can log in with Mastodon and Flickr fine on that ^ deploy.
No obviously relevant changes to Twitter code or other config in this time window:

https://github.com/snarfed/bridgy/compare/ce62d5ef903ec39185f69edeb22c8335d5f5f468...snarfed:main
https://github.com/snarfed/granary/compare/fe12824fe20e6e67cf647f2787efb2d4b40cc774...snarfed:main
https://github.com/snarfed/oauth-dropins/compare/3445cee929cc1797f4284f92d1cf822d026d51f9...snarfed:main

Aha. It was probably the tweepy 4.0 upgrade 🤦 https://github.com/snarfed/oauth-dropins/pull/66

Confirmed, except surprisingly it was tweepy 4.4 => 4.5 that did it, not 3.x to 4.0. So much for semver.

Confirmed, except surprisingly it was tweepy 4.4 => 4.5 that did it, not 3.x to 4.0. So much for semver.

well catched! So sad semver was not respected here
Many thanks again

0c5cd60ecc19f5ce86027551bd705b23034fe6e0


Swipe Delete Animation Appearing on wrong TableViewCell

I am currently implementing a Swipe to delete feature to my tableview. In some cases, the delete animation will finish on the incorrect line, resulting in a strange animation. My implementation is pretty bare:
func tableView(_ tableView: UITableView, editActionsForRowAt indexPath: IndexPath, for orientation: SwipeActionsOrientation) -> [SwipeAction]? {
        if orientation == .right {
            let deleteAction = SwipeAction(style: .destructive, title: nil) { (action, indexPath) in
                self.currentDishes.remove(at: indexPath.row)
            }
            deleteAction.backgroundColor = CDColor.red
            deleteAction.image           = #imageLiteral(resourceName: "trash_small")
            return [deleteAction]
        } else {
            return nil
        }
    }

func tableView(_ tableView: UITableView, editActionsOptionsForRowAt indexPath: IndexPath, for orientation: SwipeActionsOrientation) -> SwipeTableOptions {
        var options = SwipeTableOptions()
        options.expansionStyle  = orientation == .left ? .destructive : .destructive
        options.transitionStyle = .border
        return options
}

Here is a GIF  I captured of it occurring:

Slow speed
Let me know if you have any advice
Andrew

I believe I have narrowed down the issue. It only occurs when the cell being deleted is larger than the cells below it, and if the combined height of the cells below the deleted cell is less than the height of the deleted cell.
Andrew

Hey @Awalz - Thanks for the detailed issue description - slowmo gives us a hint at what is happening.
It looks like the cell being deleted is getting reused as the new cell that is coming in from the bottom.  The table view has no idea that the animated expansion is still finishing when reuse occurs.
Can you provide a simple sample project that demonstrates this issue?

Hey @Awalz - Scrap what I said in my previous comment 😀
I think it might be because there are not enough cells below the deleted row to animate up and cover the expansion animation. Is the "Eggs Benedict" row the last row in your table view?

Yes it is.
This issue occurs if the UITableViewCell's height you are deleting is greater than the height of the remaining cells below it. I can put together a sample project when I get home tomorrow, but it should be easily reproducible
Andrew

Hey @Awalz - Can you try bug/15-delete-animation branch and let me know if that fixes this for you?

I just tested it. I can no longer reproduce the bug. It appears to be resolved. I will continue to test
Andrew


Please add upright greeks

The upright greeks like $\rm{\alpha}$ does not work, and $\bf{\rm\{\alpha}}$ does not work either. I searched online and it looks mathjax current does not support that. I believe these notations are not uncommonly used. Adding support for them could be very helpful for those in the field of numerical computation who frequently use these upright greeks to represent coefficient vectors.

This is a duplicate of #1076.  See also #1859.

The upgreek package now allows access to upright Greek letters.  It is new in v3.2.


Ditch debug.info in the core library, it's slow

Problem
Functions in the library like useHookState (and as a result, all hooks, and queryChanged) and systemName are slow. They use debug.info and each call to debug.info takes between 5-20us depending.
Hooks are highly convenient and very useful, but these performance drawback is rather unfortunate and I think the negatives outweigh the positives, so...
Proposed solution
Ditch debug.info and require users specify a key in useHookState, queryChanged and all hooks.
Discriminators in hooks should still remain optional, as they're often used to differentiate between entities but may not always be necessary.
This is a major breaking change and will require documentation, because using the same key twice in a system will result in unexpected behavior.

There was some work once upon a time to allow users to add a compile step to matter to autogenerate keys so the user didn't need to do this manually, but I don't know if any work was ever done to make this usable in public.
Unless a overall better solution to generating keys, could there be a middleground, that instead of removing the usage of the debug library (for the users that like the ease of it), that you can provide an additional discriminator, that rather than being used as an addition, replaces the call to the debug library if this exists. This would allow those who care for the performance benefits to get them easily, without having to break existing code that relies on the current implementation.

I don't think it's necessarily hard either, but for those with existing codebases they would not be able to upgrade to the latest version of matter without adding these keys, for a breaking change that to me could, at least for now, quite easily be opt in.

We already have a pending breaking change-also, we're still in alpha stages and they should be expected. I feel like this will add code debt we will want to get rid of later anyway, so we might as well do it now while we're in alpha.

I never planned on removing the usage entirely. Only to add a way to use it without. I don't think it's a good idea to remove entirely because there are many people who won't use a compile step.

I don't think a compile step is necessary, because this isn't a particularly difficult change for users to make.


"ADefinitions.h" is missing in "awind_full.zip"

Hello,
Can't seem to locate the file, "ADefinitions.h".
Best Regards,
Aaron

Never mind.
Sorry.  ;)


Keep Examine on Screen

Make the examine popup always appear on screen. Currently, the examine window isn't fully visible when examining things on the right/bottom of the screen.

I believe unusual Crow fixed this and I then broke it again when I refactored UI layout.