SSL Error when request the https site: requests.exceptions.SSLError('SSL routines', 'ssl3_get_record', 'wrong version number')

Summary.
When I request the HTTPS site with proxy, raise SSL Error sometimes.
Yes it's sometimes throwing error. For example I  reqeust 50 times, 30 times of that will raise SSL Error.
I also tried remove pyopenssl lib and  it raise other Error too.
And it must be explained that I have a proxy pool,  it will get new proxy ip to request each 10s.
Expected Result
Request https site normaly and return normal response.
Actual Result
Env1: Raise Exception (I already installed pyopenssl).
Traceback (most recent call last):
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 441, in wrap_socket
    cnx.do_handshake()
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/OpenSSL/SSL.py", line 1806, in do_handshake
    self._raise_ssl_error(self._ssl, result)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/OpenSSL/SSL.py", line 1546, in _raise_ssl_error
    _raise_current_error()
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
    raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_get_record', 'wrong version number')]

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connectionpool.py", line 595, in urlopen
    self._prepare_proxy(conn)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connectionpool.py", line 816, in _prepare_proxy
    conn.connect()
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connection.py", line 326, in connect
    ssl_context=context)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/contrib/pyopenssl.py", line 448, in wrap_socket
    raise ssl.SSLError('bad handshake: %r' % e)
ssl.SSLError: ("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')],)",)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sp0.baidu.com', port=443): Max retries exceeded with url: xxxxxx (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')],)",),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test_run.py", line 68, in <module>
    timeout=6)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/adapters.py", line 506, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='sp0.baidu.com', port=443): Max retries exceeded with url: xxxxxx  (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_record', 'wrong version number')],)",),))

Env2: Raise Exception after removed pyopenssl.
Traceback (most recent call last):
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connectionpool.py", line 595, in urlopen
    self._prepare_proxy(conn)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connectionpool.py", line 816, in _prepare_proxy
    conn.connect()
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connection.py", line 326, in connect
    ssl_context=context)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/util/ssl_.py", line 329, in ssl_wrap_socket
    return context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/lib/python3.5/ssl.py", line 377, in wrap_socket
    _context=self)
  File "/usr/lib/python3.5/ssl.py", line 752, in __init__
    self.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 988, in do_handshake
    self._sslobj.do_handshake()
  File "/usr/lib/python3.5/ssl.py", line 633, in do_handshake
    self._sslobj.do_handshake()
ssl.SSLError: [SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:645)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/adapters.py", line 440, in send
    timeout=timeout
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/connectionpool.py", line 639, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/urllib3/util/retry.py", line 388, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sp0.baidu.com', port=443): Max retries exceeded with url: xxxxxx (Caused by SSLError(SSLError(1, '[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:645)'),))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "test_run.py", line 67, in <module>
    response = requests.get(url=url, headers=headers, params=params, proxies={"https": get_proxy(CONN_REDIS)}, timeout=6)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/api.py", line 72, in get
    return request('get', url, params=params, **kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/api.py", line 58, in request
    return session.request(method=method, url=url, **kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/sessions.py", line 508, in request
    resp = self.send(prep, **send_kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/sessions.py", line 618, in send
    r = adapter.send(request, **kwargs)
  File "/root/.virtualenvs/spider/lib/python3.5/site-packages/requests/adapters.py", line 506, in send
    raise SSLError(e, request=request)
requests.exceptions.SSLError: HTTPSConnectionPool(host='sp0.baidu.com', port=443): Max retries exceeded with url: xxxxxx (Caused by SSLError(SSLError(1, '[SSL: UNKNOWN_PROTOCOL] unknown protocol (_ssl.c:645)'),))

Reproduction Steps
import requests
response = requests.get(url=url, headers=headers, params=params,
                        proxies={"https": get_proxy(CONN_REDIS)}, timeout=6)

System Information
System Version: ubuntu 16.04.4
Python Version: Python 3.5.2

$ python -m requests.help

{
  "chardet": {
    "version": "3.0.4"
  },
  "cryptography": {
    "version": "2.1.4"
  },
  "idna": {
    "version": "2.6"
  },
  "implementation": {
    "name": "CPython",
    "version": "3.5.2"
  },
  "platform": {
    "release": "4.4.0-62-generic",
    "system": "Linux"
  },
  "pyOpenSSL": {
    "openssl_version": "1010007f",
    "version": "17.5.0"
  },
  "requests": {
    "version": "2.18.4"
  },
  "system_ssl": {
    "version": "1000207f"
  },
  "urllib3": {
    "version": "1.22"
  },
  "using_pyopenssl": true
}

According to the traceback, i just found this excepiton happend on the first handshake when run _prepare_proxy().
urllib3 1.22 source code is:
~/.virtualenv/virname/lib/python3.5/site-packages/urllib3/connectionpool.py 800~816
    def _prepare_proxy(self, conn):
        """
        Establish tunnel connection early, because otherwise httplib
        would improperly set Host: header to proxy's IP:port.
        """
        # Python 2.7+
        try:
            set_tunnel = conn.set_tunnel
        except AttributeError:  # Platform-specific: Python 2.6
            set_tunnel = conn._set_tunnel

        if sys.version_info <= (2, 6, 4) and not self.proxy_headers:  # Python 2.6.4 and older
            set_tunnel(self._proxy_host, self.port)
        else:
            set_tunnel(self._proxy_host, self.port, self.proxy_headers)

        conn.connect()

So I suspect it is proxy issue when  run _prepare_proxy(), but why it got successful respnose sometimes?
Thanks all!

Hi there @nickliqian
Sorry for the delayed response. I think we lost track of this issue. In general, this is what we would call an ask for help, as there doesn't appear to be a defect in Requests. Instead, it seems like the TLS version that the proxies are sending in the handshake, sometimes, is not acceptable, supported, or just plain valid for your version of openssl. That's really it. In the future, questions are to be asked on StackOverflow as this issue tracker is not a Q&A forum but a defect tracker.
Cheers,
Ian

@sigmavirus24 Get it, thanks your feedback! In the future I will ask on StackOverflow.


 Perhaps if @cznic sees an easy way to perform this parsing using yacc then we can do it in this package. At least this package still produces a parsed result rather than a syntax error.

@corywalker
I'm fine with anything you consider a correct solution. I may become more actionable next week, feel free to push a fix if you have one, thanks.

This might be best solved in interp.go in the expreduce package, instead of this parser.

@corywalker Has the fix as suggested above been implemented and can this issue be closed?


(Bug) default mining speed for cobblestone with shuclk origin

the shulker origin does not mine cobblestone at the same speed as other stone types.

I don't know if it's a bug or not but it happens to me too

This happens because "cobblestone" (including: mossy cobble, granite, diorite, andersite) Isn't "Natural stone". This can be fixed by downloading the 'extra origins' which includeds: Dwarf. which updates "Natural Stone" to cobble and such.


GTT-1594: Make table pagination responsive base on sizing

Description
Make table pagination responsive base on sizing.
Testing
Updated unit tests. You can test it here: https://migdizn.badger.wwps.aws.dev/admin/dashboards

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

If we're removing scroll top from all the instances. Should the ScrollTop.tsx component be removed as well? Or, are we keeping it in case we'll use it again in the future?

Yes, this component can be used again in the future in other parts of the app.


Slow /api/product/{productId}/options request

PHP Version
8.0
Shopware Version
<IP_ADDRESS>
Expected behaviour
The variant options request is very slow.
Currently we have 78396 database entries in product_option table.
If we query /api/product/{productId} endpoint, we have fast response time

But in we query only the /options, request takes more than 3 Minutes

We tested the request on multiple projects with the same result.
Actual behaviour
Subrequest for the variant options is slow.
How to reproduce
1.) Create many variants, we have 78396 options in the table
2.) Query variant -> fast response
3.) Query only options -> very slow response

Hello,
Within our company roadmap and work capacity, we try to address each bug or improvement request but admit that not each one will be resolved. To continue our culture of honesty and openness, we are closing this issue to focus on our roadmap on behalf of all Shopware users.
If you feel like this issue is still impacting you, please create a new issue and let us know.
Thank you again for your valuable feedback.


Addon Elasticsearch-operator

Fixes https://github.com/kubevela/kubevela/issues/5055
Description of your changes

How has this code been tested?

Checklist

I have:

[x] Title of the PR starts with type (e.g. [Addon] , [example] or [Doc]).
[x] Updated/Added any relevant documentation and examples.
[x] New addon should be put in experimental.
[x] Update addon should modify the version in metadata.yaml to generate a new version.

Verified Addon promotion rules
If this pr wants to promote an experimental addon to verified, you must check whether meet these conditions too:

[x] This addon must be tested by addon's e2e-test to guarantee this addon can be enabled successfully.
This addon must have some basic but necessary information.

[x] An accessible icon url and source url defined in addon's metadata.yaml.
[x] A detail introduction include a basic example about how to use and what's the benefit of this addon in README.md.
[x] Also provide an introduction in KubeVela documentation.
[x] It's more likely to be accepted if useful examples provided in example dir.

@wangyikewxgm @wonderflow This addon is done, Please review it.

BTW, can we use different ways except port-forward? Such as nodeport/ingress/slb.

@wonderflow, The CRD was outdated that I was installing before, these're current version's CRDs.

@wonderflow Off-course we can use diffrent ways than port-forward, but fot that I'll have to create addtional services as all the services that're by default created of type ClusterIP.

@wonderflow Off-course we can use diffrent ways than port-forward, but fot that I'll have to create addtional services as all the services that're by default created of type ClusterIP.

We should provide some ways for it in Application yaml examples, we can add some traits like expose/gateway. Users need to learn how this can work in their real world case. No one can use port-forward for develop or production environment long except demo.

@wonderflow I've created some custom traits to expose nodeport services. Please review that :)


[Question] print JSON information much slower than youtube-dl

hi,
I just want to get the video information, I execute the following command, it spent 12s
yt-dlp -J https://music.youtube.com/watch?v=ShYLgpfW7aU&feature=share
But when I execute the same command with Youtube-dl, it only takes 5s
youtube-dl -J https://music.youtube.com/watch?v=ShYLgpfW7aU&feature=share
How can I do? Looking forward to your reply，thanks

