[Feature request] Add support for multiple AnchorNav.Action

This came up when starting with the Copilot implementation.
Current state
AnchorNav only supports a single AnchorNav.Action:

Feature request
In Figma we would like the navigation to have 2 AnchorNav.Action.

I guess it's similar to how SubdomainNavBar can have a "Primary" and a "Secondary" action.
Current workarounds
For now, the "Compare plans" is moved to a AnchorNav.Link. IMO that's the better option in this specific case since we do have a "Pricing" section, so it would be odd if it's not part of the "normal" navigation. But even if we would go with this for Copilot, the need for a Primary and Secondary action will probably come up again sooner or later.

Another option might be add 2 AnchorNav.Action (which works), and then add some custom styling to make it appear like a primary button. But that's more an emergency hack and shouldn't be kept long term.
/cc @jesussandreas @ajashams

@rezrah should #498 close this?

Closed by #498

@joseph-lozano that's correct. Thanks for following up.
@simurai - documentation for the secondary action is here: https://primer.style/brand/components/AnchorNav#secondary-action


Mock Server Implementation.

Handling of capnp calls while providing session-like interface. This interface can be inherited and desired functionality can be inserted by overriding methods. Also a model implementing basic functionalities can be used as a starting point for further customization.

@tobiasah Please review the documentation (except for the demo)

@tobiasah  Please have a look at the testing strategy. The AB tests are rather experimental, but the others are serious

@tobiasah  please review the requested changes


Protocol not found - correct URL this time

[ X] I've verified and I assure that I'm running youtube-dl 2018.06.25

I have:

[ X] At least skimmed through the README, most notably the FAQ and BUGS sections
[ X] Searched the bugtracker for similar issues including closed ones
[ X] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ X] Bug report (encountered problems with youtube-dl)

Previous bug report URL had a copy/paste error that wouldn't load in browser.  My bad.  This is legit.

 youtube-dl -v 'https://www.youtube.com/watch?v=1uLTspBEtRE'
[debug] System config: []
[debug] User config: [u'-i', u'-f', u'best', u'-o', u'%(title)s.%(ext)s']
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.youtube.com/watch?v=1uLTspBEtRE']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.06.25
[debug] Python version 2.7.15 (CPython) - Darwin-17.6.0-x86_64-i386-64bit
[debug] exe versions: avconv 12.3, avprobe 12.3, ffmpeg 4.0.1, ffprobe 4.0.1
[debug] Proxy map: {}
[youtube] 1uLTspBEtRE: Downloading webpage
[youtube] 1uLTspBEtRE: Downloading video info webpage
[youtube] 1uLTspBEtRE: Downloading m3u8 information
[youtube] 1uLTspBEtRE: Downloading MPD manifest
[youtube] 1uLTspBEtRE: Downloading MPD manifest
[debug] Invoking downloader on u'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/1uLTspBEtRE.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r4---sn-a5meknlz.googlevideo.com/playlist_type/CLEAN/gcr/us/force_finished/1/ei/ZVQ0W_S-IImJ-gO4-5HwAw/initcwndbps/11090/mm/32/mn/sn-a5meknlz/ms/lv/mv/m/pl/15/dover/10/fexp/23709359/keepalive/yes/mt/1530156072/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1530177733/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,force_finished,ei,initcwndbps,mm,mn,ms,mv,pl/signature/92EF52DC71BE6190594B600081B2F246A5FB39A9.2CBA509D283B23B4782180DF7C1E08523B4269F6/key/dg_yt0/playlist/index.m3u8'
[download] Destination: Matt Godbolt - Why C++ Isn’t Dead.mp4
[debug] avconv command line: avconv -y -loglevel verbose -headers 'Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.7
Accept-Language: en-us,en;q=0.5
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:59.0) Gecko/20100101 Firefox/59.0 (Chrome)
' -i 'https://manifest.googlevideo.com/api/manifest/hls_playlist/id/1uLTspBEtRE.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r4---sn-a5meknlz.googlevideo.com/playlist_type/CLEAN/gcr/us/force_finished/1/ei/ZVQ0W_S-IImJ-gO4-5HwAw/initcwndbps/11090/mm/32/mn/sn-a5meknlz/ms/lv/mv/m/pl/15/dover/10/fexp/23709359/keepalive/yes/mt/1530156072/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1530177733/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,force_finished,ei,initcwndbps,mm,mn,ms,mv,pl/signature/92EF52DC71BE6190594B600081B2F246A5FB39A9.2CBA509D283B23B4782180DF7C1E08523B4269F6/key/dg_yt0/playlist/index.m3u8' -c copy -f mp4 'file:Matt Godbolt - Why C++ Isn’t Dead.mp4.part'
avconv version 12.3, Copyright (c) 2000-2018 the Libav developers
  built on Feb 13 2018 11:17:07 with Apple LLVM version 9.0.0 (clang-9<IP_ADDRESS>)
  configuration: --disable-debug --disable-shared --disable-indev=jack --prefix=/usr/local/Cellar/libav/12.3 --enable-gpl --enable-nonfree --enable-version3 --enable-vda --cc=clang --host-cflags= --host-ldflags= --enable-libfaac --enable-libfdk-aac --enable-libfreetype --enable-libmp3lame --enable-libopus --enable-libvorbis --enable-libvpx --enable-libx264 --enable-libxvid
  libavutil     55. 20. 0 / 55. 20. 0
  libavcodec    57. 25. 0 / 57. 25. 0
  libavformat   57.  7. 2 / 57.  7. 2
  libavdevice   56.  1. 0 / 56.  1. 0
  libavfilter    6.  7. 0 /  6.  7. 0
  libavresample  3.  0. 0 /  3.  0. 0
  libswscale     4.  0. 0 /  4.  0. 0
https://manifest.googlevideo.com/api/manifest/hls_playlist/id/1uLTspBEtRE.1/itag/96/source/yt_live_broadcast/requiressl/yes/ratebypass/yes/live/1/cmbypass/yes/goi/160/sgoap/gir%3Dyes%3Bitag%3D140/sgovp/gir%3Dyes%3Bitag%3D137/hls_chunk_host/r4---sn-a5meknlz.googlevideo.com/playlist_type/CLEAN/gcr/us/force_finished/1/ei/ZVQ0W_S-IImJ-gO4-5HwAw/initcwndbps/11090/mm/32/mn/sn-a5meknlz/ms/lv/mv/m/pl/15/dover/10/fexp/23709359/keepalive/yes/mt/1530156072/disable_polymer/true/ip/<IP_ADDRESS>/ipbits/0/expire/1530177733/sparams/ip,ipbits,expire,id,itag,source,requiressl,ratebypass,live,cmbypass,goi,sgoap,sgovp,hls_chunk_host,playlist_type,gcr,force_finished,ei,initcwndbps,mm,mn,ms,mv,pl/signature/92EF52DC71BE6190594B600081B2F246A5FB39A9.2CBA509D283B23B4782180DF7C1E08523B4269F6/key/dg_yt0/playlist/index.m3u8: Protocol not found

