Scrolling slider on X axis doesn't prevent page from scrolling on Y axis.

When I'm scrolling MS horizontally page scrolls vertically with it and when I'm scrolling page vertically and stumble upon slider the slider scrolls horizontally.
This leads to performance issues and bad UX experience. Is there a way to prevent this behavior on mobile devices? All my eventListeners are passive so I can't use prevent.default. I'm experimenting with touch-action but I'm new to coding and make almost everything through trial and error.
Here is a sample video : https://youtu.be/Grr7t1Kt-qA

Sorry, but I can't understand the issue very well.
Can you make a reproducible demo on codepen or jsfiddle, so I can take a better look?

Here's the demo: jsfiddle.
Please view it on a mobile device.
When you scrolling down the page and put a finger over the slider, the slider scrolls vertically while the page scrolls down further. I want to disable the slider from scrolling left/right while you scroll the page down just like in the swiperjs.

I can understand the issue now, and I think it is a valid issue.
So, I've done some work to fix it.
Can you try the latest version, and let me know if it works properly now?
Thanks!

Thank you so much! This works great.
If you don't want to call preventDefault() on touchmove and want to use passive EventListener instead, you can add touch-action: pan-y to .container class.
It has not that bad browser support caniuse.
Thank you again for the fix!


Eraser tool not functioning (Quest 1, Standalone, AppLab))

Hi! Just recently downloaded the update, and noticed the eraser tool was no longer functioning. Undo is still working to remove brushstrokes, but eraser turns red and doesn't remove any when it passes through. I've tried experimental mode, re-installing and turning my quest on and off.
Otherwise, my Fianceé and I adore your app! I use it as an education tool in my classroom, and she loves to draw on my personal quest at home! Thank you for this amazing app!

Hi, we had this bug report come through our Discord but hadn't added it here, thanks! To add some more info, this works fine on the Quest 2. We think the Quest 1 has some issues related to the change to Vulkan that was required for our specific app circumstances.

The root cause has been found:
The Vulkan driver for Quest 1 does not support geometry shaders, which breaks the implementation for selection.
http://vulkan.gpuinfo.org/displayreport.php?id=12292#features
OpenGL previously required implementations to support geometry shaders, but Vulkan 1.0 has no such requirement.

Fixed in #475! Thanks to everyone who reported.


the 'az aks update --loadbalancer' doesn't keep the existing lb profile like BYO outbound ip if it's not included in the update command

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
the 'az aks update --loadbalancer' doesn't keep the existing lb profile like BYO outbound ip if it's not included in the update command
To Reproduce

az aks update -g xx -n xx--load-balancer-outbound-ips /subscriptions/xx/resourceGroups/MC_xx_xx_westus2/providers/Microsoft.Network/publicIPAddresses/test --debug
The pip 'test' will be updated as outbound ip of the cluster
Correlation ID:
5cd6d00a-71d0-43f6-8752-067825e2e0b4
SubID:
306cf79c-ee03-4fcf-965a-22f958379ed2
TImestamp:
Fri, 09 Apr 2021 15:50 - 16:10 GMT
az aks update -g xx -n testSLAKS --load-balancer-managed-outbound-ip-count 1 --load-balancer-outbound-ports 4000 --load-balancer-idle-timeout 30 --debug
The pip 'test' will be detached from the lb and a new pip will be created by RP as the outbound ip
Correlation ID:
2be61fce-866b-4e71-8b64-f39c2991f0d3

Expected behavior
Use the outbound ip in the profile if the outbound ip in the parameter set is empty
https://github.com/Azure/azure-cli/blob/9f0f0d24fd0451df7858793b791f2d95074746c7/src/azure-cli/azure/cli/command_modules/acs/_loadbalancer.py#L59
Environment summary
apt-get/ azure-cli 2.16.0 && aks-preview 0.4.71/ ubuntu 20.04 / WSL --->
Additional context
N/A

closing... misunderstood the parameter. 2nd update contains the parameter '--load-balancer-managed-outbound-ip-count 1 ' and this will let AKS use managed outbound ip


Missing padding on top of "No 8-digit number?" page

Environments :
Galaxy S7 Android v6 on BrowserStack (apk)
Scenario :

Open app
Open "Covid alert is off" menu
Click on "Diagnosed with covid-19?"
Click on "No 8-digit number?"

Issue :
Seems like some padding is missing on the top of the screen so it looks like the "back" button is touching the notification bar of the phone

@srepussard this screen has changed.

Confirmed that the screen changed and the margin on the "Cancel/Annuler" link is big enough to avoid accidentally clicking on the bar


output as first kwarg in circuit.draw

Summary
Makes it so one can just do qc.draw('mpl') verses always having to write qc.draw(output='mpl')
Details and comments

Fully support this! However, it's an API change and we should deprecate the first positional argument as an integer.

I am not sure if we really need a depreciation warning here as I have never seen anyone use a bare call to draw to set the scale (I have not actually seen anyone set the scale outside of the tutorials showing that it is possible).

In general, we want to deprecated old behavior, even if we think it was rarely used. However, correctly deprecating changes in function argument order is quite difficult. (I wrote a decorator for changing argument names for #3399 that could maybe be expanded for this purpose, but its still a WIP.)
Maybe in this case, the right balance is to change the order, and then check if output is numeric, and if so, raise a more descriptive error message about the API change. Thoughts?


Panoptes installation guide for Ubuntu 14.04

1. Install Docker
Original guide  https://docs.docker.com/installation/ubuntulinux/
curl -sSL https://get.docker.com/ubuntu/ | sudo sh
2. Install Fig
Original guide http://www.fig.sh/install.html
Onliner curl -L https://github.com/docker/fig/releases/download/1.0.1/fig-uname -s-uname -m > /tmp/fig; sudo mv /tmp/fig /usr/local/bin/fig; chmod +x /usr/local/bin/fig
Run fig --version to see if it worked.
3. Prepare ruby
3.1. Get the right ruby
Try ruby -v to see what ruby you have.
It is likely you don't have ruby 2. So you need to get it, alas, package manager won't help you (long story, but use rvm so you can get the version we need). Useful resource http://stackoverflow.com/questions/26595620/how-to-install-ruby-2-1-4-on-ubuntu-14-04
Panoptes currently needs 2.1.5
sudo apt-get update
sudo apt-get install build-essential make curl
\curl -L https://get.rvm.io | bash -s stable
source ~/.bash_profile
rvm install ruby-2.1.5

Then check ruby versions installed and in use
rvm list
rvm use --default ruby-2.1.5

( Ruby is installed in $HOME/.rvm/rubies )
3.2. Put ruby in 2 mode (asked at the panoptes installation guide)
export JRUBY_OPTS=--2.0
3.3. Then get ruby dev
sudo apt-get install ruby-dev
3.4. Then, get bundler
sudo gem install bundler
4. Install Panoptes
Original guide https://github.com/zooniverse/Panoptes
4.1. Download, move, extract, all at once
cd /tmp; wget  https://github.com/zooniverse/Panoptes/archive/master.zip; unzip master.zip; sudo mv Panoptes-master/ /opt/panoptes; cd /opt/panoptes
4.2. Configure things automatically using 'rake' (you can install 'rake' from the package manager)
But before you do that! If you are in a fresh ubuntu installation, you will probably eventually run into some problems. You might want to read ahead and solve them proactively.
The order of things is
rake configure
This will tell you to bundle install, which will give you the following problems (one by one, in each consecutive run, which is why it is good to install the dependencies on beforehand)
If you get an error with 'nokogiri', solve it by sudo apt-get install liblzma-dev zlib1g-dev.
If you get an error with 'mysql2', solve it by sudo apt-get install libmysqlclient-dev (or for other linux distributions http://stackoverflow.com/a/4304489)
If you get an error with 'pg_config' solve it by sudo apt-get install libpq-dev (http://stackoverflow.com/a/10792110)
If you get an error with 'therubyracer' solve it by sudo apt-get install g++
I am assuming different installations might get different problems, so solve on a per-case basis. The issue always seems to be some dependency.
Once 'bundle install' manages to finish successfully, rerun 'rake configure'. Good luck.
4.3. add the user we run panoptes as, in the 'docker' group.
This is so you can see the docker deamon running.
sudo gpasswd -a ${USER} docker; sudo service docker restart
Then either do a newgrp docker or log out/in to activate the changes to groups.
4.4. Add folder that is missing from the /opt/panoptes installation directory. (might be fixed in future versions) mkdir -p tmp/pids
4.5. Up we go
Run fig up
If something fails to download, run the script again (and again, and again, and again...). Eventually you will end up with panoptes running.
4.6. Build the DB
a) Now if for some reason you need panoptes with  a GUI, you'll have some issues with ruby and rvm and you will need to set things up for every terminal session. Here is a solution https://rvm.io/integration/gnome-terminal
OR
b) If you run with no GUI you should be fine. Just a reminder, bash has tabs and you can switch between them with Alt+F1, Alt+F2 etc.
Either way open a new terminal session with properly set ruby and go
export FIG_RAKE=on
rake db:create db:migrate
4.7. Seed the DB
Now when this step is done, your client_id will be printed in your screen. You will need to make a copy of it.
a) If you have a GUI (or you are happy to retype it as you see it), then just do
rails runner db/fig_dev_seed_data/fig_dev_seed_data.rb
OR
b) Direct the output to a file. This means you won't see what is happening, so let me guide you.
rails runner db/fig_dev_seed_data/fig_dev_seed_data.rb > client_id.txt
Wait for 15 seconds. Is something happening? No, it's not! Good. Type in the password for your administration user. Then wait a second and type it again. Then after a few more the script should finish. cat client_id.txt to see what you just did. (PS. you can always open a new terminal, and use 'cat' to see where the script is currently at, then switch terminal and continue, and so on).
If something got messed up, reset the DB and try again.
5. Use & reuse
Thats that. Stop panoptes with ctrl+C, rerun with fig up.
You will need the IP of your machine, panoptes uses port 3000.
If you want to reset the installation just reset the DB
export FIG_RAKE=on
rake db:migrate:reset
Then step 4.7. to reseed the db.

Hi people. So here is what I have come up with. It's for a fresh ubuntu installation. I am not sure where would be right place to put it, so I just posted it here.
If someone can read through it, maybe there are things you can put in the official documentation (like the user that needs to be in the dockergroup for example). I am just googling everything as I go but I am pretty much clueless about fig/docker/ruby/gems/rvm/bundler and probably a few more of the tech used, so someone check it out and make sure I aint doing something awfully stupid.

@alianos- thanks for the contribution. There are definitely some dependency issues that we haven't documented. I also think some of these steps can be streamlined via normal ruby / rails server installation.
We'll look through and use this as a template for adding getting started documentation for an Ubuntu install using fig + docker.

Just leave this open for now so we can get to it when we have time.

I think this is well covered in our readme now.


Prevent triggering license violations from loopback address (<IP_ADDRESS>)

