Received 0 of 0 parameters. Requesting missing parameters...

Issue Guidelines:
Please only create issues regarding bug reports, feature requests, and anything which would cause direct change to code.  Questions, general discussion and other discussion topics should be redirected to discuss.rosflight.org
Bug reports should include all information related to reproducing the bug. This includes:

OS Version
git tag (master, stable, v1.0, etc..)
parameter file (rosservice call /param_save_to_file)
Compiler version (arm-none-eabi-gcc --version)
Hardware configuration (MAV type, flight controller version, connected sensors)

Hi.
I have an STM32F405 board on the MATEKSYS F405-CTR Board.
I am trying to follow this guide to build and flash the firmware:
http://docs.rosflight.org/en/latest/developer-guide/building-flashing/
I think I successfully write the firmware onto the board, but when I run (after rebooting):
rosrun rosflight rosflight_io _port:=/dev/ttyACM2
I get the following error, forever:
[ERROR] [1556111879.397211205]: Received 0 of 0 parameters. Requesting missing parameters...
In an attempt to solve it, I open a different terminal and type:
rosservice call /param_get FIXED_WING
which returns:
exists: False
value: 0.0
I try to set the parameters (since they're non-existant), which returns:
rosservice call /param_set FIXED_WING 0
exists: False
I suspect that the firmware is not properly flashed.
For my hardware setup, I don't have any peripherals/motors/RC connected to the FC.
I'm only connecting via the USB cable to my laptop (running Ubuntu 16.04 LTS)
Is this a problem?
I was on branch master.
I couldn't get the parameters.yml file to write. It always wrote an empty .yml file:
[]
My ARM compiler version is:
arm-none-eabi-gcc --version
arm-none-eabi-gcc (GNU Tools for ARM Embedded Processors) 5.4.1 20160919 (release) [ARM/embedded-5-branch revision 240496]
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Please tell me if you need any more info.
Dane

Hi, pulling hair out over this. Is this related to this info from the Docs?
"The firmware runs a number of error checks before allowing the flight controller to arm. Completing the configuration checklist on the Getting Started page should avoid these errors. In addition to a few internal health checks, the following conditions are checked:
Mixer: Valid mixer must have been selected (see the hardware setup documentation page)
IMU calibration: The IMU must have been calibrated since firmware was flashed (it is recommended that you recalibrate often)
RC: There must be an active RC connection"
I don't have an active RC connection...

Sorry about this,
I'm not familiar with that particular board schematic.   If you were to flash betaflight to this board, what version of firmware would you flash?
I'm wondering because there may be a slightly different hardware configuration that we are missing which would also be required by betaflight.

By the way, your procedure sounds correct.  One thing I might make sure is that rosflight_io isn't looking for a udp connection (from a potentially stale ros configuration)
rosrun rosflight rosflight_io _port:=/dev/ttyACM2 _udp:=false

finally, (sorry about the spamming, I keep coming up with ideas as I'm writing my response).
Could you watch the output of sudo dmesg -w as you plug or unplug the device?  If you see something with STM Bootloader then you've got bad firmware.  If you see something related to ROSflight, then at least the USB peripheral in the firmware is working properly and the problem lies somewhere else.

By the way, your procedure sounds correct. One thing I might make sure is that rosflight_io isn't looking for a udp connection (from a potentially stale ros configuration)
rosrun rosflight rosflight_io _port:=/dev/ttyACM2 _udp:=false

also, if you don't have RC, then you should see a light flashing on the board at about 1 Hz. That's not absolutely certain though, because some board configurations are missing one of the LEDs present on the REVO (our reference board)

This is the hardware on the MATEKF405:
Hardware
MCU: 168MHz STM32F405RGT6
IMU: 32K ICM20602 gyro/accelerometer (SPI)
Baro: BMP280 (I2C)
OSD: BetaFlight OSD w/ AT7456E chip
Blackbox: MicroSD card slot (SD/SDHC)
VCP, UART1, UART2, UART3, UART4, UART5
Built in inverter for SBUS input (UART2-RX)
PPM/UART Shared: UART2-RX
SoftSerial on TX2, S5 or S6 optional
Camera control on S6 or DAC optional
Smartaudio & Tramp VTX protocol supported
Battery Voltage Sensor: 1:10
Current Sensor: No (FCHUB-6S, FCHUB-VTX, FCHUB-W option)
BEC 5V: No (FCHUB-6S, FCHUB-VTX, FCHUB-W option)
LDO 3.3V: Max.300mA
I2C1 SDA & SCL: Yes
WS2812 Led Strip : Yes
Beeper : Yes
RSSI: Yes
As far as I can tell, it's very similar to the REVO.
BetaFlight has firmware support for the Matek405 in their latest release, version 4.
(https://github.com/betaflight/betaflight/releases/download/4.0.0/betaflight_4.0.0_MATEKF405.hex)

Would there be any benefit in me going through the following files:
How ROSFLIGHT abstracts the Revo:
https://github.com/rosflight/firmware/blob/master/boards/airbourne/airbourne_board.cpp
How Betaflight abstracts the Revo:
https://github.com/betaflight/betaflight/blob/master/src/main/target/REVO/target.h
How Betaflight abstracts the Matek405:
https://github.com/betaflight/betaflight/blob/master/src/main/target/MATEKF405/target.h
and looking for commonalities/pin definitions/port assignments?
The betaflight HAL is quite a bit more complex, but at the base level, it might give us some clues about the hardware configuration (since it seems to be closed-hardware).
Might take a while to Reverse Engineer it, but if it's valuable then I can try find time between my research.
Hopefully, there's a better way of doing it!

Hi, this is the output of dmesg -w when plugging in the flight controller a number of times:
`[  117.154347] usb 1-1: new full-speed USB device number 8 using xhci_hcd
[  117.303801] usb 1-1: New USB device found, idVendor=0483, idProduct=5740
[  117.303808] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  117.303812] usb 1-1: Product: MatekF4
[  117.303816] usb 1-1: Manufacturer: Cleanflight
[  117.303819] usb 1-1: SerialNumber: 0x8000000
[  117.304906] cdc_acm 1-1:1.0: ttyACM1: USB ACM device
first plug-in, with cleanflight ^
[  159.481459] usb 1-1: USB disconnect, device number 8
[  159.481669] cdc_acm 1-1:1.0: failed to set dtr/rts
[  162.128805] usb 1-1: new full-speed USB device number 9 using xhci_hcd
[  162.277836] usb 1-1: New USB device found, idVendor=0483, idProduct=df11
[  162.277841] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  162.277845] usb 1-1: Product: STM32  BOOTLOADER
[  162.277848] usb 1-1: Manufacturer: STMicroelectronics
[  162.277852] usb 1-1: SerialNumber: 206E3270354B
Second plug-in, in flashing mode ^
[  189.484865] usb 1-1: USB disconnect, device number 9
[  190.146615] usb 1-1: new full-speed USB device number 10 using xhci_hcd
[  190.296002] usb 1-1: New USB device found, idVendor=0483, idProduct=5740
[  190.296004] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  190.296005] usb 1-1: Product: STM32 Virtual ComPort in FS Mode
[  190.296007] usb 1-1: Manufacturer: JAMES JACKSON
[  190.296008] usb 1-1: SerialNumber: 0x8000000
[  190.296865] cdc_acm 1-1:1.0: ttyACM1: USB ACM device
after flashing rosflight ^
[  213.690345] usb 1-1: USB disconnect, device number 10
[  216.029724] usb 1-1: new full-speed USB device number 11 using xhci_hcd
[  216.180717] usb 1-1: New USB device found, idVendor=0483, idProduct=5740
[  216.180719] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  216.180720] usb 1-1: Product: STM32 Virtual ComPort in FS Mode
[  216.180721] usb 1-1: Manufacturer: JAMES JACKSON
[  216.180722] usb 1-1: SerialNumber: 0x8000000
[  216.181618] cdc_acm 1-1:1.0: ttyACM1: USB ACM device
[  248.488544] usb 1-1: USB disconnect, device number 11
[  253.705225] usb 1-1: new full-speed USB device number 12 using xhci_hcd
[  253.854913] usb 1-1: New USB device found, idVendor=0483, idProduct=5740
[  253.854919] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  253.854923] usb 1-1: Product: STM32 Virtual ComPort in FS Mode
[  253.854927] usb 1-1: Manufacturer: JAMES JACKSON
[  253.854931] usb 1-1: SerialNumber: 0x8000000
[  253.856158] cdc_acm 1-1:1.0: ttyACM1: USB ACM device
[  379.486252] cdc_acm 1-1:1.0: failed to set dtr/rts
[  472.820671] cdc_acm 1-1:1.0: failed to set dtr/rts
[  475.388201] cdc_acm 1-1:1.0: failed to set dtr/rts
[  613.543981] cdc_acm 1-1:1.0: failed to set dtr/rts
[  616.599054] cdc_acm 1-1:1.0: failed to set dtr/rts
[  695.046540] usb 1-1: USB disconnect, device number 12
[  697.576966] usb 1-1: new full-speed USB device number 13 using xhci_hcd
[  697.726482] usb 1-1: New USB device found, idVendor=0483, idProduct=5740
[  697.726488] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  697.726492] usb 1-1: Product: STM32 Virtual ComPort in FS Mode
[  697.726496] usb 1-1: Manufacturer: JAMES JACKSON
[  697.726499] usb 1-1: SerialNumber: 0x8000000
[  697.727625] cdc_acm 1-1:1.0: ttyACM1: USB ACM device
[  712.413234] cdc_acm 1-1:1.0: failed to set dtr/rts
[  776.521003] usb 1-1: USB disconnect, device number 13
[  782.676275] usb 1-1: new full-speed USB device number 14 using xhci_hcd
[  782.826036] usb 1-1: New USB device found, idVendor=0483, idProduct=5740
[  782.826042] usb 1-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[  782.826046] usb 1-1: Product: STM32 Virtual ComPort in FS Mode
[  782.826049] usb 1-1: Manufacturer: JAMES JACKSON
[  782.826053] usb 1-1: SerialNumber: 0x8000000
[  782.827061] cdc_acm 1-1:1.0: ttyACM1: USB ACM device
`
I started with cleanflight flashed on (which is the first section).
I then used cleanflight software to flash the rosflight .hex file from earlier on (in DFU mode, the STM bootloader shows up (section 2).
I encountered this
[  475.388201] cdc_acm 1-1:1.0: failed to set dtr/rts
whenever I run
rosrun rosflight rosflight_io _port:=/dev/ttyACM2 _udp:=false
To fix it, I found this script online:
`#!/bin/sh
sudo sh -c 'cat > /etc/udev/rules.d/49-stm32.rules' <<EOF
0483:5740 - STM32F4 Dsicovery in USB Serial Mode (CN5)
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740",
ENV{ID_MM_DEVICE_IGNORE}="1"
ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740",
ENV{MTP_NO_PROBE}="1"
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740",
MODE:="0666"
KERNEL=="ttyACM*", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="5740",
MODE:="0666"
0483:df11 - STM32F4 Discovery in DFU mode (CN5)
SUBSYSTEMS=="usb", ATTRS{idVendor}=="0483", ATTRS{idProduct}=="df11",
MODE:="0666"
EOF
sudo udevadm control --reload-rules`
which sets some more rules (including DFU mode rules) for udev.
However, I'm still getting failed to set dtr/rts.
Maybe this has something to do with it?
TL;DR : dmesg -w doesn't show "rosflight" anywhere after flashing the hex file.
Running rosflight with the udp parameter set to false also doesn't change it.
Will try the naze32 next...

I did not

Final report of the evening. The naze32 works as expected, no dice for the STM32F4 device, maybe you can see something obvious in my earlier musings.

What was the exact rosrun rosflight ... command you ran for the naze32?
From dmesg it looks like your device is showing up as /dev/ttyACM1, not /dev/ttyACM2. Have you tried running rosrun rosflight rosflight_io _port:=/dev/ttyACM1?

In an earlier run my system opened the port as /dev/ttyACM2. In the latest run, it was listed as /dev/ttyACM1. I was careful with the ports, using ls /dev/ | grep ttyACM to see which one was to be used.
The command I used varied between ACM1 and ACM2, depending on which one my system chose for that day.
NB: I'm not having this problem with a naze32, only with an STM32F4 target. The naze32 works exactly as expected.

Interesting.
First off, I had forgotten that the manufacturer was still JAMES JACKSON.  I should probably change that.  It looks right to me, although I don't have an F4 handy to check against. I'll have time next week.
I suspect there is some kind of hardware difference. There is a 5V pin connected to the USB-OTG that I use to detect whether the USB is connected.  If that moved then you might see the behaviour you're talking about.
I don't have time right now, but I want to make a note to check on this later.  The betaflight pin mappings: (copied from above)
https://github.com/betaflight/betaflight/blob/master/src/main/target/MATEKF405/target.h
and here is the airbourne pin mappings we use
https://github.com/rosflight/airbourne_f4/blob/master/include/revo_f4.h

Should I try changing the pins in this file:
https://github.com/rosflight/airbourne_f4/blob/master/src/vcp.cpp#L29
locally to reflect the following changes:
PIN        |        MATEK   |        REVO
RX         |        PA10       |        PA11
TX          |       PA9         |        PA12
DETECT |        PB12      |         PA5
and try to compile and flash the fresh firmware. Or is there more to it than that?
If that works, I can start thinking of ways to achieve more abstraction (even if just for F4 targets for now) I'm a big fan of declarative programming, but I'm not sure that I'm ready to stick my fingers in this pie until I get some STM32 programming experience.

Hey I have to report a strange issue. I was recently moving from a flip32 to a naze32, as I could order the naze with angled connectors which is necessary due to space limitations in my project. The flip32 is working fine when connected via microUSB or Serial/UART connectors (with tty-to-usb-adapter). The naze32 works fine when using microUSB, but shows strange behaviors when connecting via UART1 (with tty-to-usb-adapter):

The usual print of the firmware version is missing and it doesn't stop to complain about missing parameters. The interesting thing is, when dis- and reconnecting from power-source or arming via RC everything works as expected:

Due to space limitations I need to avoid connection with microUSB, therefore this needs to work properly. Additionally I read in the how-to that microUSB can disconnect by vibrations. I would use another serial port if SERIAL_DEVICE parameter wouldn't return exists: False.

Is there any option to use UART2 instead? This also would give a better pin output direction.

I am facing the same issue on an OpenPilot Revo board, with airplane parameters installed.
On my laptop it works like a charm.
But when I try to hook the FC on an Odroid XU4 get the ''0 of 0 parameters'' error.
Cycling FC power while the companion is on seems to solve the problem.
Arming does not.
I will try more power combinations and try to report if I find anything more.

Since we aren't expecting anyone to use F4's going forward, I'm closing this issue.


Mail with Html not worlink

email not format html:
EmailMessage email = new MailMessageImpl(getMailConfig(confEmail))
.to(nfe.getDestinatario().getEmail())
.subject(assunto)
.bodyHtmlTextAlt(html,confEmail.getAssunto()).importance(MessagePriority.HIGH)
.addAttachment(ContentDisposition.ATTACHMENT, new File(caminhoXml))
.addAttachment(ContentDisposition.ATTACHMENT, new File(arquivoPdf))
.send();

Can you provide some more detail as to what you are experiencing?
FYI this project isn't actively maintained.

email it's like text
https://screenshot.net/pt/nx37jcn

@john182 Is this still an issue for you with the current release? If so, do you have a reproducer I could take a quick look at?


regen.sh on osx

Could the regen.sh script possibly be changed to also work on osx?
./regen.sh: line 44: declare: -A: invalid option
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]

Hm, first of all, as per official docs, there is no -e option for bash , which makes me curious. And declare is a bash built-in command. Every halfway recent version of bash should support it.
The funny thing is that the declare function of sh has options mentioned above (see manpage). So my first guess is that for some weird reason, regex.sh is run with the sh interpreter rather than bash – however that may happen.

As a matter of fact, it might be just the opposite around. Not sure, but changing the shebang to
#!/bin/sh

might actually solve the problem.

I still get the same error

The same one? Ok, I will look into it to get it running. Any way I can verify the results?

I tried this regen diff
@@ -1,4 +1,4 @@
-#!/bin/bash -e
+#!/bin/sh -e
 #
 # This script fetches and rebuilds the "well-known types" protocol buffers.
 # To run this you will need protoc and goprotobuf installed;
@@ -39,7 +39,7 @@ echo 1>&2 "base: $base"
 cd $base

 echo 1>&2 "fetching latest protos... "
-git clone -q $UPSTREAM $tmpdir
+git clone $UPSTREAM $tmpdir
 # Pass 1: build mapping from upstream filename to our filename.
 declare -A filename_map
 for f in $(cd $PKG && find * -name '*.proto'); do

I have this declare
declare: usage: declare [-afFirtx] [-p] [name[=value] ...]

Don't you have OSX?

Aye, I am already working on it. It is a bit strange. Not sure what happens there.

@awalterschulze After banging my head against the wall for a few hours, I decided that I would rather reimplement the script than debug it any further. As far as I can see from the sources, upstream now holds an option go_package…;, hence the script does not change the original package name. Running a go test after calling regen2.sh worked. I have to test it against Linux. But please let me first know wether this works for you.

I removed the -q for the git clone
git clone $UPSTREAM $tmpdir

and I added a -e to the top
#!/bin/bash -e

But then it was working :)
I hope they take it in a pull request.
Otherwise if you can minimize the diff it would be nice to merge this into gogoprotobuf.

Very, very strange. As said, there is no -e option for bash. How are you calling that script?
And I am not quite sure what you mean with "minimize the diff". Could you explain? ;)

I am calling it like so
./regen.sh

I think it does the same as
set -e

"set -e causes the shell to exit if any subcommand or pipeline returns a non-zero status"

Minimizing the diff:  If you can make the diff between the golang/protobuf regen.sh and your new regen.sh as small as possible that will make it easier to maintain when golang/protobuf edits its own regen.sh.  Obviously merging in a pull request into golang/protobuf is first prize.

Uh, well, I built the new script from ground up, so minimizing the diff actually might become very hard. My suggestion would be to make a PR against your ptypes branch where we can test and polish it as needed, and when we are done you can do a PR for golang/protobuf?

You don't want to be in that place, because golang/protobuf will never take a pull request from gogoprotobuf.  Or at least I have tried in the past and have failed.
If you can get this merged into golang/protobuf that would be a huge help.  I think this change is small enough for them to consider.

Aye, will polish it a bit. sigh You want a PR against ptypes anyway?

No the ptypes branch is a mess at the moment.  I'll see what I can salvage there at some point.

Hm, there is already #144 😲 Have to dig into that.

Start a new one

I am at it. Though I need to do some testing on the various flavors of the respective tools. At least FreeBSD, Linux and Solaris. OS X seems to work 😏

This should be fixed as of #412.

Closing as fixed (I did not verify) according to @jhump's comment. If it occurs again, we can file another issue.


Custom Copiers - Alternative Implementation

Okay -- here goes. This is the version that has separate copiers and comparators, aggregated into a MockNamedValueHandler class.
The nice thing is that existing user code need (almost) not be changed. The only thing that changed is that mock().removeAllComparators() became mock().removeAllHandlers().
Also, a custom class can have both a Comparator and a Copier.
All in all, I like this implementation better myself.
BUT -- there's a downside. It means a lot of changes, even though I made sure to change as little as possible.
Suggestions for improvements welcome :)

