Strange idbd bug on gallery and collections

when I navigate to https://deploy-preview-2568--koda-nuxt.netlify.app/rmrk/collections
or
https://deploy-preview-2568--koda-nuxt.netlify.app/rmrk/gallery
on beta.kodadot.xyz seems everything working

edit after reload is gone...

probably not happening


[Request]: Add right sidebar even when there's no headings in the content

What happened?
Depending on if there's H's in the content there's a sidebar that shows the links to the sections, which is great ux. However, when there's no headings the sidebar is removed which makes the content full width, which is ugly. I would like to see that the content section always stays the same width.
You could set it yourself if a hook class is added to the content (https://github.com/GuavaCZ/filament-knowledge-base/issues/16#issue-2284374361), but I think it should be the default.
How to reproduce the bug
Yes
Package Version
latest
PHP Version
latest
Laravel Version
latest
Which operating systems does with happen with?
No response
Notes
No response

Hehe, I was wondering how long it'll take until someone notices it :D
I don't like it either, it's just I use sub-record navigation which hides by default when there's nothing in it.
Would you prefer if the content was then centered? Not sure how I feel about leaving white space on the right instead of the sub record navigation.

Would you prefer if the content was then centered? Not sure how I feel about leaving white space on the right instead of the sub record navigation.

Centering would mean that the layout changes inconsistently. One way to overcome this is to make the content div a fixed width?

I need to set this issue aside for now. I don't like using tailwind's prose class until I find out why it's not working as it should. The margins it sets are different than from the live demo.
Also having the sidebar there always is something I'm not totally liking. However there's going to be an option to add classes and a gu-kb-article class or something that you can use to set your own preferred max width if you like.

Also having the sidebar there always is something I'm not totally liking. However there's going to be an option to add classes and a gu-kb-article class or something that you can use to set your own preferred max width if you like.

Having a class to target already solves it! 👍🏼

In version 1.3.0 there is an option to disable the right sidebar. There is also a gu-kb-article class that you can target on the documentation article. Check docs for more info :)


Site accessibility assessment and task list creation

Site accessibility assessment and task list creation

[ ] Run a11y audits and assessments.
[ ] Create actionable tasks (GitHub issues w/ appropriate labels).
[ ] Prioritize efforts

For this issue, I need more explanation
Due to the sanctions of Iran, I can't have Azure
If this Issue (like translation) isn't connected to Azure, or It can be mocked
I like to help 😃


Terminal seems to set npm config prefix and it breaks nvm

This started happening in a recent update, it used to be working fine not that long ago. Whenever I open the built-in terminal this shows up:
nvm is not compatible with the npm config "prefix" option: currently set to "/usr/local"
Run `npm config delete prefix` or `nvm use --delete-prefix v6.11.1 --silent` to unset it.

If I now run npm config get prefix, I get:
/usr/local

This is different than if I run from a regular terminal. I don't get any nvm error and the output is: /Users/pablo/.nvm/versions/node/v6.11.1
It seems like vscode is setting that value.

VSCode Version: 1.18.0-insider 8bc02c7443305a0db442c11b76e67d6f4929dc0e
OS Version: MacOS Sierra

Steps to Reproduce:

Install nvm
Open the built-in terminal in vscode

Reproduces without extensions: Yes

I suspect you're not running your system terminal as a login shell, try adding this setting:
"terminal.integrated.shellArgs.osx": []

Regardless of whether this works or not, somewhere in your ~/.bashrc or ~/.bash_profile or something is running npm config set prefix which does not work in nvm.

I'll check that setting, I doubt about the .bash_profile since this works fine from any other terminal. It only fails from vscode terminal.

@pablote most terminal emulators on macOS run the shell as a login shell which runs your .bashrc, VS Code runs as a login shell to match this which is what the setting I suggested would change.

Actually, .bashrc is for non-login shells, but your suggestion to remove the default -l flag helped me finally...
What I did:

Moved all config from .bash_profile to .bashrc and sourced .bashrc from it
Followed your suggestions to remove the -l arg

Removing the -l option makes the vscode terminal fail on some stuff I have on .bash_profile (iterm2 integration and showing git branch on the prompt), and the nvm just doesn't work anymore:
bash: iterm2_preexec_invoke_cmd: command not found
bash: parse_git_branch: command not found

pablo@batman spinnaker-ui $ nvm
bash: nvm: command not found
bash: iterm2_preexec_invoke_cmd: command not found
bash: parse_git_branch: command not found
pablo@batman spinnaker-ui $

@petrpacas I didn't quite understand what you did with the bash files, and I'd love to try that to see if it fixes this

Ok, got it working by only having this in .bash_profile:
source .bashrc

And previously moving mv .bash_profile .bashrc. I have no idea why this works, but hopefully it will help anyone else running into this.

@Tyriar  Thanks! Add "terminal.integrated.shellArgs.osx": [] worked for me.

@Tyriar Thanks "terminal.integrated.shellArgs.osx": [] worked for me too. All is well again.

Thanks! Add "terminal.integrated.shellArgs.osx": [] worked for me.

I just wrote a FAQ on the website about the proper fix for this issue: https://github.com/Microsoft/vscode-docs/blob/master/docs/editor/integrated-terminal.md#why-is-nvm-complaining-about-a-prefix-option-when-the-integrated-terminal-is-launched


IndexError: list index out of range

Hi there,
I've added your add-one via HACs and fired it up. Unfortunately it doesn't appear to start correctly but rather logs the following..

contact_energy: Error on device update!
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/entity_platform.py", line 573, in _async_add_entity
await entity.async_device_update(warning=False)
File "/usr/src/homeassistant/homeassistant/helpers/entity.py", line 1218, in async_device_update
await hass.async_add_executor_job(self.update)
File "/usr/local/lib/python3.11/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/contact_energy/sensor.py", line 147, in update
if self._api.login() == False:
^^^^^^^^^^^^^^^^^
File "/config/custom_components/contact_energy/api.py", line 35, in login
self.refresh_session()
File "/config/custom_components/contact_energy/api.py", line 57, in refresh_session
self.get_accounts()
File "/config/custom_components/contact_energy/api.py", line 75, in get_accounts
self._contractId = data['accounts'][0]['contracts'][0]['contractId']
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range

Any idea what might be causing this? More than happy to assist troubleshooting.
Cheers, Tim

FYI: I'm not a coder but know enough to be dangerous.
I did some digging within api.py and added _LOGGER.debug(data) to find out what was being returned.
I found that my account returns 3 accounts; 2 of which are cancelled because we used to have gas with Contact but don't anymore.

'accounts': [
{'id': '501001420',
'nickname': '',
'status': 'CANCELLED',
'contracts': []},
{'id': '501001424',
'nickname': '',
'status': 'CANCELLED',
'contracts': []},
{'id': '501131230',
'nickname': '',
'status': 'ACTIVE',
'contracts': [{'contractId': '13xxxxx

So I changed line 74 and 75 (on my local instance) to the following...

        self._accountId = data['accounts'][2]['id']

        self._contractId = data['accounts'][2]['contracts'][0]['contractId']

So now it logs in but no data is returned...

2024-01-30 07:01:07.833 DEBUG (SyncWorker_8) [custom_components.contact_energy.sensor] Beginning usage update
2024-01-30 07:01:07.833 DEBUG (SyncWorker_8) [custom_components.contact_energy.sensor] We appear to be logged in (lets not verify it for now)
2024-01-30 07:01:07.834 DEBUG (SyncWorker_8) [custom_components.contact_energy.sensor] Fetching usage data
2024-01-30 07:01:09.317 ERROR (SyncWorker_8) [custom_components.contact_energy.api] Failed to fetch usage data for 2024/1/20
2024-01-30 07:01:09.318 DEBUG (SyncWorker_8) [custom_components.contact_energy.api] <Response [502]>
2024-01-30 07:01:10.373 ERROR (SyncWorker_8) [custom_components.contact_energy.api] Failed to fetch usage data for 2024/1/21
2024-01-30 07:01:10.373 DEBUG (SyncWorker_8) [custom_components.contact_energy.api] <Response [502]>
2024-01-30 07:01:12.013 ERROR (SyncWorker_8) [custom_components.contact_energy.api] Failed to fetch usage data for 2024/1/22
2024-01-30 07:01:12.013 DEBUG (SyncWorker_8) [custom_components.contact_energy.api] <Response [502]>

At this point I'm well out of my depth!
Cheers, Tim

Hmm, that's an interesting one. Could you please try turn on debug logging on the integration page? Example below is Meridian but it looks the same. Then hit the three-dots and reload? Wait maybe 10 seconds then turn off debug logs and upload them here.

Hi,
I am also not getting any data back. However I am not able to add the Integration to turn on debugging due to the message below:

I have added my details to the configuration.yaml file and I can see the sensors under the energy panel. Am I doing something wrong?

If it helps I've been playing around with the API today in PowerShell and stumbled upon this where he pulls the account information from a different endpoint.
If I access my account information at /accounts/v2 then none of the above "cancelled" accounts get pulled.

Did anything ever come of this?  I have Electricity and Gas with Contact, and at todays prices it'd be great if I could have this information in HA :)


Remove validation_seed method

(Prompted by #2615)
The validation_seed method has been "temporarily" disabled since v0.29.1 (Sep. 2015). (The documentation doesn't reflect this—oops! 😨  )
The recommended way of changing the validation seed is by changing the config and restarting the server. I feel like it's OK to leave it this way and remove the validation_seed method entirely.
We should be sure to remove it from the commandline usage method etc. if we do.

OK, I updated the docs at least.


Overhaul PM Console reference

Addresses https://github.com/NuGet/Home/issues/2107 and https://github.com/NuGet/docs.microsoft.com-nuget/issues/271.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Consume-Packages/Reinstalling-and-Updating-Packages.md
:white_check_mark:Succeeded

docs/Guides/Create-NET-Standard-Packages-VS2017.md
:white_check_mark:Succeeded

docs/Policies/NuGet-FAQ.md
:white_check_mark:Succeeded

docs/TOC.md
:white_check_mark:Succeeded

docs/Tools/Package-Manager-Console.md
:white_check_mark:Succeeded

docs/Tools/PowerShell-Reference.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-add-bindingredirect.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-find-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-get-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-get-project.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-install-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-open-packagepage.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-sync-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-uninstall-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-update-package.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/Consume-Packages/Reinstalling-and-Updating-Packages.md
:white_check_mark:Succeeded

docs/Guides/Create-NET-Standard-Packages-VS2017.md
:white_check_mark:Succeeded

docs/Policies/NuGet-FAQ.md
:white_check_mark:Succeeded

docs/TOC.md
:white_check_mark:Succeeded

docs/Tools/Package-Manager-Console.md
:white_check_mark:Succeeded

docs/Tools/PowerShell-Reference.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-add-bindingredirect.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-find-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-get-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-get-project.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-install-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-open-packagepage.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-sync-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-uninstall-package.md
:white_check_mark:Succeeded

docs/Tools/ps-ref-update-package.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


JLL Registration: JuliaBinaryWrappers/Patchelf_jll.jl-v2019.10.23+1

Autogenerated JLL package registration

Registering JLL package Patchelf_jll.jl
Repository: https://github.com/JuliaBinaryWrappers/Patchelf_jll.jl
Version: v2019.10.23+1

Yay, it worked, kind of. Although I see now I need to open a PR to Registrator to fix updating when we're on a fork.


[Question] why is there no XNAS (NASDAQ) calendar?

I'm using polygon.io API which has market data for the following US exchanges:

XNYS (New York Stock Exchange)
XNAS (NASDAQ)
XASE (NYSE American, LLC)
ARCX (NYSE Arca, Inc.)
BATS (Cboe BZX)

I found that exchange_calendars does not provide XNAS calendar, why?
Do those exchanges always share the same calendar?

To get a list of all supported calendar names:
import exchange_calendars as xcals
xcals.get_calendar_names()

You'll see these include NASDAQ, CBOT, COMEX etc...
Some of these names are aliases for other calendar codes. For example:
>>> cal = xcals.get_calendar("NASDAQ")
>>> cal.name
"XNYS"

closed by #318


OrderedSet append does not return the same type as insert

The API for insert in an OrderedSet is
public mutating func insert(_ item: Element, at index: Index) -> (inserted: Bool, index: Index)

and the one for append is
public mutating func append(_ item: Element) -> (inserted: Bool, index: Int)

I understand the return types are technically the same because Index is Int, always, but from a semantic point of view, shouldn’t the append method return a (inserted: Bool, index: Index) tuple?
Information

Package version: Swift Collection 0.0.2
Platform version: macOS 11.3
Swift version:

Apple Swift version 5.4 (swiftlang-1<IP_ADDRESS> clang-1<IP_ADDRESS>)
Target: x86_64-apple-darwin20.4.0

Checklist

[x] If possible, I've reproduced the issue using the main branch of this package.
[x] I've searched for existing GitHub issues.

Steps to Reproduce
N/A
Expected behavior
OrderedSet’s append method to return (inserted: Bool, index: Index).
Actual behavior
It returns (inserted: Bool, index: Int).

The difference has no runtime or compile time effect, but I guess it does show up in generated interface descriptions.


I want to help translate this

https://github.com/archlinux/archinstall/tree/master/archinstall/locales


Imgbot not running on a public repo

Hey!
Absolutely love imgbot, and have got tons of use out of it. I've seen #757, but I believe my issue is distinct as imgbot has had access to both for over a year.
I have 2 very similar projects, both with hundreds of images, and imgbot works perfectly on one and not at all on the other.

Project 1: Open source jekyll blog, imgbot added with no config, new imgbot PR raised every week or two.
Project 2: Open source jekyll blog, imgbot added with no config, no imgbot PRs ever raised.

I tried requesting an optimisation via imgbot.net 19 hours ago, yet nothing seems to have happened:

Any clues?

As an update, 3 weeks later imgbot still hasn't run, despite a few hundred unoptimized images 😅
https://github.com/JakeSteam/blog-personal/tree/main/assets/images/2023

For me , it did finally Run after a week of waiting. Not helpful to you I know, Just wanted to let you know the service is not entirely dead

@maybeanerd Yep, it works perfectly on one of those two repos, and not on the very similar second repo! It's been over a year, so I don't think it will fix itself..!

I eventually gave up on using imgbot on this repo, since it still did nothing after being removed & readded. I decided to optimised manually, and now suspect the problem was in an underlying dependency, since I had issues with other solutions too!
The repository had 1.5k+ images to optimise, and 186MB of savings, here's the .yml I eventually used to manually optimise: https://github.com/calibreapp/image-actions/issues/118#issuecomment-1950677701

Honestly it looks like this repo is stale. I wish I could get into contact with the owner, I would love to take over it and bring it back to what it was


Document node scenario actions for VMware

We specify that node_stop_start_scenario is not supported on VMware. Should we do the same for all the other non supported scenarios in the list? Otherwise, LGTM

Hi @shreyasar2202, other scenarios in the list rely on Kubernetes API to run, so they should work on all the cloud providers.

/lgtm


Switch to preact

Lets make @_developit happy and switch to preact)))

Lets make @developit happy and switch to preact)))

@kof let's switch to preact. But before resolve conflict and make final docs build.

Keep me posted on this as you merge.

Updated dists, updated version.
But we can't remove "react" and "react-dom" from dependencies because we use them in server.js where aliases such react <==> preact-compat are not available.
But, anyway, our vendor bundle decreased in size from 163kb up to 130kb gzipped. :)

@typical000 how come the aliases aren't available in server.js?
I've seen people do this to enable them:
import moduleAlias from 'module-alias';

moduleAlias.addAliases({
  react: 'preact-compat',
  'react-dom': 'preact-compat'
});

// as before

you can even pull them from your webpack config:
require('module-alias').addAliases(require('../webpack.config.base').resolve.alias);

// as before

@developit Cool! Used module-alias as you suggested! Thank you
Now ssr build works fine! Removed completely react and react-dom

Should I merge it?

I literally just used this technique, so happy to have found it.  I think I stole it from next.js?

@kof I think that - yes. Fixed last lint issues just now. build-html, build:prod, build:dev works fine

merged!


fix: 3.14

--> Fixed missing code from Mehuls fix for dup ack.
--> Merged counters fix.
--> Merged timestamp on counterreport.

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "tar",
    "component": "enforcerd",
    "pr-id": "1637",
    "commit-sha": "0e36a4b2fafb08a6d516986f2250a14d9710a6f4",
    "pipeline": "master"
  },
  {
    "project": "tar",
    "component": "trireme-lib",
    "pr-id": "1015",
    "commit-sha": "7d32fff9734a53d9a3f2556dea4b42ce2a0c3f75",
    "pipeline": "master"
  }
]

/build - automatically fired by gogo with following PRs and commit SHAs v1.0.0
[
  {
    "project": "tar",
    "component": "trireme-lib",
    "pr-id": "1015",
    "commit-sha": "7d32fff9734a53d9a3f2556dea4b42ce2a0c3f75",
    "pipeline": "release-3.14.0"
  },
  {
    "project": "tar",
    "component": "enforcerd",
    "pr-id": "1637",
    "commit-sha": "0e36a4b2fafb08a6d516986f2250a14d9710a6f4",
    "pipeline": "release-3.14.0"
  }
]


MSC1722: Support for displaying math(s) in messages

Rendered
I keep switching between preferring MathML or LaTeX.  This proposal proposes MathML, but investigates LaTeX as an alternative enough to hint as to what a fully worked-out LaTeX proposal might look like.
This proposal is related to https://github.com/vector-im/riot-web/issues/1945

FWIW, to me, the question of whether to use LaTeX or MathML boils down to: would we rather make clients deal with the potential security nightmare of processing a Turing-complete language, or would we rather use a format that displays horribly for clients that don't understand it?

Mathjax and KaTeX don't support all of LaTeX because that would make them vulnerable to malicious input: https://math.meta.stackexchange.com/questions/6177/what-is-the-relation-between-latex-and-mathjax

MathJax Safe mode is what I meant above.
Also KaTeX.

MathML should also be listed as a supported input for KaTeX: MathML should also be listed as a supported input for K

MathML should also be listed as a supported input for KaTeX: KaTeX/KaTeX#593

That issue seems to be about rendering to MathML, rather than rendering from MathML.  I don't see anything about using MathML as an input to KaTeX.

Summarizing some considerations with MathML vs LaTeX:

accessibility: Presentation MathML is not that great for accessibility, since it loses some of the semantics (e.g. $\binom{1}{2}$ becomes a fraction with linethickness=0, which loses the meaning of the expression).  But some screen readers support MathML natively, and MathJax and KaTeX use MathML for accessibility when rendering LaTeX.  I think that for some math, MathML would have better accessibility, whereas for others, presenting raw LaTeX code would be better, so there is no clear winner here, IMHO.
fallbacks: Using MathML would force clients that don't support math to parse the HTML in order to ignore the MathML and extract the fallback information, whereas with LaTeX, the LaTeX code itself could be a reasonable fallback, or it can be embedded in a way that the fallback doesn't need any special processing from the clients.  I think that LaTeX is the clear winner here.
implementing display: or, if a client wants to implement displaying of math that it receives, and can't use a suitable library, how hard would it be to implement it?  Implementing full support for either is pretty hard.  However, the vast majority of math that people would be sending could be supported by supporting a smaller subset, and using a fallback rendering for displaying math that can't be supported.  Most languages have an HTML parser (and if a client is already displaying the formatted_body, then it should have access to an HTML parser), so supporting MathML would be a matter of supporting individual MathML elements and attributes, which can be done incrementally.  However, for LaTeX, it is likely that a client author would need to implement a TeX parser from scratch, and although it would probably not need to be a full TeX parser (e.g. it wouldn't need to implement things like \makeatletter), this would be extra work.  This, along with the security considerations below, may discourage client authors from trying to implement math support.  MathML seems to be the winner here.
implementing math input: If clients want to present some sort of fancy GUI for entering math, either format is probably equally easy to generate (although there may be existing libraries for input that will generate one but not the other).  However, most clients will likely want to allow users to enter math using LaTeX since it is already a common format for math input, and is not too difficult to use.  So clearly, if we use MathML, the client would need to convert from LaTeX to MathML, whereas if we use LaTeX, then the client does not need to do any conversion.  LaTeX is the winner here.
security: MathML is just XML and does not introduce any new vulnerabilities, since clients are parsing HTML anyways.  On the other hand, LaTeX is Turing complete, and malicious input could cause a LaTeX implementation that is not carefully written to behave unexpectedly.  Most well-known libraries should be safe (with the notable exception that using latex itself would be very unsafe), but new implementations may be problematic.  MathML seems to be the winner here.

MathML and LaTeX both have advantages and disadvantages.  I think that the answer to which one is the best to use depends on the relative weights assigned to different factors.

I am deeply concerned with how verbose MathML is and it would likely bother folks to have to write a load of XML for a similar string of LaTeX.

What about treating LaTeX as an input method for MathML, in the same vein that markdown is an input method for HTML-formatted messages?

I am partial towards implementing it at client side. We just transfer the Math as LaTeX which saves bandwidth, and we leave it upto the client whether it wants to render it as Math or just leave it as it it. This way it works at least for those who are used to communicating mathematical expressions regularly.
As to which markup to use, there are a few other options that simply $ and \( \).

$$ expression $$ which can avoid false positives although it is now deprecated TeX syntax.
`$ expression $` which will enclose it in code tags which we can post-process to look for Math expressions.

There are other approaches listed at cben/mathdown/wiki/math-in-markdown, Yihui Xie / 2018-07-22 and one working example at Upmath.me.

We're not going to debate delimiters in here, because in this part of the Math support, we're not going to be using plain text delimiters.  The plain text message format should be left as-is by clients, and the HTML format should use HTML-like tags.  If we use embed LaTeX in messages, it will probably be something like <mx-maths>\sin x^2</mx-maths> in the message format.  It's fine to debate delimiters in the Riot issue as far as it pertains to users typing in the math, but for the part that this proposal addresses, it's out of scope.
Preferring LaTeX over MathML due to bandwidth considerations is fine, but there are a lot of other considerations, which we need to weigh bandwidth usage against.  I like LaTeX too, but there are many reasons why it could end up being problematic.  I'd love it if someone could come up with a compelling case as to why LaTeX is objectively better than MathML that addresses all the downsides of LaTeX.

[…] this would be super sweet to have right here right now :rofl:

I am strongly in favour of transporting raw TeX math notation, instead of MathML.
For me, it boils down to the question: In a plain text environment (e.g. command line IRC clients), how do people communicate math? In my experience, for simple things, people use "programming syntax", e.g. ((1 + 3) * 8)^2 / 2 = 512. For anything more complicated, they either use TeX math notation (e.g. \sum_{i=1}^n i = \frac{n(n+1)}{2}), or perhaps most commonly a mix of both (e.g. \sum_{i=1}^n i = n(n+1) / 2), using TeX only for the parts that can't be described using the aforementioned "programming syntax".
Thus, I would imagine that the developer of a terminal-only Matrix client would like to display maths in raw TeX notation, if not simplifying to "programming syntax" whenever possible (e.g. \frac{n(n+1)}{2} becomes n(n+1)/2). That's what the user expects after all.
If maths is transferred using MathML instead TeX as one might expect, the maintainer of said terminal client would have to implement a converter from MathML to TeX, which AFAIK is a non-trivial task. Even if implemented, I'm also concerned that a TeX -> MathML -> TeX round-trip may not be entirely lossless. Since the sender's client probably uses TeX to input math, they probably expect that any clients that can't display TeX would just receive the same TeX code they sent verbatim; a lossy conversion from TeX to MathML and back is not what they'd expect or want.
Regarding security, I feel like talking about the turing completeness of LaTeX the monolithic typesetting framework is especially relevant to a discussion regarding TeX as maths notation. The common subset of LaTeX's maths notation that libraries such as MathJax and KaTeX support is not Turing complete. Furthemore, MathML has actually been the culprit behind numerous security vulnerabilities. Just last week, for example, I read about a bug in DOMPurify that used MathML to enable cross-site scripting. Google even dropped support for MathML from its Chromium browser, citing security and maintainability concerns.

This MSC should probably be closed. The momentum is definitely behind the counter proposal for LaTeX: https://github.com/matrix-org/matrix-doc/pull/2191 with WIP implementations for element-web and -android.

Good point.  Given that we've had at least three implementations of #2191, and none for this, it seems #2191 is the one that most people want.  I'm withdrawing this and renaming #2191 to be more generic.


It doesn't render all the classes

The overall output and the formatting of esdoc is really better than docco/jsdoc in my option, however I'm having issues with some of my react components.
It displays about the half of this components. I don't use ES7 and I don't see errors during the building process.
Also, the coverage is stuck at 1.33% from yesterday despite the fact that I have added many esdoc-formatted comments.
 My fork uses Babylon as the AST parser (as will the forthcoming official v1.0 release). It is considerably more tolerant for an ES6+ code base. The current released version of ESDoc has outdated dependencies on several fronts.
If by chance my fork solves your problem then do consider being an early tester of ESDoc v1.0 to make sure it also works. Consider closing this issue if that is the case too!

Hey man thanks for the fast reply. I'll give it a try in say 8 hours, when I'll get back to work.

Same issue with your fork @typhonrt, sorry. It doesn't find formatted comments in componets with names like "SetMainParameters", "SetMailParameters", "SetNetworkParameters" etc

Can you possibly provide a reasonable snippet of code below or a repo to look at?

Yup. Here's the gist with a couple of components and my esdoc.json:
https://gist.github.com/jkomyno/6af121d4b79dbb984c60c32f98394462

Offhand without testing anything is it the methods with @param which are not showing up? ESDoc as things go has somewhat fragile regex parsing. See the docs for @param.
Instead of...
/**
   * Binds to this every method of the class
   * @param {Object} [name="props"] - props passed to the component
   */

It should be...
/**
   * Binds to this every method of the class
   * @param {Object} props - props passed to the component
   */

IE remove the brackets and name="".

Nothing changes. Actually that [name="props"] stuff was a misprint of mine, due to the fact that I also tried another js doc generator after esdoc, and I still had a couple of modules with a non-esdoc-formatted syntax. However, after having corrected that, nothing changes. I also tried applying the ES7 plugin (even though I use ES6 ), but with no result.

https://gist.github.com/jkomyno/6af121d4b79dbb984c60c32f98394462

SetSnmpParameters is not exported. ESDoc outputs only exported identifiers. If you want to change this behavior, you can use config. unexportIdentifier = true. More document is here
// this is not exported.
class SetSnmpParameters extends React.Component { ... }

// this is exported.
export class SetSnmpParameters extends React.Component {...}

Thanks, I'll try tomorrow. I thought the export default at the end of the class was enough

Yeah it works, thanks a lot!

Dang I should have seen / asked that re: "unexportIdentifier" in config. @jkomyno please consider closing the issue at this point. Welcome to ESDoc!

To everyone who may have the same problem using Redux's MapStateToProps or MapActionsToProps with {connect} provided by react-redux: if you're going to use ESDoc, you must add the "export" keyword just besides the class declaration. Otherways, with the export default only at the end of the class declaration, ESDoc won't work, because it doesn't recognize the original class.
@h13i32maru, I suppose a small warning regarding this fact may be added to the README.md or to the official docs, do you agree?


Enhance use of objects

Codecov Report
Patch coverage: 44.23% and project coverage change: -0.67% :warning:

Comparison is base (e31f517) 69.45% compared to head (b48decb) 68.79%.

Additional details and impacted files
@@                Coverage Diff                @@
##           release/0.0.x      #90      +/-   ##
=================================================
- Coverage          69.45%   68.79%   -0.67%
=================================================
  Files                 40       40
  Lines               1624     1644      +20
=================================================
+ Hits                1128     1131       +3
- Misses               496      513      +17

Files Changed
Coverage Δ

src/sdr/_simulation/_impairment.py
57.62% <0.00%> (ø)

src/sdr/plot/_filter.py
11.92% <20.00%> (-0.08%)
:arrow_down:

src/sdr/_filter/_iir.py
64.78% <33.33%> (ø)

src/sdr/_loop_filter.py
92.50% <50.00%> (ø)

src/sdr/_filter/_fir.py
70.31% <66.66%> (-0.66%)
:arrow_down:

src/sdr/_farrow.py
85.96% <100.00%> (ø)

src/sdr/_filter/_fir_interpolator.py
95.16% <100.00%> (ø)

src/sdr/_nco.py
95.16% <100.00%> (ø)

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


Current implementation only supports equal length strides in the row and column dimensions.

When I use layers related  to DepthwiseConv2d operation, such as tf.keras.layers.SeparableConv2d, exception occurs like that: 'Current implementation only supports equal length strides in the row and column dimensions. [Op: DepthwiseConv2dNative]'. It means that i cannot use parameter 'strides' like [1, 2], however, that conflicts with the documentation, which allows 'strides'  with list format without mentioning that elements within the list should be the same.
I'm using TensorFlow 2.0.0, and I guess this bug exisits in 3D scenariothe and further edition.

Hi @beginner401!
Could you please the template too as it helps us analyse the issue [tf version, steps followed before you ran into this error or stand alone code/colab gist to reproduce the issue faced].Thanks!

System information

Ubuntu 20.04.2 LTS (GNU/Linux 5.4.0-74-generic x86_64)
TensorFlow 2.0.0 installed by anaconda
gcc (Ubuntu 9.3.0-17ubuntu1~20.04) 9.3.0
NVIDIA-SMI 460.80       Driver Version: 460.80       CUDA Version: 11.2
Describe the current behavior
tf.keras.layers.SeparableConv2d do not support different value for rows and columns, caused by depthwiseConv2dNative not supporting different stride value for rows and columns.
Describe the expected behavior
tf.keras.layers.SeparableConv2d and depthwiseConv2dNative obviously should support different value for rows and columns.

Standalone code to reproduce the issue
e.g.
separable_conv2d = tf.keras.layer.SeparableConv2D(32, 3, [1, 2], depth_multiplier=3)
Other info / logs

Hi @beginner401 ! I could not replicate this issue from above stand alone code in TF 2.0/TF 2.7 (Colab) . Could you try again in latest version? Attaching Gist for reference. Thanks!

Hello, it seems that when I upgrade my tensorflow version to the latest 2.7, similar exceptions still occurs, the error-info takes a bit changes, but the problem stay the same. Have you ever call your layer after defining it? Only defining the layer doesn't work, you should try to at least call it once, Thanks!
I copy the same environment as 2.0, and just upgrade my tensorflow to the latest. By the way, my environment has installed tensorflow-probability, I suggest that makes no sense, but maybe that's valuable for you.
Below is the error info for the latest version:

Hi @beginner401 !
Please post this issue on keras-team/keras repo. too.
To know more see;
https://discuss.tensorflow.org/t/keras-project-moved-to-new-repository-in-https-github-com-keras-team-keras/1999 . Thanks!

Hi @mohantym !
I have post this issue on keras-team/keras repo., and thanks for your guidance.


Apply link icons to group block with enable group link active.

I"m not sure this should be done...


ChargeDetailCard

https://github.com/tighten/nova-stripe/blob/b47876d6094b06da75bf142f872355764c030092/resources/js/components/cards/ChargeDetailCard.vue#L92
https://github.com/tighten/nova-stripe/pull/8
Although a zero fee does fix this issue, I feel like further integration or investigation is required.

Please feel free to share any other notes you have about how you'd like to integrate or investigate.


Authentication fails unexpectedly

Hello,
I am trying to setup the extension on my machine. Then I set up my project to connect via password I got an error: "All configured authentication methods failed".
{
    "protocol": "sftp",
    "host": "*******************.compute.amazonaws.com",
    "password": "**********",
    "username": "ubuntu",
    "remotePath": "/home/ubuntu/"
}

If I try to connect via pageant (I have my private key in it), I get an error: "Unexpected disconnection from agent".
{
    "protocol": "sftp",
    "host": "*******************.compute.amazonaws.com",
    "agent": "pageant,
    "username": "ubuntu",
    "remotePath": "/home/ubuntu/"
}

Second setup works on other Windows 10 PC.
According to auth log in server, sftp, does not even try to connect.
Also psftp (from PuTTy) works normally.
Any ideas?
Thank you, in advance :)

For the first error, your server may disabled password login. For the second please check whether the agent sets up properly.

this is the error when i use ssh-agent:
{"remotePath":"/data/web/kuboluo.com/sdb.kuboluo.com/src/wx/","uploadOnSave":false,"downloadOnOpen":false,"ignore":[],"concurrency":4,"protocol":"sftp","connectTimeout":10000,"interactiveAuth":false,"secure":false,"passive":false,"remoteTimeOffsetInHours":0,"port":10220,"host":"<IP_ADDRESS>","username":"******","agent":"/tmp/ssh-R2Q3Dnay3mTN/agent.21052","name":"default config"}
[error] Error: [<IP_ADDRESS>]: All configured authentication methods failed

I got the same issue.
putty works (through password authentication), the extension doesn't.
It is a thing.
Password login is not disabled.

Hello,
I am trying to setup the extension on my machine. Then I set up my project to connect via password I got an error: "All configured authentication methods failed".
{
    "protocol": "sftp",
    "host": "*******************.compute.amazonaws.com",
    "password": "**********",
    "username": "ubuntu",
    "remotePath": "/home/ubuntu/"
}

Same for me. The problem is not on the server side. Connecting through FileZilla with sftp protocol and password authentication works with no issues.


🚀 Feature: Dashboard Page and Create/Delete Chatbot

🔖 Feature description

dashboard Page
create chatbot
delete chatbot
update chatbot

🎤 Why is this feature needed ?
Needed for react client
✌ How do you aim to achieve this?
using react
🔄 Additional Information
No response
👀 Have you spent some time to check if this feature request has been raised before?

[X] I checked and didn't find similar issue

Are you willing to submit PR?
Yes I am willing to submit a PR!

Go ahead!


Nominatim search for "san marino" returning no results when it should

Bug description
This search for San Marino has no results:
https://openhistoricalmap.org/search?query=san marino#map=7/44.153/-120.515&layers=O&date=1859&daterange=1859,2022

San Marino is quite well mapped:
https://www.openhistoricalmap.org/#map=13/43.9399/12.4725&layers=O&date=1900&daterange=1800,2021
Here's a relation with "San Marino" in the name:
https://www.openhistoricalmap.org/relation/2692735#map=13/43.9399/12.4510&layers=OND&date=301&daterange=301,2021
We would expect that to be found when searching for "san marino".
This works though:

https://www.openhistoricalmap.org/search?query=San Marino 1463-present#map=13/43.9426/12.4594&layers=OND&date=301&daterange=301,2021
this does not:
https://www.openhistoricalmap.org/search?query=San Marino#map=13/43.9426/12.4594&layers=OND&date=301&daterange=301,2021

This is also true of Oregon:
This one has 4 results:
https://www.openhistoricalmap.org/search?query=Oregon Territory
But this has only one:
https://www.openhistoricalmap.org/search?query=Oregon
At least part of the issue seems to be that it is not doing substring search

@batpad who do we know in the larger OSM community who we could reach out to on this one?
It seems clear that the data is in Nominatim's database, so not an issue of data syncing between main DB and Nominatim, but one can only get those results by typing in the exact name to get a result.
Looking at OSM for "oregon" and you get a lot more results:
https://www.openstreetmap.org/search?query=oregon#map=13/41.6782/-83.4387
It appears to be doing substring search on, eg, Oregon County, but I wonder if that's really true or if all these items have other searchable tags that are just "oregon"
EG, here's "Oregon county" with an "alt name" of "Oregon"
https://www.openstreetmap.org/relation/1180502
But this one seems like a substring:
https://nominatim.openstreetmap.org/ui/details.html?osmtype=W&osmid=722118662&class=man_made
https://www.openstreetmap.org/way/722118662
The only visible instance of "Oregon" there is name:etymology:wikipedia | en:Hawthorne Boulevard (Portland, Oregon)
So the question is how can we get our instance of Nominatim to treat name | San Marino 1463-present the same as OSM Nominatim is treating name:etymology:wikipedia | en:Hawthorne Boulevard (Portland, Oregon)

I discussed this with @batpad and here are notes from that:
Potentially 3 things:

We are one version behind latest Nominatim, says Ruben -- maybe a good idea to update anyways but we have little hope that that would fix this.
Speaking to someone: reach out to Sarah Hoffman, the Nominatim lead dev / maintainer - Sajjad has connection thate
Another thing to try maybe is to setup an instance of Pelias talking to the OHM database.

There's folks doing something similar to OSM-seed and they have a Pelias container packaged: https://github.com/headwaymaps/headway/tree/main/services/pelias - it seems like it might not be too much work to set it up and get it to read from our replication and just explore if that gives us better results / maybe more configurable, etc.
I'll check with @geohacker about an intro to Sarah Hoffman. Since OSM is using Nominatim and getting better substring search results, this feels like something that might be solvable without actually getting into Nominatim internals. Though that won't tell us if Pelias might be a better long term search solution...

I'll try to tag @lonvia here to see if she might have any ideas. I mentioned to Sarah at SOTM that we are using Nominatim for OHM and have some quirks which we aren't entirely sure about.
To summarise, in this particular case:

There's an admin level 2 relation https://www.openhistoricalmap.org/relation/2692735#map=13/43.9397/12.4509&layers=OND&date=1922-01-01&daterange=1922-01-01,2022-12-31 named San Marino 1463-present
There's a place=country node named San Marino https://www.openhistoricalmap.org/node/2090640309#map=20/43.93771/12.46485&layers=OND&date=1463-06-27&daterange=1463-06-27,2022-12-31
There's a place=city node named City of San Marino
But searching san marino brings up no results.

I think we are most certainly misinterpreting Nominatim's behaviour and expecting something that our instance isn't configured properly for. @lonvia, would be great if you have any thoughts or directions you can point us in. Thank you!

That's indeed a problem of partial name matching, i.e. Nominatim having trouble to match san + marino with "San Marino 1463-present". The good news is that much of this is improved in the latest 4.1 version. So updating your installation might already solve that particular issue. However there is a fundamental problem with your names here, which you should look into.
Nominatim has a very heavy bias towards matching against the full strings in the name tag. That can't be changed without ending up with a lot of false positive results. Names like 'San Marino 1463-present', which contain multiple pieces of information, are really bad. There are three ways to solve the problem:

Introduce the equivalent of start_date and end_date and move the extra information to separate tags. This is the cleanest solution but not always possible.
Establish the convention that the date information must go into brackets: San Marino (1463-present). Nominatim's tokenizer already has a special handling of names with brackets like that and will assume that 'San Marino' is a full name in this case. To be precise, it will add the full names 'San Marino' and 'San Marino 1463-present'. Maybe exactly what you need, maybe not.
Write your own tokenizer. That would be the really advanced version. The newest version of Nominatim allows you to preprocess the names before they are added into the search index, see this tutorial (part 'Write your own sanitizer'). So, whatever conventions you come up with for the name tag, you can write your own parser for that.

The particular result should also be findable via the linked place name but I'd need the link to your Nominatim installation directly to check what is going on in the database. It's quite probable that this has been solved in the newest Nominatim version, too, with https://github.com/osm-search/Nominatim/pull/2637.

Thank you @lonvia for the quick and detailed response! This is great news -- so we can focus on (a) updating to latest Nominatim and (b) keeping dates out of names.
@jeffreyameyer for the dates in names, I think if we want those to appear in various places, we should try to add them from our already existing start_date and end_date tags programmatically, like appended to labels in map tiles at generation, or added to sidebar names via Rails or Javascript code. That way the name stays what it is and dates get added where we want them consistently, without confusing the name field.
We'll still want to upgrade Nominatim to get best possible results, but this is a good outcome!

@danrademacher , I am going to work on updating nominatim to the latest version!! let see if how that works.

Excellent!
I went ahead with the brackets/parentheses change as the first and easiest thing:
https://www.openhistoricalmap.org/changeset/42589#map=13/43.9427/12.4594&layers=OND&date=0301-09-03&daterange=0301-09-03,2022-12-31
But in our current version of Nominatim at least, that didn't make any difference:
https://www.openhistoricalmap.org/search?query=San Marino#map=17/43.95403/12.40774&layers=O&date=1922-01-01&daterange=1922-01-01,2022-12-31
Also note that we recently got a request to add dates to feature labels in iD, https://github.com/OpenHistoricalMap/issues/issues/430. Not sure how something similar could be done in JOSM. That would help a lot in terms of shoing dates without messing with the name value

The brackets should have worked even in the old Nominatim version. I see now that there is another problem with San Marino. It is a boundary on admin_level=2 aka country level. This is going to confuse Nominatim because countries are handled special. And Nominatim makes the assumption that there is exactly one country version of each country. You probably have more than one. At this point we should have a chat about how you expect the historical data to be handled by Nominatim when it is creating addresses. Depending on the answer we can see how to tweak your instance to handle the data right.

Nominatim container  has been updated to 4.1 !! but  does not show the san marino  results yet.

OK, thanks @Rub21! Based on @lonvia's last note, it sounds like we have additional issues to work through here about how Nominatim treats admin-2/countries. I reassigned this ticket to @jeffreyameyer for follow up on our larger expectations for how Nominatim should be working

Further notes from team discussion

@jeffreyameyer to follow up with @lonvia to queue up a love conversation ideally also with @batpad and @geohacker
We think our focus should be on writing a custom tokenizer as suggested, above. See https://nominatim.org/release-docs/4.1.0/develop/Tokenizers/

@Ionvia - first of all, THANK YOU SO MUCH for showing up to help us with our issues. Search is a critical functionality and we've been wrestling with a few issues for a while. Feels good to get your thoughts!

... This is going to confuse Nominatim because countries are handled special. And Nominatim makes the assumption that there is exactly one country version of each country. You probably have more than one. At this point we should have a chat about how you expect the historical data to be handled by Nominatim when it is creating addresses. Depending on the answer we can see how to tweak your instance to handle the data right.

Your guesses are spot on - we definitely need more than 1 version of a country. The US alone probably has 50+ versions. Where can we go to find out more about how Nominatim handles countries? Also, how does it handle states? I'm now realizing that the funny behavior we've seen where Seattle or other places end up as locations in "The Republic of Texas" may be the result of some address reconstruction.
From #374:

Introduce the equivalent of start_date and end_date and move the extra information to separate tags. This is the cleanest solution but not always possible.

Any object (typically relations) with years in the name=* tag should already have start_date and end_date populated.

Establish the convention that the date information must go into brackets: San Marino (1463-present). Nominatim's tokenizer already has a special handling of names with brackets like that and will assume that 'San Marino' is a full name in this case. To be precise, it will add the full names 'San Marino' and 'San Marino 1463-present'. Maybe exactly what you need, maybe not.

This is totally reasonable. The dates are a critical piece of identifying / differentiating information that should always travel with the more common name string. I realize this sounds a bit odd and counter to data best practices, but we cannot guarantee what downstream forms the data will take. If there are some tools that parse only name and not the start and end date info, the resulting entries in that tools' table will be very difficult to differentiate.
In some ways, this is akin to our desire to put source=* tags on every object, as opposed to at the changeset level - the changeset source info is pretty inscrutable to the casual viewer looking at a single OSM object.

@lonvia - that all said, what's the best way to get in touch to coordinate a meeting, if you're open to that? Maybe a quick chat to start - 20-30 min?

Your guesses are spot on - we definitely need more than 1 version of a country. The US alone probably has 50+ versions. Where can we go to find out more about how Nominatim handles countries? Also, how does it handle states? I'm now realizing that the funny behavior we've seen where Seattle or other places end up as locations in "The Republic of Texas" may be the result of some address reconstruction.

Exactly. The problem is not only with country levels but with all address parts. The difference is that with country names it breaks in a way that you can't even search anymore, For other address parts the display output just becomes funny and you might get some odd false positive results.

@lonvia - that all said, what's the best way to get in touch to coordinate a meeting, if you're open to that? Maybe a quick chat to start - 20-30 min?

A chat would be the easiest way forward. Can you send me an email with some time suggestions? I'm in UTC+2.


macOS 12 beta: Error: undefined method `path' for nil:NilClass

brew config output
HOMEBREW_VERSION: 3.2.12
ORIGIN: https://github.com/Homebrew/brew
HEAD: 48bbc53fb8bbdc7aaf5b8f2996081fea1f51ca4e
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 86e65bbb8c6fdb345dbeb7bdf22eae1ecba6f529
Core tap last commit: 32 minutes ago
Core tap branch: master
HOMEBREW_PREFIX: /usr/local
HOMEBREW_CASK_OPTS: []
HOMEBREW_MAKE_JOBS: 12
Homebrew Ruby: 2.6.3 => /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/ruby
CPU: dodeca-core 64-bit kabylake
Clang: 12.0.5 build 1205
Git: 2.30.1 => /Applications/Xcode.app/Contents/Developer/usr/bin/git
Curl: 7.77.0 => /usr/bin/curl
macOS: 12.0-x86_64
CLT: N/A
Xcode: 12.5.1

### `brew doctor` output

```shell
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  libu2f-host
  proj@7

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.

Warning: Your Xcode (12.5.1) is too outdated.
Please update to Xcode 13.0 (or delete it).
Xcode can be updated from:
  https://developer.apple.com/download/more/

Warning: Your Xcode (12.5.1) is outdated.
Please update to Xcode 13.0 (or delete it).
Xcode can be updated from:
  https://developer.apple.com/download/more/

If 13.0 is installed, you may need to:
  sudo xcode-select --switch /Applications/Xcode.app
Current developer directory is:
  /Applications/Xcode.app/Contents/Developer

Warning: Broken symlinks were found. Remove them with `brew cleanup`:
  /usr/local/bin/gitkraken

###

- [X] I ran `brew update` and am still able to reproduce my issue.
- [X] I have resolved all warnings from `brew doctor` and that did not fix my problem.

### What were you trying to do (and why)?

I get an error when I run either:
- `brew install <package_name>`
- `brew upgrade <package_name>`

### What happened (include all command output)?

$ brew update <package_name> OR brew install <package_name>
Warning: You are using macOS 12.
We do not provide support for this pre-release version.
You will encounter build failures with some formulae.
Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels. You are responsible for resolving
any issues you experience while you are running this
pre-release version.
Error: undefined method path' for nil:NilClass Did you mean?  paths /usr/local/Homebrew/Library/Homebrew/extend/os/mac/extend/ENV/super.rb:117:in setup_build_environment'
/usr/local/Homebrew/Library/Homebrew/extend/ENV.rb:48:in with_build_environment' /usr/local/Homebrew/Library/Homebrew/requirement.rb:205:in yielder'
/usr/local/Homebrew/Library/Homebrew/requirement.rb:68:in satisfied?' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:548:in block in expand_requirements'
/usr/local/Homebrew/Library/Homebrew/requirement.rb:249:in block in prune?' /usr/local/Homebrew/Library/Homebrew/requirement.rb:247:in catch'
/usr/local/Homebrew/Library/Homebrew/requirement.rb:247:in prune?' /usr/local/Homebrew/Library/Homebrew/requirement.rb:236:in block (2 levels) in expand'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in each_key' /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:338:in each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/delegate.rb:83:in method_missing' /usr/local/Homebrew/Library/Homebrew/requirement.rb:235:in block in expand'
/usr/local/Homebrew/Library/Homebrew/requirement.rb:234:in each' /usr/local/Homebrew/Library/Homebrew/requirement.rb:234:in expand'
/usr/local/Homebrew/Library/Homebrew/formula.rb:1811:in recursive_requirements' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:538:in expand_requirements'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:485:in compute_dependencies' /usr/local/Homebrew/Library/Homebrew/formula_installer.rb:209:in verify_deps_exist'
/usr/local/Homebrew/Library/Homebrew/formula_installer.rb:200:in prelude' /usr/local/Homebrew/Library/Homebrew/install.rb:297:in block in install_formulae'
/usr/local/Homebrew/Library/Homebrew/install.rb:272:in map' /usr/local/Homebrew/Library/Homebrew/install.rb:272:in install_formulae'
/usr/local/Homebrew/Library/Homebrew/cmd/install.rb:206:in install' /usr/local/Homebrew/Library/Homebrew/brew.rb:129:in '

### What did you expect to happen?

I expected to install/upgrade `<package_name>`.

### Step-by-step reproduction instructions (by running `brew` commands)

```shell
Installing a package:
1. `brew install <package_name>`
2. Shows error

Updating a package:
1. `brew upgrade <package_name>`
2. Shows error

This is why:
Warning: Your Xcode (12.5.1) is too outdated.
Please update to Xcode 13.0 (or delete it).
Xcode can be updated from:
  https://developer.apple.com/download/more/

I'll fix it so this is more obvious rather than the error that's currently happening.
Note that Xcode 13 RC is not compatible - use Xcode 13 beta 6 until the Xcode 13.1 beta is available.


Support IRB console

Motivation
Currently, the irb command always opens up a fresh IRB session, which means:

Users won't have access to debug's commands in this mode.
To use debug commands, users need to leave the IRB session first, which means losing IRB commands or feature like multi-line input.
Moving between the 2 modes is not practical and doesn't provide a good experience.

So in this PR, I enhanced the irb command by making it activate IRB's new irb:debug integration.
And if users want to always activate the new IRB console, without constantly typing irb command manually, they can achieve this by setting CONFIG[:irb_console] to true.
Closes https://github.com/ruby/irb/issues/712
Changes
When the new irb command is executed, it will:

Open a new irb:rdbg console, which is achieved by replacing debug's UI_LocalConsole UI with IRB's IRB::Debug::UI.
In addition to replacing the UI class, it also performs a few setups like:

Making the debug gem skip IRB's frames.
Patch IRB's Context#evaluate method so when it evaluates IRB commands frozen threads will be temporarily unfroze.

Furthermore, if users set RUBY_DEBUG_IRB_CONSOLE or CONFIG[:irb_console] to true, then the irb:rdbg console will be opened automatically in the sessions.
Main differences

In this new session, users can access both IRB and debug's commands, instead of just IRB's.
Since users have the features of both tools in the session, I didn't implement a way to "exit" back to debug's default console.

I'll be happy to make a follow up PR for it if it's proven useful in some cases.

Excited for this one! 😁

Is this intentional?
[master]$ RUBY_DEBUG_IRB_CONSOLE=true exe/rdbg -O target.rb
DEBUGGER: Debugger can attach via UNIX domain socket (/run/user/1000/ruby-debug-ko1-223275)
/home/ko1/ruby/install/trunk/lib/ruby/gems/3.3.0+0/gems/debug-1.8.0/lib/debug/color.rb:22: warning: already initialized constant DEBUGGER__::Color::SUPPORT_COLORABLE_OPTION
/home/ko1/ruby/debug/lib/debug/color.rb:22: warning: previous definition of SUPPORT_COLORABLE_OPTION was here
[1, 10] in target.rb
     1|
=>   2| n = 10
     3| p 1
     4| p 2
     5| p 3
     6| p 4
     7| p 5

and
irb:rdbg(main):002> n
[1, 10] in target.rb
     1|
     2| n = 10
=>   3| p 1
     4| p 2
     5| p 3
     6| p 4
     7| p 5
     8|
     9|
    10| __END__
=>#0    <main> at target.rb:3
irb:rdbg(main):003>

(n as next command)

For the remote connection, hmm... ignore this option?
It is safer strategy for VSCode (DAP).

@ko1 great catch on the doc and remote mode issue. I've fixed both now.

(n as next command)

Yes this is expected. The irb:rdbg integration only handles IRB commands and passes other types of input to debug.

Yes this is expected. The irb:rdbg integration only handles IRB commands and passes other types of input to debug.

This is why I could not allow to input Ruby expression (and allow with Reline prompt changing).
Could you consider to use escaping such as , next which is used on VSCode DAP REPL?

Thanks for raising this 🙏  I talked to a few users during RubyConf and some said they did experience the issue before.
But we all think it's better not to add the comma prefix. Because it means users will need to constantly be aware of which commands are from IRB (without comma) and which are from debug (with comma), which increases the learning curve for the feature.
Alternatively, I think we can add an input hint to let user know the current input will be treated as a debug command through https://github.com/ruby/irb/pull/768.

Alternatively, I think we can add an input hint to let user know the current input will be treated as a debug command through https://github.com/ruby/irb/pull/768.

It is one idea. How to know the string is debug command or not?

@ko1 In IRB v1.10, I added hint to irb:rdbg session, which only show up when the input will be processed as debug command. And it will be removed once the user hits enter so it doesn't pollute the output history. Finally, it will be disabled if the user has no_hint set for debug.
I've bumped the PR's IRB requirement to v1.10 to take advantage of this feature. Here's a short demo:
https://github.com/ruby/debug/assets/5079556/a69fe51b-561a-423e-b0b8-d3b424ebc2c2

Thank you. It's great.


E2E: TokenDeleteTransaction

### Tasks
- [ ]  Implement E2E `TokenDeleteTransaction` tests specified in the documentation added by https://github.com/hashgraph/hedera-sdk-tck/issues/142.

What is this issue meant to track? It seems like it's maybe a duplicate of either #143 or #243.

What is this issue meant to track? It seems like it's maybe a duplicate of either #143 or #243.

I apologize for the oversight. It looks like this issue is indeed a duplicate of either #143 or #243. I hadn't noticed those earlier, but thank you for pointing it out. I'll go ahead and close this one to avoid any redundancy.

What is this issue meant to track? It seems like it's maybe a duplicate of either #143 or #243.

I apologize for the oversight. It looks like this issue is indeed a duplicate of #143 I hadn't noticed those earlier, but thank you for pointing it out. I'll go ahead and close this one to avoid any redundancy.

No worries!


Is there any option to add default 'to address ' in compose window

Is there any option to add default 'to address ' in compose window in events like
gmail.compose.start_compose()
gmail.observe.on('compose'
by passing email address?
edited:
tried
gmail.observe.on('compose', function(obj) {
         compose_email =<EMAIL_ADDRESS>         $('.wO').append('

'+compose_email+'

<input name="to" type="hidden" value="'+compose_email+'">
');
        });

Compose is object with lots of methods.
Why not use those provided?

Compose is object with lots of methods. Why not use those provided?
This really should be covered by the stuff already there, but I see that in the readme that compose-functionality is under-documented.
If you'd like to fix that, any such PR will be accepted :)

worked the following code:
gmail.observe.on('compose', function(obj) {
         compose_email =<EMAIL_ADDRESS>         setTimeout(function(){
                obj.find('textarea.vO').val(compose_email);
                compose_email = '';
         },500);
 });

Why not use the compose object directly?
gmail.observe.on('compose', function(compose) {
         setTimeout(function(){
                compose.to(compose_email);
         },500);
 });````


Various fixes to ByteBuffer

-Fix exception when put()'ing a zero byte array
-Fix getInt() methods returning a short value
-Fix relative get() using the index instead of the supplied position
-Add long put/get

Please, add tests. You should run them both from JVM and TeaVM. For the latter simply build teavm-tests and open target/javascript-tests/junit.html in the browser. Or use command line tool to build one tests: org.teavm.cli.TeaVMTestRunner -d <target_dir> <test_class>, and don't forget to include all necessary jars into classpath.

Added tests.  They pass on TeaVM and JVM.


PTX-1404 add subpath to wordpress

@thiguetta , can we also queue to run this app in your dev test job?

tests running here https://jenkins.portworx.co/job/Torpedo/job/tp-dev-test/224/console we can merge once done

test passed

Can you try adding wordpress to one of the stable official jobs


implements unified people and adds pod spec file

– adds podspec file based on https://gist.github.com/heardrwt/1ed602417c7d3b9daa96.
– unify duplicates records if the contact exists in multiple sources, see http://stackoverflow.com/a/11480352/255463 and #33.

Please, accept this pull request...


Support for drop zones beyond container size

Hi!
I was wondering if there's a way for a container drop zone to expand larger than the container itself.
Example:
https://user-images.githubusercontent.com/32264015/150443983-5ee77c53-5cec-4886-b6b5-1814b799bf6f.mp4
Thanks!

@Ordinal43 Working on it!


Laravel 10.18.0 Shift

This pull request includes updates for the recent minor version release of Laravel as well as updates to your package dependencies. Feel free to commit any additional changes to the shift-ci-v10.18.0 branch.
Before merging, you need to:

Checkout the shift-ci-v10.18.0 branch
Review all pull request comments for additional changes
Run composer update
Thoroughly test your application (no tests?, no CI?)

:warning: The Shift build servers run PHP 8.1. If you are running a different version of PHP you should run composer update locally to ensure you have the proper versions of your dependencies to reflect your PHP environment.


SVG icon sheet task, demo, and docs

If you like the approach I can try applying it to 2.0, just let me know how you'd want to handle it (if you do).
One other thing I noticed is that you've got screen reader text embedded in span elements. With svg you can add semantic title and desc elements instead (as well as appropriate WAI-ARIA attributes) for greater accessibility.

Thanks! Looks great at first glance. When I get a chance to test it out, I'll give more feedback, or merge it.

Just letting you know I haven't forgot about this. Just tried it out on a project and love it. This will make it in. I might tweak the docs and task names a tiny bit. Thanks for this!

Awesome :+1:

A version of this is in 2.0 now! Thanks for your help. I took out the cheerio bit because I like to have more fine grained control and sometimes want to leave a fill on there, set some to currentColor so you can style multiple colors.


Add parameters injections to ViewRenderer + minor refactoring

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues
#123

Move adding of "csrf" parameters to external class CsrfViewInjection. This change will allow without changing ViewRenderer class add any parameters to view or layout.

Add class ApplicationViewInjection to add params, meta- and link-tags to views.

Method getName() make static and added cache by object class name.

Idea of next steps:

Move ViewRenderer  to package (separately or yiisoft/view or yiisoft/web)
Move CsrfViewInjection to package (separately or yiisoft/view or yiisoft/web)
ApplicationViewInjection use in App for add parameters, meta and link tags to views.

Example of config:
'viewRenderer' => [
	'viewBasePath' => '@views',
	'layout' => '@views/layout/main',
	'injections' => [
		Reference::to(CsrfViewInjection::class),
		Reference::to(ApplicationViewInjection::class),
	],
],

Example of ApplicationViewInjection:
class ApplicationViewInjection implements
    LayoutParamsInjectionInterface,
    MetaTagsInjectionInterface,
    LinkTagsInjectionInterface
{

    private User $user;
    private UrlMatcherInterface $urlMatcher;

    public function __construct(
        User $user,
        UrlMatcherInterface $urlMatcher
    ) {
        $this->user = $user;
        $this->urlMatcher = $urlMatcher;
    }

    public function getLayoutParams(): array
    {
        return [
            'user' => $this->user->getIdentity(),
            'currentUrl' => (string)$this->urlMatcher->getLastMatchedRequest()->getUri(),
            'brandLabel' => 'Yii Demo',
        ];
    }

    public function getMetaTags(): array
    {
        return [
            [
                '__key' => 'generator',
                'name' => 'generator',
                'value' => 'Yii',
            ],
        ];
    }

    public function getLinkTags(): array
    {
        return [
            [
                '__key' => 'favicon',
                'name' => 'icon',
                'value' => 'favicon.ico',
            ],
        ];
    }
}

That looks overcomplicated for the problem it solves.

Made it a little simpler (merge contentInjections and layoutInjections), and create ApplicationInjection — this is convenient for  add parameters, meta and link tags to App views.

Moved ViewRenderer and interfaces to yiisoft/yii-view.
Where to move CsrfViewInjection:

to yiisoft/yii-web  (add dependences yii-view, data-response, view, files, html, json);
to separately package.

?

Definitely no.
Likely it should stay in the application (this package).

Likely it should stay in the application (this package).

But CsrfViewInjection doesn't require changes to be used in any applications.
Advantages separately package:

reuse in any apps
default config for container (common.php):

CsrfViewInjectionInterface::class => CsrfViewInjection::class,

Maybe create package, for example, yiisoft/yii-csrf-view-injection ?

How about having it in yii-view?

How about having it in yii-view?

This added dependences for yii-view from router and yii-web. It's ok?

Yes since it's yii- packages are framework specific.

Ok, I make it.

Should be adjusted since https://github.com/yiisoft/csrf is there now.

Should be adjusted since https://github.com/yiisoft/csrf is there now.

See https://github.com/yiisoft/csrf/issues/2

Done...
Before merge need merge:

https://github.com/yiisoft/csrf/pull/8
https://github.com/yiisoft/yii-web/pull/308
https://github.com/yiisoft/yii-view/pull/2

please merge these functions to one,thanks
public function withAddedInjections(array $injections): self
{
$new = clone $this;
$new->injections = array_merge($this->injections, $injections);
return $new;
}
/**
 * @param object $injection
 * @return self
 */
public function withAddedInjection($injection): self
{
    return $this->withAddedInjections([$injection]);
}

/**
 * @param object[] $injections
 * @return self
 */
public function withInjections(array $injections): self
{
    $new = clone $this;
    $new->injections = $injections;
    return $new;
}

please merge these functions to one,thanks

This is different functions.

withInjections replace current injections to new injections.
withAddedInjections merge current injections with new injections.


update cilium to v1.14.5

How to categorize this PR?

/area networking
/kind enhancement
What this PR does / why we need it:
Update cilium to v1.14.5.
Which issue(s) this PR fixes:
Fixes #
Special notes for your reviewer:
Release note:

Update cilium to `v1.14.5`.

Looking at changes in install/kubernetes/cilium in<EMAIL_ADDRESS>there are a few changes in the manifests that allow changing some configuration paramters via values.yaml, e.g. resource requests or volume mounts. Do we want to take that over as well to be closer to the source?

I would leave the PR as it is as the fields are not used right now and plead to adapt the cilium charts at a later point in time in a separate PR.

/re-test


Importing bytes breaks comparisons of &[u8] and &[u8;32] in existing code.

Hi, I hit a weird issue. I'm unsure if it relates to the bytes crate or Rust. Simply adding use bytes::Bytes; in existing code breaks it like in the following example:
Working code:
playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=3eb8988ab94f8a231b5ede8172c530c8
fn main() {
    let hash = Vec::<u8>::new();
    assert!(hash.as_slice() < &[0u8; 32]);
}

Failing code:
playground: https://play.rust-lang.org/?version=stable&mode=debug&edition=2021&gist=b9bc566615f1a7347803af789f80a83d
use bytes::Bytes;

fn main() {
    let hash = Vec::<u8>::new();
    assert!(hash.as_slice() < &[0u8; 32]);
}

The failure is:
error[E0277]: can't compare `[u8]` with `[u8; 32]`
 --> src/main.rs:7:29
  |
7 |     assert!(hash.as_slice() < &[0u8; 32]);
  |                             ^ no implementation for `[u8] < [u8; 32]` and `[u8] > [u8; 32]`
  |
  = help: the trait `PartialOrd<[u8; 32]>` is not implemented for `[u8]`, which is required by `&[u8]: PartialOrd<&[u8; 32]>`
  = help: the following other types implement trait `PartialOrd<Rhs>`:
            `&[u8]` implements `PartialOrd<BytesMut>`
            `&[u8]` implements `PartialOrd<bytes::Bytes>`
            `[u8]` implements `PartialOrd<BytesMut>`
            `[u8]` implements `PartialOrd<bytes::Bytes>`
  = note: required for `&[u8]` to implement `PartialOrd<&[u8; 32]>`

Could you help me understand what is going on there?

The Bytes type also implements PartialEq. Seems like the additional possible impls loaded make the compiler incapable of noticing there's a valid one to pick if it does type coercion.
You could choose to file an issue on the compiler.

Thanks @seanmonstar


Build instructions, console mode, require calls

Hello,
thank you for work and for great example how to embed node.js into delphi application.
Here https://github.com/ivere27/toby we can find instructions how to build c++ application that embeds node.js.
But there are no instructions how to build tobynode.dll for use with Delphi. It may be hard for some one from Delphi world to build something in Visual Studio.
By the way, main page of this repository suggest downloading debug version of tobynode.dll:
https://github.com/ivere27/archive/tree/master/tobynode/node_v6.10.0_x_toby_v0.1.5_x86_debug
This dll works only if Visual Studio is installed. Or you need to collect and copy to application folder some dll-s from the debug version of visual studio redistributable  package.
This solution https://github.com/ivere27/toby/tree/master/vc_tobynode has only debug configuration setup. When I tell Visual Studio to build release version of tobynode.dll - it doesn't builds, because release configuration is not set (folders, linker and compiler settings).
I wanted to build release and optimized version of tobynode.dll that doesn't require installing C++ redistributable packages.
After lots of hours finally I managed to build release version of tobynode.dll, but it was only 53 kb and required node.dll and redistributable package.
Also I figured out that node.js 6 and above does not support Windows XP, but my delphi application needs WinXP support.
The good news is that tobynode support node.js 5.11 and node.js 5.11 support Windows XP!
Finally I managed to build tobynode.dll with node.js 5.11 inside, it is almost 9 Mb in size. I tested it on Windows XP SP3 without any redistributable packages, and it works.
I think it will  be good to share this dll with others:
tobynode.zip - release version, node.js 5.11
Here is solution with release configuration to build this dll:
vc_tobynode.zip
Folder structure should be the same as described here for building C++ sample.
Unsure if I configured this solution correctly, because I am not familiar with C++, may be it misses some parts, but all node.js features I tested - worked.
I have some additional questions, unsure if I should create separate issue for each or not.

TobyPascal.pas statically links tobynode.dll, because of this tobynode.dll is loaded early when program starts. Because of this delphi application has to be configured as console application. If delphi application is not console - node.js core code throws errors. Allocating console before creating TToby class does not help, console should be allocated before tobynode.dll loads. So the question is:
How to use tobynode.dll not in console application?
Core node.js code throws errors when there are no stdout or stderr even if console.log(...) is not called from javascript. For example node.js source file node\lib\net.js has this code:
    if (this !== process.stderr)
This code only checks if current stream is not stderr, nothing was going to be logged, but code is failing not in console application.
I suggest modifying TToby class to load tobynode.dll dynamically, so we can setup stdout and stderr pipes before loading tobynode.dll.
Is there any way to intercept javascript require call? I want to embed some third party node modules to my application, but I do not want them to be stored in node_modules folder in application directory. I want to store third-party modules that are loaded through  require call as resources of main executable (or at least inside tobynode.dll). Can I achieve this without modifying node.js sources and rebuilding tobynode.dll when I need to embed some new module?
How can I unload and reload tobynode.dll without restarting Delphi application? (For example in case some runtime error in .js code)

Thanks!

Hi, many thanks for contributing. it's so glad that you are trying to use this project. :)
as I also am in delphi world,  I totally agree that it could be hard to build something in VS.
that's why I uploaded the pre-comiled dll 'tobynode.dll' to https://github.com/ivere27/archive
and the 'node-delphi' project is not yet production ready so I haven't tested the release mode.
the issues and  the questions..
Supporting Windows XP
great work! please make Pull-Requests!
binary(dll) files on https://github.com/ivere27/archive
any document/source files or wiki pages on https://github.com/ivere27/node-delphi or https://github.com/ivere27/toby
by the way, I suggest to build node.js 4.x version which is Long-Term Support
there is no LTS in 5.x. https://github.com/nodejs/LTS
(currently, ubuntu linux 16.04 LTS 's default node.js version is v4.2.6)
Q1. static link and stdout
in node.js world(as like other *nix world) stdout/stderr are so much important.
as you mentioned, we need a way to handle stdout in non-console mode(Application</AppType).
by the way, non-console delphi application is not working? there is a gui example in /node-delphi/example/Project1.dproj
solution 1 - wrapping 'console'
in tobyOnLoad(), execute the blow source by tobyJSCompile()
or the first javascript code(ex, app.js)
var console = {
  log : function() {
    // handle here in js

    // test
    require('fs').appendFileSync('stdout.log', arguments[0]);
  }
};

console.log('hi', 'there');

solution 2 - managing stdout pipe in delphi
I think those code(redirecting pipe stuff) should be in tobynode.dll
solution 3 - making tobynode.dll(including pipe handling) as BPL!
then, load 'node.dll' dynamically. it may take times but best for delphi users.
about 'loading tobynode.dll dynamically' you suggested,
it's also a great point. could you make a patch(or example) and PR?
it's good to provide several options to developers.
Q2. require
it's possible to intercept 'require' but so tricky.
'require' is a modue that lazily loaded
in /node/lib/internal/bootstrap_node.js line 349
    const script = `global.__filename = ${JSON.stringify(name)};\n` +
                   'global.exports = exports;\n' +
                   'global.module = module;\n' +
                   'global.__dirname = __dirname;\n' +
                   'global.require = require;\n' +
                   'return require("vm").runInThisContext(' +
                   `${JSON.stringify(body)}, { filename: ` +
                   `${JSON.stringify(name)}, displayErrors: true });\n`;

tobynode.dll 's loading steps are..
'v8' -> tobyOnload() -> bootstrap_node.js -> tobyInit(yourScript)
in tobyOnload context, 'require' variable IS undefined.
see the source,  /toby/toby.cpp : _node()
node's core CreateEnvironment() =>  process.nextTick(bootstrap_node.js) "in QUEUE"
toby's _node() => global->DefineOwnProperty('toby')
then, process.nextTick(userScript) "in QUEUE"
I also desire that node'js core team supports one tarred/zipped node_modules file.
this question is my question too. I've been trying to solve this problem.
anyway, we could have some solutions..
solution 1 - modify node.js(a long long road) to support kinda memory filesystem(?)

make one zip file including business codes and node_modules
(just like excel's .xlss or java's .jar)
embed it as a resource file in PE file(in an exe file)
when the exe launch, execute scripts from the zip file.

solution 2 - using require.cache
https://nodejs.org/api/globals.html#globals_require_cache
when a module is once required then, it's cached.
so,

make a node_module in to one file using 'browserify'.
http://browserify.org/
store it as String in delphi
run it and modify require.cache object.

solution 3 - including modules into custom_tobynode.dll l(hack node.js and rebuild)

node.js's internal javascript files(net.js, os.js etcs.) are stored as byte array in node.exe
by /node/tools/js2c.py
we can add our library to /node/node.gyp

Q3. unload/reload tobynode.dll
ooops. we can add 'uncaughtexception handler' in tobyOnLoad()
(or implement a function to force unload tobynode.dll ex, tobyUnload)
https://nodejs.org/api/process.html#process_event_uncaughtexception
actually, https://github.com/electron/electron use that way.
check out /electron/lib/browser/init.js line 46
// Don't quit on fatal error.
process.on('uncaughtException', function (error) {
  // Do nothing if the user has a custom uncaught exception handler.
  var dialog, message, ref, stack
  if (process.listeners('uncaughtException').length > 1) {
    return
  }

  // Show error in GUI.
  dialog = require('electron').dialog
  stack = (ref = error.stack) != null ? ref : error.name + ': ' + error.message
  message = 'Uncaught Exception:\n' + stack
  dialog.showErrorBox('A JavaScript error occurred in the main process', message)
})

I think it's better to separate them into each issues. as small as possible. :)
using node.js in delphi give us a lots of opportunities.
ex, such as REST Client, Web/Socket Servers, Database Clients(especially!) etc
it would be great if you help the project to make more mature.
therefor please do not hesitate to send Pull Request on any changes.
please, let me know if I'm wrong in some point.
best regards,
Yong

Hello, I have made TobyPascal with dynamic linking, it works well on Windows 10, but for some reason is failing on Windows XP even in console application.
When I load tobynode.dll via loadLibrary on Windows XP I get this error after tobyInit call:
#
# Fatal error in C:\Projects\node\deps\v8\src/api.h, line 400
# Check failed: allow_empty_handle || that != 0.
#

Error is raised in thread created by tobynode.dll
The same tobynode.dll with node.js 5.11 but statically linked works well on Win XP SP2.
So can't fully get rid of using console application. I think tobynode.dll should allocate dummy pipes for stdout and stderr if not present.
The js code from the example works ok not in console application. But this code will fail:
var req = http.get('http://example.com', function (res) {
    toby.hostCall('response', res + "");
});
req.end();

Error happens because core node.js code in net.js will check whether current stream is stdout or stderr.
Also interesting, is it possible to build tobynode as a single .obj file? Delphi can include (link) code from C .obj files (but not .lib).
This way we can try to link node.js inside delphi executable without use of dll.

using node.js in delphi give us a lots of opportunities.
ex, such as REST Client, Web/Socket Servers, Database Clients(especially!) etc

I agree with you. Also I like the idea to share Delphi's VCL or Firemonkey to js code.
But for just Web/Socket Servers for greater performance I think it will be better to use libuv directly https://github.com/HeZiHang/Delphi-libuv.
Some Web servers that are built on top libuv, as node.js is - are faster than node.js.
If you do not need javascript, but only asynchronous io - consider using libuv.

The reason why tobynode.dll doesn't work when loaded dynamically on WinXP could be that thread local storage callbacks are not called when library is loaded dynamically on Windows XP.
TLS (thread local storage) callbacks always run in statically-linked DLLs, and since Vista, they also run in dynamically-linked DLLs.

sorry for the late reply. recently, I had no time to code.
I've just committed an workaround patch for stdout issue(for http.get). have a look at the diffs.
TTimer,for reading redirected stdout, need to be refactored as Thread or Async/Event.
(by the way, please feel free to make a pull request. it's always welcome)

dynamic linking - applied :)
the patch is including 'loadLibrary' in order to create the stdout pipe before to load the tobynode.dll

Windows XP (Thread local storage issue)
Thanks for the test tobynode in XP. I haven't used Windows XP for a long time.
is there any progress?

tobynode as a single .obj
It's theoretically possible if we compile the toby.cpp(including node.h, v8.h) by C++ Builder or BCC32C.
look at the last section in https://github.com/ivere27/node-pascal/blob/master/README.md
there are two object formats in PE format. OMF and COFF.
https://en.wikipedia.org/wiki/Relocatable_Object_Module_Format
it is difficult but very valuable for delphi users.

libuv
you are right, it's better to use libuv directly for performance.
if you are interested, there are few projects of mine using libuv already.
dorypuppy - multi process manager in Android(JNI)
SimpleProcessSpawn - multi process manager
SimpleHttpRequest - http client(also using openssl for TLS)

It's better to open new issues for each subjects.


How to access BottomBarTab array?

I need a way to access the BottomBarTab array to change the title according to language selection for my app. Currently the bottombartab title only change when I restart the app.
Thanks

So your app has a custom language selection possibility that overrides the current system language?

Yes. All others strings in the app can change language without restarting the app. I use the same languages string files on the bottombartab titles but it seems not working. I was thinking if i have access to the bottombartab array, I might be able to reload the tabs at runtime.

Nevermind got it to work although it would be more direct to access the array.
Solution:
ViewGroup outerContainer = (ViewGroup) mBottomBar.getBar();
ViewGroup itemContainer = (ViewGroup) outerContainer.getChildAt(0);
TextView button1Text = (TextView) itemContainer.getChildAt(0).findViewById(R.id.bb_bottom_bar_title);
from here on can manipulate the textview or Imageview.
Anyway thank you for the library


Can't edit container that contains port information

build from master - June 9th
Steps:

Create a container (alone or through service) that has Port Map information
Start container
Edit container
Click on Save

Results:
TypeError: Cannot read property 'ember_meta' of undefined
Results:
No error

This is also happening for me. When I look at the ajax PUT it doesn't seem to contain the change of the port mapping I wanted to save.

There's either more to this or I fixed it already...  Can you check again @tfiduccia

build from master - June 11th (morning)
Verified fixed


Example

Can you give an example of this with any one of your project ?

@pratikbalar Here are some of them:

https://github.com/crazy-max/goxx/blob/main/examples/gorm/Dockerfile
https://github.com/crazy-max/goreleaser-xx/blob/master/demo/cpp-goxx/Dockerfile

@pratikbalar Here are some of them:

https://github.com/crazy-max/goxx/blob/main/examples/gorm/Dockerfile
https://github.com/crazy-max/goreleaser-xx/blob/master/demo/cpp-goxx/Dockerfile

Hi,
I'm not really used to docker and I'm trying to understand how can I interact with the image of the container os docker-osxcross to compile a test file from my terminal (I'm on linux).
Trying variations of docker run <image> does not work.
(Please sorry if it sounds stupid but it would really help me to understand how to properly run the image to run the binaries inside the docker you provided)
thanks in advance!


Simple typo

"Long live upon source and free access to information!"
I think it might be "open"

Yes😂 thank you


Switch to use upstream comphrensive bufferization for all CPU kernels

A new pipeline is created because the default pipeline can not handle early bufferized kernels. This can be addressed when switching to use IREEComprehensiveBufferize in BufferizeCopyOnlyDispatchesPass. See https://github.com/google/iree/issues/9047 for more details.
This also adds missing materialization tests for VMVX target.

Doesnt this prevent vectorization of the bufferized early ops?

It's only used in VMVX backend. For normal CPU backends, it goes with CPUBufferOpsTileAndVectorizePipeline which vectorizes all the ops.


[namespace] Add behaviours

Please add a description with detail of the namespace.

Done !

Sorry I'm self merging it, but it is necessary for the showcase to have this code.