update Starter Kits

Update starter kits guide fetched from @ahfarmer's javascriptstuff-db package.
Now the list will be consistent with that present in this file: data/source/react-starter-projects.js.

What about current tool-list packages?

Thanks!


maybeEmitFakeConstructor considered harmful

Generated fakeConstructor$ do not work and can't be called in dart2js, hence they probably shouldn't be generated anymore.
This should be removed.

cc/ @natebosch who knows way more about this than I do.

This is a PR where the autogenerated code had to be removed: https://github.com/flutter/plugins/pull/2602

I have never seen the errors this code claims to solve. @jacob314 - do you know the specifics? How can I repro?
My first preference would be to remove this altogether, I don't understand the problem it solves.
If we can't remove this altogether we can consider adding an external keyword.

they were never intended to be called. They were only around to placate the anlayzer for the hard to predict cases where you had a sublcass with a constructor but the base class didn't have the appropriate constructor.  I forget the exact details.

Let's drop them. I haven't seen a case where they are necessary. If someone complains we can revisit.

sgtm

I can get this done tomorrow. I think I'm one of the main users of the script for now :P

Happy to review any PR requests you send my way :)


marker.png is not found

After a fresh install, the default marker icon is not shown and a white rectangle is shown in its stead.
Logs show the the following
[ERROR  ] [Image       ] Error reading file /home/vao_python_kivy/kivy_venv/lib/python3.6/site-packages/kivy_garden/mapview/icons/marker.png
Happened on fresh install on 10th Nov 2020
Linux Ubuntu 18.04
Kivy v1.11.1
Python v3.6.9

marker.png

I second that even on windows the folder and the image are missing. I have created the folder then downloaded the marker image and placed it inside. Now everything works fine.


Strain Sheet

Added 2 versions by accident

Yeah you need to remove either one. Otherwise you seem to have all critical things.

I've removed the incorrect files, it should just be the single one now.

Your Strain_Sheet.json file should be named "sheet.json".


Strategy with a commission on orders

Feature Description

PineScript strategies has support for commission on trade execution, create an example!
Inputs

Commission type, absolute or percentage
Commission amount

Additional Information

https://www.tradingview.com/pine-script-reference/v3/#fun_strategy

Supported as part of the TradingView properties for a strategy.
('properties' is another table to 'input')
Check whether PineScript overrides or is overridden


Disable expansion on log line hover for non-highlighted log lines

+ Disabled expansion on log line hover for non-highlighted log lines for better UX

Video demo
https://github.com/p-org/peasy-ide-vscode/assets/137958518/bc5820b4-4c21-4eba-902b-9766da88a375


About X-Cost Cards

X-cost cards are currently an exception to the rule that you pay when you channel a card. All attempts to make them work like other cards have so far been unsuccessful. My attempts to make them work are discussed below:

Instrumenting the X-cost cards to use a stored energy value would be the most desirable action. However, this would require patching all cards, which is generally impossible for cards from other mods unless a patch annotations is created to do this.
Stashing away the energy doesn't work because there are relics like Gremlin Horn that gain energy when monsters are defeated, and it's not possible to distinguish their effects from Reinforced Body's effect that consumes all your energy.
Tagging all the actions to signal when you're owed energy would require patching all actions with a tag value, and instrumenting the method calls to apply these tags. This is generally impossible with actions from other mods unless a patch annotations is created to do this.

handles with freetoplayonce variable


HDDS-4442. Disable the location information of audit logger to reduce overhead

What changes were proposed in this pull request?
Make all Log4J2 loggers asynchronous (only used for audit logging in Ozone) via the system property log4j2.contextSelector.  This prevents lookup of location information by default, and "will give the best performance" by avoiding some intermediate threads.
https://issues.apache.org/jira/browse/HDDS-4442
How was this patch tested?
Updated TestOzoneAuditLogger unit test:

include class name in the log message
verify that only ? is logged, due to lack of location information

Temporarily made the same change in OM audit log pattern:
diff --git hadoop-ozone/dist/src/shell/conf/om-audit-log4j2.properties hadoop-ozone/dist/src/shell/conf/om-audit-log4j2.properties
index 57577e162..170d6840e 100644
--- hadoop-ozone/dist/src/shell/conf/om-audit-log4j2.properties
+++ hadoop-ozone/dist/src/shell/conf/om-audit-log4j2.properties
@@ -71,7 +71,7 @@ appender.rolling.name=RollingFile
 appender.rolling.fileName =${sys:hadoop.log.dir}/om-audit-${hostName}.log
 appender.rolling.filePattern=${sys:hadoop.log.dir}/om-audit-${hostName}-%d{yyyy-MM-dd-HH-mm-ss}-%i.log.gz
 appender.rolling.layout.type=PatternLayout
-appender.rolling.layout.pattern=%d{DEFAULT} | %-5level | %c{1} | %msg | %throwable{3} %n
+appender.rolling.layout.pattern=%d{DEFAULT} | %-5level | %c{1} | %C | %msg | %throwable{3} %n
 appender.rolling.policies.type=Policies
 appender.rolling.policies.time.type=TimeBasedTriggeringPolicy
 appender.rolling.policies.time.interval=86400

and checked OM audit log:
$ docker-compose exec om bash -c 'cat /var/log/hadoop/*audit*log'
2020-11-10 13:49:53,322 | INFO  | OMAudit | ? | user=hadoop | ip=<IP_ADDRESS> | op=CREATE_VOLUME {admin=hadoop, owner=hadoop, volume=vol1, creationTime=1605016193288, modificationTime=1605016193288, quotaInBytes=-1, quotaInCounts=-1, objectID=256, updateID=1, usedBytes=0} | ret=SUCCESS |
2020-11-10 13:49:53,390 | INFO  | OMAudit | ? | user=hadoop | ip=<IP_ADDRESS> | op=CREATE_BUCKET {volume=vol1, bucket=bucket1, gdprEnabled=null, acls=[user:hadoop:a[ACCESS], group:users:a[ACCESS]], isVersionEnabled=false, storageType=DISK, creationTime=1605016193368, bucketEncryptionKey=null, modificationTime=1605016193368, usedBytes=0} | ret=SUCCESS |
2020-11-10 13:49:53,587 | INFO  | OMAudit | ? | user=hadoop | ip=<IP_ADDRESS> | op=ALLOCATE_KEY {volume=vol1, bucket=bucket1, key=vm7ozunjvq/0, dataSize=10240, replicationType=RATIS, replicationFactor=THREE} | ret=SUCCESS |
2020-11-10 13:49:57,490 | INFO  | OMAudit | ? | user=hadoop | ip=<IP_ADDRESS> | op=COMMIT_KEY {volume=vol1, bucket=bucket1, key=vm7ozunjvq/0, dataSize=10240, replicationType=RATIS, replicationFactor=ONE} | ret=SUCCESS |

We should update the PR title...

Thanks @jojochuang for reporting and reviewing this, and @elek for reviewing and committing the fix.


CMake build support

Support for building and installing with CMake.
By default static version of library is built (Fix for Windows build in pull-request).
Set CMake build-in variable BUILD_SHARED_LIBS=ON if shared library is needed.


Added Bulgarian language support (BGR)

Added Bulgarian language translation and flag gif.

Thank you very much for this work.


Fixing bibtex entries

The bib names were incorrect (rather than the md), so I've fixed them instead.


missing dse-libgraph in the package list

when installing 5.0.1-1, I get error like below at dse package installation.
chmod: cannot access ‘/usr/share/dse/graph/gremlin-console/ext/plugins.txt’: No such file or directory
in default['cassandra']['packages'] , dse-libgraph needs to be added before installing "dse" package.

And 'dse-demos' has to come after 'dse-full' in the list.


Add the shell and makemigrations options to make

Purpose
Add the shell and makemigrations options to make
Description...
In the process or doing some dev work, found that these two useful django management tools were not available through the make command.
Proposal
Add both commands

I was not aware of the commit message requirements prior to creating this pull request. I tried to fix my messages to meet the Circle-CI requirements, but have failed. Would welcome any insight.


Long topic names and per topic notification icons overlap

Fixed in https://github.com/binwiederhier/ntfy-android/commit/bd2c84838805dbc477d0ce4051f8ae8bd3c0bcb0


:zap: feat: markdown support html render

links：https://github.com/ant-design/pro-editor/issues/131
添加 rehype-raw 支持 Markdown 渲染 原生 Html 内容

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (13dd8bb) 81.51% compared to head (4ad6e1f) 81.52%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main     #133      +/-   ##
==========================================
+ Coverage   81.51%   81.52%   +0.01%
==========================================
  Files         432      432
  Lines       26897    26915      +18
  Branches     1233     1233
==========================================
+ Hits        21925    21943      +18
  Misses       4972     4972

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Fix unit tests

JUnit jupiter tests don’t run without the engine dependency. This PR adds that and fixes broken unit tets.
Signed-off-by: David Fuelling<EMAIL_ADDRESS>

closing this, as #128 was a branch of this branch


docs[patch]: Support hidden docs cells and TS validation in notebooks

CC @bracesproul

It's just some extra fs operations so probably negligible and only for docs.
Will set something up to run the validate command on new notebooks only


unable to set channel with rtl8188eu