DO NOT SKIP THE TEMPLATE!
Run without -J and with verbose logging (-v) to see why it is taking much longer. It could be because it is sending more requests as you are using a music.youtube.com URL. It could be because it is checking formats (--no-check-formats can stop this). Etc.

Probably due to it downloading extra player data for multiple clients. This is expected and yt-dlp does this for many reasons.
[youtube] TXuqBU9PgGE: Downloading webpage
[youtube] TXuqBU9PgGE: Downloading android player API JSON
[youtube] TXuqBU9PgGE: Downloading android music player API JSON
[youtube] TXuqBU9PgGE: Downloading web_music config
[youtube] TXuqBU9PgGE: Downloading web music player API JSON

Passing a music.youtube.com URL triggers the download of the music client data & configs -  this adds 3 requests by default. Unless you have a reason for passing such URL, I suggest just passing the normal www.youtube.com one.

By default we also download player data using the android client  - this is the workaround for the throttling.

If you really need to, you can tweak what clients are used (and skip webpages & configs) to fit your specific needs using extractor args: https://github.com/yt-dlp/yt-dlp#extractor-arguments. Note we don't officially support doing this, since there are issues with some setups. So you'll have to test things work for your use case yourself (missing metadata, throttling, need of fallbacks, etc.).


Wrong bracket highlighting with Regular Expressions

Description
Atom is messing closing brackets when regular expressions are parsed
Steps to Reproduce

Create a new JavaScript file.
Paste the code above

function foo(toTest){
  return new RegExp(/^[^{]+\{\s*\[bar \w/).test(toTest);
}

Versions
atom 1.5.3
apm  1.6.0
npm  2.13.3
node 0.10.40
python 2.7.10
git 2.5.4

This is a duplicate of atom/bracket-matcher#78 - feel free to subscribe there for updates.


Recent update to all pip packages broke nvim-ipy

Thanks for the previous fix.
However, I unfortunately seemed to have broken nvim-ipy after updating all my global packages.
The error starts when I first start IPython:
error caught while executing async callback:
AttributeError("'NoneType' object has no attribute 'ioloop'",)
Traceback (most recent call last):
  File "/Users/andrewlee/.cache/vimfiles/repos/github.com/bfredl/nvim-ipy/rplugin/python3/nvim_ipy/__init__.py", line 227, in connect
    self.ip_app.initialize(Async(self), argv)
  File "/Users/andrewlee/.cache/vimfiles/repos/github.com/bfredl/nvim-ipy/rplugin/python3/nvim_ipy/__init__.py", line 74, in initialize
    JupyterConsoleApp.initialize(self, argv)
  File "/usr/local/lib/python3.6/site-packages/jupyter_client/consoleapp.py", line 335, in initialize
    self.init_kernel_client()
  File "/Users/andrewlee/.cache/vimfiles/repos/github.com/bfredl/nvim-ipy/rplugin/python3/nvim_ipy/__init__.py", line 65, in init_kernel_client
    self.kernel_client.shell_channel.call_handlers = self.target.on_shell_msg
  File "/usr/local/lib/python3.6/site-packages/jupyter_client/client.py", line 143, in shell_channel
    socket, self.session, self.ioloop
  File "/usr/local/lib/python3.6/site-packages/jupyter_client/threaded.py", line 229, in ioloop
    return self.ioloop_thread.ioloop
AttributeError: 'NoneType' object has no attribute 'ioloop'

the call was requested at
  File "/usr/local/lib/python3.6/site-packages/neovim/api/nvim.py", line 168, in filter_request_cb
    result = request_cb(name, args)
  File "/usr/local/lib/python3.6/site-packages/neovim/plugin/host.py", line 91, in _on_request
    rv = handler(*args)
  File "/usr/local/lib/python3.6/site-packages/neovim/plugin/host.py", line 69, in _wrap_function
    return fn(*args)
  File "/Users/andrewlee/.cache/vimfiles/repos/github.com/bfredl/nvim-ipy/rplugin/python3/nvim_ipy/__init__.py", line 299, in ipy_connect
    Async(self).connect(args)

It's likely a change to jupyter_client package (I never figured a distinction between external and internal API, I just used what I needed), I will need to investigate.

What version of jupyter is stable to use?

I am currently using jupyter version 1.0.0
pip3 show jupyter
Name: jupyter
Version: 1.0.0
Summary: Jupyter metapackage. Install all the Jupyter components in one go.
Home-page: http://jupyter.org
Author: Jupyter Development Team
Author-email<EMAIL_ADDRESS>License: BSD
Location: /usr/local/lib/python3.6/site-packages
Requires: ipykernel, notebook, jupyter-console, qtconsole, ipywidgets, nbconvert

Also, it doesn't look like Jupyter has been updated in a really long time.

Actually, my guess is that the error is in IPython which is caused by a change in the way tornado handles async.
Still can't figure out why I'm getting an error tho.

"jupyter 1.0.0" is a metapackage, the relevant package as I mentioned is jupyter_client. Not sure if tornado is involved, the client is iirc an API around pyzmq.

After downgrading jupyter_client to 5.2.0 the issue goes away.
$ pip show jupyter_client
Name: jupyter-client
Version: 5.2.0
Summary: Jupyter protocol implementation and client libraries
Home-page: https://jupyter.org
Author: Jupyter Development Team
Author-email<EMAIL_ADDRESS>License: BSD
Location: /home/sysmanj/.pyenv/versions/3.6.4/envs/neovim3/lib/python3.6/site-packages
Requires: traitlets, jupyter-core, python-dateutil, pyzmq, pytest

Don't know, why current issue was closed tho.


Increase transition duration when transition is used with overlay

Dialog overlay doesn't stop touch events from firing other elements like it does with click events. It seems like increasing the duration for the transitions can prevent the touch events to fire events behind the overlay. This PR increases the duration from 150to 350 in all instances where an overlay has a transition. This fixes the issue on iPad Air and iPhone 15 in xCode simulator. It's only tested in simulator, though, if a real touch event lasts longer it might need to be increased. Not tested on Android devices.
LInked to issue: https://github.com/melt-ui/melt-ui/issues/468

I believe this doesn't change anything for Android devices. Can test right now, but from what I recall the duration doesn't really matter. :(

I believe this doesn't change anything for Android devices. Can test right now, but from what I recall the duration doesn't really matter. :(

You're right. Got it to work in Android Studio Emulator but duration didn't have any effect. Haven't found any solutions besides inserting an extra element :/


Innr Smart Plug Wrong Energy Meter

Please see the screenshot. It seems the power consumption (both in the Power history graph and the Energy meter section) is off by a factor or 100. If the instant power consumption is 2W, it makes no sense how it can use over 1KWh in one hour.
I saw a similar issue reported to other ZigBee platforms where they could update the code to add a divisor of 100.

Just saw this is the same as #1682 but for a different OEM product


Session load error

I am using Eloquent ver.2.6.3 in my macbook.
Recently I didn't do anything, but I got "Session load error".
Please help me how can I exit from this?

When I click this error message, open new workspace then try to open default Bible...
But it makes waiting icons...

Do I have to uninstall & install this app again?
Or do I have to try to update?

You could try trashing the file 'DefaultSession.mssess' in '~/Library/Application Support/Eloquent'.

Thank you so much!
I deleted that 'DefaultSession.mssess' file, then no more error message window.
But still I am stuck just after click 'open default Bible'...
Would you help me once more?
Thanks!

Hmm. Hard to say. The default bible is "NKRV"?
What happens when you open that bible or another bible through the left side-bar?
What is set as default bible in preferences?

Yes, my default Bible is "NKRV" - New Kor. Rev. Ver.
All the modules what I had is as following.

Only Dari module is OK to open, trying any other modules make me stuck...
Ah... one more thing...
In preference, program is suddenly shut down when I choose "Module Font" tab.
I can send you whole message of "Problem Report for Eloquent" in this incident, if it helps.

Thanks again...

OK. It's weird that all of a sudden modules can't load anymore.
You can also try to trash (or move to another place) the preferences file in ~/Library/Preferences.
I believe it's called "org.crosswire.Eloquent.plist."

When I delete "org.crosswire.Eloquent.plist" file, then message tolds I have to download all modules again.
But I have very low internet speed. Nothing response yet.
Is there any other options to try? Thanks!!!

Save your modules to someplace. They are located in ~/Library/Application Support/Sword.
Then trash preferences.
After a first start with fresh preferences stop Eloquent and put back your modules.
See if that works.

Thank you so much!
I will try tomorrow.
No electric now in here.
My laptop battery out.

Did it work?

Closing because unable to reproduce


upgrade cloudant library to cloudant-java-sdk #21

Signed-off-by: hcemk<EMAIL_ADDRESS>Contributes to # (21)
What did you do? upgraded Cloudant library to cloudant-java-sdk
Why did you do it? Because the java-cloudant library is deprecated
How have you tested it? using swagger-ui
Were docs updated if needed?

[ x] No
[ ] Yes
[ ] N/A

Type of change

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

Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] My changes generate no new console logs
[ ] Fixes entire issue
[ ] Partial fix for issue

@hcemk good work. I see some conflicts with the main branch. Are you able to resolve the conflicts before we can review and merge? Thank you.
FYI @demilolu

@hcemk good work. I see some conflicts with the main branch. Are you able to resolve the conflicts before we can review and merge? Thank you.
FYI @demilolu

Hi @upkarlidder I will resolve the conflicts. I just realized the unit tests were build around the old database client, so it might take sometime to resolve and test, but I will try to get that done by mid-week

@upkarlidder I resolved the conflicts but there are issues with the upstream code:

mvn verify is failing. Some test cases expect the server to be running on local host:

Tests run: 5, Failures: 0, Errors: 5, Skipped: 0, Time elapsed: 0.393 sec <<< FAILURE! - in it.CaseIT
getCaseByAttorney_getsCaseByAttorneyAndId(it.CaseIT)  Time elapsed: 0.249 sec  <<< ERROR!
java.lang.RuntimeException: Server returned HTTP response code: 500 for URL: http://localhost:9080/v1/attorney
Resource class io.swagger.api.AttorneyApi can not be instantiated due to InvocationTargetException
at it.AggregatorConnection.handleException(AggregatorConnection.java:64)
at it.AggregatorConnection.doRequest(AggregatorConnection.java:55)
at it.AggregatorConnection.doPost(AggregatorConnection.java:23)
at it.TestAttorney$Builder.create(TestAttorney.java:112)
at it.CaseIT.addAttorney(CaseIT.java:113)

I used this link for guide into updating the Cloudant library:
https://github.com/cloudant/java-cloudant/blob/master/MIGRATION.md
There are a lot of nested calls and each transaction uses a different class to setup parameters.
To fix the merge conflict from the test class, I tried using RETURNS_DEEP_STUBS to avoid mocking inner classes but that did not work, so I ended up mocking all those inner classes.

The library is still at version 0.0.36. Is this fully production ready ?

@yochanah can you take a look and provide your insight:
https://github.com/Call-for-Code-for-Racial-Justice/Open-Sentencing-Aggregator/pull/54#issuecomment-1081202859

ok sure


Install and Set Up kubectl on Windows - del command update

When following the instructions, I received the following error message when trying to run this command:
del kubectl-convert.exe kubectl-convert.exe.sha256

Text:
Remove-Item : A positional parameter cannot be found that accepts argument 'kubectl-convert.exe.sha256'.
At line:1 char:1
+ del kubectl-convert.exe kubectl-convert.exe.sha256
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : InvalidArgument: (:) [Remove-Item], ParameterBindingException
    + FullyQualifiedErrorId : PositionalParameterNotFound,Microsoft.PowerShell.Commands.RemoveItemCommand

However running the following commands worked:
del kubectl-convert.exe
del kubectl-convert.exe.sha256

I recommend updating the page.

Page mentioned in the issue (based on the current title): https://kubernetes.io/docs/tasks/tools/install-kubectl-windows/
/language en

Looks like a bug to me.
/kind bug

I've created a PR to address this minor documentation fix:
https://github.com/kubernetes/website/pull/45469

/triage accepted

I think this issue has been resolved by this PR #45469 and hence we can close this issue

/close


Return user with each expense

Necessary to show the user PayPal email to the frontend (if logged in as a user that can edit the current group)

Coverage increased (+0.02%) to 81.224% when pulling 680bef612f544a1c9c9bc5ea71885baa568cdb4e on canEditGroup into 1154c38987ed662ee06f4b754d52163f302001a5 on master.


chore(pubspec): Widen the analyzer constraint

Allow use of package:analyzer <0.25.0. Analyzer earlier than 0.24.0 has
issues with parsing async and await, this allows the use of
Observable with code that needs process such code with analyzer.

Changed 0.13.1 > 0.13.0+1 per offline discussion.
Thanks!

lgtm


Wait longer before sending the drop update

When importing this PR, we are seeing a bunch of failures where the first batch of RPC's have higher than expected drop rate. The reason is that the update (with higher drop rate) is received before we are done with the first batch of RPC's.
A temporary workaround is to simply delay the update. But we should solve this in a cleaner way by making the EDS update better controlled.

cc @a11r


how to insert pictures in batches

addImages = (srcs, height, width, alt) => {
var self = this;
[].forEach.call(srcs,function (src, index) {
self.addImage(src, height, width, alt);
})
};
addImage = (src, height, width, alt) => {
    const {editorState, onChange, config} = this.props;
    const entityData = {src, height, width};
    if (config.alt.present) {
        entityData.alt = alt;
    }
    const entityKey = editorState
        .getCurrentContent()
        .createEntity('IMAGE', 'MUTABLE', entityData)
        .getLastCreatedEntityKey();

    const newEditorState = AtomicBlockUtils.insertAtomicBlock(
        editorState,
        entityKey,
        ' ',
    );
    onChange(newEditorState);
    this.doCollapse();
};

addImages(...)
just insert first image of srcs.

Hmm - it makes sense to me that this doesn't work. My hunch is you need to wait to call onChange(newEditorState); until after all the images are inserted. Something like this could work:
// Adds all images and then triggers re-render with updated editorState
addImagesAndUpdate = (srcs, height, width, alt) => {
  var self = this;
  [].forEach.call(srcs,function (src, index) {
    self.addImage(src, height, width, alt);
  })
  onChange(newEditorState);
  this.doCollapse();
};

// Adds *one image* and then triggers re-render with updated editorState
addImageAndUpdate = (srcs, height, width, alt) => {
  var self = this;
  self.addImage(src, height, width, alt);
  onChange(newEditorState);
  this.doCollapse();
};

_addImage = (src, height, width, alt) => {
    const {editorState, onChange, config} = this.props;
    const entityData = {src, height, width};
    if (config.alt.present) {
        entityData.alt = alt;
    }
    const entityKey = editorState
        .getCurrentContent()
        .createEntity('IMAGE', 'MUTABLE', entityData)
        .getLastCreatedEntityKey();

    const newEditorState = AtomicBlockUtils.insertAtomicBlock(
        editorState,
        entityKey,
        ' ',
    );
};

I think it still needs polishing - let me see if I can come up with a working jsfiddle for you.

This is a working example:
https://jsfiddle.net/ut0q7x3n/1/
Hopefully that clears things up!


A crash report has been written to /Users/my user nameAndroidStudioProjects/flutter_apptest/flutter_01.log.

Oops; flutter has exited unexpectedly: "Invalid argument(s): Cannot find executable for /Users/my user name/Developer/flutter/bin/cache/artifacts/engine/android-arm64-release/darwin-x64/gen_snapshot.".

@Hasan723
please provide your flutter doctor -v and your flutter run -v

Hi @Hasan723
Can you please find the flutter_01.log and paste it here
Also please provide your flutter doctor -v and flutter run --verbose logs, and a minimal complete reproducible code sample?
Thank you

Without additional information, we are unfortunately not sure how to resolve this issue.
We are therefore reluctantly going to close this bug for now.
Please don't hesitate to comment on the bug if you have any more information for us; we will reopen it right away!
Thanks for your contribution.
Could everyone who still has this problem please file a new issue with the exact description of what happens, logs, and the output of flutter doctor -v.
All system setups can be slightly different, so it's always better to open new issues and reference related issues.


FIX: Add font display swap for optimization

According to google Lighthouse, you should ensure text remains visible during webfont load (.woff).
More info in here.

Can you please merge #4244.

@ahmadalfy this one looks good to me

The default chars are in the spec since 1993
Dot: https://unicodeplus.com/U+2022
Left: https://unicodeplus.com/U+2190
Right: https://unicodeplus.com/U+2192
Are there other chars than these 3?

No, it's only three characters. I stand corrected, this will be a great addition.


Download links seem broken

Could someone pelase  provide a well formed library folder for manual installation and use in the Processing IDE?
I have downloaded this repo but I lack the skills to produce a working installation on my sketchbook/libraries environment.

Well, I found this on the Internet Archive wayback machine: https://web.archive.org/web/20161126072647/http://wordcram.org/wordcram.1.0.0.zip


When can we implement Styled Component?

https://github.com/styled-components/styled-components

ref https://github.com/styled-components/styled-components

like an option for scss or styled-component to be default style engine for the generated project?

I don't know what you mean to get for certain. But from what I see is that you want to use some solution for styling? solutions like styled-components, glamor, jss and glamorous are just one npm install or yarn add away.
In the case of scss or any other it is a little more complex because it will force us to use one of many sollutions, which can be added by overwriting the .storybook/wepack.config.js file.

Gotcha thanks for the answer
On Aug 20, 2017 3:53 PM, "Jaco Bovenschen"<EMAIL_ADDRESS>wrote:

I don't know what you mean to get for certain. But from what I see is that
you want to use some solution for styling? solutions like
styled-components, glamor, jss and glamorous are just one npm install or yarn
add away.
In the case of scss or any other it is a little more complex because it
will force us to use one of many sollutions, which can be added by
overwriting the .storybook/wepack.config.js file.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/storybooks/react-cdk/issues/32#issuecomment-323607782,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AEAc4tUiV-tYUSgDezxv3mTVRuUC4-tuks5saI6ygaJpZM4O5Q3C
.


Trigger staging CLI release for v0.18.6

Trigger staging CLI release pipeline for EKS-A release v0.18.6.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/hold

/lgtm

/unhold


Custom loss in MIM in TF2

Added softmax cross-entropy loss as in the original paper.

This pull request is raised to address the issue in #1191.

Thanks a lot for PR.
Can you format the code using Black?

Thanks a lot for PR.
Can you format the code using Black?

No problem. I was having some issues formatting the code so I edited it manually. Please let me know if there is any other issue.

I'll have another look and test it once it is formatted in Black.


fix: host-wire-update param rename

这个 PR 实现什么功能/修复什么问题:
修正：host-wire-update的mac参数改为mac_addr，和host-wire-detach统一
是否需要 backport 到之前的 release 分支:

release/2.10.0
release/2.11
release/2.12

/area climc

Codecov Report

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

@@          Coverage Diff           @@
##           master   #3370   +/-   ##
======================================
  Coverage    7.17%   7.17%
======================================
  Files         492     492
  Lines       80819   80819
======================================
  Hits         5798    5798
  Misses      74534   74534
  Partials      487     487

Flag
Coverage Δ

#aFlag
7.17% <ø> (ø)
: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 253f0e5...02520e4. Read the comment docs.

/cc @wanyaoqi

/lgtm
/approve


transform.x, transform.basis_xform are wrong when parented

Godot version 3.0 alpha
Issue description:

If a parent object is rotated so it looks straight upwards, and you are parented to this object so you look straight upwards (but have local rotation zeroed out), transform.x and so on returns a value as if the parent had not rotated you.
So transform.x returns Vector2(1,0), even though the 'right' local axis points in another direction visually.
Expectation: transform.x is local2world Vector2(1,0), and transform.basis_xform(..) is local2world any vector.
Steps to reproduce:
Root: Node
Object1: Node2D     <--- give some rotation
child: Object2: Node2D       <--- give some other rotation
child: Object3: Node2D <-- attach script.
func _process(delta):
global_position += transform.x
Also try:
global_position += get_node("../").transform.x
This is also an issue for instance when shooting a bullet from a rotated gun, that gets parented to the root and gets the local2world right vector from the gun as the direction to travel.
See attached test_scene2 for an example.
Local transforms issue 3.0.zip
Link to minimal example project:

Not sure this is a bug or a misunderstanding of the transform usage.
The transform is always relative to it's direct parent. Also basis_xform is rarely used.

Hmm, indeed. global_transform.x seems to be what I was looking for. So it makes sense that transform.x is without the parent's transformations, still a bit unexpected that there was one for local and one for global.
Not sure what would be the clearest way to teach new users this stuff. Unity users will be accustomed to transform.right as an equivalent. I'm sure having both is a little more flexible though.

Note that you can combine transformation by multiplying them. So you can multiply the parent transform with the child one to have a Transform relative to the parent.
Anyway you are right, this needs maybe more documentation :)

Anyway, if your problem is solved I'll close this issue then, as it is not related to the engine. :)
If you need more help, please ask on the forum/IRC/facebook pages. ;)


Update registry keys for AdoptOpenJDK

Added registry keys for AdoptOpenJDK version greater or equal to 11.0.13+7 that is distributed with hotspot JVM:

"Software\Eclipse Adoptium\JDK"
"Software\Eclipse Adoptium\JRE"

Related issue: #3777

@golubev-ivan could you please share test results also?

Hi @mmrazik, could you please take a look at this PR?

/azp run


[WIP] group endpoint  in skywalking agent automatically

Hi all, I open this PR want to confirm that I am doing the right thing.  there is so much work that needs to do, like unit test case, scenario test case，optimize the spring MVC match logic
In a distributed system, hundreds of services in the skywalking cluster, group endpoint name in the server by regex pattern configuration are very difficult for skywalking cluster maintainer, even impossible. using a group mechanism in the agent may be better.
for example, the servlet container has no path variable concept, and spring mvc achieves this feature.   if a request with a path variable is rejected by a servlet filter (like authenticate filter)，the endpoint can not reset by spring mvc interceptor.
it will cause endpoint options in skywalking UI very hard to use (endpoint traffic), more cost for metric aggregation(especial endpoint 2 endpoint relations ), and more alarm window for alarm module (even oom in OAP server).
we can get the path mapping info when controller creating, and try to rename endpoint(use same logic like spring MVC path match) when sending to skywalking backend service. now I made the feature in an optional plugin.

PathMatcher.java is a copy from the spring MVC framework. and also under the Apache license. it will case license issue?

I create a new module in SDK plugin,  similar logic in the servlet container plugin(undertow jetty tomcat) move to this module like spring-mvc-commons module. to undertow, I think it should split into 2 parts, undertow core, and undertow servlet. undertow core can work without undertow servlet. and undertow servlet depends on undertow core.

Welcome to communicate face 2 face

Hi, I haven't read the codes, just glance at the changeset. You are making a change on the core level, and submit wide changes on the plugins.
I know the parameters in the URI harming the metrics system, it was found and resolved. Have you known this? https://skywalking.apache.org/docs/main/latest/en/setup/backend/endpoint-grouping-rules/
If you have known, why do you think the client-side grouping is better than the OAP server side?

Hi, I haven't read the codes, just glance at the changeset. You are making a change on the core level, and submit wide changes on the plugins.
I know the parameters in the URI harming the metrics system, it was found and resolved. Have you known this? https://skywalking.apache.org/docs/main/latest/en/setup/backend/endpoint-grouping-rules/
If you have known, why do you think the client-side grouping is better than the OAP server side?

yes， I have known this feature on the server-side. but config pattern rule by YAML is not convenient for use, special for large OAP cluster, we would not configuration every restful API.  in the skywalking agents, we can detect some useful information and group endpoint automatically. users no need to do configuration works.

that commit is not the final version, detect the spring MVC mapping info will intercept spring mvc mapping-register later, now I achieve this feature by scan the Controller objInstan annotation.

My argue is about you seems making plugins interact with each other, what is the interactive model?
In SkyWalking, if you want different components working together,we need that data flow first.
The operation name is overridable, and controlled by core.

If I go deeper into your case, some of them are not making sense.

if a request with a path variable is rejected by a servlet filter (like authenticate filter)

If this is an authentication filter, the path and parameter don't matter in most cases. Even we unify those URIs, what metrics could you get?

it will cause endpoint options in skywalking UI very hard to use (endpoint traffic),

UI doesn't care about this. What do you mean hard to use? This low traffic endpoint should not be seen on the UI

more cost for metric aggregation(especial endpoint 2 endpoint relations ),

Since 8.0, the OAP removed the register mechanism, the possibility of URI doesn't matter anymore. It just costs a little memory of OAP cluster.

and more alarm window for alarm module (even oom in OAP server).

Like we mentioned many times, endpoint level alarm is never recommended. We support endpoint level alarm is helping you to set rules for specific endpoints, rather than for all.

From all the above things, we really should focus on what are the real issues to trigger this feature. In SkyWalking, we are very focusing on the real case, rather than a feature people feeling in the first place.
Only with that, we could make sure the agent costing limited and reasonable resources, and help the system running in high traffic. In current practice, we usually support 3k~10k/s per JVM.

My argue is about you seems making plugins interact with each other, what is the interactive model?
In SkyWalking, if you want different components working together,we need that data flow first.
The operation name is overridable, and controlled by core.

I have pushed a new commit that has no plugins interact with each other(the first commit is archiving in a simple way, not the final version). actually  the new naming plugin, not similar to others, interceptor of this is in order to detect the spring-mvc mapping info.  would you like to discuss this PR face to face  tomorrow ? I still think  group endpoint name in skywalking agent  is a right thing.

My argue is about you seems making plugins interact with each other, what is the interactive model?
In SkyWalking, if you want different components working together,we need that data flow first.
The operation name is overridable, and controlled by core.

I have pushed a new commit that has no plugins interact with each other(the first commit is archiving in a simple way, not the final version). actually the new naming plugin, not similar to others, interceptor of this is in order to detect the spring-MVC mapping info.  would you like to discuss this PR face to face  tomorrow ? I still think  group endpoint name in skywalking agent  is a right thing.

My argue is about you seems making plugins interact with each other, what is the interactive model?
In SkyWalking, if you want different components working together,we need that data flow first.
The operation name is overridable, and controlled by core.

I have pushed a new commit that has no plugins interact with each other(the first commit is archiving in a simple way, not the final version). actually the new naming plugin, not similar to others, interceptor of this is in order to detect the spring-MVC mapping info.  would you like to discuss this PR face to face  tomorrow ? I still think  group endpoint name in skywalking agent  is a right thing.

My argue is about you seems making plugins interact with each other, what is the interactive model?
In SkyWalking, if you want different components working together,we need that data flow first.
The operation name is overridable, and controlled by core.

I have pushed a new commit that has no plugins interact with each other(the first commit is archiving in a simple way, not the final version). actually the new naming plugin, not similar to others, interceptor of this is in order to detect the spring-MVC mapping info.  would you like to discuss this PR face to face  tomorrow ? I still think  group endpoint name in skywalking agent  is a right thing.

would you like to discuss this PR face to face tomorrow ?

What do you mean face to face?

interceptor of this is in order to detect the spring-mvc mapping info

Could you provide a graph or something to show what is going on? It is much better for me to spend much time reading codes.

I still think group endpoint name in skywalking agent is a right thing.

Let's not jump to the conclusion directly. We haven't been there yet.

My argue is about you seems making plugins interact with each other, what is the interactive model?
In SkyWalking, if you want different components working together,we need that data flow first.
The operation name is overridable, and controlled by core.

I have pushed a new commit that has no plugins interact with each other(the first commit is archiving in a simple way, not the final version). actually the new naming plugin, not similar to others, interceptor of this is in order to detect the spring-MVC mapping info.  would you like to discuss this PR face to face  tomorrow ? I still think  group endpoint name in skywalking agent  is a right thing.

Any update?

Any update?

I am a little busy last week and will continue work in the process by now


Fixed: Mobile Navigation Menu

Fixes Issue
Closes #3191 and Closes #2464

Changes proposed

Added Close Icon when menu is open.
When clicked on EddieHub Logo it closes the mobile navigation menu (if menu is opened)
When clicked anywhere outside the mobile navigation menu, the navigation menu closes.
Removed the outline from hamburger menu
When the navigation links are clicked, it closes the mobile navigation menu.

Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[ ] My change requires changes to the documentation.
[ ] I have updated the documentation accordingly.
[ ] All new and existing tests passed.
[x] This PR does not contain plagiarized content.
[x] The title of my pull request is a short description of the requested changes.

Screenshots
https://user-images.githubusercontent.com/116095538/211923197-b1699363-6e00-45f6-a8eb-f34faabb8797.mp4

Note to reviewers

Everything else works great 👍

Hey @Aadarsh805 i did make the following changes ... could you check it once?

#2464 already has a PR fixing its issue.

Please have a discussion on the issue before creating a PR

Actually I thought the PR on that issue was closed, my bad 😅. But this PR also resolves other issues mentioned in #3191 and that specific issue just kind of got into this fix. Sorry for not noticing.

Hey no worries, just the thing is if multiple PR's are created eddie and the maintainers have to solve the merge conflicts. Could you check which changes have been done in the other PR and keep the rest in your's? Thank you! 🙌🏻

So should i be including the changes made in that PR to fix the issue #2464 in this PR?

in the above snap, this PR includes this change to fix that issue, so should i remove this change and include the changes made in that PR?  Sorry is that what you said @ChinmayMhatre 😅? i didn't get it.

Great collaboration everyone 💪
I think this merge PR https://github.com/EddieHubCommunity/LinkFree/pull/2507 was a bit different, it was for when a link is clicked it closes
@swagataroy30 could you update your branch from main and resolve conflicts. Thanks

Done @eddiejaoude :+1: ...  is it all right?


[Enhance] Update numba version

Thanks for your contribution and we appreciate it a lot. The following instructions would make your pull request more healthy and more easily get feedback. If you do not understand some items, don't worry, just make the pull request and seek help from maintainers.
Motivation
This PR is trying to fix some warnings and errors while updating numba from 0.48.0 to 0.54.1 and refactor some code to speed up training.
Modification
for @cuda.jit, transform eager compilation to Lazy compilation.
for some ops, we refactor the code.
add eager compilation to @numba.njit, to speed up compilation speed.
BC-breaking (Optional)
no
Use cases (Optional)
n/a
Checklist

Pre-commit or other linting tools are used to fix the potential lint issues.
The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
If the modification has potential influence on downstream projects, this PR should be tested with downstream projects.
The documentation has been modified accordingly, like docstring or example tutorials.

Note that some modifications are still on going. To verify the modifications' effect, some experiments need to be done.

Should we also update the version of numba in requirements.txt?

Should we also update the version of numba in requirements.txt?

yes,I'll add it to this PR soon

Kindly ping @ZCMax

Can be merged after resolving conflicts.


configuration failure with cmake and infer for external dependencies

I wanted to give infer a try since it looks quite awesome. I have followed the getting started guide (http://fbinfer.com/docs/getting-started.html) and build the docker container.
Unfortunately I have now the following problem: I want to check a project that uses several external libraries (e.g. zlib) and creates a configuration via cmake. Unfortunately the configuration step fails with the following error:
$ infer compile -- cmake ..
Capturing in make/cc mode...
CMake Error at /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:138 (message):
  Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.8")
Call Stack (most recent call first):
  /usr/share/cmake-3.7/Modules/FindPackageHandleStandardArgs.cmake:378 (_FPHSA_FAILURE_MESSAGE)
  /usr/share/cmake-3.7/Modules/FindZLIB.cmake:114 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
  config/findDependencies.cmake:14 (find_package)
  CMakeLists.txt:88 (include)

-- Configuring incomplete, errors occurred!
See also "/root/exiv2/build/CMakeFiles/CMakeOutput.log".
See also "/root/exiv2/build/CMakeFiles/CMakeError.log".

Error backtrace:
Raised at file "base/Die.ml" (inlined), line 25, characters 6-36
Called from file "base/Logging.ml", line 296, characters 58-80
Called from file "infer.ml", line 23, characters 2-36
Called from file "infer.ml", line 135, characters 6-52
External Error: *** capture command failed:
*** cmake ..
*** exited with code 1

Run the command again with `--keep-going` to try and ignore this error.

Please note that I can build the project without infer, so my guess is that infer's clang does not search for external libraries in the system paths but only in its own paths.
Is that so and if yes, can I circumvent that somehow?

mark
same error

I hadn't seen this, sorry! The issue seems that you are missing a dependency of the project you are trying to compile: Could NOT find ZLIB (missing: ZLIB_LIBRARY) (found version "1.2.8"). You said you were running from the Docker container, does your project also build from within the container?
You can also try infer without docker: Try the binary release or compile infer from source.

I can build the project without infer inside the docker container. As I said, I guess that since infer ships its own clang, it probably overrides the include paths, which could confuse cmake and might lead to cmake not being able to find zlib (and all other dependencies too that were installed via apt).

Ok, that integration is not the most robust since it relies on just swapping the PATH under cmake. The recommended way of analysing cmake projects is now to go through a compilation database generated by cmake:
http://fbinfer.com/docs/analyzing-apps-or-projects.html#cmake
cd build
cmake -DCMAKE_EXPORT_COMPILE_COMMANDS=1 ..
cd ..
infer run --compilation-database build/compile_commands.json

Back when you opened your issue the documentation about cmake was not yet on that page :) Glad it's working for you!


fix background url

nit: I would use a useBackendUrl camelCase instead of the upper case which usually means a constant, not a function.

useBackendUrl will look like a hook and we are using that in axios's base url, so I'm renaming it to getBackendUrlFromStore

The idea is to always read from store in components, but at startup we shoudl be able to set the default in store looking at ENV VAR

ok then I will not persist the store value

I will not persist the store value

Sorry, I was not enough to clear my bad! It's totally perfect to persist the value when the user changes it from the Settings UI.
You correctly fixed the onReset which fallbacks to getBackendUrl. I am just saying the initial state of the store should be pulled from getBackendUrl which already has http://localhost:54321

I will not persist the store value

Sorry, I was not enough to clear my bad! It's totally perfect to persist the value when the user changes it from the Settings UI.
You correctly fixed the onReset which fallbacks to getBackendUrl. I am just saying the initial state of the store should be pulled from getBackendUrl which already has http://localhost:54321 as default (if not ENV VAR are passed)

ok adding persist middleware


scrutinize:0.3.0

I am submitting

[ ] a new package
[x] an update for a package

Scrutinize is a library for building exams, tests, etc. with Typst. This is a major breaking release that makes writing questions less intrusive and adds more question writing utilities, including new question types and more configuration options for existing question types.

Thanks :)


Added util method to decode 8 bit integers from hex byte pairs. Minor

refactoring to built-ins

Codecov Report

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

@@           Coverage Diff           @@
##           master      #28   +/-   ##
=======================================
  Coverage   57.12%   57.12%
=======================================
  Files          79       79
  Lines        5407     5407
=======================================
  Hits         3089     3089
  Misses       2318     2318

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 04f6f95...f547bf4. Read the comment docs.


Inspections table not updating when archived

I do not get any results when querying our inspections table for archived that does not equal 0.
We have a number of archived inspections however this is not reflected in the table.

@bricwood are you still experiencing this issue after implementing @eddabrahamsen's suggestion?

Hi @bricwood , please let us know if @eddabrahamsen did not resolve your issue. Thanks!


Support VMware encrypted disks

Description
VMware offers the possibility to encrypt a disk, due to this encryption the name of the disk changes, this can lead to multiple issues in OpenNebula related to the sync of state (esp. disk) between OpenNebula and vCenter resources.
Use case
Be able to use encrypted disks with no issues.
Interface Changes
vCenter driver.

Progress Status

[ ] Branch created
[ ] Code committed to development branch
[ ] Testing - QA
[ ] Documentation
[ ] Release notes - resolved issues, compatibility, known issues
[ ] Code committed to upstream release/hotfix branches
[ ] Documentation committed to upstream release/hotfix branches

Fixed as part of #5740


Remap eject key to delete_forward

Is it possible to map "Eject" key to "Forward delete"?

You cannot do it.
https://github.com/tekezo/Karabiner-Elements#limitations


Add Windows 2004 agent build

Add Windows 2004 to our drone.yaml for continued up to date windows agent support.
Has dependency on: https://github.com/drone-plugins/drone-docker/pull/284
gz#8443
gz#12951

https://github.com/rancher/dapper/pull/85

On 2.5-head - commit id: 65a15b94

Deploy a windows VXLAN network cluster.
Register 3 linus nodes - 1 etcd, 1 control plane and 1 windows linux nodes.
Register a windows 2004 node - AMI - Windows_Server-2004-English-Core-Base-2020.11.11
The node fails to register

Digest: sha256:aeb7e77f93780634609ab45d28ac6da79aa55aa529ae89a6b0213449b41ed25f
Status: Downloaded newer image for rancher/rancher-agent:v2.5-65a15b941fb8818f6d4703197a9436a4c26a9972-head
INFO: Detecting running permission ...
INFO: Detecting host CPU reservation ...
INFO: Detecting host RAM reservation ...
INFO: Detecting host DISK reservation ...
INFO: Detecting host Docker named pipe existing ...
INFO: Detecting host Docker platform name...
INFO: Detecting host network interface ...
INFO: Configuring host Docker Service to start automatically...
INFO: Enabling host msiscsi service to support iscsi storage ...
Unable to find image 'rancher/rancher-agent:v2.5-4642-head' locally
docker: Error response from daemon: manifest for rancher/rancher-agent:v2.5-4642-head not found: manifest unknown: manifest unknown.

Note:
Able to register a windows 1903 node in the same cluster.
Reopening the issue.

On 2.5-head - commit id: 65a15b94

Deploy a windows VXLAN network cluster.
Register 3 linus nodes - 1 etcd, 1 control plane and 1 windows linux nodes.
Register a windows 2004 node - AMI - Windows_Server-2004-English-Core-Base-2020.11.11
The node fails to register

Digest: sha256:aeb7e77f93780634609ab45d28ac6da79aa55aa529ae89a6b0213449b41ed25f
Status: Downloaded newer image for rancher/rancher-agent:v2.5-65a15b941fb8818f6d4703197a9436a4c26a9972-head
INFO: Detecting running permission ...
INFO: Detecting host CPU reservation ...
INFO: Detecting host RAM reservation ...
INFO: Detecting host DISK reservation ...
INFO: Detecting host Docker named pipe existing ...
INFO: Detecting host Docker platform name...
INFO: Detecting host network interface ...
INFO: Configuring host Docker Service to start automatically...
INFO: Enabling host msiscsi service to support iscsi storage ...
Unable to find image 'rancher/rancher-agent:v2.5-4642-head' locally
docker: Error response from daemon: manifest for rancher/rancher-agent:v2.5-4642-head not found: manifest unknown: manifest unknown.

Note:
Able to register a windows 1903 node in the same cluster.
Reopening the issue.

On 2.5-head - commit id : 2ba49cb72

Deploy a windows VXLAN network cluster.
Register 3 linus nodes - 1 etcd, 1 control plane and 1 windows linux nodes.
Register a windows 2004 node - AMI - Windows_Server-2004-English-Core-Base-2020.11.11
Windows nodes are stuck in Registering state

docker logs 2226fd007d3b
INFO: Waiting for servcie-sidekick to prepare the entrypoint.ps1 ...
FATA: Timeout, could not found c:\opt\rke-tools\entrypoint.ps1
INFO: Waiting for servcie-sidekick to prepare the entrypoint.ps1 ...

On 2.5-head - commit id : 2ba49cb72

Deploy a windows VXLAN network cluster.
Register 3 linus nodes - 1 etcd, 1 control plane and 1 windows linux nodes.
Register a windows 2004 node - AMI - Windows_Server-2004-English-Core-Base-2020.11.11
Windows nodes are stuck in Registering state

docker logs 2226fd007d3b
INFO: Waiting for servcie-sidekick to prepare the entrypoint.ps1 ...
FATA: Timeout, could not found c:\opt\rke-tools\entrypoint.ps1
INFO: Waiting for servcie-sidekick to prepare the entrypoint.ps1 ...

On 2.5-head - commit id: e3128c99

K8s version - 1.19.7-rancher2-1, deployed a windows cluster with 3 linux nodes, 3 windows worker nodes.
Cluster deployed fine and came up Active. Nodes registered.
Validation tests look good on this cluster - includes - workload deployments, ingress, service discovery

On 2.5-head - commit id: e3128c99

K8s version - 1.19.7-rancher2-1, deployed a windows cluster with 3 linux nodes, 3 windows worker nodes.
Cluster deployed fine and came up Active. Nodes registered.
Validation tests look good on this cluster - includes - workload deployments, ingress, service discovery


localhost:4201/docs errors out

I get:
Uncaught TypeError: Cannot read property 'getTOCNodes' of undefined

when hitting localhost:4201/docs

Thanks. This should be fixed now. Can you try again?

Now works. Thanks.
On Tue, Dec 1, 2015 at 11:18 PM Michael Aufreiter<EMAIL_ADDRESS>wrote:

Thanks. This should be fixed now. Can you try again?
—
Reply to this email directly or view it on GitHub
https://github.com/substance/substance/issues/315#issuecomment-161114040
.


[Bug]: Only 1 of 5 eufyCam 2C's connected to HomeBase 2 work for downloading clips after upgrading to versions above 0.9.4

Version
1.3.0
Node version
16.14.0
Operating System type
Docker
Operating system version
Docker Desktop 4.13.0 for Windows - Engine Version: 20.10.20
Describe the bug
I have Eufy HomeBase 2 (System Version: <IP_ADDRESS>h | Subsystem Version: <IP_ADDRESS>) and after upgrading from bropat/eufy-security-ws 0.9.4 to any version above, only one of my eufyCam 2C's work when attempting to download clips. All eufyCam 2C's worked when downloading on 0.9.4 (only video, NOT audio). After Eufy made some recent updates, version 0.9.4 no longer works because of the 403 forbidden response when fetching the profile and/or devices. I am currently on version 1.3.0 and everything seems to work properly for my uses except downloading clips for 4 out of 5 eufyCam 2C's. I can live stream video/audio for all of them still. Downloading works for my wired doorbell and floodlights still.
I believe this could be related to 2 previous issues https://github.com/bropat/eufy-security-ws/issues/90 and https://github.com/bropat/eufy-security-ws/issues/101
To reproduce
After sending the download command for one of the eufyCam 2C's that doesn't download properly, I receive the following messages:
{     "type": "result",     "success": true,     "messageId": 1,     "result": {         "async": true     } }
Followed by:
{     "type": "event",     "event": {         "source": "device",         "event": "command result",         "serialNumber": "[removed]",         "command": "start_download",         "returnCode": 0,         "returnCodeName": "ERROR_PPCS_SUCCESSFUL",         "customData": {             "command": {                 "name": "deviceStartDownload",                 "value": {                     "path": "[removed]",                     "cipher_id": [removed]                 }             }         }     } }
With no subsequent messages.
Screenshots & Logfiles
No response
Additional context
No response

Missing debug logs

@bropat
I turned on debug mode and logging.
Here's the order of events:

Sent -> device.start_download
Received -> logging: request post - v1/app/cipher/get_ciphers
Received -> logging: v1/app/cipher/get_ciphers response - succeed with data, cipher_id and key
Received -> logging: Sending start download command to station [station_serialnumber] for device [device_serialnumber] with value: [filepath]
Received -> logging: Sending p2p command...{ station: '[station_serialnumber]',\n  sequence: 92,\n  commandType: 1024,\n  channel: 1,\n  retries: 0,\n  messageStatesSize: 1 }
Received -> {"type": "result", "success": true,  "messageId": 1, "result": { "async": true }}
Received -> logging: Station [station_serialnumber] - ACK DATA - received from host [ip] for sequence 92
Received -> logging: Station [station_serialnumber]- DATA DATA - received from host [ip]- Processing sequence 92...
Received -> logging: Station [station_serialnumber]- Received data", { seqNo: 92,\n  header: { commandId: 1024, bytesToRead: 132, channel: 1, signCode: 0, type: 1 },\n  bytesRead: 132,\n  bytesToRead: 132,\n  firstPartMessage: true,\n  messageSize: 148 }
Received -> logging: "Station [station_serialnumber]- Received data","{ commandIdName: 'CMD_DOWNLOAD_VIDEO',\n  commandId: 1024,\n  resultCodeName: 'ERROR_PPCS_SUCCESSFUL',\n  resultCode: 0,\n  message:\n   '\x009
Received -> logging: Station [station_serialnumber]- Result data for command received",
Received -> logging: Got p2p command response: ERROR_PPCS_SUCCESSFUL
Received -> logging: Station [station_serialnumber]- DATA DATA - Received expected sequence (expectedSeqNo: 93 seqNo: 92 queuedData.size: 0)
Received -> event - device command result - deviceStartDownload with path and cipher_id
Received -> logging: Station [station_serialnumber]- DATA CONTROL - received from host [ip] - Processing sequence 4...
Received -> logging: Station [station_serialnumber] - Received data - { seqNo: 4,\n  header: { commandId: 1303, bytesToRead: 5, channel: 0, signCode: 0, type: 0 },\n  bytesRead: 5,...
Received -> logging: Station [station_serialnumber] - CMD_CONVERT_MP4_OK", "{ channel: 0, totalBytes: 2250199 }

Then it's just hundreds/thousands of log messages about the download, but there are no events video/audio download events with the data.


OpenSimplexNoise octave count should not be limited to 6

Godot master
OpenSimplexNoise currently can't have more than 6 octaves, and it's hardcoded: https://github.com/godotengine/godot/blob/master/modules/opensimplex/open_simplex_noise.cpp#L72
And in fact, it's always initializing 6 octaves no matter what number you set.
When experimenting a large voxel terrain, I quickly noticed over 6 octaves had no effect.
I see no reason for this limitation, so can we remove it? (or at least increase it way above that)

@JFonS Any reason why this number is clamped at six?
More than 6 octaves is going to be rather slow to compute, but maybe instead of a hard cap we just add an editor warning?

yeah, can't see any reason to limit octaves to 6, probably there is some bug which is hidden by this setting. "slow" in this case is relative, and I suggest no warning here, No need to babysit user so much. When I implement the same algorithm myself using simple 2d noise library, I can go as far as 16 octaves without any problems.

More than 6 octaves is going to be rather slow to compute

True, this is not suitable for run-time needs but for things like the editor plugins there should be no limitation, though very high octaves can easily freeze any application for too long.

I had to limit the amount of octaves since we are storing the context of then in an array:
https://github.com/godotengine/godot/blob/87ee2a9239928e2811ce1711bc381f601edd278a/modules/opensimplex/open_simplex_noise.h#L44
and 6 octaves seemed like a reasonable limit. If you think it's not enough feel free to increase it, but then we should consider dynamically allocating the contexts.

You can also want to generate high octave count noise on startup displaying
nice progress bar.
On Mon, May 6, 2019 at 11:36 AM JFonS<EMAIL_ADDRESS>wrote:

I had to limit the amount of octaves since we are storing the context of
then in an array:
https://github.com/godotengine/godot/blob/87ee2a9239928e2811ce1711bc381f601edd278a/modules/opensimplex/open_simplex_noise.h#L44
and 6 octaves seemed like a reasonable limit. If you think it's not enough
feel free to increase it, but then we should consider dynamically
allocating the contexts.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/godotengine/godot/issues/28714#issuecomment-489547370,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAABPUYM4T6T3W4EYPFCD2DPT7UY3ANCNFSM4HK4MJKQ
.

Dynamically allocating a context shouldnt be that heavy in the end, since each one weights about 512 bytes, which is half the size of an empty Button node. Once created, it's not going to be destroyed and recreated often (if anytime).
What could be slow would only be generating a NoiseTexture, which can actually be clamped on the fly if period >> octave_count == 0, since units are pixels and generating under a unit wouldn't contribute to the result (while it could matter for other usages).


update change log formatting

Summary

Update the change log formatting to be semantically correct and to stop failing the markdown linter.

Deployment Link

https://terra-framework-deployed-pr-#.herokuapp.com/
Testing

Additional Details

Whew! it sure was a lot of work updating those 35 files by hand. I'm wiped out....

Just kidding, I wrote a script 😄

Thank you for contributing to Terra.
@cerner/terra

stop failing the markdown linter.

we have a markdown linter??

there is a markdown linter in vs code, i recommend it.
the generator has already been updated https://github.com/cerner/generator-terra-module/blob/main/generators/app/templates/CHANGELOG.md

Oh nice! I'm downloading the linter now!


⚠ Bofrost.de has degraded performance

In 9c2145d, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1464 ms

Resolved: Bofrost.de performance has improved in 28a010b after 6 minutes.


gas volume solver

hi, im developing some packages that are of common interest, namely, ThermoState.jl and ThermoModels.jl. im working with multiparameter equations of state (IAPWS95 and GERG2008)) and i needed a solver that requires the least amount of pressure evaluations posible. playing and trying to find something better, i found a good iteration scheme that converges to the gas volume or the minimum gas root available (a root that returns a pressure lower than the specified pressure, but is in the gas side of the pressure equation. the iteration exploits the property that, at gas densities you can do:

p = RT/(v-b)  - a/v^2 # at gas densities, v-b ≈ v
p = RT/v  - a/v^2

at each step:

p(n), v(n)
a(n+1) -> a(p(n),p(n))
v(n+1) = v(pspec,a(n+1))
p(n+1) = p(v(n+1))

i have an implementation here and i would love to see if the claims above mantain over complicated eos like the saft family

Hi Andrés,
This is quite interesting; we can definitely try and implement it into our code. How quickly does this tend to converge? Have you considering using other cubics such as RK and keeping the b parameter, but relating to the existing parameters in the eos (such as sigma in SAFT)? If you can implement this with slightly more accurate cubics, it might be interesting to see if this strategy could work in the liquid phase as well (which would be amazing!).

@pw0908 @longemen3000 How much have you folks played with solvers on the liquid side? For complex organic mixtures I find myself having a tough time solving for the liquid root. This could be due to simple thermodynamics - the EOS simply doesn't find a liquid root, which is fine, but on a scale of 1 to 10, how confident are you in the solvers ability to find the liquid root?

We use that volume solver everywhere, and where it failed, it was always an EoS problem (an initial point that is not in the correct vdW loop). The solver normally thows NaN when it founds a mechanical instability (dpdv > 0).it could be that our initial point for SAFT gamma Mie in your particular case is to high.
The internal iteration algorithm can be called with volume_compress(model, P, T, z, V0=x0_volume_liquid(model, T, z). You can try different values of V0 to see if the initial point is bad or the algorithm is

Adding to what Andrés said, we also know there is a problem when additional roots appear in the eos (such as GERG-2008 or SAFT at very low temperatures). We haven't found a way to deal with these yet but we know there are strategies for it in the literature.
For your case however, I'd be curious to see what examples you have where our solvers fail? Complex organic mixtures really could mean anything; it seems that the failure of our method relies more on the conditions than the system as well.

Here is a completely gutted, minimum example of the script I am running. I go through alot more molecules, as well as mixtures, but we can look at the single case of azelaic acid, which has a melting point of 109 celcius. I am calculating thermodynamic properties I find interesting. I would prefer the subcooled zone, but in this example we should be in a stable liquid zone (I don't know how accurate the GammaMie is with liquids flirting with the solid equilibria line).
using Clapeyron

A_list = [("azelaic acid", ["COOH"=>2, "CH2"=>7])]

model = SAFTgammaMie(A_list)

pad = 25
T = 109 + 273.15 + pad
P = 1e5

Z = compressibility_factor(model, P, T, [1.0]; phase=:liquid)

println(Z)

A typical error looks like this:
ERROR: LoadError: DomainError with -0.5481253908259618:
log will only return a complex result if called with a complex argument. Try log(Complex(x)).

    @ C:\Users\bkelly\.julia\packages\ForwardDiff\PBzup\src\gradient.jl:125 [inlined]
 [15] gradient!
    @ C:\Users\bkelly\.julia\packages\ForwardDiff\PBzup\src\gradient.jl:48 [inlined]
 [16] p∂p∂V(model::SAFTgammaMie{BasicIdeal}, V::Float64, T::Float64, z::Vector{Float64})
    @ Clapeyron C:\Users\bkelly\.julia\packages\Clapeyron\li4cA\src\methods\differentials.jl:75
 [17] (::Clapeyron.var"#f_fixpoint#664"{SAFTgammaMie{BasicIdeal}, Float64, Float64, Vector{Float64}})(_V::Float64)
    @ Clapeyron C:\Users\bkelly\.julia\packages\Clapeyron\li4cA\src\methods\property_solvers\volume.jl:21
 [18] _fixpoint(f::Clapeyron.var"#f_fixpoint#664"{SAFTgammaMie{BasicIdeal}, Float64, Float64, Vector{Float64}}, x0::Float64, method::Clapeyron.Solvers.SimpleFixPoint{Float64}, atol::Float64, rtol::Float64, max_iters::Int64, norm::Function, antinan::Bool)
    @ Clapeyron.Solvers C:\Users\bkelly\.julia\packages\Clapeyron\li4cA\src\solvers\fixpoint\fixpoint.jl:48
 [19] #fixpoint#22
    @ C:\Users\bkelly\.julia\packages\Clapeyron\li4cA\src\solvers\fixpoint\fixpoint.jl:33 [inlined]
 [20] volume_compress(model::SAFTgammaMie{BasicIdeal}, p::Float64, T::Float64, z::Vector{Float64}; V0::Float64, max_iters::Int64)
    @ Clapeyron C:\Users\bkelly\.julia\packages\Clapeyron\li4cA\src\methods\property_solvers\volume.jl:29
 [21] volume(model::SAFTgammaMie{BasicIdeal}, p::Float64, T::Float64, z::Vector{Float64}; phase::Symbol, threaded::Bool)
    @ Clapeyron C:\Users\bkelly\.julia\packages\Clapeyron\li4cA\src\methods\property_solvers\volume.jl:95
 [22] #chemical_potential#694
    @ C:\Users\bkelly\.julia\packages\Clapeyron\li4cA\src\methods\pT.jl:7 [inlined]
 [23] get_dG(coformer_list::Vector{Tuple{String, Vector{Pair{String, Int64}}}}, T::Float64, P::Float64)
    @ Main C:\Users\bkelly\Julia\test.jl:66
 [24] top-level scope
    @ C:\Users\bkelly\Julia\test.jl:76
in expression starting at C:\Users\bkelly\Julia\test.jl:76

It could be that I am simply asking the EOS to calculate a liquid property where it feels quite certain, there is no liquid. I don't want to infer this is the algorithms fault, I am just ...curious. If I don't force it to calculate liquid properties, it does not find the any root for me. But if I bump up pad=125, then is finds a root a Z~0.8. But, specifying either vapor or liquid, leads to the above error.

What version of Clapeyron are you using? Both Andrés and I were able to run this code and get about Z=0.0055?

cannot reproduce the error:
julia> versioninfo()
Julia Version 1.7.2
Commit bf53498635 (2022-02-06 15:21 UTC)
Platform Info:
  OS: Windows (x86_64-w64-mingw32)
  CPU: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-12.0.1 (ORCJIT, haswell)

julia> using Pkg; Pkg.status("Clapeyron")
      Status `C:\Users\andres\.julia\environments\v1.7\Project.toml`
  [7c7805af] Clapeyron v0.3.4 `C:\Users\andres\.julia\dev\Clapeyron`

julia> Z = compressibility_factor(model, P, T, [1.0]; phase=:liquid)
0.0055271245008312875

I am running Julia Version 1.6.1 (2021-04-23)
using version 0.2.1.
Shiza. Okay, I have 1.7.2 on a desktop and am adding Clapeyron to it. It will take awhile, VPN's are silly things, but so are hackers :S
At least I have some light to look forward too

Oh boy, you have a lot to look forward to... we've made some significant speed ups to SAFT-gamma Mie specifically

significant is an understatement on how fast SAFTgammaMie got:
julia> @btime Z = compressibility_factor(model, P, T; phase=:liquid)
  78.300 μs (69 allocations: 13.45 KiB)


Consider deprecating setSurfaceSize

You can do the same with physicalSizeTestValue.
History: "setSurfaceSize was first IIRC, and physicalSizeTestValue was second. The first solved the specific problem of setting the size of the test surface. The second allowed you to just override anything on the Window."

/cc @Hixie @dnfield @mehmetf

Is it an API break if we just mark it deprecated?

Our analyzer tests would fail if we'd continue to use it, so for us it would be :) . And the goal is to eventually remove it altogether. So at that point is would be an API break.

Yes, but we could make it a "soft" break by just deprecating it before we remove it, with the idea being that analysis failures are a softer break than just deleting the API.

Yeah, we should do that. Keep it deprecated for a couple of Flutter releases and then just remove it.


BLE not available?

Hey, I have a samsung galaxy S3, but when I go to connect, it says “Failed to connect, BLE not available” Help? Thanks!

It looks like the Galaxy S3 only has Android 4. For Web Bluetooth to work, you need to be running Android 6 or later.


Swallowing words, reading normally at first, then speeding up, and then not reading the last word of the sentence completely

Self Checks

[X] This template is only for bug reports. For questions, please visit Discussions.
[X] I have thoroughly reviewed the project documentation (installation, training, inference) but couldn't find information to solve my problem. English 中文 日本語 Portuguese (Brazil)
[X] I have searched for existing issues, including closed ones. Search issues
[X] I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
[X] [FOR CHINESE USERS] 请务必使用英文提交 Issue，否则会被关闭。谢谢！:）
[x] Please do not modify this template and fill in all required fields.

Cloud or Self Hosted
Self Hosted (Source)
Environment Details
ubuntu 20.04，python3.10 ,torch2.4.1+cu121
Reference Audio：
http://<IP_ADDRESS>:22122/audio/tts-reference-audio/f8693be5-13de-423d-bae2-ba8d6ddb5ff3.wav
Steps to Reproduce
Example text：摇身化为冲击一线的卫士，他们也有家庭，也有妻子爱人和父母，但他们不曾畏惧，不曾退缩，全国各地的医护人员，自发组成应援团队，身负神圣的使命，前往湖北一线，此时的他们也是逆行者，在人们纷纷远离这座城市时，他们决定迎难而上，因为在离开医校进入工作时，他们做了庄严的宣誓，但这不是义务，更多的是一份责任，一份担当，一份大爱无疆
✔ Expected Behavior
Complete reading verbatim
❌ Actual Behavior
Speed up in the middle, and fail to read the last word completely
http://<IP_ADDRESS>:22122/test-video/error.wav

We have made some DPO tricks to the model, this problem is now relieved.

We have made some DPO tricks to the model, this problem is now relieved.

Hi, i now meet the same problem, could you give more infomation about your DPO tricks? thanks


Allow user to like only once in Q&A section

In Q&A section a user can like multiple time and there is no restrictions but this should not be the case. One user should be allowed to like only once.
So, please assign this to me under GSSOC so that I can fix this.

@kashish-51 this was supposed to be fixed using the cookies in https://github.com/HITK-TECH-Community/Community-Website/pull/942 pr, i would be more than happy if u can debug and fix the issue

Thank you for assigning me

@Kajol-Kumari I would also like to work on this issue, if needed please assign it to me also.

@kashish-51 can u please update on the progress of this issue?

@Kajol-Kumari Please assign this task to me. I will complete it in less amount of time.

There is some issue in the Q&A page. Page only is not showing.

There is some issue in the Q&A page. Page only is not showing.

As its a free deployment so the backend pod takes around 50 seconds to spin up when used after a long time, wait for that time, it will come up

duplicate of https://github.com/HITK-TECH-Community/Community-Website/issues/1004


chore: rename kubernetes.io/ingress.class to kubernetes.io/ingress-class

What this PR does / why we need it: Renames ingress.class annotation to ingress-class since knative has already done that in https://github.com/knative/networking/pull/522
Which issue this PR fixes : fixes #2344
PR Readiness Checklist:
Complete these before marking the PR as ready to review:

[ ] the CHANGELOG.md release notes have been updated to reflect any significant (and particularly user-facing) changes introduced by this PR

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


Angular 16, efficient zoom option, and bug fixes

Add compatibility with Angular v16
Fix Firefox rendering bug
Fix step reordering bug
'skipRender' option in zoom config to enable efficient zoom rendering to support large workflows (temporary solution)
Render connector menu next to mouse when activating (delete connector button)

Resolves #77, #78, #80

Resolves #78, Resolves #80


encourage CI for image optimization

https://css-tricks.com/optimize-images-with-a-github-action/

potentially this github action
https://calibreapp.com/blog/image-actions-2.0


remove dependency on cert-manager, so trust-manager can be installed via vcluster clusters

vocabulary:

host cluster: the cluster a vcluster is running in

vcluster:

vcluster lets you spin up a k8s cluster, which is deployed using an existing cluster
the vcluster uses the 'host cluster' worker nodes as if they are the vcluster's worker nodes
an app running in vcluster only knows about vcluster, it doesn't realize its using resources on the host cluster

vcluster sync (between host and vcluster):

vcluster offers some sync options such as to sync the storage classes of the host cluster with the vcluster, so they can be seen within the vcluster
ingress, this allows an ingress to exist in the vcluster, but actually be implemented via controllers on the host cluster

I think trust-manager may just work if installed in a vcluster, if it doesn't have the cert-manager requirement.  Because, the cert-manager is there in the host-cluster, and maybe whatever trust-manager needs is actually going to work with trust-manager.
Is someone involved with this project already using vcluster & have trust-manger working with it?

We should probably support an installation not requiring cert-manager. There is a stale PR here: https://github.com/cert-manager/trust-manager/pull/157
This issue might be considered a possible duplicate of https://github.com/cert-manager/trust-manager/issues/132.

Hey, thanks for raising this! Gonna close since I think #157 solves this. We might want future ways of doing this that don't rely on helm but the next release of trust-manager will contain this change 👍

I found a work-around here:
https://github.com/loft-sh/vcluster/tree/main/generic-sync-examples/cert-manager
I think its fair to say this is a fix on the vcluster side and not specific to trust-manager


Would you like to update this script?

Bro, are you willing to work on it anymore? This is the best script that is working perfectly fine. But I have made a template that looks better + I have some ideas that will improve it. Are you willing to discuss about it?

Hello! I don't have a lot of free time in these days, but if you have some suggestions feel free to share it and I'll try to have a look at them as soon as possible


Migrate ExpandMemoryOpPass to new pass manager

Fix #2328

Minor change, remove lowerswitch pass for indirect mode.


Data flows should allow a verb per data-type e.g. create, update, read, distribute

To check my understanding, let me take an example logical flow:
App A --[transaction data]--> App B

The RHS (appB) would almost always view this as a read
The LHS (appA) could view this as create/update/distribute - but not as read.
In some ways update / distribute could be validated as those verbs would imply that an incoming feed of that type exists. If an incoming feed did not exist then it would be impossible to update or distribute that data type......

Believe this can be closed as addressed via application data type usages.


Bad link to Auth V2 (404)

The bottom of the readme mentions auth v2, however, the link is a dead end and I can't find anything about auth v2 in a quick google search. I suspect the readme is out of date?

Hello @wyattlefevre, thanks for opening this issue.
The README is slightly out of date, but the recommended way to handle requests is indeed the clerk.WithSessionV2 middleware.
What the README mentions as Auth v2 is currently the de-facto authentication and session management scheme that Clerk uses.
We'll try to update the README and our docs soon.
In the meantime, please let us know if you need any help with the integration.


Fix all asciidoc warnings

Asciidoc interprets strings like ${quarkus-version} as attributes and then issues a WARN during the build that it will skip reference to a missing attribute. This PR adds an inclusion of attributes file to the example-crud.adoc.
Proof of all warnings gone:

Proof of warnings before this PR:

@Sgitario Thank you for the merge! Would it be too much to ask you to add me to contributors for docs via all-contributors bot?

https://github.com/all-contributors add @TheJavaGuy for docs


Tab titles are not based on remote paths for guests

Has this been solved with RFC-002, or is this still an issue?

Has this been solved with RFC-002, or is this still an issue?

@CaptainJohnyAppleSeed: I think the behavior that @nathansobo observed was due to a bug somewhere that prevented the tab title from reflecting any path at all. 😬 But, since we haven't seen this issue in 5 months, and since we don't have steps to reproduce it, I'm going to close this issue. If anyone runs into this issue, please let us know.


Allow some options to be set via the JSON file

Just like this issue I opened up on the GPM package: https://github.com/itsahappymedium/gpm/issues/2 I think it would be nice to be able to set options via the JSON file. Something like:
{
  "settings": {
    "fec": {
      "compress": true,
      "scss-import-path": "content/gpm_modules"
    }
  },
  "dependencies": {
     "derek-watson/jsuri": "1.3.1",
     "eduardoboucas/include-media": "1.4.10"
  }
}

Options could be overwritten via the CLI and paths would be relative to the JSON file.

This feature was implemented in e052bbb4da2449a48b15775a0a0b83bb31f4dc3b


Is there a chance a gui will be made for this.

I love the app installed for the aur and the terminal is easy to use and all but I would just like too know if there is a time frame for a GUI coming out.

Hi! I would really like to make it, but most of the time I would normally use for personal side projects like this goes towards a startup these days, so it's hard to prioritize. In any case, I would most likely do it first/only for macOS, as that's what I use the most myself, and when I use Linux I rarely use a mouse.
I am however planning on splitting this into separate api/library and cli crates, that should make the process of using it in a GUI more straightforward, so that anyone could pick up on it.
Also, there is the possibility of adding support for these mice to something like Piper via the libratbag backend, which would probably be the shortest path to GUI support in Linux. I haven't really looked much into that (because I wanted to use this as a Rust learning experience), but I am sure someone over there could get something going pretty fast using the binary commands from my project as a starting point.
Anyway, thanks for the feedback!

Closing this due to lack of activity, and it doesn't really address an issue.


Fixed github.event.pull_request.head.repo == null in Dependabot PR

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5156  👈
#5145
#5144
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @CatChen and the rest of your teammates on  Graphite


Is x-pack in elastic search open source

Hi,
I see in below yaml that we are configuring the certs/key to make inter-node node communication secure.
https://github.com/elastic/helm-charts/blob/master/elasticsearch/examples/security/security.yml
I have 2 questions

Is x-pack open source, can we use it in production without any license issue?
I see in above yaml that we are just configuring single cert/key for all the nodes in cluster. Is it okay ?
a) there is no need to configure CA cert?
b) what short of certificates are these? are these server cert or client cert or both ?

Hi @sachinmsft,

Is x-pack open source, can we use it in production without any license issue?

Security isn't part of the OSS distribution which can be installed using elasticsearch-oss image but it is part of Elastic license with Basic subscription which is free to use in most case.

I see in above yaml that we are just configuring single cert/key for all the nodes in cluster. Is it okay ?
a) there is no need to configure CA cert?
b) what short of certificates are these? are these server cert or client cert or both ?

https://github.com/elastic/helm-charts/blob/master/elasticsearch/examples/security/security.yml is only an example of configuration using TLS and security. This example doesn't necessarily follow best practices for security in production.
For all questions not directly related to the Helm charts like question on Elasticsearch best practices or licensing, I would recommand posting to Elastic forum where you'll be able to have better answers.


Power = Energy / Time, but Energy / Power != Time

This does not compile:
assert_eq!(
    (6.0 * KILOWATT_HOUR) / (2.0 * KILOWATT),
    3.0 * HOUR);

error[E0277]: cannot divide `Energy` by `Power`
   --> src/units.rs:108:35
    |
108 |             (6.0 * KILOWATT_HOUR) / (2.0 * KILOWATT),
    |                                   ^ no implementation for `Energy / Power`
    |
    = help: the trait `Div<Power>` is not implemented for `Energy`

More generally, if a unit U is defined as the quotient N / D, then operators should be defined both for N / D -> U and for N / U ->D, right?

Solved in version '0.11.0'.

Works great, thank you for the super speedy response!


Kingfisher have Similar method like "cachedImageExistsForURL:(_ url: URL)" ?

if the image according to url was already cached

Please read our wiki and cheat sheet before asking such a question.


EXPRESSION_ATLAS import fails

ERROR:ebel.manager.orientdb.odb_meta:ftp://ftp.ebi.ac.uk/pub/databases/microarray/data/atlas/experiments/atlas-latest-data.tar.gz could not be downloaded!

Skipped in list of domains to import, because file with all results is no longer supported


Crash when running the test suite with Python 3.10

When running the test suite, it fails with this backtrace:
https://gist.github.com/mcepl/43ada31674951bdbd62d8d560575a9f1
This is complete build log describing all packages used and steps taken to reproduce the problem (unfortunately, I had to collect backtrace outside of the build environment).
It is probably blocking https://github.com/mehcode/python-xmlsec/issues/204

Or there is this backtrace ... not exactly the same: tests/test_xmlsec.py::TestModule::test_reinitialize_module passed and it failed only in tests/test_constants.py::test_transform_str: https://gist.github.com/mcepl/7c0cba8a3b41780dbb3e56ed31bbf299

Isn't it just that transform->id->href can be uninitialized? I have to admit that I got lost in the bizarre maze of macro hell in src/constants.c.

I don't see how it can be uninitialized, it is unconditionally initialized in the constructing function?

uninitialized == has not been initialized. I had lost my way in the endless bogs of src/constants.c, but I am just not persuaded still that there are no situations where transform->id->href has not been set at all.

Debugging this problem I've found that the problem is when trying to access transform->id->href, but it's even not null, so it should be something deeper.
25	    if (transform->id->href != NULL)
(gdb) p transform
$1 = (PyXmlSec_Transform *) 0x7ffff5704230
(gdb) p transform->id
$2 = (xmlSecTransformId) 0x7ffff5d13220
(gdb) p transform->id->href
Cannot access memory at address 0x7ffff5d13230

I've also detected that this problem doesn't happen to me if I run just the test_constants but it happens when running the full test suite, so it should be some weird state.

Looks like the problem is with test_reinitialize_module, the call to shutdown and a race condition or something like that. I've detected that running the tests with pytest -n 1 doesn't produce this problem.


Add support for 'children' when called from api2go module

This was supposed to go into private fork but may be used if appropriate