ERROR: ffmpeg exited with code 1
  File<EMAIL_ADDRESS>line 174, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File<EMAIL_ADDRESS>line 72, in _run_code
    exec code in run_globals
  File "/usr/local/bin/youtube-dl/__main__.py", line 19, in <module>
    youtube_dl.main()
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 472, in main
    _real_main(argv)
  File "/usr/local/bin/youtube-dl/youtube_dl/__init__.py", line 462, in _real_main
    retcode = ydl.download(all_urls)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 2001, in download
    url, force_generic_extractor=self.params.get('force_generic_extractor', False))
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 803, in extract_info
    return self.process_ie_result(ie_result, download, extra_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 857, in process_ie_result
    return self.process_video_result(ie_result, download=download)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1635, in process_video_result
    self.process_info(new_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1908, in process_info
    success = dl(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 1847, in dl
    return fd.download(name, info)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 364, in download
    return self.real_download(filename, info_dict)
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/external.py", line 64, in real_download
    self.get_basename(), retval))
  File "/usr/local/bin/youtube-dl/youtube_dl/downloader/common.py", line 165, in report_error
    self.ydl.report_error(*args, **kargs)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 620, in report_error
    self.trouble(error_message, tb)
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 582, in trouble
    tb_data = traceback.format_list(traceback.extract_stack())

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

URL loads in browser, video plays, but youtube-dl errors out.

Your avconv is built without https supports. Either fix or use ffmpeg.

Thanks.  I thought I was using ffmpeg.   Appreciate the quick reply Sergei!
Also, the problem appears to have corrected itself (same URL works fine now, thanks Google/YouTube), so I'm not 100% sure that was the root cause.
Appreciate all that you do, youtube-dl is great.


Appsody stack on Win using dev mode doesn't get notified of changes

@gcharters indicated that Appsody stack on Windows using dev mode does not get notified of changes due to a Windows limitation.
It relates to https://github.com/docker/for-win/issues/56#issuecomment-242135705.
Opening this issue to track.

@yeekangc I have no faith that docker/for-win#56 will be resolved in a timescale we care about.  It was closed three years ago and documented as not supported.
I think we need to consider alternative approaches to file change detection in liberty dev mode.

This issue no longer occurs with Docker Desktop Edge <IP_ADDRESS> on the latest version of Windows 10.
Docker Desktop Edge release is available at https://docs.docker.com/docker-for-windows/edge-release-notes/ and I tested it with the default installation settings (including using Linux container on Windows).
Tested dev mode using https://github.com/appsody/stacks/pull/514, with the following workarounds (might be stack issues or Windows line break issues from git clone): https://github.com/ericglau/stacks/commit/396bda88558edb5a584f5b58cb3dc85041daa65e.  Files changes were picked up by dev mode running in Appsody/Docker when local source files were changed with Notepad.
For reference, docker version output shows:
Client: Docker Engine - Community
 Version:           19.03.5
 API version:       1.40
 Go version:        go1.12.12
 Git commit:        633a0ea
 Built:             Wed Nov 13 07:22:37 2019
 OS/Arch:           windows/amd64
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          19.03.5
  API version:      1.40 (minimum version 1.12)
  Go version:       go1.12.12
  Git commit:       633a0ea
  Built:            Wed Nov 13 07:29:19 2019
  OS/Arch:          linux/amd64
  Experimental:     true
 containerd:
  Version:          v1.2.10
  GitCommit:        b34a5c8af56e510852c35414db4c1f4fa6172339
 runc:
  Version:          1.0.0-rc8+dev
  GitCommit:        3e425f80a8c931f88e6d94a8c831b9d5aa481657
 docker-init:
  Version:          0.18.0
  GitCommit:        fec3683

@scottkurz @uberskigeek ^^^

I'm still seeing this same issue with Docker Desktop Edge <IP_ADDRESS> on Win10 (dev mode reacts to a .java src change within the container but not to a change from the host side).

A polling option has been added to dev mode, which uses file-based polling for source changes instead of relying on file system notification.  It can be enabled with -Dpolling in Maven or --polling in Gradle.
@scottkurz You can enable it in the Appsody stack by adding the option like in the following example:
https://github.com/ericglau/stacks/commit/e83dc5753df2acf9f8cd1c437414a5a0b3f8efbc

The polling option can also be passed in to the pom.xml instead, by setting the following in pom.xml:
<properties>
    <polling>true</polling>
</properties>

I suggest we add the above option in the Windows 10 note at https://github.com/appsody/stacks/tree/master/incubator/java-openliberty#changes-from-windows-10-host-side-not-detected-within-container

Opened issue for the java-openliberty stack https://github.com/appsody/stacks/issues/708 to mention the above as a workaround.  Closing this issue since the polling option has been implemented on the dev mode side.


Pass default values to target config/options

BYOC Compiler Config node defines the target compiler's command line options, along with default values.
This change extract the default values while constructing target options for codegen/target compiler.
Added test case for this feature as well.

For my PR,  cortexm/pr-head test is failing, on investigation I find
boolean type argument  of CMSIS-NN is not passed with numeric value and got below error
[2024-05-16T14:29:37.357Z] tvmc compile: error: argument --target-cmsis-nn-debug_last_error: invalid
Argument passed:
"--target-cmsis-nn-debug_last_error=false"
Based on the python argument parse, above error looks to be valid, however it is not observed other PR.
I could not decipher the link between this error and my PR. Could some one put a light on it ? How it is passing otherwise when python argument parser looks to be valid ?
Appreciate your insights!


Trouble running example source on project's README

I am having some trouble running the example sources on Therfoo's repo README. This is the error message it gives back when executed.
"
chiteri@darkstar-T430:~/Projects/GoPlayground/statistics$ go run therfootest.go
therfootest.go:4:2: cannot find package "github.com/therfoo/datasets/basic" in any of:
/usr/lib/go-1.10/src/github.com/therfoo/datasets/basic (from $GOROOT)
/home/chiteri/go/src/github.com/therfoo/datasets/basic (from $GOPATH)
therfootest.go:6:2: cannot find package "github.com/therfoo/therfoo/layers/dense" in any of:
/usr/lib/go-1.10/src/github.com/therfoo/therfoo/layers/dense (from $GOROOT)
/home/chiteri/go/src/github.com/therfoo/therfoo/layers/dense (from $GOPATH)
therfootest.go:7:2: cannot find package "github.com/therfoo/therfoo/model" in any of:
/usr/lib/go-1.10/src/github.com/therfoo/therfoo/model (from $GOROOT)
/home/chiteri/go/src/github.com/therfoo/therfoo/model (from $GOPATH)
therfootest.go:8:2: cannot find package "github.com/therfoo/therfoo/optimizers/sgd" in any of:
/usr/lib/go-1.10/src/github.com/therfoo/therfoo/optimizers/sgd (from $GOROOT)
/home/chiteri/go/src/github.com/therfoo/therfoo/optimizers/sgd (from $GOPATH)
therfootest.go:9:2: cannot find package "github.com/therfoo/therfoo/tensor" in any of:
/usr/lib/go-1.10/src/github.com/therfoo/therfoo/tensor (from $GOROOT)
/home/chiteri/go/src/github.com/therfoo/therfoo/tensor (from $GOPATH)
"
Any suggestions on how to bypass that?

Seems like you haven't installed the packages.
Try go install github.com/missingRepoAddress for all packages mentioned in your log
IE: go install github.com/therfoo/datasets/basic

From the repo's document structure on Github, none of those files / folders seem to exist on the paths provided. The same problem seems to persist.
chiteri@darkstar-T430:~/Projects/GoPlayground/statistics$ go install github.com/therfoo/datasets/basic can't load package: package github.com/therfoo/datasets/basic: cannot find package "github.com/therfoo/datasets/basic" in any of: 	/usr/lib/go-1.10/src/github.com/therfoo/datasets/basic (from $GOROOT) 	/home/chiteri/go/src/github.com/therfoo/datasets/basic (from $GOPATH) chiteri@darkstar-T430:~/Projects/GoPlayground/statistics$ go install github.com/therfoo/therfoo/layers/dense can't load package: package github.com/therfoo/therfoo/layers/dense: cannot find package "github.com/therfoo/therfoo/layers/dense" in any of: 	/usr/lib/go-1.10/src/github.com/therfoo/therfoo/layers/dense (from $GOROOT) 	/home/chiteri/go/src/github.com/therfoo/therfoo/layers/dense (from $GOPATH) chiteri@darkstar-T430:~/Projects/GoPlayground/statistics$ go install github.com/therfoo/therfoo/model can't load package: package github.com/therfoo/therfoo/model: cannot find package "github.com/therfoo/therfoo/model" in any of: 	/usr/lib/go-1.10/src/github.com/therfoo/therfoo/model (from $GOROOT) 	/home/chiteri/go/src/github.com/therfoo/therfoo/model (from $GOPATH) chiteri@darkstar-T430:~/Projects/GoPlayground/statistics$ go install github.com/therfoo/therfoo/optimizers/sgd can't load package: package github.com/therfoo/therfoo/optimizers/sgd: cannot find package "github.com/therfoo/therfoo/optimizers/sgd" in any of: 	/usr/lib/go-1.10/src/github.com/therfoo/therfoo/optimizers/sgd (from $GOROOT) 	/home/chiteri/go/src/github.com/therfoo/therfoo/optimizers/sgd (from $GOPATH) chiteri@darkstar-T430:~/Projects/GoPlayground/statistics$ go install github.com/therfoo/therfoo/tensor can't load package: package github.com/therfoo/therfoo/tensor: cannot find package "github.com/therfoo/therfoo/tensor" in any of: 	/usr/lib/go-1.10/src/github.com/therfoo/therfoo/tensor (from $GOROOT) 	/home/chiteri/go/src/github.com/therfoo/therfoo/tensor (from $GOPATH) chiteri@darkstar-T430:~/Projects/GoPlayground/statistics$


RS-476: Update price page

❗Updated homepage title and subtitle
Added new price list and waiting list forms
Created a new cloud solution page

The dark theme is hard to read.


If there is a path without a return, undefined should be included in the return type.

In this example, we should get a warning that the first operand to minus could be number or undefined.
function f(x) {
  if (x > 1) {
    return 42;
  }
}
f(0) - 123;

Fixed in 0.4.0 (https://github.com/facebook/flow/commit/c6457eb11c37f598ccd357e5ff88938d2c0c9411#diff-c600001e37d25814dbc857496fecd26dL4060)
thanks!


failed to install

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Example Project
(If possible, please create an example project here on GitHub.com that exhibits the problematic
behavior, and link to it here in the bug report.
If you are using an older version of GitHub, this will also determine whether the bug has been fixed
in a more recent version)
Screenshots
If applicable, add screenshots to help explain your problem.
Versions (please complete the following information):

Visual Studio Code: [e.g 1.57.1]
Node: [e.g. 12.21.0]
Package Manager [e.g. npm 7.18.1, yarn 1.22.10, pnpm 6.7.6]
prettier-eslint: [e.g. 10.1.0]
prettier: [e.g. 1.9.2]
eslint: [e.g. 6.8.0]

System Specifications (please complete the following information):

OS: [e.g. MacOS Big Sur 11.4]
Processor: [e.g. Intel i7 2.6Ghz]
RAM Size: [e.g. 16 GB]

Additional context
Add any other context about the problem here.

@fattah-behmadi Thank you for creating an issue. Could you please provide steps or example project to reproduce the issue? Otherwise, I'll have to mark this as closed.


TypeError: Cannot read property 'configure' of undefined

I've noticed this error only when the app is in background, it works fine when app is in focus. I've tried #380 solution.
This is the error before trying #380 solution:

This is the stacktrace from remote debugger:

This is after trying #380 solution:

Can anyone help me?

My bad, i put the deep link code on the wrong  block in manifest.xml. fixed

My bad, i put the deep link code on the wrong  block in manifest.xml. fixed


Fix for phantom moves

Sometimes (this seems to be a problem with webkit/Safari and magic mice, but has been observed on other platforms as well), a mousemove event is generated before the mouse actually moves.  This prevents a click gesture from being recognized upon a subsequent mouseup event.  The upshot is that clicking can be very difficult with most clicks just doing nothing.
This small patch checks that the mouse has indeed moved before setting the moved flag for the gesture or performing a transform.

See #65 and d3/d3-drag#28 for context. This is an improvement, but it only handles the case of ignoring strictly zero-movement mousemove events.
The problem is how we handle small but non-zero-movement mousemove events. I think the desired behavior is that small non-zero-movement mousemove events should still trigger a zoom event, but they should not trigger click suppression following the gesture (i.e., gesture.moved should remain false until the mouse has moved a certain total distance since the start of the gesture, even though we may dispatch a zoom event).
Also, if and when a distance threshold is applied, that distance threshold must operate in screen space (event.clientX and event.clientY) not user space (d3.mouse), since user space can have an arbitrary transform associated with it. You need to do something like this (omitting the other parts of handling the gesture):
function mousedowned() {
  var g = …,
        x0 = event.clientX,
        y0 = event.clientY,
        d2 = 0; // squared distance travelled during this gesture

  function mousemoved() {
    if (!g.moved) {
      var x1 = event.clientX,
          y1 = event.clientY,
          dx = x1 - x0,
          dy = y1 - y0;
      g.moved = (d2 += dx * dx + dy * dy) >= threshold2;
    }
  }
}

Where threshold2 is the squared distance threshold to trigger click suppression. Probably something like 4.
I’ve also been thinking about whether this intersects with touch handling, but I don’t think it does, since touch handling doesn’t have the same click suppression logic.
Also, whatever strategy we apply to d3-zoom we need to apply the same strategy to d3-drag for consistency.

Thanks for the context links, I should have spend a little more time digging around!
I've incorporated your suggestions:

The zoom.clickDistance() accessor has been added to make the threshold configurable.  I've left the default at 0 to keep the behavior as close as possible to the current semantics while fixing the click problem on buggy zero-movement browsers.
Changed to screen space from user space.
Departing from your sample code, I don't compute the path distance, just the distance between the down and up.

If you think this is in line with your design goals, I'm happy to apply the same to d3-drag.

I'm having great troubles with this same problem, would it be possible to merge this?

Looks good. Thank you!


autorandr: autorandr-kde.desktop refers to /usr/bin/autorandr

Describe the bug
autorandr installs two desktop files, in order to work around some xdg-autostart-generator wart: https://github.com/phillipberndt/autorandr/blob/06b341adf31f97e523e114dad2523b9be1b03209/Makefile#L69-L70
but the -kde file somehow does not get fixed up to refer to the store path:
$ cat /run/current-system/sw/etc/xdg/autostart/autorandr-kde.desktop
[Desktop Entry]
Name=Autorandr
Comment=Automatically select a display configuration based on connected devices
Type=Application
Exec=/usr/bin/autorandr -c --default default
X-Desktop-File-Install-Version=0.26
OnlyShowIn=KDE;
$ cat /run/current-system/sw/etc/xdg/autostart/autorandr.desktop
[Desktop Entry]
Name=Autorandr
Comment=Automatically select a display configuration based on connected devices
Type=Application
Exec=/nix/store/wq1lbln3y35b2fg9pslvj7iwkm0wjjjv-autorandr-1.13.3/bin/autorandr -c --default default
X-GNOME-Autostart-Phase=Initialization

This causes warnings from xdg-autostart-generator on startup (and I suspect prevents autorandr running automatically, though that might also be stopped by the OnlyShowIn=KDE, I can't remember how much of that xdg-autostart-generator implements):
Apr 10 17:47:59 perihelion systemd-xdg-autostart-generator[1880]: Exec binary '/usr/bin/autorandr' does not exist: No such file or directory
Apr 10 17:47:59 perihelion systemd-xdg-autostart-generator[1880]: /run/current-system/sw/etc/xdg/autostart/autorandr-kde.desktop: not generating unit, error parsing Exec= line: No such file or directory

Expected behavior
Since autorandr includes an autostart file, I would like it to autostart without intervention from me.
Notify maintainers
@coroa @globin @alexnortung
Metadata
$ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.1.21, NixOS, 23.05 (Stoat), 23.05.20230326.5f9d1bb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.13.3`
 - nixpkgs: `/etc/nixpkgs/channels/nixpkgs`

I stumbled on this issue since on my side it looks like autorandr is not called when the lid state change on my laptop.
I've checked and on my side, both autorandr*.desktop files have a correct path to the autorandr binary:
❯ cat /run/current-system/sw/etc/xdg/autostart/autorandr.desktop
[Desktop Entry]
Name=Autorandr
Comment=Automatically select a display configuration based on connected devices
Type=Application
Exec=/nix/store/scdagzlf3xwgmx63s02hfwwl3x51aiw7-autorandr-1.14/bin/autorandr -c --default default
X-GNOME-Autostart-Phase=Initialization

❯ cat /run/current-system/sw/etc/xdg/autostart/autorandr-kde.desktop
[Desktop Entry]
Name=Autorandr
Comment=Automatically select a display configuration based on connected devices
Type=Application
Exec=/nix/store/scdagzlf3xwgmx63s02hfwwl3x51aiw7-autorandr-1.14/bin/autorandr -c --default default
X-Desktop-File-Install-Version=0.26
OnlyShowIn=KDE;

Is the issue still there for you? Here is my config:
❯ nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.8, NixOS, 23.11 (Tapir), 23.11.20240108.6723fa4`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.18.1`
 - channels(esteban): `"nixos-unstable"`
 - channels(root): `"nixos-22.11, nixos-hardware"`
 - nixpkgs: `/nix/var/nix/profiles/per-user/root/channels/nixos`

PS: Why does the desktop files reside under /run/current-system/sw/etc/xdg/autostart/ and not /etc/xdg/autostart/?


trClassName as a function seems to mess up column widths

I am using trClassName as a function to programmatically insert class names based on certain conditions. Since doing this, however, I have found that the TH widths are all messed up.
For example, I am using a selectable table and where the inline CSS elements used to be

  <input type="checkbox" class="react-bs-select-all" value="on">

IS NOW

  <input type="checkbox" class="react-bs-select-all" value="on">

for ALL TH elements. This makes the table look like this:

Of course removing the trClassName prop fixes this width issue.

My function is simply:
setTrClassName = (rowData) => {
    const { clickable, unselectable } = this.props
    let className = null
    const unselectableRows = unselectable || []
    // we want to either add a class to clickable rows or ones that aren't selectable
    // to accommodate two different table types
    if (clickable) {
      className = 'clickable'
    } else if (contains(rowData.id, unselectableRows)) {
      className = 'row-hidden'
    }

    return className
  }

where row-hidden is, well, hidden.

After looking into this, it seems if I use CSS to hide a row using display: none (applied to the row-hidden class), this happens. I found a work around where I just change the background color of the disabled row instead of hiding it, and this seems to work for now...
Any way we can programmatically hide a row instead?

@jflayhart, sorry for lately reply.

Any way we can programmatically hide a row instead?

Maybe I can support this feature in future, but I'm focus on v3.0.0 development, so PR is welcome. :)


Add Google Search App support

@fnando The build seems to be failing because of Rubocop, but I can't reproduce it locally (and it seems to be complaining about the files that I haven't changed as part of this PR).

@milandobrota just pushed latest Rubocop fixes to master. Can you please rebase?

@fnando Hey it looks like we pushed at the same time. :)

@fnando It looks like it passed anyway. :)

@milandobrota yeah, sorry for tainting your branch. I have some time to work on this right now, and didn't want to wait. :O

No problem!


Made work for generic torchvision datasets

This will now work for any generic torchvision datasets. Just need to
make dataset flag in the format of 'tv-' to indicate that we want to do
this. Also allows downloading of the dataset.

I went with the indicator of `tv-" as a signal that we want to use a torchvision dataset. It requires that the dataset has the correct capitalization format from torchvision itself. Note that tv can be capitalized and that the deliminator character is not strict. I can add something to the README to denote that we now have this feature or we can leave hidden for now since we aren't providing configs. Obviously others will have to calculate the correct mean and standard deviation for their datasets.

I think this will handle it better. In my tests this handles the train/split different keywords that torchvision datasets have. We're going to ignore the validation sets. This also will download things in parallel but we're going to let whichever writer gets there first actually do the writing. I have not tested a full run but a few epochs and it seems fine.
Up next:

How do we want to handle the README?
Do we want to add comments to the config files? Let's add the dataset and download (default False) arguments.


[quantum jobs] Update to core tracing 1.0

Packages impacted by this PR

[quantum jobs]

Issues associated with this PR

#21199

Describe the problem that is addressed by this PR
Updating from core-http to core-rest-pipeline and core-tracing 1.0
What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?
Are there test cases added in this PR? (If not, why?)
Provide a list of related PRs (if any)
Command used to generate this PR:**(Applicable only to SDK release request PRs)
Checklists

[x] Added impacted package name to the issue description
[ ] Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
[x] Added a changelog (if necessary)

API change check
APIView has identified API level changes in this PR and created following API reviews.
azure-quantum-jobs


Improve geocoding and fix openstreetsmaps problem

issue #1345
If the openstreetmaps server is not reachable, or blocking a request,
the current location from the browser is taken to create a "what's
around" need and the boundingbox is computed with the "geopoint"
library, which is now included in the project.

there seems to be something white-space-related in the diff of jspm_config.js and package.json (probably unix vs windows file-endings)

same goes for the entirety of utils.js

i force pushed the same changes onto this branch, so there should not be a whitespace problem anymore


Use cobra for subcommands in manifest

This PR adds a create subcommand to the manifest tool using the cobra package, and moves over the implementation into its new location.

We need to follow up to fix how the tool is called in https://github.com/transparency-dev/armored-witness-applet/blob/dc769ea91e1d1f0aec367c400aad03eed7210bbb/release/cloudbuild_ci.yaml#L64-L79 and the other files, right?

We need to follow up to fix how the tool is called in https://github.com/transparency-dev/armored-witness-applet/blob/dc769ea91e1d1f0aec367c400aad03eed7210bbb/release/cloudbuild_ci.yaml#L64-L79 and the other files, right?

Yup, if you want I can make it so that the "default" command is create with a TODO to undo that once we've updated the builds?

We need to follow up to fix how the tool is called in https://github.com/transparency-dev/armored-witness-applet/blob/dc769ea91e1d1f0aec367c400aad03eed7210bbb/release/cloudbuild_ci.yaml#L64-L79 and the other files, right?

Yup, if you want I can make it so that the "default" command is create with a TODO to undo that once we've updated the builds?

Great, thanks!


Initial part of docs restructuring, for test case runners

Separated docs into two folders for test case runners and test case developers, respectively.
Finished restructuring the half of test case runners, including adding an index page, moving sections in and between files, and rewriting some sections.
Some minor fixings on the part for test case developers.

This is a merge commit. Can you please make it a fast-forward one, instead, please?

Each PR should be completed and incrementally. The links in readme.md should be maintained, to make sure they are not broken.

The commit "let user understand test results" is empty now. Does it need to be deleted?


bump webpack-dev-server

was actually originally hoping they'd bumped portfinder, and they hadn't, but the rest of the bumps were good so let's do it anyway

Which version of portfinder is the fix in?

Or rather does it not match portfinder "^1.0.28"?

Ah ok! :ship: anyways!


Release a new stable gem version with Cucumber 2 support

Or put in the readme a commit hash considered as stable as the currently published gem. Just to reassure those who are afraid to depend on the latest master commit.

+1

:+1:

+1 - Is there something blocking this from happening, and how can I help move it forward if so?

@rstawarz the only thing that is blocking it is available time. If you want to do a PR, it would be great :-)

Can we safely consider the current HEAD as releasable?

@tuxayo The gemspec has cucumber < 2.1, so as long as Travis agrees, then I don't see why not.

Does anyone else than you can release a new gem on rubygems.org?

+1

+1

+1

+1

I am sure many more people are waiting for this, and just don't want to overcrowd this thread with +1s. Any chance one of the contributors can provide some official statement on the matter?  Or if it is no longer maintained, maybe someone else can take over / fork?

Hi all,
I'm very sorry for not replying earlier.
The issue at the moment is that none of the tests are passing on Travis.
I've tried a couple of times to see the reason why, but unfortunately I've run out of time, as I'm quite busy at the moment.
If anyone is willing to have a look and then do a PR, I'm quite happy to do a release.
As far as I remember there was an issue with the autoloader.

Hi everyone,
I'm sorry we're doing a poor job of keeping this library up to date. I'm afraid I personally stopped using Rails some time ago, so my own need for this library to be functional has gone.
That said, me and the rest of the Cucumber team care a huge amount about the Ruby community generally, and the Rails community are obviously a big part of that :heart:
This library obviously needs more love and maintenance, and I'm happy to give new contributors all the support they need to change, clean up and release this code with confidence. I'd like to find people who're actually using it day-to-day, so you've got that direct connection to the user base in a way that I don't.
Is anyone willing to step forward to help @Kosnas carry this load?

Thank you both for the clear statement and attention, I am sure it is appreciated and anticipated by everybody here. It is good at least to know where things stand even if its not the perfect answer we all wanted.
I am using this library on a daily basis, but I am not sure I have the necessary skills to assist. I promise I will at least take a look to see if there is any way I can help (at least if no one more capable steps in in front of me... :)

I've just pushed this branch: https://github.com/cucumber/cucumber-rails/tree/support-cucumber-2.x%2B
Using that I can run cucumber in a rails 4.2 project. I can't run the tests though. It would be great to figure out a better way to test cucumber-rails.

@Kosmas are we able to release a new gem now? Anything I can help with?

@tooky yes we are able to. I've just sent some messages yesterday for the existing PRs, if anyone wants to include them before releasing the new version.
So maybe in a day or two we can release it.
Thank you, but I think now with the tests fixed, everything is fine. :-)
Will let you know if there's anything you can help with, though !

:+1:

@Kosmas Thanks !


Option to define basepath for admin interface

I've setup forwarding <mydomain>/nginx to localhost:81 but I'm not able to use Nginx Proxy Manager Admin Interface because all static files (CSS, JS, etc) are being loaded from <mydomain>/filename and not from <mydomain>/nginx/filename.
There should be an option to set the basepath for the admin interface so that all static files are loaded from <domain>/<basepath>/...

I Just redirect incoming traffic on localhost:81 for domain.com(SSL)
domingo.com > localhost:81

Force SSL

Manager available from my domain.com SSL

I've setup forwarding <mydomain>/nginx to localhost:81 but I'm not able to use Nginx Proxy Manager Admin Interface because all static files (CSS, JS, etc) are being loaded from <mydomain>/filename and not from <mydomain>/nginx/filename.
There should be an option to set the basepath for the admin interface so that all static files are loaded from <domain>/<basepath>/...

You can try to use rewrite rules.
https://medium.com/rahasak/nginx-reverse-proxy-with-url-rewrite-a3361a35623c#:~:text=NGINX rewrite rules are used,this post available on gitlab.

The problem is not related with forwarding rules. The problem is related with the way that frontend loads the static files.
Please check this screenshot from the Chrome Console.
There should be an option to set basepath for Nginx Proxy Manager Interface so that static files are loaded from /<basepath> and not from /. (Example: /<basepath>/css/main.css?v=2.9.19 instead of /css/main.css?v=2.9.19)

The problem is not related with forwarding rules. The problem is related with the way that frontend loads the static files.
Please check this screenshot from the Chrome Console.
There should be an option to set basepath for Nginx Proxy Manager Interface so that static files are loaded from /<basepath> and not from /. (Example: /<basepath>/css/main.css?v=2.9.19 instead of /css/main.css?v=2.9.19)

Well, I am no longer using NPM (partly because of this issue), but I consider this problem as important, and thus needing to be addressed.


Select resultset sometimes missing

We have 2 databases which store data, I use sharding-jdbc (Version:3.1.0) to select data,
when i query data very fast, it sometimes return data that less than correct data. even the data
is only in one datatabase

What is your SQL and query result, how to reproduce it?

I use mybatis to select data from mysql dbs about 10000 times, each times select {min-create_time to max-create_time} range orders . it sometimes return less data.
the below is my sql
select         t.id,t.order_no,t.order_amount ,t.finish_type,t.finish_time,t.create_time         from <include refid="ORDER_TABLE_NAME"/> t         where         UNIX_TIMESTAMP(t.create_time)*1000  >= #{searchStartTime}         and <![CDATA[ UNIX_TIMESTAMP(t.create_time)*1000  <= #{searchEndTime}]]>         and t.channel_id in ('100')         order by t.order_no         limit 0,100

what is your sharding key?

order_no % 2 shard db.

for example the db0 have order 2,4,6, db1 have 1,3,5 when i select , it sometimes only return order 2,4. and sometimes return 1,2,3,5,6 . all query is same parameters

sometimes return 1,2,3,4,5,6

Does your SQL include sharding-key? For my understanding, every time will return all data sources for this SQL

I found my problem is that , my sql limit rowcount.value is dynamic  then in multi thread context serveral selectstatements use the same Limit object , in the below code, the limit.getRowCountValue() maybe the other selectstatement setted, so it reads less data
  @Override     public boolean next() throws SQLException {         if (skipAll) {             return false;         }         if (limit.getRowCountValue() < 0) {             return getMergedResult().next();         }         return ++rowNumber <= limit.getRowCountValue() && getMergedResult().next();     }.  when i use a static rowcount , it is correct

duplicate with #2136


Alertmanager Duration ui incorrectly calculated

What did you do?
Set a silence's start time after its end time
What did you expect to see?
the ui to either indicate that it is invalid, or not to update the duration
What did you see instead? Under which circumstances?
See picture:

Environment

System information:
Firefox Developer

Alertmanager version:
0.11

@stuartnelson3 good find, thanks for reporting this!

I could not find a better solution than validating all time fields together, also noticed that we would parse the time even when it is empty


DM(syncer): syncer may be dead cycle when access match inject ddl repeatedly by special ddls

What did you do?

one source has two sub table
pessimistic shard mode
sql like this:
tb1 --> ddl (need inject ddl1,ddl2)
tb2 --> ddl (need inject ddl1,ddl2)

What did you expect to see?
sync normally.
What did you see instead?
dead cycle.
Versions of the cluster
DM version (run dmctl -V or dm-worker -V or dm-master -V):
6.0/master

Upstream MySQL/MariaDB server version:
5.7.22-log

Downstream TiDB cluster version (execute SELECT tidb_version(); in a MySQL client):
5.7.25-TiDB-v5.3.0

How did you deploy DM: tiup or manually?
manually

Other interesting information (system version, hardware config, etc):
>
>

current status of DM cluster (execute query-status <task-name> in dmctl)
(paste current status of DM cluster here)

After tb1-inject-ddl1 and encounter tb2-ddl, it will return detect inconsistent DDL sequence from source error, when use binlog command to inject ddl and resume, syncer will begin at tb1 --> ddl and will access match inject secondly. And then it will be a dead cycle. we need add check when inject, because it will add event to the end of inject events.
https://github.com/pingcap/tiflow/blob/master/dm/syncer/err-operator/operator.go#L214


Email and Phone app when click on contact us email and phone

Describe the types of topics you'd add in our Website
-redirect to email app when user clicks on contact us email
-redirect to phone app when user clicks on contact us phone
Could you share some screenshots or a video of your previous work?

Record

[X] I agree to follow this project's Code of Conduct
[X] I'm a GSSOC-24-extd contributor
[X] Soon, I'll complete it and create a Pull Request.

Hi @17arindam! Thanks for opening this issue on Ratna Supermarket. We appreciate your contribution to this open-source project. We aim to respond or assign your issue as soon as possible.

Hello @17arindam! Your issue #54 has been closed. Thank you for your contribution!🚀


Increment versions for clientcore releases

Increment package versions for clientcore releases

API change check
API changes are not detected in this pull request.


Feat: add a close (X) button to

also have an option to hide the default close (x)

:tada: This issue has been resolved in version 0.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 0.7.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[llama.cpp] Adds llama.cpp huggingface model zoo

Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Attention: 1333 lines in your changes are missing coverage. Please review.

Comparison is base (bb5073f) 72.08% compared to head (313e7b8) 72.21%.
Report is 944 commits behind head on master.

Files
Patch %
Lines

...va/ai/djl/modality/nlp/generate/TextGenerator.java
2.81%
276 Missing :warning:

.../java/ai/djl/modality/nlp/generate/SeqBatcher.java
0.75%
132 Missing :warning:

...ity/nlp/generate/ContrastiveSeqBatchScheduler.java
2.97%
98 Missing :warning:

...i/djl/modality/nlp/generate/SeqBatchScheduler.java
9.83%
55 Missing :warning:

.../java/ai/djl/modality/cv/BufferedImageFactory.java
40.96%
47 Missing and 2 partials :warning:

...a/ai/djl/modality/nlp/generate/StepGeneration.java
2.04%
48 Missing :warning:

api/src/main/java/ai/djl/ndarray/NDArray.java
43.42%
39 Missing and 4 partials :warning:

...n/java/ai/djl/modality/cv/output/CategoryMask.java
22.00%
39 Missing :warning:

...i/src/main/java/ai/djl/ndarray/NDArrayAdapter.java
71.21%
31 Missing and 7 partials :warning:

.../cv/translator/SemanticSegmentationTranslator.java
37.50%
35 Missing :warning:

... and 75 more

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2911      +/-   ##
============================================
+ Coverage     72.08%   72.21%   +0.12%
- Complexity     5126     7265    +2139
============================================
  Files           473      721     +248
  Lines         21970    32449   +10479
  Branches       2351     3380    +1029
============================================
+ Hits          15838    23433    +7595
- Misses         4925     7407    +2482
- Partials       1207     1609     +402

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


Add clean menu in context menu

Is your feature request related to a problem? Please describe.
Add clean option  in context menu. Clean has two sub buttons missing and mismatch.
Describe the solution you'd like
Event when gauge bar isn't clicked, allow user to easily add rule about mismatched or missing value.

Describe alternatives you've considered
Additional context
Add any other context or screenshots about the feature request here.

@paigechoi
On the new storyboard above, action for 'replace/fill with custom value' menu is not a replace rule but a set rule. Sorry.


Changelog would be great

Feature Request
It would be great, if you could provide a simple changelog.
After updating @twurple/api I got an Typescript Error. Now I don't know if something important has changed or I can safely stay on the old version for some time.
Thanks a lot!

You mean the releases page?

perfect. thank you!


Iris flower ananlysis/classification M.L. Project - Created using googlecolab

hello sir,
Hope you may like the project. In case of any updation in code please contact me, I will be really happy to do so.
Thanking you.
regards

Hey, the project is awesome. Can you please create a folder with Iris Flower Analysis and put your notebook in it as like in other projects. And it would really great if you could add some comments in your code and add the same in README too under the appropriate topic.

sorry sir , but i was facing difficulties when doing above stuff as mentioned by you in my workspace, thats why to solve the problem i have to do the things from starting, and thats why I generated the new pull request .
this time new branch name is nn prior it was new1.
hope you may like the efforts and work, if possible please merge my pull request.
sorry once again.
thankyou
regards

Its totally fine @Omgupta0312.


Only show add button if inlineDialogs is false

closes #485
this came up during SDK-465

Coverage remained the same at 71.02% when pulling bc57c5ca26ef71777752d8a5e2b70b30c23449dc on layerlist-add-button into 393fa5cbb03794f04b002e238ffd00b74f0b5ff8 on master.


are UniProtKB IDs always mapped to NCBIGene and other Gene IDs?

We notice that CCL4's NCBIGene ID will not retrieve a UniProtKB ID. However, there does seem to be a CCL4 UniProtKB ID. And giving the CCL4 UniProtKB ID as input doesn't retrieve a NCBIGene ID.
This is a bit confusing to us, since CDK2 will retrieve a UniProtKB ID when given a NCBIGene ID and vice versa.
So in some cases, UniProtKB IDs are mapped to the gene entities and in other cases they aren't...

Nodenorm allows you to toggle between conflating genes and proteins or not conflating.  For instance, this is the un-conflated call for the CDK2 gene.  You can see that only gene symbols are brought back.  The conflate parameter defaults to True so nodenorm will by default conflate genes and proteins when it can.
The allowed gene/protein conflations are taken from UniProtKB's NCBIGene mappings.   Now, the thing about UniProtKB is that the proteins in sprot are mostly 1-to-1 with NCBIgenes.  Adding in Trembl turns this into 1 NCBIGene -> many UniProtKB.  So far so good.
But there are a few genes (I think in humans it's something like 70) where a UniProtKB maps to more than one NCBIGene identifier.   CCL4 is one of these, as it maps to both NCBIGene:388372 and NCBIGene:6351.   You can read a little about how UniProtKB is working here.
So in this case there were I think three choices: 1) conflate the single uniprot with both genes (and their proteins, and their genes etc) or 2) don't conflate when one protein maps to >1 gene, or 3) try to figure out the "right" match.   (1) led to unhappily large and confusing gene/protein clusters.   (3) may not even make sense.  So we chose (2).   Perhaps there is a good way to go back and try (3) again, but I'm not immediately sure what it would be.


