proposal: add vet check for python style map sums

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
1.10
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
GOBIN=""
GOCACHE="/home/frew/.cache/go-build"
GOEXE=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOOS="linux"
GOPATH="/home/frew/go"
GORACE=""
GOROOT="/home/frew/go"
GOTMPDIR=""
GOTOOLDIR="/home/frew/go/pkg/tool/linux_amd64"
GCCGO="gccgo"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/run/shm/go-build797590454=/tmp/go-build -gno-record-gcc-switches"

What did you do?
https://play.golang.org/p/ZU-Ys77Q766
Basically, I have run into many variations of:
			if _, ok := found[x]; ok {
				found[x] += y
			} else {
				found[x] = y
			}

and even surprised some people who have been writing Go for years, when pointing out that thanks to zero values the above is totally superfluous, and that the following is totally sufficient.  (Or at least I can't think of a type where it is not.)
			found[x] += y

Note that I think = 1 and ++ should be detected, but presumably as a special case, unless ++ desugars to += 1.
What did you expect to see?
A warning from go vet that the pattern should be corrected.
What did you see instead?
Nothing

This probably belongs in a style checker like lint, or something by @dominikh, because vet is focused solely on correctness. While superfluous, the code will function correctly. Given that, I’m going to close this issue; thanks for floating the idea.

It may fit into my gosimple; please file an issue at https://github.com/dominikh/go-tools/issues so that I'll remember :)


Weather station in Kaliningrad, balloon start 11:30 and 23:30  UTC

Weather station in Kaliningrad, balloon start 11:30 and 23:30  UTC

20m/s descent rate seems a bit fast? Is this the ground-level descent rate (which we need for the predictor)

I'm going to leave this with its current values for the time being.


chore(master): release 1.2.0

:robot: I have created a release beep boop
1.2.0 (2023-05-09)
Features

add deployer (3adffe5)
separate deployment workflows (1386622)

Bug Fixes

deployer (#13) (9fd71fc)
deps: update dependency laravel/framework to v10.10.0 (4a65820)
move deployer in composer (ea0139a)
run deployment only once (8204113)
sentry error (af63827)

Miscellaneous

deps: update dependency spatie/laravel-ignition to v2.1.2 (a82667f)
update deps (5c0c839)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/wayofdev/laravel-starter-tpl/releases/tag/v1.2.0 :sunflower:


v0.0.2

Changes

Bump zed_extension_api to 0.0.6
Support for Vue.js, Astro and Svelte files

Preconditions

[ ] Zed v0.131.0 is released

Ops sorry, I saw later the precondition:(

Ops sorry, I saw later the precondition:(

No worries, I will mark it as draft next time ^^


Test all the things!

Add first round of unit/integration tests.

Fixed in https://github.com/cprussin/purescript-httpure/pull/19


dlopen(libmaxminddb.so, 5): image not found

Hi, I installed the libmaxminddb by using the command "brew install libmaxminddb" on mac, the version is 1.3.2.
When I used maxminddb.lua, it's showing an error: maxminddb.lua:137: dlopen(libmaxminddb.so, 5): image not found.
The maxminddb.lua is from https://github.com/anjia0532/lua-resty-maxminddb.
   please help, thanks.

Didn't solve this issue, I will use another test environment, thanks.


[mini] New port

[x] Changes comply with the maintainer guide
[x] The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.
[x] Optional dependencies are resolved in exactly one way. For example, if the component is built with CMake, all find_package calls are REQUIRED, are satisfied by vcpkg.json's declared dependencies, or disabled with CMAKE_DISABLE_FIND_PACKAGE_Xxx
[x] The versioning scheme in vcpkg.json matches what upstream says.
[x] The license declaration in vcpkg.json matches what upstream says.
[x] The installed as the "copyright" file matches what upstream says.
[x] The source code of the component installed comes from an authoritative source.
[x] The generated "usage text" is accurate. See adding-usage for context.
[x] The version database is fixed by rerunning ./vcpkg x-add-version --all and committing the result.
[x] Only one version is in the new port's versions file.
[x] Only one version is added to each modified port's versions file.

Vcpkg team, please explicitly review if you accept the generic package name mini here.

The name of the port matches an existing name for this component on https://repology.org/ if possible, and/or is strongly associated with that component on search engines.

Skipping the search engine perspective for this generic word, this port is in conflict with the current mini package in repology. AUR has https://github.com/frankhale/mini, a "Stripped down lead version of aewm++".

I renamed the port to "pulzed-mini" as suggested by @Cheney-W.


Add drush locale-check and drush locale-update tasks

Hi there!
Could you add new drush locale-check and drush locale-update related tasks just before the "Rebuild Drupal cache using Drush" task, in after-symlink.yml file?
Friendly reminder: A drush cr related task is needed after these two new tasks are triggered, in order to get them working properly ;-)

@donbuche
Thank you so much for your kindly contribution.


A minor error in the document

I wanted to change the icon so I went to options - iconName section of the documentation at http://markusslima.github.io/bootstrap-filestyle/
It tells me to do this:
$(":file").filestyle({iconName: "glyphicon-inbox"});
But you actually have to do this to make it work:
$(":file").filestyle({iconName: "glyphicon glyphicon-inbox"});
We can see the iconName variable is directly used as a class. You might want to fix the code, if the documentations are what you actually intended.

Sorry I did not answer before. This type of input can be done manually without problems, it is not necessary to implement such functionality.

Sorry, wrong answer.


Missing sound when download live

Describe the bug
It seam like missing sound of livestream when you download
To Reproduce
Steps to reproduce the behavior:
followed exactly download example
Expected behavior
I should have sound after download

This depends on your configuration; you can modify ffmpeg values in v6.0.0.

@cao-minh-duc did you solve it?

@isaackogan can you show example of configuration?
i try to modify code in ffmpeg config input and output until i got this
ffmpeg -y -loglevel error -i https://pull-flv-l1-sg01.tiktokcdn.com/stage/stream-2420614390903996462_ld.flv?expire=1711450621&sign=167355f8f0cd184464266c490e64bfc0 -i https://pull-flv-l1-sg01.tiktokcdn.com/stage/stream-2420614390903996462.flv?expire=1711450621&sign=1516caaca9010a98e6810a5f38e5a877&only_audio=1 -c:v h264 -c:a aac trainingmc.com.mp4
but finally i didn't get sound in video

i already solve it


Csr registers

added simple implementation of csr registers (Zicsr extencion) and test for

I don't see any more issues. Approve after you will fix previous

I'm ok


Adding informations about customizing the routes

Adding the routes used by PhoenixTokenAuth, so that the user can copy paste them and customize them easilly

:bow:


Can't complile EmonESP code using platformio

Wanted to try logging to the serial monitor, so trying to compile the esp code using platformio. Is this what you are using @CircuitSetup ? Or the Arduino platform? As per the readme, I pulled the code, entered the EmonESP folder. If I try just a
pio run
i am told that there is no emonesp environment, which is true. There is no definition for one in the platformio.ini file - there is in the upstream project. Since this is an Esp32 I changed the default to emonesp32 which does exist and tried to compile again with
pio run
I then get compile errors
*** [.pio/build/emonesp32/src/web_server.cpp.o] Error 1
src/energy_meter.cpp: In function 'void energy_meter_loop()':
src/energy_meter.cpp:175:29: warning: variable 'totalVoltage' set but not used [-Wunused-but-set-variable]
   float voltageA, voltageC, totalVoltage;
                             ^
In file included from src/http.cpp:32:0:
/Users/chris/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src/WiFiClientSecure.h:29:1: error: expected class-name before '{' token
 {
 ^
/Users/chris/.platformio/packages/framework-arduinoespressif32/libraries/WiFiClientSecure/src/WiFiClientSecure.h:105:18: error: type 'Print' is not a base type for type 'WiFiClientSecure'
     using Print::write;
                  ^
src/http.cpp: In function 'String get_https(const char*, const char*, String, int)':
src/http.cpp:63:12: error: 'class WiFiClientSecure' has no member named 'print'
     client.print(String("GET ") + url + " HTTP/1.1\r\n" + "Host: " + host +
            ^
src/http.cpp:75:28: error: 'class WiFiClientSecure' has no member named 'readStringUntil'
       String line = client.readStringUntil('\r');
                            ^
*** [.pio/build/emonesp32/src/http.cpp.o] Error 1

Is this how you would/are building the code?

I've only.compiled with Arduino lately because of some important updates to AayncTCP, that I dont believe are in platformio yet. This relate to memory leaks and not.closing browser sessions properly.
There should be a definition for the esp32 in the latest initiative file. I just added it recently. The total totalvoltage variable is only.used with 50hz setups, so that needs to be moved. The other errors, in not sure why they are coming up. Perhaps those libraries need to be updated.

Ok. I have been trying to get this to compile under Arduino for a bit. I did run into all the issue from the Libraries Errors section of the readme. I also moved over the ATM90E32 files from the project into an Arduino library.
I am stuck on the Hash library. The Hash.cpp you pointed to also has this line:
#include <bearssl/bearssl_hash.h>
Been trying to figure out where to get this. There is an ArduinoBearSSL in the library manager, but that doesn't look right. The Hash library in the ESP2866 board definition doesn't use bearssl, but it was trying to use <c_types.h> That doesn't work. I did find the file locally at
~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.1/tools/sdk/include/bearssl
I have no idea how 'tools' are used, but the compiler doesn't seem to find it. Do you remember what you did? (Arduino 1.8.10)

Ok. I have been trying to get this to compile under Arduino for a bit. I did run into all the issue from the Libraries Errors section of the readme. I also moved over the ATM90E32 files from the project into an Arduino library.
I am stuck on the Hash library. The Hash.cpp you pointed to also has this line:
#include <bearssl/bearssl_hash.h>
Been trying to figure out where to get this. There is an ArduinoBearSSL in the library manager, but that doesn't look right. The Hash library in the ESP2866 board definition doesn't use bearssl, but it was trying to use <c_types.h> That doesn't work. I did find the file locally at
~/Library/Arduino15/packages/esp8266/hardware/esp8266/2.5.1/tools/sdk/include/bearssl
I have no idea how 'tools' are used, but the compiler doesn't seem to find it. Do you remember what you did? (Arduino 1.8.10)

What version of the esp32 arduino IDE are you using? Hash should be included.  If not 1.0.3, use that as it has the latest fixes for a number of things.

Do you mean the board? 1.04. I don't see it in 1.03 either though https://github.com/espressif/arduino-esp32/tree/1.0.4/cores/esp32
The Hash function you link to in the docs is from the esp8266 libraries
https://github.com/esp8266/Arduino/tree/master/libraries/Hash/src
It looks like it was changed recently from using an internal sha1 class (I am guessing you used that), to the bearssl based version. However, I can't get either one to compile. If I go to the branch tagged with 2.5.2, there is a separate file called sha1.c. This wont compile for me with the
#include <c_types.h> line in there.
If I take that out, I then have issues with all the methods that have ICACHE_FLASH_ATTR in them. I am not a C programmer, and I have no idea what that is for. I do know that it is not defined in sha1.h.
I have found it in the tools section of esp8266 there is a define there for ICACHE_FLASH_ATTR, but that c_types.h file is not in the section of the esp32 git library. I really can't see how this version of Hash can compile for you.
I tried adding the definition I found there:
#ifdef ICACHE_FLASH
#define ICACHE_FLASH_ATTR   __attribute__((section("\".irom0.text." __FILE__ "." __ICACHE_STRINGIZE(__LINE__) "." __ICACHE_STRINGIZE(__COUNTER__) "\"")))
#else
#define ICACHE_FLASH_ATTR
#endif /* ICACHE_FLASH */

No idea what that is doing though. It gets me past the compile, but the link fails. Not sure if that stuff is particular to the esp8266 or not.
I don't think this message is particularily useful, but this is what the linker shows
inking everything together...
/Users/chris/Library/Arduino15/packages/esp32/tools/xtensa-esp32-elf-gcc/1.22.0-80-g6c4433a-5.2.0/bin/xtensa-esp32-elf-gcc -nostdlib -L/Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/lib -L/Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/ld -T esp32_out.ld -T esp32.common.ld -T esp32.rom.ld -T esp32.peripherals.ld -T esp32.rom.libgcc.ld -T esp32.rom.spiram_incompatible_fns.ld -u ld_include_panic_highint_hdl -u call_user_start_cpu0 -Wl,--gc-sections -Wl,-static -Wl,--undefined=uxTopUsedPriority -u __cxa_guard_dummy -u __cxx_fatal_exception -Wl,--start-group /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/config.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/emoncms.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/energy_meter.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/http.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/input.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/mqtt.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/ota.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/src_solar.ino.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/web_server.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/sketch/wifi.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/EEPROM/EEPROM.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/ETH.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFi.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiAP.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiClient.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiGeneric.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiMulti.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiSTA.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiScan.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiServer.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFi/WiFiUdp.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPmDNS/ESPmDNS.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/FS/FS.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/FS/vfs_api.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/Hash/Hash.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/Hash/sha1/sha1.c.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/SPIFFS/SPIFFS.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/AsyncTCP/AsyncTCP.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/AsyncEventSource.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/AsyncWebSocket.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/SPIFFSEditor.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/WebAuthentication.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/WebHandlers.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/WebRequest.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/WebResponses.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ESPAsyncWebServer/WebServer.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/Update/Updater.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/SPI/SPI.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ATM90E32/ATM90E32.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFiClientSecure/WiFiClientSecure.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/WiFiClientSecure/ssl_client.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/HTTPClient/HTTPClient.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/PubSubClient/PubSubClient.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/ArduinoOTA/ArduinoOTA.cpp.o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_cache_954467/core/core_53e06b3cde636a45a353784f7b4f8fab.a -lgcc -lesp32 -lphy -lesp_http_client -lmbedtls -lrtc -lesp_http_server -lbtdm_app -lspiffs -lbootloader_support -lmdns -lnvs_flash -lfatfs -lpp -lnet80211 -ljsmn -lface_detection -llibsodium -lvfs -ldl_lib -llog -lfreertos -lcxx -lsmartconfig_ack -lxtensa-debug-module -lheap -ltcpip_adapter -lmqtt -lulp -lfd -lfb_gfx -lnghttp -lprotocomm -lsmartconfig -lm -lethernet -limage_util -lc_nano -lsoc -ltcp_transport -lc -lmicro-ecc -lface_recognition -ljson -lwpa_supplicant -lmesh -lesp_https_ota -lwpa2 -lexpat -llwip -lwear_levelling -lapp_update -ldriver -lbt -lespnow -lcoap -lasio -lnewlib -lconsole -lapp_trace -lesp32-camera -lhal -lprotobuf-c -lsdmmc -lcore -lpthread -lcoexist -lfreemodbus -lspi_flash -lesp-tls -lwpa -lwifi_provisioning -lwps -lesp_adc_cal -lesp_event -lopenssl -lesp_ringbuf -lfr -lstdc++ -Wl,--end-group -Wl,-EL -o /var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/src_solar.ino.elf
/Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/lib/libwpa_supplicant.a(sha1-internal.o): In function `SHA1Transform':
/home/runner/work/esp32-arduino-lib-builder/esp32-arduino-lib-builder/esp-idf/components/wpa_supplicant/src/crypto/sha1-internal.c:180: multiple definition of `SHA1Transform'
/var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/Hash/sha1/sha1.c.o:/Users/chris/Documents/Arduino/libraries/Hash/src/sha1/sha1.c:72: first defined here
Multiple libraries were found for "ESPmDNS.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/ESPmDNS
Multiple libraries were found for "Hash.h"
 Used: /Users/chris/Documents/Arduino/libraries/Hash
/Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/lib/libwpa_supplicant.a(sha1-internal.o): In function `SHA1Init':
Multiple libraries were found for "SPI.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SPI
Multiple libraries were found for "WiFiClientSecure.h"
sha1-internal.c:(.text.SHA1Init+0x0): multiple definition of `SHA1Init'
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFiClientSecure
Multiple libraries were found for "HTTPClient.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/HTTPClient
Multiple libraries were found for "PubSubClient.h"
 Used: /Users/chris/Documents/Arduino/libraries/PubSubClient
Multiple libraries were found for "WiFi.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
 Not used: /Applications/Arduino.app/Contents/Java/libraries/WiFi
Multiple libraries were found for "AsyncTCP.h"
 Used: /Users/chris/Documents/Arduino/libraries/AsyncTCP
/var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/Hash/sha1/sha1.c.o:sha1.c:(.text.SHA1Init+0x0): first defined here
Multiple libraries were found for "ESPAsyncWebServer.h"
 Used: /Users/chris/Documents/Arduino/libraries/ESPAsyncWebServer
Multiple libraries were found for "Update.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/Update
Multiple libraries were found for "FS.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/FS
Multiple libraries were found for "ArduinoOTA.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/ArduinoOTA
Multiple libraries were found for "ATM90E32.h"
/Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/lib/libwpa_supplicant.a(sha1-internal.o): In function `SHA1Update':
 Used: /Users/chris/Documents/Arduino/libraries/ATM90E32
sha1-internal.c:(.text.SHA1Update+0x0): multiple definition of `SHA1Update'
Multiple libraries were found for "SPIFFS.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SPIFFS
Multiple libraries were found for "EEPROM.h"
 Used: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/EEPROM
/var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/Hash/sha1/sha1.c.o:sha1.c:(.text.SHA1Update+0x0): first defined here
/Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/tools/sdk/lib/libwpa_supplicant.a(sha1-internal.o): In function `SHA1Final':
sha1-internal.c:(.text.SHA1Final+0x0): multiple definition of `SHA1Final'
/var/folders/gc/j9pm882j7852bw7gqpyg47yc0000gn/T/arduino_build_323319/libraries/Hash/sha1/sha1.c.o:sha1.c:(.text.SHA1Final+0x0): first defined here
collect2: error: ld returned 1 exit status
Using library EEPROM at version 1.0.3 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/EEPROM
Using library WiFi at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFi
Using library ESPmDNS at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/ESPmDNS
Using library FS at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/FS
Using library Hash at version 1.0 in folder: /Users/chris/Documents/Arduino/libraries/Hash
Using library SPIFFS at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SPIFFS
Using library AsyncTCP at version 1.1.1 in folder: /Users/chris/Documents/Arduino/libraries/AsyncTCP
Using library ESPAsyncWebServer at version 1.2.3 in folder: /Users/chris/Documents/Arduino/libraries/ESPAsyncWebServer
Using library Update at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/Update
Using library SPI at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/SPI
Using library ATM90E32 in folder: /Users/chris/Documents/Arduino/libraries/ATM90E32 (legacy)
Using library WiFiClientSecure at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/WiFiClientSecure
Using library HTTPClient at version 1.2 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/HTTPClient
Using library PubSubClient at version 2.7 in folder: /Users/chris/Documents/Arduino/libraries/PubSubClient
Using library ArduinoOTA at version 1.0 in folder: /Users/chris/Library/Arduino15/packages/esp32/hardware/esp32/1.0.4/libraries/ArduinoOTA
exit status 1
Error compiling for board ESP32 Dev Module.

No idea why it says multiples of each library exists. If I remove the ones I put there, it is not found.
So, what board are you using? I have tried "ESP32 Dev Module" and "ESP32 Wrover Module"

Do you mean the board? 1.04. I don't see it in 1.03 either though https://github.com/espressif/arduino-esp32/tree/1.0.4/cores/esp32

Whoops, I meant 1.0.4, yes.

The Hash function you link to in the docs is from the esp8266 libraries
https://github.com/esp8266/Arduino/tree/master/libraries/Hash/src
It looks like it was changed recently from using an internal sha1 class (I am guessing you used that), to the bearssl based version.

Ah, you're right, I didn't realize that was updated. I added the version that I have in my libraries folder until I can look at this some more.
You shouldn't have to worry about the multiple library exists messages, as long as it's getting the correct one.

So, what board are you using? I have tried "ESP32 Dev Module" and "ESP32 Wrover Module"

I have ESP32 Dev Module set.

Found the errors. Hash is not needed on an ESP32. It is not included as a library in the core ESP32 code. Not copying it to your library, and commenting out the include in web_server.h will allow Arduino to build it.
To get it to build with PlatformIO, I believe I ran into a case insensitive problem. The project file called wifi.h imports WiFi.h. It looks like these were getting confused. When I rename the project file to wireless.h and wireless.cpp - and changed the correct references, the build works. As it appears to have built on Arduino, and not on PlatformIO, I am wondering if it is just PlatformIO or the combination of it on MacOS.

ohh, okay - I'll make hash.h conditional to the esp8266.
I'll have to test if platformio gets confused with the wifi.h files on my PC.
Thanks for figuring this out!

Do you even want the esp8266 code? Your hardware is esp32. I could create a PR that removes the esp8266 ifdef stuff.

There are others that use the esp8266. Thanks for offering.though!

@veggie2u With respect to "wifi.h" vs "WiFi.h", note that the macOS file system is case-insensitive. (It preserves the case in file names, but all name matching is case-insensitive.) Also, as far as I can tell, PlatformIO does not distinguish between #include <WiFi.h> and #include "WiFi.h". It always looks in the local src directory first. So the combination of these two things is what messed you up.

This is fixed in the latest version of EmonESP


03_logreg.py- My Jupyter notebook couldn't download the MNIST file.

I ran the 03_logreg.py file but it couldn't download the MNIST file.
Look at the error it throws below, what could be the cause.
Downloading http://yann.lecun.com/exdb/mnist/train-images-idx3-ubyte.gz
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-9-f61291f4ea9e> in <module>()
     17 # Step 1: Read in data
     18 mnist_folder = 'data/mnist'
---> 19 download_mnist(mnist_folder)
     20 train, val, test = read_mnist(mnist_folder, flatten=True)
     21

<ipython-input-8-c749e6c8ff57> in download_mnist(path)
     82         download_url = os.path.join(url, filename)
     83         local_dest = os.path.join(path, filename)
---> 84         download_one_file(download_url, local_dest, byte, True)
     85
     86 def parse_data(path, dataset, flatten):

<ipython-input-8-c749e6c8ff57> in download_one_file(download_url, local_dest, expected_byte, unzip_and_remove)
     54     else:
     55         print('Downloading %s' %download_url)
---> 56         local_file, _ = urllib.request.urlretrieve(download_url, local_dest)
     57         file_stat = os.stat(local_dest)
     58         if expected_byte:

~/anaconda3/envs/tensorflow_p36/lib/python3.6/urllib/request.py in urlretrieve(url, filename, reporthook, data)
    256         # Handle temporary file setup.
    257         if filename:
--> 258             tfp = open(filename, 'wb')
    259         else:
    260             tfp = tempfile.NamedTemporaryFile(delete=False)

FileNotFoundError: [Errno 2] No such file or directory: 'data/mnist/train-images-idx3-ubyte.gz'

do directory data/mnist/   exist ??
do file train-images-idx3-ubyte.gz  is there ???
in case not maybe try to place it there manually and repeat to check if there problem with download or problem with path to file after download.

The reason why you meet this issue is you are using Windows OS.
Just find out where we defined the file path, and modify  the “train-images-idx3-ubyte” to  “train-images.idx3-ubyte”


Problem with sidebar (disappears)

Hi,
I've used the sidebar v2 https://github.com/Turbo87/sidebar-v2 to add a sidebar to my map. In full screen mode (as implemented by the leaflet.fullscreen) the sidebar disappear.
A similar issue was highlighted here https://github.com/Turbo87/sidebar-v2/issues/19 ad seems to be a problem related with the fullscreen instead of the sidebar directly.
Is there a solution?
Thank you

The sidebar must be a child of the map container element (the one with the leaflet-container class).


xls-workshop-openlane-ja: adding missing cocotb install

TEST=https://colab.research.google.com/github/proppy/silicon-notebooks/blob/fix-install/xls-workshop-openlane-ja.ipynb

Merging since this was validated during the workshop by @t-sasatani.


Bring back hidden columns

Feature request:
If you hide a column via the context menu then it is not possible to bring back the column, unless you refresh the page.

The grid menu, which you can enable but isn't enabled by default, can restore columns.  If you don't like the grid menu, then you can build a custom column picker.

I suggest to add it as default to the column context menu, only visible when the user has hide a column.

If the column is hidden, then there won't be a menu to put it in.

If you hide one column then you can add the restore item to the menu of the remaining columns.
Sit next to a user and see how they interact with your UI. It may surprise you.

Op 9 feb. 2015 om 21:22 heeft Paul<EMAIL_ADDRESS>het volgende geschreven:
If the column is hidden, then there won't be a menu to put it in.
—
Reply to this email directly or view it on GitHub.

Why would you add a menu item to one column  to interact with another? If you have 10 hidden columns do you have 10 extra items whenever you open another column's menu? Or do you have to make an extra level of context menus? Seems nonsensical.

Closing, I think the grid has a method for doing this, and the proposed enhancement doesn't really fit with our design direction.

Problem:
By default you can hide a column.
By default you cannot unhide a column.
Solution:
Part 1) If the user hides one column then in the remaining column context menu, a single item appears to restore the grid back to default.
Part 2) Ensure that the user cannot hide the last column. There is no purpose in hidding all columns. This ensures that you always have one menu to restore the grid.

Op 11 feb. 2015 om 03:38 heeft Brian Hann<EMAIL_ADDRESS>het volgende geschreven:
Why would you add a menu item to one column to interact with another? If you have 10 hidden columns do you have 10 extra items whenever you open another column's menu? Or do you have to make an extra level of context menus? Seems nonsensical.
—
Reply to this email directly or view it on GitHub.

Easier and better solution: change the default to be for the grid menu to be visible.  But since users can easily turn that on for themselves with a single setting, I'm not sure why that would be needed.

In that case, I would also disable the hide feature by default.
Verstuurd vanaf mijn iPad

Op 26 Feb 2015 om 10:18 heeft Paul<EMAIL_ADDRESS>het volgende geschreven:
Easier and better solution: change the default to be for the grid menu to be visible. But since users can easily turn that on for themselves with a single setting, I'm not sure why that would be needed.
—
Reply to this email directly or view it on GitHub.


Add outreachy 2023-01 cfp blog post

Signed-off-by: Juraci Paixão Kröhling<EMAIL_ADDRESS>Docs PR Checklist

[x] This PR is for a documentation page whose authoritative copy is in the opentelemetry.io repository.

overall lgtm, you might want to run prettier on it to have it styled properly.
One content suggestion, can you maybe point out what previous outreachy interns have created? This helps to understand what "medium" sized could mean.
TY

PR updated with @svrnm's suggestions.

Thanks, the PR is now updated. I decided to name the file differently, as there are two Outreachy cohorts each year, and this is related to May's.

🎉


Support VR videos

Are there any plans to support VR video at some point? Stuff like 180° side-by-side 3D content.
Or does this already support them, and the features list just doesn't reflect that?

This is a simple video player / image viewer for virtual reality bult with Godot.
VR modes are flat screen (with zoom) , 180°, and 360° (equirectangular or equi-angular cubemap).

It is supported - can you please point out if this is not clear from the README.md extracts quoted above?

It would be more clear if it mentioned that it supported 3D video, maybe even stating which modes specifically are supported (side-by-side, top-bottom; fisheye).
To me, the description makes it sound like it can only play flat video, flat (non-3D) 180° and flat 360° footage. It might be obvious to some people that a "vr media player" would play proper VR content, but unfortunately there are plenty of VR media players that can actually only play 2D content.
Here a specific suggestion:
This is a simple video player / image viewer for virtual reality bult with [Godot](https://godotengine.org/).
VR modes are flat screen (with zoom) , 180°, and 360° (equirectangular or equi-angular cubemap), all of which work with 3D content (SBS or top-bottom).

Currently supported formats are:
Flat (optional side-by-side 3D, or 3D images in .mpo format)
180° (optional side-by-side 3D)
360° (optional top-bottom 3D)
360° equi-angular projection (flat & 3D youtube uses this)
There's a button to switch left&right eyes too.


Old Documentation Orchestrators

These pages are not useful anymore and possibly misleading for new-comers, since orchestrators are moved to utities:
https://hub.meltano.com/orchestrators/
https://hub.meltano.com/orchestrators/airflow/
It should redirect to -> https://hub.meltano.com/utilities/airflow/ or at least have a warning message that it's out dated.
Peace,

Thanks @mertbakir! We do have them hidden from the navigation header, but agreed we can add some text to those pages.
@pnadolny13 do you want to take this?


Trust Registry Protocol 5.c.iv.1

Null for an entry whose status value is Current at the time of the query.

Nicky H: I may be misunderstanding, but if I am checking a trust registry for a particular issuer, what interests me is whether or not they were an authorized issuer at the time the credential was issued not when I'm verifying.  Could this be accommodated in the query parameters above?
Darrell O: If an issuer is no longer active, the dates would let you know if they were at time of Issuers (i.e. between AuthorizationStartDate and AuthorizationEndDate).

comments from v1 draft - closing


Call http with non json response

Is there a way from Bot Composer to call external http url that return non-json (xml or simple GET response text) response and parse that response content ?

@aimanfathi if you select standard response  in the Response type field and then select none as the value, does this give you what you need?

Closing due to inactivity. Reopen as needed.

@zidaneymar do you have updates for this one?

Hi @aimanfathi , sorry for replying late.
In HttpRequest action, you could set your response type to 'json', then this action would try to parse the content with 'json' firstly, but if the reuslt is not a json type, the content would be a raw string (without any parsing).
Here is an example,
sample raw string response server:

set response type to json

the result:

Closing this issue since it's been addressed.


tokens_revoked event received after app_uninstalled event

Description
There are times that the tokens_revoked event will be received after the app_uninstalled event. If I delete the workspace configuration from my installation store when the app_uninstalled event happens, the tokens_revoked events will throw errors.
What type of issue is this? (place an x in one of the [ ])

[x] bug
[ ] enhancement (feature request)
[x] question
[ ] documentation related
[ ] testing related
[ ] discussion

Requirements (place an x in each of the [ ])

[x] I've read and understood the Contributing guidelines and have done my best effort to follow them.
[x] I've read and agree to the Code of Conduct.
[x] I've searched for any related issues and avoided creating a duplicate issue.

Bug Report
Filling out the following details about bugs will help us solve your issue sooner.
Reproducible in:
package version: 2.4.1
node version:
OS version(s):
Steps to reproduce:

Set up an app with both user and bot scopes, able to be installed with oauth (https://slack.dev/bolt-js/concepts#authenticating-oauth) and handle the app_uninstalled event by immediately deleting the workspace installation.
Install the app to your workspace.
Remove the app from the workspace (note, you may need to do this multiple times to trigger it)

Expected result:
I expect that the tokens_revoked events come before the app_uninstalled events.
Actual result:
It seems that the tokens_revoked events come after the app_uninstalled event, which means when they come in, the workspace configuration is gone, and errors are thrown.
Attachments:
20:15:37.994Z  INFO slack-app: Fetching installation for <REDACTED_TEAM_ID>
[DEBUG]  bolt-app ack() begin
[DEBUG]  bolt-app ack() response sent
POST /slack/events 200 2.643 ms - 0
20:15:37.996Z  INFO slack-app: Incoming event: app_uninstalled (type=app_uninstalled)
20:15:37.997Z  INFO slack-app: Deleting installation for <REDACTED_TEAM_ID>
20:15:38.253Z  INFO slack-app: Fetching installation for <REDACTED_TEAM_ID>
[WARN]  bolt-app Authorization of incoming event did not succeed. No listeners will be called.
20:15:38.255Z ERROR slack-app: Bolt error
  error: {
    "code": "slack_oauth_installer_authorization_error"
  }
20:15:38.272Z  INFO slack-app: Fetching installation for <REDACTED_TEAM_ID>
[WARN]  bolt-app Authorization of incoming event did not succeed. No listeners will be called.
20:15:38.275Z ERROR slack-app: Bolt error
  error: {
    "code": "slack_oauth_installer_authorization_error"
  }
[ERROR]  bolt-app An incoming event was not acknowledged within 3 seconds. Ensure that the ack() argument is called in a listener.
[ERROR]  bolt-app An incoming event was not acknowledged within 3 seconds. Ensure that the ack() argument is called in a listener.
20:15:41.330Z  INFO slack-app: Fetching installation for <REDACTED_TEAM_ID>
[WARN]  bolt-app Authorization of incoming event did not succeed. No listeners will be called.
20:15:41.332Z ERROR slack-app: Bolt error
  error: {
    "code": "slack_oauth_installer_authorization_error"
  }
20:15:41.425Z  INFO slack-app: Fetching installation for <REDACTED_TEAM_ID>
[WARN]  bolt-app Authorization of incoming event did not succeed. No listeners will be called.
20:15:41.427Z ERROR slack-app: Bolt error
  error: {
    "code": "slack_oauth_installer_authorization_error"
  }
[ERROR]  bolt-app An incoming event was not acknowledged within 3 seconds. Ensure that the ack() argument is called in a listener.
[ERROR]  bolt-app An incoming event was not acknowledged within 3 seconds. Ensure that the ack() argument is called in a listener.

Hey @matthewsecrist
I have definitely run into this before. I wrote the OAuth package and the support for it in bolt-js. This isn't a bug in the library but an issue with how the platform dispatches events. I don't believe there are currently plans to fix this.
Question for you, what work are you doing during the token_revoked event and app_uninstalled event?

Reading those links, it makes sense.
@stevengill For the token_revoked, I remove the stored user configurations in the database, and for app_uninstalled, I remove the workspace configuration as well as associated user configurations, just to make sure everything is cleaned up.

Closing this as I don't think there's much we can do here. One perspective is that handling these events, even if they come in an unexpected order, is a userland concern.


TypeError: loader is not a function

Describe the bug
Create a simple route and the console reports an error

Reproduction
Install the sveltekit project normally
Logs
No response
System Info
System:
    OS: Linux 5.10 Debian GNU/Linux 11 (bullseye) 11 (bullseye)
    CPU: (4) x64 AMD EPYC 7763 64-Core Processor
    Memory: 3.89 GB / 7.77 GB
    Container: Yes
    Shell: Unknown - /bin/sh
  Binaries:
    Node: 20.16.0 - /usr/bin/node
    npm: 10.8.1 - /usr/bin/npm
    pnpm: 9.6.0 - /usr/bin/pnpm
  npmPackages:
    @sveltejs/adapter-auto: ^3.0.0 => 3.2.5
    @sveltejs/kit: ^2.0.0 => 2.5.28
    @sveltejs/vite-plugin-svelte: ^3.0.0 => 3.1.2
    svelte: ^4.2.7 => 4.2.19
    vite: ^5.0.3 => 5.4.6

Severity
annoyance
Additional Information
No response

Please provide a minimal reproduction in the form of a downloadable repository or stackblitz link so that we can diagnose the root cause of the problem. I'll be closing this until one is provided.


Update min version to build from source

1. What does this change do, exactly?
Updates the minimum version of Go required to build from source. 1.8 fails since #2009 from the introduction of sync.Map
2. Please link to the relevant issues.
#2009
3. Which documentation changes (if any) need to be made because of this PR?
This is the doc change.
4. Checklist

[ ] I have written tests and verified that they fail without my change
[ ] I have squashed any insignificant commits
[ ] This change has comments for package types, values, functions, and non-obvious lines of code
[ ] I am willing to help maintain this change if there are issues with it later

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


Windows MSI installer artefact is unsigned, prevents installation

Version(s)
0.1.17
Describe the bug
When trying to install the Windows scala-cli msi downloaded from https://scala-cli.virtuslab.org/install, Windows Defender on Windows 10 reports that the creator of the software is unknown and prevents an installation.
To Reproduce
Try to install the Windows scala-cli msi downloaded from https://scala-cli.virtuslab.org/install
Expected behaviour
A windows application MSI should be signed and should be installable without problems. Unsigned MSIs look kind of fishy.

Thanks! Just tried it, the signed 0.1.17 version works! I suggest we leave this issue open until the release procedure is updated for future releases.


Vision text detection

Based off #2237.
Adds text detection.
This is the last of the Entity based detections.
Safe Search and Image properties are left.

LGTM:  you can address my comments or leave them be, if you think best.

Ok, I updated the code based on your comments. I'll let travis run and then I'll make the next two PRs.


Upload file entities to datasets in Synapse rather than folders going forward

Is your feature request related to a problem? Please describe.
As a data contributor,  I want to upload my files to a dataset rather than a folder in Synapse in order to annotate my work in a way that makes sense for my data model and not create a bunch of phantom entities to hold annotations.
Describe the solution you'd like
Upload files to the new Dataset entity in Synapse rather than Folders in Synapse
How important is this feature? Select from the options below:
• 🌗 Medium - can do work without it; but it's important (e.g. to save time or for convenience)
When will use cases depending on this become relevant? Select from the options below:
• Mid-term - 2-4 months
(may become Short-term - 2-4 weeks if the feature in Synapse is implemented on schedule or if the need is greater because CSBC is on an accelerated schedule)
Additional context
Relevant to the CSBC-PSON extension

@milen-sage @vpchung is this something that's still relevant to the CSBC work?

I'm not sure.  With the recent project restructure, I have kept the "datasets" as Folder entities.  I forget whether the DCA already has support for Dataset entities?  If so, should I start utilizing Datasets instead of Folders?

@ychae this is still relevant and is at a level of an epic. The work hasn't been completed and there will be a couple of work items in schematic.

Transferring to schematic's repo.


add source_model sai option to allow model-specific compression tuning

We still decide how to compress on save, but the logic is restructured:

VectorCompression knows what compressed size should be, and adds a matches() method to use when we're looking for a previous codebook to refine.  (If we have a previous codebook, but it's for a different output size, we'll start fresh.)
VectorSourceModel is where the per-model customization happens.  The guess-by-dimension logic also moves here.

Also pulled out some of the OPTIMIZE_FOR dead code while still allowing it as an option.
fixes #8711

org.apache.cassandra.index.sai.cql.VectorCompressionTest.testBert: test is constantly failing. No results on upstream;

Looks like that test is failing

That is odd, it passes for me in intellij.  Different JVM = different JVector code path?  I will take a look.

It fails for me locally. I get the following:
junit.framework.AssertionFailedError: Expected VectorCompression(PRODUCT_QUANTIZATION, 32) but got NONE
	at org.apache.cassandra.index.sai.cql.VectorCompressionTest.testOne(VectorCompressionTest.java:134)
	at org.apache.cassandra.index.sai.cql.VectorCompressionTest.testOne(VectorCompressionTest.java:108)
	at org.apache.cassandra.index.sai.cql.VectorCompressionTest.testBert(VectorCompressionTest.java:80)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at com.carrotsearch.randomizedtesting.rules.StatementAdapter.evaluate(StatementAdapter.java:36)

I checked the jenkins run, and that failed with the same error.

Not sure if it matters, but here is my seed: -Dcassandra.test.random.seed=89860794155253

bug was here
            execute("INSERT INTO %s (pk, v) VALUES (?, ?)", i, randomVector(originalDimension));

was inserting all rows with pk=0 :facepalm:
kind of baffled it was passing for me at all


lang/racket: set lookup handler to find definition

Add a lookup handler for racket-mode to enable SPC c d to jump to definition (, g d is already bound to racket-visit-definition, but not the generic Jump to definition).
This is a bit buggy if you don't already have a Racket REPL open, which racket-visit-definition seems to rely on. That said, racket-mode will open a basic REPL even if you have errors in the buffer and many things will still work.

This looks good to me. However, would you mind changing this PR to target the straight branch? A fair bit has changed over there, and it will be merged into develop sometime late next week.

Sure, will do so straight away.

Excellent. Thanks for the help!


Balloon Firing Game

Please review it. i have created a pr for isssue #313

Can u also add the gssoc lables and review it .. thank you @urvashi-code1255

Congratulations on merging of first PR. :tada:
Keep Contributing.


Update the-biztalk-server-message.md

The table name where the promoted properties information is saved is bt_documentSpec not bts_documentSpec

The table where the promoted properties information is saved is bt_documentSpec, not bts_documentSpec.

Docs Build status updates of commit d270b74:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

biztalk/core/the-biztalk-server-message.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

@venugoapalreddy Thank you! And, congrats on your first PR. Keep 'em coming. We appreciate the help.


AFURLSessionManager downloadTaskWithRequest return filePath nil on real device

AFURLSessionManager downloadTaskWithRequest return filePath nil on real device, work ok on simulator
ios 9.3.1
Allow Arbitrary Loads YES

I'm running into this very same issue.  I'm using iOS 10.2.1, and everything works fine on a simulator, however on a real device, filePath comes back nil.  I actually don't see the destination block getting called on the real device either, so I think that it all stems from that.  When I enumerate the temp directory, I see a file in the pattern of CFNetworkDownload_*.tmp, and I see progress updates of the file being downloaded and can confirm that the file reaches 100% each time.  I also added observers for all of the notifications that are possibly posted, and the only 2 which are firing on device are AFNetworkingTaskDidResumeNotification and AFNetworkingTaskDidCompleteNotification.
I'm pulling my hair out on this one.  Spent a full day trying to figure this out.  Everything works perfectly on the simulator, just not the actual device.  Note that I'm also use .path for NSURLs, not .absoluteString which is another gotcha many seem to have fallen victim to.


Fix convert edge cases

Pre-Review Checklist for the PR Author

[x] Add a second reviewer for complex new features or larger refactorings
[x] Code follows the coding style of CONTRIBUTING.md
[x] Tests follow the best practice for testing
[x] Changelog updated in the unreleased section including API breaking changes
[x] Branch follows the naming format (iox-123-this-is-a-branch)
[x] Commits messages are according to this guideline

[x] Commit messages have the issue ID (iox-#123 commit text)
[x] Commit author matches Eclipse Contributor Agreement (and ECA is signed)

[x] Update the PR title

Follow the same conventions as for commit messages
Link to the relevant issue

[x] Relevant issues are linked
[x] Add sensible notes for the reviewer
[ ] All checks have passed (except task-list-completed)
[x] All touched (C/C++) source code files from iceoryx_hoofs are added to ./clang-tidy-diff-scans.txt
[ ] Assign PR to reviewer

Notes for Reviewer

I'm not sure the values of new IOX_2055_WORKAROUNDs  are proper or not. Please check them.
Checklist for the PR Reviewer

[ ] Commits are properly organized and messages are according to the guideline
[ ] Code according to our coding style and naming conventions
[ ] Unit tests have been written for new behavior
[ ] Public API changes are documented via doxygen
[ ] Copyright owner are updated in the changed files
[ ] All touched (C/C++) source code files from iceoryx_hoofs have been added to ./clang-tidy-diff-scans.txt
[ ] PR title describes the changes

Post-review Checklist for the PR Author

[ ] All open points are addressed and tracked via issues

References

Closes #2055.

Thanks for the PR. I'll have a closer look tomorrow at the changes but I'm quite happy that the out parameters are soon a thing of the past :)

It seems that there are some errors occurring during the execution of all_test. I will take a closer look at it tomorrow.

It seems that there are some errors occurring during the execution of all_test. I will take a closer look at it tomorrow.

I think you forgot long, unsigned long and char

If there are no other issues with the aforementioned modifications, I think we can start adding some edge cases for testing purposes.

If there are no other issues with the aforementioned modifications, I think we can start adding some edge cases for testing purposes.

I did not yet look at the code but I don't expect any issues. Feel free to start whenever it pleases you :)

Thank you for your review. I would like to create a new PR. Our conversation on this PR has already been quite lengthy, and I believe there will be more to discuss when testing edge cases. Therefore, I think we should start a new PR focused on conducting tests for edge cases :)

Merging this PR. All the old tests pass and additional tests for corner cases will be added in a separate PR


Support for pytorch?

Hey guys, are there any news to executing pytorch models with ArmNN?
On pytorch mobile they only mention XNNPack and QNNPack..

Hi @EilersJan
At the moment we have no plans to support pytorch from within ArmNN. At the moment we are evaluating the use of TinyNeuralNetwork to convert from PyTorch to a TfLite model. Maybe you can give that a go and let us know how it works for you?
https://github.com/alibaba/TinyNeuralNetwork
Best regards,
Mike

Thanks Mike, was hoping you might be working on a delegate for pytorch mobile


Add 26.0.x docker version into the managed list

Addresses #10996
Ensure we have both 26.1.x and 26.0.x in the managed list.

@mantis-toboggan-md Tiny PR for your consideration


Syncing data should be an option

By default store syncs saved files to disk (when writer is closed). This is costly operation, but most of the time does not really matter because programs usually saves data in the background.
Syncing data could be disabled using some new option. Such as store.NoSync() passed to store.Writer().

Fixed by #49


关于文章导航的建议

文章开头的导航建议做成菜单悬浮，加一个返回顶部的按钮这样对阅读会更友好一点，不知道您是否认同我的观点

文章开头的导航建议做成菜单悬浮，加一个返回顶部的按钮这样对阅读会更友好一点，不知道您是否认同我的观点

If Google Translate is correct and this (roughly) means

The navigation suggestions at the beginning of the article are made into a menu hover, plus a button that returns to the top so that reading is more friendly, I don't know if you agree with me.

I think this would be really nice. I thought of this before but I was not sure how difficult it is to implement that.

@ucmir183  @lorenzwalthert  👍 Thanks for your suggest, and I agree with you. This is what I want to do, I will add this feature soon

Awesome. Is it going to be hard-coded or can you "switch it off and on"?

Is it going to be switch it off and on, I think this is better.

很高兴您采纳我的建议，很喜欢这个主题的风格，感谢楼主的付出

Followup, is this feature available yet?


Need support for LoggerFileBackend

I want to use LoggerFileBackend and LoggerJson together.
But when I plug them together
config :logger,
  backends: [{LoggerFileBackend, :info}]

config :logger, :info,
  path: "/app/info.log",
  level: :info,
  format: {LoggerJSON.Formatters.Elastic, :format},
  metadata: :all

I get an error function LoggerJSON.Formatters.Elastic.format/4 is undefined or private

Have you tried https://www.erlang.org/doc/apps/kernel/logger_std_h? LoggerFileBackend is a backend implementation that is a legacy way to integrate with Elixir/Erlang logger, you need a library that integrates with the Erlang logger directly.

Feel free to ask any questions here, closing this for now.


Constant assignments should infer constant constructors

For example, take this "goldfish" constant Item constructor:
static const Item goldfish =
	const Item(Colors.orange, "goldfish", "goldfishes", const [
		const FishableItemTrait(0.8),
		const CrushableItemTrait(const [const CrushChance(Items.gold, 0.7)])
	]);

In order to actually make this object constant, I had to opt to using const everywhere, instead of letting Dart infer the need for const. This would not become ambiguous in any way as the item itself, the goldfish, is declared constant.

This is a known issue https://github.com/lrhn/dep-const/blob/master/proposal.md

The original issue is #4046.
As you might guess, I completely agree that it should be fixed.


Make custom chords in the first 4 frets show with the nut

For some reason, jTab/Raphael move the chord as high as possible on the display.

Requirements:

If a chord is in the first 4 frets, show the nut always
If a chord takes < 4 frets, leave the top fret blank

Mistakenly closed for 1.2.2 (reopened)

I'm facing the same problem, that's an issue in jTab
Here you can see someone who got if fixes: https://github.com/tardate/jtab/issues/39#issuecomment-379587199
It would be awesome if we could choose to use his fork

Thanks!
On Fri, Jan 6, 2023 at 6:50 PM Augusto Bennemann @.***>
wrote:

I'm facing the same problem, that's an issue in jTab
Here you can see someone who got if fixes: tardate/jtab#39 (comment)
https://github.com/tardate/jtab/issues/39#issuecomment-379587199
It would be awesome if we could choose to use his fork
—
Reply to this email directly, view it on GitHub
https://github.com/davfive/obsidian-jtab/issues/7#issuecomment-1374358449,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAGAYWZDCRYZHCTBWXED2XDWRDKWZANCNFSM5VMSYEUA
.
You are receiving this because you modified the open/close state.Message
ID: @.***>

The "proper" fix is probably better, but this was annoying me too, so I just added the below to jtab.tardate.js
//find all the fret positions which arent X or 0. I'm sure there's a better way to do this.
const min = Math.min.apply(Math, fingeredFrets);

// ROB: Don't mess with starting at the nut if the whole fingering fits within the first 5 frets
max = Math.max.apply(Math, fingeredFrets);
if (max > 5) {
    array.unshift(min - 1);
} else {
    array.unshift(0);
}
return array;

};
Caveat: I don't really know what I am doing with JS but it is working for my test cases

Marking will-not-do since this is a core "feature" of jTab and I don't want to change at this level. Also, no actual use ever requested this.


Really puzzled about code to set sign alg to rsa-sha256

In this PR https://github.com/knaperek/djangosaml2/pull/66/files code was added to support using SHA256 as the digest algorithm for signing (this is useful when dealing with ADFS).
However, I don't think that the code works at all:

There is no entry _sp_authn_requests_signed_alg in the conf dict. This is (AFAIK) because the SPConfig object from pysaml2 does not know about authn_requests_signed_alg in the sp dictionary. This means that there is no way to set this configuration item

The lower level code actually wants two parameters passed in -- sign_alg and digest_alg

The PR only deals with REDIRECT binding and not with POST binding.

I'm confused... Can anybody clarify the situation?

Yeah, I found that out later as well myself, as I have gotten to know djangosaml2 (and pysaml2) a bit better. Thanks for raising this issue, I will patch this up, actually making it configurable

merged by @knaperek some time ago. Thank you all


API created clients may be expected to produce keepalives (eventually)

Closes #1203

:+1:

@portertech shouldn't the test set some keepalive thresholds and wait to see if a keepalive event is created?

Other than that, I'm pretty excited about this and I think @nhooey and many others are going to be as well. 👍

@calebhailey this is an api spec test, not for server keepalive monitoring, which already has tests.

@calebhailey these clients will get picked up with default thresholds, unless the post body also includes client keepalive configuration information, which isn't currently validated :-1:

Now I remember why I didn't like this :P

Going to be working on https://github.com/sensu/sensu/issues/1244 tomorrow. Afterwards, we can add some direct access to "validators", so we can properly validate the POST /clients body :+1:

Back to working on this :+1:

Ready for review :+1:

👍


Allow the use of bundler 2.x for running the tests

This allows the tests to pass on Travis CI for Ruby versions using Bundler 2.0.1 already.
This should allow all currently failing tests in #11 to pass on Travis CI.

Thanks @meineerde! I'll take a look at this and #11 tomorrow.

@woodruffw it's safe now to just bump to ~> 2.0.


Merge pull request #1 from grempe/master

Merge

Not sure what this pull request is for. Closing.


Is there a guide to setup ksonnet registry service locally?

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:
/kind bug
/kind feature

/kind question
What happened:
I'm trying to use ksonnet registry service without internet connection. I'm wondering how to work it out. Thanks.
What you expected to happen:
How to reproduce it (as minimally and precisely as possible):
Anything else we need to know?:
Environment:

ksonnet version (use ks version):
Kubernetes version (use kubectl version):

@cheyang It is possible to do this based on inspection of the source: https://github.com/ksonnet/ksonnet/blob/master/pkg/actions/registry_add.go#L108
To add a registry from file system, add to the path containing registry.yaml.
e.g. ks registry add <registry name> /path/to/registry
This will be documented in the near future.

Thank you.

Work has been committed to the site


Add default constructor to ParFiniteElementSpaceHierarchy [add_default_constructor]

Adding a default constructor that matches the autogenerated default means that a space hierarchy can be initialized empty. This is particularly helpful when building the hierarchy can be complicated or requires many sequential steps.

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

Merged in next for testing...


[BUG] evaluate_uncertainties.py not producing expected output

Describe the bug

Running evaluate_uncertainties.py with any of its 3 methods (monte carlo, sobol, morris method) does not produce expected output.
When running evaluate_uncertainties.py with monte carlo method (default) it does not run and gives the error message ValueError: 'bt' is not in list.
When running evaluate_uncertainties.py with -m sobol_method or morris_method, the output files (sobol.txt and morris_method.txt respectively) contain only zeros and therefore cannot be plotted using sobol_plotting.py or morris_plotting.py.
Steps to reproduce

First, in process/uncertainties/config_evaluate_uncertainties.json replace the IN.DAT_path with tests/integration/data/large_tokamak_IN.DAT
For monte carlo method run
python process/uncertainties/evaluate_uncertainties.py -f process/uncertainties/config_evaluate_uncertainties.json
and you will get the error message ValueError: 'bt' is not in list.
Then for sobol method run
python process/uncertainties/evaluate_uncertainties.py -f process/uncertainties/config_evaluate_uncertainties.json -m sobol_method
The file sobol.txt which is produced contains only 0s when it should contain data which can be plotted.
Run again but with -m morris_method and the output morris_method.txt will also contain only 0s.
Expected behaviour

Unsure of expected behaviour of monte carlo since I cannot get it to run. Unsure of expected behaviour for sobol and morris methods as well however expect the output files sobol.txt and morris_method.txt to contain nonzero values.
Environment

OS: Ubuntu 22.04
Version: 3.0.0

Additional context
Came across this problem when updating the utilities section of the docs #2933

@ym1906


Add slug generation service

Description of changes:

Add slug generation
Implement unique slug

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of the met-public license (Apache 2.0).

Codecov Report

Merging #1763 (d2551cf) into main (b2a3ca1) will decrease coverage by 0.15%.
The diff coverage is 63.88%.

:exclamation: Current head d2551cf differs from pull request most recent head c4868e7. Consider uploading reports for the commit c4868e7 to get more accurate results

@@            Coverage Diff             @@
##             main    #1763      +/-   ##
==========================================
- Coverage   71.32%   71.17%   -0.15%
==========================================
  Files         377      379       +2
  Lines       11278    11348      +70
  Branches      868      868
==========================================
+ Hits         8044     8077      +33
- Misses       3098     3135      +37
  Partials      136      136

Flag
Coverage Δ

metapi
78.68% <63.88%> (-0.42%)
:arrow_down:

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

Impacted Files
Coverage Δ

...pi/src/met_api/services/engagement_slug_service.py
55.17% <55.17%> (ø)

met-api/src/met_api/models/engagement_slug.py
95.23% <100.00%> (+7.00%)
:arrow_up:

met-api/src/met_api/resources/engagement_slug.py
64.51% <100.00%> (ø)

met-api/src/met_api/services/engagement_service.py
70.27% <100.00%> (+0.40%)
:arrow_up:

...pi/src/met_api/services/slug_generation_service.py
100.00% <100.00%> (ø)

... and 1 file with indirect coverage changes


Feature Request, control display brightness

hello thank you very much for your work
I would like to control the display brightness also deactivating the automatic brightness adjustment via Home Assistant, e.g. reduce it to a minimum when watching a movie.

Hey Do,
I like this idea! I'll aim to have it done this weekend.

Hi @Dodoooh,
So much for that weekend but v0.6.0 adds full unfolded circle configuration setting support along with a ton of other new additions. Hope you find it useful!
#20


disabling IPv6 for ICE

Although it'll be a few years until we will have full IPv6 connectivity, Recent Android Versions are very eager to use IPv6 anywhere they can. This seems to be a major problem in getting a proper peer-to-peer connection going to an IPv4 contact. Rooted devices can use echo "1" > /proc/sys/net/ipv6/conf/wlan0/disable_ipv6 to temporary disable it. But I am very certain that most of the people do not have IPv6 connectivity and it should become a bigger problem the more people will get it, before it will become less of an issue again.

In ice4j, it's easy enough to simply ignore the candidates which contain the xxxx:xxxx:* pattern; that's what I did in my app.

Another thing to try is to pass the googIPv6:false option in your peer connection.

Thanks for the pointers. I'm not yet familiar with ICE or WebRTC, but I will try to find the appropriate lines to set this.

@459below setting this property will disable ipv6 in ice4j (the ICE library used in jitsi-android):
org.ice4j.ipv6.DISABLED=true

@bgrozev Is there a wiki page or doc somewhere that lists the system props available for the jitsi projects? Especially in this case ice4j?

Unfortunately not.


DRILL-4089: make JSON pretty printing configurable

Use system dependent line-feed to seperate records when pretty printing is turned off
Refactor ExecConstants to eliminate unneeded modifier & accessor declarations

+1


add new test data for #742

I recorded a new game start with a new party.
Right now the game starts with no quests.
See https://github.com/OpenEnroth/OpenEnroth/issues/742#issuecomment-1612581023

There is already a test data with new party.


link_names not working

Hi,
I have slack channels and I am adding those as hashtags within message and sending through text parameter in hello command.
i am passing link_names = true parameter to ensure that hashtag becomes active if channel is already there.
It is not happening. Can you look into the issue pl?
Here is the code.
module.exports = (user, channel, text = '', command = {}, botToken = null, callback) => {
callback(null, {
//    response_type: 'in_channel',
response_type: 'ephemeral',
link_names: true,
text: Most suitable jobs for you      <http://www.indeed.com/viewjob?jk=ed27acc46f5d7534&qd=qBvs_I4BSoFkFFqdq8PrMVZ12ww9-8bhCyI7MAHgJLaSBO-a-1qaLYtpZquZOYSUdcB88SmTw-xoozDsbrfGKd-bxDvqz0v5xYW59jhy39K7zTE-DGVRYDhlFbjyjzJG&indpubnum=5544402726819022&atk=1c1bmb0lu1a2r21v|Manager - Machine Learning Software Engineering>    \n Matching skills - <#C6JUAMXTP|Python> <#C6JUAKZFF|R>    \n Missing Skills - <#C8FNUARQQ|java> <#C8HF7GCB1|nosql> <#C8GAPMFH9|Scala> <#C8GCVRD3L|javascript> <#C8FTDB99P|AWS> <#C8H956Y78|Spark> #java
});
};
Here is the output

What happens if you click the links generated? Do the links just not resolve?
Also, if you want an ephemeral response type, you shouldn't use the callback provided. Make a request to https://api.slack.com/methods/chat.postEphemeral and just return an empty callback instead.

yes. the link does not resolve. I will change response type to in_channel.
I was just testing postEphemeral feature.
On Tue, Dec 19, 2017 at 3:16 PM, Jacob Lee<EMAIL_ADDRESS>wrote:

What happens if you click the links generated? Do the links just not
resolve?
Also, if you want an ephemeral response type, you shouldn't use the
callback provided. Make a request to https://api.slack.com/methods/
chat.postEphemeral and just return an empty callback instead.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib/issues/115#issuecomment-352916105, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYuh7M-8Jq5ZlbSUpFDCEVwR4f34lBnlks5tCEPpgaJpZM4RHrtF
.

--
Regards,
Ritesh
5102489605

It looks like Slack is recognizing your hashes as links -- the only thing I can think of is that your channel ids are wrong?
You might have more luck going to Slack directly as this seems to be an issue with their API. We just pass the fields you add to your callback object into a postMessage API call: https://api.slack.com/support?ref=api_nav

i changed back to in_channel. But same issue.
Channel id is not incorrect. because if you see #java with this
code <#C8FNUARQQ|java> is working. but if i mention only #java then that
link is not working.
[image: Inline image 1]
On Tue, Dec 19, 2017 at 3:43 PM, Jacob Lee<EMAIL_ADDRESS>wrote:

It looks like Slack is recognizing your hashes as links -- the only thing
I can think of is that your channel ids are wrong?
You might have more luck going to Slack directly as this seems to be an
issue with their API. We just pass the fields you add to your callback
object into a postMessage API call: https://api.slack.com/support?
ref=api_nav
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib/issues/115#issuecomment-352920683, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYuh7IKgKWs9f47jiFpyHz9JOlINooS4ks5tCEoTgaJpZM4RHrtF
.

--
Regards,
Ritesh
5102489605

Wait the <#C8FNUARQQ|java> link is working when you click it? Or it's not?

<#C8FNUARQQ|java> link is working.
but I dont want to pass code. I just want to pass text.
On Tue, Dec 19, 2017 at 4:26 PM, Jacob Lee<EMAIL_ADDRESS>wrote:

Wait the <#C8FNUARQQ|java> link is working when you click it? Or it's not?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib/issues/115#issuecomment-352927971, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYuh7P1jp61bDlRuG17ABLB_W6CvJ2jsks5tCFQrgaJpZM4RHrtF
.

--
Regards,
Ritesh
5102489605

Hi Jacob,
any update on this issue?
Regards,
Ritesh
On Tue, Dec 19, 2017 at 5:50 PM, ritesh mehta<EMAIL_ADDRESS>wrote:

<#C8FNUARQQ|java> link is working.
but I dont want to pass code. I just want to pass text.
On Tue, Dec 19, 2017 at 4:26 PM, Jacob Lee<EMAIL_ADDRESS>wrote:

Wait the <#C8FNUARQQ|java> link is working when you click it? Or it's
not?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/stdlib/lib/issues/115#issuecomment-352927971, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AYuh7P1jp61bDlRuG17ABLB_W6CvJ2jsks5tCFQrgaJpZM4RHrtF
.

--
Regards,
Ritesh
5102489605 <(510)%20248-9605>

--
Regards,
Ritesh
5102489605

I just took a look at the Slack docs here: https://api.slack.com/docs/message-formatting#parsing_modes
You could try passing in the parameters as:
module.exports = (user, channel, text = '', command = {}, botToken = null, callback) => {

callback(null, {
// response_type: 'in_channel',
response_type: 'ephemeral',
link_names: 1,
parse: 'full',
text: Most suitable jobs for you <http://www.indeed.com/viewjob?jk=ed27acc46f5d7534&qd=qBvs_I4BSoFkFFqdq8PrMVZ12ww9-8bhCyI7MAHgJLaSBO-a-1qaLYtpZquZOYSUdcB88SmTw-xoozDsbrfGKd-bxDvqz0v5xYW59jhy39K7zTE-DGVRYDhlFbjyjzJG&indpubnum=5544402726819022&atk=1c1bmb0lu1a2r21v|Manager - Machine Learning Software Engineering> \n Matching skills - <#C6JUAMXTP|Python> <#C6JUAKZFF|R> \n Missing Skills - <#C8FNUARQQ|java> <#C8HF7GCB1|nosql> <#C8GAPMFH9|Scala> <#C8GCVRD3L|javascript> <#C8FTDB99P|AWS> <#C8H956Y78|Spark> #java
});

};

It looks like link_names: 1 should do the trick though

Hi Jacob,
only with link_names: 1 the links for slack channel are still not working.

with parse = full and link_names: 1, though the slack channels links are working, but the website URL are now appearing instead of just text.

Try link_names='1' with 1 as a string? Slack can be particular about that.


Expand docstring comments for the auth tests.

@mambocab and @knifewine to review.

If you're wondering why I changed all the assertions that check we have no permissions set, from comparing len() == 0 to comparing sets, is to improve debug output.
Previously if the tests failed, it would just say "Expected 0 rows, got X" where X is an int. Now it will say "Expected 0 rows, found X", where X are the actual rows pulled from C*.

My comment on prepare() applies everywhere it's described as launch a one-node cluster. It's a little nit, but it should be pretty easy to clean up too, so I think you should hold merge on fixing it.

Logging off, but I just wanted to note that I've reviewed through to create_ks_auth_test.

@knifewine do you have bandwidth to resume Jim's review?

The newest commit about your desire for namedtuples breaks everything [specifically the assertions]? Is there a more correct way to make these into namedtuples? If not, why did you want that?

+1


Crash on RPM if a metainfo is not included

After the merge of #195, flutter_distributor fails to build a rpm file if it doesn't include a metainfo file
Logs: https://github.com/resucutie/localbooru/actions/runs/9628783254/job/26557391990#step:8:112

Fixed on https://github.com/leanflutter/flutter_distributor/pull/202


Missing method to get project ID

For example when logging CSP violations with Sentry, the projectID is needed. Of course this is the last part of the sentry key but with the old Raven SDK it was possible to do $client->project to get the project ID. I couldn't find a way to get the project ID with the new SDK. Would be nice to have that.

Actually, it's the same for the other parts of the DNS.

Actually I just noticed that the Options class already has a getter for the project ID, and it makes sense as we use it in the HTTP transport along with the public and secret keys. Is something else missing?

I'm going to close this issue as it seems solved. Feel free to reopen if you still think that there is something that should be done


Franco Kernel Manager and Wavelet please!  My folders are almost complete :) and look so good!

Franco Kernel Manager
com.franco.kernel
Wavelet
com.pittvandewitt.wavelet

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


ARM template doesnt work with the above provided example

What exaclty is : "type": "Microsoft.OperationsManagement/solutions",
and we are not calling it on any other resource and we are using Insights instead of operations
even if it depends upon still template doesnt work.
give me The resource 'Microsoft.OperationsManagement/solutions/XXXXXXXX' is not defined in the template
I dont see a way to install the solution for portal not template.

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

ID: 9173a498-fe60-ffd6-0f26-3f7e9972a6c4
Version Independent ID: 3d50fef6-2a8c-0f2b-8c52-23bbaa6b73dd
Content: Saved searches in management solutions - Azure Monitor
Content Source: articles/azure-monitor/insights/solutions-resources-searches-alerts.md
Service: azure-monitor
GitHub Login: @bwren
Microsoft Alias: bwren

@akramwaseem Thanks for the comment. We are actively investigating on the issue and will get back to you shortly with an update.


Set version 6.0.0b32

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.04%) to 93.558%

Totals

Change from base Build<PHONE_NUMBER>:
0.04%

Covered Lines:
8234

Relevant Lines:
8801

💛  - Coveralls


Fix process name and facility in log messages.

As the title says.

Codecov Report

Merging #153 (d471a61) into main (987ed52) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #153   +/-   ##
=======================================
  Coverage   87.32%   87.32%
=======================================
  Files          19       19
  Lines         655      655
  Branches       91       91
=======================================
  Hits          572      572
  Misses         65       65
  Partials       18       18


[Temporary/Before v2.5 stable Release] Use the conda-forge/label/esmvalcore_rc channel where we have ESMValCore release candidates

Description

Temporary use of conda-forge/label/esmvalcore_rc channel where we now have v2.5 Core release candidates that we want to test Tool against.

Before you get started

Checklist
It is the responsibility of the author to make sure the pull request is ready to review. The icons indicate whether the item will be subject to the 🛠 Technical or 🧪 Scientific review.

[x] 🛠 This pull request has a descriptive title
[x] 🛠 All checks below this pull request were successful

cheers for merging @zklaus :beer: @schlunma just those and the Github Actions that are running now after ze merge :+1:


t users --csv option doesn't escape commas or newlines

The generated csv from t users isn't parsable; it contains user tweets & descriptions, which often contain commas and newlines.
Ruby's to_csv method seems to escape commas and newlines. I'm not familiar with say, but that might be what's unescaping them?
I spent a while looking into this but I'm unfamiliar with Ruby's gem system. Simply appending to_csv().html_safe might do the trick, but I couldn't figure out how to apply my changes to the global gem.

agree this needs to be fixed

All -csv options really, including: t followers -c


[Autocomplete] Completion after display.show(Image. shows global completions not image completions

Completion after display.show(Image. shows global completions not image completions.
You need some following code. The default sample code will suffice.
If the missing bracket is supplied then the completions are correct.
We auto-insert the closing bracket in normal entry, but a user editing a line that shows an image might delete the bracket and image name when swapping to a new image.
Not clear what we can do to improve this but we should investigate.
CC @microbit-giles

Raised again by Giles on https://github.com/microbit-foundation/python-editor-next/issues/600.


height problem when token removed

Not every time, but sometimes removing token generates problem with it's height.
When there are two tokens are removing first one generating problem.
I've added background of CLTokenInputView,  so can track height of same.
Also blinking cursor's position is not correct. Please see attached screenshot.

same problem here, did u solve it?


Add support for Let's Encrypt generated certificates

As described in crossbario/autobahn-python#725

Great, very useful, thank you.
Could you also add an instruction to README.md, how to get key.pem, cert.pem and chain.pem from Lets Encrypt?

Ability to inject chain.pem is more general IMO and not directly associated with Let's Encrypt. That's why I didn't note it in the README.

Ok, thank you.


strcmp inefficient code generation

A simple program like  bpftrace -e 'k:f /comm == "cat"/{}' generates 40 instructions:
   0: (b7) r1 = 0
   1: (7b) *(u64 *)(r10 -16) = r1
   2: (7b) *(u64 *)(r10 -24) = r1
   3: (bf) r6 = r10
   4: (07) r6 += -24
   5: (bf) r1 = r6
   6: (b7) r2 = 16
   7: (85) call bpf_get_current_comm#61696
   8: (bf) r1 = r10
   9: (07) r1 += -4
  10: (b7) r2 = 1
  11: (bf) r3 = r6
  12: (85) call bpf_probe_read#-36544
  13: (71) r1 = *(u8 *)(r10 -4)
  14: (15) if r1 == 0x63 goto pc+2
  15: (b7) r0 = 0
  16: (95) exit
  17: (bf) r1 = r10
  18: (07) r1 += -3
  19: (bf) r3 = r10
  20: (07) r3 += -23
  21: (b7) r2 = 1
  22: (85) call bpf_probe_read#-36544
  23: (71) r1 = *(u8 *)(r10 -3)
  24: (55) if r1 != 0x61 goto pc-10
  25: (bf) r1 = r10
  26: (07) r1 += -2
  27: (bf) r3 = r10
  28: (07) r3 += -22
  29: (b7) r2 = 1
  30: (85) call bpf_probe_read#-36544
  31: (71) r1 = *(u8 *)(r10 -2)
  32: (55) if r1 != 0x74 goto pc-18
  33: (bf) r1 = r10
  34: (07) r1 += -1
  35: (bf) r3 = r10
  36: (07) r3 += -21
  37: (b7) r2 = 1
  38: (85) call bpf_probe_read#-36544
  39: (b7) r0 = 0
  40: (95) exit

After reading comm into the stack it uses probereads to read it's own stack onto the stack byte  for byte to then compare using a bunch of ifs.
This whole thing could be done with a single get_comm a bitwise and and a compare (64bits).

diff --git a/src/ast/irbuilderbpf.cpp b/src/ast/irbuilderbpf.cpp
index bb76040..a9d642c 100644
--- a/src/ast/irbuilderbpf.cpp
+++ b/src/ast/irbuilderbpf.cpp
@@ -387,14 +387,10 @@ Value *IRBuilderBPF::CreateStrcmp(Value* val, std::string str, bool inverse) {
   for (size_t i = 0; i < strlen(c_str) + 1; i++)
   {
     BasicBlock *char_eq = BasicBlock::Create(module_.getContext(), "strcmp.loop", parent);
-    AllocaInst *val_char = CreateAllocaBPF(getInt8Ty(), "strcmp.char");
     Value *ptr = CreateAdd(
         val,
         getInt64(i));
-    CreateProbeRead(val_char, 1, ptr);
-
-    Value *l = CreateLoad(getInt8Ty(), val_char);
-    CreateLifetimeEnd(store);
+    Value *l = CreateLoad(getInt8Ty(), ptr);
     Value *r = getInt8(c_str[i]);
     Value *cmp = CreateICmpNE(l, r, "strcmp.cmp");
     CreateCondBr(cmp, str_ne, char_eq);

Seems to work quite well

#951 addresses the probe_reads for literals
Once #778 is merged I can use that to reduce the amount of compared bytes when the string length is known.
Probereads can probably also removed from that.
$bpftrace  -e 'i:ms:100 /comm == comm/ { @=count(); }' -v  | grep processed
processed 1311 insns (limit 131072), stack depth 176

I found a few more,

str($1) generates a probe_read_str, copying stack to stack which is not needed
strncmp creates 128 stack variables that never  get lifetime ended, only 1 is required
strncmp does probereads that are not required

I'm working of a fix for those

@fbs - Is the checklist above still accurate or should we close this?


JDK 1.7 RuntimeException missing constructor

1.7 introduced a new protected constructor for RuntimeException (http://docs.oracle.com/javase/7/docs/api/java/lang/RuntimeException.html , bottom of the page). Translating a class (https://github.com/jdereg/json-io/blob/master/src/main/java/com/cedarsoftware/util/io/JsonIoException.java) that extends RuntimeException gives the error:
JsonIoException.java:101: The constructor RuntimeException(String, Throwable, boolean, boolean) is undefined
javac -version reports 1.7.0_65, and I'm using j2objc-<IP_ADDRESS>. I'm guessing it's because RuntimeException in jre_emul hasn't been updated?

Good catch -- not only is this an issue in RuntimeException's superclasses, too, but it hasn't been updated in Android, either.

We're seeing this issue too. What would be involved in updating jre_emul?

Both seeing the same because both trying to translate the same library.. https://github.com/jdereg/json-io :)
Interestingly the projects appears to work on android, @tomball does your response suggests it shouldn't?

The fix is in j2objc's source, just not in a distribution bundle yet. It's
easy to clone the source and build the bundle with the latest, though: Building
J2ObjC https://github.com/google/j2objc/wiki/Building-J2ObjC.
My comment on Android was based on looking at their latest source
https://android.googlesource.com/platform/libcore/+/master/luni/src/main/java/java/lang/Throwable.javahttps://android.googlesource.com/platform/libcore/+/master/luni/src/main/java/java/lang/Throwable.java.
My guess is that these constructors are resolved because the source
referencing them is built with a recent JDK, not the Android runtime.
That's likely to die with a NoSuchMethodError when that code executes,
though.
On Tue, Mar 31, 2015 at 2:31 AM nbransby<EMAIL_ADDRESS>wrote:

Both seeing the same because both trying to translate the same library..
https://github.com/jdereg/json-io :)
Interestingly the projects appears to work on android, @tomball
https://github.com/tomball does your response suggests it shouldn't?
—
Reply to this email directly or view it on GitHub
https://github.com/google/j2objc/issues/507#issuecomment-88013805.

Excellent! It worked, thanks.

Released in 0.9.7.


Fix setpicture command for Mac

Change setpicture command to use javafx.stage.filechooser instead of javax.swing.filechooser, which fixes setpicture command for Mac, fixes #170

LGTM


python310Packages.pyswitchbee: 1.7.18 -> 1.7.21, python310Packages.pywerview: 0.4.1 -> 0.4.1

Description of changes

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 213110 run on x86_64-linux 1

6 packages built:

crackmapexec
home-assistant-component-tests.switchbee
python310Packages.pyswitchbee
python310Packages.pywerview
python311Packages.pyswitchbee
python311Packages.pywerview


Add stack using array

Have you read the Contributing Guidelines on Pull Requests?
Yes
(Write your answer here.)
Description
Added Stack Implementation using Array in C.
(Write your answer here.)
Checklist

[x] I've read the contribution guidelines.
[x] I've checked the issue list before deciding what to submit.
[x] I've edited the README.md and link to my code.

Related Issues or Pull Requests
#1982
(Write your answer here.)

@atarax665 Kindly Review

@atarax665 Kindly Review

@atarax665 Kindly Review

@atarax665 Kindly Review

I have changed it. Kindly review it @srimani-programmer

I have changed it. Kindly review it @srimani-programmer


ENH: signal.ShortTimeFFT: determine arbitrary dual windows

The ShortTimeFFT can only calculate the canonical dual window (which is utilized in the istft).
This PR provides a new function closest_STFT_dual_window to calculate the closest dual window in a least-squares sense for a given desired window as well as a new method ShortTimeFFT.from_win_equals_dual to determine windows which are equal to their dual window.
The Constant OverLap Add (COLA) constraint is equivalent of having a constant dual window, i.e., all(ShortTimeFFT.dual_win == ShortTimeFFT.dual_win[0]). Hence, closest_STFT_dual_window() is a generalization of check_COLA, which is deprecated in this PR.
Closes #20608 by adding 'math:numref' to the white list in refguide_check.py.
Further minor changes:

In  _calc_dual_canonical_window(Fixed edgde case i) fixed edge case for catching invalid zero-valued win.
Allow np.int for hop parameters.
Removed minor typos and reference for STFT applications
Fixed a linter error in_spectral_helper()

Update: The rendered documentation can be found here:

closest_STFT_dual_window
ShortTimeFFT.from_win_equals_dual
ShortTimeFFT.spectrogram
Updates
check_COLA

Update: Closes #20622 by adding additional documentation.

@sancholp would you be interested in reviewing this?

@j-bowhay yes, I'll take a look

@larsoner @ilayn @rgommers would it be possible to get this merged?

Thanks for looking this, @sancholp. I added a few words explaining a coherence spectrogram in the last commit.
On an unrelated side note: The Wikipedia definition of the squared coherency spectrum you cited cannot be extended into a time-frequency version of a spectrogram.  The reason being that the definition is based on wide-sense stationary stochastic processes for which time-frequency analysis (as opposed to spectral analysis) is not useful.
It makes more sense to interpret it as a normalized time-frequency cross-correlation function.

The test failure seems to be unrelated.
Update: The rendered documentation can be found here:

closest_STFT_dual_window
ShortTimeFFT.from_win_equals_dual
ShortTimeFFT.spectrogram
Updates in Tutorial section
check_COLA

@DietBru would you be able to resolve the merge conflict

Thanks for the pointer, @j-bowhay. The current rendered documentation can be found here:

closest_STFT_dual_window
ShortTimeFFT.from_win_equals_dual
ShortTimeFFT.spectrogram
Updates in Tutorial section
check_COLA

Rebased to current main and updated documentation a little bit—the rendered docs can be found here:

closest_STFT_dual_window
ShortTimeFFT.from_win_equals_dual
ShortTimeFFT.spectrogram
Updates in Tutorial section
check_COLA

@DietBru sorry I you already have and I've just forgotten but do you mind posting about this on the dev forum since this adds a new function to the public api

Good point, @j-bowhay—I have forgotten to post as well. The forum post can be found here

Rebased to current main and improved the handling of unitary mappings—the rendered docs can be found here:

closest_STFT_dual_window
ShortTimeFFT.from_win_equals_dual
ShortTimeFFT.spectrogram
Updates in Tutorial section
check_COLA


But you can add your layout to https://github.com/nvbn/thefuck/blob/master/thefuck/rules/switch_lang.py#L5

Thanks, I am sure there is no switch lang when I write that rule :) .


Fix for 3D camera first person example

Fixes #76 by @Marriaud

@Marriaud Like this?

Tested and approved ;)

Thanks for checking it out!


[dev] add cairo-lint

Keep Starknet Strange has a cairo-lint package to help improve Cairo code quality and standard. Adding this to Shinigami's ci pipeline
Reference
cairo-lint repo

Hi @okhaimie-dev can I work on this?

Fully integrating into the CI seems to be blocked, since there are some false positive warnings from the Cairo lint CI arm.


[Arith] Optional rewriting and simplification into AND of ORs

Previously, RewriteSimplifier inspected the top branch of each And and Or node, but didn't perform simplifications that would require inspection across branches nested structures.  This commit introduces SimplifyAsAndOfOrs, which converts to an internal representation as conjunctive normal form, performs simplifications while in that form, then converts back to a PrimExpr.
This utility is designed for data-propagation simplifications as part of https://github.com/apache/tvm/issues/12261.  To avoid increasing the CPU load unnecesarily, this utility is only used on an opt-in basis, either by using  RewriteSimplifer::SetEnabledFeatureswhen called directly, or by usingPassContextwhen used as part oftir::transform::Simplify`.

This PR is expected to have some merge conflicts with https://github.com/apache/tvm/pull/12863, as they both introduce the same pass context for tir::transform::Simplify, and the same enum RewriteSimplifier::Feature.  After whichever one lands first, the other will be rebased on top of it to resolve.
This is related to the closed https://github.com/apache/tvm/pull/12942.  The simplifications in this PR only require a single non-recursive rewrite, but we decided that refactoring this functionality out of RewriteSimplifier wasn't worth the change at the moment.

@tvm-bot rerun


Add a title from webview to search/library directly

Describe your suggested feature
When i open source in webview and search for manga i want to add it to library directly, instead i need to copy title to search then find it on the same source that was allready open and add it to library and if i want to add multiple titles to library i need to copy every title i want to notepad before i want to add to search and then to library
Other details
:)
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.16.5.
[X] I will fill out all of the requested information in this form.

use the natural search provided through the extension instead of webview? otherwise you may request on your extension for deep linking support.


CameraOptions Where to add?

where can I add "cameraOptions" to the example app? where which line ?
thanks!

Hi @ChrisFeldmeier, the cameraOptions can be added like this:
<CameraKitCamera
        cameraOptions={{
          flashMode: 'auto',
          focusMode: 'off',
          zoomMode: 'off'
        }}
        style={{flex: 1, alignSelf: 'stretch'}}
      />


error while running new eight_sleep component

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
0.44.0 on RPI3 with latest updates, upgrades, kernel, ...
Python release (python3 --version):
3.4.2
Component/platform:
eight_sleep
Description of problem:

error (see log below) right after load (every time, did multiple reboots / restart) & while running
no sensor/binary_sensor for the component created

Expected:

no errors

Problem-relevant configuration.yaml entries and steps to reproduce:
    username: !secret eight_sleep_username
    password: !secret eight_sleep_password
    partner: true

Userid & password have been set up with " " as described in the documentation.
Userid & password tested for the app.
Both me and partner share sleep data in the app.
Traceback (if applicable):
May 06 15:32:31 hassbian hass[963]: ERROR:homeassistant.core:Error doing job: Task exception was never retrieved
May 06 15:32:31 hassbian hass[963]: Traceback (most recent call last):
May 06 15:32:31 hassbian hass[963]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
May 06 15:32:31 hassbian hass[963]: result = next(coro)
May 06 15:32:31 hassbian hass[963]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 361, in async_process_entity
May 06 15:32:31 hassbian hass[963]: new_entity, self, update_before_add=update_before_add
May 06 15:32:31 hassbian hass[963]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity_component.py", line 217, in async_add_entity
May 06 15:32:31 hassbian hass[963]: yield from entity.async_update_ha_state()
May 06 15:32:31 hassbian hass[963]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 247, in async_update_ha_state
May 06 15:32:31 hassbian hass[963]: device_attr = self.device_state_attributes
May 06 15:32:31 hassbian hass[963]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/eight_sleep.py", line 221, in device_state_attributes
May 06 15:32:31 hassbian hass[963]: self._attr['heart_rate'], 2)
May 06 15:32:31 hassbian hass[963]: TypeError: type NoneType doesn't define __round__ method
...

May 06 15:37:28 hassbian hass[963]: ERROR:homeassistant.core:Error doing job: Task exception was never retrieved
May 06 15:37:28 hassbian hass[963]: Traceback (most recent call last):
May 06 15:37:28 hassbian hass[963]: File "/usr/lib/python3.4/asyncio/tasks.py", line 237, in _step
May 06 15:37:28 hassbian hass[963]: result = next(coro)
May 06 15:37:28 hassbian hass[963]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/helpers/entity.py", line 247, in async_update_ha_state
May 06 15:37:28 hassbian hass[963]: device_attr = self.device_state_attributes
May 06 15:37:28 hassbian hass[963]: File "/srv/homeassistant/lib/python3.4/site-packages/homeassistant/components/sensor/eight_sleep.py", line 221, in device_state_attributes
May 06 15:37:28 hassbian hass[963]: self._attr['heart_rate'], 2)
May 06 15:37:28 hassbian hass[963]: TypeError: type NoneType doesn't define __round__ method

Additional info:
none

Please set logging level to debug for the pyeight library and hass eight component and post a full log of your startup.
logger:
  logs:
    pyeight: debug
    homeassistant.components.eight_sleep: debug
    homeassistant.components.sensor.eight_sleep: debug
    homeassistant.components.binary_sensor.eight_sleep: debug

I didn't have my Eight Sleep connected anymore for a couple of months, I reconnected it today because of the launch of the component.    So there is a chance that the errors are caused by the lack of historical data, I'll check again tomorrow.

Assumption confirmed, after collecting data for 1 night, the errors were gone.
Maybe just include warning in documentation or foresee default no data value.