Why Handlers and not Copiers?
Handlers has no meaning :)

Needed a box to pack both Handlers and Copiers into ;-).
Copiers are called Copiers, and comparators are called Comparators.
I know, I don't like removeAllHandlers() (the only place where the user 'sees' it) myself, but I would have to further dismantle existing code, since that method uses clear(), and you would have to delete copiers and comparators separately to be able to have removeAllComparators and removeAllCopiers instead...

Let me try to check it more next week.

Alright. By then the bugs should be ironed out :)

My 2 cents: If you need to break the API because of "removeAllHandlers", then it would be better for homogeneity sake to go all the way and have two "installHandler" methods with different signatures rather than "installComparator" and "installCopier".

@jgonzalezdr - I'd prefer not to break the API. But I do like your idea; at least it is a lot more logical from a user's point of view.

@jgonzalezdr It has been done. Breaking the API even more -- but nice and consistent

This has been superseded by #676, thank you @jgonzalezdr.


Latest and Next Launch have the same info?

I don't understand the difference between the "latest" and "next" launch.
They both seem to return 1:1 the same response/string.
From my understand/assumption, I would say that latest is supposed to be the last/previous undertaken launch (regardless whether the launch was a success or exploded, fact is it happened), and next is the upcoming launch.
Latest <- Past
Next <- Future
Can someone explain to me as to why next and latest return the same string and if that behavior is correct, how I can get the last/previous launch without using the all-previous launches api (Too many results affects performance, when I just need the latest/previous) ?

No, they aren't the same: /latest gives you Starlink-21 and next gives you correctly Starlink-22. They are similar because payload is the same, but if you look carefully you get different booster values, for example.


CLI command always runs even when test is false

Hi,
Looking at the issues list I've encountered the issue where the KeycloakDS datasource can't be changed because of the expression on the jdbc URL.
Trying to bypass this issue, I've tried removing the old H2 datasource and create it again but only if the driver is set to h2 using:
wildfly::cli { 'Remove old KeycloakDS':
  command => '/profile=auth-server-clustered/subsystem=datasources/data-source=KeycloakDS:remove',
  unless  => '(driver-name == h2) of /profile=auth-server-clustered/subsystem=datasources/data-source=KeycloakDS:read-attribute(name=driver-name)',
}

But every time I do a puppet run the cli command runs even tho the driver-name is no longer h2.
before:
/profile=auth-server-clustered/subsystem=datasources/data-source=KeycloakDS:read-attribute(name=driver-name) {     "outcome" => "success",     "result" => "h2" }
after:
/profile=auth-server-clustered/subsystem=datasources/data-source=KeycloakDS:read-attribute(name=driver-name) {     "outcome" => "success",     "result" => "mysql" }
Is that a supported way to do "unless" ?
Is there another way to run a CLI command where it tests for a specific value of the resource?

