Mount snap "core" (1689) ([start snap-core-1689.mount] failed with exit status 1

How to test snaps with LXD?
$ lxc launch ubuntu:16.04/amd64 snapsnap
$ lxc exec snapsnap -- snap install micro --beta
...
error: cannot perform the following tasks:
- Mount snap "core" (1689) ([start snap-core-1689.mount] failed with exit status 1: Job for snap-core-1689.mount failed. See "systemctl status snap-core-1689.mount" and "journalctl -xe" for details.
)

$ lxc exec snapsnap -- systemctl status snap-core-1689.mount
● snap-core-1689.mount - Mount unit for core
   Loaded: loaded (/etc/systemd/system/snap-core-1689.mount; enabled; vendor preset: enabled)
   Active: failed (Result: exit-code) since Fri 2017-06-16 12:02:20 UTC; 6min ago
    Where: /snap/core/1689
     What: /var/lib/snapd/snaps/core_1689.snap
  Process: 521 ExecMount=/bin/mount /var/lib/snapd/snaps/core_1689.snap /snap/core/1689 -t squashfs -o nodev,ro (code=exited, status=32)

Jun 16 12:02:20 snapsnap systemd[1]: Mounting Mount unit for core...
Jun 16 12:02:20 snapsnap mount[521]: mount: /snap/core/1689: mount failed: Unknown error -1
Jun 16 12:02:20 snapsnap systemd[1]: snap-core-1689.mount: Mount process exited, code=exited status=32
Jun 16 12:02:20 snapsnap systemd[1]: Failed to mount Mount unit for core.
Jun 16 12:02:20 snapsnap systemd[1]: snap-core-1689.mount: Unit entered failed state.

$ lxc exec snapsnap -- journalctl -xe
...
Jun 16 12:01:03 snapsnap snapd[337]: 2017/06/16 12:01:03.790126 api.go:912: Installing snap "micro" revision unset
Jun 16 12:01:04 snapsnap /usr/lib/snapd/snapd[337]: daemon.go:176: DEBUG: uid=0;@ POST /v2/snaps/micro 568.833648ms 202
Jun 16 12:01:04 snapsnap /usr/lib/snapd/snapd[337]: snapmgr.go:496: DEBUG: Next refresh scheduled for 2017-06-16 20:57:17.719060486 +0000 UTC.
Jun 16 12:01:04 snapsnap /usr/lib/snapd/snapd[337]: taskrunner.go:367: DEBUG: Running task 2 on Do: Download snap "core" (1689) from channel "stable"
Jun 16 12:02:18 snapsnap /usr/lib/snapd/snapd[337]: taskrunner.go:367: DEBUG: Running task 3 on Do: Fetch and check assertions for snap "core" (1689)
Jun 16 12:02:20 snapsnap /usr/lib/snapd/snapd[337]: taskrunner.go:367: DEBUG: Running task 4 on Do: Mount snap "core" (1689)
Jun 16 12:02:20 snapsnap systemd[1]: Reloading.
Jun 16 12:02:20 snapsnap systemd[1]: apt-daily.timer: Adding 2h 4min 14.263669s random time.
Jun 16 12:02:20 snapsnap systemd[1]: Reloading.
Jun 16 12:02:20 snapsnap systemd[1]: apt-daily.timer: Adding 11h 26min 34.666378s random time.
Jun 16 12:02:20 snapsnap systemd[1]: Failed to reset devices.list on /system.slice: Operation not permitted
Jun 16 12:02:20 snapsnap systemd[1]: Failed to reset devices.list on /system.slice/snap-core-1689.mount: Operation not permitted
Jun 16 12:02:20 snapsnap systemd[1]: Mounting Mount unit for core...
-- Subject: Unit snap-core-1689.mount has begun start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit snap-core-1689.mount has begun starting up.

-- Subject: Unit snap-core-1689.mount has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit snap-core-1689.mount has failed.
--
-- The result is failed.
Jun 16 12:02:20 snapsnap systemd[1]: snap-core-1689.mount: Unit entered failed state.
Jun 16 12:02:20 snapsnap /usr/lib/snapd/snapd[337]: task.go:303: DEBUG: 2017-06-16T12:02:20Z ERROR [start snap-core-1689.mount] failed with exit status 1: Job for snap-core-1689.mount failed. See "systemctl status snap-core-1689.mount" and "journalctl -xe" for details.
Jun 16 12:02:20 snapsnap /usr/lib/snapd/snapd[337]: taskrunner.go:367: DEBUG: Running task 2 on Undo: Download snap "core" (1689) from channel "stable"
Jun 16 12:02:21 snapsnap /usr/lib/snapd/snapd[337]: handlers.go:204: Reported install problem for "core" as a6e1f2fe-528b-11e7-a696-fa163ebeb28a OOPSID
Jun 16 12:02:21 snapsnap snapd[337]: 2017/06/16 12:02:21.626068 handlers.go:204: Reported install problem for "core" as a6e1f2fe-528b-11e7-a696-fa163ebeb28a OOPSID

Required information

Distribution: Ubuntu 17.04
The output of "lxc info" or if that fails:
driver: lxc
driver_version: 2.0.8
kernel: Linux
kernel_architecture: x86_64
kernel_version: 4.10.0-23-generic
server: lxd
server_pid: 2214
server_version: "2.12"
storage: dir
storage_version: "1"

Information to attach

[ ] any relevant kernel output (dmesg)
[ ] container log (lxc info NAME --show-log)
[ ] main daemon log (/var/log/lxd.log)
[ ] output of the client with --debug
[ ] output of the daemon with --debug

Did you install "squashfuse" prior to installing your snap package?

It's a known issue with snapd inside containers and one which is tracked by the snapd people upstream.

https://bugs.launchpad.net/snappy/+bug/1628289

There is no such package in Ubuntu 16.04
root@snapsnap:~# apt install squashfuse
...
E: Unable to locate package squashfuse

You may need to run "apt update" to update the package list.

Yes. After apt update squashfuse installe successfully. snap install micro --beta was ok too. Why ubuntu:16.04/amd64 comes not updated? I thought that these images are updated frequently.

The image is indeed updated every few weeks and the packages in the image are therefore up to date.
"apt update" doesn't update any actual package (that's what "apt upgrade" would do), instead it just updates the package index files which are used to look up packages.
Anyway, looks like things are working as is expected. Hopefully snapd will finally bundle squashfuse soon and then things will be even easier.

@stgraber the question is why ubuntu:16.04/amd64 comes with updated software but outdated indexes/

I'm not sure, my best guess is that since those index files expire pretty quickly and can be somewhat big, they may not be included in the image itself, instead relying on the user (or cloud-init) running the update.

How to find out the size of container? df seems to report params of the host system,
root@snapsnap:~# df
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda5       79458176 53099752  22299136  71% /
none                 492        0       492   0% /dev
udev             3801356        0   3801356   0% /dev/tty
tmpfs                100        0       100   0% /dev/lxd
tmpfs                100        0       100   0% /dev/.lxd-mounts
tmpfs            3828332        0   3828332   0% /dev/shm
tmpfs            3828332     8348   3819984   1% /run
tmpfs               5120        0      5120   0% /run/lock
tmpfs            3828332        0   3828332   0% /sys/fs/cgroup

After apt update:
root@snapsnap:~# df
Filesystem     1K-blocks     Used Available Use% Mounted on
/dev/sda5       79458176 53260384  22138504  71% /
none                 492        0       492   0% /dev
udev             3801356        0   3801356   0% /dev/tty
tmpfs                100        0       100   0% /dev/lxd
tmpfs                100        0       100   0% /dev/.lxd-mounts
tmpfs            3828332        0   3828332   0% /dev/shm
tmpfs            3828332     8348   3819984   1% /run
tmpfs               5120        0      5120   0% /run/lock
tmpfs            3828332        0   3828332   0% /sys/fs/cgroup

(22299136-22138504)/1024=156.87 Mb which seems to much, because image list:
+---------------------------------------------+---------+----------+-------------------------------+
|                 DESCRIPTION                 |  ARCH   |   SIZE   |          UPLOAD DATE          |
+---------------------------------------------+---------+----------+-------------------------------+
| ubuntu 16.04 LTS amd64 (release) (20170610) | x86_64  | 153.78MB | Jun 14, 2017 at 8:36pm (UTC)  |
+---------------------------------------------+---------+----------+-------------------------------+

Only ZFS and LVM will report the container size properly in "df -h". For everything else, your best bet is likely "du -sch /var/lib/lxd/containers/NAME/rootfs" on the host...

Well, I'd expect "du -schx /" inside the container to give you the right number too.

# du -schx /
606M    /
606M    total
# apt update
...
# du -schx /
763M    /
763M    total

(763-606)/606=0.26 - 26% increase is not that much, and I guess that people who need extra small images are using https://developer.ubuntu.com/core anyway.

Yeah, anyway, we don't have any control on that. Those images are the same Ubuntu images used for all cloud instances, not special LXD ones.

I am having this same issue.
system info
host: ubuntu 16.04.4
lxd: 3.0.0 snap
steps to reproduce
lxc launch images:ubuntu/16.04 nextcloud
lxc exec nextcloud -- apt install snapd -y
lxc exec nextcloud -- apt install squashfuse -y
lxc exec nextcloud -- snap install nextcloud

i have also tried to set the following configs for my lxc container:
lxc config set nextcloud security.privileged true
lxc config set nextcloud security.nesting true
lxc config set nextcloud raw.apparmor "fstype=squashfs,"