I am using kali and was able to set the adapter to monitor mode using kimocoder driver (https://github.com/kimocoder/rtl8188eus). I can use airodump to receive packets but it is not working using hcxdumptool.
I only get this as a result:
# hcxdumptool -i wlan0 -o output.pcapng -c 1,6,11 --enable_status=1
initialization...
warning: unable to set channel 1 (removed this channel from scan list)
warning: unable to set channel 6 (removed this channel from scan list)
warning: unable to set channel 11 (removed this channel from scan list)
no available channel found in scan list

terminated...

Packet injection with aireplay is working, though:
# aireplay-ng -9 wlan0
15:37:11  Trying broadcast probe requests...
15:37:13  No Answer...
15:37:13  Found 2 APs

15:37:13  Trying directed probe requests...
15:37:13  XX:XX:XX:XX:XX:XX - channel: 11 - 'HOST1'
15:37:13  Ping (min/avg/max): 2.717ms/10.364ms/24.075ms Power: -41.67
15:37:13  30/30: 100%

15:37:13  Injection is working!

15:37:13  XX:XX:XX:XX:XX:XX - channel: 11 - 'HOST2'
15:37:13  Ping (min/avg/max): 2.921ms/9.882ms/22.017ms Power: -40.87
15:37:13  30/30: 100%

Here are the commands I've run:
# lsusb
Bus 001 Device 002: ID 2001:3310 D-Link Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

# ip link set wlan0 down
# iw dev wlan0 set type monitor
# ip link set wlan0 up
# iw dev
phy#0
	Interface wlan0
		ifindex 3
		wdev 0x1
		addr c2:67:84:6f:42:9c
		type monitor
		txpower 13.00 dBm

# hcxdumptool -I
wlan interfaces:
1062eb30659b wlan0 (rtl8188eu)
warning: NetworkManager is running with pid 441
warning: wpa_supplicant is running with pid 799

# kill 441 799
# hcxdumptool -I
wlan interfaces:
1062eb30659b wlan0 (rtl8188eu)

It looks like the driver doesn't like the way hcxdumptool set the channel by SIOCSIWFREQ.
Please run:
$ iw dev wlan0 set channel 6
followed by
$ iw dev
and post the output.

It seems to be a known issue on that dongles:
https://github.com/lwfinger/rtl8188eu/issues/203

Also please read this notice here:
https://github.com/aircrack-ng/rtl8188eus
MONITOR MODE ATTENTION
There is a bug or interferrence with the driver and/or Network-Manager, so if you wan't to use the monitor mode, DON'T kill the network-manager or use airmon-ng (infact)

Pushed an update:
https://github.com/ZerBea/hcxdumptool/commit/dd8925f0640c832ae80cf28dbc853aa50f91029e
For example:
Now hcxdumptool print the error message received from the driver inside the brackets
$ hcxdumptool -i wlp3s0f0u1 -c 14
initialization...
warning: unable to set channel 14 (Invalid argument) - removed this channel from scan list
In this case the user tried to set channel 14. The driver doesn't support this
and responds with: Invalid argument
Please update and post the error message - I'm sure it is a driver issue.

I did not know those git entries you posted and the networkmanager.conf change. After changing the conf file and rebooting I tried again. Here it goes:
# iw dev wlan0 set channel 6
# iw dev
phy#0
	Interface wlan0
		ifindex 3
		wdev 0x1
		addr 10:62:eb:30:65:9b
		type managed
		txpower 13.00 dBm

Then, I updated sources, compiled and I run:
# git pull
remote: Enumerating objects: 14, done.
remote: Counting objects: 100% (14/14), done.
remote: Compressing objects: 100% (10/10), done.
remote: Total 14 (delta 7), reused 11 (delta 4), pack-reused 0
Unpacking objects: 100% (14/14), done.
From https://github.com/ZerBea/hcxdumptool
   0637f4c..dd8925f  master     -> origin/master
Updating 0637f4c..dd8925f
Fast-forward
 changelog     | 22 ++++++++++++++++++++++
 hcxdumptool.c |  9 ++++++---
 2 files changed, 28 insertions(+), 3 deletions(-)
# make
cc -O3 -Wall -Wextra -std=gnu99  -o hcxdumptool hcxdumptool.c
# hcxdumptool -i wlan0 -c 14
initialization...
warning: NetworkManager is running with pid 433
warning: wpa_supplicant is running with pid 541
failed to set monitor mode: Operation not permitted
failed to init socket

Even though there is the "monitor mode attention" section, I had to kill network manager to set the device to monitor mode.
# kill 541
# hcxdumptool -i wlan0 -c 14
initialization...
warning: NetworkManager is running with pid 433
failed to set monitor mode: Operation not permitted
failed to init socket
# kill 433
# hcxdumptool -i wlan0 -c 14
initialization...
failed to set monitor mode: Operation not permitted
failed to init socket

And I set the device to monitor mode manually
# ip link set wlan0 down
# iw dev wlan0 set type monitor
# ip link set wlan0 up
# hcxdumptool -i wlan0 -c 14
initialization...
warning: unable to set channel 14 (removed this channel from scan list)
no available channel found in scan list

terminated...

I am puzzled because I can capture packages with airodump. It is just too manual using airodump, trying to connect to wifi networks from another device to generate the pkmid data and checking with aircrack latter if the handshakes are there.

Latest commits are not uploaded correctly, I did another git push. Please try it again
$ hcxdumptool -i wlan0 -c 1,6,11
Warning now should look like this:
warning: failed to set channel 1 (xxxxxx) - removed this channel from scan list
We need the error message in the brackets from the driver.
Also please set monitor mode by iw and then try to set channel:
$ ip link set wlan0 down
$ iw dev wlan0 set type monitor
$ ip link set wlan0 up
$ iw dev wlan0 set channel 6
$ iw dev

Please post also the output of:
$ hwinfo --wlan

Added another option: --ignore_warning
From now on, hcxdumptool will not terminate during the initalization
if another service take access on the interface. Expect problems if the service tries to change channel or hcxdumptool tries to change channel.
$ hcxdumptool -i wlp0s20f0u3 --ignore_warning
initialization...
warning: NetworkManager is running with pid 449
warning: wpa_supplicant is running with pid 498
interface is possible in use by another service
start capturing (stop with ctrl+c)
INTERFACE................: wlp0s20f0u3
ERRORMAX.................: 100 errors
FILTERLIST...............: 0 entries
MAC CLIENT...............: b4e1ebbd1fb3
MAC ACCESS POINT.........: 28ef01e8a2e7 (incremented on every new client)
EAPOL TIMEOUT............: 150000
REPLAYCOUNT..............: 62524
ANONCE...................: edbde4881adf034f909108fce3032451bf3326887c1e62065b0885e1480441b5

We have a possible similar issue in combination with NetworkManager and mt76x0 driver.
read more here:
https://github.com/openwrt/mt76/issues/216#issuecomment-470430002
That is the reason, why a run code that let hcxdumptool terminate, if NetworkManager is active.
--ignore_warning will disable this

BTW:
Please keep in mind that you are running a third party driver, which is patched from the staging driver by the aircrack-ng maintainer to work with aircrack-ng suite.

Pushed another update:
if option --ignore_warning is set, hcxdumptool doesn't check whether the interface is operational or not
(IFF_RUNNING). We only check that the interface is up (IFF_UP).
Now it should working with the modified NetworkManager.conf
[device]
wifi.scan-rand-mac-address=no
[ifupdown]
managed=false
[connection]
wifi.powersave=0
[main]
plugins=keyfile
[keyfile]
unmanaged-devices=mac:xx:xx:xx:xx:xx

Did a git pull and compiled:
# git pull
remote: Enumerating objects: 21, done.
remote: Counting objects: 100% (21/21), done.
remote: Compressing objects: 100% (17/17), done.
remote: Total 21 (delta 9), reused 12 (delta 4), pack-reused 0
Unpacking objects: 100% (21/21), done.
From https://github.com/ZerBea/hcxdumptool
   dd8925f..f126b17  master     -> origin/master
Updating dd8925f..f126b17
Fast-forward
 README.md             |  4 ++++
 changelog             | 11 +++++++++++
 hcxdumptool.c         | 45 ++++++++++++++++++++++++++++++++++-----------
 include/hcxdumptool.h |  3 ++-
 4 files changed, 51 insertions(+), 12 deletions(-)

# make
cc -O3 -Wall -Wextra -std=gnu99  -o hcxdumptool hcxdumptool.c
# make install
cc -O3 -Wall -Wextra -std=gnu99  -o hcxdumptool hcxdumptool.c
install -m 0755 -D hcxdumptool /usr/local/bin/hcxdumptool
rm -f hcxdumptool
rm -f *.o *~

Latest commits are not uploaded correctly, I did another commit. Please try it again
$ hcxdumptool -i wlan0 -c 1,6,11
Warning now should look like this:
warning: failed to set channel 1 (xxxxxx) - removed this channel from scan list
We need the error message in the brackets from the driver.

# hcxdumptool -i wlan0 -c 1,6,11
initialization...
warning: NetworkManager is running with pid 463
warning: wpa_supplicant is running with pid 785
failed to set monitor mode: Operation not permitted
failed to init socket

Also please set monitor mode by iw and then try to set channel:
$ ip link set wlan0 down
$ iw dev wlan0 set type monitor
$ ip link set wlan0 up
$ iw dev wlan0 set channel 11
$ iw dev

phy#0
	Interface wlan0
		ifindex 3
		wdev 0x1
		addr 10:62:eb:30:65:9b
		type monitor
		txpower 13.00 dBm

Please post also the output of:
$ hwinfo --wlan

# hwinfo --wlan
14: USB 00.0: 0282 WLAN controller
  [Created at usb.122]
  Unique ID: ADDn.V1buGFi11QA
  Parent ID: k4bc.NE9nepdzT05
  SysFS ID: /devices/pci0000:00/0000:00:0b.0/usb1/1-1/1-1:1.0
  SysFS BusID: 1-1:1.0
  Hardware Class: network
  Model: "D-Link DWA-123 11n Adapter"
  Hotplug: USB
  Vendor: usb 0x2001 "D-Link"
  Device: usb 0x3310 "DWA-123 11n Adapter"
  Serial ID: "1062EB30659B"
  Driver: "rtl8188eu"
  Driver Modules: "8188eu"
  Device File: wlan0
  Features: WLAN
  Speed: 480 Mbps
  HW Address: 10:62:eb:30:65:9b
  Permanent HW Address: 10:62:eb:30:65:9b
  Link detected: yes
  WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13
  WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472
  WLAN bitrates: 1 2 5.5 11
  WLAN encryption modes: TKIP CCMP
  WLAN authentication modes: open wpa-psk wpa-eap
  Module Alias: "usb:v2001p3310d0000dc00dsc00dp00icFFiscFFipFFin00"
  Driver Info #0:
    Driver Status: r8188eu is not active
    Driver Activation Cmd: "modprobe r8188eu"
  Driver Info #1:
    Driver Status: 8188eu is active
    Driver Activation Cmd: "modprobe 8188eu"
  Config Status: cfg=new, avail=yes, need=no, active=unknown
  Attached to: #13 (Hub)

Then I made a few more tests (after setting to monitor mode manually):
-Running without killing processess
# hcxdumptool -i wlan0 -c 1,6,11
initialization...
warning: NetworkManager is running with pid 463
warning: wpa_supplicant is running with pid 785
warning: unable to set channel 1 (removed this channel from scan list)
warning: unable to set channel 6 (removed this channel from scan list)
warning: unable to set channel 11 (removed this channel from scan list)
no available channel found in scan list

terminated...

-Running after killing processess
# hcxdumptool -i wlan0 -c 1,6,11
initialization...
warning: unable to set channel 1 (removed this channel from scan list)
warning: unable to set channel 6 (removed this channel from scan list)
warning: unable to set channel 11 (removed this channel from scan list)
no available channel found in scan list

terminated...

-Running with ignore_warning set
# hcxdumptool -i wlan0 -c 1,6,11 --ignore_warning
initialization...
warning: unable to set channel 1 (removed this channel from scan list)
warning: unable to set channel 6 (removed this channel from scan list)
warning: unable to set channel 11 (removed this channel from scan list)
no available channel found in scan list

terminated...

And then, changing channel with iw dev:
# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Monitor  Channel:0  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=-100 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# iw dev wlan0 set channel 11
# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Monitor  Frequency:2.462 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=-100 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# iw dev wlan0 set channel 6
# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Monitor  Frequency:2.437 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=-100 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

# iw dev wlan0 set channel 1
# iwconfig wlan0
wlan0     IEEE 802.11b  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Monitor  Frequency:2.412 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=-100 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

Ok, pushed another update, now we will retrieve the frequency, too
instead of:
warning: unable to set channel 11  (removed this channel from scan list)
we retrieve this message:
warning: unable to set channel 11 (24xx) - removed this channel from scan list
please do a git pull and test again

Ok, now I got this:
# hcxdumptool -i wlan0 -c 1,6,11
initialization...
warning: NetworkManager is running with pid 461
warning: wpa_supplicant is running with pid 951
warning: unable to set channel 1 (241200000) - removed this channel from scan list
warning: unable to set channel 6 (243700000) - removed this channel from scan list
warning: unable to set channel 11 (246200000) - removed this channel from scan list
no available channel found in scan list

terminated...

Could this be just a problem of number formatting before setting the channel?

Great, we got it.
The driver is reporting a wrong frequency! Normally we expect the frequency in MHz
1 / 2412MHz
6 / 2437MHz
11 / 2462MHz
I'll check how I can fix this.

Pushed another update: fixed issue if driver reports the frequency in Hz instead of MHz
Please try it.

Sorry for the delay. I updated kali and had to reinstall wifi driver.
Ok, now it is working.
# hcxdumptool -i wlan0 -c 1,6,11
initialization...
warning: NetworkManager is running with pid 421
warning: wpa_supplicant is running with pid 743

start capturing (stop with ctrl+c)
INTERFACE................: wlan0
ERRORMAX.................: 100 errors
FILTERLIST...............: 0 entries
MAC CLIENT...............: b0ece1a33b3b
MAC ACCESS POINT.........: 586ed6b8141f (incremented on every new client)
EAPOL TIMEOUT............: 150000
REPLAYCOUNT..............: 62517
ANONCE...................: 2c3c16c327b298a3c21280a1afd3ebcce3b52ca0e633c7f1f271dd169ce0aa48

INFO: cha=6, rx=4889, rx(dropped)=43, tx=389, powned=0, err=0
INFO: cha=11, rx=12363, rx(dropped)=195, tx=1494, powned=1, err=0

I am going to let it run for a few minutes to see if it captures a some pkmids.
Thank you.

run hcxdumptool with option -enable_status=1
and close issue if everything is working like expected.

Great. Thanks for reported that issue. Now we can mark this driver as working in combination with hcxdumptool.

I am glad that I could help.


Implement pila package

Already implement on https://github.com/fern4lvarez/piladb/tree/master/pila


fix: list/get field filter not working properly

这个 PR 实现什么功能/修复什么问题:
修正：get/list接口的field filter在未设置时非nil，导致失效
是否需要 backport 到之前的 release 分支:
None
/cc @wanyaoqi @zexi
/area region

Codecov Report

Merging #5534 into master will increase coverage by 0.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #5534      +/-   ##
==========================================
+ Coverage    6.85%    6.86%   +0.01%
==========================================
  Files         610      610
  Lines      103256   103262       +6
==========================================
+ Hits         7080     7093      +13
+ Misses      95605    95598       -7
  Partials      571      571

Flag
Coverage Δ

#aFlag
6.86% <0%> (+0.01%)
:arrow_up:

Impacted Files
Coverage Δ

pkg/cloudcommon/db/db_dispatcher.go
0% <0%> (ø)
:arrow_up:

pkg/cloudcommon/cronman/cronman.go
50.87% <0%> (+4.82%)
:arrow_up:

pkg/cloudcommon/db/lockman/fifo.go
90% <0%> (+10%)
:arrow_up:

Continue to review full report at Codecov.

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

/lgtm
/approve


abort during getline in yyfill

I'm experiencing a runtime abort with MSVC 2015 14.0.24720.00 Update 1 while attempting to read a file using the ">>" operator. The file was written by this library as well, using the "<<" operator.
A dialog appears with "abort() has been called", hitting retry drops me into the debugger.
I don't think there's anything very novel about my code:
    json document;     std::ifstream in;     in.exceptions(std::ifstream::failbit | std::ifstream::badbit);     in.open(filepath);     in >> document;
For now the work around is to read the file into a string, then call parse()
here's the data I'm trying to read
file_in_question.json.txt
Stack trace
>	bumped.exe!__GSHandlerCheck_EH(_EXCEPTION_RECORD * ExceptionRecord, void * EstablisherFrame, _CONTEXT * ContextRecord, _DISPATCHER_CONTEXT * DispatcherContext) Line 101	C
...bunch of msvc runtime...
bumped.exe!std::getline<char,std::char_traits<char>,std::allocator<char> >(std::basic_istream<char,std::char_traits<char> > && _Istr, std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Str, const char _Delim) Line 120	C++
bumped.exe!std::getline<char,std::char_traits<char>,std::allocator<char> >(std::basic_istream<char,std::char_traits<char> > & _Istr, std::basic_string<char,std::char_traits<char>,std::allocator<char> > & _Str) Line 162	C++
bumped.exe!nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,double,std::allocator>::lexer::yyfill() Line 7636	C++
bumped.exe!nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,double,std::allocator>::lexer::scan() Line 6877	C++
bumped.exe!nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,double,std::allocator>::parser::get_token() Line 8118	C++
bumped.exe!nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,double,std::allocator>::parser::parse_internal(bool keep) Line 7961	C++
bumped.exe!nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,double,std::allocator>::parser::parse() Line 7889	C++
bumped.exe!nlohmann::operator>>(std::basic_istream<char,std::char_traits<char> > & i, nlohmann::basic_json<std::map,std::vector,std::basic_string<char,std::char_traits<char>,std::allocator<char> >,bool,__int64,double,std::allocator> & j) Line 5287	C++

by the way, working from the v1.1.0 tag

Hi @kevin--, sorry about the bug. As I do not work with Windows/MSVC myself, it's difficult do dig deeper into the issue.

I'll take a crack at it this week when I get a chance

According to http://en.cppreference.com/w/cpp/string/basic_string/getline
 If no characters were extracted for whatever reason (not even the discarded delimiter), getline sets failbit and returns.

it seems like there's always a call to yyfill at the end of the stream, so if you are masking failbit, it will throw an exception.  As to why you're getting an abort(), perhaps you're using the wrong exception model?

@duncanwerner good call. If I do not set the exception mask, then I do not get the abort. Still want to look at this, because my work around of reading into the string then parsing still works. Maybe that method does not use getline.

@duncanwerner Thanks for this note. I see if I can "force" this behavior on a system where I can debug.

There are two points of failure, both related to calling std::getline

if the input file is empty (0 bytes), then the abort occurs on the first call to std::getline (2nd line of the explicit lexer(std::istream* s) noexcept constructor).
Otherwise, it happens when std::getline gets no content at the end of the file in yyfill

As I have discovered, the reason for the abort is because of the use of the noexcept specifier on all of the parser and related methods.
Per the spec ( http://en.cppreference.com/w/cpp/language/noexcept_spec ) runtimes must invoke std::terminate if an exception is being thrown through such a method. So therefore MSVC is actually acting correctly (for once).
The take away here, that I didn't really think of, is that setting failbit is inappropriate in most cases. Having read the documentation more thoroughly, it seems this failbit is more likely to give false-positives.
I have opened a pull request which adds a note to the documentation to this effect.

I merged #227.
@kevin--, is the issue fixed for you?

Yes. There was no real bug, just a clash between failbit, getline reading 0 chars, and noexcept. Though I expect you should be able to reproduce this in other compilers.


编译bpf-bootstrap失败

Xmake 版本
v2.8.2+20230916
操作系统版本和架构
Linux lin 5.19.0-45-generic #46~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Wed Jun 7 15:06:04 UTC 20 x86_64 x86_64 x86_64 GNU/Linux
描述问题
编译失败 不知道怎么解决
期待的结果
能编译minimal
工程配置
xmake f --require-bpftool=y
xmake
下面是lua配置
xmake.lua
add_rules("platform.linux.bpf")
set_license("GPL-2.0")

if xmake.version():satisfies(">=2.5.7 <=2.5.9") then
    on_load(function (target)
        raise("xmake(%s) has a bug preventing BPF source code compilation. Please run `xmake update -f 2.5.6` to revert to v2.5.6 version or upgrade to xmake v2.6.1 that fixed the issue.", xmake.version())
    end)
end

option("system-libbpf",      {showmenu = true, default = false, description = "Use system-installed libbpf"})
option("require-bpftool",    {showmenu = true, default = false, description = "Require bpftool package"})

add_requires("elfutils", "zlib")
if is_plat("android") then
    add_requires("ndk >=22.x", "argp-standalone")
    set_toolchains("@ndk", {sdkver = "23"})
else
    add_requires("llvm >=10.x")
    set_toolchains("@llvm")
    add_requires("linux-headers")
end

add_includedirs("../../vmlinux")

-- we can run `xmake f --require-bpftool=y` to pull bpftool from xmake-repo repository
if has_config("require-bpftool") then
    add_requires("linux-tools", {configs = {bpftool = true}})
    add_packages("linux-tools")
else
    before_build(function (target)
        os.addenv("PATH", path.join(os.scriptdir(), "..", "..", "tools"))
    end)
end

-- we use the vendored libbpf sources for libbpf-bootstrap.
-- for some projects you may want to use the system-installed libbpf, so you can run `xmake f --system-libbpf=y`
if has_config("system-libbpf") then
    add_requires("libbpf", {system = true})
else
    target("libbpf")
        set_kind("static")
        set_basename("bpf")
        add_files("../../libbpf/src/*.c")
        add_includedirs("../../libbpf/include")
        add_includedirs("../../libbpf/include/uapi", {public = true})
        add_includedirs("$(buildir)", {interface = true})
        add_configfiles("../../libbpf/src/(*.h)", {prefixdir = "bpf"})
        add_packages("elfutils", "zlib")
        if is_plat("android") then
            add_defines("__user=", "__force=", "__poll_t=uint32_t")
        end
end

target("minimal")
    set_kind("binary")
    add_files("minimal.c", "minimal.bpf.c")
    add_packages("linux-headers")
    if not has_config("system-libbpf") then
        add_deps("libbpf")
    end

附加信息和错误日志
[ 88%]: cache compiling.release minimal.c
/usr/bin/clang -c -Qunused-arguments -m64 -fvisibility=hidden -O3 -I../../vmlinux -Ibuild/.gens/minimal/linux/x86_64/release/rules/bpf -I../../libbpf/include/uapi -Ibuild -isystem /usr/src/linux-headers-5.19.0-45-generic/include -DNDEBUG -o build/.objs/minimal/linux/x86_64/release/minimal.c.o minimal.c
error: @programdir/modules/private/async/runjobs.lua:256: @programdir/modules/private/action/build/object.lua:91: @programdir/modules/core/tools/gcc.lua:805: In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
In file included from /usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:6:
In file included from /usr/src/linux-headers-5.19.0-45-generic/include/uapi/linux/types.h:14:
In file included from /usr/include/linux/posix_types.h:5:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/stddef.h:11:2: error: expected identifier
false   = 0,
^
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h:17:15: note: expanded from macro 'false'
#define false 0
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
In file included from /usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:6:
In file included from /usr/src/linux-headers-5.19.0-45-generic/include/uapi/linux/types.h:14:
In file included from /usr/include/linux/posix_types.h:5:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/stddef.h:12:2: error: expected identifier
true    = 1
^
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h:16:14: note: expanded from macro 'true'
#define true 1
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:15:26: error: typedef redefinition with different types ('__kernel_fd_set' vs 'struct fd_set')
typedef __kernel_fd_set         fd_set;
^
/usr/include/x86_64-linux-gnu/sys/select.h:70:5: note: previous definition is here
} fd_set;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:16:25: error: typedef redefinition with different types ('__kernel_dev_t' (aka 'unsigned int') vs '__dev_t' (aka 'unsigned long'))
typedef __kernel_dev_t          dev_t;
^
/usr/include/x86_64-linux-gnu/sys/types.h:59:17: note: previous definition is here
typedef __dev_t dev_t;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:20:15: error: typedef redefinition with different types ('u32' (aka 'unsigned int') vs '__nlink_t' (aka 'unsigned long'))
typedef u32                     nlink_t;
^
/usr/include/x86_64-linux-gnu/sys/types.h:74:19: note: previous definition is here
typedef __nlink_t nlink_t;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:26:26: error: typedef redefinition with different types ('__kernel_timer_t' (aka 'int') vs '__timer_t' (aka 'void '))
typedef __kernel_timer_t        timer_t;
^
/usr/include/x86_64-linux-gnu/bits/types/timer_t.h:7:19: note: previous definition is here
typedef __timer_t timer_t;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:30:17: error: cannot combine with previous 'bool' declaration specifier
typedef _Bool                   bool;
^
/usr/lib/llvm-14/lib/clang/14.0.0/include/stdbool.h:15:14: note: expanded from macro 'bool'
#define bool _Bool
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:46:26: error: typedef redefinition with different types ('__kernel_loff_t' (aka 'long long') vs '__loff_t' (aka 'long'))
typedef __kernel_loff_t         loff_t;
^
/usr/include/x86_64-linux-gnu/sys/types.h:42:18: note: previous definition is here
typedef __loff_t loff_t;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:107:15: error: typedef redefinition with different types ('u64' (aka 'unsigned long long') vs '__uint64_t' (aka 'unsigned long'))
typedef u64                     uint64_t;
^
/usr/include/x86_64-linux-gnu/bits/stdint-uintn.h:27:20: note: previous definition is here
typedef __uint64_t uint64_t;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:108:15: error: typedef redefinition with different types ('u64' (aka 'unsigned long long') vs '__uint64_t' (aka 'unsigned long'))
typedef u64                     u_int64_t;
^
/usr/include/x86_64-linux-gnu/sys/types.h:161:20: note: previous definition is here
typedef __uint64_t u_int64_t;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:109:15: error: typedef redefinition with different types ('s64' (aka 'long long') vs '__int64_t' (aka 'long'))
typedef s64                     int64_t;
^
/usr/include/x86_64-linux-gnu/bits/stdint-intn.h:27:19: note: previous definition is here
typedef __int64_t int64_t;
^
In file included from minimal.c:6:
In file included from build/bpf/libbpf.h:18:
In file included from ../../libbpf/include/uapi/linux/bpf.h:11:
/usr/src/linux-headers-5.19.0-45-generic/include/linux/types.h:126:13: error: typedef redefinition with different types ('u64' (aka 'unsigned long long') vs '__blkcnt_t' (aka 'long'))
typedef u64 blkcnt_t;
^
/usr/include/x86_64-linux-gnu/sys/types.h:192:20: note: previous definition is here
typedef __blkcnt_t blkcnt_t;     / Type to count number of disk blocks.  */
^
12 errors generated.
stack traceback:
[C]: in function 'error'
[@programdir/core/base/os.lua:921]:
[@programdir/modules/core/tools/gcc.lua:805]: in function 'catch'
[@programdir/core/sandbox/modules/try.lua:123]: in function 'try'
[@programdir/modules/core/tools/gcc.lua:746]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:280]:
[@programdir/core/tool/compiler.lua:278]: in function 'compile'
[@programdir/modules/private/action/build/object.lua:91]: in function 'script'
[@programdir/modules/private/action/build/object.lua:122]: in function 'build_object'
[@programdir/modules/private/action/build/object.lua:147]: in function 'jobfunc'
[@programdir/modules/private/async/runjobs.lua:232]:
[C]: in function 'xpcall'
[@programdir/core/base/utils.lua:280]: in function 'trycall'
[@programdir/core/sandbox/modules/try.lua:117]: in function 'try'
[@programdir/modules/private/async/runjobs.lua:218]: in function 'cotask'
[@programdir/core/base/scheduler.lua:404]:
stack traceback:
[C]: in function 'error'
@programdir/core/base/os.lua:921: in function 'base/os.raiselevel'
(...tail calls...)
@programdir/modules/private/async/runjobs.lua:256: in field 'catch'
@programdir/core/sandbox/modules/try.lua:123: in global 'try'
@programdir/modules/private/async/runjobs.lua:218: in upvalue 'cotask'
@programdir/core/base/scheduler.lua:404: in function <@programdir/core/base/scheduler.lua:397>