You should be able to do it with:
wildfly::cli { 'Remove old KeycloakDS':
  command => '/profile=auth-server-clustered/subsystem=datasources/data-source=KeycloakDS:remove',
  unless  => '(result == h2) of /profile=auth-server-clustered/subsystem=datasources/data-source=KeycloakDS:read-attribute(name=driver-name)',
}

In fact, if I understood correct. You'd need onlyif instead of unless.


have an ability to specify "base directory"

Clear and concise description of the problem
currently if you build histoire in the index.html for example it has lines of code like ,  if for instance you want to host his as a sub directory on the same domain it currently breaks.
so for instance if you want to host your histoire on a url like /stories it will look for the above stylesheet in  /assets instead of /stories/assets
Suggested solution
add a config property "base url". that allows this to be hosted as a sub domain which will append this value to the base directory.
so with a base url value of "/stories" the still import above becomes /stories/assets/style instead of /assets/style
Alternative
No response
Additional context
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that requests the same feature to avoid creating a duplicate.

I think this is already possible. You can set a base path in the vite config, for example in the histoire.config.js:
import { defineConfig } from 'histoire';

export default defineConfig({
	vite: {
		base: '/stories/',
	},
});

@theDevelopper that would be for the entire file.  This would work if you are making a UI lib.   But not if you have a base project that also makes use of historie.   So ideally the historie build should have its own base path

@jpengelbrecht Yes, I do understand that. that's why you can override the base path in the histoire.config.js instead of the project's vite.config.js, as shown in my example. This way the base path is applied to Histoire and not the project itself.
At least in my project that works as expected.


Cannot export EfficientNet to onnx

Hello
I used the same script for exporting a model to onnx, but I got this error:

RuntimeError: ONNX export failed: Couldn't export Python operator SwishImplementation

when I added this part:
module.set_swish(memory_efficient=False), I got this error:

RuntimeError: Exporting the operator silu to ONNX opset version 9 is not supported. Please open a bug to request ONNX export support for the missing operator.

The problem is solved by upgrading pytorch to 1.8.1

Hi,
I solved the above issue and managed to export the onnx model.
However, I failed to load the onnx model when transform it to the tensorrt format. Have you ever encountered  such issue?
In node -1 (importPad): UNSUPPORTED_NODE: Assertion failed: inputs.at(1).is_weights()


Currency Setting: Missing 🇧🇷 BRL Option

In the "settings" tab, when we select "currency," we don't have the option 🇧🇷 BRL.
Assignees: [@lmcmz]

Thank you for feature request @diegofornalha  :)
Update: Add BRL currency on dev branch:
https://github.com/Outblock/Lilico-iOS/commit/2cbadce74da0f7e8214d32662854dfbc8cf97d7f


Optimize Debian & Ubuntu images for size

Adding --no-install-recommends and removing unnecessary RUN commands allows for a smaller docker image. For Ubuntu based JDK 8 the size decreased from 424MB to 335MB.

@tkarbowski thanks for the review. I've added dirmngr as a dependency in the Debian 9 images. It appears that it's an optional dependency for gnupg, hence --no-install-recommends prevents it from being downloaded.
I was curious as to why this didn't affect Debian 8 images, and it appears that the keyserver helpers were moved from gnupg to dirmngr with the release of gnupg 2.1.0. Debian 8 ships with gnupg 1.x, so it wasn't affected by my changes.
It also didn't affect the Ubuntu images, as Ubuntu considers dirmngr a required dependency of gnupg

@tkarbowski Can I get a sign-off?


Return AgentRemoteId after decoding, instead of AgentCircuitId

During decoding agent remote id(2) in option82, instead of returning AgentRemoteId, AgentCircuitId is returned. This fix returns AgentRemoteId after decoding it.

Thank you! I'll cut a release after this gets merged


parameters_Zheng_PNAS2012.tsv is ODS not TSV

parameters_Zheng_PNAS2012.tsv is an openoffice spreadsheet

I think this is true for most of the parameters files at the moment.
@PhilippStaedter Can you make sure, that the files are all real tsv?


Add a compass direction enums

My main comment is that I’d want to be able to get a compass direction from a given rotation/direction. The defines are useful but saying “What compass ‘pie slice’ is this rotation/direction in” is more useful IMO.

Originally posted by @BobG1983 in https://github.com/bevyengine/bevy/issues/13636#issuecomment-2143994914
I've made enums like this before: they're very useful for working with 2D directions, especially when mapping control stick inputs into 4 or 8 directional motion.
Design proposal
Create two enums:

CompassQuadrant: north/south/east/west
2.CompassOctant: also include northeast and so on

These enums correspond to a centered wedge of the unit circle (i.e. they assign the area on both sides of the axis to the same wedge).
There are two key APIs for each of these types: converting both to and from Dir2. This should be done using two From impls.
Other than that, just derive the standard traits: Debug, PartialEq, Eq, Clone, Copy, Hash, Reflect and so on.

@alice-i-cecile Looks like we can close this issue as resolved by #13653


Beautifying Javascript w/ flowtype annotations adds extra spaces

As noted in #555, extra whitespace is added to flow type annotations.

Related to #1147


fix: rpc downloader shutdown

PR Type
Bug fix, Enhancement

Description

Improved RPC downloader shutdown mechanism:

Implemented graceful shutdown using GlobalState::is_shutdown_warn
Enhanced error handling for download tasks

Refactored importer-related code:

Introduced TASKS_COUNT constant in Importer struct
Updated global variables to use the new constant

Enhanced code organization and maintainability:

Added TASK_NAME constant in RPC downloader
Replaced hard-coded values with constants

Minor improvements:

Updated import statements
Simplified stream processing in RPC downloader

Changes walkthrough 📝
Relevant filesEnhancement

rpc_downloader.rsImprove RPC downloader robustness and shutdown behavior

src/bin/rpc_downloader.rs
Replaced TryStreamExt with stream from futures crate  Introduced TASK_NAME constant for better code organization  Implemented graceful shutdown mechanism using GlobalState::is_shutdown_warn  Changed error handling approach for download tasks

+15/-10

importer.rsAdd constant for importer tasks count

src/eth/follower/importer/importer.rs

Added TASKS_COUNT constant with a value of 3

+2/-0

globals.rsRefactor importer-related global variables

src/globals.rs
Imported Importer from the eth::follower::importer module  Updated IMPORTER_ONLINE_TASKS_SEMAPHORE to use Importer::TASKS_COUNT  Modified wait_for_importer_to_finish to use Importer::TASKS_COUNT

+3/-2

💡 PR-Agent usage: Comment /help "your question" on any pull request to receive relevant information

Final benchmark:
RPS Stats: Max: 951.00, Min: 793.00, Avg: 837.49, StdDev: 22.16
TPS Stats: Max: 901.00, Min: 793.00, Avg: 837.16, StdDev: 20.80
Plot: View Plot


Document default configuration values on the mod page

A friend recently installed this mod on their server and was bewildered that the mod was not in "right click harvest" mode by default, but rather "use hoe to harvest in radius that also consumes XP and does not bother showing a warning to the player if the mod is only server side", as they put it.

:laughing: so, there are a few things here.

I DO plan on changing the default to NOT require a hoe, as lots of people get confused by this.
XP is not (or should not) be consumed by default.
There is a warning if the mod is only installed client-side. It is not OPTIONAL on the client side and REQUIRED on the server side.

Going to use this issue to remind me to change the default to not require a hoe


Use angle brackets for non-relative paths

Since Ken mentioned that he wants angle brackets, I also created an angle bracket PR and this would be the counterpart to https://github.com/AcademySoftwareFoundation/openvdb/pull/1363.
It shortens the relative paths that could be shortened and unifies all not relative paths to use angle brackets.

