Add support for updating the root domain record

Let's say you have the domain 'example.com'. So there is a A-record for 'example.com' with the IP-address of the main server, e.g. serving www.example.com. Of course you could have further hosts like 'server1.example.com', which could be updated without problem.
But if you would like to use your script to update the A-record for 'example.com', the script fails for two reasons:

The function fetchzone_records does usually return more than 1 result for the root domain, since there are usually all sorts of other DNS-recors, like SOA, TXT, MX, etc... So to fix this, I added a type=A to the query.
the $hostPart variable is empty in this case, leading to an API-error. To fix it, you have to use in this case the $domainPart as name, but followed by a "." to avoid renaming the record.

I made two more changes, that might be discussible:

I removed the logic to fetch the IP-address from the client request. The address returned by $_SERVER['REMOTE_ADDR'] can be IPv4 or IPv6 - depending on the way the client connects to the server. So basically there needs to be done some kind of address-recognition. I'm planning to extend the script to also support IPv6 (that is update AAAA-records).
I extended the return infos in two places to include the cPanel-side error messages to help debug any issues during setup (or later when something goes wrong...)

So I'm suggesting this PR to improve your script, which is really cool. I had a different one so far, but that was just far too complicated. I just like yours, it's simple, easy and just get's the job done.
Thanks for your work!

I have no objection, but I'll engage in due diligence and review the commits just so I understand what changes are there. Is any existing functionality changed aside from updating return values in places?

Only what I described above. So, at the moment yes, the feature to read the IP-address from $_SERVER['REMOTE_ADDR'] when it is not provided via the parameter. But feel free to re-enable those lines for the time being. At the end a more sophisticated logic would be necessary to differentiate between IPv4 and IPv6.

Cool, my main goal with the code was to support home routers and such that support DDNS functionality, as long as you can supply an update url. I'm no programmer, so I'll merge, and hope that others continue to find it useful. Thanks!

Oh, and as I haven't run this code for a while (I don't currently have it configured anywhere) can you give the documentation a once over and see if anything obvious changes based on what you did?

This is also my use-case. I think there shouldn’t be a problem. If so, just tell me, I could have a look into it.
Yes, I can adapt the Readme a little bit, although there is basically anything on the user side that changed. But I’ll have a look..

just letting you know I moved a bunch of the code around in an attempt to make it a little faster, and easier to work with. Your root domain changes should be intact, but I removed the IPv6 stuff since dyndns2 doesn't support it as far as I know. IPv6 can be added if more protocols are added.


Drupal vm ssh time out on ubuntu 16.04

Issue Type

Bug Report / Support Request

Your Environment

Vagrant 1.9.2
VirtualBox 5.0.24_Ubuntur108355
ansible <IP_ADDRESS>
  config file = /etc/ansible/ansible.cfg
  configured module search path = Default w/o overrides

Your OS

Linux (version)
Ubuntu 16.04.2 LTS

Full console output

$ vagrant up
Bringing machine 'drupalvm' up with 'virtualbox' provider...
==> drupalvm: Importing base box 'geerlingguy/ubuntu1604'...
==> drupalvm: Matching MAC address for NAT networking...
==> drupalvm: Checking if box 'geerlingguy/ubuntu1604' is up to date...
==> drupalvm: Setting the name of the VM: drupalvm.dev
==> drupalvm: Clearing any previously set network interfaces...
==> drupalvm: Preparing network interfaces based on configuration...
drupalvm: Adapter 1: nat
drupalvm: Adapter 2: hostonly
==> drupalvm: Forwarding ports...
drupalvm: 22 (guest) => 2222 (host) (adapter 1)
==> drupalvm: Running 'pre-boot' VM customizations...
==> drupalvm: Booting VM...
==> drupalvm: Waiting for machine to boot. This may take a few minutes...
drupalvm: SSH address: <IP_ADDRESS>:2222
drupalvm: SSH username: vagrant
drupalvm: SSH auth method: private key
Timed out while waiting for the machine to boot. This means that
Vagrant was unable to communicate with the guest machine within
the configured ("config.vm.boot_timeout" value) time period.
If you look above, you should be able to see the error(s) that
Vagrant had when attempting to connect to the machine. These errors
are usually good hints as to what may be wrong.
If you're using a custom box, make sure that networking is properly
working and you're able to connect to the machine. It is a common
problem that networking isn't setup properly in these boxes.
Verify that authentication configurations are also setup properly,
as well.
If the box appears to be booting properly, you may want to increase
the timeout ("config.vm.boot_timeout") value.
Summary

When I try to bring the Vm up. it got stock on ssh auth method.

@mapasteper first thing would be to use the latest version of vbox -- https://www.virtualbox.org/wiki/Linux_Downloads

@mapasteper - Yeah, in this case, you need to manually download the latest version of VirtualBox 5.1.x—if you're in 5.0.x, VirtualBox doesn't actually tell you there's an update available.
If you must remain on 5.0.x, you will have to manually 'connect the virtual network cable' to make it work with Drupal VM (in the VM's settings in the VirtualBox GUI). But I'd recommend upgrading so it all works automatically :)

Hey Thom and geerlinguy, thabks for your quick reply.
I did it indeed, I installed virtualbox-5.1_5.1.18-114002~Ubuntu~xenial_amd64 but I got a different error.
I found a solution. I upgraded vagrant to version 1.9.3 and viratualbox to version 5.0.32.
Now the Vm is running so I'll play around a bit and probably I'll replace beetbox with drupalvm.
My current software version is:
Vagrant 1.9.3
VirtualBox 5.0.32_Ubuntur112930
ansible <IP_ADDRESS>
config file = /etc/ansible/ansible.cfg
configured module search path = Default w/o overrides

@mapasteper would highly recommend using vbox 5.1.x as you're more than likely going to run into other issues.

@thom8 I'll remove viratualbox and install version 5.1 from deb package.

Also try to keep vbox up to date as they're usually just bug fix releases.

You can always just add the virtualbox repo and continue to use apt
https://www.virtualbox.org/wiki/Linux_Downloads
see Debian-based Linux distributions

@thom8 I did that, I added the virtualbox to my repo, but I got different errors, I couldn't install it properly.

@thom8 I upgraded virtualbox to 5.1 from a deb package and everything is running very well.
I'm intalled this one http://download.virtualbox.org/virtualbox/5.1.18/virtualbox-5.1_5.1.18-114002~Ubuntu~wily_amd64.deb
Thanks

There might not be much difference but if you're using 16.04 (Xenial) this is probably the best one -- http://download.virtualbox.org/virtualbox/5.1.18/virtualbox-5.1_5.1.18-114002~Ubuntu~xenial_amd64.deb

@thom8 yeah, that's what I got. Sorry, mistake copying the link on my last post. I just fixed it


Add issue template

An issue template can give the issue reporter a framework and not lose on the information that needs to be reported.

Created "Bug report" and "feature request" issue templates.


Feature request: Layout row wrap

Hi, this is excellent software. Thank you.
Would you be open to considering an option to allow rows on the layout for the app list to wrap below each other instead of a separate scroll window?

This would be a nice feature, but it would require a significant refactoring of the layout calculations, and the gamepad controls as well. I will consider it for a future release.

I too would look forward to this!

Extra rows (2 or maybe 3 total rows depending on icon size) that can stay constrained to one page, with additional icons/apps still appearing when moving right/left would be an outstanding addition.
Awesome app. I spent days looking a few weeks back, and then just as I was about to give up I stumbled across mention of Flex Launcher on the htpc subreddit. I haven't stopped monkeying with it since!


Wayland fixes for Minecraft

Wayland fixes that make Minecraft work smoothly
on top of #1693 and #1711

@ninja- When I compile glfw using your wayland_fixes branch, Minecraft throws this error:
java.lang.UnsatisfiedLinkError: Failed to dynamically load library: /usr/local/lib/libglfw.so(error = null)

When I compile it with the master branch, it doesn't throw this error (but then there seem to be several issues with transparency)

@jadahl let's have some discussing on merging this, let's not waste the work done here :D!

@skerit injecting patched versions into minecraft launcher is a bit of a pain at the moment, I wish we had some easier way btw >.>

@skerit ldd /usr/local/lib/libglfw.so would show you all missing libraries btw. :)

MultiMC Launcher allows you to use system versions instead of the bundled versions.
On 1 Oct 2020, 13:21, at 13:21, ninja<EMAIL_ADDRESS>wrote:

@skerit injecting patched versions into minecraft launcher is a bit of
a pain at the moment, I wish we had some easier way btw >.>
--
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/glfw/glfw/pull/1725#issuecomment-702096821

@ChrisLane I was using MultiMC to set the custom glfw library via the java arguments config, indeed :)
@ninja- Once I installed libdecoration it worked fine! Well, the actual decoration is still blurry for some reason (I use non-integer scaling), but the game looked great and I actually had a decent FPS for once :)
Related, but a bit off-topic: Unfortunately I'm unable to actually screencast the application in OBS. Using obs-xdg-portal I'm able to select the Minecraft window, and up until then it actually does work and I'm able to record it, but as soon as I move my cursor over the Minecraft window Gnome-shell crashes 🤷 I have no idea if that's an issue with glfw, with the xdg screencast implementation or with gnome-shell/mutter...

the actual decoration is still blurry for some reason

That should eventually be fixed by https://gitlab.gnome.org/jadahl/libdecoration/-/merge_requests/24.

as soon as I move my cursor over the Minecraft window Gnome-shell crashes

Could you open a bug report on https://gitlab.gnome.org/GNOME/mutter/issues/new for that?

but the game looked great and I actually had a decent FPS for once :)

does Xwayland really kill your FPS that much? I haven't seen that big of a difference, but vsync is probably better.

Related, but a bit off-topic: Unfortunately I'm unable to actually screencast the application in OBS. Using obs-xdg-portal I'm able to select the Minecraft window, and up until then it actually does work and I'm able to record it, but as soon as I move my cursor over the Minecraft window Gnome-shell crashes shrug I have no idea if that's an issue with glfw, with the xdg screencast implementation or with gnome-shell/mutter... Let it be a warning to anyone passing through here :)

Are you on Fedora? I can't play with it on Ubuntu because Ubuntu is still shipping gnome shell without pipewire :((

Will it draw native to system decorations? In KDE i can disable decorations per window, will this work with libdecoration?

AFAIK no, there might be some work going with this in libdecoration but I wouldn't count on that. Non native window borders are small price to pay for wayland support :D

What's wrong with using xdg-decoration protocol? Decorations will work without any 3rd party dependency.
Afaik all major display servers implement it properly.