but I am still getting the error Mount snap "core" (4407) ([start snap-core-4407.mount] failed with exit status 1: Job for snap-core-4407.mount failed. See "systemctl status snap-core-4407.mount" and "journalctl -xe" for details.

i just ran lxc exec nextcloud -- apt install fuse -y and my problems appear to be solved for the most part: I ran into this error as well but running snap install nextcloud twice seems to have worked.

i just ran lxc exec nextcloud -- apt install fuse -y and my problems appear to be solved for the most part: I ran into this error as well but running snap install nextcloud twice seems to have worked.


Building an auto responder

Dear all
First of all, i am php developer. And this is my first time knowing about go....
Anyway....
I want to build a whatsapp auto responder service.
Whuch users will only will see the qr code in php page, user will scan from a web page, and after scan i will get his whatsapp name to confirm the connection.
Then in background it has to be a service whuch will connect to the via a specific proxy. Each user has its owne session with unique proxy.
This service will take the responsibility to analyze the messages and reply to the sender.
This service will be php services. I can talk to go via exec, i think🤔
I am not sure how can do this .
I need this to be full automated in background, kind of an API.
How can i achieve this?
Another question : as i understand this library count on analyzing the html and Javascript of whatsapp web platform.
This is very unstable, since whatsapp can update the platform in any time lead to break down this library.
I know that people will figure out a way to get it back but i am talking business wise.
Someon may say, use whatsapp business api, will it is not available and even if it available, it will be expensive.
Please advice

first time knowing about go
I am not sure how can do this .
How can i achieve this?

first learn Go & the library,

This is very unstable, since whatsapp can update the platform in any time lead to break down this library.

yeah, i've use it from last year, and this way was very-very unstable and buggy

I know that people will figure out a way to get it back but i am talking business wise.
Someon may say, use whatsapp business api, will it is not available and even if it available, it will be expensive.

dude, just don't sell application that rely on something (that unstable and buggy).


Bug in Breast Cancer Wisconsin dataset

Hi everybody.
I found a small bug when fetching Breast Cancer Wisconsin dataset:
The target class is not the last column but the first one.
This can be solved in code by simply querying for the "target" column, but for consistency I think should be fair to consider moving the target class to the last column.

Thanks @mrektor for reporting this. We're open for PRs if you'd like to submit one to fix this issue. Thanks so much! 🙏🏽  🌻


Runtime: Logs API and other logging improvements

[x] Implement the GetLogs and WatchLogs APIs for a controller's logger
[x] Implement a rill project logs CLI command for getting recent logs and with a flag for streaming logs (similar to kubectl logs)
[ ] Move the logger to runtime/registry.go – see comment here
[ ] Use the same logger for connectors/drivers (to propagate e.g. source download logs to rill project logs as well)
[ ] Deprecate the Name("console") hack and use debug-level logging for hiding low-level logs from the console (also see the initLogger function in cli/pkg/local/app.go, which this will enable cleaning up).
[ ] Propagate source name to transporter logs

Partially addressed by https://github.com/rilldata/rill/pull/3170


Remarkable Capacitor toolpit cannot be read

Hello. On my screen (1680x1050) the toolpit of the Remarkable Capacitor cannot be read (except if i set my gui scale to small) because of the text that is too long. In auto (the bigger), in large and even in normal, it is cut in the middle. For example, in normal, anything left of "Simple Hungry" is hidden. You should use line break for people that have small screen, and my screen is even not small.

#3900


Ruby CI test is failing

Hitting this issue on https://github.com/Azure/azure-rest-api-specs/pull/1441, CI results at https://travis-ci.org/Azure/azure-rest-api-specs/builds/255431441?utm_source=github_status&utm_medium=notification
Traceback (most recent call last):
  File "/SwaggerToSdkMain.py", line 142, in <module>
    main()
  File "/SwaggerToSdkMain.py", line 139, in main
    args.autorest_bin)
  File "/SwaggerToSdkMain.py", line 49, in generate_sdk
    sdk_repo, temp_dir, initial_pr, autorest_bin)
  File "/SwaggerToSdkNewCLI.py", line 228, in build_libraries
    autorest_bin)
  File "/SwaggerToSdkNewCLI.py", line 73, in generate_code
    raise ValueError("Autorest call ended with 0, but no files were generated")
ValueError: Autorest call ended with 0, but no files were generated
The command "if [[ $MODE == 'ruby' ]]; then $DOCKER_CMD AutorestCI/azure-sdk-for-ruby --pr-repo-id Azure/azure-sdk-for-ruby -o master -v; fi" exited with 1.
0.00s$ if [[ $MODE == 'syntax' ]]; then npm test -- test/syntax.js; fi

tagging @sarangan12

@jaredmoo This issue has been fixed with recent merges, Closing this issue now. Feel free to reopen if you still find the issues


Add some default commands

Would be nice to have some default commands
Eg
!game
!title
The idea is to add them to the basic commands module and make them toggleable

Like with nightbot? Perhaps have it when mods type !game Dota 2 it changes the game, to Dota 2 and then also do !game which tells us what the game is.

@TroyDota No, that is already a default command. !setgame and !settitle. I'm talking default commands like !points, !game, !title, !timeonline/offline or !watchtime, !commands, !ping, etc

The commands in the guide are fine, will keep it to that


WildCam Darien Map

PR Overview

This PR adds the Map Explorer for the WildCam Darien portion of the Education API Front End.
Work in progress:

Currently viewable at the Tester page.

The Map Explorer requires the following features:

A Teacher is able to view all the WildCam cameras on the maps of Darien/Soberania National Parks. 👍

A Teacher is able to view data important to the WildCam project - e.g. camera markers should indicate number of species found at that location. The specifics are to be determined by what's made available with the data.
A Teacher is able to select 'Filters' to narrow down the type of data being shown on the map. 🔗
A Teacher is able to download the data being shown on the map, in CSV format. 🔗
A Teacher is able to select the data for the creation of WildCam Darien assignments. 🔗🔗🔗

A Teacher is able to navigate through the map of Darien/Soberania National Parks, similar to how they can do so on Google Maps. 👍

👍 indicates features that have been completed as of this post.
🔗 indicates features that may need to be split off into a separate PR.
Status
Work in progress. Current focus is on cramming in as much functionality as possible, then cleaning up the code into proper components & etc, before removing that WIP label.
Please note I've added one temporary code change to expedite development: HashRouter is used, to allow easy refreshing of the page. This should be reverted before merging. If I forget by the time I remove the WIP label, please holla.

Do you want to just switch back to HashRouter? It was my mistake in forgetting the browser standards for the order of the query and the hash in the URL. It does make it easier for refreshing since we're developing against production right now and I've been doing it too! We can easily go back to BrowserRouter before we deploy... or not! I don't have a strong opinion either way.

@srallen I'm very much in favour of HashRouter for the ease of development, so I'm quite happy to keep on hashing. 👍  #hashtag

re: react-leaflet, I remember trying out that library when building ol' WildCam Gorongosa Lab, but the problem was that I couldn't get React-Leaflet to integrate with the CartoDB library. However, it should be noted that was many iterations ago, and I've moved waaay past tightly-coupling the MapExplorer with Carto's libraries since then.
I'm sticking with the 'vanilla' Leaflet implementation for now since it's faster for me, but react-leaflet is worth re-investigating if it makes more intuitive sense to other React devs, for future development & maintenance.

PR Update

We're now using HashRouter again, #hashtag
MapExplorer now has better-defined subcomponents:

MapVisuals now only handles the visualisation. As it should. It doesn't care about project specifics.

Unfortunately, some of those Soberania/Darien cameras are literally on top of one another.

TODO: clicking on a Map Marker should show users all photos from that Map Marker's camera. (Next next PR)

The generalised map data logic (i.e. connecting to a Carto or Carto-like database API) has been moved to the MapExplorer duck.

Reflection: I need to monitor that the MapExplorer duck is generic enough to support all survey/map-type data logic. Otherwise, I'd need to look at a project-specific WildCamDarienMap duck.

All project-specific (i.e. Darien-specific) data/logic/config now sits in /src/lib/wildcam-darien.mapConfig.json.

Reflection: I'm starting to think this should be a .JS file instead of .JSON...

MapControls is currently just a placeholder for future filter controls. (Next PR)

Coding stuff: I've packaged all the MapExplorer parts into /src/containers/maps, but I'll need to review if it'll make sense to place MapControls and MapVisuals into /src/components/maps (where components like "Map Popup Modal" will eventually find a home).

One of the key points of this PR is to improve on the existing MapExplorer build from WildCam Gorongosa Lab. With this new MapExplorer, the feature needs to be versatile enough to support a variety of different projects, a variety of different data sources (e.g. Carto, or a Zooniverse-brand SQL server), and a variety of different map settings (e.g. different tile layers)
So far, this has been done by making sure the project-specific data/logic only exists in a config file, but I'l have to see how far I can go with this arrangement.
Status
@srallen this is now ready for review! To see the map in action, please go to http://localhost:3998/#/tester

Next PR(s) will need to:

Allow users to select filters (by species, etc) (MapControls.jsx)
Allow users to download all the data based on said filters.

Let me know what you think of the SuperDownloadButton as I'll be cribbing most of the logic from that compo (with mods to make it more generalised across all projects, of course). I'll welcome any suggestions, especially on 'proper' Grommet element structure if applicable.

Haz algo en español


Splitter stucks in resize mode

Describe the bug
By starting resizing of panels in splitter through drag of splitter comes a mouse unavailable mode (cossed circle) and aftre this the splitter stucks in resizing mode. One can't move a mouse without moving the splitter.
Expected behavior
After mouse up event, the resizing mode should be off
Desktop (please complete the following information):

OS: Windows 10
Browser Chrome
Metro Version [e.g. 4.3.4]

This issue is closed in older versions.


How do I change UI language?

It defaults to system language, but I want to use English interface.
Deleting folder with system language translation helps, but its a crutch solution.

That's the only way.

@DeadEarnest you need to edit the user_settings.json (Keyboard Shortcuts:F9)
And edit CultureLanguage like this: "CultureLanguage": "en".


fix: heat map axes affected by local time

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)

Closes https://github.com/freeCodeCamp/freeCodeCamp/issues/47073

Depending on the local time axes can start on the different value (see occurrences in the linked issue). timeFormat method interprets data as being in the local time, utcFormat uses Coordinated Universal Time (UTC) for that.
The third occurrence timeFormat('%Y - %B') did not seem to impact tests, but I've changed it for consistency.
Example with applied changes can be found at https://codepen.io/sanityto/full/gOKJQae

Is the deployment automatic, or it might need some manual actions? I'm asking, because old code still appears at the https://heat-map.freecodecamp.rocks

@gikf Thanks for the reminder. No, deployments are not automatic.
However, we should double-check this is not blocked by the current updates @raisedadead is doing?

Hey, @scissorsneedfoodtoo or @moT01 do you mind doing one last deployment to the demo-projects before we freeze further PR merges?

@raisedadead I went ahead and deployed.

Thanks @naomi-lgbt

Thanks everybody!


Where is the source code for generating bincode file?

Where is the source code for generating bincode file ?
https://github.com/cgburgess/badge-maker/tree/master/fonts
Thanks!

I believe that comes from the JavaScript version of badge maker. If you look at their source I think they have a repository for it. If I ever get around to working on this seriously again I will be working on a badgen version which I don’t think uses the fonts and is much better.


VSCode call WSL's make

When I configured dev environment at WSL, I trying to using tasks.json to call WSL side's make, but, the terminal say: bash: 'make' not found.
My WSL system is Ubuntu 18.04, use zsh(oh-my-zsh)

VSCode can add support for WSL's side build tool? Like make,cmake.

What is the output of make --version in WSL?

bash: make: command not found.

When I use tasks to call it

What is the output of make --version in WSL when you run it without tasks though?

GNU Make 4.2.1

What do you have terminal.integrated.shell.windows set to in your settings? Are you setting the terminal exectuable to zsh there, or in your tasks.json?

It looks like we don't do the special handling for wsl.exe that we do for bash.exe. I know bash.exe is no longer recommended for WSL, but could you try setting terminal.integrated.shell.windows to bash.exe? I will fix it for wsl.exe, but using bash.exe for now will get you unstuck.

Ok,Thanks for your answer.