1. Why is this change necessary?
Currently when developing locally, the admin will trigger a license violation when connecting using a loopback address like <IP_ADDRESS> / [::1]. An E-Mail will then be sent to the customer informing them about a license violation. This does obviously not make sense at all.
2. What does this change do, exactly?
Just check for <IP_ADDRESS> and [::1]
3. Describe each step to reproduce the issue or behaviour.
4. Please link to the relevant issues (if any).
5. Checklist

[x] I have rebased my changes to remove merge conflicts
[x] I have written tests and verified that they fail without my change
[x] I have created a changelog file with all necessary information about my changes
[ ] I have written or adjusted the documentation according to my changes
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[x] I have read the contribution requirements and fulfill them.

@seggewiss I'll just ping you here, because we talked about this today.


New "game emulators" category

All the most popular "games" on Flathub are emulators, which looks a bit awkward on the home page (not a single actually playable game is visible):

Even on the actual games page, the first 30 or so items are all emulators or launchers:

Since we already have an emulator tag I wonder if we could just use that to make a separate new category (which would also have its own section on the home page)?
One question with that is whether we'd want launchers (e.g. Steam, Lutris) to be part of this new category as well, since conceptually they're much closer to emulators than standalone games. I feel like "Game Emulators & Launchers" could work maybe.

I was going to just do that some of these days, but the part about launchers is "new". I don't think they have category metadata, that allows for this, as I don't think the category launcher existed.


Passing the full url to Form omits the url entirely

Describe the bug
Passing a full url to the Form component seems to omit the url entirely in the action attribute, causing the request to be wrongfully sent to the current url (instead of the dest url)
<Form action="http://localhost:8080/some/path" method="POST">
..
</Form>

Will produce the html output
<form method="POST">
..
</form>

Leptos Dependencies
leptos = { version = "0.5.2", features = ["nightly"] }
leptos_axum = { version = "0.5.2", optional = true }
leptos_meta = { version = "0.5.2", features = ["nightly"] }
leptos_router = { version = "0.5.2", features = ["nightly"] }

To Reproduce
Use any of the starter templates, add this snippet to HomePage:
<Form action="http://localhost:8080/some/path" method="POST">
    <button type="submit">Submit</button>
</Form>

Check the network monitor and the requests will be sent to http://localhost:3000/ (or whatever host/port the app is using)

Thanks, I believe this is the same situation as <A> where trying to resolve a relative nested route gives you "" if it's the full URL. In the case of <A> you'd never need to do this because all <a> tags are client-side dispatched if possible -- not so with <Form>.


Show stats with @info macro, allow output on IO

Show statistics about inference and GGUF loading using the @info macro
Allow inference to output on an IO

I actually think that we should get rid of the time measurements (or at least make it opt-in).
Users can use the @time macro instead.


Fix standalone Python bindings workflow

https://github.com/ami-iit/bipedal-locomotion-framework/pull/697 introduced an untested and undocumented support for building the Python bindings in a standalone way against an existing compiled version of BLF, that we plan to use in conda-forge packaging. However, that patch was not complete as the CMakeLists.txt in bindings/python still referred to CMake options that do not exists if an external blf is used.
I am testing the patch in https://github.com/conda-forge/bipedal-locomotion-framework-feedstock/pull/30 .

I am testing the patch in conda-forge/bipedal-locomotion-framework-feedstock#30 .

The patch is working correctly there.

So I can merge this PR plus #695 and release the software

Btw, thank you @traversaro ❤


Question: Using sish as a "port forwarding slave"

Hello there!
Due to how my ISP has set up my broadband access, I can not do port-forwarding from my router - or, my type of connection in general. To be honest, I am not exactly sure what is preventing me from port-forwarding...but, I have to do with what I have. :)
That is why I have been looking for a way to expose ports on my local homeserver to my server, to utilize NGINX as a reverse proxy to access them. So, I have a few questions:

Can I run sish to forward only HTTP and TCP connections, so that I can NGINX to add my HTTPS certificates ontop?
I would like to dedicate the subdomain home.ingwie.io to everything related to my homeserver and use subdomains to differenciate between the various things running on it. I am not aware if NGINX has wildcard support in server_name though - but, I wouldn't be surprised if it did. That way, I could run another instance of NGINX on my homeserver to handle subdomains (foo.home.ingwie.io for instance). What would be the flags I'd have to pass to sish to tell it that home.ingwie.io is the main domain to use?
Do you know if any way to automate SSH tunnel setup? I am using an older Mac Mini server and I do have a general idea of how to set up launchd services to run commands much like systemd. What commands would I have to use to bring up a tunnel, shut it down or verify it's status?

I am looking forward to your reply!
Kind regards,
Ingwie

Hi ingwie,
Yep, sish should work fine for what you are trying to do! Also, nginx does support wildcard server name definitions and can even do SSL offload (if you are interested), but sish has native support for SSL also, so you don't necessarily need the nginx instance infront of it. Here are some more specific answers to your questions:

Yes, you can use sish to forward both HTTP(S) and TCP connections. sish has native support for ssl, so you can also just configure sish to use a wildcard cert for what you want. That being said, you can also use nginx. Here's an example to get you started:

map $http_upgrade $connection_upgrade {
    default upgrade;
    '' close;
}

server {
    server_name home.ingwie.io *.home.ingwie.io;

    listen 80;
    listen [::]:80;

    proxy_buffering off;

    location / {
        proxy_pass http://localhost:8081;
        proxy_set_header Host $host;
        proxy_http_version 1.1;
        proxy_hide_header X-Frame-Options;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
    }
}

server {
    server_name home.ingwie.io *.home.ingwie.io;

    ssl_certificate /etc/nginx/certs/home.ingwie.io.crt;
    ssl_certificate_key /etc/nginx/certs/home.ingwie.io.key;

    # dhparams file
    ssl_dhparam /etc/nginx/certs/dhparam.pem;

    listen 443 ssl http2;
    listen [::]:443 ssl http2;

    ssl_protocols TLSv1.2;
    ssl_ciphers "ECDHE-ECDSA-AES256-GCM-SHA384:ECDHE-RSA-AES256-GCM-SHA384:ECDHE-ECDSA-CHACHA20-POLY1305:ECDHE-RSA-CHACHA20-POLY1305:ECDHE-ECDSA-AES256-SHA384:ECDHE-RSA-AES256-SHA384";
    ssl_prefer_server_ciphers on;

    proxy_buffering off;

    location / {
        proxy_pass https://localhost:22443;
        proxy_set_header Host $host;
        proxy_redirect http:// https://;
        proxy_http_version 1.1;
        proxy_hide_header X-Frame-Options;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header Upgrade $http_upgrade;
        proxy_set_header Connection $connection_upgrade;
    }
}

nginx does indeed have support for wildcards, so just take a look at the config I wrote above! You can configure sish to use the domain you want as the root by setting the -sish.domain flag to something like -sish.domain=home.ingwie.io.
For automating ssh tunneling, I use autossh in a docker container with host networking which works great for me. Here's a gist I found that pretty much outlines what you're looking to do.

I'd try to eliminate the need for nginx if possible. It doesn't really add anything to sish's functionality because you can route to each service locally if you're just reverse proxying them (i.e. like so):
ssh -R foo:80:localhost:8080 home.ingwie.io

This would forward foo.home.ingwie.io on http(s) to localhost:8080. You can provide multiple remote forward ports to nginx also:
ssh -R foo:80:localhost:8080 -R foo2:443:localhost:8443 home.ingwie.io

I also replaced the 80 to 443 telling sish to connect to the service at localhost:8443 over HTTPS instead of just HTTP. Therefore, if you setup a single autossh tunnel with multiple forwards defined, you can get what you want without having to use nginx on either side if you don't want to.
Hopefully this all helps. Feel free to send me a message over email or IRC or keybase or on this issue. More than happy to help!

Thank you very much for the lengthy response!
I mainly use NGINX as a reverse proxy since I have it configured with certbot for Let's Encrypt/ACME and because I found it easy to just manage all the sites I use through sites-enabled/-disabled folders, by linking the files across that I want to have enabled and remove those that I do not want to have served. Its really just a poor-man's vhost setup ^^; But hey, it works.
I'll make sure to read the gist! Though I have not heared of autossh before, so I will make sure to check it out. Now all that is left to do is figuring out the proper commands and signals I would need to do to configure launchd to start, stop and possibly restart the forwarding. I would imagine that SSH does accept signals like SIGTERM and alike to perform actions. I mean, it's basically the old-school way of sending events to processes. Efficient, but it requires some reading.
Again, thank you a lot! I will start to set up my stuff now. :)
Have a great day!

Yep, no problem! I definitely know autossh supports all of those, so make sure you check that out. Feel free to let me know if you have any issues!

Just read over the Gist and still thinking about how to best structure this. But I guess I will end up creating a template out of the gist and re-generate it for any port that I would possibly need to have and create individual service entries for each. Also how exactly do I use autossh's monitoring port (-M)? Creating multiple services on the same monitoring port might cause issues later on when I want to also tunnel TCP connections.

You don't actually need to use the monitoring port. You wouldn't want to use a single tunnel for all of the connections?

Alright, I am almost set! However, I am having a bit of an issue tunneling a http connection.
First of, I am using Docker Compose:
version: "3"
services:
  sish:
    image: antoniomika/sish:latest
    container_name: sish
    #depends_on:
    #  - letsencrypt
    volumes:
      #- ./letsencrypt:/etc/letsencrypt
      - ./pubkeys:/pubkeys
      - ./keys:/keys
    command: |
      -sish.addr=:9022
      -sish.https=:9443
      -sish.http=:9080
      -sish.httpsenabled=false
      -sish.keysdir=/pubkeys
      -sish.pkloc=/keys/ssh_key
      -sish.bindrandom=false
      -sish.domain=$DOMAIN
      -sish.forcerandomsubdomain=false
    network_mode: host
    restart: always

Second, nginx is running on my local maschine's port 80. So, I want to forward my local 80 to sish - which I assume would be 9080? Anyway, I tried this:
<EMAIL_ADDRESS>/o/s/ingwie.me $ ssh -p 9022 -R 9080:localhost:80 ingwie.io ssi.sh
Warning: remote port forwarding failed for listen port 9080
Press Ctrl-C to close the session.

No forwarding requests sent. Closing connection.
Connection to ingwie.io closed by remote host.

I did do an ufw allow on that port and I got rid of that error but, no matter which order I do, it won't work ^^;
I might be overlooking something so... have any suggestions?

So even if your http(s) addr is different (you set it to 9080), you still use port 80 for the first part of the forward request. The reason for this is sish does different things for http multiplexing in comparison to tcp multiplexing. Give ssh -p 9022 -R 80:localhost:80 ingwie.io a try.