@christianrauch

@ninja- I'm on Manjaro. It does affect the FPS quite a bit, I'm just guessing that's due to the fractional scaling + screen capturing + BSL shaders. But I also have a Radeon 5700 XT card, which should give me more then 15 frames a second (which is what I get at the worst times)
@jadahl  I created an issue here, with a system log output: https://gitlab.gnome.org/GNOME/mutter/-/issues/1446

@XakepSDK Let's not get into a discussion about server-side vs. client-side decorations. It has torn apart the Linux-Desktop community large enough. Unless someone finds a solution to implement atomic client updates when the subsurfaces come from different asynchronous entities, there will always be compositors that expect client-side decorations to allow atomic updates and prevent mixed states.

Will it draw native to system decorations?

There are no "native" decorations on Wayland or X11 either. "Someone" has to draw them. libdecoration supports both modes:

If your compositor supports the xdg-decoration protocol (e.g. Kwin, sway), libdecoration will negotiate with the compositor which mode to use (e.g. it is using server-side decorations on KWin by default). However, even with xdg-decoration support, the compositor might choose to have the client draw the decorations.
If your compositor does not support the xdg-decoration protocol (e.g. mutter, Mir, weston), or supports it but does not support the server-side mode, the client has to draw the decorations.

And this implementation will be no go for all tiling wayland display servers.

There is nothing that prevents the use of libdecoration in tiling compositors (that include a window manager). The compositor just has to support the the xdg-decoration protocol, similar to as a X11 tiling window manager has to support all X11 protocols.
You can easily test this functionality with sway when toggling the decoration modes as sway supports both decoration modes.

In KDE i can disable decorations per window, will this work with libdecoration?

If you do not want decorations at all, you can just unset the environment variable LIBDECOR_PLUGIN_DIR so that libdecoration will fallback to no decorations.

Will be libdecoration shipped with glfw?

Right now, it is included as a third-party project that will be checked out from the upstream (https://gitlab.gnome.org/jadahl/libdecoration) when built. Alternatively, you have to integrate the source tree into GLFW. This will be the case until libdecoration has been packaged and released to all relevant distribution repos.

I'm on Manjaro. It does affect the FPS quite a bit, I'm just guessing that's due to the fractional scaling + screen capturing + BSL shaders. But I also have a Radeon 5700 XT card, which should give me more then 15 frames a second (which is what I get at the worst times)

That's the same card I am using, but I gave up on playing with shaders due to several mesa bugs breaking graphics - even with latest opengl features forced with that magical mesa env...

@XakepSDK

What's wrong with using xdg-decoration protocol? Decorations will work without any 3rd party dependency.

Main problem is that this protocol is not mandatory but optional. You can't expect all existing compositors to have it or force any to implement it. Some solution for them is needed and I hope libdecoration will provide such solution. I played with it and it looks very promising. With additional plugins (like proposed GTK plugin) it should also integrate nicely with desktop. But for now even basic decorations are way better than nothing.

Can confirm this helped me quite a bit.

Does this work with the latest stable versions of LWJGL and Minecraft (3.2.3 and 1.16.3 respectively)? 🤔

yep

I frequently get a segmentation fault when trying to run Minecraft 1.16.3 with this (with the same address for GLFW and sometimes radeonsi_dri)
I can get into the loading screen and even the main menu screen, but that requires me to mess around with the window settings and clicking on the window fast with my mouse
I'm using Minecraft 1.16.3 with LWJGL 3.2.3 (I removed the lwjgl-glfw-natives-linux.jar file from the JSON of LWJGL), various versions of GLFW (I tried one with the current commit reverted and the one in early July), GNOME 3.38.1, Mesa 20.2.1, both the latest version of libdecoration and the one before and Arch Linux
Here's the Java crash log: https://del.dog/moocughifu.txt
Update: I opened Minecraft today and it worked without any crashes (which is strange)

I'm currently using sway on Arch Linux and consistently get these errors almost immediately after launching:
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_VALUE in glTexImage2D(width, height or depth < 0)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_VALUE in glTexImage2D(width, height or depth < 0)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_VALUE in glTexImage2D(invalid width=822494446 or height=1991179616 or depth=1)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_VALUE in glTexImage2D(invalid width=822494446 or height=1991179616 or depth=1)
[18:57:55] [Render thread/FATAL]: Unreported exception thrown!
java.lang.RuntimeException: GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT
	at ded.b(SourceFile:172) ~[minecraft-1.16.3-client.jar:?]
	at ded.b(SourceFile:149) ~[minecraft-1.16.3-client.jar:?]
	at ded.d(SourceFile:65) ~[minecraft-1.16.3-client.jar:?]
	at ded.a(SourceFile:54) ~[minecraft-1.16.3-client.jar:?]
	at djw.a(SourceFile:1130) ~[minecraft-1.16.3-client.jar:?]
	at dew.b(SourceFile:268) ~[minecraft-1.16.3-client.jar:?]
	at org.lwjgl.glfw.GLFWFramebufferSizeCallbackI.callback(GLFWFramebufferSizeCallbackI.java:37) ~[lwjgl-glfw-3.2.2.jar:build 10]
	at org.lwjgl.system.JNI.invokeV(Native Method) ~[lwjgl-3.2.2.jar:build 10]
	at org.lwjgl.glfw.GLFW.glfwPollEvents(GLFW.java:3101) ~[lwjgl-glfw-3.2.2.jar:build 10]
	at com.mojang.blaze3d.systems.RenderSystem.flipFrame(SourceFile:102) ~[minecraft-1.16.3-client.jar:?]
	at dew.e(SourceFile:308) ~[minecraft-1.16.3-client.jar:?]
	at djw.e(SourceFile:1043) ~[minecraft-1.16.3-client.jar:?]
	at djw.e(SourceFile:656) [minecraft-1.16.3-client.jar:?]
	at net.minecraft.client.main.Main.main(SourceFile:215) [minecraft-1.16.3-client.jar:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method) ~[?:?]
	at jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) ~[?:?]
	at jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) ~[?:?]
	at java.lang.reflect.Method.invoke(Method.java:564) ~[?:?]
	at org.multimc.onesix.OneSixLauncher.launchWithMainClass(OneSixLauncher.java:196) [NewLaunch.jar:?]
	at org.multimc.onesix.OneSixLauncher.launch(OneSixLauncher.java:231) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.listen(EntryPoint.java:143) [NewLaunch.jar:?]
	at org.multimc.EntryPoint.main(EntryPoint.java:34) [NewLaunch.jar:?]
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glClear(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)
[18:57:55] [Render thread/INFO]: OpenGL debug message, id=1, source=API, type=ERROR, severity=HIGH, message=GL_INVALID_FRAMEBUFFER_OPERATION in glDrawArrays(incomplete framebuffer)

I don't know enough about how minecraft and lwjgl work to know where these values for width and height are coming from. They seem to almost be random 32-bit signed integers but they sometimes stay the same between launches.
Sometimes, though, minecraft will launch without any problems. I used to think it was caused by me switching it to a floating window in sway right before it normally crashes, but that rarely works anymore and sometimes it launches without any intervention.
If anyone has any insight into what might be causing this error, please let me know.
Full multimc log

yes this may be a compositor issue. can you try reproducing with gnome shell? and weston isn't currently supported

@ninja- I already reproduced the issue with GNOME
But the weird thing is it went away the next day without me touching anything

Still works fine in Gnome 3.38 and capturing the window using obs-xdg-portal no longer crashes Gnome, so I guess that was a gnome/mutter specific issue. Yay!

@ninja- were you replying to me? If so, I haven't tried it on gnome, but I assume my issue would go away since others have reported it working on gnome. I would like to get this working on sway, if possible. I just don't know exactly where the issue originates from.

@jacksondm33 It works on sway
But recent updates to libdecoration made Minecraft very unstable (commit bc558745 is the last one that works properly)

@TheComputerGuy96 okay, I'll try downgrading libdecoration. I misread your earlier comment and didn't realize you were able to reproduce the same error on GNOME.

Here are the current issues when running Minecraft with this:

Key repeat isn't working for some reason
Labels for keyboard buttons are weird in the controls menu
The cursor position when opening a chest/furnace isn't in the center anymore

@ninja- Can you fix the merge conflict?

@ninja- You accidentally removed libdecoration

What's left on this PR for this to be merged? I would be keen to get fixes merged so that I don't have to do it myself downstream.

What's left on this PR for this to be merged? I would be keen to get fixes merged so that I don't have to do it myself downstream.

project owners don't seem interested in merge

project owners don't seem interested in merge

What's left to be done on this PR for this to be merged?

@ChrisLane One thing that should be done is to merge the client-side decoration support in https://github.com/glfw/glfw/pull/1693 first.

What's left to be done on this PR for this to be merged?

@ChrisLane One thing that should be done is to merge the client-side decoration support in https://github.com/glfw/glfw/pull/1693 first.

@ninja- could you update your branch please? I'm unable to apply your patch

@ChrisLane I kind of gave up on maintaing this due to no upstream interest in merge...I think @christianchurch took my fixes into his branch and is continuing work on client side decorations?

it would be nice to have this merged

Anything new con concerning this PR ?

Thank you everyone for you patience. The last major portion of this work (apart from the Clang specific flags) now has a PR waiting review over at #2285. It's a bit different in that it uses run-time loading of libdecor where available instead of making libdecor part of GLFW.
If you need support for directly linking your own copy of libdecor, statically or dynamically, please let me know. It can be done just as easily after the PR has been merged, though, so there's no deadline.
Most of the other issues have should be fixes now, for example the framebuffer transparency issue should hopefully have been resolved by ef6c9d8b4f957c2a53374558e393bdb5c4264fa5.

Let’s go!!

Initial support for libdecor has been merged and will be included in GLFW 3.4. Looking into whether it can be included in 3.3.9 as well, but no promises.

@elmindreda Minecraft still requires some changes in order to not crash (I have some changes on my local repo that aren't libdecor and are required)

@TheComputerGuy96 Where can I find these changes?

@elmindreda I'll try to publish (and maybe PR) them soon 🐸 (I'm currently focusing on NVK)

@TheComputerGuy96 would you mind publishing them somewhere so I can take a look? I'd like to see if I can get things working.

@orowith2os you can use my fork and let's see if it's much better in your case. https://github.com/BoyOrigin/glfw-wayland

If that can help, the vulkanmod is working on a native Wayland compatibility. 😁


feat(deps): update icr.io/ext/sysdig/agent docker tag to v13.1.0

This PR contains the following updates:

Package
Update
Change