customize etcd servers

Why can't I customize etcd?I already have a etcd on my machine.
apiserver-boot run  local --etcd=http://<IP_ADDRESS>:2379

enerated --listers-package demo/pkg/client/listers_generated --versioned-clientset-package demo/pkg/client/clientset_generated/clientset
2019/06/10 10:40:10 CGO_ENABLED=0
go build -o bin/apiserver cmd/apiserver/main.go
go build -o bin/controller-manager cmd/manager/main.go
etcd
2019/06/10 10:40:17 Failed to run etcd exit status 1

it seems that the command is failing b/c there's no etcd binaries installed in your $PATH. and sadly for now, run local only works for local etcd cluster.

@yue9944882 Because I have the etcd service locally, I don't need to start a new etcd instance. etcd has fixed port 2379. I can't start the new etcd service on this machine.

@yue9944882 My etcd service has another use, can't be closed, because etcd fixed port reason, I can't start new service again.

oh i see, if thats the case, you can exclude etcd bootstrapping via apiserver-boot run local --run apiserver --run controller-manager.

apiserver-boot run local-minikube --etcd=http://<IP_ADDRESS>:3379 --run="apiserver,controller-manager"

/close
closing as the question seems resolved.


Ini variable '[SPINDLE_0]PWM_FREQUENCY' not found.

