x/tools/gopls: "go list" leaks in CPU usage

Issue Type: Bug
Happens over time, not sure how to reproduce it currently. I will see in the next few days if its reproducible. Happened since a few weeks, so the last VSCode update is not causing it.
Extension version: 0.16.1
VS Code version: Code 1.48.0 (db40434f562994116e5b21c24015a2e40b2504e6, 2020-08-13T08:03:27.059Z)
OS version: Darwin x64 19.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz (8 x 2400)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
3, 3, 3

Memory (System)
16.00GB (1.69GB free)

Process Argv
-psn_0_143415485

Screen Reader
no

VM
0%

See htop:

The full command which is causing the high CPU usage
go list -modfile=/var/folders/nq/zpr698s164v26n4v45mfkzw80000gq/T/go.3ca87dc125e97a69f07220750af22332c34224f1.022321034.mod -e -json -compiled=true -test=true -export=false -deps=true -find=false -modfile=/var/folders/nq/zpr698s164v26n4v45mfkzw80000gq/T/go.3ca87dc125e97a69f07220750af22332c34224f1.022321034.mod -- github.com/mxschmitt/playwright-golang

Go version: 1.14.7 darwin/amd64
Since the process is directly launched under launchd - and by that not a subprocess, I'm not fully sure if this is related to this Visual Studio Code extension. Also if I close it, it stays open. I don't use any other Go editor, only command line tools for "go run" and "go test".
Related: https://github.com/golang/go/issues/39116

This go list call looks like it's coming from the language server, so transferring this issue to that issue tracker.
The next time you see this, please upload your gopls logs as well. Instructions on how to capture them here.
In this case, did the github.com/mxschmitt/playwright-golang package exist?

Thanks! Yep it does exist on my local machine. I enabled debug logs on the language server and upgraded additionally to Go 1.15. I keep you updated here in this issue 👍

I'll close it for now, seems like the newest update has fixed it (worked around 3 working days with it without any issues). Thanks!


fix: get contract listeners api query issue fixed, name added to the …

…query factory
Signed-off-by: Erkan Ercan<EMAIL_ADDRESS>Issue #1102

Hey @erkanercan, thanks for the PR! The build is failing due to the swagger not being updated, can you run make reference?

Hi, @shorsher I've run and created the new swagger interface. I guess the build will be fine now.

Codecov Report

Merging #1103 (6722af2) into main (61f1a7e) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1103   +/-   ##
=======================================
  Coverage   99.95%   99.95%
=======================================
  Files         308      308
  Lines       20467    20467
=======================================
  Hits        20457    20457
  Misses          8        8
  Partials        2        2

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


adding subcommand to invocation_args_dict

Adds versioning and subcommand to invocation_args_dict section
Resolves #3727

closing pr in lieu of pr https://github.com/dbt-labs/docs.getdbt.com/pull/3756#pullrequestreview-1533068126 opened by Doug, which incorporates these changes


Response status=401 Unauthorized

I download the source code and try to run it on my local, Kafka and zookeeper are also installed on my localhost. I found the following error message when I try to send message via Kafka producer.

