Setting font variations

Hello,
First of all, thanks for ab_glyph and glyph_brush; ab_glyph is what's used to render glyphs in my acrylic crate.
I was wondering how I could configure a font's variations?
I see that ttf-parser has a Face::set_variation method, is this method available from ab_glyph?
I'd like to reference https://lorp.github.io/samsa/src/samsa-gui.html which is a great tool for playing with font variations.
Thank you very much.

Hello, currently ab_glyph hasn't exposed ttf-parser's variable font methods.
That should be doable, a couple of things come to mind after a quick look:

Having a &mut self method in ab_glyph works less well with FontArc so perhaps a fn with_variation(self, ...) move approach would work better.
The new methods would explicitly require ttf-parser feature "variable-font" so we should probably add that (so it works in no-std) or expose it in ab-glyph as a feature too.


Allow swagger docs that dont have defined schema refs. Right now whole app crashes if a schema is missing a $ref

Right now whole app crashes if a swagger schema is missing a $ref
Describe the solution you'd like
See PR. Basically add a flag to use a default to object if schema ref is missing.
Describe alternatives you've considered
Really aren't any other fixing the swagger schemas. I don't really want to do that for imported schemas, its time consuming and potentially dangerous considering I'm not the originator of it.
Additional context

You forgot to link your PR: https://github.com/Urigo/graphql-mesh/pull/3551
I see this being related to https://github.com/Urigo/graphql-mesh/issues/2606 but it goes beyond, as the PR adds an option to patch error objects into the schema instead of failing the build.
IMHO, not providing a subschema breaks validity and integrity, both need to be fixed upstream in the consumed schema, not through workaround helpers in graphql-mesh (Although that does not mean we don't need them, it is a recurring issue to encounter invalid APIs).
So I'd probably recommend the approach I used to work around this kind of issue until it can be truely fixed:

Use a fixed copy of the swagger.json instead!

Closed by your PR :)
Sorry for late response. It will be released soon!


ONYX-10395: Bump ruby version to 3.0.2

Desired Outcome
Bumped ruby version from 2.5.8 to 3.0.2 in the following projects:
Phusion Ruby Builder
Ubuntu Ruby Builder
UBI Ruby Builder
Phusion Ruby FIPS
Ubuntu Ruby FIPS
UBI Ruby FIPS
Implemented Changes
Updated build.sh file.
Connected Issue/Story
Resolves #[relevant GitHub issue(s), e.g. 76]
CyberArk internal issue link: ONYX-10395
Changelog

[ ] The CHANGELOG has been updated, or
[x] This PR does not include user-facing changes and doesn't require a
CHANGELOG update

Test coverage

[ ] This PR includes new unit and integration tests to go with the code
changes, or
[ ] The changes in this PR do not require tests

Documentation

[ ] Docs (e.g. READMEs) were updated in this PR
[x] A follow-up issue to update official docs has been filed here: insert issue ID
[ ] This PR does not require updating any documentation

Behavior

[ ] This PR changes product behavior and has been reviewed by a PO, or
[x] These changes are part of a larger initiative that will be reviewed later, or
[ ] No behavior was changed with this PR

Security

[ ] Security architect has reviewed the changes in this PR,
[x] These changes are part of a larger initiative with a separate security review, or
[ ] There are no security aspects to these changes

Please arrange commit history


If the wsl can support windows form directory?

When using wsl, since it is a commend console, I'd like to just drag some files into the console and it will turn into its path, so that some simple commands can be easily excuted just like it in cmd does. But I am frustrated that in wsl the file will still turn into windows form directory like "C:\Program Files" rather than /mnt/c/'Program Files'. If wsl can support windows form directory, it will be more convenient to use.

You could ask over in microsoft/terminal but it might be (?) a complicated ask (not sure). Speculation being: a terminal emulator doesn't know what is happening inside it. You could be calling wsl.exe from cmd.exe. Or you might not. You could even be calling cmd.exe or powershell.exe from inside WSL. There is no obvious way (to me) that the terminal can know the context.

Y

You could ask over in microsoft/terminal but it might be (?) a complicated ask (not sure). Speculation being: a terminal emulator doesn't know what is happening inside it. You could be calling wsl.exe from cmd.exe. Or you might not. You could even be calling cmd.exe or powershell.exe from inside WSL. There is no obvious way (to me) that the terminal can know the context.

Yes, I know that the problem relates to both microsoft/terminal and microsoft/wsl, but as you have said, a terminal emulator can't know what is happening in it. So a more complicated way to solve the problem is not let the windows terminal to carry out the task but let the bash shell in wsl to do this, and this is an issue for microsoft/wsl, although it seems to have a lot to do with microsoft/terminal, its user experience, etc.

bash shell in wsl

The bash shell is unaware of a drag-and-drop, which is a niceity of the terminal emulator. Bash reads characters off a tty. Bash doesn't (and can't) even know if your terminal emulator is running on another machine on another continent via ssh.

bash shell in wsl

The bash shell is unaware of a drag-and-drop, which is a niceity of the terminal emulator. Bash reads characters off a tty. Bash doesn't (and can't) even know if your terminal emulator is running on another machine on another continent via ssh.

You didn't understand. Only the wsl has the needs to recognize "X:*" as "/mnt/x/*", and if the special shell in wsl is capable of this task, we do not need to change the behavior of drag-and-drop or ssh terminal on another machine. It is a recognize task in wsl itself. When using a ssh client on windows to connect to another linux machine, we do not need to use windows form directory because there's no windows directory on that remote machine at all. The only application scenarios is when using wsl and the windows disk is mounted under the subsystem.

You didn't understand.

No; I understood how you wish it would behave clearly, and explained why such behavior not likely. [While deferring to the console peeps for the hard no.]

Only the wsl has the needs to recognize "X:" as "/mnt/x/"

"The WSL" is a kernel emulator, or more properly, a reimplementation of the Linux kerrnel (in WSL2 it is real Linux kernel in a VM). A Linux kernel does not know what a drag-and-drop means. It performs read(2) and write(2) operations on a tty.

and if the special shell in wsl

There is no special shell in WSL. The shell in WSL is unadulterated GNU bash, or another Linux shell of your choosing, like zsh or fish. Even if you were to write a shell on your own, from scratch, it would not know that a drag and drop operation in the terminal happened either.  As if you typed them yourself on the keyboard in the terminal yourself.

and can be solved perfectly by adding this function to the bash shell in wsl