Sorry for the ping, but would be great, if you could run the CI and maybe take a look.
(you took a look at the previous PR https://github.com/AcademySoftwareFoundation/openvdb/pull/1363)
@jmlait @Idclip @danrbailey

I've just pulled master without conflicts, because the CI failed. Maybe this can fix the issues. On Windows TBB was missing.
(failed Action)

can you try this in your fork:
git fetch upstream
git merge upstream/master
git push origin angle-brackets

assuming you previously did
git remote add upstream git@github.com:AcademySoftwareFoundation/openvdb.git

Thanks for the suggestion Ken, but the branch is already merged with the latest commit of the upstream OpenVDB version (0efd583)
And as said, only the non-related NanoVDB build is failing, because of CUDA.
I don't know if it would change anything, but maybe rerunning the CI without a change could work, if something blocked the install.


parametrize test_deformable_convolution

Fixes https://github.com/apache/incubator-mxnet/issues/19563

do you think marking it as flaky is needed?

What's the reason for marking as flaky? I haven't seen the test fail yet, but it's total runtime can exceed 20 minutes depending on the system load (?).

nevermind, I thought the failures I saw were test failures but those were indeed timeouts.


Fix compilation error if expression length != message length

Reported in #158. The *REQUIRE_THAT macros were assuming that SNITCH_MAX_MESSAGE_LENGTH and SNITCH_MAX_EXPR_LENGTH were the same. If they weren't, this would cause a compilation error. The tests have now been modified so none of the lengths are identical, to catch future instances of this problem.

I still need to update the approval test data. But first I need to fix another issue, which was highlighted by these test failures: in the XML or TeamCity reporters, we need to escape some of the strings before reporting them. When the resulting string is too long and truncated, there is a risk of truncating halfway through an escaped sequence, which would render the escaped string invalid.
I'm working on a solution.


Switch to geo notations in GISAID feed?

For example, a record in the feed will be annotated with a string like North America / USA / Michigan.
We've been using the country label embedded in the sequence name field.
One problem is that we are using a different set of geographic regions.

Switching to using the geo notations in the feed would cause problems for users who do not have access to the feed.  This makes me want to keep extracting location info from the sequence label.

Switching to using the geo notations in the feed would cause problems for users who do not have access to the feed.  This makes me want to keep extracting location info from the sequence label.

Retain sequence label parsing and mapping to region (JSON) for local runs, and switch to GISAID annotation for our own pipeline.

Retain sequence label parsing and mapping to region (JSON) for local runs, and switch to GISAID annotation for our own pipeline.


Is it possible to integrate existing LESS files?

I'm trying to work out a way to get Semantic customisations working alongside my existing LESS files.
In my project I have the file /client/stylesheets/utils.import.less which contains global customisations a bit like:
@tablet:        ~"only screen and (min-width: 768px) and (max-width: 900px)";
@mobile:        ~"only screen and (max-width: 768px)";
.fonts{ font-family: "Helv..."; }
@mycolours-primary: @color-primary-0; // dark blue
// etc.

Then in various less files I reference this using @import "/client/stylesheets/utils.import.less"; at the start of each file.
Using the semantic:ui-css & less packages this works but I lack customisations for SUI. However, when I remove those two packages and use this package instead I get a lot of errors like this:
client/views/project/queries/common/askQuestion/askQuestion.less:1:1: Less compiler error: '/client/stylesheets/utils.import.less' wasn't found.
Tried - /client/stylesheets/utils.import.less,/Users/oliver/Code/myproject/client/views/project/queries/common/askQuestion/client/stylesheets/utils.import.less

Is it possible to have my own LESS variables files plus the ability to customise SUI?

Not really sure why but I just tried adding this package again and now it works.


Updating to the new version of micropython

Could you update the micropython version, because there are a lot of bug fixes that I require that are only available in the newest version of micropython

The current build is annoying because it doesn't notice upstream changes in any of the sub-modules.
In the tensorflow micro side most projects are embedding the latest snapshot of the tflm code using a code sync job that pulls changes in from the upstream into the examples project.
In ulab they do the opposite and don't have submodules and the build script clones the micropython repository and then the code stands alone.
I'm learning towards the ulab approach but using a shallow clone to speedup the build.
https://github.com/v923z/micropython-ulab/blob/master/build.sh#L46
For local development it would still allow you to have the full clone of the other repos.

Should update micropython to version 1.20


Email validator allow accented characters

Hi:
The email validator allows for accented characters in the string, which are not valid for an email, for example:
ábc.hotmail.com
That string passes validation as an email.
Regards

Please see #1275 and comment there if you find an divergent authoritative reference. Thanks


Binary execution support

This PR contains changes required for https://github.com/elastic/apm-agent-java/pull/903

feature renamed to process for consistency, part of incubating instrumentations that are disabled by default
no need to have  commons-exec instrumentation as it relies on java.lang.Process under the hood
tests require to use integration tests because instrumented classes are in the bootstrap classloader (can't be instrumented by agent in unit tests yet)

I've added support for commons-exec, thus your use-cases should be fully covered now.
I think that capturing parameters and exit value should be easier to do in separate PRs when this plugin is merged to master in order to avoid keeping this PR open for too long.

Everything works now. Thanks again for taking over and make the instrumentation work!
I'll merge your changes and rebase against master so the changes can be integrated.


Feature Requests

Hello, I really like this addon!
Could you please consider:

Fading out 'social' button

Customize fadeout time of tabs
For example i want my tabs to appear and disappear instantly on mouseover. No delay.

Thank you :)

Hi!

Fading out 'social' button

I'll do something about the "Social" button soon™, I'm currently rewriting the addon 🤔 For now use an addon like BasicChatMods.

Customize fadeout time of tabs

This is honestly a massive pita and a can of worms I'm not willing to open. Fading of the tabs is controlled by Blizz, and I can't adjust that stuff at all because it'll break the default UI, I tried.  It's basically double fading, it's annoying even for me, but it is what it is 😭

As I said in another issue I just close, this one is coming with TWW. I rewrote the whole thing and finally hooked and gutted that social button and the whole chat alert system.

Closing.


Upload multiple files with title

Hi,
how can I prepare field for upload files and title and store it in json field? Is it posible?
Thank you for help.

Yes it's possible.
Cast your field as object or json
Use the normal uploader from the docs, it will set the attribute to the file path. In the mutator function then modify the attribute again with the format you want it in using normal PHP/laravel


Reset Password (Change password)

Endpoint: /api/auth/password/change
Method: POST
Description: Allows users to reset their password after verifying their identity with a code sent to their email.
Authorization Required: No
Parameters:
Email Address: User's email address.
Verification Code: The code sent to the user's email for verification.
New Password: The new password the user wants to set.
Validations:
Email Address:
Must be in a valid email format.
Ensure the email is associated with a verified password reset request.
Verification Code:
Must be valid and match the code sent to the user's email.
Ensure the code has not expired.
New Password:
Must meet complexity requirements (e.g., minimum 8 characters, includes numbers).
Ensure the new password is different from the previous password to enhance security.
Security Measures:
Code Verification and Expiry: Verify the code is correct and check that it has not expired before allowing the password change.
Password Encryption: Encrypt the new password using a strong hashing algorithm before storing it in the database to ensure it is securely saved.
Feedback:
Successful Reset: Provide a confirmation message such as "Your password has been successfully reset. You can now log in with your new password."
Failed Attempts: In case of incorrect code or other issues, provide feedback like "Invalid or expired verification code. Please restart the password recovery process."
Note: Add test cases for all scenarios

@alexboateng I want to pick up this issue

https://github.com/mestafrica/mobile-wallet-fraud-database/pull/38


Write an error receipt for the counterparty to fast forward in try handler

Summary
In the try handler, if the counterparty sequence is less than our own, write an error receipt (without restoring) to indicate the counterparty should fast forward their sequence.
Note, the rest of the upgrade handler should be skipped and the tx should be successful
// if the counterparty sequence is less than the current sequence, then either the counterparty chain is out-of-sync or
    // the message is out-of-sync and we write an error receipt with our sequence - 1 so that the counterparty can update
    // their sequence as well.
    if counterpartyUpgradeSequence < channel.sequence {
        errorReceipt = ErrorReceipt{
        channel.sequence - 1,
        "sequence out of sync", // constant string changable by implementation
        }
        provableStore.set(channelUpgradeErrorPath(portIdentifier, channelIdentifier), errorReceipt)
        return
    }

For Admin Use

[ ] Not duplicate issue
[ ] Appropriate labels applied
[ ] Appropriate contributors tagged/assigned

Before closing this issue let's add a unit test for error receipt written on TRY and cancellation on the counterparty (fast forwarding the sequence) + proceeding with new upgrade sequence


Sweep agent unable to call W&B API

wandb, version 0.8.22
Python 3.6.5
Linux
Description
I'm running a hyperparameter sweep, and launched an agent which completed 10 runs (I can see them logged successfuly on the sweep page). After the 10 runs the agent started giving the following error:
2020-02-02 09:51:54,672 - wandb.wandb_agent - INFO - Running runs: []
wandb: ERROR Error while calling W&B API: anaconda 400 error: {"code":400,"message":"TypeError: bad operand type for unary -: 'NoneType'"}
wandb: ERROR  (<Response [500]>)
wandb: ERROR Error while calling W&B API: anaconda 400 error: {"code":400,"message":"TypeError: bad operand type for unary -: 'NoneType'"}
wandb: ERROR  (<Response [500]>)
wandb: ERROR Error while calling W&B API: anaconda 400 error: {"code":400,"message":"TypeError: bad operand type for unary -: 'NoneType'"}
wandb: ERROR  (<Response [500]>)

I stopped the agent and started another one but had the same issue, this time it wasn't able to complete any runs.

Sorry about that. We are improving the robustness to bad inputs. If you paste the sweep url I can help you diagnose the problem. We should have an update this week or next that better handles whatever you ran into

https://app.wandb.ai/prashant-pand3y/pytorch-unet/sweeps/u3a6gyi8?workspace=user-prashant-pand3y
Thanks

The problem is that you had a run which didnt log the metric:
https://app.wandb.ai/prashant-pand3y/pytorch-unet/runs/zqew8o9g
We documented this but we intend on fixing it in an upcoming release:
https://docs.wandb.com/sweeps/common-issues
To workaround the issue, make sure you always log the metric you are optimizing when you use bayes search.   You can delete the runs that didn't log the metric and you can restart any agents that stopped.

Hm, that's weird. I don't understand why one of my runs wouldn't log the optimization metric when the previous 8-9 logged them without a problem. Whether that metrics gets logged isn't dependent on any of the hyperparameter choices.


audio input

MBs have little speakers that go beep.  A2D to look for beep signal.

Done

it works!


Custom types no longer have a grayed icon

Godot version
00fa4e2
System information
Windows 10 x64
Issue description
Nodes added with add_custom_type() used to have gray icon.

Now they dont.

I noticed that tool script icons now use accent color. Maybe that PR caused the issue.
Steps to reproduce

Add the MRP to some project
Create TestSprite
Observe the script icon

Minimal reproduction project
test.zip

Oops

I checked and that PR is not the cause.

I fixed the colouring not being darkened, but at its core it seems like EditorNode::get_singleton()->get_object_custom_type_base(p_node) does not return a Script, or at least not the right now.

I have tried your test project. If you write class_name to the script of your class, it grays the script icon.

But when you restart the project, it says it is conflicting with a global class:

Is the problem that the custom type is not registered correctly, at all?

Is the problem that the custom type is not registered correctly?

Looks like

The icon is not gray if I use class_name in beta3 either

Seems fixed on master.


Transform into OOP paradigm

This SDK should be used in a OOP way(with objects and classes), so for example in authentication we would like to use the library like this:
from market-data-api import MarketDataApi
new_session = MarketDataApi()
new_session.authenticate(“my api key”)
Then use the different functions we want to follow an approach similar to the yfinance repo (https://github.com/ranaroussi/yfinance). Since any data we can get is from a stock, index, or option contract we would like to create an object representing it and then ask this object for the information we want. For example:
aapl = new_session.Symbol("AAPL")
aapl_candles = aapl.get_candles(from='2023-01-01')

Converted to OOP Paradigm on 27-Aug-2023.  Need to write test suite.

Reformatted the code base into OOP paradigm.


Mysql Connector multiple databases

Does the MySqlConnector support binding to more than one database?

@jquintero33 the MySql Connector does not currently support binding more than one database. Could you provide a little more context around how you would like that functionality to work?

Re-reading my original answer, I should note that it was not technically correct. Steeltoe connectors have always supported binding more than one instance of any given service, you just have to use the methods that specify the binding name when you add them to the DI container.
The real problem has been getting them back out of the container.. this is not a complete solution, but the MySQL EFCore sample has been updated to work with multiple databases. This type of example would work with any of the EntityFramework variants since we can request which DbContext we want.
It is worth noting that this is a limitation of the way Microsoft Dependency Injection works -- by that I'm referring to the inability to qualify which instance of type X you're requesting:
// eg: How do I specify WHICH MySqlConnection I want here?
public IActionResult MySqlData([FromServices] MySqlConnection dbConnection)

Closing issue.  Please reopen under the steeltoe repository if still an issue.


SharePointSync.psm1 to remove the code that manually updates the ADMA’s definition in the XML file prior to server configuration export

This functionality is present in Hotfix http://support.microsoft.com/KB/3134725  thus the script no longer needs it.

Unfortunately the fix in MIM does not work as expected so this will have to wait.  When calling Set-MIISADMAConfiguration the ADMA configuration is not updated as expected.  Until these problems are fixed in MIM we still need our code to modify the ADMA XML file before importing it, and the user still needs to set the ADMA password manually.
Phantom Partition
The Set-MIISADMAConfiguration has a parameter that allows you to specify the partitions to connect to.  The command does not remove existing partitions, it just leaves them in the configuration which creates other problems.
Partitions Are Not Selected
The Set-MIISADMAConfiguration  'partitions ' parameter does not work when you specify more than one partition.  For SharePoint sync we need to read the default naming context and the configuration naming context, so having just one partition work breaks us.
Setting the ADMA Password
The Set-MIISADMAConfiguration command can set the ADMA password but we can't use it because it also hacks up the run profiles.  Workaround is for the user to enter the password using the Synchronization Service Manager UI.

This isn't entirely accurate....
Set-MIISADMAConfiguration CAN be used today on build 4.3.2195 to update the credentials, avoiding the administrator having to enter the password using MIISCLIENT.EXE. It can also be used to directly allow selection of multiple Sync containers.
The only downside to this is that all containers within the configuration partition are selected, rather than just CN=Partitions. Now, that's not as tidy as it should be (i.e. a truly fixed cmdlet allowing appropriate Container and Partition specification). However it is a viable approach to avoid having to open up the AD MA to touch up the password.  There is zero impact on Run Profiles for the ADMA.
 $Partitions = "$($RootDSE.defaultNamingContext);$($RootDSE.configurationNamingContext)"
 Set-MIISADMAConfiguration -MAName ADMA -Credentials $ForestCredential -Forest $ForestDnsName -Partitions $Partitions -Container $Containers -Verbose

$Containers being a semi-colon delimited list of OUs to sync (within the default naming context).
This works just fine, in conjunction with removing the inclusion of the original $OrganizationUnit param in the fix up for the domain partition.
The -Partitions parameter only "does not work" when you then add a Container from the second/third partition. As per the code above, both partitions are included. The appropriate OUs are included in the default naming context, and the entire Configuration context is included.
Phantom partitions are a non issue in this scenario as there are none to "unselect".
Obviously a fully fixed cmdlet is what we want, and whilst not perfect avoiding a manual password touch AND allowing multiple container selection is far more customer acceptable. And it works just fine. If a MIM fix isn't on the horizon, i'd urge you to make these changes, which customers are doing already.

Think this boils down to bloated/phantom config versus manual steps.  I'd thought bloated/phantom config wasn't acceptable but hear your feedback.  I'll try again, maybe this is acceptable until the MIM cmdlet is fixed.
Thanks for testing and providing feedback!

Are there any news on this topic?

how important you your customers is the credential fix up, @andikrueger ?

It would be great to set the credentials during the first setup without the need to open the MA in MIM.
In my latest customer projects, this was not a show stopper, but it is somehow uncool, when the password must be set separately. I’d like to see this fixed. If I think about more complex setups (several SPs), it is annoying to set passwords several times.

Thanks for the feedback @andikrueger, unfortunately that functionality (setting the credential) in the MIM Sync product  breaks part of the configuration so at the moment we're unable to use it.

We closed this issue as it had not activity within last 180 days. This is a generic process we have decided to perform for issues, which have not been explicitly marked still to be "work in progress" based on tags. We are performing this cleaning to make sure that old issues that have already been solved (but not closed) or are no longer relevant are cleaned out and make the issues more manageable. If this issue still valid, we would ask you to open a new issue and follow the guidance in the issue template related on the recommended location. We do apologize any inconveniences this might cause. Please do remember that issues in the issue lists are also messages for others in the community, so you can also check if you can assist on any of them. “Sharing is caring!”


Readme updates for Redis Cluster Support

As promised - though a little late!

Much obliged!! :heart:


office.md

changing url of configure saml idp

Dear @aliendn ,
Please resolve the problem and send Pull Request again.


Bottom bar break

after using SmoothRefreshLayout my bottom bar break and I cant get why this happened.

This lib have no code to set theme  style. You can try to remove SmoothRefreshLayout, in order to find the  reason.

Otherwise, you can set the footer background color to make sure this error is not reason by Footer

after removing lib my problem solve. I don't know why this happened. I try both that libraries and I have the same problem.here are links if you want to test it,
https://github.com/roughike/BottomBar
https://github.com/aurelhubert/ahbottomnavigation
here is my XML
<me.dkzwm.widget.srl.SmoothRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/refreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
    android:id="@+id/recycler_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:clipToPadding="false"
    android:scrollbars="vertical" />
</me.dkzwm.widget.srl.SmoothRefreshLayout>

What is the layout of the activity? I can't see the problem from the layout by your offered. I need more information, such as source code、 layout XML.It can be help me to solve you problem.

I have tested the two libraries provided by you. with SmoothRefreshLayout to use the pull up to refresh, but i did not find what you said about this issue.It works well with that libs.

just by using me.dkzwm.widget.srl.SmoothRefreshLayout in my layout and without any java code i have same problem.
here is my complete XML:
<?xml version="1.0" encoding="utf-8"?>
<android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
    xmlns:app="http://schemas.android.com/apk/res-auto"
    xmlns:tools="http://schemas.android.com/tools"
    android:id="@+id/fragment_ask"
    android:layout_width="match_parent"
    android:layout_height="match_parent"
    app:layout_behavior="@string/appbar_scrolling_view_behavior"
    tools:context="com.farzad.findz.AskFragment">

    <LinearLayout
        android:layout_width="match_parent"
        android:layout_height="wrap_content"
        android:orientation="vertical">

        <Button
            android:id="@+id/fragmnet_ask_filter"
            android:layout_width="60dp"
            android:layout_height="25dp"
            android:layout_gravity="end"
            android:background="@drawable/card_default"
            android:text="Filter"
            android:textColor="@color/colorPrimary"
            android:textSize="14sp"
            android:theme="@style/FilterButtonStyle" />

        <RelativeLayout
            android:layout_width="match_parent"
            android:layout_height="wrap_content">

            <include layout="@layout/content_main" />

        </RelativeLayout>

    </LinearLayout>

</android.support.design.widget.CoordinatorLayout>

content_main:

<me.dkzwm.widget.srl.SmoothRefreshLayout
xmlns:android="http://schemas.android.com/apk/res/android"
android:id="@+id/refreshLayout"
android:layout_width="match_parent"
android:layout_height="match_parent">
<android.support.v7.widget.RecyclerView
    android:id="@+id/recycler_view"
    android:layout_width="match_parent"
    android:layout_height="wrap_content"
    android:clipToPadding="false"
    android:scrollbars="vertical" />
</me.dkzwm.widget.srl.SmoothRefreshLayout>

Do you mean without BottomBar/ahbottomnavigation , but the problem still exists?
I look the Xml by you provided but i can't see BottomBar/ahbottomnavigation.

You can try to switching refresh lib to find the problem, such as SwipeRefreshLayout.
If the problem is caused by the SmoothRefreshLayout, I will try to find the way to solve this issue.

No with out this part
mSwipyRefreshLayout = (SwipyRefreshLayout) rootView.findViewById(R.id.swipyrefreshlayout);
        mSwipyRefreshLayout.computeScroll();
        mSwipyRefreshLayout.setColorSchemeColors(COLOR_1, COLOR_2, COLOR_3, COLOR_4);
        mSwipyRefreshLayout.setOnRefreshListener(new SwipyRefreshLayout.OnRefreshListener() {
            @Override
            public void onRefresh(SwipyRefreshLayoutDirection direction) {
               ...
            }
        });

Are you solving the problem?

For now, i switching to use this lib :
https://github.com/omadahealth/SwipyRefreshLayout
with this lib, i don't have any problem and everything work fine.if I find why this has happened, I will tell you.I hope to find why this happened

Can you show me the error log? Your problem is just as shown, the effect looks like three Tab being pressed at the same time,Or have error log？

I really want to know exactly what causes you to say the problem, from my code, I did not have any code on the parent class view, how could such a problem, I am in troubled

No feedback, close this issue.

@farzadi  I got a feedback from another issue that might be the cause of your problem. I found that the problem might be the onDetachedFromWindow method has a problem, I removed all message of the handler, that might have removed ripple animations at the same time.
But I am not sure, so i will release a new version, hope to get your feedback. thx a lot !


Add alternatives for SI prefix 'micro'

This PR adds commonly used alternatives for  SI prefix 'micro'. The unicode characters U+03BC and U+00B5 as well as 'mc' are in common use in chemistry and biomedical field. The prefix code 'mu' is more commonly used in physics

Thanks for the change! It looks like you put the greek mu in twice?

Nevermind, I see they are slightly different characters. I will merge


Automatic Deployment

Builds off of https://github.com/roedoejet/wordweaver/pull/67
New file:

deploy.yaml

The only thing I'm not sure about is what the default configuration should be.

I'll have a look at this, but just quickly - when you make a PR that is based off another PR, you can change the base to the branch name of that PR instead of main (I just changed it, but just fyi). It makes it easier to review since only your changes with respect to the base branch are shown.

I'll have a look at this, but just quickly - when you make a PR that is based off another PR, you can change the base to the branch name of that PR instead of main (I just changed it, but just fyi). It makes it easier to review since only your changes with respect to the base branch are shown.

Sounds good, noted!

All updates made


Invalid Peer Type

[16-May-23 07:11:27 - ERROR] - pyrogram.dispatcher.handler_worker - Invalid peer type:<PHONE_NUMBER>
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/advanced/resolve_peer.py", line 62, in resolve_peer
    return await self.storage.get_peer_by_id(peer_id)
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/storage/mongo_storage.py", line 104, in get_peer_by_id
    raise KeyError(f"ID not found: {peer_id}")
KeyError: 'ID not found: IAmCuteCodes'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/advanced/resolve_peer.py", line 71, in resolve_peer
    int(peer_id)
ValueError: invalid literal for int() with base 10: 'iamcutecodes'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/dispatcher.py", line 240, in handler_worker
    await handler.callback(self.client, *args)
  File "/root/MissKatyPyro/misskaty/core/misskaty_patch/listen/listen.py", line 239, in resolve_future
    await self.registered_handler(client, message, *args)
  File "/root/MissKatyPyro/misskaty/core/decorator/ratelimiter.py", line 44, in decorator
    return await func(client, update)
  File "/root/MissKatyPyro/misskaty/helper/localization.py", line 120, in wrapper
    return await func(client, message, lfunc)
  File "/root/MissKatyPyro/misskaty/plugins/stickers.py", line 112, in kang_sticker
    user = await self.resolve_peer(ctx.from_user.username or ctx.from_user.id)
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/methods/advanced/resolve_peer.py", line 74, in resolve_peer
    return await self.storage.get_peer_by_username(peer_id)
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/storage/mongo_storage.py", line 118, in get_peer_by_username
    return get_input_peer(*list(r.values())[:3])
  File "/usr/local/lib/python3.10/dist-packages/pyrogram/storage/sqlite_storage.py", line 90, in get_input_peer
    raise ValueError(f"Invalid peer type: {peer_type}")
ValueError: Invalid peer type:<PHONE_NUMBER>

How to fix this error? User id is saved in DB, but always got invalid peer tupe. I'm using same code like in readme, but always got that error.  Thanks..

Fixed: https://github.com/animeshxd/pyromongo/commit/d2c921f80e63ae3a6905e3c3289286f4a439b88c


Precaching and FFT planning

Similar to the FastDense optimizations in https://github.com/SciML/DiffEqFlux.jl/pull/671, this library can definitely benefit from having pre-cached versions of the operations since the neural networks are generally small. In addition, the plan_fft part could be cached and reused for subsequent calls. Given the amount of reuse, direct control of the planning could be helpful:

The flags argument is a bitwise-or of FFTW planner flags, defaulting to FFTW.ESTIMATE. e.g. passing FFTW.MEASURE or FFTW.PATIENT will instead spend several seconds (or more) benchmarking different possible FFT algorithms and picking the fastest one; see the FFTW manual for more information on planner flags. The optional timelimit argument specifies a rough upper bound on the allowed planning time, in seconds. Passing FFTW.MEASURE or FFTW.PATIENT may cause the input array A to be overwritten with zeros during plan creation.

Note that the precaching only removes allocations in cases with a single forward before reverse. A separate pointer bumping method would be necessary to precache a whole batch of test inputs, if multiple batches are used in one loss equation.

I did toy around with FFT Plans at an earlier point (#11 #14) but then put it off since it turned out to be too much hassle for me at that time - does that cover something different?

Nope, that's the same thing. To avoid those issues, a direct rrule will be needed.


Writing the same crash file multiple times can result in corrupted file in container

Summary of the Pull Request
What is this about?
PR Checklist

[X] Applies to work item: #1244
[X] CLA signed. If not, go over here and sign the CLI.
[X] I've discussed this with core contributors already. If not checked, I'm ready to accept this work might be rejected in favor of a different grand plan. Issue number where discussion took place: #xxx

Info on Pull Request
What does this include?
Compare file size and modification date before and after az copy ran. If ether file size changed, or last modification date changed, then re-upload file to storage container.
Validation Steps Performed
How does someone test & validate?
Manual validation

After discussion this needs a bit more work. Closing for now


FFM-8925: adds FF relnotes for 802xx release

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app


Switch off of docker for default docs

Currently in the docs our default happy path for single-node chroma is to use Docker. Docker is great, but it can be intimidating for new users and Chroma can not be easily run without Docker.
We should update the docs to change the happy path over to running chroma directly.
We should also consider the UX of this, and perhaps a CLI would be better than ~~ uvicorn chromadb.app:app --workers 1 --host <IP_ADDRESS> --port 8000 --proxy-headers --log-config log_config.yml

I think the ideal interface for this is........
install chroma - pip install chromadb
run chroma - chroma run /persist_dir optional --port 4000 - it runs from the pip install location.
chroma will run in that terminal - accepting requests to that local persist directory the user has set. we could have a smart default and support chroma run as well
logs would be shown in the terminal.
this would require adding CLI to Chroma - this is a fairly easy
just add
[project.scripts]
my-client = "my_package.my_module:main_cli"

to pyproject.toml.
thoughts @HammadB @atroyn ?

I think this is right, except the persist dir should be an explicit argument, not a positional argument.

@atroyn by explicit you mean chroma run --path persist_dir? just confirming

I agree with this design
On Wed, Aug 23, 2023 at 2:44 PM Jeff Huber @.***> wrote:

@atroyn https://github.com/atroyn by explicit you mean chroma run
--path persist_dir? just confirming
—
Reply to this email directly, view it on GitHub
https://github.com/chroma-core/chroma/issues/884#issuecomment-1690686256,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABKW32NZV5CB52K4RZFVFHTXWZ2UVANCNFSM6AAAAAA2YBEQYQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

--
Hammad Bashir
EECS | Cal

@atroyn by explicit you mean chroma run --path persist_dir/chroma run -p persist_dir? just confirming

yes

makes sense

We do this now :)


ref(rootfs): rename DEBUG to DEIS_DEBUG

refs https://github.com/deis/workflow/issues/178

Should we include https://github.com/deis/controller/blob/master/rootfs/deis/settings.py#L10 and the thing below it

Should we include...

That's just settings.DEBUG though. It doesn't map to the env var and I think it would confuse Django to change it.

moving this to rc1

You will want to update this https://github.com/deis/controller/blob/0bc556388b252aca8ad5b1e023f1eb3e6e4045fc/rootfs/api/tests/test_pods.py#L610 i believe

[Current coverage][cc-pull] is 84.50%

Merging [#720][cc-pull] into [master][cc-base-branch] will decrease coverage by -0.32%

@@             master       #720   diff @@
==========================================
  Files            29         29
  Lines          2579       2587     +8
  Methods           0          0
  Messages          0          0
  Branches        410        412     +2
==========================================
- Hits           2188       2186     -2
- Misses          274        283     +9
- Partials        117        118     +1

Powered by Codecov. Last updated by [32d340f...0cfc6c6][cc-compare]
[cc-base-branch]: https://codecov.io/gh/deis/controller/branch/master?src=pr
[cc-compare]: https://codecov.io/gh/deis/controller/compare/32d340f89f0f80d655624ef174aaa40732ac4dd0...0cfc6c6a31d621a64ba29671b2c459ce93f67592
[cc-pull]: https://codecov.io/gh/deis/controller/pull/720?src=pr


fix json tag

Maybe there are some error.
Should we change the field's name from CreatedAt to Created?

Thank you for fixing this!


[MOL-15934][GW] Add file download component

Changes
MOL-15934 Add file download variant

delete branch

Changelog entry

Add FileDownload component

Additional information

You may refer to this MOL-15934

Add the file download component in ACP 3.0 interim solution "Next steps" page to design system. Make the auto-download function on page load to be configurable.

https://www.figma.com/design/us90jOpWBahsqK2VAluPvD/Flagship-Design-System?node-id=8138-52038&t=GPU9SsiIXuWA6ztf-1

hello! there's some overlap effort with this PR https://github.com/LifeSG/react-design-system/pull/513. does it fit your needs?

PR https://github.com/LifeSG/react-design-system/pull/513 merged
as discussed, you can build upon it to make the loading state controllable


chore: always use multiaddr

From working on daemon + CLI, it's ugly to mix multi addresses w/ normal TCP addresses. This just enforces that all things are multi.

@jsign inline with previous chats, I removed the default address handling as it was getting nasty. Actual programs can set flag/config defaults.


Add the Forge OSS project

Deploy preview for landscape ready!
Built with commit 1ddbb1a6c3443f0c2cef7b9be4b5ba3b39ed6a02
https://deploy-preview-362--landscape.netlify.com

Confirm that the preview looks correct. Thanks!

Looks promising. Please reopen when you get to 250 stars.


fix: Corrected typo in toggle theme shortcut

Exactly what it sounds like - the word shift was missing a letter.

Ok, that's embarrassing :)


Root finding

[x] Find a single root
[x] Test to find roots using a sampling grid
[ ] Code to iteratively find roots using polynomial division

[x] Polynomial class with .call
[x] Polynomial division with FFT
[x] Polynomial division properly
[x] Polynomial differentiation (.prime)
[ ] Loop around find_one_root and division

[ ] Remove debugging
[ ] Code cleanup
[ ] Documentation

It took me longer than it should have, but I figured out how to compensate for offsets of the two input arrays in deconvolution for polynomial division through trial and error and a brute force debugging script.
Now, polynomial division using FFT-based deconvolution struggles/fails when any of the FFT coefficients are zero in the denominator.  The most common case is when the coefficients sum to zero (so the DC coefficient is zero), and the second most common case is when the coefficients have a repeating pattern.  Padding with zeros helps with the pattern case, but I still haven't figured out a workaround for the zero DC coefficient.

Hypothesis under test for the zero DC issue: if I can use padding to get rid of any zeroes in any other location, then maybe I can always pad, and figure out the DC offset by multiplying one of the expected zeroes by the length of the array (or by just subtracting that amount from all output coefficients).
E.g. if the DC coefficient for an 11-length array computes to NaN but it should be 6, I can

Set the DC coefficient to zero
Perform the IFFT
Notice that a value that should be zero is 0.5454545
Multiply that value by the length (11) to get the original DC coefficient0.5454545 * 11
# => ~6

OR, subtract 0.5454545 from all 11 output values from the IFFT.

Good news: FFT division when there is a zero at DC now works.  The guess-and-subtract approach for DC correction worked.

Not sure how much I care, but running bin/fft_offsets.rb found an example that fails:
PRINT_JSON=1 REPEATS=30 MAX_ORDER=100 MIN_ORDER=98 ORDER_A=6 MAX_PAD=1 bin/fft_offsets.rb | grep -iE '(nil|nan|seed)'

# Succeeds if MIN_PAD is 26 or higher, but not if it's lower
COEFF_A='[27, 0, 4, 49, 0, 0, 0]' COEFF_B='[87, 97, 54, 0, 28, 0, -65, 0, 0, 0, 0, 0, 17, -95, 24, 0, 3, 0, 0, 0, -30, 0, -19, 0, 0, 0, 0, 0, -78, -27, 40, -95, 0, 0, 0, -55, -58, -87, 0, 0, 0, 0, -18, 0, 6, -4, -23, 0, -70, 51, 69, 0, 30, 0, 79, 15, -14, 0, 0, 95, 0, -60, 100, 0, -96, 0, -7, 0, 0, 61, 0, -83, 19, -42, 0, 0, 0, 0, 0, 0, 0, 0, 97, -98, 47, 0, 0, 0, 0, 78, 0, 0, 78, 0, -38, 0, 0, 20, 0, -33]' MIN_PAD=26 MAX_PAD=30 bin/fft_offsets.rb

Collecting flaky tests:
Failure to match even at 1 decimal
  1) MB::M::Polynomial.random_roots can create random rational roots
     Failure/Error: expect(result).to eq(expected), "Roots did not match\np=#{p}\nroots=#{roots}*#{scale}\np.roots=#{p.roots}\nexpected=#{expected}\nresult=#{result}"

       Roots did not match
       p=(9r/11) * x ** 5 -<PHONE_NUMBER>9622453r/10995438747112820) * x ** 4 -<PHONE_NUMBER>7439108r/2748859686778205) * x ** 3 +<PHONE_NUMBER>70334951r/43981754988451280) * x ** 2 +<PHONE_NUMBER>190279r/1999170681293240) * x -<PHONE_NUMBER>64609r/43937817171280)
       roots=[(2871/1141), (-13/20), (20239/8542), (5753/8762), (-17983/7023)]*9/11
       p.roots=[2.5162138, 2.3693515, 0.65658522, -0.6499999706350259, -2.5605866512952535]
       expected=[-2.6, -0.7, 0.7, 2.4, 2.5]
       result=[-2.6, -0.6, 0.7, 2.4, 2.5]
     # ./spec/lib/mb/m/polynomial_spec.rb:109:in `block (4 levels) in <top (required)>'
     # ./spec/lib/mb/m/polynomial_spec.rb:98:in `times'
     # ./spec/lib/mb/m/polynomial_spec.rb:98:in `block (3 levels) in <top (required)>'

