buildah fails on CentOS7 with xfs

Description
Build buildah from source on CentOS7 box using xfs. Execute any command. It throws an error saying "xfs filesystem is formatted without d_type support".
Steps to reproduce the issue:

Install buildah dependencies
Build buildah from source
Execute any buildah command. Ex: buildah images

Describe the results you received:
# /home/gns/gopath/bin/buildah --debug images
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: override_kernelcheck=true
DEBU[0000] [graphdriver] trying provided driver "overlay"
DEBU[0000] overlay: override_kernelcheck=true
ERRO[0000] kernel does not support overlay fs: overlay: the backing xfs filesystem is formatted without d_type support, which leads to incorrect behavior. Reformat the filesystem with ftype=1 to enable d_type support. Running without d_type is not supported.: driver not supported
kernel does not support overlay fs: overlay: the backing xfs filesystem is formatted without d_type support, which leads to incorrect behavior. Reformat the filesystem with ftype=1 to enable d_type support. Running without d_type is not supported.: driver not supported

Describe the results you expected:
Successful listing of images
Output of buildah version:
# buildah version
Version:         1.2-dev
Go Version:      go1.10.3
Image Spec:      1.0.0
Runtime Spec:    1.0.0
CNI Spec:        0.3.1
libcni Version:  v0.6.0
Git Commit:      1119820e
Built:           Sat Jul 14 06:26:04 2018
OS/Arch:         linux/amd64