It cannot1. Though you may fork GNU bash (or another shell) and attempt to implement the feature as an exercise.
[1You could probably prove me wrong with a heuristic that recognized really fast tty input that plausibly pattern-matched a Windows path. If someone told me it couldn't be done and bet enough, that's what I'd do.]

All right, but if I could fork bash, make it check all the X:/ in its input and change it to /mnt/x/ before going on, then it would be solved without dealing with the drag-and-drop behavior. May be its not the task for wsl, or maybe a special plugin is what I need.

It wasn't a serious proposal. The answer was "it cannot". You'd only do it on a dare. The hack would break pasting a windows path into a text editor (say nano), a perfectly reasonable thing to do. You'd have better luck getting the terminal emulator to understand context. Maybe with a magic VT sequence "set path drop translation behavior". [Also not an especially serious proposal. But that is how the title bar text in the terminal gets set, for example.]


iCloud 'All Day' events not showing

Hi
I have both Google calendars and iCloud CALDAV calendars setup.
All Day events from the Caldav calendars are not showing.
Is this expected behaviour?
Thank you.

whats your config for this card?

This is my config:
title: Coming Up
numberOfDays: '10'
timeFormat: 'HH:mma'
dateTopFormat: DD
dateBottomFormat: ddd
hideTime: false
progressBar: true
showLocation: true
showLocationIcon: true
startFromToday: true
hidePastEvents: true
showMultiDay: true
eventsLimit: '99'
showEventOrigin: true
hideHeader: false
highlightToday: true
ignoreEventsExpression: ''
ignoreEventsByLocationExpression: ''
entities:
  - entity: calendar.pierre
    name: Pierre
  - entity: calendar.emily
    name: Emily
  - entity: calendar.scerri_nicole
    name: Nicole
  - entity: calendar.holiday
    name: Holiday
  - entity: calendar.meter
    name: Meter
  - entity: calendar.payments
    name: Payments
  - entity: calendar.terry
    name: Terry
  - entity: calendar.finance
    name: Finance
  - entity: calendar.anniversary
    name: Anniversary
  - entity: calendar.medical
    name: Medical
  - entity: calendar.home
    name: Home
  - entity: calendar.reminders
    name: Reminders
type: 'custom:calendar-card'

The Mail App on MacOS also has a calendar for Birthdays that picks up the data from Contacts.  These are also all-day events and not shown.  The 'Birthdays' calendar is not seen by the card. Tried adding it manually but does not come up.
The first 3 calendars in the list are gmail calendars.  The rest are iOS calendars.

The 'All Day' issue has somehow vanished.  All is good on that front.
The 'Birthdays' issue, however, is still there.
Why is this calendar not being added by the card?


Can MLVPN support 10's of 4G USB modems?

I have a server in my office with 80 4G USB modems and 1 fiber 100Mbps Checkpoint router, I am port forwarding traffic from (for example) port 3000 on my router to the server, and then in the server, I have Squid set up to send the outgoing traffic to different modems based on the username.
User 1 on port 3000 will go out from modem 1
User 2 on port 3000 will go out from modem 2
and so on
What I would like to do is get rid of my fiber Checkpoint router and stay only with the server and 80 4G modems.
I would like to set up a Digital Ocean server with MLVPN that takes incoming traffic from the internet on port 3000 and sends it using a tunnel to an aggregated interface (of all 80 modems) on my office server on port 3000, then I will use Squid as normal to route traffic to specific outgoing interfaces.
This way, users can connect to the cloud server from the internet and use a single, specific modem on my office server using Squid.
I have read the entire documentation and MLVPN sounds perfect for the job, but I am not sure that I have the right approach.
Can MLVPN achieve what I described above or am I missing anything?

For what I understand, mlvpn is not doing what you think. MLVPN does packet level weighted round robing tunneling. (Operates a layer 3)
What you need, is a connection based load balancer (layer 4), behind a proxy. Linux does this natively:
ip route add default scope global nexthop via $P1 dev $IF1 weight 1 \
	    nexthop via $P2 dev $IF2 weight 1

For what I understand, mlvpn is not doing what you think. MLVPN does packet level weighted round robing tunneling. (Operates a layer 3)
What you need, is a connection based load balancer (layer 4), behind a proxy. Linux does this natively:
ip route add default scope global nexthop via $P1 dev $IF1 weight 1 \
	    nexthop via $P2 dev $IF2 weight 1

Thanks for the quick reply. I have been looking for a solution for a while now and couldn't find anything, so thank you for pointing me in the right direction. I have sent you an email explaining the situation a bit more to detail, we are looking for help with this and would love to work with you. thanks again.


Form-inline class on fieldset

Since updating to alpha6 from alpha4 a fieldset with the form-inline class is no longer displayed inline.
See https://jsbin.com/hewokovako/edit?html,output for example.
I only want a section of my form to be inline hence the use of form-inline on a fieldset instead of the form.

This is a flexbox bug: https://github.com/philipwalton/flexbugs#9-some-html-elements-cant-be-flex-containers.


Testing out a feature of bors...

@alexcrichton: no appropriate reviewer found, use r? to override

 Warning

Pull requests are usually filed against the master branch for this repo, but this one is against test. Please double check that you specified the right target!

@bors: r+

:pushpin: Commit eb926bd has been approved by alexcrichton

:hourglass: Testing commit eb926bd with merge d68845b...

:sunny: Test successful - status-appveyor, status-travis
Approved by: alexcrichton
Pushing d68845b35796fdfd60da8f240f6520e01fd01985 to test...


add macros for raw values of interval, from, to

Hi there,
When using the Grafana plugin, we sometimes have to do some string replacement and casting on the current interval and timeFilter macros in order to use the raw values for calculations.
It would be nicer for us if we could have macros to access those values directly like this PR allows.
Happy to change anything that doesn't fit with your macro standards.

This pr fixes https://github.com/grafana/timestream-datasource/issues/103 and https://github.com/grafana/support-escalations/issues/866

sorry for the delay in getting to this. Hope it looks a little bit better now

Sorry I missed the review re-request! It looks good now and thanks for the PR! Could you fix the merge conflict before I merge it?

No worries! I slightly updated the README again to make the difference between the macros a bit clearer.


SSH server does not work when running as windows service.

Gitea version (or commit ref): (my own fork, but should happen on all versions)
Git version: 2.11.0-32
Operating system: Windows
Database (use [x]):

[ ] PostgreSQL
[ ] MySQL
[ ] SQLite
[x] MSSQL

Can you reproduce the bug at https://try.gitea.io:

[ ] Yes (provide example URL)
[ ] No
[x] Not relevant

Log gist:

Description
When running the inbuilt SSH server, ssh fails. My investigation has shown this to be caused by how minwinsvc determines is is running in service mode. What happens is as follows.
The ssh server starts correctly, and attempts to run the gitea.exe executable with the serv argument when a users is correctly authenticated with a SSH key (I have verified it is picking up keys correctly)
The gitea serv command returns 0 with no console output when run this way (via the inbuilt ssh server).
This is an issue with how minwinsvc determines whether to run as a service or console, the init code for minwinsvc calls Os exit with 0 if IsAnInteractiveSession() returns false. This is causing the shelling out of gitea to calling itself to return instantly.
I have created a ticket in https://github.com/kardianos/minwinsvc/issues/2.
NOTE: The server works fine in windows when run via a console. As IsAnInteractiveSession will return true.
TLDR;. on windows using in built ssh server and running as a service; gitea.exe thinks it is a service when executing git-recieve-pack via ssh, and doesn't write to stdout, thus closing the connection to the client.
...

I think the only way is to hack with minwinsvc's internals to prevent that.
@btrepp Since I don't usually use the SSH server, can you help me test this patch?
https://gist.githubusercontent.com/andreynering/90747602e75a33e3b69df793d4171250/raw/245eb559c1dd3b0cc95659ac633bdb8c14ecaf8e/gites-windows-ssh.patch

@andreynering the patch works well, applied to current master and am running it on a testing machine as a windows service.

@btrepp Awesome! I'll open PR when possible.


Blog post for CSV activation

Written by @jl2012 and submitted by me on request
ping @harding

ACK e9986d7dec77d3bdad8cd0be8dcc1eb40abacd7c

ACK

thanks for editing. ACK

OK I'm going to publish this since the message needs to get out sooner than later.

Agree

ACK


Improve test startup time and add watch feature

This is not a high priority issue, but the testing suite currently takes a while to startup on my local machine. I think this is something electron-related. We could run the unit tests in a more slim node environment, but that might not be appropriate because all the code is made to run in the browser.
It seems like just a startup time issue, so perhaps adding a test:watch script to keep the test suite running in the background and tracking changes in individual files would be sufficient.

If you're curious, the new branch with StaticImageLayer includes a new testing setup that appears to have a watch feature.


Jupyter notebook kernel timeout when distributed installed

I'm having what appears to be the same issue as #4897, in which installing distributed gives me Timeout waiting for kernel_info in Jupyter notebook/labs.  However, installing a fresh environment, which seems to have worked there, does not work for me.
I'm trying to set this up on my compute cluster running Centos 7 with slurm.  If I start with a clean environment without distributed (conda create -n dask-test python=3.7 ipython notebook), then the kernel loads fine when I start notebook (jupyter notebook --no-browser).  here's what my environment looks like at that point:
# Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
attrs                     19.1.0                     py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
bleach                    3.1.0                      py_0    conda-forge
bzip2                     1.0.8                h516909a_0    conda-forge
ca-certificates           2019.6.16            hecc5488_0    conda-forge
certifi                   2019.6.16                py37_1    conda-forge
decorator                 4.4.0                      py_0    conda-forge
defusedxml                0.5.0                      py_1    conda-forge
entrypoints               0.3                   py37_1000    conda-forge
ipykernel                 5.1.2            py37h5ca1d4c_0    conda-forge
ipython                   7.7.0            py37h5ca1d4c_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.14.1                   py37_0    conda-forge
jinja2                    2.10.1                     py_0    conda-forge
jsonschema                3.0.2                    py37_0    conda-forge
jupyter_client            5.3.1                      py_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc-ng                 9.1.0                hdf63c60_0
libsodium                 1.0.17               h516909a_0    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0
markupsafe                1.1.1            py37h14c3975_0    conda-forge
mistune                   0.8.4           py37h14c3975_1000    conda-forge
nbconvert                 5.6.0                      py_0    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
notebook                  6.0.0                    py37_0    conda-forge
openssl                   1.1.1c               h516909a_0    conda-forge
pandoc                    2.7.3                         0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.5.1                      py_0    conda-forge
pexpect                   4.7.0                    py37_0    conda-forge
pickleshare               0.7.5                 py37_1000    conda-forge
pip                       19.2.1                   py37_0    conda-forge
prometheus_client         0.7.1                      py_0    conda-forge
prompt_toolkit            2.0.9                      py_0    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
pygments                  2.4.2                      py_0    conda-forge
pyrsistent                0.15.4           py37h516909a_0    conda-forge
python                    3.7.3                h33d41f4_1    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pyzmq                     18.0.2           py37h1768529_2    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                41.0.1                   py37_0    conda-forge
six                       1.12.0                py37_1000    conda-forge
sqlite                    3.29.0               hcee41ef_0    conda-forge
terminado                 0.8.2                    py37_0    conda-forge
testpath                  0.4.2                   py_1001    conda-forge
tk                        8.6.9             hed695b0_1002    conda-forge
tornado                   6.0.3            py37h516909a_0    conda-forge
traitlets                 4.3.2                 py37_1000    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.33.4                   py37_0    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zlib                      1.2.11            h516909a_1005    conda-forge

If I then conda install distributed (distributed  2.2.0,  conda-forge) and restart the kernel in notebook then I get Timeout waiting for kernel_info_reply in my logs, notebook doesn't work.  At that point, uninstalling only distributed with conda uninstall distributed --force is sufficient for me to be able to restart my kernel in notebook again.  I can go back and forth with install distributed and uninstall distributed --force and it consistently fails as long as distributed is installed.
after reading through the threads here, I've tried python 3.6 and 3.7, distributed 2.2.0 and 1.28.1 (neither version mattered), and tornado 6.0.3 and 5.1.1 ... only uninstalling distributed gets my kernel to work... but my ultimate goal is to use dask.distributed and dask-jobqueue.
(in case it's important info, notebook is running on a compute node on my cluster and I'm logging in via ssh tunnel through the login node.)
thanks for any suggestions you can provide.

The only thing that came to mind to me was to check the tornado version,
but it looks like you've already done that.  I personally don't know of any
other possible complication.
On Sat, Aug 10, 2019 at 7:31 PM Talley Lambert<EMAIL_ADDRESS>wrote:

I'm having what appears to be the same issue as #4897
https://github.com/dask/dask/issues/4897, in which installing
distributed gives me Timeout waiting for kernel_info in Jupyter
notebook/labs. However, installing a fresh environment, which seems to have
worked there, does not work for me.
I'm trying to set this up on my compute cluster running Centos 7 with
slurm. If I start with a clean environment without distributed (conda
create -n dask-test python=3.7 ipython notebook), then the kernel loads
fine when I start notebook (jupyter notebook --no-browser). here's what
my environment looks like at that point:
Name                    Version                   Build  Channel
_libgcc_mutex             0.1                        main
attrs                     19.1.0                     py_0    conda-forge
backcall                  0.1.0                      py_0    conda-forge
bleach                    3.1.0                      py_0    conda-forge
bzip2                     1.0.8                h516909a_0    conda-forge
ca-certificates           2019.6.16            hecc5488_0    conda-forge
certifi                   2019.6.16                py37_1    conda-forge
decorator                 4.4.0                      py_0    conda-forge
defusedxml                0.5.0                      py_1    conda-forge
entrypoints               0.3                   py37_1000    conda-forge
ipykernel                 5.1.2            py37h5ca1d4c_0    conda-forge
ipython                   7.7.0            py37h5ca1d4c_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
jedi                      0.14.1                   py37_0    conda-forge
jinja2                    2.10.1                     py_0    conda-forge
jsonschema                3.0.2                    py37_0    conda-forge
jupyter_client            5.3.1                      py_0    conda-forge
jupyter_core              4.4.0                      py_0    conda-forge
libffi                    3.2.1             he1b5a44_1006    conda-forge
libgcc-ng                 9.1.0                hdf63c60_0
libsodium                 1.0.17               h516909a_0    conda-forge
libstdcxx-ng              9.1.0                hdf63c60_0
markupsafe                1.1.1            py37h14c3975_0    conda-forge
mistune                   0.8.4           py37h14c3975_1000    conda-forge
nbconvert                 5.6.0                      py_0    conda-forge
nbformat                  4.4.0                      py_1    conda-forge
ncurses                   6.1               hf484d3e_1002    conda-forge
notebook                  6.0.0                    py37_0    conda-forge
openssl                   1.1.1c               h516909a_0    conda-forge
pandoc                    2.7.3                         0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
parso                     0.5.1                      py_0    conda-forge
pexpect                   4.7.0                    py37_0    conda-forge
pickleshare               0.7.5                 py37_1000    conda-forge
pip                       19.2.1                   py37_0    conda-forge
prometheus_client         0.7.1                      py_0    conda-forge
prompt_toolkit            2.0.9                      py_0    conda-forge
ptyprocess                0.6.0                   py_1001    conda-forge
pygments                  2.4.2                      py_0    conda-forge
pyrsistent                0.15.4           py37h516909a_0    conda-forge
python                    3.7.3                h33d41f4_1    conda-forge
python-dateutil           2.8.0                      py_0    conda-forge
pyzmq                     18.0.2           py37h1768529_2    conda-forge
readline                  8.0                  hf8c457e_0    conda-forge
send2trash                1.5.0                      py_0    conda-forge
setuptools                41.0.1                   py37_0    conda-forge
six                       1.12.0                py37_1000    conda-forge
sqlite                    3.29.0               hcee41ef_0    conda-forge
terminado                 0.8.2                    py37_0    conda-forge
testpath                  0.4.2                   py_1001    conda-forge
tk                        8.6.9             hed695b0_1002    conda-forge
tornado                   6.0.3            py37h516909a_0    conda-forge
traitlets                 4.3.2                 py37_1000    conda-forge
wcwidth                   0.1.7                      py_1    conda-forge
webencodings              0.5.1                      py_1    conda-forge
wheel                     0.33.4                   py37_0    conda-forge
xz                        5.2.4             h14c3975_1001    conda-forge
zeromq                    4.3.2                he1b5a44_2    conda-forge
zlib                      1.2.11            h516909a_1005    conda-forge
If I then conda install distributed (distributed 2.2.0, conda-forge) and
restart the kernel in notebook then I get Timeout waiting for
kernel_info_reply in my logs, notebook doesn't work. At that point,
uninstalling only distributed with conda uninstall distributed --force is
sufficient for me to be able to restart my kernel in notebook again. I can
go back and forth with install distributed and uninstall distributed
--force and it consistently fails as long as distributed is installed.
after reading through the threads here, I've tried python 3.6 and 3.7,
distributed 2.2.0 and 1.28.1 (neither version mattered), and tornado 6.0.3
and 5.1.1 ... only uninstalling distributed gets my kernel to work... but
my ultimate goal is to use dask.distributed and dask-jobqueue.
(in case it's important info, notebook is running on a compute node on my
cluster and I'm logging in via ssh tunnel through the login node.)
thanks for any suggestions you can provide.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5258?email_source=notifications&email_token=AACKZTF2YJOFE3BGPH3TZSDQD5FVPA5CNFSM4IK2SBDKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4HERYZPA,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTER2XCDV734SVB2D3TQD5FVPANCNFSM4IK2SBDA
.

Thanks Matthew. If tornado is at the top of your list, I'll keep playing around with various version combinations.  Was it specifically v6 you were looking for?  or is there reason to believe I might have better luck with v5?
as a side note: I got started on this after coming across your videos on dask w/ jobqueue on HPC, and it has dramatically improved the degree to which I am utilizing my institution's cluster.  So with or without jupyter, thanks so much for all your work.  this is awesome.

I would not be surprised if some versions of Jupyter do not work with
Tornado 6.  In my recent experience the newest versions of both work well
together though.
On Mon, Aug 12, 2019 at 8:26 AM Talley Lambert<EMAIL_ADDRESS>wrote:

Thanks Matthew. If tornado is at the top of your list, I'll keep playing
around with various version combinations. Was it specifically v6 you were
looking for? or is there reason to believe I might have better luck with v5?
as a side note: I got started on this after coming across your videos on
dask w/ jobqueue on HPC, and it has dramatically improved the degree to
which I am utilizing my institution's cluster. So with or without jupyter,
thanks so much for all your work. this is awesome.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/dask/dask/issues/5258?email_source=notifications&email_token=AACKZTG3YER2SDWGYKYG4TLQEFJJDA5CNFSM4IK2SBDKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD4CLXFY#issuecomment-520403863,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AACKZTCYJHQVXEZJSNRPIZTQEFJJDANCNFSM4IK2SBDA
.

it seems obvious that this has something to do with permissions or the environment on my cluster... installing the exact same conda environment locally works, even with distributed.  I'll ask my admins if they have any ideas.  If anyone has ideas about specific permissions I should have them check (that might cause the timeout loading kernel info) let me know.

@tlambert03 will you report back here with what you find? It can be helpful for future users facing similar issues.

well, it was my own damn fault (sorry folks)... but I figured it out:  I had some custom imports specified in ~/.ipython/profile_default/ipython_config.py:
c.InteractiveShellApp.exec_lines = [
    'import numpy as np',
    'from dask_jobqueue import SLURMCluster',
    'from dask.distributed import Client'
]

when distributed wasn't installed, I noticed the following error in my notebook debug logs:
[D 09:49:06.818 LabApp] activity on c7b01486-a3f2-4157-a41f-78e8fabf31e7: error
I edited notebook.services.kernels.kernelmanager to provide a bit more feedback on the error and that tipped me off to the import errors when the notebook kernel started.  For some reason, when distributed was installed, those imports didn't throw an error, but did cause the kernel to hang somehow and eventually caused the timeout.  Removing those lines from my ipython config fixed the problem.
Sorry for the issue noise. thanks for your time... and I guess if anyone else stumbles on this, don't forget to check your ipython config at ~/.ipython/profile_default/ipython_config.py


Parallelize processing

Since each line is processed independently, we could process them in parallel.

the more general issue is how to improve performance. Maybe having the tool as a proxy to other tools can be a solution. The rules can be just a convenient way to describe transformations. The actuall rule engine can be a transformation to an awk script, for example.


Add _cat/snapshots

Thank you. Will consider this for the next release.

Will be part of 7.0.27. Had to change a few things.


Offline mode does not work

I have this code
      newProject.save().then(function(){
        console.log('Save success');
        self.transitionToRoute('project.show', newProject.id);
      });

This works in offline, but the only problem is that the "then" callback never fires until i go back online.  Is this the correct behavior?  If so, what's the workaround?

There is no deliberate offline support in EmberFire yet. Offline "kind of works" in the sense that when you reconnect, data you saved will begin syncing back to the server. This is all handled by the underlying Firebase client library.
You'll also notice that things are not happy if you start your app when already offline.
We have not made a concerted effort to get Offline + EmberFire working yet.

As a point of clarification, the Firebase JS client does not call the callback immediately when in offline mode. Working around this could cause a problem when things come back online. I will do more investigation.

Offline and EmberFire would make Firebase an even more incredible platform to work with. It would do the same thing Firebase has done to solve the real time problem. Also solving the offline problem, would make Firebase the ultimate killing two flies with one hit 'thing' :)

+1

We do not plan support for this until full offline support is built into the Firebase library.


[26] Detect and use proper libcurl package dependency for debian/ubuntu (master)

Addresses 26
While we do build against libcurl-gnutls in the development repository, it is theoretically possible to build against the nss and openssl flavors of libcurl as well. I've implemented logic to detect which version cmake picks up and apply the appropriate package dependency.

does this change our package recommendation/requirements/instructions for installing?   i think it does not...

Didn't get a notification for this comment for some reason.
I wouldn't imagine we would need to change our recommendations there, as the package manager should pull in everything automatically.

very good - let's # it.

#'d


is it possible to show it on top of the keyboard or just above?

If the keyboard is open, the toast is not visible when the position is at the bottom

Uhh, you can position the toast wherever you want.

I meant ON TOP of the keyboard.. right now the toast is hidden behind the keyboard if it's shown at the bottom of the screen.

The keyboard is a subview of the window, so if you present the toast in the window it’ll appear on top.

You can position the toast wherever you want.


[Question] / [Problem] sish tool not launching properlly

I've cloned the repo, and had go installed. i've copied the public key, and when i start the program with the command provided this is where it gets stuck
2024/11/29 - 09:59:53 | Starting SSH service on address: localhost:2222
2024/11/29 - 09:59:53 | Loading ssh_key as ssh-ed25519 host key
it doesn't go further.
Any help is apreciated.

Which command-line options are you passing when running the application?

these were all the commands i ran, before launching the main file.
(
git clone git@github.com:antoniomika/sish.git
cd sish
cp ~/.ssh/id_ed25519.pub ./deploy/pubkeys
)
i did as the guide told me an passed --http-adress and --domain into the arguments.
root@vmi2298612:/usr/sish# go run main.go --http-address localhost:3000 --domain vmi2298612.contaboserver.net
2024/12/01 - 22:41:34 | Starting SSH service on address: localhost:2222
2024/12/01 - 22:41:34 | Loading ssh_key as ssh-ed25519 host key
^Croot@vmi2298612:/usr/sish#

Hey @Botond70,
Can you enable debug logging with --debug? That'll give us more info.


Cannot send thread error list if more then 50.

Bug description
Slack Thread cannot be created if more then 50 errors there. Even if in config, I added: 100.
✅ Message sent to aqa-reports
[
{
"channel": "aqa-reports",
"outcome": "✅ Message sent to aqa-reports",
"ts": "1726119632.656559"
}
]
Error in reporter Error: An API error occurred: invalid_blocks
at platformErrorFromResult (/home/gitlab_ci_multi_runner/data/white-label/tests-ui/node_modules/@slack/web-api/src/errors.ts:119:5)
at WebClient. (/home/gitlab_ci_multi_runner/data/white-label/tests-ui/node_modules/@slack/web-api/src/WebClient.ts:326:36)
at Generator.next ()
at fulfilled (/home/gitlab_ci_multi_runner/data/white-label/tests-ui/node_modules/@slack/web-api/dist/WebClient.js:28:58)
at processTicksAndRejections (node:internal/process/task_queues:95:5) {
code: 'slack_webapi_platform_error',
data: {
ok: false,
error: 'invalid_blocks',
errors: [ 'no more than 50 items allowed [json-pointer:/blocks]' ],
response_metadata: { messages: [Array], scopes: [Array], acceptedScopes: [Array] }
}
}
How to reproduce (please include a snippet of your Playwright Slack Reporter configuration)
Playwright: 1.47.0
const slackReporterOptions = {   channels: ["aqa-reports"],   sendResults: "always", // "always" , "on-failure", "off"   slackLogLevel: "ERROR",   disableUnfurl: true,   showInThread: true,   maxNumberOfFailuresToShow: 100,   meta: [     {       key: 'Build run by',       value: username || 'unknown_user',     },     {       key: 'Branch',       value: process.env.CI_COMMIT_REF_NAME || 'Unknown Branch',     },     {       key: 'Job name',       value: process.env.CI_JOB_NAME || 'Unknown Job', // Depending on your CI environment, this can be the branch name, build id, etc.     },     {       key: 'Job Link',       value: process.env.CI_JOB_URL || 'Unknown Job Link', // Depending on your CI environment, this should be the job URL.     },   ], };
Expected behavior
No response
Environment & setup
GitLab
playwright-slack-report version
1.1.86

@exotlv this is enforced by the Slack api


Cleanup vectorized hip renders

The problem with overriding vectorized half cast in render_cast is that since the half4 dtype doesn't exist in HIP, we can't define a variable as a half4 in the kernel.
I referenced HIP's implementation to define vectorized half dtypes and created the make_dtypen functions for it.
This unblocks non-fp32 math

@geohot that test needs non-fp32 math

Understood, merging this


Ogar can't work with the private server?

Read the title

since when was original ogar related to this

do you know any extention for agar.io private server?

OGArio?


update drygore prices

Description:
Make all drygore 200m value.
Changes:

Update all drygore to be 200m value (offhands were 100m but their dyed equivelant are 200m. main hand are also 200m base, and 200m dyed)
Update drygore sets to be 400m value

Other checks:

[X] I have tested all my changes thoroughly.

Can you explain the reasoning?


[Admin] Revisit and update branch protection rules

After reviewing our many legacy branches, the protection rules are not setup correctly, such as the following pull request on 2.1

As there are outstanding pull requests in nearly all branches, make sure the rules are updated and the correct workflow checks are required for changes to be merged.

[Triage] The maintainers of the Security repository, discussed the topic and came to a general opinion on how to handle the maintenance of deprecated branches. These details will be consolidated and described below before the issue is closed.

@scrawfor99 was that conversation captured / who will provide the updates?

Hi @peternied, I had thought you had some notes on the topic from last week. Judging by your comment this is not the case...

OK - thanks, double checking.  Basically there are a couple of branches that cannot merge because of the misalignment.  I'll be addressing this

This isn't actively being worked on as there are no blocked changes at this time, if this comes back up we can re-prioritize this work

Closing for now, will reopen when/if it makes sense.


updated README.md to better describe the data set.

added a description that described the purpose of the file and the binary nature of its values.

#271


Upgrade to selenium 2.47.1

I've merged in your pull request but tests are failing. One thing I fixed was a change to seleniums output but in my tests the driver is just hanging which makes me suspect that selenium interface may have changed and it is not talking to phantom properly. I've not done much with this recently so if you want to take a look at the tests / validate that the head version is working then would be much appreciated. Otherwise I'll probably be able to take a proper look next week. Will not published npm until tests have passed, can use grunt mocha to run specific tests that hang

I found the problem.tomorrow i will raise a pull request

@levexis I saw that you already fixed the problem.I am closing the issue


Multi-domain SDLC

Need to work out the story / workflow for validating multiple domains with specs in different repos.
For example, if I remove a public topic, or a grant on a protected topic, in one repo by mistake, the downstream domain need to detect this.  Ideally, this is caught as early as possible... e.g. in the build pipeline.
Thoughts:
Maybe we can reference the upstream specs straight out of the main branch of GitHub?
Then users could have periodic builds (nightly or what ever) that check that no changes upstream has broken the current repo.
Later we'll want to think about how to toolify this so that the up stream repo user is notified when removing a topic / grant that still in use...

Ideally using a reference approach where specmesh uses a registry or master-git location to resolve the entry
(i.e. some.other.domain._public.topc -> consume - ref: version-1)
no other details required. i.e. act like a symbolic link


fix: Replace Assets v2 APIs with v3 APIs

Description

Update mxd seed postman collection.
Update terraform seed configuration.
Update e2e postman collection.

Closes #156
Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

After running the branch locally I can confirm the fix solved the previous terraform issue: Apply complete! Resources: 19 added, 0 changed, 0 destroyed.
Should that be enough to approve the PR? I didn't check the postman collections, though


DataBinding

Hi, I'd like to know hoe do you bind your large data to it using angular.
Do you have an example ?
Thanks

Hey narzul1,
When I have large data sets to bind against I usually create some kind of ajax or promise call to the server which returns a specific 'page' of my larger data sets information.  I then bind that smaller return to say an ng-repeat or an angular service or model.
It's important to understand we never pass the entire data set down to the client. This directive was designed to help by hooking all the dirty paging client side logic up to your own angular services which hold the data.  In short, you simply provide the paging directive three items:

What page you are currently interested in
How many items do you want to show on a page
What is the total number of items in your data set

As an example, instead of dumping the entire data set, we just ask the server for a small set say 1,000 per page.  One method, if we are using a database, would be to pass in two parameters to our query.  One parameter for the page we are interested in "@PageNumber" and the other for how many rows to display per page "@RowsPerPage" which would be 1,000.
The SQL boils down to something like:
SELECT OFFSET ((@PageNumber - 1) * @RowsPerPage) ROWS FETCH NEXT @RowsPerPage
Which for say page 20 with a 1,000 rows per page then looks like
SELECT OFFSET 19000 ROWS FETCH NEXT 1000

I hope that helps alittle bit,
Thanks again for the question and for checking out the directive


Demo webpage not working

http://demo.hospitalrun.io/ not opening and giving timeout error even in the high speed internet

I tried this with different browser and it's not working anywhere

I have tried it too and is offline, there is some reason about it?

can i work on this issue?

the same for me ,  is not working

The project has been archived, and the demo is no longer deployed. Sorry guys.


Stop adding dataform_ to git branches we create

Currently when we push branches to a user's external git repo, we prepend it with dataform_.
This isn't actually necessary and is annoying for users who depend on exact branch names for other reasons.

This would be user important for us to integrate to linear.app


ISO8601 working okay?

Maybe I am overthinking this -- but I am using rethinkdbdash -- and I am inserting some new rows from some outside data that has dates in ISO8601 string format.  So -- I think I need them to convert to rethingDB format and am trying to do something like
body.timeStamp = r.ISO8601(body.timeStamp) ;
However, it's throwing a stack trace error :
   throw new Error.ReqlDriverError('`'+method+'` takes '+num+' argument'+((num>1)?'s':'')+', '+args.length+' provided', term._query);
    ^
ReqlDriverError: `toJSON` takes 0 argument, 1 provided after:
r.ISO8601("2016-09-29T19:32:11.888Z")
    at Term._arity (/Users/sjm/work/galaxy/next-gen/us-tems/services/us-tems-worker/node_modules/rethinkdbdash/lib/term.js:3016:11)
    at Term.toJsonString (/Users/sjm/work/galaxy/next-gen/us-tems/services/us-tems-worker/node_modules/rethinkdbdash/lib/term.js:2767:10)
    at Object.stringify (native)

I looked in the RethinkDB documentation .. which clearly shows you are supposed to give it a ISO8601 string to convert to internal UTC seconds thing?
r.ISO8601("2013-08-09T18:53:15.012-07:00")
in https://www.rethinkdb.com/docs/dates-and-times/javascript/
And the same command runs fine in the Data Explorer:
r.ISO8601("2016-09-29T19:32:11.888Z")
1 row returned in <1ms.
value
1
Thu Sep 29 2016 19:32:11 GMT+00:00

So pretty lost as to what to do here...
Cheers!

That's because you try to call JSON.stringify(r.ISO(...)). You can't stringify a ReQL term.

Well that solved the issue alright -- and I NEVER EVER would have guess I could not JSON.stringify a ReQL term!  Ever!  :)


vt fails to load on osx - issue with libdl

On linux, in order to use pkey'' (peek at the next keypress) without it blocking, I need to call fcntl on stdin to put it into non-blocking mode.
But fcntl takes a file handle, and to get that, I have to look up the name stdin in the libc shared library.
To do that on linux, you open libdl and then use it to inspect the libc shared library.
The process appears to be different on OSX, as loading vt gives an error:
|domain error: cd
|   uh_libc=:>:{'libdl.so dlopen * *c i'    cd'libc.so.6';1
|[-192] /users/x/applications/j902/addons/tangentstorm/j-kvm/vt.ijs

potential workaround:
If you comment out lines 160-167 in vt.ijs , you might still be able to use everything but pkey'' and the event loop (which relies on it).

i suspect pull request #2 from @moon-chilled fixes this problem.

it worked fine for me on macos with that patch


A few suggestions for the V1 text.

I've marked the items I had questions on with a @luebken

Thanks! Cherry picked suggestions and merged them manually.


Token

Sorry.


Add support for SapMachine binaries

With work being done towards adding additional binary distributions of OpenJDK as options (likely under the "distro" option, see e.g. #67), it would be useful to include the SapMachine binaries among the distro options

Is this planned for any upcoming releases to include SapMachine binaries?

I would highly appreciate if Sap Machine JVM would be added to actions/setup-java

Hi all,
it is merged and released some minutes ago.
Have fun
Christian


Theme name changes - Android API 23

Just noticed on api 22 and up (android) that the theme names seem to have changed.
I've added an extended option list to the DatePicker.js to test. I'm sure there is a better way to do this. seeing as they are the same themes just a different name.
Perhaps a version check somewhere in the code and use the correct name based on the api version.
eg if api 23 or greater for option 1 use "Theme_Material_Dialog_Alert" etc.
http://developer.android.com/reference/android/app/AlertDialog.html
"THEME_TRADITIONAL 	This constant was deprecated in API level 23. Use Theme_Material_Dialog_Alert."
	DatePicker.prototype.ANDROID_THEMES = {
	  THEME_TRADITIONAL          : 1, // default
	  THEME_HOLO_DARK            : 2,
	  THEME_HOLO_LIGHT           : 3,
	  THEME_DEVICE_DEFAULT_DARK  : 4,
	  THEME_DEVICE_DEFAULT_LIGHT : 5,
	  Theme_Material_Dialog_Alert : 6,
	  Theme_Material_Dialog_Alert : 7,
	  Theme_Material_Light_Dialog_Alert : 8,
	  Theme_DeviceDefault_Dialog_Alert : 9,
	  Theme_DeviceDefault_Light_Dialog_Alert : 10
	  };

I have issues with API 23 on Android with the dialog having extra white space along the right side.  Has anyone encountered that and/or any known fix?


i18n(pt-BR): Add rss.md translation

What kind of changes does this PR include?

[ ] Minor content fixes (broken links, typos, etc.)
[ ] New or updated content
[x] Translated content
[ ] Changes to the docs site code
[ ] Something else!

Description
PT-BR translation for the rss.md page.

Thanks for all the reviews you are doing today, @victor0x16!! :rocket:


Added jasp

[x] Checked there aren’t open pull requests for the same cask.
[x] Checked there aren’t closed issues where that cask was already refused.
[x] When naming the cask, followed the token reference.
[x] Commit message includes cask’s name.
[x] brew cask audit --download {{cask_file}} is error-free.
[x] brew cask style --fix {{cask_file}} left no offenses.
[x] brew cask install {{cask_file}} worked successfully.
[x] brew cask uninstall {{cask_file}} worked successfully.

Thank you for the contribution. It needed some fixes, so they were made in 71a3c497e00b565719b0f8795a42d197a3b95548. Your contribution is still included (and still credited to you), with the appropriate modifications. Please feel free to ask about any of the changes.

Thanks for the merge and thanks for the tip!


1.2: Access Denied in phase DOWNLOAD_SOURCE

Hello again,
I've been using the CodeBuild Plugin for Jenkins in my organisation for quite some time and gave the latest version a try. Yet when I change the plugin in Jenkins from 1.1 (March 2017) to the latest commit e56fc3d591027c24b7edb05e1c4639bbf790d4c5 i recieve an error which did not occur before in the same jobs. I also tried the version from jenkins.io
The Jenkins job fails with:
[AWS CodeBuild Plugin] Uploading source to S3.

[AWS CodeBuild Plugin] Uploading code to S3 at location <snip>/source/source/. MD5 checksum is vwgkz<snip>Ug0ve8Q==

[AWS CodeBuild Plugin] Source upload finished.
[AWS CodeBuild Plugin] S3 object version id for uploaded source is TB<snip>dY7
[AWS CodeBuild Plugin] Starting build with project name <snip> and source version TB<snip>dY7

[AWS CodeBuild Plugin] Logs url: https://console.aws.amazon.com/cloudwatch/home?region=eu-west-1#logEvent:group=/aws/codebuild/<snip>;stream=2b3c0e7<snip>de793

[AWS CodeBuild Plugin] Build failed for build-npm and source version
[Pipeline] }
[Pipeline] // node
[Pipeline] End of Pipeline
CodeBuildException
	at CodeBuildStep$CodeBuildExecution.run(CodeBuildStep.java:170)
	at CodeBuildStep$CodeBuildExecution.run(CodeBuildStep.java:136)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1$1.call(AbstractSynchronousNonBlockingStepExecution.java:47)
	at hudson.security.ACL.impersonate(ACL.java:260)
	at org.jenkinsci.plugins.workflow.steps.AbstractSynchronousNonBlockingStepExecution$1.run(AbstractSynchronousNonBlockingStepExecution.java:44)
	at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
	at java.util.concurrent.FutureTask.run(FutureTask.java:266)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
	at java.lang.Thread.run(Thread.java:748)
Finished: FAILURE

And CodeBuild fails with:
Access Denied in the phase DOWNLOAD_SOURCE
The Cloudwatch logfile is also empty.
Has something changed with the permissons in version 1.2? My permissions for version 1.1 were fine as all builds succeeded.
Thanks

We did update the AWS SDKs since that older version (from the oldest version to this one).
The first place I'd look is your CodeBuild service role--make sure it has something like the following in the policy:
   {
      "Sid": "S3GetObjectPolicy",
      "Effect": "Allow",
      "Action": [
        "s3:GetObject",
        "s3:GetObjectVersion"
      ],
      "Resource": [
        "*"
      ]
    },

You can also try creating a new source bucket (scoped to the region where you're running builds). In the mean time I will look into this a bit further and get back to you.

The SDK update shouldn't be the problem as we're using the same parameters for startBuild. I assume the problem is with one of the following:

Source bucket
If you're uploading your source from Jenkins to S3, the bucket you specify in your CodeBuild project will be used. If your project was modified and this bucket was changed then you'll see access denied.

Service role
The policy is scoped to the wrong bucket for uploading source from Jenkins.

Another cause might be that the CodeBuild configuration has changed since the older version--if everything above is valid can you try creating recreating the Jenkins project?

I ran in to this problem some days ago.
The problem seemed to occur because my source zip was located in a subfolder within the bucket.  I worked around this issue by changing my CodeBuild project to use a zip file in the top level of the bucket.

@krm1, are you still experiencing this issue?

@leobaran-aws Unfortunately I could not test it yet, but I will keep you posted. At latest at the end of this month.

Not sure what specific permission was missing, but this fixed it for me:
IAM CodeBuild user:
        {
            "Effect": "Allow",
            "Resource": [
                "arn:aws:s3:::mycodebuildbucket/source/*"
            ],
            "Action": [
                "*"
            ]
        }


Make PasswordBone's threshold parameters configurable and provide these to the client

Hello everyone,
This PR make the password Bone more configurable. You can now set:

The min length of the password
The threshold for tests to pass
What tests the password must passesd

Why not a logics expression as written in the developers chat?

I'm a fan of it, but not within this pull request.

I haven't used logics-py because I don't think it's adjustable enough or I don't know enough about it. If I want to use the password bone for some kind of pin input then I want to set the length to 4 for example and only allow numbers. Or I want that all 4 conditions in the password are fulfilled then I must write this also again differently.

I haven't used logics-py because I don't think it's adjustable enough or I don't know enough about it. If I want to use the password bone for some kind of pin input then I want to set the length to 4 for example and only allow numbers. Or I want that all 4 conditions in the password are fulfilled then I must write this also again differently.

Sure, you can express all this in Logics.

But for now we cann keep this ?

Apart from the fact that probably nobody changes these rules anyway...

Let's discuss this tomorrow. I'm also not sure, maybe we need some more explanation.

Regex irgendwas

I think we should wait with this until #637 is merged, to resolve conflicts first and have the bone structure rendering on the right position.

@ArneGudermann Can you resolve the conflict?

@phorward  and @sveneberth  should be ok now.

:clap:


Course pages

Create a course page for each course, displaying detailed course information such as course name, course description, course instructors, and course sections. In addition, we will determine if the course is offered in the current semester and if this professor is teaching the course this semester. As well as implementing the ability to expand and close all sections taught by the current professor with 2 buttons. But the course page template hasn't been done yet since we still want to insert the "Rate My Professor" link.

Resolved merge conflicts.


Breaks with Inspecio's quiltified fabric api

See https://github.com/Queerbric/Inspecio/issues/66
LambdAurora says not to rely on the implementation class.

Of course it's bad to rely on an implementation class but currently that part of the api is lacking.
There is already a plan to handle this but not any time soon.
CIT Resewn never claims to support this "quiltified fabric api" and if mods want to support other things, they shouldn't bundle a FAPI that is not the official Fabric API implementation.

Support will be considered again after the v1 rewrite is published.

Just thought of a better solution.

Ok, I removed the usage of impl fapi. This should be fixed now(still targeting the v1 release tho).


Add an ability to delete Sprite Kind

It would be great if there will be an ability to delete extra Sprite Kinds. Currently, they can be only added or renamed.

Related?
https://forum.makecode.com/t/delete-enum-property-on-drop-down/4460

Maybe. But it's kind, not property. Are they the same internally?

Well, I'm not the best with TypeScript or JavaScript - I don't know what it's exactly called :/
It's apparently called an "enum member" according to jwunderl. (Scroll down to the third post in the topic above)
The "kind" that is shown is just a enum or a namespace I think. Regardless, it should be able to delete from both.


Colorizer is slow

Colorizer uses std::regex, but it is too slow for that amount of work. Not to mention it is not optimized to scan multiple expressions at once. It is necessary to replace it with a proper lexical scanner (like RE/Flex).

Have you considered making the colorization rely on an interface (kind of like how ImGui combo boxes use a getter function to get the items)? I have a context-sensitive language with a parser already wired up, so I can answer queries like "What's the next text span and what color should it be" relatively fast.
Aside from helping me, this might also be a cleaner way to separate these two parts. I'd love to integrate this into my project!

BTW, this would also enable highlighting based on criteria other than keywords, which I want to use for a live script profiler.

@sherief This pull request does pretty much what you suggested, https://github.com/BalazsJako/ImGuiColorTextEdit/pull/44. It adds a callback function which return true/false and when true the begin and end location of the identified text + the color ('palette index') for the given text.

The above PR has now been integrated. It only speeds up C++ syntax coloring for now, although other languages would be relatively easy to support. If you want to contribute for one of the other language definitions, please do! I will soon start working on accelerating HLSL.


FUTURE_LEGACY_REMOVE InternalPixelPointerType, EdgeListPointerType, InputBoundaryConditionPointerType

Deprecated the following three typedefs of raw pointer types:
- ImageAdaptor::InternalPixelPointerType
- QuadEdgeMesh::EdgeListPointerType
- DiscreteGaussianImageFilter::InputBoundaryConditionPointerType

It appears clearer to just use the Type * syntax, to explicitly make clear when using a raw pointer, rather than a smart pointer.
These cases were found by a search of the regular expression ^  using \w+PointerType = \w+Type \*;$ in all "itk*.h" files.

Follow-up to PR https://github.com/InsightSoftwareConsortium/ITK/pull/4538

Please keep for this for after 5.4.0 has been released.

I think this pull request may also be merged now, as v5.4.0 has been tagged: https://github.com/InsightSoftwareConsortium/ITK/pull/4603#issuecomment-2120498131


Component works very slow, dropping input

Even on clear react-native project installed component works very slow.
My use case is 4-digit sms code entry and as proficient mobile phone user when I'm typing fast it only picks up 2 digits from 4 typed which would be very annoying for my users.
Oppose to that I've tested normal TextInput which is working just fine.
It was tested on 4 different devices, always very bad performance.
Any suggestions?
Google drive link to video screen record: https://drive.google.com/file/d/1NxbFPZK38k4UrQQJmLqA8MIbpgF365hx/view?usp=sharing

@devstarman
You can use a fork without this problem
https://github.com/retyui/react-native-confirmation-code-field

@retyui sorry for late reply and thanks! it done its job :)


Vendor ratatui temporarily

Once https://github.com/tui-rs-revival/ratatui/pull/114 has been merged, we can undo this! But otherwise we can't publish to crates.io with a git dependency.

Lmao

the nix build is so slow 😭


chore: Make PyStemmer optional

Pystemmer is a C library wrapper which enhances the speed of the tokenizer
I ran the following benchmark with and without it:
import time
from snowballstemmer import stemmer

s = stemmer('english')
text = "This stem form is often a word itself, but this is not always the case as this is not a requirement for text search systems, which are the intended field of use. We also aim to conflate words with the same meaning, rather than all words with a common linguistic root (so awe and awful don't have the same stem), and over-stemming is more problematic than under-stemming so we tend not to stem in cases that are hard to resolve. If you want to always reduce words to a root form and/or get a root form which is itself a word then Snowball's stemming algorithms likely aren't the right answer."
words = text.split()

loops = 1000
a = time.perf_counter()
for _ in range(loops):
    for word in words:
        stemmed = s.stemWord(word)
print(time.perf_counter() - a)

With pystemmer:
0.0221869999950286
Without pystemmer:
2.5555163340177387
The difference is noticeable, instead of dropping it, we can make it an optional dependency and allow to install it with pip install fastembed[pystemmer]
According to the users' reports, it crashes on windows during the installation, and not on the level of dependency resolution

@joein. Review please. Several people are running into this issue.

Hello, any update on this? Our team is running into issues with PyStemmer and we'd like the option for it to be optional as well.

Also would like to make this dependency optional,having issues with the building of PyStemmer.

Same issue here. WSL2. Python 3.12.5. Unable to install the package.

I've been installing version 0.2.7, which basically has the same dependencies as the newest version minus pystemmer. Then I install the new version with --no-deps, to avoid that package. It's been working fine, please remove that one requirement and make it an option!

Resolved with https://github.com/qdrant/fastembed/releases/tag/v0.4.1


Support Swift 4.0 and iOS11

#14
Swift 4.0 Support.
And fixes iOS11 layout bug.

@kazutoyo-picapp Many thanks for your support.


Install Protobuf/protoc?

Hello, I'm trying to use this python3.8 image as the LAMBDA_CONTAINER_REGISTRY for localstack-arm64. However my code relies on protobuf/protoc which is missing from your image, and my attempts to build on top of your image locally isn't working with localstack for some reason.
Wondering how hard it would be to cut an image with the following commands in the Dockerfile?
RUN yum -y install protobuf
RUN yum -y install protobuf-compiler
RUN yum -y install protobuf-devel
Thanks!

Hi,
I can't add any dependencies to base images as the main point of their existence is to be as close to the live Lambda runtime as possible. My best advice for you would be to use the build variant of the Python image and build protobuf from its source.
Cheers
M


semiology_dict_path broken

it seems the changes made from previous pull request and merged may have broken something?
can you check if you can set semiology_dict_path (so that it is not None) and see if it works?

this works:

semiology_term='dialeptic'
inspect_result = QUERY_SEMIOLOGY(df, semiology_term=semiology_term, ignore_case=True,
                                semiology_dict_path=None,
                                )

but this doesn't work:

semiology_term='dialeptic'
inspect_result = QUERY_SEMIOLOGY(df, semiology_term=semiology_term, ignore_case=True,
                                semiology_dict_path=semiology_dict_path,
                                )

gives this error which means it was unable to make this dictionary work:
QUERY SEMIOLOGY ERROR: This semiology was not found within the reported literature nor in the semiology categories

Why did you close this? Please close with a comment so that we all know what's going on.


Revert breaking change for HA integration

@raman325, while reviewing the HA integration today, I realized that I had previously introduced a breaking change soft of related to your MAX_FIELDS changes. Sorry about that.
Note that requesting Min, Max and Avg for hourly or smaller timesteps doesn't make a lot of sense since they will all have the same values. But that's necessary since a single call is being made to retrieve all forecast data. And it will probably cause MAX_FIELDS to be exceeded.

I don't think this actually breaks the integration because we aren't using _forecast in the update method, we are calling the API directly in realtime_and_all_forecasts. With that being said I think this can be cleaned up so that we aren't duplicating logic.


API: consider adding an empty Resource

The Resource spec states:

It is recommended, but not required, to provide a way to quickly create an empty resource.

Should we add a Resource::EMPTY constant? As with #25 it isn't clear if this has value, if Resource is only attached to a Tracer, and SpanData is removed.

If it has value, we should add it, otherwise we can save on memory overhead by omitting it.

It's probably going to be useful. https://github.com/open-telemetry/rfcs/pull/8 adds an optional resource parameter to span creation.

From the discussion on today's SIG call, I'm now leaning toward YAGNI. This part of the spec is still in flux, and it isn't clear that an empty Resource is useful.
Any objections to closing this issue?

Resources are moved from the API to the SDK as part of the OTEP to remove out-of-band reporting. So YAGNI.


Fix string resources

Fixes #1112

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@696f374). Click here to learn what that means.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             master   #1120   +/-   ##
========================================
  Coverage          ?   3.96%
========================================
  Files             ?     123
  Lines             ?    5527
  Branches          ?     523
========================================
  Hits              ?     219
  Misses            ?    5293
  Partials          ?      15

Continue to review full report at Codecov.

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

Both the checks have passed. Going ahead and merging it.


feat: auto-update shopware versions in build-docker-images.yaml

Please describe the feature you would like to see implemented.
As mentioned in https://github.com/FriendsOfShopware/platform-plugin-dev-docker/pull/13#issuecomment-1226112573 the process of adding new shopware versions could be automated.
I guess the easiest way would be to:

setup a scheduled GH-Action that:

fetches the latest release from github.com/shopware/platform
compares the minor versions against the matrix configuration
adds the minor version tag of the found release to the matrix configuration if there is a newer release
creates a pull request against master

All that should be possible with GH-Actions running JavaScript code and the GitHub API.
If you'd be willing to accept that (or a different suggested approach), I'd be willing to put time into this and figure that out.

Thank you for taking the initiative, that sounds like a good plan.
I once already started a similar thing, but never finished it, or published it. As I have very little time at the moment, I would be grateful if you work on it.
You probably already know that, but the tags can be obtained as you suggested via the Github API, e.g.
curl -X GET https://api.github.com/repos/shopware/platform/git/refs/tags -o shopware-tags.json

Another thing I was thinking about is that we do not really need to store the matrix, but could generate it dynamically using a job in the GH actions, as for example seen here: https://github.blog/changelog/2020-04-15-github-actions-new-workflow-features/#new-fromjson-method-in-expressions
echo "::set-output name=matrix::<encoded-matrix-json>"

Than we run these jobs regularly. The problem there might be that we would like to detect if we really need to rebuild the image or not (to not rebuild the image every night).
But feel free to choose whatever approach you prefer :-) if it works, I will merge it :-D


