Add support for Rust

Hi, I'd like to build code for ESP32 in Rust, on my NixOS machine. I though this would be a good start. Unfortunately, this does not work yet. When I tried the following:
https://github.com/espressif/rust-esp32-example.git
cd rust-esp32-example
idf.py set-target esp32
idf.py build

which errors with
  process didn't exit successfully: `rustc - --crate-name ___ --print=file-names --target xtensa-esp32-espidf --crate-type bin --crate-type rlib --crate-type dylib --crate-type cdylib --crate-type staticlib --crate-type proc-macro --print=sysroot --print=cfg` (exit status: 1)
  --- stderr
  error: Error loading target specification: Could not find specification for target "xtensa-esp32-espidf". Run `rustc --print target-list` for a list of built-in targets

This is expected - I did not install the Rust fork yet. However, and this is where I think we might have a problem in the nixpkgs-esp-dev project:
https://github.com/espressif/rust-esp32-example.git
cd rust-esp32-example
idf.py set-target esp32c3
idf.py build

results in
-- The C compiler identification is unknown
-- The CXX compiler identification is unknown
-- The ASM compiler identification is unknown
-- Found assembler: riscv32-esp-elf-gcc
CMake Error at /nix/store/zxyj5pafs2v9dbc1ij30zxg00cyi20a9-esp-idf-v4.3.1/tools/cmake/project.cmake:311 (__project):
  The CMAKE_C_COMPILER:

    riscv32-esp-elf-gcc

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CC" or the CMake cache entry CMAKE_C_COMPILER to the full path to
  the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
  CMakeLists.txt:6 (project)

CMake Error at /nix/store/zxyj5pafs2v9dbc1ij30zxg00cyi20a9-esp-idf-v4.3.1/tools/cmake/project.cmake:311 (__project):
  The CMAKE_CXX_COMPILER:

    riscv32-esp-elf-g++

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "CXX" or the CMake cache entry CMAKE_CXX_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
  CMakeLists.txt:6 (project)

CMake Error at /nix/store/zxyj5pafs2v9dbc1ij30zxg00cyi20a9-esp-idf-v4.3.1/tools/cmake/project.cmake:311 (__project):
  The CMAKE_ASM_COMPILER:

    riscv32-esp-elf-gcc

  is not a full path and was not found in the PATH.

  Tell CMake where to find the compiler by setting either the environment
  variable "ASM" or the CMake cache entry CMAKE_ASM_COMPILER to the full path
  to the compiler, or to the compiler name if it is in the PATH.
Call Stack (most recent call first):
  CMakeLists.txt:6 (project)

-- Warning: Did not find file Compiler/-ASM
-- Configuring incomplete, errors occurred!

Is this nix version of the toolchain supposed to already work with the esp32c3 (which needs a RISC-V toolchain)?

No, I haven't added the ESP-specific RISC-V toolchain to this project.
To add it, it's hopefully as easy as copying the ESP32 toolchain derivation and changing the source to the RISC-V toolchain package instead. Under the toolchain releases, the RISC-V toolchain is there along with the various Xtensa ones: https://github.com/espressif/crosstool-NG/releases

The ESP RISC-V toolchain has been added in #8 - feel free to reopen this issue if you run into more issues.


Layout basic documentation

Layout a basic documentation structure to the project.

Lest's close this issue and keep track on the documentation based on the release.


Add shadcn-vue extension

Description

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Thanks for your contribution 🔥
How is this compared with this by @luisFilipePT and would it be possible to enhance that one, or?

Hey there @pernielsentikaer, @luisFilipePT 's work on Shadcn UI RayCast Extension is amazing.

How does is to compare to his? Shadcn UI has various ports such as Shadcn UI ( React Version ), Shadcn Vue ( Vue Version ), Shadcn Svelte ( Svelte Version ) and Shadcn Solid ( Solid Version ). @luisFilipePT 's Shadcn UI RayCast extension focuses only on the React port and not any another port. My RayCast extension ( Shadcn-Vue ) focuses only on the Vue port.

Would it be possible to enhance that one? There is a possibility. As mentioned earlier, @luisFilipePT's RayCast extension only focuses on React in regards to the components, commands and logo. Having separate extensions would be better so as to follow the pattern implemented by the creators of the Shadcn ports.

Thank you for taking the time to explain. It sounds like the best option would be to have them as separate entities.

Could you fix the linting issues described here

✅ Done.

One of the commands crashes right after opening it, can you look into that?

Hey @pernielsentikaer , could you please review the changes and let me know if everything is OK 😁?


2 or 3 different accounts by social network

Hi can we provide 2 or 3 different accounts by social network.
I mean for example if we use instagram, can we have 2 different accounts in the feed.
By modifying the original code :
// INSTAGRAM
instagram:{
    accounts: ['&24************47'],
	//Array: Specify a list of accounts from which to pull posts
    client_id: '64************4d',
	//String: Instagram client id (option if using access token)
    access_token: '24************rf',
	//String: Instagram access token
    limit: 20
},

By this code :
//accounts: ['&2447','&1423'],
//Array: Specify a list of accounts from which to pull posts
//client_id: ['644d','c340'],
//String: Instagram client id (option if using access token)
//access_token: ['24rf','149a'],
//String: Instagram access token
limit: 20
//Integer: max number of posts to load
},
thank you

because Instagram like also Fb limit to your account and your Token the abilty to grab feed is impossible (i think) to grabs with same token from different accounts.

Yep i have 2 differrent instagram accounts, it means 2 client id, 2 token and 2 different user id. My code example stream only one account. And if i put 2 user id with same cliend id and token, only the account of the second user id will work. So to you, it's impossible to mix them and see them in the same wall with this code ? Is it hard to achieve that ???
Thanks a lot for your answer

As i told before need a complete core code rewrite.

ok thanks a lot for your answer @HartLarsson ;D so we will stay with one account by social network at this time !!!


[Snyk] Security upgrade anyio from 3.7.1 to 4.4.0