Oooooooh! That worked! But I also realized I had my domain misconfigured...derp. ^^ Well, while I am waiting for CloudFlare DNS to do it's thing, I'd love to suggest an addition to the documentation:
Make the user aware of the fact that the "destination port" (i.e. 80) is NOT the actual port, but more a "flag" sent to sish to distinguish what exactly is being forwarded.
This is the pitfall I ultimatively fell into :) But this is now exactly what I want. All that is left to set up my launchd file(s) and make sure stuff is logged properly. And configure NGINX, of course. But hey, I am exactly where I wanted to be at!
Thank you very much for being so patient with me. Now that I get to actually use it, sish is going to be a huge, huge help for me and my limited internet connection setup. Also, on that note: I am apparently using DOCSIS 3.0, which doesn't just primarily use IPv6 but also a different architecture in general which ends up prohibiting port forwarding in traditional means. Therefore using sish is a very welcome solution for me.
One last question: What options do I have to handle accessing the root domain itself? Like, can I configure one "endpoint" to respond to the root domain? Otherwise I'll just drop in a 404 page for completeness, or return a 503 alltogether. (Or a 420 for the lols :) ).
Again, thank you a lot for your help!

No problem! And that's really strange regarding the port forwarding stuff. The fact that you're using docsis 3.0 shouldn't really impact port forwarding at all. Only thing I can think of is your ISP is firewalling things upstream.
I actually have that documented here albeit could be a lot more visible, so I'll put that on the backlog to change. Currently for the root domain, the only things you can configure are whether or not to redirect it using the following flags:
  -sish.redirectroot
        Whether or not to redirect the root domain (default true)
  -sish.redirectrootlocation string
        Where to redirect the root domain to (default "https://github.com/antoniomika/sish")

If this isn't set, the root domain will just 404.

Ahh, well the information about the ports seems a little hidden and not too clear. Maybe add a few examples and clarify that no matter what ports are given in the -sish options, the ssi.sh script only really looks for mappings to port 80 and 443. Also I just forwarded my homeserver's SSH too and it works great. I do get sporadic disconnects - but that is likely due to me currently using raw SSH plus screen for testing things out. And now that CloudFlare took care of my DNS, you can see a friendly hello at http://www.ingwie.me :). Im probably just going to set -sish.redirectrootlocation www.ingwie.me. A little bit backwards to what you'd usually do but...it works, I guess.
Anyway. Things are working as expected now and I can now start playing around with my homeserver being actually accessible to the public! This is really awesome and will be a lot of fun to test with. I mean, it may just be a 2007 Mac Mini, but it can still provide some stuff nevertheless. I'm gonna enjoy this - a lot. :)

In addition, here is the launchd file I ended up using:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>KeepAlive</key>
  <true/>
  <key>Label</key>
  <string>homebrew.autossh.sish.http</string>
  <key>EnvironmentVariables</key>
  <dict>
    <key>AUTOSSH_LOG</key>
    <string>/opt/logs/autossh.sish.http.log</string>
  </dict>
  <key>ProgramArguments</key>
  <array>
    <string>/usr/local/bin/autossh</string>
    <string>-M</string>
    <string>30001</string>
    <string>-i</string>
    <string>/Users/Ingwie/.ssh/id_rsa</string>
    <string>-p</string>
    <string>9022</string>
    <string>-R</string>
    <string>www:80:localhost:80</string>
<EMAIL_ADDRESS>    <string>ssi.sh</string>
  </array>
  <key>RunAtLoad</key>
  <true/>
  <key>WorkingDirectory</key>
  <string>/Users/Ingwie</string>
  <key>StandardErrorPath</key>
  <string>/opt/logs/autossh.sish.http.stderr.log</string>
</dict>
</plist>

Additional options would be to set StandardOutputPath and using AUTOSSH_DEBUG to have it be chatty - OR to use -v in the command. But now I have them (one for ssh, one for http) registered. I can now just use this as a template if I have a different service I want to hook up :)
Maybe you can take some use out of this!


Handle shared layers in save_torch_state_dict + add save_torch_model

Partially resolve https://github.com/huggingface/huggingface_hub/issues/2065.
Follow-up PR after https://github.com/huggingface/huggingface_hub/pull/2314.
In https://github.com/huggingface/huggingface_hub/pull/2314, we introduce save_torch_state_dict. This new PR:

adds logic to deduplicate shared layers in safetensors. This is mostly taken from safetensors's torch helpers (see here). See slack thread (private) for discussions around this. See also https://huggingface.co/docs/safetensors/torch_shared_tensors for more details.
adds save_torch_model to directly save a torch nn.Module
renames internal methods get_tf_storage_size / get_torch_storage_size and make them public + documented
tests and documentation have also been updated.

A last follow-up PR should had load_torch_state_dict / load_torch_model helpers as well to correctly reload those files, including the shared layers.
I'm pinging transformers/accelerate/diffusers cores maintainers for visibility as well. Feel free to comment if someone should be done differently.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.

Thanks for the reviews! Let's ship it yes :smile:


Double quotes

Hi,
I have a problem reading JSON data with spyql.
I want to import JSON data into a SQL database. However, when I read the JSON data, the double quotes change to single quotes which do not fit my sql schema.
cat 5488.jsonl | head -n 5 | jq -c "{issn_type: .issn_type}"
{"issn_type":null}
{"issn_type":[{"value":"1070-3632","type":"print"},{"value":"1608-3350","type":"electronic"}]}
{"issn_type":[{"value":"2621-6159","type":"electronic"},{"value":"2528-360X","type":"print"}]}
{"issn_type":[{"value":"2800-8669","type":"electronic"}]}
{"issn_type":[{"value":"2703-4542","type":"electronic"}]}

cat 5488.jsonl | head -n 5 | jq -c "{issn_type: .issn_type}" | spyql "SELECT json->issn_type FROM json"
issn_type
""
"[{'value': '1070-3632', 'type': 'print'}, {'value': '1608-3350', 'type': 'electronic'}]"
"[{'value': '2621-6159', 'type': 'electronic'}, {'value': '2528-360X', 'type': 'print'}]"
"[{'value': '2800-8669', 'type': 'electronic'}]"
"[{'value': '2703-4542', 'type': 'electronic'}]"

Hey!
What's happening is that the default output format is CSV and spyql does not know that the dict in issn_type is a JSON object. So, we are simply converting a python dict into a string, We should probably add a function to properly encode JSON objects when writing to CSV or SQL.
The good news is that you can write Python code so we can hack the behaviour we need.
Would something like this work for you?
cat 5488.jsonl | head -n 5 | jq -c "{issn_type: .issn_type}" | spyql "IMPORT json AS js SELECT js.dumps(.issn_type, default=lambda x: None if x is null else str(x)) AS issn_type FROM json TO sql(table='my_issn_table')"

INSERT INTO "my_issn_table"("issn_type") VALUES ('null'),('[{"value": "1070-3632", "type": "print"}, {"value": "1608-3350", "type": "electronic"}]'),('[{"value": "2621-6159", "type": "electronic"}, {"value": "2528-360X", "type": "print"}]'),('[{"value": "2800-8669", "type": "electronic"}]'),('[{"value": "2703-4542", "type": "electronic"}]');

Yess, this works! Thanks a lot :)


Refactor Dependency Resolution

This is an attempt to fix the bugs listed in: https://trello.com/c/21wSjcbG/851-fix-dependency-resolution-2 , to make dependency resolution easier to test and to make it easier to understand.
The ContentDependencies class has been repurposed into a class that is given a content_id, locale and state fallback rules and from this can determine the content_id and locales of all items that require an update. Hopefully being a single class it will be easier to write tests against if/when future bugs are identified.

ok @dougdroper should be good now 👍


Prepare for 0.3

@MarijnS95 Can you please take a look whether you think 0.3 is ready for use by your project?

@rylev I managed to update most of hassle-rs to this revision but fn query() disappeared from com-rs and there is no Deref to IUnknown to allow a call to query_interface(). Am I missing something?

@rylev I'd also like Linux support to land before we can switch to this crate. That does require us to solve the CI issue with the examples, though: https://github.com/microsoft/com-rs/pull/153#issuecomment-685972648


Requirements in the "Folder structure of the CSIP" should be in a table

CSIP1 an onwards reside in tables. The CSIPSTR1 to CSIPSTR16 maybe should be formatted the same way?

Currently no layout changes is planned.

Currently no layout changes is planned.


Interpreter crashes only when debugging without native code debugging

Using VS 2015
I have a situation that unfortunately I cannot find a way to provide useful diagnostics or an easy repro for.  I'm working on porting the LLDB project to work with Python 3, which involves porting its test suite to Python 3 as well.  So I have two separate PTVS solutions.  One that uses a Python 3 solution and one that uses a Python 2 solution (only difference is the search paths and the default environment)
Each of these imports and uses the corresponding lldb extension module -- either the 2.7 version or the 3.5 version depending on which solution.
I've seen a couple of instances of tests attempting to call one of the extension module methods and python_d.exe crashes when doing so.  But here's the wrinkle:

It only crashes when native code debugging is not enabled, so I can't see where the crash even happens.
Since PTVS is already attached, I can't attach another debugger.
Detach does not seem to be implemented for PTVS solutions, so I can't detach and then re-attach with native code debugging enabled.

I can't think of any solution to this.
Interestingly, it only happens in Python 3.5 and not in 2.7.  It also doesn't crash when I run the exact same command line from a command prompt as opposed to through PTVS.
Any thoughts?  I'm open to the possibility that there's a bug in my code and not in PTVS, but it's mighty suspicious that it only crashes when a particular setting is enabled in PTVS, so I suspect a problem in PTVS.
I could probably help you get a build set up, but I don't know if you want to go to that much trouble for something that you might not even be able to reproduce after all the effort.

There is a way to attach WinDbg to a process that is already being debugged, albeit in a limited mode (but usually enough to diagnose a crash) - you need to check the "non-invasive" checkbox:
https://msdn.microsoft.com/en-us/library/windows/hardware/ff552274(v=vs.85).aspx
If you can build PTVS youself, one other option is to run PTVS itself under the debugger (basically just open the solution and do F5), andset a breakpoint here, then use Debug -> Attach to attach to your test. When that breakpoint is hit, VS has already made the check for "no debugger attached", but it hasn't set the process bit indicating that it has finished attaching, and so you can actually spin up another VS instance and do native attach to the same process.
The resulting arrangement is not particularly stable, because debuggers can get in each other way, but if you set the native one to only break on Win32 exceptions, and don't touch it otherwise, it shouldn't interfere with Python debugger. So then when it crashes, the native debugger should break and let you inspect the context.


Update ANTv1

Fixing from the earlier PR: https://github.com/MetaMask/eth-contract-metadata/pull/598#issuecomment-717054953 cc @xrn

Thx @sohkai


update.sh fails for v1.17.0