fix(store): lower number of placement groups

We were incorrectly configuring a large number of placement groups
for the Ceph storage pools, resulting in each store-daemon doing
more work than necessary.
This commit removes the logic to reconfigure the number of placement
groups for the default pools (since they are already larger than 64),
and lowers the default number of placement groups from 128 to 64,
resulting in 768 placement groups per daemon. We also reconfigure
the warning for number of placement groups per OSD to 800 so we
no longer warn in the typical case.
closes #3638

After this change:
root@deis-01:/# ceph -s
    cluster 82f06ec8-c094-499e-b1db-f4f9aab58daf
     health HEALTH_OK
     monmap e3: 3 mons at {deis-01=<IP_ADDRESS>:6789/0,deis-02=<IP_ADDRESS>:6789/0,deis-03=<IP_ADDRESS>:6789/0}
            election epoch 8, quorum 0,1,2 deis-01,deis-02,deis-03
     mdsmap e6: 1/1/1 up {0=deis-01=up:active}, 2 up:standby
     osdmap e21: 3 osds: 3 up, 3 in
      pgmap v29: 192 pgs, 9 pools, 5809 bytes data, 65 objects
            17180 MB used, 28124 MB / 47831 MB avail
                 192 active+clean
  client io 5733 B/s rd, 1842 B/s wr, 15 op/s