916 [default-akka.actor.default-dispatcher-4] DEBUG org.apache.kafka.clients.producer.internals.Metadata  - Updated cluster metadata version 1 to Cluster(nodes = [Node(localhost, 9092)], partitions = [])
1372 [default-akka.actor.default-dispatcher-4] DEBUG org.apache.kafka.clients.producer.KafkaProducer  - Kafka producer started
1372 [kafka-producer-network-thread | producer-1] DEBUG org.apache.kafka.clients.producer.internals.Sender  - Starting Kafka producer I/O thread.
[INFO] [05/17/2017 15:39:56.354] [default-akka.actor.default-dispatcher-3] [akka://default/user/$b] Sending query request to https://stream.twitter.com/1.1/statuses/filter.json?track=Hello
36070 [default-akka.actor.default-dispatcher-3] INFO core.OAuth$  - request HttpEntity(application/x-www-form-urlencoded,track=Hello)
[INFO] [05/17/2017 15:41:15.755] [default-akka.actor.default-dispatcher-4] [akka://default/user/$b] Response status=401 Unauthorized
[ERROR] [05/17/2017 15:41:15.773] [default-akka.actor.default-dispatcher-4] [akka://default/user/$b] Request failed, backoff=10
[INFO] [05/17/2017 15:41:15.804] [default-akka.actor.default-dispatcher-5] [akka://default/system/IO-TCP/selectors/$a/0] Message [akka.io.Tcp$Write] from Actor[akka://default/user/IO-HTTP/group-0/0#-1297152897] to Actor[akka://default/system/IO-TCP/selectors/$a/0#1959660077] was not delivered. [1] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [05/17/2017 15:41:15.805] [default-akka.actor.default-dispatcher-5] [akka://default/system/IO-TCP/selectors/$a/0] Message [akka.io.Tcp$ConfirmedClose$] from Actor[akka://default/user/IO-HTTP/group-0/0#-1297152897] to Actor[akka://default/system/IO-TCP/selectors/$a/0#1959660077] was not delivered. [2] dead letters encountered. This logging can be turned off or adjusted with configuration settings 'akka.log-dead-letters' and 'akka.log-dead-letters-during-shutdown'.
[INFO] [05/17/2017 15:41:25.848] [default-akka.actor.default-dispatcher-3] [akka://default/user/$b] Sending query request to https://stream.twitter.com/1.1/statuses/filter.json?track=Hello
151897 [default-akka.actor.default-dispatcher-3] INFO core.OAuth$  - request HttpEntity(application/x-www-form-urlencoded,track=Hello)

This issue was already fixed!

how?


Can't Build FairPlay-ksm

I can't build the library with Eclipse.
It seems it missing following class:

FpsCertificate
SpcEncryptedSkR1
TllvBlockIndex
ClientPlaybackContext
StreamingIndicator

Please help recheck.

Fixed


Renable phpcs

We had to disable phpcs because Magento starting requiring extra things that we're not in a position to add right now. We should fix the PHP CS warnings. and then reenable.

https://github.com/astorm/pestle/commit/341a8b5790af9d007af064349bc7c7c10464d6b1


runner to executor grpc connection issue

I quite frequently got the following kind of error messages in one environment and not the other:
runner heartbeat to [::]:16198: runner => executor [::]:16198: rpc error: code = Unavailable desc = grpc: the connection is unavailable
...
runner reportStatus to [::]:44223: runner => executor [::]:44223: rpc error: code = Unavailable desc = grpc: the connection is unavailable

As I look into the code, I found that the grpc connection is closed within 50 ms without knowing if the function has finished its job with the grpc connection. I presume this could be the cause. Would it be safer to call the grpcConection.Close() after the return of fn(client) execution?
gio/runner_grpc_client_to_executor.go:

func withClient(server string, fn func(client pb.GleamExecutorClient) error) error {
	if server == "" {
		return nil
	}

	grpcConection, err := grpc.Dial(server, grpc.WithInsecure())
	if err != nil {
		return fmt.Errorf("executor dial agent: %v", err)
	}
	defer func() {
		time.Sleep(50 * time.Millisecond)
		grpcConection.Close()                  // The connection could possibly be closed prematurely
	}()
	client := pb.NewGleamExecutorClient(grpcConection)

	return fn(client)
}

I attempted to verify the fix in my environment, but I don't know how to redirect the original gleam package to my fork without breaking all the imports and build a fresh gleam binary using my fork. Working on it...

Actually it has nothing to do with the defer statement, the closing is assured to be called after the execution of fn anyway...
However I've fixed the issue by making some adjustments to the grpc stuff. Please consider the pull request #81 if anybody else is experiencing the same issue.


Window switching with ⌘ + #

A lot of terminals on OSX let you switch between windows with ⌘ + 1, 2, 3 etc. I'd love this functionality in Hyperterm.

@icco weird, this seems to work for me on OSX 10.10.

@icco works for me too en OSX

For me, Hyperterm switches between tabs, not windows with those keys. OSX 10.11.5, Hyperterm 0.5.0. ⌘ + ~ still switches between windows as expected.

Well, yes. That's the usually expected behaviour. At least on most apps works this way, even browsers.

Terminal.app works the way I proposed above. iTerm.app lets you choose, and yes Chrome and Safari work the way HyperTerm does now.

Oh, didn't knew about that behaviour in Terminal.app. Well probably it should let you choose.

iTerm has a nice option of letting you choose.

This works in the most recent Hyper. Please re-open if not.

@CodeTheory  The issue is still the case. The cmd-[0-9] switch between tabs.

Odd @ppot. Works for me 😟

Open 2 windows and 2 tabs. For me it switch between tabs 😞

Ah, I completely misunderstood the issue. It's 2am here 😂.

it's okay haha

cmd+# is supposed to change tabs within the current instance of the app;
cmd+`  is supposed to cycle through the instances of the app;
This is the default behavior on macOs (e.g. Safari, Chrome).
Is the proposal here to change that default or to enable custom key mapping, like iTerm does? If it is the latter, see #925.

@gabrielizaias it may be default for browsers, but that's not how the default terminal app works. Either way, having this as a configurable option would be useful 🙂


Added CSVFunctions.swift

Verified that no lines were removed outside of one empty line and the sandboxing line being replaced with another sandboxing line.
Added lines are regarding CSVFunctions and the button created to test it.

Great work! Looking forward to this.


add material minimal design system

This definitely has to be added 💪

@alexpate any updates on this? :)

Thanks for adding this!


Update RawTherapee to 4.2.21

According to http://rawtherapee.com/downloads , a Yosemite version is available. We should set that as the url, or add a conditional to cover older OS X releases.

Now that I notice, is there a reason to favor the development release (4.2.21) over the recommended stable (4.2.1)?

Merging the dev release, under the assumption that it was an intentional choice. OS X compatibility will be addressed in another PR.


AttributeError: module 'ffmpeg' has no attribute 'probe'

Not sure what's happening here but on a fresh install of ffmpeg-python I get a no attribute effor for probe when trying out https://github.com/kkroening/ffmpeg-python/blob/master/examples/tensorflow_stream.py
Steps taken

removed all FFmpeg packages (pip3 uninstall FFmpeg ffmpeg-python)
reinstalled ffmpeg-python using pip3
Tried installing via git on master
Even tried to see what attributes were getting pulled in with an added print(dir(FFmpeg) and probe isn't showing up

python environment
➜ brew info python3
python: stable 3.7.7 (bottled), HEAD
Interpreted, interactive, object-oriented programming language
https://www.python.org/
/usr/local/Cellar/python/3.7.7 (4,106 files, 62.9MB) *
  Poured from bottle on 2020-05-11 at 14:57:55
From: https://github.com/Homebrew/homebrew-core/blob/master/Formula/python.rb
==> Dependencies
Build: pkg-config ✔
Required: gdbm ✔<EMAIL_ADDRESS>✔, readline ✔, sqlite ✔, xz ✔
==> Options
--HEAD
        Install HEAD version
==> Caveats
Python has been installed as
  /usr/local/bin/python3

Any ideas on how to get around this? Thanks in advance :)

For what it's worth I've installed this package in the past few days and the probe works fine.
Maybe take a look at the installed package ('ffmpeg') in your Python install folder?
Also what's the exact code you're running to repro the issue?

The code I'm running is exactly the tensorflow stream example in [tensorflow-stream] (https://github.com/kkroening/ffmpeg-python/blob/master/examples/tensorflow_stream.py) example in the repo
The command I'm running:
python3 ffmpeg.py <videofile> ffmpeg.out
Error:
AttributeError: module 'ffmpeg' has no attribute 'probe'
looking at my site_packages
python3.7/site-packages/ffmpeg_python-0.2.0.dist-info
➜ cat RECORD
ffmpeg/__init__.py,sha256=lfQljtXsoPMlZXxU5edDj_ob1NQW0qX6eplcvtNYwzU,434
ffmpeg/__pycache__/__init__.cpython-37.pyc,,
ffmpeg/__pycache__/_ffmpeg.cpython-37.pyc,,
ffmpeg/__pycache__/_filters.cpython-37.pyc,,
ffmpeg/__pycache__/_probe.cpython-37.pyc,,
ffmpeg/__pycache__/_run.cpython-37.pyc,,
ffmpeg/__pycache__/_utils.cpython-37.pyc,,
ffmpeg/__pycache__/_view.cpython-37.pyc,,
ffmpeg/__pycache__/dag.cpython-37.pyc,,
ffmpeg/__pycache__/nodes.cpython-37.pyc,,
ffmpeg/_ffmpeg.py,sha256=Z-G24D7-BnKyzhX35n1KoSXaKXb1E3xiA1gr6NqDZb8,3097
ffmpeg/_filters.py,sha256=jW1yfAnzJg2RFKMEr4gIahp_oir7W7znl3Jb7ywcoPk,22017
ffmpeg/_probe.py,sha256=Gfn731RHjfVE9rjRaDN_hKITZb7nNHB43bGLPsdB2Mg,905
ffmpeg/_run.py,sha256=w098xqBFAG_9u4q7BDy2FNeRx9DupJYXLoJE-p6Cf7c,11350
ffmpeg/_utils.py,sha256=c0LNTBenBt4n-FsobyHIIjypDRvy5hJ4yv4KZtN6-_c,2673
ffmpeg/_view.py,sha256=6Yi2nyjFWBsLx0VX9t0F5WT2cAcGHBtEVrV_Pp6j5UM,3262
ffmpeg/dag.py,sha256=DU2kOPnmIz2m41wQIcnO0RSzvlrhCHK2lPAgEZVWaLo,7763
ffmpeg/nodes.py,sha256=ro9rL-vBtoR_FqI9043_CLS-hPZPNi9a5RDjK2v7ntM,12636
ffmpeg_python-0.2.0.dist-info/INSTALLER,sha256=zuuue4knoyJ-UwPPXg8fezS7VCrXJQrAP7zeNuwvFQg,4
ffmpeg_python-0.2.0.dist-info/LICENSE,sha256=QIFeDfj2aTG_kTxroa9q4H9qRjKQr5o0W8cUVrUZ_MI,11343
ffmpeg_python-0.2.0.dist-info/METADATA,sha256=UbzWNXAJP6bRxFQTw4OfxBPIXxgmKKUXDXbtIdaL4pQ,1733
ffmpeg_python-0.2.0.dist-info/RECORD,,
ffmpeg_python-0.2.0.dist-info/WHEEL,sha256=S8S5VL-stOTSZDYxHyf0KP7eds0J72qrK0Evu3TfyAY,92
ffmpeg_python-0.2.0.dist-info/top_level.txt,sha256=z628G4f1qm1oii2XkgEn5nrm9Po8Lc5pEIqe96eodlk,7

And since the probe function seems to depend on ffprobe I tested to make sure It's working on the same machine:
➜ ffprobe ~/Desktop/test.mp4
ffprobe version 4.2.2-tessus  https://evermeet.cx/ffmpeg/  Copyright (c) 2007-2019 the FFmpeg developers
  built with Apple clang version 11.0.0 (clang-1<IP_ADDRESS>)
  configuration: --cc=/usr/bin/clang --prefix=/opt/ffmpeg --extra-version=tessus --enable-avisynth --enable-fontconfig --enable-gpl --enable-libaom --enable-libass --enable-libbluray --enable-libdav1d --enable-libfreetype --enable-libg
sm --enable-libmodplug --enable-libmp3lame --enable-libmysofa --enable-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenh264 --enable-libopenjpeg --enable-libopus --enable-librubberband --enable-libshine --enable-libsnappy
--enable-libsoxr --enable-libspeex --enable-libtheora --enable-libtwolame --enable-libvidstab --enable-libvmaf --enable-libvo-amrwbenc --enable-libvorbis --enable-libvpx --enable-libwavpack --enable-libwebp --enable-libx264 --enable-li
bx265 --enable-libxavs --enable-libxvid --enable-libzimg --enable-libzmq --enable-libzvbi --enable-version3 --pkg-config-flags=--static --disable-ffplay
  libavutil      56. 31.100 / 56. 31.100
  libavcodec     58. 54.100 / 58. 54.100
  libavformat    58. 29.100 / 58. 29.100
  libavdevice    58.  8.100 / 58.  8.100
  libavfilter     7. 57.100 /  7. 57.100
  libswscale      5.  5.100 /  5.  5.100
  libswresample   3.  5.100 /  3.  5.100
  libpostproc    55.  5.100 / 55.  5.100
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from '/Users/nick/Desktop/test.mp4':
  Metadata:
    major_brand     : mp42
    minor_version   : 512
    compatible_brands: isomiso2avc1mp41
    creation_time   : 2020-03-03T23:47:00.000000Z
    encoder         : HandBrake 1.3.1<PHONE_NUMBER>
  Duration: 00:00:21.76, start: 0.000000, bitrate: 1401 kb/s
    Stream #0:0(und): Video: h264 (Main) (avc1 / 0x31637661), yuv420p(tv, bt709), 1080x720 [SAR 3:8 DAR 9:16], 1210 kb/s, 29.93 fps, 120 tbr, 90k tbn, 180k tbc (default)
    Metadata:
      creation_time   : 2020-03-03T23:47:00.000000Z
      handler_name    : VideoHandler
    Stream #0:1(eng): Audio: aac (LC) (mp4a / 0x6134706D), 48000 Hz, stereo, fltp, 181 kb/s (default)
    Metadata:
      creation_time   : 2020-03-03T23:47:00.000000Z
      handler_name    : Stereo

This is super weird. Never had this happen before :)

I think your filename is clashing with the module you're importing.
Try renaming your file from ffmpeg.py to something else and try again?

🤦
Thanks @gondolio that fixed it.

I am also facing the same error. Any luck?

I am also facing the same error. Any luck?

it didnt work when i did pip install ffmpeg, and it worked when i then did pip install ffmpeg-python

This problem is not fixed, newly installation of ffmpeg-python on python 3.10.7 and this is the result
> import ffmpeg
> ffmpeg.__ {Used Tab}
ffmpeg.__annotations__     ffmpeg.__format__(         ffmpeg.__loader__          ffmpeg.__reduce_ex__(
ffmpeg.__class__(          ffmpeg.__ge__(             ffmpeg.__lt__(             ffmpeg.__repr__()
ffmpeg.__delattr__(        ffmpeg.__getattribute__(   ffmpeg.__name__            ffmpeg.__setattr__(
ffmpeg.__dict__            ffmpeg.__gt__(             ffmpeg.__ne__(             ffmpeg.__sizeof__()
ffmpeg.__dir__(            ffmpeg.__hash__()          ffmpeg.__new__(            ffmpeg.__spec__
ffmpeg.__doc__             ffmpeg.__init__(           ffmpeg.__package__         ffmpeg.__str__()
ffmpeg.__eq__(             ffmpeg.__init_subclass__(  ffmpeg.__path__            ffmpeg.__subclasshook__(
ffmpeg.__file__            ffmpeg.__le__(             ffmpeg.__reduce__()
> ffmpeg.probe()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'ffmpeg' has no attribute 'probe'

Pay attention, you need to install  ffmpeg-python not python-ffmpeg. This was my mistake.

I am still facing the same issue, even after trying suggestions mentioned above

Same situation here.
If you happened to install ffmpeg, and then installed ffmpeg-python, it could cause this problem.
First, you need to uninstall them all.
pip uninstall ffmpeg
pip uninstall ffmpeg-python

Then reinstall ffmpeg-python: pip install ffmpeg-python.


Accessing Clan Screen Crashes Game with Latest Beta 1.4 Hotfix

The latest beta 1.4 hotfix has made trying to access the Clan screen (either by clicking or by hotkey) cause the game to crash when using the CommunityPatch mod.
Turning the mod off fixes the problem.
The beta hotfix was released around 17h30 EDT on May 11th 2020.

This is v0.1.0-rc4 or v0.1.0-rc3?

@PraxisLP try this release - https://github.com/Tyler-IN/MnB2-Bannerlord-CommunityPatch/releases/tag/v0.1.0-rc4
it has been pushed to Nexus too

Had the clan prob too , v0.1.0-rc4 cures it! Quick work thanks.

Edit ; Spoke to soon...clan button works but just got ctd in battle and the error message cites community patch.

Edit ; Spoke to soon...clan button works but just got ctd in battle and the error message cites community patch.

https://github.com/Tyler-IN/MnB2-Bannerlord-CommunityPatch/issues/293

So... I will wait until #293 gets resolved to try it again? Can't be having crashed mid-battle!

That being said, I will try the latest release candidate to ensure that this issue is resolved so we can close the issue.

Edit ; Spoke to soon...clan button works but just got ctd in battle and the error message cites community patch.

Clan

Can confirm that it's fixed on my end. Thanks for the amazingly quick fix!

Trying rc5

I had no issues when I tested rc5. Gonna keep playing with that. Thanks again!

Just been through a battle and no crash. Thanks also for quick fix!


RAGRS selection

This doc says "Choose RAGRS if you want to enable Cross-region-restore for your backups"
Aside from missing the period, I don't think you can explicitly enable RAGRS as such.
As documented on this other page, you can choose LRS or GRS.
https://docs.microsoft.com/en-us/azure/backup/backup-create-rs-vault#set-storage-redundancy
If you choose GRS, you have the additional option of configuring Cross-Region Restore, but it isn't explicitly labeled as RA-GRS there. I believe the quoted section should not refer to RA-GRS.
For that matter, the pricing page claims RA-GRS pricing would be up by June 1st, any updates there?
https://azure.microsoft.com/en-us/pricing/details/backup/

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

ID: 45baa4f3-2845-ae9b-a94e-b07ff7c44a63
Version Independent ID: 7ff62d1f-39f0-2bbd-70a0-c5d7570def2d
Content: Azure Backup pricing - Azure Backup
Content Source: articles/backup/azure-backup-pricing.md
Service: backup
GitHub Login: @dcurwin
Microsoft Alias: dacurwin

@dcbrown16 Thanks for your comment! We will review and provide an update as appropriate.

#assign:tjvishnu

#reassign:tjvishnu

Yes you cannot choose RAGRS explicitly for a vault today. However, when you enabled Cross region restore, we upgrade the underlying data in GRS to an RAGRS backup storage. That's the reason it will be billed as RAGRS storage.
Regarding the query on pricing page, there is a delay in updating the page. It should be updated soon

@tjvishnu can we change the sentence that I quoted to have it refer to Cross-Region Restore, or at least make it clear that CRR is the feature which uses RA-GRS? It will cause misunderstandings if the doc uses a term that customers can't see in the Portal.

@dcbrown16  - Thank you for your contribution. The document has been updated.
#please-close


OMERO.server doesn't work with dynamic volumes

Permissions for Kubernetes dynamic volumes are often managed using group memberships. This causes OMERO.server to fail:
bash-4.2$ id
uid=1000(omero-server) gid=997(omero-server) groups=997(omero-server),2000
bash-4.2$ ls -ld /OMERO
drwxrwsr-x 3 root 2000 4096 Oct  7 20:51 /OMERO

The container is run with securityContext.fsGroup: 2000 which matches the group of /OMERO but OMERO.server fails because the volume is owned by root: https://github.com/openmicroscopy/openmicroscopy/blob/v5.4.8/components/tools/OmeroPy/src/omero/plugins/admin.py#L1519-L1520
            msg += "FATAL: OMERO directory which needs to be writeable"\
                " belongs to root: %s\n" % filepath

https://github.com/ome/omero-py/pull/208 merged but not yet released.

This should be included in https://github.com/manics/kubernetes-omero/pull/21


manage.py createdb fails "cannot import name SingletonAdmin" for adept Theme

Hi
I came across below issue while trying to use recently purchased Mezzanine Theme = Adept, kindly advise how to fix this issue
Thanks!
BR
Napoleon
(env) [nap@centosweb adept]$ python manage.py createdb
Traceback (most recent call last):
File "manage.py", line 14, in
execute_from_command_line(sys.argv)
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/django/core/management/init.py", line 364, in execute_from_command_line
utility.execute()
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/django/core/management/init.py", line 338, in execute
django.setup()
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/django/init.py", line 27, in setup
apps.populate(settings.INSTALLED_APPS)
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/django/apps/registry.py", line 116, in populate
app_config.ready()
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/django/contrib/admin/apps.py", line 23, in ready
self.module.autodiscover()
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/mezzanine/boot/init.py", line 114, in autodiscover
django_autodiscover(*args, **kwargs)
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/django/contrib/admin/init.py", line 26, in autodiscover
autodiscover_modules('admin', register_to=site)
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/env/lib/python2.7/site-packages/django/utils/module_loading.py", line 50, in autodiscover_modules
import_module('%s.%s' % (app_config.name, module_to_search))
File "/usr/lib64/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/nap/Web-Sites/new_multiLang-skybird/paid_themes/adept/theme/admin.py", line 4, in
from mezzanine.core.admin import TabularDynamicInlineAdmin, SingletonAdmin
### ImportError: cannot import name SingletonAdmin

Could you post this to the mailing list? Thanks

Hi Stephen,  already done it.
https://groups.google.com/forum/#!topic/mezzanine-users/nPjZKCxGFNY
hopefully can be fix it soon because I have to deliver a new site within few days
Appreciated
Nap

Great , I see issue has been close .
Could you plz share the solution ?


Not Working in Android Version 12 and Above

it works fine in Android version 11 , for 12 and 13 Beacons did not register beacons are not shown in Range Anyone Please help me with this issue
I use latest Package

You need to ask for BLUETOOTH_SCAN and BLUETOOTH_CONNECT permissions too for that newer versions.

@KaiValar even with BLUETOOTH_SCAN and BLUETOOTH_CONNECT it is not working in Android 14. There is any other advice?

@KaiValar even with BLUETOOTH_SCAN and BLUETOOTH_CONNECT it is not working in Android 14. There is any other advice?

Have you a repo to check it out? I have an app running it with this lib on Android 14, but I cannot share the code beacuse isn't really mine, I'm only an employee ^^'
You need to add permissions and the service from Kontakt SDK on Manifest, add the SDK on your build.gradle dependencies (I used 7.1.8 version) and initialize it on MainApplication.java, then you can ask for the permissions to user and finally use the lib. On iOS is more painful, but atm on Android works fine.

@KaiValar  thanks for the fast reply.
Can't post the whole repo (for the same reason), we followed the guide. It works on iOS for us, but it doesn't work on Android 14 (it works on android 12 tho).
Our Manifest:
<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.ACCESS_FINE_LOCATION"/>
<uses-permission android:name="android.permission.ACCESS_NETWORK_STATE"/>
<uses-permission android:name="android.permission.BLUETOOTH" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_ADMIN" android:maxSdkVersion="30" />
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />
<uses-permission android:name="android.permission.BLUETOOTH_CONNECT"/>

and this:
<service android:name="com.kontakt.sdk.android.ble.service.ProximityService" android:exported="false"/>

this in the build.gradle:
implementation("io.kontakt.mvn:sdk:7.1.8")`

And this is the listener that doesn't work on Android 14 (but works on Android 12).
kontaktEmitter.addListener('beaconsDidUpdate', async (res)=> {
      console.log('beaconsDidUpdate', res);
      //basically "res" is undefined on Android 14
      //it returns the correct array in Android 12 (with beacons and regions)
  });

The initialize onCreate in MainApplication.java is not needed for us because we don't use the API Key (or at least, it doesn't work without an API key).
Also we followed everything in this guide: https://github.com/Driversnote-Dev/react-native-kontaktio/tree/master
Any recommendation is appreciated. Thanks in advance!

@KaiValar After many many attempts, we found the solution on a comment of another bluetooth library with similar issue here, where Android 12 worked fine, on Android 14 didn't.
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" tools:remove="android:usesPermissionFlags" />

Basically this saved the day!

The problem was that by adding this (mandatory for Android 12+, api 31+):
<uses-permission android:name="android.permission.BLUETOOTH_SCAN" />

The merged Manifest resulted in this:
 <uses-permission android:name="android.permission.BLUETOOTH_SCAN" android:usesPermissionFlags="neverForLocation"/>

and by automatically adding this, the Android documentation says:
Include "neverForLocation" only if you can strongly assert that your app never derives physical location from Bluetooth scan results. If you include neverForLocation in your android:usesPermissionFlags, some BLE beacons are filtered from the scan results.
Basically the automatically added "neverForLocation" was filtering out some BLE beacons...

Glad to read you solve that :D

Btw, @jkaos92 if you are thinking to use this in background, I used a Foreground Service ;)


Update sbt-scalafix to 0.9.32

Updates ch.epfl.scala:sbt-scalafix from 0.9.31 to 0.9.32.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "ch.epfl.scala", artifactId = "sbt-scalafix" } ]

labels: sbt-plugin-update, early-semver-minor, semver-spec-patch

Codecov Report

Merging #58 (86e855d) into main (7a758e6) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##              main       #58   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files           28        28
  Lines          864       864
  Branches        49        49
=========================================
  Hits           864       864

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 7a758e6...86e855d. Read the comment docs.


Update "Deploy buffer" to "Transaction buffer"

This PR changes the "deploy buffer" to "transaction buffer" making it compatible with the new kind of transaction being introduced in 2.0 (aka Condor).
Closes https://github.com/casper-network/roadmap/issues/184

see https://github.com/casper-network/casper-node/pull/4590

Closed in favor of https://github.com/casper-network/casper-node/pull/4590


Wikipedia - What data is relevant for loklak and maps?

Wikipedia is an awesome Open Data resource. Which parts are relevant for loklak? What should we implement?

@mariobehling I found out this API provided by wikipedia which allows you to see articles near a area.https://www.mediawiki.org/wiki/Extension:GeoData#API . Please have a look

Yes, nice. What other ideas do you have? How about birth/death dates of people and the location? What other interesting location data do we have? What is the most interesting?

That is one interesting thing! We can have something like this,you click at
a location and you see a pop up of famous people who lived or died nearby
.People will want to click at random points on the world map to see which
famous personality is related to that.But for this I will have to look up
more in the API
On Thu, Jun 25, 2015 at 11:23 PM, Mario Behling<EMAIL_ADDRESS>wrote:

Yes, nice. What other ideas do you have? How about birth/death dates of
people and the location? What other interesting location data do we have?
What is the most interesting?
—
Reply to this email directly or view it on GitHub
https://github.com/loklak/loklak_webclient/issues/221#issuecomment-115343848
.

Depends on server implementation. Closing it for now.


Enabling NetworkPolicy logging may cause packet drops when massive connections hit the policy

Describe the bug

As described in the title, packet could be dropped unexpectedly if massive connections hit a NetworkPolicy with logging enabled, having an impact to the performance of applications.
Quoting some discussions had in other channel:

Antonin Bas:
I have a couple of follow up questions on this

do you believe that this is the best implementation: we are ensuring correctness of the audit logs but can impact legitimate > traffic (for Allow rules with audit logging enabled). Correctness of audit logs seem like a valid rationale, but maybe the > documentation should mention the possible impact on traffic and make recommendations.
the 100 packets/s limit may be a bit low with the current implementation. I think it was set this way to be very conservative, but I feel like we could test with 1000? maybe users should have a way to set it as well (if they are willing to increase CPU usage, they can go with a higher limit)

Vicky Liu:
Yes, Antonin, it seems that ANP logging is a "dangerous" function which will cause heavy overhead. Before we make big performance enhancement, we need to let customers aware of the impact on system. +Wenying to share the plan of performance enhancement.
Wenying Dong:
In my opinion, the meter usage is mainly for securing agent on logging purpose, but it is not supposed to impact on the traffic. So it is better to change the meter usage to work only on the logging path (OF action of controller) first. As for the limited value with 100 or 1000 packets, maybe we need to give the final decision after stress tests on agent.
Antonin Bas:

So it is better to change the meter usage to work only on the logging path (OF action of controller) first.

I think that was the original intention, but looks like the implementation didn’t work out this way. Is it possible to meter the PacketIn message without metering the user packet?
I think we have to choose between:

audit log accuracy
no impact on user traffic

I think we should privilege the second one here.
The rationale for adding the meter was to prevent denial of service on the Agent. However, right now there is a possibility of denial of service on user traffic (if the user enables audit logging on Allow rules).
Wenying Dong:
A solution in my thought is using a type all OF group instead of using direct OF actions in a ANP rule which also requires logging. Then we could have two copies of the packet firstly, then one is to continue with the user traffic control, and the other is for logging. For the second one, we could apply meter control if necessary.

To Reproduce

Create a NetworkPolicy with allow action and logging enabled.
Use netperf -t TCP_CRR to generate connections that hit the above NetworkPolicy. The throughput will be limited to 100 trans/s when logging is enabled, and will be increased when logging is disabled.

Expected

Enabling logging should have no impact on user traffic.
Versions:

Antrea version (Docker image tag). ?~v1.11.1

/cc @Dyanngg @qiyueyao

The root cause of the issue is Meter action must be the first action in an OpenFlow action set, which leads to both the actions "resubmit the packet to another table" ( for ANP security traffic purpose ) and "send the packet to Antrea controller" ( for logging purpose) are impacted by the rate limit from Meter.
The major idea of the solution is to use Meter for rate limit only on the "send to controller" action for logging purpose. To implement the idea, we should have two copies of the packet firstly, and then two flows are applied to these packets separately for the different purposes. Hence, a type all group is suggested to make the copies when logging is enabled.
After reading the code, there are 4 functions related with ANP logging: conjunctionActionFlow, conjunctionDenyFlow, conjunctionActionPassFlow, defaultDropFlow, and there two kinds of the flow actions, 1) drop the current packet in OVS pipeline and send to controller; and 2) resubmit the packet to a "next" table and send to controller. For 1), we could have one group with a single bucket to resubmit the packet to a table a flow with "send to controller" action locates. An alternative is we can use a flow action to resubmit the packet to the table directly instead of a group because only one copy for packet is needed. For 2), there may be one group per "next" table since the table ID is changable according to the ANP rule. As for other marks set in the packet which is needed by antrea-agent with a packetIn packet, we can set it in the original flow before applying "group" action, in this way the group and the logging purpose flow can only focus on how to send the packet to antrea-agent itself.
I would suggest to place the flow for "sending the packet to controller" to L2OutputTable. Then another chanllenge is introduced that how differentiate the packet for logging purpose from the one for ANP traffic purpose. Here I would suggest to extend the original OFPortFoundRegMark to a Regfield as OutputDispositionField, and OFPortFoundRegMark and SendToControllerRegMark are two different marks with this field. In this way, the two copies of packets ( for ANP traffic purpose and for logging purpose ) are differentiated with diffent marks.