icr.io/ext/sysdig/agent
minor
13.0.4 -> 13.1.0

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline

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


Expose debug-mode stuff from native Android lib, once working, in this lib

I've been in touch with David from Branch about how to simulate installs over and over again on Android, the way they do with IOS using the debug-flag trick.
According to David, the Android native lib approaches are the following, though bugs are currently being fixed and these don't work as of today:

https://dev.branch.io/getting-started/integration-testing/guide/android/#use-debug-mode-to-simulate-fresh-installs
enableSimulateInstalls() (In your Application class, beforethe getAutoInstance call, add: Branch.enableSimulateInstalls();)

I'm creating this issue to track the future work of exposing the Android part when the native libs are updated. Wanted an issue to subscribe to in order to make sure I know when this is in-progress / done. I'm not exactly sure how things get communicated between the native SDK maintainers and the maintainers of this lib.

Hi @GeoffreyPlitt. Thanks for opening this issue. Unfortunately, a lot of this cannot be included directly in this module without a pretty large change. The problem is that the native layers are initialized long before the JavaScript loads, and the calls you refer to have to be made before the native layers initialize the Branch SDK, as you indicated. This is true for both iOS and Android.
However, there are numerous reasons that changing that might be a good idea. For example, there's also a request to set the Branch key(s) and other configuration from JS, which also has to be done before the native SDK is initialized.
There will at least be a performance impact. At the moment, the Branch SDK initialization, including a call to the API, occurs in parallel with loading the JS. Changing it will add some time to opening any initial link (when an app is launched from a link). This may also mean significant API changes (beyond just adding the required new methods).
I doubt this will make it into the production 2.0.0 release, but hopefully we can do something about it after that.
For now, of course, you can just make those modifications in the native code in your own app.

Gotcha, thanks!

Update: David just mentioned to me " I see that the fix for enableSimulateInstalls went live in the native Android repository this morning."
I do see what you mean about the complexity of exposing these settings in RN-land, how timing is affected by waiting until JS executes, and all of that.
But purely from a packaging perspective, if you can just update the native lib version so it's pulled in when I pull the RN lib, that would help, right? Is this ticket appropriate for that?

Sure. I always update the native SDKs before a release. There will be another one soon, probably tomorrow.

This is now supported using an optional branch.json file. See https://rnbranch.app.link/branch-json for details. The problem with initialization order will not be solved soon. The contents of branch.json will expand in future releases and eventually make that a moot point.


Orphaned IAM role assignments can't be filtered by "Unknown" ObjectType

I am using powershell 7.2, and I am unable to filter the orphaned IAM role assignments by filtering by "Unknown" ObjectType. In fact, while debugging, if I inspect the data I am fetching, I am able to see the following:

As you can see, the ObjectType of an orphaned role assignment is not "Unknown". Instead, the way I was able to filter these, was by a null DisplayName
Did something change? What is your advice when using powershell to delete orphaned IAM role assignments?

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

ID: 8b3ea2e8-963b-cc01-3d5c-4fecd6a3cec1
Version Independent ID: 198149eb-9b33-ec3f-527f-ae64fb96d65c
Content: Troubleshoot Azure RBAC
Content Source: articles/role-based-access-control/troubleshooting.md
Service: role-based-access-control
GitHub Login: @rolyon
Microsoft Alias: rolyon

@binte Thank you for your feedback . We will investigate and update the thread.

Hi @binte
Thanks for taking the time to provide feedback. To check for role assignments with identities that possibly cannot be found in PowerShell, you can look for DisplayName and SignInName that are null. We made an update to the doc and let the team know about this behavior.
Let us know if you have any additional feedback.
thanks

#please-close


[ENH] Intensity harmonization in the anatomical workflow

Closes #489

We will be able to check on this further when #475 is addressed.


[Material] Allow Drawer width to be customized

Use case
Being able to customize the width of the Material drawer widget. We're building a responsive app and find that we need to increase/decrease drawer width based on screen size.
Proposal
Drawer already has a width field internally, it's just always set to a constant value (_kWidth). The proposed change is just adding the width field to the constructor and having it default to _kWidth, so this would be a backwards compatible change.

This appears to be a duplicate of https://github.com/flutter/flutter/issues/19724.
An alternative is to wrap the Drawer with a SizedBox and specify the width that way.
Thanks for the PR, I think it might be best if it references https://github.com/flutter/flutter/issues/19724.
Closing from here as duplicate.
Thank you


ci: prevent CD from working on non-main branches

oh, nvm. I now see it has seperate CD step that's conditioned to run on main only


Updating drawer title or the first scene it displays via props

Version
Tell us which versions you are using:
4.0.5

react 16.3.1
react-native 0.57.4

Hello, I am new to react-native-router-flux and react-native as well. I would like to know how can I change the title of my drawer (which holds as the first scene an album list with a default title):

When I am in the Genre component, I select a genre and takes me back to the AlbumList component. Now, when I do that I would like to update the title of the drawer or the AlbumList component. I tried "Actions.refresh({ title: genre })" in the ComponentDidmount function on both the AlbumList  component and the Menu Component which is the drawer passing a prop with the mapStateToProps on both.

I realize that this only works if the Actions.refresh is whithin some other function that is called when I press a button for instance in the same component.

I don't know what is the right approach. I would appreciate any help. Thank you!

I believe the problem comes to nesting scenes wrapped in a drawer. So if I wanted to update the title of the album list from my genre component, I can't do that because even when calling Actions.albumList({ title: this.props.genre }) It won't make any effect. But when I go from my genre Scene to my profile scene and call Actions.profile({ title: this.props.genre }), then I am able to update the title of the navbar.


notifies from within rvm_shell doesn't trigger

Hi,
I am trying to use notifies from within rvm_shell but having trouble.
For example:
ruby_block "a block" do
block do
Chef::Log.info("my block ran")
end
action :nothing

end
rvm_shell "a command" do
code "echo foobar"
notifies :create, "ruby_block[a block]", :immediately
end
results in the output:
[Thu, 26 Jan 2012 00:49:14 -0800] INFO: Starting Chef Run (Version 0.9.12)
[Thu, 26 Jan 2012 00:50:07 -0800] INFO: Ran script[a command] successfully
[Thu, 26 Jan 2012 00:50:08 -0800] INFO: Chef Run complete in 14.732362 seconds
[Thu, 26 Jan 2012 00:50:08 -0800] INFO: cleaning the checksum cache
[Thu, 26 Jan 2012 00:50:09 -0800] INFO: Running report handlers
[Thu, 26 Jan 2012 00:50:09 -0800] INFO: Report handlers complete

Closing due to inactivity.
If this is still an issue please reopen or open another issue. Alternatively drop by the #sous-chefs channel on the Chef Community Slack and we'll be happy to help!
Thanks,
Sous-Chefs


MSLA Under Review Duration

What product(s) do you have a question about?
MSLA Application
What is your question?
Hello!!
I have applied to the MSLA program in July, currently my application is under review. Two weeks has passed and I was wondering how much does the review duration usually is?
I'm just too excited to start my journey if I got accepted!
I would love to hear from your experience as a MSLA too!
Thank you!
Additional context
No response
What is your current role?
Student
What technical topic is this question related to?
Other

Hi @MarilynHb!
Thank you for your enthusiasm about the MLSA program! It's great to see your excitement. The review duration for MLSA applications can vary depending on the volume of applications and the specific timeline of the admissions process. Typically, it takes some time to carefully review all applications to ensure a fair and thorough evaluation.

Hi @MarilynHb!
Thank you for your enthusiasm about the MLSA program! It's great to see your excitement. The review duration for MLSA applications can vary depending on the volume of applications and the specific timeline of the admissions process. Typically, it takes some time to carefully review all applications to ensure a fair and thorough evaluation.

Every applicant's experience may vary, so it's difficult to provide an exact timeline. However, rest assured that the admissions team is working diligently to process applications and will notify you as soon as a decision is reached.

I have also applied for MLSA in may and its almost end of july but my application is still under review , I don't know why this is happening. As they have review cycle in july and then after july it will be reviewed in october.


NIFI-10517 Update Flyway-Core to 8.5.13

Summary
NIFI-10517 Update Flyway-Core to 8.5.13 from 8.4.2 to remediate the following CVEs: CVE-2022-26520 and CVE-2022-21724
Tracking
Please complete the following tracking steps prior to pull request creation.
Issue Tracking

[X] Apache NiFi Jira issue created

Pull Request Tracking

[X] Pull Request title starts with Apache NiFi Jira issue number, such as NIFI-00000
[X] Pull Request commit message starts with Apache NiFi Jira issue number, as such NIFI-00000

Pull Request Formatting

[X] Pull Request based on current revision of the main branch
[X] Pull Request refers to a feature branch with one commit containing changes

Verification
Please indicate the verification steps performed prior to pull request creation.
Build

[ ] Build completed using mvn clean install -P contrib-check

[X] JDK 8
[X] JDK 11
[X] JDK 17

Licensing

[ ] New dependencies are compatible with the Apache License 2.0 according to the License Policy
[ ] New dependencies are documented in applicable LICENSE and NOTICE files

Documentation

[ ] Documentation formatting appears as expected in rendered files

This worked when these checks ran  against the local branch

This worked when these checks ran against the local branch

Rebasing against the current main branch should address the Static Analysis build problem.


Bump node version to current LTS version

Node.js v12 GitHub Actions are now deprecated and will soon stop working. This PR will bump the node version to the current LTS version of Node.js (i.e. 16) to address these deprecation warnings.

Tested on a sample PR, https://github.com/rewindio/galactus/actions/runs/3339338512 and it ran successfully with no more deprecation warnings.


DOC: Altered CLI option grouping

Back when I commenced some work on #2207 (from which I'll need to familiarise myself with #2913), I started by looking at the CLI and thinking about what the right interface would be for such a capability (see eg. #2805, #2806). I immediately found some command-line options that really felt as though they were in the wrong place. So here I've separated out the set of CLI changes that I'd generated in the course of that little experiment.
The git diff is quite unclean, so I've produced the set of options that would be moved and their corresponding old and new option groups.

Option
Old option group
New option group

--anat-only
Options to handle performance
Options for performing only a subset of the workflow

--boilerplate-only
Options to handle performance
Options for performing only a subset of the workflow

--md-only-boilerplate
Options to handle performance
Options for modulating outputs

--cifti-output
Surface preprocessing options
Workflow configuration

--error-on-aroma-warnings
Options to handle performance
Specific options for running ICA_AROMA

--verbose
Options to handle performance
Other options