Fix plan

[ ] Run rspec in a loop until it fails
[ ] Sort roots when generated for easier comparison


Timeline - 1.09.2018 - Started study in KPI on software engineering speciality 8.11.2021 - Went to the first job 10.06.2022 - Made bachelor work with team 25.09.2022 - Passed first course on Udemy about Web-development 5.03.2023 - Made first own pet project on JavaScript

The main dates of my life


Bug

Browser Version
Chrome
Exension Version
1.5.4
Actual behaviour
Refresh over and over again without showing the solution
Reproduction steps
Unrecognized manifest key 'browser_specific_settings'.
%cError while fetching the page: %o color: #F5AB80 Error
The above error occurs
Expected behaviour
No response

Same issue with both edge and chrome

same issue with edge, I pull the console and it showed "The free solutions have expired, im renewing the account". Bug happens log in and logged out fo the account. On mozilla developer and edge


Feature Request: Generate a Makefile for use instead of requiring operator-sdk for building

Feature Request
Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Example: "I have an issue when (...)"
Not really, other than I like to minimize project dependencies as much as possible, and would prefer to use the operator-sdk for scaffolding only, rather than as a build tool as well.  I think tools like make are better at that (and indeed operator-sdk itself uses this strategy).
Describe the solution you'd like
A clear and concise description of what you want to happen. Add any considered drawbacks.
I would love to see a new project given a Makefile with the build capabilities injected.  Duplicated functionality is certainly a drawback, and perhaps it's not worth doing this considering it's already implemented in Go code.  But, I thought it might be worth discussing even if we don't do it.