root@deis-01:/# ceph osd lspools
0 rbd,1 data,2 metadata,3 .rgw.root,4 .rgw.control,5 .rgw,6 .rgw.gc,7 .users.uid,8 .users,
root@deis-01:/# ceph osd dump
epoch 21
fsid 82f06ec8-c094-499e-b1db-f4f9aab58daf
created 2015-05-07 20:53:08.276818
modified 2015-05-07 20:54:19.301211
flags
pool 0 'rbd' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 64 pgp_num 64 last_change 1 flags hashpspool stripe_width 0
pool 1 'data' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 11 flags hashpspool crash_replay_interval 45 stripe_width 0
pool 2 'metadata' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 10 flags hashpspool stripe_width 0
pool 3 '.rgw.root' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 12 flags hashpspool stripe_width 0
pool 4 '.rgw.control' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 14 flags hashpspool stripe_width 0
pool 5 '.rgw' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 16 flags hashpspool stripe_width 0
pool 6 '.rgw.gc' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 17 flags hashpspool stripe_width 0
pool 7 '.users.uid' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 18 flags hashpspool stripe_width 0
pool 8 '.users' replicated size 3 min_size 1 crush_ruleset 0 object_hash rjenkins pg_num 16 pgp_num 16 last_change 20 flags hashpspool stripe_width 0
max_osd 3
osd.0 up   in  weight 1 up_from 7 up_thru 20 down_at 0 last_clean_interval [0,0) <IP_ADDRESS>:6800/1 <IP_ADDRESS>:6801/1 <IP_ADDRESS>:6802/1 <IP_ADDRESS>:6803/1 exists,up 2a7d881a-17ce-4526-ac67-58d9809112f7
osd.1 up   in  weight 1 up_from 5 up_thru 20 down_at 0 last_clean_interval [0,0) <IP_ADDRESS>:6800/1 <IP_ADDRESS>:6801/1 <IP_ADDRESS>:6802/1 <IP_ADDRESS>:6803/1 exists,up 47fe2c74-a882-49f5-bbd9-4ca491ed4804
osd.2 up   in  weight 1 up_from 5 up_thru 20 down_at 0 last_clean_interval [0,0) <IP_ADDRESS>:6800/1 <IP_ADDRESS>:6801/1 <IP_ADDRESS>:6802/1 <IP_ADDRESS>:6803/1 exists,up c69fdf07-9adf-4a9e-84cd-8e0eac3cc820