--me-output-echos
Workflow configuration
Options for modulating outputs

--medial-surface-nan
Workflow configuration
Options for modulating outputs

--no-submm-recon
Surface preprocessing options
Specific options for FreeSurfer processing

--output-layout
Other options
Options for modulating outputs

--sloppy
Other options
Options to handle performance

--track-carbon
Other options
Options for carbon tracking

--country-code
Other options
Options for carbon tracking

New option groups:

"Options for performing only a subset of the workflow"
"Options for modulating outputs"
"Options for carbon tracking"

Deleted option groups:

"Surface preprocessing options"

In particular, "Options for performing only a subset of the workflow" is what I was looking for in the context of #2207, where I had initially added command-line options "--fmri_withhold" and "--fmri_regenerate" (the naming of such options should perhaps be discussed in #2913).
Open to modification of proposed changes, or indeed addition of other changes (since this would be a good opportunity to review placement of the complete set of command-line options). For instance I'm currently looking at [ --output-spaces, --cifti-output, --me-output-echos ] as a candidate option group.

Good catches @mgxd; should all be resolved.


[Bug]: After vernemq starts the cluster, the cpu and memory usage is abnormal

Environment

VerneMQ Version: 1.12.4
OS: Alibaba Cloud Linux 3 (Soaring Falcon)
Erlang/OTP version (if building from source):
Cluster size/standalone: 3 nodes

In the process of verifying the vernemq cluster, we found that even if there is no client connection, the CPU and memory usage of the vernemq is still high.

Current Behavior
The CPU and memory usage of vernemq is very high. Looking at the logs, it seems that what data is being synchronized, but we cannot judge what data is being synchronized.
Expected behaviour
The CPU and memory of vernemq should not be so high when no clients are connected to vernemq.
Configuration, logs, error output, etc.
Configuration：