Description
$ gitea-update -v 1.17.0
Checking currently installed version...
Make sure to read the changelog first: https://github.com/go-gitea/gitea/blob/main/CHANGELOG.md
Are you ready to update Gitea from 1.16.7 to 1.17.0? (y/N)
y
Upgrading gitea from 1.16.7 to 1.17.0 ...
Downloading https://dl.gitea.io/gitea/1.17.0/gitea-1.17.0-linux-amd64.xz...
curl: (23) Failed writing body (0 != 632)
curl: (23) Failed writing body (0 != 94)
curl: (23) Failed writing body (0 != 641)
Gitea Version
1.17.0
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
No response
Screenshots
No response
Git Version
No response
Operating System
ubuntu 16.04
How are you running Gitea?
downloaded binary
Database
MySQL

It seems that the curl can not write the downloaded content into the file on disk.
Try to do `curl ... -O ..." on your side to see if there is a problem.

I modified the script and saw that it was a permissions issue - so I assume that sudo is required - haven't tried as I had already updated manually ---- On Mon, 01 Aug 2022 23:25:31 -0400  @.***  wrote ----
It seems that the curl can not write the downloaded content into the file on disk.
Try to do `curl ... -O ..." on your side to see if there is a problem.
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Add authentication mechanism to secure contour

Right now we don't have way to secure ingress and apps it is serving, unless apps are providing an authentication mechanism of their own. So for apps that don't support any form of authentication are wide open.
After implementing this feature ingress controller can act as a guard for such applications.

Couple of notes:

perhaps this should be done not on the contour level but on ingress object level
Perhaps oauth2_proxy could be used for this: https://kubernetes.github.io/ingress-nginx/examples/auth/oauth-external-auth/. However, it might not be possible with Contour because of https://github.com/projectcontour/contour/issues/432 ? On the other hand, oauth2_proxy does not support basic auth either.
In Kyma project, Istio is used to guard endpoints and it supports all kind of authentication. However, I don't know how it integrates with ingress controller then.

Contour 1.9 supports Envoy external authorization servers; for an out-of-box OIDC integration https://github.com/istio-ecosystem/authservice could be a match.

Thanks for those pointer @jpeach :+1:


Moonchain

https://www.notion.so/wannsee-roadmap/Moonchain-6347382ca176454bba225169b1eec022

geneva-nft.moonchain.com
geneva-swap-info.moonchain.com
geneva-mns.moonchain.com
geneva-depinscriptions.moonchain.com
airdrop.moonchain.com
@SanghamitraBhowmick1993 please double check and if ok then let Hairy to deploy to mainnet

Another thing to test is the wallet connect sequence
Should be

Axs wallet
metamask
okx Web3 wallet
on all Dapps, please also QA this

I cannot proceed from the screen below when attempting to MINT Hexagon @hairyf

When connecting my account, I still see Metamask listed as the primary option instead of AXS for MNS - Geneva

@SanghamitraBhowmick1993 please test bridge and swap-info geneva

Update for tests on geneva:
Good to go:
https://geneva-xsd.moonchain.com/markets/ -yes
https://geneva-erc20.moonchain.com/ -yes
geneva-nft.moonchain.com - yes
geneva-mns.moonchain.com - yes
airdrop.moonchain.com - yes
https://geneva-swap.moonchain.com/  - yes
https://geneva-explorer.moonchain.com/  - yes
Bug fixes in progress:
https://depinscriptions.moonchain.com/  - no
https://geneva-swap-info.moonchain.com/pairs - no
cc: @hairyf @sheenhx


Feature/synchronize from non genesis block 10

@jannikluhn you've already seen the first part of this. I've basically only introduced a new way to select a starting block based on a date and added some changes to the logging. I do think it would make sense if we always log the timestamp of a block in addition to it's blocknumber and hash.
implements https://github.com/trustlines-network/tlbc-monitor/issues/10

I don't really like the architecture of the block selection for two reasons:
* I think it's too complicated. Why classes instead of a simple function?

Each class does parsing/interpretation of the user input and resolves the user input to a given block.
Unless you write a function that knows how to parse the input for all resolvers at once, I fail to see how this will be better. And writing this one function that does the parsing for all resolvers is something I didn't want to do.

* I think it doesn't belong to the fetcher, as it's just interpretation of user input. So ideally it would be in the main function (we can move the initialization of the web3 object there as well as it's necessary for resolving the block number and it's just one line)

The interpretation of the user input has already been done when the block fetcher runs. I fail to see a problem here. This is just giving the block fetcher a way to get the initial block in case it needs to initialize the database.

Ideally, we should also exit with an error message if sync_from is given but it's not a fresh state (or the number is lower than the original sync_from number)..

That was actually what I intended to do.

How do we treat if a state is found and the option is giving. Do we then at least write something like state file found, sync-from option is ignored?

yes

Okay I did not find that part in the PR, can you point me to it?

Okay I did not find that part in the PR, can you point me to it?

no, it's not there, though I had it at one point.

Each class does parsing/interpretation of the user input and resolves the user input to a given block.
Unless you write a function that knows how to parse the input for all resolvers at once, I fail to see how this will be better. And writing this one function that does the parsing for all resolvers is something I didn't want to do.

Doesn't have to be one function, it can be multiple.

The interpretation of the user input has already been done when the block fetcher runs. I fail to see a problem here. This is just giving the block fetcher a way to get the initial block in case it needs to initialize the database.

I just think it's more complicated than it needs to be. If one read the code of the fetcher only one has to understand what this resolver thing does and why it's necessary (which is to provide easier to use CLI options -- nothing one should think about when looking at that part of the code). If we just pass the block number, we don't have this problem.

I just think it's more complicated than it needs to be. If one read the code of the fetcher only one has to understand what this resolver thing does and why it's necessary (which is to provide easier to use CLI options -- nothing one should think about when looking at that part of the code). If we just pass the block number, we don't have this problem.

I'm open to removing the date parsing stuff and only parse block numbers and fixed strings with a bunch of functions.
Otherwise  I fail to see how you could simplify the current code in a significant way. If you know how to do that, please open a PR for it. I would guess it's not worth the effort.
if we ban the use of classes, I'm also very open for it. We should consider our choice of main programming language at that point. In fact I didn't like the code and didn't like writing it. python only gives me these abstract base classes, where I would have preferred a java like interface for use in the block fetcher just providing this one method to resolve a block. And this is what the block fetcher is using. It does not use any of the parsing stuff.
I do think that our current way of handling 'database intialization' is broken in major ways.
If we would make database initialization explicit, we also could fix some of the stuff discussed in this PR and we could give the block fetcher an actual block during initialization.  This is actually something I would rather do than discuss stuff along the lines of "this is using classes, it's complicated, just use functions"
I've lost a lot of time last week trying to find a solution for our session handling that didn't involve storing the session inside the blockdb object (because this is something you thought we shouldn't do). I won't do it this week again. If you have something concrete to change, please say so. But 'use functions' isn't very concrete and will it make way harder to write down type hints (which was one of the reasons I didn't just "use functions").

It's just a suggestion. If you don't think it's a good one, don't do it.
For the record, here's an illustration of what I meant by "use functions" (with some type hints, not sure if they are sufficient):
def resolve_block_number(w3: Web3, param: str) -> int:
    resolvers = [
        resolve_datetime,
        resolve_number,
        ...
    ]
    for resolve in resolvers:
        try:
            number = resolve(w3, param)
        except ValueError:
            continue
        else:
            break
        return number

def resolve_number(w3: Web3, param: str) -> int:
    return int(param)

def resolve_datetime(w3: Web3, param: str) -> int:
    ...

At least in my eyes, this is simpler. (but again, if you don't agree, don't do it.)

Is there anything left that must be changed?


NSG Flow Logs Version 2 with Logstash / ELK

Hi,
I've a new issue with the version 2 of the NSG Flow Logs.
I've tried the following link:
https://github.com/MicrosoftDocs/azure-docs/blob/master/articles/network-watcher/network-watcher-visualize-nsg-flow-logs-open-source-tools.md
It's mentionned that it will work with v1 but not the v2 of the flow logs, without modification. Can you help me about these modifications?
I think i've to change the way that the conf is done on my logstash file but i can't find a solution.
Thanks.
Best regards,
Olivier D.

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

ID: f342c559-90a2-dfd7-f888-db1f867b5fc2
Version Independent ID: fde87f05-6c77-3e84-4d98-35c0731b1b31
Content: Visualize NSG flow logs - Elastic Stack - Azure Network Watcher
Content Source: articles/network-watcher/network-watcher-visualize-nsg-flow-logs-open-source-tools.md
Service: network-watcher
GitHub Login: @damendo
Microsoft Alias: damendo

@odufresne
Thanks for your feedback! We will investigate and update as appropriate.

@MarileeTurscak-MSFT
Thanks! I'll wait the update because we need it as soon as possible to investigate our flows. =)

@odufresne Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

Hi,
Thanks!
If you need some help or screen of the problem, i'm here.
Have a nice day. :)

Hi,
Do you know when the documentation will be updated ?
Thanks. :)

Removed the note and update the fields. Let me know if that updated fields worked for you.

I don't see these modifications or don't know what i've to modify according to your tutorial.
Have you update the documentation?

Hi!
I've seen the modification but i think that there is some bug with the flow logs.
Sometimes, the flow tuples aren't correctly split, ending with a _split_type_failure and json_parse_failure.
With v1 or v2, i've this error on some flows.
Instead of splitting every flowtuples, i see in the message that i've multiple flows inside it and it doesn't split them.
Can we discuss of that ? Don't know if it's a problem on Azure side or with the logstash conf. (Seems it's on Azure.)
Thanks. :)

@odufresne that sounds like a big. Can you file an issue via the support channel and share the ID here so we can followup?

Hi,
I've created the issue<PHONE_NUMBER>00559 via the Azure Portal.
Is it okay for you ?
Thanks. :)

Able to access the case, thanks.

Hi @odufresne, @damendo
Were you able to solve the Issue filed at Azure Portal? Do you remember the solution?
I also get a lot of these errors and found your issue by some investigation.
Logsdash assigns these 3 tags:
"tags":[
"_jsonparsefailure",
"_split_type_failure",
"_dateparsefailure"
],
I suspect some azure settings are incorrect for the parsing rules.
Thanks a lot

Hi, is there an update on this issue please? I am currently using 'https://docs.microsoft.com/en-us/azure/network-watcher/network-watcher-visualize-nsg-flow-logs-open-source-tools' with Version 2 of NSG Flow Logs, however I am still getting
"_jsonparsefailure",
"_split_type_failure",
"_dateparsefailure".
I appreciate any help.  Thank you.

As advised by my manager @jyothisuri, closing the issues that are older than a year.
#please-close


GPS Tracker AT-12 address problem

Hello,
I use the gps tracker AT-12A on port 5030.. it work well.
The problem is that the traccar server does not record the address.
There he has a way to solve this problem ?
Regards

The problem might have been that messages were marked as invalid.


Replace deprecated methods

Pull Request Test Coverage Report for Build 300

1 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.09%) to 48.045%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/io/opentracing/contrib/jdbc/parser/URLParser.java
1
78.13%

