Windows Host: (jrei/systemd-ubuntu:18.04) Docker has stdout. Docker Compose doesn't.

I'm struggling with getting systemd output with docker-compose. While executing with plain docker run I successfully get the stdout.
I'm guessing that it has something to do with https://github.com/moby/moby/issues/27202. But I may be wrong.
My dockerfile
FROM  jrei/systemd-ubuntu:18.04

RUN sed -i 's/#\(ForwardToConsole=\).*$/\1yes/' /etc/systemd/journald.conf

STOPSIGNAL SIGRTMIN+3

RUN printf '\
[Unit]\n\
Description=sleep & echo service\n\
\n\
[Service]\n\
ExecStart=/bin/sh -c "count=0; while true; do count=$(( $count + 1 )); echo \"x $count\"; sleep 2;  done"\n\
\n\
[Install]\n\
WantedBy=multi-user.target\
' >> /etc/systemd/system/echo-sleep.service && \
    systemctl enable echo-sleep.service

The following run command shows the stdout from the sleep & echo service.
docker build -t systemd-logging . &&
    docker run --name systemd-logging \
                      --security-opt seccomp=unconfined \
                      --tmpfs /tmp \
                      --tmpfs /run \
                      --tmpfs /run/lock \
                      -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
                      -t systemd-logging

The equivalent docker-compose setup doesn't show the output or even the systemd bootup entries.
version: "3.7"

services:

  systemd-logging:
    container_name: systemd-logging
    image: systemd-logging
    privileged: true
    logging:
      driver: "json-file"
    build:
      context: .
      dockerfile: Dockerfile
    ports:
      - 8442:443
      - 2342:2345
    volumes:
      - /sys/fs/cgroup:/sys/fs/cgroup:ro
    security_opt:
      - seccomp:unconfined
    tmpfs:
      - /tmp
      - /run
      - /run/lock

and docker-compose up.
I have also tried to utilize CMD ["/bin/bash", "-c", "exec /sbin/init --log-target=journal 3>&1"] but without success.
I would be grateful if anybody would have any hunch on this problem. Thanks.

I can't help debug this, because not on Windows. Does this work on Linux?

I tried it out on Ubuntu 20.10 running on VMware Workstation 16 virtualization. The behavior is the same:

Stdout by executing docker is captured fine.docker run --name systemd-logging \
                   --security-opt seccomp=unconfined \
                   --tmpfs /tmp \
                   --tmpfs /run \
                   --tmpfs /run/lock \
                   -v /sys/fs/cgroup:/sys/fs/cgroup:ro \
                   -t systemd-logging

Stdout by executing the equivalent docker-compose is not captured.docker-compose up

After some testing, adding tty: true fix the issue. It was the option missing compared to the docker run command, which has the -t (or --tty) option.


New AppEngine Play Framework / Scala sample application

Hi,
Here is a proposal for an AppEngine Play Framework / Scala sample application using custom runtime with managed VMs.
Cheers,
Antoine

Use any repository except Gnarly so that fork my BEDROCK REPOSITORIES MASTER ROOT YOUR CHOICE.  KEEP IN TOUCH.
-------- Original message --------
From: Antoine Labbe<EMAIL_ADDRESS>Date: 02/26/2015  11:06 PM  (GMT-05:00)
To: GoogleCloudPlatform/Template<EMAIL_ADDRESS>Subject: [Template] New AppEngine Play Framework / Scala sample application (#14)
Hi,
Here is a proposal for an AppEngine Play Framework / Scala sample application using custom runtime with managed VMs.
—
Reply to this email directly or view it on GitHub.

No interest?

It's an interesting proposal, we've decided this is no longer the place we want to take sample repository requests. We'll track internally, and soon have a new place for these requests! Thanks!

Okay, thank you for the feedback


%filename% not working on Danbooru and replaced by the image's MD5

What steps will reproduce the problem?
Any sort of image save
What is the expected behavior? What do you get instead?
 On which sources?
Every time since today, currently only using Danbooru
What version of the program are you using? On what operating system?
5.5.2
Please provide any additional information below

Most likely caused by an change in the page.

Old format: __original_drawn_by_akashi_kaikyou__b8ea486b9229aa42ab32a8a6f122a8dc.jpg
Current (MD5): b8ea486b9229aa42ab32a8a6f122a8dc
New format: original drawn by akashi kaikyou - b8ea486b9229aa42ab32a8a6f122a8dc.jpg

I'll see what I can do to update the filename detection.

Thank you!

The fix will be included in the next release.
In the meantime, you can reproduce this change in your C:\Users\%USERNAME%\AppData\Local\Bionus\Grabber\sites\Danbooru (2.0)\model.xml file:
https://github.com/Bionus/imgbrd-grabber/commit/3ea57dbf656185952099e6af1600b7ecde9b7446#diff-4124402ea1c541809e173f9e662db473

Hi, sorry to be a bother, but I am still having this issue on the latest nightly (98d803eb), it still saves as the md5. It seems the images are pointing to one url (e.g. https://danbooru.donmai.us/data/c8c1754eeb4bb1bef73e2afa4979d848.jpg) rather than the "proper" one (e.g. https://danbooru.donmai.us/data/__watanabe_you_love_live_and_love_live_sunshine_drawn_by_rozen5__c8c1754eeb4bb1bef73e2afa4979d848.jpg)
It is probably something I have done wrong, but I would appreciate any info you have about this, thank you.

@Pobuo you don't need to do anything that complicated. And for the model.xml solution, it doesn't apply to more recent versions.
If you want the very latest version, you can directly download the nightly installer. It should contain the %filename% fix.

Hi again, just to confirm that after testing with the latest nightly version, %filename% seems to work as intended once again. Thank you very much for your help and all your effort!


Does getCacheDir belong in runner, importer, or its own namespace?

Needs to be in importer, since importer uses it and we wouldn't be able to pestle_import() without it

Needs to be in importer, since importer uses it and we wouldn't be able to pestle_import() without it


Create CLI Password Generator

CLI python program to generate strong passwords based on user preferences.

@ayushete02  Delete the pyache file .

@ambushneupane Done

I think now here is now issue in file so you can merge it


Midi host

This is really cool!  Are you open to contributions? I might be able to hook up a parser to get this closer to a full working implementation

I suggest starting your own repo because I will not have time to review and merge code. I do not mind anyone using code from this repo for other projects. MIDI is not a high priority for me at this time.
I received some ESP32 S3 boards so will be moving off to ESP-IDF S3 world for a while.

Ok cool, I will. Let me know if/how you would like credit!
S3 is in my future too, I am hoping the USB API is similar.

In your README add an acknowledgement and link back to this repo.

Ok will do!

@marchingband
If I can get this working (hopefully over the weekend), I have a LOT of parser code ready to be tested currently here  ...Happy to work with you, or feel free to steal any useful logic (CC lookup tables, erroneous PID/VID list, etc.) - all MIT: "Share and Enjoy"

@csBlueChip i have had a lot of luck with midiXparser, used it in 2 projects with great success, I was planning to just add that!

https://github.com/TheKikGen/midiXparser

That is a stunningly clean bit of code, but only seems to handle a few basic /input/ commands ...I'm aiming for something a bit involved: {SMF player, full GM/GM2 synth, virtual keyboard} ...I also want to track RPN and NPN values for features such as pitch bend, as well as maintain routing tables between multiple USB & GPIO/UART ports.
...Still looking forward to seeing your project - something clean and functional is often more impressive than "feature bloated"

That’s very ambitious, wonderful, I can’t wait to play with it!

@csBlueChip @marchingband please, have you managed to develop s2/s3 midi host ability? TinyUSB still says there's no host support ((( Am I getting it somehow wrong, maybe there's some alternative way or did they implement it in the core libs already? Please, help, I just want to connect a keyboard to ESP32s3 ))).

it looks like support was merged very recently, so the way I did it is probably not relevant anymore.
https://github.com/hathach/tinyusb/releases/tag/0.16.0

But for completeness, here is a repo that helped me, I have not published my code yet. https://github.com/intechstudio/knot

it looks like support was merged very recently, so the way I did it is probably not relevant anymore. https://github.com/hathach/tinyusb/releases/tag/0.16.0

Thank you for the response! But I cannot find where they mention ESP32 s2/s3 host support.
This is where I wanted to add USB MIDI kbd support: https://github.com/copych/AcidBox . Can you tell in advance, if USB host support is CPU-expensive?
Can you also tell, please, will any of the solutions work with USB MIDI keyboard connected via an USB-hub? Or do they only support a single device connected directly?
Looking at WVR I can imagine that you have made a long way from an idea to the product. Some time ago I haven't found your WVR project and started thinking of creating something similar, but with no dedicated firmware. My measurements has shown the ability of playing 17 simultaneous stereo samples directly from an SD-card connected via 4-bit bus, but required precaching first hundreds of bites from each sample of a set. Do you use similar technique or does a soldered memory chip solve these lag issues in a simple and efficient manner?
Also I have an idea of making a hybrid drum synth combining FM, wave-table and subtractive synthesis along with some basic FX in a chain. To keep real-time calculations within esp32's capacity I thought on pre-rendering some massive pieces and play them as samples, yet having live control of biquad or similar filtering and other fx. How do you think, may this be interesting to the community, and does it fit your hardware if I get it right at all? ))

I don't know if they support usb hub, I have not tried. WVR does not pre-cache data, the eMMC is fast enough when reading contiguous data. DSP is too slow on ESP32 when using floats, but can be done in fixed-point, I have not done much yet myself, it is hard. I suggest you order or manufacture a WVR and experiment, the hardware is open source. You can ask questions in the WVR forum.

Regarding float processing, I'd suggest you to check my AcidBox repo, it only requires ESP32 or RSP32S3 with PSRAM and preferrably some I2S DAC. Two cores are able of running 2 oscillators with filters, drum sampler with djgfilter, plus fx-chain consisting of overdrive, distortion,  reverb, delay and compressor. All @44100 sampling rate.

This is really cool! Are you open to contributions? I might be able to hook up a parser to get this closer to a full working implementation

Can post a functional edition of that for S3 (and other compatible USB MIDI Host ESP32) n a separate repo from wvr? Would truly appreciate a functional USB MIDI Host solution, and I know more in the community would also.
Thanks in advance, if possible!

@01GOD WVR uses a Seeed XIAO D21 and this code https://github.com/marchingband/wvr_usb_backpack
I also sell this as a standalone module here: https://www.ultrapalace.com/product-page/midicrown

@01GOD WVR uses a Seeed XIAO D21 and this code https://github.com/marchingband/wvr_usb_backpack I also sell this as a standalone module here: https://www.ultrapalace.com/product-page/midicrown