Version and Build Date
Version = 1.1.2
Build Date =29/12/2022
Describe the bug
./conf1.hal:149: Ini variable '[SPINDLE_0]PWM_FREQUENCY' not found. Mesa card 7I97
To Reproduce
Generate a config with a spindle
Expected behavior
To be able to have a spindle with pwm (tested with singl outpout)
Config File
ini file:
[SPINDLE_0]
SPINDLE_TYPE = analog
SPINDLE_PWM_TYPE = 0
MAX_RPM = 5000
MIN_RPM = 5
hal file:
Spindle Board Connections
net spindle-on => hm2_MESA.0.pwmgen.03.enable
net spindle-vel-cmd-rpm hm2_MESA.0.pwmgen.03.value
setp hm2_MESA.0.pwmgen.03.scale [SPINDLE_0]MAX_RPM
setp hm2_MESA.0.pwmgen.pwm_frequency SPINDLE_0
setp hm2_MESA.0.pwmgen.03.output-type SPINDLE_0
Operating System
OS =  Debian 10
Additional context
When I load the ini file, I receive a message:
No description file found for 7i97_D.bit
Many thanks for your work !
regards
Thierry

Many bit/bin files don't have a description file yet. Basically it's a text file with the stepgen/analog count and I/O count.
Please attach your ini file.