fix: fix validations for resources

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

5 of 6 (83.33%)  changed or added relevant lines in 1 file are covered.
3 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.05%) to 92.059%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

ext/store/bigquery/table.go
5
6
83.33%

Files with Coverage Reduction
New Missed Lines
%

ext/store/bigquery/table.go
1
98.35%

ext/store/bigquery/table_spec.go
2
94.12%

Totals

Change from base Build<PHONE_NUMBER>:
-0.05%

Covered Lines:
8173

Relevant Lines:
8878

💛  - Coveralls


⚠ Steam API has degraded performance

In 38d8e87, Steam API ($STEAM_URL?key=$STEAM_TOKEN&appid=2858840) experienced degraded performance:

HTTP code: 502
Response time: 21206 ms

Resolved: Steam API performance has improved in 1a00f20 after 11 minutes.


[Refine] remove const ref of mlir::Attribute

refer: https://mlir.llvm.org/docs/Rationale/UsageOfConst/

I have no problem with removing the use of const because Attribute is immutable. But the reference link seems discussing about something else:

Note: This document is only discussing things like const Value and const Operation*. There is no proposed change for other types, e.g. SmallVector references, the immutable types like Attribute, etc.

The following should explain why we should remove const and pass by value

/// Instances of the Attribute class are references to immortal key-value pairs
/// with immutable, uniqued keys owned by MLIRContext. As such, an Attribute is
/// a thin wrapper around an underlying storage pointer. Attributes are usually
/// passed by value.