Verification steps for later:
On Windows, setup WSL.
In settings: "terminal.integrated.shell.windows": "wsl.exe",
Run a task. Example:
	{
		"type": "shell",
		"label": "echo",
		"command": "echo hello",
		"problemMatcher": []
	}

The task should run and not have the message: /bin/bash: /d: No such file or directory
The terminal process terminated with exit code: 127

@alexr00 There is still an error:

@chrmarti, I can't reproduce this. What version of Windows are you on?

@alexr00 This is 10.0.17134.

@chrmarti can you try running wsl.exe -e echo hello from cmd.exe? Can you paste the output of running wsl.exe --help from cmd.exe?

Microsoft Windows [Version 10.0.17134.523]
(c) 2018 Microsoft Corporation. All rights reserved.

C:\Users\chrmarti>wsl.exe -e echo hello
/bin/bash: - : invalid option

C:\Users\chrmarti>wsl.exe --help
/bin/bash: --: invalid option
Usage:  /bin/bash [GNU long option] [option] ...
        /bin/bash [GNU long option] [option] script-file ...
GNU long options:
        --debug
        --debugger
        --dump-po-strings
        --dump-strings
        --help
        --init-file
        --login
        --noediting
        --noprofile
        --norc
        --posix
        --rcfile
        --restricted
        --verbose
        --version
Shell options:
        -ilrsD or -c command or -O shopt_option         (invocation only)
        -abefhkmnptuvxBCHP or -o option

Thank you! Looks like there would need to be a Windows version check since the build that you're on appears to just wrap bash.exe and the more recent build that I'm on has different argument options:
C:\Users\alros\repos\vscode\vscode>wsl.exe --help
Usage: wsl.exe [option] ...
Options:
    -d, --distribution <DistributionName>
        Launch the specified distribition.

    -e, --exec <CommandLine>
        Execute the specified Linux command. The remainder of the arguments are
        used as the command line to execute.

    -u, --user <UserName>
        Run as the specified user.

    --help
        Display this usage information.

    --
        Stop parsing arguments and pass the remainder to the Linux process.

This is a different problem, so I opened a new issue: https://github.com/Microsoft/vscode/issues/67855


Race Condition when loaded in deffered due to dependency on jQuery

No clear steps to reproduce the issue, closing it out.  Let me know if you have a test case showing the problem


Dropdown list opt out for 'enum' parameters

When action parameter is enum in yaml:
parameters:
  verbose:
    description: "Verbose mode (-vvvv to enable connection debugging)"
    type: string
    enum:
      - v
      - vv
      - vvv
      - vvvv

In UI when I select it from dropdown:

there is no way to opt out (select blank value)

Such behavior is useful when parameter is required, but for this case when parameter is optional - should be a way to select blank dropdown item.

Agreed.
Good catch and thanks for the report.

Not sure when it was fixed, but I just tested this with v.2.2.0, and I am able to select a blank value:

That has this metadata:
  method:
    description: HTTP method to use.
    enum:
    - HEAD
    - GET
    - POST
    - PUT
    - DELETE

So looks like this is OK now


Use system dispatcher for ZIO

[ci no changelog needed]
Pull Request Description

Changelog:

update: reuse system dispatcher for ZIO library instead of creating an extra one.

Important Notes

Checklist
Please include the following checklist in your PR:

[x] The documentation has been updated if necessary.
[x] All code conforms to the
Scala,
Java,
and
Rust
style guides.
All code has been tested:

[x] Unit tests have been written where possible.
[ ] ~If GUI codebase was changed: Enso GUI was tested when built using BOTH
./run ide dist and ./run ide watch.~

Is there any difference in the number of started threads?

Default ZIO pool size was nproc*2, so now we create 16 threads less


Fixes to tests to support mingw-w64 (Windows)

This pull request fixes all the tests that were failing because of differences between mingw-w64 (a GCC compiler for Windows) and Linux.  When I combined this pull request with pull request #27, I got all the tests to pass in MSYS2.

See inline comments in patch for my review questions.
Preliminary target v2.8, due to planned merge of #27.