我这里可以，应该是优先用了你系统安装的 linux-headers ，但是你的 linux-headers 版本跟 bpf 代码不匹配导致。。
可以改下 xmake.lua ，add_requires("linux-headers", {system = false}) 强制走 xmake-repo 仓库的 linux-header 版本试试
  => install linux-headers 5.16.9 .. ok
configure
{
    kind = static
    arch = x86_64
    host = linux
    clean = true
    buildir = build
    ndk_stdcxx = true
    plat = linux
    ccache = true
    mode = release
}
ruki@0670fbc641d6:/mnt/xmake/tests/projects/linux/bpf/minimal$ xmake -rv
checking for the c compiler (cc) ... clang
checking for flags (-O3) ... ok
checking for flags (-DNDEBUG) ... ok
[ 20%]: compiling.bpf src/minimal.bpf.c
/usr/lib/llvm-15/bin/clang -c -Qunused-arguments -m64 -fvisibility=hidden -O3 -Ibuild/.gens/minimal/linux/x86_64/release/rules/bpf -isystem /home/ruki/.xmake/packages/l/linux-headers/5.16.9/b91d1c6942fb4a8dbe3966154df72863/include -isystem /home/ruki/.xmake/packages/l/libbpf/v0.3/1580e2873bd94b0aad0763599ebba227/include -isystem /home/ruki/.xmake/packages/l/libbpf/v0.3/1580e2873bd94b0aad0763599ebba227/include/uapi -isystem /home/ruki/.xmake/packages/l/libelf/0.8.13/6e832e45281b46079dad3aa1ffc4fb39/include -isystem /home/ruki/.xmake/packages/l/libelf/0.8.13/6e832e45281b46079dad3aa1ffc4fb39/include/libelf -isystem /home/ruki/.xmake/packages/z/zlib/v1.3/a22e9c20d1164438a547d3a64f770c7f/include -DNDEBUG -target bpf -g -O2 -D__TARGET_ARCH_x86 -o build/.gens/minimal/linux/x86_64/release/rules/bpf/minimal.bpf.o src/minimal.bpf.c
[ 40%]: cache compiling.release src/minimal.c
/usr/lib/llvm-15/bin/clang -c -Qunused-arguments -m64 -fvisibility=hidden -O3 -Ibuild/.gens/minimal/linux/x86_64/release/rules/bpf -isystem /home/ruki/.xmake/packages/l/linux-headers/5.16.9/b91d1c6942fb4a8dbe3966154df72863/include -isystem /home/ruki/.xmake/packages/l/libbpf/v0.3/1580e2873bd94b0aad0763599ebba227/include -isystem /home/ruki/.xmake/packages/l/libbpf/v0.3/1580e2873bd94b0aad0763599ebba227/include/uapi -isystem /home/ruki/.xmake/packages/l/libelf/0.8.13/6e832e45281b46079dad3aa1ffc4fb39/include -isystem /home/ruki/.xmake/packages/l/libelf/0.8.13/6e832e45281b46079dad3aa1ffc4fb39/include/libelf -isystem /home/ruki/.xmake/packages/z/zlib/v1.3/a22e9c20d1164438a547d3a64f770c7f/include -DNDEBUG -o build/.objs/minimal/linux/x86_64/release/src/minimal.c.o src/minimal.c
checking for flags (-MMD -MF) ... ok
checking for the linker (ld) ... clang++
[ 60%]: linking.release minimal
/usr/lib/llvm-15/bin/clang++ -o build/linux/x86_64/release/minimal build/.objs/minimal/linux/x86_64/release/src/minimal.c.o -m64 -L/home/ruki/.xmake/packages/l/libbpf/v0.3/1580e2873bd94b0aad0763599ebba227/lib -L/home/ruki/.xmake/packages/l/libelf/0.8.13/6e832e45281b46079dad3aa1ffc4fb39/lib -L/home/ruki/.xmake/packages/z/zlib/v1.3/a22e9c20d1164438a547d3a64f770c7f/lib -s -lbpf -lelf -lz
[100%]: build ok, spent 1.331s


