Removed unnecessary code

Description
This fixes https://github.com/teslamotors/vehicle-command/issues/118
Fixes # 118
Type of change
Please select all options that apply to this change:

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

Checklist:
Confirm you have completed the following steps:

[x] My code follows the style of this project.
[x] I have performed a self-review of my code.
[ ] I have made corresponding updates to the documentation.
[ ] I have added/updated unit tests to cover my changes.

Thanks!


"Print then cancel" workaround to export data

"Q: Can I export the test plan to share or review offline?
A: Yes, you can export test plans, test suites, and test cases. Select the details that you want in the report. Then email or print this report for review."
This 'print to export' workaround is also mentioned in "Q: When I export a test plan, can I just view the data or copy it to a Word document?".
This is a hacky, unintuitive workaround for what seems to me like a basic, widely required feature: reporting on test outcomes.
Is data export (specifically, for test outcomes) likely to appear in ADO as a first-class feature?

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

ID: 985ecee3-e347-43bb-5ed2-08ce3aee7621
Version Independent ID: fdf465fc-a9e1-0198-2e8c-e859c74252b3
Content: FAQs and problem solutions - Azure Test Plans
Content Source: docs/test/reference-qa.md
Product: devops
Technology: devops-test
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

@bmordue That is a good question, I do see this item on the Azure DevOps Feature Timeline - Features under development
Search for test progress report and click the link, which takes you to that work item here. Does that match the new feature you are describing?
If not, you can file a feature request directly with the team here.
Thank you for your feedback!


latest screenshot with Tables instead of Entities

Docs Build status updates of commit f88b9ec:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

powerbi-docs/transform-model/dataflows/media/dataflows-create/create-options.png
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@KesemSharabi

Can you review this PR?
IMPORTANT: When this content is ready to merge, you must add #sign-off in a comment or the approval may get overlooked.

#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off

Hey, @Jak-MS -- can you advise? I signed off and merged this new image, but when I look in https://github.com/MicrosoftDocs/powerbi-docs-pr/tree/main/powerbi-docs/transform-model/dataflows/media/dataflows-create, I still see the old version of this image, https://github.com/MicrosoftDocs/powerbi-docs-pr/blob/main/powerbi-docs/transform-model/dataflows/media/dataflows-create/create-options.png, last updated 13 months ago.
What step did I miss?

Hi, @sasalam -- I'm troubleshooting why your new image isn't showing up in the article.


Introduced SourceMap for more verbose error reporting

Closing if favor of this
https://github.com/demergent-labs/azle/pull/726
which has only the addition of SoruceMaps and AzleTypeAliasDecls


Refund fails

On master ( cdf556af05ae6a6e111144674b494fd75d64f030 ):
Deposited an amount smaller than the depositfee
Leader log:
INFO [05-17|18:28:04.055] Received transaction on bridge stellar account hash=cbc3c8ae029c3207fb6bc544a42211589ea38b21876d19869d7a1d5cfd50ae2f
WARN [05-17|18:28:04.159] Deposited amount is less than the depositfee, refunding
WARN [05-17|18:28:04.159] Calling refund
ERROR[05-17|18:28:04.368] failed to get signature                  peerID=12D3KooWCQyJCoRuBQ4rG67uz3q9Y5PinYk2SgXJThZUDZw66UCV err="fee payment operation should be 10000000, but got 390000000"
ERROR[05-17|18:28:04.369] error while trying to refund user        err="required number of signatures is not met" amount=400,000,000

cosigner log:
INFO [05-17|18:28:04.278] Validating refund request...

It's not really an issue with the validation, the transfer was done from the feewallet but it does block the bridge.


APP: Show 404 error when content is expired / scheduled but available in IndexedDb, or when not available in IndexedDb

This has probably been implemented before, but got broken, so remember to add tests

It is implemented already. I have tested and it works fine on my side.

Also check that draft content is giving a 404 error


Athena linker input tables as lists

Updates AthenaLinker to use the new methodology laid out in the following PR.
Also includes some improved docstrings for athena linker and clustering code.
@RobinL do you want any tests for athena added to the tests folder, just with unique names so they don't get triggered by pytest? I can also create some random gists for our personal use.

Looks good to me.
On testing, I think we probably should at some point add a test.  We can then annotate with pytest.mark.skip (see e.g. here) so it doesn't actually run

Yeah, that sounds sensible to me.


[WIP] Messaging: v2 stack amqp-core types and integration to Service Bus

TODO: (anuchan)

Add writeup about the PR. (details, links to design, plan documents, GitHub Issues).
Get the "NonSessionProcessor" finalized (and connected to Processor) so we can run the integration tests.

API change check
API changes are not detected in this pull request.


Added Font Awesome 4.6.0, Udacity in showcase

For future reference, I prefer to separate adding updates (e.g. fontawesome, bootstrap, etc.) from other changes, in case the PR needs to be reverted. I wouldn't take the time to do it for this though.

Note failing travis, perms and content-type aren't setup correctly on s3. @jdorfman


Inheritance

I'd like to start giving ETA on Android a crack.  A few questions though:

How do I override methods
how can I make a module extend/inherit from another class.

Here's the documentation on exporting: http://eta-lang.org/docs/html/getting-started.html#exporting-eta-methods
What I didn't mention was how to extend/implement, which is shown below:
data {-# CLASS "eta.example.MyActivity extends android.app.Activity" #-} MyActivity
  = MyActivity (Object# MyActivity)

onCreateFn :: Bundle -> Java MyActivity ()
onCreateFn savedInstanceState = io $ print "Hello World!"

foreign export java "onCreate" onCreateFn :: Bundle -> Java MyActivity ()

Overriding has no special syntax - just specify in the export string the name of the method you want to declare. If it happens to be a method from a parent class, it will override.
It's a bit clunky right now, and we'll have better syntax in the future. Also, you'll have to import quite a bit of Android types to get going, something we can make better with an import generator in the future.

Closing, as the main question was resolved.


error value when doing rand.Read(...)

First of all thanks for a great library.
This is more of a question rather than a real issue: what happens if rand.Read() fails? I realize in practice it probably doesn't fail much (and I've been running a script locally to try and catch a random failure for crypt.Rand() but haven't had any luck) -- but in that rare case what should be the behavior of the library?
Maybe a retry works? If so I'll be happy to do a PR.

Currently if rand.Read fails, NewV4 will return partially malformed UUID. I believe it wouldn't be random at all, but still will have version and variants bits set properly.
Retry wouldn't help always, for example, try to chmod -r /dev/urandom locally.
There are sometimes errors you can't handle, so in this case it would be correct to just return error from NewV4.
It leads to another problem: library interface should be changed that definitely will break backwards compatibility.

We read also in init(). I'm not sure of the correct way to handle errors here.

There are a few open issues related to this topic, notably #7940 and #9205.

Possibly one solution is to just issue a panic here, since this errors from /dev/random is more of an outlier that it probably warrants a panic.
They do the same fwiw: https://github.com/hashicorp/raft/blob/master/util.go#L43

@cyx I agree with your point and will be happy to merge such PR
There is still a rand.Read inside of init as mentioned by @cbandy, is it safe to panic there as well?

I think it's safe to panic there as well, init context means typically the
web app's startup process. I doubt you'd want to start up your app on a
server with a failing /dev/random.
Thoughts?
On Fri, May 22, 2015 at 4:13 PM, Maxim Bublis<EMAIL_ADDRESS>wrote:

@cyx https://github.com/cyx I agree with your point and will be happy
to merge such PR
There is still a rand.Read inside of init as mentioned by @cbandy
https://github.com/cbandy, is it safe to panic there as well?
—
Reply to this email directly or view it on GitHub
https://github.com/satori/go.uuid/issues/9#issuecomment-104796562.


Double escaping issue

Currently, generated links have escaped ampersands, ie for e-mail & is used:
https://github.com/SaraVieira/react-social-sharing/blob/master/src/consts.js#L38-L41
But React DOM escapes any value and this leads to double escaping and as a result E-mail sharing buttons (and probably others as well) do not work correctly.
From what I see fix for this would be to unescape  all& in
https://github.com/SaraVieira/react-social-sharing/blob/master/src/consts.js

I have added pull request, please let me know if anything else is needed.


Bug: RuntimeError: Backend could not be loaded

Before You Begin
Before proceeding, please make sure to follow these steps:

[x] I have checked for similar issues in the project's issue tracker.
[x] I have searched closed issues to see if a similar problem was reported
before.

Issue Details
I am always getting this error when trying to download a stickerpack.
Description
I added my bot token to env, then
poetry run tstickers -p https://t.me/addstickers/UtyaDuck
INFO     | ============================================================
INFO     | Starting to scrape "UtyaDuck" ..
INFO     | Time taken to scrape 40 stickers - 0.076s
INFO     |
INFO     | ------------------------------------------------------------
INFO     | Starting download of "utyaduck" into downloads/utyaduck
INFO     | Time taken to download 40 stickers - 0.084s
INFO     |
INFO     | ------------------------------------------------------------
INFO     | -> Cache miss for UtyaDuck!
INFO     | Converting stickers "UtyaDuck"...
Traceback (most recent call last):
  File "/home/mf/tools/.venv/bin/tstickers", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/cli.py", line 100, in cli
    downloader.convertPack(
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/downloader.py", line 272, in convertPack
    converted = convertedTgs = convertAnimated(
                               ^^^^^^^^^^^^^^^^
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/convert.py", line 146, in convertAnimated
    converted = convertMap[backend](swd, threads, frameSkip, scale)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/mf/tools/.venv/lib/python3.11/site-packages/tstickers/convert.py", line 27, in convertAnimatedFunc
    raise RuntimeError(msg)
RuntimeError: Backend could not be loaded

System Information
Please provide the following additional information about your system or
environment:

Operating System (OS): MX Linux (based on Debian 12)- Browser (if applicable)

same here

Needs some thinking on how best to approach this as tstickers supports multiple backends
For now, try the following:
pip install tstickers[rlottie-python]

@FredHappyface I tried this, still the same error.

Ah that's no good. I'll take a look at this as soon as I've some free time!

yea im getting the same issue

Hello!
After applying your fix I got this error:
(telegram-stickers-py3.12) mark@Marks-MacBook-Pro telegram-stickers % tstickers -p https://t.me/addstickers/AnimatedEmojies
INFO     | ============================================================
INFO     | Starting to scrape "AnimatedEmojies" ..
INFO     | Time taken to scrape 598 stickers - 41.604s
INFO     |
INFO     | ------------------------------------------------------------
INFO     | Starting download of "animatedemojies" into downloads/animatedemojies
Traceback (most recent call last):
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/bin/tstickers", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/cli.py", line 95, in cli
    _ = downloader.downloadPack(stickerPack)
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/downloader.py", line 231, in downloadPack
    downloads += 1 if i.result() > 0 else 0
                      ^^^^^^^^^^
  File<EMAIL_ADDRESS>line 449, in result
    return self.__get_result()
           ^^^^^^^^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 401, in __get_result
    raise self._exception
  File<EMAIL_ADDRESS>line 58, in run
    result = self.fn(*self.args, **self.kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/downloader.py", line 199, in downloadSticker
    return path.write_bytes(self.session.get(link).content)
                            ^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/requests_cache/session.py", line 126, in get
    return self.request('GET', url, params=params, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/requests_cache/session.py", line 182, in request
    return super().request(method, url, *args, headers=headers, **kwargs)  # type: ignore
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/requests/sessions.py", line 589, in request
    resp = self.send(prep, **send_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/requests_cache/session.py", line 217, in send
    cached_response = self.cache.get_response(actions.cache_key)
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/requests_cache/backends/base.py", line 78, in get_response
    response = self.responses[self.redirects[key]]
                              ~~~~~~~~~~~~~~^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/requests_cache/backends/sqlite.py", line 311, in __getitem__
    cur = con.execute(f'SELECT value FROM {self.table_name} WHERE key=?', (key,))
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
sqlite3.InterfaceError: bad parameter or other API misuse

I think this is an unrelated issue connected with caching, as I often encourage it when redownloading packs. After I used rm -rf ./downloads, I encountered another issue:
(telegram-stickers-py3.12) mark@Marks-MacBook-Pro telegram-stickers % tstickers -p https://t.me/addstickers/AnimatedEmojies
INFO     | ============================================================
INFO     | Starting to scrape "AnimatedEmojies" ..
INFO     | Time taken to scrape 598 stickers - 0.599s
INFO     |
INFO     | ------------------------------------------------------------
INFO     | Starting download of "animatedemojies" into downloads/animatedemojies
INFO     | Time taken to download 598 stickers - 0.810s
INFO     |
INFO     | ------------------------------------------------------------
INFO     | -> Cache miss for AnimatedEmojies!
INFO     | Converting stickers "AnimatedEmojies"...
Traceback (most recent call last):
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/bin/tstickers", line 8, in <module>
    sys.exit(cli())
             ^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/cli.py", line 100, in cli
    downloader.convertPack(
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/downloader.py", line 272, in convertPack
    converted = convertedTgs = convertAnimated(
                               ^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/convert.py", line 146, in convertAnimated
    converted = convertMap[backend](swd, threads, frameSkip, scale)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/convert_pyrlottie.py", line 55, in convertAnimated
    converted += doConvMultLottie(
                 ^^^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/tstickers/convert_pyrlottie.py", line 48, in doConvMultLottie
    asyncio.get_event_loop().run_until_complete(
  File<EMAIL_ADDRESS>line 687, in run_until_complete
    return future.result()
           ^^^^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/pyrlottie/__init__.py", line 480, in convMultLottie
    _ = [destFiles.add(destFile) for destFile in await future]
                                                 ^^^^^^^^^^^^
  File<EMAIL_ADDRESS>line 631, in _wait_for_one
    return f.result()  # May raise f.exception().
           ^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/pyrlottie/__init__.py", line 535, in convSingleLottie
    binDir = _getBinDir()
             ^^^^^^^^^^^^
  File "/Users/mark/Library/Caches/pypoetry/virtualenvs/telegram-stickers-usHqk-q4-py3.12/lib/python3.12/site-packages/pyrlottie/__init__.py", line 200, in _getBinDir
    raise OSError(msg)
OSError: Sorry, your environment is not currently supported! system='Darwin' machine='x86_64'
Task exception was never retrieved

[...many repeats of this error]

Solution for RuntimeError: Backend could not be loaded
Solution Steps:
1. Install tstickers Package:
pip install tstickers

2. Install Required Dependencies:
pip install "rlottie-python>=1.3.3,<2"
pip install "pyrlottie>=2024.0.1,<2026"
pip install "loguru>=0.7.2,<2"

3. Create and Set Up Working Directory:

Create a directory named mystickers.
Navigate to the mystickers directory.
Create a file named env.txt and place your bot token inside this file.

4. Run the Sticker Conversion Command in mystickers:
Navigate to the mystickers directory and run:
cd mystickers
tstickers --pack https://t.me/addstickers/DonutTheDog

that's work for me ,thx :+1:

Its working but its failing to convert anything

Check the pyrlottie documentation does not support the darwin_x86_64 and darwin_arm64 conversion stickers can specify rlottie-python or pyrlottie You can use rlottie-python to try the conversion. For example, python -m tstickers --backend rlottie-python

Hey taking a look at this today to make this all a bit more user friendly! Now the tstickers package will install with pyrlottie regardless of the extra chosen. Bit frustrating that python doesn't handle this particularly nicely. Also the cli will provide a more helpful error message in the case of using an uninstalled backend. For example in testing
$ tstickers -b rlottie-python
ERROR    | !! rlottie-python is not installed! Install with "pip install rlottie-python"

Apologies this has taken so long to get around to! I'll have a look at the pyrlottie lib later to see what I can do around the darwin support. Broadly the lottie-python lib has broader os support than this lib but seems to be a little less performant as a backend (due to the use of python-pillow oddly)

@FredHappyface I tried this, still the same error.

Hmm really strange. Ive tested locally and I suspect this is largely down to unclear documentation as things behave largely as expected. Ie
PS C:\Users\Dell> py -m venv venv
PS C:\Users\Dell> .\venv\Scripts\activate.ps1
(venv) PS C:\Users\Dell> py -m pip install tstickers[pyrlottie]
...
Installing collected packages: win32-setctime, urllib3, typing-extensions, six, platformdirs, Pillow, packaging, numpy, idna, colorama, charset-normalizer, certifi, attrs, url-normalize, requests, loguru, emoji, deprecation, cattrs, requests-cache, pyrlottie, tstickers
...

stickers -b pyrlottie works as expected
stickers -b lottie-python throws an error
As noted above, I've changed the default install to include pyrlottie going forwards (releasing later today) so not specifying a backend will work on a vanilla install :)

Its working but its failing to convert anything
Edit: After letting it run for a while it seems like for some reason it does convert some sticker packs but doesn't others..

Hi can you create a new issue for this? And can you provide the link to the sticker pack not working/ or a stacktrace so I can investigate this? Thanks :)

Fixed in https://github.com/FHPythonUtils/TStickers/releases/tag/2024.1.3


New HTTP API

Why is there just 1 huge PR? Didn't we agree this will be split into multiple PRs? At least these:

IDs
msg pack removal
API cleanup
distinct prefixes for key/micro blocks
fix of the swagger tags

Also, I wouldn't have squashed:

the IDs into 1 commit
the API cleanup/removal commits

@jur0 you're right ids and message pack will be uncouple from the main api cleanups.


Bring Back Boston Mayor page

Link to it from Mayor central

[x] Restore Container
[x] Make sure winner is declared
[x] Separate PR for linking to from navigation, Dashboard, and Mayor Central

https://github.com/BostonGlobe/elections-2017/pull/66 for go live


Milk bucket gets stuck on drain

Describe the Bug
trying to drain a milk bucket by rolling it over a drain will make the bucket stuck infinitely on the drain
Reproduction Steps

Make a belt/hopper pointing into a drain
put in a milk bucket
watch it get stuck on the drain
...

Expected Result
Milk bucket gets emptied into the drain fluid buffer
Screenshots and Videos

Crash Report or Log
No response
Operating System
Win 10
Mod Version
0.4.0a
Minecraft Version
1.18.1
Other Mods
Flywheel and other dependencies
Additional Context
Milk exists, as evidenced by the second screenshot. It just doesn't like the emptying into buckets,
Found by @Indi, second screenshot evidencing the existance of milk by @SpottyTheTurtle

this was fixed here


Save proofs even when successful

Fixes #2183

Reviewer checklist

[ ] Test coverage: stack test --coverage
[ ] Public API documentation: stack haddock

This should just about be ready. I only need to add some documentation for types I added.


Warning: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.

Environment

Operating System: Windows_NT
Node Version:     v21.6.2
Nuxt Version:     3.11.0
CLI Version:      3.10.1
Nitro Version:    2.9.4
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      modules, devtools
Runtime Modules<EMAIL_ADDRESS>Build Modules:    -

Reproduction
https://github.com/frasza/i18n-warn
Spin up dev server, open dev tools and click on NuxtLink. Warning appears.
Describe the bug
Recently I noticed warning popup in my Nuxt project and I have tried to set up fresh Nuxt project with i18n dependacy and I still get warning when for navigating across pages.
Warning:
[Vue warn]: Avoid app logic that relies on enumerating keys on a component instance. The keys will be empty in production mode to avoid performance overhead.

Noticed that I get warning the moment I add i18n to the modules.
Additional context
No response
Logs
No response

I'm unable to reproduce this using your reproduction, I did have to update Nuxt to 3.11.1 or the dev server wouldn't run. Has this already been resolved?

I still have problem with warning even tho I am on Nuxt 3.11.1.

Do you get the warning using this updated reproduction? https://stackblitz.com/edit/frasza-i18n-warn-76cwcr?file=nuxt.config.ts

Yeah, I have downloaded the project, run it locally and I still get it 🤔

Ah after running it locally I get the same warning, looks like this happens when you add Nuxt I18n without configuring any locales. The module tries to navigate/redirect to a localized page but there are none, maybe we should add some checks to disable the module if nothing is configured.

Locally I have it configured tho.
i18n: {
    vueI18n<EMAIL_ADDRESS>  },

import en from<EMAIL_ADDRESS>import si from<EMAIL_ADDRESS>
export default defineI18nConfig(() => ({
  legacy: false,
  locale: 'si',
  messages: {
    si,
    en,
  },
}))

Perhaps something here wrong as well...

Let me know if these changes fix it for you:
i18n: {
    vueI18n<EMAIL_ADDRESS>+   locales: ['en', 'si']
+   defaultLocale: ['si']
},

import en from<EMAIL_ADDRESS>import si from<EMAIL_ADDRESS>
export default defineI18nConfig(() => ({
  legacy: false,
-  locale: 'si',
  messages: {
    si,
    en,
  },
}))

I see this forces locale in URL paht (e.g.: /si). How can I escape this, since we are not using locales in url pahts?

Check out the docs on routing strategies https://i18n.nuxtjs.org/docs/guide

Thank you.
Indeed! In this case I do not get warning. Now it is a bit 'weird' that configuration is split between the files but yeah, it seems to be working well.

I get "no match found for location with path "/es"
i18n: {
    vueI18n: "./il8n.config.ts",
    strategy: "no_prefix",
    locales: ["en", "es"],
  },

When i use "@nuxtjs/i18n": "^8.3.1", there is no warn but if update on newer vesrion i got same warning


Got Cannot access 'xx' before initialization error

Seems to be a deps resolve issue caused by bundler.
Works fine while development but crashed after bundle.

May be related https://github.com/vitejs/vite/issues/4430

Workaround:

remove build.rollupOptions.output.manualChunks

Refactor to dynamic import all codemirror languages in ba5d43766056a81224cfa49175c0647547790887


[Test] screenshot 2

SSIA

JaCoCo Code Coverage 76.92% :white_check_mark:

Class
Covered
Meta
Status

  Generated by :no_entry_sign: Danger


MAA "Login" feature problem fix

MAA log:
[2024-06-01 21:49:02.211][INF][Px1b0c][Tx1554] Call ` ...\adb.exe -s ... shell am start -n com.YoStarKR.Arknights/com.u8.sdk.U8UnityContext ` ret 0 , cost 83 ms , stdout size: 173 , socket size: 0
[2024-06-01 21:49:02.211][TRC][Px1b0c][Tx1554] stdout output:
Starting: Intent { cmp=com.YoStarKR.Arknights/com.u8.sdk.U8UnityContext }
Warning: Activity not started, intent has been delivered to currently running top-most instance.

[2024-06-01 21:49:02.211][INF][Px1b0c][Tx1554] Assistant::append_callback | SubTaskCompleted {"class":"asst::StartGameTaskPlugin","details":{},"subtask":"StartGameTask","taskchain":"StartUp","taskid":21,"uuid":""}

MAA tries to start Arknights app context and wait until it activated.

Thanks for your contribution!


Special sections

The guidelines mention some special sections that are required:

figures: here, all figures are displayed instead of in between the text
figure sources: here, for every figure it is listed what the source is, like a bibliography
declaration of independence: a signed declaration that the work was made independently and only the sources listed were used

The class should provide easy ways to create these sections.
Note, that as per the guidelines, the declaration of independence should not appear in the table of contents while figures and figure sources do. But they should not have chapter numbers.

The most flexible way is probably to redefine \appendix to disable section numbering for the appendix. Then, a normal \section{Abbildungsverzeichnis} can be used. However we also should work on something to ease the creation of the figure sources section.

One way for the appendix redefenition would probably be:
% Extend \appendix to disable section numbering
\let\oldappendix\appendix
\renewcommand{\appendix}{%
  \oldappendix%
  \setcounter{secnumdepth}{0}%
}

For now I think the implementation in v0.4.0 is enough. We could open a dedicated issue for the figure sources section later.


Migration to RocketChat

Tested the export from Slack, unfortunately it does not include private messages or channels. It does include all messages, even those past the 10k limit, so the public channels are a bit more useful now. Let's discuss a strategy for handling the private channel setups for clients.

Rocketchat is up and going 👍


Windows support

Almost a year ago I started using e2e. I got it from the googlecode page, made some patches so it would build, and got it working on chrome/windows.
Recently, chrome has been showing me a nag screen whenever it starts claiming that running a "developer mode" extension may harm my computer. Ironic, but whatever.
Now, the extension doesn't work anymore:
Stack Trace: prompt_binary.js:2513 (anonymous function)
e2e.ext.ui.Prompt.prototype.decorateInternal=function(a){e2e.ext.ui.Prompt.superClass_.decorateInternal.call(this,a);soy.renderElement(a,e2e.ext.ui.templates.prompt.Main,{extName:chrome.i18n.getMessage("extName")});a.querySelector("link").href=chrome.extension.getURL("prompt_styles.css");chrome.runtime.getBackgroundPage(goog.bind(function(a){this.pgpLauncher_=a.launcher||this.pgpLauncher_;console.debug(this.pgpLauncher_);this.pgpLauncher_&&this.pgpLauncher_.getSelectedContent(goog.bind(this.processSelectedContent_,
this))},this))};

So I came to grab the latest version, and found that windows support is even less existent now. I find this baffling.

Adding support for the build environment on Windows is not planned, as none of us is using this platform.  Of course the built extension would work on any Chrome, including Chrome/Win. I'm closing this ticket.
When you say that the extenision "doesn't work anymore", do you mean the current version? If so, please reopen and we'll investigate further.


Set custom session id

Sometimes it's hard to connect two sessions in parent and child frames. It would be helpful if we can set the session ID if there's a public API for it, the same way setUserId behaves.
One could implement it using a different param, for example sending a custom made session ID of your own through track calls and make sure it's consistent for both instances of snowplow, but that would make the snoplow session ID not useful in the data analysis so why not set in the same way we do for the user Id.
Would love to hear your thoughts about this if there is any architectural complexity that would cause a misfunction to internal behavior.
Thanks!

I'd recommend you solve this with a Custom Schema and attaching a "context" to each event, either per event or by using Global Contexts.
We won't be allowing users to change the built in session identifiers, this opens up too many doors for mistakes that can cause unexpected issues downstream and we're currently not looking to extend the atomic.events schema. This is why custom contexts exist, to allow you to extend the captured data with your own identifiers and data points.


[Feature] std::panic::Location support

closes #142
#[derive(Debug, Error)]
struct MyError {
  #[from] err: SomeOtherError,
  #[location] /*optional attr*/ location: &'static Location<'static>,
}

This is a solid change.  I've started using it in a project of mine and it's working great.

+1

Anything blocking the merge of this? It would be a great feature to have!


Add medium blog cards by Sourav Dey

Hi @Souravdey777, I was wondering if you'd be ok with me including your awesome project on my website https://markdownprofile.com. It would look like the attached screenshot. I think your project is awesome and it would be cool if we can include it.

I will be really happy it can reach out to a large audience with your amazing website. I am also planning to improvise it too with more suggestions which will come along the way. Please include it 😃🤟🏻 @dannyverp


Loop, next and previous Clip at the Shortcuts. Gpi in for play

Hi, your project ist amazing. I want to use it with my visionmixer as mediaplayer besides the cameras.
I already managed to loop a video without onscreen display (omxplayer --loop --....).
Is it possible to put something like this in your Remote Page? Also next and previous Clip would be wonderful.
The integration of GPI in would be great. When I Press a Button the Video Starts to Play... So I could combine it with mY arduino which controls my visionmixer.
Example: when I switch the Mediaplayer on air, the Player automaticly Starts to Play.
Thanks in advance!!
Julian

Sounds like an interesting thing but unfortunetely it is nothing that i can do for you. It is too specific to your case to implement it in this repository. Feel free to modifiy it to your needs, but i can't help here, sorry. For some GPIO processing and a good starting point for you, i have also another library, also based on PHP. https://github.com/brainfoolong/gpio-webinterface. So, you maybe can combine both things to your needs. Both are relatively simple code. When you dig into the code, i'm sure you can do it yourself.


Netlify CMS v3 Hacktoberfest

Hey y'all,
I thought Hacktoberfest would be an awesome opportunity to contribute to the new version of Netlify CMS.
This one: https://github.com/netlify/netlify-cms/issues/2557
Dedicated branch: https://github.com/netlify/netlify-cms/tree/future/v3
Project: https://github.com/netlify/netlify-cms/projects/9
I'd be pretty happy to help develop it and I think there're other Netlify CMS users who are thinking the same.
I'm thinking about it would be great if we can identify the next steps in this process, create some issues for it, and a basic "How to contribute" guide to speed up things and make it easier to get started.
Maybe @austincondiff as the main head behind this could help us.
What do you think? How can we get started organizing this and development?

Definitely would love to help with this! Is there an issue you can recommend me to get started?

Hello !
Same as @JoseRFelix

As an fyi https://hacktoberfest.digitalocean.com/hacktoberfest-update
tl;dr: In order to be eligible for hacktoberfest, the repo must have a "hacktoberfest" topic. This was added to avoid spam PRs.

@KoljaTM that's why I created this issue, to draw the maintainers' attention, hoping, they'll find this a good idea too.

I'm good with giving this a try. We can always opt out if it gets too spammy.
For UX specific issues see https://github.com/netlify/netlify-cms/projects/9

Closing this, thank you everyone


Why can't I set the background color and margin of SliverGrid?

Is there an existing issue for this?

[X] I have searched the existing issues
[X] I have read the guide to filing a bug

Use case
When I used CustomScrollView SliverGrid, I found that the background color and margins could not be set separately for SliverGrid. I think this is a very common function, and I found that many developers have encountered similar problems. May I ask if the official plans to add relevant attributes?
Proposal

I have used CustomScrollView to realize almost all the effects in the picture above, but SliverGrid cannot set the background color and margins. I have tried various methods and finally failed to achieve it, so I had to give up this component in the end.

@giantss for add margin you can wrap SliverGrid with SliverPadding.
SliverPadding(
  padding: EdgeInsets.all(20),
  sliver: SliverGrid()
)

Thanks  @farhanfadila1717.


Improve error message for Parse.Error.INCORRECT_TYPE failure condition

Currently, the error message looks like the following, which needs improvement.
schema mismatch for _User.nebulousDataType; expected Number but got [object Object]

Would you mind writing a test to make sure we don't have a regression? Are we sure type is always an object?

I'm ignorant as to how to write a test (sorry).  However, I believe we can be 100% confident that type is an object based on how it's used in the dbTypeMatchesObjectType method.

Ok, seems good to me then. Thanks for the contribution.


Link a session from the web (gtag.js) to the native Firebase without Dynamic Link

Feature proposal

Firebase Component: Analytics

Hi,
It may be or not a feature request depending on your answer, so sorry in advance if it's not!
In the past I was using Firebase Dynamic Link (and it was making the brige between the web (gtag.js) and the native side (Firebase Analytics)) and I was able to see the same user session across web and app.
I'm now in the case where I need to use tool not owned by Google to make links from "web to native" to track flows when the user come from specific ad platform (Facebook, Tiktok...). (I would have loved to stick with Firebase Dynamic Link but it's blocking in case of flows after an ad clicked from web to native app...)
But in this case where I use another "link creator", how could I propagate the "google session id" from the web to the app? I thought about:

from the website, when the user clicks the native app link, I generate the hybrid link with the "third-party link creator" while adding to the original destination a parameter like _ga that I can read thanks to gtag.js (or maybe the cookie if available)
once the app is launched or installed, I can ask the "link creator SDK" which was the original link (the link containing _ga)
I extract this parameter from the original link
I set into the Firebase Analytics SDK this parameter (something like setSessionId(...)) so Firebase can tells Google Analytics it's the same session

But from what I see into the Firebase Analytics SDK I'm not able to specify the session id (for cross-platform session).
Do you know how I could proceed to keep the session from web to native into Google Analytics? I'm wondering how Firebase Dynamic Link was proceeding (a parameter must have been passed somewhere... otherwise it's all handled on Google servers)?
cc @paulb777

@sneko, Firebase Dynamic Links used the pasteboard previously to store link information on the device from App Store to downloaded app. If you have your own website with a manual universal links implementation, you could do the same.

@morganchen12 I understand how it could work but how could I tell the Firebase SDK to init with a specific session ID?
As mentioned above I read the docs and never found any setSessionId(...) available.
Thank you,

Analytics does not let you manually set the session ID. You'd have to find some other way of identifying the user across platforms and then manually combine the data, for example via BigQuery export.

It's not clear there are additional actions here. Please comment if there's an open question.


[SUPPORT]using spark on TimestampBasedKeyGenerator has no result when query by partition column

hudi table options:
hoodie.datasource.write.table.type=MERGE_ON_READ
hoodie.datasource.write.recordkey.field=id
hoodie.datasource.write.partitionpath.field=data_date
hoodie.datasource.write.precombine.field=ts
hoodie.datasource.write.keygenerator.class=org.apache.hudi.keygen.TimestampBasedKeyGenerator
hoodie.deltastreamer.keygen.timebased.timestamp.type=DATE_STRING
hoodie.deltastreamer.keygen.timebased.output.dateformat=yyyy/MM/dd
hoodie.deltastreamer.keygen.timebased.timezone="GMT+8:00"
hoodie.deltastreamer.keygen.timebased.input.dateformat=yyyy-MM-dd
hoodie.datasource.hive_sync.database=hudi
hoodie.datasource.hive_sync.enable=true
hoodie.datasource.hive_sync.partition_extractor_class=org.apache.hudi.hive.SlashEncodedDayPartitionValueExtractor
when i query table with data_date, there're no result.
like this:
scala> spark.read.format("hudi").load(tablePath).where("id = '225709893'").select("data_date").where("data_date = '2018-09-23'").show
+---------+
|data_date|
+---------+
+---------+

scala> spark.read.format("hudi").load(tablePath).where("id = '225709893'").select("data_date").show
+----------+
| data_date|
+----------+
|2018-09-23|
|2018-09-22|
|2018-09-19|
|2018-09-21|
|2018-09-25|
|2018-09-20|
|2018-09-24|
+----------+

I follow the code, and find the partition use string '2018/09/23' and query patten is '2018-09-23' in HoodieFileIndex#prunePartition.
Is there any way to introduce the hoodie.deltastreamer.keygen.timebased.output.dateformat configuration for query conversion?

My env hudi 0.10.0 , spark 2.4.0-cdh6.3.2

thanks for reporting. for the time being, can you try query using YYYY/MM/DD format.

thanks for reporting. for the time being, can you try query using YYYY/MM/DD format.

yyyy/MM/DD can find the partition file, but there is no equal data in the table for value store in data_date is 'YYYY-MM-DD'

@nsivabalan result like this:
scala> spark.read.format("hudi").load(tablePath).where("id = '225709893'").select("data_date").where("data_date = '2018/09/23'").show
22/01/04 09:35:09 WARN lineage.LineageWriter: Lineage directory /var/log/spark/lineage doesn't exist or is not writable. Lineage for this application will be disabled.
22/01/04 09:35:27 WARN util.Utils: Truncated the string representation of a plan since it was too large. This behavior can be adjusted by setting 'spark.debug.maxToStringFields' in SparkEnv.conf.
+---------+
|data_date|
+---------+
+---------+

scala>

@taisenki @nsivabalan
I found there are different behaviors in cow and mor type. i'll take this up and reply asap.

thanks Yann for helping out.

@YannByron : may I know whats the tracking ticket. If not, can we create one for the issue reported in this github issue.

@nsivabalan I haven't created a ticket yet. You can create it and assign to me.

Closing it as we have a tracking jira. Yann will work on putting up a fix towards this end. thanks for reporting!


feat(artwork): adds small blurred placeholder image

Closes: GRO-484
So initially I thought LCP would be triggered if we loaded a small (like 20x20) image blown up to fill out the container. This turns out not to be the case in my testing. We have to use an image that's at least 1px larger than the primary image. We can just compress this a huge amount and use a CSS blur. These tend to be around 2kb (as compared to ~50-100kb for the fullsize images). Once this happens these do get picked up as the LCP. Combined with a preload tag this should always win and improve our LCP. Feels a bit hacky but adding a blurred placeholder seems like an actual UX improvement. Granted there's way better ways to implement this than this. Let's let this hang out in draft then merge on Monday and see if the Calibre scores for LCP move at all.
Here's what navigating through a gallery looks like with my network throttling on Fast 3G:

Google has a bit on why they don't support progressive in WebP here: https://developers.google.com/speed/webp/faq#does_webp_support_progressive_or_interlaced_display
There's some very interesting threads here:
https://github.com/WICG/largest-contentful-paint/issues/68
https://github.com/WICG/largest-contentful-paint/issues/71
One of the other things I'm thinking might be good to add to Gemini is supporting blurhash: https://blurha.sh/ + https://github.com/Gargron/blurhash
cc @jonallured

Alternatively, WebP offers incremental decoding, where all available incoming bytes of the bitstream are used to try and produce a displayable sample row as soon as possible. This both saves memory, CPU and re-paint effort on the client while providing visual cues about the download status. The incremental decoding feature is available through the Advanced Decoding API.

Interesting


An error occurred while fetching chart info:Forbidden

superset version: superset 2.0
python version: python 3.9
mysql version: mysql 5.6
I have made the following changes to the configuration file.
vim config.py
SQLALCHEMY_DATABASE_URI = 'mysql://user_name:password@host/dbname'
class CeleryConfig:
broker_url = "sqla+mysql://user_name:password@host:3306/dbname"
imports = ("superset.sql_lab",)
result_backend = "db+mysql://user_name:password@host:3306/dbname"
I am admin user,But I see the picture below

I remodified the metadata database

Para aqueles que assim como eu tiveram a mesma duvida eu fiz o seguinte:
Observei que esse erro normalmente é causado por conta de permissão que o seu usuario não tem, então, precisamos dar
Mas antes segundo o site que confirma a minha afirmação
https://www.restack.io/docs/superset-knowledge-superset-api-error-forbidden-guide
"Common Causes
User Role Restrictions: Users may be assigned roles with limited permissions. Attempting actions outside of these permissions will result in a Forbidden error.
Incorrect Credentials: Providing incorrect authentication details can lead to a Forbidden response.
API Endpoint Restrictions: Some API endpoints may have stricter access controls, requiring specific roles or permissions."
Seguindo primeiro utilizando o ubuntu (por onde fiz a instalação) verifiquei o ls -la ~/.superset para entender minhas permissões então depois chmod -R 700 ~/.superset ai pronto funcionou e estou utilizando ele .

I had issues with this as well. It seems like the superset db upgrade is broken or incomplete for Postgres.
If you compare the SQLite Meta database to the Postgres after a fresh db upgrade and superset fab create-admin, you will notice ab_role, ab_user_role, ab_view_menu, ab_permission_view, ab_permission_view_role etc are missing rows.
My hack for this was to open the SQLite database in dbeaver and export these tables to my postgres meta database. You will need to work around the primary key ID's and sequence numbers but its possible to make it work.


doc: release: 3.6: Release notes for mfd and regulators

Added release notes for mfd and regulators

@aasinclair Did you intend to submit this as a draft?


Use aspect ratio of youtube video for frame calculation

Oh I forgot that I broke that earlier 😅 thank you for the PR!


Add direct ERC call examples to dapp tests

Enhance relay dapp tests with additional tests and example with direct ERC calls

[ ] Approve
[ ] Transfer
[ ] TransferFrom
[x] Associate
[ ] ...

Coverage was added


Remove calls to MPI Abort, and just raise exceptions

Also add extra checks for shared memory dimensions that are negative or zero.

Merging this now.  The removal of MPI Abort makes it easier to examine the stack trace from issues in the underlying mpi4py exceptions.  And the last commit (removal of duplication of comm) fixes running out of communicators in some cases.


Bugfixes

Looks good.  unshare at this point whether to wait for testrun or whether that is still undergoing changes.


The Minskins review 20/08/2020

Great project. Rubocop would approve.
Small notes to remember:

Don't forget to update your readme with your project's details.
Don't forget to share the API keys or upload the project to Heroku when submitting it for code review.

And here's bender dancing. Use it as an inspiration.

Thanks guys for the suggestion =D


API: Fix listing zones and stoage pools

Description
This PR fixes an issue observed upstream when listing zones and storage pools due to missing column in view due to a recent change https://github.com/apache/cloudstack/pull/7489
2023-12-05 20:48:10,098 ERROR [c.c.a.ApiServer] (qtp925308434-24:ctx-e45bb790 ctx-d27d94a5) (logid:8cc1db1d) unhandled exception executing api command: [Ljava.lang.String;@3de943f8
com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.cj.jdbc.ClientPreparedStatement: SELECT storage_pool_view.id, storage_pool_view.uuid, storage_pool_view.name, storage_pool_view.path, storage_pool_view.host_address, storage_pool_view.status, storage_pool_view.pool_type, storage_pool_view.created, storage_pool_view.removed, storage_pool_view.capacity_bytes, storage_pool_view.cluster_id, storage_pool_view.cluster_uuid, storage_pool_view.cluster_name, storage_pool_view.cluster_type, storage_pool_view.data_center_id, storage_pool_view.data_center_uuid, storage_pool_view.data_center_name, storage_pool_view.pod_id, storage_pool_view.pod_uuid, storage_pool_view.pod_name, storage_pool_view.tag, storage_pool_view.is_tag_a_rule, storage_pool_view.disk_used_capacity, storage_pool_view.disk_reserved_capacity, storage_pool_view.job_id, storage_pool_view.job_uuid, storage_pool_view.job_status, storage_pool_view.scope, storage_pool_view.capacity_iops, storage_pool_view.hypervisor, storage_pool_view.storage_provider_name, storage_pool_view.parent FROM storage_pool_view WHERE storage_pool_view.id=1
        at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:424)
        at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:360)
        at com.cloud.api.query.dao.StoragePoolJoinDaoImpl.searchByIds(StoragePoolJoinDaoImpl.java:306)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.base/java.lang.reflect.Method.invoke(Method.java:566)
        ....
Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'storage_pool_view.is_tag_a_rule' in 'field list'
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
        ... 70 more

com.cloud.utils.exception.CloudRuntimeException: DB Exception on: com.mysql.cj.jdbc.ClientPreparedStatement: SELECT host_view.id, host_view.uuid, host_view.name, host_view.status, host_view.type, host_view.private_ip_address, host_view.disconnected, host_view.version, host_view.hypervisor_type, host_view.hypervisor_version, host_view.capabilities, host_view.last_ping, host_view.created, host_view.removed, host_view.oobm_enabled, host_view.oobm_power_state, host_view.ha_enabled, host_view.ha_state, host_view.ha_provider, host_view.resource_state, host_view.mgmt_server_id, host_view.cpu_sockets, host_view.cpus, host_view.speed, host_view.ram, host_view.cluster_id, host_view.cluster_uuid, host_view.cluster_name, host_view.cluster_type, host_view.data_center_id, host_view.data_center_uuid, host_view.data_center_name, host_view.pod_id, host_view.pod_uuid, host_view.pod_name, host_view.guest_os_category_id, host_view.guest_os_category_uuid, host_view.guest_os_category_name, host_view.tag, host_view.is_tag_a_rule, host_view.memory_used_capacity, host_view.memory_reserved_capacity, host_view.cpu_used_capacity, host_view.cpu_reserved_capacity, host_view.job_id, host_view.job_uuid, host_view.job_status, host_view.annotation, host_view.last_annotated, host_view.username FROM host_view WHERE host_view.id IN (1,2,3,4,5)
        at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:424)
        at com.cloud.utils.db.GenericDaoBase.searchIncludingRemoved(GenericDaoBase.java:360)
        at com.cloud.api.query.dao.HostJoinDaoImpl.searchByIds(HostJoinDaoImpl.java:462)
        at jdk.internal.reflect.GeneratedMethodAccessor247.invoke(Unknown Source)

...
Caused by: java.sql.SQLSyntaxErrorException: Unknown column 'host_view.is_tag_a_rule' in 'field list'
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:120)
        at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97)
        at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122)
        ... 70 more

Types of changes

[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] New feature (non-breaking change which adds functionality)
[x] Bug fix (non-breaking change which fixes an issue)
[ ] Enhancement (improves an existing feature and functionality)
[ ] Cleanup (Code refactoring and cleanup, that may add test cases)
[ ] build/CI

Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale

[ ] Major
[ ] Minor

Bug Severity

[ ] BLOCKER
[ ] Critical
[ ] Major
[ ] Minor
[ ] Trivial

Screenshots (if appropriate):
How Has This Been Tested?

How did you try to break this feature and the system with this change?

@blueorangutan package

@shwstppr a [SL] Jenkins job has been kicked to build packages. It will be bundled with  KVM, XenServer and VMware SystemVM templates. I'll keep you posted as I make progress.

@Pearl1594 does this need to go in engine/schema/src/main/resources/META-INF/db/views/cloud.host_view.sql based on the new pattern introduced in #7417 ?

good point @shwstppr
:+1

This PR fixes an issue observed upstream when listing zones and storage pools due to missing column in view due to a

upstream :D
seriously @shwstppr is right about the location of the change. Will take some getting used to for all of us, but then it will also help us in reviewing.

Packaging result [SF]: ✔ el7 ✔ el8 ✔ el9 ✔ debian ✔ suse15. SL-JID 7941

Thanks @shwstppr . I'll update the PR. I wasn't aware of these changes.

@Pearl1594 I've just used a diff checker to compare this PR's view with whats in #7131, and I don't see the difference, could you explain what changed?

@Pearl1594 I've just used a diff checker to compare this PR's view with what is in #7131, and I don't see the difference, could you explain what changed?

@JoaoJandre My bad, I did not realize that we had separate sql files for views. And I do notice that the column is specified there. So, I am not really sure though why it didn't get applied, because zone and storage pool tabs do not load anymore.

@Pearl1594 I've just used a diff checker to compare this PR's view with what is in #7131, and I don't see the difference, could you explain what changed?

@JoaoJandre My bad, I did not realize that we had separate sql files for views. And I do notice that the column is specified there. So, I am not really sure though why it didn't get applied, because zone and storage pool tabs do not load anymore.

The view scripts are only executed on upgrades, so if your environment was already on version 4.19, they would not get updated. Also, there are some logs on DatabaseUpgradeChecker.java#executeViewScripts that show what is being executed, if you don't see any logs about that, the views did not get updated.

Ok, seems like there was an issue during setup of the env. It was a new env based off main branch - but another env got deployed fine. Closing this PR.


GitHub: Add citation file to enable "Cite this repository" feature

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)

Proposed changes
Recently I wanted to cite Node-RED for an academic work. Online search led me to https://discourse.nodered.org/t/citing-node-red-in-a-scientific-publication/52412/5 and https://nodered.org/about/#citing-node-red which I will use for my citation.
GitHub is able to show a "Cite this repository" if a citation file is added to the root of the repository as described in https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files. Even though there is information about citation in the node-red website, having a dedicated button in the GitHub repository is nice too (personally, it's the first place I look).
I made this PR to add the citation file required to enable this functionality in case you find this feature useful.
Cheers!
Checklist

[x] I have read the contribution guidelines
[ ] For non-bugfix PRs, I have discussed this change on the forum/slack team.
[x] I have run npm run test to verify the unit tests pass
[ ] I have added suitable unit tests to cover the new/changed functionality

Thanks - good idea.


fix: do not mutate comment maps while transforming

This change does three things:

Does not mutate the comment maps in transforms. This allows for another thread to be safely doing stuff with the comment maps without having another thread mutating it in a transform. Edit: Actually, I'm not sure if this makes sense... instead should a cloned version of the comment map be worked on?
It does not remove comments and forget about them when emitting.
Removes race condition in with_leading and with_trailing until #1952 is implemented.

On second thought, I'm not sure this should be done and this doesn't really solve what I was doing because move_X methods still occur and that makes sense to do.


I have some question about the diff algorithm

I found that Paul Hackel's diff algorithm does not find the optimal edit distance between two arrays
So why not use the Wagner Fischer algorithm?
Although in a large number, using Wagner Fischer algorithm is obviously very slow. But usually, a screen can display the number is not much.
So why not use the Wagner Fischer algorithm to find the optimal edit distance, but quickly find the edit distance using Paul Hackel's diff algorithm?

Sorry,what is "crash your app depending on data" ?
if I use DP, is will crash ?
I am not sure what you meant. 😂


Chunks are not being refreshed with new Manifest response's SegmentTemplates.

Have you read the Tutorials?
Have you read the FAQ and checked for duplicate open issues?
If the question is related to FairPlay, have you read the tutorial?

What version of Shaka Player are you using?
2.5.23
What browser and OS are you using?
MacOs, Firefox
Please ask your question
Hello,
I am currently playing a live channel using DASH and for additional security, I am adding some search parameters to the new manifest requests. As a response to the manifest request, I receive new segments and a new token parameter within the media object. However, while the ts chunks are being downloaded, the token parameter appended to the media chunks from the initial manifest request is still being used.
In short:

I am using Shaka Player to play a live DASH stream.
I add some search parameters (e.g., st, ts, e) to new manifest requests.
The server returns a new manifest with updated st tokens within the SegmentTemplate elements.
However, Shaka Player continues to use the old st tokens from the initial manifest request when downloading segment chunks.
How can I ensure that Shaka Player uses the new st tokens for segment chunks after a new manifest is loaded? What would be the best approach to solve this issue?

You are using an unsupported and very old version. I'm sure this has been resolved in newer versions, can you try 4.10.2? Thanks!

Hello, I upgraded the Shaka version to 4.10.2 as you suggested, but the problem is still not fixed. Even though a new MPD request is made, it continues to read the old manifest file.

Can you send your manifest url to test it?

Hello, this manifest URL is closed to the outside due to company policy and cannot be accessed externally.
Maybe if you can provide me with a sample content, I can test it on my end to see if the transition works correctly.

We do not have content with these characteristics. Since you can't provide an example to help you, we'd be happy to review your PR in case you want to contribute to fixing this. I'm sorry!

Hello, as you mentioned, I updated the Shaka version and continued testing. After MPD refreshes, it continues to download chunks from the old mode, and after a while, it switches to the new MPD after receiving a 410 error from the existing mode and continues downloading chunks. However, after a while, it encounters issues during these transitions and fails to switch to the new mode. Is there a configuration we can use to force the player to switch to the new MPD after receiving it?

Hi @avelad , i am waiting for your response. Thanks.

@shaka-bot reopen

Here i am sharing my registerRequestFilter function , to update header parameters with new ones .
MTC.registerRequestFilterFunction = (type, request) => {
const requestType = playerMethods.getRequestTypes();
if (type === requestType.MANIFEST) {
request.uris.forEach((uri, index) => {
if (isMpdRequest(uri)) {
            let tokenParams = {};
            try {
                tokenParams = prepareTokenParams();
            } catch (error) {
                console.warn("Token creation error on registerRequestFilter: ", error);
                return;
            }

            const { sample } = tokenParams;
            const urlObj = new URL(uri);

            const paramsToDelete = ["sample"];
            paramsToDelete.forEach(param => {
                if (urlObj.searchParams.has(param)) {
                    urlObj.searchParams.delete(param);
                }
                delete request.headers[param];
            });

            request.headers["sample"] =  sample;
            request.uris[index] = urlObj.href;
        }
    });
}

}
I observe that request.uris is growing in size after each call, even if i have only 1 uri in the beginning.

So I understand that you have solved the problem with your filter. The growth of the uris size is expected if you frequently change the final url of the mpd (including tokens)

@shaka-bot reopen

I reopened the topic because I want to ask something. I upgraded my Shaka Player version to 4.10.2. What I want to ask is: In dynamic manifest requests, after each manifest request, shouldn't it continue with the updated data from the manifest (segment templates)? What I see is that even though manifest requests are made, the new segments from the updated manifest are not immediately used. I also noticed that sometimes, when a 410 is received from the server, it automatically switches to one of the next manifests, but this is not stable. I couldn't understand how it decides which manifest to switch to. In short, my question is, after each manifest request, can we ensure that Shaka continues with the latest manifest? Or, based on which tags or properties does Shaka make decisions during these transitions in the response?

@avelad

Can you give some examples of what is received(mpd)? So we can see what might be happening...

Here is one example :

https://pl-avr-s04.tvplus.com.tr/pl/<IP_ADDRESS>:80/izmottrrs.tvplus.com.tr/PLTV/88888888/224/3221229846/

PgMAAAEAAQA0AzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AZQBsAFcAVQArADcAMwByAFgATwB3ADAALwBQAG8AQwBuAGsAcQBGAGMAdwA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBKAEIAWABqAFIAaABXAE0AQgBjAFkAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBwAGwAYQB5AHIAZQBhAGQAeQAuAHQAdgBwAGwAdQBzAC4AYwBvAG0ALgB0AHIALwBQAGwAYQB5AFIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwATABVAEkAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBwAGwAYQB5AHIAZQBhAGQAeQAuAHQAdgBwAGwAdQBzAC4AYwBvAG0ALgB0AHIALwBQAGwAYQB5AFIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAFUASQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA=

AAAAcHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFAIARIQ+5RVeuu97Fw0/PoCnkqFcxojaHR0cHM6Ly93aWRldmluZS50dnBsdXMuY29tLnRyOjgwNjMiDnI9NTYyMjcmcz0xMDcwKgVTRF9IRA==

AAAA+nBzc2gAAAAAmifdgv3iRyWMvEI0qgbsCQAAANo8VmVyaW1hdHJpeD48UHNzaCB2ZXJzaW9uPSIxIj48S2V5VXJsPjwhW0NEQVRBW2h0dHBzOi8vdm14dWFjc20udHZwbHVzLmNvbS50ci9DQUIva2V5ZmlsZT9zPTEwNzAmcj01NjIyNyZ0PURUViZwPTAma2M9Yjk1MjZkYmNjZTIwMTFlZGE5MzM4MDMwZTAyNGE1ODAma2Q9MTAxZDA0NjliNmQzMGQwMjk5YzBjZjNjYjEzZGUwMmJdXT48L0tleVVybD48L1Bzc2g+PC9WZXJpbWF0cml4Pg==

	</AdaptationSet>
	<AdaptationSet id="1" contentType="audio" segmentAlignment="true" bitstreamSwitching="true" lang="tur">
		<ContentProtection schemeIdUri="urn:mpeg:dash:mp4protection:2011" value="cenc"/>
		<ContentProtection schemeIdUri="urn:uuid:9a04f079-9840-4286-ab92-e65be0885f95">
			<mspr:pro>PgMAAAEAAQA0AzwAVwBSAE0ASABFAEEARABFAFIAIAB4AG0AbABuAHMAPQAiAGgAdAB0AHAAOgAvAC8AcwBjAGgAZQBtAGEAcwAuAG0AaQBjAHIAbwBzAG8AZgB0AC4AYwBvAG0ALwBEAFIATQAvADIAMAAwADcALwAwADMALwBQAGwAYQB5AFIAZQBhAGQAeQBIAGUAYQBkAGUAcgAiACAAdgBlAHIAcwBpAG8AbgA9ACIANAAuADAALgAwAC4AMAAiAD4APABEAEEAVABBAD4APABQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsARQBZAEwARQBOAD4AMQA2ADwALwBLAEUAWQBMAEUATgA+ADwAQQBMAEcASQBEAD4AQQBFAFMAQwBUAFIAPAAvAEEATABHAEkARAA+ADwALwBQAFIATwBUAEUAQwBUAEkATgBGAE8APgA8AEsASQBEAD4AZQBsAFcAVQArADcAMwByAFgATwB3ADAALwBQAG8AQwBuAGsAcQBGAGMAdwA9AD0APAAvAEsASQBEAD4APABDAEgARQBDAEsAUwBVAE0APgBKAEIAWABqAFIAaABXAE0AQgBjAFkAPQA8AC8AQwBIAEUAQwBLAFMAVQBNAD4APABMAEEAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBwAGwAYQB5AHIAZQBhAGQAeQAuAHQAdgBwAGwAdQBzAC4AYwBvAG0ALgB0AHIALwBQAGwAYQB5AFIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAEEAXwBVAFIATAA+ADwATABVAEkAXwBVAFIATAA+AGgAdAB0AHAAcwA6AC8ALwBwAGwAYQB5AHIAZQBhAGQAeQAuAHQAdgBwAGwAdQBzAC4AYwBvAG0ALgB0AHIALwBQAGwAYQB5AFIAZQBhAGQAeQAvAHIAaQBnAGgAdABzAG0AYQBuAGEAZwBlAHIALgBhAHMAbQB4ADwALwBMAFUASQBfAFUAUgBMAD4APAAvAEQAQQBUAEEAPgA8AC8AVwBSAE0ASABFAEEARABFAFIAPgA=</mspr:pro>
		</ContentProtection>
		<ContentProtection schemeIdUri="urn:uuid:edef8ba9-79d6-4ace-a3c8-27dcd51d21ed">
			<cenc:pssh>AAAAcHBzc2gAAAAA7e+LqXnWSs6jyCfc1R0h7QAAAFAIARIQ+5RVeuu97Fw0/PoCnkqFcxojaHR0cHM6Ly93aWRldmluZS50dnBsdXMuY29tLnRyOjgwNjMiDnI9NTYyMjcmcz0xMDcwKgVTRF9IRA==</cenc:pssh>
		</ContentProtection>
		<ContentProtection schemeIdUri="urn:uuid:9a27dd82-fde2-4725-8cbc-4234aa06ec09">
			<cenc:pssh>AAAA+nBzc2gAAAAAmifdgv3iRyWMvEI0qgbsCQAAANo8VmVyaW1hdHJpeD48UHNzaCB2ZXJzaW9uPSIxIj48S2V5VXJsPjwhW0NEQVRBW2h0dHBzOi8vdm14dWFjc20udHZwbHVzLmNvbS50ci9DQUIva2V5ZmlsZT9zPTEwNzAmcj01NjIyNyZ0PURUViZwPTAma2M9Yjk1MjZkYmNjZTIwMTFlZGE5MzM4MDMwZTAyNGE1ODAma2Q9MTAxZDA0NjliNmQzMGQwMjk5YzBjZjNjYjEzZGUwMmJdXT48L0tleVVybD48L1Bzc2g+PC9WZXJpbWF0cml4Pg==</cenc:pssh>
		</ContentProtection>
		<Representation id="7" mimeType="audio/mp4" codecs="mp4a.40.5" bandwidth="128000" audioSamplingRate="48000">
			<AudioChannelConfiguration schemeIdUri="urn:mpeg:dash:23003:3:audio_channel_configuration:2011" value="2"/>
			<SegmentTemplate duration="96000" startNumber="1" initialization="ExtAst1724287144_init_$RepresentationID$.m4i?hw_dash=1&servicetype=1&rrsip=gbzottrrs.tvplus.com.tr%3A443&zoneoffset=0&devkbps=190-15000&limitflux=-1&limitdur=-1&tenantId=9001&validdev=5272%2C5510&vqe=3&pbf=2_2_2_2660967361&GuardEncType=2&from=31&hms_devid=5272&app_version=firefox%2CWebTV%2COSVersion%3DMacIntel%2CAppVersion%3D5.2.7%2Cwebtv&custom_sid=MjMwMDAwNzQ5NDMwNjQ%3D&uid=sjZWetVNw9MS2Tla20dKAA&sw_lh=tMuEcvEgakwaJ86BYLXyfw&proxy=true&sw_ps=1726500532222&accountinfo=nM3ioavMzOUMOffrkrFUm2TeaV2ynYqpczZIpHWmlYBEtMA9GQNtS04COPUSLZBBSr7EdOMZj0Vmxgy0oZ23NkrShY0aDaNqOH6ee4oHiSFjHzpojI44ci+exBbFrQZ5sNqz+lOhacovsEBdZh5HB+P+LJmWbFFDt6aDX2ek8N3DMdanF6Q5tL9cBGVCDXKB%3A20240916152851%3AUTC%2C%2C%2C20240916152851%2Curn%3AHuawei%3AliveTV%3AXTV4300%2C%2C-1%2C0%2C1%2C%2C%2C2%2C246%2C%2C%2C2%2C%2C0%2C%2C%2C%2C%2C2%2C1%2C161239796%2CEND&st=dyjaTkHpGwkZgPdVcQI2uyVOK_cMhsokZ0KBjcOCbzg&e=MTUw&ts=MTcyNjUwMDUzMg" media="ExtAst1724287144_chunk_20240822T003900_$RepresentationID$_$Number$.m4a?hw_dash=1&servicetype=1&rrsip=gbzottrrs.tvplus.com.tr%3A443&zoneoffset=0&devkbps=190-15000&limitflux=-1&limitdur=-1&tenantId=9001&validdev=5272%2C5510&vqe=3&pbf=2_2_2_2660967361&GuardEncType=2&from=31&hms_devid=5272&app_version=firefox%2CWebTV%2COSVersion%3DMacIntel%2CAppVersion%3D5.2.7%2Cwebtv&custom_sid=MjMwMDAwNzQ5NDMwNjQ%3D&uid=sjZWetVNw9MS2Tla20dKAA&sw_lh=tMuEcvEgakwaJ86BYLXyfw&proxy=true&sw_ps=1726500532222&accountinfo=nM3ioavMzOUMOffrkrFUm2TeaV2ynYqpczZIpHWmlYBEtMA9GQNtS04COPUSLZBBSr7EdOMZj0Vmxgy0oZ23NkrShY0aDaNqOH6ee4oHiSFjHzpojI44ci+exBbFrQZ5sNqz+lOhacovsEBdZh5HB+P+LJmWbFFDt6aDX2ek8N3DMdanF6Q5tL9cBGVCDXKB%3A20240916152851%3AUTC%2C%2C%2C20240916152851%2Curn%3AHuawei%3AliveTV%3AXTV4300%2C%2C-1%2C0%2C1%2C%2C%2C2%2C246%2C%2C%2C2%2C%2C0%2C%2C%2C%2C%2C2%2C1%2C161239796%2CEND&st=dyjaTkHpGwkZgPdVcQI2uyVOK_cMhsokZ0KBjcOCbzg&e=MTUw&ts=MTcyNjUwMDUzMg" timescale="48000">
</SegmentTemplate>
		</Representation>
	</AdaptationSet>
</Period>
<UTCTiming schemeIdUri="urn:mpeg:dash:utc:http-iso:2014" value="https://time.akamai.com/?iso"/>

After looking at the code I've seen that we don't support updating URLs when using SegmentTemplate with $Number$. We do support updating URLs when using SegmentTimeline with $Number$ or SegmentTimeline with $Time$. Sorry!

@shaka-bot reopen
Hello,
First of all, I'll try to ask my questions in bullet points.
What exactly do you mean by "updating URLs"? Are you referring to the chunk URLs inside the XML response after making a new manifest request?
Actually, these manifest requests are produced by a single encoder and are used in the same way across all our clients (mobile, smart TV, etc.). So, as you mentioned, the SegmentTemplates are also not present in the segment templates of the playlists produced for other clients.
To repeat my previous question, after each new manifest request, can we force the player to use the playlist from the new manifest?
If we cannot achieve point 3, I will try to manipulate the media element in the chunk URL for each segment request, replacing it with the correct token values to download the chunks.
Ideally, I would like to solve this issue without needing to resort to point 4. I hope I've been able to explain my questions clearly.
Thank you for your help.
@avelad

@avelad

1. What exactly do you mean by "updating URLs"? Are you referring to the chunk URLs inside the XML response after making a new manifest request?

Yes, I'm referring to the chunk URLs inside the XML response after making a new manifest request

2. Actually, these manifest requests are produced by a single encoder and are used in the same way across all our clients (mobile, smart TV, etc.). So, as you mentioned, the SegmentTemplates are also not present in the segment templates of the playlists produced for other clients.

DASH supports several formats, and in the format you use we do not support updating URLs.

3. To repeat my previous question, after each new manifest request, can we force the player to use the playlist from the new manifest?

I think not, but I'm not 100% sure.

4. If we cannot achieve point 3, I will try to manipulate the media element in the chunk URL for each segment request, replacing it with the correct token values to download the chunks.


Fix dialog resize glitches

After these changes all of the dialogs in the sample app look as before. However, dialog resizing is much less glitchy. The dividers being set to "gone" and the changing margins were causing lots of dialog redraws and relayouts. Then as we listen onGlobalLayout and relayout everything it forms a cycle.
This only noticeable glitch that remains after these changes is that when the margin below the buttons is hidden (when the divider is shown), you see the buttons move into place.

I'll take a look at this later, thanks

I'm gonna trust that the dialogs are identical for now, I'm gonna have to verify tomorrow


Hugo 0.112.0 fix

Context in warnings.html is already .Site.
Fixes a build issue with Hugo 0.112.0.
Fixes #560.

Thanks for this fix!

@jpanther please merge dev to stable

This fix has already been released on the stable branch and is included in v2.6.0. Are you running the latest release?

Not OP but whether I use dev or stable, I still see this issue:
> git submodule update --remote
Submodule path 'themes/congo': checked out '05ece71d6109f63512eba9e50e300845f8fad115'
> hugo server --ignoreCache
Start building sites …
hugo v0.114.1+extended darwin/arm64 BuildDate=unknown

ERROR render of "page" failed: "/var/folders/qs/bv9nbl9n0wq54lsh3b2w9ztm0000gn/T/hugo_cache_kevinlinxc/modules/filecache/modules/pkg/mod/github.com/jpanther/congo/v2@v2.4.2/layouts/_default/baseof.html:1:4": execute of template failed: template: _default/single.html:1:4: executing "_default/single.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/var/folders/qs/bv9nbl9n0wq54lsh3b2w9ztm0000gn/T/hugo_cache_kevinlinxc/modules/filecache/modules/pkg/mod/github.com/jpanther/congo/v2@v2.4.2/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper
Built in 63 ms
Error: error building site: render: failed to render pages: render of "page" failed: "/var/folders/qs/bv9nbl9n0wq54lsh3b2w9ztm0000gn/T/hugo_cache_kevinlinxc/modules/filecache/modules/pkg/mod/github.com/jpanther/congo/v2@v2.4.2/layouts/_default/baseof.html:1:4": execute of template failed: template: _default/single.html:1:4: executing "_default/single.html" at <partial "partials/functions/warnings.html" .Site>: error calling partial: "/var/folders/qs/bv9nbl9n0wq54lsh3b2w9ztm0000gn/T/hugo_cache_kevinlinxc/modules/filecache/modules/pkg/mod/github.com/jpanther/congo/v2@v2.4.2/layouts/partials/functions/warnings.html:1:14": execute of template failed: template: partials/functions/warnings.html:1:14: executing "partials/functions/warnings.html" at <.Site.Params.showAppearanceSwitcher>: can't evaluate field Site in type *page.siteWrapper

Am I doing anything wrong?

Have you tried using the command hugo mod clean? It looks like your Hugo modules have cached an old version of the theme.

FIgured it out, I have the submodule just for code reference, the actual version being used is the go module, so updating go.mod to version 2.6.1 fixed this problem, thank you.


No option to Export as PDF

I have many different options under Export as (ePub, LaTeX, DokuWiki, MediaWiki, Beamer Slides, AsciiDoc, Pandoc Markdown, Reveal.js Slides, PowerPoint, OpenDocument, Word Document, HTML, and reStructured Text. However, I see no Export to PDF option.

Just wanted to echo that I am also having this issue

Hey,
Same here !

The same here

Seems the option to export as PDF isn't visible unless the plugin is configured correctly. I had to manually put in my Pandoc and PDFLatex path in the settings to get the PDF option to appear. I used winget on windows and brew on macOS. Full instructions are here: https://pandoc.org/installing.html I just used winget instead of choco because winget is native to Windows now.
After doing the below and restarting Obsidian the option to export as PDF appeared.
Windows
Install Pandoc
winget install pandoc

Install Miktex
winget install miktex

Pandoc Path
C:\Users\[username]\AppData\Local\Pandoc\pandoc.exe

PDFLatex Path
C:\Program Files\MiKTeX\miktex\bin\x64\miktex.exe

Mac
Install Pandoc
brew install pandoc

Install BasicTex
brew install homebrew/cask/basictex

Pandoc Path
/opt/homebrew/bin/pandoc

PDFLatex Path
/Library/TeX/texbin/pdflatex

That fixed it. Thank you.


Enhancement/setup process

Description:

This PR enhances the process to start a project from scratch:

Deletes all Pod related files and links.
Moves bundle domain and app name to environment variables.
Adds a swift script to automatically rename and configure the new project.

Notes:

Also the git tracking is removed and developers should initialize a new git repo. having this, the inclusion of feature branches(greadients, rx-swift, etc) should be done before running the script.

TODO: Improve script to allow developers to choose the desired features to include during setup.

Risk:

High

SwiftLint found issues
Warnings

File
Line
Reason

init.swift
105
Prefer _ = foo() over let _ = foo() when discarding a result from a function.

init.swift
127
Prefer _ = foo() over let _ = foo() when discarding a result from a function.

init.swift
129
Prefer _ = foo() over let _ = foo() when discarding a result from a function.

init.swift
71
Force tries should be avoided.

init.swift
81
Force tries should be avoided.

  Generated by :no_entry_sign: Danger

Nice work!

I love it! the only thing still missing is to update the travis.yml


chore: remove internal dependency type

We want to deprecate the svelte field, so remove reliance on it when crawling dependencies. Crawling more dependencies may have some small negative performance implications, but overall removing the svelte field will greatly improve performance by allowing us to more often resolve prebundled Svelte libraries which we can't do when the svelte field is present

This has been fixed in main, so this PR is no longer necessary


Using threading.Lock in an asyncio app

Hi,
I've been trying to boil down a problem I'm observing with my approach.
The goal is to have two separate threads:
1 - The Bolt SDK socket clinet
2 - A resource updater [Real world, this is a Health check class to iterate over the health checks and update]
In this example, I've created an arbitrary resource shared_value.
To ensure that the data isn't accessed by both threads at once, I've used an execution wrapping lock (mutex).
Whilst the update logic is executing, the call to get() should wait until the update has finished.
However, in this example. As soon as get() attempts to access the mutex, then the update logic immediately stops. Which I can assume is a deadlock.
I appreciate, that my assumptions for valid concurrency here may be invalid.
The example should be simple enough to replicate with any slack app.
Any help or tips would be greatly appreciated.
Reproducible in:
import asyncio
import os
from threading import Lock

from slack_bolt.async_app import AsyncApp
from slack_bolt.adapter.socket_mode import SocketModeHandler
from slack_bolt.adapter.socket_mode.aiohttp import AsyncSocketModeHandler

import logging
# logging.basicConfig(level=logging.DEBUG)

app = AsyncApp(token=os.environ.get("SLACK_BOT_TOKEN"))
socket_handler = AsyncSocketModeHandler(app, os.environ["SLACK_APP_TOKEN"])

mutex = Lock()

shared_value = None

async def assign(i):
    with mutex:
        shared_value = i
        print("shared_value", i)
        await asyncio.sleep(0.1)

async def update():
    while True:
        print("-- update --")
        for i in range(0, 200):
            await assign(i)
        await asyncio.sleep(2)

async def get():
    with mutex:
        print("get ", shared_value)
        return shared_value

@app.command("/echo")
async def echo_command(ack, body):
    value = await get()
    user_id = body["user_id"]
    await ack(f"Hi <@{user_id}> value {value}!")

async def main():
    asyncio.ensure_future(update())
    await AsyncSocketModeHandler(
            app, os.environ["SLACK_APP_TOKEN"]).start_async()

if __name__ == "__main__":
    asyncio.run(main2())

The slack_bolt version
(Paste the output of pip freeze | grep slack)
Python runtime version
(Paste the output of python --version)
OS info
(Paste the output of sw_vers && uname -v on macOS/Linux or ver on Windows OS)
Steps to reproduce:
(Share the commands to run, source code, and project settings (e.g., setup.py))

Expected result:
(Tell what you expected to happen)
Actual result:
When the slack app command is received, a deadlock will occur at the mutex call.
Requirements
Please read the Contributing guidelines and Code of Conduct before creating this issue or pull request. By submitting, you are agreeing to those rules.

Hi @pbrooks, thanks for asking the question.
This is a common pitfall for developers who are not yet familiar with the characteristics of asyncio in Python. As you might be aware, asyncio functions under an entirely different programming paradigm, which requires understanding of non-blocking event loops. It seems that the cause of your issue should be the usage of threading.Lock objects. Instead, you must use asyncio.Lock for the same purpose: https://docs.python.org/3/library/asyncio-sync.html#asyncio.Lock
FYI; here is a similar question I've answered in the past: https://github.com/slackapi/bolt-python/issues/791#issuecomment-1355825843

Thank you for your extremely prompt and insightful response @seratch :)
I knew it would be an assumption I'd made about the async paradigm somewhere.
So it's pretty nice to wake up to a solution. 👍