OK I send you files by attachment
Best regards and many thanks
Thierry
Le jeu. 29 déc. 2022 à 18:04, jethornton @.***> a
écrit :

Many bit/bin files don't have a description file yet. Basically it's a
text file with the stepgen/analog count and I/O count.
Please attach your ini file.
—
Reply to this email directly, view it on GitHub
https://github.com/jethornton/mesact/issues/70#issuecomment-1367626342,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6QD4PDWXAEJKVWIEIJ6HDWPYKH3ANCNFSM6AAAAAATMHF534
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thierry Vorms
Québec Canada

This was a tough bug to fix but I found it...

Oh thanks a lot for your work |
I will test the new version when it will be disponible.
Have a nice day
Thierry
Le sam. 31 déc. 2022 à 07:48, jethornton @.***> a
écrit :

This was a tough bug to fix but I found it...
—
Reply to this email directly, view it on GitHub
https://github.com/jethornton/mesact/issues/70#issuecomment-1368211533,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AA6QD4PBU2OZH7T3BFZ3AK3WQATQHANCNFSM6AAAAAATMHF534
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Thierry Vorms
Québec Canada


[Testing]: Add NeuroscopeSorting data tests

Requires a small fix to the allowed metadata schema for the sorting interface to include more general ecephys metadata that might still be desired to be included in historical data where the original raw sources are no longer saved.

@h-mayorquin, @CodyCBakerPhD is saying that even if we don't have the raw data, we might want to know what equipment was used, e.g. the device and electrode group information. He's calling this "historical" because we already have the spike sorted data, so we are unlikely to use the equipment metadata directly.
renderForm is a field used to interact with our metadata form GUI. This tells the form not to render Electrodes. It can only be changed programatically.

@h-mayorquin Yup, exactly what Ben said.
That said, I have never once seen a case where there wasn't at least LFP, so take that as you will. Still possibly at least in concept that they didn't even save that file, but did keep the spike trains.


UndefVarError: cpu not defined - please help, as Adding CUDA.jl didn't help

Running this from the tutorial script:
for frac in [0.0, 0.25, 0.5, 0.75, 1]
local p
timestep = max(1, ceil(Int, frac * num_timesteps))
Xt = q_sample(diffusion, X, timestep)
p = scatter(Xt[1, :], Xt[2, :], alpha=0.5, label="",
aspectratio=:equal,
xlims = (-2, 2), ylims=(-2, 2),
title="t=$timestep"
)
push!(canvases, p)
end
I get this error:
ERROR: UndefVarError: cpu not defined
Stacktrace:
[1] q_sample(diffusion::GaussianDiffusion{Vector{Float32}}, x_start::Matrix{Float64}, timestep::Int64)
@ Main ./REPL[44]:1
[2] top-level scope
@ ./REPL[49]:4

I assume this code is coming from: https://github.com/LiorSinai/DenoisingDiffusion-examples/blob/main/notebooks/Generated_2d.ipynb.
If so, I am unable to recreate this error.
So my first assumption is that this is a version issue. What version of Flux are you using?
The cpu function is exported in Flux 0.13. I will add this as an explicit compatibility requirement.

Thank you for progressing my issue!
I am working through:
https://liorsinai.github.io/coding/2022/12/03/denoising-diffusion-1-spiral
My Flux version is [587475ba] Flux v0.13.16
Any leads?

DenoisingDiffusion v0.1.0 ~.../dev/DenoisingDiffusion_jl_main
BSON v0.3.7
CSV v0.10.10
ChainRulesCore v1.16.0
DataFrames v1.5.0
Distributions v0.25.95
Flux v0.13.16
JSON v0.21.4
MultivariateStats v0.10.2
Optimisers v0.2.18
OrderedCollections v1.6.0
Plots v1.38.17
Revise v3.5.3
StatsBase v0.33.21
StatsPlots v0.15.5
Transformers v0.2.5
Turing v0.25.1
WordTokenizers v0.5.6
Zygote v0.6.62
On Sun, Aug 13, 2023 at 12:05 PM LiorSinai @.***> wrote:

I assume this code is coming from:
https://github.com/LiorSinai/DenoisingDiffusion-examples/blob/main/notebooks/Generated_2d.ipynb
.
If so, I am unable to recreate this error.
So my first assumption is that this is a version issue. What version of
Flux are you using?
The cpu function is exported in Flux 0.13. I will add this as an explicit
compatibility requirement.
—
Reply to this email directly, view it on GitHub
https://github.com/LiorSinai/DenoisingDiffusion.jl/issues/1#issuecomment-1676305865,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOFIRPN76YJBVQTKWDNW3XVCRFJANCNFSM6AAAAAA3OQG2LE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
dr tobe freeman - +41 79 377 8595
wordup development AG https://wordupdevelopment.com/

Oh. I believe this is an issue with the online tutorial and not the code base.
If I may ask something obvious, does calling using Flux and then running the code solve your problem?

Sorry, I tried "using flux", activate, status : actually, I was trying to
find how my earlier code used CUDA.jl and none of those syntaxes worked,
either.
On Sun, Aug 13, 2023 at 1:54 PM LiorSinai @.***> wrote:

Oh. I believe this is an issue with the online tutorial and not the code
base.
If I may ask something obvious, does calling using Flux and then running
the code solve your problem?
—
Reply to this email directly, view it on GitHub
https://github.com/LiorSinai/DenoisingDiffusion.jl/issues/1#issuecomment-1676335725,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAXOFITOZ24ZRBKTH42XW7LXVC56TANCNFSM6AAAAAA3OQG2LE
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
dr tobe freeman - +41 79 377 8595
wordup development AG https://wordupdevelopment.com/

I can recreate this error exactly by copying the code as it appears in the tutorial. Then since the using Flux line is missing I get the exact reported error. Including using Flux fixes that problem but it introduces another one, also related to a missing line in the tutorial. I will update it to include both fixes.
It is strange that you say this did not fix the problem. I am not sure what else could have caused it.


SDK content differences - vstest localization