Complete Kanban board for ROR group Project (Recipe App)

Link to ROR group project kanban board
The group is made of two people - Jugoslav Achkoski and Lukman Abdulkarim

Hi <STUDENT_MENTION>,
Your project is complete!  There is nothing else to say :shipit:
Congratulations! 🎉

Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.

As described in the Code reviews limits policy  you have a limited number of reviews per project (check the exact number in your Dashboard). If you think that the code review was not fair, you can request a second opinion using this form.


Feature: search package index by installer-type

It would be useful to query package index by installer-type, for example to show only portable apps and exes that can be installed in without needing elevated permissions. Since there are several installer-types this would be general solution for a variety of queries.
winget search --installer-type portable,exe,zip

Also consider making available to list command so the local inventory can be assessed:
winget list --installer-type appx,msix

There is the ability to search by tag, winget search --tag portable, but that's not robust or reliable as it only queries metadata which is free form and haphazard.
Originally posted by @maphew in https://github.com/microsoft/winget-cli/discussions/1887#discussioncomment-8338258

https://github.com/microsoft/winget-cli/issues/4003


[Custom Components] How to use custom angular components in different modules?

Hi, I just register a custom component 'RatingComponent' successfully in the forked project 'formio/angular-demo' according to the guide (https://github.com/formio/angular-formio/wiki/Custom-Components-with-Angular-Elements).

If I call registerCustomComponent(injector) in AppModule, the 'RatingComponent' works well in the 'DataComponent' but not

in the 'CustomBuilderComponent';
export class AppModule {   constructor(injector: Injector) {     registerCustomComponent(injector);   } }

If I call registerCustomComponent(injector) in FormsModule, form-builder in DataComponent  will not show the RatingComponent.
export class FormsModule { constructor(injector: Injector) {  registerCustomComponent(injector); } }

If I call registerCustomComponent(injector) in both, then I get the error ERROR Error: Uncaught (in promise): NotSupportedError: Failed to execute 'define' on 'CustomElementRegistry': the name "app-rating" has already been used with this registry Error: Failed to execute 'define' on 'CustomElementRegistry': the name "app-rating" has already been used with this registry   at CustomElementRegistry.target.<computed> [as define] (zone.js:2222)   at registerCustomFormioComponent (register-custom-component.ts:24)   at registerCustomComponent (custom-component.formio.ts:152)   at new FormsModule (forms.module.ts:46)   at Object.FormsModule_Factory [as factory] (ɵinj.js? [sm]:1)   at R3Injector.hydrate (core.js:11380)   at R3Injector.get (core.js:11201)   at core.js:11238   at Set.forEach (<anonymous>)   at R3Injector._resolveInjectorDefTypes (core.js:11238)   at resolvePromise (zone.js:1255)   at resolvePromise (zone.js:1209)   at zone.js:1321   at ZoneDelegate.invokeTask (zone.js:434)   at Object.onInvokeTask (core.js:28522)   at ZoneDelegate.invokeTask (zone.js:433)   at Zone.runTask (zone.js:205)   at drainMicroTaskQueue (zone.js:620)

Can someone help please?
Thanks

Same doubt


HHH-17743 Allow updates outside transaction

Please check https://discourse.hibernate.org/t/jakarta-persistence-transactionrequiredexception-on-query-modifying-and-transactional-methods/9042
https://hibernate.atlassian.net/browse/HHH-17743

Hi @beikov , could you please review the test case ?
I don't know why I cannot assign a reviewer

Please rebase and squash to a single commit

Hi @beikov , could you please review and let me know the next steps?

Hi @beikov. This is a showstopper bug when working with the latest version of Spring Boot and JPA.

Doing things outside a transation is never a show stopper ;)
Also, why is this targetting 6.4 and not main?  Does this not happen on main?