yeah, I agree that this is a good change.

update commit message and format code.


New DM design

Implement new DM design from Figma

Hi v0l.
Snort ui/ux design looks a lot like OpenXanadu design. For example,

OpenXanadu
snort

Were you all inspired by the idea of ted nelson?


Added NBT Kotlin extensions

Decent amount in this one.
The first things to question are the read and write functions (I guess), I think they do wonders to reduce boilerplate, but maybe they're not suitable in this case.
One of the things to look at is the extensions for the NBT DSL. The DSL I came up with looks something like this:
nbt {
    list("Kittens") { // construct a new list of kittens
        // top 2 in a list of 100 most popular cute cat names found from the Google search "kitten names" lol
        compound("Bella") {
            set("age", 2)
        }
        compound("Kitty") {
            set("age", 4) // probably not a kitten at 4 years old but you get the idea lol
        }
    }
    this["Parent"] = "Lucy" // property access syntax works, but isn't required
}

I'll add some documentation afterwards. Don't worry, I haven't forgot lol
And once again, feel free to oust me with pitch forks in hand if I've done something really stupid (looking at you kashike 🙂)

We already have extensions for array conversion, unless you also want me to support Array<String>?

Seems like the branch for this PR has been removed for some reason -- would you be able to restore that @BomBardyGamer?

Yeah I deleted my fork that had this branch, same as with the more Kotlin extensions PR, and I no longer have access to it. I'll have to move the changes over and make a new PR.


python311Packages.aiolifx: 0.9.0 -> 1.0.0

Changelog: https://github.com/frawau/aiolifx/releases/tag/1.0.0
Description of changes

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Priorities
Add a :+1: reaction to pull requests you find important.

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

17 packages built:

home-assistant-component-tests.lifx
python310Packages.aiolifx
python310Packages.aiolifx-connection
python310Packages.aiolifx-connection.dist
python310Packages.aiolifx-effects
python310Packages.aiolifx-effects.dist
python310Packages.aiolifx-themes
python310Packages.aiolifx-themes.dist
python310Packages.aiolifx.dist
python311Packages.aiolifx
python311Packages.aiolifx-connection
python311Packages.aiolifx-connection.dist
python311Packages.aiolifx-effects
python311Packages.aiolifx-effects.dist
python311Packages.aiolifx-themes
python311Packages.aiolifx-themes.dist
python311Packages.aiolifx.dist


wrangler: 1.18.0 -> 1.19.0

Motivation for this change
simple update
leaving this one day open in case anybody wants to have a look at it.
tested on macos
Things done

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

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

I'm going to go ahead and merge this one since it's not worth anybody's time.


[feature] discount detail inside onetap view

[feature] discount detail inside onetap view

Codecov Report

Merging #1051 into feature/onetap_complete will decrease coverage by 0.01%.
The diff coverage is 0%.

@@                     Coverage Diff                     @@
##           feature/onetap_complete    #1051      +/-   ##
===========================================================
- Coverage                    27.69%   27.68%   -0.02%
===========================================================
  Files                          321      321
  Lines                        14997    15007      +10
  Branches                      1371     1371
===========================================================
  Hits                          4154     4154
- Misses                       10324    10334      +10
  Partials                       519      519

Impacted Files
Coverage Δ

...pago/onetap/components/PaymentDetailContainer.java
0% <0%> (ø)
:arrow_up:

...in/java/com/mercadopago/viewmodel/OneTapModel.java
0% <0%> (ø)
: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 0654b32...6fdef8a. Read the comment docs.


Inappropriate type hint or obscured declaration error

Issue
Code snippet taken from pylint example
The type hint given for penguin:

if accepted, results in:

Environment data
Pylance language server 2023.1.20 (pyright b78a9e4b)
Ubuntu 22.04.1 LTS
VS Code
Version: 1.74.3
Commit: 97dec172d3256f8ca4bfb2143f3f76b503ca0534
Date: 2023-01-09T16:57:40.428Z
Electron: 19.1.8
Chromium: 102.0.5005.167
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Linux x64 5.15.0-57-generic
Sandboxed: No
Python 3.11.1
##Code Snippet
"""A doc string."""

def whats_on_the_telly(penguin: list[str] | None = None):
    """A doc string."""
    if penguin is None:
        penguin: list[str] = []
    penguin.append("property of the zoo")
    return penguin

Expected behavior
Type definition not proposed or no obscured declaration error (not sure which is right).
Actual behavior
Suggestion results in a problem for pylance.
Logs
[Info  - 11:43:19 a.m.] (71551) Pylance language server 2023.1.20 (pyright b78a9e4b) starting
[Info  - 11:43:19 a.m.] (71551) Server root directory: /home/shapedsundew9/.vscode/extensions/ms-python.vscode-pylance-2023.1.20/dist
[Info  - 11:43:19 a.m.] (71551) Starting service instance "scratch"
[Info  - 11:43:19 a.m.] (71551) No configuration file found.
[Info  - 11:43:19 a.m.] (71551) No pyproject.toml file found.
[Info  - 11:43:19 a.m.] (71551) Setting pythonPath for service "scratch": "/home/shapedsundew9/Projects/venv/bin/python3"
[Error - 11:43:19 a.m.] (71551) venvPath /home/shapedsundew9/Projects/scratch/~/Projects is not a valid directory.
[Warn  - 11:43:19 a.m.] (71551) stubPath /home/shapedsundew9/Projects/scratch/typings is not a valid directory.
[Info  - 11:43:19 a.m.] (71551) Assuming Python version 3.11
[Info  - 11:43:19 a.m.] (71551) Assuming Python platform Linux
[Info  - 11:43:19 a.m.] (71551) Searching for source files
[Info  - 11:43:19 a.m.] (71551) Found 1 source file
[Info  - 11:43:20 a.m.] (71551) Background analysis(1) root directory: /home/shapedsundew9/.vscode/extensions/ms-python.vscode-pylance-2023.1.20/dist
[Info  - 11:43:20 a.m.] (71551) Background analysis(1) started
[Info  - 11:43:20 a.m.] (71551) Indexer background runner(2) root directory: /home/shapedsundew9/.vscode/extensions/ms-python.vscode-pylance-2023.1.20/dist (index)
[Info  - 11:43:20 a.m.] (71551) Indexing(2) started
[Info  - 11:43:21 a.m.] (71551) scanned(2) 256 files over 1 exec env
[Info  - 11:43:25 a.m.] (71551) [IDX(2)] Long operation: index execution environment /home/shapedsundew9/Projects/scratch (3447ms)
[Info  - 11:43:25 a.m.] (71551) [IDX(2)] Long operation: index packages /home/shapedsundew9/Projects/scratch (3459ms)
[Info  - 11:43:25 a.m.] (71551) indexed(2) 161 files over 1 exec env
[Info  - 11:43:25 a.m.] (71551) Indexing finished(2).

In your sample, you have a symbol (a local variable) whose type is declared twice with incompatible type declarations. This isn't allowed. In one location, you're declaring that penguin can be assigned a value of type list[str] | None, but in another location, you're declaring that penguin can be assigned a value of type list[str]. It's the job of a type checker to enforce type declarations (i.e. verify that all assignments comply with the declared type). To do so, a type checker needs to know unambiguously which type you are declaring for a symbol. But in this case, you have declared two different types.
For more information about type declarations, refer to this documentation.
The easiest way to fix this bug is to delete the second (incompatible) type declaration for the symbol penguin. The type checker is smart enough to know that when you assign [] to the variable, its type is locally "narrowed" to just list[str].
def whats_on_the_telly(penguin: list[str] | None = None):
    """A doc string."""
    if penguin is None:
        penguin = []
    penguin.append("property of the zoo")
    return penguin

That makes sense. So then I think the expected behaviour should be for pylance hinter not to propose that type and 'double click to add'.

Just curious - isn't this desirable/by design?
It compels every appearance of a previously initialised name to comply with the first type annotation, and forbids the on-the-fly overwriting of a previously imposed type declaration with another...
Or have I misunderstood?

Yes, this is by design. You can choose to not declare the type of a symbol, in which case pyright (the type checker that underlies pylance) will allow any value to be assigned to it. But if you declare the type of a symbol, pyright will enforce that all assignments to that symbol comply with the type. After all, that's the job of a static type checker. You cannot declare a second (incompatible) type for a symbol because the type checker would no longer know which type to enforce for that symbol.
Static typing aside, it's generally not a good idea to use the same symbol name for values of different types anyway. It hurts code readability and maintainability.
For more information about type declarations, refer to this documentation.