Totals

Change from base Build 298:
-0.09%

Covered Lines:
516

Relevant Lines:
1074

💛  - Coveralls


Major RC Upgrade: allow functional roles in contribution steps

allow functional roles to be added in contribution steps

covered in https://github.com/orgs/equinor/projects/636/views/7?pane=issue&itemId=54883408


MOB-20134 - Command overrides: migrate from datastreams docs to mobile SDK docs

https://jira.corp.adobe.com/browse/MOB-20134

right nav fix 👍

@calebk1 will you review and implement my latest comments, and then let's get this merged


use str.format instead of % substition so we can replace the error codes

Using str.format doesn't complain when you try to do a substitution where a doesn't placeholder exists.  This allows me to set errors.ERROR_BAD_TYPE to another string without breaking anything.

I didn't test this very well.  I'll recreate the PR later.


Add browsing mode for GeoForm Submissions

We need a mode for browsing submissions with the GeoForm. Originally, we were thinking that we would use a different template but nothing good exists in order to page through results.
We need a separate page/app in the GoeForm app, lets call it viewer.html. This will have a title, short description, legend, a share button, button to submit (which will take you to the index page to submit an entry) and a bottom or side panel that will allow users to see GeoForm submissions.
If the feature layer, supports pagination (result offset and result record count) then it will have buttons to page through the results and easily browse GeoForms. Otherwise, they can just click around to browse. It will not use a popup. Maybe we allow them to filter results by certain attributes? maybe that's scope creep though.
@sTriche @DerrickBurke @pjdohertygis @julio8a We will need a comp/design for this. It could be a full-screen map or it may not be. Ushahidi allows you to toggle between a map/list view and maybe that would be helpful for users.
The mode should be responsive.
Somewhere on the GeoForm  in submit mode (maybe under the map), there will be a link to view existing submissions. Once they submit, the dialog will show a link there as well.
Then, once we have this mode, we can add editing capability onto it if they login as an admin? This is issue #156

@driskull,
Just wanted to let you know the known issues in delivered code.
Known Issues:

Sometimes feature is not highlighted
UI get distorted in some themes
UI issues in small screen devices
Wrong geometry gets highlighted if list item is clicked rapidly
Resize issues in map
UI for “Load More” button needs to be worked upon

Work in progress on following tasks:

Pagination support for 10.3 layers
Adding new tab in navigation panel if author selects “All Layer ” in author mode

Queries:

We have added “Go To Viewer Mode” button on submit mode (end user mode) and we are thinking of adding the same in share dialog(User can go to viewer mode after submitting the entry). Will this work?

Thanks!

Thanks for the notification @CTDisasterManagement .
Lets have the button say "View submissions". We can put it in the share modal and to the right of the submit button with a default (secondary) button class so that it's not as important.
Those links above don't take me to the browse mode.

@driskull
We will implement the suggested changes.
The link for end user mode will open the form and you will find "Go To Viewer Mode" button next to "Submit Entry" button.
Thanks!

"View submissions" instead of "Go To Viewer Mode" please. Thanks

@driskull,
We have added "View submissions" button in share modal.Please have look at it and let us know your feedback.

Thanks!!

@CTDisasterManagement I think that works. thanks

Thanks @driskull


feat: support pass-through config from Meltano

Similar to how the airflow-ext uses the EDK pre_invoke hook to create a config file on disk, we could take a similar approach to create the evidence/template/evidence.settings.json file. This would allow the management and injection of config from Meltano (including per Meltano Environment etc.) 🚀

@archiewood are there any resources you can point to for the expected schema of this file? The duckDB sample project produces:
{
  "database": "duckdb",
  "credentials": {
    "filename": "needful_things.duckdb",
    "gitignoreDuckdb": null
  }
}

I am happy to poke around with the other supported DB's to figure it out but you might know a better way 😅

Thanks @archiewood that helps a lot 🙏 One thing I did notice is that, although the env vars are picked up in dev, certain UI elements in Settings don't function the way I'd expect. I.e. the Settings page behaves as though no connection is specified, even though the actual queries work fine in all the other pages. Its a very minor rough edge though - very chuffed the env vars approach appears to mostly "just work" 🙌

Yeah I also noticed that. I think that's a pretty minor rough edge as you say.
Something we can look into fixing if this is a common pattern!

@archiewood smashing, thanks again for your help 🙌

Closed by #2 and #4


Release/5.0.1

Bugfixes

Fix a bug where model validation would fail if developer mode was not enabled

Stale wrt. https://github.com/Open-MBEE/mdk/pull/222


Set mock name in Mockito

From<EMAIL_ADDRESS>on March 15, 2010 13:24:33
I find that I get NullPointerExceptions when invoking toString() on
any mock objects generated by PowerMock. The following simple code
will re-create the problem:
import javax.crypto.Cipher;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.powermock.api.mockito.PowerMockito;
import org.powermock.core.classloader.annotations.PrepareForTest;
import org.powermock.modules.junit4.PowerMockRunner;
@RunWith(PowerMockRunner.class)
@PrepareForTest(Cipher.class)
public class MyTest {
private Cipher cipher;
@Test
public void test1() throws Exception {
cipher = PowerMockito.mock(Cipher.class);
   System.out.println(cipher);

}
}
We use Log4j quite heavily to log method parameters and using injected
PowerMock objects makes this a big issue for us.
Original issue: http://code.google.com/p/powermock/issues/detail?id=239

From<EMAIL_ADDRESS>on March 15, 2010 10:24:29
Fixed in r1252
Summary: Set mock name in Mockito
Status: Fixed


APi usage

Can this be used for restful apis?

yes, the current version is stable, you can use it.
if you find a bug or problem please post it in the issue

Awesome thanks for the feedback


Copy/paste disabled in login dialog

It's a good practice to use a password manager with long random passwords. The way to use these is through auto fill or clipboard paste. Manual entry of such passwords is incredibly frustrating and error-prone.
Unfortunately the UI currently only accepts manual entry.

Hi, I agree, It's a technical issue and not disabled on purpose.
Since Withings released a feature to automatically upload to strava this repo is not highly maintained anymore.


Update Transport Middleware to Follow Reworked GraphQL over HTTP Spec Draft

https://github.com/graphql/graphql-over-http/pull/175

this is done


Can you add indian and Punjabi in the categories pls

Describe your suggested feature
Finding indian or Punjabi movie by suggestions is really hard pls add them to search
Other details
No response

Is your issue related to this #72 ?

Is your issue related to this #72 ?

No I want a enhancement that we get a indian category in search to get suggestions as mostly you don't have a movie in mind and need suggestions


(incoming) dev_support test fails sometimes for strange reasons

This is on my refactoring branch, but I'm not getting to it soon and don't want to forget about it:
The first test in dev_support sometimes spits out the following error:
============================================== ERRORS ===============================================
________________________________ ERROR at setup of testsuite_config _________________________________
file /home/isd/work/haas/haas/test_common.py, line 23
  def testsuite_config():
        fixture 'configure' not found
        available fixtures: pytestconfig, cov, recwarn, monkeypatch, capfd, capsys, tmpdir
        use 'py.test --fixtures [testpath]' for help on them.

/home/isd/work/haas/haas/test_common.py:23

This seems to depend on what tests are run; if just the dev_support tests are run it works fine. When all of tests/unit is run however, the error occurs.

The problem is that 'testsuite_config' starts with 'test'.  I don't quite understand how it's getting picked up by py.test, nor why doing multiple tests change it, but it's definitely the problem.

That is so dumb. Nice catch.

Closing, since @gsilvis fixed this.


Maintain title length to 20 character in quick reply

If the title length of a quick reply element in facebook messenger is more than 20 character then it shows a error. So I have added a function to keep the title in limit.

I implemented this change in a slightly different way place -- inside the Facebook send command.
Thanks for contributing!


Axis labels with HTML

I just updated from 0.9.4 to 0.11.0. In 0.9.4, I was able to include HTML as part of the axis label but now that functionality is gone or changed to something else. I dont see how to do this anymore. I used to pass in something like Mon
9/11 and the line break would pass into the rendered chart. Now that tag is being html encoded. How do I get my HTML labels back?

Usually we try to not include braking changes, even if we are still on the 0.x version. However, in the context of the security fixes and CSP changes, we've changed that the default label rendering uses only textContent and not innerHTML.
You can use this simple plugin in your setup which enables HTML labels in the data object and also for labelInterpolationFnc. For security reasons you should also include an HTML sanitizer if possible. https://jsbin.com/petugug/edit?html,js,output
// HTML Label plugin
Chartist.plugins = Chartist.plugins || {};
Chartist.plugins.ctHtmlLabels = function(options) {
  return function(chart) {
    chart.on('draw', function(context) {
      if (context.type === 'label') {
        // Best to combine with something like sanitize-html
        context.element.empty()._node.innerHTML = context.text;
      }
    });
  }
}

var chart = new Chartist.Line('.chart', {
  labels: ['1', '2', '3', '4', '5'],
  series: [
    [1, 2, 3, 5, 8]
  ]
}, {
  axisY: {
    scaleMinSpace: 40,
    labelInterpolationFnc: function(value, index) {
      return 'Value:' + value + '
' +
        'Index:' +index
    },
    offset: 80
  },
  plugins: [Chartist.plugins.ctHtmlLabels()]
});

FYI above solution doesnt work on IE11

Adding a line break "\r\n" seems to work.


Many graph drivers leak layer data on Remove() failure

Many of the graph drivers call os.RemoveAll or similar to remove files associated with a layer. This can fail, resulting in leaked data in the user's docker directory. Nothing appears to exist to come back and clean up these files later.
On Linux, this is probably not a significant problem because it is rare for unlink to fail on a file. On Windows, this is much more problematic because it is much easier to get into a state where a file is in use and cannot be removed. We may want to come up with a Windows-specific fix for this, but it would be best if we applied the same fix to the other graph drivers as well.
In some graph drivers, issue #27570 also applies when failing during Remove.
@darrenstahlmsft, @jhowardmsft, @swernli

/cc @tonistiigi @dmcgowan


Support 5 Role and Letter Combinations

As a user,
I need to be able to generate 5 role and letter combinations
so that I can use this for Summoners Rift.
This will change the UI to:

Display a list of 5 generated role and letter combinations when "generate" button is clicked

:tada: This issue has been resolved in version 1.0.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Fallback sources for @Configuration

Related problem
Considering the context of Halpbot, I have a configuration file that's used to specify certain aspects of your bot. A simplified version of this is shown below:
@Getter
@Configuration(source = "classpath:bot-config", filetype = FileFormats.PROPERTIES)
public class BotConfiguration
{
    @Value("defaultPrefix")
    private String defaultPrefix = "";

    @Value("ownerId")
    private long ownerId = -1;
}