Adding checks for functions that are only used in the test suite should be OK, because the library should not install config.h anyway. It is by design that functions that are checked for need not exist, so that is no problem at all.
However, the pre-generated config.h files in the windows directory should be updated with whatever is appropriate for them.
Also, I would use some other example for parse/print callbacks, rather than fouling up the nice inet_ntoa etc calls with open coded ugly replacements. Or, if I really wanted to show ip parsing/printing, I would implement inet_ntoa et al in a gnulib-like libtool convenience library (maybe in terms of what's available on windows), so that the ugly bits are hidden in there instead of having a loads of #ifdefs and ugly code in the test suite.
Cheers,
Peter

@peda-r I was more worried that the configure would fail and stop the build entirely, but it was early here and I was writing that while in a meeting with a customer.  You could say I was a bit unlucky while accessing my brain subsystem :smirk:
Thanks for the audit!

I would use some other example for parse/print callbacks

Yes, we don't need to write a full IP address validator just to check that libconfuse shuffles its data around in the correct ways.  We could have done something simpler, like the string "valid" is the only valid string, and it gets translated to a binary representation of "\x01\x02\x03".  If this were my project, I would probably do that.  But, for now, I thought it would be easier on the reviewers if they can see that the actual test code mostly isn't changing, and the changes are mostly just in the helper functions for parsing IP addresses.

Just to clarify.  This is the last PR that I expect will go into v2.8 ...
Other than that we're set for release! :+1:

Thanks for looking at the pull request.  I think this pull request will be good if I change it to be based on the latest master and update the config.h files in the Windows directory as @peda-r mentioned.  Initially I plan to just add #define HAVE__PUTENV to each file.  I don't really want to install Borland and DevCPP, but I might be able to test the mingw, msvc6, and msvs.net build files to make sure they really work
.

Yep, that sounds like a good plan, @DavidEGrayson! I'll hold off the release pending your updates :+1:
Don't worry too much about possible regressions for other compilers, we can take care of that in the v2.9 release cycle.  I want to start merging all the new neat features ASAP :smiley:

OK, I did a forced update.  I think 3ef5ea084ed6edf61bdb908812a225c33024953a is good.  The tests pass in MSYS2 and Linux.  :ok_hand:

Don't worry, I'll merge tonight, with a followup commit.
Doh, of course it's invalid. Too obvious this late in the evening, sorry! :)

Pull request merged as d5c731a, with the above mentioned followup fix in 85b99e7. I hope this still builds and passes on MSYS2 and other Windows targets!
Cheers!

Also, thank you so much @DavidEGrayson for your patience with us auditers and your help in improving libConfuse! :heart:

Thanks @troglobit for caring about Windows and helping to support it!


Could the dimensions in the list  be the inner loop rather than the outer loop?

@aaronspring I tried it and it worked for me:
%%time
info_per_bit_x = xb.get_bitinformation(ds_sample, dim=['xi_rho', 'xi_u', 'xi_v'])
Processing Uwave_rms: 100%
82/82 [00:22<00:00, 5.27it/s]
Processing Uwave_rms: 100%
82/82 [00:09<00:00, 11.74it/s]
Processing Uwave_rms: 100%
82/82 [00:09<00:00, 11.11it/s]

CPU times: user 41.6 s, sys: 0 ns, total: 41.6 s
Wall time: 41.2 s

This is great, but I think it could be confusing for the user why all the variables seem to be processed multiple times.
Could the dimensions in the list  be the inner loop rather than the outer loop?
Originally posted by @rsignell-usgs in https://github.com/observingClouds/xbitinfo/issues/106#issuecomment-1135942403
a bit related #97

Is this issue is open ? I want to work on it. Please assign it to me

Hi @Deep-Rai-08,
thanks for your interest! Please go ahead!

@observingClouds Can I work on this issue?

hey , is this issue still open? if please assign it to me

int sum = 0; for (int col = 0 ; col < matrix.size() ; col++) {    for (int row = 0 ; row < matrix[0].size() ; row++)    {       sum += matrix[col][row];    } }
int sum = 0; for (int row = 0 ; row < matrix[0].size() ; row++) // Assuming there is at least one element in matrix {    for (int col = 0 ; col < matrix.size() ; col++)    {       sum += matrix[col][row];    } }
can we go with this, with the dimension in inner loop


Refactor: additional items on pydantic refactor

Overview
Follow up tasks after merging #509

[ ] Find a better hex type that is serializable by Pydantic (currently HexBytes
[ ] ContractConstructor removing provider here (ape/contracts/base.py Line 27), but also making sure current provider is matching the one that the ContractInstance was initially loaded/created with (signifying the network it should be interacting with), and raising "Not connected to the right network" if it does not
[ ] Explore ContractCallHandler (in contracts/base.py Line 131) using singledispatch here to call upwards into self.contract_instance.contract_type and dynamically obtain the ABIs that match this method, reducing a lot of the logic in ContractInstance
[ ] Explore _Contract (ape/contracts/base.py Line 536) making this a proper object, so we can use ManagerAccessBase and remove functools.partial from ape/init.py
[ ] Explore (ape/utils.py Line 568) refactoring this class to accept a type_str argument, and automatically doing the cast by some sort of integration with mypy (maybe using generics?)

Dependencies
Merge #509

@NotPeopling2day Wondering if any of these checkboxes can be checked


Remove Nametag

Suggested by GoldenMIXTAPEE PS on MCPE Add-ons
Suggested by Astrex on Discord

Project moved to new repository


Datepicker Not Parsing Date from String

It looks like going from v0.13.1 to v0.13.2 the datepicker no longer handles parsing a date from a string. Is this intended functionality?
Please see the following Plunker, which shows that the form is being marked invalid when given a string version of a date in v0.13.2 but works as expected when switched to v0.13.1:
http://plnkr.co/edit/jjbvdsabeSWlARRAl4PP?p=preview

Support for falling back to a string that uses the date constructor has been removed - this is due to side-effects this had on validation and differing behavior between browsers due to what strings each browser assumed were valid date strings.
I would recommend turning your date into a date instance in this case, like this.


Next 10

Just upgraded to NextJs 10 and the pushRoute no longer does client side routing, im always getting a page reload. Are others having this same issue?

Yes, I have the exact same issue but not all the time; some times it does work but most of the times it does a full page reload

Does your js ever silently crash? On my side, when using query strings and wildcards, my menu stops working (no state changes) and the app seems to silently fail. Only on a page that's client side handled


Diff appears on unwanted locations

Which API Provider are you using?
Anthropic
Which Model are you using?
claude 3.5 sonnet
What happened?
I've had a diff appear on the wrong place 2 out of 2 tries. The first time it appeared between a docstring and the method it belonged to, the second time a new method came somewhere at the end of an existing method, before the closing parenthesis
Steps to reproduce

Try out coding with diffs and sonnet 3.5
Maybe it works
Maybe it doens't

Relevant API REQUEST output
No response
Additional context
No response

This is the same issue as #148

Working to release 2.2.14 now - can you test there in 10m or so when it goes live? Make sure to restart VSCode to get the latest. Thank you!

I'm going to close this - can you let me know if this works as expected in 2.2.15 and reopen if not? Thank you for reporting!

@mrubens everything seems to work perfect now!

I'll second that - seems to be working fine.


Make backward-cpp C++17-complient

Currently, there are functions in use, that were removed from std lib, for example:
include\backward.hpp(4018,10): error C2039: 'set_unexpected': is not a member of 'std'

It think this was fixed by https://github.com/bombela/backward-cpp/commit/0b4483f8e2143e35bc157d7bf76bcbdd063a2553
Maybe you are using an older version?

This works for me - but I'm sure the version of msc should get checked, too.
#if defined(_MSC_VER)
    set_terminate(&terminator);
    set_unexpected(&terminator);
#endif


Why is rpminspect gating in rawhide running annobin 10.53?

See related issue: https://github.com/rpminspect/rpminspect/issues/666
Even after the explanation in the attached issue it still strikes me as not easy to explain that the version of annobin that rpmimspect reported was running yesterday was 10.53[1].
It looks like annobin 10.54 was released to F36 about a month ago, so if the image is being remade at least once a week, then at least 1.54 should be running by now[2].
Could you tell me what sort of schedule the image is updated on, or how I could find out how recently the image has been remade, or whatever would affect the version of annocheck running in Fedora gating?
[1] https://osci-jenkins-1.ci.fedoraproject.org/job/fedora-ci/job/rpminspect-pipeline/job/master/86031/testReport/(root)/tests/_annocheck/
[2] https://bodhi.fedoraproject.org/updates/?packages=annobin

It looks like like annocheck is up to 11.06 at this time, so this one can be closed.


2021 compatibility adjustments

Hey there,
Not sure if you are interested, but I cloned this and made a copy then made the adjustments necessary to work with 2021.5f1 by splitting things up with appropriate asmdefs to allow gaining access to the, now internal, CollectionHelper.CheckIsUnmanaged<T>(), updating the packages, etc.
If so, let me know and I can try to do a PR with it.

Thanks,
-MH

Hi how did you fix this to work with unity 2021.5f1?


Is seamless single sign-on a pre-req for successful Hybrid Join

Is seamless single sign-on a pre-req for a fully functional hybrid join and retrieval of PRT Tokens? Or can Hybrid join be configured with password hash sync (PHS) or pass-through authentication (PTA) only?

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

ID: 816f0138-d336-3905-9f4f-e60c04da9326
Version Independent ID: ce5166e4-5d15-ef1f-1090-576a69e601e8
Content: Configure hybrid Azure Active Directory join for managed domains
Content Source: articles/active-directory/devices/hybrid-azuread-join-managed-domains.md
Service: active-directory
Sub-service: devices
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

@StefanIvemo, Seamless-SSO and Hybrid AAD Join are two totally separate scenarios trying to solve the same idea of providing SSO to the users. Hybrid AAD join is not dependent on Seamless-SSO feature. Infact once you get the machine Hybrid AAD joined, Azure AD issues them something called a PRT, that acts as the component responsible for Providing the SSO experience to the user. On the contrary, in Seamless-SSO its the Windows Integrated Auth that helps in enabling the SSO for the apps.
Coming to the second part of the query, the PHS and PTA are two different modes allowing AAD to authenticate the user in case of a Managed Domain Scenario. When a Win10 machine Hybrid AAD joined, and then the user signs in to that machine for the first time, AAD issues a PRT (Primary Refresh Token) that is for that user and token is binded to the device. before issuing the PRT, AAD authenticates the user. This auth mechanism would depend on either one among PHS or PTA, in case of a managed domain and ADFS in case of Federated domain scenarios.
Hope this clarifies the query. DO let me know in case any more queries around this.

Closing this thread for now


Retrieval Error

See 25835
Seems as if character list retrieval is somehow circular, the same characters repeat again and again despite being in the MAL list only once.

This issue was fixed in 152e80042b0c1a03d319177308f8b19613b6f1dd


Update react-horizontal-scrolling-menu dependency

Description

Added couple of tests for Tabs
Upgraded react-horizontal-scrolling-menu library (I'm an author, do you need a frontend dev by any chance?)
Fixed error in pre-commit hook

Testing
Unit tests passing, but better to check that Tabs.tsx working.
Trying to run it locally, but I'm new to AWS, requested increase of quota for ConcurrentExecutions, and trying to figure out all env variables.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Closed in favor of https://github.com/aws-solutions/performance-dashboard-on-aws/pull/1051


Mention limitations of the hosting API

@mjrousos please review.

@mjrousos Can you take a quick look at this?


Change $input-border-color to HEX color value

This PR fixes two problems with input groups.
First is hover change of middle (not rounded) border color of input because of input & button borders overlay:

Second one is that now input color is not compatible with dark background:

after this PR:

Sorry if I didn't get why now $input-border-color has RGBA value. But it will be great to fix this issues without changing z-indexes logic or any other major changes. Thanks!

Exemple: http://jsbin.com/sagipexaha/1/edit?html,css,output

I'm actually liking #22612 more than this PR. Will revisit after Beta 1 ships though, so punting this to the next release cycle.

Going with #22612 in Beta 2.


[ko] Update outdated files in dev-1.23-ko.2 (M9-M17)

한 PR에 너무 많은 변경사항을 포함시키면 리뷰하기 어려울 수 있어서, 적절히 분할하여 올립니다. 😊

Related issue: #31647 (dev-1.23-ko.2)

9 files to be modified

[ ]  M9. content/en/docs/concepts/configuration/manage-resources-containers.md  | 194(+L) 153(-)
[ ]  M10.  content/en/docs/concepts/containers/container-environment.md  | 1(+XS) 2(-)
[ ]  M11.  content/en/docs/concepts/containers/runtime-class.md  | 5(+XS) 0(-)
[ ]  M12.  content/en/docs/concepts/extend-kubernetes/compute-storage-net/device-plugins.md  | 14(+S) 11(-)
[ ]  M13.  content/en/docs/concepts/overview/working-with-objects/common-labels.md  | 2(+XS) 1(-)
[ ]  M14.  content/en/docs/concepts/overview/working-with-objects/namespaces.md  | 18(+S) 0(-)
[ ]  M15.  content/en/docs/concepts/policy/pod-security-policy.md  | 2(+XS) 1(-)
[ ]  M16.  content/en/docs/concepts/scheduling-eviction/node-pressure-eviction.md  | 2(+XS) 2(-)
[ ]  M17.  content/en/docs/concepts/scheduling-eviction/pod-priority-preemption.md  | 4(+XS) 4(-)

/language ko

@yoonian  PR 리뷰 가능하실까요? ^^

/assign @yoonian

/assign

/lgtm
/approve


feat: low bandwidth mode

Description
Closes #290
Enables a low bandwidth mode that blocks image and font requests in order to load pages faster and reduce overall network traffic. Since images and fonts have no impact on JS or HTML, this change should cause zero impact to the capabilities of this script. This will make screenshots slightly uglier on some sites.
Due to a conflict with the adblocker, adblocking is disabled when LOW_BANDWIDTH flag is set to true. Relevant information on conflict: https://github.com/berstend/puppeteer-extra/issues/91
Testing
Ran with headless mode disabled and commented out the page closing so that pages could be inspected and confirmed to work properly. Also reviewed network traffic running both with and without LOW_BANDWIDTH enabled. Traffic appears to be reduced in the 30-50% range.
New dependencies

<EMAIL_ADDRESS>

I like it!  One thing, I know we are trying to keep things alphabetized so you might want to move your LOW_BANDWIDTH="" down a couple of lines in .env-example.  Other than I'm a fan!  More options is always better and if someone doesn't want to use it they don't have to =P.

Hah! I noticed it wasn't alphabetized, but I still meant to have it 1 line lower so it was sorta alphabetized. Not sure how I missed that.

Weirdest issue I found was that with image resources blocked, Amazon still manages to load an extremely low resolution default image for most products. Kinda threw me off. No negative findings though.

Alright, sounds good. Well... I'll run on my side for the #stock notifications and move it to default if we find that it's pretty solid.
I appreciate the work! Great contribution.

Nice! Can't wait to use it.
Looking at this list, it looks like we can block some other resource types as well?
Ideas:

imageset
media

Hey there,
Looking at the incompatibility with the adblocker, I wanted to suggest that maybe the adblocker itself can be used to block fonts and images. This way you would not need to pick one mode or the other.
I can look into it if there is interest.
Best,

Yeah! Look into that if you'd like. I think both options are viable and probably give similar results.

Yeah! Look into that if you'd like. I think both options are viable and probably give similar results.

Sure this might not be too different. I assume that if both are enabled more requests will be blocked (since the adblocker will also block some scripts and other types).


Fusion Reactor Doesn't Remove Used Coolant

MC Version:1.12.2
MOD Version: NuclearCraft-2.12d--1.12.2
It should be -5280K/t when Liquid Helium is pumped into the active cooler at a rate of 2mB/s.
Because 52800K/20t*2mB=5280K/t
However: the cooling rate keeps increasing and finally stops at the maximum possible cooling rate of a single active cooler with liquid helium.
After some tests, it's clear that the fusion structure dose not remove the used coolant in active cooler.

Also, when I changed version back into 2.11g, the magnets does not work properly, and the reactor will finally explode.

The switching-back caused an issue because the way NBT data was saved and loaded changed between 2.11 and 2.12. It was forwards-compatible but I didn't think to make it backwards-compatible.
I will look for the cause of the cooling error, though!

Found the problem - bit of a sneaky one. Will try to get a fix out for this and the fusion issue tonight if I can get TeamViewer working ;)

Here's version 2.12e :)

Another thing, I noticed the NC Youtube channel, and the videos are quite good for beginners. However, players here in China can not see it for the GFW, so I'd like to repost your videos in another website.
Can I reproduce the videos on a Chinese video site Bilibili? I will mark the source for each video I reproduce.


Re-bump the repositories#show page to show more information

The repository page
We should be showing some statistics in the repo page. Some info that could
be added:

Repository pulls & pushes.
Contributors.
Stars (we are already doing it, but we might consider moving them).
Description (the same as for stars).

We should also show more information for each tag:

Size of each tag.
Image ID (already reported).
Download button that copies to the clipboard how to pull the tag.

Last but not least, it would be awesome if we could have a timeline for a
specific repository.
Visualize
We should add a way to visualize all the information from the layers that exist
on the image. See #200 and #249.
Open Questions
There are some open questions that should be addressed before starting to work
on this:

How do we allow permissions per repository ? (See #517)
How do we prevent overwrite of tags ? (See #627)

Tasks

[ ] Add statistics
[ ] Show more information for each tag
[ ] Activities list for the specific repository.
[ ] Implement the visualization of the repository.

There's some preliminary work on clipboard support in the issue #697.

Is this feature going to be included in your next milestone? This would help us enable automated builds on our end.

@hbjcr we are still planning what to do for the next release. I'd personally like to have it included, but I cannot give you any guarantees.

Closing this in favor of #2074, #2073, #2072 and #2071.


error while importing customconfig

Hello!
I am having trouble to import this library, while running evaluation commands.
can you please give me a hint what can be an issue?
File "/home/davo/Desktop/Garment_Estimation/Garment-Pattern-Estimation/./nn/evaluation_scripts/on_test_set.py", line 17, in
import customconfig

Hi, thank you for your interest in our work!
Please, check that you added custom dependencies to your environmental
variables (PYTHONPATH). That should do the trick!
Here are the instructions:
https://github.com/maria-korosteleva/Garment-Pattern-Estimation/blob/master/docs/Installation.md#5-custom-dependencies-access
пн, 13 мар. 2023 г. в 15:07, DavMLPath @.***>:

[image: image]
https://user-images.githubusercontent.com/114501323/224725110-f360aa2d-6321-4190-9191-96d7388c0783.png
Hello!
I am having trouble to import this library, while running evaluation
commands.
can you please give me a hint what can be an issue?
File
"/home/davo/Desktop/Garment_Estimation/Garment-Pattern-Estimation/./nn/evaluation_scripts/on_test_set.py",
line 17, in
import customconfig
—
Reply to this email directly, view it on GitHub
https://github.com/maria-korosteleva/Garment-Pattern-Estimation/issues/5,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABUFLA5CCQUDHS3VBPEHN4DW34S3PANCNFSM6AAAAAAVZEAFCY
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Message: message text color code fix in dark mode

Description

References
Fixes #1319
Type of change

[x] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation update

How Has This Been Tested?

Checklist

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules
[x] I have checked my code and corrected any misspellings

Testing completed and ready for PR review.


No module named 'paperqa.version'

Why show  “ModuleNotFoundError: No module named 'paperqa.version' “

Please explain in detail

If you're working on the source files, I added
from .version import __version__  to __init.py about the from paperqa.agents import ask  # noqa: E402 line.
I also added a /paperqa/version.py with a single line: __version__ = "5.0.10"
I come from JS-land so I have no idea if this is what you're "supposed" to do, but it fixed my problems!

Hey @SURUIYUAN and @janzheng
The current paperqa version can be checked with paperqa.__version__
I believe this is an old issue. Therefore, I'm closing it. Please feel free to reopen it if the issue has not been answered.


Failed to establish a new connection, Connection refused

I am getting this error while running the sf cluster in linux
Failed to establish a new connection: [Errno 111] Connection refused',))
According to documentation it says: Verify that the specified cluster endpoint is available and listening. How to do that?
Providing entire error
cmd: sfctl cluster select --endpoint http://localhost:19080
Error occurred in request., ConnectionError: HTTPConnectionPool(host='localhost', port=19080): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa62130b5d0>: Failed to establish a new connection: [Errno 111] Connection refused',))
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/knack/cli.py", line 206, in invoke
cmd_result = self.invocation.execute(args)
File "/usr/local/lib/python2.7/dist-packages/sfctl/entry.py", line 81, in execute
return super(SFInvoker, self).execute(args)
File "/usr/local/lib/python2.7/dist-packages/knack/invocation.py", line 208, in execute
cmd_result = parsed_args.func(params)
File "/usr/local/lib/python2.7/dist-packages/knack/commands.py", line 139, in call
return self.handler(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/knack/commands.py", line 246, in _command_handler
result = op(client, **command_args) if client else op(**command_args)
File "/usr/local/lib/python2.7/dist-packages/sfctl/custom_cluster.py", line 162, in select
rest_client.send(rest_client.get('/')).raise_for_status()
File "/usr/local/lib/python2.7/dist-packages/msrest/service_client.py", line 336, in send
pipeline_response = self.config.pipeline.run(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/msrest/pipeline/init.py", line 197, in run
return first_node.send(pipeline_request, **kwargs)  # type: ignore
File "/usr/local/lib/python2.7/dist-packages/msrest/pipeline/init.py", line 150, in send
response = self.next.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/msrest/pipeline/requests.py", line 72, in send
return self.next.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/msrest/pipeline/requests.py", line 137, in send
return self.next.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/msrest/pipeline/init.py", line 150, in send
response = self.next.send(request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/msrest/pipeline/requests.py", line 193, in send
self.driver.send(request.http_request, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/msrest/universal_http/requests.py", line 333, in send
return super(RequestsHTTPSender, self).send(request, **requests_kwargs)
File "/usr/local/lib/python2.7/dist-packages/msrest/universal_http/requests.py", line 145, in send
raise_with_traceback(ClientRequestError, msg, err)
File "/usr/local/lib/python2.7/dist-packages/msrest/exceptions.py", line 54, in raise_with_traceback
raise error
ClientRequestError: Error occurred in request., ConnectionError: HTTPConnectionPool(host='localhost', port=19080): Max retries exceeded with url: / (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7fa62130b5d0>: Failed to establish a new connection: [Errno 111] Connection refused',))

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

ID: 213a08bb-ba83-2512-feff-c93e1a2f714c
Version Independent ID: 3fe62cb5-c6a3-4009-2f69-4d6a918e5eda
Content: Get started with Azure Service Fabric CLI - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-cli.md
Service: service-fabric
GitHub Login: @jeffj6123
Microsoft Alias: jejarry

@akashperfect Thanks for your Query.
From the error looks like the cluster is not running.
Also, you can use netstat command to check the port information (this command works on most Linux flavours).

@akashperfect
Hope the provided information is helpful.
We will now close this issue. If there are further questions regarding this, please tag me in a comment. I will reopen it and we will continue the discussion.


Remove preview package and add function calling example

Thanks @minherz for the review.
Added region tags and fixed weird project ID typo.


Proposal for enhancing ways to extend tsconfig file

🔍 Search Terms
"extends", "merge", "compilerOptions", "paths", "outdir", "include", "exclude", "typeRoots", "references", "tsconfig", "ability to merge tsconfig", "ability to make tsconfig paths relative to final config"
✅ Viability Checklist

[X] This wouldn't be a breaking change in existing TypeScript/JavaScript code
[X] This wouldn't change the runtime behavior of existing JavaScript code
[X] This could be implemented without emitting different JS based on the types of the expressions
[X] This isn't a runtime feature (e.g. library functionality, non-ECMAScript syntax with JavaScript output, new syntax sugar for JS, etc.)
[X] This isn't a request to add a new utility type: https://github.com/microsoft/TypeScript/wiki/No-New-Utility-Types
[X] This feature would agree with the rest of our Design Goals: https://github.com/Microsoft/TypeScript/wiki/TypeScript-Design-Goals

⭐ Suggestion
Today when you extend a config the options written in the final config override the options from the base config. Here is sample of what happens today:
// @fileName: /temp/test/base.tsconfig.json
{
    "compilerOptions": {
        "paths": {
            "@libs/*": ["libs/*"],
            "@project1/*": ["project1/*"]
        },
        "typeRoots": ["node_modules/@types"],
        "outDir": "dist"
    }
}

// @fileName: /temp/test/project1/tsconfig.json
{
    "extends": "../base.tsconfig.json",
    "compilerOptions": {
        "paths": {
            "@environment/*": ["env/*"]
        },
        "typeRoots": ["typings"]
    }
}

Here is what it would mean that project1 tsconfig was written as:
// @fileName: /temp/test/project1/computed.tsconfig.json
{
    "compilerOptions": {
        "paths": {
            "@environment/*": ["env/*"]
        },
        "typeRoots": ["./typings"],
        "outDir": "../dist"
    }
}

Over years users have asked us for ability to create a final config that adds to base config instead of overriding. This is extremely useful for paths from compiler options or say references that specify project references.
This would allow to users to write a base config that contains common options that shouldn't have to be copied in all projects and yet allowing projects to specify there additional specific options.
For example in above sample, one would expect a way to write config such that final paths property is:
// @fileName: /temp/test/project1/computed.tsconfig.json
{
    "compilerOptions": {
        "paths": {
            "@libs/*": ["../libs/*"],
            "@project1/*": ["../project1/*"],
            "@environment/*": ["env/*"]
        }
    }
}

Here is the proposal to add merge as root level config property that specifies options that need to merged instead of completely overwritten in the final config.
The values specified in merge can be root level properties: files, include, exclude and references or option names from either compilerOptions, watchOptions or typeAcquisition which are lists or object type eg. paths, typeRoots, libs etc.
From the above example writing the project1 config as:
// @fileName: /temp/test/project1/tsconfig.json
{
    "extends": "../base.tsconfig.json",
    "compilerOptions": {
        "paths": {
            "@environment/*": ["env/*"]
        },
        "typeRoots": ["typings"]
    },
    "merge": ["paths", "typeRoots"]
}

Would mean that project1 wrote the tsconfig as:
// @fileName: /temp/test/project1/computed.tsconfig.json
{
    "compilerOptions": {
        "paths": {
            "@libs/*": ["../libs/*"],
            "@project1/*": ["../project1/*"],
            "@environment/*": ["env/*"]
        },
        "typeRoots": ["../node_modules/@types", "./typings"],
        "outDir": "../dist"
    }
}

Note how the paths still remain relative to config they are defined in but allowing one to add more properties and if say baseConfig also had rule for @environment/* path mapping it is overwritten by the project1 specific. That is it does not recusively merge property values of path mappings.
Apart from having ability to specify specific options that get merged, users have often asked us for a way to specify config such that base config will specify option say outDir and instead of it being relative to the base config, it needs to be relative to project's tsconfig.
For example in the above example, instead of all projects output going into /temp/test/dist the output to be inside each dist folder of each project.
Apart from outDir this would also help in writing base configs such that extending base.tsconfig.json would include project's src files and extending base.test.tsconfig.json would include tests files
With below configs:
// @fileName: /temp/test/base.tsconfig.json
{
    "compilerOptions": {
        "typeRoots": ["node_modules/@types"],
        "outDir": "dist"
    }
}

// @fileName: /temp/test/project1/tsconfig.json
{
    "extends": "../base.tsconfig.json"
}

Today the resulting config of project1 is:
// @fileName: /temp/test/project1/computed.tsconfig.json
{
    "compilerOptions": {
        "typeRoots": ["../node_modules/@types"],
        "outDir": "../dist"
    }
}

Proposal here is to add property raw with names of properties in base config such that extending it would mean as if project extending it specified them, making them relative to final config instead of the base config.
So with change to base.tsconfig.json as:
// @fileName: /temp/test/base.tsconfig.json
{
    "compilerOptions": {
        "typeRoots": ["node_modules/@types"],
        "outDir": "dist"
    },
    "raw": ["typeRoots", "outDir"]
}

would result in final project1 config as if it wrote:
// @fileName: /temp/test/project1/computed.tsconfig.json
{
    "compilerOptions": {
        "typeRoots": ["./node_modules/@types"],
        "outDir": "./dist"
    }
}

and another project2 say with merge property as:
// @fileName: /temp/test/project2/tsconfig.json
{
    "extends": "../base.tsconfig.json",
    "compilerOptions": {
        "typeRoots": ["typings"]
    },
    "merge": ["typeRoots"]
}

would result in configuration as if written as:
// @fileName: /temp/test/project2/computed.tsconfig.json
{
    "compilerOptions": {
        "typeRoots": ["./node_modules/@types", "./typings"],
        "outDir": "./dist"
    }
}

The property raw can be used for:

Options that are paths like: outDir, declarationDir etc
Options that list of paths like: rootDirs, typeRoots from compilerOptions or excludeFiles, excludeDirectories from watchOptions
include and exclude root config properties. (files and references are not included here as not sure if they really make sense?)
paths is a special option where normally the base path (property pathsBasePath) is relative to config they are declared in. So adding paths to raw would mean that path mapping is done relative to config file extending the root config file.

There was consideration of specifying raw extend as part of config extending root config but that would mean either writing something like "rawExtend": ["outDir", "typeRoots"] or  "merge": [{ "name": "include", "kind": "raw" }] in each config defeating the purpose of concise extend. Any feedback on that?
Should merge be in root config: probably not because if project wants to override or add should be part of project decision and it would need to add properties to list only if that config specifies to making this property of project config makes more sense.
TODO:
What happens to raw and merge when multi-level extending is in play. Probably they need to be merged instead of overwritten but need to think about that.
Here are issues this would help with:
https://github.com/microsoft/TypeScript/issues/44589
https://github.com/microsoft/TypeScript/issues/27098
https://github.com/microsoft/TypeScript/issues/20110
https://github.com/microsoft/TypeScript/issues/29172
📃 Motivating Example
A way to specify say project specific "paths" mapping without having to rewrite all the mappings from the base config.
And a way to specify root config that can specify include and/or outDir and not needing to write than in each project.
💻 Use Cases

What do you want to use this for?
What shortcomings exist with current approaches?
What workarounds are you using in the meantime?

I would definitely like to see more powerful options like these here. A few thoughts:
For merge functionality, I like the syntax that Tailwind uses for distinguishing between overrides and extensions:
{
  "extends": "./tsconfig.base.json",
  "compilerOptions": {
    // Override:
    "paths": {
      "@libs/*": ["libs/*"],
      "@project1/*": ["project1/*"]
    },

    // Merge:
    "extend": {
      "paths": {
        "@libs/*": ["libs/*"],
        "@project1/*": ["project1/*"]
      }
    }
  }
}

I think the semantics can be the same as what you proposed, but (a) this scheme has prior art that will be familiar to many, and (b) the indicator that an extension is happening is more closely colocated with the property doing the extending.
Instead of raw, I think I prefer the use of interpolated variables, which I think have come up in some discussions in the past:
// tsconfig.base.json
{
  "compilerOptions": {
    "outDir": "${projectRoot}/dist"
  }
}

This is again just different syntax for the same semantics you proposed, but I like it because (a) it’s obvious what’s intended to happen just by looking at the option value, (b) it’s impossible to forget whether "raw" belongs in the extending or base config, and (c) the word “raw” doesn’t do as much for my intuition about what’s going to happen as seeing a variable placeholder (the name of which is debatable).

For merge i thought about having separate entry because of references which many people want to extend and is not part of compilerOptions and is array of objects and not object itself.
For raw using syntax while more clear${projectRoot}/dist, it means that we have to do file path parsing on each config instead of relying on one property to do "transform" to either absolute path or use raw one.

I find the desire to extend references pretty suspicious, but I think extend covers that well since it could appear both inside compilerOptions and at the root:
{
  "compilerOptions": {
    "extend": {
      "paths": {
        "@/foo/*": ["../packages/foo/dist/*"]
      }
    }
  },
  "extend": {
    "references": [
      { "path": "../packages/foo"  }
    ]
  }
}

Overall, I think clarity should be the top priority—it’s hard to imagine config parsing being a significant part of the total compilation time of a large app.

we probably need to use "merge"  instead of "extend" given we already have "extends" at root

+1 A very useful and necessary feature, especially in monorepositories (as in my case)

Coincidentally, we are developing a system that requires processing of this kind of configs with a declarative extension (preset, extends) feature. And now we are also experimenting with the notation for describing different types of transformation.
The mentioned case now looks like this:
const tsconfig = await populate('tsconfig.json', {
  rules: {
    compilerOptions: 'merge',
    'compilerOptions.paths': 'merge',
    'compilerOptions.typeRoots': 'merge'
  },
  vmap({value, cwd, root, prefix, key}) {
    if (cwd !== root && (
      prefix === 'compilerOptions.outDir' ||
      prefix.startsWith('compilerOptions.typeRoots.') ||
      /^compilerOptions\.paths\.[^.]+\./.test(prefix))
    ) {
      return path.join(path.relative(root, cwd), value)
    }
    return value
  }
})

It's definitely too verbose. So we're planning to use this proposal syntax instead:
const tsconfig = await populate('tsconfig.json', {
    compilerOptions: 'merge',
    'compilerOptions.paths': 'merge',
    'compilerOptions.typeRoots': 'merge',
    'compilerOptions.outDir': 'rebase',  // to resolve any level rel paths from the root / entry point cwd.
    'compilerOptions.paths.*.*': 'rebase'
})

Closing this in favor of https://github.com/microsoft/TypeScript/issues/57485 and https://github.com/microsoft/TypeScript/issues/57486


Add a "no results" message when filtering.

Also add some margin to the buttons and add a few missing translations.
Issue

Closes #401

Description
Please include a summary of the change and which issue is addressed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Type of change

[x] New feature (non-breaking change which adds functionality)

How Can This Be Tested/Reviewed?
Select a filter that doesn't have any results.
After:
Desktop

Mobile

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have reviewed the changes in a desktop view
[x] I have reviewed the changes in a mobile view
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[x] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[x] Any dependent changes have been merged and published in downstream modules
[x] I have assigned reviewers
[ ] I have updated the changelog to include a description of my changes

I like the adjustment vs having them stay on the far left.


update polarmutex contributions

Markdown documents in this repo are auto-generated. Please contribute via Google Docs
See https://github.com/beancount/docs/blob/master/CONTRIBUTING.md


Update packages, use prop-types instead of React.propTypes

Hey there,
Who likes warnings? Not me!
This PR should get rid of those warnings 👯♂

Closing this because no ❤

My bad. I've been swamped at work recently. I will try to look at these this weekend and push a new release.

I merged your code and now I'm getting this error:

Still throws the error even when I refactor all PropTypes. I'm currently investigating.

I don't have time to check this morning, but are you using the new build of React 15.6.0?

I'm wondering if this is related to using static propTypes, possibly a new warning, or error.

It gave the error for both static propTypes and Component.propTypes = { ... }. Looks like it might be related to HoC's.


August 9th, Community Meeting Agenda

📞 Dapr Community Meeting
Every two weeks we host a community meeting to highlight community created content, showcase new features, review upcoming milestones, and engage in Q&A with the Dapr community - all are welcome, and we encourage participation.
The purpose of this thread is to form a discussion amongst the Dapr community on potential topics to highlight during the meeting. If you have a topic you wish to present or learn more about, please comment and be sure to include your name and a short description of the topic.

The conversations in this thread will directly influence the meeting agenda for the community call on August 9th, at 9 AM PST (See it in your local time). The meeting agenda is finalized by a Community Call Host prior to the meeting.
See you at the community call! 👋
Agenda

Introduction
Session 1:  Azure OpenAI output binding - Shivam Kumar Singh
Session 2: OpenAPI spec for Dapr components - Mauricio Salatino
Dapr news / Show & tell
Open discussion
Closing

Checklists for the host
Before the meeting

[ ] Find speakers
[ ] Collect Dapr news (blog posts & videos found on social media, and show-and-tell Discord channel)
[ ] Prepare slide deck
[ ] Send meeting invite to the speakers
[ ] Announce the meeting on social media

[ ] 1 week before
[ ] 1 day before
[ ] 1 hour before

During the meeting

Welcome & announce that the meeting will be recorded
Start the recording
Show the agenda
Welcome first speaker
First session
Q&A first session
Welcome second speaker
Second session
Q&A second session
Show Dapr related news, posts, videos.
Open discussion
Closing & mention Dapr Discord channel

After the meeting

[ ] Upload the meeting to YouTube
[ ] Add chapters to the video
[ ] Add links to the video description

[ ] Read-only link to slides
[ ] Dapr Discord link
[ ] Other relevant links related to the sessions

[ ] Announce the published video on social media
[ ] Close this issue

I am interested to present the Azure OpenAI output binding which I recently developed.

I am interested in sharing the work (5 mins max) that is happening in sig-api for OpenAPI spec for Dapr Components

I am interested to present the Azure OpenAI output binding which I recently developed.
@shivam-51 - Can you reach out to me for this presentation. Either Discord "mfussell" or email<EMAIL_ADDRESS>I can then send you a link to the deck and talk about what you are going to cover. Thx

I want to show a 1.12 preview of the outbox pattern


handle different image formats and language variations

What about different format (pdf, svg, png) of the same sticker?

image formats are handled now


Adds tips to README

Addresses #31

lg2m mostly. can you also update docs/source/cli.rst? I missed that in #29

@paiweilai yeah I'll update the docs

@asottile @paiweilai updated. look good?

@ajm188 I feel like the tips section really belongs in cli.rst not in the readme, since it's more for learning how to use the CLI and less for learning the very basics of what Undebt is..

@evhub I can get behind that. But I think in that case, the README should have a link to the tips section in the docs, so people can easily find it.

README has a link to cli.rst

lg2m now


PDF export missing

When I use the plugin I don't get the possibility to export to PDF

Answered your question here: https://forum.obsidian.md/t/pandoc-plugin-no-pdf-export/22739/2


Keeps specified PRs up to date.

Travis tests have failed
Hey @silasary,
Please read the following log in order to understand the failure reason.
It'll be awesome if you fix what's wrong and commit the changes.


Only support 21 files opened

In Vimacslinemode. The list only have 21 in length.
function! Vimacslinemode()
  let bfnumber = s:get_buffer_number()
  let numberlist = [ '⓿ ',  '❶ ',  '➋ ',  '❸ ', '❹ ','❺ ',  '❻ ',  '❼ ',  '❽ ',  '❾ ','➓ ','⓫ ','⓬ ','⓭ ','⓮ ','⓯ ','⓰ ','⓱ ','⓲ ','⓳ ','⓴ ']
  if bfnumber == 0
    return ''
  endif
  return join([' ',numberlist[bfnumber]])
endfunction

if buffer_number is greater than 21, it will have a list out of range error.

@ray-x  yes.I only found 20 unicode numbers..When the buffer is greater than 20, we can use the normal digital display？


Oozie HA and Job History Server incompatible

Today on a machine running the role[BCPC-Hadoop-Head-MapReduce], the job history server requires the mapreduce principal a be fully qualified with hostname. However, if the current RM or JHS is running on a different machine, Oozie will also pickup this principal and fail with the following:
java.lang.IllegalArgumentException: Server has invalid Kerberos principal:
<EMAIL_ADDRESS>org.apache.oozie.action.ActionExecutorException: JA009:
java.lang.IllegalArgumentException: Server has invalid Kerberos principal:
<EMAIL_ADDRESS>
To avoid this, we should specify the principal as mapred/_HOST or point to an Oozie specific mapred-site.xml as per Oozie configuration documentation.

hi, i also encountered this problem recently, I'd be much appreciated if you could explain the solution in more detail, thanks


Bug: nonce config does not output nonce to script tag

Info

Tool
Version

Plugin
v2.0.0

Vue
v3.2.47

Node
v16.19.0

OS
mac

Input
createGtm({
    id: 'GTM-XXXXXXX',
    enabled: true,
    loadScript: true,
    vueRouter: router,
    nonce: '2726c7f26c',
})

Output or Error
Nonce is not output into Script tag
Expected Output
nonce should be added to script tag created by the package
Additional Context
It looks like the nonce setting does not work, setting this to any value does not result in the nonce being output in the script tag generated by the package.
This also seems to be the same for the defer config value. Making defer true does not add defer to the script

There are tests https://github.com/gtm-support/vue-gtm/blob/18fd3374ac4a970c12aaa1cae97ae43b82a0fd6f/tests/vue-use.test.ts#L129
Could you please check if the test does not fulfill some expectations you have?
Maybe we need to add another test with some specific configurations?

@Shinigami92 hmm, that test seems to make sense and validate the expectation I would have. But this does not seem to be happening in practice outside of tests.
My configuration is simple, only slightly different from the documentation.
import { createApp } from 'vue';
import App from './App.vue';
import { IonicVue } from '@ionic/vue';
import { createPinia } from 'pinia';
import router from './router';

const pinia = createPinia();

const app = createApp(App)
    .use(IonicVue)
    .use(pinia)
    .use(router)
    .use(
        createGtm({
            id: 'GTM-DEMO',
            enabled: true,
            loadScript: true,
            vueRouter: router,
            nonce: '2726c7f26c',
        })
    );

With this configuration, the output script tag does NOT include the nonce in practice.
<script async="" src="https://www.googletagmanager.com/gtm.js?id=GTM-DEMO"></script>

Even if I remove all my other configuration to simplify this:
import { createApp } from 'vue';
import App from './App.vue';

const app = createApp(App)
    .use(
        createGtm({
            id: 'GTM-DEMO',
            enabled: true,
            loadScript: true,
            vueRouter: router,
            nonce: '2726c7f26c',
        })
    );

Sidebar: I was wrong about defer that is working as expected.

@Shinigami92 see a live example of this not working here: https://codesandbox.io/s/hopeful-tharp-tvv97x?file=/src/main.js

Here the nonce will be set: https://github.com/gtm-support/core/blob/9391b2d691dcff0dd75446c4ddbce3b916e60652/src/utils.ts#L95-L97
I tried to tracked the path, but just in GitHub without checking out the project
To me I could not identify any issue :thinking:
Would you like to checkout the repo (core) and try to debug it? It's really not much code, you just need to track down the options with nonce.

@Shinigami92 As a a side note, if I understand the vue-gtm code base correctly, the script is only added in a browser context anyways, so the purpose of using a CSP nonce is kinda defeated or not?

I just quickly read through https://content-security-policy.com/nonce/ to check what CSP nonce are.
Based on that, I'm not sure what you mean by that it is defeated 🤔

@Orrison you can ignore the comment. Someone posted a comment (you can read the comment in the quote of my previous post) and then deleted the comment again. I assume because they realized that the question was incorrect at all.
That deletion just confused you, sorry for that 🙂

@Orrison you can ignore the comment. Someone posted a comment (you can read the comment in the quote of my previous post) and then deleted the comment again. I assume because they realized that the question was incorrect at all. That deletion just confused you, sorry for that 🙂

Got it, no problem at all!

@Shinigami92 it seems like the problem is here where nonce is set as a property not as attribute, so it doesn't get synced to the script tag. If this line is changed to the following it seems to work as expected:
script.setAttribute('nonce', config.nonce);

@Shinigami92 it seems like the problem is here where nonce is set as a property not as attribute, so it doesn't get synced to the script tag. If this line is changed to the following it seems to work as expected: script.setAttribute('nonce', config.nonce);

Would you like to open a PR?
Is it possible to write a test for this?


Can '@azure/openai' be used in Web Worker?

I spent days struggling in using '@azure/openai' in Web Worker, which is developed in a Node.js environment. If I use some function of the package in the Web Worker, the Web Worker will have no response even if the corresponding part has not been called yet. BTW, I am using comlink to deal with communication between the main thread and the worker.
Just wonder whether '@azure/openai' can be used in Web Worker. If not, I will give up. Or I will continue debugging.
The testing code is as the following:
import { OpenAIClient, AzureKeyCredential } from '@azure/openai'

// client setup
const endpoint = "";
const azureApiKey = "";

const messages = [
  { role: "user", content: "Do you know YAML?" },
];

const client = new OpenAIClient(endpoint, new AzureKeyCredential(azureApiKey));
const deploymentId = "gpt-35-turbo";
let response = '';
let tokens = 0;
let last_finishReason = '';
async function getChatCompletions() {
  const events = await client.listChatCompletions(deploymentId, messages);

  try {
    for await (const event of events) {
      for (const choice of event.choices) {
        //process.stdout.write(choice.delta.content);
        tokens += 1;
        if (choice.delta.content) {
          response += choice.delta.content;
        } else {
          console.log('The current token:', tokens, ' choice:', choice);
        }

        last_finishReason = choice.finishReason;
      }
    }
    console.log('The whole tokens is:', tokens, '. The whole response is :');
    console.log(last_finishReason);
    console.log(response);
    //process.stdout.write('\n');
  } catch (error) {
    console.error(error);
  }

@MRYingLEE to clarify, are you using Node's Worker Threads API https://nodejs.org/docs/latest-v16.x/api/worker_threads.html or are you using the browser-based Web Workers API https://developer.mozilla.org/en-US/docs/Web/API/Web_Workers_API/Using_web_workers ?

I am using browser-based Web Workers API.
I am trying to adapt the code of  https://github.com/jupyterlite/jupyterlite/blob/main/packages/javascript-kernel/src/kernel.ts and https://github.com/jupyterlite/jupyterlite/blob/main/packages/javascript-kernel/src/worker.ts to support Azure OpenAI service. In other words, to treat prompts as a kind of code.

@MRYingLEE I don't see any reason this library can't be used with a WebWorker if other Azure JS libraries can. How exactly do dependencies in Web Workers work? You have to actually load the code you want to run into the worker, correct?

As I said, I tried to adapt the code of https://github.com/jupyterlite/jupyterlite/blob/main/packages/javascript-kernel/src/kernel.ts and https://github.com/jupyterlite/jupyterlite/blob/main/packages/javascript-kernel/src/worker.ts to support Azure OpenAI service. In other words, to treat prompts as a kind of code.
As a test, I just put the mentioned testing code in https://github.com/jupyterlite/jupyterlite/blob/main/packages/javascript-kernel/src/worker.ts.
The coding is easy, but the environment is complicated.  It is easy for you to reproduce the situation in code. Of course, the original code is an extension, if you want to test, you have to run the main application, jupyterlite.

@MRYingLEE The web worker scenario is complex enough to declare this as not supported. If I have capacity and customer signal, I can attempt an example integration with web workers and this library, but it seems bundling external dependencies into a web worker is non-trivial, and getting network rest calls to work after bundling is also a gotcha.


Added api call to get storage charges for bp

Add python call for the existing API call.

Thanks @yotam-sela-ravello , on top of it @mbeynon, I'm not sure this call does what you think it does - in the commit comment you've wrote

Added api call to get storage charges for bp

when in practice this call gets the estimated hourly charge for the runtime of an application created out of this blueprint (compute + disk storage + public IPs).

@yotam-sela-ravello - thank you for the feedback.  I modeled the call after the same for applications.  In my use of this call, I always use deployment_options with an optimizationLevel.  Can easily change to always error if nothing passed in.  There was no documentation for the call, so I infered semantics by trial and error.
How do we proceed?  Are you asking me to revise the code for these two points and submit another PR?
@gilhoffer - I was told in Dec 2016 that this call would return the size of the actual blueprint library storage size.  Is there a difference between the bp size and an application created out of it?  If this API call is not appropriate, how then can I get the library blueprint size that we need to apportion monthly recurring storage costs across all objects (applications, blueprints, images) and group by the cost center?

Yes, please revise and send another PR.
We will also update the docs for this call.
I'm not sure who told you that this is what the call does - it  doesn't, I'm sorry about that.
Library cost can in many cases be shared across many library items (e.g. if a blueprint/vm is just a small change from another blueprint/vm in your lib, the real incremental cost for this BP/vm can vary greatly) and can change unexpectedly when another item is deleted.
I'll ask our product management ( @itsikmusseri ) to reach out regrading your need.

Our cost allocation approach uses the distinction between logical size of an object and the actual size of an object in the library after deduplication is applied.  We compute what part of the aggregate logical disk size an object uses and assign the total storage cost proportionally.  Not perfect, but seems to be the best we can do.  I will work with project management ( @itsikmusseri  ) to see if there's a better way.

All changes have been made, please review.

Thanks Mike!


RATIS-1080. Rename StreamApi to MessageStreamApi.

See https://issues.apache.org/jira/browse/RATIS-1080

Thanks @szetszwo . I have committed this.

@bshashikant , thanks a lot for reviewing and merging this.


No implementation found for method startHeadlessService

I'm sure this is a known issue for anyone using latest master but on Android I get the following error on startup:
"No implementation found for method startHeadlessService on channel xyz.luan/audioplayers"

I was using the latest master since our product requires lock screen controls which aren't currently available in any of the public releases.
Totally understand that I'm using bleeding edge and that these kind of errors are to be expected just thought I'd bring attention to it in case it hadn't been seen yet

This should be a warning, that setting playback rate does not work on Android yet, but the warning message seems to be not really good

I'm experiencing this exact issue on 0.13.3. I can see that this version was released only 5 days ago and the commit above is from 3 days ago, any plans on releasing 0.13.4 relatively soon? I'd like to avoid using master just in case any unstable changes are introduced.

Got the same issue

This issue doesn’t seem to be specific to Android. I’m having the same issue with 13.3 on iOS
Sent with GitHawk

I realized that I failed to mention in my prior comment that this can be resolved by rolling back to a previous version of the plugin. Just replace the dependency in your pubspec.yaml with the following:
dependencies:
  audioplayers: 0.13.2

Fixed on #332


Next round of testing!

Now that the web updates are in I wanted to get some more testing done by people broadcasting through Owncast.  Mostly as a way to see how different variables of software and hardware configurations + network conditions, and bitrate configurations work together.  It seems like each time we fire it up and actually use it something new is learned both from the broadcasting and viewing side.
Also since @mattdsteele's wedding is next month (August 8th?) I'd be nice to feel solid about things before then.
Here's some streaming I hope to schedule:

@controlfreakstudio Are you still up for trying out Owncast for a live stream?  I'm happy to have you use my server if you'd like, or you can run your own.
I'll get @gingervitis to do some Animal Crossing commentary streaming 🐱.
My friend Rebecca wants to do a live stream of a book reading.
I'll be doing another DJ set stream in the next week or so.

If anybody knows of anybody who's looking to stream online and wants a place to do it, I'm always happy to host them on my test server goth.land.

Yup, August 8 is my deadline; I'll send a link to y'all when it's ready to go :)
I'll do some more testing, but the main things I need are to have the RTMP ingress and HLS streams be solid, and thus far I've experienced zero issues so far, so I'm feeling good!

both. i can simulcast to yours on Sunday 0200 UTC. also will setup my own server this week.

Ok I'll claim an Animal Crossing test stream this Thursday night sometime maybe around 9pm PT.

Just had a game streaming friend give streaming to goth.land a shot.  It worked really well, looked great, no buffering.  He was sending at 2500k, and my owncast config spit out 2000k and 1000k streams.

@controlfreakstudio Super exciting!  Let me know if you run into any issues getting the server up and running.

Going to chat with @jhannah tomorrow and see if he wants to give it a spin from the broadcasting side.

Can I / do I use SLOBS / OBS? Or I install Owncast instead? Whatever's helpful to you. (Can Owncast client stream to Twitch?)

There's no specific Owncast client but you can absolutely point OBS to my Owncast instance.  It's pretty straightforward just by changing what RTMP server you point to.  https://github.com/gabek/owncast#usage-with-obs
You're also totally welcome to pull down Owncast and run an instance yourself if you're interested in doing so!  We haven't yet cut an official "download and run" release, but that's what I'm working towards.  But I could send you an ad-hoc release if you were interested.  You can also build from source or go the Docker route: https://github.com/gabek/owncast/blob/master/doc/quickstart.md
Thanks for offering to help test!

@gabek so... you need to tell me the "Stream Key" you put in your config.yaml of goth.land (for "user" dferret)?

Yup exactly!  No users, just the stream key for authentication.

@gabek so ... are you going to tell me what the "Stream Key" is? Presumably it'd take me 2 billion years to guess it randomly. :)

Last night @gingervitis did some game streaming and it went well.  Not a single instance of buffering or video issues.
Near the end I noticed some audio/video sync issues, but I honestly think that was the capture device because I've never seen this occur before, and I found posts of other people experiencing it on the same device.  I'm bringing it up in case anybody else notices it when viewing an Owncast stream.  You never know.
Here's the video config I've been using with have been working well on my $10/mo Linode machine.  It usually sits around 50-60% cpu with these two.
    - high:
      videoBitrate: 2000
      encoderPreset: veryfast

    - medium:
      videoBitrate: 1200
      encoderPreset: superfast

Further testing is scheduled:

Game Time with DeactivatedUser Saturday July 25, 12 noon Pacific.
DJ Set with controlfreak Saturday July 25, 7pm Pacific.
DJ Set with gabek Tuesday July 28, 7pm Pacific.
Rebecca Readz with Rebecca Thursday July 30, 6pm Pacific.

Note to myself: Spend some time with mobile RTMP apps and find some apps/settings to recommend to people.

Tonight at 8pm Pacific is the last of our scheduled test streams.
Rebecca Stavick will be doing Adult Story Time and reading to whoever tunes into goth.land.  She'll be broadcasting live using her phone and Larix Broadcaster.

btw as an aside, with regards to Larix Broadcaster for iOS, they have this neat tool where you can encode all of your broadcasting settings into a URL and/or QR code and you the broadcasting app will automatically configure itself with those settings.  Pretty cool if you want somebody to be able to broadcast easily.
https://softvelum.com/larix/grove/

Rebecca's streaming just using her phone + Larix worked great.  Done with mass scheduled testing for now, I'm happy with how it's all gone!


lte for Query Parameters

First Check

[X] I added a very descriptive title to this issue.
[X] I used the GitHub search to find a similar issue and didn't find it.
[X] I searched the SQLModel documentation, with the integrated search.
[X] I already searched in Google "How to X in SQLModel" and didn't find any information.
[X] I already read and followed all the tutorial in the docs and didn't find an answer.
[X] I already checked if it is not related to SQLModel but to Pydantic.
[X] I already checked if it is not related to SQLModel but to SQLAlchemy.

Commit to Help

[X] I commit to help with one of those options 👆

Example Code
from fastapi import FastAPI, Query

app = FastAPI()

@app.get("/posts-lte/")
def get_posts_lte(limit: int = Query(1, lte=5)):
    """
    `lte` seems not working
    """
    return {"limit": limit}

@app.get("/posts-lt/")
def get_posts_lt(limit: int = Query(1, lt=5)):
    """
    `lt` works
    """
    return {"limit": limit}

Description
Maybe this issue is more related to FastAPI, but I found this issue from SQLModel tutorial, so I reckon it's better to report here.
The tutorial uses lte for Query Parameters, but it seems not working (I can still get the query result if the limit is set to higher than lte constraint). However, if I tried to use lt, then it works fine.
Meanwhile, I didn't find the usage of lte for Query Parameters in the FastAPI documentations.
As a result, I'm not sure whether this is a bug or FastAPI just doesn't support this operation .
Operating System
Windows
Operating System Details
No response
SQLModel Version
0.0.6
Python Version
Python 3.9.6
Additional Context
No response

Shouldn't it actually be le instead? That's what pydantic uses and I doubt it has changed in sqlmodel.

@thesadru Thanks for the reply. I think you're correct. Maybe it is just a typo in code.

Good catch, thank you @jrycw! And thanks for the PR! 🙇 ☕


[develop_2.0] Scala tests fail on Windows due to EOL issues

Some Scala tests are sensitive to the platform-specific line endings:
When cloning the repo on Windows (with core.autocrlf=false, which is the default and IMO recommended), the following tests will fail:
  should read a model with required params and description(CompositionTest): "{[
  should read a model with composition(CompositionTest): "{[
  should convert a model(ModelConverterTest): "{[
  should read an interface(ModelConverterTest): "{[
  should read an inherited interface(ModelConverterTest): "{[
  should convert a scala case class with nested models(ScalaModelTest): "{[
  should read an interface(ScalaModelTest): "{[

When manually switching the line endings of those three files from LF to CRLF, the tests succeed.

One the other hand, some tests suffer from the opposite issue: When cloning with core.autocrlf=true, the following tests will fail:
  should convert serialize a header key model to yaml(AuthSerializationTest): "---[
  should serialize a with string array PathParameter(ParameterSerializationTest): "---[
  should serialize a HeaderParameter(ParameterSerializationTest): "---[
  should serialize a BodyParameter to yaml(ParameterSerializationTest): "---[

When manually switching the line endings of those two files from CRLF to LF, the tests succeed...

Fixed by #831


Fix endpoint name in docs

What does this PR (Pull Request) do?

[x] This PR fixes #4022

Which Traffic Control components are affected by this PR?

Documentation

What is the best way to verify this PR?
Build the docs and check that the API docs for deliveryservice_server_capabilities are renamed to deliveryservices_required_capabilities.
If this is a bug fix, what versions of Traffic Control are affected?

master (426881af)

The following criteria are ALL met by this PR

[x] This PR includes tests OR I have explained why tests are unnecessary
[x] This PR includes documentation OR I have explained why documentation is unnecessary
[x] This PR includes an update to CHANGELOG.md OR such an update is not necessary
[x] This PR includes any and all required license headers
[x] This PR ensures that database migration sequence is correct OR this PR does not include a database migration
[x] This PR DOES NOT FIX A SERIOUS SECURITY VULNERABILITY (see the Apache Software Foundation's security guidelines for details)

Additional Information
Related endpoint implementation in #4026.

Can one of the admins verify this patch?

I think maybe you also wanna change the success alert in the POST handler. It currently says "deliveryservice server_capability was updated."

If I'm reading "How to Read this Documentaion" right the "alerts" should be removed from the response structure example.

Nah, that's just about the field lists that describe the structure:

"The field definitions listed in the Response Structure subsection of an endpoint method are the elements of this object"

Examples should be complete requests and responses to that request. You just don't need to lay out "this endpoint returns an alerts array with one alert that has these properties..." because that's repetitive, and unnecessary. Honestly, it doesn't even really matter if the alerts shown aren't accurate, but the specific wording in this case could make it seem like that response is for a different endpoint.

Correct me if this is wrong. As I read the code for #4026, it uses api.CreateHandler to implement the POST request, which will format the alert message as "deliveryservice.RequiredCapability was created."
The alert in the DELETE request needed a similar fix, plus updating of new-line placement to be consistent with the other examples.


merge package from arlac77/npm-package-template

README.md

docs(README): update from template

:tada: This PR is included in version 1.0.7 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Add makedate function to MysqlSqlModule #655

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


The action doesn't respect the "ignore" field in config.json

Would be really nice if the action could respect the ignore field in the config.json changeset configuration.
I might be able to look into this personally if it's not just a super simple change; let me know!

So far this isn't pulling the changesets configuration file, but this sounds like a reasonable first thing to need it for. I don't think it should be too complicated to implement either. I'll try to take a look next week.

@filiphsps can I get you to test #90 and just make sure it does what you expect it to do? I don't have any repos that are using the ignore option at the moment. You should be able to test the branch by just updating the action to use mscharley/dependency-changesets-action@ignore-changesets-configuration instead of whichever version number you're using currently.

@filiphsps It's been a while, so I'm happy that at a minimum there's no regressions. If you do find that there's some issues with the new ignore functionality then please feel free to log a bug. This has now been released in v1.0.7.


Change docs to be in github pages

An example of nice-looking docs that we can adopt https://github.com/NVIDIA/NeMo-speech-data-processor. Having docs in a proper website will make it easier to find them and switch between different pages

done in https://github.com/Kipok/NeMo-Skills/pull/193


pkg/trace: bump pkg/remoteconfig/state

An older version makes importing pkg/trace fail, but works within the context of the datadog-agent because of replace directives.

So sorry @gbbrI I definitely didn't mean to force push and delete the changes you made to the go.mod files. And now that history is gone, I don't know how to recover it 🤦
Hopefully this is either no longer necessary or is quick to add again.