This PR was automatically created by Snyk using the credentials of a real user.![snyk-top-banner](https://github.com/andygongea/OWASP-Benchmark/assets/818805/c518c423-16fe-447e-b67f-ad5a49b5d123)
Snyk has created this PR to fix 1 vulnerabilities in the pip dependencies of this project.
Snyk changed the following file(s):

requirements-dev.txt

⚠ Warning
```
mkdocs-material 9.2.8 has requirement pymdown-extensions~=10.3, but you have pymdown-extensions 10.2.1.
botocore 1.33.13 has requirement urllib3<1.27,>=1.25.4; python_version < "3.10", but you have urllib3 2.0.7.
</details>

---

> [!IMPORTANT]
>
> - Check the changes in this PR to ensure they won't cause issues with your project.
> - Max score is 1000. Note that the real score may have changed since the PR was raised.
> - This PR was automatically created by Snyk using the credentials of a real user.
> - Some vulnerabilities couldn't be fully fixed and so Snyk will still find them when the project is tested again. This may be because the vulnerability existed within more than one direct dependency, but not all of the affected dependencies could be upgraded.

---

**Note:** _You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs._

For more information: <img src="https://api.segment.io/v1/pixel/track?data=eyJ3cml0ZUtleSI6InJyWmxZcEdHY2RyTHZsb0lYd0dUcVg4WkFRTnNCOUEwIiwiYW5vbnltb3VzSWQiOiI1MmIzZDYyMi1mYzg0LTRmNTgtYWRmNy1hZGY5MjNlYTEyN2QiLCJldmVudCI6IlBSIHZpZXdlZCIsInByb3BlcnRpZXMiOnsicHJJZCI6IjUyYjNkNjIyLWZjODQtNGY1OC1hZGY3LWFkZjkyM2VhMTI3ZCJ9fQ==" width="0" height="0"/>
🧐 [View latest project report](https://app.snyk.io/org/static3dw/project/90e8e984-284f-4937-a23a-731bd882f3a0?utm_source=github&utm_medium=referral&page=fix-pr)
📜 [Customise PR templates](https://docs.snyk.io/scan-using-snyk/pull-requests/snyk-fix-pull-or-merge-requests/customize-pr-templates)
🛠 [Adjust project settings](https://app.snyk.io/org/static3dw/project/90e8e984-284f-4937-a23a-731bd882f3a0?utm_source=github&utm_medium=referral&page=fix-pr/settings)
📚 [Read about Snyk's upgrade logic](https://support.snyk.io/hc/en-us/articles/360003891078-Snyk-patches-to-fix-vulnerabilities)

---

**Learn how to fix vulnerabilities with free interactive lessons:**

🦉 [Learn about vulnerability in an interactive lesson of Snyk Learn.](https://learn.snyk.io/?loc=fix-pr)

[//]: # 'snyk:metadata:{"customTemplate":{"variablesUsed":[],"fieldsUsed":[]},"dependencies":[{"name":"anyio","from":"3.7.1","to":"4.4.0"}],"env":"prod","issuesToFix":[{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":701,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"},{"exploit_maturity":"No Known Exploit","id":"SNYK-PYTHON-ANYIO-7361842","priority_score":701,"priority_score_factors":[{"type":"freshness","label":true,"score":71},{"type":"fixability","label":true,"score":214},{"type":"cvssScore","label":"8.3","score":415},{"type":"scoreVersion","label":"v1","score":1}],"severity":"high","title":"Race Condition"}],"prId":"52b3d622-fc84-4f58-adf7-adf923ea127d","prPublicId":"52b3d622-fc84-4f58-adf7-adf923ea127d","packageManager":"pip","priorityScoreList":[701],"projectPublicId":"90e8e984-284f-4937-a23a-731bd882f3a0","projectUrl":"https://app.snyk.io/org/static3dw/project/90e8e984-284f-4937-a23a-731bd882f3a0?utm_source=github&utm_medium=referral&page=fix-pr","prType":"fix","templateFieldSources":{"branchName":"default","commitMessage":"default","description":"default","title":"default"},"templateVariants":["updated-fix-title","pr-warning-shown","priorityScore"],"type":"auto","upgrade":[],"vulns":["SNYK-PYTHON-ANYIO-7361842"],"patch":[],"isBreakingChange":false,"remediationStrategy":"vuln"}'

Thanks


Expose results

Reviewer checklist

[ ] Ensure relevant issues are linked (description should include text like "Fixes #")
[ ] Ensure any appropriate documentation has been added or amended

Coverage increased (+0.008%) to 99.217% when pulling 36061096a56c9ae98e18960094603c3cd3836316 on expose_results into 232ed19d1286a97e9d7e82d6a09ef2b9db68f384 on main.


GlassCat tests

Working on incorporating these into the main test code as a test set.

A regression test is failing here. @BrianGun, @friggog, do either of you remember changing GlassCat.absorption?
https://github.com/microsoft/OpticSim.jl/blob/81fc799bd73edb964e848b532cd3cf46ef79300b/test/testsets/GlassCat.jl#L177-L181
  Expression: OpticSim.GlassCat.absorption(g, 500 * u"nm") == 0.00016032085590155288
   Evaluated: 0.0002407228930225164 == 0.00016032085590155288
  Expression: OpticSim.GlassCat.absorption(g, 600 * u"nm") == 0.00015028195510849153
   Evaluated: 0.00022060722752440445 == 0.00015028195510849153
  Expression: OpticSim.GlassCat.absorption(g, 3000 * u"nm") == 0.022484756726141652
   Evaluated: 0.04086604990127926 == 0.022484756726141652
  Expression: OpticSim.GlassCat.absorption(g, 600 * u"nm", temperature = 35 * u"°C", pressure = 2.0) == 0.0001502079956238452
   Evaluated: 0.00022075540719494738 == 0.0001502079956238452

It's most likely the AGF files changing?

I think I've kept the same TEST_CAT.agf, but the GlassCat tests have been down for a while so maybe something changed. If Brian hasn't changed it either then I'll just update the values with what I'm seeing now.

These ones are testing on OpticSim.GlassCat.SCHOTT.N_BK7 rather than TEST_CAT so it's quite possible the SCHOTT catalog has changed. I would be surprised if there were any code changes affecting this. You can compare the current SCHOTT AGF file to the old one and it might be obvious. If that's the case then it's probably safe just to recalculate these values and update the tests with the values for the new AGF file.

Ah I was looking at the first value of g = TEST_CAT.MG523, thanks.


Heirline should refresh winbars on on_colorscheme as well

Hey, I just noticed that changing colorscheme (or background) as described in cookbook nicely reloads them for statusline but doesn't for winbars.
It's clear that change gets broadcasted to statusline here https://github.com/rebelot/heirline.nvim/blob/9a484130340cd42ff0a12f5a47e31a8c79bfc074/lua/heirline/utils.lua#L399-L401 but the same does not happen for winbars and most likely tabline too (but I am barely using colours there to notice) .
Is that something that users could add themselves or would it require change in heirline?
Thanks!

you're right, that needs to be updated. Anyway, I didn't really ever noticed that, and I tested colorscheme changes pretty wildly when developing kanagawa.. Resetting the window cache for components is only meaningful for components that get updated on certain autocmd events, which means that, eventually, they'll be refreshed anyway.

Works perfectly, thank you for rapid fix!


feat(uwucommand): added uwu command

Added the uwu command to UwUify a provided sentence

Shamelessly copied from https://github.com/Joehoel/compagnon/blob/master/src/commands/fun/uwu.ts


list index out of range

Can you please help me with this issue. I am trying to add show only tranlated menu title. And adding this code to my tags file:
@register.inclusion_tag('home/tags/top_menu.html', takes_context=True)
def top_menu(context, parent, calling_page=None):
    request = context['request']
    language_code = request.LANGUAGE_CODE
    menuitems = parent.get_children().live().in_menu().filter(title = language_code)[0].get_children()
    for menuitem in menuitems:
        menuitem.show_dropdown = has_menu_children(menuitem)
        menuitem.active = (calling_page.path.startswith(menuitem.path)
                           if calling_page else False)
    return {
        'calling_page': calling_page,
        'menuitems': menuitems,
        'request': context['request'],
    }

But I am getting this error on page :
list index out of range and highlighted code {% top_menu parent=site_root calling_page=self %}
Using Wagtail 1.12 and Python 3.6.2

What version of Wagtailtrans are you using?

I believe this was answered here: https://stackoverflow.com/a/46353667

Hi @Qurus if I understand your question correctly you want to render a menu for all pages withe show_in_menu=True and language=request.language_code .
What I would do in your case is use the site.root_page
a small example would be:
from wagtailtrans.models import get_user_language

request = context['request']
language = get_user_language(request)
root = request.site.root_page
home_page = {p.language.code: p for p in root.get_children().live().specific()}[language.code]

Now you can loop over all child pages in the root page. and check if it has show in menu.
Because you already selected the homepage for you specific language.
so now you can doe something like this:
for page in home_page.get_children().live().in_menu():
    # add page variables to your context.

Hope this helps!

@Proper-Job I was asked there that question. But did not work that solution. By the way I gave up on wagtail. Because simply really getting hard time with multilingual site. Thanks for your answers.


[Content]: Update Authentication Process

What article on segment.com/docs is affected?
https://segment.com/docs/connections/destinations/catalog/stitch-data/
What part(s) of the article would you like to see updated?
On the settings section where we say:

In your Stitch dashboard, click ‘Add an Integration’. Click on Segment, and complete the ‘Enable with Segment’ workflow.

Change the notes to:

While signed into Segment as a Workspace Owner or Source Admin, go to your Stitch dashboard, click ‘Add an Integration’. Click on Segment, and complete the ‘Enable with Segment’ workflow.

So customers don’t run into permission issues when trying to authenticate without the right permissions.
Additional information
No response

Hi @prigiattiperrut. Text content for settings, like in the example you highlighted, are pulled directly from the integration metadata, and can be updated in Partner Portal.
Docs team does not have access to this though. Closing, as we cannot fix this directly.


Using IpStack instead of FreeGeoIP

@DenisCarriere: this seems to work.  Would you mind merging?  The failures seem to be due to a lack of a key free StackIP.  You can sign up for a free key here.  It works with my key.

@DenisCarriere: this seems to work. Would you mind merging? The failures seem to be due to a lack of a key free StackIP. You can sign up for a free key here. It works with my key.


Notification icon

Hi
I am using this plugin via the PhoneGap Build service. It seems to work good but when a notification first appear(animation when the notification icon pops up in the statusbar), it uses my application icon not-resized at all, so you'll see an oversized icon in the statusbar. However after the animation, the correct icon is shown in the statusbar, but it looks very strange when the notification gets recieved and a big block appears (1-2 seconds during the animation) in the statusbar. Anyone else experienced this problem? (tested on HTC One)

I also had the same problem it works fine in Samsung Tab, Moto G2
But not displayed properly in Moto E, Micromax nitro and other micromax device.

Any ideas how to fix this issue? The development team of the plugin is aware of this? Quite many devices experience this problem.

same problem on sg5

Anyone please have any ideas/tricks/workaround to fix this?

Yeah check out my fork, https://github.com/do-web/PushPlugin/


fix(action/ling.go): Chart validation

Added maximum Metadata.name length (=24) constraint
Closes #412

thanks @colonelmo


Contribution: Random tree rings.

After viewing the tutorial of polar Perlin noise, I created a sketch which generates tree rings at random. Demo at the following link
https://shrirambo.github.io/p5Gallery/Resources/Tree Rings/blogpost.html
Added a grunge effect to make it a bit more realistic.

This is incredible ❤

Thanks :)

So great, thank you for sharing!

Thank you for featuring my work on your webpage. :)


navigator don't work correctly with nvim-notify ，print following "dohighlight" error constantly when typing anything in insert mode

Error executing vim.schedule lua callback: ...k/packer/start/nvim-notify/lua/notify/render/default.lua:6: bad argument #1 to 'max' (number expected, got no value)
stack traceback:
[C]: in function 'max'
...k/packer/start/nvim-notify/lua/notify/render/default.lua:6: in function 'render'
...ker/start/nvim-notify/lua/notify/service/buffer/init.lua:102: in function 'render'
...ack/packer/start/nvim-notify/lua/notify/service/init.lua:53: in function 'push'
...m/site/pack/packer/start/nvim-notify/lua/notify/init.lua:214: in function 'notify'
...acker/start/navigator.lua/lua/navigator/dochighlight.lua:247: in function 'handler'
/usr/local/share/nvim/runtime/lua/vim/lsp.lua:1025: in function ''
vim/_editor.lua: in function <vim/_editor.lua:0>

Submitted a fix for it.

notify alert error
failed to highlight symbol{
  code = -32801,
  message = "Request cancelled because the document was modified",
  <metatable> = {
    __tostring = <function 1>
  }
}

sounds like a lsp error.
What Lsp/language you are using?

It should  be,  only clang alert error.
---Original---
From: @.>
Date: Mon, Sep 26, 2022 13:47 PM
To: @.>;
Cc<EMAIL_ADDRESS>Subject: Re: [ray-x/navigator.lua] navigator don't work correctly with nvim-notify ，print following "dohighlight" error constantly when typing anything in insert mode  (Issue #234)
sounds like a lsp error.
What Lsp/language you are using?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

What I know from the message is that the clang server was updating while the highlight request was sent.
I add an update to ignore those errors. Not sure if it will solve the issue.

@ancion Could you check if the latest version fixes the issue?

this error is not show again, but that error info is still in lsp log file. These are not really interfering with my work. Thank you very much !!


Debugger breaks on sys.exit(0)

Environment data

VS Code version: 1.29.1
Extension version (available under the Extensions sidebar): 2018.11.0
OS and version: Windows 10 1803
Python version (& distribution if applicable, e.g. Anaconda): Python 3.7.1
Type of virtual environment used (N/A | venv | virtualenv | conda | ...): pipenv
Relevant/affected Python packages and their versions: N/A

Actual behavior
The debugger breaks on an uncaught exception on the following:
import sys
sys.exit(0)

Expected  behavior
The program should exit without an exception.
Steps to reproduce:

Debug the above code with "Breakpoints: Uncaught exceptions" checked.

https://github.com/Microsoft/PTVS/issues/4713 related?

The problem is that sys.exit() works by raising the SystemExit exception, so this is expected behaviour. I'll consider this a feature request to have an option to ignore SystemExit.

This would be so nice if this is released soon! Thanks for working on this stuff guys


Clearing the cache / Question 2/2

Hi folks !
This is 2/2 questions wrt to fsspec cache handling when we want to clear it.
Context:
I develop a python library to work with ocean data collected using a specific type of instruments (Argo floats): https://github.com/euroargodev/argopy
Data can be fetched from local files or from an erddap server online.
I recently tried to use fsspec to implement file/resource management and ease handling of cached data.
I ended up wrapping file, memory and http fsspec file systems into classes that managed custom methods like open_dataset or open_dataframe.
Question 2:
Since the fsspec method wasn't working the way I expected (see issue #324), I implemented my own method in the custom file system wrapper. It works like this:

Every time a call is made to open, I register the opened path in an internal list (self.cache_registry)
When users call on the clear_cache() method, I load the cache and remove the corresponding entry from the pickle cache file and I also delete the corresponding hash file.

This goes basically like this:
import pickle
import tempfile
import shutil
import fsspec
import os

class argo_store():
    protocol = 'file'

    def __init__(self, cache: bool = False, cachedir: str = "", **kw):
        """ Create a file storage system for argopy

            Parameters
            ----------
            cache : bool (False)
            cachedir : str (from OPTIONS)

        """
        self.cache = cache
        self.cachedir = OPTIONS['cachedir'] if cachedir == '' else cachedir
        self.cache_registry = []  # Will hold uri cached by this store instance
        if not self.cache:
            self.fs = fsspec.filesystem(self.protocol, **kw)
        else:
            self.fs = fsspec.filesystem("filecache",
                                        target_protocol=self.protocol,
                                        target_options={'simple_links': True},
                                        cache_storage=self.cachedir,
                                        expiry_time=86400, cache_check=10, **kw)

    def store_path(self, uri):
        if not uri.startswith(self.fs.target_protocol):
            path = self.fs.target_protocol + "://" + uri
        else:
            path = uri
        return path

    def register(self, uri):
        """ Keep track of files open with this instance """
        if self.cache:
            self.cache_registry.append(self.store_path(uri))

    def _clear_cache_item(self, uri):
        """ Open fsspec cache registry (pickle file) and remove entry for an uri """
        # Inspired from the fsspec "save_cache()" method in:
        # https://filesystem-spec.readthedocs.io/en/latest/_modules/fsspec/implementations/cached.html#WholeFileCacheFileSystem
        fn = os.path.join(self.fs.storage[-1], "cache")
        cache = self.fs.cached_files[-1]
        if os.path.exists(fn):
            with open(fn, "rb") as f:
                cached_files = pickle.load(f)
        else:
            cached_files = cache
        cache = {}
        for k, v in cached_files.items():
            if k != uri:
                cache[k] = v.copy()
            else:
                os.remove(os.path.join(self.fs.storage[-1], v['fn']))
        fn2 = tempfile.mktemp()
        with open(fn2, "wb") as f:
            pickle.dump(cache, f)
        shutil.move(fn2, fn)

    def list_cache(self):
        if self.cache:
            fn = os.path.join(self.fs.storage[-1], "cache")
            cache = self.fs.cached_files[-1]
            if os.path.exists(fn):
                with open(fn, "rb") as f:
                    cached_files = pickle.load(f)
            else:
                cached_files = cache
            cache = {}
            print("\ncached_files items:")
            for k, v in cached_files.items():
                print("\n", k, "\n",v)

    def clear_cache(self):
        """ Remove cached files and cache registry entry from uri opened with this store instance """
        if self.cache:
            for uri in self.cache_registry:
                self._clear_cache_item(uri)

    def open(self, url, *args, **kwargs):
        url = os.path.abspath(url)
        self.register(url)
        return self.fs.open(url, *args, **kwargs)

and here it is in action, trying to show case the effective cleaning of the cache:
with open("dummy_fileA.txt", "w") as fp:
    fp.write('Hello world!')

# Instantiate the file store and list the initial state of the cache:
fs = argo_store(cache=1, cachedir="./tmp")
fs.list_cache()

# Then we read some dummy data from a dummy file to trigger caching
with fs.open(os.path.abspath("dummy_fileA.txt"), "r") as fp:
    txt = fp.read()

# Check on the file store internal cache registry:
print("\nURI in argo_store registry:\n", fs.cache_registry)
# and list the cache folder:
fs.list_cache()

# Now, we can clear the cache:
print("\nCLEAR CACHE !")
fs.clear_cache()

# and check again the cache folder content to see the effect:
print("\nFiles in cache folder:\n", os.listdir("./tmp"))
fs.list_cache()

produces:
cached_files items:

URI in argo_store registry:
 ['file:///Users/gmaze/git/github/euroargodev/argopy/local_work/dummy_fileA.txt']

cached_files items:

 file:///Users/gmaze/git/github/euroargodev/argopy/local_work/dummy_fileA.txt
 {'fn': 'efedbec0e26404c4c80f7668501cb66bd14a44112161acd9b6b5ce0f7706ce0c', 'blocks': True, 'time':<PHONE_NUMBER>.763516, 'uid': '282336a7a94cc0ce955a259e49539c0e'}

CLEAR CACHE !

Files in cache folder:
 ['cache']

cached_files items:

Using this mechanism, the cache folder can be used by other fs instances.
My question is: would this mechanism be robust to other protocols than "file" ? and does it solve #324

Yes, yes, and I think this approach should be implemented for CachingFileSystem and WhileFileCachedFileSystem. They could either be methods directly on the implementation or, I think cleaner, via an attribute like fs.cache.clear(), where the attribute acts something like a dict, so you can also del/pop just one URL and indeed list like your example.

Great !
So I'll keep that in my wrapper.
but to implement this in fsspec, I'm not sure where the registry should be located

If you really want the metadata to be separate for the instances, then it would have to be in memory only. I think the implementation I would/might do, would maintain the one metadata file in the cache directory as before, so perhaps not quite what you want.

If you really want the metadata to be separate for the instances, then it would have to be in memory only.
Yes, I believe that would be a more complete version of my registry in the above example ?

... would maintain the one metadata file in the cache directory as before...
I agree, only one cache pickle file.

There is a wrinkle here, in that the cache is designed to have multiple possible locations, with only the last being considered writable - so only "clear" operation would act only on that last location.

oh, right, I missed this point, good to know then
Does this have to do with distributed file systems ?

Sorry that this conversation dried up. I think it might be helpful to include some of your ideas in a PR here, adding cache information functions and maybe dict-like syntax. Are you still interested, @gmaze ? Or perhaps you think that the del/clear methods in #328 are sufficient.

Thanks for your patience @martindurant
I'm happy with #328 which does what I needed
May be the one last thing that is missing is a clear_cache() method for the case where the cache folder will be shared by several file system instances. In this case, we may need a clear_cache() that will only remove files fetched from one instance.
With the current implementation of #328, the clear_cache() will delete every thing.
I have no idea of how to code this. May be a filter on file prefix could help distinguish files cached with different instance

There is certainly no tracking of which instance/process wrote which cache file, so I don't know how you would go about this without more rewriting. Indeed, I'm not really sure how that would be different from having separate caches for each.
I suppose you could do something like this now, like
fs1 = fsspec.filesystem(.., cache_storage=[loc2, loc1])
fs2 = fsspec.filesystem(.., cache_storage=[loc1, loc2])

i.e., both instances look at both locations for reading, but writing and clearing only apply to the last element of the locations list.

Closing for similar reasons to #324
thanks for your help


jest-cucumber doesn't clear DOM after each Test suite when using it with @testing-library

Hi!
I wanted to use jest-cucumber with @testing-library but I have come across a bug.

TL;DR: jest-cucumber doesn't clear DOM after each Test suite when using it with @testing-library React.

I mock a different response from fetching data for each scenario. Here is my steps file as an example. Somehow the first scenario renders with resolved data from both scenarios, while the second scenario doesn't render anything (it has empty <body />). The problem is that body/DOM is not cleared after each test suite, even if I tried to use cleanup() from TLR or simple document.body.innerHTML = '' . I was trying to find a reason why it doesn't work for the whole week, but nothing works. I was searching through GitHub to find some other repos which use jest-cucumber with @testing-library, but no one is mocking responses as I would like to. 😞
I tried the same approach with the react-test-renderer (in file) and it works well, but as we are already using @testing-library for unit tests, we would like to use it as well for Gherkin steps instead of installing react-test-renderer just for steps.
I believe that the problem shouldn’t be in @testing-library, because if I do just unit tests without Gherkin, the body is cleared and it works fine for each test suite (file of unit tests).
Can someone take a look at the issue, please? 🙏 🙏

Have you found a solution for this?

I may have found one.
beforeEach(() => {
  render(<Component {...props} />);
});
afterEach(() => {
  cleanup();
});

Then in your tests use screen.getByTextId() Seems to be working for me.

hello @flanzana have you found something to solve this issue?

I may have found one.
beforeEach(() => {
  render(<Component {...props} />);
});
afterEach(() => {
  cleanup();
});

Then in your tests use screen.getByTextId() Seems to be working for me.

hello, imho its not the best solution to resolve this issue, because according eslint/testing-library which i used, it clearly suggest not to call render inside before each Forbidden usage of renderwithin testing frameworkbeforeEach setupeslinttesting-library/no-render-in-setup

This is actually an issue. Each render inside of jest is rendered on top of the previous render. The previous DOM is not cleared.


Manual paypal processor fee showing wrong currency

Describe the bug
This box says NZD next to processor fee, but when I add it in, it's calculating it in USD (see how it shows $20.41 in the input box but $30.98 in the output). This view is also mixing currencies without specifying which is which - the expense amount shown ($170) is USD but the processor fee just below it is showing in NZD. This is confusing.

This is the expense: https://opencollective.com/bwt/expenses/112295
To Reproduce
Steps to reproduce the behavior:

Pay a Paypal multi-currency expense and select manual
Put the payment processor fee in the box in the currency stated
See wrong amount

P2 low frequency, high impact

Looking at it

@Betree Leo @kewitz started to look at a more generic issue, based on that feedback https://github.com/opencollective/opencollective/issues/5601#issuecomment-1359186212


UI Change and Update for ASKlead Website

When you open the website for the beginning, you are faced with a gallery of pictures with less information about what ASKLead is!
Suggestions!

We need a read-me! The first descriptive page for ASKlead and the photo gallery can be a page we go to when we need to click see more.......
Something as represented on this website; https://experts.faraafrica.org/

@romeoplat iam greately in support of this great idea, the ASkLEAD has a readme.md with it's description on github , but doesn't reflect on the website.
Tech heads cook up this.


Add vis.js via npm package

If you have contributions / extensions to this addon, I am happy to integrate them @nightsh.

Well, I haven't done much to be honest – I'll be using this fork in a project that deals with exposing public procurement networks, so I expect(ed) it to be more specialized than a general purpose addon. So far, nothing had happened much in that direction, so yeah, I am thinking now whether things could just go back upstream. I'll need to think about it a bit.
However, there are still some bits and pieces that I would be able to extract from the fork into separate branches for merging reasons. These are the things I've been thinking about:

some completions around nodes and edges integration
an alternative way of defining data sets (not really an improvement though)
some tentative of easier sharing the selected nodes/edges list with the outer context
last but not least, add vis using the npm module, as opposed to bower package

I've done this because we plan to hack a bit on vis itself, but I've found the npm build is much easier to deal with

Anything here you'd be interested in adopting? I can, as mentioned, prepare an integration branch for each of them. If this goes well, I seriously consider abandoning my fork in favor of the original project.
And hey, thanks a lot for pinging back. You know, this was an accidental PR, I really thought your addon is unmaintained :grin:
Out of curiosity, what was/is your use case for it? Are you still using this ember addon, or visjs?

I'd also be quite keen on introducing 2d charts to the stage, would that be okay with you? That would be a somewhat bigger extension of the original repo, but it would bring more visjs features in. What do you think? At the moment we're using them in an Ember app, but it's kinda "manually crafted".

What you are describing as 'not so much' seems like a lot of effort :D
I'm definitly interested in using the npm-module instead of the bower-dep. That seems to be the way to go for all third-party deps from now on and also enables stuff like fastboot and treeshaking.
The completion around node- and edge-integration also seems interesting.
I'll just have a look on the other things you did.
To be honest, the repo is in a semi-maintained state. This is because we needed the networking-stuff for a mobile app which uses visjs to visualize something like the level-paths in candycrush. The as-is-state solved that problem well enough, so I didn't progress further. That said, I still am very much in favor of putting effort into things that enables others to do new stuff. Also, with ember-cli-swiper, I made the experience that the ember-community gives even more back, then what you provide initially. That's something I really love and want to support.
About the 2D-Charts: Currently the plugins name is a bit of a lie, since it only ever cared about the networking. @gossi did a fork/addon for the timeline-parts and also brought up the idea to create smth. like an visjs-core-addon. I really would like the idea to share a codebase for common stuff, but split the rest. I think if you deeply support various visjs-parts you end up with much code that does not really has much DRY-potential. Also, visjs is also going to be split into various parts. You can find his thoughts here: almende/vis#3074

I'm up for it! See my comment on the reference issue.

So, my initial thoughts re: splitting:

ember-vis-core
ember-vis-network (pulling core as a dependency)
ember-vis-timeline (same)
etc.

Not sure I would split at smaller modules level (e.g. clustering) though. What do you guys think?
I have little experience with creating ember addons, but anyway, I'm not afraid of such tasks.
As for integrating the various bits and pieces I've done to the fork, I'm not tempted to postpone it until we reach any kind of consensus regarding splitting vis into multiple addons. Maybe we end up deprecating everything and starting a new structure / naming convention etc.
However, don't bother trying to decypher my commits to the fork, I can separate them myself into feature branches for easier review. Also needs some testing, which... I... skipped :disappointed:


[BUG] Getting error when using mwaa-dr in airflow 2.8.1 version environment

Is there an existing issue for this?

[X] I have searched the existing issues

What MWAA versions are you seeing the problem on?
2.8.1
Current Behavior
Hi Team,
I have trying to use mwaa-dr to copy metadata from existing environment Env_A to new environment Env_B.
Both the environment are of same version 2.8.1.
I am able to backup metadata in Env_A using create_backup_dag function.
I am using create_restore_dag dag to copy exported metadata to Env_B.
When Executing Dag to copy data from S3, I am facing below error at restore_dag_run task.
[2024-09-26, 04:12:07 UTC] {{logging_mixin.py:188}} INFO - Restore SQL: COPY dag_run (clear_number, conf, creating_job_id, dag_hash, dag_id, data_interval_end, data_interval_start, end_date, execution_date, external_trigger, last_scheduling_decision, log_template_id, queued_at, run_id, run_type, start_date, state, updated_at) FROM STDIN WITH (FORMAT CSV, HEADER FALSE, DELIMITER '|')
[2024-09-26, 04:12:07 UTC] {{taskinstance.py:2698}} ERROR - Task failed with exception
Traceback (most recent call last):
  File "/usr/local/airflow/.local/lib/python3.11/site-packages/airflow/models/taskinstance.py", line 433, in _execute_task
    result = execute_callable(context=context, **execute_callable_kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/airflow/.local/lib/python3.11/site-packages/airflow/operators/python.py", line 199, in execute
    return_value = self.execute_callable()
                   ^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/airflow/.local/lib/python3.11/site-packages/airflow/operators/python.py", line 216, in execute_callable
    return self.python_callable(*self.op_args, **self.op_kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/airflow/.local/lib/python3.11/site-packages/mwaa_dr/framework/model/base_table.py", line 360, in restore
    cursor.copy_expert(restore_sql, backup_file)
psycopg2.errors.ForeignKeyViolation: insert or update on table "dag_run" violates foreign key constraint "task_instance_log_template_id_fkey"
DETAIL:  Key (log_template_id)=(34) is not present in table "log_template".

Can you please help me to fix the issue.
Expected Behavior
Expecting there should be no failure when copying the exported metadata.
Steps To Reproduce
No response
Anything else?
No response

@venkatesh53472711 Before restoring the metadata, did you run the cleanup? You can do so by creating a DAG with the following code:
from airflow import DAG
from mwaa_dr.v_2_8.dr_factory import DRFactory_2_8

factory = DRFactory_2_8(
    dag_id='cleanup',
    path_prefix='data',
    storage_type='S3'
)

dag:DAG = factory.create_cleanup_dag()

Thank you for the reply.
This is a brand new environment created specifically to copy the metadata from other env. So there are dag/task executions till now.
Do I still need to run cleanup dag?
Anyway let me try doing that.

@venkatesh53472711 I have the same issue but I found a workaround, I'm excluding log_template_id by overriding dag_run backup generation in a custom dr factory, see:
from mwaa_dr.framework.model.base_table import BaseTable
from mwaa_dr.framework.model.dependency_model import DependencyModel
from mwaa_dr.v_2_6.dr_factory import DRFactory_2_6

class CustomDRFactory_2_6(DRFactory_2_6):

    def dag_run(self, model: DependencyModel[BaseTable]) -> BaseTable:
        """
        Creates an instance of the BaseTable for the 'dag_run' table.

        Args:
            model (DependencyModel[BaseTable]): The dependency model for the table.

        Returns:
            BaseTable: An instance of the BaseTable representing the 'dag_run' table.
        """
        return BaseTable(
            name="dag_run",
            model=model,
            columns=[
                "conf",
                "creating_job_id",
                "dag_hash",
                "dag_id",
                "data_interval_end",
                "data_interval_start",
                "end_date",
                "execution_date",
                "external_trigger",
                "last_scheduling_decision",
                # "log_template_id", # excluded
                "queued_at",
                "run_id",
                "run_type",
                "start_date",
                "state",
            ],
            export_mappings={"conf": "'\\x' || encode(conf,'hex') as conf"},
            storage_type=self.storage_type,
            path_prefix=self.path_prefix,
            batch_size=self.batch_size,
        )

@crupakheti
I first executed the cleanup DAG, but I'm still encountering the same error when running the restore DAG.
psycopg2.errors.ForeignKeyViolation: insert or update on table "dag_run" violates foreign key constraint "task_instance_log_template_id_fkey"
DETAIL:  Key (log_template_id)=(34) is not present in table "log_template".

@stefano-arh
I am getting below error after commenting log_template_id.
psycopg2.errors.NotNullViolation: null value in column "clear_number" of relation "dag_run" violates not-null constraint
DETAIL:  Failing row contains (18222, event_stream_athena_tables_and_partitions_qa, 2024-09-04 12:40:00.233145+00, 2024-09-04 11:40:00+00, 2024-09-04 12:40:00.284894+00, 2024-09-04 12:41:21.441239+00, success, scheduled__2024-09-04T11:40:00+00:00, 730051, f, scheduled, \x80057d942e, 2024-09-04 11:40:00+00, 2024-09-04 12:40:00+00, 2024-09-04 12:41:21.4366+00, 399d36499589555d108bf628566a1392, null, null, null).
CONTEXT:  COPY dag_run, line 1: "\x80057d942e|730051|399d36499589555d108bf628566a1392|event_stream_athena_tables_and_partitions_qa|20..."

Hey @venkatesh53472711, my solution was tested in version 2.6 but it looks like clear_number was added to dag_run in the meantime, so try to modify the implementation for 2.8: https://github.com/aws-samples/mwaa-disaster-recovery/blob/2536e37c1d048337c70b6d35fd676bc5a59c7e64/assets/dags/mwaa_dr/v_2_8/dr_factory.py#L37


Support html-linkification of string type column display

Checks

[X] I have checked that this enhancement has not already been requested

How would you categorize this request.  You can select multiple if not sure
Display (is this related to visual display of a value), Developer ergonomics (defaults, error messages)
Enhancement Description

Support a "hint" mechanism so the caller can indicate that a string-type column contains URLs
Then render those URLs to be clickable ("linkified") within the table if possible
Fail gracefully if a cell's contents are not trivially linkable

Probably this depends on #190 being implemented. One might argue that full html support via #190 makes this issue redundant, but I think "link-ification" is a sufficiently common and simple use case that a convenience helper might be merited. Similar to how Google Spreadsheets will automatically link-ify a column if it detects URLs.
Perhaps instead of (or in addition to) exposing this functionality via API hint, it could be entirely hosted within the UI: such as clicking on a column header, or right clicking on a column, and selecting "Linkify".
BTW - this is awesome software, thank you!
Pseudo Code Implementation
No response
Prior Art

Thanks for your interest.  I'm trying to finish up the polars backend at this point, then I will be switching back to some TS/frontend dev.
I'm a little concerned about the security implications of HTML and linkification.  My personal primary usecase for buckaroo is looking at completely unknown datasets and making sense of them.  For this usecase (and the default config) I want to be conservative.
I need to figure out some better ways to configure buckaroo for features like HTML/linkification.  What would you want that experience to look like, from the python side?  Would you mind writing some pseudocode sketches?  I'd be up for a screenshare pair on this topic too.

Does it apply for image links as well?

@mdrcode I have a frontend prototype for this.

Any comments?
The blue on black is a bit hard to see.  I'm very open to color and styling suggestions.
This feature will be coming out with https://github.com/paddymul/buckaroo/pull/201 ... which will bump buckaroo to 0.6
aiming for early January,  need to find time during the holidays.

@nasrin1748 I don't intend to support rendering random html as seen in that flag example.  It seems a bit freeform and opens up security and rendering bugs.

Buckaroo seems to avoid things which are dependent on w3.
On Fri, Dec 22, 2023 at 11:14 PM Paddy Mullen @.***>
wrote:

@nasrin1748 https://github.com/nasrin1748 I don't intend to support
rendering random html as seen in that flag example. It seems a bit freeform
and opens up security and rendering bugs.
—
Reply to this email directly, view it on GitHub
https://github.com/paddymul/buckaroo/issues/194#issuecomment-1868123707,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AS6STZOTBNUKGUMUXVTBZZLYKYH47AVCNFSM6AAAAABANDPSGKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNRYGEZDGNZQG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Great job @paddymul. Lot of changes happened to buckaroo and I really like the way it looks now.

Thank you @paddymul this looks awesome. Apologize for radio silence from my side (my wife filed issue "third baby coming" against me with priority zero). I will check this out in the 0.6 release

Fixed by #201 for release 0.6.1


Elliptic arrow icons order is wrong at arrow toolbar

Steps to Reproduce

Toggle to Molecules mode
Open arrow menu in toobar

Actual behavior
Elliptic arrow icons order is wrong
Expected behavior

Versions

Ketcher Version 2.24.0-rc.3 Build at 2024-08-20; 13:23:13
Indigo Toolkit Version 1.23.0-rc.2.0-g6a2a7526a-x86_64-linux-gnu-11.2.1
Chrome Version 128.0.6613.114 (Official Build) (64-bit)
Win10

in the environment https://nightly.test.lifescience.opensource.epam.com/KetcherDemoSA/5153-change-the-default-size-of-a-plus-and-the-arrows/index.html
branch 5153-change-the-default-size-of-a-plus-and-the-arrows
Elliptic arrow icons order is wrong

Verified.

Ketcher Version 2.27.0-rc.1 Build at 2024-11-05; 14:55:18
Indigo Toolkit Version 1.26.0-rc.1.0-g904d2d992-wasm32-wasm-clang-19.0.0
Chrome Version 130.0.6723.117 (Official Build) (64-bit)
Win10


Implemented task timeout

@vithati, I left some minor comments, looks good.
Please squash so history is not cluttered for anyone attempting to leverage history when debugging/investigating an issue.
Let me know when you're finished testing and it's ready to merge.
Thanks!

@ericsciple : I did  squash and tested the changes. can you merge the PR?

@vithati I can't, there's merge conflicts :)
Can you fetch and rebase onto origin/master?

@ericsciple  : I have resolved merge conflicts. can you merge the PR?


Fix erlang client test compilation

Looks like it have been broken since #1144 (RCS-199).

Nice bug finder :eyes:

@borshop merge


Disable printlns

    println("Found $count fully qualified test methods")
            }
            println("Finished in $time ms")

These printlns always execute. There should be a way to toggle them off.

@kkoser can you fix this with your PR for #9? Might be easiest to just remove them...I only had these lines for my own debugging while developing.

Removed these logs in #16


Publish to npm

Please publish this library to npm for easy installation.

+1

+1

Hey guys,
Since this issue has been open for 5 months with no action taken, I went ahead and published cookieconsent2 to the npm registry. The code is based on https://github.com/visionmobile/cookieconsent2.
Let me know if you want to assume ownership and I will gladly make the necessary changes.
Cheers,

I 've created a related pull request as well... https://github.com/silktide/cookieconsent2/pull/144

The project has undergone a significant rewrite, so we won't submit cookieconsent2 as an NPM module.
You may be happy to learn that CookieConsent V3 exists, and has been submitted as an NPM module
npm install cookieconsent
This new version includes significant improvements suggested by the community


Using Composer 2.0 to Create a Chatbot Without Writing a Line of Code.

Proposed title of article
Using Composer 2.0 to Create a Chatbot Without Writing a Line of Code.
Proposed article introduction
Microsoft's Bot Framework SDK allows programmers to create interactive encounters in their preferred programming languages, such as C#, JS, Python, and Java.The Bot Framework Composer is an open-source integrated development environment based on the Bot Framework SDK. You get to have a visual designer tool as a programmer to visualize your convos.You can even assess your bot and allocation it to Azure from that canvas.This low code tool is a great introduction on your very first chatbot.
Key takeaways
By the end of this tutorial the learner will be able to;
1.Pick a template
2.Name the bot
3.Start the bot
4.Find the greeting response
5.Customize the bot response to "hello world"
6.The final run in webchat and emulator
Article quality
This article will be in context, brief and informative. My approach to this article is unique because it is broken down into bits and the explanation is straight to the point. I have used simple language to ensure it is beginner-friendly.
References
N/A

Hi @Juskam
Thank you for your response and we thank you for submitting your topic. After some careful consideration it struck us that this topic may be a bit over saturated throughout other blog sites and official documentations as previously mentioned on your topic form by our content moderator.
We typically refrain from publishing content that is covered widely on the net or other blogs. As we're more interested in original, practitioner-focused content that takes a deeper dive into programming-centric concepts.
We believe this is the best way for students to build a great portfolio (for potential employers) is by building what does not exist and what can provide the most value.
You are more than welcome to pursue another more in depth topic


First iteration of Miden rollup tutorials

Goal
We aim to provide clear, beginner-friendly tutorials and basic program examples for both the Miden Rust client and WebClient. Currently, we guide new developers using our integration tests, but the tutorials will serve as a more accessible introduction. These tutorials will demonstrate how to use the Miden client as a library to build applications, covering most of the fundamental features. To ensure consistency, each tutorial will be available for both the Rust client and the WebClient.
Requirements

The tutorials should be executed against our testnet and not use the MockChain.
For now, the tutorials need to be written in MASM. When we have our Rust compiler, we will switch to Rust.
We also need a text explaining the code in-depth and easy to follow for every tutorial. We will add those texts to our docs.

Tutorial ideas

[ ] Exchange contract: Mint 10 notes of asset A, in an account consume all notes and create 10 new note P2ID for 10 different receivers. This tutorial should show how a custom transaction is being built
[ ] Simple counter contract: Deploy a simple smart contract that counts a number. If one wants to change that number, he/she needs to pay at least the amount of the size of the number
[ ] Rock, Paper, Scissors: Create a smart contract to play Rock Paper Scissors. Find a solution to keep a player's move secret until both players made their move

Guess my number: Create a smart contract that assumes a random number between 1 and 100. It should determine the player's win if their guessed number is correct.


Remove version: Crucial.StorageExecutive version 10.01.012024.00

Checklist for Pull Requests

[x] Have you signed the Contributor License Agreement?
[x] Resolve #183876
[x] Depends on #183883

Manifests

[x] Have you checked that there aren't other open pull requests for the same manifest update/change?
[x] This PR only modifies one (1) manifest

Microsoft Reviewers: Open in CodeFlow

URL: https://www.crucial.com/content/dam/crucial/support/storage-executive-win-64.zip
Status Code: 200
(Automated message - build 897)


Hey I think you made a typo on the docs

Hey I think you made a typo on the docs that installs spike
on the line that says
"""
To use the library include the following line in your python code:
from project.uartremote import *

"""
its supposed to be
"""
To use the library include the following line in your python code:
from projects.uartremote import *

"""
On https://uartremote.readthedocs.io/

I fixed it. Most of the docs are here, these days: https://docs.antonsmindstorms.com/en/latest/


[T4A4][W13-B4] Ang Wei Hao Desmond

@KnewYouWereTrouble
Some comments added. Please ack & close the PR after reading comments.

Acknowledged. Thanks for the feedback.


Update!!!!!!!!

Hi,  Whether the library will continue to be updated?

Yes the library will be updated soon.

Thank you, I like this library very much, it is very good, in the next project, I will use it! @ankurp

Version 8.0.0 is created addressing fixes for Xcode 10 and Swift 4.2 so closing this https://github.com/ankurp/Dollar/releases


Reimporting a second time no longer updates the font in the editor.

Tested versions
v4.3.dev5.official [89f70e98d]
System information
w10 64
Issue description
I have imported a font bmp image as Font Data.
When you alter the margins for the first time and reimport the data, the source updates its display in the editor, when you alter the margins for the second time and reimport again, the source no longer updates its display even though the changes have been applied.
To see the changes you will have to restart the editor, but the same thing will happen again... very annoying.
Video:
https://youtu.be/xGNuigqJrRs
Steps to reproduce
Apply some change to the font that makes it look different, some margin or something like that.
Reimport.
The changes are reflected in the editor.
Apply a change again.
Reimport.
The changes are no longer reflected.
Minimal reproduction project (MRP)
testfontReimport.zip

This has been fixed in v4.4.dev1.official [28a72fa43] but is not stated here.


Private by default

That S3 uploads default to public isn't good. You should default to saving things privately and let the user make it public if they wish. If the user means for something to be public but doesn't know to do that, they'll soon find out. If they mean to keep it private but don't know to do that, they'll expose potentially sensitive data to the whole internet.
Would you accept a PR that changes that?

+1

Name
Description

x-amz-acl
The canned ACL to apply to the object. For more information, go to Canned ACL in the Amazon Simple Type: StringValid Values: private | public-read |public-read-write | authenticated-read | bucket-owner-read | bucket-owner-full-controlDefault: private

Could you create a PR for that?

Totally can, just wanted to make sure it's a functionality change you'd accept first.

Sure, we can change it I think.

This was fixed by #106, so closing.


Add space Spark Function

add sparksql function : space(int32_t) -> varchar ,  Returns a string consisting of n spaces.
SELECT space(1); -- " "
SELECT space(5); -- "     "
SELECT space(0); -- ""
SELECT space(-1); -- ""
SELECT space(null); -- NULL

Spark doc：https://spark.apache.org/docs/latest/api/sql/index.html#space
Spark implementation：https://github.com/apache/spark/blob/443a957920737143834888726f067bc54acb97f2/sql/catalyst/src/main/scala/org/apache/spark/sql/catalyst/expressions/stringExpressions.scala#L1860

CI is red, looks relevant to this pr.
I20240119 09:04:22.785988 53976 ExpressionVerifier.cpp:51] Executing expression 0 : upper(space(multiply(1549481361,"c0")))

CI is red, looks relevant to this pr.
I20240119 09:04:22.785988 53976 ExpressionVerifier.cpp:51] Executing expression 0 : upper(space(multiply(1549481361,"c0")))

It feels like the input parameter value is too large and it crashes.

@rhh777 Please, review coding and contributing guidelines and update PR title accordingly.

@rhh777 Please, review coding and contributing guidelines and update PR title accordingly.

updated

@mbasmanova, do you have any other comment?

@PHILO-HE This PR hasn't seen any activity for a long time and looks like stale bot closed it. Do you want to reopen? Let's make sure it is rebased onto latest main and CI passes.

@PHILO-HE This PR hasn't seen any activity for a long time and looks like stale bot closed it. Do you want to reopen? Let's make sure it is rebased onto latest main and CI passes.

Yes, we should reopen this pr. @rhh777, could you rebase the code?


Gradient Icon Inserted

@alicanbasak last request, can you also please add the SVG files in the SVG folder? it will be helpful for others.

Hi Dhanish,
I deleted the Svg files. But I can build again, not a problem.

On 24 Sep 2018, at 09:35, Dhanish<EMAIL_ADDRESS>wrote:
@alicanbasak https://github.com/alicanbasak last request, can you also please add the SVG files in the SVG folder? it will be helpful for others.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/dhanishgajjar/vscode-icons/pull/39#issuecomment-423886449, or mute the thread https://github.com/notifications/unsubscribe-auth/AgFhAlukIk5giVBalEax-UjbGP4m5e6eks5ueH0WgaJpZM4W1w_z.


Organize schema_migrations values to prevent merge conflicts

fixes #14

@nvanoorschot I think this is a good idea!
However, to avoid surprises for existing users of this gem, how do you feel about introducing this as an optional method first? See https://github.com/lfittl/activerecord-clean-db-structure/pull/13 for an example of such an option.

@lfittl Good idea, I turned it into an option, keeping the output the same for those not opting in.

@nvanoorschot Thanks for adjusting - sorry for the radio silence. Merging now :)


[Suggestion] Disable structures individually

I'd like to disable structures either in the config gui or in the config file. I don't want to have vanilla villages but want to keep monuments, mansions, etc.

I can see the value in that. I'll see what I can do


Generic Tree

Type
Data-Structure
Directory
Algorithm => Trees => Generic Tree implementation
Description
Generic trees are a collection of nodes where each node is a data structure that consists of records and a list of references to its children(duplicate references are not allowed). Unlike the linked list, each node stores the address of multiple nodes. Every node stores address of its children and the very first node’s address will be stored in a separate pointer called root.
Programming Language

[X] c++
[x] c
[ ] python
[ ] java
[ ] kotlin
[ ] javascript
[ ] typescript
[ ] c#
[x] swift
[ ] ruby
[ ] scala
[ ] go
[ ] php
[ ] haskell
[ ] bash

@ahampriyanshu assign me this in c++.I am working on this

Can you assign this to me in swift?

@ahampriyanshu can you assign this to me in C?

can u assign this to me... @ahampriyanshu in cpp.

@ahampriyanshu Please assign this to me in JAVA.

I have already made a PR for java and can also contribute using JS so please assign me for JS as well

Hey @ahampriyanshu, can you assign me in python.

@ahampriyanshu I made the PR for it....you can merge it...

@ahampriyanshu please do assign me for javascript as well.


Update sws_osx_install.command to be more robust.

Fails with a message if ~/Library/Application Support/REAPER cannot be found; Eg. if the user has a portable installation.
Allows the user to specify the destination directory from the command-line.
Removed unnecessary duplication.

Sorry for the late feedback: I was planning to re-do the OSX installer (which is well convoluted ATM), and get rid of this script on the way but this will have to wait a bit more... So your contribution is welcome, thanks!
Would you mind re-doing this pull request on the "next" branch though?
(could merge it by hand, but it would be better to keep track of the original author...)

 Let me close this and do it over. Sigh.


Improve repetitive section of forms with multi-select (or other suggestion)

For better userexperience and developer experience aswell, it would be nicer to handle repetitive sections like these with something else than a expandable input/select field that is being repeated. We could use a multi-select for example.

At the moment this is specifically for relations to other service instances.

Hey team! Please add your planning poker estimate with Zenhub @LauraStordeur @matborowczyk


option to output query results in trec_eval format

This enables easy eval of TREC datasets using the official scorer.
More info here.
This will also allow us to sanity check our own ir_eval.

@smassung: don't we have code for this (or something like it) from the ACL paper?

Yes, I just modified a few lines of query-runner -- I could add an option for output format.

added in 17cc47527704d711e3a7edf5dbc6b7f3e06965a8


Add extraConfig and plugins options for neovim

The new options extraConfig and plugins offer now the same interface as the programs.vim module. This simplifies the configuration for the most users, so they don't have to dig around in the possible options of configure.

Looks good I think. Are these new options preferrable over configure? I.e., is the idea that that programs.neovim.configure can be deprecated?

Thank you for the feedback, I will fix it in a second.
I think there is no advantage in using the configure option over the new introduced ones. I will mark them deprecated with a warning.

Thanks! Rebased to master in c142e5264dc0b3e1e68d7af73e76e3d83446da11.

@rycee In my opinion the configure option shouldn't be deprecated for now, since it's the only way to easily use vam (which doesn't have the plugin loading issue currently plaguing nvim). Once that issue is solved or if there was a way to use vam via another option I would support it.

How about changing the implementation of the new plugins option to use vam internally?

I'd be okay with that, but the options are formatted differently since vam takes per-plugin config options

Or maybe using vim-plug. I think I would like to leave the option as they are right now and just changing the implementation.


Fixed issue with Inkscape

Inkscape would not properly render some of the svg files. Turns out that not having spaces in front of the '-' would cause the issue. So, I went through all of the svg files and added spaces, while checking in Inkscape and Firefix to see if I broke anything.

+1

Thanks @propersquid this would be really great.


Ch6 - notes

There were no sandbox updates this time around

This marks the end of the first mini-book!


Refactor parser

Pull Request Test Coverage Report for Build 1011

647 of 675 (95.85%) changed or added relevant lines in 49 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 82.963%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Language/ASTBuilder/InputObjectTypeExtensionASTBuilder.php
13
14
92.86%

src/Language/ASTBuilder/ASTKindEnum.php
0
1
0.0%

src/Language/ASTBuilder/UnionTypeExtensionASTBuilder.php
13
14
92.86%

src/Language/ASTBuilder/DirectiveDefinitionASTBuilder.php
24
25
96.0%

src/Language/ASTBuilder/DocumentASTBuilder.php
29
30
96.67%

src/Language/ASTBuilder/EnumTypeExtensionASTBuilder.php
13
14
92.86%

src/Language/ASTBuilder/ExecutableDefinitionASTBuilder.php
11
12
91.67%

src/Language/ASTBuilder/FragmentASTBuilder.php
19
20
95.0%

src/Language/ASTBuilder/TypeSystemExtensionASTBuilder.php
15
16
93.75%

src/Language/ASTBuilder/ObjectTypeExtensionASTBuilder.php
15
16
93.75%

Files with Coverage Reduction
New Missed Lines
%

src/Language/helpers.php
1
55.17%

Totals

Change from base Build 1007:
-0.01%

Covered Lines:
4558

Relevant Lines:
5494

💛  - Coveralls

Pull Request Test Coverage Report for Build 1011

647 of 675 (95.85%) changed or added relevant lines in 49 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage decreased (-0.01%) to 82.963%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

src/Language/ASTBuilder/InputObjectTypeExtensionASTBuilder.php
13
14
92.86%

src/Language/ASTBuilder/ASTKindEnum.php
0
1
0.0%

src/Language/ASTBuilder/UnionTypeExtensionASTBuilder.php
13
14
92.86%

src/Language/ASTBuilder/DirectiveDefinitionASTBuilder.php
24
25
96.0%

src/Language/ASTBuilder/DocumentASTBuilder.php
29
30
96.67%

src/Language/ASTBuilder/EnumTypeExtensionASTBuilder.php
13
14
92.86%

src/Language/ASTBuilder/ExecutableDefinitionASTBuilder.php
11
12
91.67%

src/Language/ASTBuilder/FragmentASTBuilder.php
19
20
95.0%

src/Language/ASTBuilder/TypeSystemExtensionASTBuilder.php
15
16
93.75%

src/Language/ASTBuilder/ObjectTypeExtensionASTBuilder.php
15
16
93.75%

Files with Coverage Reduction
New Missed Lines
%

src/Language/helpers.php
1
55.17%

Totals

Change from base Build 1007:
-0.01%

Covered Lines:
4558

Relevant Lines:
5494

💛  - Coveralls

This PR is pretty hard to review because of the number of changes (sorry about that). I'll just go ahead and merge this because all test seem to be passing.


[WIP] build-env: determine GO15VENDOREXPERIMENT correctly

Build environment has been buggy as it always set GO15VENDOREXPERIMENT to 1, even when a local go 1.6 compiler is used on a host where the default go compiler is 1.5. A typical example is functional test, which automatically installs go 1.6 runtime under /home/core/go for every test, while /usr/bin/go still remains as 1.5. Then GO15VENDOREXPERIMENT is set to 1 before running the functional test, but it's not set back to 0, even when a 1.6 compiler is supposed to be used. For instance, this bug breaks a build of github.com/ugorji/go, which is going to be necessary for building dependencies in the future.
So the fix is to set GO15VENDOREXPERIMENT to 0, when go compiler is not 1.5. Also such action must run after "eval $(go env)", otherwise that value could become back to 1.

Please ignore this PR, as it's not a correct fix. I'll create another one.


Create visual workflow diagram of seqr loading pipeline

The loading pipeline is complex and all users would benefit from a workflow diagram. This should include the entire loading pipeline from callset generation, callset loading, relatedness checks, and sample qc.

William generated a high level diagram and put it in our drive here. I would like to expand this to up and downstream tasks as well as provide a bit more detail for each scripted step.

Closing this as the pipeline will be changing in the next quarter and we will need to generate a new workflow


Fix display problems on non English operating system

Thanks! You actually don't need to set the font for each checkbox manually, since there is a loop here already.
Also it would be better to set the font variable as self.font, so that it can be used from the app.py file.
So, something like this would work with less lines:
main_gui.py
self.font = QFont()
self.font.setPointSize(8)
self.font.setStyleStrategy(QFont.PreferAntialias)

...

app.py
for i in self.apps_dict:
    i.setFont(ui.font)

Also, you missed some places where the font is not set, and because of that is bigger by default. For example, the progress bar percentage and the message boxes.
Other than that, great job, and I will merge once the above is fixed.
Thanks again!

Ok, great, thanks for your help!


How could I Print position of agent like nvmap

I want to print the position and angle of agent , just like nvmap command is providing. If I could save them in excel or text form or could display them on terminal continuously.

Like shown in above images

kindly reply me @msavva  or @angelxuanchang  , I really need answer to this question, looking forward for your reply

You can use the --log_action_trace true option to save action_trace.csv in the log directory.  This option should work for both pygame_client and the gym demo.  This file will contain the position of the agent in the "px,py,pz" fields.  You can use minos/server/visualize_traces.js --trace_file <filename> to visualize the action trace.
The position is also reported by in the info field of the response.  The info field should look something like this:
{'agent_state':
  {'position': [4.281050989983723, 0.53564888, -3.020889699499121],
   'orientation': [-0.8588654959923366, 0, 0.5122011907384025]},
   'goal': [
       {'type': 'position', 'position': [1.2792186244623651, 0.53564888, -1.7029638995910343],
         'room': ['R5'], 'roomType': ['dining room'],
          'initialOffsetFromAgent': [2.884750516649895, 0, -2.681519118953451],
           'cell': {'i': 41, 'j': 99, 'id': 8258, 'isValid': True}
    }]
}

See https://github.com/minosworld/minos/blob/master/minos/tools/pygame_client.py#L103 . (you can print out the response by pressing 'o' when using the pygame_client)

Thanks @angelxuanchang , can you kindly explain the orientation and position ? I mean how they are working ?, Also explain their unit (i.e) cm,mm,um etc for position and rad,degree for angle ? Where is origin of axis in a room ? Every time i start minos and press 'O' it give values in negative for position. Thanks in advance for this act of kindness, looking forward for your reply

The scene unit is in meters.  The position is the absolute position of the agent in the scene.  There is no special meaning for the position 0,0,0.  The orientation of the agent is the direction vector for the agent.

Ok! Thanks @angelxuanchang . Can you now kindly explain the direction vector (what is x,y,z in this case) little bit, I mean how it is working what does (-0.999) means and what does (0.999) means ? Also can you kindly explain the direction vector along up and down (ceiling and floor), how is that working ? what does -1 means and what does 1 means? Thanks in advance for this act of kindness. As I am trying to get ground truth from MINOS simulator I need to understand these.

@angelxuanchang can you kindly reply to my last comment?, I would figure-out the rest myself. But for this I need to understand orientation.

The direction vector is a normalized vector in Minos world coordinate frame indicating the direction the agent is facing.  The agent uses a coordinate frame with Y up and -Z front.  Minos uses a world coordinate frame with the same conventions: Y up and -Z front.  Both SUNCG and Matterport3d scenes are rotated to match this (SUNCG from Y up, +Z front and Matterport3D Z up, -X front, the front is somewhat arbitrary).   The Y component of the orientation should be 0 since the agent is just moving in the XZ plane.  If you want the relative orientation of the agent to the goal, you will find that in observation.measurements.direction_to_goal

ok, and can you tell that "observation.measurements.direction_to_goal" is a command or some file? where to get it ? that's all and thanks for such a explained reply ! :)

It is part of the observations that is returned by the simulator at each step.  Please see https://github.com/minosworld/minos/blob/master/minos/tools/pygame_client.py#L84 for example of how the measurements are extracted and https://github.com/minosworld/minos/blob/master/API.md#return-object for example of what is returned.


Adjust hyperparameters of MovieChat-Plus after training

Hello, is it still possible to adjust the hyperparameter of MovieChat-Plus, like Length of Memory Buffer and the Question-frame Similarity Threshold during the inference phase? I just want to investigate the effectiveness of each hyperparamter without retraining the model.

sure, MovieChat++ is still training-free. You can modify the hyperparameter directly.


chore: prepare release 1.14 / 0.40

1.14.0
:rocket: (Enhancement)

feat(SpanExpoter): Add optional forceFlush to SpanExporter interface #3753 @sgracias1 @JacksonWeber

0.40.0
:boom: Breaking Change

fix(exporter-logs-otlp-grpc): change OTLPLogsExporter to OTLPLogExporter #3819 @fuaiyi
chore(instrumentation-grpc): add 'grpc' deprecation notice postinstall script #3833 @pichlermarc

Support for telemetry generation for the grpc module will be dropped in the next release as the package has been
deprecated for over 1 year, please migrate to @grpc/grpc-js to continue receiving telemetry.

:rocket: (Enhancement)

feat(api-logs): support map in log attributes. #3821 @Abinet18
feat(instrumentation): add ESM support for instrumentation. #3698 @JamieDanielson, @pkanal, @vmarchaud, @lizthegrey, @bengl
feat(exporter-logs-otlp-http): otlp-http exporter for logs. #3764 @fuaiyi
feat(otlp-trace-exporters): Add User-Agent header to OTLP trace exporters. #3790 @JamieDanielson
feat(otlp-metric-exporters): Add User-Agent header to OTLP metric exporters. #3806 @JamieDanielson
feat(opencensus-shim): add OpenCensus trace shim #3809 @aabmass
feat(exporter-logs-otlp-proto): protobuf exporter for logs. #3779 @Abinet18

Oh heck yes. Glad to see the ESM changes making it into a tagged release!

Thank Jamie :)


[BUG] SyntaxError

Before submitting a bug report...

[X] This bug wasn't already reported.
(I have checked every bug report on GitHub)

Title

[X] The title is no longer "[BUG] Title" and I edited it with the right error name.

Describe the bug
The program was working perfectly for a few weeks until this error appeared.
I feel like its something thats not updated but idk
Note: I do not know python so simplifiy some things
Extra Info:

I made sessions folder auto delete after running so I have already tried deleting it
Tried updating requirements

Copy and paste your error
E:\Downloads\MS-Rewards-Farmer-master>python main.py
 File "E:\Downloads\MS-Rewards-Farmer-master\main.py", line 66
"Date": date,
^
SyntaxError: invalid syntax
Screenshots
CMD Prompt:

VSCode:

Value of dashboard variable
Github flagged my account for creating a gist so I will not put one here unless you ask me too again and ill try.

Nevermind I modified it and forgot to get rid of something sorry


Fix websocket popup

We don't want to see the Popup for authentication when websockets are connected.
The user should still be authenticated in the backend.

fixed in #78


Detect and cache the Ping-Body-Limit response header and support non-default limit

As of v2.1 responses include a Ping-Body-Limit header indicating how large the log payload can be. We could cache this value somewhere like /tmp/.healthchecks-<base_url_slug>.Ping-Body-Limit to be used in subsequent invocations.
Also, the existing hard-coded value doesn't support other installs with different limits, so a --body_limit flag should be added so callers can proactively specify the limit they'd like to use.

Another option would be adding start ping support to task-mon and grabbing the instance's ping body limit from that response, so you don't need to maintain any local state.
It was designed impromptu in https://github.com/bdd/runitor/discussions/32#discussioncomment-2694931.
Relevant lines in runitor: https://github.com/bdd/runitor/blob/main/cmd/runitor/main.go#L253-L270.
FWIW, even without instance config sniffing capability, sending start pings provide a ton of value. e.g.

measuring the execution time
catching task runner bugs ;)
coupled with run ids, an ability to have multiple runners reporting to same uuid or pingKey+slug
catching possibly stuck or unhealthily slow jobs by giving them if they don't a report status grace_time after the start ping.

adding start ping support to task-mon

Start pings are already supported via the --time flag; I'd intentionally made it an opt-in feature, but I do take your point about the benefits of turning it on by default. I'll split that out into a separate FR.

coupled with run ids

I was not aware of that new feature! Very cool!

if they don't a report status grace_time after the start ping.

IIRC that was part of my motivation for not enabling --time by default. I didn't want users to need to configure the grace time properly if it didn't align with their use case.


No such file or directory gd.h

This error occurs when running sudo make install

I had the same issue and fixed it by installing gd-devel under Voidlinux.

install gd-dev if on debian, or other gd related packages on your distro. I'll update the readme


Azure function fix for local machine setup

This is not working on local machine while following instructions of exercise -> https://docs.microsoft.com/en-us/learn/modules/automatic-update-of-a-webapp-using-azure-functions-and-signalr/3-exercise-analyze-limitations-of-polling-in-a-web-app
Paul Batum comment helped (check below link) to fix this on my local machine, hence creating PR to update this fix for everyone.
https://github.com/Azure/Azure-Functions/issues/1987#issuecomment-952420935

please merge PR with base branch.

Thank you for your PR. At this time, we are updating the entire repository so this will be updated as part of that effort.


Replace class overridden by "Is-type" constraint in Reference Model Browser

See the example below, last entry shown. StatementTopic.AnatomicalLocation should not be referred to, because StatementTopic doesn't possess this attribute. The first constraint shows that StatementTopic has been constrained to a ConditionTopic, and it is ConditionTopic that defines AnatomicalLocation. It would make more sense to express the constraint as ConditionTopic.AnatomicalLocation.
I'm not sure, however, if the little phrase below "Defined in ClinicalStatement" should be changed, and if so, what it should say. Open to suggestions...

Reconsidering if this is really a bug. It is a very subtle point, and it will not be apparent out to typical users. I would say this is a "do not fix" type, unless users start complaining.


JavaScript

JavaScript
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
So that I can easily find and read the information
Acceptance Criteria
GIVEN a Prework Study Guide website
WHEN I view the study guide
THEN I see the four topics I learned listed along with a suggestion on what I should study first

Can u plz tell me how i help ??


How to run a task when app is in background

For this purpose, I used the combination of react-native-background-action and react-native-background-fetch.
I configured the BackgroundFetch to run every 15 minutes and call a function, inside of the function I tried to start a "BackgroundJob".
Something like this :
 if (!BackgroundJob.isRunning())
        await BackgroundJob.start<TaskParams>(backgroundTask, {
          ...defaultOptions,
          parameters: {
            callback: options?.callback,
            assets,
          },
        })

But when the app runs in the background I get this error message:
[Error: Not allowed to start service Intent { cmp='packgeName'/com.asterinet.react.bgactions.RNBackgroundActionsTask (has extras) }: app is in background uid UidRecord{3090e14 u0a296 TRNB idle change:uncached procs:0 seq(0,0,0)}]

I guess we can not start a service while the app service is running, actually, when the react-native-background-fetch service is running we can not run the react-native-background-action service inside that.

Hey @ghorbani-m, yeah I also agree with you. Running tasks in the background with react-native is always a big deal.
Maybe we can discuss about this in a meeting.


Global services unreachable via browser

warden version 0.9.0
Docker version 19.03.12, build 48a66213fe
docker-compose version 1.25.0, build unknown
ubuntu 20.04
On a fresh install of warden, i can't reach any of the global services.
In the logs I've found this error:

traefik      | time="2020-08-25T07:15:22Z" level=info msg="Configuration loaded from file: /etc/traefik/traefik.yml"
traefik      | time="2020-08-25T07:15:22Z" level=info msg="Traefik version 2.2.8 built on 2020-07-28T15:46:03Z"
traefik      | time="2020-08-25T07:15:22Z" level=info msg="\nStats collection is disabled.\nHelp us improve Traefik by turning this feature on :)\nMore details on: https://docs.traefik.io/contributing/data-collection/\n"
traefik      | time="2020-08-25T07:15:22Z" level=info msg="Starting provider aggregator.ProviderAggregator {}"
traefik      | time="2020-08-25T07:15:22Z" level=info msg="Starting provider *file.Provider {"watch":true,"filename":"/etc/traefik/dynamic.yml"}"
traefik      | time="2020-08-25T07:15:22Z" level=info msg="Starting provider *traefik.Provider {}"
traefik      | time="2020-08-25T07:15:22Z" level=info msg="Starting provider *docker.Provider {"watch":true,"endpoint":"unix:///var/run/docker.sock","defaultRule":"Host({{ .Name }}.warden.test)","network":"warden","swarmModeRefreshSeconds":15000000000}"
traefik      | time="2020-08-25T07:20:24Z" level=error msg="service "portainer" error: unable to find the IP address for the container "/portainer": the server is ignored" providerName=docker container=portainer-warden-f4f4a5daa929ce4ccf8691612be3b9c115c70cb5fb6f2d8c09f382ee538734ab

The services are up as you can see:

warden svc ps
Name                 Command               State                      Ports
dnsmasq     webproc --config /etc/dnsm ...   Up      <IP_ADDRESS>:53->53/udp
mailhog     MailHog                          Up      1025/tcp, 8025/tcp
portainer   /portainer                       Up      9000/tcp
traefik     /entrypoint.sh traefik           Up      <IP_ADDRESS>:443->443/tcp, <IP_ADDRESS>:80->80/tcp
tunnel      /entry.sh /usr/sbin/sshd - ...   Up      <IP_ADDRESS>:2222->22/tcp

Any idea what could I do to fix this?

@springerin Given each of the global services reports as up, it sounds like DNS resolution is where it's likely falling apart. Nameserver configuration often must be manual. Don't have good docs on how to configure the linux workstation in the Warden docs (yet!) but you'll either want to add items to /etc/hosts for these OR setup your resolver to point to <IP_ADDRESS>; there is some good info on it here: https://devilbox.readthedocs.io/en/latest/howto/dns/add-custom-dns-server-on-linux.html#howto-add-custom-dns-server-on-linux

I confirm indeed this was the issue. thank you very much for the help


Tool not opening.

Hi, Nalleh from Avsforum here. I downloaded the wip version, it still did not start, and here is the command line:

Try fixing it as described here (us python 3.6 or above though, not 3.5): http://stackoverflow.com/questions/37128260/python-3-5-for-windows-missing-tkinter

I am using Python 3.6.

Did you make sure tkinter was installed as described in the link? I did not say that you are not running 3.6, only that the link talks about 3.5.

Not yet. I am not very good at PC's , so i have to look into it som more.

I can't find tkinter in the downloaded zipped program. However i tried the web-installable file, and tkinter was included in that one. But i can't open arve's tool in that one! It doesn't find Python?
But i have to ask: after downloading the zipped program, how is it installed? Just unzip it?
To the right is content of web-installed 3.6, and as you can see it contains tkinter.
To the left is zipped file, and i have just unzipped that one, but can't find tkinter anywhere in those files.

python-3.6.0-embed-amd64.zip is not a full python installation. If that what you are using to run menu.py that is probably what is causing all your problems.
You should download and (re)run the installer. I would expect both the "executable installer" and "web-based installer" to work, but I have not tried the "web-based installer".
You should make sure "Python Launcher for Windows" gets installed as decribed in https://docs.python.org/3.6/using/windows.html.

Finally ! Got some time to experiment more today, uninstalled everything and did a executable install and crossed of every option in the installer and Voila: it worked.
Thank you so much for helping me, Arve, you rock :)
Now i can begin testing gammas :)


mismatch of library and code example in readme

In version 2.10.10,
I got below errors when running the example from the readme:

Error: please implements updater() Getter!
TypeError: $.once is not a function

In my IDE, it warm me below methods are not existing:

$.lock()
$.once(json,string)
$.get(string,string)
$.unlock()

from the Actor.d.ts, I saw
lock(data:LockDataType):boolean
unlock(key:any):void

These suggest the README may have become out-dated.
console output:
(node:18682) UnhandledPromiseRejectionWarning: Error: please implements updater() Getter!
    at User.get updater [as updater] (/home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Actor.js:52:15)
    at Function.apply (/home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Service.js:66:35)
    at User.add (/home/beenotung/tmp/p/demo-cqrs/dist/index.js:28:22)
    at run (/home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Domain.js:252:65)
    at /home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Domain.js:289:37
    at new Promise (<anonymous>)
    at Object.apply (/home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Domain.js:225:40)
    at /home/beenotung/tmp/p/demo-cqrs/dist/index.js:73:15
    at Generator.next (<anonymous>)
    at fulfilled (/home/beenotung/tmp/p/demo-cqrs/dist/index.js:4:58)
(node:18682) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:18682) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
(node:18682) UnhandledPromiseRejectionWarning: TypeError: $.once is not a function
    at Transfer.<anonymous> (/home/beenotung/tmp/p/demo-cqrs/dist/index.js:53:15)
    at Generator.next (<anonymous>)
    at /home/beenotung/tmp/p/demo-cqrs/dist/index.js:7:71
    at new Promise (<anonymous>)
    at __awaiter (/home/beenotung/tmp/p/demo-cqrs/dist/index.js:3:12)
    at Transfer.transfer (/home/beenotung/tmp/p/demo-cqrs/dist/index.js:50:16)
    at run (/home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Domain.js:252:65)
    at /home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Domain.js:289:37
    at new Promise (<anonymous>)
    at Object.apply (/home/beenotung/tmp/p/demo-cqrs/node_modules/cqrs/dist/Domain.js:225:40)
(node:18682) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3)

sample code:
import {Actor, Domain} from "cqrs";

const MongoStore = require('cqrs-mongo-eventstore').default;
const eventstore = new MongoStore("localhost/test");
const domain = new Domain({eventstore});

interface User {
  username: string
}

class User extends Actor {
  name: string;
  amount: number;

  constructor(data: User) {
    super(Object.assign({
      amount: 0,
    }, data))
  }

  changename(name) {
    this.$(name)
  }

  deduct(amount) {
    this.$("deduct", amount)
  }

  add(amount) {
    this.service.apply("add", amount)
  }

  when(event) {
    const data = this.json;
    switch (event.type) {
      case "changename":
        return {name: event.name}
      case "deduct":
        return {amount: data.amount - event.data}
      case "add":
        return {amount: data.amount + event.data}
    }
  }
}

interface Transfer {
  fromUserId: string
  toUserId: string
}

class Transfer extends Actor {
  constructor(data: Transfer) {
    super({finish: false})
  }

  log(event) {
    console.log(event)
  }

  async transfer(fromUserId, toUserId, amount) {
    const $ = this.$;
    $.lock();
    $.once({actorType: "User", type: "add"}, "log");
    const fromUser = await $.get("User", fromUserId)
    const toUser = await $.get("User", toUserId)
    fromUser.deduct(amount)
    toUser.add(amount)
    $.unlock()
    $("finish", null)
  }

  when(event) {
    switch (event.type) {
      case "finish"
        return {finish: true}
    }
  }
}

domain.register(User).register(Transfer);

async function main() {

  let Alice = await domain.create("User", {name: "Alice"})
  Alice.add(100);

  let Bob = await domain.create("User", {name: "Bob"});

  const transfer = await domain.create("Transfer", {});
  await transfer.transfer(Alice.id, Bob.id, 15);

  Alice = await domain.get("User", Alice.id);
  Bob = await domain.get("User", Bob.id);
  console.log("Alice money is", Alice.json.amount);
  console.log("Bob money is", Bob.jsMode.amount);

}

main();

sorry , document no update.
get updater(){         //  to instead when(event) {
}

look https://github.com/liangzeng/cqrs/tree/master/example
module.exports = class User extends Actor {

    constructor(data) {
        super({ money: data.money || 0, name: data.name, id:data.id });
    }

    changename(name) {
        this.$.apply("changename", name);
    }

    get updater(){  // see it
       return {
          changename(data,event){
            return { name: event.name }
          }
       }
    }

}


Bugfix

:tada: This PR is included in version 9.9.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


timezone issue @ FSCalendar ~>2.3.1

hi guys
why timezone changed? timezone in 2.3.0 is local, but now is gmt0. i must review many related codes.
regards

@pcicp Thanks for reporting. This should really be an issue. Will fix it soon.


handle ##vso[task.complete done=true;]

cool. wait before merging. I want to test e2e with my changes


bibstyle option returns "no style found"

I tried using the bibstyle = authoryear option as in the guide but it returns an error. Code runs fine without it. Also any other choice of bibstyle seems to get the same error.

The latest version use biber instead of bibtex, you can refer to https://www.overleaf.com/learn/latex/Biblatex_citation_styles.
and what's your error msg？

You can try compiling this code.
\documentclass[cn,bibstyle=authoryear]{elegantpaper}
\begin{filecontents*}{reference.bib}
  @book{test1,
    author       = {陈登原},
    title        = {国史旧闻},
    volume       = {1},
    address      = {北京},
    publisher    = {中华书局},
    year         = {2000},
    pages        = {29},
  }

  @book{test2,
    author       = {哈里森·沃尔德伦},
    translator   = {谢远涛},
    title        = {经济数学与金融数学},
    address      = {北京},
    publisher    = {中国人民大学出版社},
    year         = {2012},
    pages        = {235--236},
  }
\end{filecontents*}
\begin{document}
\cite{test1,test2}
\printbibliography[heading=bibintoc, title=\ebibname]
\end{document}


Install kubectl as local tool

How to categorize this PR?

/area dev-productivity
/kind enhancement
What this PR does / why we need it:
Install kubectl as local tool.

/approve


[Bug]: required argument are missing: conversation_id,messages

Is there an existing issue for the same bug?

[X] I have checked the existing issues.

Branch name
main
Commit ID
#2892
Other environment information
No response
Actual behavior

请问是什么问题
Expected behavior
No response
Steps to reproduce
1

Additional information
No response

Please check this out.

@KevinHuSh Hello, I've created a knowledge base using the Chat Assistant API, but when I send a question via Postman, I receive an error saying a parameter is missing, even though I've clearly provided values. Could you help me identify where the issue might be?

Please paste the whole error message.

Close due to no response.