You had me at "1 addition and 41 deletions." Code LGTM.

code LGTM. Are there any other side-effects other than a shorter boot time with this change? Are there any trade-offs for having less than 200 PGs per daemon? Could this have also been the cause of why some user's gateway fails to come up?

There's still some discussion around the ideal number of placement groups. It seems others are confused by this as well: http://lists.ceph.com/pipermail/ceph-users-ceph.com/2015-May/001297.html
I may try a pg_num of 64 and then change the warning threshold. With the current implementation, 128 placement groups results in a replication time of 10 minutes when adding a new host to the cluster. It'll be interesting to see how this metric changes on similar hardware when tuning the pg_num.

Are there any other side-effects other than a shorter boot time with this change? Are there any trade-offs for having less than 200 PGs per daemon?

There's some information on PG calculations and tradeoffs here: http://ceph.com/docs/master/rados/operations/placement-groups/#placement-groups-tradeoffs - basically, the more the better, but that is bounded by CPU/memory constraints, and results in more work during replication.

Could this have also been the cause of why some users' gateway fails to come up?

From what I've seen, gateways failing to come up are resolved automatically with time. What seems to be happening is that the logic in the gateway to increase the number of placement groups for the default pools just takes some time (sometimes more than others). I've seen this complete by itself, and sometimes necessitating a daemon restart.

I may try a pg_num of 64 and then change the warning threshold.

I made this change based on the ongoing discussion in the Ceph mailing list. This halves the number of placement groups we have, reducing the workload on replication. Another fact supporting this change is that the initial pool to be created, rbd, has seemingly always defaulted to 64 placement groups, so it seems like a sane enough number.
Ready for re-review @deis-admin

code still LGTM

Changed the warning so we we don't warn on the old number of PGs.

Code LGTM.

Jenkins passed last run (previous was an unrelated "App not started" error). Merging...

:+1:
@carmstrong I'm missing something. Would we end up with the old number of PGs when upgrading an existing cluster?

Would we end up with the old number of PGs when upgrading an existing cluster?

Yes, so we suppress the warning for that number of placement groups. The smaller number takes effect on new clusters. There's no way to shrink the number of placement groups for a pool once the pool is initially created, so that's nothing we can do on upgrade.

Gotcha. Thanks


xcop GHA

Codecov Report
Patch and project coverage have no change.

Comparison is base (b0696af) 85.48% compared to head (1562342) 85.48%.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff            @@
##             master     #206   +/-   ##
=========================================
  Coverage     85.48%   85.48%
  Complexity       77       77
=========================================
  Files            38       38
  Lines           186      186
=========================================
  Hits            159      159
  Misses           27       27

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

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

@h1alexbel run xcop **/*.xml --fix, this should help, if not, you can add license to these xml files

@h1alexbel according to the GHA logs, you do not have an empty line in consumer.xml

@rultor merge

@rultor merge

@h1alexbel OK, I'll try to merge now. You can check the progress of the merge here

@rultor merge

@h1alexbel Done! FYI, the full log is here (took me 2min)


Start init from phusion/baseimage before anything else

Fixes https://github.com/jakirkham/docker_phusion_baseimage_drmaa_conda/issues/1.
Runs it in the ENTRYPOINT. This guarantees that it will run before anything else. All other entrypoint scripts can be passed as arguments.

Tested locally and it appears to work.


input focus color is not correct in form when nzValidateStatus changed

Reproduction link
https://stackblitz.com/edit/angular-xkmtxv
Steps to reproduce
focus input field
What is expected?
input focus color is matched with nzValidateStatus
What is actually happening?
the color is always same with @primary-color
focus 颜色未随着 nzValidateStatus 变化而变化

Environment
Info

ng-zorro-antd
12.0.1

Browser
chrome

This style issue should be fixed once #6967 is merged.


Fixing the outline

Closes #953

I have explored several options:

First I tried to implement it using a partialResult or workDone tokens (see here). But vscode does not seem to send such tokens alongside the textDocument/documentSymbol request... Even when the server declares supporting the capability... Maybe something needs to be done client side.
I also tried, after seeing this, to send back a ServerCancelled error code when the document is busy parsing. The client receives the request but never sends a second one...

I will investigate some more and I am opening this PR anyways since it opens up important features:

using custom error codes instead of always sending a RequestFailed one.
giving a document_state (right now only Parsing and Parsed but later Executing and Executed maybe ?)

Even though this doesn't fix the original problem I think I will merge anyways because it adds interesting functionality. @gares ?


Js remove rsync for repos

@thieman

PRAISE SARIN

Were you consciously choosing not to rip out the rsync installation stuff as part of this PR?


SB - Add Last Pipe ID and Msg ID to Routine Telemetry for Diagnosing Message Limit Error and Buffer Overrun Errors (GSFC DCR 22081)

Often the SB Message Limit Error and Buffer Overrun Error event messages are filtered. In order to help diagnose these SB issues it would be helpful to include the last Pipe ID and Message ID associated with these errors in routine telemetry.

Trac comment by abrown4 on 2016-08-22 14:26:27:
We've seen this during development and the default filtering hinders some of the "basic concepts" we were tackling with the outreach.  This might be a good step towards having these run-on events filtered, but be able to identify the culprit.

Imported from trac issue 98.  Created by sstrege on 2015-08-27T15:18:39, last modified: 2019-07-03T12:58:32

Trac comment by glimes on 2016-10-18 15:07:03:
Remove my name from many tickets (where it was applied by default), so others can tell that there are tickets that need some attention.

Trac comment by sstrege on 2016-08-31 12:27:25:
From 8/30/16 CCB: Should this information be in the telemetry packet or a new diagnostic packet?  Adding this to routine housekeeping telemetry may not be useful if several messages are being routed through the system.  It is unclear why the event messages cannot be used for troubleshooting?  More analysis is needed.  In the meantime missions can add this information on an as needed basis.

Trac comment by jhageman on 2019-07-03 12:58:32:
Moved unfinished 6.7.0 tickets to next release


What font is used in Docz image?

What font is this?

Found a really similar one on MyFonts. This one's called Hernández Niu Bold.

I really don't remember anymore the font I used 😕 and recently I've been stolen and my computer with all my fonts were lost, so will be hard to find which one was.

I really don't remember anymore the font I used confused and recently I've been stolen and my computer with all my fonts were lost, so will be hard to find which one was.

Really sorry to hear that. Thanks for your help.


luci-app-mwan3: Fix "ip" command path

Fixed an issue that mwan3 fails to detect connection because "ip"
command was relocated.
This issue has been reported in #1166 .
Signed-off-by: INAGAKI Hiroshi<EMAIL_ADDRESS>

@feckert
This sounds ok to me. "ip" binary can be located in several places depending on having busybox ip, ip-tiny of ip-full installed.

@musashino205 i did the same at the mwan3 packages https://github.com/openwrt/packages/pull/4353. So i think it is OK. Are there any additional commands? If so it could be fixed as well?
@hnyman If it fixes the issue i think we can merge it.

@feckert There seems to be no other problematic commands.
However, "mwan3" command is hard coded like "ip" command (controller/mwan3.lua#L131), should I fix it in the same way?

However, "mwan3" command is hard coded like "ip" command (controller/mwan3.lua#L131), should I fix it in the same way?

Does not sound necessary to fix as the luci app is written specifically for that main mwan3 app.  There shouldn't be similar conflict with multiple locations & variants of a binary/script as with "ip". "ip" is more general and there are multiple variants that install to different locations.
(but if the main mwan3 changes its installation location, then the luci app needs to be changed too. )

@hnyman I understand.Thanks for your help.


These instructions do not work on Windows 10 20h2

[Enter feedback here]

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

ID: 4c89b7b3-c05f-b517-6109-04e6a97195c3
Version Independent ID: 1e4b742e-d999-2c1e-a396-dc149f7ac76b
Content: OpenSSH key management for Windows
Content Source: WindowsServerDocs/administration/OpenSSH/OpenSSH_KeyManagement.md
Product: windows-server
Technology: administration
GitHub Login: @maertendMSFT
Microsoft Alias: damaerte

See the following issues on this list, intended to be resolved or updated by PR #4788 update OpenSSH key management

#2747 A better explanation can be found here (Open)
#3400 Can't install the "OpenSSHUtils" (Closed)
#3456 Misleading title/summary causing search confusion (Open)
#3806 OpenSSHUtils is deprecated (Open)
#3970 OpenSSH installation (Closed)
#4345 OpenSSHUtils Not Needed (Open)
#4518 Unable to configure OpenSSH for public key auth following docs (Open)
#4598 Instructions provided ends with an error (Open)
#4622 Out-of-date - OpenSSHUtils no longer available. (Open)
#4634 More documentation required (Open)
#4690 OpenSSHUtils install reference no longer valid (Open)
#4702 OpenSSHUtils got unlisted from the PowerShell gallery (Open)
#4743 Nope. First example errors out. (Open)
#4770 Error when following instructions to install OpenSSHUtils (Open)
#4787 OpenSSHUtils module does not exist (Open)

No need to worry. I know that this list of open tickets are not directly visible on the document page without clicking a link at the bottom of the page.

Thanks for submitting this issue. I have reworked this document to remove or replace parts that are no longer relevant or correct based on this and several other issues raised for this page.
The changes should be visible in around 6-12 hours.
#please-close


linked bevy bug is fixed

Note: In theory this should work by just creating 4 materials and replacing the handles in the squares, but there's a bug in Bevy that makes that not work.

Links to https://github.com/bevyengine/bevy/issues/858 which has been resolved via https://github.com/bevyengine/bevy/pull/877 (this comment confirms it).

Thanks for the tip! I've reworked the tutorial to show a new version that uses this.


Last comment winners

Last top level comment + Last comment overall maybe?
tabular?  bar graph to show repeat winners?

first comment and first reply as well?


⚠ ClamAV has degraded performance

In 9ea9625, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 245 ms

Resolved: ClamAV performance has improved in a1010ac.


How to watch livestream longer than 1 hour

Hi,
I embedded a live stream on YouTube into the Plyr Player and I noticed that when I watched an hour it would stop.
Demo: https://codepen.io/anon/pen/RBgYqN
How to watch is longer than 1 hour.
Thanks.

Haven't played it for an hour, but it's easy enough to see where it's headed by your codepen. For some reason it reports the duration as 6 hours, and currentTime starts at 5 hours. I'm guessing the ended-handling (setting the stopped state and showing the poster) kicks in once currentTime >= duration, causing this. Since duration doesn't apply to live streams this logic would have to be conditional cancelled out then.

So there is no other way for embedded livestream :(


Improve errors in cluster machines

This needs to be much improved and clean up:

Global retries have been removed (bb4e7d549d66e7bcbc31fe038e4ac27af4de0cfd); too complicated with no benefit given that we can now resume failed contests.


New descriptions empty when entered

Notice how the pre-loaded item and description is populated, but for the new item, it's missing?

that's the bug

resolved in PR that added fix to backend


vae.train crashes with no messages

Dear scArches team,
I'm very excited to give this latest version a whirl, especially with the .*vi and trvae integration. I'm running into a problem running the sample notebooks. Each time I get to the vae.train command, the kernel crashes and restarts. I've run this in a notebook and on a terminal. Both times, I get no warnings or error messages to help track the problem. The first line INFO     Training for 500 epochs prints and then the kernel crashes. I've double checked that I installed the appropriate versions of packages from your requirements file. Do you have any suggestions for how to track down the issue?
Thanks for your help!
Best,
Ilya

Never mind, this seemed to be a false alarm.


Update dataweave-variables.adoc

You have missed an ( in the sample Dataweave script. The updated Script is as below.
%dw 2.0
output application/json
var msg = "Hello"
var msg2 = (x = "ignore") -> "hello"
var toUpper = (aString) -> upper(aString)
var combined = (function, msg="universe") -> function(msg ++ " WORLD")
[
msg: msg,
msg2: msg2(),
toUpper: toUpper(msg),
combined: combined(toUpper, "hello"),
combined2: combined((((x) -> lower(x) ++ " Today")), msg)
]

Fixing via https://github.com/mulesoft/docs-mule-runtime/pull/68
Thanks for the heads up! Please sign our contributor agreement.


StdlibRef: Sequence.withContiguousStorageIfAvailable(_:) abstract needs a rewrite

Update source documentation comments for withContiguousStorageIfAvailable(_:) in Sequence and MutableCollection to improve style (single sentence summary) and include details from the original swift-evolution proposal.
Replaces #38891, which was obsoleted by #40027.

@swift-ci please smoke test

@swift-ci please smoke test

@swift-ci please smoke test


Add reusable embeds schemas with defparams

Implements reusable embeds using defparams, as asked in #15
Examples:
defparams puppy %{
    breed!:  :string,
    near_location!: {:embeds_one, LocationParams}
  }

  defparams dragon %{
    breed!:  :string,
    near_locations!: {:embeds_many, LocationParams}
  }

Let me know if you needs anything else, @vic :)
Gracias

Looks nice, @nirev! Do you think it's  worth it adding some example of embeds in README ?
If not, we could just merge this PR as it's now.
Thanks !

I'll add a couple :)

@nirev I'll merge this. but feel free to send another PR with docs.
Thank you :)


JS: Import as module

I see that your Leaflet/OpenLayers examples load the built source in the script tag, from the /dist/ folder
<EMAIL_ADDRESS><EMAIL_ADDRESS>
However, there's currently no exported object from the module. So if I try to require the package, I get an error:
require('flatgeobuf')
// Error: Cannot find module 'flatgeobuf'

This means that it's not possible now (I think) to use it with a bundler, like Webpack or Browserify.
It would be helpful to export some objects, to be able to do one of
const flatgeobuf = require('flatgeobuf');
import flatgeobuf from "flatgeobuf";

flatgeobuf.deserialize(buffer)

That's strange, the dist bundles should be UMD modules as created by Rollup with config at https://github.com/bjornharrtell/flatgeobuf/blob/master/config/rollup.config.js and as such should export flatgeobuf as a module. That said, I've only used them without require.
Regardless it might be preferable to use the unbundled source if you want to use a bundler, it's in the lib folder of the npm package (fx. https://unpkg.com/browse/flatgeobuf@3.1.0/lib/ol.js).
Let me know how it goes and if problems remain please provide a more full example. I'll be glad to improve things but not sure yet what should be done.

I looked into it a little more; the issue is that your package.json is missing the main field, so require/import doesn't know what to load.
Adding
  "main": "./dist/flatgeobuf-geojson.min.js",

to the package.json successfully loads that script on require.
But still, you have the issue of what file to set as the main script. Since you have the flatgeobuf-geojson and flatgeobuf-ol separated out; currently you'd have to choose one or the other to set as the main script. I think personally I'd suggest having a higher-level index.ts file to define the package exports, so that a user could access flatgeobuf.geojson/flatgeobuf.ol. I think that because of tree shaking, there's no bundle size penalty when a user uses part of the package.

I see. I've always found the spec and use of https://docs.npmjs.com/files/package.json#main very unclear and error prone with different bundlers etc. What happens if you try require('flatgeobuf/lib/ol.js')?

When run from node (using esm to allow the embedded import), it fails:
> node -r esm
> require('flatgeobuf/lib/ol')
Thrown:
/Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol/feature.js:1
Error: Cannot find module 'ol/Feature'
Require stack:
- /Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol/feature.js
- /Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol/featurecollection.js
- /Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol.js
- <repl>
    at Object.<anonymous> (/Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol/feature.js:1) {
  code: 'MODULE_NOT_FOUND',
  requireStack: [
    '/Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol/feature.js',
    '/Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol/featurecollection.js',
    '/Users/kyle/tmp/flatgeobuf2/node_modules/flatgeobuf/lib/ol.js',
    '<repl>'
  ]
}

Though
require('flatgeobuf/dist/flatgeobuf-geojson.min')

does work. I didn't realize you could set the paths like that.
But I don't think it's possible to use the built source to access the flat array internals, e.g. geometry.xyArray(), since it only exports the GeoJSON methods?

The first issue is because it cannot find OpenLayers modules. And of course that module is really only intended for use with OpenLayers.
The dist builds will hide internals yes.
You could try importing require('flatgeobuf/lib/generic/featurecollection.js') and use functions deserialize and/or deserializeStream which both expect you to supply a function fromFeature which acts as a callback for each feature where the feature object is the raw flatbuffers interface so you can access the flat array directly.

The first issue is because it cannot find OpenLayers modules.

Duh, sorry, it's been a long day.

You could try importing require('flatgeobuf/lib/generic/featurecollection.js') and use functions deserialize and/or deserializeStream which both expect you to supply a function fromFeature which acts as a callback for each feature where the feature object is the raw flatbuffers interface so you can access the flat array directly

Thanks, that's really helpful.

For the record, from my point of view it's standard for packages to have a main export, so that require('flatgeobuf') or import ... from 'flatgeobuf' doesn't fail.
Otherwise I'd suggest some documentation, so that the next person doesn't try require('flatgeobuf'), get confused, and make a new issue

Agreed, reopened as I would like to fix this at some point. :)

I also want to provide some guidance on whether to choose geojson, ol or generic modules.

As of 3.1.4 I have a single entry point module as main at https://github.com/bjornharrtell/flatgeobuf/blob/88f662c60321916edba8d1665a402b8b6251204f/package.json#L15 but I've not done any extensive testing. I tried to make some sensible docs using typedoc but I'm not satisfied yet<EMAIL_ADDRESS>contains alof of internals, but<EMAIL_ADDRESS>shows the main entry point)

I confirm it is not working for me as well.
import { geojson } from 'flatgeobuf';
import fs from "fs";
import path from "path";
import { fileURLToPath } from "url";

const __filename = fileURLToPath(import.meta.url);
const __dirname = path.dirname(__filename);

const buffer = fs.readFileSync(path.join(__dirname, '../data/geo/states.json'))
const fileContent = JSON.parse(buffer.toString());

const flatgeobuf = geojson.serialize(fileContent)
console.log(`Serialized input GeoJson into FlatGeobuf (${flatgeobuf.length} bytes)`)

So I'm having:

internal/process/esm_loader.js:74
internalBinding('errors').triggerUncaughtException(
^
Error [ERR_MODULE_NOT_FOUND]: Cannot find package 'ol' imported from /home/ubu/Documents/classified-ads/node_modules/flatgeobuf/lib/mjs/ol/feature.js

@bacloud22 yes ol is a peer dependency (https://github.com/flatgeobuf/flatgeobuf/blob/master/package.json#L63) but only for the ol sub modules. I suppose the node module loader isn't smart enough to figure out that it is not needed if you only use the geojson module. For now I would suggest you import serialize and or deserialize from the geojson module directly from flatgeobuf/lib/mjs/geojson.js instead.

It works great ! thanks