Ah. Had thought were doing direct USB MIDI to that ESP32 instead of using another module for that.
By the way, would be nice if can post a "THIS DEFINITELY FUNCTIONS for USB MIDI from laptop DAW to ESP32-S3 (and other compatible ESP32 boards) synths in Arduino IDE" example .ino. I know that people have been asking. I had installed the fourtyseveneffects Arduino MIDI Library yesterday, but there didn't seem to be a USB MIDI example for ESP32-S3 (and other compatible ESP32) in that. Surprisingly, even Marcel License ESP32 synths still rely on a separate USB MIDI solution.
If post a simple example of that (and maybe add a saw wave synth later), that would likely be a very popular repo and that could be useful marketing for advertising wvr.


Member role access

Member should not be able to invite new users. Only allowed for owner and admin

if it's possible, please correct messages when admin tries to delete datasourse/role/etc. Currently it shows "success" message but nothing happens. In this case we need to show some neutral text.

https://github.com/mlcraft-io/client-v2/assets/2017148/ec2f5241-1743-4c4a-a9b6-b5208da9cf54
team selector doesn't change the actual scope for loading entities


Automatically try alternative APIs when an API goes down

If the primary API is down, we should automatically fall back to alternative APIs.

As @trent823 suggested in #12:

Would be good to build in automatic retry on alternative hosts in case this host also goes down

@over-engineer I created a lib for exactly that: https://github.com/CMiksche/exchangerates-wrapper


(Owner.handle_cast/2) FunctionClauseError