Just wanted to clarify that while the error is by design, Pylance shouldn't be showing an inlay hint for penguin on line 7. That's the bug.

Thank you both for explaining.

This issue has been fixed in prerelease version 2023.3.22, which we've just released. You can find the changelog here: CHANGELOG.md

This issue has been fixed in prerelease version 2023.3.22, which we've just released. You can find the changelog here: CHANGELOG.md


Feature request: Add support for icons on occupied workplaces

As of now, we can set icons for only urgent, active and default workplaces. Is there a way to set icon for occupied workplace? occupied here meaning a non-active workplace that has at least one window in it.

I believe this is fixed by #2156
@Alexays I think this can be closed


FPT_ACF_EXT.1.1

Must require that the TSS specify System Executables, System Configuration Files...

Added language in the assurance activity that the evaluator will confirm that the TSS specifies all these items.


Edited 'App model'

:x: Validation status: errors

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/mixed-reality, working directory: W:\p4ev-s, target branch: master, target branch commit: d8e8802d5474689d0fe537650adff79606aced84, source branch: 2f34738abcd7856040c929576ed620bf/master, source branch commit: .

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/app-model.md
:white_check_mark:Succeeded
View

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

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

mixed-reality-docs/app-model.md
:white_check_mark:Succeeded
View

mixed-reality-docs/app-views.md
:white_check_mark:Succeeded
View

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


[Accessibility]A11y_VSCode_KeyboardShortcuts_keyboard: after clicking on "Tab" key the opened "Editor" get closed

Environment Details:
VSCode Version : 1.24.0
OS Version : MAC OS HighSierra10.13.5
Additional Details:
Keyboard,MAS3.2.1,MAS2.1.1,MAS2.4.3
Repro Steps:
1.Navigate to Settings icon in Activity Bar->Press Enter->Select "Keyboard Shortcuts" from dropdown.
2.Navigate to "More" option and expande it and select the"Show open editors" option.
3.Click on "Tab" key.
4.Observed that,after clicking on "Tab" key then opened "Editor" get closed.
Actual:
When user click on "Tab" key then opened "Editor" get closed.
Expected:
When user click on "Tab" key then focus should goes on expanded dropdown values instead of closing the opened "Editor".
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/Pages/browse-fixes.aspx
User Impact:
User will get confused on which key the proper action will performed
MAS Reference:
MAS3.2.1: https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={a4bbd37d-ee11-485e-b5c8-0539f0ac94b2}

MAS2.1.1: https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={8492c4eb-c179-40ae-8777-cd044ed725a2}
MAS2.4.3: https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={0de7fbe1-ad7e-48e5-bcbb-8d986691e2b9}
Attachment For Refernce:
[Accessibility]A11y_VSCode_KeyboardShortcuts_Keyboard.pptx
Does this issue occur when all extensions are disabled?: Yes

/duplicate #52171


sc7180: Add missing firmware blobs

This fixes https://github.com/NixOS/mobile-nixos/issues/703

Can this be merged? Is there an issue withy PR that needs to be resolved first?
I'd be grateful for some form of reaction by the maintainers.
Thanks in advance. :)

Why close this?

It seems this is not needed after all.
These are the modules on my LAZOR-FHYR:
$ ls -R /lib/firmware
 ls -R /lib/firmware/
/lib/firmware/:
ath10k   elan_i2c_188.0.bin  elan_i2c_226.0.bin  elants_i2c_3550.bin  elants_i2c_38e0.bin     elants_i2chid_3463.bin  elants_i2chid_3467.bin  elants_i2chid_35ee.bin  pix_tp2xxx_20C1.bin  qcom           rt2870.bin  rtl_nic
cros-pd  elan_i2c_216.0.bin  elan_i2c_303.0.bin  elants_i2c_3665.bin  elants_i2chid_1fa6.bin  elants_i2chid_3464.bin  elants_i2chid_346c.bin  keyspan                 qca                  regulatory.db  rt3070.bin

/lib/firmware/ath10k:
WCN3990

/lib/firmware/ath10k/WCN3990:
hw1.0

/lib/firmware/ath10k/WCN3990/hw1.0:
board-2.bin  firmware-5.bin

/lib/firmware/cros-pd:
README.source  dingdong_v1.7.317-b0bb7c9.bin  dingdong_v1.7.575-96b74f1.bin  dingdong_v1.7.684-69498dd.bin  hoho_v1.7.317-b0bb7c9.bin  hoho_v1.7.575-96b74f1.bin  hoho_v1.7.684-69498dd.bin  zinger_v1.7.509-e5bffd3.bin  zinger_v1.7.539-91a0fa2.bin

/lib/firmware/keyspan:
mpr.fw  usa18x.fw  usa19.fw  usa19qi.fw  usa19qw.fw  usa19w.fw  usa28.fw  usa28x.fw  usa28xa.fw  usa28xb.fw  usa49w.fw  usa49wlc.fw

/lib/firmware/qca:
crbtfw32.tlv  crnv32.bin  crnv32u.bin

/lib/firmware/qcom:
a630_gmu.bin  a630_sqe.fw  sc7180-trogdor  venus-5.4

/lib/firmware/qcom/sc7180-trogdor:
modem  modem-nolte

/lib/firmware/qcom/sc7180-trogdor/modem:
mba.mbn  qdsp6sw.mbn

/lib/firmware/qcom/sc7180-trogdor/modem-nolte:
mba.mbn  qdsp6sw.mbn

/lib/firmware/qcom/venus-5.4:
venus.mbn  venus.mdt

/lib/firmware/rtl_nic:
rtl8153a-2.fw  rtl8153a-3.fw  rtl8153a-4.fw  rtl8153b-2.fw  rtl8153c-1.fw  rtl8156a-2.fw  rtl8156b-2.fw

I don't see the touchpad firmware blobs (`elants*) in this repo. I have no idea if it would make sense to include them to unlock touch gestures etc..
I don't see a point in investigating this further, since this project seems to be dead anyways.


🔧 Cache mdast at full file path

There was some mismatch in cache.$mdast with saving relative paths, then accessing by resolved paths (e.g. https://github.com/executablebooks/mystmd/compare/feat/mdast-cache?expand=1#diff-e11e13e3b479fbfb25096e4e27367dfcc16a339b97d3cab1a4f94b1a769f599cL139)
This PR swaps to uniformly getting/setting these values with resolved paths.

Looks good!


Work is not getting saved

Describe the bug
please help... why bolt is not saving the work we do for hours?  it takes me back to prior 2 days work.. even it doesnt open the existing work in stackblitz.. stackblitz too shows old files... how can we proceed to run codes without this...  Can we immediately have a fix for this?   its really annoying. I cant move the project further because it takes me back to old work everytime..
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-m2txfs
Steps to reproduce
It should be able to continue and save the work where we are currently positioned
Expected behavior
it should have saved the work that we coded till the time of previewing, but even after previewing the correct code, it wont save that work and will restore 2 days back work
Screen Recording / Screenshot
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]

Additional context
No response

Hi @Javed022,
Sorry to hear about this! Are you able to find a recent version of your project by going to stackblitz.com, clicking Collections on the left-hand side of the screen, and then opening Bolt Collection?


PyQt5 fails in nix-shell ("Could not find the Qt platform plugin")

Describe the bug
When using PyQt5 in Python, Qt cannot load correctly and gives the following error:

qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: wayland-org.kde.kwin.qpa.
Aborted (core dumped)

To Reproduce
$ nix-shell -p 'python38.withPackages(p: with p; [pyqt5])'
$ python -c 'import PyQt5.QtWidgets; PyQt5.QtWidgets.QApplication([])'

Expected behavior
No error.
Notify maintainers
@svanderburg
Metadata
Also reproduced on nixpkgs master as of writing.

system: "x86_64-linux"
host os: Linux 5.4.83, NixOS, 20.09.4316.85ed11208f8 (Nightingale)
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.3.11
channels(root): "nixos-20.09.4316.85ed11208f8"
channels(hugo): ""
nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos

Maintainer information:
# a list of nixpkgs attributes affected by the problem
attribute: pythonPackages.pyqt5
# a list of nixos modules affected by the problem
module:

Looks like a case of https://nixos.wiki/wiki/Qt#qt.qpa.plugin:Could_not_find_the_Qt_platform_plugin.22xcb.22_in_.22.22. (#65399).
Basically, the problem is that the QT5 applications require certain environment variables to be set. If you are just running pyqt5 through CLI, those env vars are not set, and I've not found a good way to do that. The best workaround I've found is packaging whatever pyqt5 application into a python-installed GUI script (i.e. https://setuptools.readthedocs.io/en/latest/userguide/entry_point.html), and then wrapping that with wrapQtAppsHook). This path doesn't work from the CLI, though I guess you could probably figure out some way to create a shell that sets the same env vars that wrapQtAppsHook does.

I've been able to work around this by setting QT_PLUGINS_PATH.
Presumably a shell hook could be created which sets this env.
At a pinch it might also be possible to patch pyqt to setenv it before it tries to load Qt shared libraries.

Still a problem/important.


Title change

Resolves #358
Description
Changed text to "Total Items Distributed"
Screenshots

@heatherherrington  This is great! Thanks!


Compilation error when passing multiple args to ::run

I got compilation error from Visual Studio 2017 when I tried to run
void multiply(const int a, const int b)
with ThreadPool pool as
pool.run(multiply, i, j);
This is resolved by replacing the line
std::bind(std::forward<Function&&>(f), std::forward<Args&&...>(args)...));
with
std::bind(std::forward(f), std::forward(args)...));
and the arguments are passed properly.

Hey! Sorry for the huge delay in the answer.
Would you mind writing here the compiler output if you still have it ? I don't have a windows box to debug it.
It looks like the types written explicitely are wrong in the forwarding. I would prefer to keep them explicit but to correct them.
Can you try with (xxx) and <Args...>(xxx) ?
I think this should be correct.
Sorry for the delay again!


[WIP] Doc modernization

See #3444.

Codecov Report

Merging #3474 into master will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master    #3474   +/-   ##
=========================================
  Coverage     45.68%   45.68%
  Complexity      188      188
=========================================
  Files           166      166
  Lines         13171    13171
  Branches        445      445
=========================================
  Hits           6017     6017
  Misses         6950     6950
  Partials        204      204

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 0f145a0...ed5c932. Read the comment docs.

@tqchen This PR is ready to go. You can look at the compiled result at https://xgboost-new-doc.readthedocs.io/en/latest/.


RFC: utilize daisy_init as a macro for BSP boards

In my head, this ties with #83.
As I'm beginning to grok the Daisy BSP architecture, I'm seeing that each BSP has their own init function. I would suggest having a macro daisy_init that is linked to the specific platform you want to use as a macro.
For instance, if I wanted to use the patch, I would include dsy_patch_bsp.h, which would have a line like #define daisy_init daisy_patch_init.
The big advantage of this is that it forces the user to consider their platform, otherwise the thing won't compile. It does take in a struct, which is a bit of a problem. I would say utilize opaque structs somehow or hide the data away as a global variable (this is what OpenGL does).
The bigger picture here is moving towards an interface that cleanly abstracts away some of the lower-level hardware details. The BSP already seems to be doing this to an extent, but this should make it so that all you need to do is change the BSP header file to compile it for any new board.