Currently, this configuration file must be specified in the resources folder, which may be what some people want to do for their bot, but I would also like it to be possible to find it in the root folder if it's present in the resource folder (As some people may not want it to be built into their jar file, allowing them to easily adjust the values without rebuilding their bot). Currently, this is not possible.
Requested feature
I suggest that the source field be changed to an array of strings, where it iterates through the array in order until it finds the file. This allows you to specify multiple allowed places for the file to be located.
For example:
@Getter
@Configuration(source = { "classpath:bot-config", "bot-config" }, filetype = FileFormats.PROPERTIES)
public class BotConfiguration
{
    @Value("defaultPrefix")
    private String defaultPrefix = "";

    @Value("ownerId")
    private long ownerId = -1;
}

Would first check the classpath for bot-config.properties and if that isn't present, it would then the root directory for it (I'm not sure if there's meant to be a specific prefix for this, like there is with classpath)

I'm not sure if there's meant to be a specific prefix for this, like there is with classpath
If no strategy is defined it'll default to a FS-based lookup. I'll document this in @Configuration

Considering the context of Halpbot [..]
For future readers: https://github.com/pumbas600/HalpBot/

I like the proposed solution, it's simple yet effective, and will integrate nicely with #650


Supporting custom proxy protocol

This PR allows dependents to add proxy protocols (such as SOCKS4) that are not supported by reqwest.

Thanks for the PR. Though, I do not plan to add something that exposes the IO traits.

It is very disappointing...
I used to use hyper for this purpose, but when hyper 1.0 was released, I tried to migrate to it, but it was too difficult than hyper 0.14, so I had to give up.
reqwest can easily handle http, but it cannot handle arbitrary streams like hyper, so I made this.


fix: update segment tracking integration documentation

The segment plugin for @analytics has two distinct APIs. One for the browser and one for the server.
I've updated the docs to include examples for both and also updated the import style to ESM, which I think is more common now.

@hendrikheil
This piece of doc is no longer in UI.
Do you think that it is worth to bring it back?

I'm personally a fan of keeping installation examples in proper documentation anyway. I think it might be preferable to close this PR then 👍


added support for event to be passed into custom code data element type

Description
By adding support for event to be passed into the custom code data element type, users can create dynamic data elements that inspect the event context and take action conditionally.
Related Issue
https://github.com/adobe/reactor-extension-core/issues/6
Motivation and Context
This update will allow the creation of data elements which act upon the additional payload passed as a second parameter of _satelllite.track.  It also opens up options to create data elements that return values appropriate to the context of evaluation (typically the trigger of the rule within which the data element is being evaluated).
Screenshots (if appropriate):
Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ x ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[ x ] I have signed the Adobe Open Source CLA.
[ x ] My code follows the code style of this project.
[ x ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ x ] All tests pass and I've made any necessary test changes.
[ ] I have run the extension sandbox successfully.

This is a great enhancement. Thank you. One thing you'll need to do is add "parameters": ["event"] onto the transform block. This will ensure that the function that's produced will have event as one of its parameters, which will be needed so that the custom code can reference event. See https://developer.adobelaunch.com/extensions/reference/extension-manifest/#function-transform for more information. Everything else looks good though.

@Aaronius - I added the transform as described.  That part should be good.
When trying a test upload, I am getting this error which I think is beyond my control to resolve.

Thanks @stewartschillingsdi! Yes, that error is one you don't have control over. The customCode transform, which is used by the Custom Code action, is limited to only the extension named core (which is different that the name you're trying to use during your test upload). This is the only case I'm aware of where Core can do something that other extensions cannot.
Thanks for the contribution! We'll work on getting it fully tested and released.


Feature crawler

finally working version of crawler

./crawler/rawfile_editor.py:7:80: E501 line too long (91 > 79 characters)
./crawler/rawfile_editor.py:26:80: E501 line too long (88 > 79 characters)
./crawler/rawreader.py:6:45: E741 ambiguous variable name 'l'
./crawler/sitegetter.py:2:1: F401 'validators' imported but unused
./crawler/sitegetter.py:7:45: E741 ambiguous variable name 'l'
./crawler/sitegetter.py:13:80: E501 line too long (85 > 79 characters)
./crawler/sitegetter.py:20:80: E501 line too long (91 > 79 characters)
./crawler/sitegetter.py:21:80: E501 line too long (142 > 79 characters)
./crawler/source.py:12:41: E741 ambiguous variable name 'l'

Please fix flake8 errors


HBASE-27158 Add namespace column family to UNDELETABLE_META_COLUMNFAM…

…ILIES

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  7s
Docker mode activated.

_ Prechecks _

+1 :green_heart:
dupname
0m  0s
No case conflicting files found.

+1 :green_heart:
hbaseanti
0m  0s
Patch does not have any anti-patterns.

+1 :green_heart:
@author
0m  0s
The patch does not contain any @author tags.

_ master Compile Tests _

+1 :green_heart:
mvninstall
2m 39s
master passed

+1 :green_heart:
compile
2m 23s
master passed

+1 :green_heart:
checkstyle
0m 30s
master passed

+1 :green_heart:
spotless
0m 45s
branch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 24s
master passed

_ Patch Compile Tests _

+1 :green_heart:
mvninstall
2m 22s
the patch passed

+1 :green_heart:
compile
2m 22s
the patch passed

+1 :green_heart:
javac
2m 22s
the patch passed

+1 :green_heart:
checkstyle
0m 29s
the patch passed

+1 :green_heart:
whitespace
0m  0s
The patch has no whitespace issues.

+1 :green_heart:
hadoopcheck
11m 53s
Patch does not cause any errors with Hadoop 3.1.2 3.2.2 3.3.1.

+1 :green_heart:
spotless
0m 41s
patch has no errors when running spotless:check.

+1 :green_heart:
spotbugs
1m 35s
the patch passed

_ Other Tests _

+1 :green_heart:
asflicense
0m 10s
The patch does not generate ASF License warnings.

33m 50s

Subsystem
Report/Notes

Docker
ClientAPI=1.41 ServerAPI=1.41 base: https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4578/1/artifact/yetus-general-check/output/Dockerfile

GITHUB PR
https://github.com/apache/hbase/pull/4578

Optional Tests
dupname asflicense javac spotbugs hadoopcheck hbaseanti spotless checkstyle compile

uname
Linux c595dca208e1 5.4.0-90-generic #101-Ubuntu SMP Fri Oct 15 20:00:55 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
dev-support/hbase-personality.sh

git revision
master / c0e7e98ec7

Default Java
AdoptOpenJDK-1.8.0_282-b08

Max. process+thread count
70 (vs. ulimit of 30000)

modules
C: hbase-server U: hbase-server

Console output
https://ci-hbase.apache.org/job/HBase-PreCommit-GitHub-PR/job/PR-4578/1/console

versions
git=2.17.1 maven=3.6.3 spotbugs=4.2.2

Powered by
Apache Yetus 0.12.0 https://yetus.apache.org

This message was automatically generated.


scrollHandler: () {}, in MessagesList

How to listen event scroll up load previous more messages?

Sorry I need help, I tried:
void _handleScroll(ScrollNotification sn) {
    // print(sn);
    if (sn is ScrollEndNotification && sn.metrics.axisDirection == AxisDirection.up) {
      print('update data.');
      _chatBloc.loadMoreMsgsForSession(_chat.id);
    }
  }

It will call many times while I am scrolling, and the list just frequently updated caused a messy experience.

It's your job to make sure data is only fetched once, for example:
  /// Listener for scrolling events
  void onScroll(ScrollNotification scroll) {
    if (scroll.metrics.pixels == scroll.metrics.maxScrollExtent) {
      getMessages();
    }
  }

  ///fetch messages by batches of [CHATS_BATCH_SIZE]
  void getMessages() async {
    if (_canLoadMoreMessages) {
      _canLoadMoreMessages = false;
      final _items = await (_model.getChatMessages(_chat.id,
          lastTimeStamp:
              _controller.items.getLast()?.createdAt.millisecondsSinceEpoch,
          batchSize: BATCH_SIZE));
      if (_items.isNotNullOrEmpty) {
        if (_items!.length == BATCH_SIZE) _canLoadMoreMessages = true;
        _controller.addAll(_items);
      }
    }
  }

@themadmrj thank u.
However, how do u able detect if it is scroll to up max extent or scroll down max extent? I just need scroll up to load more?

However, how do u able detect if it is scroll to up max extent or scroll down max extent? I just need scroll up to load more?

if (scroll.metrics.pixels == scroll.metrics.maxScrollExtent) {
Mate you really need to use Google before posting. If you don't search by yourself you'll never learn!

@themadmrj Sorry sir. It was my mistake.


Fastnlight: Watch acq299507

Fastnlight requests the watch of the watch_keyword acq299507. See the MS search here and the Stack Exchange search in text, in URLs, and in code.

acq299507 has been seen in 1 true positive, 0 false positives, and 0 NAAs.

Approved by Jeff Schaller in Charcoal HQ


[PoC] Start to test the D Language specification automatically

This PR adds a simple tool that searches the entire specification for annotated examples and compiles them.
If we know that they compile, we can expose also make them runnable :)
For now I just started with one page.
Supersedes: https://github.com/dlang/dlang.org/pull/1754
As in https://github.com/dlang/dlang.org/pull/1754, we probably want to have similarly to the DMD testsuite these categories

SPEC_EXAMPLE_RUNNABLE
SPEC_EXAMPLE_COMPILABLE
SPEC_EXAMPLE_FAIL_COMPILATION

and these blocks in front:

SPEC_EXAMPLE_ARGS
SPEC_EXAMPLE_STDIN

If this experiment is successful, we can go for more page and additionally also check text examples included e.g. in Phobos or DRuntime.
Future

Execute examples

At the examples are only compiled (-c) and not executed.
An improvement would be to invoke them and check whether the output matches a pre-stored output.
$(SPEC_EXAMPLE_RUNNABLE_STDOUT
a
b
)
$(SPEC_EXAMPLE_RUNNABLE
---
void main() {
   "a\nb".writeln;
}
---

Alternative: parse the output from the comment, e.g. // output:
This is probably too simplistic.
Sometimes the output is given in a $(CONSOLE) block.

Check examples which fail compilation

It shouldn't be though hard to check whether only the lines annotated with // error have an error.
$(SPEC_EXAMPLE_FAIL_COMPILATION
void main() {
   a++; // error: a is undefined
}
)

DScanner uses this pattern quite successfully: https://github.com/dlang-community/D-Scanner/blob/master/src/analysis/has_public_example.d#L313
As an alternative one could store the error output above the example in an SPEC_EXAMPLE_STDERR macro.

As with all integrations between components, it's important to keep in mind that there should be a procedure when an interdependency cycle needs to be temporarily broken.
In this case, it would be unwrapping the example out of the SPEC_RUNNABLE_EXAMPLE macro. Hopefully it will be obvious enough should the time come.

Seems like actually making the examples runnable needs some more work, as they all complain that there is an undefined reference to main currently.

Seems like actually making the examples runnable needs some more work, as they all complain that there is an undefined reference to main currently.

Yeah, but it wasn't that much.


node-XMLHttpRequest doesn't work in AMD (and breaks Webpack, and possibly Browserify)

Currently AMD tries to load node-xmlhttprequest as a dependency, and given that library doesn't have a UMD, everything breaks. This is particularly problematic with Webpack, because it tries to load the AMD version and fails upon first XHR use.
Will be resolved via #252.
Thanks to @patrykkopycinski for the report!

I have encountered this problem. What time released v0.10.8?

I made a really ugly fix to use this with webpack: https://gist.github.com/ldd/c1a20595765fab416ebe
I hope v0.10.8 fixes everything :)