DB Connection version: 0.2.5
Opening this issue to better track it.
Using manual checkout mode.  Haven't been able to track down exactly how or when this happens yet.
11:35:19.122 [error] Postgrex.Protocol (#PID<0.1074.0>) disconnected: ** (DBConnection.Error) client down
11:35:19.142 [error] GenServer #PID<0.1101.0> terminating
** (FunctionClauseError) no function clause matching in anonymous fn/1 in DBConnection.Ownership.Owner.handle_cast/2
    (db_connection) lib/db_connection/ownership/owner.ex:170: anonymous fn({{#Reference<<IP_ADDRESS>68>, #Reference<<IP_ADDRESS>70>}, 15000, {#PID<0.1100.0>, #Reference<<IP_ADDRESS>69>}}) in DBConnection.Ownership.Owner.handle_cast/2
    (stdlib) queue.erl:369: :queue.filter_f/2
    (stdlib) queue.erl:353: :queue.filter/2
    (db_connection) lib/db_connection/ownership/owner.ex:178: DBConnection.Ownership.Owner.handle_cast/2
    (stdlib) gen_server.erl:615: :gen_server.try_dispatch/4
    (stdlib) gen_server.erl:681: :gen_server.handle_msg/5
    (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
11:35:19.142 [error] #PID<0.1098.0> running SchedWeb.Endpoint terminated
Server: localhost:4001 (http)
Request: POST /login
** (exit) exited in: GenServer.call(#PID<0.1101.0>, {:checkout, #Reference<<IP_ADDRESS>3>, true, 15000}, 5000)
    ** (EXIT) time out
11:35:19.143 [error] Process #PID<0.1100.0> raised an exception
** (Postgrex.Error) tcp recv: closed
    (ecto) lib/ecto/adapters/sql.ex:405: Ecto.Adapters.SQL.struct/6
    (ecto) lib/ecto/repo/schema.ex:373: Ecto.Repo.Schema.apply/5
    (ecto) lib/ecto/repo/schema.ex:179: anonymous fn/11 in Ecto.Repo.Schema.do_insert/4
    (ecto) lib/ecto/repo/schema.ex:584: anonymous fn/3 in Ecto.Repo.Schema.wrap_in_transaction/6
    (ecto) lib/ecto/adapters/sql.ex:450: anonymous fn/3 in Ecto.Adapters.SQL.do_transaction/3
    (db_connection) lib/db_connection.ex:1079: DBConnection.transaction_run/4
    (db_connection) lib/db_connection.ex:1009: DBConnection.run_begin/3
    (db_connection) lib/db_connection.ex:766: DBConnection.transaction/3

Appears to be a bug in DBConnection.

This fun expects a queue to contain 2-tuple items:
https://github.com/fishcakez/db_connection/blob/v0.2.5/lib/db_connection/ownership/owner.ex#L170
However 3-tuple items are inserted:
https://github.com/fishcakez/db_connection/blob/v0.2.5/lib/db_connection/ownership/owner.ex#L133
On 27 April 2016 at 22:09, Sean Stavropoulos<EMAIL_ADDRESS>wrote:

DB Connection version: 0.2.5
Opening this issue to better track it.
Using manual checkout mode. Haven't been able to track down exactly how or
when this happens yet.
11:35:19.122 [error] Postgrex.Protocol (#PID<0.1074.0>) disconnected: ** (DBConnection.Error) client down
11:35:19.142 [error] GenServer #PID<0.1101.0> terminating
** (FunctionClauseError) no function clause matching in anonymous fn/1 in DBConnection.Ownership.Owner.handle_cast/2
(db_connection) lib/db_connection/ownership/owner.ex:170: anonymous fn({{#Reference<<IP_ADDRESS>68>, #Reference<<IP_ADDRESS>70>}, 15000, {#PID<0.1100.0>, #Reference<<IP_ADDRESS>69>}}) in DBConnection.Ownership.Owner.handle_cast/2
(stdlib) queue.erl:369: :queue.filter_f/2
(stdlib) queue.erl:353: :queue.filter/2
(db_connection) lib/db_connection/ownership/owner.ex:178: DBConnection.Ownership.Owner.handle_cast/2
(stdlib) gen_server.erl:615: :gen_server.try_dispatch/4
(stdlib) gen_server.erl:681: :gen_server.handle_msg/5
(stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3
11:35:19.142 [error] #PID<0.1098.0> running SchedWeb.Endpoint terminated
Server: localhost:4001 (http)
Request: POST /login
** (exit) exited in: GenServer.call(#PID<0.1101.0>, {:checkout, #Reference<<IP_ADDRESS>3>, true, 15000}, 5000)
** (EXIT) time out
11:35:19.143 [error] Process #PID<0.1100.0> raised an exception
** (Postgrex.Error) tcp recv: closed
(ecto) lib/ecto/adapters/sql.ex:405: Ecto.Adapters.SQL.struct/6
(ecto) lib/ecto/repo/schema.ex:373: Ecto.Repo.Schema.apply/5
(ecto) lib/ecto/repo/schema.ex:179: anonymous fn/11 in Ecto.Repo.Schema.do_insert/4
(ecto) lib/ecto/repo/schema.ex:584: anonymous fn/3 in Ecto.Repo.Schema.wrap_in_transaction/6
(ecto) lib/ecto/adapters/sql.ex:450: anonymous fn/3 in Ecto.Adapters.SQL.do_transaction/3
(db_connection) lib/db_connection.ex:1079: DBConnection.transaction_run/4
(db_connection) lib/db_connection.ex:1009: DBConnection.run_begin/3
(db_connection) lib/db_connection.ex:766: DBConnection.transaction/3
Appears to be a bug in DBConnection.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/fishcakez/db_connection/issues/35

Fixed in #36


[ALLUXIO-3101] Fix journaling of persist propagation

https://alluxio.atlassian.net/browse/ALLUXIO-3101
clone of #6876

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/18614/
Test PASSed.


load via js directly instead of script tag

Describe the feature or enhancement
Is there a recommended way to load umami via js directly instead of using a script tag? I don't see that as a currently supported feature but hopefully I'm missing it.
My use-case is I would like to include umami stat tracking in some generated HTML documentation that is both available in a website but also in local builds that are potentially offline. I explicitly do not want to collect data from the local copy of the same files and my first thought was to simply check the hostname before loading umami.
A solution like https://github.com/umami-software/umami/issues/2328 would also suffice. (Related, I don't see what malicious actors being able to spoof has to do with the original request -- it would still prevent you from accidentally adding stats from non-production deployments which is basically what I'm asking for here as well).
Note, this is a duplicate of #2766 as the feature is still valuable

Would https://github.com/umami-software/umami/issues/2776 work for you?

Not necessarily. This doesn't have anything to do with how the distributed files are packaged -- they're packaged the same way in both of my use cases. One is in a bundle downloaded with a local piece of software. The other is the same bundle hosted on a static website. By having code in the page check whether it's being loaded from a file URL or a remote one first I can only load the tracking on the remote site. As I understand it anyway, I don't see how anything in #2776 helps.

It would allow you to conditionally initialize the tracker:
import {umami} from "@umami/tracker"

if(SHOULD_INIT_ANALYTICS) {
  umami.init({
    website: "b59e9c65-ae32-47f1-8400-119fcf4861c4"
  })
}

And I mentioned that this would allow loading the tracker from JavaScript instead of a script tag, just like you wish in this ticket:

A client side npm package would be great ... to be able to initilaize the tracker without adding a

But it also requires me to integrate NPM into something that doesn't already use it? I'm afraid I don't have familiarity with using it for client-side javascript.

You can use data-domains to limit it to certain domains only. See https://umami.is/docs/tracker-configuration

That's helpful and helps with half the problem. Unfortunately it can still cause issues when the documentation is being rendered offline or partially offline and I want to limit even requesting the .js from the network in the first place. For example, when on a slow network like a plane flight the page I have in question is entirely offline and I'd like to detect in the JS before I even load the umami.js and avoid even trying to load it.

Have you tried something like this?
function loadUmami() {
  var el = document.createElement('script');
  el.setAttribute('src', 'http://mywebsite.com/umami.js');
  el.setAttribute('data-website-id', '94db1cb1-74f4-4a40-ad6c-962362670409');
  document.body.appendChild(el);
}

Which you could conditionally call.

I thought I tried that and it failed to load, but let me double check again and report back.


Differences with Nuked-OPM

A quick check has revealed some differences between your code and Nuked's.  His implementation is also based on a die shot so I don't know which one is the right one. I'm opening up the issue here, as I have talked with you more recently.
I think there are other small differences in how the noise is generated between the two of you.

I double-checked the noise block in the die shot, and I was not able to found any problems with my schematics yet.

First, let's look at the LSFR's initialization circuits. Note that GLOBAL.MRST is a positive logic signal, which becomes 1 on reset. This causes the output of AOI21, highlighted in magenta, to be 1. I took the "reset value" to be 0. If the LFSR contains binary 1111... at reset, this would be negative logic.

Evey dynamic shift register bits of the LFSR have complementary outputs. Q passes the value to the next register, and /Q connects to a 17-input NOR(wired-OR+INV in the photo). Since the input was negative logic, Q is also negative logic, and /Q is positive logic. Since the NOTP inverts Q of MCYC0 DFF, Q of MCYC1 DFF and MCYC2 DFF is positive logic.
Anyway, they are all positive logic, and they connected to a 17-input NOR. Here they mean noise_lfsr[15:0] and xor_flag in my code. This can be considered a zero detector with the positive logic output, since the output will be 1 only if all inputs are 0.
When the output of the 17-input NOR becomes 1, the output of NOR2 becomes 0.

Let's look at the first picture again. The output of NOR2 is connected to the NOR3. In normal operation, MRST = 0, and the value of MCYC17-00 DFF is 1 during the LFSR value update period. Then all inputs of the NOR3 will be 0, and the output will be 1.
If the output of the NOR3 is 1, the output of the AOI21 will be 0. I assumed in the first paragraph that the polarity of the LFSR's input is negative logic, so we can think of the LFSR as having a input value 1.
https://github.com/ika-musume/IKAOPM/blob/7cea2dfc242154f9aff333180f29f4a854454e76/HDL/IKAOPM_modules/IKAOPM_noise.v#L64
I haven't read nukeykt's code. He might have written his code with the output of the taps in the LFSR as negative logic.

In the register-to-register connections of all YM2XXX FM chips, the polarity of the data changes every time it passes through a single DFF+comb logic. Very confusing and annoying. Many nets of the schematics are annotated with positive and negative logic.

You can use ~{name} to add a bar on top of a singal name on KiCAD, so it will be clear whether the logic is active high or low. It is also customary to add some sort of suffix to verilog signals such as _n or _b to mark active low signals. That would make things clearer.
I will review Nuked's code after your comments above

I reviewed the nukeykt's code, and the behavior of his C code and my Verilog code is exactly the same, except that he implemented all the circuits "as is", and I implemented them with some polarity changes. They are simply differences in intermediate data polarity. I will close the case.

Thank you


how to get all option tickers ?

how to get all option tickers in huobi?
market_client = HuobiOptionRestAPI(host = 'https://api.hbdm.com', access_key = apiKey, secret_key = secret)
market_client.get_option_info()
Output: <coroutine object HuobiOptionRestAPI.get_option_info at 0x00000225A700D620>
Also, could you add some examples for us to use?
many thanks in advance!

Dear Mike, Huobi Option has been offline. Sorry for any inconvince.
await is needed to excute the coroutine object.such as:
market_client = await HuobiOptionRestAPI(host = 'https://api.hbdm.com', access_key = apiKey, secret_key = secret)
market_client.get_option_info()


ci: [CNI] Load testing for cilium cni

Reason for Change:
Add the load testing for cilium cni with aks cluster.
There are couple of scripts that does the testing.

deployment script - it creates around 240 pods on each node and scale down to zero and repeat it 10 times.
Stress test script - it checks the ips assigned to the pods are same as that in azure_endpoints json and cilium endpoints. It also restarts the systemd netword to check the connectivity works after that.

Requirements:

[ X] uses conventional commit messages

[ ] includes documentation
[ ] adds unit tests

Notes:

please make sure you address/resolve other comments as well

needs rebase


Public Profile View

As a user of the Business Partner Agent I want to see my public profile in a similar way as other business partners would see my public profile.
Note: Currently only the OrgProfile is shown. No other credentials are shown.
In addtion I as a developer want to see the raw verifiable presentation. therefore, an expansion panel only visible in expert mode should show the raw json (see for example the document/credential view for reference)

As a user I want to get the hint to setup my profile if the profile is not set up yet
This is prepared al ready but the the credentials have to be part of the conditional


Explore: Refactor pyrsia cli command

For better user experience, it is better to update Pyrsia cli command documentation and code.
Here are some confusing case and codes:

As mentioned by @tiainen  I believe that the entire match above on Some(("node", ...) can be removed as well, since config is the only remaining subcommand

Run  "pyrsia config -a"
Output: USAGE: pyrsia_cli

Configuration parameters are not checked. I believe some ports are not available for Pyrsia nodes

@fishseabowl on what basis we want to validate the config params , url and port can be anything


Fix null pointer dereference when creating fullscreen window

Description
Regression introduced in 7556d1b
The fact that this PR further simplifies the implementation of windows goes to show that it really does make the most sense to manage fullscreen windows within WindowImpl.cpp. This bug was not caught because our tests do not create fullscreen windows. Our tests may be able to create fullscreen windows once #2300 is fixed.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

6 of 15 (40.0%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.008%) to 55.741%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/SFML/Window/WindowImpl.cpp
6
15
40.0%

Files with Coverage Reduction
New Missed Lines
%

include/SFML/Window/WindowBase.hpp
1
0.0%

src/SFML/Window/Window.cpp
2
71.15%

Totals

Change from base Build<PHONE_NUMBER>:
-0.008%

Covered Lines:
11653

Relevant Lines:
19659

💛  - Coveralls


support disable search classes config

Now ServerConfig.classes == null || ServerConfig.classes.size()==0 begin search class path models, but i want use SQL select database.
I want has a ServerConfig.setSearchModel(boolean) API to disable search class path.

I don't understand how that would be used.
If classes is null or empty ... and the class path search is disabled ... then EbeanServer would start up with no entity bean classes registered?  Is that what you want to do?

yes, i want to use only sqlQuery.


is possible a lazy ls.rec! ???

Hi guys, I've a small question, I'm curious if it's possible use a lazy ls because this
ls.rec! root |? filtr1 |! someOutputF

generate me a GC java.lang.OutOfMemoryError: GC overhead limit exceeded

Try ls.rec!! root, which should return an iterator

Just for others (beside me) who see this answer. Has been renamed ls.rec.iter!


fix dropdown onClose when clicking outside menu

Add a changeset.

Codecov Report

Merging #311 (cd2c00e) into dev (d7bf964) will increase coverage by 0.08%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##              dev     #311      +/-   ##
==========================================
+ Coverage   90.51%   90.60%   +0.08%
==========================================
  Files         153      153
  Lines        3628     3628
  Branches     1207     1207
==========================================
+ Hits         3284     3287       +3
+ Misses        186      185       -1
+ Partials      158      156       -2

Impacted Files
Coverage Δ

...act-magma-dom/src/components/Dropdown/Dropdown.tsx
84.05% <100.00%> (+4.34%)
:arrow_up:

Continue to review full report at Codecov.

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

My guess is that it's not working because the handleMenuBlur is just setting the isOpen state directly and not using the helper function that calls the onClose prop after setIsOpen
Not sure why we even want a global event listener when we can just handle it with the blurs...


favicon: Add icons

Here one can see if the favicon shows up in all the browsers: https://realfavicongenerator.net/favicon_checker?protocol=https&site=deploy-preview-14--frolicking-manatee-96c0c8.netlify.app%2F

In my manual testing the logo shows up on Chrome, Edge and Safari on MacOSX and Safari on iOS.

This PR is ready for review.


Fix randomize

@marcobarilari
Opening this one already so you can follow along and make sure my logic is not out of whack.

hum... it is not running github actions yet. Will merge this and reopen another pull request so that at least CI is set up. :-)


Create SQLite db for documents

General comment regarding the PR: can we add some bit of documentation explaining what purpose this db serves + how to use it?


add: optional token limit per user object

@belugame This is what I got thus far. I have verified the functionality manually -- it works but I am having trouble with the test not respecting the overridden TOKEN_LIMIT, thus the test fails -- I figured the default settings value should be None since this option does come with a performance cost and is not needed by everyone.
I mean I could just set knox_settings.TOKEN_LIMIT = 10 inside the testcase but.. is that the correct way?
Related: https://github.com/James1345/django-rest-knox/issues/108

Oh doh you are absolutly right. My bad, totally missed that. I will fix it to only count unexpired keys.

I have fixed these issues in the latest commit -- however I am unable to run the tests locally since they depend on commits I do not have.. any chance you know what I could do @belugame? This PR is also blocked by merge conflict due to recent 3.2.1 merge into master.

@sphrak https://gist.github.com/ravibhure/a7e0918ff4937c9ea1c456698dcd58aa follow this guide to rebase your branch onto latest version

@rphlo Thank you, unfortunatly those instructions borked my local branch due to all the conflicts and has now diverged so I had to redo it.
Weird, it really should just have been a matter of rebasing but its likely because I have more than 1 commit in this feature branch. Gonna try squash it then rebase to avoid the conflicts.

@belugame The merge conflict is fixed. However I cannot get the tests to pass with the new approach to test settings. Either im not checking the setting correctly in views.py or the override_settings does not work as I understood it.
In a naive attempt I tried checking against develop branch, but to no avail so changed it back again.
Regards,
Sphrak

@sphrak : do you need some help to get this merged? I'd gladly help if that's the case.

@johnraz I think I got it -- unless there is something else you want to add. I simply missed the notifications about the activity in this PR. I have fixed this PR now in latest commit.
Kindly

I suspect its failing because of this https://github.com/James1345/django-rest-knox/commit/7570615b6faaa741b1b5e5b0a76965047a2dd4c4 but that was added long time ago, I dont understand how its a problem now
This commit doesnt even touch that part

@sphrak I just have some spare time and thought I could help if that was needed, nothing special I wanna add and if you sorted it then that's even better 🚀

I suspect its failing because of this 7570615 but that was added long time ago, I dont understand how its a problem now
This commit doesnt even touch that part

@sphrak could it be that the reload of the views module is re-initializing the knox_settings.USER_SERIALIZER to None?
Maybe reloading views after https://github.com/James1345/django-rest-knox/blob/master/tests/tests.py#L81 would make it safer?
I'm just fishing here and throwing ideas though I'm not very familiar with that module reloading from six.

@belugame @rphlo @johnraz alright so I got it working but I am not sure if I like it because it modifies code that is sort of outside the scope of this commit and I have no clue why it is even working.

Good work guys! Added 2 minor comments that could be addressed, but happy to merge this!

It has been fixed @belugame :-)

for the 3.4.0 release we need to adapt the setup.py


Investigate cutoff in README files

The current cutoff for the README size histogram is based on statistical bins. Instead, investigate the cutoff between an automatically generated README, one with one small section, and a large, full README.

Settled on following bins:

Bytes bin
meaning
(low, high) examples

0-1
No README
eghbal11/Eghbal, supercollider-quarks/Republic

1-300
Ultra-short (title and description from repo creation)
epsilonlabs/emf-cbp, brunomozza/IoTSecurityOntology

300 - 1500
Short description
lphowell/Geothermal-Modelling, oreindt/routes-rumours-ml3

1500 - 10000
Informative README
sanket0707/GNN-Mixer, ok1zjf/lbae

10000 -
Highly detailed
uos/mesh_navigation, stuartemiddleton/glosat_table_dataset

They aren't perfect, but give a rough structure. Note that the listed examples are from the edges of the bins, not the middle, so they seem similar sometimes.

High-interest repos have more informative READMEs. Repos with short description-type READMEs do not generate high interest. On the other hand, an informative README does not guarantee high interest: the proportion of informative ones is comparable across all interest categories.


fix(ui): fixed console warning

Description
Getting "Each child in a list should have a unique "key" prop." warning in console.
Which issue(s) does this PR fix

Fixes RHIDP-4213

PR acceptance criteria
Please make sure that the following steps are complete:

[ ] GitHub Actions are completed and successful
[ ] Unit Tests are updated and passing
[ ] E2E Tests are updated and passing
[ ] Documentation is updated if necessary (requirement for new features)
[ ] Add a screenshot if the change is UX/UI related

How to test changes / Special notes to the reviewer
Run backstage-showcase locally and see Console tab in inspector.

/test e2e-tests

/retest

/retest

/override ci/prow/e2e-tests


Git credentials are not propagated to new kernel terminals

Describe the bug
The new "kernel terminals" as opposed to the regular/classic/native terminals (we should come up with some unified terminology here) does not inherit the git credentials configured in the Configure JupyterLab page. As such, the current options are

Setting them in every project, or
Quitting the kernel terminal and using git from the regular terminal.

I consider this a bug because it's a breaking change with respect to the old default behavior.
Expected behavior
As a user, I want to transparently use git with the default terminals so that I don't have to figure out credentials twice or use a distinct terminal for git.
To Reproduce
Steps to reproduce the behavior:

Configure git credentials as suggested in https://docs.orchest.io/en/stable/fundamentals/projects.html#using-git-inside-orchest-projects
Create a project
Go to JupyterLab
Open a new Terminal
Run git config --get user.email and see that nothing comes up :x:
Exit the terminal to a regular, non-SSH terminal, rerun git config --get user.email, and see the proper value ✔

Screenshots

Environment

Orchest's version (in the settings page): 2022.10.5

(We are planning to properly tackle this in #483.)
For now, if you want to use git inside Environment shells then, as the name suggests, you need to configure it in the respective Environment (the shell is executes within that Environment).
Does that make sense? 😇

Good to know this is in scope for gh-483 😁 Yes, the workaround is lightweight enough.


Declarations and "Exported variable 'XXX' has or is using name 'YYY' from external module "ZZZ" but cannot be named."

I was pleased to see #9944 had been closed with what looked like a feature of 2.9 'fixing' the issue. However, it still doesn't seem to be working as I'd expect. Take this example:
import styled from "styled-components";

export const Container = styled.div`
    background: red;
`;

With a normal TypeScript project, using the tsconfig default except enabling declarations. I get three errors:
src/styles.ts(3,14): error TS4023: Exported variable 'Container' has or is using name 'React.ClassAttributes' from external module "/node_modules/@types/react/index" but cannot be named.
src/styles.ts(3,14): error TS4023: Exported variable 'Container' has or is using name 'React.HTMLAttributes' from external module "/node_modules/@types/react/index" but cannot be named.
src/styles.ts(3,14): error TS4023: Exported variable 'Container' has or is using name 'StyledComponentClass' from external module "/node_modules/styled-components/typings/styled-components" but cannot be named.

The obvious solution seems to be importing the types involved:
import styled, { StyledComponentClass } from "styled-components";
import * as React from "react";

export const Container = styled.div`
    background: red;
`;

Which would be fine, I suppose (though I don't see why it is necessary..?) but this doesn't work with noUnusedLocals as you get more errors:
src/styles.ts(1,18): error TS6133: 'StyledComponentClass' is declared but its value is never read.
src/styles.ts(2,13): error TS6133: 'React' is declared but its value is never read.

... However you can work around that by explicitly using the types, but even with this basic example it gets absurdly verbose:
import styled, { StyledComponentClass } from "styled-components";
import * as React from 'react';

export const Container: StyledComponentClass<React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>, any, React.ClassAttributes<HTMLDivElement> & React.HTMLAttributes<HTMLDivElement>> = styled.div`
    background: red;
`;

What is the recommended solution / workaround to this?

I can't find the content I made on a workaround anymore. It was on a similar issue but even worse, because when this happens with generic types, you generally find yourself losing out on type inference.
The workaround was to use the imported type with a dummy variable if it's an interface or type alias.
If it's a class, you can get away with NameOfClass; as a statement and it counts as a usage.
With interfaces and the like,
import {SomeGenericInterface} from "thing";

const dummy : SomeGenericInterface<any, any, any>|undefined = undefined;
dummy;

I'm on my phone so I'm not sure if I've described it properly

Thanks, @AnyhowStep - that's very similar to what I do at the moment too:
((_1?: StyledComponentClass<any, any>, _2?: typeof React) => 0)();

🤢
I've got dozens of files that start this way.

I like your way better, actually.

I just tried something and it seemed to work (I haven't exhaustively tested this so I'm not 100% sure)
Just do,
import * as package1 from "some-package-1";
import * as package2 from "some-package-2";
package1;
package2;

Assuming package1 andpackage2 contain interfaces/type aliases/classes, that you need for emitting. This helps if there are many interfaces/type aliases/classes in a package that are needed.
Doesn't help so much if you only need the one type.

@jamiewinder Thanks for the report! Apologies - looks like our visibility checking logic in declaration emit didn't handle things aliased via export= correctly, so is exhibiting the old behavior for now. I should have a fix up tomorrow.


Documentation on how to fetch request body data

Documentation on the intended way on how to fetch the request body data for PUT/POST/... requests is missing.
put "/" do
    IO.puts(inspect(conn.body_params))
    ""
end

# Prints:
# %Plug.Conn.Unfetched{aspect: :body_params}

I found out in the meantime - you're supposed to do this through the config:
eg.
config :trot, :pre_routing, [
        # other plugs...
	"Elixir.Plug.Parsers": [parsers: [:json], json_decoder: Poison],
]


Upgrade to TS2.2 and fix Insert typing

Insert<T> used ModelsOrObjects, which includes ModelOrObject.
The new, (better) typescript parser found this issue that caused insert([]) to now return singular values. I changed the plural result matcher to be Object[] | Model[] before matching on Object (which matches arrays).
I updated all other packages as well in the example project (and wrote a simple repl.js to ensure this was all behaving well in the node REPL).

Coverage decreased (-0.006%) to 97.034% when pulling 825fed2688b6c6eaad792692943d1b7996a9ad31 on mceachen:typescript-2.2 into d92be92f1075ca55f42c21eca7f1587158ee0599 on Vincit:master.

Thank you!


Tt 751 create lambdas for state machine

Need to remove everything to do with the 'theory-test-get-candidate-entitlements' module and only use the 2 existing modules, 'get-entitlements-from-dvla' and 'theory-test-check-candidate-entitlements'


KOGITO-1046 - Data Index performance tests

Many thanks for submitting your Pull Request :heart: :racing_car:!
KOGITO-1046
Feature file is not ready yet (will be finished in another PR) as I still have to tune up Kafka and Kogito service to get to the desired numbers. However, I chose to do this as a part of another JIRA (KOGITO-3742), which will be purely focused on tuning the parameters and infrastructure. Therefore you can ignore the enclosed feature file, it has the tag @performance, so it won't run by default.
Please make sure that your PR meets the following requirements:

[x] You have read the contributors' guide
[x] Pull Request title is properly formatted: [KOGITO-XYZ] Subject
[x] Pull Request contains a link to the JIRA issue
[x] Pull Request contains a description of the issue
[x] Pull Request does not include fixes for issues other than the main ticket
[x] Your feature/bug fix has a unit test that verifies it
[x] You've tested the new feature/bug fix in an actual OpenShift cluster

All suggestions incorporated.

Updated :)

/jenkins test

/jenkins test


Dynamic parameters on check execution from API

This is related with the issue #864 . Requirement description is defined there.
By the changes, it is support to send parameters on check execution. Here is its example of use;
This is check config;
{
  "checks": {
    "cron_check": {
      "handlers": ["default"],
      "command": "/etc/sensu/plugins/check-procs.rb -u :::user:::",
      "subscribers": [ "test" ],
     "interval": 60
    }
  }
}

It will result process check running under a user. Without my changes, to make it work, you should define user variable in your client config. But, what if you want to send some parameter to API with /request path on check execution. You couldn't do it.
Now, it can be done from API like;
{
    "check": "cron_check",
    "subscribers": ["test"],
    "kwargs":{
          "user":"ahmetdal"
     }
}

The process check script will now work with ahmetdal user. What if there is another variable with same name in client config. There is merging operation for kwargs coming from API and client config. kwargs prior than client config and it will override if same thing exists in client config

can somebody help me, why i am getting the error for ruby version 1.9.3 while others are success;
  1) Sensu::Server can consume results
     Failure/Error: expect(MultiJson.load(latest_event_file)).to eq(event)
     MultiJson::ParseError:
       784: unexpected token at 'te"}'
     # ./spec/server_spec.rb:422:in `block (9 levels) in <top (required)>'
     # ./spec/helpers.rb:56:in `call'
     # ./spec/helpers.rb:56:in `block in timer'
     # ./spec/helpers.rb:62:in `async_wrapper'
     # ./spec/server_spec.rb:403:in `block (2 levels) in <top (required)>'

I saw the same issue on a test build of mine for 1.9.2: There seams to be an intermittent error in the comparison somewhere.

Yes, you are probably right. After I triggered it to run one more time, tests are passed.

+1

We're not going to merge/implement this functionality, as we consider the security risk to be too great.


replace pythonhosted

per updated docs location

Thanks!
(the error is unrelated - need to update boost in the CI image, but I've addressed that in #36)


Compilation Issue with Windows Visual Studio 2012

Hi there,
On Windows machine, we added the header files to our Visual Studio c++ project. Yet, we cannot get it compiled since it does not have support for c++11. Do you have any solution for it?
Regards,

Sorry, c++11 is required for for instance shared_ptr and lambdas. It would require a lot of work to support pre c++11 compilers.


Install odc io

@cbur24 do you think of any other missing dependancies??

replace cm-task -> ndvi-task


More basic icons for wallpaper based theming on homescreen

Miui Clock (com.android.deskclock)
Miui Calender (com.xiaomi.calendar)
Miui Camera (com.android.camera)
Bromite (org.bromite.bromite)
Call of duty (com.activision.callofduty.shooter)
Instagram (com.instagram.android)
Netflix (com.netflix.mediaclient)
Prime video (com.amazon.avod.thirdpartyclient)
Poweramp (com.maxmpz.audioplayer)
Whatsapp (com.whatsapp)

Already themed: Instagram, netflix, poweramp, whatsapp

Hello! Weʼre switching to a new system for icon requests in order to be able to better manage them. From now on, icon requests can be submitted here: https://forms.gle/Fx8vZAiWdW1Tyjo57. If your icon request hasnʼt yet been fulfiled, it has been copied to our new icon request database, meaning no action is required. Consequently, this issue will be closed.


[pace] Export with PyAutoGUI

[x] Type
[x] Plane
[x] PlaneInstance
[x] Export from Blender
[ ] Screen size management

Deprecated by #7


Benjamin hc carr readme screen activ

Add Screenshot and Activation information.

thanks for the submission, but i added a link to the full tutorial on learn.adafruit.com with #8e8b712a2c9a3aae1e679583513390e8fe810d5a

Ah, we had similar thoughts at the same time.


Mainwindow is sometimes transparent (Windows)

Describe the bug
Since the migration to AvaloniaUI v11, Spice86 on Windows has a transparent window. It happens for a single frame every now and then.
To Reproduce
Steps to reproduce the behavior:

Startup the app on Windows
See that the main window is transparent

Expected behavior
The window should never be transparent.
Screenshots
(todo)

OS: Windows
Version latest master

Additional context
This is related to the app.manifest.

Not reproduced anymore on Windows (tested in a VM)
@JorisVanEijden  should this be closed ?

I don't think I've seen it happen recently.


lxc: Add a "rename" alias

Closes #2320
Closes #2329
Signed-off-by: Carlos Neira<EMAIL_ADDRESS>

This is a cleaned up pull request, introducing the rename alias for @cneira but minus the help change to lxc/move.go as that was just making it more confusing.


EXC_BAD_ACCESS error (CFNetwork)

I've been struggling with this for almost two straight days now, just can't get to fix this.
So far, requests to my API work for non - authenticated requests.
However, when I add additional headers, I get errors.
My API is currently running on a server without SSL, for testing, I disabled NSAppTransportSecurity for that
I first had trouble with my request being cancelled, which I solved by making the manager a global variable.
I'm not sure if this is a problem for Alamofire or my fault, so I figured I will drop it here.
stackoverflow page: http://stackoverflow.com/questions/31289074/authenticated-http-request-swift-alamofire

Hi @Rfaessen, I'm almost positive this is not an issue in Alamofire. I just commented on the question in Stack Overflow. Let's track this issue there and we'll re-open this issue if there does end up being a problem. 👍🏻


Remove the special cases in Ga.blade_derivation

The special case in the grade > 2 branch was previously needed because indexes_to_blades_dict did not contain the scalar element.
Also switches to using reduce for a bit of clarity.
The other cases were there for optimization purposes. It's not clear whether they were worthwhile.
Fixes gh-282

Do we want to profile this, or do we not care? The cost of this solution is that for the 1d case it computes S.Zero + wedge(wedge(S.One, basis_vec), S.One) instead of basis_vec


Add /chunked endpoint

At the moment, there's no way to test a chunked body decoder. An endpoint which chunks the data would be appreciated, as it would allow testing for proper HTTP/1.1 parsing.

I use /stream/100 for that now


Ft/config utapi

This pr enables authentication and authorization for utapi.
It also creates a cli tool to list bucket metrics for utapi (using auth).

@ironman-machine if you don't mind
SCALITY_VAULT_BRANCH=ft/utapiAuth

Hello @LaurenSpiegel,
Starting end to end procedure using the following payload:
{"SCALITY_VAULT_BRANCH":"ft/utapiAuth","DEFAULT_BRANCH":"master","SCALITY_S3_BRANCH":"ft/configUtapi"}
Please follow http://ci.ironmann.io/gh/scality/Integration/2976 for circle status.

end to end passed: http://ci.ironmann.io/gh/scality/Integration/2976

👍

👍

@ironman-machine one more time
SCALITY_INTEGRATION_BRANCH=dev/V4Headers
SCALITY_VAULT_BRANCH=ft/utapiAuth

Hello @LaurenSpiegel,
Starting end to end procedure using the following payload:
{"SCALITY_INTEGRATION_BRANCH":"dev/V4Headers","SCALITY_VAULT_BRANCH":"ft/utapiAuth","DEFAULT_BRANCH":"master","SCALITY_S3_BRANCH":"ft/configUtapi"}
Please follow http://ci.ironmann.io/gh/scality/Integration/3006 for circle status.

@ironman-machine try this with arsenal master in the integration branch
SCALITY_INTEGRATION_BRANCH=dev/V4Headers
SCALITY_VAULT_BRANCH=ft/utapiAuth

Hello @LaurenSpiegel,
Starting end to end procedure using the following payload:
{"SCALITY_INTEGRATION_BRANCH":"dev/V4Headers","SCALITY_VAULT_BRANCH":"ft/utapiAuth","DEFAULT_BRANCH":"master","SCALITY_S3_BRANCH":"ft/configUtapi"}
Please follow http://ci.ironmann.io/gh/scality/Integration/3017 for circle status.

@ironman-machine check this out
SCALITY_INTEGRATION_BRANCH=dev/V4Headers
SCALITY_VAULT_BRANCH=ft/utapiAuth
SCALITY_METADATA_BRANCH=rel/1.1

Hello @LaurenSpiegel,
Starting end to end procedure using the following payload:
{"SCALITY_INTEGRATION_BRANCH":"dev/V4Headers","SCALITY_VAULT_BRANCH":"ft/utapiAuth","SCALITY_METADATA_BRANCH":"rel/1.1","DEFAULT_BRANCH":"master","SCALITY_S3_BRANCH":"ft/configUtapi"}
Please follow http://ci.ironmann.io/gh/scality/Integration/3078 for circle status.

@ironman-machine friday fun
SCALITY_INTEGRATION_BRANCH=dev/V4Headers
SCALITY_VAULT_BRANCH=ft/utapiAuth

Hello @LaurenSpiegel,
Starting end to end procedure using the following payload:
{"SCALITY_INTEGRATION_BRANCH":"dev/V4Headers","SCALITY_VAULT_BRANCH":"ft/utapiAuth","DEFAULT_BRANCH":"master","SCALITY_S3_BRANCH":"ft/configUtapi"}
Please follow http://ci.ironmann.io/gh/scality/Integration/3613 for circle status.

@ironman-machine me again
SCALITY_INTEGRATION_BRANCH=dev/V4Headers
SCALITY_VAULT_BRANCH=ft/utapiAuth

Hello @LaurenSpiegel,
Starting end to end procedure using the following payload:
{"SCALITY_INTEGRATION_BRANCH":"dev/V4Headers","SCALITY_VAULT_BRANCH":"ft/utapiAuth","DEFAULT_BRANCH":"master","SCALITY_S3_BRANCH":"ft/configUtapi"}
Please follow http://ci.ironmann.io/gh/scality/Integration/3623 for circle status.


[Question] How to add a Tooltip to an Input component label?

The ideal is having the tooltips appear hovering over the various inputs, but I can live with having a Tooltip with triggerText in place of the labels.
This is the best I could do:
<Form>
  <TextInput>

      <Tooltip triggerText="Label">

long text explaining the input

      </Tooltip>

  </TextInput>

  <Toggle>

      <Tooltip triggerText="Switch">

another long text for explanation

      </Tooltip>

  </Toggle>
</Form>

But when I click on the tooltip icons:

the TextInput get focused and the tooltip disappears quckly (I have to keep the mouse down to read the text)
the Toggle gets toggled

Is this because of the on:click forwarded event in the parent div of those components?
Is there a workaround for this?

I'll need to investigate this further, but as a workaround I'd suggest using TooltipDefinition as a workaround:
https://svelte.dev/repl/25e72a9ab7d74f3c839e14a6c1271fdf?version=3.46.4

<TextInput>
  <svelte:fragment slot="labelText">
    <TooltipDefinition align="start" tooltipText="Tooltip content">Label</TooltipDefinition>
  </svelte:fragment>
</TextInput>

Nice, This is exactly what I need!
I tried with the TooltipDefinition before learning about the label/labelText slots, so I didn't get far.
If only I knew about this before converting all the TooltipDefinitions into Tooltips 😅

Note that this is invalid HTML and may break the association of the label with the input, as now the label contains an additional button for the tooltip.
Content for the label is specified as:

Phrasing content, but with no descendant labelable elements unless it is the element's labeled control, and no descendant label elements.


Sorting icons (sort-descending and sort-ascending) mixed up

Arrow for descending order (sort-descending) should point down and sort-ascending should point up. This is a common standard. Having it the other way around is very confusing.
Thanks!

There are arguments to be made both ways and I disagree that this is established, even though I understand how it causes confusion. As discussed previously in https://github.com/phosphor-icons/core/issues/13, our understanding has always been:

The arrow points in the direction in which the sort value is increasing. For example, in Ascending order, values increase as you go down the list.

Whatever the right way is, we're not changing it now, as that would be more confusing to developers unaware of such a change and unknowingly incorporating it into applications. Hope you can live with that!

Thank you for the quick feedback.
Of course it's something I can and will live with.
However, for the "established" part. I have just googled "sort descending icon". 28 of the first 30 results using arrows use the arrow pointing down. 93% sounds like the standard way to me :)

Whatever the arguments, the best solution for us is probably to rename these icons list-arrow-up and list-arrow-down. This is most in line with existing icon naming convention in the set, and is not prescriptive about use. As we typically do with renames, the existing icon names would continue to work as-is in code libraries.
Does that "scratch the itch" for you?

Whatever the arguments, the best solution for us is probably to rename these icons list-arrow-up and list-arrow-down. This is most in line with existing icon naming convention in the set, and is not prescriptive about use. As we typically do with renames, the existing icon names would continue to work as-is in code libraries.
Does that "scratch the itch" for you?

Sounds great!

Is there a timeline for doing this renaming? Our project is facing this exact issue of the icons being backwards from our previous PNG usage. Now that we're switching to Phosphor, if the renaming is in the imminent future we might wait until after the renaming is done, rather than using the existing names. I like @rektdeckard's suggestion.

I just realized this issue is closed. Since it has an active suggestion that has not been implemented, can this be reopened?

Reopening with the intent to rename to list-arrow-*


Avoid problems with league URI port set to null if using default port

@danog Thanks for catching this. I've applied a slightly different fix, getting rid of the if.

Great!
Do you think you could make a release (or at least tag another RC and update dependency versions for secondary packages?).
Thanks!

I wanted to release today, yes, but @trowski wants to test over the weekend, so I'll tag a new RC.


[Pulsar-Flink] Refactor Flink Batch Sink Examples

Motivation
This PR aims to align Flink Batch Sinks Java and Scala Examples with Streaming ones.
Following PR with #3190
Modifications
1- Provides a single executable jar by covering all examples. Flink -c <className> parameter has been suggested to run each example (e.g: ./bin/flink run -c org.apache.flink.batch.connectors.pulsar.example.FlinkPulsarBatchSinkScalaExample ...).
2- Adds user-defined arguments support to examples (e.g: --service-url pulsar://<IP_ADDRESS>:6650 --topic test-topic) instead of harcoded service-urland topic-name.
3- Aligns existing Batch documentation with Streaming documentation.
4- Combines both Java and Scala Examples documentations via single README.md

@sijie Thanks for the review.
Also, currently, we have flink-consumer-source (sub-module) under /examples. So, renaming as flink can be more consistent with other modules' structure as follows:
/pulsar-io
   /cassandra
   /hdfs
   /kafka etc..

Also, as long-term, other examples can be rolled under /examples as well:
/examples
   /flink
   /spark
   /storm  etc..

WDYT?

@erenavsarogullari yes flink is better than flink-consumer-source. and +1 for the proposed structure.

Thanks @sijie. Will be sending a separated PR for /flink switch.


fix single tab title

Fix #2148

Could you post a screenshot of before/after ?

Just tested this branch, when you have a single title in a single tab, the title is no longer centered:

We need more padding to the right of the title when truncated

Otherwise correct 👍

@rauchg @albinekb I'll work on that, thanks.

Single tab (Before)

Single tab (After)

Multiple tabs (No changes)

@rauchg @albinekb
Windows 10

Linux

As you can see the version of Windows does not show the path as in the Linux and macOS.

Correctly reproduce the problem (double line for the title) but the results in Windows were different to the versions of macOS and linux.

Thanks @nersoh 🎉

It's my pleasure @albinekb 🎉 👏


BCLM persist failing on launch with code -9

Hi,
The utility works as expected, but doesn't persist on launch.
I've set the value at 80, but when I run bclm read after a reboot, I get 100.
This is on a mid 2012 MacBook Pro running Catalina.
I checked for the launch status code of the plist file and got this:
sudo launchctl list | grep com.zackelia.bclm.plist

-9	com.zackelia.bclm.plist

Is this a SIGKILL? I did get a popup at boot, asking since BCLM was downloaded from the internet, should I allow it to run? I clicked Allow. And if it hadn't run, I wouldn't expect to get an entry in launchctrl list anyway... confusing, eh?
Tried it several times, same result.

Yes I believe that output is indicating SIGKILL.

I did get a popup at boot, asking since BCLM was downloaded from the internet, should I allow it to run?

This is a little suspect to me, I don't think this should be happening because I have signed and notarized the binary. How did you install it, from brew or the GitHub release?

I installed it from the Github release.On 21 Dec 2023, at 17:03, Zack Elia @.***> wrote:
Yes I believe that output is indicating SIGKILL.
I did get a popup at boot, asking since BCLM was downloaded from the internet, should I allow it to run?
This is a little suspect to me, I don't think this should be happening because I have signed and notarized the binary. How did you install it, from brew or the GitHub release?
—Reply to this email directly, view it on GitHub, or unsubscribe.You are receiving this because you authored the thread.Message ID: @.***>


Asset loading error when CRA liveserver not found

asset_manifest.py fails when CRA liveserver is not found.
File "/usr/local/lib/python3.7/site-packages/cra_helper/asset_manifest.py", line 50, in generate_manifest
_manifest[asset_key] = os.path.relpath(path, 'static/')
File "/usr/local/lib/python3.7/posixpath.py", line 459, in relpath
  path = os.fspath(path)
TypeError: expected str, bytes or os.PathLike object, not dict

I've pinpointed the cause here: https://github.com/MasterKale/django-cra-helper/blob/e1c8165351ef5083328df8fe36fb062bc1e398ab/cra_helper/asset_manifest.py#L46
The filemappings are under files key. Changing line 46 to:
for filename, path in data.get('files').items():
seems to fix the issue. I am guessing this is the desired functionability?

Aha! Create-React-App changed the format of the asset manifest! In the past the manifest was flat, like this:
{
  "static/js/0.3008f445.chunk.js": "/static/js/0.3008f445.chunk.js",
  "static/js/0.3008f445.chunk.js.map": "/static/js/0.3008f445.chunk.js.map",
  "static/js/1.185a9fcb.chunk.js": "/static/js/1.185a9fcb.chunk.js",
  "static/js/1.185a9fcb.chunk.js.map": "/static/js/1.185a9fcb.chunk.js.map",
  // ...snip...
}

Looking at the build output from a more recent Create-React-App project I'm working on, though, I see that they now nest these links under a files property:
{
  "files": {
    "static/js/0.3008f445.chunk.js": "/static/js/0.3008f445.chunk.js",
    "static/js/0.3008f445.chunk.js.map": "/static/js/0.3008f445.chunk.js.map",
    "static/js/1.185a9fcb.chunk.js": "/static/js/1.185a9fcb.chunk.js",
    "static/js/1.185a9fcb.chunk.js.map": "/static/js/1.185a9fcb.chunk.js.map",
    // ...snip...
  }
}

Your fix is indeed along the lines of how this'll get fixed here. It'll be a little tricky to update it with backwards compatibility for the old format, but it should be possible.

Any estimation when the fix will be available?

@T-101 and @10686142: Can I bother you to confirm which version of react-scripts you're using? I've discovered three different versions of manifests depending on the version of react-scripts being used:
v2.8.0 manifest:
{
  "main.css": "/static/css/main.80e572c9.chunk.css",
  "main.js": "/static/js/main.ef0788cc.chunk.js",
  "main.js.map": "/static/js/main.ef0788cc.chunk.js.map",
  "runtime~main.js": "/static/js/runtime~main.a8a9905a.js",
  "runtime~main.js.map": "/static/js/runtime~main.a8a9905a.js.map",
  "static/js/2.597565cd.chunk.js": "/static/js/2.597565cd.chunk.js",
  "static/js/2.597565cd.chunk.js.map": "/static/js/2.597565cd.chunk.js.map",
  "index.html": "/index.html",
  "precache-manifest.06aece505f403b62363ab3795d4669de.js": "/precache-manifest.06aece505f403b62363ab3795d4669de.js",
  "service-worker.js": "/service-worker.js",
  "static/css/main.80e572c9.chunk.css.map": "/static/css/main.80e572c9.chunk.css.map",
  "static/media/logo.svg": "/static/media/logo.25bf045c.svg"
}

v3.1.2 manifest:
{
  "files": {
    "main.css": "/static/css/main.b100e6da.chunk.css",
    "main.js": "/static/js/main.5745ba44.chunk.js",
    "main.js.map": "/static/js/main.5745ba44.chunk.js.map",
    "runtime-main.js": "/static/js/runtime-main.e5179790.js",
    "runtime-main.js.map": "/static/js/runtime-main.e5179790.js.map",
    "static/js/2.24ceb05b.chunk.js": "/static/js/2.24ceb05b.chunk.js",
    "static/js/2.24ceb05b.chunk.js.map": "/static/js/2.24ceb05b.chunk.js.map",
    "index.html": "/index.html",
    "precache-manifest.ed3a557b9335d6efb0f3f61d4c8baa40.js": "/precache-manifest.ed3a557b9335d6efb0f3f61d4c8baa40.js",
    "service-worker.js": "/service-worker.js",
    "static/css/main.b100e6da.chunk.css.map": "/static/css/main.b100e6da.chunk.css.map",
    "static/media/logo.svg": "/static/media/logo.25bf045c.svg"
  }
}

v3.2.0 manifest:
{
  "files": {
    "main.css": "/static/css/main.b100e6da.chunk.css",
    "main.js": "/static/js/main.f245946a.chunk.js",
    "main.js.map": "/static/js/main.f245946a.chunk.js.map",
    "runtime-main.js": "/static/js/runtime-main.7b0131e1.js",
    "runtime-main.js.map": "/static/js/runtime-main.7b0131e1.js.map",
    "static/js/2.7059510f.chunk.js": "/static/js/2.7059510f.chunk.js",
    "static/js/2.7059510f.chunk.js.map": "/static/js/2.7059510f.chunk.js.map",
    "index.html": "/index.html",
    "precache-manifest.68f3de19261ab9bb69c0c6a58c46215e.js": "/precache-manifest.68f3de19261ab9bb69c0c6a58c46215e.js",
    "service-worker.js": "/service-worker.js",
    "static/css/main.b100e6da.chunk.css.map": "/static/css/main.b100e6da.chunk.css.map",
    "static/media/logo.svg": "/static/media/logo.25bf045c.svg"
  },
  "entrypoints": [
    "static/js/runtime-main.7b0131e1.js",
    "static/js/2.7059510f.chunk.js",
    "static/css/main.b100e6da.chunk.css",
    "static/js/main.f245946a.chunk.js"
  ]
}

This issue and issue #3 both sound like v3.1.2, especially since v3.2.0 only dropped a week ago.

When this issue arose, that project was on 3.1.1.
I also started another project which has the new 3.2.0.

Boy oh boy, Create-React-App has grown in complexity since I first released this plugin.
I've finished adding support for parsing all three of the above versions of asset-manifest.json, and it works great for loading files after a npm run build and then a python ./manage.py collectstatic --no-input.
I hit a speed bump with updating support for loading files from the CRA liveserver, though. More recent versions of the liveserver now inject "bundle.js", a new "main.chunk.js", and alternate between injecting a "0.chunk.js" and "1.chunk.js" file every time you update a component and CRA hot-reloads http://localhost:3000. 🤦♂ I think I've figured out a solution, though, so I'll keep you posted.

I've released django-cra-helper v1.2.0 that includes a fix for this. Give it a try!


Add DataFrame interactive widget, widget sub-module, resources, and demo notebook.

Added the DataFrame interactive widget under the text_extensions_for_pandas.jupyter.widget module header.
Added necessary resource files to the text_extensions_for_pandas.resources module.
Added a demo notebook to the notebooks/ path. Note this demo relies on ipywidgets, which does not have a static counterpart and is not completely viewable from a static notebook viewer like Github's.

There are some issues with Python 3.6 and the structure of the import statements. Stack trace:
[...]
~/pd/tep-viz/text_extensions_for_pandas/jupyter/widget/widget.py in <module>
     25 import ipywidgets as ipw
     26 from IPython.display import display, clear_output, HTML
---> 27 import text_extensions_for_pandas.jupyter.widget.span as tep_span
     28 import text_extensions_for_pandas.jupyter.widget.table as tep_table
     29

AttributeError: module 'text_extensions_for_pandas' has no attribute 'jupyter'

To replicate, use env.sh to create a conda environment with Python 3.6.


Add missing word

The sentence is missing a 'the'.

The sentence is missing a 'the'.

You mean "of"?

Yes, it was a sloppy msg--thanks.


feat(REST DS): Implement new REST Device service

Create new REST device service which allows simple POSTing of data to the REST path /device/{deviceName}/{resourceName}
Supports all ValueType's
Commanding and AutoEvents not implemented. Will be considered when use case identified.
See README for more details

I might add to the readme that validation must be turned off

@mike, not for device service since it is defining Device and Value descriptors so validation will pass if enabled.


SIM over multiple items in a particular slot

Is your feature request related to a problem? Please describe.
Feature -- It would be nice to just hit a checkbox and in bulk run a sim against every single item IN A SLOT. You can see this in many other sims and this can be generalized for every class. I saw the "bulk item sim" thread but that seemed to be a much more complicated request. This one is just to iterate over a single slot.
Describe the solution you'd like
I think it would make sense to have the gear selection modal a table that includes check boxes or a multiple selection. You would have a secondary button in this modal that says "SIM All" and it would iterate over each one and sim them each-- showing you the +/- from your currently "equipped gear"
Describe alternatives you've considered
I was considering writing a greasemonkey script to do this.. I'd rather not :( Right now I am going through and clicking each item then going back one screen and clicking SIM -- also I need to remember the history of each item ive simmed and I have to click "set reference icon" every time.
Additional context
Here is an example of the old mage tbc SIM:

You can see how I clicked multiple items and simmed them against one another.
https://cheesehyvel.github.io/magesim-tbc2/

Thanks! We already have an issue for this, #1512


Added Catalog Assignment description

Added Catalog Assignment description to note that this feature is reserved for future use and no enforcement is driven by this setting at current time

Closing this in favor of https://github.com/MicrosoftDocs/power-platform-pr/pull/6675


dateutils: 0.4.4 -> 0.4.5

Motivation for this change
datezone needs TZdata
+ enabling parallel building
+ run the tests suite
Follow-up to #47811
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: dateutils
Partial log (click to expand)
shrinking /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5/bin/dategrep
shrinking /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5/bin/datediff
shrinking /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5/bin/dateconv
shrinking /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5/bin/dateadd
shrinking /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5/bin/strptime
gzipping man pages under /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5/share/man/
strip is /nix/store/428gs2z4b8f9byvghzlpbjwjb3a7jwxx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5/bin
patching script interpreter paths in /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5
checking for references to /build in /nix/store/26c8a2xxp0mil1g5faysa5vl6r76i5wb-dateutils-0.4.5...

Success on x86_64-linux (full log)
Attempted: dateutils
Partial log (click to expand)
shrinking /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5/bin/strptime
shrinking /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5/bin/datesort
shrinking /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5/bin/datetest
shrinking /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5/bin/dategrep
shrinking /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5/bin/dateconv
gzipping man pages under /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5/share/man/
strip is /nix/store/dxf1m7dhc4qb655bdljc1fsd74v1nag3-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5/bin
patching script interpreter paths in /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5
checking for references to /build in /nix/store/v27bwb84jmknlbq6a47qp9ws0xndk89g-dateutils-0.4.5...


Support for Julia

I decided to take a stab at adding support for Julia, I have put together a minimally working set that is pretty straightforward. The main thing I still need to do is deal with packages (right now it assumes the DataFrames package exists, for example).
The main feature that I cannot implement is deleting variables, something that Julia does not support (though I added the functionality to automatically skip variables that are missing, so reassigning a variable to missing will delete it from the list. I cannot do this in a function, however.)
Here is the code as it currently exists (feel free to make suggestions):
using DataFrames
try
    using JSON
catch
    using Pkg
    Pkg.add("JSON")
    using JSON
end
using Base: format_bytes, summarysize

function _jupyterlab_createDict(v, value)
    retDict = Dict{String, Any}()

    retDict["varName"] = string(v)
    retDict["varSize"] = format_bytes(summarysize(value))
    retDict["isWidget"] = false

    if typeof(value) <: Function
        retDict["varType"] = "Function"
    else
        retDict["varType"] = string(typeof(value))
    end

    retDict["varShape"] = if typeof(value) <: Function
        "Function"
    else
        summary(value)
    end

    if typeof(value) <: DataFrame
        retDict["varContent"] = string(names(value))
    elseif typeof(value) <: Array
        retDict["varContent"] = if length(value) > 10
            string(vcat(value[1:5], value[end-5:end]))
        else
            retDict["varContent"] = string(value)
        end
    elseif typeof(value) <: Function
        retDict["varContent"] = string(methods(value))
    else
        retDict["varContent"] = string(value)
    end

    retDict["isMatrix"] = if typeof(value) <: DataFrame || typeof(value) <: Array
        true
    else
        false
    end

    return retDict
end

function _jupyterlab_get_list()
    skips = ["Base", "Core", "Main"]
    vars = []
    for v in names(Main)
        if string(v) in skips
            continue
        end
        if length(string(v)) >= 12 && string(v)[1:12] == "_jupyterlab_"
            continue
        end
        if typeof(getfield(Main, v)) == Missing
            continue
        end
        push!(vars, _jupyterlab_createDict(v, getfield(Main, v)))
    end
    s = replace(json(vars), "\\\"" => "'")
    return s
end

and the JavaScript component:
        "julia": {
            initScript: Languages.julia_script,
            queryCommand: "_jupyterlab_get_list()",
            matrixQueryCommand: "_jupyterlab_getmatrixcontent",
            widgetQueryCommand: "TODO",
            deleteCommand: "TODO"
        },

The piece I am struggling with is getting the matrix function to work as expected (to display the variable in a spreadsheet-like manner). I have set it up to mirror the Pandas to_json (with the default_handler option), however, nothing ever happens. Is there anything special that needs to be done to get the data to display? Here is my code as it currently exists to try and create the matrix:
function _jupyterlab_getmatrixcontent(x, max_rows=10000)
    if typeof(x) == DataFrame
        return _jupyterlab_convert_dataframe(x)
    else # Need to do still
        return 0
    end
end

function _jupyterlab_identify_type(x::Array{T, 1}) where T
    return T
end
function _jupyterlab_convert_dataframe(df)
    fieldList = [OrderedDict("name" => "index", "type" => "integer")]
    for name in names(df)
        push!(fieldList, OrderedDict("name" => string(name),
                "type" => string(_jupyterlab_identify_type(df[:, name]))))
    end

    schemaDict = OrderedDict("fields" => fieldList, "primaryKey" => ["index"],
        "pandas_version" => "0.20.0")
    dataList = []
    for i in 1:size(df, 1)
        x = (; zip(vcat([:index], names(df)), vcat([i-1], [df[i, name] for name in names(df)]))...)
        push!(dataList, x)
    end
    s = OrderedDict("schema" => schemaDict, "data" => dataList)
    return s
end

Hey, big thanks for working on this.

The main feature that I cannot implement is deleting variables, something that Julia does not support (though I added the functionality to automatically skip variables that are missing, so reassigning a variable to missing will delete it from the list. I cannot do this in a function, however.)

In this we could either remove the delete-icon if julia is used or set the variables to Nothing (and still display them s.t. a user knows that this variable name is already taken).
Regarding the matrix function I will have a look at it later today.

If you want you can already start a WIP pull request.

I would like to have this feature, what's the status, how can i help?

I have not had much time to work on this, and my familiarity with Javascript is low. The code mostly works as is, except that there seems to be a loading problem (when I first start the notebook, the functions are loaded but do not start working until I run them again directly in a cell). I have not done anything more on the matrix support, so that is still not working. If you want to work on it and start a pull request, feel free to use some or all of my code. Towards the end of summer, I should be able to circle back to this and work on it more.


Create Dashboard

https://github.com/causefx/Organizr

https://www.reddit.com/r/organizr/comments/74quf0/theblur_new_theme_for_layercake/?st=jksojdhq&sh=4ff8166c


added autofocus on new task input field

The autofocus attribute was not working as it should because it only works well on page load. So, i simply added this quality of life improvement using JS.
video —
https://user-images.githubusercontent.com/54097365/193451235-f416b544-d6f8-4b43-b78e-50e9b1bdb0b5.mov

fixing formatting issues


To whom may get trouble with invalid argument

Spent a week to find the solution for "invalid argument" error:

Create a Media Import Button
Write functions without test
DON'T CLICK DURING EDIT!
Publish straight away
Test on the desktop version

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

ID: 68da6b4c-82dc-8526-480d-c09c70bcfa1e
Version Independent ID: d7edd51f-c3e0-dd47-1012-80c606e2dc74
Content: Export control and Import control: reference - Power Apps
Content Source: powerapps-docs/maker/canvas-apps/controls/control-export-import.md
Service: powerapps
GitHub Login: @chmoncay
Microsoft Alias: chmoncay

Hi there, can you elaborate more what you were trying?

@chmoncay Hi, the issue was
If add an media-import button in Canvas app, and coincidentally clicked during web editing, this button breaks. only fix is delete and re-add.


Alec - Profile Creation

In this PR:

edited the contentView logic
added the profile creation page
added a potential user var to the auth view model that is utilized for login and sign up
added validation of email and password and the ability to display those error messages on the login/signup pages

LGTM


504 Gateway Time-Out when generating template

Describe the bug

[ X] Server disconnect
[ ] Wrong manifest
[ ] Wrong values in manifest columns
[ ] Other (please describe)

To Reproduce
Center: Vanderbuilt
Template: Exposure
Screenshots (optional)
If applicable, add screenshots to help explain your problem.
Additional context (optional)
Could not generate template. Tried to reload the app - got "504 Gateway Time-out"

followed up jira ticket and ticket #241

With the switch to shinyapps.io this has been resolved. We are also moving towards a more scalable app deployment w/in Sage IT's Fargate AWS architecture where this won't be an issue.


add tutorial notebook for table-format io

Please confirm that this PR has done the following:

[x] Tests Added
[x] Documentation Added
[x] Description in RELEASE_NOTES.md Added

Description of PR
This PR adds a tutorial notebook (based on tests/cast_to_iamc.py) to show how different data tables can be cast to an IamDataFrame using keyword arguments.
The rendered tutorial notebook can be (currently) seen on ReadTheDocs

Coverage remained the same at 85.645% when pulling f6dc674ad310523895c75f9865b0f664eed54ca6 on tutorial/io into ebe40a1c3abf09a19590810718e5731905e9e780 on master.

Looks great, thanks @danielhuppmann !


Error: i can't commit

this is my gulp code on my Mac
gulp.task('private-commit-changes', () => {
  return gulp.src('./*')
    .pipe(git.commit('commitTest', { args: '-a' }));
});

it echo an error on console
fatal: Paths with -a does not make sense.
my old version is: 2.5.2.
then i use the newest version.
it cause the error.
then i back to the version2.5.2, the error still exists.

I don't think you are actually using 2.5.2 when you say you went back to the old version. Ensure npm did not use a cached version.
Remove the -a and it will work.

now i use these codes, it works ok
gulp.task('private-commit-changes', () => {
  return gulp.src('.')
    .pipe(git.add())
    .pipe(git.commit('commitTest'));
});


Cant get tests to run/ Forbidden code

Hi,
i added the version 2.5.2 with maven to my Project.
I input my Api Key in the Creds File.
Then i tried running the UseageTest.java.
Only thing i changed is the Creds File to input my own Key.
Test is failing here
 RiotAccount  account  = api.getAccountAPI().getAccountByTag(LeagueShard.EUW1.toRegionShard(), "stelar7", "STL7");

I get the {"status":{"message":"Forbidden","status_code":403}} Message.
I tried some of the other Examples, they have the same result.
I tried resetting my ApiKey.
Help would be greatly appreciated.
Thanks in advance,
Max

The getAccountByTag method uses the Valorant key from the Creds file.
If you only have a single key, try setting all the entries to the same key, that should solve issues relating to that method

Wow thanks,
that did it.
Although i get null for the Summoners name.
And can the Api also read Custom games?
Thanks alot


feat: splunk 9 support

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


jigen with other trainers

Codecov Report

Merging #285 (d20a873) into master (14fdda4) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #285   +/-   ##
=======================================
  Coverage   95.41%   95.41%
=======================================
  Files         128      128
  Lines        4445     4447    +2
=======================================
+ Hits         4241     4243    +2
  Misses        204      204

Flag
Coverage Δ

unittests
95.41% <100.00%> (+<0.01%)
:arrow_up:

Flags with carried forward coverage won't be shown. Click here to find out more.

Files Changed
Coverage Δ

domainlab/algos/builder_jigen1.py
100.00% <100.00%> (ø)

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


Fix indentation for correct building of tips section

Summary

Hello @harsh4723,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

/check-cla

Hi @cwarnermm, In local it is working properly the preview is as expected.
About the build failure. It is happening in my local also, in the master branch also. It is caused by html-validate package which In turn is using a library that is recently being updated. Here is the issue for that  - https://github.com/ext/better-ajv-errors/issues/151

Thank you, @harsh4723! Great investigation. I'm not surprised to hear that a dependency needed to build the site needs to be updated. We'll investigate further and once resolved, we'll be able to merge in your docs PR.

Thank you, @harsh4723! I'd welcome that PR from you.

The library issue is fixed now https://github.com/ext/better-ajv-errors/releases/tag/v2.1.2
@cwarnermm  can you please retrigger the builds it should work now.


PSQLODBC Datatype Test for sys.binary

Description
Adds ODBC Datatype Test for sys.binary

[x] Create Table
[x] Insert valid values
[x] Update table with valid values
[ ] Comparison Operators, Disabled due to < not working as expected
[x] Table View
[x] Unique Constraint
[x] Composite Key

Check List

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is under the terms of the Apache 2.0 and PostgreSQL licenses, and grant any person obtaining a copy of the contribution permission to relicense all or a portion of my contribution to the PostgreSQL License solely to contribute all or a portion of my contribution to the PostgreSQL open source project.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Combined with #29


How can i change the input_image_size ?

I am trying to change input_image_size(the default value is 64). but I am not familiar with front-end module.
Is there anyone who can help me?

you will have to change the inputsize in the first line of cnn-tf.js. And then you have to make sure the image size in folder *\cnn-explainer-master\public\assets\img is the same as the value you type in cnn-tf.js. If the size of these images is different, you must transfer them to the size you want. After that you may run the programm as expected.
In cnn-tf.js the developer was going to give a way that can automatically adapt the input image size to the value which is customized by users, but the code is not yet completed, so we have to change the size of the images to the value we customize in cnn-tf.js manually.

When I edit the first line of cnn-tf.js, the web browser only show me the  blank page..
I am not familiar with node js, so I do not know what can i do for correct view of the web browser..
plz tell me What can i do this error??

Best regards.

I guess you want to change the input size to a larger one, right? Well as I wrote above, except the code modification of the first line in cnn-tf.js, you will also have to resize the images in folder *\cnn-explainer-master\public\assets\img to the same value in the first line of cnn-tf.js.
The reason why only blank page displayed may be that you didnt transfer the images' size in the folder I mentioned and the program found that the input image size is not conformed with the value you set in cnn-tf.js, so it rejected the next move but gave a blank page.
Pls remember that the Programm is only to show your CNN but with the images in the folder I mentioned as its input. Which means, that you must keep the sizes of those images, the input size you set in cnn-tf.js and of course the input size you set in your CNN exactly the SAME.
A way to change the size of image is using PowerToys. It is a powerful image editor that is developed by Microsoft, you can easily resize the images you selected with this tool.
CNN-Explainer have the ablity to crop a bigger image to a smaller input size (the size that be set in the first line of cnn-tf.js). But when the size of input image is smaller than the input size in cnn-tf.js, the program will reject the next move. Because there are no codes for resizing the input image. So in this situation we must resize the images manually.

Okay. I will try to resize those images. Thank you!!

You are welcom. Have fun with modifying CNN Explainer.


docker-compose部署，配置SEATA_IP无效

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Ⅰ. docker-compose部署时，配置SEATA_IP无效
Ⅱ.  docker-compose部署时，配置SEATA_IP无效
seata-server:
image: seataio/seata-server:<IP_ADDRESS>
container_name: seata-server
environment:
- seata_ip=<IP_ADDRESS>
- seata_port=8091
- seata_store_mode=db
- seata_config_name=file:/seata/config/registry.conf
Ⅲ. 使用docker-compose部署，配置SEATA_IP生效，在nacos注册时使用宿主机ip
Ⅳ. How to reproduce it (as minimally and precisely as possible)
seata-server:
image: seataio/seata-server:<IP_ADDRESS>
container_name: seata-server
environment:
- seata_ip=<IP_ADDRESS>
- seata_port=8091
- seata_store_mode=db
- seata_config_name=file:/seata/config/registry.conf
networks:
- my_network
networks:
my_network:
driver: bridge
Ⅴ. Anything else we need to know?
我怀疑networks覆盖了seata_ip配置，其他Issue提到过docker run 命令启动方式seata_ip是生效的，经测试在不连接容器网络前提下是有效的，但是会导致无法通过域名方式访问其他容器
Ⅵ. Environment:

JDK version(1.8):
Seata client/server version:  seataio/seata-server:<IP_ADDRESS>
Database version: mysql8
OS(e.g. uname -a):win10

seata_ip -> SEATA_IP

seata_ip -> SEATA_IP

实测有用，谢谢


[docker-compose fail] Error: Host 'portus_web_run_1' is not allowed to connect to this MariaDB server

I literally just did:
./compose-setup.sh

And it always failed, so I uncommented out the &>/dev/null in setup_database() and get this:
Portus: configuring database...WARNING: Nokogiri was built against LibXML version 2.9.1, but has dynamically loaded 2.8.0
#<Mysql2::Error: Host 'portus_web_run_1' is not allowed to connect to this MariaDB server>
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "host"=>"db", "username"=>"root", "password"=>"portus", "database"=>"portus_development"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"}
(If you set the charset manually, make sure you have a matching collation)
#<Mysql2::Error: Host 'portus_web_run_1' is not allowed to connect to this MariaDB server>
Couldn't create database for {"adapter"=>"mysql2", "encoding"=>"utf8", "host"=>"db", "username"=>"root", "password"=>"portus", "database"=>"portus_test"}, {:charset=>"utf8", :collation=>"utf8_unicode_ci"}
(If you set the charset manually, make sure you have a matching collation)
-- create_table("activities", {:force=>:cascade})
rake aborted!
Mysql2::Error: Host 'portus_web_run_1' is not allowed to connect to this MariaDB server
/portus/db/schema.rb:16:in `block in <top (required)>'
/portus/db/schema.rb:14:in `<top (required)>'
Tasks: TOP => db:schema:load
(See full trace by running task with --trace)

This seems likely to be the culprit:
#<Mysql2::Error: Host 'portus_web_run_1' is not allowed to connect to this MariaDB server>

And I'm using portus 8ebd8851e75a181 from the latest master.

Looks like the mariadb folks broke something, this seems to make things better:
diff --git a/docker-compose.yml b/docker-compose.yml
index 106e4b2..431401d 100644
--- a/docker-compose.yml
+++ b/docker-compose.yml
@@ -16,7 +16,7 @@ crono:
     - db

 db:
-  image: library/mariadb
+  image: library/mariadb:10.0
   environment:
     MYSQL_ROOT_PASSWORD: portus

I've tried to reproduce this with the current latest tag (it's pointing to 10.1.10), and it's working for me. Maybe you had another mariadb:latest on your machine already ?

Fixed with PR #649


docs(example): fix "Dependent Fetching" code example

In example:
const { data: projects } = useSWRV(() => user.value.id && '/api/projects?uid=' + user.value.id, fetch)

Accessing user.value.id would probably fail because user.value might be undefined...? We could also make this user.value?.id but I went with shorter code 😎 👇
const { data: projects } = useSWRV(() => user.value && '/api/projects?uid=' + user.value.id, fetch)

 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.

Thanks @kiaking!


Added support for PKCS10 request format in AbstractCMCClient

The underlying CMC implementation fully supports PKCS#10 request format, but the AbstractCMCClient has limitations resulting in

CRMF request format is always used
The profile requested has a fixed value of "crmf"

This should be updated to allow creation of certificate issuing requests based on PKCS#10 request format, and should allow the profile parameter (regInfo) to be set freely as byte[] array.

Fixed in https://github.com/swedenconnect/ca-cmc/pull/20


Finalize Markdown file spec and test for it

Markdown files currently need to be written in a certain way in order to get outputted as a Twitter thread properly, that is:
## Title (Heading 2)
> Individual Tweets (Blockquote)

Delimiting individual tweets by a newline (\n) would probably be better? Anyways, finalize this and add some lightweight unit tests for file.parse.

I like the idea of tweets with blank lines \n\n, since then the input would be in a format that I could post to my blog. I.e. write a blog post where each paragraph is a tweet, and then tweet it with threader and also post it to my blog. (Since my blog posts are also written in markdown.)

I like the idea of tweets with blank lines \n\n, since then the input would be in a format that I could post to my blog. I.e. write a blog post where each paragraph is a tweet, and then tweet it with threader and also post it to my blog. (Since my blog posts are also written in markdown.)

Agreed. This has been implemented in #9.
Looking to fix #2 before this is actually usable.


Removing "application:" and "version:"

To support the "gcloud app deploy" commands that all the App Engine docs now use (standard and flexible env.). This is the particular document affected:
https://cloud.google.com/appengine/docs/standard/go/googlecloudstorageclient/app-engine-cloud-storage-sample#code_walkthrough

@broady @rakyll @zombiezen We talked about removing the examples from gocloud before. Should we keep them up to date or nuke them?

@jba, yes, probably worth nuking (or just moving to this repo). you can file a bug and assign to me. we'll need to update the docs.

Ugh, didn't realise this was the google-cloud-go repo. Force pushing back to the previous commit. We should close PRs automatically in this repo.

Is the build failure preventing this from getting merged into the master branch?

No, we don't use pull requests for this repo.
Changes here:
https://code-review.googlesource.com/11595


Improve failed video loading experience

If a video is not fully reflected/available, it will return a 416/503
402 means paid content
GET https://na.lbryplayer.xyz/content/claims/jeremykauffmanlbryinterviewlbrynews/1a4ed2fb271997d2b3ee3f58cc99029a17f2c16d/stream
net::ERR_ABORTED 416

08dd4201: blob not found:
GET
https://na.lbryplayer.xyz/content/claims/2/f516728f8e91897dc63566d25391b19459943303/stream 503

GET https://cdn.lbryplayer.xyz/content/claims/LBRY-LOVE-DANCE/4bafac868322420aa000c2269c7f2f4c1fa9dab1/stream
402

Will need to gather some other error codes as I come across them.

This would improve the experience when a video is not fully uploaded or fails for some other reason. Right now they get a very generic message that something went wrong.


Implementation of Homomorphic Encryption

Implementation of Homomorphic Encryption with some demo example of multiparty computation.

A Rust implementation of the Paillier cryptosystem can help in implementing fully homomorphic encryption.
https://github.com/kunerd/rpaillier