HI @FreedomBen,
Currently, the SDK has been in a process to be integrated with Kubebuilder.  And then, when this integration is I'm place the Makefile will be provided. We have not an ETA for that, however, you also can follow up the issue https://github.com/operator-framework/operator-sdk/issues/1655 which as this RFE tracked already.
So, far please feel free to create and use a Makefile in your projects as it is done in the Samples. See https://github.com/operator-framework/operator-sdk-samples/blob/master/go/memcached-operator/Makefile.
In this way,  I am closing this one as a duplicate of  #1655. However, please feel free to ping us if you think that would be required for any reason re-open this one.

Awesome, thanks @camilamacedo86 !


get_static_file handler doesn't serve compressed assets

The get_static_file handler, now helpfully moved into Leptos proper, doesn't serve pre-compressed files even if they're available. This doesn't compose super nicely with the -P option in cargo-leptos. A few months ago I adjusted the 0.6 axum template to provide this behavior by default.
The main issues is the ServeDir construction, which omits the relevant flags for pre-compressed files:
https://github.com/leptos-rs/leptos/blob/ee66f6c3957d79bcf214cdf275daca605b93c740/integrations/axum/src/lib.rs#L2037
However, you do need to pass along accept-encoding headers for ServeDir to actually serve the compressed assets.
All that to say -- unless there's some weird blocker, I think it should be pretty easy to get this in there! I figured I'd write this up before I forget again.