At some point down the line we might be able to work this out. But for now, not all of the breakout boards have identical interfaces (they have a common base interface, but each has its own set of functions for ease-of-use). This would make it so that while some code would work across multiple breakouts, not all would.
Providing this macro would imply cross-compatibility in a way that isn't provided yet.


update with arxiv link

please fix:
cd ./helm-frontend
yarn format
yarn lint
git commit -a

please fix:
cd ./helm-frontend
yarn format
yarn lint
git commit -a

@yifanmai  fixed! Could you help us deploy?


init.gradle set gradle version don't support version with source?

Expected Behavior

Current Behavior

Error:'4.3.1-all' is not a valid Gradle version string (examples: '1.0', '1.0-rc-1')
Context

task wrapper(type: Wrapper) {
    gradleVersion = '4.3.1-all'
}

Steps to Reproduce (for bugs)

Your Environment

Build scan URL:

The Wrapper task provides a different property for setting the distribution type. You should declare it like this:
wrapper {
    gradleVersion = '4.3.1'
    distributionType = Wrapper.DistributionType.ALL
}

@bmuschko Thank you,it works.That's all i need. i should read the document more carefully.


Exception if you try to reveal a flag cell

Hi frands, long time player first time caller!
Repro steps (on whatever is currently deployed rn):

Switch to flag, click a cell, make it blue.
Switch to reveal, click on that cell.
Exception:

Uncaught (in promise) Error: Cell flagged
    at t.reveal (chunk-0e47e454.js:1)
    at e.reveal (chunk-0e47e454.js:1)
    at comlink.ts:120
    at chunk-198f17ab.js:1
    at Object.next (chunk-198f17ab.js:1)
    at chunk-198f17ab.js:1
    at new Promise (<anonymous>)
    at Object.a [as __awaiter] (chunk-198f17ab.js:1)
    at MessagePort.<anonymous> (comlink.ts:96)

https://github.com/GoogleChromeLabs/proxx/blob/6611f3349852c65bb8b1ac1f923b22d28a3961b1/src/gamelogic/index.ts#L105-L107
Yeah, not sure if throwing is necessary here.
Clicking on already flagged cell is a possibility, maybe just return it to cancel the reveal call ?
@jakearchibald wdyt?

also, for #55,  we might need to change this anyways.
Assume the UX would be long tap to flag & long tap to unflag.

I think we should keep the throw in the game logic, but prevent getting that far via the front end. This is what we do with other types of square.


Add to F-Droid

It'd be amazing to have this on the F-Droid catalogue: http://f-droid.org/

As I am uncomfortable with F-Droid's current key management model, I won't be adding it to their store at this time. You are definitely welcome to fork, contribute, and submit the application yourself, however.
I would just be wary because F-Droid signs your application for you and anyone who has permission to sign your application can push malicious updates to your application in your name.

@Reline Maybe you can attach the apk you build by yourself in the "Release" section for each new version, like you did for 1.0.1.
Then, I think, @IzzySoft will be ok to add this apk you build to his F-Droid compatible repo, so that everyone can have access to your app via F-Droid. You have nothing to do other than attach the apk for each release, this will be the apk provided to the end-user via IzzySofts' F-Droid repo.

Yupp. And then e.g. file an issue here to have me pick up :wink:
Btw: F-Droid meanwhile also supports "reproducable builds" – which means, they'd compile from the sources, compare the resulting APK versus yours, and if the two match yours would be published (i.e. the one you signed, not theirs).
Your decision, @Reline :innocent:

I'll try to use your Gitlab repo, Izzy. But I also want the developper to be ok with the inclusion of his app in your repo, but I'll use your repo in the future :)

Sure, that can never hurt @Poussinou – neither can mentioning the corresponding GitLab repo. Other people might stumble upon it that way and help you on your hunt :wink: Furthermore, the dev can check for additional background there.


Update redshift-qs.md

image not rendering due to case sensitivity. updated image URL to S3 instead s3. also adding more clarity that IAM doesn't support dbt cloud per cs feedback.

staging links shows all fixed: https://docs-getdbt-com-git-mirnawong1-patch-12-dbt-labs.vercel.app/guides/redshift?step=3


fix(animation) get/setKeyframes throws when animation isn't defined.

Requesting keyframes for animations that aren't defined shouldn't throw, instead a more graceful behavior of returning undefined (for get) or doing nothing (for set) is preferred.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

20 of 20 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+2.1%) to 28.149%

Totals

Change from base Build<PHONE_NUMBER>:
2.1%

Covered Lines:
257

Relevant Lines:
791

💛  - Coveralls

It seems like for both cases(existing or non-existing animation), setKeyframes' behavior is identical. Would it be possible for code to get some feedback or differentiate if it couldn't find the animation?

It seems like for both cases(existing or non-existing animation), setKeyframes' behavior is identical. Would it be possible for code to get some feedback or differentiate if it couldn't find the animation?

In normal runtime, I don't think feedback is useful and can effect performance. There's a logger used in other vis.gl libraries that has levels, and I think it'd be great to print that it couldn't be found at a debug level of 3 or 4. I'll take a note to add this once that logger is working in hubble (I ran into integration issues).

I'm not too familiar with how to get/setKeyframes are being used, but curious to know why it's not ideal to throw an error. If I tried and set animation, and I got a wrong animation id that resulted in getting/SetKeyframes not working, I would want instant feedback on that so I can go back and change my animation id.

They may be used in an async context where the getter/setter call may be statically defined, but the animation won't be set until the data loads. In that case, returning undefined or doing nothing is useful behavior in the final product.
I do think getting some feedback is important, so we can wait to merge until the logger is in place, but I don't typically throw errors unless it's completely necessary. Most JS devs check for undefined.
Deck's error handling system doesn't throw errors by default, since a partially working scene is better than a crashed program. https://deck.gl/docs/api-reference/core/deck#onerror
I think something like this would be a good in-between. It gives feedback without crashing the program.


;;;###autoload flycheck-setup