Localization of vstest binaries was supposed to happen with https://github.com/microsoft/vstest/issues/4305
However, the following files are still missing in source-build - this should be investigated.
https://github.com/dotnet/installer/blob/0afe22a008c27e84ed9e4c604c745cf3fbef724e/src/SourceBuild/content/test/Microsoft.DotNet.SourceBuild.SmokeTests/assets/SdkDiffExclusions.txt#L19-L26
# vstest localization is disabled in Linux builds - https://github.com/microsoft/vstest/issues/4305
msft,./sdk/x.y.z/*?/Microsoft.CodeCoverage.IO.resources.dll
msft,./sdk/x.y.z/*?/Microsoft.TestPlatform.*?.resources.dll
msft,./sdk/x.y.z/*?/Microsoft.VisualStudio.TestPlatform.*?.resources.dll
msft,./sdk/x.y.z/*?/vstest.console.resources.dll
msft,./sdk/x.y.z/Extensions/*?/Microsoft.TestPlatform.*?.resources.dll
msft,./sdk/x.y.z/Extensions/*?/Microsoft.VisualStudio.TestPlatform.*?.resources.dll

Pending PR in vstest (https://github.com/microsoft/vstest/pull/4564) for the following resources:
msft,./sdk/x.y.z/*?/Microsoft.TestPlatform.*?.resources.dll
msft,./sdk/x.y.z/*?/Microsoft.VisualStudio.TestPlatform.*?.resources.dll
msft,./sdk/x.y.z/*?/vstest.console.resources.dll
msft,./sdk/x.y.z/Extensions/*?/Microsoft.TestPlatform.*?.resources.dll
msft,./sdk/x.y.z/Extensions/*?/Microsoft.VisualStudio.TestPlatform.*?.resources.dll

The remaining resource is .NET FX specific and not included, as the neutral binary is also not included in source-build product:
msft,./sdk/x.y.z/*?/Microsoft.CodeCoverage.IO.resources.dll

Fixed with https://github.com/dotnet/installer/pull/16751


Support an array as a top level response object

Currently, TMParsedHTTPResponse does not support an array as a top level response object, which means this class cannot handle a response like the following. (JSONDictionary property is always empty dictionary)
{
  "meta": {
    "status": 200,
    "msg": "OK"
  },
  "response": [
    { object 1},
    { object 2}
    ...
  ]
}

After this change, TMParsedHTTPResponse will have either JSONDictionary or JSONArray populated and clients can use either value accordingly.

Should TMResponseParserTests be updated to also have a few tests for an array?

 Just added a test case here https://github.com/tumblr/TMTumblrSDK/pull/181/commits/a415dfdb4a296508125737558a1cbff74ca1d074
@aerych

:shipit:!


chore: Use sentry-internal/typescript instead of sentry/typescript

A fresh npm install has peer dependency issues because of a conflict in the typescript version and the @sentry/typescript version.
I saw that it was renamed long ago to sentry-internal/typescript, so I've updated the plugin to use that instead and also fix the issues generated from the package change.

Sorry for this issue and thanks for the PR!


virtio: Install KVM Balloon Service

:x: Build windows-openstack-imaging-tools 1.0.28 failed (commit https://github.com/cloudbase/windows-openstack-imaging-tools/commit/c1ad669e32 by @ader1990)

Closing PR, as the feature is not needed.

Can I ask why the feature is not needed?

Can I ask why the feature is not needed?


Upgrade to PSGSuite 2.1.5

I am trying to upgrade to PSGSuite 2.1.5. I extracted the .zip from the releases page, but now when I try to use any of the cmdlets, it says the required module 'Configuration' is not loaded. So, I checked the Initial Setup guide to see how to re-configure. Guide says to use Set-PSGSuiteConfig, but when I try to do so, it says: the command was found in the PSGSuite module, but the module could not be loaded (because it can't load the Configuration). I am guessing I skipped a step somewhere...?

Thanks for bringing this up! I should update the docs to note that, but you would need to install the Configuration module from PoshCode prior:
GitHub Link
PowerShell Gallery Link
If you're installing through PowerShellGet + Install-Module, it would resolve those dependencies directly from the PowerShell Gallery and get you sorted on installation, but that does not happen if you do a manual install from releases like you're doing here.
Let me know if you need any further info!! I'll leave this open until you're fully squared away!

I was able to install it withPowerShellGet. Thank you!

Awesome!


CAMEL-12425 SQS Producer support for numeric attributes

https://issues.apache.org/jira/browse/CAMEL-12425
If a header of type Number is provided, map it to an SQS MessageAttributeValue of type "Number" with theMessageAttributeValue's StringValue containing a string representation of the number.
See https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-message-attributes.html

Thanks. Merged on master, 2.21.x and 2.20.x


feat: add image size preference

close #68

https://github.com/koishijs/koishi-plugin-booru/issues/68#issuecomment-2011090287
Define the image size type as follows:

original
large
medium
square

example:
export interface ImageSize {
  original: string
  large: string
  medium: string
  square: string
}

Managed and returned by the image source. And starting with 'original' and fallback from maximum size.
example:
support(e.g. pixiv):
{
  original: 'https://i.pximg.net/[original link]',
  large: 'https://i.pximg.net/c/600x1200_90...',
  ...
}

unsupported:
{
  original: 'https://i.pximg.net/[original link]',
  large: 'https://i.pximg.net/[original link]',
  ...
}


Support iOS simulator？

Hi, WAMR does support compiling iwasm on ios platform. You can click the link to see whether this is what you need.

Unable to run after compilation


Unable to complete catkin_make, able to launch and connect camera to spinview

System Description
Camera Name and Model: Blackfly S FFY-U3-16S2C-S
Operating System: Ubuntu 18.04
Spinnaker Version: 2.2.0
ROS Version: Melodic
For USB 3.0 cameras:
On same USB 3.0 bus or different buses? USB 3.0
Is the USB 3.0 hub externally powered? No
Do the cameras work with SpinView?
Yes
Describe the bug
A clear and concise description of what the bug is.
During catkin_make, the build cannot complete due to an error on libacquilib.so. verified spinview launches and connectes to camera
Error Messages
Linking CXX shared library /home/[...]/spinnaker_ws/devel/lib/libacquilib.so
/usr/bin/ld: cannot find -lSpinnaker
collect2: error: ld returned 1 exit status
spinnaker_camera_driver/CMakeFiles/acquilib.dir/build,make:238: recipe for target '/home/[...]/spinnaker_ws/devel/lib/libacquilib.so' failed

Sounds like spinnaker might not be installed system-wide correctly. What happens if you open a fresh terminal and run Acquisition ?

From what I can tell, the Acquisiton runs correctly. The saved images are accurate, albeit dark.
Application build date: Sep 30 2020 08:56:20
Spinnaker library version: <IP_ADDRESS>
Number of cameras detected: 1
Running example for camera 0...
*** DEVICE INFORMATION ***
DeviceID : USB\VID_1E10&SRL_20129759&2&3&1
DeviceSerialNumber : 20129759
DeviceVendorName : FLIR
DeviceModelName : Firefly FFY-U3-16S2C
DeviceType : USB3Vision
DeviceDisplayName : FLIR
DeviceAccessStatus : OpenReadWrite
DeviceVersion : 2<IP_ADDRESS>
DeviceDriverVersion : none : <IP_ADDRESS>
DeviceUserID :
DeviceIsUpdater : 0
DeviceInstanceId : USB\VID_1E10&SRL_20129759&2&3&1
DeviceLocation :
DeviceCurrentSpeed : SuperSpeed
GUIXMLLocation : Device
GUIXMLPath : Input.xml
GenICamXMLLocation : Device
GenICamXMLPath :
DeviceU3VProtocol : 1
*** IMAGE ACQUISITION ***
Acquisition mode set to continuous...
Acquiring images...
Device serial number retrieved as 20129759...
Grabbed image 0, width = 1440, height = 1080
Image saved at Acquisition-20129759-0.jpg
Grabbed image 1, width = 1440, height = 1080
Image saved at Acquisition-20129759-1.jpg
Grabbed image 2, width = 1440, height = 1080
Image saved at Acquisition-20129759-2.jpg
Grabbed image 3, width = 1440, height = 1080
Image saved at Acquisition-20129759-3.jpg
Grabbed image 4, width = 1440, height = 1080
Image saved at Acquisition-20129759-4.jpg
Grabbed image 5, width = 1440, height = 1080
Image saved at Acquisition-20129759-5.jpg
Grabbed image 6, width = 1440, height = 1080
Image saved at Acquisition-20129759-6.jpg
Grabbed image 7, width = 1440, height = 1080
Image saved at Acquisition-20129759-7.jpg
Grabbed image 8, width = 1440, height = 1080
Image saved at Acquisition-20129759-8.jpg
Grabbed image 9, width = 1440, height = 1080
Image saved at Acquisition-20129759-9.jpg
Camera 0 example complete...
Done! Press Enter to exit...

Not sure what is going on, I haven't seen an issue like this before.
The error still seems like it is related to the fact that catkin_make is not finding the Spinnaker SDK.  Did you install it to the standard location system-wide? Did you run sudo sh install_spinnaker.sh during installation?

I ran sudo sh install_spinnaker.sh and it compiled properly.
however, I now concur that I believe the issue is with the Spinnaker SDK. Using Spinnaker-2.2.0, it appears the libacquilib.so is not created, thus catkin_make cannot link to Spinnaker SDK.
I was able to correct this by going to FLIR's download archive to download and install Spinnaker-2.0.0. Using version 2.0.0, libacquilib.so is linked and able to compile. I was able to go through the next few steps in the spinnaker_sdk_camera_driver and view the camera over ROS.
Thank you!


generates attrs="[object Object]"

<TonConnectButton> in Vue 3 generates invalid HTML attribute:

This is probably caused by this:
https://github.com/TownSquareXYZ/tonconnect-ui-vue/blob/ee614c6b09efb3a9ef200887882a88de32a300d6/src/components/TonConnectButton.vue#L27-L35
I guess the second attrs is for Vue 2 compatibility? If so, it should be conditionally added with some kind of isVue2() helper.

<TonConnectButton> in Vue 3 generates invalid HTML attribute:

This is probably caused by this:
https://github.com/TownSquareXYZ/tonconnect-ui-vue/blob/ee614c6b09efb3a9ef200887882a88de32a300d6/src/components/TonConnectButton.vue#L27-L35
I guess the second attrs is for Vue 2 compatibility? If so, it should be conditionally added with some kind of isVue2() helper.

1、Your guess is correct, because the inheritattrs attribute of the vue component is false by default. If the attrs attribute is assigned at this time, an attrs="[object Object]" tag will be bound to the div. If inheritattrs is set to true, the attrs="[object Object]" tag will disappear, and the corresponding attributes will be inherited on the div.

2、I don't think this is a bug, it's just a problem of attribute inheritance. Do you want to support attribute inheritance on the div?

<TonConnectButton> in Vue 3 generates invalid HTML attribute:

This is probably caused by this:
https://github.com/TownSquareXYZ/tonconnect-ui-vue/blob/ee614c6b09efb3a9ef200887882a88de32a300d6/src/components/TonConnectButton.vue#L27-L35
I guess the second attrs is for Vue 2 compatibility? If so, it should be conditionally added with some kind of isVue2() helper.

1、Your guess is correct, because the inheritattrs attribute of the vue component is false by default. If the attrs attribute is assigned at this time, an attrs="[object Object]" tag will be bound to the div. If inheritattrs is set to true, the attrs="[object Object]" tag will disappear, and the corresponding attributes will be inherited on the div.
*~~ 2、I don't think this is a bug, it's just a problem of attribute inheritance. Do you want to support attribute inheritance on the div?~~

I‘m sorry,My answers 1 and 2 are inaccurate. This issue has nothing to do with attribute inheritance, and inheritattrs is true by default. Attrs is the value assignment method of vue2. I will re-process it here.

I don't think this is a bug

Emitting attrs="[object Object]" (this is literal HTML) is definitely a bug. This should not be happening.

I don't think this is a bug

Emitting attrs="[object Object]" (this is literal HTML) is definitely a bug. This should not be happening.

Ok, We'll handle it quickly


bugfix: TimeRangeSlider should not cache props.onChange

onChange should be updated in render() function to make TimeRangeSlider reusable
fix #99

This is awesome, thanks for finding this. However, this PR may introduce performance regressions. I've included a comment.
Perhaps the right place to do this type of logic in React 16, is getDerivedStateFromProps().

Looks good to me 👍. Thanks!
In the future, we may want to introduce tests for such changes, but I'd say for fixing this now, it's good as-is, and also the functional change is small.


fixes #201 Refactoring - make Protoxxx a type

Revised (v3); this time without changing the interface -- keeping the Name() and PeerName() methods.

Am about to submit a new PR, for UDP support, hence closing this one.
Please advise if the fix for #201 still makes sense (had accidentally closed it).


Example Code Doesn't Work in Python 3.6.1

Installed alpha_vantage from pip.
`from alpha_vantage.timeseries import TimeSeries
import matplotlib.pyplot as plt
ts = TimeSeries(key='my key was here', output_format='pandas')
data, meta_data = ts.get_intraday(symbol='MSFT',interval='1min', outputsize='full')
data['close'].plot()
plt.title('Intraday Times Series for the MSFT stock (1 min)')
plt.show()`
"C:\Users\Doug\OneDrive\family\doug\work in progress\alphavantage\alphaenv\Scripts\python.exe" "C:/Users/Doug/OneDrive/family/doug/work in progress/alphavantage/rolling returns/alpha_play.py"
Traceback (most recent call last):
File "C:\Users\Doug\OneDrive\family\doug\work in progress\alphavantage\alphaenv\lib\site-packages\pandas\core\indexes\base.py", line 2525, in get_loc
return self._engine.get_loc(key)
File "pandas_libs\index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 139, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 1265, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 1273, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'close'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:/Users/Doug/OneDrive/family/doug/work in progress/alphavantage/rolling returns/alpha_play.py", line 6, in
data['close'].plot()
File "C:\Users\Doug\OneDrive\family\doug\work in progress\alphavantage\alphaenv\lib\site-packages\pandas\core\frame.py", line 2139, in getitem
return self._getitem_column(key)
File "C:\Users\Doug\OneDrive\family\doug\work in progress\alphavantage\alphaenv\lib\site-packages\pandas\core\frame.py", line 2146, in _getitem_column
return self._get_item_cache(key)
File "C:\Users\Doug\OneDrive\family\doug\work in progress\alphavantage\alphaenv\lib\site-packages\pandas\core\generic.py", line 1842, in _get_item_cache
values = self._data.get(item)
File "C:\Users\Doug\OneDrive\family\doug\work in progress\alphavantage\alphaenv\lib\site-packages\pandas\core\internals.py", line 3843, in get
loc = self.items.get_loc(item)
File "C:\Users\Doug\OneDrive\family\doug\work in progress\alphavantage\alphaenv\lib\site-packages\pandas\core\indexes\base.py", line 2527, in get_loc
return self._engine.get_loc(self._maybe_cast_indexer(key))
File "pandas_libs\index.pyx", line 117, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\index.pyx", line 139, in pandas._libs.index.IndexEngine.get_loc
File "pandas_libs\hashtable_class_helper.pxi", line 1265, in pandas._libs.hashtable.PyObjectHashTable.get_item
File "pandas_libs\hashtable_class_helper.pxi", line 1273, in pandas._libs.hashtable.PyObjectHashTable.get_item
KeyError: 'close'
Process finished with exit code 1

Hello @dougransom, can you call it first without pandas? I want to see if you are getting a proper json output. Second, what version of pandas do you have?

I figured out that the columns are no longer "close" but "4. close".
Changing the code to "4. close"  (or 3. close or whatever the number was)
fixed the problem.  I am note at home right now.
On Wed, Feb 21, 2018 at 7:44 AM, Romel Torres<EMAIL_ADDRESS>wrote:

Hello @dougransom https://github.com/dougransom, can you call it first
without pandas? I want to see if you are getting a proper json output.
Second, what version of pandas do you have?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/RomelTorres/alpha_vantage/issues/48#issuecomment-367368804,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADXtUq14ehWkHFmFBkHQ0qgO5KYM8n3Zks5tXDnPgaJpZM4SN0Ss
.

--
-- Doug Ransom


Handle unreadable/modified buffers

This includes unnamed and modified buffers, and helps with doing linting
on-the-fly (autolint).
It also enables support for linting of unreadable files (e.g. fugitive).
Ref: https://github.com/neomake/neomake/issues/190
Fixes https://github.com/neomake/neomake/issues/552.
Extracted out of https://github.com/neomake/neomake/pull/1055, to get this in first.
There was neomake_make_modified already (removed in #73 again (143725dc)).
I think we need a way to whitelist makers and/or configure how the temporary file gets created.
Some linters support an option like --stdin, which could be used in case of modified files.
There is a new setting tempfile_enabled, which defaults to 1 currently.
Makers that cannot handle temporary files should disable it.
tempfile_name can be used to specify a filename, which would allow to e.g. copy stuff somewhere to make the linter use it properly.
TODO:

[ ] change default to disabled, to get this merged, without causing too much trouble (#1092 is based on this).  (done in https://github.com/neomake/neomake/pull/1110).

Merged via https://github.com/neomake/neomake/pull/1092, which was based on this.


Speed-up larch/xas_viewer at start

@newville I get many reports about the fact that xas_viewer or the larch shell are "very slow" at starting-up. I have this feeling too, and I would like to investigate this more. Is there a real need for checking the installation and possibility to upgrade at each runtime?

But: I think the slowness could be studied more. On a new-ish laptop, I currently get
>>> import time ; t0 = time.time() ; import larch ; print(time.time() - t0)
1.8603730201721191

Well, this is also what I get on the beamline machine, which is a rather powerful computer. Almost 2 seconds to load the larch shell on such hardware seems a lot to me. In fact, when I start larch on a virtual machine on the ESRF cluster, this goes up to 10-20 seconds.
Is there a need to load everything at startup? We could load modules only when needed, right?
Anyway, that's not top priority for the moment.


Extract build finalization to job

BuildReportJob should stand in place of the GitHub interactions in
Review in #727 with the plan of using it in the build workers
controller. Also change Commenter to accept a Payload and create its
own PullRequest instance.
Up next will be implementing the BuildWorkers controller
that will check for build completion, persist violations, and enqueue
this job.
https://trello.com/c/CdExHIVN

This is looking great! Couple of small things, then good to merge.

I rebased against master to get the changes made in #774 and rewrote the commit message. Thoughts @gylaz and @thorncp ?

@gylaz all comments are fixed and pushed. Ready for a last pass

One more note, then good to merge.

Thanks for reviewing @gylaz


Make the storing of per-building IoUs optional

Storing the IoU of each ground truth building footprint causes a non-negligible time increase (~35% in one test) in running the evaluation code.  Therefore, this feature should be made optional and turned off by default.

Resolved with #120


Dark Mode Inexplicably Colours The Email Body

Checklist

[X] I have used the search function to see if someone else has already submitted the same bug report.
[X] I will describe the problem with as much detail as possible.

App version
6.901
Where did you get the app from?
Google Play
Android version
14
Device model
Pixel 8 Pro
Steps to reproduce
Look at an email in dark mode
Expected behavior
Email body should be the same as the header
Actual behavior
Email body is coloured
Logs
No response

This is not limited to the dark theme. Currently, the message body background color also doesn't match the window background color when using the light theme.


bug(material/table): cdkDrag of mat-header-cell styling broken when used with "sticky: true"

Reproduction
I believe that #21403 (released in 11.0.4) introduced this bug. I have included the same StackBlitz, once using 11.0.3, and once using 11.0.4, to demonstrate the bug that was introduced.
Steps to reproduce:

Using "@angular/material": "^11.0.4" or greater (I have also tested with 11.2.12 and 12.0.1 and the bug persists)
Set up a mat-table using cdkDrag on the mat-header-cell's
On the mat-header-row, set *matHeaderRowDef="displayedColumns; sticky: true"
Drag the column header and observe the styling of the header as it is being dragged

StackBlitz of issue: https://mat-table-sticky-after.stackblitz.io
Expected Behavior
The expected behavior is that the styling of the header remains next to the pointer as it is being dragged. This is the behavior PRIOR to 11.0.4.
See this StackBlitz of 11.0.3 for the expected behavior: https://mat-table-sticky-before.stackblitz.io

Actual Behavior
The behavior in ^11.0.4 is that the styling is shifted: https://mat-table-sticky-after.stackblitz.io

Environment

Angular: >= 11.0.4
CDK/Material: >= 11.0.4
Browser(s): Chrome 90.0.4430.212
Operating System (e.g. Windows, macOS, Ubuntu): macOS 11.2.3

I think the problem here is that the th loses its structure when we pull it out of the table to generate the preview. I'll keep this open, but I'm not sure that we can do much about it. Alternatively, you can provide a custom preview element using cdkDragPreview.


impl: add RestRequest class

This change is

google/cloud/internal/rest_request.cc, line 1 at r1 (raw file):
Previously, scotthart (Scott Hart) wrote…
So these files existed in a public branch on my fork back in 2021. I wasn't sure whether or not to bump them to 2022.

I am not a lawyer, nor do I play one on TV.  My intuition is that we should label them based on the date the file gets merged into the repo, but that is just an intuition.  Your call.


Full text search for topic title

Currently uses "contains" logic, must be using full-text searching
and making "flavor": "cannot compute" for frontend search prevention.
Fixes #16315

Testing Plan:
GIFs or Screenshots:

Pull request plan

The search logic (If going by normal "contains" logic) is implemented both on client side and server side with client side in message_match_search_term, and server side in NarrowBuilder class, for our full-text case client side searching must not be done.
The search logic has to be implemented via full text search (like on topic + rendered_contentsearching),  frontend must update the contents through it,

The get_first_unread_info in this case must return "flavor": "cannot compute" so that message matches aren't checked from the frontend.
The topic search with and without pgroonga must be investigated.

Stuck on:

Choice have to be made whether this new feature has to be incorporated onto the same "topic" operator or with topic operator with a operation_type extra key or a completely different operator topic__contains.
What does MIT athena zephyr topic matches .d represent.

I don't think changing the topics: operator is a good idea, please see my comment in the issue: https://github.com/zulip/zulip/issues/16315#issuecomment-690101837

I don't think changing the topics: operator is a good idea, please see my comment in the issue: #16315 (comment)

Thank you for highlighting the issue the 1st choice causes, will go ahead with the 3rd choice as you suggested.

Hi,
Should I allow search operation and topic-contains operation together? (Or content-contains and search operations), seems like its not intuitive to.

What does MIT athena zephyr topic matches .d represent.

A convention in that community around digressions.  Not super important how it interacts with this feature; we should do what's simplest.

For tsvector based searching, I understand that there has to be a column that contains the ts vector of content + topic which has to be refreshed once content changes.

We have tooling to do this sort of refresh following an upgrade if needed.

Hi, I'm almost done with the PR, just a few clarifications

I have removed CREATE INDEX CONCURRENTLY since it leads to the same error referenced on create_indexes function on create_large_index.py management command, does it disrupt queries as referenced by that commit, but since i assume this migration is only ran if the user wants to upgrade to pgroonga which needs downtime as referenced by pgroonga upgrade docs Note that the migration may take a long time, and you can’t send new messages until the migration finishes., or am i missing something here?

Should we allow topic-contains, content-contains & search (for eg topic-contains with search, content-contains with search) chaining. Right now topic-contains & content-contains can be chained together, but it doesn't work along with search narrow.

What should be the type hint for func.pgroonga_query_extract_keywords

Once these 3 points are clarified, I can go ahead with the additional modifications and adding additional test cases covering the chaining of topic, content & search.

For CREATE INDEX CONCURRENTLY, it's often worth using, one just needs to set atomic=False on the migration.  Django's migration system runs migrations within a transaction by default, which is not consistent with CREATE INDEX CONCURRENTLY; so we just need to disable that behavior when we want a concurrent migration.
For (2), I'm not sure I understand what you mean by "chaining" in the context of your question.  If what you mean is "should we allow a "topic-contains" query" that also has a search: filter, the answer is yes long term, though if we need to leave some part of that for follow-up work, that's OK.
(3) Can you give a bit more context?  That looks like a function from third-party code, which mypy usually treats as an Any by default -- so I'm not sure what you're asking.

Hi,
@timabbott @kou
Please do review my PR when you get time!

Hi,
@timabbott @kou
Please do review my PR when you get time!

Should we migrate the Zulip PGroonga integration to just use the newer pgroonga_full_text_search_condition everywhere?  I'm not super familiar with the API details, but I'm generally in favor of moving to the right long-term model wherever possible, and we're effectively rebuilding the PGroonga tables for this PR anyway.

We should use pgroonga_full_text_search_condition because we can specify index_name for sequential search case. If we can't specify index_name, we can't use the same configuration in sequential search as index scan/bitmap scan. We don't need to specify index_name for now because we use the default configuration. But we need to specify index_name when we use custom normalizer such as for https://github.com/zulip/zulip/issues/16641 .
FYI: Generally, PostgreSQL doesn't choose sequential search because there are many records in zerver_message.

@S-Abhishek are you interested in picking this project back up?  I imagine you'd want to start with rebasing (https://chat.zulip.org/#narrow/stream/2-general/topic/black/near/1117538 is important to get past the Black migration).

Hi @timabbott, I'm currently caught up with something else, so coundn't work on it, Hope you understand, But rest assured I will be finishing this PR, I can possibly start my work on this Sunday.

@S-Abhishek just a bump on this.

Hi @timabbott, Thanks for the heads up, I started my work on this today, will keep you posted on zulip chat for the updates!


Refactor Home path

[x] Read CONTRIBUTING.md.

Summary of changes:

Applied vertical padding (12.dp) in the Home path.
Implemented horizontalArrangement in MediaSmallRow's LazyRow, this replaces the padding modifier in the MediaSmall card.
Changed the padding modifier in MediaSmallRow's LazyRow to contentPadding, it is like clipToPadding in xml.

Tested changes:
The layout of the Home path is the same.

Both layouts are similar, great work @Relwi!


Decide which data should be saved in view service vs being queried from fullnodes

Currently there's some non-private data being cached to the view service, alongside private data.
It should be possible to query most of the non-private data from the fullnodes. We should probably make a principled design decision on which data should live in the view service database.

So far we've ended up dividing this along the line of whether the data is scoped to a particular user (in which case it goes in the view service) vs whether the data is part of the public state (in which case it doesn't), and this has worked reasonably well so far.


Panic on unchecked cast: interface conversion: interface {} is cache.DeletedFinalStateUnknown, not *unstructured.Unstructured

Pre-requisites

[X] I have double-checked my configuration
[X] I have tested with the :latest image tag (i.e. quay.io/argoproj/workflow-controller:latest) and can confirm the issue still exists on :latest. If not, I have explained why, in detail, in my description below.
[X] I have searched existing issues and could not find a match for this bug
[ ] I'd like to contribute the fix myself (see contributing guide)

What happened? What did you expect to happen?
We have set up an argo eventsource in our kubernetes cluster. Regularly (but unpredictably), the eventsources crashes in a panic. The panic message is a consistent problem, namely that a cast of an interface is done without checking.
Here is an example of a panic stack trace:
panic: interface conversion: interface {} is cache.DeletedFinalStateUnknown, not *unstructured.Unstructured

goroutine 159 [running]:
github.com/argoproj/argo-events/eventsources/sources/resource.passFilters(0xffffffffffffffff?, 0xffffffffffffffff?, {0x1?, 0x0?, 0x5b89900?}, 0x1?)
	/home/runner/work/argo-events/argo-events/eventsources/sources/resource/start.go:290 +0xa53
github.com/argoproj/argo-events/eventsources/sources/resource.(*EventListener).StartListening.func2(0xc001a59b60)
	/home/runner/work/argo-events/argo-events/eventsources/sources/resource/start.go:131 +0x6b
github.com/argoproj/argo-events/eventsources/sources/resource.(*EventListener).StartListening.func3()
	/home/runner/work/argo-events/argo-events/eventsources/sources/resource/start.go:178 +0x122
created by github.com/argoproj/argo-events/eventsources/sources/resource.(*EventListener).StartListening in goroutine 93
	/home/runner/work/argo-events/argo-events/eventsources/sources/resource/start.go:173 +0x8e8

Checking the start.go:290 we can see an unchecked cast. An *unstructured.Unstructured is expected but in this case a cache.DeletedFinalStateUnknown is provided.
This issue strongly looks like https://github.com/argoproj/argo-workflows/issues/1132 but happens in a different part of the codebase.
As a suggested approach: Check if the event.Obj is an *unstructured.Unstructured, if not return false in the passFilters function.
As we run a lot of workflows, it's very difficult to relate this error to any one specific workflow we execute, my apologies.
Version(s)
v1.9.2
Paste a minimal workflow that reproduces the issue. We must be able to run the workflow; don't enter a workflows that uses private images.
Not related to a specific workflow.

Logs from the workflow controller
Not related to a specific workflow.

Logs from in your workflow's wait container
Not related to a specific workflow.

the eventsources crashes in a panic

github.com/argoproj/argo-events/eventsources/

v1.9.2

This is the Argo Workflows repo, not Argo Events. You'll want to report this in the Argo Events repo: https://github.com/argoproj/argo-events

For reference, this was properly opened in https://github.com/argoproj/argo-events/issues/3238


Zabbix Triggers Info not interpreting macro in URL in trigger

I'm submitting a ...

[X ] Bug report
[ ] Feature requested
[X ] Question / Support request

The info button in the Trigger Panel in Grafana is not interpreting macro properly in a trigger. Perhaps it can't do this?
I have http://{HOST.IP} in the URL section of the trigger, which in Zabbix will properly translate to the URL of the device for easy troubleshooting. Example http://<IP_ADDRESS>
In Grafana I get "http://%7Bhost.ip%7D/" for each URL. It appears the translation for the device is lost when using the Trigger Panel.
Is this a bug or is there a way to actually do this so it shows the host.ip of the device for each trigger?
Software Versions

Grafana
Zabbix
Grafana-Zabbix Plugin

4.6.2-1
3.4.4-2
3.7.0

Sorry, but Zabbix API doesn't expand it. So it's tricky to implement this on the plugins' side.

Understood. I was guessing it was some sort of limitation based on an API issue. If there is another way to work around this let me know. If I can request this functionality in another way officially let me know as well. Thank you for your efforts as the plugin gives me 95% of what I need already.

@jgerry2002 you can request features through Grafana support subscription.


Feature request: arrow to sstable

Hey,
thanks for the tool, I'm looking forward leveraging RAPIDS to analyze my Cassandra data.
At the moment I'm trying to bulk load into Cassandra and after reading about your converter I realized that arrow-to-sstable would be an amazing tool to bulk load in Cassandra.
Is it something that would be easily doable with the expertise obtained in developping sstable-to-arrow?
Cheers,
[1]: Thread on the same topic on the cudf issue board: https://github.com/rapidsai/cudf/issues/9811

Sorry for the super late response.
Kaitai doesn't serialize, it only reads, so there would be a good amount of work to be done to do this in c++ bit there are options in Java.


Station App Stuck At Launch

Application version: [2.6.0]
OS: [MacOS 14.2.1.]

Steps to Reproduce:
Frequently when I restart my Mac and launch station, I see the screen below indefinitely. The only fix I've found is a combination of restarting/shutting down and hoping it works when I log back in.
Any idea what is wrong or a better solution to fix?
(P.S. -  This is my first time submitting a Github request so I hope I'm doing it correctly.)
Screenshots

Please try this https://github.com/getstation/desktop-app/issues/203#issuecomment-1717353312
Does the workaround work for you?

Yes that seems to work, thank you so much!

#203


pre-v2 behaviour

To me it looks like it is not possible with v2 do disable the image-download and chart-rewriting. Am I missing something? Is the use-case where a chart is simple copied "as is" in scope of this tool?

Is the use-case where a chart is simple copied "as is" in scope of this tool?

No, it's not. For that use case, Harbor provides a feature to copy charts between repositories. Alternatively, you can use crane to copy your charts.

Thanks for the clarification


feat: changed style to be inline with other services

Description
This pr changes the style of the values.yaml file for mqttbridge, sensorconnect, cameraconnect to match the style of the other services
Fixes #1157
Type of change

[X] Bug fix (non-breaking change which fixes an issue)

Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] My changes generate no new warnings
[X] I have checked that my issue complies with the Contributing guidelines

Codecov Report

Merging #1158 (81f3a76) into main (3f9ab2a) will increase coverage by 0.08%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1158      +/-   ##
==========================================
+ Coverage   13.06%   13.15%   +0.08%
==========================================
  Files          29       29
  Lines        7908     7908
==========================================
+ Hits         1033     1040       +7
+ Misses       6803     6798       -5
+ Partials       72       70       -2

Impacted Files
Coverage Δ

golang/internal/ioddfinder.go
66.15% <0.00%> (+3.07%)
:arrow_up:

golang/internal/exponential_backoff.go
60.71% <0.00%> (+10.71%)
: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 3f9ab2a...81f3a76. Read the comment docs.

Are you sure this is not a breaking change? Cant they not any backwards compatibility issues?

@Scarjit Reminder that this is still open

@JeremyTheocharis Unsure if this is breaking.


style: make align option consistent

Describe align option as it is done for https://github.com/mjmlio/mjml/tree/master/packages/mjml-text

Looks like to be used here too
https://github.com/mjmlio/mjml/blob/master/packages/mjml-text/src/index.js#L50
Mh... I don't know what to do about this.
Maybe add a text-align attribute that fallback to align to ensure retro
compatibility ?
On Fri, Oct 8, 2021 at 4:13 PM Cedric Cavrois @.***>
wrote:

@.**** commented on this pull request.
In packages/mjml-divider/README.md
https://github.com/mjmlio/mjml/pull/2370#discussion_r725049199:

-| -------------------------- | ------------------ | -------------------------------------------------- | ------------- |
-| border-color               | color              | divider color                                      | #000000       |
-| border-style               | string             | dashed/dotted/solid                                | solid         |
-| border-width               | px                 | divider's border width                             | 4px           |
-| container-background-color | color              | inner element background color                     | n/a           |
-| css-class                  | string             | class name, added to the root HTML element created | n/a           |
-| padding                    | px                 | supports up to 4 parameters                        | 10px 25px     |
-| padding-bottom             | px                 | bottom offset                                      | n/a           |
-| padding-left               | px                 | left offset                                        | n/a           |
-| padding-right              | px                 | right offset                                       | n/a           |
-| padding-top                | px                 | top offset                                         | n/a           |
-| width                      | px/percent         | divider width                                      | 100%          |
-| align                      | left,center, right | alignment                                          | center        |
+| attribute                  | unit       | description                                        | default value |
+| -------------------------- | -----------| -------------------------------------------------- | ------------- |
+| align                      | string     | left/right/center/justify                          | center        |

Hi @pahan35 https://github.com/pahan35 , actually here "justify" is not
an allowed value
In mj-text, the "align" property becomes a "text-align" in the html
Here it becomes an "align" property on a "table" tag, so "justify"
wouldn't work.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/mjmlio/mjml/pull/2370#pullrequestreview-775064448,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAELHTLR6SGDTHMUPPCMYVLUF34B3ANCNFSM5E5OCNIQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

Actually i checked the "allowedAttributes" in the code and the unit is enum(left,center,right) so the validator is literally expecting one of these 3 values. So i think it should stay like this in the "unit" column.
But it should indeed be consistent with mj-text. So we should change the Readme for mj-text's align instead, because it's the same, the unit is enum(left,right,center,justify), so it should be in the unit column
@iRyusa any opinion on this ?

I think we should support both align and text-align because you might want to have a justify for text-align in the div too