This will be fixed in version 0.10.8. A preview can be seen here.

Issue fixed and it'll be available when we release the new version.


bug fixes for blocked well create_xml

there were 2 bugs relating to dependant part creation (MdDatum and Trajectory) for blocked wells

Codecov Report

Merging #128 (9a3541e) into master (20641f8) will decrease coverage by 0.04%.
The diff coverage is 60.00%.

@@            Coverage Diff             @@
##           master     #128      +/-   ##
==========================================
- Coverage   39.58%   39.53%   -0.05%
==========================================
  Files          50       50
  Lines       21486    21381     -105
==========================================
- Hits         8505     8453      -52
+ Misses      12981    12928      -53

Impacted Files
Coverage Δ

resqpy/well.py
33.28% <60.00%> (+0.09%)
:arrow_up:

resqpy/olio/simple_lines.py
42.60% <0.00%> (-0.50%)
:arrow_down:

resqpy/model.py
62.02% <0.00%> (-0.08%)
:arrow_down:

resqpy/olio/transmission.py
75.70% <0.00%> (-0.04%)
:arrow_down:

resqpy/grid_surface.py
79.39% <0.00%> (-0.03%)
:arrow_down:

resqpy/grid.py
38.17% <0.00%> (+0.01%)
:arrow_up:

resqpy/olio/vdb.py
11.43% <0.00%> (+0.01%)
:arrow_up:

resqpy/lines.py
18.24% <0.00%> (+0.02%)
:arrow_up:

resqpy/fault.py
37.60% <0.00%> (+0.04%)
:arrow_up:

... and 8 more

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 20641f8...9a3541e. Read the comment docs.


Allign cmake extra args

Codecov Report

Merging #102 (c9ec700) into main (f7baeb4) will decrease coverage by 1.62%.
The diff coverage is 42.51%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main     #102      +/-   ##
==========================================
- Coverage   81.99%   80.38%   -1.62%
==========================================
  Files          52       52
  Lines        2922     2997      +75
==========================================
+ Hits         2396     2409      +13
- Misses        526      588      +62

Impacted Files
Coverage Δ

src/twister2/builder/build_helper.py
29.70% <29.70%> (ø)

src/twister2/fixtures/builder.py
37.77% <33.33%> (+1.41%)
:arrow_up:

src/twister2/builder/build_manager.py
91.58% <100.00%> (ø)

src/twister2/builder/builder_abstract.py
100.00% <100.00%> (ø)

src/twister2/builder/cmake_builder.py
90.32% <100.00%> (ø)

src/twister2/builder/west_builder.py
77.77% <100.00%> (ø)

src/twister2/specification_processor.py
92.68% <100.00%> (+0.34%)
:arrow_up:

src/twister2/yaml_test_specification.py
97.67% <100.00%> (+0.01%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Clicking on a ClinVar variant in the clinvar track results in Vue.js warning about immutable props being changed

This bug was introduced with #846.

This was happening due to code that was setting VariantInspectCard.selectedVariantInfo in annotateClinvarVariant(), which occurred when user clicked on a ClinVar variant in the ClinVar track. There are two problems with this code:

The wrong variable was being initialized (in VariantInspect.refreshedSelectedVariantInfo()). The code should have been setting the variable this.info, not this.selectedVariantInfo, which is the new field introduced with #846.  this.selectedVariantInfo contains the checked annotations from the new dialog SelectVariantAnnotationsDialog.
This refresh wasn't needed in the first place. The property info is passed in from GeneHome, which contains the variant info formatted when a variant is selected.


Optimized images

Thanks to ImgBot for this.

Yes it's possible. I'll soon update the PR with the requested changes 🙂

Nice.


Template matching with CCoeffNormed unhandled exception with Mask

Summary of your issue
The Template matching with CCoeffNormed does not currently work with a Mask, this feature has been fixed in openCV.
a similar older question with images and code was closed:
https://github.com/shimat/opencvsharp/issues/139#issue-112191858
I have taken the code and images and posted them below:

            Mat template = new Mat("\\template.png");
            Mat source = new Mat("\\image.png");
            Mat mask = new Mat("\\mask.png");
            OpenCvSharp.Mat r = new OpenCvSharp.Mat(source.Size(), OpenCvSharp.MatType.CV_8U);

            OpenCvSharp.Mat tGray = new OpenCvSharp.Mat(source.Size(), OpenCvSharp.MatType.CV_8U);
            OpenCvSharp.Cv2.CvtColor(template, tGray, OpenCvSharp.ColorConversionCodes.BGR2GRAY);

            OpenCvSharp.Mat sGray = new OpenCvSharp.Mat(source.Size(), OpenCvSharp.MatType.CV_8U);
            OpenCvSharp.Cv2.CvtColor(source, sGray, OpenCvSharp.ColorConversionCodes.BGR2GRAY);

            OpenCvSharp.Cv2.CvtColor(mask, mask, OpenCvSharp.ColorConversionCodes.BGR2GRAY);

the following empty exception is outputted:
OpenCvSharp.OpenCVException
  HResult=0x80131500
  Message=
  Source=OpenCvSharp
  StackTrace:
   at OpenCvSharp.NativeMethods.<>c.<.cctor>b__1559_0(ErrorCode status, String funcName, String errMsg, String fileName, Int32 line, IntPtr userData)
   at OpenCvSharp.NativeMethods.imgproc_matchTemplate(IntPtr image, IntPtr templ, IntPtr result, Int32 method, IntPtr mask)
   at OpenCvSharp.Cv2.MatchTemplate(InputArray image, InputArray templ, OutputArray result, TemplateMatchModes method, InputArray mask)

is it possible to add this feature to this project?

The code below worked fine for me.
using var template = new Mat("template.png", ImreadModes.Grayscale);
using var source = new Mat("image.png", ImreadModes.Grayscale);
using var mask = new Mat("mask.png", ImreadModes.Grayscale);
using var result = new Mat();

Cv2.MatchTemplate(source, template, result, TemplateMatchModes.CCoeffNormed, mask);

hello,
It seems that the problem occurs because of a conflict with some other packages I installed,
when creating a new project the function does indeed work.
Ill close the comment for now.


Add ./start.sh

This pull request adds a new ./start.sh script, which makes starting the project even easier than docker compose.
Instead of building the whole project every time, it's now possible to just pull a specific revision of Docker images from the GitHub Container Registry.
For example, to run the latest revision (the one that is deployed to https://forum.mer.pw), we can now just call:
./start.sh

Another important update is that the pull request review process was significantly simplified. When one opens a pull request, the docker image is built. We did not use this image before, but now we do!
./start.sh pr-76

E.g. this simple command starts the docker compose with images that were built in pull request 76. It’s much faster and easier than building all the services locally.

the revision build does not work

Our target architecture is x86, so we build and deploy our images with this architecture. As I see you are using Apple silicon Mac, which uses arm64.
I see two possible solutions:

Enable Rosetta 2 virtualization feature in your docker desktop. This will enable Apple's "emulator" for x86 and will allow you to run our images locally.

Build images to arm64 using docker compose up or ./start.sh local. But in this case your local image won't be the same as one that we deploy.

I've added platform: linux/amd64 to our docker compose files, so now your Mac should build images in the right architecture. I've also improved ./start.sh to use docker compose pull instead of docker pull. This should pull the version with right architecture, so you won't get any no matching manifest errors. I've just tested in on M1, everything works fine.


Country Pages re-vamp

Ticket description
Parent ticket for Country Pages re-vamp work item
Tasks
From QA team

[x] IFRCGo/go-web-app#493
[x] IFRCGo/go-web-app#494
[x] IFRCGo/go-web-app#495
[x] IFRCGo/go-web-app#496
[x] IFRCGo/go-web-app#497
[ ] IFRCGo/go-web-app#498
[ ] IFRCGo/go-web-app#499
[ ] IFRCGo/go-web-app#500
[ ] IFRCGo/go-web-app#554
[ ] IFRCGo/go-web-app#571

Development tasks

[ ] IFRCGo/go-web-app#501
[ ] IFRCGo/go-web-app#502
[ ] IFRCGo/go-web-app#506
[x] IFRCGo/go-web-app#550
[x] IFRCGo/go-web-app#551
[x] IFRCGo/go-web-app#552
[ ] IFRCGo/go-api#2039

Other tickets
External data exploration findings documentation:

[ ] IFRCGo/go-web-app#333

Ticket to collect feedback from IM team:

[ ] IFRCGo/go-web-app#360

Data validation test:

[ ] IFRCGo/go-web-app#541

Changes and additions documentation:

[x] #610

Based on the review on the nightly server:
Ongoing activities:

[ ] Note the text alignment

Ongoing emergencies:

[ ] Filter at Operations Map should filter the list of operations as well. Don't need filter above the list.
[ ] Provinces filters doesn't make sense at the moment - should be removed

3W Activities:

[ ] Activities tab will need to be removed for now (See message on Teams in Country pages channel)

National Society Overview

[ ] Note the text alignment

NS Activities

[ ] NS International Work - looks like projects stay in 'ongoing' status after end date. It should be closed after the end date. - Maybe this is only on the DFS server?

Context and Structure

[ ] Income Source Breakdown - ICRC and IFRC should be capitalized
[ ] Key Documents - File names on the lists are not equal to the pdf title (e.g. AR_UnitedKingdom_2009.pdf when opened, the file name is Anual Report UnitedKingdom 2009.pdf)
[ ] FRDS should be FDRS at the bottom of the page

Strategic Priorities:

[ ] NS Country plan is missing (e.g. https://go-web-ifrc.dev.datafriendlyspace.org/countries/51/ns-overview/strategic-priorities), I see only NS Internal Plans

Country Profile
Supporting partners:

[ ] 'Go to IFRC.org' should be the button label

Based on the review on the nightly server: Ongoing activities:

[ ]  Note the text alignment

Ongoing emergencies:

[ ]  Filter at Operations Map should filter the list of operations as well. Don't need filter above the list.
[ ]  Provinces filters doesn't make sense at the moment - should be removed

3W Activities:

[ ]  Activities tab will need to be removed for now (See message on Teams in Country pages channel)

National Society Overview

[ ]  Note the text alignment

NS Activities

[ ]  NS International Work - looks like projects stay in 'ongoing' status after end date. It should be closed after the end date. - Maybe this is only on the DFS server?

Context and Structure

[ ]  Income Source Breakdown - ICRC and IFRC should be capitalized
[ ]  Key Documents - File names on the lists are not equal to the pdf title (e.g. AR_UnitedKingdom_2009.pdf when opened, the file name is Anual Report UnitedKingdom 2009.pdf)
[ ]  FRDS should be FDRS at the bottom of the page

Strategic Priorities:

[ ]  NS Country plan is missing (e.g. https://go-web-ifrc.dev.datafriendlyspace.org/countries/51/ns-overview/strategic-priorities), I see only NS Internal Plans

Country Profile Supporting partners:

[ ]  'Go to IFRC.org' should be the button label

Feedback moved to #360

Feedback in the comment above moved to #360


[FLINK-14694] [table-planner-blink] Most tests from package o.a.f.table.planner.functions.aggfunctions are not executed during mvn test and fix BinaryGeneric comparison failure

What is the purpose of the change
Most tests from package o.a.f.table.planner.functions.aggfunctions are not executed during mvn test because those test case classed are abstract class and will be ignored when running mvn test. In FLINK-13702, BinaryGeneric can't be compared directly, so those failures are also ignored. This pr aims to fix both. The first one's solution is introducing Enclosed runner, and moving the abstract class as an inner class, and making sure the outer class is a non-abstract class. The second one's solution is verifying BinaryGeneric using BinaryGenericAsserter.equivalent (should also consider that GenericRow has BinaryGeneric sub-type)
Brief change log

introducing Enclosed runner and make sure the outer class is a non-abstract class
comparing BinaryGeneric using BinaryGenericAsserter.equivalent

Verifying this change
This change is already covered by existing tests.
Does this pull request potentially affect one of the following parts:

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

Documentation

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

cc @dawidwys

@dawidwys thanks so much for the suggestion, and I have updated the PR


Update Typo in Code in Readme

just a tiny typo, in the YT video you did it as in my corrected version

Typo was fixed in the original readme by one of its authors so it was pulled into this repo's read me.


Any example on sectioning for swift

Thank You for this awesome framework!
However, I've been stuck for a couple of days trying to figure out.
I need to implement multiple sections in my table. Has anyone been able to implement that with firebase UI directly from firebase?
I tried using these with swift but they weren't working
          dataSource.array.sectionKeyPath = "value";
          dataSource.array.sectionsOrderedAscending = true

It would be really useful to others if this was added to the docs.
any help to get me started would be greatly appreciated!

FirebaseUI doesn't really do anything to help people implement sections. With the newer release, you should be able to write a custom data source around FUIArray, but that's about it.
I'm not sure what version of FirebaseUI your example code is using, since our data source/array classes don't even expose those methods.

Thanks for the quick reply!
Would it be possible to get a hint to get me moving in the right direction.
I tired subclassing FUITableViewDataSource and FUIArray, but I'm not able to get any of the function triggered.
Anything would help at this point,
Thanks

FUIArray is intentionally reusable, but you shouldn't have to subclass FUITableViewDataSource since it's much simpler to just build your own object that conforms to UITableViewDataSource.
If none of the callbacks are being invoked, you've probably forgotten to call observeQuery on the FUIArray.


roscpp_core: 0.5.7-0 in 'indigo/distribution.yaml' [bloom]

Increasing version of package(s) in repository roscpp_core to 0.5.7-0:

upstream repository: git@github.com:ros/roscpp_core.git
release repository: https://github.com/ros-gbp/roscpp_core-release.git
distro file: indigo/distribution.yaml
bloom version: 0.5.21
previous version for package: 0.5.6-0

cpp_common
* export symbols for Header (#46 <https://github.com/ros/roscpp_core/pull/46>)

roscpp_serialization
* fix serializer bool on ARM (#44 <https://github.com/ros/roscpp_core/pull/44>)

roscpp_traits

No changes

rostime
* Adjust return value of sleep() function (#45 <https://github.com/ros/roscpp_core/pull/45>)
* fix WallRate(Duration) constructor (#40 <https://github.com/ros/roscpp_core/pull/40>)

Waiting for coordinated release.


style(extension): change styles for root element scroll bar

Checklist

[ ] JIRA - <LW-6740>
[ ] Proper tests implemented
[ ] Screenshots added.

Proposed solution
The PR restyles the scroll bar
Testing
Describe here, how the new implementation can be tested.
Provide link or briefly describe User Acceptance Criteria/Tests that need to be met
Screenshots

Allure report
allure-report-publisher generated test report!

smokeTests: ✅ test report for ddf2905a

passed
failed
skipped
flaky
total
result

Total
19
0
0
0
19
✅

The changes were not reflected in the build:
Track and thumb color are not correct. Scroll bar width is still 15 px.


@MarcelCoding we tested this succesfull now, did we?

Yes, I've been using it on my flake without problems.

What about adding a regression test with zentralwerk-network?

It's not yet used in zentralwerk.


Liquidity rewards fetching data

Ref: #2216
This PR adds support for fetching and displaying the rewards data from the LPRewards contracts. All data are stored in the redux store.

@michalsmiarowski  I'm ready for the second round!


Rename struts2 module to struts and use latest 6.0.x version

Rename struts2 module to struts and use latest 6.0.x version #471:
Description of changes:
https://github.com/awslabs/aws-serverless-java-container/issues/471
By submitting this pull request

[X] I confirm that my contribution is made under the terms of the Apache 2.0 license.
[X] I confirm that I've made a best effort attempt to update all relevant documentation.

Discarded


Download most popular images from tag search (when logged in premium account)

Prerequisites

[x] Did you read FAQ section?
[x] Did you test with the latest releases or commit ?

Description
Is it possible to have such feature?
Basically option 3 but with the images ordered by popularity.

only if you have premium/paid account and I need the search parameter (e.g. &order=something) as I don't have premium.

It is order=popular_d (overall), popular_male_d (popular among male users) and popular_female_d.

should be in the latest commit, I cannot test it as I don't have premium, but it should ask the sorting order, rather than oldest first [y/n] question from interactive console.

It works to me, thanks.


Alert completion of tests

I'd like to be able to detect the true completion of the nightwatch testing in the browser from my gulp task, and no just the completion of the gulp task itself. For example if I run the following:
gulp.task( 'test', ['nightwatch:firefox'], function () {
  // would expect to run after completion of tests
};

gulp.task( 'nightwatch:firefox', function () {
  gulp.src( '' )
  .pipe( nightwatch( {
    configFile: 'test/nightwatch.json',
    cliArgs: [ '--reporter test/e2e-reporter.js' ]
  }));
});

I would like to have "test" executed after the completion of all actual testing in "nightwatch:firefox" and not just on completion of gulp running the task.

Hi @jcarpe .
I think the nightwatch:firefox task should return gulp.src as below.
gulp.task( 'nightwatch:firefox', function () {
  return gulp.src( '' )
  .pipe( nightwatch( {
    configFile: 'test/nightwatch.json',
    cliArgs: [ '--reporter test/e2e-reporter.js' ]
  }));
});

For more info, please also see https://github.com/gulpjs/gulp/blob/master/docs/API.md#deps

Well, I feel more than a little silly... Thanks!


ci: update release action

coverage: 96.468%. remained the same
when pulling de9a077836069d0744e59bc5f446fbfd95fb94d9 on Tomas2D:feat-migrate-to-poetry
into d62f4a833866644ac5848fdc9860fd3c99466fd5 on IBM:main.


update target to swift 4.2

Closing in favor of https://github.com/marmelroy/Zip/pull/152 which is more complete and adds the same functionality and more.


Stylize README header

Fixes #40
Summary
Using the table, I was able to put the logo on a side of the basic information and badges.
This forms kind of a Hero-image feel which is both concise and readable.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Incompatibility with mod RouteRandom

If both this mod and RouteRandom by stormytuna are installed, the game will throw the following errors after loading into the ship:
[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
LethalQuantities.Patches.StartOfRoundPatch.updateMoonPrices (SelectableLevel level) (at <1f84666f1c6b4ad983e910ad04a755bb>:IL_0047)
LethalQuantities.Patches.StartOfRoundPatch.onPlanetChange (StartOfRound __instance) (at <1f84666f1c6b4ad983e910ad04a755bb>:IL_0001)
(wrapper dynamic-method) StartOfRound.DMD<StartOfRound::ChangePlanet>(StartOfRound)
StartOfRound.SetTimeAndPlanetToSavedSettings () (at <af9b1eec498a45aebd42601d6ab85015>:IL_00D6)
(wrapper dynamic-method) StartOfRound.DMD<StartOfRound::Start>(StartOfRound)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<StartOfRound::Start>?-623011064(StartOfRound)
LethalLib.Modules.Items.StartOfRound_Start (On.StartOfRound+orig_Start orig, StartOfRound self) (at <4eedb4dc36094adcb65137cf81f2803d>:IL_0178)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook<StartOfRound::Start>?1141828628(StartOfRound)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<StartOfRound::Start>?-104168982(StartOfRound)
LethalLib.Modules.Utilities.StartOfRound_Start (On.StartOfRound+orig_Start orig, StartOfRound self) (at <4eedb4dc36094adcb65137cf81f2803d>:IL_019C)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook<StartOfRound::Start>?197535880(StartOfRound)

[Error  : Unity Log] NullReferenceException: Object reference not set to an instance of an object
Stack trace:
LethalQuantities.Patches.StartOfRoundPatch.updateMoonPrices (SelectableLevel level) (at <1f84666f1c6b4ad983e910ad04a755bb>:IL_0047)
LethalQuantities.Patches.TerminalPatch.onTerminalStartPrefix (Terminal __instance) (at <1f84666f1c6b4ad983e910ad04a755bb>:IL_0015)
(wrapper dynamic-method) Terminal.DMD<Terminal::Start>(Terminal)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Trampoline<Terminal::Start>?966825162(Terminal)
LethalLib.Modules.Enemies.Terminal_Start (On.Terminal+orig_Start orig, Terminal self) (at <4eedb4dc36094adcb65137cf81f2803d>:IL_0336)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Hook<Terminal::Start>?-1917963924(Terminal)

The effects of this are that the deadline shows "7 days, 3 hours" and a quota of 509 for whatever reason, the main monitor shows no moon info and if you use the terminal you can't exit out of it anymore. So basically the game isn't playable with both these mods installed.

Ok thanks. I'll do some testing and get it fixed.

RouteRandom adds multiple CompatibleNouns to the route command's list of CompatibleNouns, but their terminalOptions variable is null, which is unexpected since all route CompatibleNouns are expected to have a valid confirm CompatibleNoun. I've added in more checks on my end to test the CompatibleNouns more thoroughly next update, but this is an issue with how RouteRandom implements their random commands.

I see. Thanks for the quick response! I'll forward this to RouteRandom's creator then