Yep, it should be no problem!


Migration Functionality

Implement functionality to migrate data models. Ideally the Entity Framework will be used but is not limited to that framework.

Song
The Song MySQL table will contain the following schema:

Column Name
Datatype

Id*
Int

Title
Varchar(300)

Album
Varchar(300)

Artist
Varchar(300)

Year
Int

Genre
Varchar(300)

Duration
Int

Filename
Varchar(300)

SongPath
Varchar(300)

* Primary Key


Add chainId to new API (New API PR 6)

fixes #216

Rebased this PR on top of #218.
@zoeyTM note that f8d4614 moves where your placeholder chain id is, to adapt it to the new model of module definition and separate construction.


Many Problems after install DeFi App 2.3.0 WIN 10, sync OK, but after backup setback every time

logs.zip
Problems after app installation 2.3.0 (from 2.1.17). System: WIN 10 (20H2, Build 19042.844). Two attempts behind me, once installed via the old app over it, once completely deleted and uninstalled everything and yet the problem remains the same! After starting the app and synchronizing and then importing the backup, the wallets will probably be displayed correctly for a few seconds, then all go to "0", except for the DFI wallet. The app then reverts to the state it was in after a new installation and expects me to upload the process again with NEW wallet, SEED or backup! The way via the SEED also brought exactly the same result and I am therefore going in circles. With the command "gettokenbalances" in the CLI, the wallet values   are shown to me, which was not the case with some backups. I tried about 7 backups, including one that I was able to create shortly after installing and starting version 2.3.0. Unfortunately the same result at the end, except that the tokens are displayed as described. Wallets were never encrypted, ALL blocks were synchronized at that point! Who of the programmers can please help me? What I noticed is that the backup files are of different sizes from before the installation to after the installation (backup approx. 1/3) I just keep coming back to this screen ......

Hi @Geldmax , thanks for your feedback. Did you try using restore via wallet.dat? For Windows, the file is located here:
Windows — C:
\Users\<username>\AppData\Roaming\DeFi Blockchain\wallets\wallet.dat

JJ help me wonderful, many thanks!

Thank you very much, JJ and izzycsy


SiberSystems.RoboForm version 9.1.9

[x] Have you signed the Contributor License Agreement?
[x] Have you checked that there aren't other open pull requests for the same manifest update/change?

[x] Does your manifest conform to the 1.0 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

Microsoft Reviewers: Open in CodeFlow

ok

Can anybody help me with this??

OK


[Android] Map not positioning at center

I've upgraded my project to build version 0.2.1 but setPoistion() does not set marker at center of the screen. It was working fine on previous build i.e 0.1. Strange thing is when I run default scene.yaml file it works fine. But it does not work with my custom scene file. Can you please guide me is there any new attribute that needs to be changed in yam file to set position correctly.
Default scene.yaml

My Custom scene file

Updating scene file solved this issue.


Running goofspiel/markov_soccer as turn_based_game

Hi, I would like to run the simultaneous games as turn based game by following the code in the psro example:
game = pyspiel.load_game_as_turn_based(FLAGS.game_name,
                                         {"players": FLAGS.n_players})
env = rl_environment.Environment(game)

But i got
open_spiel/python/rl_environment.py(210)__init__()
-> raise ValueError(f"observation_tensor not supported by {game}")

because neither provides_information_state_tensor nor provides_observation_tensor is true for <GameType 'turn_based_simultaneous_game'>
Is it possible to run simultaneous game as turn_based_games?

Thanks for the reply. I was using game = pyspiel.load_game("markov_soccer")         env = rl_environment.Environment(game)
I tried the your command, the goofspiel command works fine, but the markov_soccer gave me this error open_spiel/python/rl_environment.py", line 210, in __init__     raise ValueError(f"observation_tensor not supported by {game}") ValueError: observation_tensor not supported by turn_based_simultaneous_game(game=markov_soccer(grid=..... ..OB. .AO.. .....,horizon=1000))
I was running open_spiel version 1.0.1

Alright, I have reproduced it. This looks like a bug.
I think the two lines (258 and 259) here: https://github.com/deepmind/open_spiel/blob/eebcdf539a80a26062d73060f17ced5a0a31cc0a/open_spiel/game_transforms/turn_based_simultaneous_game.cc#L258 should be removed.
I'm not 100% sure, though -- it might cause other problems. I will need to think about a proper fix and will submit something next week. Thanks for pointing this out.
I think for now you can remove those two lines and it should work (but, you can't find exact best responses or compute exploitability-- at least not the way the PSRO example does it-- on this game since it's too big, so my run crashed when trying the get all the states in the game)


Test GPS examples on new board

Adding the board into the Arduino IDE and testing some of the examples. I uploaded some of the examples to the 2022-2023 repo.
Once everything was installed properly, this process went pretty smoothly. The GPS took a while to initialize, but that is to be expected. In the code, I'd like to change some things. I will create issues that we can work on later.

Create UofA image on startup
Delete HDOP
Add number of sattelites
Add units to altitude
Convert speed to MPH
Test with GPS antenna used last time

Actually decided against UofA image on startup. It would take up too much resources. Created progress bar instead for initialization.


Add plans doc

Fixes #242
Signed-off-by: Itxaka<EMAIL_ADDRESS>

@nunix I added most of your comments except the examples header as I changed it to be an example block AND collapsed so they dont take the whole page and can be clicked to expand


gym fails when there is an apostrophe or single quote on scheme name