Output of cat /etc/*release:
# cat /etc/*release
CentOS Linux release 7.5.1804 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"

CentOS Linux release 7.5.1804 (Core)

Output of uname -a:
# uname -a
Linux arya 3.10.0-862.3.3.el7.x86_64 #1 SMP Fri Jun 15 04:15:27 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Output of cat /etc/containers/storage.conf:
# cat /etc/containers/storage.conf
# storage.conf is the configuration file for all tools
# that share the containers/storage libraries
# See man 5 containers-storage.conf for more information

# The "container storage" table contains all of the server options.
[storage]

# Default Storage Driver
driver = "overlay"

# Temporary storage location
runroot = "/var/run/containers/storage"

# Primary Read/Write location of container storage
graphroot = "/var/lib/containers/storage"

[storage.options]
# AdditionalImageStores is used to pass paths to additional Read/Only image stores
# Must be comma separated list.
additionalimagestores = [
]

# Size is used to set a maximum size of the container image.  Only supported by
# certain container storage drivers.
size = ""

# OverrideKernelCheck tells the driver to ignore kernel checks based on kernel version
override_kernel_check = "true"

This is error correct/expected, although it should be documented.
The default XFS partitioning in CentOS 7 is not configured with ftype=1 option configured so OverlayFS does not work out of the box.
To resolve this issue, you either need to select ext4 for your install, or configure a mount for  /var/lib/containers (which buildah uses) using either XFS with ftype=1 specified or ext4.
To create a compatible XFS partition the flags are:
mkfs.xfs -n ftype=1 /path/to/your/device

Centos 7.5 has this by default, the problem is probably that you updated to Centos 7.3/7.4 or you are using this on an older version.  All tools podman/docker/buildah need this for overlay to work correctly on an XFS file system.


app bar button disappears[Bug]

Describe the bug
A clear and concise description of what the bug is.
wheres muh button
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Toggler in Settings does not make the button appear. Will appear after game restart
Expected behavior
A clear and concise description of what you expected to happen.
Toggle in settings, button appears in App Bar
Additional context
Add any other context about the problem here: log files, screenshots, etc.
send moar snacks

Thanks for the report! It has already been reported on the forums and I have a fix ready, I just need to finish up some more stuff before I can release the next update, hopefully tomorrow.


Add latest OS versions

#36 OS map is out of date.

Tracking in etl-update-releases.

@anubisg1 NX-OS - 9.2(2) has been added, per interest in #36
This will require resetting and starting to reset the database.
If you'd like to only do 9.2(2), comment out anything you are not interested in within this structure.

Also if you're not interested in SNMP, can comment out this line. https://github.com/cisco-ie/tdm/blob/v2/etl/src/main.py#L96


Resolve the issue of failed accept code functionality in the JetBrains plugin on windows platform

Resolve the issue of failed accept code functionality in the JetBrains plugin on windows platform

@yh646492956 could you give a bit more background on what problem this solves and the error logs that you were seeing?

@yh646492956 I'm going to close this PR until I hear back, but please do re-open on preview as soon as you have the chance


Support RandR to query for attached monitors

Is your feature request related to a problem? Please describe.
xfreerdp multimon doesn't work with i3, and I don't think lxqt either, and probably more. Maybe moving to RandR from Xinerama would help.
Describe the solution you'd like
xfreerdp moves to RandR
Describe alternatives you've considered

Using lxde. Lxde (or openbox) supports NET_WM_FULLSCREEN_MONITORS - but it's an older DE, and in general it's annoying to have to switch DEs for one program
Starting up i3 with xinerama - i3 won't work as well, and it's one more thing to configure, sometimes starting xinerama, sometimes starting with RandR

Additional context
First of all, xfreerdp is incredible! Thank you for creating/maintaining it.
I think this is something which has been discussed before, on both this repository (possibly https://github.com/FreeRDP/FreeRDP/issues/2707) and on the i3 repository (https://github.com/i3/i3/issues/2116), so I apologize if this is just creating noise.
However, I felt that it would be appropriate to bring the issue up, perhaps more explicitly.
I opened an issue https://github.com/i3/i3/issues/4118, and the TL;DR was

NET_WM_FULLSCREEN_MONITORS requires Xinerama while i3 uses the more modern RandR.

Something similar came from the KDE team (referenced in https://github.com/FreeRDP/FreeRDP/issues/2707#issuecomment-372481326

Now there is just no xinerama extension used anymore. Today we use xrandr to configure multiple screens. I have no idea what these indices are that FreeRDP uses, but KWin (and probably any other window manager) doesn't know anything of Xinerama.

I am not a C programmer (although that was my first language, many moons ago), and certainly X11 internals are way above my stratosphere. I suspect that moving from Xinerama to xrandr would be a huge effort, especially considering that freerdp is very complete, mature software. However, I would recommend, with all the authority of someone who is unabashedly completely ignorant insofar as the problem under discussion is concerned can muster, that there be a discussion about whether it would be beneficial to this project to migrate to a newer x11 thing X Window System extension.
Also, perhaps it would be productive to try to talk to WM maintainers directly, such as @Airblader and @stapelberg. I suspect that specializing in WM development vs application development brings about different perspectives and priorities, and an open discussion would be beneficial to everyone.

xfreerdp do support RandR, that's the way, we're using by default to get the monitor's size.
So what's do you mean with xfreerdp multimon doesn't work with i3, and I don't think lxqt either, and probably more ? What kind of behaviour are you observing ?

Reading through some of the old discussions again, I'm even afraid there just isn't a way to solve this.
My understanding is that FreeRDP uses _NET_WM_FULLSCREEN_MONITORS to inform the window manager which outputs to fullscreen (should it be multiple). This atom works with Xinerama indices, which is why some window managers don't support it as they don't support Xinerama. FreeRDP correctly checks for support for this atom and then does nothing with it if unsupported (which is fine).
What's missing here is doing it in a "RandR-y" way. I don't think there's any specification with which this can be described, however(?)

@Airblader maybe https://stackoverflow.com/questions/36966900/xcb-get-all-monitors-ands-their-x-y-coordinates might be what you are looking for?

@akallabeth The answer on that question is by me ;-) That question is about querying RandR monitors. What we need here is a way for a client to fullscreen covering a specific (sub-)set of outputs, though.

Fascinating. GTK reached the same conclusion - full screen over multiple monitors needs Xinerama, if that's not available don't bother.
 * If the XINERAMA extension is not available or not usable, this function
 * has no effect.

There really seems to be no way to do this without Xinerama, which basically means that there's no way to do this.
I opened up an issue with xrandr, but IDK if that bug list is monitored.

I wounder if it would be easier to support an X11 alternative like wayland.

It doesn't even require an extension as such, but rather just a specification to agree on. However that is probably a close to impossible task at worst, and takes years to propagate at best, as can be seen by KDE and others creating proprietary specifications over time. X is not a fast moving world. :-(

However that is probably a close to impossible task at worst, and takes years to propagate at best, as can be seen by KDE and others creating proprietary specifications over time. X is not a fast moving world. :-(

While this may be accurate, as a first step, we just need a draft and then make both i3 and freerdp implement it.
If this implementation works well, we can encourage others to adopt the draft, too.
I think it could work out in practice :)

reading through this whole thread it sounds more like a bug in i3 not supporting the atoms defined in the xinerama specification properly than anything else.
Don´t see a reason to create a new spec if there is a properly working one available ;)
Note: There is a difference between the xinerama X11 extension and the multi window management mode commonly referred to as xinerama.
While the latter is nowadays more or less abandoned, the extension is still providing essential configuration for multimonitor modes.

@akallabeth If it were that easy, that'd be great. Can you give us a pointer on how we can map the Xinerama screen indices to RandR outputs perhaps?

I think with https://github.com/i3/i3/issues/4118#issuecomment-649989138, we’d already cover most users.

@Airblader sadly not, I´d love to fix this but I´m mostly working on the other side of the API here so my knowledge for implementing that on the wm side are limited.


Custom JSONParameters base on global JSON.Parameters

I'd like to have option to (de)serialize some data with different JSONParameters, based on global JSON.Parameters.
JSON.DeepCopy<JSONParameters>() fails and JSONParameters.MakeCopy() is not public. Is there any other solution? Is it possible to make JSONParameters.MakeCopy() public?

And how will making JSONParameters.MakeCopy() public help?

I don't want to change global JSON.Parameters itself, used widely in JSON.ToJSON(object), but make a copy to change just a subset of parameters and use it in JSON.ToJSON(object, JSON.Parameters).
For example I do not want to serialize type in global settings, but do want for some special case.
If I can make copy, then I can safely change one parameter withou knowing the others settings.

You can easily do that right now :
var jp1 = new JSONParameters { UseExtensions = false }; // everything else as default
var jp2 = new JSONParameters { UseFastGuid = false };

There is one global JSON.Parameters setup like that, changing few parameters.
I want to prevent any future change to global parameters to make a bug somewhere else by not inserting the change to other place in code where parameters are created. So whatever the JSON.Parameters are, I want to be sure to have a copy and change just one (or few) parameters.
Instead of:
JSON.Parameters = new JSONParameters
{
  something = true,
  ...,
  somethingElse = false
}
...
JSONParameters other = new JSONParameters
{
  something = true,
  ...,
  somethingElse = false,
  UseExtensions = true
}

I want to have:
JSON.Parameters = new JSONParameters
{
  something = true,
  ...,
  somethingElse = false
}
...
JSONParameters other = JSON.Parameters.MakeCopy();
other.UseExtensions = true;

Made it public in v<IP_ADDRESS>

thank you sir


Remove IP Address before reporting

Hey guys, you do an awesome job and i hope this is the right place for this question.
Is it possible to remove the users ip address before event reporting, so no user specific information shows up on our server.
The ip shows up two times in the event
sentry.interfaces.User: { ip_address: "<IP_ADDRESS>" },
[ "sentry:user", "ip:<IP_ADDRESS>" ]
Following code has no effect on this:
    event.user = nil
    event.tags = [:]

Would be glad you give me instructions how to solve this.
Thank you in advance,
best Mathias

Yes this worked, thanks for the support.


List with conditional false children error

List component fails on false conditional && children.
Overview
// where showDivider = false

<List>
  <ListItem>
     <ListItemText primaryText="Item 1" />
  </ListItem>
  { showDivider && <ListDivider /> }
</List>

Example https://codesandbox.io/s/2r86yyvpp
The  list/index.tsx.isListItem is not handling null element which is what is passed in when a false condition is triggered
function isListItem(element: any): element is ListItem {
  return element.type === ListItem;
}

Should be
function isListItem(element: any): element is ListItem {
  return element && element.type === ListItem;
}

Work around is to create a custom If component e.g. <If condition={showDivider} truthy={<ListDivider/>} />
I would send a PR but struggling to get the project working on a Windows 10 development environment.

Thanks for opening. Yup definitely a bug. Once we merge your current PR, we can hopefully open a PR to fix this.

#674 fixes it


Unable to connect Leshan LwM2M server using x86 based LwM2M client

Hi Team,
I am running one issue with the Leshan server. Please help.
I have downloaded the zephyr project from the below link to explore the LwM2M client-server scenario:
https://github.com/zephyrproject-rtos/zephyr
Summary:
I have compiled and run the lwm2m client sample for 'x86' and I was able to connect the Leshan demo server running locally in the same Linux host machine.
But as soon as I add the URI of the Leshan LwM2M server in the client code which is running remotely, I am unable to connect it.
Working setup locally:

Run the lwm2m client for x86 on a Linux machine.
Run the Lwm2m server locally using "leshan-server-demo.jar and I can see the client connected locally at http://localhost:8080/

A problem in connection of remote server:

In the client app, the URI of the lwm2m server "coap://leshan.eclipseprojects.io:5683" is added to connect.
Compiled the app for x86 and tried to run.
But I am unable to connect to the server, I am getting the below error:
net_lwm2m_rd_client: Cannot init LWM2M engine (-22)

Also, I have tried other links too like the following but no success:

coap://leshan.eclipse.org:5783
coap://leshan.iot-lab.info
coap://<IP_ADDRESS>

Can you please help me with what I am missing here? I am attaching the whole error log for more information.
Lwm2m_server_connection_error.txt
Thanks,
Hardik

Hi,
I have also contacted to Leshan team, and I don't think the issue is from the Leshan LwM2M server side. I am suspecting the configuration issue, so please help me to solve this.
I have confirmed from the Leshan team that the public server (https://leshan.eclipseprojects.io/) is proven. I have also tried to connect to it using leshan-client-demo.jar and I was able to connect it. But as soon as I add it to the code I am unable to connect it.
Please guide me where I left unchanged, also check my environment setup as following:

Before I start the client in the host machine, I have to start loop-socat.sh and loop-slip-tap.sh.
In the configuration file (prj.conf), I have updated the host IP and gateway IP.
I have added the IPv4 address of the https://leshan.eclipseprojects.io/ in the lwm2m client code like following:
lwm2m_engine_set_string("0/0/0", "coap://<IP_ADDRESS>:5683").
And then it goes for the registration but unable to register with the Leshan server.

I have also captured the logs, please check this and let me know If I have missed anything.
LwM2M_zephyr_client_server_error.docx
Thanks and Regards,
Hardik

Hi !
I'm trying to do approximately the same at you, which is connecting a LWM2M device to a remote server.
My problem is somewhere else but I think I can solve your issue. We can advance together toward a solution if you want.
You have this error. I think I've already encountered her, and some people also.
[00:00:01.530,000] <dbg> net_lwm2m_engine.lwm2m_parse_peerinfo: Parse url: <log_strdup alloc failed>
You can find the solution here. Worked for him, worked for me, should work for you.
https://lists.zephyrproject.org/g/devel/topic/76243642?p=,,,20,0,0,0::recentpostdate%2Fsticky,,,20,2,0,76243642
A Push Request should be done to solve this issue btw.
Now, you will most likely encounter an issue when you'll solve this.
You connect with your client to the Leshan Demo Server using coaps, which means that DTLS is on (overlay-dtls.conf to enable/desable).
But the https://leshan.eclipseprojects.io/ is, as you said, for a coap purpose.
Ain't managed to connect to it yet, looking for a way to do it.
It is the same for IOWA's server : https://iowa-server.ioterop.com/device
Also Hardik, I suggest that you select your IP address using the prj.conf file of your project. I don't know if that changes a lot of things, but I think the CONFIG_NET_CONFIG_PEER_IPV4_ADDR is here for a reason.
Good luck to you, hopefully I've been useful !
Regards,
Thomas

Hi Hardik, Thomas,
As for the networking with qemu, please make sure you configure the iptables, forwarding and DNS as described here:
https://docs.zephyrproject.org/1.13.0/subsystems/networking/qemu_setup.html#setting-up-zephyr-and-nat-masquerading-on-host-to-access-internet
(personally I just have a script that calls all of these commands before I run the other scripts from net-tools).
As for the lwm2m_client, I see that you've already tried two attempts, modifying CONFIG_NET_CONFIG_PEER_IPV4_ADDR or setting the URI in the application. Both approaches work, but they need proper configuration.

In case you modify CONFIG_NET_CONFIG_PEER_IPV4_ADDR you need to make sure that IPv6 is disabled in the sample, otherwise it will use the IPv6 address by default. You can disable IPv6 with the following:

CONFIG_NET_IPV6=n
CONFIG_NET_CONFIG_NEED_IPV6=n

Otherwise, it's enough to add the following to the prj.conf in order to reach the Leshan public server:
CONFIG_NET_CONFIG_PEER_IPV4_ADDR="<IP_ADDRESS>"
CONFIG_NET_CONFIG_MY_IPV4_GW="<IP_ADDRESS>"

If you set the URI manually in the application (for instance with #define SERVER_ADDR "leshan.eclipseprojects.io"), you have to enable DNS resolver in the sample in order to obtain the IP address. You can do this with the following configuration (note that heap is needed for getaddrinfo() to work):

CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1="<IP_ADDRESS>"
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=2048

Hi rlubos,
I've done those steps already, and managed to reach out a remote private network which is using coaps.
Therefore I've already disabled IPv6 and made changes in my prj.conf file.
I'm now trying to log in a remote public network such as leshan eclipse or IOWA which doesn't have DTLS encryption.
I've not tried enough things yet, I'll edit this message whenever I've made it, or when the issue will be precised.
Thanks a lot for the informations tho.
Bests regards,
Thomas

@tlr-id The Leshan public server supports both, CoAP and CoAPs. If you wish to use CoAPs, you need to configure the security material for your device here. The sample documentation explains how to configure PSK:
https://docs.zephyrproject.org/latest/samples/net/lwm2m_client/README.html#dtls-support

@rlubos
Thanks a lot ! I've succeeded in connecting my client to the public Leshan using CoAPs, and the mistake was as dumb as not configuring the Client's profile.
Do you have any idea of how to connect to the Leshan using CoAP ?
I've tried several things such as compiling without the overlay-dtls.conf file, or changing these :
CONFIG_LWM2M_DTLS_SUPPORT=y    =>   CONFIG_LWM2M_DTLS_SUPPORT=n
CONFIG_LWM2M_PEER_PORT=5684    =>   CONFIG_LWM2M_PEER_PORT=5683

Also, do you have any idea on how to reach the IOWA's public server ?
( https://iowa-server.ioterop.com/device and ip is currently <IP_ADDRESS>).
I've tried to add a new client configuration using PSK, no to Oscore, Default CoAP settings and TLV for Payload format and response.
Thanks again for your help,
Bests Regards,
Thomas

@tlr-id
The sample by default connects w/o security, so compiling with no overlay should do the trick. You may need to delete the build directory though if you compiled with an overlay enabled (I'm not sure how good Kconfig is with recompilation if overlays changed). Plus, if you've already configured your device with secuirty credentials in Leshan, you need to remove it first, otherwise the server will reject your device.
As for the IOWA's public server, I don't have experience with this server. I've tried to connect with no security and it worked with no issues. I'm not being able to connect with DTLS enabled though, the handshake keeps failing, I'm not sure why yet.

I'm not being able to connect with DTLS enabled though, the handshake keeps failing, I'm not sure why yet.

Ok I get it now, this server accepts PSK in base64 format. I've used
static unsigned char client_psk[] = {
	'a', 'b', 'c', 'd'
};

in the sample and it's base64 representation on the server side
YWJjZA==

Hi @rlubos, @tlr-id,
Sorry for the delayed response, I was on Diwali vacation. Now I have resumed.
@tlr-id,
I tried the solution you shared and now I don't see an error while parsing the URL (net_lwm2m_engine.lwm2m_parse_peerinfo: Parse url: <log_strdup alloc failed>), it was a strdup allocation issue.
But I am still unable to connect to the Leshan server. Also, I am not able to ping DNS net ping <IP_ADDRESS> or net ping <my GW IP>, it shows ping timeout. Can you please help with this?
@rlubos,
I have tried the steps you mentioned for using IPv4 and using URI.

Using peer address in prj.conf file:

I have already disabled the IPv6 interface from prj.conf file as you mentioned.
Removed the URI in the code.
Added the IPv4 address of the Leshan server to prj.conf

CONFIG_NET_CONFIG_PEER_IPV4_ADDR="<IP_ADDRESS>"
CONFIG_NET_CONFIG_MY_IPV4_GW="<IP_ADDRESS>"

Removed build directory and recompiled it.
Still, I am unable to connect with the Leshan server.
Please check the logs from LwM2M_zephyr_client_server_error2.txt

Using URI in code:

Removed the CONFIG_NET_CONFIG_PEER_IPV4_ADDR from the prj.conf file.
Added URI in the code #define SERVER_ADDR "leshan.eclipseprojects.io".
Enabled the DNS resolver in prj.conf as well.

CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1="<IP_ADDRESS>"
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=2048

But it shows "Unable to resolve address", and I am not able to connect it.
Please check the logs from LwM2M_zephyr_client_server_URI_DNS_resolver.txt

By any of these two methods, I am unable to connect to the Leshan public server. Please help where I am missing the configuration.
Let me know If you need any file to check, I will send.
Thanks,
Hardik

Hi,
Adding to my previous comment, I have noticed something that may be helpful for you to identify.
In my LwM2M client project, below IPv4 addresses are used for the different endpoints.

Host machine's IPv4 where QEMU is running = <IP_ADDRESS>
Zephyr app's IPv4(CONFIG_NET_CONFIG_MY_IPV4_ADDR) = <IP_ADDRESS>
The tap0 IPv4 = <IP_ADDRESS>
The Leshan server IPv4 = <IP_ADDRESS>

So when I start the app to connect to the Leshan server and from the Zephyr shell If I try to ping the server's IPv4 address then I am not able to ping it.

uart:~$ net ping <IP_ADDRESS>
PING <IP_ADDRESS>
Ping timeout

From the Zephyr's shell, I am only able to ping 3 addresses(<IP_ADDRESS>, <IP_ADDRESS>, and <IP_ADDRESS>), even I am not able to ping google's IPv4 address as well. Is the internet connectivity from the app creating an issue?
Thanks,
Hardik

@Hard1kPrajapat1 It seems that you use non-default IP addresses, did you set up NAT masquerading for your qemu IP address as explained in the guide?
I. e. I mean this command:
iptables -t nat -A POSTROUTING -j MASQUERADE -s <IP_ADDRESS>

Hi Robert,
I just got it working. And Yes, I have already applied the NAT masquerading command before.
Working:

I am able to connect with the Leshan server by configuring the gateway address is the same as tap0's IPv4 address in prj.conf.
I changed from CONFIG_NET_CONFIG_MY_IPV4_GW=<IP_ADDRESS> to CONFIG_NET_CONFIG_MY_IPV4_GW=<IP_ADDRESS>. Where <IP_ADDRESS> was my organization's gateway address and <IP_ADDRESS> was tap0 interface's IPv4 address.
Can you please explain why I had to apply tap0's address as a gateway address?

Still not working:

If I remove the peer address from the prj.conf file and add the URI in the code like below, I am still unable to resolve the address.

#define SERVER_ADDR "leshan.eclipseprojects.io"

It shows me the error like following (already shared error file before):

[00:00:03.040,000]  net_lwm2m_engine: Unable to resolve address                                                                                > [00:00:03.040,000]  net_lwm2m_rd_client: Cannot init LWM2M engine (-2)

I have added the following lines in the prj.conf for the DNS.

CONFIG_DNS_RESOLVER=y
CONFIG_DNS_SERVER_IP_ADDRESSES=y
CONFIG_DNS_SERVER1="<IP_ADDRESS>"
CONFIG_MINIMAL_LIBC_MALLOC_ARENA_SIZE=2048

Please let me know what I am missing here.
Thanks,
Hardik

Hi,
Please check my below observations and issues till now and guide me:

I am able to connect to the Leshan LwM2M server without security. Can you please explain why the gateway IP address should be the same as tap0's address to make it work?
I am unable to connect to the Leshan LwM2M server with DTLS security as mentioned in the Link.
Issue:
It fails and the handshake process so could not register, please check the logs LwM2M_zephyr_client_server_DTLS_error.txt
I am able to connect with the Leshan bootstrap server but then it is not going to connect to the Leshan LwM2M server.
Issue:

I have added the configuration to connect to the server on the bootstrap server.
I am able to register my machine with the bootstrap server but from the bootstrap server, it should connect me to the LwM2M server which is not going to do.

Can you please help me what am I missing here?
Thanks and Regards,
Hardik

I guess the gateway needs to be in the same subnet as your qemu instance? Otherwise, how would Zephyr know where to route packets if the gateway is in another network? Perhaps someone with more IPv4 knowledge could confirm.
The handshake failed with MBEDTLS_ERR_SSL_TIMEOUT. Are you sure you use the correct port number? Or perhaps firewall in your network blocks the traffic on ports used by LwM2M? For instance, that's the case at my workplace - the CoAP traffic is blocked after a few transactions.
I cannot provide any feedback w/o more details. Do you use a secure or non-secure connection for Bootstrap and LwM2M server? Has the bootstrap exchange finished successfully?

In general, it would be good to get wireshark pcaps in such cases to see where exactly the communication gets stuck.

Hi Robert,

It was in the same subnet, my machine's IP is <IP_ADDRESS>. Hence, I have provided <IP_ADDRESS> for Zephyr App, provided <IP_ADDRESS> for the tap0 interface and the gateway of my workplace was <IP_ADDRESS>. But applying the <IP_ADDRESS> IP as GW, it was not working. As soon as I gave tap0's IP, it started working.
Yes, I am compiling the sample with overlay-dtls.conf, so it will take port 5684 as default. For the firewall, I will confirm and let you know.
I was using non-secure communication, and yes, the bootstrap registration was successful. Please check the logs from LwM2M_zephyr_client_server_bootstrap.txt

Please let me know If I can provide you more detail.
Thanks,
Hardik

Note that the default subnet mask in Zephyr is /24 so <IP_ADDRESS> and <IP_ADDRESS> are different subnets from Zephyr perspective. The same goes for the tap interface, it's /24 by default. Perhaps that's the issue? For Zephyr there's NET_CONFIG_MY_IPV4_NETMASK to change subnet mask, not sure about tap.
I'm also not sure if ARP packets will actually be forwarded from tap0 interface to others, perhaps @jukkar you know?
Nothing to add.
From your logs it doesn't seem that the bootstrap procedure was complete (registration is just a first step). Here's how the log from a complete bootstrap procedure looks like:

[00:00:00.110,000] <inf> net_lwm2m_rd_client: Start LWM2M Client: qemu_x86
[00:00:01.020,000] <dbg> net_lwm2m_engine.lwm2m_engine_get: path:0/0/1, buf:0x14fb6b, buflen:1
[00:00:01.020,000] <inf> net_lwm2m_rd_client: Bootstrap started with endpoint 'qemu_x86' with client lifetime 0
[00:00:01.020,000] <dbg> net_lwm2m_engine.lwm2m_parse_peerinfo: Parse url: coap://[2001:db8::2]
[00:00:01.020,000] <dbg> net_lwm2m_rd_client.sm_send_bootstrap_registration: Register ID with bootstrap server as 'ep=qemu_x86'
[00:00:01.530,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:01.530,000] <dbg> net_lwm2m_rd_client.do_bootstrap_reply_cb: Bootstrap callback (code:2.4)
[00:00:01.530,000] <inf> net_lwm2m_rd_client: Bootstrap registration done!
[00:00:01.530,000] <dbg> net_lwm2m_client_app.rd_client_event: Bootstrap registration complete
[00:00:01.530,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: reply 0x134154 handled and removed
[00:00:01.530,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:01.530,000] <dbg> net_lwm2m_engine.handle_request: No accept option given. Assume OMA TLV.
[00:00:01.530,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:01.530,000] <dbg> net_lwm2m_engine.handle_request: No accept option given. Assume OMA TLV.
[00:00:01.550,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:01.550,000] <dbg> net_lwm2m_engine.handle_request: No accept option given. Assume OMA TLV.
[00:00:01.550,000] <dbg> net_lwm2m_obj_security.security_create: Create LWM2M security instance: 0
[00:00:01.550,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:01.550,000] <dbg> net_lwm2m_engine.handle_request: No accept option given. Assume OMA TLV.
[00:00:01.560,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:01.560,000] <dbg> net_lwm2m_engine.handle_request: No accept option given. Assume OMA TLV.
[00:00:01.560,000] <dbg> net_lwm2m_obj_server.server_create: Create LWM2M server instance: 0
[00:00:01.570,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:01.570,000] <inf> net_lwm2m_rd_client: Bootstrap data transfer done!
[00:00:02.040,000] <dbg> net_lwm2m_client_app.rd_client_event: Bootstrap transfer complete
[00:00:02.560,000] <dbg> net_lwm2m_engine.lwm2m_engine_get: path:0/0/1, buf:0x14fb6b, buflen:1
[00:00:02.560,000] <dbg> net_lwm2m_engine.lwm2m_engine_get: path:0/1/1, buf:0x14fb6b, buflen:1
[00:00:02.560,000] <dbg> net_lwm2m_engine.lwm2m_engine_get: path:0/1/10, buf:0x14fbca, buflen:2
[00:00:02.560,000] <inf> net_lwm2m_rd_client: RD Client started with endpoint 'qemu_x86' with client lifetime 0
[00:00:02.560,000] <dbg> net_lwm2m_engine.lwm2m_parse_peerinfo: Parse url: coap://[2001:db8::2]:5683
[00:00:02.560,000] <dbg> net_lwm2m_engine.lwm2m_engine_get: path:1/0/1, buf:0x14fb9c, buflen:4
[00:00:02.570,000] <dbg> net_lwm2m_rd_client.sm_send_registration: registration sent [2001:db8::2]
[00:00:03.070,000] <dbg> net_lwm2m_engine.lwm2m_udp_receive: checking for reply from [2001:db8::2]
[00:00:03.070,000] <dbg> net_lwm2m_rd_client.do_registration_reply_cb: Registration callback (code:2.1)
[00:00:03.070,000] <dbg> net_lwm2m_client_app.rd_client_event: Registration complete
[00:00:03.070,000] <inf> net_lwm2m_rd_client: Registration Done (EP='kdFTleuHGM')

It seems that for whatever reason the some of the packets from the LwM2M server did not reach your qemu instance (could be the firewall mentioned). If you register w/o bootstrap and DTLS, can you exchange packets with the server after you register? Like reading multiple objects/resoures.

1. I'm also not sure if ARP packets will actually be forwarded from tap0 interface to others, perhaps @jukkar you know?

I don't think ARP packets have any routing capabilities.
It looks like that either the netmask needs to be adjusted, or gateway to be set if the networks are in different subnets, which seems to be the case here.

This issue has gotten pretty old w/o any activity, please reopen if needed.


myfile_subsample.avi is not produced by gui app

Despite what is written in output documentation I did not notice production of myfile_subsample.avi-like files by gui batch processing

Hi @antonkulaga,
You're correct, the gui does not create a subsampled video by default, we need to update the docs.
To make tierpsy create the subsampled video, take your favourite parameters file, and edit it so that you specify the analysis points and place VID_SUBSAMPLE as the second item.
For example, if you're using the TIERPSY analysis pipeline, the beginning of your json file should look like this:
{
    "analysis_type": "TIERPSY",
    "analysis_checkpoints": [
        "COMPRESS",
        "VID_SUBSAMPLE",
        "TRAJ_CREATE",
        "TRAJ_JOIN",
        "SKE_INIT",
        "BLOB_FEATS",
        "SKE_CREATE",
        "SKE_FILT",
        "SKE_ORIENT",
        "INT_PROFILE",
        "INT_SKE_ORIENT",
        "FEAT_INIT",
        "FEAT_TIERPSY"
    ],

If you want to create subsampled videos for data you've already processed, edit your parameters json as above, launch the Bath Processing Multiple Files GUI, and ask tierpsy to reanalyse using the edited json. Set VID_SUBSAMPLE to be the Analysis end point using the dropdown menu: Tierpsy should skip the COMPRESSION stage as it has already been done, and just perform the subsampling.
Let me know if this works for you


Update current development changelog

Signed-off-by: Wayne Witzel III<EMAIL_ADDRESS>

idk if we need to capture a changelog for docs changes - i don't think we really have in the past - WDYT?

Yeah, I was kind of on auto pilot, just going through the merge commits since 0.10 release. I'll pull them out.

I think I agree with leaving them out for the most part. A big docs change might be worth putting in, but fixing broken links doesn't seem like it quite meets the bar.

So with what @nrb said, should I leave in the update to our changelogs as an Other Change?


Revisit gossip configuration

Review the gossiping settings and reorganize them into the gossiping section.

Triage update: Removed from Condor/2.0.0 release.


Two updates to support nodejs 10 and Fedora 29.

Update wdio-mocha-framework to 0.6.4 to support nodejs 10.
Update grep regxp to support lorax-composer response on Fedora 29.

Codecov Report

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

@@           Coverage Diff           @@
##           master     #393   +/-   ##
=======================================
  Coverage   34.77%   34.77%
=======================================
  Files          49       49
  Lines        1852     1852
  Branches      334      334
=======================================
  Hits          644      644
  Misses       1208     1208

Continue to review full report at Codecov.

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

I retried the chrome test three times now, it keeps failing. Can you please have a look?
Also,  the vm.install script needs to call something like which node || yum install nodejs, as it's not pre-installed on the Cockpit fedora-29 VMs.


build(deps): bump shlex dependency

$ cargo audit -q --deny warnings
Crate:     shlex
Version:   1.2.0
Title:     Multiple issues involving quote API
Date:      2024-01-21
ID:        RUSTSEC-2024-0006
URL:       https://rustsec.org/advisories/RUSTSEC-2024-0006
Solution:  Upgrade to >=1.3.0
Dependency tree:
shlex 1.2.0
├── bindgen 0.66.1
│   ├── pipewire-sys 0.7.2
│   │   └── pipewire 0.7.2
│   │       └── vhost-device-sound 0.1.0
│   └── libspa-sys 0.7.2
│       ├── pipewire-sys 0.7.2
│       ├── pipewire 0.7.2
│       └── libspa 0.7.2
│           └── pipewire 0.7.2
└── bindgen 0.63.0
└── libgpiod-sys 0.1.1
└── libgpiod 0.2.1
└── vhost-device-gpio 0.1.0

CI is failing for a cargo audit issue, so I'm bypassing branch protections.


Wrong data shape and 2) Out of memory: 3D segmentation using 3_prediction.ipynb

Dear all
Thanks for the great work.
I am having two issues running StarDist 3D using the 3_prediction.ipynb

My data (example data provided here: https://drive.google.com/drive/folders/17q11-hAJjCs72YFbsVKoGve3e5nzXyJf?usp=sharing) appears to be the wrong shape. Any ideas for a simple fix?

X = sorted(glob('E:/DATA/MichaelShannon/SEUNGMAE_/TEST3DSTAR_12_6_2020/*.tif'))
X = list(map(imread,X))

n_channel = 1 if X[0].ndim == 3 else X[0].shape[-1]
axis_norm = (0,1,2)   # normalize channels independently
# axis_norm = (0,1,2,3) # normalize channels jointly
if n_channel > 1:
    print("Normalizing image channels %s." % ('jointly' if axis_norm is None or 2 in axis_norm else 'independently'))
Normalizing image channels jointly.
# show all test images
if True:
    fig, ax = plt.subplots(1,3, figsize=(16,16))
    for i,(a,x) in enumerate(zip(ax.flat, X)):
        a.imshow(x[x.shape[0]//2],cmap='gray')
        a.set_title(i)
    [a.axis('off') for a in ax.flat]
    plt.tight_layout()
None;
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-13-2cbf3faafc39> in <module>
      3     fig, ax = plt.subplots(1,3, figsize=(16,16))
      4     for i,(a,x) in enumerate(zip(ax.flat, X)):
----> 5         a.imshow(x[x.shape[0]//2],cmap='gray')
      6         a.set_title(i)
      7     [a.axis('off') for a in ax.flat]

~\.conda\envs\stardist\lib\site-packages\matplotlib\__init__.py in inner(ax, data, *args, **kwargs)
   1563     def inner(ax, *args, data=None, **kwargs):
   1564         if data is None:
-> 1565             return func(ax, *map(sanitize_sequence, args), **kwargs)
   1566
   1567         bound = new_sig.bind(ax, *args, **kwargs)

~\.conda\envs\stardist\lib\site-packages\matplotlib\cbook\deprecation.py in wrapper(*args, **kwargs)
    356                 f"%(removal)s.  If any parameter follows {name!r}, they "
    357                 f"should be pass as keyword, not positionally.")
--> 358         return func(*args, **kwargs)
    359
    360     return wrapper

~\.conda\envs\stardist\lib\site-packages\matplotlib\cbook\deprecation.py in wrapper(*args, **kwargs)
    356                 f"%(removal)s.  If any parameter follows {name!r}, they "
    357                 f"should be pass as keyword, not positionally.")
--> 358         return func(*args, **kwargs)
    359
    360     return wrapper

~\.conda\envs\stardist\lib\site-packages\matplotlib\axes\_axes.py in imshow(self, X, cmap, norm, aspect, interpolation, alpha, vmin, vmax, origin, extent, shape, filternorm, filterrad, imlim, resample, url, **kwargs)
   5613                               resample=resample, **kwargs)
   5614
-> 5615         im.set_data(X)
   5616         im.set_alpha(alpha)
   5617         if im.get_clip_path() is None:

~\.conda\envs\stardist\lib\site-packages\matplotlib\image.py in set_data(self, A)
    697                 or self._A.ndim == 3 and self._A.shape[-1] in [3, 4]):
    698             raise TypeError("Invalid shape {} for image data"
--> 699                             .format(self._A.shape))
    700
    701         if self._A.ndim == 3:

TypeError: Invalid shape (2, 10, 1024, 1024) for image data

I tried running prediction anyway, and find that I get an out of memory error.

Is this because my tensorflow/CUDA is not communicating with the GPU?
img = normalize(X[2], 1,99.8, axis=axis_norm)
labels, details = model.predict_instances(img)
img = normalize(X[2], 1,99.8, axis=axis_norm)
labels, details = model.predict_instances(img)
---------------------------------------------------------------------------
MemoryError                               Traceback (most recent call last)
<ipython-input-6-8679c3cd7667> in <module>
----> 1 img = normalize(X[2], 1,99.8, axis=axis_norm)
      2 labels, details = model.predict_instances(img)

~\.conda\envs\stardist\lib\site-packages\csbdeep\utils\utils.py in normalize(x, pmin, pmax, axis, clip, eps, dtype)
     50     """Percentile-based image normalization."""
     51
---> 52     mi = np.percentile(x,pmin,axis=axis,keepdims=True)
     53     ma = np.percentile(x,pmax,axis=axis,keepdims=True)
     54     return normalize_mi_ma(x, mi, ma, clip=clip, eps=eps, dtype=dtype)

<__array_function__ internals> in percentile(*args, **kwargs)

~\.conda\envs\stardist\lib\site-packages\numpy\lib\function_base.py in percentile(a, q, axis, out, overwrite_input, interpolation, keepdims)
   3704         raise ValueError("Percentiles must be in the range [0, 100]")
   3705     return _quantile_unchecked(
-> 3706         a, q, axis, out, overwrite_input, interpolation, keepdims)
   3707
   3708

~\.conda\envs\stardist\lib\site-packages\numpy\lib\function_base.py in _quantile_unchecked(a, q, axis, out, overwrite_input, interpolation, keepdims)
   3824     r, k = _ureduce(a, func=_quantile_ureduce_func, q=q, axis=axis, out=out,
   3825                     overwrite_input=overwrite_input,
-> 3826                     interpolation=interpolation)
   3827     if keepdims:
   3828         return r.reshape(q.shape + k)

~\.conda\envs\stardist\lib\site-packages\numpy\lib\function_base.py in _ureduce(a, func, **kwargs)
   3401         keepdim = (1,) * a.ndim
   3402
-> 3403     r = func(a, **kwargs)
   3404     return r, keepdim
   3405

~\.conda\envs\stardist\lib\site-packages\numpy\lib\function_base.py in _quantile_ureduce_func(a, q, axis, out, overwrite_input, interpolation, keepdims)
   3864             ap = a.flatten()
   3865         else:
-> 3866             ap = a.copy()
   3867
   3868     if axis is None:

MemoryError: Unable to allocate 20.3 GiB for an array with shape (1024, 1024, 10400) and data type uint16

Thanks for helping with this - looking forward to getting this running :)
Michael

Hi Michael,

My data (example data provided here: https://drive.google.com/drive/folders/17q11-hAJjCs72YFbsVKoGve3e5nzXyJf?usp=sharing) appears to be the wrong shape. Any ideas for a simple fix?

I can reproduce that one of your images is opened with seemingly wrong shape in Python. I don't know why that happens, but I've found that simply re-saving the image as a Tiff file from Fiji solves the problem, i.e. it then loads correctly in Python.

I tried running prediction anyway, and find that I get an out of memory error.

Is this because my tensorflow/CUDA is not communicating with the GPU?

No, this is also related to the wrong image shape and should go away.

Hi Uwe
This was absolutely the problem. I'm very thankful that you helped me solve it.
Slidebook software appears to save the files in a tif format that is incompatible with python. Perhaps this is a column ordering problem, or something like that. Anyway it doesn't seem solvable in slidebook, so the best solution is to resave in imageJ after export.
Thanks again,
Michael


API QoL

Added transparent, size, and parent kwargs to CEFPanda.
Translating mouse position through scene graph into CEFPanda coordinates.

Thanks!


more examples

Please show example in vector
for example SDL draw lines

I'm afraid I don't quite understand what you're saying, could you please elaborate a bit?
Do you mean I should give an example of how to use libschrift with SDL?
Or do you mean I should give an example of outputting a vector graphic instead of a bitmap graphic? Because the latter is not something libschrift is meant to do.

It may be interesting to split libschrift into two libraries: one library for rending rasters and one library for the rest, which could then be used for implementing other rendering methods such as to vector graphics.

I'm sorry, but I'll have to close this issue,
since it is too vague to act upon and the original poster won't clarify.
Mattias' suggestion should probably be a separate issue anyway.


feat(linter): initialize resolver lazily and automatically read tsconfig.json for now

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

#2482  👈
#2481
main

This stack of pull requests is managed by Graphite.

Merge activity

Feb 23, 10:13 AM EST: Graphite rebased this pull request after merging its parent, because this pull request is set to merge when ready.


Restoration of hyperscale database

Recently, we have migrated our Database from business critical tier to hyperscale tier.
But when we wanted to have a point in time restoration DB of before migration, unable to take backup.
throws error as the destination DB is mismatched to the current DB.
Kindly help me on backup.
Note:Retention of DB is 35 days.

@saiteju428  Please help with the link to the document on which the above document feedback request is created.
In case your query is not related to document content, open a new forum thread in Microsoft Q&A or Stack Overflow as it could be better place to get help on your scenario. These forum community members could provide their expert guidance on your scenario based on their experience. Thanks.

Hi @CHEEKATLAPRADEEP-MSFT ,
I was trying to find in docs, for the scenario i mentioned.
But unfortunately, i was unable to find any docs.
I raised a forum request on the same.
https://docs.microsoft.com/en-us/answers/questions/982800/restoration-of-hyperscale-database.html

@saiteju428  We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


"Paste text without format" doesn't work when invoked from keyboard and text was copied from another app

When using libreoffice:
What works right:

I can use the option to paste without format from my mouse:

Right click
Special paste
Text without format

It works fine, regardless of the text being copied from the already opened window in libreoffice, or from another app (like firefox)

If I just paste using Ctrl + v, it works fine regardless the app it was copied from

If I use:

Shift Ctrl + v
Text without format

It works fine only if the text was copied from within the already opened/focused libreoffice window/document.

What doesn't work fine:
It doesn't work fine if I use:

Shift Ctrl + v
Text without format

and text was copied from another app, like the browser.

The pop-up window for the special paste options in libreoffice always appears properly on the screen. It is just that when "invoked" from the keyboard instead of the mouse, and the text was copied from another app, it doesn't paste it in the document.

Tested on

libreoffice-still 7.4.6-2
hyprland 0.25.0-1

But it's been happening since previous versions of libreoffice-still and hyprland.
I was using the hyprland-git package before, I think at least from v0.22. I don't remember the libreoffice versions, but this has never worked with hyprland for me.
It works fine on gnome.
I'm running Arch with asus linux g14 kernel v. 6.2.12 (but it has been happening as well with stock kernels, both with older kernel versions as well).

does it work in sway-git?

does it work in sway-git?

Honestly, I don't know. I don't have any configs for sway and just installing it with its dependencies detected with yay I can't log into sway. So I can't really test it.
Is it a requirement for reporting hyprland issues to taste them in sway? If that is the case, maybe I should look into how to set up sway, but I can't do it right now.

it's not a requirement but helps in checking whether it's a hl issue or a wlroots issue

it's not a requirement but helps in checking whether it's a hl issue or a wlroots issue

Well, it was a good idea indeed. I spawned a VM with fedora sway, installed libreoffice and... same behaviour as described here.
Where should I report that?

hi,
same problem here. Did you find any solution?

hi, same problem here. Did you find any solution?

I created this issue on wl-roots gitlab but so far no response. Could you also comment there that you experience the same problem?

hi, same problem here. Did you find any solution?

I created this issue on wl-roots gitlab but so far no response. Could you also comment there that you experience the same problem?
EDIT: Reopen: miss-clicked the close with comment button

hi, same problem here. Did you find any solution?

I created this issue on wl-roots gitlab but so far no response. Could you also comment there that you experience the same problem?
EDIT: Reopen: miss-clicked the close with comment button

So, is this a wl-roots issue?
If so, should this issue be closed?


fix capitalisation in brand names

Nuget -> NuGet, .Net -> .NET etc

OCD must've been tweakin ya.


Add blog to projects list

Switch out todowheel with the blog, write a few details about it

superseded by #40


Xamarin.Android Designer throws java.lang.ClassNotFoundException when using CoordinatorLayout

Xamarin.Android Version (eg: 6.0):
<IP_ADDRESS>
Operating System & Version (eg: Mac OSX 10.11):
Windows 10 1809
Support Libraries Version (eg: 23.3.0):
28.0.0
Describe your Issue:
Updating Support libraries from <IP_ADDRESS> to 28.0.0 broke the Xamarin.Android designer ability to render layouts with a CoordinatorLayout.
Steps to Reproduce (with link to sample solution if possible):
Reference Xamarin.Android.Support.Design 28.0.0 and use CoordinatorLayout in a layout then look at the layout using the Xamarin.Android Designer. The same layout renders correctly while referencing Xamarin.Android.Support.Design <IP_ADDRESS>.
The following layout reproduces the error:
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
    xmlns:android="schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">
</android.support.design.widget.CoordinatorLayout>

Include any relevant Exception Stack traces, build logs, adb logs:
Clicking the "Show Error" button in the designer displays:
mono.android.LibraryClassLoader.loadAndConvertClass(LibraryClassLoader.java:89)
mono.android.LibraryClassLoader.findClass(LibraryClassLoader.java:57)
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
android.support.design.widget.CoordinatorLayout.setupForInsets(CoordinatorLayout.java:3213)
android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:226)
android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:201)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

I had similar issues with BottomNavigationView samples.
Classic workarounds like deleting bin/ and ob/ sometimes helped.
If possible please submit minimal sample, so we can speed up investigation.

I have the same problem on Windows. All Visual Studio updates have been applied. Dropping target API to 8.1 solves the designer issue.

Can confirm this issue. Designer became broken on updating to support 28 and targeting Pie.

@moljac Is there any status update on this issue? Is there any way that we could participate in the fixing of this issue? Android designer going down on so many of my views is gonna kill my team.

Guys due installing packages which require me to upgrade to V9 of android I cannot do any designing at this moment. PLEASE address this issue. Is it a Visual Studio issue? Xamarin related? DOes 28.0.1 fix the problem?

@Ruud-cb @hunter-digital @tbalcom @DearXxGitHub @RonPeters
can you send me detailed info about Visual Studio Version, Xamarin.Android and Xamarin.Android Designer please?

And please just create small repro sample, put it in a public repo and paste links to the repo[s] here.

@moljac here are the reproduction steps, installed versions and a example. Hope you can solve the mystery soon!
https://github.com/Ruud-cb/Reproduction_Android9_DesignIssue

Create a new Xamarin Android project and target Pie 9.0. The application template actually targets 8.1 instead of 9.0, so change it in the Android Manifest tabs and Application tab to target 9.0. Rebuild. The designer works. Now go to Nuget package manager. You'll see that there is the opportunity to update Xamarin.Android.Support.Design from v27 to v28. Install the update and rebuild. Designer no longer works. Downgrade the app target to 8.1. Designer works again.

@Ruud-cb @RonPeters @hunter-digital @DearXxGitHub @tbalcom
Designer team says it was fixed. My tests cause no exception but empty designer surface (nothing is rendered), so I escallated to core Xamarin.Android team. I hope we'll get more insight s soon.
related:
https://github.com/xamarin/AndroidSupportComponents/issues/163#issuecomment-477923621
I asked both Designer and Xamarin.Android teams for more information.

The issue is fixed in Visual Studio 2019 16.0.0 (with designer <IP_ADDRESS>3) but still broken in Visual Studio 2017 15.9.11 (with designer 4.16.30).

Xamarin.Android Version (eg: 6.0):
<IP_ADDRESS>
Operating System & Version (eg: Mac OSX 10.11):
Windows 10 1809
Support Libraries Version (eg: 23.3.0):
28.0.0
Describe your Issue:
Updating Support libraries from <IP_ADDRESS> to 28.0.0 broke the Xamarin.Android designer ability to render layouts with a CoordinatorLayout.
Steps to Reproduce (with link to sample solution if possible):
Reference Xamarin.Android.Support.Design 28.0.0 and use CoordinatorLayout in a layout then look at the layout using the Xamarin.Android Designer. The same layout renders correctly while referencing Xamarin.Android.Support.Design <IP_ADDRESS>.
The following layout reproduces the error:
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout
    xmlns:android="schemas.android.com/apk/res/android"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    android:fitsSystemWindows="true">
</android.support.design.widget.CoordinatorLayout>

Include any relevant Exception Stack traces, build logs, adb logs:
Clicking the "Show Error" button in the designer displays:
mono.android.LibraryClassLoader.loadAndConvertClass(LibraryClassLoader.java:89)
mono.android.LibraryClassLoader.findClass(LibraryClassLoader.java:57)
java.lang.ClassLoader.loadClass(ClassLoader.java:424)
java.lang.ClassLoader.loadClass(ClassLoader.java:357)
android.support.design.widget.CoordinatorLayout.setupForInsets(CoordinatorLayout.java:3213)
android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:226)
android.support.design.widget.CoordinatorLayout.(CoordinatorLayout.java:201)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)

I can reproduce this as well on latest version, Microsoft Visual Studio Community 2019 Version 16.5.2 on a new Project from template, these are the steps:
Create new project
Android App (Xamarin)
Tabbed App
Build Solution
Browse the solution Explorer under Resources- Layout - Activity_Main.xml
The designer is working.
Go to Application Properties, change Target Framework to Android 10
Open Manage nuGet Packages for the App, Perform all the updates
Save and exit Visual Studio
Re-Open visual Studio and open the project.
Build - Clean Solution
Build - Rebuild App
This one is failing with error
Severity	Code	Description	Project	File	Line	Source	Suppression State
Error		Could not find 9 Android X assemblies, make sure to install the following NuGet packages:

Xamarin.AndroidX.Lifecycle.LiveData
Xamarin.Google.Android.Material
You can also copy-and-paste the following snippet into your .csproj file:

	NewApp			Build

So I closed visual Studio, opening the .csproj with notepad added the two PackageReference I copied from the error message.
Open Visual studio, use the nuget Dependencies manager on the App to Perform the updates
Build - Rebuild Solution
Failing with this error
Severity	Code	Description	Project	File	Line	Source	Suppression State
Warning		Could not find 1 Android X assemblies, make sure to install the following NuGet packages:

Xamarin.AndroidX.AppCompat.Resources
You can also copy-and-paste the following snippet into your .csproj file:
	NewApp			Build

Again losed visual Studio, opening the .csproj with notepad and added the PackageReference
Open Visual studio, use the nuget Dependencies manager on the App to Perform the updates
Build - Clean Solution
Build - Clean App
Build - Build App
Build Succeeded, Whenever I try to open the editor on Resources\Layout\activity_main.xml I am seeing the message
"Could not load control from the Android Support Library. performing a NuGet restore may fix this."
The widget at bottom is not shown as result of the error.
You can find the resulting source that will include the "broken" design at https://github.com/alessandro-lion/NewApp


DKMS builds without needing to install the driver

For containerized builds (which usually don't have the driver or kernel source installed inside the container), it would be nice to be able to build the deb dkms package without needing to mount /usr/src/ and /lib/modules/. It seems like that should be possible since DKMS shouldn't need to do any actual "building" per-se until the package is installed. But it's possible I'm misunderstanding how DKMS works.

@pakmarkthub mind taking a look?

Ok, I will have a look. Maybe we can simply set the package to source only and properly trigger make during installation.

Closing this issue as the PR has been merged.


[V3] Elyses Enchantments: fix everything around this exercise

Reviewers, please spell/grammar check
Related #1017
Changes

Add blurb for exercise name to exercise config.json
Add blurb for strings to concept config.json
Add stub design document
Add about.md
Completely rework the tests for the test-runner

/format

I'm going to merge this. We can make further improvements in further PRs.


Isolate the code of cname management and add it to the changes we did to the library to have it included for the new version correct

[ ] Isolate the code of cname management and add it to the changes we did to the library to have it included for the new version correct

Acceptance testing

[ ] Make sure cname is working fine as well as all the functionalities of the library

@akramsarkis To test this on sections backend prod, you simply replace the project id in the APIs by the website domain

@akramsarkis To test this on sections backend prod, you simply replace the project id in the APIs by the website domain

@mahfouzhseineweev  I saw your comment for cname, I tried with Maiori website for example the endpoint to get pages, and instead of the project ID, I used the domain ( I updated it in bo section to be the one of the site not localhost ) , it returned a 200 but with an empty list of page
is this because it needs a specific configuration to return indeed the pages ? and the fact that it returns a 200 means that the backend is deployed on prod ?
For get section type it is working fine, it returns the section types listing

@akramsarkis The test you will be performing is on the meta sections project we have that is using sections dev.
For the acceptance testing, you need to cover all the features that were added recently to the library and used on Maiori website such as the QS management, global section types including all its features.
And of course a sanity test on Sections add edit delete section types / add edit delete page / edit page metadata etc...
So in short both the cname update and the last version of nuxt sections 1.0.11 must be available in this update

@mahfouzhseineweev
Here the steps I followed

I created a new project on section dev
In project info i added for domain project1.saas.k8s-dev.geeks.solutions.com so including k8s-dev.geeks.solutions.com sub domain used by meta section
For the magic url I added https://project1.saas.k8s-dev.geeks.solutions.com
I saved the project info successfully
I tried to access the site clicking on Connect to my site and got the below

Am I doing something wrong ?

I created 2 projects that has as sub domain the one of the cname then for each I added a magic url including the domain and accessed the site  and was able to create and edit pages and save them

However when accessing the settings and clicked on the media component to add a faveicon  I saw that like for geeks website the media navigator is broken and needs to be fixed

3)You need to fix the management of the options for the sections like you did in geeks website as now I cannot save page, so this should work automatically when using cname site

You need to fix the management of the options for the sections like you did in geeks website as now I cannot save page, so this should work automatically when using cname site

@akramsarkis We can not put this point as a QA here as it is not related.
Let us move this point to the issue related to the sections that should be publicly available for meta sections as most of the current ones will be removed if I am not wrong

I created 2 projects that has as sub domain the one of the cname then for each I added a magic url including the domain and accessed the site and was able to create and edit pages and save them
However when accessing the settings and clicked on the media component to add a faveicon I saw that like for geeks website the media navigator is broken and needs to be fixed

What are the 2 projects you created ? @akramsarkis
And for media component problem is it also reproducible on the meta sections dev site for all medias and the favicon one ? http://sectionswebsite-saas.k8s-dev.geeks.solutions/

As requested the second point was moved to the CSS issue https://github.com/Geeks-Solutions/nuxt-sections/issues/69 and the media navigator is now showing correctly, so closing the cname issue


#176 - Showing Boostrap Alert when note is empty

Related Issue

Issue #176 - Showing Boostrap Alert when the note is empty

Closes: #176
Describe the changes you've made
Added an alert div in the HTML and added logic to show and dismiss the alert in javascript when the note is empty.
Describe if there is any unusual behavior of your code(Write NA if there isn't)
NA
Checklist:

[x] My code follows the style guidelines of this project.
[x] I have performed a self-review of my own code.
[x] I have commented on my code, particularly in hard-to-understand areas.

Hi @Vishal-raj-1
Yes it will only appear when user clicks add note and title is missing. And if there's alert shown and then user types something it will dismiss. You can let me know if any changes required.

@mtwn105 Great !! You can enable github page for your forked repo, and it here everytime you raise a PR . It will easy for me to review

Sure.. @Vishal-raj-1 You can see changes here https://mtwn105.github.io/Awesome-JavaScript-Projects/

It doesn't show bootstrap alert box.

Hi @Vishal-raj-1 seems like my changes were overridden and removed after you backmerged main into forked branch.

You can check now and merge this one @Vishal-raj-1 @urvashi-code1255

@mtwn105 Could you please send one videoclip ? I am not able to add note.

Thanks for your contribution @mtwn105


How to find ruff binary

I have run pylsp and connected from Neovim builtin language server. Previously I got ruff diagnostics just by having ruff installed and available in my $PATH.
But lately I don't seem to get any ruff diagnostics. How can I investigate if pylsp is finding ruff?

Did you install pylsp and pylsp_ruff in a dedicated environment, or did you install it system-wide?
If you know in which venv your pylsp executable comes from, you can enter that venv and check if pylsp_ruff can be imported, e.g. python -c "import pylsp_ruff;print(pylsp_ruff.__file__)". Do the same for ruff.
If both are found, you can try to dig through the pylsp logs for any ERRORs, you can use the configuration in the README: https://github.com/python-lsp/python-lsp-ruff?tab=readme-ov-file#debugging

Thanks for the hold on how to diagnose this!
This type I was able to solve it in a nix shell environment after adding the nixpkgs_py.python-lsp-ruff package.


Update 'google/apiclient' to ^2.4 to sort PHP 7.4 issue with 'implode…

I have tested this dependancies update on PHP 7.4.4, PHP 7.3.16 and PHP 7.2.29 in relation to issue https://github.com/rainlab/googleanalytics-plugin/issues/93.

NOTE: It has not been tested with PHP 7.0 and PHP 7.1.

October still technically supports 7.0 until the Laravel 6 upgrade is pushed as a build so this will have to wait until that happens unless you can also test it with 7.0 & 7.1.

Fixes #93

@grafxflow can you also bump the version file using "Fixed issues with PHP 7.4 compatibility" as the update message? Then I should be able to merge it and get it released on the marketplace.

Just to add an information:
Viewing the APIClient's releases, it seems like ^2.2.4 is the requirement for PHP 7.4 compatibility.
But higher is good if it doesn't provide new issues.


ActionBar: Add new component for submenu

Closes #https://github.com/github/primer/issues/3132
This makes use of new capability in ActionMenu to have Submenus. We can use it to make sure that menus are supported with IconButton trigger in the ActionBar. The intent is to be able to convert it into a SubMenu when the overflow behaviour kicks in.
New
https://github.com/primer/react/assets/417268/cb59f7c8-f634-47b7-8a3a-0c2c0f094daa
Rollout strategy

[x] Patch release
[ ] Minor release
[ ] Major release; if selected, include a written rollout or migration plan
[ ] None; if selected, include a brief description as to why

Testing & Reviewing
Check out the new submenu story.
Merge checklist

[ ] Added/updated tests
[x] Added/updated documentation
[x] Added/updated previews (Storybook)
[ ] Changes are SSR compatible
[x] Tested in Chrome
[x] Tested in Firefox
[x] Tested in Safari
[ ] Tested in Edge
[ ] (GitHub staff only) Integration tests pass at github/github (Learn more about how to run integration tests)

I'm still waiting for this PR to get merged for this one to be viable.https://github.com/primer/react/pull/4486

Removing myself from the reviewers for now, feel free to add back in when the manage to merge back the nested menus 🙌🏻


FEATURE REQUEST: User defined examples

Allow users to create local usage examples for specific tldr entries.
I use a few commands all the time, but can't remember the syntax for. So I look at the tldr page, only to realize the exact use case I need isn't documented. I could post a pull request to tldr-pages, but "polluting" the tldr pages viewed by thousands with my specific usage cases wouldn't be ideal.
I know I can just edit the pages manually in .local/share/, or write a script that appends my changes after every update, but I would prefer for it to be more organized, portable and future proof. I also doubt I am the only one with this problem.

Done at v0.3.0
https://github.com/dvinciguerra/tldr-cli/releases/tag/v0.3.0


Add support for value files

Helm supports setting value overrides on the command line, and also giving files containing additional values. Can you please add support for value files?
I have about 10 deep path values to set per environment for deployment, and setting these with files would keep the drone.yaml clean.
Suggested entry:
valueFiles: [ '/path/to/file1', '/path/to/file2' ]

fixed in last merge


Encoding Problem

I have a french MDB, using probably not an UTF-8 encoding. If I read the table 'tTour', i see:
{ NoTour: 1, NomTour: 'Engagement' }
{ NoTour: 2, NomTour: 'S�rie' }
{ NoTour: 3, NomTour: '16�me f.' }
{ NoTour: 4, NomTour: '8�me f.' }
{ NoTour: 5, NomTour: 'Quart f.' }
{ NoTour: 6, NomTour: 'Semi f.' }
{ NoTour: 7, NomTour: 'Finale'

I suspect an iso8859-15.
the mdb source:
https://u.pcloud.link/publink/show?code=XZnIlkVZLG3ffaEEef4XDRskx2F5qyBGbHYV
Is there an option to set the encoding source ?

Hey @ellis2323,
Ideally, the library should handle the encodings correctly and you won't need to specify an encoding.
I'll take a look :eyes: Thanks for providing the database :)

I just released a new version that should fix your issue. There was a general issue with non-ascii characters.


[Static Marks - Bookmark Search] Be able to adjust yml within raycast

Extension
https://www.raycast.com/aerobless/static-marks
Description
It would be great if we can add or remove bookmarks from within Raycast
Who will benefit from this feature?
No response
Anything else?
No response

Yes that'd be neat, but I think it'll only work if you host the static marks file locally. Personally I use a remote file that I edit via GitHub.. so I won't be working on this. But if anyone else wants to build it I'd be happy to help review the code.


Too small font in react app with typescript example

I've based my app on  https://github.com/mui-org/material-ui/tree/v1-beta/examples/create-react-app-with-typescript
I'm trying to include very basic navbar:
const styles: StyleRulesCallback<'root'> = theme => ({
  root: {
    textAlign: 'center',
    paddingTop: theme.spacing.unit * 20,
  },
});

class App extends React.Component<WithStyles<'root'>, {}> {

  render() {
    return (
      <div className={this.props.classes.root}>

          <AppBar>
            <Toolbar>
              <Typography variant="title" color="inherit">
                 Title
              </Typography>
            </Toolbar>
          </AppBar>

      </div>
    );
  }
}

export default withRoot(withStyles(styles)<{}>(App));

It seems like all the fonts in material ui components are small. buttons, select, typograhy.
For example, why I see this:

instead of https://material-ui-next.com/demos/app-bar/
I mean why is the font so small?

The h2 element rendered by Typography has the correct font-size applied for that variant: 1.3125rem.
As a unit for font size, rem is a multiple of the default base font-size, typically defined for the html element.  Inspect your document, is there a font-size defined on your html element?

As an aside, this type of thing is perfect for StackOverflow.  If you post a question, you're likely to get some help.  There are a lot of active community members there.

People can disable this accessibility behavior by setting the following style:
html {
  font-size: 16px;
}


How to change tags text color?

I just created a website using the academic template and changed the default theme to "dark". However, the tag buttons have black text and it is hard to read them with the theme's dark background.

How can I change the tags text color in the theme's configuration?

Thanks for reporting this. It's now been fixed in the dark theme. You can update to the latest master version to get the fix.

I updated the theme using update_academic.sh and there was no change.

You can also view the changes here: https://github.com/gcushen/hugo-academic/commit/d886800a9ff3c904f70f5d6246a536b14fe42543

I don't have any css folder in themes/academic/layouts/
/themes/academic/layouts# ls
404.html  _default  home  index.css  index.html  partials  project  publication  rss.xml  section  shortcodes  sitemap.xml  talk

This is my academic.css: https://www.hackdown.me/Files/academic.css

@gcushen
Reinstalled the theme and works perfectly! Thank you very much for changing this!


Issue436 - Implement GQL data factory

Fixes #436

@trentmc I believe this PR might be good to review such that we can take the following steps next.
https://github.com/oceanprotocol/pdr-backend/issues/436#issuecomment-1853104454
The latest version from yaml-cli2 has already been merged, and many tests have been written to provide coverage for GQLDataFactory.
Cheers!

I believe this PR might be good to review such that we can take the following steps next.
https://github.com/oceanprotocol/pdr-backend/issues/436#issuecomment-1853104454

I have riffed on those steps to create epic #447 "Well-structured lake & analytics". The follow-up can be via that.

The following pattern was duplicated everywhere and breaking DRY. I fixed this temporarily, as the big fix/removal should be completed once we tackle #446
@enforce_types
def get_sapphire_postfix(network: str) -> str:
    """
    Returns the sapphire postfix based on the network name

    Args:
        network: the network string from ppss or the full network-string
    """

    if "main" in network:
        return "mainnet"
    elif "test" in network:
        return "testnet"
    else:
        raise ValueError(network, "is not a valid network")

I believe the following code isn't being used any longer inside => predictoor_agent_runner.py::_ppss
@enforce_types
def _ppss(tmpdir) -> PPSS:
    yaml_str = fast_test_yaml_str(tmpdir)
    ppss = PPSS(yaml_str=yaml_str, network="development")

    assert hasattr(ppss, "data_pp")
    ppss.data_pp = DataPP(
        {
            "timeframe": "5m",
            "predict_feeds": ["binanceus c BTC/USDT"],
            "sim_only": {"test_n": 10},
        }
    )
    assert hasattr(ppss, "data_ss")
    ppss.data_ss = DataSS(
        {
            "input_feeds": ["binanceus c BTC/USDT"],
            "parquet_dir": os.path.join("parquet_data"),
            "st_timestr": "2023-06-18",
            "fin_timestr": "2023-07-21",
            "max_n_train": 100,
            "autoregressive_n": 2,
        }
    )

    return ppss


Fix BuildProgressCrossVersionSpec

The 7.1-rc.1 is not newer than 7.1 but it already contains
the feature.

@bot-gradle test QF

OK, I've already triggered QuickFeedback build for you.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

@bot-gradle test and merge

OK, I've already triggered a build for you.

Pre-tested commit build failed.

Pretest failure is an obvious flake and I really want to unbreak things.

Hi @mlopatkin when you're fixing master you can of course merge directly.


Feat: reload is not required for multiple submissions

#126 #54 #88  and many more
Do not stop polling after successful submission. Now it listens to multiple submissions without reloading. Working fine for both the normal and explore section problems.

I think we can probably merge this? @QasimWani


bucket-image-resize example no longer working?

Any time I try to deploy this example, with no modifications, I get the following error:
Error: Cannot find asset at /Users/myuser/code/bucket-image-resize/layers/sharp
       at new AssetStaging (/Users/myuser/code/bucket-image-resize/node_modules/.pnpm/aws-cdk-lib@2.101.1_constructs@10.2.69/node_modules/aws-cdk-lib/core/lib/asset-staging.js:1:2119)
       at new Asset (/Users/myuser/code/bucket-image-resize/node_modules/.pnpm/aws-cdk-lib@2.101.1_constructs@10.2.69/node_modules/aws-cdk-lib/aws-s3-assets/lib/asset.js:1:1080)
       at AssetCode.bind (/Users/myuser/code/bucket-image-resize/node_modules/.pnpm/aws-cdk-lib@2.101.1_constructs@10.2.69/node_modules/aws-cdk-lib/aws-lambda/lib/code.js:1:4881)
       at new LayerVersion (/Users/myuser/code/bucket-image-resize/node_modules/.pnpm/aws-cdk-lib@2.101.1_constructs@10.2.69/node_modules/aws-cdk-lib/aws-lambda/lib/layers.js:1:2277)
       at EmptyStack.ExampleStack (file:///Users/myuser/code/bucket-image-resize/.sst.config.1699285640685.mjs:20:13)
       at stack (file:///Users/myuser/code/bucket-image-resize/node_modules/.pnpm/sst@2.34.7/node_modules/sst/constructs/FunctionalStack.js:20:35)
       at App.stack (file:///Users/myuser/code/bucket-image-resize/node_modules/.pnpm/sst@2.34.7/node_modules/sst/constructs/App.js:494:16)
       at Object.stacks [as fn] (file:///Users/myuser/code/bucket-image-resize/.sst.config.1699285640685.mjs:45:9)
       at synthInRoot (file:///Users/myuser/code/bucket-image-resize/node_modules/.pnpm/sst@2.34.7/node_modules/sst/stacks/synth.js:56:24)
       at async Module.synth (file:///Users/myuser/code/bucket-image-resize/node_modules/.pnpm/sst@2.34.7/node_modules/sst/stacks/synth.js:19:16)
       at async build (file:///Users/myuser/code/bucket-image-resize/node_modules/.pnpm/sst@2.34.7/node_modules/sst/cli/commands/dev.js:157:38)
       at async file:///Users/myuser/code/bucket-image-resize/node_modules/.pnpm/sst@2.34.7/node_modules/sst/cli/commands/dev.js:295:13
       at async Promise.all (index 0)
       at async Object.handler (file:///Users/myuser/code/bucket-image-resize/node_modules/.pnpm/sst@2.34.7/node_modules/sst/cli/commands/dev.js:322:9)

To recreate:

pnpm create sst --template=examples/bucket-image-resize
Name the project bucket-image-resize
cd bucket-image-resize
pnpm install
pnpm run dev

Is there an obvious mistake I'm making. It works with all other examples I've tried so far.

Btw for help on this issue, can you open a thread in #help on Discord.

I'm also having a similar problem with sharp.
@timmattison I believe your error is just that you are not creating the layer folder before running deploy.
You should check out this part of the tutorial:
https://arc.net/l/quote/umkiihcz
That said, the example still doesn't work even with the layer deployed correctly.
@jayair Just to give a little more context. I have a working app in production deployed with sst using sharp to resize images. Recently I redeployed the app after changing some logs (without changing any versions or logic) and the app broke. I'm not sure if the problem is with sst, sharp, aws, or esbuild... I even tried to recreate a minimal example from scratch, but nothing I try works anymore.
I hope someone can shed a light here.
I'll also try the discord help channel.
Thank you in advance for any help!

Just got support from discord and got it to work.
It seems that I was trying a broken build from the repo. https://github.com/Umkus/lambda-layer-sharp/releases
the version 0.32.6 seems to not work. When I tried version 0.32.1 everything worked as expected.
although the repo suggested in the discord thread seems more reliable: https://github.com/pH200/sharp-layer
here is what the code looks like:
  const bucket = new Bucket(stack, "Bucket", {
    notifications: {
      resize: {
        function: {
          handler: "packages/functions/src/resize.main",
          nodejs: {
            esbuild: {
              external: ["sharp"],
            },
          },
          layers: [
            new lambda.LayerVersion(stack, "SharpLayer", {
              code: lambda.Code.fromAsset("layers/sharp-0.32.3-x64.zip"),
              compatibleRuntimes: [lambda.Runtime.NODEJS_18_X],
              compatibleArchitectures: [lambda.Architecture.X86_64],
            }),
          ],
        },
        events: ["object_created"],
      },
    },
  });

maybe it would be a good idea to update the turorial.

We are transition this repo to https://github.com/sst/v2 and are closing this issue for now. If it is still relevant please reopen it there - sorry for the trouble


Edge DevTools stops working freezes on "The tab is inactive"

Environment (please complete the following information):

OS (e.g., Windows 10): MacOS Sequoia 15.0
Extension version (e.g., 1.2.3): 2.1.6

Describe the bug:
I installed the plugin in VSCode.  It was behaving properly for a few webpages, letting me browser through different sites in the DevTools browser.  Then it froze and stopped working.

Repro steps:
Launch DevTools browser for the first time right after installing the plugin.  Go to the default webpage it gives - AI Skills challenge.  Go through a couple of pages, clicking on forms.  Observer that the browser freezes and cannot interact with it.
Expected behavior:
Should be able to navigate through as many pages in the browser I want.
Additional context:

Hi,
As mentioned on the banner in the preview window. The preview window is intended for previewing changes in the UI of your app/site. It does not support advanced capabilities like webgl or authentication. For this you can use the full browser by  going into the extension settings and unchecking "Launch in headless" that way you will have a full browser and still continue to use the extension. Please feel free to reopen if this did not fixed your issue.


Update Composer dependencies (2019-11-13-00-10)

Visual regression test passed!
View the visual regression test report


Drop deprecated classes and methods

Parameters class
QueryBuilder#insertInto(String, Map) method
ResultSetAdapter#next() method
StreamAdapter class

This is resolved in version 9.5.


Sea water height data no longer works

It seems that FMI have made some change in the open data query for OAAS sea water height data, and the existing code stopped providing sea water level data around the 10th January.  I cannot find any explanation on FMI Open Data website to OAAS data provision, but by trial and error I noticed that a slight change in the query will make it work again.  I have also queried with FMI Open Data if they can provide more information.
In the meantime, it seems that the WFS queries for "fmi::forecast::oaas::sealevel::point::simple" now result in a "handler not found" error in the xml response to the query.  But if that is amended to fmi::forecast::sealevel::point::simple" then it works.
Therefore, at least for now, this issue can be addressed by modifying row 66 in const.py to the following, i.e. removing "OAAS" from the query format:
BASE_MAREO_FORC_URL = "http://opendata.fmi.fi/wfs?service=WFS&version=2.0.0&request=getFeature&storedquery_id=fmi::forecast::sealevel::point::simple&timestep=30&"

I got a response from FMI.  OAAS provision has indeed been stopped as part of phasing our Hiram weather models.  I have created a pull request that uses an updated URL that works: #65
Hope that is useful.

Fixed by #65.


one.vmgroup.update fails to update VM group configuration

Description
VM group configuration update evaluated as successful even though configuration change isn't performed.
To Reproduce
Steps to reproduce the behavior.

Create a new VM Group

$ cat vmgroup-example
NAME = "vmgroup-example"

ROLE = [
  NAME = "redis-placement",
  POLICY = "ANTI_AFFINED",
  HOST_AFFINED = "21,23"
]

$ onevmgroup create vmgroup-example
ID: 8

Update existing role's properties e.g., HOST_AFFINED.

--- vmgroup-example     2023-06-12 14:10:13.688849783 +0000
+++ vmgroup-example-update      2023-06-12 14:10:03.457843456 +0000
@@ -3,6 +3,6 @@
 ROLE = [
   NAME = "redis-placement",
   POLICY = "ANTI_AFFINED",
-  HOST_AFFINED = "21,23"
+  HOST_AFFINED = "21,22,23"
 ]

Update VM Group with or without --append

$ onevmgroup update 8 vmgroup-example-update && date
Mon Jun 12 14:14:16 UTC 2023

$ onevmgroup update 8 vmgroup-example-update --append && date
Mon Jun 12 14:22:22 UTC 2023

Check the API logs:
Mon Jun 12 14:14:16 2023 [Z0][ReM][D]: Req:8112 UID:0 IP:<IP_ADDRESS> one.vmgroup.update invoked , 8, "NAME = "vmgroup-exam...", 0
Mon Jun 12 14:14:16 2023 [Z0][ReM][D]: Req:8112 UID:0 one.vmgroup.update result SUCCESS, 8

Mon Jun 12 14:22:22 2023 [Z0][ReM][D]: Req:8592 UID:0 IP:<IP_ADDRESS> one.vmgroup.update invoked , 8, "NAME = "vmgroup-exam...", 1
Mon Jun 12 14:22:22 2023 [Z0][ReM][D]: Req:8592 UID:0 one.vmgroup.update result SUCCESS, 8

Listing VM Group properties shows old configuration

$ onevmgroup show 8
VM GROUP 8 INFORMATION
ID             : 8
NAME           : vmgroup-example
USER           : oneadmin
GROUP          : oneadmin
LOCK           : None
PERMISSIONS

OWNER          : um-
GROUP          : ---
OTHER          : ---

ROLES
ID   NAME     POLICY       AFFINED_HOSTS      ANTI_AFFINED_HOST  VIRTUAL_MACHINES
0    redis-pl ANTI_AFFINED 21,23              -

TEMPLATE CONTENTS
NAME="vmgroup-example"

Expected behavior
onevmgroup update 8 vmgroup-example-update updates AFFINED_HOSTS to 21,22,23 or fails with an appropriate message.
Details

Affected Component: oned vmgroup.update
Hypervisor: KVM
Version: <IP_ADDRESS>-1.el8.x86_64

Additional context
Initially tried management of the VM group via the Terraform provider and got this behavior; only then tried to reproduce it with onevmgroup.

Progress Status

[ ] Code committed
[ ] Testing - QA
[ ] Documentation (Release notes - resolved issues, compatibility, known issues)

The Role is not part of the TEMPLATE, so it can't be updated by the onevmgroup update command. Unfortunately, there is no way how to change the ROLE attributes. Changing this issue to a Feature request.
New xml-rpc API calls and corresponding commands for CLI, Java and go:

one.vmgroup.roleadd
one.vmgroup.roleupdate
one.vmgroup.roledelete


'Long' only refers to a type, but is being used as a namespace here.

getting this error in all the places where Long is used in side the directory
node_modules/cosmjs-types/tendermint

@webmaster128 Can you help me with this

Do you have long or @types/long installed in your project? We use both in version 4 (not 5!) and this seems to work.

Actually I installed osmojs, which has cosmjs/proto-signing as dependency and which inturn has dependency for cosmjs-types

an example error :
node_modules/cosmjs-types/cosmos/tx/signing/v1beta1/signing.d.ts:113:42 - error TS2702: 'Long' only refers to a type, but is being used as a namespace here.
113             sequence?: string | number | Long.Long | undef

@types/long makes this a namespace. So I guess there is something wrong with the dependency.
@pyramation do you have an idea what could be wrong with osmojs? Are you maintaining that?

we had a similar issue in osmojs but used import * as Long from 'long' which solved the issue. When the typescript compiler started to error out from cosmjs-types, I didn't know how to fix that as it is a dependency. However, it could end up getting fixed after https://github.com/confio/cosmjs-types/issues/40 with the same fix I just deployed.

@webmaster128 @pyramation What should i do now ?

@webmaster128 @pyramation What should i do now ?

I think you should leverage ts-ignore somewhere in your project.

Thanks @pyramation @webmaster128 looking forward for the cosmjs update soon

Thanks, @pyramation @webmaster128 looking forward for the cosm-js update soon

The latest release cosmjs-types 0.9.0 gets rid of long entirely. All 64 bit integers types use bigint now.


feat: 🎸 DottedButton Component, Story and Tests

:tada: This PR is included in version 3.2.0 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Degen Leverage Bot initialization Fails to hit Compass-EVM on ETH

I tried to run a transaction for Degen Leverage bot initialization but it didn't come to Ethereum.
Tx hash on Paloma is 3F2D94D03B868372A0405B14A60986915F9F0497D29A27EEFB4351FC0092A311
Compass-EVM on ETH: https://etherscan.io/address/0x652bf77d9f1bda15b86894a185e8c22d9c722eb4

This is a consequence of https://github.com/VolumeFi/paloma/issues/1501
Closing in favour of #1501


[service-bus] T2 - revert back to lazy-initialization model for .createSender()

This PR reverts the change we made to make createSender() an async method.
Originally the plan was to change all the create*() methods on ServiceBusClient to be async, forcing the connection and link to be fully initialized before the Sender or Receiver was returned to the caller.
For session receivers this step was necessary to provide the user a guarantee that if they had a SessionReceiver that it would be usable since we'd have already done the work of acquiring the session lock (named session) or were able to acquire an available session (ie, user did not specify a session id).
We've decided to go a different route for the Sender and expose an .open() method (basically what we did in track 1). The benefit to the user is that they can now choose between lazy initialization (do not explicitly call open()) and non-lazy initialization (call open()).

/azp run js - servicebus - tests

/azp run js - servicebus - tests

A few minor comments, also wanted to check if we have tests for open() now that it's a public API.

I think we're okay on the open() tests primarily because it's the same API we call internally when we initialize on the user's behalf (ie, lazy initialization). So it's pretty well covered by default.

/azp run js - servicebus - tests

Live tests passed before and all I've done is rename an options struct and update docs. I'm going to merge after CI passes.
CC: @ramya-rao-a , @chradek

@richardpark-msft, Can you close #8299 after giving our justification for the change to createSender and the justification for createSessionReceiver being different?

/check-enforcer evaluate


claude-3-5-sonnet-20240620 supports PDFs

Spotted on https://docs.anthropic.com/en/docs/build-with-claude/pdf-support#supported-platforms-and-models

PDF support is currently available on both Claude 3.5 Sonnet models (claude-3-5-sonnet-20241022, claude-3-5-sonnet-20240620) via direct API access.

But in our code:
https://github.com/simonw/llm-claude-3/blob/c62bf247fa964ff350badf5424743ddca7601d4a/llm_claude_3.py#L30-L37

I manually tested like this:
llm -m claude-3-5-sonnet-20240620 -a 'https://static.simonwillison.net/static/2024/example-devday.pdf' ocr

Got back:

This image shows a ticket for the OpenAI DevDay event. Here are the key details:

Event: OpenAI DevDay
Date: Monday, Nov 6, 2023
Time: 8:30AM
Location: SVN West, 10 Van Ness Avenue
Guest Name: Simon Willison
Ticket Number: T882307-11011993-01-11114170-231006

The ticket includes a QR code, likely for easy scanning at the event entrance. There's also a note at the top asking attendees to print and bring the ticket with them.
At the bottom of the ticket, there's a website URL: events.openai.com/devday
The overall design is simple and clean, with the essential information clearly presented in a black and white format.


Extract embed element

Add Embed element, which can be re-used later on
Additional test cases for EmbeddedParser.build
Additional test cases for EmbeddedParser.supported?
Rename some internal methods in EmbeddedParser

+1

+1


Bunch of Plutip tests for CTL Test Plan Coverage

#1080
Pre-review checklist

[x] All code has been formatted using our config (make format)
[x] Any new API features or modification of existing behavior is covered as defined in our test plan
[x] The changelog has been updated under the ## Unreleased header, using the appropriate sub-headings (### Added, ### Removed, ### Fixed), and the links to the appropriate issues/PRs have been included

@klntsky
Couple of questions.

Why do we need to distinguish between Ctl.Internal.Types.Transaction (TransactionHash) and Ctl.Internal.QueryM.Ogmios (TxHash)
Why getTxByHash decodes content of GetTxByHashR into Transaction, while for Datum content is already decoded in GetDatumsByHashesR?

Why do we need to distinguish between Ctl.Internal.Types.Transaction (TransactionHash) and Ctl.Internal.QueryM.Ogmios (TxHash)

The first one is cardano domain, the second is ogmios query domain

Why getTxByHash decodes content of GetTxByHashR into Transaction, while for Datum content is already decoded in GetDatumsByHashesR?

In ogmios domain, tx is base64 string and not json.

@klntsky
I think mkCurrencySymbol has an issue in it, cuz when I use it for Arbitrary generation it generates a bunch of such messages:
Deserialization failed in ScriptHash because: Invalid cbor: expected tuple 'hash length' of length 28 but got length Len(2).
I think the problem is that imported Rust code for scriptHashFromBytes prints the error while not raising an exception here:
scriptHashFromBytes (wrap byteArr) $> CurrencySymbol byteArr
By removing  scriptHashFromBytes I am geting rid of the error, but I am not sure it is the right way.

@uhbif19

I think mkCurrencySymbol has an issue in it, cuz when I use it for Arbitrary generation it generates a bunch of such messages:

No, it's a bug in Internal/Serialization/Hash.js. Of course we should not allow any console.log there. Could you please remove these calls in this PR?

By removing scriptHashFromBytes I am geting rid of the error, but I am not sure it is the right way.

No, it's not.


remove references to 'tailcoat' from all readmes

since ArcGIS/tailcoat isn't a public repository, it would be a good idea to remove references to the projects landing page from the main readme for this repository (and the readmes for individual widgets)

+1 tailcoat is not for public consumption.


Update edstays.md

edstays table does not include diagnoses of the patients.

Thanks for the contribution @MEl3dwi !


fix: make set_active_gateway concurrency safe

fixes #4110
just put a lock around it for now
return error on concurrent calls

i am conflicted with return Error and using lock
error might help you find concurrent calls with set_active_gateway, but lock feels more correct semantically

Why not get rid of set_active_gateway altogether?

i am conflicted with return Error and using lock

Why not auto-commit, if you want to avoid the error case? I don't think it makes sense though, just as the lock version.
In order of preference:

Remove the active GW concept
Fail on concurrent writes
Autocommit
Locking

we still have to keep active gateway in fedimint-cli because of devimint

Relevant discussion in https://github.com/fedimint/fedimint/issues/3844


KAFKA-9074: Correct Connect’s Values.parseString to properly parse a time and timestamp literal

Time and timestamp literal strings contain a : character, but the internal parser used in the Values.parseString(String) method tokenizes on the colon character to tokenize and parse map entries. The colon could be escaped, but then the backslash character used to escape the colon is not removed and the parser fails to match the literal as a time or timestamp value.
This fix corrects the parsing logic to properly parse timestamp and time literal strings whose colon characters are either escaped or unescaped. Additional unit tests were added to first verify the incorrect behavior and then to validate the correction.
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@rhauch the changes here look good but I think they're insufficient for nested values. I've written a couple of failing tests that fail on the code in this PR to demonstrate my point:
    @Test
    public void shouldParseDateStringAsDateInArray() throws Exception {
        String dateStr = "2019-08-23";
        String arrayStr = "[" + dateStr + "]";
        SchemaAndValue result = Values.parseString(arrayStr);
        assertEquals(Type.ARRAY, result.schema().type());
        Schema elementSchema = result.schema().valueSchema();
        assertEquals(Type.INT32, elementSchema.type());
        assertEquals(Date.LOGICAL_NAME, elementSchema.name());
        java.util.Date expected = new SimpleDateFormat(Values.ISO_8601_DATE_FORMAT_PATTERN).parse(dateStr);
        assertEquals(Collections.singletonList(expected), result.value());
    }

    @Test
    public void shouldParseTimeStringAsDateInArray() throws Exception {
        String dateStr = "14:34:54.346Z";
        String arrayStr = "[" + dateStr + "]";
        SchemaAndValue result = Values.parseString(arrayStr);
        assertEquals(Type.ARRAY, result.schema().type());
        Schema elementSchema = result.schema().valueSchema();
        assertEquals(Type.INT32, elementSchema.type());
        assertEquals(Date.LOGICAL_NAME, elementSchema.name());
        java.util.Date expected = new SimpleDateFormat(Values.ISO_8601_TIME_FORMAT_PATTERN).parse(dateStr);
        assertEquals(Collections.singletonList(expected), result.value());
    }

If these cases should be handled for times and timestamp literals, can we address them in this PR as well?

Thanks, @C0urante. I've added your suggested tests plus a few more.

Retest this, please.

The previous build passed on JDK 8, and failures on other two were unrelated. But retesting anyway.
@hachikuji, would you mind reviewing this? #7284 is blocked by this. Thanks!

The JDK 11 / Scala 2.13 had this unrelated failure:
Test Result (1 failure / +1)
  kafka.api.SslAdminClientIntegrationTest.testSynchronousAuthorizerAclUpdatesBlockRequestThreads

What's the status of this PR? Is this ready to merge once the flaky tests pass? I am waiting for this in order to finish the PR #7284
Regards.

@alozano3, we missed AK 2.4 code freeze for this PR, and because it needs to be backported to older branches we're waiting to merge this to master until we can backport to the 2.4 branch.