for people who install with package.el and only want it loaded when
needed, e.g.
(eval-after-load "flycheck-ycmd-autoloads"
  '(add-hook 'ycmd-mode-hook 'flycheck-ycmd-setup))

Thanks, as always!


fix(3180): panicking when importing empty dependency

Summary
This PR fixes an issue where Rspacks panics when importing an empty dependency "". The solution tries to be as close as possible to Webpacks https://github.com/webpack/webpack/blob/main/lib/NormalModuleFactory.js#L310-L312

Github Issue: #3180
Test Plan

Require Documentation?

[x] No
[ ] Yes, the corresponding rspack-website PR is __

Thanks for contributing would you please add a test case?

@h-a-n-a where would I add that test case?

packages/rspack/tests/cases/resolve here

@hardfist @h-a-n-a is there any example I can refer to for testing against failures?

@hardfist @h-a-n-a is there any example I can refer to for testing against failures?

actually webpack has a test case for it https://github.com/webpack/webpack/tree/main/test/cases/parsing/issue-2006, so we could just enable this test case in rspack

@hardfist wouldn't it be better to use TraceableError instead of internal_error? As the error is traceable to the original source file

@hardfist wouldn't it be better to use TraceableError instead of internal_error? As the error is traceable to the original source file. If we show the file path, plus where exactly in the file the error is coming from that would be a much better DX

I think traceable error seems better now, FYI our traceableError seems have some limitation now and @h-a-n-a is working on refactor the error handle.

@hardfist okay, I'll work on refactoring the code to use TraceableError.
On another note, it seems the test is failing, how does the error propagate from the Rust side to the nodejs side?

@hardfist okay, I'll work on refactoring the code to use TraceableError. On another note, it seems the test is failing, how does the error propagate from the Rust side to the nodejs side?

@Hamzakh777 You can check out this file as a reference. However, at this time, I will not recommend you changing this file as it's under refactor. :-)

since we have not finished align rspack error to webpack error，pass the webpack test without modifying the test case is hard，we need copy this case to rspack tests folder

@Hamzakh777 i can help move the test if you dont mind

sure go for it @hardfist

@Hamzakh777  the ci failed because it failed to generate assets which cause jest can rust the test, so we need to make sure the artifacts generated successfully even resolve failed, I'll investigate furthrer

Sorry for the delay, I will take a look at this issue ASAP.

Ok, I think this test is not quite related to the thing that you've been working on. It relies on the other feature. Would you please add a new test to packages/rspack/tests/configCases/errors with something like empty-dependency-error

Let's merge this first and solve the error in the refactor error PR :-).

Thanks!


Add flag to avoid/skip deletion statement

There are times where I just want deck to only add/modify objects that exist in the file without deleting objects that exist on my live environment. Adding something like a --no-delete or --skip-deletes flag may be a good idea to avoid these kind of deletions.

Although this seems like a reasonable ask, I'm hesitant to open this door.
decK's delete feature is critical when it comes to "declarative" configuration. Without it, any additional configuration present in Kong can surprise users.
There is an alternative here. Use distributed configuration. Simply add a --select-tag flag to your command and you won't get any deletes if the tag is unique.


Putin Vs Kim

Putin Vs Kim
Crypto in future both Country tokens created to be a future transaction between country to operate black market system, staying away from recognising USA about high volume transfers

Trump bithes


Print script arguments in the logfile

Describe the problem
The logfile would be much more useful if, at init (e.g. when it prints the version when the script first starts), it also printed the list of arguments that were selected. Otherwise, we can't see exactly what's happening at every part of the logfile.  We could do it in a much more compact way, like so:
2022-07-26 16:18:54.924 | INFO     |  AxonDeepSeg.segment:main:xxx Segmentation script was called with the following arguments:
[ "-s": "0.211", "-i": "somefilename", "-m": "path_to_some_model", "-t": "BF", "-r": ["0.8", "1.2"], "-l": "5" ]

Proposed solution
While we're at it, I'd also like to add a big eye-catching line inbetween different runs (because they are all sinked in the same logfile), like so:
2022-07-27 10:18:34.672 | INFO     | AxonDeepSeg.segment:main:323 - AxonDeepSeg v.4.0.0
[blablabla run 1]
2022-07-27 10:21:52.668 | INFO     | AxonDeepSeg.segment:main:478 - Segmentation finished.
===================================================================================================
2022-07-27 10:28:34.672 | INFO     | AxonDeepSeg.segment:main:323 - AxonDeepSeg v.4.0.0
[blablabla run 2]
2022-07-27 10:31:52.668 | INFO     | AxonDeepSeg.segment:main:478 - Segmentation finished.

(more user-friendly when checking the logs)
Could be implemented along #664

This is still a good idea, and could be quickly implemented. I'll increase the priority


LibWeb: Create BlockContainer layout node for <input type="button">

...and shadow tree with TextNode for "value" attribute is created. This means InlineFormattingContext is used, and button's text now respects CSS text-decoration properties and unicode-ranges.

Converted to draft because I found a regression in the following example where text is no longer vertically aligned at center, and I am struggling to find the spec for  element styling:
<!DOCTYPE html>
<html>
  <head>
    <style type="text/css">
      .test {
        display: block;
        background: none rgb(40, 60, 220);
        color: rgb(255, 255, 255);
        height: 36px;
        display: block;
        width: 300px;
        height: 300px;
      }
    </style>
  </head>
  <input class="test" type="submit" value="TEST" />
</html>


Change timeout logic

Changes introduced:

Increase default execution timeout to 24h (i.e. usually fully execute two tx-count transactions)
When execution-timeout is set, instead of dividing time between transactions, attempt to complete execution of each tx until the timeout.

This shouldn't cause any difference in tyro right? Also a print message to stdout saying analysis is in progress(and warn them about the execution timeout) might be some help, as some users raised issues saying that mythril froze, if the default is switched to 24hrs then the users would definitely assume thats the case.

We'd need to adapt tyro configurations

This shouldn't cause any difference in tyro right?

The API behavior shouldn't change because we always provide timeouts. @JoranHonig I don't think we need to change anything in Tyro?

as some users raised issues saying that mythril froze

If users are concerned about analysis progress they can add the -v4 flag. Analysis is expected to take long for anything >-t1.

@b-mueller timeouts would behave differently right? each transaction would be allowed to run for the entire execution-timeout, whereas now the execution-timeout sets a bound on the global time taken for the analysis.
So the analysis can take N times as long, where N is the amount of transactions we tell mythril to do

I'm not sure how this got in there but there seem to be both self.time_handler and self.time being used for timout purposes. The time handler probably also needs to be changed to allow this pr to work.
However I think we should go with either using the time handler or the time variable, not both

the execution-timeout sets a bound on the global time taken for the analysis.

That's how it works in this PR, the timeout applies to the entire analysis. At least that's what I intended.

I'm not sure how this got in there but there seem to be both self.time_handler and self.time being used for timout purposes. The time handler probably also needs to be changed to allow this pr to work

On a quick glance it seems that time handler doesn't need changing, even though I'm not sure if the way it's used makes sense. Currently we use it to dynamically set the solver timeout to time_remaining() - 500. I'd rather not have the solver use 52 minutes of a 1 hour analysis if it gets stuck on a difficult task.
Why not just use a fixed timeout?

@b-mueller , It's mostly max(100s, time_remaining()-500) for solving, that was done for the sake of making execution-timeout flag proper. We couldn't kill mythril when it is solving, as it results in some segfaults, so had to use this way.

Is there anything that prevents merging this? Also, does it conflict with #958?


DBA-353 Fixed the historical data backfill issue

Summary
This PR fixes data import failures during reprocessing mode by disabling Prometheus self-monitoring and recording rules, which were causing conflicts with out-of-order data ingestion.
Changes

Added a separate prometheus.reprocess.yml with minimal configuration for reprocessing mode
Renamed original prometheus.yml to prometheus.normal.yml for clarity
Modified prometheus-entrypoint.sh to dynamically select the appropriate configuration file
Enhanced the collector-api to:

Queue new snapshots during reprocessing
Process historical data chronologically
Evaluate recording rules after reprocessing completes

Updated the documentation

Why
When importing historical data, Prometheus self-monitoring and recording rules were causing data ingestion failures due to conflicts with out-of-order timestamps. By disabling these features during reprocessing, we ensure successful import of historical data while maintaining full monitoring capabilities during normal operation.
Testing

Verified successful import of historical data in reprocessing mode
Confirmed proper configuration file selection based on environment variables
Validated that normal monitoring mode remains unaffected

Notes

Reprocessing is limited to 2 weeks of historical data to prevent overload
New snapshots received during reprocessing are queued and processed afterward

the diff to main looks a little strange. This PR seems to contain code changes from the prometheus metrics page you added in the other PR, but since those are already in main they should not show in the files changed for this PR. Take a look and see if you think theres an issue

@Steams  Fixe the issue related to reprocessing snapshots. The issue was that we were still using the snapshot timestamps in some places. That's fixed in 8d9edbf


Use first argument of callback instead of throw on error

Hi Leonidas,
While working with xml2js, I found that the first argument of the callback is not used when an error is encountered (like parsing incorrect XML), instead throw is used. (See line 183 of xml2js.coffee.)
Why is an error thrown? This requires the usage of a try/catch block, instead of checking if err is set.
Let's say I have the following code where I check the first argument of the callback:
parseString xml, (err, result) ->
    console.log 'encountered error' if err

This does not work at the moment, causing the need for a try/catch block:
try {
    parseString xml, (err, result) ->
        # process result
} catch (e) {
    console.log 'encountered error', e
}

However, when the # process result becomes very long, the code for which the try is needed and the catch become distanced from each other, making it difficult to read.
To summarize my question: can the first argument of the callback be used to communicate an error instead of throwing one?

Looks like this issue still occurs in xml2js 0.4.19.
const xml2js = require('xml2js');
let xml = `<a><b>x</a></b>`;
try {
  xml2js.parseString(xml, (err, res) => {
    console.log('callback err:');
    console.log(err);
    console.log('callback res:');
    console.log(res);
  });
}
catch (err) {
  console.log('caught err:');
  console.log(err);
}

Output (paths in stacktrace sanitized):
callback err:
Error: Unexpected close tag
Line: 0
Column: 11
Char: >
    at error (./node_modules/sax/lib/sax.js:651:10)
    at strictFail (./node_modules/sax/lib/sax.js:677:7)
    at closeTag (./node_modules/sax/lib/sax.js:871:9)
    at SAXParser.write (./node_modules/sax/lib/sax.js:1436:13)
    at Parser.exports.Parser.Parser.parseString (./node_modules/xml2js/lib/parser.js:322:31)
    at Parser.parseString (./node_modules/xml2js/lib/parser.js:5:59)
    at Object.exports.parseString (./node_modules/xml2js/lib/parser.js:354:19)
    at Object.<anonymous> (./test.js:6:10)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)
callback res:
undefined
caught err:
Error: Unmatched closing tag: b
Line: 0
Column: 15
Char: >
    at error (./node_modules/sax/lib/sax.js:651:10)
    at strictFail (./node_modules/sax/lib/sax.js:677:7)
    at closeTag (./node_modules/sax/lib/sax.js:879:7)
    at SAXParser.write (./node_modules/sax/lib/sax.js:1436:13)
    at Parser.exports.Parser.Parser.parseString (./node_modules/xml2js/lib/parser.js:322:31)
    at Parser.parseString (./node_modules/xml2js/lib/parser.js:5:59)
    at Object.exports.parseString (./node_modules/xml2js/lib/parser.js:354:19)
    at Object.<anonymous> (./test.js:6:10)
    at Module._compile (internal/modules/cjs/loader.js:702:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:713:10)

First, the callback function is called with an err parameter, but then an exception is thrown with a slightly different err object.


Trying out inference

Hi @EBjerrum , I followed the steps in creating new venv and also downloaded the data/models from the link hosted by AZ.
I'm assuming I could try running predict.py and obtain the results connecting model path and the dataset path in the args.
However, I have a problem understanding what the args mean.

--reactants_path : Is this the pickle file dataset USPTO_50 for example? but the code I think expects a text file
--model_path : the path here I have is from the downloaded pretrained model 'combined' version
--products_path : the path where dataframe is saved on
--vocab_path : the path of bart_vocab
The rest of them, just using default values.
Would like to get this working to put up a working dashboard on HF Space :) Thanks!

Hi Salman!

The example_scripts/predict.sh shows some information about the input types:

python -m molbart.predict
--reactants_path uspto_50_test.txt
--products_path uspto_50_p0_5_out.pickle
--model_path saved_models/uspto_50/span_aug/100_epochs/last.ckpt
--batch_size 64
--num_beams 10

Some explanations:
--reactants_path : Is the text file dataset with e.g. USPTO_50. Each line is an input SMILES. The content of this text file may look something like:

C1=COCCC1.COC(=O)CCC(=O)c1ccc(O)cc1O
COC(=O)c1cccc(C(=O)O)c1.Nc1cccnc1N
CC(C)(C)OC(=O)NC1CCC(C(=O)O)CC1.CNOC
Nc1ccc(O)cc1.O=[N+]([O-])c1ccc(Cl)nc1Cl

--model_path : Path to the pre-trained model
--products_path : Path to the output dataframe (pickle).
--vocab_path: Path to the bart_vocab, e.g. "bart_vocab.txt"
Hope this helps!
/Annie

Hi Annie, thanks for your reply.
However, I dont find the text file they mention in example scripts for --reactants_path uspto_50_test.txt
Have you tested out this model by yourself? Would like to know where you get the text files from!

There are many USPTO datasets you can find on the Internet.

Here is the one called USPTO-MIT: https://github.com/wengong-jin/nips17-rexgen
There is also the number of datasets used with the original MolecularTransformer from this paper: https://doi.org/10.1021/acscentsci.9b00576, data can be downloaded from here: https://ibm.ent.box.com/v/MolecularTransformerData

Thanks for your reply Samuel!
I am currently using the validation set (on USPTO-15K) to do predictions (as it was the smallest file). With the following contents(first 2 lines):
[CH3:18][CH2:19][O:20][C:21](=[O:22])[Cl:23].[CH3:1][O:2][c:3]1[cH:4][c:5]2[n:6][c:7]([NH2:8])[c:9]([O:10][CH3:11])[n:12][c:13]2[cH:14][c:15]1[O:16][CH3:17].[cH:24]1[cH:25][cH:26][n:27][cH:28][cH:29]1>>CCOC(=O)Nc1nc2cc(OC)c(OC)cc2nc1OC 8;;21-23-1.0;21-8-1.0
[CH3:1][C:2]([CH3:3])([CH3:4])[O:5][C:6](=[O:7])[c:8]1[cH:9][cH:10][c:11](-[n:12]2[c:13]([CH2:14][CH2:15][C:16](=[O:17])[OH:18])[cH:19][cH:20][c:21]2-[c:22]2[cH:23][cH:24][cH:25][cH:26][cH:27]2)[cH:28][cH:29]1.[CH3:43][C:44](=[O:45])[O-:46].[NH4+:42].[O:30]=[C:31]([n:32]1[cH:33][cH:34][n:35][cH:36]1)[n:37]1[cH:38][cH:39][n:40][cH:41]1>>CC(C)(C)OC(=O)c1ccc(-n2c(CCC(N)=O)ccc2-c2ccccc2)cc1 ;32;16-18-1.0,31-32-1.0,32-33-1.5,32-36-1.5;16-32-1.0

The evaluation is running atm, once its done successfully I will close this issue if that is ok with you :)