gym fails when trying yo build with a scheme name which has an apostrophe or single quote
command used gym
[10:42:25]: $ set -o pipefail && xcodebuild -workspace SocialTasteOrder.xcworkspace -scheme Kaldi\'s\ Kafe -destination 'generic/platform=iOS' -archivePath '/Users/shardon/Library/Developer/Xcode/Archives/2016-09-02/Kaldi's Kafe 2016-09-02 10.42.25.xcarchive' clean archive | tee /Users/shardon/Library/Logs/gym/Kaldi\'s\ Kafe-Kaldi\'s\ Kafe.log | xcpretty
[10:42:26]: ▸ xcodebuild: error: Unknown build action 'Kafe'.
xcodebuild: error: Unknown build action 'Kafe'.
[10:42:26]: Exit status: 65
[10:42:26]: Variable Dump:
[10:42:26]: {:BUILD_NUMBER=>"84", :PLATFORM_NAME=>:ios, :LANE_NAME=>"ios single_update_submit"}
[10:42:26]: Error building the application - see the log above```

### Environment

fastlane 1.102.0

@tbatzakas Thanks for reaching out about this. Why is there an escape before the space as well? Can you share your full input and output? Thanks!

Hello, thanks for responding,
it seems that it tries to escape the quote in the -workspace directive but not in -archivePath where there is no escape before ' and I suppose this is where it breaks.
this lane is quite simple it just has this and then I manually select the scheme from the list.
lane :single_update_submit do
gym(
workspace: "SocialTasteOrder.xcworkspace",
clean: true
)
deliver(
force: true,
skip_screenshots: true,
skip_metadata: false,
submit_for_review: true
)
end

Oh sorry, I just noticed about "before space". File name spaces must be escaped in command line or else they break if they are not contained in quotes.

@tbatzakas Can you provide your full input and output from your gym command? If you have repro steps from a blank Xcode project that'd help a lot.

$ gym SocialTasteOrder.xcworkspace
(after selecting a scheme with ' in the name)
+----------------------+--------------------------------+
|                 Summary for gym 1.8.0                 |
+----------------------+--------------------------------+
| output_directory     | ~/Documents/SocialTasteIPA/    |
| workspace            | ./SocialTasteOrder.xcworkspace |
| scheme               | Kaldi's Kafe                   |
| destination          | generic/platform=iOS           |
| output_name          | Kaldi's Kafe                   |
| clean                | false                          |
| silent               | false                          |
| use_legacy_build_api | false                          |
| buildlog_path        | ~/Library/Logs/gym             |
+----------------------+--------------------------------+
[00:05:37]: $ set -o pipefail && xcodebuild -workspace ./SocialTasteOrder.xcworkspace -scheme Kaldi's\ Kafe -destination 'generic/platform=iOS' -archivePath '/Users/shardon/Library/Developer/Xcode/Archives/2016-09-03/Kaldi's Kafe 2016-09-03 00.05.37.xcarchive' archive | tee /Users/shardon/Library/Logs/gym/Kaldi's\ Kafe-Kaldi's\ Kafe.log | xcpretty
[00:05:37]: ▸ xcodebuild: error: Unknown build action 'Kafe'.
xcodebuild: error: Unknown build action 'Kafe'.
[00:05:37]: Exit status: 65
[!] Error building the application - see the log above
I believe the same will happena if I create a new workspace, add a scheme with ' in the name like "mike's machinery" and try to build with gym

Merged with https://github.com/fastlane/fastlane/pull/5997, this will be in the next release 👍


[SDK/CLI] Support connection provider config

Description
Please add an informative description that covers that changes made by the pull request and link all relevant issues.
pf config set & pf config show

All Promptflow Contribution checklist:

[ ] The pull request does not introduce [breaking changes]
[ ] CHANGELOG is updated for new features, bug fixes or other significant changes.
[ ] I have read the contribution guidelines.

General Guidelines and Best Practices

[ ] Title of the pull request is clear and informative.
[ ] There are a small number of commits, each of which have an informative message. This means that previously merged commits do not appear in the history of the PR. For more information on cleaning up the commits in your PR, see this page.

Testing Guidelines

[ ] Pull request includes test coverage for the included changes.

add changelog.


blockpublisher

Project Abstract
Decentralized Publishing of News, Journals, and Books
The advent of blockchain technology has the potential to transform the publishing industry in several ways. By leveraging decentralized networks and cryptographic techniques, blockchain-based publishing solutions can offer a more efficient, transparent, and accessible system for authors, publishers, and readers alike.
Grant level

[ ] Level 1:  Up to $10,000, 2 approvals
[x] Level 2:  Up to $30,000, 3 approvals
[ ] Level 3:  Unlimited, 5 approvals (for >$100k: Web3 Foundation Council approval)

Application Checklist

[x] The application template has been copied and aptly renamed (project_name.md).
[x] I have read the application guidelines.
[x] Payment details have been provided (Polkadot AssetHub (USDC & DOT) address in the application and bank details via email, if applicable).
[x] I understand that an agreed upon percentage of each milestone will be paid in vested DOT, to the Polkadot address listed in the application.
[x] I am aware that, in order to receive a grant, I (and the entity I represent) have to successfully complete a KYC/KYB check.
[x] The software delivered for this grant will be released under an open-source license specified in the application.
[x] The initial PR contains only one commit (squash and force-push if needed).
[x] The grant will only be announced once the first milestone has been accepted (see the announcement guidelines).
[ ] I prefer the discussion of this application to take place in a private Element/Matrix channel. My username is: @netology:matrix.org (change the homeserver if you use a different one)

I have read and hereby sign the Contributor License Agreement.

Hi, @keeganquigley thanks for the reply.
The app is not specifically designed for journalism, unlike Civil but designed for any kind of publishing; it's a common platform for both academic and news publishing, as well as sharing academic content from any sources. The app is more comparable to YouTube and Bluesky, as most journalism is now done on social media, but only users sharing high-quality content that meets the guidelines are monetized, with a 51% approval rate similar to the openGov tipping system.
It's also versatile enough to be used for entertainment content. The FOSS interface can be integrated with other FOSS social media platforms like Mastodon and Bluesky for cross-posting, increasing visibility.
I will update deliverables to the milestones in the form of tables, and get you back.

Hi @keeganquigley I have updated milestone in tabular form.

Thanks for your answers @amiyatulu I won't approve it quite yet but I will mark it as ready for review so the rest of the committee can comment.

Hi @Noc2 I have updated the future plans.

@semuelle We will be using risczero. Its pretty straight forward to use without need of use of circuits.  An anonymous account creation demo code here, that will be used in shivarthu for secret voting. ZKP are slow for larger computation, so will use it minimal where privacy or secrecy is important.

@amiyatulu Thank you for all the effort you put into this proposal.
However, we have decided not to move forward with this application, as the project’s direct reliance on future token value growth and limited demonstrated ZKP integration leave critical questions unresolved.
Nevertheless, we wish you all the best for the project's future.

@takahser Sorry for misconception. The token will have minimum value once it goes to market. It's all depends on some marketing. The project doesn't rely solely on token value appreciation. Once token are distributed to people, it's all self sustainable. One can launch it in tanssi network, so no infrastructure maintenance. Further, ZKP is only for password validation, there is no zkp in other parts. It's mainly building of UI and substrate code.

@takahser Sorry for misconception. The token will have minimum value once it goes to market. It's all depends on some marketing. The project doesn't rely solely on token value appreciation. Once token are distributed to people, it's all self sustainable. One can launch it in tanssi network, so no infrastructure maintenance. Further, ZKP is only for password validation, there is no zkp in other parts. It's mainly building of UI and substrate code.

@takahser Further ZKP part is not mandatory. I can remove the part, and update the application with a little different design if you like.


Cannot modify 'Recent' list

I pin Vscode to the taskbar. When I try to remove a file name from 'Recent' list, it cannot be done. The 'Recent' list in unchangeable anymore.
Briefly, the 'Recent' list has not been updated for a long time. It does not represent 'Recently Opened File'
Very annoying. Could somebody help me with that?
Thank you very much

You can clear the list to start fresh: File > Open Recent > Clear Recently Opened


Mount permissions prevent interop

Please fill out the below information:

Your Windows build number:  (Type ver at a Windows Command Prompt)

17763

What you're doing and what's happening:  (Copy&paste specific commands and their output, or include screen shots)

I'm trying to run some windows commands in ubuntu (clip.exe specifically but all win commands do the same thing). I ran into permission errors. Interop is enable but the problem is that I mount C:> with the options=metadata,umask=22,fmask=111.

What's wrong / what should be happening instead:

The problem is that mount options set the default file permissions to be non executable for windows programs but if you try to manually give the file bash executable permissions it doesn't allow that either.
Ex.
sudo chmod +x /mnt/c/Windows/System32/clip.exe
throws
chmod: changing permissions of '/mnt/c/Windows/System32/clip.exe': Permission denied
Here is how my /etc/wsl.conf is setup
[automount]
#This Mounts the drives (pretty sure this is default)
enable=true
#metadata: save file metadata (otherwise it makes it 777)
#masks (Sets them to Ubuntu defaults) make them whatever you want
options=metadata,uid=1000,gid=1000,umask=22,fmask=111
[interop]
# enable launch of Windows binaries; default is true
enabled=true
# append Windows path to $PATH variable; default is true
appendWindowsPath=true

You (your Windows user) don't have permission to modify files, including the metadata, in C:\Windows\System32. By extension neither does your WSL user, which is not granted special powers to do so. You'll note the perms are r-x (lacking w). That much is by design.

Copy&paste specific commands and their output, or include screen shots)

They would have looked like:
$ cat /proc/version
Linux version 4.4.0-17134-Microsoft<EMAIL_ADDRESS>(gcc version 5.4.0 (GCC) ) #471-Microsoft Fri Dec 07 20:04:00 PST 2018
$ lsb_release -d
Description:    Ubuntu 18.04.1 LTS
$ cd ~ && mkdir -p ~/tmp/mnt && cd tmp
$ sudo mount -o metadata,uid=1000,gid=1000,umask=22,fmask=111 -t drvfs C: ./mnt
$ mount | grep tmp/mnt
C: on /home/ken/tmp/mnt type drvfs (rw,relatime,uid=1000,gid=1000,case=off)
$ ls -l ./mnt/Windows/System32/clip.exe
-r-xr-xr-x 2 ken ken 30720 Dec  5 23:38
$ ./mnt/Windows/System32/clip.exe /?
-bash: ./mnt/Windows/System32/clip.exe: Permission denied

Sorry that was my bad. I did more than one run and pasted from the wrong place (I need to stop doing these in a rush). Yes those are the correct perms with umask=111. Fixed up the above post with a screencap instead. Yes, you will not get x. Because you've masked it. You don't have w because you don't have permissions. That leaves you with r.

Is there some way to mount parts of the drive with separate permissions?

Yes. Mount C: on two mountpoints with different permissions and use a bind mount for the part you want. You can set these up in your fstab(5) (see also mountFsTab=true per this blog post). Not that I think you need to or should do this, but you asked. Bonne chance.


A complete list of all resources

Is there any way I can see what are all the datasets which are available with this API?
Sometimes, I might want to take a look at all datasets and find out a relevant one rather than searching for a specific one.
The recipes github repo truncates 845 files. Is there any way I can get the whole list?

You can clone/download the repo and see all the files. Also the tool
downloads all the files inside the ~/.databrewer/ directory.
On Sun, Dec 23, 2018 at 03:57 Bidyudipta Chanda<EMAIL_ADDRESS>wrote:

Is there any way I can see what are all the datasets which are available
with this API?
Sometimes, I might want to take a look at all datasets and find out a
relevant one rather than searching for a specific one.
The recipes github repo truncates 845 files. Is there any way I can get
the whole list?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rmax/databrewer/issues/9, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABln6kC1A1Mk6aNy3slg1Fiu4pjk0JEks5u70VigaJpZM4Zfw0t
.

--
Sent from Gmail Mobile

Thanks Max.
Have a good day.
Bidyut.
Sent from my iPhone.

On Dec 30, 2018 at 10:14 AM,  <R. Max Espinoza (mailto:notifications@github.com)>  wrote:
You can clone/download the repo and see all the files. Also the tool
downloads all the files inside the ~/.databrewer/ directory.
On Sun, Dec 23, 2018 at 03:57 Bidyudipta Chanda<EMAIL_ADDRESS>wrote:

Is there any way I can see what are all the datasets which are available
with this API?
Sometimes, I might want to take a look at all datasets and find out a
relevant one rather than searching for a specific one.
The recipes github repo truncates 845 files. Is there any way I can get
the whole list?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rmax/databrewer/issues/9, or mute the thread
https://github.com/notifications/unsubscribe-auth/AABln6kC1A1Mk6aNy3slg1Fiu4pjk0JEks5u70VigaJpZM4Zfw0t
.

--
Sent from Gmail Mobile
—
You are receiving this because you authored the thread.
Reply to this email directly,   view it on GitHub (https://github.com/rmax/databrewer/issues/9#issuecomment-450538930), or   mute the thread (https://github.com/notifications/unsubscribe-auth/AT9ZAhqJU-BtWw1hGbACGNxIlpQQ4lDCks5u-ESagaJpZM4Zfw0t).

Thanks Max.
I downloaded the databrewer-recipes repo. :)
Also closing this issue.


restructure share action and modal

Notes for Reviewers
This PR fixes #
Signed commits

[x] Yes, I signed my commits.

@amitamrutiya approve this please


Carthage build failure

Hello! I'm trying to setup Snowplow tracker for my project using Carthage but get a failure during build for WatchOS when running carthage bootstrap:

Please help to resolve this issue.
Here is the carthage-xcodebuild.log.
Cartfile:
github "snowplow/snowplow-objc-tracker"
Carthage version: 0.32.0
XCode version: 10.2 (the same issue on 10.1)

any update on this, still failing

carthage version 0.33.0
xcode 11

This should be fixed by #457 and is currently awaiting approval in #454


Fix a bug of cannot update AI key

replaced with https://github.com/microsoft/azure-maven-plugins/pull/1779


Evaluations are not terminating

Current behavior
When clicking 'evaluate', the loading circle appears.
When reloading after a while, the evaluation run appears, but the loading circle stays.
In the backend, there is still an ongoing evaluation in the database.
Expected behavior
The evaluation should be removed from the evaluation log once it terminates.

They should be deleted here: https://github.com/tira-io/tira/blob/a0d3260e652d6047f3911c776c159a606735497f/application/src/tira/grpc/grpc_server.py#L117
Is is possible that this code is not called anymore?

I fixed the error with the loading circle (was something in JS).
There are still some Evaluations that are not being deleted, but they can stay as long as they make no problems.


Increase maximum Load Balancer target count to 1000

We have increased our maximum target count per pool from 250 to 1000.

Thanks for your contribution!


test: Test for vxlan + per-endpoint routes

#13346 enabled combining per-endpoint routes with vxlan encapsulation. This pull request adds a test for that setup.

test-me-please