Hi @sebersole ,
This bug impacts all 6.x branch. I pushed it to 6.4 hoping that 6.4.5 will come out soon and we can use this. I will also merge it to main branch.

@sebersole Yes, my comment was intentionally provocative due to lack of response on what looks like a viable patch for three weeks. For reference, this shows up even when trying to execute queries from the EntityManager, even native queries. With or without @Transactional. The default deleteById works, but any other deleteBy variant hits this code path. em.getTransaction() doesn't work either because it's a managed em. It appears like our only option is to completely bypass the ORM and make queries on a raw DataSource. That option is unappealing considering a very simple patch already exists here upstream.

Sorry this takes so long, but please understand that the ORM team has it's own priorities and is not that huge to respond to every request so fast. We're all trying our best, but if you need guaranteed fast response times, consider becoming a Red Hat customer and create support tickets, because such tasks have priority over everything else that we do.

Understood. Thank you for your efforts.

Thanks @beikov for merging. Could you please let know how to push it to main branch? I have to raise a new PR?

2 PRs is fine.  Or (future) send a PR against main and we will port it to maintained branches generally

@beikov
instead of removing
getSession().prepareForQueryExecution(true)
should not be something like
getSession().prepareForQueryExecution(false)
or
getSession().prepareForQueryExecution(
				requiresTxn( getQueryOptions().getLockOptions().findGreatestLockMode() ) )

I already merged it on main.
@dreab8 the change of this PR is fine IMO, because doExecuteUpdate() is only ever called from executeUpdate() which already does the following:
getSession().checkTransactionNeededForUpdateOperation( "Executing an update/delete query" );


Running from command line

When running from command line, I would like it to read my config from package.json I tried passing the --output-dir and --package-json options, but it still requires me to type the --main option. This is what my command looks like:
web2exe-win.exe path\to\project --output-dir path\to\output --package-json
In the help section, it says that it will ignore all other optional arguments when --package-json is passed. Am I missing some arguments?

You'll pretty much need the --main option all the time. It's tricky to implement these kinds of things in the python option parser, since an argument can't really be "conditionally" required.

Closing based on inactivity. I tried to implement the --main option being optional. but it looks like it breaks a whole lot of GUI functionality.


Automate and/or deprecate this repository

Hubot has had a script generator for awhile now, so this repository isn't as necessary anymore. I could still see it being useful to poke around an example without having to setup your environment, but then again asking potential users to use the generator seems reasonable. Another option might be doing something with generator-hubot releases to update this repository afterwards.
cc @hubot-scripts/owners @bkeepers @michaelansel @bhuga

Done in https://github.com/hubot-scripts/hubot-example/issues/10

Oh hey, I'm not seeing an obvious reference for how to generate scripts with that linked generator (neither readme nor scripting.md doc).
https://github.com/github/hubot/blob/master/docs/scripting.md
https://github.com/github/generator-hubot
Am I simply missing a link?

@patcon I noticed that so filed too so filed https://github.com/github/hubot/issues/968 . I also added (briefly) instructions to the README.


Add custom plugins to texteditor

for developer it would be good when they can add custom plugins to the ckeditor or use another skin
<param name="skin" value="customskin, /bundles/..." /><!-- ckeditor use the same syntax -->
<param name="extra_plugins" value="myplugin1,myplugin2" />
<param name="extra_plugin_paths" value="/bundles/mycustombundle/...,/bundles/mycustombundle2/..." />
<param name="style_set" value="[
                {name: 'Blue Title', element: 'h2', styles: {color: 'Blue'}},
                {name: 'Red Title', element: 'h3', styles: {color: 'Red'}},
                {name: 'CSS Style', element: 'span', attributes: {'class': 'my_style'}},
                {name: 'Marker: Yellow', element: 'span', styles: {'background-color': 'Yellow'}}
            ]" />

Hint: Styleset can set directly without register over styleSet.add in CKEDITOR
config.stylesSet = [...];

What about adding color choice in the editor ?

@stefann-sasori What exactly do you mean by that?

I mean, is it able to display a colorpicker so that my client choose the color he wants for some piece of text. Something like this:

Ah, ok... Well, it depends a bit. Do you or @alexander-schranz know any good ckeditor plugin doing this? And @alexander-schranz, would that easily be embeddable?

@stefann-sasori  please try the following config:
<param name="toolbar" value='[{"name":"semantics","items":["Format"]},{"name":"basicstyles","items":["Superscript","Subscript","Italic","Bold","Underline","Strike"]},{"name":"blockstyles","items":["JustifyLeft","JustifyCenter","JustifyRight","JustifyBlock"]},{"name":"list","items":["NumberedList","BulletedList"]},{"name":"colors","items":["TextColor","BGColor"]}]' />
<param name="extra_plugins" value="justify,format,sourcearea,link,table,pastefromword,autogrow,colorbutton" />

if you want a more extended color chooser also add the colordialog to extraPlugins this will shown a more colors link the colorbutton table.

Ok thank you @alexander-schranz it works

@alexander-schranz I don't think that this is necessary. Our intention is that the text editor should be as slim as possible.

Yes but i'm now using sulu on prod and the client wants this feature. My view is that if it exists some way to extend any features, it should be documented. Clients have sometimes exotic needs.

@danrot maybe we should add an add_extra_plugins and add_toolbar parameters where he can just add new plugins and dont need to know which one exists?

@alexander-schranz Don't really know what you are talking about... But in general there's nothing to say against making these things easier, but it should not be the default. You know that it's not our philosophy to let the user change stuff like this.

@danrot e.g. for this case would be something like:
<param name="add_toolbar" value='[{"name":"colors","items":["TextColor","BGColor"]}]' />
<param name="add_extra_plugins" value="colorbutton,colordialog" />

Ah, now I know what you are talking about. I don't know if this is a good idea... I would keep it as it is. Having two different options for the same things seems a bit confusing.

ok. when I got some free time I will work on a cookbook tutorial for editor customization.


unsets proper variable

Finishing the clean up in https://github.com/facebookresearch/maskrcnn-benchmark/pull/455, unsetting the proper variable.
In general, thanks for making this so easy to install! I'd run into all kinds of versioning issues (version of Ubuntu not playing nicely with versions of CUDA/pytorch/libraries) trying to install other libraries implementing these algorithms. I'm super impressed by the quality of support, and the easy install, for this library.

And thanks for your feedback, really appreciate it! Let us know if you have any further questions / comments / feedback


Use types from in-toto

Currently we have our own definition of in-toto types. We should be able to use the types defined in github.com/in-toto/in-toto-golang/in_toto.

FYI that link does not seem to work for me


Provide a cancel option to the properties dialogues

When I change something in the dialog (e.g. change class, change relation) in Odalic UI, it is directly changed. It would be good to have the possibility to confirm the changes or withdraw (by pressing cancel or "x" in the corner of the dialog) at the end.

@tomas-knap continues (in Czech):

Nicmene toto je trochu narocnejsi, bo by bylo potreba si pamatovat puvodni stav a pripadne byt schopen resetnout do puvodniho stavu. Pripadne si pamatovat zmeny a provest je az po potvrzeni. Mozna by slo vytvorit si kopii grafu, tam delat zmeny a pak tenhle graf bud zahodit a nebo prohlasit za novy graf.

Hi, @istvan-satmari , for the 4th iteration, just try to think about it, how hard would it be to implement, what time would it take and so on...

Yes, seems like this is quite hard, @istvan-satmari please rather help Kata with her issues for iteration 4. @brodecva, move to 5th iter?

I don't think it's hard to implement... But I can't make the descision. @KataBoku directly works with the result object sent by the server, which is then mirrored by the GUI. (The binding of GUI to data is basically 1:1)
To implement this I suppose we would need to:

clone the result object and temporarily save it
provided the 'cancel' button was pressed, replace the current result object with the temporary clone

I believe it should be this simple, but I'll have to discuss with @KataBoku

Ok, thanks for investigating that! We should realize that, because it was also pointed couple of times during the workshop in September

@istvan-satmari Thanks! Assigning @KataBoku and moving to 5th iteration.

@KataBoku @istvan-satmari Reassigning beack to @istvan-satmari , as @KataBoku has alrady too much high priority issues. You can still @istvan-satmari consult her about it.

changing prio to low due to a shortage of time.
though not hard to implement from a logical point of view, will take a significant time (mainly because I would be dealing with a code that is not mine)

As we discussed, just please change the "OK" button to close and leave it as it is. Then it can be closed

overlapping with https://github.com/odalic/odalic-ui/issues/247

Seems like @KataBoku  solved this one, so closed.


Fix Style/MethodCallWithArgsParentheses autocorrect adding extra parens

If a method that would be corrected has only 1 argument and it's parenthesized already, don't add a second set of parentheses.
Code to be Autocorrected:
foo (1 + 2)

Before:
foo((1 + 2))

After:
foo(1 + 2)

Before submitting the PR make sure the following are checked:

[x] Wrote good commit messages.
[x] Commit message starts with [Fix #issue-number] (if the related issue exists).
[x] Feature branch is up-to-date with master (if not - rebase it).
[x] Squashed related commits together.
[x] Added tests.
[x] Added an entry to the Changelog if the new code introduces user-observable changes. See changelog entry format.
[x] The PR relates to only one subject with a clear title
and description in grammatically correct, complete sentences.
[x] Run rake default or rake parallel. It executes all tests and RuboCop for itself, and generates the documentation.

👍

Thank you @bbatsov!


error 504: bad gateway

Hi, localtunnel has been working for me yesterday, but today when I try to run "lt --port 8080" I get the message "504: bad gateway" when I follow the url. I know for certain that my service is running on that port (works when I go to localhost). What could be the issue?

Me too, "502 Bad Gateway", seems down.


help with bloomapi / letsencrypt-gcloud-balancer

Hello! I am found on "stackoverflow"  this question https://stackoverflow.com/questions/47337817/how-to-setup-letsencrypt-for-google-cloud-compute-engine-load-balancer. You write to solve this problem you need to use "loud function + cloud scheduler + https://github.com/bloomapi/letsencrypt-gcloud-balancer". Could you explain in more detail how exactly to run a docker file from your repository?
Thank you!

The readme at https://github.com/bloomapi/letsencrypt-gcloud-balancer/blob/master/README.md has details on how to run the container. If you have more specific questions on the readme, if something isn't working, or if something is unclear, let me know.
Will close this for now as it isn't a code issue.

For run this dockerfile, i need to creat cloud run or cloud functions ?

It sounds like you may be using this with other technologies I'm not familiar with / might not be able to help with. The instructions provided in the readme are for if you run it in docker directly -- it is already pushed to dockerhub, so you don't need to do anything with the dockerfile yourself unless you plan to change the container in some way.

I ask you to tell me what exactly needs to be created in google cloud to launch this container ?

I ask you to tell me what exactly needs to be created in google cloud to launch this container ?

The readme gives you a one-liner for doing this at the very top of it. It explains all the variables needed. If you have a specific part of the readme you're having trouble with that you can point out, I would be happy to help.
"cloud run" and "cloud functions" are not docker specific and not related to this project, so if they are technologies you wish to use, unfortunately, I will not be able to help you with them. This project was intended to be run on docker being run directly on a GCP compute instance which has been granted full API access / access to dns + certs + the lb you're working with.

The readme gives you a one-liner for doing this at the very top of it. It explains all the variables needed. If you have a specific part of the readme you're having trouble with that you can point out, I would be happy to help.
"cloud run" and "cloud functions" are not docker specific and not related to this project, so if they are technologies you wish to use, unfortunately, I will not be able to help you with them. This project was intended to be run on docker being run directly on a GCP compute instance which has been granted full API access / access to dns + certs + the lb you're working with.

Could you tell me what is the name of this docker on dockerhub?
I understand that I need to create a virtual machine, install a docker on it and then run a dockerfile?

Could you tell me what is the name of this docker on dockerhub?
I understand that I need to create a virtual machine, install a docker on it and then run a dockerfile?

It is bloomapi/letsencrypt-gcloud-balancer ... could you please read the README here... the image name is listed on the second line of it as well as gives details on all the parameters that are needed to run it successfully.

It is bloomapi/letsencrypt-gcloud-balancer ... could you please read the README here... the image name is listed on the second line of it as well as gives details on all the parameters that are needed to run it successfully.

Hello! Can you tell me how to keep this container running? After I enter docker ps, I do not see running containers

Hello! Can you tell me how to keep this container running? After I enter docker ps, I do not see running containers

If configured correctly, it will keep itself running
On Mon, Jan 11, 2021 at 3:30 AM kostukp96<EMAIL_ADDRESS>wrote:

Hello! Can you tell me how to keep this container running? After I enter
docker ps, I do not see running containers
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bloomapi/letsencrypt-gcloud-balancer/issues/5#issuecomment-757891886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA5Q34GS7HIJHJ5XUR5OKTSZLON5ANCNFSM4VPHXIUA
.

If configured correctly, it will keep itself running
On Mon, Jan 11, 2021 at 3:30 AM kostukp96<EMAIL_ADDRESS>wrote:

Hello! Can you tell me how to keep this container running? After I enter
docker ps, I do not see running containers
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/bloomapi/letsencrypt-gcloud-balancer/issues/5#issuecomment-757891886,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAA5Q34GS7HIJHJ5XUR5OKTSZLON5ANCNFSM4VPHXIUA
.

but when i run this command "docker run --env GCE_PROJECT=gcp-project-name --env<EMAIL_ADDRESS>--env TARGET_PROXY=name-of-gcp-target-https-proxy --env DOMAINS_LIST="-d domains.list -d where.each -d is.prefixed.by.a.dash.d" bloomapi/letsencrypt-gcloud-balancer" and run "docker ps" i cant see any container

but when i run this command "docker run --env GCE_PROJECT=gcp-project-name --env<EMAIL_ADDRESS>--env TARGET_PROXY=name-of-gcp-target-https-proxy --env DOMAINS_LIST="-d domains.list -d where.each -d is.prefixed.by.a.dash.d" bloomapi/letsencrypt-gcloud-balancer" and run "docker ps" i cant see any container

I'm sorry, but this sounds like we're walking through some basic docker debugging steps. If you're able to point to a specific bug or issue that was likely caused by an issue in this project, I'd be happy to help, but without direct evidence of the issue being with this project, I can't help given my own time constraints.

I'm sorry, but this sounds like we're walking through some basic docker debugging steps. If you're able to point to a specific bug or issue that was likely caused by an issue in this project, I'd be happy to help, but without direct evidence of the issue being with this project, I can't help given my own time constraints.


"Paste Automatically" changes focus to the wrong display

Steps to replicate:

enable 'paste automatically' feature in maccy preferences
bring up maccy menu on external monitor (extended display)
hit 'enter'

Expected behaviour:

text is pasted in focused textarea on the external display

Actual behaviour:

text is pasted in the other monitor (main display)

Notes:

OS: Monterey 12.3, but also experienced this on Big Sur previously
the behaviour is erratic, it goes away at times, but it's hard to predict. rebooting the machine does not seem to make a difference.

Can you tell me which application you see this behavior with? During pasting Maccy attempts to return focus to the original application but if you have multiple windows of the same app - it doesn't really know which one to choose so it delegates this choice to macOS. It's possible that sometimes it's not working correctly and I'd like to check if this is related to particular applications (e.g. Firefox which is not a native Cocoa app).
For a while, as a workaround, you can enable "Avoid taking application focus" in Maccy advanced preferences.

@p0deje I've noticed this happening with Chrome and VSCode so far.
Thanks! I'll give that a try and observe if it reoccurs.

I've tested using VS Code and Chrome on two displays and it worked fine. Can you please provide more concrete steps to reproduce the issue?

@p0deje

Open 2 Chrome windows
Place window #1 to an external monitor
Place window #2 on the main macbook screen
Bring up maccy menu on textarea in window #1 and hit enter to automatically paste (the text is pasted on a textarea in window #2 instead)

I've also just tested again to confirm that enabling "avoid taking application focus" helps prevent the above issue.

@sabrina-s I followed your steps but I still cannot reproduce the problem. Can you please share additionally the output of running defaults read org.p0deje.Maccy in Terminal.app?

Here you go:
{
    "KeyboardShortcuts_popup" = "{\\"carbonModifiers\\":768,\\"carbonKeyCode\\":9}";
    "NSWindow Frame SUStatusFrame" = "2488 1821<PHONE_NUMBER> 1117 1920 1055 ";
    "NSWindow Frame SUUpdateAlert" = "2378 1623<PHONE_NUMBER> 1117 1920 1055 ";
    "NSWindow Frame com.sindresorhus.Preferences.FrameAutosaveName" = "643 363 442 405 0 0 1728 1079 ";
    SUEnableAutomaticChecks = 1;
    SUHasLaunchedBefore = 1;
    SULastCheckTime = "2022-09-18 08:53:17 +0000";
    SUSendProfileInfo = 0;
    SUUpdateGroupIdentifier =<PHONE_NUMBER>;
    WebKitDefaultFontSize = 13;
    WebKitJavaEnabled = 0;
    WebKitJavaScriptEnabled = 0;
    WebKitPluginsEnabled = 0;
    WebKitStandardFont = "-apple-system-font";
    WebKitUserStyleSheetEnabledPreferenceKey = 1;
    WebKitUserStyleSheetLocationPreferenceKey = "/Applications/Maccy.app/Contents/Frameworks/Sparkle.framework/Resources/ReleaseNotesColorStyle.css";
    avoidTakingFocus = 1;
    enabledPasteboardTypes =     (
        "public.utf8-plain-text",
        "public.tiff",
        "public.file-url",
        "public.png"
    );
    history = {length = 42, bytes = 0x62706c69 73743030 a0080000 00000000 ... 00000000 00000009 };
    ignoredPasteboardTypes =     (
        "com.typeit4me.clipping",
        "Pasteboard generator type",
        "net.antelle.keeweb",
        "de.petermaurer.TransientPasteboardType",
        "com.agilebits.onepassword"
    );
    migrations =     {
        "2020-02-22-history-item-add-copied-at" = 1;
        "2020-02-22-history-item-add-number-of-copies" = 1;
        "2020-04-18-switch-storage-to-core-data" = 1;
        "2020-04-25-allow-custom-ignored-types" = 1;
        "2020-06-19-use-keyboardshortcuts" = 1;
        "2020-09-01-ignore-keeweb" = 1;
        "2021-02-20-allow-to-customize-supported-types" = 1;
        "2021-06-28-add-title-to-history-item" = 1;
        "2021-10-16-remove-dynamic-pasteboard-types" = 1;
        "2022-08-01-rename-suppress-clear-alert" = 1;
    };
    pasteByDefault = 1;
    removeFormattingByDefault = 1;
}

I can only think of Rectangle. Let me try to replicate the issue tomorrow and see if it goes away if I quit Rectangle.

Just quit Rectangle and tried it again with 2 VSCode windows on either screen - I was able to replicate the issue.
I don't believe I'm running something else that controls the windows.

Unfortunately, I still cannot reproduce it and I'm out of ideas on what else to try. Can you keep using "Avoid taking application focus" as a workaround?

Yup, that sounds good. Thanks!

I'm going to close this issue since there is nothing I can do about it at the moment. I'll reopen if somebody reports this too with additional details.

This bug happens everywhere with basically ANY applications and at all times, but "Avoid taking application focus" seems a good workaround.


Impossible rollback a specifc migration with target option

Hello everyone, i use cake everyday but i some problems with migrations. I have many migrations files and i want rollback only one migration so il a use --target option or -t alias but doesn't work.
someone could help me?
thanks

If you need help, please use one of our support channels. Like the slack community or the support forums :)
I'll close this ticket as the issue tracker is reserved for possible bugs or enhancements.


Changes for 7.0

[ ] openpyxl

[ ] Consider moving the jupyterbook stack back to gds_py to allow for functionality such as glue. This would involve taking from here:

https://github.com/darribas/gds_env/blob/e31156332a6921eb91db7a9fd89330320be1de24/gds_dev/Dockerfile#L117-L126
And:

Removing pip
Moving pyppeteer to the main mamba install
Moving ablog jupyter-book to the main pip install text file


module 'lkmltools' has no attribute 'grapher'

Hi,
I am getting error message: AttributeError: module 'lkmltools' has no attribute 'grapher' by running lkmltools.grapher.lookml_grapher as described on your Documentation.
It looks like the module doesn't have grapher method.

Hi @zhenliu2012
How are you running this?
This file runs OK:
$$ more test_grapher.py
from lkmltools.grapher.lookml_grapher import LookMlGrapher
LookMlGrapher({})
print("done!")
$$ python test_grapher.py
done!

as well as running this
$$ python run_grapher.py --config config/grapher/config_grapher.json
2019-09-26 16:00:39,572 INFO lookml_grapher.py extract_graph_info: Processing test/grapher_lkml/some_model.model.lkml
2019-09-26 16:00:39,574 INFO lookml_grapher.py extract_graph_info: Processing test/grapher_lkml/orphan_view.view.lkml
2019-09-26 16:00:39,575 INFO lookml_grapher.py extract_graph_info: Processing test/grapher_lkml/some_view.view.lkml
2019-09-26 16:00:39,576 INFO lookml_grapher.py extract_graph_info: Processing test/grapher_lkml/some_explore.explore.lkml
2019-09-26 16:00:39,577 INFO lookml_grapher.py extract_graph_info: Processing test/grapher_lkml/some_other_view.view.lkml
2019-09-26 16:00:39,578 INFO lookml_grapher.py run: Setting the following options: {'g': <networkx.classes.digraph.DiGraph object at 0x127407fd0>, 'filename': 'graph.png', 'title': 'test/grapher_lkml/*.lkml as of 2019-09-26', 'node_size': 500, 'label_font_size': 18, 'text_angle': 30, 'image_width': 24, 'image_height': 16}
2019-09-26 16:00:40,375 INFO lookml_grapher.py plot_graph: Graph written to graph.png