This is the output on USPTO-15K dataset; a few questions on the output (I'm new to the pharma domain)

looks like this is a Retrosynthesis prediction task?
but whats with the question marks in the predictions?
if it is indeed retrosynthesis prediction, why are there exactly 10 prediction simpler molecules for all? I would think some molecules from the USPTO-15K dataset can be broken down into maybe less than 10 simpler molecules as opposed to broken down into always 10 simpler molecules.

The columns of the output file:

| original_smiles | prediction_0 | log_likelihood_0 | prediction_1 | log_likelihood_1 | prediction_2 | log_likelihood_2 | prediction_3 | log_likelihood_3 | prediction_4 | log_likelihood_4 | prediction_5 | log_likelihood_5 | prediction_6 | log_likelihood_6 | prediction_7 | log_likelihood_7 | prediction_8 | log_likelihood_8 | prediction_9 | log_likelihood_9

Worked with the above suggestions!

Why are my results garbled?

Hi Salman!
* The example_scripts/predict.sh shows some information about the input types:

python -m molbart.predict --reactants_path uspto_50_test.txt --products_path uspto_50_p0_5_out.pickle --model_path saved_models/uspto_50/span_aug/100_epochs/last.ckpt --batch_size 64 --num_beams 10
* Some explanations:
  --reactants_path : Is the text file dataset with e.g. USPTO_50. Each line is an input SMILES. The content of this text file may look something like:

C1=COCCC1.COC(=O)CCC(=O)c1ccc(O)cc1O
COC(=O)c1cccc(C(=O)O)c1.Nc1cccnc1N
CC(C)(C)OC(=O)NC1CCC(C(=O)O)CC1.CNOC
Nc1ccc(O)cc1.O=[N+]([O-])c1ccc(Cl)nc1Cl

--model_path : Path to the pre-trained model --products_path : Path to the output dataframe (pickle). --vocab_path: Path to the bart_vocab, e.g. "bart_vocab.txt"
Hope this helps! /Annie

Please tell me what is the relationship between these four chemical molecules?

It's four different inputs. Reactants seperated with a .

Thank you for your reply.


A flag to swap labels and values in the input (Unix "uniq" compatibility)

Termgraph looks like an amazing tool and it could be really useful for some ad-hoc investigations.
When looking at the logs and other texts it's often useful to run some-command | sort | uniq -c which counts unique entries and prints the list of unique values and the number of occurrences. For example:
     16 alter
     17 create
     15 drop
     12 insert
      8 update

Termgraph would fit nicely into this use case, like some-command | sort | uniq -c | termgraph. The issue is that termgraph always expects the label to go first. Of course in the example above it can be solved with Awk for example (like | awk '{print $2, $1}', however first of all it's an extra step (which reduces usability), and also it makes it problematic if the label contains a space.
That said, it would be awesome to have a CLI flag for termgraph like --values-first, which would tell termgraph to read the value in the first column and use the rest of the line as a label.
It would allow termgraph to be used seamlessly in the example above and also provide extra flexibility in other use cases which can use a similar input format

A pull request has been raised to add this functionality: https://github.com/mkaz/termgraph/pull/95


Improve developer-preview README

Why

To make the tool more accessible and convenient to first time users
To make the intentions of the tool clearer
To demonstrate upfront what the tool does

What

[x] Add a link and recommendation to nvm
[x] Add an example screenshot and instruction to choose your metadata file
[x] Add note to ensure you're in the correct directory before npm i
[x] Invite people to raise issues if they encounter problems

See here: https://github.com/LedgerHQ/clear-signing-erc7730-developer-tools/blob/49eab3ebf3471838b07d2740301dea0fc5f4f3e6/developer-preview/README.md

Thanks @jnicoulaud-ledger
I don't have write access so please could you merge for me?

@LL782 you are now code owners so you need a :heavy_check_mark: from @pdeville-ledger :)


fix the race of delete subscription and delete topic

Fixes #12239
Motivation
See #12239
Explain here the context, and why you're making that change. What is the problem you're trying to solve.
Modifications
Use writelock to make deletecursor and remove subscription from map atomicly to method deleteTopic
Documentation
Need to update docs?

[ ] no-need-doc

Bug fix, no need doc

@codelipenghui could you please review this modification, and give me some idea to add tests.
Thank you :)

/pulsarbot run-failure-checks


remove useless code

remove userless code in requestSerializer

Current coverage is 20.62%

Merging #19 into develop will decrease coverage by -2.56% as of cf48945

@@            develop     #19   diff @@
=======================================
  Files            12      12
  Stmts           440     417    -23
  Branches          0       0
  Methods
=======================================
- Hit             102      86    -16
  Partial           0       0
+ Missed          338     331     -7

Review entire Coverage Diff as of cf48945

Powered by Codecov. Updated on successful CI builds.


BROKEN: Config schema

Hi, your latest update broken the config Schema.
I’ve tried uninstalling and reinstalling the plugin but that did not resolve the problem.
Please help. Thanks

The config schema broke for you because now the recommend way of using the plugin is a platform and not accessory anymore. That is why i adjusted the config schema to work with a platform. You would need to switch your tv in the config json form accessory to a platform.
This painless and can be done within seconds :)

I deleted the plugin and reinstalled it to see if that would fix the issue. What do I need to change to the following code Inorder to make it a platform?
},
"name": "LG OLED TV",
"prefsDir": "~/.webosTv",
"pollingInterval": 5,
"legacyTvService": false,
"showInputButtons": false,
"volumeControl": "false",
"channelControl": false,
"mediaControl": false,
"ip": "<IP_ADDRESS>",
"mac": "xx:xx:xx:xx:xx:xx,
"volumeLimit": 100,
"infoButtonAction": "INFO"
}

You do not have to delete or reinstall anything. Just check the README for an example config on how to use it as a platform.

What I’m saying is that I deleted it and re installed to see if that fixed it before posting on here. I’ll read the read me thanks

Is this issue solved?


Update grpc

Description of changes

This updates grpc and related python packages.
grpc: 1.62.1 -> 1.66.1
Diff: https://github.com/grpc/grpc/compare/v1.62.1...v1.66.1
Changelog: https://github.com/grpc/grpc/releases/tag/v1.66.1
python3Packages.grpcio-status: 1.64.1 -> 1.66.0
python3Packages.grpcio-tools: 1.64.1 -> 1.66.0
Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

Should this target staging? @mweinelt

Addresses CVE-2024-7246

Fails to build on macos 12 x86_64 though:
Undefined symbols for architecture x86_64:
  "_google__protobuf__EnumOptions_msg_init", referenced from:
      __upb_EnumDefs_New in enum_def.c.o
  "_google__protobuf__EnumValueOptions_msg_init", referenced from:
      __upb_EnumValueDefs_New in enum_value_def.c.o
  "_google__protobuf__ExtensionRangeOptions_msg_init", referenced from:
      __upb_ExtensionRanges_New in extension_range.c.o
  "_google__protobuf__FeatureSetDefaults_msg_init", referenced from:
      _upb_DefPool_SetFeatureSetDefaults in def_pool.c.o
  "_google__protobuf__FeatureSet_msg_init", referenced from:
      _upb_DefBuilder_AddFileToPool in def_pool.c.o
      __upb_FieldDef_Create in field_def.c.o
      __upb_DefBuilder_GetOrCreateFeatureSet in def_builder.c.o
      __upb_DefBuilder_DoResolveFeatures in def_builder.c.o
  "_google__protobuf__FieldOptions_msg_init", referenced from:
      __upb_FieldDef_Create in field_def.c.o
  "_google__protobuf__FileDescriptorProto_msg_init", referenced from:
      __upb_DefPool_LoadDefInitEx in def_pool.c.o
  "_google__protobuf__FileOptions_msg_init", referenced from:
      __upb_FileDef_Create in file_def.c.o
  "_google__protobuf__MessageOptions_msg_init", referenced from:
      __upb_MessageDefs_New in message_def.c.o
  "_google__protobuf__MethodOptions_msg_init", referenced from:
      __upb_MethodDefs_New in method_def.c.o
  "_google__protobuf__OneofOptions_msg_init", referenced from:
      __upb_OneofDefs_New in oneof_def.c.o
  "_google__protobuf__ServiceOptions_msg_init", referenced from:
      __upb_ServiceDefs_New in service_def.c.o
ld: symbol(s) not found for architecture x86_64

https://github.com/grpc/grpc/issues/36654

Mass ping, please resubmit, and in the future draft your PRs before rebasing.


Adding workflow to create Cordio platform docs.

Can we give some names to the anonymous entries?

Can we close this?


Get API Key for Adopt-a-pet

key = hg4nsv85lppeoqqixy3tnlt3k8lj6o0c&v

Example curl:  curl --location 'https://api-staging.adoptapet.com/search/search_form?key=hg4nsv85lppeoqqixy3tnlt3k8lj6o0c&v=3&output=json&species=dog'
--header 'Accept: application/json'


Check if document is defined before checking if there is a elementsFromPoint method

This fix the issue #60
So it won't break if the library is parsed on the backend.

I'm on vacay till monday but will merge afterwards
On Thu, Apr 20, 2017 at 6:51 AM João Mosmann<EMAIL_ADDRESS>wrote:

This fix the issue #60
https://github.com/yahoo/react-dnd-touch-backend/issues/60
So it won't break if the library is parsed on the backend.
You can view, comment on, or merge this pull request online at:
https://github.com/yahoo/react-dnd-touch-backend/pull/61
Commit Summary

Check if document is defined before checking if there is a
elementsFromPoint method

File Changes

M src/Touch.js
https://github.com/yahoo/react-dnd-touch-backend/pull/61/files#diff-0
(2)

Patch Links:

https://github.com/yahoo/react-dnd-touch-backend/pull/61.patch
https://github.com/yahoo/react-dnd-touch-backend/pull/61.diff

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/yahoo/react-dnd-touch-backend/pull/61, or mute the
thread
https://github.com/notifications/unsubscribe-auth/AAMGb3h75jNuaiEP5Iiw3C09BDxHY4wpks5rxzi_gaJpZM4NC3Mw
.

Thanks 👍


[Feature request] Support pathDefinition.parameters OpenAPI property

Parameters can be defined at the path definition level with OpenAPI. The current implementation only look for parameters at the operation level.
Note that libraries like swagger-parser and sway might help normalize those types of properties. They can also validate the specification.

This was fixed #120 which is released in 1.5


Defect/2199 conf perm

add rep policy in /conf folder to provide read permissions to acs-commons-email-service user

@HitmanInWis : I have created this new PR for 2199 issue. If it looks all good then please approve it.

Hi Rajeev, thanks for the refactor.  I will try to get to testing this in the coming days - unfortunately struggling to find the time but I do have this on my radar.

@rajeevyadav2 Can you please merge latest master into your branch to resolve conflicts?  I'd do it but I'm worried that doing so will cause me to steal the commit credit when this is merged.

@rajeevyadav2 Can you please merge latest master into your branch to resolve conflicts? I'd do it but I'm worried that doing so will cause me to steal the commit credit when this is merged.

@HitmanInWis : Done. :)

Tested the PR - this is gtg once the CHANGELOG is fixed up.

Quick reminder @rajeevyadav2 in case you missed the requested change above.  The CHANGELOG is still not formatted correctly.

Thanks @davidjgonzalez


nerian_stereo: 3.9.1-1 in 'noetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository nerian_stereo to 3.9.1-1:

upstream repository: https://github.com/nerian-vision/nerian_stereo.git
release repository: https://github.com/nerian-vision/nerian_stereo-release.git
distro file: noetic/distribution.yaml
bloom version: 0.10.7
previous version for package: 3.9.0-5

nerian_stereo
* Updated vision software release
* Fixed point cloud color channel issue with large RGB images
* Contributors: Konstantin Schauwecker

Holding for Noetic sync


ASP Sample

Hello, can you please share some insight on how to use this in an ASP Core tag Helper or view component View web application like an taxify or Truck Dispatch scenario

Looks like a duplicate https://github.com/Mapsui/Mapsui/issues/1007