accept_eula = yes
allow_anonymous = off
allow_register_during_netsplit = on
allow_publish_during_netsplit = on
allow_subscribe_during_netsplit = on
allow_unsubscribe_during_netsplit = on
allow_multiple_sessions = off
coordinate_registrations = on
max_inflight_messages = 20
max_online_messages = 1000
max_offline_messages = 1000
max_message_size = 0
upgrade_outgoing_qos = off
listener.max_connections = 10000
listener.nr_of_acceptors = 10
listener.tcp.default = <IP_ADDRESS>:1883
listener.vmq.clustering = <IP_ADDRESS>:44053
listener.http.default = <IP_ADDRESS>:8888
systree_enabled = on
systree_interval = 20000
graphite_enabled = off
graphite_host = localhost
graphite_port = 2003
graphite_interval = 20000
shared_subscription_policy = prefer_local
plugins.vmq_passwd = on
plugins.vmq_acl = off
plugins.vmq_diversity = on
plugins.vmq_webhooks = off
plugins.vmq_bridge = off
topic_max_depth = 20
metadata_plugin = vmq_swc
vmq_acl.acl_file = /etc/vernemq/vmq.acl
vmq_acl.acl_reload_interval = 10
vmq_passwd.password_file = /etc/vernemq/vmq.passwd
vmq_passwd.password_reload_interval = 10
vmq_diversity.script_dir = /usr/share/vernemq/lua
vmq_diversity.auth_postgres.enabled = off
vmq_diversity.postgres.ssl = off
vmq_diversity.postgres.password_hash_method = crypt
vmq_diversity.auth_cockroachdb.enabled = off
vmq_diversity.cockroachdb.ssl = on
vmq_diversity.cockroachdb.password_hash_method = bcrypt
vmq_diversity.auth_mysql.enabled = off
vmq_diversity.mysql.password_hash_method = password
vmq_diversity.auth_mongodb.enabled = off
vmq_diversity.mongodb.ssl = off
vmq_diversity.auth_redis.enabled = on
vmq_diversity.redis.host = xxxxxx
vmq_diversity.redis.port = 6379
vmq_diversity.redis.password = xxxxxx
vmq_diversity.redis.database = 0
retry_interval = 60
vmq_bcrypt.pool_size = 1
vmq_bcrypt.nif_pool_size = 4
vmq_bcrypt.nif_pool_max_overflow = 10
vmq_bcrypt.default_log_rounds = 12
vmq_bcrypt.mechanism = port
log.console = file
log.console.level = info
log.console.file = /var/log/vernemq/console.log
log.error.file = /var/log/vernemq/error.log
log.syslog = off
log.crash = on
log.crash.file = /var/log/vernemq/crash.log
log.crash.maximum_message_size = 64KB
log.crash.size = 10MB
log.crash.rotation = $D0
log.crash.rotation.keep = 5
nodename =<EMAIL_ADDRESS>distributed_cookie = vmq
erlang.async_threads = 64
erlang.max_ports = 262144
leveldb.maximum_memory.percent = 70
include conf.d/*.conf

Console:
2023-04-25 00:04:33.309 [info] <0.17900.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta8: AE exchange with<EMAIL_ADDRESS>synced 77 objects
2023-04-25 00:04:37.184 [info] <0.19843.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta3: AE exchange with<EMAIL_ADDRESS>synced 68 objects
2023-04-25 00:04:38.813 [info] <0.17315.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta4: AE exchange with<EMAIL_ADDRESS>synced 155 objects
2023-04-25 00:04:48.484 [info] <0.23052.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta10: AE exchange with<EMAIL_ADDRESS>synced 119 objects
2023-04-25 00:04:48.491 [info] <0.24431.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta2: AE exchange with<EMAIL_ADDRESS>synced 51 objects
2023-04-25 00:04:50.110 [info] <0.23731.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta5: AE exchange with<EMAIL_ADDRESS>synced 127 objects
2023-04-25 00:04:50.368 [info] <0.24462.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta3: AE exchange with<EMAIL_ADDRESS>synced 422 objects
2023-04-25 00:04:50.427 [info] <0.23544.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta9: AE exchange with<EMAIL_ADDRESS>synced 163 objects
2023-04-25 00:04:50.442 [info] <0.19110.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta8: AE exchange with<EMAIL_ADDRESS>synced 142 objects
2023-04-25 00:04:50.805 [info] <0.24433.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta6: AE exchange with<EMAIL_ADDRESS>synced 134 objects
2023-04-25 00:04:50.954 [info] <0.24411.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta4: AE exchange with<EMAIL_ADDRESS>synced 63 objects
2023-04-25 00:04:50.958 [info] <0.24363.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta7: AE exchange with<EMAIL_ADDRESS>synced 72 objects
2023-04-25 00:04:59.636 [info] <0.25652.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta10: AE exchange with<EMAIL_ADDRESS>synced 119 objects
2023-04-25 00:05:03.661 [info] <0.24500.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta1: AE exchange with<EMAIL_ADDRESS>synced 61 objects
2023-04-25 00:05:05.030 [info] <0.26230.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta8: AE exchange with<EMAIL_ADDRESS>synced 77 objects
2023-04-25 00:05:05.080 [info] <0.27193.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta2: AE exchange with<EMAIL_ADDRESS>synced 402 objects
2023-04-25 00:05:05.193 [info] <0.27246.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta5: AE exchange with<EMAIL_ADDRESS>synced 127 objects
2023-04-25 00:05:05.621 [info] <0.26599.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta9: AE exchange with<EMAIL_ADDRESS>synced 163 objects
2023-04-25 00:05:06.209 [info] <0.27603.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta4: AE exchange with<EMAIL_ADDRESS>synced 63 objects
2023-04-25 00:05:06.229 [info] <0.27305.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta7: AE exchange with<EMAIL_ADDRESS>synced 72 objects
2023-04-25 00:05:10.841 [info] <0.27330.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta6: AE exchange with<EMAIL_ADDRESS>synced 134 objects
2023-04-25 00:05:11.294 [info] <0.27640.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta3: AE exchange with<EMAIL_ADDRESS>synced 68 objects
2023-04-25 00:05:11.481 [info] <0.29367.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta9: AE exchange with<EMAIL_ADDRESS>synced 68 objects
2023-04-25 00:05:18.128 [info] <0.30776.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta6: AE exchange with<EMAIL_ADDRESS>synced 85 objects
2023-04-25 00:05:18.229 [info] <0.29267.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta10: AE exchange with<EMAIL_ADDRESS>synced 119 objects
2023-04-25 00:05:19.835 [info] <0.29066.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta8: AE exchange with<EMAIL_ADDRESS>synced 77 objects
2023-04-25 00:05:20.402 [info] <0.30419.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta2: AE exchange with<EMAIL_ADDRESS>synced 51 objects
2023-04-25 00:05:21.043 [info] <0.29530.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta5: AE exchange with<EMAIL_ADDRESS>synced 127 objects
2023-04-25 00:05:21.576 [info] <0.30801.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta3: AE exchange with<EMAIL_ADDRESS>synced 422 objects
2023-04-25 00:05:22.176 [info] <0.30398.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta7: AE exchange with<EMAIL_ADDRESS>synced 149 objects
2023-04-25 00:05:23.510 [info] <0.28819.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta4: AE exchange with<EMAIL_ADDRESS>synced 63 objects
2023-04-25 00:05:27.217 [info] <0.3148.1088>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta9: AE exchange with<EMAIL_ADDRESS>synced 68 objects

Error:
2023-04-21 02:03:48.123 [error] <0.268.0> Supervisor vmq_swc_exchange_sup_meta3 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.24745.582> exit with reason {{nodedown,'VerneMQ02@<IP_ADDRESS>'},{gen_server,call,[{vmq_swc_edist_meta3,'VerneMQ02@<IP_ADDRESS>'},{apply,vmq_swc_store,rpc_node_clock,[]},infinity]}} in context child_terminated
2023-04-21 02:03:48.123 [error] <0.346.0> Supervisor vmq_swc_exchange_sup_meta8 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.25338.582> exit with reason {{nodedown,'VerneMQ02@<IP_ADDRESS>'},{gen_server,call,[{vmq_swc_edist_meta8,'VerneMQ02@<IP_ADDRESS>'},{apply,vmq_swc_store,rpc_node_clock,[]},infinity]}} in context child_terminated
2023-04-21 02:03:48.123 [error] <0.243.0> Supervisor vmq_swc_exchange_sup_meta1 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.23505.582> exit with reason {{nodedown,'VerneMQ02@<IP_ADDRESS>'},{gen_server,call,[{vmq_swc_edist_meta1,'VerneMQ02@<IP_ADDRESS>'},{apply,vmq_swc_store,rpc_sync_missing,['VerneMQ01@<IP_ADDRESS>',[{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},218063},{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},218062},{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},218061},{{...},...},...]]},...]}} in context child_terminated
2023-04-21 02:03:48.123 [error] <0.305.0> Supervisor vmq_swc_exchange_sup_meta6 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.25004.582> exit with reason {{nodedown,'VerneMQ02@<IP_ADDRESS>'},{gen_server,call,[{vmq_swc_edist_meta6,'VerneMQ02@<IP_ADDRESS>'},{apply,vmq_swc_store,rpc_node_clock,[]},infinity]}} in context child_terminated
2023-04-21 02:03:48.124 [error] <0.368.0> Supervisor vmq_swc_exchange_sup_meta9 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.23687.582> exit with reason {{nodedown,'VerneMQ02@<IP_ADDRESS>'},{gen_server,call,[{vmq_swc_edist_meta9,'VerneMQ02@<IP_ADDRESS>'},{apply,vmq_swc_store,rpc_sync_missing,['VerneMQ01@<IP_ADDRESS>',[{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},185623},{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},185622},{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},185621},{{...},...},...]]},...]}} in context child_terminated
2023-04-21 02:03:48.124 [error] <0.253.0> Supervisor vmq_swc_exchange_sup_meta2 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.24045.582> exit with reason {{nodedown,'VerneMQ02@<IP_ADDRESS>'},{gen_server,call,[{vmq_swc_edist_meta2,'VerneMQ02@<IP_ADDRESS>'},{apply,vmq_swc_store,rpc_sync_missing,['VerneMQ01@<IP_ADDRESS>',[{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},119967},{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},119966},{{'VerneMQ03@<IP_ADDRESS>',<<164,146,163,148,243,48,192,18,144,11,142,80,165,238,181,39,17,195,98,249>>},119965},{{...},...},...]]},...]}} in context child_terminated
2023-04-21 02:03:48.124 [error] <0.393.0> Supervisor vmq_swc_exchange_sup_meta10 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.24991.582> exit with reason {{nodedown,'VerneMQ02@<IP_ADDRESS>'},{gen_server,call,[{vmq_swc_edist_meta10,'VerneMQ02@<IP_ADDRESS>'},{apply,vmq_swc_store,rpc_node_clock,[]},infinity]}} in context child_terminated
2023-04-21 07:51:39.736 [error] <0.12064.608>@vmq_mqtt_fsm:auth_on_publish:{739,13} can't auth publish [<<"20670539F543">>,{[],<<"ZYZH-YT407CAT-YTWSKJ-1|20670539F543_temp">>},1,[<<>>,<<"s">>,<<"ZYZH-YT407CAT-YTWSKJ-1">>,<<"20670539F543">>,<<"r">>,<<"57">>,<<"rq">>,<<"1111">>],<<"{\"d\":{\"pv\":1,\"ds\":128,\"sn\":\"20670539F543\"}}">>,false] due to not_authorized
2023-04-21 07:57:03.685 [error] <0.23941.608>@vmq_mqtt_fsm:auth_on_publish:{739,13} can't auth publish [<<"20670539F543">>,{[],<<"ZYZH-YT407CAT-YTWSKJ-1|20670539F543_temp">>},1,[<<>>,<<"s">>,<<"ZYZH-YT407CAT-YTWSKJ-1">>,<<"20670539F543">>,<<"r">>,<<"57">>,<<"rq">>,<<"1111">>],<<"{\"d\":{\"pv\":1,\"ds\":128,\"sn\":\"20670539F543\"}}">>,false] due to not_authorized
2023-04-21 09:46:10.518 [error] <0.368.0>@gen_server:call Supervisor vmq_swc_exchange_sup_meta9 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.12695.550> exit with reason no such process or port in call to<EMAIL_ADDRESS>{apply,vmq_swc_store,rpc_node_clock,[]}, infinity) in context child_terminated
2023-04-21 09:46:11.116 [error] <0.393.0>@gen_server:call Supervisor vmq_swc_exchange_sup_meta10 had child<EMAIL_ADDRESS>started with {vmq_swc_exchange_fsm,start_link,undefined} at <0.5150.612> exit with reason no such process or port in call to<EMAIL_ADDRESS>{apply,vmq_swc_store,rpc_sync_missing,['VerneMQ01@<IP_ADDRESS>',[{{'VerneMQ03@<IP_ADDRESS>',<<164,...>>},...},...]]}, infinity) in context child_terminated

### Code of Conduct

- [X] I agree to follow the VerneMQ's Code of Conduct

Can you specify what you mean by "after VerneMQ starts the cluster?"
What you see is an issue that is being investigated ("empty synchronisation" after nodes have left and joined the cluster; reported by multiple use cases).
But you should not see this when VerneMQ initially clusters, or when you just start and stop nodes.
Starting from 3 empty clustered nodes: can you tell me what you actually test to arrive at the behaviour described?

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

I mean, after all the nodes of the vernemq cluster are started, the CPU will soar. When only one node is started, the CPU is normal.
We tested 6,000 clients accessing vernemq and started testing in mid-March.
The CPU of vernemq was normal at first, and it has been running continuously for more than a month now, and this problem began to appear a few days ago.

And we modified redis.lua.
redis.lua:
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance with the License.
-- You may obtain a copy of the License at
--
--     http://www.apache.org/licenses/LICENSE-2.0
--
-- Unless required by applicable law or agreed to in writing, software
-- distributed under the License is distributed on an "AS IS" BASIS,
-- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-- See the License for the specific language governing permissions and
-- limitations under the License.

-- Redis Configuration, read the documentation below to properly
-- provision your database.
require "auth/auth_commons"

local function split(str, reps)
    local resultStrList = {}
    string.gsub(str, '[^'..reps..']+', function (w)
        table.insert(resultStrList, w)
        end
    )
    return resultStrList
end

-- In order to use this Lua plugin you must store a JSON Object containing
-- the following properties as Redis Value:
--
--  - passhash: STRING (bcrypt)
--  - publish_acl: [ACL]  (Array of ACL JSON Objects)
--  - subscribe_acl: [ACL]  (Array of ACL JSON Objects)
--
--  The JSON array passed as publish/subscribe ACL contains the ACL objects topic
--  for this particular user. MQTT wildcards as well as the variable
--  substitution for %m (mountpoint), %c (client_id), %u (username) are allowed
--  inside a pattern.
--
-- The Redis Key is the JSON Array [mountpoint, client_id, username]
--
-- IF YOU USE THE KEY/VALUE SCHEMA PROVIDED ABOVE NOTHING HAS TO BE CHANGED
-- IN THE FOLLOWING SCRIPT.
function auth_on_register(reg)
    if reg.username ~= nil and reg.password ~= nil then
        key = json.encode({reg.mountpoint, reg.client_id, reg.username})
        res = redis.cmd(pool, "get " .. key)
        if res then
            res = json.decode(res)
            if res.passhash == reg.password then
                cache_insert(
                    reg.mountpoint,
                    reg.client_id,
                    reg.username,
                    res.publish_acl,
                    res.subscribe_acl
                    )
                return true
            end
        else
            pdk = split(reg.client_id, "|")
            res1 = redis.cmd(pool, "get secret:product:" .. pdk[1])
            if res1 then
                res1 = json.decode(res1)
                if not res1 or res1.secret ~= reg.password then
                    return false
                end
            end
            publish_acl = {
                {
                    ["pattern"] = "/sys/" .. pdk[1] .. "/" .. reg.username .. "/thing/event/connect"
                },
                {
                    ["pattern"] = "/s/" .. pdk[1] .. "/" .. reg.username .. "/e/c"
                }
            }
            subscribe_acl = {
                {
                    ["pattern"] = "/sys/" .. pdk[1] .. "/" .. reg.username .. "/device/rrpc/connect/response"
                },
                {
                    ["pattern"] = "/s/" .. pdk[1] .. "/" .. reg.username .. "/r/c/rp"
                }
            }
            acl = {
                ["passhash"] = reg.password,
                ["publish_acl"] = publish_acl,
                ["subscribe_acl"] = subscribe_acl
            }
            value = json.encode(acl)
            key = json.encode({reg.mountpoint, reg.client_id, reg.username})
            res2 = redis.cmd(pool, "setex " .. key .. " 300 ".. value)
            if res2 then
                cache_insert(
                    reg.mountpoint,
                    reg.client_id,
                    reg.username,
                    publish_acl,
                    subscribe_acl
                    )
                return true
            end
        end
    end
    return false
end

pool = "auth_redis"
config = {
    pool_id = pool
}

redis.ensure_pool(config)
hooks = {
    auth_on_register = auth_on_register,
    auth_on_publish = auth_on_publish,
    auth_on_subscribe = auth_on_subscribe,
    on_unsubscribe = on_unsubscribe,
    on_client_gone = on_client_gone,
    on_client_offline = on_client_offline,

    auth_on_register_m5 = auth_on_register_m5,
    auth_on_publish_m5 = auth_on_publish_m5,
    auth_on_subscribe_m5 = auth_on_subscribe_m5,
}

Re "a few days ago": did you do anything specific to the cluster then? like make one or multiple nodes leave and rejoin the cluster?
Btw: this is not on Kubernetes, right?

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

Yes, this is not on Kubernetes, this is on three virtual machines.
We did not manually process the cluster, but last Friday because the load on a certain node was too high, the operation system killed the VerneMQ process of this node.
Emphasize some: Before the process is killed, the CPU of VerneMQ is already high.

Wouldn't a process only be killed/OOMed with high RAM, not high CPU?
But yes, this seems related to what you're seeing.
The cluster size shows as 3, though? (vmq-admin cluster show)

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

Ok. I wonder what happened during the VM takedown. Was the disk wiped?
Operationally, now, you probably have to rebuild the cluster to get out of empty sync.
I don't know why you see high CPU before the crash, you might want to look at this separately. But it must somehow be load related. (the input we give to the system).
You could also test vmq_plumtree as your alternative metadata_plugin (and if you don't use randomly generated one-time ClientIDs).

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

This is some status of the disk, memory, and CPU when the process is killed. There are obvious fluctuations in IO, but also not sure what data is being processed.
We didn't wipe any data from the disk.
Thanks for your patience, I will try your suggestion.

potential fix: https://github.com/vernemq/vernemq/pull/2162

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@GoneGo1ng what is your status on this? can you possibly test the 1.13.0 release?

:point_right: Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
:point_right: Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.

@ioolkos  Thx, I will test.

Hi, I can confirm the issue is still happening on version VerneMQ 1.13.0

Closing this issue & a few related ones. The root cause is always that the cluster tries to sync nodes with arbitrary (disjoint) histories. This can happen when a node that is not empty (= has seen MQTT clients or events) tries to join a cluster.
This causes "empty synchronization", with the typical symptom of repeating attempts to sync the same amount of objects (example 127 objects) in the same partition (example: meta5):
2023-04-25 00:05:05.193 [info] <0.27246.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta5: AE exchange with<EMAIL_ADDRESS>synced 127 objects
2023-04-25 00:05:05.193 [info] <0.27246.1087>@vmq_swc_exchange_fsm:teardown:{112,13} Replica meta5: AE exchange with<EMAIL_ADDRESS>synced 127 objects

VerneMQ 2.0 prevents the joining of non-empty nodes through a self-check on the joining node. It is configurable for backwards compatibility (config setting prevent_nonempty_join)

👉 Thank you for supporting VerneMQ: https://github.com/sponsors/vernemq
👉 Using the binary VerneMQ packages commercially (.deb/.rpm/Docker) requires a paid subscription.


Output a comment with unknown attributes

As the jvm must silently ignore any unknown attributes, and having a look at attributes might be relevant, VF showing attributes it doesn't know (in comment form), would be a nice feature to have.
If for example the ClassFile structure has some attribute with name VFDoesntKnowThis, with the data in the info being 20, 30, 40, 155, it should produce something like, possibly even escaping non-printable (or non-ascii) utf8 in the name
// VF: Unknown Attribute: "VFDoesntKnowThis" [20, 30, 40, 255]
// VF: Unknown Attribute: "VFDoesntKnowThisAgain" []
class ThatClass {
  // VF: Unknown Attribute: "VFDoesntKnowThisFieldAttr" [0, 255]
  String foo;

  // VF: Unknown Attribute: "VFDoesntKnowThisMethodAttr" []
  void bar() {
    // VF: Unknown Attribute: "VFDoesntKnowThisCodeAttr" [23, 233]
    System.out.println("Hello world!");
  }
}

Something similar should happen for an attribute on a field_info and on a method_info, and for a Code_attribute, it should be in the first line of the method.

The JVM must silently ignore them, so why shouldn't VF ignore them as well? Sure it might be interesting to see them, but javap can already do that, so I don't really see much value in VF outputting a list of numbers.


QCAlgorithm.WarmUpIndicator

Expected Behavior

Using WarmUpIndicator shouldn't leave residual subscribed consolidators

Actual Behavior

Calling WarmUpIndicator with an already subscribed symbol will use Consolidate https://github.com/QuantConnect/Lean/blob/master/Algorithm/QCAlgorithm.Indicators.cs#L2013 which creates and subscribes a new Consolidator for that symbol, but this consolidator isn't being unsubscribed. I seems that for this use case we don't need/want for it to actually be subscribed, since its being updated directly with historical data.

Potential Solution

Remove and dispose of created consolidators. Maybe refactor so that we don't subscribe/add the consolidator at all?
Reproducing the Problem

Use WarmUpIndicator with an already subscribed Symbol
System Information

N/A
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

note: using WarmUpIndicator during universe selection on newly listed symbols will not warm up the indicator, since there is no data, and will log a message of the format: The starting date for symbol KRP, 2016-06-15, has been adjusted to match map file first date 2017-02-03. since the history request start date will be adjusted.


Update to 1.21

PLs update this mod for the new version, thx

PLs update this mod for the new version, thx

I have a mod version 1.21 port, but when you eat the game it crashes :(

PLs update this mod for the new version, thx

I have a mod version 1.21 port, but when you eat the game it crashes :(

Hi, were you able to fix the bug where when you eat the game crashes? or no?

Yes, but I need time but I'm busy with my life, so it's hard.

PLs update this mod for the new version, thx

I have a mod version 1.21 port, but when you eat the game it crashes :(

Hi, were you able to fix the bug where when you eat the game crashes? or no?

Yes, but I need time but I'm busy with my life, so it's hard.

PLs update this mod for the new version, thx

I have a mod version 1.21 port, but when you eat the game it crashes :(

Hi, were you able to fix the bug where when you eat the game crashes? or no?

Yes, but I'm busy with my life, so it's hard.

PLs update this mod for the new version, thx

I have a mod version 1.21 port, but when you eat the game it crashes :(

Hi, were you able to fix the bug where when you eat the game crashes? or no?

Yes, but I'm busy with my life, so it's hard.

Any chance you can send the port here? You would be my hero 🙏🏻🙏🏻

PLs update this mod for the new version, thx

I have a mod version 1.21 port, but when you eat the game it crashes :(

Hi, were you able to fix the bug where when you eat the game crashes? or no?

Yes, but I'm busy with my life, so it's hard.

Do you happen to still have the .jar, or can you upload it?

You can just backport 1.21 to 1.20.1
https://www.curseforge.com/minecraft/mc-mods/copper-tuff-backport-fabric

You can just backport 1.21 to 1.20.1 https://www.curseforge.com/minecraft/mc-mods/copper-tuff-backport-fabric

That's gotta be the dumbest reasoning I've ever heard... that's not why we want a 1.21 version. Some mods just aren't made for 1.20.1, only for 1.21, so we want compatibility.

You can just backport 1.21 to 1.20.1 https://www.curseforge.com/minecraft/mc-mods/copper-tuff-backport-fabric

That's gotta be the dumbest reasoning I've ever heard... that's not why we want a 1.21 version. Some mods just aren't made for 1.20.1, only for 1.21, so we want compatibility.

so what do you suggest then? the point is if you want to play this mod you gotta do it in 1.20.1


Off topic

Hey, thank you for making SQLPage reality! One question re: security, is it intended behaviour I can execute externally migrations and any other .sql files in sqlite/migrations/?
Having said that, is there any way how to configure 'safe' location? I have tried to have a look at the source code and there's little protection as the read_to_string(app_state, path, true) which is always called as Priviledged == true (if that is the thing that makes the difference), and that's used in the evaluation safe_local_path. Initially i hoped the sqlpage location is going to be protected, but I can succesfully evaluate
curl -v http://localhost:8080/sqlpage/migrations/001_test.sql
(both using development and production mode).
Also how does the static_path is supposed to be used in custom components?
I guess I can have a look and create PR if you can provide some hints at the general idea around the security.

I reinstated the initial comment. Other people may have the same interrogations as you.
The SQLPage blocks access to the ./sqlpage/ folder by default, and makes the WEB_ROOT (the folder from which .sql files are served) configurable.


Clustering

I'm not sure if it's possible, or if there is already simple solution to having clusters with this Library?
If not, it would be a great feature to have.

Clustering is out of scope for this library which is only focused on loading the Google Maps JS API.

OK, thanks, I have followed some of the code design ideas used in this library and just used the standard API. Glad to know I am not missing anything.


Add support for parsing WOFF2 fonts.

DO NOT MERGE. This PR is for review and discussion at this time.
This PR implements support for WOFF2 files and resolves #1 by using a dedicated woff2 parser package.
The woff2 package isn't live yet, it still needs review. First, I suggest reviewing its public API. Once that looks good, we can move on to reviewing its internal code. You can see and review its API on redpen:
https://redpen.io/rk9a75c358f45654a8
(If you don’t have have a redpen account and would rather not make one for posting review comments, feel free to post them here instead.)
This PR is meant to continue the conversation from #1. /cc @ConradIrwin @bramp

I've added a few comments via redpen. I have to admit, I don't find that the easiest, because it makes things like searching hard, and I'm used to reviewing APIs in code. But I've given it a go :)
General comment, is this seems separate from ConradIrwin/font in a few places, doesn't depend on same types, such as Tag. This is ok but just wanted to explicitly call that out.

I've added a few comments via redpen. I have to admit, I don't find that the easiest, because it makes things like searching hard, and I'm used to reviewing APIs in code. But I've given it a go :)

@bramp, thank you for the review and for playing along with my experiment! It has been very insightful and helpful to me.
In hindsight, I can see that showing you only the godoc view to review is suboptimal in many ways. Not being able to search because it was an image (redpen is meant for design reviews; I was kinda abusing it) is an important one, thanks for pointing it out. But more than that, I've realized that there are many more relevant details in code that don't make it into the godoc view:

First, you couldn't see the commit message, which described the scope and limitations of the commit.

Second, you couldn't see the TODO comments in code, which help provide context on certain things.

So now I think that showing you the godoc view in addition to the entire normal diff would be better. You can read the code as usual, and then see how it appears in godoc once you're more familiar with the details. I suspect that would be a much better experience.
I'll reply to your comments on redpen soon, but in the meantime, could you please take another look at the actual code change (with commit message and TODO comments visible):
https://dmitri.shuralyov.com/font/woff2/...$changes/1
(Please be aware that my code review tool is still a work in progress and the commenting functionality is not ready yet. You can only view the change—but can't leave review comments on it. If you don't mind, just leave comments here instead. Thanks and sorry for the unusual setup; this is an active project of mine. 😄)

Friendly ping. Let me know if there's anything I can do to help make progress on this.
If there are any concerns about the approach, just let me know.

@shurcooL Are you happy with the woff2 library yet? I'm happy for this to depend on that if you're not going to change the API anymore :)

@ConradIrwin It is ready from my side. I've responded to all review comments so far, and I was just waiting in case there would be any further review comments.
I'll go ahead and merge that change now. Then, I'll resolve the conflicts in this PR (it had some conflicts with #15) so it can be merged.

if you're not going to change the API anymore

I'm not going to change the API in the short term, but it's best to think of it as v0 API. I do want to evolve it as I make further progress on the encoder and discover opportunities for API improvement. If there are any changes to its APIs, I will be sending PRs here to update the code and keep ConradIrwin/font building. See https://github.com/shurcooL/SLA#breaking-api-changes for more information about my approach.

Sounds good
I like the SLA idea :D I should figure out what I can commit to, but it might be embarrassingly low...
Sent via Superhuman<EMAIL_ADDRESS>)
On Tue, Feb 20, 2018 at 12:10 PM, Dmitri Shuralyov <<EMAIL_ADDRESS>> wrote:

@ ConradIrwin ( https://github.com/conradirwin ) It is ready from my side.
I've responded to all review comments so far, and I was just waiting in
case there would be any further review comments.
I'll go ahead and merge that change now. Then, I'll resolve the conflicts
in this PR (it had some conflicts with #15 (
https://github.com/ConradIrwin/font/pull/15 ) ) so it can be merged.

if you're not going to change the API anymore

I'm not going to change the API in the short term, but it's best to think
of it as v0 API. I do want to evolve it as I make further progress on the
encoder and discover opportunities for API improvement. If there are any
changes to its APIs, I will be sending PRs here to update the code and
keep ConradIrwin/font building. See https:/ / github. com/ shurcooL/ SLA#breaking-api-changes
( https://github.com/shurcooL/SLA#breaking-api-changes ) for more
information about my approach.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (
https://github.com/ConradIrwin/font/pull/14#issuecomment-367103696 ) , or mute
the thread (
https://github.com/notifications/unsubscribe-auth/AAFwQF6DLFSwNXV_YhR9aaWpqFzx1Oyvks5tWybBgaJpZM4R9Rgc
).

I've merged https://dmitri.shuralyov.com/font/woff2/...$changes/1. Going to resolve conflicts now.

I've rebased and resolved conflicts. PTAL.

looks good, thanks!


use long keys for the enckeys property

the enckeys property only returns the encryption keys in short id format, e.g. 0xBADCOFFE
As collisions in the short id space are nowadays very easily done the preferred key format should be long id e.g. 0xDEADBEEFBADCOFFE

fully agreed.


Add Admin information to create org form

update createOrganization() to include  the following paramaters
    adminEmail: String!
    adminFirstName: String!
    adminLastName: String!

when the createOrganization() mutation is called a new Okta user should be created and added the new user to the admin group for the organization that was just created.

updated version in https://app.zenhub.com/workspaces/simplereport-5ff8be8854ae8b000e378210/issues/cdcgov/prime-simplereport/1104


erl -make gives me "init terminating in do_boot"

Hello,
I'm trying to make a first task in the erlang track. When I execute 'erl -make' command it gives me the error.
ps@linux:~/exercism/erlang/hello-world$ erl -make
{"init terminating in do_boot",{undef,[{make,all_or_nothing,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()
ps@linux:~/exercism/erlang/hello-world$ erl
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
Eshell V8.0  (abort with ^G)
1>

I can't reproduce the behviour you describe, and I tried OTP 16, 17, 18, 19 in their latest release each.
Can you try erlc *.erl instead of erl -make? You should have a file ending in .beam for each file ending in .erl then. If that succeeds, please try to continue using erl -noshell -eval "eunit:test(hello_world, [verbose])" -s init stop
If this does work, you can decide to live with that workaround or to continue with the step does not work ;)
If it does not work this way, please give some more information about your system. To be exact: which linux distro are you using, which erlang related packages have you installed and from what sources? Did you even did an installation from source? Did you use any version managers? If so, which one?

ps@linux:~/exercism/erlang/hello-world$ erlc *.erl
hello_world.erl:3: Warning: function greet/1 is unused
hello_world_tests.erl: undefined parse transform 'eunit_autoexport'
ps@linux:~/exercism/erlang/hello-world$ ls -la *.beam
-rw-rw-r-- 1 ps ps 484 Sep 19 22:03 hello_world.beam
erl -noshell -eval "eunit:test(hello_world, [verbose])" -s init stop
{"init terminating in do_boot",{undef,[{eunit,test,[hello_world,[verbose]],[]},{erl_eval,do_apply,6,[{file,"erl_eval.erl"},{line,670}]},{init,start_it,1,[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()
It doesn't work for me. Sorry :(
I'm using:
Ubuntu Linux 16.04 amd64
$ dpkg -l | grep erlang
ii  erlang-asn1                                 1:19.0-1                                                    amd64        Erlang/OTP modules for ASN.1 support
ii  erlang-base                                 1:19.0-1                                                    amd64        Erlang/OTP virtual machine and base applications
ii  erlang-crypto                               1:19.0-1                                                    amd64        Erlang/OTP cryptographic modules
ii  erlang-dev                                  1:19.0-1                                                    amd64        Erlang/OTP development libraries and headers
ii  erlang-inets                                1:19.0-1                                                    amd64        Erlang/OTP Internet clients and servers
ii  erlang-mnesia                               1:19.0-1                                                    amd64        Erlang/OTP distributed relational/object hybrid database
ii  erlang-public-key                           1:19.0-1                                                    amd64        Erlang/OTP public key infrastructure
ii  erlang-runtime-tools                        1:19.0-1                                                    amd64        Erlang/OTP runtime tracing/debugging tools
ii  erlang-solutions                            1.0                                                         all          A package to add repository.
ii  erlang-ssl                                  1:19.0-1                                                    amd64        Erlang/OTP implementation of SSL
ii  erlang-syntax-tools                         1:19.0-1                                                    amd64        Erlang/OTP modules for handling abstract Erlang syntax trees
Package: erlang-base
Versions:
1:19.0-1 (/var/lib/apt/lists/binaries.erlang-solutions.com_debian_dists_xenial_contrib_binary-amd64_Packages) (/var/lib/dpkg/status)
Description Language:
File: /var/lib/apt/lists/binaries.erlang-solutions.com_debian_dists_xenial_contrib_binary-amd64_Packages
MD5: eb27cf1ed982601f2dcb1802ba9d4396
Description Language:
File: /var/lib/apt/lists/binaries.erlang-solutions.com_debian_dists_xenial_contrib_binary-amd64_Packages
MD5: eb27cf1ed982601f2dcb1802ba9d4396
Description Language:
File: /var/lib/apt/lists/binaries.erlang-solutions.com_debian_dists_xenial_contrib_binary-i386_Packages
MD5: eb27cf1ed982601f2dcb1802ba9d4396
I haven't done any installation from sources. I installed this system 3 weeks ago. So it's still kind of clean.
I don't use any version managers.

It seems as if you are using debian or ubuntu paired with erlang solutions package repositories, so please install erlang-euint package.

ps@linux:~/exercism/erlang/hello-world$ sudo apt-get install erlang-euint
[sudo] password for ps:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package erlang-euint
I'll find out how to fix this eunit issue. But I suspect the eunit issue and the "init terminating" issue is not connected to each other.

I've installed erlang-eunit (previously there was a typo 'euint' vs 'eunit').
Now erlc *.beam works, but erl -make doesn't:
ps@linux:~/exercism/erlang/hello-world$ erl -make *.erl
{"init terminating in do_boot",{undef,[{make,all_or_nothing,[],[]},{init,start_em,1,[]},{init,do_boot,3,[]}]}}
Crash dump is being written to: erl_crash.dump...done
init terminating in do_boot ()
ps@linux:~/exercism/erlang/hello-world$ erlc *.erl
hello_world.erl:3: Warning: function greet/1 is unused

It looks like I don't have make module installed.
ps@linux:~/exercism/erlang/hello-world$ erl
Erlang/OTP 19 [erts-8.0] [source] [64-bit] [smp:4:4] [async-threads:10] [kernel-poll:false]
Eshell V8.0  (abort with ^G)
1> make:all().
** exception error: undefined function make:all/0

Installing erlang-tools solves the problem.
(Next time I have to install all-in-one esl-erlang package. I spent too much time for nothing troubleshooting this output). Sorry for bothering you and for the extra-issue conversation.
ps@linux:~/exercism/erlang/hello-world$ sudo apt-get install erlang-tools
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
erlang erlang-manpages erlang-doc
The following NEW packages will be installed:
erlang-tools
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 522 kB of archives.
After this operation, 1,152 kB of additional disk space will be used.
Get:1 http://packages.erlang-solutions.com/debian xenial/contrib amd64 erlang-tools amd64 1:19.0-1 [522 kB]
Fetched 522 kB in 2s (181 kB/s)
Selecting previously unselected package erlang-tools.
(Reading database ... 251979 files and directories currently installed.)
Preparing to unpack .../erlang-tools_1%3a19.0-1_amd64.deb ...
Unpacking erlang-tools (1:19.0-1) ...
Setting up erlang-tools (1:19.0-1) ...
ps@linux:~/exercism/erlang/hello-world$ erl -make
ps@linux:~/exercism/erlang/hello-world$


Feature/talks

New Talks section related updates.

LGTM

Great work btw!

Thanks for looking through it @rdunk!


Blurry on Retina Display on macOS

Hi!
This library looks fantastic. I was just playing with it and noticed there's a blur when used on a Retina Macbook Pro (mid-2012) – do you have an idea why?
My scaling setting is set to X1, and here's what a screenshot looks like of a black screen with a single pixel set to white:

And here it is again zoomed in:

You can see little 'wings' off to each of the four sides. Is this intentional, or a bug?

Hi,
Thank for the report.
This isn't expected but I'm not sure where the issue actually is I would guess it could be caused by 3 things.

The display area (where the pixels are set) isn't correctly calculated and have "off by one" error (meaning that a 320x200 area might be 319x199 or similar) that would cause some slight scaling of the image.
The code here https://github.com/emoon/rust_minifb/blob/master/src/native/macosx/OSXWindowFrameView.m#L25 always some some kind of filtering which should be disabled.
I'm unsure of exactly how retina will affect single pixels like this as Retina will essentially "scale" the screen. Do you think you can try to disable Retina (go to 1:1 mode) and see if the issue is still there?

Hey! Thanks for the quick response.
It's gone if I switch to 2880x1800:

(that's a big square, not a single pixel; I wrote a little function to draw squares... but they're still blurry at my usual resolution)

I've seen similar behaviour in my own 3D engine (noticeable with text rendering which I never could get crisp) and also in browsers before, the reason there was that the CALayer class default to linear filtering when composing the layer image in the window system.
See CALayer and search for 'filter' (there are several properties, but the one that made the difference was the magnificationFilter).
For instance in my code, I'm getting the layer from an MTKView object, and set the magnification filter, this fixed the blurriness:
[[bridge->mtkView layer] setMagnificationFilter:kCAFilterNearest];

Here's the related browser bug for Chrome: https://bugs.chromium.org/p/chromium/issues/detail?id=602103
Hope this helps :)

Thanks! I will see if I can apply something similar to my code.

Hi, I have rewritten the macOS support to use Metal instead. I haven't looked in detail on this issue but let me know if it helps out. I will close this for now but if it doesn't work correctly please re-open it again.


Error: "Main.java:80"; "Error occurred while running AsanaExporter"

Hi Pawel,
Thanks for building an awesome app.
When executing the app, I get the following error message: ERROR [main] (Main.java:80) - Error occurred while running AsanaExporter.
I've validated that the personal access token that I am using is valid with a curl request: curl https://app.asana.com/api/1.0/users/me \   -H "Authorization: Bearer 0/123456789abcdef"
This is the command that I am calling: java -jar /Applications/asanaexporter-all-1.1.0.jar $1/1234538506617382:abce2f60d9a4d0f6aa69a75ad3418ef2

Hi Matias.
Personal token that you are providing looks good. Is there any more information in logs?
Your problem can be related to reported one #13

Hi Matias.
Personal token that you are providing looks good. Is there any more information in logs?
Your problem can be related to reported one #13

Hi,
This is log the log file I get when executing the command
WARN [main] (Main.java:89) - Could not load lastModification.txt. All tasks will be downloaded. ERROR [main] (Main.java:80) - Error occurred while running AsanaExporter. java.lang.RuntimeException: Could not find workspace with name Personal Projects 	at io.bitbucket.pablo127.asanaexporter.UserDownloadCommand.lambda$run$1(UserDownloadCommand.java:54) 	at java.util.Optional.orElseThrow(Optional.java:290) 	at io.bitbucket.pablo127.asanaexporter.UserDownloadCommand.run(UserDownloadCommand.java:54) 	at io.bitbucket.pablo127.asanaexporter.Main.<init>(Main.java:210) 	at io.bitbucket.pablo127.asanaexporter.Main.main(Main.java:60)
The Asana profile contains one workspace

Hi,
This is log the log file I get when executing the command
WARN [main] (Main.java:89) - Could not load lastModification.txt. All tasks will be downloaded. ERROR [main] (Main.java:80) - Error occurred while running AsanaExporter. java.lang.RuntimeException: Could not find workspace with name Personal Projects 	at io.bitbucket.pablo127.asanaexporter.UserDownloadCommand.lambda$run$1(UserDownloadCommand.java:54) 	at java.util.Optional.orElseThrow(Optional.java:290) 	at io.bitbucket.pablo127.asanaexporter.UserDownloadCommand.run(UserDownloadCommand.java:54) 	at io.bitbucket.pablo127.asanaexporter.Main.<init>(Main.java:210) 	at io.bitbucket.pablo127.asanaexporter.Main.main(Main.java:60)
The Asana profile contains one workspace

It looks like you don't have Personal Projects on your Asana's account.
Click here in Asana GUI:

there is a list of the workspaces.
You can select other than default (Personal projects) by providing its name as an argument to the run command.
e.g.
java -jar /Applications/asanaexporter-all-1.1.0.jar $1/1234538506617382:abce2f60d9a4d0f6aa69a75ad3418ef2 "workspace Name"

It looks like you don't have Personal Projects on your Asana's account.
Click here in Asana GUI:

there is a list of the workspaces.
You can select other than default (Personal projects) by providing its name as an argument to the run command.
e.g.
java -jar /Applications/asanaexporter-all-1.1.0.jar $1/1234538506617382:abce2f60d9a4d0f6aa69a75ad3418ef2 "workspace Name"

Yeah, I don't have a workspace called Personal Projects.
When I run the command with a specified workspace ie. "pl-partners.dk", the script is able to be executed. I looked through the code earlier and saw that you have hardcoded the workspace "Personal project" - is this the default workspace created by Asana?

Yeah, I don't have a workspace called Personal Projects.
When I run the command with a specified workspace ie. "pl-partners.dk", the script is able to be executed. I looked through the code earlier and saw that you have hardcoded the workspace "Personal project" - is this the default workspace created by Asana?

Personal Projects is a default one but now I am confused that you don't have it. Maybe it depends on the account type or sth.
Anyway great to hear that exporter works :)

Personal Projects is a default one but now I am confused that you don't have it. Maybe it depends on the account type or sth.
Anyway great to hear that exporter works :)


Bug extractor [Linux server]

Checklist

[x] I'm reporting a broken site support issue
[x] I've verified that I'm running youtube-dl version 2021.03.03
[x] I've checked that all provided URLs are alive and playable in a browser
[x] I've checked that all URLs and arguments with special characters are properly quoted or escaped
[x] I've searched the bugtracker for similar bug reports including closed ones
[x] I've read bugs section in FAQ

Verbose log

[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: ['https://www.instagram.com/reel/CMFPWSCHTqT/?igshid=1sbeffbbc4mif', '-F', '-v']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.03.03
[debug] Python version 3.6.9 (CPython) - Linux-4.15.0-128-generic-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: none
[debug] Proxy map: {}
[Instagram] CMFPWSCHTqT: Downloading webpage
ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/home/user/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/home/user/.local/lib/python3.6/site-packages/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "/home/user/.local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/home/user/.local/lib/python3.6/site-packages/youtube_dl/extractor/instagram.py", line 216, in _real_extract
    video_url = self._og_search_video_url(webpage, secure=False)
  File "/home/user/.local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1128, in _og_search_video_url
    return self._html_search_regex(regexes, html, name, **kargs)
  File "/home/user/.local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1019, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/home/user/.local/lib/python3.6/site-packages/youtube_dl/extractor/common.py", line 1010, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
youtube_dl.utils.RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; see  https://yt-dl.org/update  on how to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.

Description

This same video i can get in my computer OK. But when i put in my linux server I can't get it

Having similar issue downloading instagram.com/tv video, works on macos but not on linux, both 2021-03-03.
Using 18.04.5 LTS (GNU/Linux 5.4.0-1038-aws x86_64)
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.instagram.com/tv/B_y1Kf_DPKH/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.03.03
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-1038-aws-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Proxy map: {}
[Instagram] B_y1Kf_DPKH: Downloading webpage
ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/instagram.py", line 216, in _real_extract
    video_url = self._og_search_video_url(webpage, secure=False)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1128, in _og_search_video_url
    return self._html_search_regex(regexes, html, name, **kargs)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1019, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1010, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.```

Having similar issue downloading instagram.com/tv video, works on macos but not on linux, both 2021-03-03.
Using 18.04.5 LTS (GNU/Linux 5.4.0-1038-aws x86_64)
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'--verbose', u'https://www.instagram.com/tv/B_y1Kf_DPKH/']
[debug] Encodings: locale UTF-8, fs UTF-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2021.03.03
[debug] Python version 2.7.17 (CPython) - Linux-5.4.0-1038-aws-x86_64-with-Ubuntu-18.04-bionic
[debug] exe versions: ffmpeg 3.4.8, ffprobe 3.4.8
[debug] Proxy map: {}
[Instagram] B_y1Kf_DPKH: Downloading webpage
ERROR: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.
Traceback (most recent call last):
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 806, in wrapper
    return func(self, *args, **kwargs)
  File "/usr/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 827, in __extract_info
    ie_result = ie.extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 532, in extract
    ie_result = self._real_extract(url)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/instagram.py", line 216, in _real_extract
    video_url = self._og_search_video_url(webpage, secure=False)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1128, in _og_search_video_url
    return self._html_search_regex(regexes, html, name, **kargs)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1019, in _html_search_regex
    res = self._search_regex(pattern, string, name, default, fatal, flags, group)
  File "/usr/bin/youtube-dl/youtube_dl/extractor/common.py", line 1010, in _search_regex
    raise RegexNotFoundError('Unable to extract %s' % _name)
RegexNotFoundError: Unable to extract video url; please report this issue on https://yt-dl.org/bug . Make sure you are using the latest version; type  youtube-dl -U  to update. Be sure to call youtube-dl with the --verbose flag and include its complete output.```

in my debian 10 works fine
is weird lol


Messages API endpoint documentation is incomplete

The messages API endpoint states that both reply_to and to cannot be specified at the same time, but it does not specify that also reply_to and from may not be specified at the same time.
The docs should be updated to reflect that.

@rudigiesler ready for review

these build failures look entirely unrelated to these doc changes o_O

@rudigiesler build failure fixed


Also need quick links on ImageLinksTable page

Some countries start with an ImageLinksTable page.
We need to support QuickLinksTable collections on these pages.
(I'll create some mock data, and push to develop) No need, Britain1.html has an image links table already.

Ah, that makes sense. I'll get on that this evening.


3.0 is slower that 2.1.3

Operating system or device - Godot version:
Godot 3.0, 2.1.3, Windows 10 x64
Issue description:
Godot 3.0 is 2-3 times slower than 2.1.3
Created a project with the same logic:
300 objects initialized from scene : Path -> PathFollow -> Sprite
190fps vs 90fps.

3.0 is a lot more beautiful, but still

Both builds in release mode?

amazing point. used the build from here http://fixnum.org/godot/
Seems like it is compiled in debug mode "-DDEBUG_ENABLED".
Recompiled with release_debug and the results are slightly better: 250 fps vs 200 fps, which is still 20% behind.

I don't think this is currently a problem, and there are many factors that might be contributing to this, including the debug opengl context and higher resolution framebuffers.
More closer to release date it would be interesting to check again.

Let's keep this open to remember to check before releasing 3.0.

Kicking to 3.1, will not really be solved until a GLES2 backend is reimplemented


.net core - X-Frame-Options' to 'sameorigin'

Refused to display '/.pdf' in a frame because it set 'X-Frame-Options' to 'sameorigin'.
I have been taking this error when i have displayed pdf in iframe or embed.
<embed style="width:100%;" height="768" [src]="pageurl" type="application/pdf">
I have tried two suggestions, but the problem hasn't been resolved.

In ConfigureServices method in Startup.cs, i have added this code block:
services.AddAntiforgery(options => { options.SuppressXFrameOptionsHeader = true; });

In Configure method in same class, i have added this code block:

app.Use(async (context, next) => { context.Response.Headers.Remove("X-Frame-Options"); await next(); });
Is there any solution for this error ?

You could add the header to your responses. If you use for example NWebSec, you could define the X-Frame-Header in the CSP policy and then it will work

Thanks@da @damienbod


Suggestion: translation tool

Hi, I want do a suggestion
I love help to translate different apps to my language (Spanish), but I try do it with this app too, but I don't understand a lot the other app...
I'm using this web to help to translate string. Support xml, ini, and others types of files...
https://crowdin.com/

Sorry. I fixed the problem with the app...
I'm doing the translation, but if you want, check the app that I was recommended

Hmmm... Sorry I don't like use the "tool", it's so complicated to me...
I did this: https://crowdin.com/project/privatezilla-traduccin
I'm doing manually the translation to Spanish...

sry, never had anything to do with such services and I don't know anything about them.
But I will add some info to the wiki, if they support .xml
Thanks a lot for your help. As a short note, the file MainWindow.resx can be ignored because the strings are all in Resources.resx

@Belim
I upload the original files, and Crowdin support too the .resx file.
I'm doing the translation. I think that in some hours I going to do the pull with the file...
If anyone want help, can do it on the web and I can export the language file...
-A question: what name will be have the file? Resources.es.resx?

A question: what name will be have the file? Resources.es.resx?

Excactly :wink: