D455 IMU Calibration Error

Required Info

Camera Model
D455

Firmware Version
<IP_ADDRESS>

Operating System & Version
Linux (Ubuntu 20.04)

Kernel Version (Linux Only)
5.4.0-59

Platform
PC

SDK Version
v2.40.0

Language
python

Segment
Robot

Issue Description
When I tried to run rs-imu-calibration.py according to https://github.com/IntelRealSense/librealsense/tree/master/tools/rs-imu-calibration, I encountered the following error message.
Start interactive mode:

Error: Enumeration keys must be strings: (0,)

Hi @robotsoft   This error message does not only occur with librealsense but with other programs that involve the installation of enum.  Typically, the message occurs if enum34 was not used as the enum installation instruction.
The Ubuntu instructions for enum apparently have a layout error where the enum instruction is bolded as headline text.

I believe that it should read as follows:
Enum
Python 2.7
sudo pip install enum34

Hi @robotsoft   This error message does not only occur with librealsense but with other programs that involve the installation of enum.  Typically, the message occurs if enum34 was not used as the enum installation instruction.
The Ubuntu instructions for enum apparently have a layout error where the enum instruction is bolded as headline text.

I believe that it should read as follows:
Enum
Python 2.7
sudo pip install enum34

It works. Thank you, @MartyG-RealSense.

It works. Thank you, @MartyG-RealSense.

Great news @robotsoft  - thanks for the update!

Great news @robotsoft  - thanks for the update!

Hi @robotsoft  Do you require further assistance with this case, please?   Thanks!

Hi @robotsoft  Do you require further assistance with this case, please?   Thanks!

Case closed due to no further comments received.

Case closed due to no further comments received.


Error should be shown at componentDidMount

I don't know how to reproduce that but I basically have this code.
If I fill the email field with an already used email and then blur, the error message appears.
If I go to another page and then come back to my form, the error message is not here anymore, even if I focus/blur.
I must focus => change the value => blur  to get the message back.
The console.log is triggered so this is just a problem from Error component I guess.
I just put a part of the form
          <Errors
            className="errors"
            model=".email"
            messages = {{
              available  : val => `${val} is already used. Please choose another address`
            }}
          />
          <label>Email</label>
          <Control.text
            type="email"
            model=".email"
            validators={{
              required: (val) => val.length,
              isEmail
            }}
            asyncValidators={{
              available: (val, done) => {console.log('triggered');return actions.checkEmailAvailability2(val)
                                        .then(res => done(res))}
            }}
          />

I've tried something like in #596 but it does not works for asyncValidation.
Maybe there is another workaround ?

You should now (after the next release) be able to use the persist prop to accomplish this:
<Control.text
  model="user.name"
  validators={{...}}
  persist
/>

This will prevent the validity from being reset when the component unmounts.


feat: Allow injecting JavaScript code into subframes

Resolves #1313
Based on changes from Modrinth's fork

I am unable to change my changes on platforms other than linux (webkitgtk), sorry

Any updates @amrbashir?

Thank you @Norbiros


Resuming session (refresh) loses stale status

Describe the bug

Autorun on startup disabled; all cells are marked as stale
Refresh the browser tab
Cells are no longer marked as stale, but they should be

Context:

BE doesn't know when a cell has been edited, and additionally might not be aware of cells in an un-instantiated notebook

Environment
0.6.0
Code to reproduce
No response

Picking this one up!

Couldn't reproduce this one.

No autorun on startup, lazy runtime, marked cells as stale
Refresh browser
Cells are still marked stale


[BUG] Allow users to configure the max size for share file when using spring-cloud-azure-starter-storage-file-share

Describe the bug
The current max size 1024 is not supported to change, If it exceeds this size, the underline SDK interface will throw an exception.
Relate issue:

https://github.com/Azure/azure-sdk-for-java/issues/27230

Exception or Stack Trace
Suppressed: com.azure.storage.file.share.models.ShareStorageException: Status code 416, "<?xml version="1.0" encoding="utf-8"?><Error>InvalidRange<Message>The range specified is invalid for the current size of the resource. RequestId:97ec1c94-301a-005c-3f2e-29b1e1000000
To Reproduce
Save to the share file with data over 1024 size.
Code Snippet
https://github.com/Azure-Samples/azure-spring-boot-samples/tree/4cfe46d1aa5f26e32f216ab27d467b70a4053782/storage/spring-cloud-azure-starter-storage-file-share/storage-file-sample
Expected behavior
A clear and concise description of what you expected to happen.
Setup (please complete the following information):

OS: [e.g. iOS] Windows 11
IDE: [e.g. IntelliJ] Intellij idea
Library/Libraries: [e.g. com.azure:azure-core:1.16.0 (groupId:artifactId:version)]  com.azure.spring:spring-cloud-azure-starter-storage-file-share:4.0.0-beta.4
Java version: [e.g. 8] 11
App Server/Environment: [e.g. Tomcat, WildFly, Azure Function, Apache Spark, Databricks, IDE plugin or anything special]
Frameworks: [e.g. Spring Boot, Micronaut, Quarkus, etc] spring boot 2.6.2

Information Checklist
Kindly make sure that you have added all the following information above and checkoff the required fields otherwise we will treat the issuer as an incomplete report

[x] Bug Description Added
[x] Repro Steps Added
[x] Setup information Added

For now, there are some limitations here.
because we are using spring resources to read and write.

in step 1, we create shareFileClient  and return OutputStream, but we have to give maxSize to create shareFileClient.
but the maxSize won't know until step 2.

Close in favor of https://github.com/Azure/azure-sdk-for-java/issues/30120.


Created an android app for playing Tic-Tac-Toe issue #97

Please Review This PR and give Suggestions if Required otherwise please accept it as a hacktoberfest-accepted label

Ahh Nice! Followed, Can you please re review and accept it now?


Removed obsolte icondusk-e2e version from dusk

We discussed that we don't want this version anymore. icondusk-e2e will use the default version (currently horizon) and we have to maintain a single version of dusk for both ICON and icondusk-e2e.

launch jenkins dusk


gotoAndPlay( "previous frame" )

Hi, when my animation goes by X frame (100 for example) I would like to give the user the option to go back in the animation. Is the a way to do it frame by frame? Also, when I do gotoAndPlay(25) (for example) I get some objects duplicated... Is there a way to "clean" the stage and jump to a certain frame?
Thanks

It also takes really long time on the jump.... from frame 100 to frame 25....


Fallback to /etc while searching for avrdude.conf

Arch Linux stores it's system-wide avrdude.conf straight in /etc so this patch will allow compatibility with such a setup.
I'm not familiar with this codebase and I've only tested this on my own machine, but hopefully this change is low-impact enough to be harmless enough and still help out the Arch Linux guys!

/usr/local/etc would also be a good idea as well...


Add selected date radius parameter

This is a great package, And I used so many times, I love it, and I like to give to a suggestion about a selected Date Radius, make variable for selected Date radius, so we can make it small,  circle for the selected Date.
( PInk Circle Radius )

Added selectedMonthPadding property on 2.1.0


Close submissions based on deadline

Fixes #71
Used an ENV var to manage when the submission deadline, so we can know if the period is open or closed. Was not needed for us (we can merge at the exact end date) but it may be nice to have it for the generic version of the Hackathons platform.
If the ENV var doesn't exists or is not a valid date, I'm assuming the submission period is closed for security (not opening submissions by accident while configuring the hackathon).
If submission period is over:

/apply button dissapears in the Sticky submission info from homepage
Submit button in the form changes to "Submissions Closed"
Can't send POST submission requests, throwing an error "Submissions are closed"

In our case, we should set this in Vercel:
NEXT_PUBLIC_SUBMISSION_DEADLINE="2024-09-03T11:59:59Z"

To ensure nothing will fail with date checks on different environments, changed to const isSubmissionClosed = true; approach.
When we change the repo to make it forkable and maybe hold more hackathons in the same platform, we can change the implementation to a date check, or store the status of each hackathon 🙏


[zuul] Use the stf-crc-jobs project template

Instead of updating the .zuul.yaml file everytime
infrawatch/service-telemetry-operator adds a new job, the project-template can be updated in STO, which will propogate the change to the project and avoid leaving gaps in testing.
Depends-On: https://github.com/infrawatch/service-telemetry-operator/pull/514

recheck

recheck

Looks like the two expected jobs are running!

recheck

The coveralls job that is failing seems to be a false failure.
The file that is flagged as having lower coverage is https://github.com/infrawatch/sg-core/blob/master/plugins/handler/events/pkg/lib/source.go, which has not been modified recently. The test_source.go file was also not modified recently. This probably is due to recenet ceilometer enablement, but is unrelated to this patch.

Yea that happens sometimes. I keep looking periodically for a threshold since it's a bit fuzzy, but nothing shows up. You can pretty much just ignore it failing since it's a very small value.

The failures are not related to this change


Generic issue for language fixes

This is a generic ticket for syntax fixes.  Of course it's finite.
And the first one will be:
Status could not defined

that is returned by service.Status()
Will fix that shortly.

I think this can be closed?


Map invalid ISO-8859-1 characters to some equivalent when writing PUZ files

Mostly just tracking https://github.com/jpd236/kotwords/issues/2 making it into a release here.

Fixed in 1.2.3.


Static Files

Hey, I'm using django-medusa for a project, by the time the render is fine, but can not do anything with static files (css, js, img), you know some way to make the render take this files?

@oscarmcm You can use the collectstatic command to copy all the css, js, img files to the output directory. You may need to change STATIC_ROOT in settings.py to equal MEDUSA_DEPLOY_DIR.

I'm temporarily handling this by adding a medusa_settings.py file to change STATIC_ROOT to my destination directory. Since I typically put all of my static files into a directory called "static" this equates to:
from .settings import *

STATIC_ROOT = 'build-destination-directory/static'

Then I can collect static files, ignoring ones used by Django admin via:
$ python manage.py collectstatic --settings=my_app.medusa_settings -i admin -i less -i whatever

I'm going to look at adding a call to collectstatic at the end of the staticsitegen command for convenience, since you'd typically deploy to your server from the destination directory and it's just nicer to have everything in the same place, imo.

@oscarmcm See my branch: https://github.com/alsoicode/django-medusa which adds static file collection.

@jlev  @alsoicode hey thanks for sharing and helping, yes, at the end I did something similar but create a render and an importer who are responsible for rendering the view to a static pages and import the static files to a directory specified in the settings. very grateful for your help.


docs(placeholder): reflect the usage

According to the conversation, I think the mixins do not work with css of SC.

@mxstbr this appears to be the case, but wanted to confer with you first.