Hi @weightwatchers-carlanderson ,
I installed this package using pip
then I opened up my jupyter notebook instance and try to import grapher
but it threw me that error msg.
My workaround for this was to copy this repo lkmltools to my working directory and run it in command line:
python path_to_grapher/run_grapher.py --config config_grapher_project_name.json

@zhenliu2012 OK, thanks for the info. I will test this out.

Thanks!
On Thu, Sep 26, 2019 at 5:12 PM carl anderson<EMAIL_ADDRESS>wrote:

@zhenliu2012 https://github.com/zhenliu2012 OK, thanks for the info. I
will test this out.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ww-tech/lookml-tools/issues/6?email_source=notifications&email_token=AITV6NA3IVIXZNQA4A7L6U3QLUQS7A5CNFSM4IXHHMAKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD7W7HIA#issuecomment-535688096,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AITV6NFV5USWGQV4W4LRTC3QLUQS7ANCNFSM4IXHHMAA
.

@zhenliu2012 this issue is now fixed in 2.0.3. The code was not packaged up correctly for distribution in pypi.


Storyshots don't rerun in watch mode

To Reproduce
Steps to reproduce the behavior:
run yarn test --core --watch
edit some of the stories in examples/official-storybook
jest outputs "No tests found related to files changed since last commit."

I will check. IMO it's a bit heavy.
If I run yarn jest storyshots --watch it does watch changes though.

@igor-dv this is because in this case it switches from "only run tests related to changed files" mode (o) to "filter by a filename regex pattern" (f). Note that it reruns all the tests on each change instead of only rerunning affected tests


Local SERP

Is there a way to emulate local search for cities? Maybe put some special cookie or something else?

@andreymeretsky someon mentioned it in #24 additionally you can check https://moz.com/ugc/geolocation-the-ultimate-tip-to-emulate-local-search

Thanks for your answer. I'll try :)


Feature Request: Floating Labels

Can you add:
https://getbootstrap.com/docs/5.0/forms/floating-labels/

@danielschweiger I'm not going to add it to daisyUI. It's a Material Design pattern.
However, you can do it using Tailwind CSS JIT utilities.
example: https://play.tailwindcss.com/LlEaBvciDN
or: https://play.tailwindcss.com/gFvNyldAPJ?file=css


⚠ SceneTime has degraded performance

In 910daf2, SceneTime ($ST) experienced degraded performance:

HTTP code: 200
Response time: 3214 ms

Resolved: SceneTime performance has improved in f9b5faa after 6 minutes.


TODO [GFX]: Implement SSAO post effect

for now basic version of SSAO (in compute)

not a priority since we use ao from voxel cone tracing

closing, not going to do SSAO because I am looking toward RTAO and VCTAO is fine for now


up version of google drive tests

just upping the version on the google drive tests
probably an internal google change and not a human change.
https://github.com/googleapis/google-api-python-client/blob/7df5db27b136225b7bfb2cad041242316f55511d/tests/data/drive.json#L319

"version": {
     "type": "string",
     "description": "A monotonically increasing version number for the file. This reflects every change made to the file on the server, even those not visible to the user.",
     "format": "int64"
    },

maybe we just exclude version here?


fixed link 1 (first quote) by adding a new controller

Signed-off-by:XCVG<EMAIL_ADDRESS>

Inconsistent capitalization of "quotes" variable; fix this please


Respect OffScreenMargin for elements in chrome layer.

Close #438

@wslsj888 @JusterZhu  please hep to review

well done!

When using the OffScreenMargin property to resolve the current issue, has it been tested on different resolutions?

When using the OffScreenMargin property to resolve the current issue, has it been tested on different resolutions?

This is a fixed value, and only has a valid value on os-windows.


[Feature] Allow multipe inputs to models

This PR allows multiple inputs to models (given from their input spec)
The current models will behave in the following way:

MLP will check that all inputs have the same shape up to the last dim and cat them before feeding them to the NN
GNN will to the same
(Future) CNN will accept 2 types of inputs: images and 1-dim tensors. It will cat the images and process them and then cat them to the tensors

In this PR we move the concatenation of  actions and state (that was happening in the SAC and DDPG algorithms) to the model by directly feeding both inputs
cc @ezhang7423

Codecov Report
Attention: Patch coverage is 20.00000% with 24 lines in your changes are missing coverage. Please review.

Project coverage is 47.53%. Comparing base (e6afcf5) to head (fde1651).

Files
Patch %
Lines

benchmarl/models/mlp.py
0.00%
11 Missing :warning:

benchmarl/models/gnn.py
0.00%
9 Missing :warning:

benchmarl/models/common.py
60.00%
4 Missing :warning:

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #73       +/-   ##
===========================================
- Coverage   84.77%   47.53%   -37.24%
===========================================
  Files          69       69
  Lines        2739     2743        +4
===========================================
- Hits         2322     1304     -1018
- Misses        417     1439     +1022

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Update rate limiting

Updating rate limiting due to reddit API rules change allowing 600 requests per 10 minutes (60/min)

Looks good, thanks!


update ElsuFoundation dependency to 1.4.0

Looks like 1.4.0 is the latest available at https://github.com/ssdhaliwal/ElsuFoundation/tags . I also don't see a 1.0.0 release there.

looks like this was fixed in master. closing


replseqmem/inferRW generates needless extra modules

In Chisel and Firrtl I have a circuit that creates identical SeqMem/smem's in multiple distinct modules and in the resulting verilog I end up with a bunch of modules that contain the memories each named differently.
This is just a nice to have not some high priority issue. In chisel2 this did not happen.

Can you give me a Chirrtl snippet of a circuit that does that and your expected instance/module names? I can optimize that.


BUG: Cannot build SciPy on x86 Mac due to gfortran lib location problem

Describe your issue.
I am trying to build SciPy from source on a x86_64 MacOS 12.6.3 using these instructions:
https://docs.scipy.org/doc/scipy-1.9.1/dev/contributor/osx.html
I installed gfortran from the att.com site.
The issue is apparently that the SciPy builder only looks for libgfortran.5.dylib in /usr/lib/. I tried export FLIBS="/usr/local/gfortran/lib" but that didn't make a difference. That makes sense because when I searched the source code, I couldn't find the location gfortran being settable by an environment variable.
Reproducing Code Example
python dev.py test