Use testdata to save tests.

testdata directory won't be built as source code by default, and the source files won't need to use .go-src suffix.

not sure if this works with go1.1 though..

not sure if this works with go1.1 though..
seems it does.

I'd been wanting to do this for a while already, thanks!


Make the config data accessible to plugins

Config data can be passed to plugins during the build process.

Config data passed must also be immutable, as if the plugin changes the value in the config, the cached config may affect the next file during the build process :warning:


Present the offer

The Tiki SDK Android has the UIs ready to present the offer, but currently lacks an offer flow for presenting it to users. We need to implement an offer flow using a ViewModel to manage the state of the flow and present multiple UIs in the process.
The offer flow should follow the same user experience (UX) as the iOS offer flow to ensure consistency across platforms. It should be displayed as a dialog overlaying the whole screen.
Steps:

Show the offer prompt
Take the user to the terms acceptance
Show endings (accepted/declined/error)
Control the Permissions acceptance in the error ending.

To achieve this, we will need to create a ViewModel to handle the offer flow's state and manage the data flow between the different screens. We will also need to create a DialogFragment to display the offer prompt and manage its interactions with the user.

https://user-images.githubusercontent.com/8357343/231485576-534351ce-fb8a-402f-88b1-4b8cc9cb343b.webm


Getting ChromeDriver ... ^CTraceback (most recent call last):   File "/home/william/Área de Trabalho/TinderBotz/quickstart.py", line 10, in

root@latitude:/home/william/Área de Trabalho/TinderBotz# python3 quickstart.py
Getting ChromeDriver ...
^CTraceback (most recent call last):
  File "/home/william/Área de Trabalho/TinderBotz/quickstart.py", line 10, in <module>
    session = Session()
  File "/home/william/Área de Trabalho/TinderBotz/tinderbotz/session.py", line 111, in __init__
    self.browser = uc.Chrome(options=options) #ChromeDriverManager().install(),
  File "/usr/local/lib/python3.9/dist-packages/undetected_chromedriver/__init__.py", line 369, in __init__
    super(Chrome, self).__init__(
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chrome/webdriver.py", line 70, in __init__
    super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chromium/webdriver.py", line 93, in __init__
    RemoteWebDriver.__init__(
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 268, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python3.9/dist-packages/undetected_chromedriver/__init__.py", line 552, in start_session
    super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 359, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 422, in execute
    response = self.command_executor.execute(driver_command, params)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/remote_connection.py", line 421, in execute
    return self._request(command_info[0], url, body=data)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/remote_connection.py", line 443, in _request
    resp = self._conn.request(method, url, body=body, headers=headers)
  File "/usr/lib/python3/dist-packages/urllib3/request.py", line 78, in request
    return self.request_encode_body(
  File "/usr/lib/python3/dist-packages/urllib3/request.py", line 170, in request_encode_body
    return self.urlopen(method, url, **extra_kw)
  File "/usr/lib/python3/dist-packages/urllib3/poolmanager.py", line 375, in urlopen
    response = conn.urlopen(method, u.request_uri, **kw)
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 445, in _make_request
    six.raise_from(e, None)
  File "<string>", line 3, in raise_from
  File "/usr/lib/python3/dist-packages/urllib3/connectionpool.py", line 440, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.9/http/client.py", line 1371, in getresponse
    response.begin()
  File "/usr/lib/python3.9/http/client.py", line 319, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.9/http/client.py", line 280, in _read_status
    line = str(self.fp.readline(_MAXLINE + 1), "iso-8859-1")
  File "/usr/lib/python3.9/socket.py", line 704, in readinto
    return self._sock.recv_into(b)
KeyboardInterrupt
/==============\
| Tinderbotz   |
| ----------   |
| duration: 42 |
| like: 0      |
| dislike: 0   |
| superlike: 0 |
\==============/
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/home/william/Área de Trabalho/TinderBotz/tinderbotz/session.py", line 68, in cleanup
    print("Started session: {}".format(self.started))
AttributeError: 'Session' object has no attribute 'started'

root@latitude:/home/william/Área de Trabalho/TinderBotz# python3 setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied
root@latitude:/home/william/Área de Trabalho/TinderBotz# python3 setup.py
usage: setup.py [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...]
   or: setup.py --help [cmd1 cmd2 ...]
   or: setup.py --help-commands
   or: setup.py cmd --help

error: no commands supplied
root@latitude:/home/william/Área de Trabalho/TinderBotz# py
Comando 'py' não encontrado, mas poder ser instalado com:
apt install pythonpy
root@latitude:/home/william/Área de Trabalho/TinderBotz# python3 quickstart.py
Getting ChromeDriver ...

Traceback (most recent call last):
  File "/home/william/Área de Trabalho/TinderBotz/quickstart.py", line 10, in <module>
    session = Session()
  File "/home/william/Área de Trabalho/TinderBotz/tinderbotz/session.py", line 111, in __init__
    self.browser = uc.Chrome(options=options) #ChromeDriverManager().install(),
  File "/usr/local/lib/python3.9/dist-packages/undetected_chromedriver/__init__.py", line 369, in __init__
    super(Chrome, self).__init__(
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chrome/webdriver.py", line 70, in __init__
    super(WebDriver, self).__init__(DesiredCapabilities.CHROME['browserName'], "goog",
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/chromium/webdriver.py", line 93, in __init__
    RemoteWebDriver.__init__(
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 268, in __init__
    self.start_session(capabilities, browser_profile)
  File "/usr/local/lib/python3.9/dist-packages/undetected_chromedriver/__init__.py", line 552, in start_session
    super(selenium.webdriver.chrome.webdriver.WebDriver, self).start_session(
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 359, in start_session
    response = self.execute(Command.NEW_SESSION, parameters)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/webdriver.py", line 424, in execute
    self.error_handler.check_response(response)
  File "/usr/local/lib/python3.9/dist-packages/selenium/webdriver/remote/errorhandler.py", line 247, in check_response
    raise exception_class(message, screen, stacktrace)
selenium.common.exceptions.WebDriverException: Message: unknown error: cannot connect to chrome at <IP_ADDRESS>:33461
from chrome not reachable
Stacktrace:
#0 0x5570bd262ee3 <unknown>
#1 0x5570bcd3049f <unknown>
#2 0x5570bcd1f169 <unknown>
#3 0x5570bcd56d1f <unknown>
#4 0x5570bcd4ec46 <unknown>
#5 0x5570bcd89f45 <unknown>
#6 0x5570bcd84163 <unknown>
#7 0x5570bcd59bfc <unknown>
#8 0x5570bcd5ac05 <unknown>
#9 0x5570bd294baa <unknown>
#10 0x5570bd2aa651 <unknown>
#11 0x5570bd295b05 <unknown>
#12 0x5570bd2aba68 <unknown>
#13 0x5570bd28a05f <unknown>
#14 0x5570bd2c6818 <unknown>
#15 0x5570bd2c6998 <unknown>
#16 0x5570bd2e1eed <unknown>
#17 0x7fe0ca316927 <unknown>

/==============\
| Tinderbotz   |
| ----------   |
| duration: 62 |
| like: 0      |
| dislike: 0   |
| superlike: 0 |
\==============/
Error in atexit._run_exitfuncs:
Traceback (most recent call last):
  File "/home/william/Área de Trabalho/TinderBotz/tinderbotz/session.py", line 68, in cleanup
    print("Started session: {}".format(self.started))
AttributeError: 'Session' object has no attribute 'started'

Same issue here - maybe it works with an older chrome version?

For me it works when leaving out the user data dir - but that's just a workaround :)
       # options.add_argument(f"--user-data-dir={user_data}")

Show, I made your process, put it in windows and logged in with gmail and it worked :)

So guys, how did you fix that error?
AttributeError: 'Session' object has no attribute 'started'

So guys, how did you fix that error?
AttributeError: 'Session' object has no attribute 'started'
Fixed it: Updated to the latest Chrome version (97.0.4692.71) and re install the packages.

I tried this and still get the same error

@Hughesy , What python version are you using? I believe only 3.6 - 3.9 is compatible for the moment.
If you're using the right python version, then the issue should not be
AttributeError: 'Session' object has no attribute 'started'
but instead the real issue would be a bit further up in the logs. Probably somewhere when initialising Session().


Why msg?

Why are actions called msg? Is there any reason for keeping this? I know that (and actually use) they can be renamed, as it's just a "conventional name".
I'd vote for changing it to actions though, assuming that there's nothing I'm missing of course.

Yep. I'm for that too and thinking it from day one.

From the Elm examples.
type Msg = Increment | Decrement

update msg model =
  case msg of
    Increment ->
      model + 1

    Decrement ->
      model - 1

Notice that msg is not a property exported by HyperApp anywhere, so you're free to use another name, alternative ones I considered:

dispatch
post
send

The problem with those is that they are verbs and HyperApp prefers:
obj.actionName(...)

as opposed to
send("actionName", ...)

IIRC, if you browse the git history, you'll find that the msg object was implemented in a way that supported both styles above, but I felt that would be a hub of confusion, so I chose the one that does not use "strings" to send actions.
Another good alternative is:

action

not use "strings" to send actions.

and

msg.actionName(...)

Yep. That's another thing that I like in hyperapp. Feels better than the choo's alternative send(actionName)

Yeah, it's not a big deal though. I'm pretty choo could implement this as well, but they already went with the other style, which is okay.

yeah, I like the ideas that do not use "strings" to send actions like redux actually do.
but I personally think msg is not a good name for a container that keeps all the action , which you called "reducers", and effects in. both reducers and effects both describe some kind of "transformation" or "actions" . maybe these two would be better to understand, And you can make it to "trans" or "acs" for shorter typing.

@liadbiz I think the best name is action, that's how they are described in the docs and the wiki as well. I just used msg to mimic Elm conventions. This is just a documentation change, since HyperApp itself does not know anything about a msg property.

@jbucaran   right. just better comprehensible.

@jbucaran I'd say plural is more appropriate here, otherwise it implies that there is only one action per effect/view.

@dodekeract I would like to clarify, so as to make sure we're all on the same page here, that HyperApp is not aware of any msg named property. This is just a regular identifier for an object that is the result of merging reducers and effects. You can use the name you find more approachable.

@jbucaran I was under the impression that you read my inital comment.  I'm simply suggesting that the docs should use the plural form instead of singular.

 Funny. I've renamed it to actions both in the docs and internally! I should be releasing a new version tonight.

Docs have been updated.

msg ➡ `actions


The PrepareNode.ps1 script disappeared after the last changes

Please change the link at https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/adding-windows-nodes/#install-wins-kubelet-and-kubeadm ("Adding Windows nodes" page):
https://github.com/kubernetes-sigs/sig-windows-tools/releases/latest/download/PrepareNode.ps1
with the new one:
https://raw.githubusercontent.com/kubernetes-sigs/sig-windows-tools/master/kubeadm/scripts/PrepareNode.ps1

@eglookz Welcome and thanks for the first issue here!
I will look into this issue.
/assign

/triage accepted
/kind bug

Instead you can request a new release in the sig windows tools repo, by logging an issue there.
Linking to the master branch there is not a good idea.
/sig windows

Also what problems are you seeing?

The problem is that the link https://github.com/kubernetes-sigs/sig-windows-tools/releases/latest/download/PrepareNode.ps1 is dead. We need to replace it with the link in raw.githubusercontent.com.

/assign steven-my

/assign


Blur a region of the camera💭

Question
Any idea for blurring an area of the camera?. I'm working on an OCR and would like part of the camera not to be extractable.
What I tried
No response
VisionCamera Version
3.9.0
Additional information

[ ] I am using Expo
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar questions in the issues page as well as in the discussions page and found none.

I think you can write your own frame processor to crop the frame or use this plugin to crop the frame as base64: https://github.com/tony-xlh/vision-camera-cropper

Thank you


Don't show deprecation cop warnings in Atom

I don't know about anyone else, but I find the little orange triangle with the Deprecation Cop warnings kind of annoying. Especially if I'm not working on a package it really doesn't add anything, plus some lint packages (Rubocop for example) uses the same icon to indicate warnings in code. I feel like this should be an option to show, but not default.

Open Settings (Ctrl+,), navigate to Packages on the left-side hand, search for "Deprecation Cop", and then disable the package.

hi
i have the same orange triangle warning , it is annoying,,,

@irenapopova The solution hasn't changed. If you don't want deprecation-cop to do it's job, just disable it.
I'd be more concerned about why it's triggering in the first place though. You may want to work out which package is causing it, and raise an issue on it's repo (if not already done by someone).

@Aerijo,
thanks , i am trying to upload my repo, but i faced a problem with gitignore file..


Module time / change word : don't work

Hi,
With module "Time" with :
WORDS = ["TIME"]
It's ok !
When I say "Time", the script is launched and it tells me the time
But if i change it to :
WORDS = ["HOURS"]
Debug :
INFO:client.stt:Transcribed: [u'HOURS']
The STT function works well but, It's the "Unclear" script is launched
I do not understand why
Can you help me ?
Thanks

Fid you also change the is_valid function?


Add extend memory in nodeResourceManager

Add extend memory in nodeResourceManager
Don't panic when there is no noderesource tsp


All plugins stop working

Issue Type: Bug
Eslint stop working, so I tried to restart my vscode but seems like some random error affect some others plugins cause when vscode start again Eslint stop working, and then GitLens stop working... just that. A message error says eslint server fails 5 times in 3 minutes.
Extension version: 2.1.5
VS Code version: Code 1.44.2 (ff915844119ce9485abfe8aa9076ec76b5300ddd, 2020-04-16T17:07:18.473Z)
OS version: Darwin x64 19.4.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-8259U CPU @ 2.30GHz (8 x 2300)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmetal: disabled_offmultiple_raster_threads: enabled_onoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledviz_display_compositor: enabled_onviz_hit_test_surface_layer: disabled_off_okwebgl: enabledwebgl2: enabled

Load (avg)
4, 3, 3

Memory (System)
8.00GB (1.82GB free)

Process Argv

Screen Reader
no

VM
0%

@maxistahl  can you please provide me with a GitHub repository I can clone that demos what you are experiencing.

Had the same issue today. I am using the VSCode Remote Extension and a simply Uninstall and Install of the extension fixed the issue.

@matzeeable extensions don't room to remote automatically.


Error with subprocess.CalledProcessError: Command

Any ideas on why this is happening?
Here is the input:
    'build-atom-shell': {
      tag: 'v0.19.5',
      nodeVersion: '0.18.0',
      config: 'Debug',
      buildDir: './temp',
      projectName: 'predixgo',
      productName: 'PredixGo'
    },

Here is the output:
Running "build-atom-shell" task
Verifying properties build-atom-shell.buildDir, build-atom-shell.tag, build-atom-shell.projectName, build-atom-shell.productName exist in config...OK
>> Running: git remote set-url origin https://github.com/atom/atom-shell
>> Running: git fetch origin
>> Running: git reset --hard HEAD
>> Running: git checkout v0.19.5
>> Rigging atom.gyp to have correct name
Reading temp/atom-shell/atom.gyp...OK
Writing temp/atom-shell/atom.gyp...OK
>> Running: python script/bootstrap.py -v
>> Traceback (most recent call last):
>>   File "script/bootstrap.py", line 119, in <module>
>>     sys.exit(main())
>>   File "script/bootstrap.py", line 25, in main
>>     update_atom_modules('spec')
>>   File "script/bootstrap.py", line 73, in update_atom_modules
>>     execute([apm, 'install'])
>>   File "/Users/predixgo/GithubEnterprise/pg-atomshell-container/temp/atom-shell/script/lib/util.py", line 142, in execute
>>     raise e
>> subprocess.CalledProcessError: Command '['/Users/predixgo/GithubEnterprise/pg-atomshell-container/temp/atom-shell/node_modules/.bin/apm', 'install']' returned non-zero exit status 133
>> Rigging atom.gyp to have correct name
Reading temp/atom-shell/atom.gyp...OK
Writing temp/atom-shell/atom.gyp...OK
>> Running: python script/bootstrap.py -v
>> Traceback (most recent call last):
>>   File "script/bootstrap.py", line 119, in <module>
>>     sys.exit(main())
>>   File "script/bootstrap.py", line 25, in main
>>     update_atom_modules('spec')
>>   File "script/bootstrap.py", line 73, in update_atom_modules
>>     execute([apm, 'install'])
>>   File "/Users/predixgo/GithubEnterprise/pg-atomshell-container/temp/atom-shell/script/lib/util.py", line 142, in execute
>>     raise e
>> subprocess.CalledProcessError: Command '['/Users/predixgo/GithubEnterprise/pg-atomshell-container/temp/atom-shell/node_modules/.bin/apm', 'install']' returned non-zero exit status 133
Warning: null Use --force to continue.

Aborted due to warnings.

This usually happens when your version of node.js is not 0.10.x


VS2015 does no more pick up Fixie unit tests after converting to paket

Problem
When using paket, then the VS2015 test explorer does no more pick up the fixie  test cases.
(And I have repeatedly cleaned the VS test runner cache directory).
Using the Fake Fixie support everything is OK on the local CLI build using paket.
The tests are being picked up and executed.
Before switching to paket everything runs smooth in VS2015 as well.
After switching to paket using:

.paket/paket.exe convert-from-nuget)

the CLI build still execute the tests, but VS2015 does not see them anymore.
Analysis
I have not gotten to the root of the problem yet, but I have some observations:

Fixie has the test framework itself and the test runner in the same package
Even after opening and closing the paket based solution (without the test being discovered), the previous version nuget based version still works correcly (with the test being discovered by VS2015)
It could be related to the different directory structure used by paket

How to reproduce
Therefore it can't just be a testrunner cache problem of VS2015.
I have created a repository at Fixie problem that can be used to repro the problem.
The head commit is using paket (tests are not discovered in VS2015), the one before is using nuget (tests are discovered in VS2015)

VS is weird when it comes to test runners, that's why we have the version_in_path feature. VS needs the version number in the path of the unpacked package to pick up the runners assemblies, since VS 2015 it also needs a packages.config file.

@Martin-Bohring did you try the version-in-path flag?

@forki
Yes that solved the problem, thanks a lot. I glanced over the documentation before, but that detail escaped my attention. And yes VS is weird here. I have choosen paket **exactly **to get rid of that versioned hint path problem,
But now I have some of that back. I fully understand that you can do nothing about it. But MS should. I guess I now have to check those packet.config files in as well.
But the documentation could be more explicit why people might "want" versined hint path.

there is a bit about that in this FAQ: http://fsprojects.github.io/Paket/faq.html#NuGet-puts-the-package-version-into-the-path-Is-Paket-doing-the-same
I'd love to get a PR with more clarification. please try to write a bit where you think it would have helped you.

OK, I will try to ramp up my word smithing capabilities over the weekend


Fix handle research in code generation

The method BaseGenerator.check_struct_pnext_handles in base_generator.py should return True if the specified struct contains handles, handle pointers, or if a struct that contains handle or handle pointers can be referenced through it (either by the pNext chain or with a member that would be a struct or struct pointer).
Until now, to determine if a struct can reference such another struct, the method was retrieving valid_extension_structs which query structs that contains a field structextends with the checked struct. The issue is that if struct A and struct B both extend struct C, then struct A can be in the pNext chain of struct B (and otherwise) which was not detected.
This commit proposes to solve this issue by including in the valid_extensions_structs all the structs extending the parent struct of the checked struct.

CI gfxreconstruct build queued with queue ID 181480.

CI gfxreconstruct build # 4124 running.

CI gfxreconstruct build # 4124 failed.

CI gfxreconstruct build queued with queue ID 192841.

CI gfxreconstruct build # 4243 running.

CI gfxreconstruct build queued with queue ID 215216.

CI gfxreconstruct build # 4402 running.

CI gfxreconstruct build # 4402 passed.


device-init shows usage in /var/log/syslog

After installing device-init DEB package 0.0.14 I see the usage in /var/log/syslog:
I don't have a /boot/device-init.yaml yet.
daemon.log:Jul  3 18:46:23 black-pearl systemd[1]: Starting device-init...
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: device-init allows you to configure various aspect of your devices.
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: This ranges from configuration as simple as setting a hostname to
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: more complex stuff as configuring WiFi access.
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: Usage:
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: device-init [flags]
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: device-init [command]
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: Available Commands:
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: hostname    Set or show hostname
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: Flags:
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: --config string   config file (default is /boot/device-init.yaml)
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: -h, --help            help for device-init
daemon.log:Jul  3 18:46:23 black-pearl device-init[238]: Use "device-init [command] --help" for more information about a command.
daemon.log:Jul  3 18:46:23 black-pearl systemd[1]: Started device-init.

@StefanScherer Well, that is what happens, when one starts the command without any arguments and if there is no /boot/device-init.yaml. That was to be expected.
How do you think it should behave?

Closing as we switch over to cloud-init/cloud-config's user-data file.


Inference script after custom training

Would it be possible to provide the inference script for the custom training, please?

Hi
Any updates?
I have been following https://github.com/huggingface/diffusers/tree/main/examples/controlnet but no luck loading the model.
Thanks

I wrote an long article about control net training https://civitai.com/articles/2078 which also covers inference and converting models


Report 594 Get Item Ledger Entries - How to exclude records?

Hi.
We are trying to do with extension what is shown in the following image

With existing events it is not possible. Any ideas?
A greeting

You can request needed event, but not for 14.X version. We only do events for 15.X.

Ok, it could be interesting
Thanks


Single-threaded vs multi-threaded

I'm using the single-threaded mode for a couple of Altinity Sink Connectors—lightweight ♥—it's been working fine for a couple of days and has handled peak times pretty well.
When I tried multi-threaded mode, I ran into issues, especially when I tuned the queue size and other configs.
My question is: Do you guys see a big difference between multi-threaded and single-threaded modes in production environments?
I'm trying to gauge if the results are worth debugging the multi-threading problems I'm facing, like this one:
2024-09-17 21:07:37.986 ERROR - Invalid call to OffsetStorageWriter beginFlush() while already flushing, the framework should not allow this

I don't have resource constraints, if the multi-threaded mode will be 20% or faster, it's worth looking at it and giving it more resources to fly.

Related: https://github.com/Altinity/clickhouse-sink-connector/issues/731

Maybe a recent debezium issue. Previous versions work fine with multiple threads. There is one thread that checkpoints the offset. @subkanthi do you have more info ?

Invalid call to OffsetStorageWriter beginFlush() while already flushing, the framework should not allow this

Not sure if this is truly related to multiple threads,
Debezium uses still some code from Kafka connect, will have to check with the Debezium Devs as they had plans to completely move away from the kafka connect code.
https://github.com/apache/kafka/blob/trunk/connect/runtime/src/main/java/org/apache/kafka/connect/storage/OffsetStorageWriter.java
https://groups.google.com/g/debezium/c/Rvl7nm3jte0

Thanks @subkanthi @aadant!
If I lower the queue to 500 and batch to 100 and there are 5 threads or more the issue will appear, also, it first happened with a big queue and peak time where a lot of inserts happen, but, a faster way to reproduce it is to lower the queue size. I will take a deeper look at the cause check dbz issues.
But Is there a huge impact from having many threads? Will it make the replication much faster during peak inserts?

Hi @poweroftrue , Im working on getting some benchmark numbers to compare both modes, will get that published soon.

Thanks @subkanthi


JPEG restart interval

Missed --restart getting added to raspistill a few months back. Should add a similar parameter to the capture methods.

What the point of this attribute ?

Essentially increased redundancy in the JPEG (useful when transmitting the results over a connection that's likely to drop bits). The associated thread has a bit more info

Outch, ok ;)


Update to maintained project fork

Checklist

[x] Used a personal fork of the feedstock to propose changes
[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.

Fixes #1

I have updated the recipe and the README to reflect the maintained fork of the project.

Hi @brynpickering. Thanks for the PR. Looks like there is an issue with importing jsonschema2md in the checks.

Happy to merge once we get the checks working.


feat: use DBT_PROFILES_DIR env var as dbt profiles dir (if defined)

Description
Implemented support for the DBT_PROFILES_DIR env var. If the variable is not defined, the profiles dir defaults to ~/.dbt.
How was the change tested
I manually checked that the profiles directory was resolved as DBT_PROFILES_DIR env var. Unfortunately, I didn't write any unit tests as the change seems trivial.
Issue Information
Closes #255
Checklist
(Ideally, all boxes are checked by the time we merged the PR, if you don't know how to do any of these don't hesitate to say so in the PR and we'll help you out.)

[x] I formatted my PR name according to CONTRIBUTING.md
[x] I added a news fragment to help populating the changelog as encouraged in CONTRIBUTING.md
[x] I added "Closes #<issue_number>" in the "Issue Information" section (if no issue, feel free to tick thick the box anyway).

Thanks a lot for the PR @smomni
As you say I think it's ok not to have a unit test on this as it's trivial and that line is kind of covered. I might write a test case for it at a later point though.
It looks like the CI is failing for a weird reason so I'm gonna take a quick looksie.
In the meantime would you mind writing a news fragment for our changelog? you can follow the instructions here to do that: https://github.com/bitpicky/dbt-sugar/blob/main/CONTRIBUTING.md#shout-out-your-hardwork-in-the-changelog
It's going to be a feature so the name of that news fragment file should be 256.feature.md

@bastienboutonnet There's now a changelog entry :)

Awesome! Thanks a lot for this. Strangely enough the CI passes locally so that's a bit strange.
I'm gonna to ahead and merge your branch. I'm planning to make a new alpha release soon, but we (long story) merged what looks like a regression on master so we'll want to fix that before we release.
I'll ping you in the issue when that is done if you want?

Thanks, this was probably the smallest contribution I've ever made 😄 Sure thing, ping me if there's anything!

@smomni the new alpha build contains your changes: https://github.com/bitpicky/dbt-sugar/releases/tag/v0.1.0-a.3
Thanks a lot for the hard work and happy testing!


Basic hello world

I can't seem to get basic "hello world" working with Hope. Using the SolidJs template app and simply add Hope produces the error:
<EMAIL_ADDRESS>Can't import the named export 'Transition' from non EcmaScript module (only default export is available)

Code:
import logo from './logo.svg';
import './App.css';
import { HopeProvider } from '@hope-ui/solid';

function App() {
  return (
    <HopeProvider>

Hi.

    </HopeProvider>
  );
}

export default App;

Nevermind, I needed to use a Solid template with vite.

Hi,
I've setup a projet with the typescript template provided here and everything works.
Here is the source: test-hope-ui.zip

Thank you. Yes, I've noticed that it work fine when transpiled with vite.


Working with Upload types

Hi, first of all, tons of love for making this lib happen! amazing job!
Not sure if i missed something, but couldnt find a way to work with Upload types.
(tried but couldnt make it work)

Hey @BlueHotDog, making this work will likely involve binding the multipartFetchExchange: https://github.com/FormidableLabs/urql/tree/main/exchanges/multipart-fetch I think we're planning to begin binding these critical exchanges in the near future with a migration to yarn workspaces, but you can write your own binding in the meantime!

Released in v3.2.0.


Improve error logging SEP

Signed-off-by: Chuck Ha<EMAIL_ADDRESS>What this PR does / why we need it:
Adds a SEP for error logging.

@timothysc happy to reword or close, let me know what you'd like to see here.
I think this speaks to a specific manifestation of our general dependency managing issue in the code base. I can make this wording more generic, but my main focus is improving error logging.


{sf} HTML tags are rendering as empty parameter values in reference docs

Describe the bug
Problem to solve:
HTML tags in source code are causing build warnings in MicrosoftDocs/azure-docs-cli. More importantly, customer-facing reference docs are not instantiating properly -- parameter values formatted with `<>` are missing. Here's an example:

Requested solution:
These values should be escaped with a backtick. Here's an example from az webpubsub.

Related GitHub issues:
This is the same issue as these GitHub issues.
List of HTML tag instances that need update:

File name
Build error

latest/docs-ref-autogen/sf/managed-node-type/vm-secret.yml
HTML tag 'Base64-encoded-certificate' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

latest/docs-ref-autogen/sf/managed-node-type/vm-secret.yml
HTML tag 'pfx-file-password' isn't allowed.  Replace it with approved Markdown or escape the brackets if the content is a placeholder.

Related command
az sf
Errors
n/a
Issue script & Debug output
n/a
Expected behavior
n/a
Environment Summary
Azure CLI 2.62.0
Additional context
No response

Thank you for opening this issue, we will look into it.

https://github.com/Azure/azure-cli/pull/29861


Installing via apt-get fails with unmet dependencies

To reproduce (on Debian 7.9 wheezy):
# Follow our instructions
$ echo "deb http://http.debian.net/debian jessie-backports main" | sudo tee -a /etc/apt/sources.list
$ sudo apt-get update  # Note this isn't in our instructions, but it should be I think...?
$ sudo apt-get install libgrpc-dev

Expected: I have gRPC
Actual:
$ sudo apt-get install libgrpc-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgrpc-dev : Depends: libgrpc0 (= 0.11.1-1~bpo8+1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

OK, let me try installing the unmet dependency... ?
$ sudo apt-get libgrpc0
E: Invalid operation libgrpc0
jjg@instance-1:~$ sudo apt-get install libgrpc0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 libgrpc0 : Depends: libc6 (>= 2.17) but 2.13-38+deb7u8 is to be installed
E: Unable to correct problems, you have held broken packages.

OK, let me install libc6....
$ sudo apt-get install libc6
Reading package lists... Done
Building dependency tree
Reading state information... Done
libc6 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.

(Here's where I give up...)

It keeps giving the error message "Unable to correct problems, you have held broken packages". Maybe something is broken in your system. This post may help troubleshoot.

Is adding sources from jessie into wheezy expected to work at all?
Libc6 is a fundamental library, the issue above seems that the 2 versions (the version in jessie and wheezy) are quite different. A libc6 upgrade will require re-linking almost all packages -- you might as well upgrade to jessie.
Right now, we do not have packages for grpc on wheezy.

Can we make packages for Wheezy (7.9) ?

Tracking your request in #4112

I have the same problem. any solution?

Another try.
Facing same issue now.
Any solution?
Uname -a output:
Linux xxxxxxxxxx 3.13.0-34-generic #60~precise1-Ubuntu SMP Wed Aug 13 15:55:33 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux


Can't create rule: flag_char <- [^]]

Hi.
I can create rule
flag_char <- [^)]
but rule
flag_char <- [^]]
can't be created. Is it a bug or my misunderstanding?

That may be a bug in the metagrammar. However, you can use the equivalent:
flag_char <- (!"]" .) % assert that the bracket doesn't exist, then consume
one char
On Wed, Nov 2, 2011 at 6:09 AM, Max Lapshin <
<EMAIL_ADDRESS>
Hi.
I can create rule
flag_char <- [^)]
but rule
flag_char <- [^]]
can't be created. Is it a bug or my misunderstanding?
--
Reply to this email directly or view it on GitHub:
https://github.com/seancribbs/neotoma/issues/8

--
Sean Cribbs<EMAIL_ADDRESS>Developer Advocate
Basho Technologies, Inc.
http://www.basho.com/

Wow.
Sean, I know that question about may looks horrible, so I'm not going to ask you about documentation at all.
Can you advice some proper examples of peg files with code parsed from them.
Maybe something like:  https://github.com/tarcieri/reia/blob/peg/src/compiler/reia_parse.peg ?
On Nov 2, 2011, at 12:57 PM, Sean Cribbs wrote:

That may be a bug in the metagrammar. However, you can use the equivalent:
flag_char <- (!"]" .) % assert that the bracket doesn't exist, then consume
one char
On Wed, Nov 2, 2011 at 6:09 AM, Max Lapshin <
<EMAIL_ADDRESS>
Hi.
I can create rule
flag_char <- [^)]
but rule
flag_char <- [^]]
can't be created. Is it a bug or my misunderstanding?
--
Reply to this email directly or view it on GitHub:
https://github.com/seancribbs/neotoma/issues/8

--
Sean Cribbs<EMAIL_ADDRESS>Developer Advocate
Basho Technologies, Inc.
http://www.basho.com/
--
Reply to this email directly or view it on GitHub:
https://github.com/seancribbs/neotoma/issues/8#issuecomment-2602466

Max Lapshin
http://erlyvideo.org/
+7 906 711-11-14
skype: max_lapshin

@maxlapshin The Reia grammar is large and complicated, so I wouldn't use it for a basis of comparison. There are a few example grammars in the "extra" directory.


How to use other SQL databases for database storage (MySQL)

Hi! I've noticed the doc references postgres for setting up data storage (https://labelstud.io/guide/storedata.html). However, I was wondering whether it's possible to switch to other databases such as MySQL for the same task. If so, more or less how'd the process be? I'm trying to set up label-studio and the environment I'm using only allows MySQL DBs.
Thanks!

@astenuz hi! LS doesn't support MySQL officially. But I suppose Django could use it. You have to modify django settings to do it.

Just adding few hints - you may want to replace these settings to
DATABASES = {
    'default': {
        'ENGINE': 'django.db.backends.mysql',
        'NAME': 'DB_NAME',
        'USER': 'DB_USER',
        'PASSWORD': 'DB_PASSWORD',
        'HOST': 'localhost',   # Or an IP Address that your DB is hosted on
        'PORT': '3306',
    }
}

Feel free to create a PR if it works for you, I think that would be a valuable contribution.

@astenuz https://docs.djangoproject.com/en/3.2/ref/databases/#mysql-notes
Check this Django documentation about MySQL. You also have to install mysqlclient package and drivers.

Hey thanks! I'll check how it goes and let you know.


Update readme to help typescript users.

 Closing it for now.


First Age 1% bonus xp not working

As shown in the images below, the first age 1% boost only applies to Fletching (from the couple tests I did)

It applies to everything, it's just only visible in fletching because it's the only thing using the new xp system atm.


Expiration date time zone issue?

In License.ExpirationDate it is explictly setting the given DateTime object to UTC.
However in the validation it is comparing against DateTime.Now (local time).
This cause cause interesting results based upon what timezone you are in. Is this a bug, or is this intentional?

Nevermind, the issue was within my own code that was setting the expiration date.


pred.py question

When I run pred.py and save the plt, I get these kinds of predicted images, which are not clean like in your github

Any idea?

hi  How do you get to the model 224_1_1.h5？ Could you share it  with me？

Check the url Base_weight_path in this code: it points to the files where Keras downloads the H5 model files
https://github.com/fchollet/deep-learning-models/blob/master/mobilenet.py

Here is the page that lists them all:
https://github.com/fchollet/deep-learning-models/releases/

I have rewrite code using PyTorch. It's simpler than before so that I may solve your problem. Please take a look.


Fix broken unit-tests

Fix #4037: Sort containers alphabetically
Fix #4038: Small UI issues in containers/workspaces
Fix #4054: Some tests fail b/c of CPS changes

👍


Memoization behaves inconsistently

Checklist

[✓] Double-checked my configuration.
[ ] Tested using the latest version.
[ ] Used the Emissary executor.

Summary
What happened/what you expected to happen?
We have run an example workflow memoize-simle.yaml using microk8s, that uses the memoization, multiple times subsequently with maxAge: 10s. We expected that the first execution will take 10s or less and all the subsequent executions with the same config file will take 0s or less than the first one, because of the memoization. However, we got very inconsistent results in terms of the execution time for the subsequent runs, it's either 0s or 10s (screenshot attached, the first run is at the very bottom and has the duration of 10s).

The config of a workflow attached below:
What version are you running?
argo: v3.3.4
  BuildDate: 2022-04-29T19:36:38Z
  GitCommit: 02fb874f5deb3fc3e16f033c6f60b10e03504d00
  GitTreeState: clean
  GitTag: v3.3.4
  GoVersion: go1.17.9
  Compiler: gc
  Platform: linux/amd64

Diagnostics
Here is our workflow.
# This example demonstrates the ability to memoize a template.
# Cache can be configured in configmap. For example, if the cache
# ConfigMap looks like the following, then you should expect the node output
# retrieved from the cache to be "changed cache value".
# Note that you also need to update `creationTimestamp` in
# `data.test-5` to be within the `memoize.maxAge` if `maxAge` is specified in the workflow spec.
#
# apiVersion: v1
# data:
#   test-5: '{"nodeID":"memoized-hdckj","outputs":{"parameters":[{"name":"hello","value":"changed cache value","valueFrom":{"path":"/tmp/hello_world.txt"}}],"exitCode":"0"},"creationTimestamp":"2021-10-12T15:14:04Z","lastHitTimestamp":"2021-10-12T15:14:04Z"}'
# kind: ConfigMap
# metadata:
#   creationTimestamp: "2021-10-12T15:14:04Z"
#   name: my-config
#---
apiVersion: argoproj.io/v1alpha1
kind: Workflow
metadata:
  generateName: memoized-simple-workflow-
spec:
  entrypoint: whalesay
  arguments:
    parameters:
    - name: message
      value: test-5
  templates:
  - name: whalesay
    inputs:
      parameters:
      - name: message
    memoize:
      key: "{{inputs.parameters.message}}"
      maxAge: "10s"
      cache:
        configMap:
          name: my-config
    container:
      image: docker/whalesay:latest
      command: [sh, -c]
      args: ["cowsay {{inputs.parameters.message}} > /tmp/hello_world.txt"]
    outputs:
      parameters:
      - name: hello
        valueFrom:
          path: /tmp/hello_world.txt

Logs from the workflow controller:
All the logs are for the the most recent run (at the very top of the screenshot above).
kubectl logs -n argo deploy/workflow-controller | grep ${workflow}
time="2022-05-15T17:58:18.620Z" level=info msg="Processing workflow" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:18.626Z" level=info msg="Updated phase  -> Running" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:18.637Z" level=info msg="Pod node memoized-simple-workflow-5677w initialized Pending" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:18.646Z" level=info msg="Created pod: memoized-simple-workflow-5677w (memoized-simple-workflow-5677w)" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:18.646Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:18.646Z" level=info msg=reconcileAgentPod namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:18.653Z" level=info msg="Workflow update successful" namespace=argo phase=Running resourceVersion=2206413 workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.621Z" level=info msg="Processing workflow" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.622Z" level=info msg="Task-result reconciliation" namespace=argo numObjs=1 workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.622Z" level=info msg="task-result changed" namespace=argo nodeID=memoized-simple-workflow-5677w workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.622Z" level=info msg="node changed" namespace=argo new.message= new.phase=Succeeded new.progress=0/1 nodeID=memoized-simple-workflow-5677w old.message= old.phase=Pending old.progress=0/1 workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.622Z" level=info msg="Saving ConfigMap cache entry" key=demo-key-foo name=my-config namespace=argo nodeId=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.657Z" level=info msg="TaskSet Reconciliation" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.657Z" level=info msg=reconcileAgentPod namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.657Z" level=info msg="Updated phase Running -> Succeeded" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.657Z" level=info msg="Marking workflow completed" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.657Z" level=info msg="Marking workflow as pending archiving" namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.657Z" level=info msg="Checking daemoned children of " namespace=argo workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.663Z" level=info msg="cleaning up pod" action=deletePod key=argo/memoized-simple-workflow-5677w-1340600742-agent/deletePod
time="2022-05-15T17:58:28.671Z" level=info msg="Workflow update successful" namespace=argo phase=Succeeded resourceVersion=2206473 workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.684Z" level=info msg="archiving workflow" namespace=argo uid=b17ca72a-065e-4cf2-b288-78bd3ab75079 workflow=memoized-simple-workflow-5677w
time="2022-05-15T17:58:28.689Z" level=info msg="cleaning up pod" action=labelPodCompleted key=argo/memoized-simple-workflow-5677w/labelPodCompleted

kubectl get pod -o yaml -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded
apiVersion: v1
items: []
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

kubectl logs -c wait -l workflows.argoproj.io/workflow=${workflow},workflow.argoproj.io/phase!=Succeeded
No resources found in default namespace.

Message from the maintainers:
Impacted by this bug? Give it a 👍. We prioritise the issues with the most 👍.

The original cache might have been outdated as you set maxAge to 10s. Try increasing it.


Change the way Jobs are named and reported on just slightly.

When running Strippy in a new Powershell shell errors about Job Id's appear and makes it look broken:
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.
ERROR: ParentActivityId cannot be the same as the ActivityId.

This should be fixed for a more confident/secure EUE.

I should mention that this was fixed in one of the previous commits.
Commit was a7398e6


Are .jshintrc files above the project loaded?

If my .jshintrc file is in my user directory, will the interactive linter load it from there, or must it be in the project folder?

@bobrocke sorry I haven't responded to your other issues/enhancement requests.  Been swamped.  But the answer this is no, interactive linter stops looking right the project directory.  The proper use would be to open the directory with the .jshintrc, which is where you probably have other config files.

Would you consider adding the ability to search up though the folder hierarchy until a .jshintrc is found and use that? It would make it much easier, as that is the default for many other tools, and allows an individual to have a common standard, but then to modify that standard on projects that require differences.

@bobrocke This would be going against the "project" based approach in brackets.  But while I am not really opposed to it, I would want to test it for a bit before committing to adding this functionality.  Would you be interested in submitting a PR?

I have looked at your code. Is this something another person could work through?

@bobrocke if you would like to play with the idea, this is the line you need to change.  Remove filePath.indexOf(currentProject.fullPath) === -1 from the conditional.
Let me know if that works for you. Perhaps I will try it as well...


[Proposal] Extend Multi app run for k8s in dev/test environment

Describe the proposal
This is a proposal to extend multi app run dapr run -f to include k8s deployments in the dev/test environments.
Goal:
Run the given prebuilt user container with the right annotations and configurations where the initial values are picked from the multi-app run template which can also be used for self-hosted mode.
Release Note

RELEASE NOTE:

Multi-app run for DAPR Kubernetes mode
Introduction
Currently for the self-hosted mode in Dapr, we have a command dapr init to initialize Dapr with Redis and Zipkin, we also have a way to run multiple apps with a single command dapr run -f.
With these two options in place, it is easy for the developers to quickly iterate on their apps in the self-hosted mode. When they want to transition to using Kubernetes, they have to do a lot of manual work to get all prerequisites setup.
For example, they would have to create Redis and Zipkin deployments, create a Dapr component for Redis and Zipkin, and create a deployment for each of their apps with right annotations. This is a lot of work and it is error prone. This design is to enhance the dapr run command to support running multiple apps in Kubernetes for a dev/test scenario alone.
Goals

Enhance the dapr init -k command to support creating Redis and Zipkin deployments in Kubernetes.
Enhance the dapr run -f command to support running multiple apps in Kubernetes for a dev/test scenario alone.
Enhance the dapr stop -f command to delete the applications run using dapr run -f command.
Enhance the dapr uninstall -k command to delete the Redis and Zipkin deployments created using dapr init -k enhanced command.

Non-Goals
This design is only for dev/test environment and not for production.
Design
Enhance dapr init -k command
For installing the Redis and Zipkin containers in self-hosted mode, dapr init automatically downloads the relevant Redis and Zipkin containers and if necessary, initializes them in a docker network if one is provided.
For Kubernetes mode though, when dapr init -k is run, it will install Dapr in the cluster in the default namespace of dapr-system or the user provided namespace with the -n flag.
With an additional --devel, dapr init -k --devel, install Redis and Zipkin. Since this command is recommended to run only in development/test setups, we will install Redis and Zipkin to kubernetes default namespace. If -n flag is also added in the command, then the Dapr control plane will be installed to user specified namespace, the Redis and Zipkin deployments will still be in the default namespace.
Optionally an additional switch  --data-plane-namespace flag can be provided to let the user define the namespace to install Redis and Zipkin in.
On dapr init -k --devel, we need to create Dapr components where the pubsub and statestore components refer to the Redis and Zipkin deployments in the correct namespace. The configuration CRD should also be created in the same namespace as well.
The steps taken on dapr init -k --devel

Create Redis and Zipkin when run with --devel flag in the default namespace.
(Optional) Provide a --data-plane-namespace flag to allow users to customize the namespace for Redis and Zipkin deployments and their component creations also.
Create the Redis and Zipkin components and the configuration CRD to allow tracing to work with the installed Zipkin.
(Optional) Create other Dapr components such that all of the dapr/quickstarts work out of the box in Kubernetes mode.

Enhance dapr run -f command
Add a -k flag to enhance the dapr run -f command to translate the multi-app run template that is taken as input into a Kubernetes deployment YAML with proper annotations to enable Dapr.
Introduce a containerImage field for each app such that the container image to be used can be specified in the multi-app run template. If this field is not specified, dapr run -f -k will error out.
Some fields from the multi-app run template will be ignored for the Kubernetes run as the paths defined will be for self-hosted mode and cannot be directly used in Kubernetes.

resourcesPaths
configFilePath
runtimePath
command

Introduce a createService field, which will be used for defining a basic Service(either ClusterIP or LoadBalancer) in Kubernetes with which targets the --app-port defined in the multi-app run template. This will allow the app to be accessed from outside the cluster. If this field is not specified, the app will not be accessible from outside the cluster.
For dapr run -f -k command, the following steps will be performed:

Create a Kubernetes Deployment for each app in the multi-app run template using the containerImage field.
If app-port is specified, create a Kubernetes containerPort field for the container.
If createService is specified, create a Kubernetes Service (LoadBalancer/ClusterIP) for the app.
Default annotations as needed for the app, dapr.io/enabled and dapr.io/app-id will be added to the Deployment. All other fields in multi-app run template will be converted to Kubernetes annotations as available.
The deployment will be a single replica deployment.
The environment variables resolved for an app will be set as environment variables in the container.
Generate a file in .dapr/deploy folder within each application folder with the Kubernetes Deployment YAML for the app named as dapr_<app-id>.yaml. Each time dapr run -f -k is run, this file will be overwritten.
Apply the YAMLs present in the <appPath>/.dapr/deploy folder to the Kubernetes cluster.

Note: The assumption here is that the apps will use the default components created for pubsub and statestore and the tracing configuration created during the previous dapr init -k –devel run. Currently there is no way to override the components and configuration for the apps.

(Optional Let users define those components in <appPath>/.dapr/deploy folder, and when dapr run -f -k is run, it will also deploy those components and configurations.

Sample template
version: 1
common: # optional section for variables shared across apps
  env:  # any environment variable shared across apps
    DEBUG: true
apps:
  - appID: webapp # optional
    appDirPath: .dapr/webapp/ # REQUIRED
    appProtocol: http
    appPort: 8080
    appHealthCheckPath: "/healthz"
    createService: true
    containerImage: "docker.io/username/webapp:latest"

Initially the logs will be part of the Kubernetes containers alone. We can explore the option of streaming the logs to a file or console similar to the way we stream the container logs in E2E tests in Dapr.
(Optional) Add a namespace field to the multi-app run command
Add a -n, --namespace flag to the dapr run -f -k . command. This will allow deploying the apps in a namespace other than the default namespace.
Enhance dapr stop -f command
Create a dapr stop -f -k command to delete the Kubernetes Deployment created by dapr run -f -k command.
Enhance dapr uninstall -k command
For the dapr uninstall -k –all command, both the Redis and Zipkin deployments will be deleted. If the --data-plane-namespace flag was used during dapr init -k –devel run, then the Redis and Zipkin deployments will be deleted from that namespace if the flag is provided.
Only for this command run, will the default component and configurations files be deleted.
Scope
MVP Scope:

Changes to the dapr init -k with the --devel flag
Changes to dapr run -f
Changes to dapr stop -f to delete deployed apps
Changes to dapr uninstall -k to delete resources created on --devel install

Not in Scope

Containerization of apps
Having multiple replicas for the apps
Modifying the deployment template by use of metadata fields or such in the multi-app run template

Open Questions

Should dapr status -k show the Redis and Zipkin installations?
Should daprd also be exposed as a service? If so, how do we handle the port mapping?

createService: true
containerImage: "docker.io/username/webapp:latest"

@mukundansundar  Should we also add imagePullPolicy to the template ?

redis statestore component name: daprstatestore
app configuration name: daprzipkinconfig

@paulyuk The issue here is, in self-hosted mode, the names of the components are plain statestore and pubsub .... But in k8s they will be daprstatestore and daprpubsub ....
Here the quickstarts will be affected wherein quickstarts would have to accept an environment variable to resolve the component name ....

redis statestore component name: daprstatestore redis pubsub component name: daprpubsub app configuration name: daprzipkinconfig

based on further discussions .... This is going to change to the following
All components and configurations will be in the default namespace only for the --dev flag
redis statestore component name: statestore
redis pubsub component name: pubsub
app configuration name: appconfig
If any of the components or configurations are already present, print a warning statement during init that it is already present and that it will not be overwritten.

Thank you @mukundansundar .  I believe for now it will help to keep the default redis statestore and pubsub name the same so the same app can run in either standalone mode or kube mode without being changed.  Having errors for naming conflicts in the default namespace I hope will mitigate your concern.  I'd love to get the communities feedback on this too.


Fix the type of MinKernel in some codec bundles.

Fix the type of MinKernel in some codec bundles: IDT92HD71B7X, CA0132, CX20722, CX20724, CX20751_2.

OK, so Swift cannot be accepted by AppleALC. I will close the PR and remove the commits.


BUG If cheats are not properly sorted it will be deleted

Retroarch sometimes reorganize cheat codes and puts higher cheat ID above smaller cheat id.
Example:
cheat140_desc = "Item 1 Amount"
cheat140_code = "7E0A8EC4"
cheat140_enable = false

cheat10_desc = "Item 2 Amount"
cheat10_code = "7E0A90C4"
cheat10_enable = false

Your tool sees that but automatically deletes cheat 140. It shouldnt delete

Thank you for reporting the bug.
If possible, could you please post the list of cheat codes you've used here? This way, I can better understand where the problem lies.
As I mentioned in my other comment, I'll be busy until February 16th.

Thank you for reporting the bug. If possible, could you please post the list of cheat codes you've used here? This way, I can better understand where the problem lies. As I mentioned in my other comment, I'll be busy until February 16th.

Alright.
Easy to reproduce, Any cht.
Just move last cheat anywhere above others.

Thaks. I've tried it and noticed that it deletes all cheats from the first one you moved down. Probably, the way I handle numbers in these cases is incorrect. I will fix it.

Good.
Unfortunately , there is another issue. I am not sure should i make new issue or just post here.
Once cht file is loaded into retroarch , its sorting format changes. They are using completely different number sorting  and your tool cant load the file any more. File also loses all white spaces
Frue Lufia (v6.0)-retroarch_reorganized.zip

Thaks. I've tried it and noticed that it deletes all cheats from the first one you moved down. Probably, the way I handle numbers in these cases is incorrect. I will fix it.

Good. Unfortunately , there is another issue. I am not sure should i make new issue or just post here.
Once cht file is loaded into retroarch , its sorting format changes. They are using completely different number sorting and your tool cant load the file any more. File also loses all white spaces Frue Lufia (v6.0)-retroarch_reorganized.zip Cheat count is also at bottom instead of top
0 100 10 110 11 etc

It's not exactly a bug; the tool expects cheats with the syntax:
cheat0_code = "7E117000"
cheat0_desc = "No random battles on the map"
cheat0_enable = "false"
However, I've noticed that there are many other entries in the file that aren't handled. I can try to modify the loading method to only consider these three values for each cheat and exclude everything else.

Thaks. I've tried it and noticed that it deletes all cheats from the first one you moved down. Probably, the way I handle numbers in these cases is incorrect. I will fix it.

Good. Unfortunately , there is another issue. I am not sure should i make new issue or just post here.
Once cht file is loaded into retroarch , its sorting format changes. They are using completely different number sorting and your tool cant load the file any more. File also loses all white spaces Frue Lufia (v6.0)-retroarch_reorganized.zip Cheat count is also at bottom instead of top
0 100 10 110 11 etc

It's not exactly a bug; the tool expects cheats with the syntax:
cheat0_code = "7E117000" cheat0_desc = "No random battles on the map" cheat0_enable = "false"
However, I've noticed that there are many other entries in the file that aren't handled. I can try to modify the loading method to only consider these three values for each cheat and exclude everything else.
Unfortunately, I created the tool with knowledge only of the .cht syntax as described (used with Visual Boy Advance), so I was completely unaware that there could be other possible .cht files containing more items.
However, I believe that even if this issue is resolved, when you then modify the .cht file with my tool, you would still lose all the other unhandled values. I could make it so that the unhandled values are captured and set aside to then be re-applied in subsequent modifications. However, this approach is quite complicated and there's a risk it might not work well. Nonetheless, I'll give it a try.

Values added by retroarch are not important. Feel free to ditch them.
There are other however , memory codes. I made few my self. I guess i just need to be carefull and not load those cht files in tool.
example:
cheat11_address = "661644"
cheat11_address_bit_position = "255"
cheat11_big_endian = "false"
cheat11_cheat_type = "1"
cheat11_desc = "Infinite_Super_Tools"
cheat11_enable = "true"
cheat11_handler = "1"
cheat11_memory_search_size = "4"
cheat11_repeat_add_to_address = "1"
cheat11_repeat_add_to_value = "0"
cheat11_repeat_count = "1"
cheat11_rumble_port = "16"
cheat11_rumble_primary_duration = "0"
cheat11_rumble_primary_strength = "2"
cheat11_rumble_secondary_duration = "0"
cheat11_rumble_secondary_strength = "0"
cheat11_rumble_type = "1"
cheat11_rumble_value = "0"
cheat11_value = "10"


Logging

Make sure you unwrap response, as it is now in the response key. We made a change in communications.coffee

/cc @brian-mann


question: How to aggregate without group

Is there a way to query the graph like this sql-query would:
select sum(balance) from accounts where user_id = 1

So far i need to create a GroupBy("id") first, which seems a little weird to me.

Hey @masseelch and sorry for the delayed response.
Please see https://github.com/facebook/ent/issues/708#issuecomment-689070774 as a reference example for your question.
If you think a new API needs to be provided by ent (or can be improved), feel free to open a proposal for it.
Also, since you're not new here 😉, I appreciate if you can add your company to the community users page if you're using it in your product. Thanks!

For now my solution is ugly but working and the the data is small enough so I do not run into performance issues.
I am using ent to learn go, mostly in my free time. The moment my company starts using ent I will add it.

Wonderful, thanks.

Hey! I just want to update you that the aggregation API was simplified, and you can read about it here https://twitter.com/entgo_io/status/1584091539479080960 and https://entgo.io/docs/aggregate.
Also, here's a small example:
// Aggregate one field.
sum, err := client.Order.Query().
    Aggregate(
        ent.Sum(order.FieldPrice),
    ).
    Int(ctx)

// Aggregate multiple fields.
var v []struct {
    Sum, Min, Max, Count int
}
err := a8m.QueryOrders().
    Aggregate(
        ent.Sum(order.FieldPrice),
        ent.Min(order.FieldPrice),
        ent.Max(order.FieldPrice),
        ent.Count(),
    ).
    Scan(ctx, &v)


Implement workaround for a known CJK layout bug

Fix #11
It works like below:

Select an input source
If the source is CJK

Switch to English com.apple.keylayout.US
Wait for 0.05
Select previous source (in this case, the original source)

About the limitations you mention in the readme:

is it possible make particular English layout a setting or somehow determine which one has English language among those that user has installed? I'm using a custom English layout that I made with Ukulele to combine normal English with some shortcuts for typing Spanish and pinyin. It wasn't very easy to get rid of the system standard English layout (it's kind of obligatory if your system language is English) and I don't want to have two English layouts again.
What about that shortcut? Isn't it possible to call the command programmatically without relying on a particular shortcut?
Is the whole back-and-forth switching with the 0.05s delay noticeably slower than normal switching? Could the artificial delay be lower?

@laughedelic

For checking English, now I think it could be any non-complex(or non-CJK) input source. I'd rather not adding a setting for it.
For shortcut, I'm not sure if it can be done programmatically. All other implementations did the same way. I will check, but it is likely to be impossible.
The reason why back-and-forth switching is slow is not because of the 0.05s delay, but because Select the previous input source itself is somewhat slow. I will check if shorter delay do the same.

If you have a specific suggestion in implementation level, please let me know.

Thanks for reply. I'll try to make some suggestions on the code.

@laughedelic
I've applied the non-CJK checking code with instance property caching. Also I've confirmed that it works without the thread sleep :)
I'll look into the shortcut thing.

Wow! That's great! 👍

@laughedelic
I added Vietnamese to the checklist. I will add others when there's any issue reported.
Also, a good news, there is actually a way to retrieve the shortcut of Select the previous input source and I wrote a commit to use it.
ref:

https://github.com/tekezo/Karabiner/search?utf8=✓&q=ENV_Select_the_previous_input_source_shortcut
https://github.com/tekezo/Karabiner/blob/master/src/lib/xml_compiler/src/xml_compiler.cpp
https://github.com/tekezo/Karabiner/blob/master/src/util/read-symbolichotkeys/read-symbolichotkeys/main.m

Thank you very much for pushing me to look for them 💯

Awesome! I'm very glad you managed to implement this workaround and overcome all initial limitations! 👍 👍 👍
I'm looking forward to install a new version of Kawa 😊

👍 Can't wait for a new release, it solves my years of pains.

Merged 🎉 🎉 🎉
Thanks everybody: @laughedelic @zcbenz @alldne

Works like a charm! Thanks a lot for this release! 👏
And a big thank to @zcbenz for finding the workaround! :1st_place_medal:

Applescript and UI operation might be a workaround.
Check https://github.com/Yang-Xijie/InputSourceSwitcher.

Applescript and UI operation might be a workaround.
Check https://github.com/Yang-Xijie/InputSourceSwitcher.

Great to see new workaround after 4 years of Kawa! Your Source Switcher works on my machine.


Single result evaluation for functions

Reviewer checklist

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

This should be ready for re-review


Spheres are drawn after disabling and reloading save

When a save is loaded, spheres are drawn again, even when disabled before loading.

This screenshot should demonstrate the issue.

Fixed with v<IP_ADDRESS>
specifically https://github.com/StrikeForceZero/KSP-OrbitPOInts/commit/a6554d2285cbdceba8923817cbcdc5bf3f91cffe


Inserting parameters inside search queries

Hey,
Great software.
I can't figure out how to make a script that inserts search parameters into search qeuries.
For example:
SELECT * FROM table WHERE some_col ilike '%?parameter_id?%'; (this is PSQL, ilike is case insensitive, the percentages are wildcards).
I get an error that the script has no parameters to set.
Is this possible?
It works fine if you remove the percentage and quotations, but that means it's no longer searching correctly for the query.
Thanks

What is your database type?
Can you try ilike ?parameter_id?, and pass %search_term% and see if it works?

It's postgres (PSQL).
Your example gives an error:
{
"error": "invalid URL escape "%se""
}

Nice! That worked.
Thank you.


Deprecate old Secure Cell API

Following changes in #634 and #635, mark almost all Secure Cell API as deprecated. Provide inline replacement instructions where relevant. Suppress deprecation warnings in our own code that tests old API usage and has to rely on public constants which we cannot make private now.
Migration instructions
Constructors
Instead of using new SecureCell(...) and SecureCell.MODE... constants. Use SecureCell.ModeWithKey(...) factory methods now.
The following constructors are deprecated:

new SecureCell(int mode) (no key specified)
new SecureCell(byte[] key) (uses Seal mode)
new SecureCell(byte[] key, int mode)

Use an appropriate replacement instead:

SecureCell.SealWithKey(byte[] key)
SecureCell.TokenProtectWithKey(byte[] key)
SecureCell.ContextImprintWithKey(byte[] key)

Note that these factory methods return instances of interfaces like SecureCell.Seal, not SecureCell. You may need to update your fields and variable types. Encryption API is also different and not compatible, you will need to update method call sites too.
⚠ Insecure ‘password’ API
The following constructors are not secure when used with short passwords:

new SecureCell(String password) (uses Seal mode)
new SecureCell(String password, int mode)

They are deprecated and you are strongly discouraged from using them. (You are safe only if the passwords are long enough, around 50+ characters.)
If you have to use passphrases that need to be remembered by humans, consider using new passphrase API instead (#635):

SecureCell.SealWithPassphrase(String passphrase)

JavaThemis 0.13 supports passphrase API only in Seal mode. Other modes support only symmetric keys at the moment.
If you can store the encryption secret on electronic media, you’d be better off using symmetric key API. See #634 for an overview of updated API.
Note that new passphrase API is not compatible with the deprecated ‘password’ constructors. You will not be able to use new API to decrypt data encrypted by old API and vice versa. If you wish to switch the API, old data has to be decrypted with old API and reencrypted with the new one.
Encryption methods
All protect and unprotect methods of SecureCell class are deprecated. Use appropriate encrypt and decrypt methods of interfaces like SecureCell.Seal instead.
Easier encryption
Encryption API for Seal and Context Imprint mode now returns encrypted data directly. You no longer have to extract it out of SecureCellData object:
// Old:
byte[] encrypted = cell.protect(context, message).getProtectedData();

// NEW:
byte[] encrypted = cell.encrypt(message, context);

Please note that new API accepts message and context in different order (context comes last).
Easier decryption
Decryption with new API no longer requires construction of SecureCellData object:
// Old:
byte[] decrypted = cell.unprotect(context, new SecureCellData(message, null));

// NEW:
byte[] decrypted = cell.decrypt(message, context);

Context is optional and changed ordering
New API accepts message and context in different order: context comes last.
If you do not use associated context, the argument can be omitted entirely.
// Old:
byte[] encrypted = cell.protect(null, message).getProtectedData();

// NEW:
byte[] encrypted = cell.encrypt(message);

⛔ No inline key switching
The methods that accept a key as the first argument do not have direct counterpart in the new API:

protect(byte[] key, byte[] context, byte[] data)
unprotect(byte[] key, byte[] context, SecureCellData protected)

You will have to construct a new Secure Cell object to use a different key.
⛔ No context as string
The methods that accept associated context as a String do not have direct counterpart in the new API:

protect(String context, byte[] data)
unprotect(String context, SecureCellData protected)

If you need compatibility, you can use new API with the context string to UTF-16 with getBytes("UTF-16").
⚠ Insecure ‘password’ API
The methods that accept a ‘password’ string as the first argument are not secure when used with short passwords, similar to related constructors (see above). Consider user new passphrase API or symmetric keys instead.
Do not use the following methods:

protect(String password, String context, byte[] data)
unprotect(String password, String context, SecureCellData protected)

Checklist

[X] Dependencies are merged: #634, #635, this PR is rebased
[X] Change is covered by automated tests
[X] The coding guidelines are followed
[X] Public API has proper documentation
[X] Example projects and code samples are up-to-date (will do separately)
[X] Changelog is updated

This PR is now ready for review.


Metadata refactoring

Today all metadata versions are being generated on cattle side, and propagated to all the hosts in cattle. Following improvements are needed:
PHASE1 - available as a part of Rancher 1.5

[x] Generate basic set of data only on cattle side (list of containers, hosts, services, etc). All versions generation should be done on the rancher-metadata microservice side.
[x] Stream json payload to the microservice instead of generating yml
[x] Cache data on cattle side to minimize number of DB queries

PHASE2

[ ] Split metadata microservice into master-slave configuration. Propagate data from cattle to master only. Versions are generated only on master, and then propagated to slaves.

@alena1108 Any docs/write-ups of how the metadata service is used?
I've forked the repo ands have begun looking at tuning the code to reduce the service impact of https://github.com/rancher/rancher/issues/9957
It's not totally obvious how the metadadata service all hooks together.

Metadata already updates incrementally for 2.0.  Any change that substantially improves this in 1.x is likely to be major impact (i.e. making it update incrementally) and a tough sell to get into stable.
Also the container you note in #9957 is rancher-dns, which is a sidekick of, and reader of, metadata.

@vincent99 Appreciate re-write is a separate issue. Was more thinking around the internal code to the metadata service and any potential improvements there.
Updated the related issue, rancher-dns is just one of the containers hitting high CPU, i've included further info.

With the release of Rancher 2.0, development on v1.6 is only limited to critical bug fixes and security patches.


Add some libraries to the 'third-party libraries' page

I received a note from @athlite about some RethinkDB libraries he's created -- should be added to the list of third-party-libraries.

I just want to submit a few tools I've made with nodejs. I hope you will post them to your website, and that someone will find them useful.
https://github.com/athlite/rethinkdb-cli
https://github.com/athlite/hapi-rethinkdb-crud
https://github.com/athlite/rethinkdb-fixtures

Thanks @mglukhovsky

I'll add rethinkdb-cli to the third party administration tool page (where other CLI/REPLs are) and the other two to the frameworks and libraries page.


Changed to v4.5 for Parallel LINQ. Added ReadAssemblies performance test.

Opened this for discussion. What do you think of changing the target framework to 4.5 and using parallel linq on the enumerations? I think the changes could be minimal.
Made ILRepack.ReadAssemblies use AsParallel on my PC with 16 dlls from sharpdevelop and there's a decrease from 6 seconds to 4 seconds in execution. Will continue with RepackReferences.

Nothing particular against the upgrade, but can't the TPL be used on 3.5 ?
http://www.nuget.org/packages/TaskParallelLibrary

Didn't know about TaskParallelLibrary, thanks. Will add it instead of updating to v4.5.

I feel bad suggesting that, ILRepack can definitely be upgraded to 4.5.
(that being said, if TPL works fine in 3.5, we could start using it today you know where :smile: )

I think it will work okay, since it's developed by Microsoft, so I think it has to be the exact same code they used in 4.5. I'll switch to 4.5 then, then after we're done we can test the same code with 3.5 and TPL and keep it in a different branch if it's the same performance wise.


[v0.5.1] Changed kafka2ftp license to Apache 2.0, remove old library and add example

Please check if the PR fulfills these requirements

[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)

What is the current behavior? (You can also link to an open issue here)

What is the new behavior (if this is a feature change)?

Does this PR introduce a breaking change? (What changes might users need to make in their application due to this PR?)

Is there any issue related to this PR? (Link to an issue, e.g. #99999)

Other information:
#1879

I will create a PR for dev when it is approved

I will closed that and reopen only to development


Links aren’t working anymore

I’ve tired several links and none of them seem to be embedded anymore when adding dd in the links
![803DA3FE-816C-49C0-9924-7083D92BF790](https://user-images.githubusercontent.com/36827792/208496914-7ad0d90b-e1d7-4715-8be9-4eb95dca9d16Screen recording of it .jpeg)

I think it stopped working again 😭 I’m not too sure, I’ll post a screen recording Here’s the screen recording

Hi, I've already rolled out a new fix. Could you please try a different link?

It seems to working again, even with the same links I’ve tried before. Thank you! I’ll let you know if face an issues in the future


Implementation of binary and binary inverse threshold

Description
Two variant of Binary threshold Implemented

Simple Binary Threshold
If the pixel value is more than the threshold then the pixel value is set to maximum or else to 0
Inverse Binary Threshold
If the pixel value is more than the threshold then the pixel value is set to 0 or else to maximum

References

Closes #2

Tasklist

[x] Add test case(s)
[x] Ensure all CI builds pass
[ ] Review and approve

@miralshah365 Are you considering to extend the binary thresholding routines to allow the operating modes we briefly discussed (i.e. max (current), truncate, zero) ?

Yes, I have already included an extra parameter low which I will rename to set_low. This is a bool if its set to true then all the values lower than the threshold are set to the lowest value(i.e: 0) or else left untouched.

@miralshah365 Are you considering to extend the binary thresholding routines to allow the operating modes we briefly discussed (i.e. max (current), truncate, zero) ?

Yes, I have already included an extra parameter low which I will rename to set_low.
This is a bool if its set to true then all the values lower than the threshold are set to the lowest
< value(i.e: 0) or else left untouched.

I'm not convinced to this approach.
I'm wondering if there is a better way to capture such variety with better interface.
One option I mentioned here, on Gitter

I will collect some more thoughts and post them today, likely to boost-gil ML.
(BTW, I do think Gitter is not great to discuss details of design. It's hard to search archive, it's volatile. I'd rather prefer boost-gil ML.)

@miralshah365 See my post [gsoc] Discuss thresholding API design on boost-gil.

@miralshah365 Regarding the CI builds, looks like your threshold branch is out of date. Please, update it from the latest boostorg/develop and push the update.

@miralshah365
I need to solve the CI issues for you.  Once this PR is merged, I will try to fix it in order to get any new feature branch you are going to created based on updated develop branch in  BoostGSoC19/gil-miral built on Travis and AppVeyor.
Please, remember to push your feature branches to BoostGSoC19/gil-miral and not your personal fork. This way I will be able to help fix any CI problems directly in your feature branches.

Meanwhile, I have verified this PR builds and tests pass locally using VS2017 and GCC 8.
Please, feel free to hit the "Squash and merge" button whenever you like :)

@miralshah365 This is all ready to be merged now. Well done!


Add support for clipPath with url

Adding support for clipPath.
Only added a support for url
Here are the docs for it https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path

🙏  @cullophid


Remove ScopeAudienceMapper

ScopeAudienceMapper is used for Jwt implementations but always requires it.
It annoys for configuration so want to remove it and capsule it in Store implementations.

Introspection uses audience also


[NVIDIA] Relax the requirement for providing both query_seq_lengths and key_value_seq_lengths

This PR addresses an issue where the original nn.dot_product_attention required both query_seq_lengths and key_value_seq_lengths. With this update, users can now provide only one of these lengths, thereby relaxing the previous requirement.
This is motivated by this issue.
cc. @superbobry

Also, @sbodenstein for review.

LGTM


Any plan upgrade to support starling2.0

FairyGUI is really awesome UI framework with cool editor, it was created base on starling1.7
Starling2.0 had been released , could u list your further plan ?

FairyGUI supports Starling2.0 now.


[Feature] Add check for MF plugin name

Clear and concise description of the problem
Usually, we will set the provider name as @scope/name,  format with scoped package names ( like @company/project-name ):
  config.plugin('ModuleFederationPlugin').use(ModuleFederationPlugin, [
      {
        // 🟡 ↓ this name
        name: 'react-app',
        filename: 'remoteEntry.js',
        exposes: {
          './Button': './src/Button',
        },
        shared: {
          react: {
            singleton: true,
          },
          'react-dom': {
            singleton: true,
          },
        },
      },
    ])

but only get the following error:
// in rsbuild

<e> [webpack-dev-middleware] [Error:   × Library name base (federation-provider) must be a valid identifier when using a var declaring library type. Either use a valid identifier (e. g. federation_provider) or use a different library
<e>   │ type (e. g. `type: 'global'`, which assign a property on the global scope instead of declaring a variable). Common configuration options that specific library names are 'output.library[.name]',
<e>   │ 'entry.xyz.library[.name]', 'ModuleFederationPlugin.name' and 'ModuleFederationPlugin.library[.name]'.
<e> ] {
<e>   code: 'GenericFailure'
<e> }

// in webpack

<e> [webpack-dev-middleware] HookWebpackError: [ Module Federation Manifest Plugin ]: remoteEntry chunk should not have multiple files!, current files:
<e>     at makeWebpackError (/Users/sakina/Documents/code/test/xn/mf-remote/node_modules/.pnpm/webpack@5.91.0_@swc+core@1.4.17_esbuild@0.20.2/node_modules/webpack/lib/HookWebpackError.js:48:9)
<e>     at /Users/sakina/Documents/code/test/xn/mf-remote/node_modules/.pnpm/webpack@5.91.0_@swc+core@1.4.17_esbuild@0.20.2/node_modules/webpack/lib/Compilation.js:3175:12
<e>     at eval (eval at create (/Users/sakina/Documents/code/test/xn/mf-remote/node_modules/.pnpm/tapable@2.2.1/node_modules/tapable/lib/HookCodeFactory.js:33:10), <anonymous>:25:1)
<e>     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

// ...

I tried many times, know this is not valid, currently only names with underscores ( _ ) can be used, names like some-name / @scope/name / @scope_name are not allowed.
Is this the expected behavior ?
I think should add some name validation and help messages.
Suggested solution
No response
Alternative
No response
Additional context
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that request the same feature to avoid creating a duplicate.

Just use a different type like MFConfig.library.type = "window"

@fz6m  As zack said, you can solve your problem in the following ways
new ModuleFederationPlugin({
					name: "@com/aaa-remote2",
+					library: {
+						type: 'window',
+						name: 'remote2',
+					},
					exposes: {
						"./button": "./src/button.tsx",
						"./export-app": "./src/export-App.tsx",
					},
					shared: ["react", "react-dom"],
				}),

You can wrap a layer around the module federation plugin according to your requirements, You can also consider using a function to convert the original name to a name that webpack can set to global, because this name needs to be stored in the global variable

We actually do something similar inside ByteDance, and here are some basic ways to do some name conversions
https://github.com/module-federation/core/blob/3af2723fe2983b49480a276c6f3b9b8e5cebdac8/packages/sdk/__tests__/encodeName.spec.ts

Thanks, I will try to set other library type or encode the name.