Error message
I get this error message (repeated, here's a typical example):

    from . import _arpack
E   ImportError: dlopen(/Users/alexszatmary/Dropbox/code/scipy/build-install/li
b/python3.11/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-31
1-darwin.so, 0x0002): Library not loaded<EMAIL_ADDRESS>E     Referenced from: '/Users/alexszatmary/Dropbox/code/scipy/build-install/li
b/python3.11/site-packages/scipy/sparse/linalg/_eigen/arpack/_arpack.cpython-31
1-darwin.so'
E     Reason: tried: '/usr/lib/libgfortran.5.dylib' (no such file)

### SciPy/NumPy/Python version and system information

```shell
SciPy version not shown:

import sys, numpy; print(numpy.__version__, sys.version_info)
1.25.1 sys.version_info(major=3, minor=11, micro=4, releaselevel='final', seria
l=0)

What version of scipy are you trying to build? The most recent release? from main? More recent versions have instructions that are easier to follow.
When I build and use from source (when I'm doing development work) I sometimes come across something similar. I think I set one of DYLD_LIBRARY_PATH, DYLD_FALLBACK_LIBRARY_PATH, PATH, but I can't remember which off the top of my head.

I'm building from main. I'm wanting to become a contributor. I found the dev version of the build from source guide—thanks for the tip. export DYLD_LIBRARY_PATH="/usr/local/gfortran/lib" fixed things! Thanks!
So should anything change? I'm not familiar with the build tools but I think something should look in more reasonable locations on modern MacOS; in recent versions, I think it's not possible for users to install to just /usr. The build tools could at least check for the environment variable and act on it if set. The guide recommends installing gfortran using brew—I don't think that would solve the problem as gfortran would wind up in /opt/homebrew/Cellar.

On modern macOS and non intel, there should be no issues following our most recent instructions and recommendations: use a conda env and use dev.py.
Looks like we can close the issue. Thanks all

So should anything change? I'm not familiar with the build tools but I think something should look in more reasonable locations on modern MacOS;

Location of dylibs is only an issue on a development machine. It shouldn't be an issue when installing a wheel, because we "delocate" all the library locations when repairing the wheel.
On a dev machine it shouldn't be an issue when using dev.py to run tests. It may only bite you when you add the build directory to PYTHONPATH then start up an interpreter.

On modern macOS and non intel, there should be no issues following our most recent instructions and recommendations: use a conda env and use dev.py.

I'm not sure that's the case. I don't have issues when using dev.py to run tests. However, if I add build-install to PYTHONPATH and try to use scipy from an interpreter I get the OP messages, which I compensate for by using DYLD_LIBRARY_PATH.

Yes but that's not a recommended workflow that we describe in our guides.

This kind of workflow is required

I am not sure what you are doing, I always do the following without any issue (conda, dev.py):
export PYTHONPATH=.../build-install/lib/python3.11/site-packages:

Also using python dev.py shell/ipython should do the same.

I got things working by setting the environment variable so I'm set. However, it may still be worth making some kind of change. I went back and made sure I followed the exact steps in the dev version of the docs:
https://scipy.github.io/devdocs/building/index.html#building-from-source
I'm using the Apple developer tools and the python.org installer as before. I uninstalled gfortran from before and instead used homebrew to install it, as recommended in that guide. I have the same issue as before. Setting DYLD_LIBRARY_PATH (to the location that homebrew puts libgfortran.5.dylib) resolves the issue.


Crash when you move a sprite into a Node2D that already has a node with the same name

Godot version:
3.2.1 stable
OS/device including version:
Windows 10
Issue description:
If you try to move a sprite into a node that already has a node/sprite with the same name, then I get a hard crash every time.
Steps to reproduce:
Make a scene that has the same hierarchy as in the image and move "sprite1" to the top Node2D.

I can't reproduce this on Godot 3.2.2. After dragging the bottom Sprite onto the root Node2D (or just below it), I get the following structure:

Have you tried reproducing this on 3.2.2?

We just tried it in 3.2.2 and it still crashes on Windows but not on Linux. So it might be a Windows problem.

With Windows 10, I'm not able to reproduce it either in 3.2.2 stable.

I recorded a video just to show that I am not totally crazy ;)
Godot322_Crash_20_07_2020.zip

This bug is still present for me in 3.2.2 Stable and I can reproduce it consistently. It amazes me that no one else seems to be having this issue.. especially when it's so easy for me to reproduce.

Can't reproduce on Linux nor Windows with a build from the latest 3.2 branch.
It might be due to your local project or editor configuration. Could you share:

Exact project used to reproduce the issue.
%APPDATA%/Godot/projects/<project name>-<hash>/.
%APPDATA%/Godot/editor_settings-3.tres.

Here is the Error message (could not take screenshot, so bad photo instead)
ERROR: operator []: FATAL; Index p_index = 0 is out of bounds (size() = 0).
At: ./core/list.h:455

Here are the project files:
Project NameCrash.zip
Hash NameCrash-d52c8366f67172c269e01c44b31510c9.zip
Editor settings editor_settings.zip

Editor settings editor_settings.zip

I think that's your Godot 2 settings :)
The file for Godot 3.x is called editor_settings-3.tres.

Your right, I didn't spot the other one :)
editor_settings-3.zip

Great, I can reproduce the crash on Linux with your editor settings.
ERROR: operator[]: FATAL: Index p_index = 0 is out of bounds (size() = 0).
   At: ./core/list.h:469.
handle_crash: Program crashed with signal 4
Dumping the backtrace.
-- END OF BACKTRACE --
Aborted (core dumped)

The culprit is:
editors/animation/autorename_animation_tracks = false

Seems like this has impact beyond animations.

Good find akien, I will look forward to 4.0 then 👍


[ISSUE #3883] Inner class DefaultLitePullConsumerImpl.ConsumeRequest may be '…

#3883

Codecov Report

Merging #3884 (59b5847) into develop (b606d9c) will decrease coverage by 0.21%.
The diff coverage is n/a.

@@              Coverage Diff              @@
##             develop    #3884      +/-   ##
=============================================
- Coverage      47.53%   47.31%   -0.22%
+ Complexity      4931     4905      -26
=============================================
  Files            633      633
  Lines          42497    42497
  Branches        5579     5579
=============================================
- Hits           20201    20109      -92
- Misses         19798    19882      +84
- Partials        2498     2506       +8

Impacted Files
Coverage Δ

...ent/impl/consumer/DefaultLitePullConsumerImpl.java
69.13% <ø> (-0.18%)
:arrow_down:

.../broker/subscription/SubscriptionGroupManager.java
64.70% <0.00%> (-16.48%)
:arrow_down:

...va/org/apache/rocketmq/store/FlushDiskWatcher.java
81.25% <0.00%> (-9.38%)
:arrow_down:

...org/apache/rocketmq/store/ha/WaitNotifyObject.java
66.07% <0.00%> (-5.36%)
:arrow_down:

...apache/rocketmq/remoting/netty/ResponseFuture.java
85.00% <0.00%> (-5.00%)
:arrow_down:

...rocketmq/remoting/netty/NettyRemotingAbstract.java
46.88% <0.00%> (-4.03%)
:arrow_down:

...ava/org/apache/rocketmq/test/util/VerifyUtils.java
46.26% <0.00%> (-2.99%)
:arrow_down:

...lient/impl/consumer/DefaultMQPushConsumerImpl.java
40.17% <0.00%> (-2.29%)
:arrow_down:

...e/rocketmq/remoting/netty/NettyRemotingServer.java
57.34% <0.00%> (-1.90%)
:arrow_down:

.../rocketmq/broker/filter/ConsumerFilterManager.java
72.19% <0.00%> (-1.80%)
:arrow_down:

... and 21 more

Continue to review full report at Codecov.

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

Coverage decreased (-0.009%) to 51.542% when pulling 59b5847e70837c592e1fc0861af455725ebb0143 on wangdi761:issue-3883 into b606d9c638c2b9bf018d9a9968fdc9e5d6acf07f on apache:develop.

Best to keep it in the status quo.


Metric engine ingestion performance degradation

What type of bug is this?
Performance issue
What subsystems are affected?
Storage Engine
Minimal reproduce step
Run prometheus benchmark against latest commit.
What did you expect to see?
The same ingestion performance as v0.7
What did you see instead?
With v0.7 we can get ingestion rate at 600k points per second, while witglatest commit it's only roughly 400k.

What operating system did you use?
NA
What version of GreptimeDB did you use?
latest
Relevant log output and stack trace
No response

That's possibly introduced by some configuration change in recent commits.

The peak throughputs are similar, would some flush-related job cause it?

The peak throughputs are similar, would some flush-related job cause it?

It's caused by fork_dictionary_bytes. I'll draft a pr to fix this.


[DOCS] Update project images in README.md

After #358 , the website design was completely reworked, update the new website design in the images in README.md

Hey @KendallDoesCoding I would like to work on this issue. Can u please assign it to me.

Hey @KendallDoesCoding I would like to work on this issue. Can u please assign it to me.

I was working on this, but sure.

Hey @KendallDoesCoding I am sorry for being inactive as I was having my midsem exams can you mention what exactly are the changes you want me to make,

Hey @KendallDoesCoding I am sorry for being inactive as I was having my midsem exams can you mention what exactly are the changes you want me to make,

@mnik7044 - No worries. Hope you did well in your exams!
Following are the changes required to be done:

Click screenshots of:

Landing Page (Light Mode)
Landing Page (Dark Mode)
Photo Gallery
Songs with Lyrics
Recommended Songs

Upload images in Screenshots Directory replacing the old ones.
Uncomment # Images From Website section in README.md, and it should show the newly added pictures.

Once done, please make a PR and I'll review it!
Let me know if you need any help.
Thanks,
Kendall

Hey @KendallDoesCoding Did the same and raised a PR please review it.


[Bug Fix] gke: enable basic auth when client cert is enabled

Signed-off-by: hasheddan<EMAIL_ADDRESS>
Description of your changes

Currently the v1beta1 GKECluster is not usable from Crossplane due to the fact that the client certificate that is issued by GKE does not contain cluster-admin privileges. Basic auth with username / password is automatically enabled in v1alpha3 GKECluster, which makes it impossible to turn off. This update enables basic auth only when a user requests issueClientCertificate: true. It does not change the API but ensures that connection is possible while still providing the ability to lock down a cluster by not issuing a client certificate or enabling basic auth. Importantly, this update does tightly couple issuance of the client cert and enabling of basic auth.
If merged, this should be backported to release-0.4 and patch release v0.4.1 should be created.
Fixes #128
References:
https://crossplane.slack.com/archives/CEG3T90A1/p1578059370045600
https://github.com/kubernetes/kubernetes/issues/65400
https://issuetracker.google.com/u/0/issues/111101728
To test this fix I have done the following:
Dynamically provisioned a GKE cluster with issueClientCertificate: true and verified that basic auth is enabled and username / password are included in the connection secret:
apiVersion: compute.crossplane.io/v1alpha1
kind: KubernetesCluster
metadata:
  name: app-kubernetes
spec:
  classSelector:
    matchLabels:
      example: "true"
  writeConnectionSecretToRef:
    name: k8scluster
---
apiVersion: container.gcp.crossplane.io/v1beta1
kind: GKEClusterClass
metadata:
  name: gkecluster-standard
  labels:
    example: "true"
specTemplate:
  forProvider:
    location: us-central1 # indicates regional cluster
    masterAuth:
      clientCertificateConfig:
        issueClientCertificate: true
  writeConnectionSecretsToNamespace: crossplane-system
  providerRef:
    name: gcp-provider
  reclaimPolicy: Delete

Dynamically provisioned a GKE cluster with masterAuth omitted and verified that basic auth is not enabled and username / password are not included in the connection secret:
apiVersion: compute.crossplane.io/v1alpha1
kind: KubernetesCluster
metadata:
  name: app-kubernetes-omit
spec:
  classSelector:
    matchLabels:
      omit: "true"
  writeConnectionSecretToRef:
    name: omitk8scluster
---
apiVersion: container.gcp.crossplane.io/v1beta1
kind: GKEClusterClass
metadata:
  name: gkecluster-omit
  labels:
    omit: "true"
specTemplate:
  forProvider:
    location: us-central1 # indicates regional cluster
  writeConnectionSecretsToNamespace: crossplane-system
  providerRef:
    name: gcp-provider
  reclaimPolicy: Delete

Dynamically provisioned a GKE cluster with issueClientCertificate: false and verified that basic auth is not enabled and username / password are not included in the connection secret:
apiVersion: compute.crossplane.io/v1alpha1
kind: KubernetesCluster
metadata:
  name: app-kubernetes-noauth
spec:
  classSelector:
    matchLabels:
      noauth: "true"
  writeConnectionSecretToRef:
    name: noauthk8scluster
---
apiVersion: container.gcp.crossplane.io/v1beta1
kind: GKEClusterClass
metadata:
  name: gkecluster-noauth
  labels:
    noauth: "true"
specTemplate:
  forProvider:
    location: us-central1 # indicates regional cluster
    masterAuth:
      clientCertificateConfig:
        issueClientCertificate: false
  writeConnectionSecretsToNamespace: crossplane-system
  providerRef:
    name: gcp-provider
  reclaimPolicy: Delete

I have also scheduled KubernetesApplications to both the first and second examples above (after also provisioning node pools) and have confirmed that scheduling is successful for the first and fails for the second.
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[x] Updated any relevant documentation, examples, or release notes.
[x] Updated the dependencies in app.yaml to include any new role permissions.

@hasheddan Would it be possible to instead expose the master username (but not password) in our spec, and automatically generate a master password only if and when a master username is specified? This might be a little less surprising than automatically enabling basic auth when cert auth is enabled, but would still allow users to provision a cluster they can authenticate to by explicitly enabling basic auth and/or cert auth.

@negz yes that would certainly be possible. The only downside to that is that it does change the API. However, since it is purely additive I don't believe it would require a version bump?

However, since it is purely additive I don't believe it would require a version bump?

That's my understanding. It would be additive and not change existing behaviour, and thus be backward compatible.

@negz updates have been made. I also ran the same set of tests but with this additional configuration:
---
apiVersion: compute.crossplane.io/v1alpha1
kind: KubernetesCluster
metadata:
  name: app-kubernetes-basicauth
  labels:
    basicauth: "true"
spec:
  classSelector:
    matchLabels:
      basicauth: "true"
  writeConnectionSecretToRef:
    name: basicauthk8scluster
---
apiVersion: container.gcp.crossplane.io/v1beta1
kind: GKEClusterClass
metadata:
  name: gkecluster-basicauth
  labels:
    basicauth: "true"
specTemplate:
  forProvider:
    location: us-central1 # indicates regional cluster
    masterAuth:
      username: myCoolUser
  writeConnectionSecretsToNamespace: crossplane-system
  providerRef:
    name: gcp-provider
  reclaimPolicy: Delete

I confirmed that myCoolUser was set as username and basic auth was enabled. I also confirmed that a KubernetesApplication could be successfully scheduled to the cluster. Lastly, I confirmed that only asking for a client certificate would not enable basic auth and provisioning would fail.

@hasheddan I was thinking we'd generate and set a random password if the admin user was specified. It seems that instead we submit only the username. What does this mean for basic auth - is it possible to authenticate by specifying the admin username and an empty password?

@negz yep! If you provide a username and do not provide a password, GCP automatically generates it and then we propagate it back in the connection Secret.

This works! Thank you @hasheddan !

@vadasambar glad to hear that! #133 will make this available in the next patch release :)


Cleanup and health check

Description
Removed code belonging to the Weather Forecast example and added proper health check endpoint
References

#579

praise: Nice! Didn't know dotnet has a built-in health check service 💪