Unable to Extract Items via Disk Manipulator with empty disk

Issue description:
Unable to Extract Items via Disk Manipulator with empty disk
What happens:
The disk goes directly to Out
What you expected to happen:
Items to start filling the disk
Steps to reproduce:

Take an inventory system with items in it
Place an empty disk in the Disk Manipulator configured to Extract Items
Disk will go directly to Out with no items transfered

...
Version (make sure you are on the latest version before reporting):

Minecraft: 1.12.2
Forge: 1.12.2 - <IP_ADDRESS>11
Refined Storage: refinedstorage-1.5.32

Does this issue occur on a server? [yes/no]
Yes, and SP
Also, this does not happen with the previous version. I did test and confirm that 1.5.31 works as expected but when upgraded to 1.5.32 this issue happens
If a (crash)log is relevant for this issue, link it here:
[pastebin/gist/etc link here]

@ineternet Do you want to check this out?

Forge <IP_ADDRESS>24 MC 1.12.2 RS 1.5.32 Single Player
Again I derped with the storage block by re-placing the disk drive and then forgot to reset the priority from 0 to 1. Now after the next cleaning with disk manipulator everything (5000+ items) has gone to a prio 0 spare block.
I even set the IO mode to extract from network and set the block to extract only and the prio to 40. But the empty 64k disk goes immediatly to the out slot.
A while ago you said that the disk manipulator was planned to be compatible with the storage blocks. Thats 2 months now. Maybe that would not be necessary if the extract from network would work.
Grretings, Konitor

This has been fixed.


Layer control

First implementaiton of layers control.
Add example notebook for basemaps and layer controls.

The layer control splits the list of layers between tile-based layers, which are mutually exclusive, and the other types of layers, which can be toggled independently.

Besides, the basemap_to_tiles function produces a TileLayer from any of the registered basemaps.

@DavideDeMarchi this is a first implementation of the layer control

tile layers, mutually exclusive
other layers, can be toggled independently.

Also, the basemap_to_tiles function facilitates the creation of a layer from one of the registered basemaps.
The next PR will be about making the layer control appear by default, and update upon addition and removal of layers.

Wow, Great!

Comments welcome. I am iterating on this Monday.

Very cool!
On Fri, Dec 1, 2017 at 8:19 AM, Sylvain Corlay<EMAIL_ADDRESS>wrote:

Comments welcome. I am iterating on this Monday.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/ellisonbg/ipyleaflet/pull/88#issuecomment-348521520,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABr0F_7I8JRoG0Ce-iYR5I6ErVpUq5mks5s8BjlgaJpZM4QyY95
.

--
Brian E. Granger
Associate Professor of Physics and Data Science
Cal Poly State University, San Luis Obispo
@ellisonbg on Twitter and GitHub
<EMAIL_ADDRESS>and<EMAIL_ADDRESS>


Modules imported dynamically from an absolute path are not loaded/handled by tsx v4.9.1

Acknowledgements

[X] I read the documentation and searched existing issues to avoid duplicates
[X] I understand this is a place to report a confirmed bug (not seek debugging help)
[X] I understand this is a collaborative open source project, and relies on community contributions
[X] I have read and understood the Contribution guide

Minimal reproduction URL
https://stackblitz.com/edit/tsx-4-9-1-import-from-absolute-path-issue
Version
4.9.1
Node.js version
v20.12.2
Package manager
npm
Operating system
macOS
Problem & expected behavior (under 200 words)

What happened

The newly released version v4.9.1 doesn't handle absolute paths (4.9.0 doesn't have this issue).

What I expected

I expected to be able to run the following with tsx index.mts:
// index.mts

import path from "node:path";
import { fileURLToPath } from "node:url";
import fs from "node:fs";

const __dirname = path.dirname(fileURLToPath(new URL(import.meta.url)));
const moduleRelativePath = "./hello.mts";
const moduleAbsolutePath = path.resolve(__dirname, moduleRelativePath);

fs.writeFileSync(moduleAbsolutePath, `export const message = "Hello, world!";`);

await import(moduleAbsolutePath); // Doesn't work

Error stack trace

node:internal/process/esm_loader:34
      internalBinding('errors').triggerUncaughtException(
                                ^
TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".mts" for <redacted>/hello.mts
    at Object.getFileProtocolModuleFormat [as file:] (node:internal/modules/esm/get_format:160:9)
    at defaultGetFormat (node:internal/modules/esm/get_format:203:36)
    at defaultLoad (node:internal/modules/esm/load:143:22)
    at async nextLoad (node:internal/modules/esm/hooks:866:22)
    at async x (file:///<redacted>/.npm/_npx/dcefadc2074ecd1f/node_modules/tsx/dist/esm/index.mjs?1714902597374:2:1744)
    at async nextLoad (node:internal/modules/esm/hooks:866:22)
    at async Hooks.load (node:internal/modules/esm/hooks:449:20)
    at async handleMessage (node:internal/modules/esm/worker:196:18) {
  code: 'ERR_UNKNOWN_FILE_EXTENSION'
}

Documentation links

It happens because an absolute path is not considered a path in the custom resolver and then the early return at the end of the if block skips the resolution:
https://github.com/privatenumber/tsx/blob/96bc59680c7300ab6f4f740da26fa16e1970c7c0/src/esm/hook/resolve.ts#L130-L150

Screenshots

Contributions

[X] I'm interested in working on this issue
[ ] I'm willing to offer financial support

I just ran into the same issue and confirm... I reverted to 4.7.1 for now and project is back working.

I was just confirming that it's an issues after losing hours of my time


Some screen shots and demo if possible

Hi,
Most of us just want to see the software or try it before installing, so if possible can you make a demo website and post some screens here.
Thank you

Hello! Understandable, will make sure to add more screenshots to the docs.
Not sure how to solve the demo part, I am reluctant to host it myself due to security concerns, and using a VPS would introduce a monthly cost which i am also not a fan of since i do not earn much money from Viseron atm.
Will need to think about how to solve that

Screen shots will be enough for now.
For the demo maybe you find some hosting providers to sponser the project with a VPS or something like that.
Thank you for your efforts and good work.


Support null values for optional fields

Related to #261 & #254
The query is working, the only issue is that the await model.save() call returns the values stored in Redis, i also need to apply this workaround to this method that i am currently trying to find out how.
The string zero "0" is the null value rather than the empty string cause it is a valid int and float, not sure if someone want to store "0" in the database as a string value, highly unlikely.
Test case example:
actual = await (m.Member.find(m.Member.bio % "great").all()) # Notice the None values.

[Member(pk='01GA23KQ9SSGK1TNVZD202C9RM', id=0, first_name='Andrew', last_name='Brookins'<EMAIL_ADDRESS>join_date=datetime.date(2022, 8, 9), height=None, weight=None, age=38, bio='This is member 1 whose greatness makes him the life and soul of any party he goes to.')]

member1 = m.Member(
  id=0,
  first_name="Andrew, the Michael",
  last_name="St. Brookins-on-Pier",
<EMAIL_ADDRESS> # NOTE: This string uses the TAG field separator.
  age=38,
  join_date=today,
  bio="This is a test user on our system.",
)
await member1.save()

# returns zeros rather than Nones
[Member(pk='01GA23KQ9SSGK1TNVZD202C9RM', id=0, first_name='Andrew', last_name='Brookins'<EMAIL_ADDRESS>join_date=datetime.date(2022, 8, 9), height=0, weight=0.0, age=38, bio='This is member 1 whose greatness makes him the life and soul of any party he goes to.')]

I think the only solution is to override self or construct a new object with these values(None in place of "0").

@wiseaidev It doesn't seem to have solved the problem, the tests are failing.

Hey @dvora-h, sorry, i was AFK. Working on it, not finished yet! Marking it as a work in progress!

Wanted to add a comment - seems like you're aware based on the tests only being for the HashModel, but to call it out, issues #254 and #261 work if you swap the HashModel for a JsonModel - not a fix, but something to note and call out.


Broken links: NVIDIA's AI

Please provide us with the following information:

This issue is for a: (mark with an x)
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [x] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)

Broken links
https://github.com/microsoft/Phi-3CookBook/blob/main/md/03.Inference/Jetson_Inference.md

issues resolved.


Lego renew with –tls fails silently

This is a repost of an issue I posted at https://community.bitnami.com/t/lego-renew-with-tls-fails-silently/64519. More info and console output can be found there.
I am using lego 2.1.0. When I stop services and create a new certificate (using --tls flag), all works as expected. However, when I attempt to renew the certificate manually, the command fails silently. Of course, the cron script fails as well. for reference, I'm stopping services and running:
sudo /usr/local/bin/lego --tls<EMAIL_ADDRESS>--domains="example.company.com" --path="/etc/lego" renew

I'm at my wits end with this one. Can't even get any info out of the system on what the problem is. Thanks for your help.
Follow up responses:
$ ls -lart /opt/bitnami/letsencrypt/lego
ls: cannot access '/opt/bitnami/letsencrypt/lego': No such file or directory

$ sudo ls -lart /opt/bitnami/letsencrypt
ls: cannot access '/opt/bitnami/letsencrypt': No such file or directory

The certificates were original installed (and have been reinstalled a few times) using the alternative approach at: https://docs.bitnami.com/azure/how-to/generate-install-lets-encrypt-ssl/ I don't have the auto-config script. I have tried variations like sudo lego --path"..." etc. And doing a run command to create new certs works fine, as does list. It's only renewals that are silently failing.
$ sudo lego -v
lego version 2.1.0 linux/amd64

I updated Lego a couple days ago. The certificates were generated with the --tls flag. I have re-updated anyway. Results of re-updating and running commands below. As you can see, the certs were not renewed and no error message was thrown.
$ cd /tmp
$ curl -s https://api.github.com/repos/xenolf/lego/releases/latest | grep browser_download_url | grep linux_amd64 | cut -d '"' -f 4 | wget -i -
--2019-02-07 14:08:28--  https://github.com/xenolf/lego/releases/download/v2.1.0/lego_v2.1.0_linux_amd64.tar.gz
Resolving github.com (github.com)... <IP_ADDRESS>, <IP_ADDRESS>
Connecting to github.com (github.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 302 Found
Location: https://github-production-release-asset-2e65be.s3.amazonaws.com/37038121/2489ae80-2031-11e9-9881-ada4238d2c4b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190207%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190207T140829Z&X-Amz-Expires=300&X-Amz-Signature=881f6b4b8ec588e819915a414544c3cd7f2a4c451c0f25bb22dc70c7ee2f62fa&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dlego_v2.1.0_linux_amd64.tar.gz&response-content-type=application%2Foctet-stream [following]
--2019-02-07 14:08:29--  https://github-production-release-asset-2e65be.s3.amazonaws.com/37038121/2489ae80-2031-11e9-9881-ada4238d2c4b?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20190207%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20190207T140829Z&X-Amz-Expires=300&X-Amz-Signature=881f6b4b8ec588e819915a414544c3cd7f2a4c451c0f25bb22dc70c7ee2f62fa&X-Amz-SignedHeaders=host&actor_id=0&response-content-disposition=attachment%3B%20filename%3Dlego_v2.1.0_linux_amd64.tar.gz&response-content-type=application%2Foctet-stream
Resolving github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)... <IP_ADDRESS>
Connecting to github-production-release-asset-2e65be.s3.amazonaws.com (github-production-release-asset-2e65be.s3.amazonaws.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 7567526 (7.2M) [application/octet-stream]
Saving to: ‘lego_v2.1.0_linux_amd64.tar.gz’

lego_v2.1.0_linux_amd64.tar.gz                 100%[==================================================================================================>]   7.22M  11.8MB/s    in 0.6s

2019-02-07 14:08:30 (11.8 MB/s) - ‘lego_v2.1.0_linux_amd64.tar.gz’ saved [7567526/7567526]

FINISHED --2019-02-07 14:08:30--
Total wall clock time: 1.6s
Downloaded: 1 files, 7.2M in 0.6s (11.8 MB/s)
$ tar xf lego_v2.1.0_linux_amd64.tar.gz
$ sudo mv lego /usr/local/bin/lego
$ sudo /usr/local/bin/lego --tls<EMAIL_ADDRESS>--domains="example.company.com" --path="/etc/lego" renew
$ sudo ls -lart /etc/lego/certificates
total 28
drwx------ 2 root root 4096 Jan 29 15:42 .lego
-rw------- 1 root root 1679 Feb  5 16:05 example.company.com.key
-rw------- 1 root root  251 Feb  5 16:05 example.company.com.json
-rw------- 1 root root 1648 Feb  5 16:05 example.company.com.issuer.crt
-rw------- 1 root root 3600 Feb  5 16:05 example.company.com.crt
drwx------ 3 root root 4096 Feb  5 16:05 .
drwx------ 5 root root 4096 Feb  7 14:11 ..

$ time sudo /usr/local/bin/lego --tls<EMAIL_ADDRESS>--domains="example.company.com" --path="/etc/lego" renew

real    0m2.393s
user    0m0.091s
sys     0m0.040s

$ sudo ls -l /usr/local/bin/lego*

-rwxr-xr-x 1 bitnami bitnami 24585760 Jan 24 22:34 /usr/local/bin/lego

$ lego -v

lego version 2.1.0 linux/amd64

Full command line transcript below. Running lego run did indeed create new folder. Subsequently running renew against the new certs failed silently, as has been the case. I also gave a try at running the renewal script, which also failed silently.
$ sudo ls -lart /etc/lego/
total 28
drwx------   4 root root 4096 Aug  9  2018 accounts
-rwxr-xr-x   1 root root  235 Jan 29 16:08 renew-certificate.sh.save
drwx------   2 root root 4096 Feb  5 16:04 archives
drwx------   3 root root 4096 Feb  5 16:05 certificates
-rwxr-xr-x   1 root root  468 Feb 20 19:36 renew-certificate.sh
drwx------   5 root root 4096 Feb 20 19:45 .
drwxr-xr-x 105 root root 4096 Feb 21 06:40 ..

$ sudo mv /etc/lego/certificates /etc/lego/certificates.old

$ sudo /opt/bitnami/ctlscript.sh stop apache
Unmonitored apache
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd stopped

$ sudo /usr/local/bin/lego --tls<EMAIL_ADDRESS>--domains="example.company.com" --path="/etc/lego" run
2019/02/22 14:46:25 [INFO] [example.company.com] acme: Obtaining bundled SAN certificate
2019/02/22 14:46:26 [INFO] [example.company.com] AuthURL: https://acme-v02.api.letsencrypt.org/acme/authz/PiErx0w_TwoeES_ufUAx-hx-LqiHBo65oO8CkVZI3lA
2019/02/22 14:46:26 [INFO] [example.company.com] acme: authorization already valid; skipping challenge
2019/02/22 14:46:26 [INFO] [example.company.com] acme: Validations succeeded; requesting certificates
2019/02/22 14:46:28 [INFO] [example.company.com] Server responded with a certificate.

$ sudo ls -lart /etc/lego/
total 32
drwx------   4 root root 4096 Aug  9  2018 accounts
-rwxr-xr-x   1 root root  235 Jan 29 16:08 renew-certificate.sh.save
drwx------   2 root root 4096 Feb  5 16:04 archives
drwx------   3 root root 4096 Feb  5 16:05 certificates.old
-rwxr-xr-x   1 root root  468 Feb 20 19:36 renew-certificate.sh
drwxr-xr-x 105 root root 4096 Feb 21 06:40 ..
drwx------   6 root root 4096 Feb 22 14:46 .
drwx------   2 root root 4096 Feb 22 14:46 certificates

$ sudo /usr/local/bin/lego --tls<EMAIL_ADDRESS>--domains="example.company.com" --path="/etc/lego" renew

$ sudo ls -lart /etc/lego/
total 32
drwx------   4 root root 4096 Aug  9  2018 accounts
-rwxr-xr-x   1 root root  235 Jan 29 16:08 renew-certificate.sh.save
drwx------   2 root root 4096 Feb  5 16:04 archives
drwx------   3 root root 4096 Feb  5 16:05 certificates.old
-rwxr-xr-x   1 root root  468 Feb 20 19:36 renew-certificate.sh
drwxr-xr-x 105 root root 4096 Feb 21 06:40 ..
drwx------   6 root root 4096 Feb 22 14:46 .
drwx------   2 root root 4096 Feb 22 14:46 certificates

$ sudo /etc/lego/renew-certificate.sh
Unmonitored apache
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : apache not running
Syntax OK
/opt/bitnami/apache2/scripts/ctl.sh : httpd started at port 80
Monitored apache

By default lego renew only cert when the 30 days before expiration date of the certificate or lower.
It's the Let's Encrypt recommendation: https://letsencrypt.org/docs/integration-guide/#when-to-renew
If you want to override this behavior, you have to pass a --day
lego<EMAIL_ADDRESS>--domains="example.com" --http renew --days 60

Idez, thank you. This indeed turned out to be the problem. It's a shame that there isn't some sort of feedback provided by lego to indicate that the certs weren't renewed because they are still valid for more than the default number of days.


Fix issue with route ordering for ranking ties

Fix route ordering discrepancies between build.routes and build.assets.routes
It's possible for the current React Router ranking algorithm to end up with ties, and in those cases the first matching route "wins".  In React Router you can manage these tie breakers by the order in which you define your routes.  But in Remix they are (by default) defined by the order of the route files on the file system.
The bug being fixed here was that in our flat routes logic we did some sorting by length to determine parent routes, and this would result in the eventual defined routes being sorted in the same manner (build.routes).  However, our actual manifest generation happens in the order of the esbuild metafile outputs (build.assets.routes).
If these two ended up in different orders we could end up with out of sync route matching in the server-runtime and <RemixServer>.  The specific collision encountered is represented in the integration tests in this PR.
This PR updates the routes and manifest to always respect the original order of the incoming config.routes, which accomplished 2 things:

The routes and manifest are always synced
Users can take manual control over tiebreakers by ignoring file routes and adding them in their preferred order in remix.config.js since the config order is the source of truth.

Repro: https://stackblitz.com/edit/remix-run-remix-5udtin

Broken on 2.11.2 and confirmed fixed by 0.0.0-experimental-432fae462 built from this branch

Huh - this used to only fail the Windows E2E tests and we didn't know why nor did we have a chance to dig too deep into what was going on there, but they pass now so I'm not 100% sure what fixed it - nor are the logs available for those CI runs anymore.  I'm assuming we fixed some sort of other bug in our windows dev setup along the way...

From what I can tell this was only an issue in the esbuild compiler where the flat routes and manifest could end up in different orders causing hydration issues.  With Vite - the manifest is generated from the output of the flat routes + config routes logic so the inconsistency is eliminated.
I think technically it still makes sense to re-sort the flat routes logic alphabetically as we do in this PR but I think that could be interpreted as a breaking change in v2.  RR v7 will be moving towards routes.ts anyway which will give the user's full control so I'm not inclined to merge this fix to v2 for esbuild-only apps.


[Event Hubs] Tests for non existent namespace failing

The below tests that expect ServiceCommunicationError for non existing namespaces have been failing in the past couple of nightly test runs

Error details:

Will come in as part of #8490 or #8570, whichever comes first.


As a new visitor, I should see a home page which leads me to click into the site

Plan to mock up a few different directions, get reactions from users, then choose....
ideas:

simple color block (like github home page), other photos
call-to-action could be to explore opportunites (could leave same words, or try new words)

learning more (maybe this is when you scroll down):

stories: see hacking gov blog post and hope to get some from user research: https://github.com/18F/midas-open-opportunities/issues/29
promotional projects:  we should use data from current Open Opportunities for projects to highligh

First draft of Learn More page had way too many words, and I really like the alternate suggestion of a long page, but there may be some words in there that would be useful.

art for the home page is here:  https://github.com/18F/midas-open-opportunities/pull/77

closed accidentally, will update on staging server so @LisaLNelson can review before we close

accept


Epic: Game Assets

Requirements:

[ ] Tileset for environment
[ ] Enemies
[ ] Player
[ ] UI/Buttons


More genesis-tool operations & refactoring

Restructure genesis-tool in accord with https://github.com/input-output-hk/cardano-node/issues/84
New subcommands:  keygen, to-verification,  redelegate and check-delegation.
Redo exception handling..
Fix some warnings globally.
Small cleanups & indentation.

NOTE: This PR includes file movement and reindentation, so it's split into relatively many commits -- I intend to weld them after review.

bors r+

bors r+

bors r+


.paket/paket.bootstrapper.exe is removed after some seconds of project create

Environment
ionide-fsharp version 2.32.2
vscode 1.15.0 mac
Problem
.paket/paket.bootstrapper.exe is being removed in project creation process
Steps
mkdir hello-fsharp
cd hello-fsharp
code .

Cmd Shift P -> F# New Project

Project Directory => [Empty] Current Directory
Project Name => HelloFsharp
Project Created

After waiting some seconds without doing any action, more project files added

More seconds afterward, .paket/paket.bootstrapper.exe is removed

And then, some more files are created, e.g. build.sh, which execute .paket/paket.bootstrapper.exe

I believe this is reproduction of https://github.com/fsprojects/Paket/issues/2620

Closing here since it's upstream issue and it's tracked in appropriate repository


Vet clinic database: create animals table

Used this template to generate repo ✔
Created a database named vet_clinic ✔
Created a table named animals with the following columns: ✔
id: integer
name: string
date_of_birth: date
escape_attempts: integer
neutered: boolean
weight_kg: decimal
Inserted given data: ✔
Wrote queries for the following quests: ✔

Find all animals whose name ends in "mon":

List the name of all animals born between 2016 and 2019:

List the name of all animals that are neutered and have less than 3 escape attempts:

List the date of birth of all animals named either "Agumon" or "Pikachu":

List name and escape attempts of animals that weigh more than 10.5kg:

Find all animals that are neutered:

Find all animals not named Gabumon:

Find all animals with a weight between 10.4kg and 17.3kg (including the animals with weights that equals precisely 10.4kg or 17.3kg):

Hi @everinurmind,
While you made a great effort in this project, unfortunately, I cannot proceed to review your code.
Invalid Code Review Request
You have submitted a project, that is invalid because you did not follow the Git-flow workflow, thus creating the PR from a descriptive branch like animals_data into the dev branch
Your Code Review Request will be marked as invalid in your Dashboard, so please submit a new one once you are ready 🙏
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something is not 100% clear.
Please, remember to tag me in your question so I can receive the notification.
Please, do not open a new Pull Request for re-reviews. You should use the same Pull Request submitted for the first review, either valid or invalid unless it is requested otherwise.

Invalid Code Review Request does not count into the code reviews limit.


Write access for anchors?

Could we get write access for members of the Directors, PMs, Anchors team?
https://github.com/orgs/pivotal-cf/teams/directors-pms-anchors
We could potentially restrict write access to master to admins or something, but not having to fork would be real nice.

This org has been granted write permissions.


Add ability to find symbols by name

This can be used in lsp projects to find
all symbols in a workspace that match a string.
https://bugs.swift.org/browse/SR-10806

I've created a branch in the sourcekit-lsp project with that side of this change.

I believe I've addressed all of the comments again. Thank you again for the feedback!

@swift-ci Please test

@swift-ci Please test


How to have multiple users participating on the same conversation?

Hi,
I'm building a simple bot in C# that will be used on Slack. The idea is to send a message to the bot with a list of users that should participate of the conversation, something like:
@bot start @user1 @user2 @user3
Then the idea is to have the bot asking each of the users mentioned to answer some questions. So far I was able to get that running only for the user than initiates the conversation.
This should emulate the flow I'm envisioning:
user1: @bot colors @user1 @user2
bot: OK, tell me your favorite colors. @user1 you start:
user1: red
user1: blue
user1: done => this triggers the end of @user1 answers
bot: ok, great. your fav colors are red and blue.
bot: @user2 you go next
user2: green =====> here is where I'm stuck. even if @user2 responds or send a message the bot is not recognizing that message as part of the same conversation.
So the question: Is it possible to add users to a conversation based on the mentions in the first message so the bot can recognize a message of a user different from the one that initiates the conversation?
Thanks in advance!

Interesting.  Currently the bot needs to be mentioned by user2 to be added to conversation.  We should probably make it that the bot mentioning user2 adds them to the conversation as well.  I will add that as a bug.

Thanks for your response @tomlm. When the user2 mentions the bot is added to the conversation, however it's starting from the first dialog even. Is there a way to pass the user2 messages directly to the second dialog started to by the conversation of user1?
My flow, this time with dialogs:
user1: @bot colors @user1 @user2 => main dialog
bot: OK, tell me your favorite colors. @user1 you start: => instantiates second dialog
user1: red => messages received in the second dialog
user1: blue
user1: done => end of second dialog (context.Done...)
bot: ok, great. your fav colors are red and blue. => back to the main dialog
bot: @user2 you go next => instantiates second dialog
If there isn't a way to do that I think that I can handle that in the code and instantiates the second dialog once I receive the message from the user2 and not once user1 ends.

This feature request has been moved to UserVoice: https://feedback.botframework.com/forums/354213-general/suggestions/13621638--request-multiple-users-in-same-conversation

Any updates on this.  I have such requirements where user 2 should talk to user 1 via bot.  Is that possible?

let me brief my scenario:
a. say my bot is talking to customer...
b. at one point, customer needs a real human/agent to discuss. so in this case, I have to invite somehow a real agent/human to join this ongoing session, and connects this agent with customer.  once the agent joined the session, all the conversation (made between my bot and customer) should get copied to agent, and from there the agent continue with the customer.
I envisioned like the real agent also should be interacted with bot and ask question, and the bot should post it to customer, and also the customer reply should go to bot, and my bot should forward the same to agent.
Is it possible now?


Include the side condition when evaluating functions in the side condition

kevm: https://github.com/kframework/evm-semantics/tree/investigate
make clean
make defn

kompile --debug --main-module ETHEREUM-SIMULATION --backend haskell --hook-namespaces KRYPTO --syntax-module ETHEREUM-SIMULATION .build/defn/haskell/driver.k --directory .build/defn/haskell -I .build/defn/haskell

kprove --haskell-backend-command "/home/zy/workspace/kore/.build/kore/bin/kore-repl --repl-script /home/zy/workspace/kore/dist/kast.kscript " ~/workspace/evm-semantics/tests/specs/erc20/ds/balanceOf-spec.k -d ~/workspace/evm-semantics/.build/defn/haskell/ --def-module VERIFICATION

print the configuration at step 0 yields a very complicated predicate like:
  ( #Not ( {
        0 <=Int OWNER andBool OWNER <=Int<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
      #Equals
        true
      } )
    #And
      {
        #lookup ( M , keccak ( #buf ( 32 , OWNER ) +Bytes b"0000000000000000000000000000000000000000000000000000000000000001" ) )
      #Equals
        #lookup ( M , keccak ( intList2ByteArray ( OWNER  1  .IntList ) ) )
      }
  #Implies
    {
      true
    #Equals
      0 <=Int ACCT_ID andBool ACCT_ID <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 andBool ( 0 <=Int CALLER_ID andBool CALLER_ID <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 ) andBool ( 0 <=Int ORIGIN_ID andBool ORIGIN_ID <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 ) andBool ( 0 <=Int CALL_DEPTH andBool CALL_DEPTH <Int 1024 ) andBool ( 0 <=Int OWNER andBool OWNER <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 ) andBool ( 0 <=Int #lookup ( M , keccak ( intList2ByteArray ( OWNER  1  .IntList ) ) ) andBool #lookup ( M , keccak ( intList2ByteArray ( OWNER  1  .IntList ) ) ) <=Int<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935 ) andBool #isIntegerMap ( M )
    } )
#And
  ( {
      0 <=Int OWNER andBool OWNER <=Int<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
    #Equals
      true
    }
  #Implies
    {
      true
    #Equals
      0 <=Int ACCT_ID andBool ACCT_ID <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 andBool ( 0 <=Int CALLER_ID andBool CALLER_ID <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 ) andBool ( 0 <=Int ORIGIN_ID andBool ORIGIN_ID <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 ) andBool ( 0 <=Int CALL_DEPTH andBool CALL_DEPTH <Int 1024 ) andBool ( 0 <=Int OWNER andBool OWNER <=Int<PHONE_NUMBER>330902918203684832716283019655932542975 ) andBool ( 0 <=Int #lookup ( M , keccak ( #buf ( 32 , OWNER ) +Bytes b"0000000000000000000000000000000000000000000000000000000000000001" ) ) andBool #lookup ( M , keccak ( #buf ( 32 , OWNER ) +Bytes b"0000000000000000000000000000000000000000000000000000000000000001" ) ) <=Int<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935 ) andBool #isIntegerMap ( M )
    } )
#And
  #Ceil ( SetItem ( ACCT_ID:Int )
  _34 )
#And
  #Not ( #Not ( {
      0 <=Int OWNER andBool OWNER <=Int<PHONE_NUMBER>37316195423570985008687907853269984665640564039457584007913129639935
    #Equals
      true
    } )
  #And
    #Not ( {
      #lookup ( M , keccak ( #buf ( 32 , OWNER ) +Bytes b"0000000000000000000000000000000000000000000000000000000000000001" ) )
    #Equals
      #lookup ( M , keccak ( intList2ByteArray ( OWNER  1  .IntList ) ) )
    } ) )

As @virgil-serbanuta pointed out, it may be caused by evaluating
andBool BAL ==Int #lookup(M, #hashedLocation("Solidity", 1, OWNER))

in the top level predicate of the spec. When evaluating #hashedLocation, it needs to apply the rule
    syntax ByteArray ::= intList2ByteArray( IntList ) [function, functional]
 // ------------------------------------------------------------------------
    rule intList2ByteArray(.IntList) => .ByteArray
    rule intList2ByteArray(V VS)     => #buf(32, V) ++ intList2ByteArray(VS)
      requires #rangeUInt(256, V)

And applying the rule requires using the following condition in the top level predicate:
andBool #rangeAddress(OWNER)

However, when evaluating the functions in top level predicate, we don't pass in side conditions.

@virgil-serbanuta Do you think this can be solved by iterating the simplifier over the top-level predicate?

I think we need https://github.com/kframework/kore/blob/master/design-decisions/2020-01-02-Side-conditions-for-predicates.md , either by itself, or with reevaluation.

Actually, I'm not fully sure, that predicate is a bit weird... but, from @yzhang90's comment, we probably need that design decision.

In a meeting today, we (myself, @traiansf, @virgil-serbanuta, and @mcalancea) decided on a design to evaluate functions in the top-level condition using conditions at the top-level.
The top-level condition is a conjunction of predicates:
P_top = P₁ ∧ P₂ ∧ ...

The simplifier will collect Pᵢ and simplify each individually, using the other conjoined terms (Pⱼ, j ≠ i) as the SideCondition. When a conjoined term is already simplified (j < i) it will use the simplified form (but see below). The simplifier will iterate this procedure until P_top stabilizes or until it reaches the maximum iteration threshold. The maximum number of iterations will be 4, and we expect that most P_top will be fully-simplified after the first pass. If the maximum iteration threshold is reached, the backend will emit a warning, but continue execution.
An alternative to using the simplified form of Pⱼ to simplify Pᵢ:
It is equally valid to use the un-simplified Pⱼ to simplify Pᵢ. At worst, this is a constant-factor slower because it may take one more iteration to stabilize. In the typical case, there will be no difference between implementations. However, this implementation would be significantly simpler, because there is no need to track separately the predicates that have or have not been simplified: just a traverse of the conjoined predicate. (Using a zipper-like structure to distinguish each Pᵢ from the other Pⱼ.) I think we should do this until we find a compelling performance reason to do otherwise.

It's not trivial to use the unsimplified predicates, because the simplification process may "lose constraints" in the predicate being simplified.
As an example, if we have two predicates that are equivalent, P1 and P2 (e.g. a==b and b==a), and we try to simplify P1 and P2, we would get top because P1 implies P2 and P2 implies P1.
For the given example:
We simplify a==b with b==a as a side condition. b==a implies a==b, so we simplify it to top.
Then we simplify b==a using a==b as a side condition, and we get, again, top.

@ttuegel Is the side condition used when evaluating function terms in configuration? I have an example where it looks not be the case.

Is the side condition used when evaluating function terms in configuration?

Yes, the side condition is used to evaluate function terms in the configuration.

It's not trivial to use the unsimplified predicates, because the simplification process may "lose constraints" in the predicate being simplified.
As an example, if we have two predicates that are equivalent, P1 and P2 (e.g. a==b and b==a), and we try to simplify P1 and P2, we would get top because P1 implies P2 and P2 implies P1.
For the given example:
We simplify a==b with b==a as a side condition. b==a implies a==b, so we simplify it to top.
Then we simplify b==a using a==b as a side condition, and we get, again, top.

In this case, when you simplify the 2nd equality, you should no longer use the first equality a==b, but the simplification result top. Then 2nd equality will no longer be simplified and no information loss would occur.

@denis-bogdanas You're right when referring to the main algorithm, but note that @ttuegel also mentioned an alternative, in which we'd still use a==b instead of top.

@ttuegel Looks like ERC20 verifier depends on this issue. Too many workarounds to avoid it.

@denis-bogdanas Can you provide an example? So far, we haven't seen a case in practice that depends on it.

@ttuegel Turns out the issue is different but is hard to isolate. And is really blocking this time. I'll open it later today. But it would be good to fix present issue to rule out this possibility in case problems appear in future.

@ttuegel I believe this is the missing feature after all.
Here is the MWE equivalent to the issue I'm having in ERC20 verifier: https://github.com/kframework/k/pull/1339
It passes in Java backend.

@denis-bogdanas This looks to me like something that must be sent to Z3. Can you explain, what side condition you think the backend should evaluate internally?

@ttuegel The 2 rules for step will create 3 branches: 2 for each rule + reminder. To eliminate the reminder you have to evaluate the side condition notBool I <Int 1 andBool notBool I ==Int 1 using lemma that is effectively I <Int 2. One term of the side condition in the context of the lemma and the other term to result in false. So I supposed it relates to this bug.
If you believe my report is a separate bug, please open another issue. Note that it is blocking for ERC20 verifier.

To eliminate the reminder you have to evaluate the side condition notBool I <Int 1 andBool notBool I ==Int 1 using lemma that is effectively I <Int 2. One term of the side condition evaluated in the context of the lemma and the other term results in false.

There is no rule in that specification which applies to either of those terms. That side condition must go to Z3. I will open another issue for that.


Improve chat flow to handle sent message responses

Previously, the chat flow only rendered visitor messages from the chat messages socket and ignored responses from the send message endpoint. However, these messages were not rendered during socket reconnection, leading to user confusion.
Changes:

Add functions to handle send message response
Remove redundant sealed classes from the Visitor message
Optimize ChatAdapter for delivered status update

MOB 2603

@DavDo Could you please describe the steps how the issue was reproduced? To be sure I clearly understand the scope of the changes.

With the previous implementation, when the user sends some message when the socket is still reconnecting, the sent messages will not be visible until the socket is not reconnected.
With these changes, the sent message will be also posted from the sendMessage response, so in the case of socket is reconnecting visitor will see their messages in chat.


Support standard .NET Core DI

Summary
Shiny uses its own mechanism of registering components for DI, which makes it difficult to integrate Shiny in other applications. I am trying to create an ASP.NET web API, but it's hard to combine ASP.NET startup mechanism with Shiny's DI.
API Changes
I would suggest to replace the ShinyHost.Init with two separate calls:

ShinyHost.RegisterPlatform(this IServiceCollection services, IPlatform platform) that registers the current platform (calls the AddSingleton and IPlatform.Register with the service collection.
ShinyHost.RegisterContainer(IServiceProvider serviceProvider) that saves the actual DI root-container.

Of course the current ShinyHost.Init can be kept to maintain backward compatibility or as a convenience wrapper for people that prefer the Shiny way of DI.
It is already possible to register the platform by duplicating some code from ShinyHost.Init, but I can't assign the root DI-container, because the container field is a private static that is set via ShinyHost.Init. I do think, I could hack around and create another root DI container (via Startup.CreateServiceProvider), Besides, very hacky, this would expose the incorrect service collection (via ShinyHost.Services).
Intended Use Case
It would be much easier to integratie Shiny into DI systems that create the ServiceCollection object (just like Shiny does). In the ASP.NET Core case, the Startup class can call RegisterPlatform in its ConfigureServices method and when the actual root container is created (typically after a HostBuilder.Build() call), then it's handed over to Shiny.

Shiny doesn't support ASP.NET so I'm not even sure why you are trying to integrate with that.
This will be changing in a future release to support the hostbuilder to integrate properly with MAUI, but that is 6 months out

I integrate with ASP.NET, because I needed it :-) My Xamarin app exposes a web API (localhost only) and provides a web-browser control that is loaded with an Angular app. This app is hosted from embedded resources and it works quite well. We can use the same front-end developers as for our other web apps and I don't need to invest in a (a soon to be deprecated) Xamarin Forms app.
Kestrel is a pain with Xamarin, but I managed to get ASP.NET Core v2.2.0 working with the latest Xamarin version and Shiny. The main problem is that ASP.NET is integrated with later .NET Core frameworks, but not available for Xamarin and there are no NuGet packages anymore. I hope that -with .NET Core 6- it will converge to a single eco-system and we can also host an ASP.NET server from a Xamarin app.
The Kestrel/Xamarin issue has nothing to do with Shiny, but is just a sample use-case. I can imagine more use-cases that use the hostbuilder mechanism. I now use a kind of interop-layer to deal with ASP.NET DI and Shiny DI. It works, but it would be more elegant to use a single DI mechanism (that's why I created this PR).
It's great to hear that that hostbuilder support is on the roadmap, but I hope Shiny won't be tied to MAUI.  It would be great to use Shiny with plain Xamarin (although convenience methods to easily integrate with MAUI are very useful). A more loosely connection to DI registration would also allow Shiny to be used in different scenarios. But I don't know enough about Shiny's internals to know if this is possible at all.
Just my 2 cents...


methyladenosine dioxygenase activity

From Sylvain Poux:
I just submitted 2 new GO terms for mRNA N1- and N6-demethylase activities (GO:1990930 and GO:1990931) and I would request a modification of definition for. GO:0043734. This remove RNA demethylase activity from its definition. The reason is that it is preferable to not mix DNA and RNA activities within the same term, since both activities have completely different biological consequences
GO:0043734; F:DNA-N1-methyladenosine dioxygenase activity
Catalysis of the oxidative demethylation of N1-methyladenosine and N3-methylcytosine in DNA, with concomitant decarboxylation of 2-oxoglutarate and releases oxidized methyl group on N1-methyladenosine and N3-methylcytosine as formaldehyde.
cc @dosumis, @ukemi

Definition restricted as suggested above.


Add better support for LUA scripts

Is your feature request related to a problem? Please describe.
I am trying to mock the redi backend for asgi-ratelimit and I am encountering the following error:
Traceback (most recent call last):
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\commands\core.py", line 5172, in __call__
    return await client.evalsha(self.sha, len(keys), *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\client.py", line 610, in execute_command
    return await conn.retry.call_with_retry(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\retry.py", line 59, in call_with_retry
    return await do()
           ^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\client.py", line 584, in _send_command_parse_response
    return await self.parse_response(conn, command_name, **options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\client.py", line 631, in parse_response
    response = await connection.read_response()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\fakeredis\aioredis.py", line 171, in read_response
    raise response
redis.exceptions.NoScriptError: No matching script. Please use EVAL.

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\starlette\middleware\errors.py", line 164, in __call__
    await self.app(scope, receive, _send)
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\ratelimit\core.py", line 94, in __call__
    retry_after = await self.backend.retry_after(path, user, rule)
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\ratelimit\backends\redis.py", line 51, in retry_after
    await self.lua_script(keys=list(ruleset.keys()), args=[json.dumps(ruleset)])
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\commands\core.py", line 5178, in __call__
    return await client.evalsha(self.sha, len(keys), *args)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\client.py", line 610, in execute_command
    return await conn.retry.call_with_retry(
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\retry.py", line 59, in call_with_retry
    return await do()
           ^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\client.py", line 584, in _send_command_parse_response
    return await self.parse_response(conn, command_name, **options)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\redis\asyncio\client.py", line 631, in parse_response
    response = await connection.read_response()
               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\jcmencia\PycharmProjects\NGCSQALIBS\py_api\venv\Lib\site-packages\fakeredis\aioredis.py", line 171, in read_response
    raise response
redis.exceptions.ResponseError: Error running script (call to f_283a893bdb53a688600eff30001e6fb4e4ebd4f5): @user_script:?: [string "<python>"]:2: attempt to index a nil value (global 'cjson')
stack traceback:
	[string "<python>"]:2: in main chunk

Describe the solution you'd like
Add support for cjson? I don't know if this is only the problem.
I don't know exactly if this would be for lupa or for fakeredis, if you can give me some guidance I would appreciate it.
Related issues:

https://github.com/jamesls/fakeredis/issues/25
https://github.com/jamesls/fakeredis/issues/183

Additional context
I have tried this code:
from fakeredis.aioredis import FakeRedis
from fastapi import FastAPI
from ratelimit import RateLimitMiddleware, Rule
from ratelimit.backends.redis import RedisBackend
from ratelimit.types import Scope

app = FastAPI(debug=True)

async def authenticate(scope: Scope) -> tuple[str, str]:
    return str(scope["client"]), "default"

app.add_middleware(
    RateLimitMiddleware,
    authenticate=authenticate,
    backend=RedisBackend(
        FakeRedis.from_url("redis://redis")
    ),
    config={
        "": [Rule(minute=1)]
    }
)

@app.get("/")
async def test():
    return "A"

Upvote & Fund

We're using Polar.sh so you can upvote and help fund this issue.
We receive the funding once the issue is completed & confirmed by you.
Thank you in advance for helping prioritize & fund our backlog.

Did you install fakeredis with lua support?
https://fakeredis.readthedocs.io/en/latest/#installation

Did you install fakeredis with lua support?
https://fakeredis.readthedocs.io/en/latest/#installation

Yes

I checked, to load cjson, it should be compiled for the machine where fakeredis is running.
I might add an environment variable LUA_MODULES stating which modules should be loaded.

So from what you say, to avoid this error I have to compile it on the machine that is going to run it with the environment variable LUA_MODULES=cjson right?

Well, I would need to implement this, but yeah, eventually, that would be the way it works.

I use poetry to manage dependencies, so when there is a whl uploaded to pypi it will download that one. I understand that in that case I will not use anything from LUA_MODULES because I will download it already compiled.

does cjson have a pypi package?

It seems that there are packages like ujson that give this functionality (I have not tested them).

We need something where this would run:
import lupa

lupa.LuaRuntime().execute("require('cjson')")

I don't think ujson meets this requirement

Trying with this code I get this error:
lupa.lua54.LuaError: [string "<python>"]:1: module 'cjson' not found:
	no field package.preload['cjson']
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\lua\cjson.lua'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\lua\cjson\init.lua'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\cjson.lua'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\cjson\init.lua'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\..\share\lua\5.4\cjson.lua'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\..\share\lua\5.4\cjson\init.lua'
	no file '.\cjson.lua'
	no file '.\cjson\init.lua'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\cjson.dll'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\..\lib\lua\5.4\cjson.dll'
	no file 'C:\Users\jcmencia\AppData\Local\Programs\Python\Python312\loadall.dll'
	no file '.\cjson.dll'
stack traceback:
	[string "<python>"]:1: in main chunk
	[C]: in function 'require'

This is probably something that should be implemented in the lupa package.

lupa supports importing modules, it simply does not have cjson ootb.
I managed to install cjson:

First, install luarocks (I am using mac so brew install luarocks, but there is an installation for windows).
Then, install cjson using luarocks install lua-cjson
Then, copy cjson.so (or in your case I assume cjson.dll) to the project homedir.
Then, the code I wrote should work.

I have been researching and there is a "cleaner" way to do this.
import lupa

lupa.LuaRuntime().require("cjson")

Does it work without installing cjson first?

yeah, I am not sure why asgi-ratelimit chose to implement a ratelimit using a script that uses cjson - it seems a bit cumbersome.
But regardless, fakeredis now supports having LUA modules

@cunla Hi, I have the same issue, and I don't understand what the solution is - where should I add this code lupa.LuaRuntime().require("cjson")? and where to copy the cjson.so file?

E   lupa.lua54.LuaError: module 'cjson' not found:
E   	no field package.preload['cjson']
E   	no file '/usr/local/share/lua/5.4/cjson.lua'
E   	no file '/usr/local/share/lua/5.4/cjson/init.lua'
E   	no file '/usr/local/lib/lua/5.4/cjson.lua'
E   	no file '/usr/local/lib/lua/5.4/cjson/init.lua'
E   	no file './cjson.lua'
E   	no file './cjson/init.lua'
E   	no file '/usr/local/lib/lua/5.4/cjson.so'
E   	no file '/usr/local/lib/lua/5.4/loadall.so'
E   	no file './cjson.so'
E   stack traceback:
E   	[C]: in function 'require'

Shalom Dvora,
Here is an explanation how to use it in fakeredis.
The gist:
import fakeredis
r = fakeredis.FakeStrictRedis(lua_modules={"my_module.so"})

In terms of where to put cjson.so - You have in the stacktrace where LUA is looking for it.
Note that lupa's LUA runtime is not your system's installed LUA runtime, e.g., if you are using luarocks and you have cjson.so in $LUA_LIBDIR - lupa won't search for it.
I recommend you add it to the project's working directory (./cjson.so) if you are sharing the code with others - that way, you can commit cjson.so in the root dir of the repo and when others pull they won't need to do extra configuration.

your code seems right. How do you run the tests? what is the working directory relative to where is cjson.so?
say the structure is:
./
./cjson.so
./tests
./tests/my_test.py

then if you are executing the test from ./ you should be fine. If you are running the test from ./tests/ then move cjson.so to that directory.

I run from tests directory, with pytest pytest my_test.py::test_fake_redis and my_test.py and cjson.so are both in the tests directory, I think this is how it should be, but I still have the error

... I am pretty sure the working directory you are running from is incorrect.
Try this:
Add to your test: os.listdir() to see whether cjson.so is there.

If it is not, then check which dir you are in in the python context and copy the file there.
If it is, then from a python console, try running (this is the source):

import lupa
with lupa.allow_lua_module_loading()
     from lupa import lua54

lua = lua51.LuaRuntime()
lua.require('cjson')

If this gives the same error (and the file is there), it may be corrupted, or compiled for the wrong LuaRuntime version.

Up to you what you are trying to do. Redis is using 5.1.
You need to use the same version inside the with and outside.


Animation export does not work

Describe the bug
I have an animation working in blender but when I export it to glb/gltf and load it in https://gltf-viewer.donmccurdy.com it does not work with error messages.
To Reproduce
Steps to reproduce the behavior:

Open the attached blend file
File -> Export -> GLB/GLTF
Save GLB file
Load it on https://gltf-viewer.donmccurdy.com and notice that animation don't play and that there are errors on the bottom left

Expected behavior
I would expect that https://gltf-viewer.donmccurdy.com plays animation
Screenshots
Blender animation playing :

Extract of errors on gltf viewer :

.blend file/ .gltf
Blend file : https://www.icloud.com/iclouddrive/040krqYCEBMlAzr6IE_1lu7qA#animated
GLB file : https://www.icloud.com/iclouddrive/030TurFjWPh0A6-trttonS6tw#animated
Version

OS: MacOS 12.5.1
Blender Version 3.2.2

Hello,
Thnaks for the report.
What you see is "hint", not errors. This is already solved in 3.3 RC
About animation:

Animation are on armature, and are exported. But you used child of constraint for parenting your mesh to bones, so hierarchy is not correct in exported file. You should probably use direct bone parenting instead of ChildOf constraint. (Please use "use current frame" option for now, to workaround this bug #1677 )

We should be able to bake animations using exporting selection only, but currently, only active action is baked on non animated object. I will have a look on that later.

Hi Julien !
Works like a charm thanks !
For further reference I used this video to learn how to parent the bones : https://www.youtube.com/watch?v=o5f18T7Rjmc


Conform WithViewStore to Commands

Following #1112, this makes WithViewStore conform to Commands when appropriate. This should allow to bundle Commands in their own type like Apple does in their Landmarks tutorials, and still have access to WithViewStore. This brings up two additional questions:

Should we review SwiftUI for similar situations, like ToolbarContent for example, and conform WithViewStore for them too?
Should we reimplement Apple SwiftUI tutorial apps using TCA (it's maybe already done somewhere else)?

Thanks @tgrapperon! To answer your questions:

Should we review SwiftUI for similar situations, like ToolbarContent for example, and conform WithViewStore for them too?

We think so. As long as we embrace WithViewStore as a construct it should ideally work wherever folks expect it to work.
The proliferation of overloads is unfortunate but I can't see a way around it given the Content conditional conformance, and some SwiftUI APIs must see the same problem.
Want to update this PR with others that you find? Or would you like me to merge as-is?

Should we reimplement Apple SwiftUI tutorial apps using TCA (it's maybe already done somewhere else)?

That'd be fun! We've discussed it in the past but haven't gotten around to it. The Scrumdinger app in particular would be a good example.

Want to update this PR with others that you find? Or would you like me to merge as-is?

I'll try to update the PR later today or tomorrow. I'll ping you when it's ready.

@tgrapperon Nice work. Initially I was worried about the overloads. But it doesn't seem too bad. TableColumnContent and TableRowContent might be better suited for ForEachStore

Should we reimplement Apple SwiftUI tutorial apps using TCA

Here's a version of Scrumdinger I put together a while a go. Feel free to take anything that's useful.

@iampatbrown, I agree about WithViewStore & Table. We furthermore already have built-in witnesses for TableRowContent and TableColumnContent, so we will very unlikely encounter a situation where we will need our own conforming type.
I was trying to make them work simply because they exist, without assuming any use case.  Assuming WithViewStore conformance is operational, I can imagine using WithViewStore's to conditionally define TableColumns or TableRows. But in both case, we can achieve the same result with an outer WithViewStore exposing only the relevant properties.
Congrats about the Scrumdinger port! I'll look at it out of curiosity. It should probably be either linked or embedded into TCA. Many folks are considering Apple's SwiftUI samples as canon, and it can be very interesting for newcomers (or more experienced users) to compare the differences with TCA side by side. I wonder if there is a way to ease the comparison. I'll think about it!

I wonder if there is a way to ease the comparison.

I think levering DocC Tutorials is probably a good start. Being able to see how a project evolves can be pretty useful. Then the Apple and TCA versions can also be compared in increments rather than as a whole.

@mbrandonw Thanks, I thought autocomplete was using alphabetical ordering.

There are three more potential candidates from Swift Charts. I'll add them in a new PR once they're out of beta.


Add GitHub issues service response message

This PR adds a message payload to override the default of "Success". The
override copy is actually used in the test but not implemented in the
#create_issue method.
@codeclimate/review :mag_right:

Going to close this for PR for now. We can revisit later if we want to make this change to all services.


Enderpearl spam won't disable

Info

Server version: This server is running Paper version git-Paper-137 (MC: 1.14.4)
OldCombatMechanics version: 1.7.3
Server log file:
https://pastebin.com/eYmvNqv5
OldCombatMechanics config file:
https://pastebin.com/899geRaY

Problem Description

I can still spam enderpearls. The disabled cooldown, despite me still wanted it, is still enabled. I have tried both options and I can't seem to get a config that keeps the cooldown enabled.

So just to clarify, you would like the 1.9+ cool down on enderpearls, but you can't seem to disable OldCombatMechanics' enderpearl module?

So just to clarify, you would like the 1.9+ cool down on enderpearls, but you can't seem to disable OldCombatMechanics' enderpearl module?

Correct. I want the cooldown.

@ManOfPaper891
I could not reproduce this on 1.13.1.
On 1.14.4 I had no cooldown even without having OCM installed. So this does not quite look like an issue with this plugin. Can you try it without OCM and see if you have a cooldown?

Indeed I confirm that with a completely newly setup 1.14 server with no plugins, even though I see the enderpearl cooldown animation, there is no effective cooldown. This appears to be a Bukkit bug, as I have just tested this with blank 1.14.4 Paper, Spigot, Bukkit and Vanilla servers and only in Vanilla there is enderpearl cooldown.


No module named '_hawkes_model'

Hi,
When I run the example with the bund data I get the error below. I would be glad if you could help me. Thanks in advance...

ImportError                               Traceback (most recent call last)
~\Anaconda3\lib\site-packages\tick\hawkes\model\build\hawkes_model.py in swig_import_helper()
13         try:
---> 14             return importlib.import_module(mname)
15         except ImportError:
~\Anaconda3\lib\importlib_init_.py in import_module(name, package)
125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
127
~\Anaconda3\lib\importlib_bootstrap.py in _gcd_import(name, package, level)
~\Anaconda3\lib\importlib_bootstrap.py in find_and_load(name, import)
~\Anaconda3\lib\importlib_bootstrap.py in find_and_load_unlocked(name, import)
~\Anaconda3\lib\importlib_bootstrap.py in _load_unlocked(spec)
~\Anaconda3\lib\importlib_bootstrap.py in module_from_spec(spec)
~\Anaconda3\lib\importlib_bootstrap_external.py in create_module(self, spec)
~\Anaconda3\lib\importlib_bootstrap.py in _call_with_frames_removed(f, *args, **kwds)
ImportError: DLL load failed: Belirtilen modül bulunamadı.
During handling of the above exception, another exception occurred:
ModuleNotFoundError                       Traceback (most recent call last)
 in ()
2
3 from tick.dataset import fetch_hawkes_bund_data
----> 4 from tick.hawkes import HawkesConditionalLaw
5 from tick.plot import plot_hawkes_kernel_norms
6
~\Anaconda3\lib\site-packages\tick\hawkes_init_.py in ()
1 # License: BSD 3 clause
2
----> 3 from .model import (
4     ModelHawkesExpKernLogLik, ModelHawkesExpKernLeastSq,
5     ModelHawkesSumExpKernLogLik, ModelHawkesSumExpKernLeastSq,
~\Anaconda3\lib\site-packages\tick\hawkes\model_init_.py in ()
1 # License: BSD 3 clause
2
----> 3 from .model_hawkes_expkern_leastsq import ModelHawkesExpKernLeastSq
4 from .model_hawkes_expkern_loglik import ModelHawkesExpKernLogLik
5 from .model_hawkes_sumexpkern_leastsq import ModelHawkesSumExpKernLeastSq
~\Anaconda3\lib\site-packages\tick\hawkes\model\model_hawkes_expkern_leastsq.py in ()
4
5 from tick.base_model import LOSS_AND_GRAD
----> 6 from tick.hawkes.model.build.hawkes_model import (
7     ModelHawkesExpKernLeastSq as _ModelHawkesExpKernLeastSq
8 )
~\Anaconda3\lib\site-packages\tick\hawkes\model\build\hawkes_model.py in ()
15         except ImportError:
16             return importlib.import_module('_hawkes_model')
---> 17     _hawkes_model = swig_import_helper()
18     del swig_import_helper
19 elif _swig_python_version_info >= (2, 6, 0):
~\Anaconda3\lib\site-packages\tick\hawkes\model\build\hawkes_model.py in swig_import_helper()
14             return importlib.import_module(mname)
15         except ImportError:
---> 16             return importlib.import_module('_hawkes_model')
17     _hawkes_model = swig_import_helper()
18     del swig_import_helper
~\Anaconda3\lib\importlib_init_.py in import_module(name, package)
124                 break
125             level += 1
--> 126     return _bootstrap._gcd_import(name[level:], package, level)
127
128
ModuleNotFoundError: No module named '_hawkes_model'

I think the error might be that you're using a newer numpy than what our last pip release used
AttributeError: module 'numpydoc' has no attribute 'docscrape'

Hi,
Thank you very much for your swift answer. I have very limited knowledge
about python. I think I solved the "docscrape" problem by changing the
base.py in the folder "base" withıut changing the version of numpy. The
error I get now is "No module named _hawkes_model". It seems to be related
with swig version. I am trying to change the version of the swig. However,
I can't install earlier versions of swig using pip or conda. By the way I
changed the version of numpy and it didn't solve the problem. I would
appreciate if I can comment on whether I am in the right direction.
Thanks again...
Best,
Cenktan
♦♣♠♥<EMAIL_ADDRESS>13 Eki 2018 Cmt, 23:29 tarihinde şunu
yazdı:

I think the error might be that you're using a newer numpy than what our
last pip release used
AttributeError: module 'numpydoc' has no attribute 'docscrape'
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/X-DataInitiative/tick/issues/306#issuecomment-429572813,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcM2vHSYlcnxE1Oxji-diSM-VwAEXmD8ks5ukk0WgaJpZM4XazcH
.

could you give me some more information about your system please?
Operating system / version / how you installed it (compiled vs pip)  / etc

My O.S. is windows 10. I use Anaconda 5.1 with python 3.6. Everything I
installed is with pip or conda. I installed tick (4.0) with pip. I was
expected to download swig. I installed it with pip too. The version of swig
is 3.0.12. I don't know whether it makes a difference.   My sincere
appreciation for your time and help...
Best...
♦♣♠♥<EMAIL_ADDRESS>14 Eki 2018 Paz, 18:44 tarihinde şunu
yazdı:

could you give me some more information about your system please?
Operating system / version / how you installed it (compiled vs pip) / etc
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/X-DataInitiative/tick/issues/306#issuecomment-429636917,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AcM2vKZsenlZaEFkQc78T3CTWbkfP6VLks5uk1vegaJpZM4XazcH
.

our official pip release doesn't support windows currently, but you can try this one which should work
https://ci.appveyor.com/api/buildjobs/d5pur34pl7d2vhyw/artifacts/dist%2Ftick-<IP_ADDRESS>-cp36-cp36m-win_amd64.whl
found here https://ci.appveyor.com/project/Dekken/tick-cyjm4/builds/19397111/artifacts


chore(package): update eslint to version 3.9.1

https://greenkeeper.io/

Coverage remained the same at 97.279% when pulling d2107c130200d4c597b2a22b437e92b6b58ebdf4 on greenkeeper-eslint-3.9.1 into 6bfdafe3723002a3c2db82bcb9b82f2d87bb536e on master.


Decouple task manager

This PR decouples shim v2 TaskManger into ShimManager + TaskManager.
ShimManager manages shim instances and implements Start/Delete with cleanup/Get funcs.
This can be exposed as separate containerd service to deal with shims from client (will follow up).
TaskManager works on top of shim manager and manages tasks to keep things compatible.
ref: https://github.com/containerd/containerd/issues/5742

/test pull-containerd-node-e2e

/test pull-containerd-node-e2e

/test pull-containerd-node-e2e

/test pull-containerd-node-e2e

/retest

@kzys addressed comments.


Animation System Enhancement

[ ] Enhanced AnimationClip:  Add Hermite Interpolation, Add Splitting, Optimize API
[ ] Optimize mix and crossFade
[ ] Add Animator Component to realize state machine driven animation


JSON Syntax Highlighting Support In Console

No way to colorize a custom code snippet like JSON in Console. It's difficult to manually do it with Markup

A utility class that can syntax highlight passed JSON and returns a Markup instance
Any easy mechanism. Can be a separate NuGet package with extensions to support many languages, constructs etc...
At times we may need to show JSON in console. Rather showing RAW JSON, SpecreConsole can format it with markups for syntax highlighting

There has been some discussions around this in https://github.com/spectreconsole/spectre.console/discussions/820
Maybe, since the release of https://www.nuget.org/packages/LitJson.Source/0.19.0-alpha0027 someone could give it a try without a hard dependency to an external JSON parser.

To be honest, I don't think it's necessary to take a dependency on a JSON library at all since parsing it into tokens is very straight forward. I could take a stab at this if you want to (I have some time to kill this evening).


How to install the binaries from GitHub

Hi guys,
How do I install this, found a fork with the compiled binaries, but no idea how to get this install on a headless Pi Zero
Thanks

Hi guys,
wget https://github.com/herrernst/librespot/releases/download/v20170717-910974e/librespot-linux-armhf-raspberry_pi.zip

Here is a fork with compiled binaries, running wget will download this for you, then just unzip the file and run.
Hope this can help someone :)


Flex box & Masonry style gallery for F6

It would be great to have Flexbox as well as some type of Isotope or Masonry gallery component.

It would be great to have Flexbox as well as some type of Isotope or Masonry gallery component.

Masonry and Isotope do their job really well, so we aren't looking to implement anything that complex in the base framework. However, we will be including an experimental flexbox grid in Foundation 6.
If you have any specific feedback on features you'd like to see in the current float grid or a new grid, let us know here. :)


When page width is smaller, div height is higher, animations run too early...

I think I know what the issue is, but I don't know a workaround for it...
On my page there are some content boxes with some text in, when you make the browser window smaller, the div width shrinks, and the content makes this div taller. In turn, this pushes the rest of the page down and all animations etc out of sync.
Is there any way of saying if the browser is below a certain width, to adjust the animation calls? Or... is it possible/would it be easier to add a bit of maths to the call regarding the top of the page? Whereby if the browser is below a certain width, it returns the scroll height as 100/200px offset from where it actually is?

Ignore that. I've now realised that using data-bottom etc will offset it automatically.


Convert from ZkUtils to KafkaZkClient

ZkUtils is no longer used by the Kafka broker.

I accidentally pushed the change for support-metrics-client to master: https://github.com/confluentinc/support-metrics-client/commit/b2e73c10d1a3bcb086ba0d2eedd7f8604f65caaa
Please take a look at that too.

@hachikuji Thanks for the review. Addressed feedback. Let me know if this looks good or if you have additional concerns.


wslpath doesn't work for \wsl$\ folders

Please fill out the below information:

Your Windows build number:  (Type ver at a Windows Command Prompt)
Microsoft Windows [Version 10.0.19041.264]

What you're doing and what's happening:  (Copy&paste the full set of specific command-line steps necessary to reproduce the behavior, and their output. Include screen shots if that helps demonstrate the problem.)

isiah@LAPTOP-DC4OKU1J:~$ wslpath \\wsl$\ubuntu\home\isiah\website
wslpath: \wsl$ubuntuhomeisiahwebsite

What's wrong / what should be happening instead:
I would expect that it would get translated to /home/isiah/website

Works with / instead of \. Also remember using single quotes.
$ wslpath '//wsl$/Ubuntu2004/home'
/home

Works with / instead of \. Also remember to use single quotes.
$ wslpath '//wsl$/Ubuntu2004/home'
/home

I'm trying to create a "Open in WSL VS Code" option when I right click a folder.  This is the command I have setup in my registry:
"wsl.exe code `wslpath '%V'"
It works when I do it from a folder not in the wsl file system, like Documents. Not sure if I'll be able to get the slashes to go the other way.

Try with wslpath '\\wsl$\Ubuntu2004\home' | tr '\\' /

Or escape the backslashes. The ones in the OP were eaten by bash before they ever got to wslpath.


Correct the logic to derive OS version

There are a couple of issues with the current logic:

In the current logic, if the oc version provides a valid server version, the checking for SemVer spec was still performed against the user input value.

In the current logic, if the oc version provides a valid server version, also there is a valid user input value, then the user input value was used.  It is against the expected behavior.  The oc version value should have priority over user input.

can you provide in the commit message/PR description details how the current logic is problematic and what this PR changes?

can you provide in the commit message/PR description details how the current logic is problematic and what this PR changes?

Updated description.

Updated description.

Where? I still see "Correct the logic to derive OS version" on the top of this page. Also, now there are 3 commits on this branch, please squash them.

please squash them.

Can't we "Squash and merge" at the end of the PR session?

On Tue, May 18, 2021 at 6:00 PM Predrag Knezevic @.***>
wrote:

Updated description.
Where? I still see "Correct the logic to derive OS version" on the top of
this page.

That's the PR title.
This is the current description:
There are a couple of issues with the current logic:

In the current logic, if the oc version provides a valid server version,
the checking for SemVer spec was still performed against the user input
value.
2.
In the current logic, if the oc version provides a valid server version,
also there is a valid user input value, then the user input value was used.
It is against the expected behavior. The oc version value should have
priority over user input.


Calculate snapshot version properly

Taken from https://github.com/sbt/sbt-osgi/blob/d10f2ed8129f474ec6d4eeffa34a7ab3c0d4f091/build.sbt#L6-L20

@eed3si9n If you have the time do you mind quickly reviewing this so we don't have to manually set the snapshot version again when I publish.

Maybe we should add this code to sbt-dynver itself since all sbt plugins need it.

Maybe we should add this code to sbt-dynver itself since all sbt plugins need it.

I can file an issue for it since I can see arguments back and forth on this

Maybe we should add this code to sbt-dynver itself since all sbt plugins need it.

@eed3si9n Issue created at https://github.com/sbt/sbt-dynver/issues/277


Improve Continuous Integration and fix some trivial Golint suggestions.

(goling) Fixed malformed comments;
(goling) Removed useless / redundant branching from 'if' statements;
(goling) Rewrote code to use ++ unary operators;
(goling) Removed redundant empty variables from 'range' statements;
(go vet) Removed unused variables 'err' (but assigned)
Apply gofmt;
Apply goimports;
Updated .travis.yml to use stable versions of Golang other than -tip;
Added MacOS X to .travis.yml;

This PR is required to fulfil #91. Even before to create a ReSTful API, some Tiedot's components need to be re-factored, cleaned up, and profiled properly (there are data races all over the place, btw). Especially the unit tests, they are lacking.
 It's now a transparent operation for all the future forks/PRs, as you can see here: https://travis-ci.org/Dr-Terrible/tiedot.
As a side note, no code logic has been modified by this PR, so it should be safe to be merged but a review is always welcomed. More PRs are coming.

Thank you sooooo much!

And please feel free to just push to master!


sdspi example error, it worked in Arduino IDE (IDFGH-13333)

Answers checklist.

[X] I have read the documentation ESP-IDF Programming Guide and the issue is not addressed there.
[X] I have updated my IDF branch (master or release) to the latest version and checked that the issue is present there.
[X] I have searched the issue tracker for a similar issue and not found a similar issue.

IDF version.
v5.3
Operating System used.
Linux
How did you build your project?
Command line with idf.py
If you are using Windows, please specify command line type.
None
What is the expected behavior?
The SD card should initialize successfully, allowing for filesystem mounting and operations.
What is the actual behavior?
The SD card fails to initialize, resulting in a timeout error. The system is unable to mount the filesystem.
Steps to reproduce.

Set up an ESP32-S3 with an SD (Adata 32GB) card using SDSPI.
Flash the example code (provided below) to the ESP32-S3.
Observe the serial output for initialization failure.

Build or installation Logs.
Executing action: monitor
Running idf_monitor in directory /home/pepe/sd/sdspi
Executing "/home/pepe/.espressif/python_env/idf5.3_py3.10_env/bin/python /home/pepe/esp/esp-idf/tools/idf_monitor.py -p /dev/ttyACM0 -b 115200 --toolchain-prefix xtensa-esp32s3-elf- --target esp32s3 --revision 0 /home/pepe/sd/sdspi/build/sd_card.elf -m '/home/pepe/.espressif/python_env/idf5.3_py3.10_env/bin/python' '/home/pepe/esp/esp-idf/tools/idf.py' '-p' '/dev/ttyACM0'"...
--- esp-idf-monitor 1.4.0 on /dev/ttyACM0 115200 ---
--- Quit: Ctrl+] | Menu: Ctrl+T | Help: Ctrl+T followed by Ctrl+H ---
�x��x���xx�x�xxx�x�xxx�x���x�x�x��x�xxxxxx�xx��x�xxxx����x�ESP-ROM:esp32s3-20210327
Build:Mar 27 2021
rst:0x1 (POWERON),boot:0x2b (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:1
load:0x3fce2810,len:0x178c
load:0x403c8700,len:0x4
load:0x403c8704,len:0xcb8
load:0x403cb700,len:0x2db0
entry 0x403c8914
I (27) boot: ESP-IDF v5.3-dirty 2nd stage bootloader
I (27) boot: compile time Jul 25 2024 23:18:02
I (27) boot: Multicore bootloader
I (30) boot: chip revision: v0.1
I (34) boot.esp32s3: Boot SPI Speed : 80MHz
I (39) boot.esp32s3: SPI Mode       : DIO
I (44) boot.esp32s3: SPI Flash Size : 2MB
I (48) boot: Enabling RNG early entropy source...
I (54) boot: Partition Table:
I (57) boot: ## Label            Usage          Type ST Offset   Length
I (65) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (72) boot:  1 phy_init         RF data          01 01 0000f000 00001000
I (80) boot:  2 factory          factory app      00 00 00010000 00100000
I (87) boot: End of partition table
I (91) esp_image: segment 0: paddr=00010020 vaddr=3c030020 size=0ff54h ( 65364) map
I (111) esp_image: segment 1: paddr=0001ff7c vaddr=3fc94b00 size=0009ch (   156) load
I (112) esp_image: segment 2: paddr=00020020 vaddr=42000020 size=2dc30h (187440) map
I (151) esp_image: segment 3: paddr=0004dc58 vaddr=3fc94b9c size=02cdch ( 11484) load
I (154) esp_image: segment 4: paddr=0005093c vaddr=40374000 size=10a90h ( 68240) load
I (178) boot: Loaded app from partition at offset 0x10000
I (178) boot: Disabling RNG early entropy source...
I (190) cpu_start: Multicore app
I (199) cpu_start: Pro cpu start user code
I (199) cpu_start: cpu freq: 160000000 Hz
I (200) app_init: Application information:
I (202) app_init: Project name:     sd_card
I (207) app_init: App version:      1
I (212) app_init: Compile time:     Jul 25 2024 23:18:01
I (218) app_init: ELF file SHA256:  737f5f29a...
I (223) app_init: ESP-IDF:          v5.3-dirty
I (228) efuse_init: Min chip rev:     v0.0
I (233) efuse_init: Max chip rev:     v0.99
I (238) efuse_init: Chip rev:         v0.1
I (243) heap_init: Initializing. RAM available for dynamic allocation:
I (250) heap_init: At 3FC981B0 len 00051560 (325 KiB): RAM
I (256) heap_init: At 3FCE9710 len 00005724 (21 KiB): RAM
I (262) heap_init: At 3FCF0000 len 00008000 (32 KiB): DRAM
I (268) heap_init: At 600FE100 len 00001EE8 (7 KiB): RTCRAM
I (275) spi_flash: detected chip: gd
I (279) spi_flash: flash io: dio
W (283) spi_flash: Detected size(16384k) larger than the size in the binary image header(2048k). Using the size in the binary image header.
I (296) sleep: Configure to isolate all GPIO pins in sleep state
I (303) sleep: Enable automatic switching of GPIO sleep configuration
I (310) main_task: Started on CPU0
I (330) main_task: Calling app_main()
I (330) example: Initializing SD card
I (330) example: Using SPI peripheral
I (330) example: Mounting filesystem
I (340) gpio: GPIO[10]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (370) vfs_fat_sdmmc: sdmmc_card_init failed (0x107).
HINT: Please verify if there is an SD card inserted into the SD slot. Then, try rebooting the board.
I (370) gpio: GPIO[10]| InputEn: 1| OutputEn: 0| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0
E (370) example: Failed to initialize the card (ESP_ERR_TIMEOUT). Make sure SD card lines have pull-up resistors in place.
HINT: Please refer ./README.md for details
I (380) main_task: Returned from app_main()

More Information.
I've already tried adding pull-up resistors to the SD card lines.
I've attempted to slow down the SPI frequency.
The same SD card and ESP32-S3 with identical pin connections work correctly when using Arduino IDE.

I’m currently utilizing ESP-IDF version 5.3. I previously attempted to use version 5.2, but unfortunately, it didn’t yield the desired results. However, when I experimented with the Arduino ESP32 Core’s SD_test, it functioned flawlessly without any issues.

I see, understand.
Please give it a shot on 5.3 stable and report back if you still face some problem there: https://github.com/espressif/esp-idf/releases/tag/v5.3

It worked! Thanks

Perfect, closing the ticket.


Delete projects

https://trello.com/c/OgpmWE3i/78-delete-jobs
As a developer
I want to delete projects
So that my UI is uncluttered

Depends on functionality in RickyCook/yaml_model#7


various: Use HTTPS URL's where available

Also fixed a few audits here and there

kudos on this one as I've been wanting to switch to https for a while now and kept forgetting.


Some small cleanups in docstrings, copyright note

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Log what happens in repo

Hi! I'm looking for a way to log what my users do in the repo (creation, modification, deletion of files and folders). I'm no expert in php but I really need a way to log in case a user deletes things by mistake. Thank you!

my pull request #432 implements the feature of logging the user downloads. If your request is still open, i can add your requested loggings.


(fix): Update code to utilize latest libcloud features

In 0.16.0 of apache-libcloud, there was an update from
OpenstackServiceCatalog to OpenStackServiceCatalogEntry.
The update also removed tenant_id from get_endpoints()
response.  This fix removed retrieval of tenant_id from
service catalog response object and instead parsed the
monitoring url to retrieve tenant_id that way.
https://libcloud.readthedocs.io/en/latest/upgrade_notes.html?highlight=openstackservicecatalogentryendpoint#libcloud-0-16-0
OpenStackServiceCatalog class has been refactored to store parsed
catalog entries in a structured format (OpenStackServiceCatalogEntry and
OpenStackServiceCatalogEntryEndpoint class). Previously entries were
stored in an unstructured form in a dictionary. All the catalog entries
can be retrieved by using OpenStackServiceCatalog.get_entris method.

Also, fixed up the old and crusty demo url

references: #50

@kstev Please validate this pr fixes your issue.  I validate it locally and will have a fast-follow to add integration tests to the library, but wanted to get this out quickly to unblock you.

Thanks @dimtruck . I am hoping to get this fix implemented in the next few days to verify. Will let you know

+1


whatcha talkin bout, change width of screen?

so I'm getting absolutely no diff from changing TPWindow.m's width to something other than 2560. Nor when I change the (max/min/default) width in TPHUDWindowController.xib.
I've somehow managed to get it to resize through a window manager (hammerspoon), but it doesn't resize vertically, scale, whathaveyou. It just cuts off the right side. So I'm not sure what changing the initial width in code is supposed to do.
What behaviour should I be expecting?

Hmm; try also editing the TPTrackerScreen.m and TPWindow.m files to match the size of your screen as well as doing it in the .xib. (Can you tell I know what I'm doing when it comes to making Mac apps?)

ah, well it turns out that I had some issue with the build not respecting the updated xib. All's better now!
Now I'm going to learn about how to get these things to resize based on the total width of the bar. then maybe I'll learn about how these trackers work so I can get a skritter, duolingo and habitrpg added.

Awesome–would love to see anything you figure out with respect to making the size less dumb. You can check out the Trello or GitHub trackers for an example of how to pull dashboard-y stats from web services.  Learning auto-layout constraints now. I mostly want this to look reasonable on my laptop's default 1440px width and still stretch to your impressive 2560px. This will likely take many of my days off.
I'm probably likely to attack extracting all the config stuff into a settings window that can be saved in a plist file. But I'll be sure to support your existing config file locations.
I want to be clear: don't feel obligated to get to anything I post here with any urgency. I know how stressful maintaining open source stuff can be, and code combat is a very impressive community to be organizing. I just think you've got something really useful, and I'd love to help more people be able to use it. Though I'm going to have to deal with my local memory leak before I can expect any normal person to use it.

We can also cut some of the info out; I know I designed it to fit in 2560px and put in a ton of stuff I wanted for my video, but I currently am not using a bunch of it, so if all the extra stuff interferes with making something that more sane resolutions can use, let's figure out a way to make it better for those screens and possibly cut / de-emphasize existing info sections.


⚠ ClamAV has degraded performance

In f4d9452, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 468 ms

Resolved: ClamAV performance has improved in de4c289.


Update slate to 0.65.3

slate has fixed IME bug in 0.65.3. We need this as we use slate-yjs.

As a note, 0.66.0 should get released this week which has additional IME (and many other) fixes, https://github.com/ianstormtaylor/slate/pull/4436

I'll just update it to latest 👍 Btw - the current version should work with the latest slate version as well. But you probably will run into typing issues. Haven't tested this yet but I can't image why it should't

We use slate-yjs with 0.65.3 without issues.

Supported in the next branch beta release.


harper: 0.13.0 -> 0.14.0

Things done

Built on platform(s)

[ ] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[X] aarch64-darwin

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

@pbsds mind taking a look at this?

nixpkgs-review result
Generated using nixpkgs-review.
Command: nixpkgs-review pr 369821

x86_64-linux

:white_check_mark: 1 package built:

harper


Update .swift-version to 3.1

Yes I'll do that too.  Sorry I thought https://github.com/cloudant/swift-cloudant/commit/edba860f7a3fc06a6fbecd02b114e55502f2ffcf had done everything needed.

Yeah it would have if I noticed the travis version bump when I did it.

Done, @rhyshort

Great, Thanks @ianpartridge


Can't get plex to tune

Hi @xiaodoudou
Logs are below
logs.zip
you'll see i'm now getting loads of 'Received a device identify request.' errors

Hey,
Seems your stream cannot be bufferize for some reasons.
Could you provide me your provider so I can get a trial to check it out?
Cheers

Here you go
https://superior-hosting.co.uk/

I can't tune using vaders. Im not using docker. It just keeps on saying preloading.

I was able to get it to work by changing the link to TS

Tried another provider and having the same issue.
fabiptv.com/

I'm also having the same issue. Any fix?

Hi @xiaodoudou ,
The issue is still there, it does not matter if I use a .ts or .m3u8 file extension on the stream. The direct link works perfectly with VLC.
The docker logs as follows once Plex requests channel:
2018-05-21T02:00:31.541Z plexiptv:index:verbose 2018/05/21 02:00:31.5410 🔭 proxy Receive a proxy for: 431
2018-05-21T02:00:31.545Z plexiptv:preloader:verbose 2018/05/21 02:00:31.5450 🔭 preload Create preload for: http://<IP_ADDRESS>:1234/channel/431
2018-05-21T02:00:31.546Z plexiptv:worker:verbose 2018/05/21 02:00:31.5460 🔭 subscribe Subscribe to: http://<IP_ADDRESS>:1234/channel/431
2018-05-21T02:00:31.545Z plexiptv:worker:verbose 2018/05/21 02:00:31.5440 🔭 requestFactory Preloading: http://<IP_ADDRESS>:1234/channel/431 (http://tv.REDACTED.com:80/live/REDACTED/REDACTED/14658.m3u8)
2018-05-21T02:31:13.754Z plexiptv:worker:verbose 2018/05/21 02:31:13.7540 🔭 myRequest.once Renew preloading: undefined,
2018-05-21T02:31:13.754Z plexiptv:worker:verbose 2018/05/21 02:31:13.7540 🔭 requestFactory Preloading: http://<IP_ADDRESS>:1234/channel/431 (http://tv.REDACTED.com:80/live/REDACTED/REDACTED/14658.m3u8),
2018-05-21T02:31:14.126Z plexiptv:worker:verbose 2018/05/21 02:31:14.1260 🔭 myRequest.once Renew preloading: undefined,
2018-05-21T02:31:14.126Z plexiptv:worker:verbose 2018/05/21 02:31:14.1260 🔭 requestFactory Preloading: http://<IP_ADDRESS>:1234/channel/431 (http://tv.REDACTED.com:80/live/REDACTED/REDACTED/14658.m3u8),
2018-05-21T02:31:14.144Z plexiptv:worker:verbose 2018/05/21 02:31:14.1440 🔭 unsubscribe Unsubscribe to: http://<IP_ADDRESS>:1234/channel/431,
2018-05-21T02:31:14.144Z plexiptv:worker:verbose 2018/05/21 02:31:14.1440 🔭 unsubscribe No more subscribers.,
2018-05-21T02:31:14.144Z plexiptv:worker:verbose 2018/05/21 02:31:14.1440 🔭 end End of: http://<IP_ADDRESS>:1234/channel/431,
Plex will error 'Playback Error' 'Unable to tune channel'
Everything else seems to be working fine, its finding my config, my filters, and Plex does not report that the DVR is offline etc.
Thanks in advanced
-SystemLord

I checked my own logs and I do have the exact same problem. I get a very high load of "myRequest.once Renew preloading: undefined" messages when I try to tune to a channel.
which then ends-up with something like :
"unsubscribe Unsubscribe to: http://<IP_ADDRESS>:12345/channel/80039"
and :
"unsubscribe No more subscribers."
and finally :
"end End of: http://<IP_ADDRESS>:12345/channel/80039"

is there any advancement on this ? would be nice to be able to tune in the channels to be honest ;)

I don't think the person has done much of anything recently. I'm unable to
tune on mobile.
On Tue, Jun 12, 2018, 11:28 AM silkyclouds<EMAIL_ADDRESS>wrote:

is there any advancement on this ? would be nice to be able to tune in the
channels to be honest ;)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/xiaodoudou/PlexIPTV/issues/11#issuecomment-396631958,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AQ-gRdWQhNDIKdLRvR_P4Z-yyK0AIvcaks5t7940gaJpZM4T-VSH
.

I didn't try Telly, but I did use headendtv + a proxy to link it to plex in the past, and indeed, this new tool is way easier to configure. But as I said, ending up with a nice looking dvr and epg, but without any way to tune in, is quite useless... I hope the dev will investigate this soon. ;)

The same issue, It doesn't seem to want to return any channels at all. I tried with Telly and it worked instantly.

OK guys I'm back with some feedback as I had some time to try out telly today. Issue is the same.
Unable to tune in to channel.
The telly log displays : "[debug] Redirecting to: http:linktothechan" and plex fails to tune in.
So we can state plex IPTV can't be incriminated here.

Telly worked for me using m3u and ts output.
Could not get it working in PlexIPTV

well, my line is complying to this :
type=m3u_plus&output=ts
unfortunately, not working...so the  mystery remains ! :)
Unlucky me, I can't get my streams to load either with plexiptv or telly...

Duplicate of https://github.com/xiaodoudou/PlexIPTV/issues/8
if your provider is based on xtream code api, should work properly if not, neither PlexIPTV or Telly can make it works.
The reason is we need to work on a preprocess approach to re-encode the IPTV stream to MPEG2 TS which is what Plex is expecting.


ReAct doesn't return actions executed

It would be nice to have ReAct returning the actions in the response, to know for example which tools were used to generate the response. As now, ReAct only returns the observations, which are the results obtained by the tools.
It should be enough to add the following line to the forward() method:
actions = [args[key] for key in args if key.startswith("Action")]
and then add the actions key in the return, like this:
return dspy.Prediction(observations=observations, actions=actions, **{list(self.output_fields.keys())[0]: action_val or ""})

Ah that's a good idea!


Add search, filter to libraries page

No sort, no view.

[ ] Search (for now, string match name and description)

[ ] No results

[ ] Filter (sponsor team, license)
[ ] Results bar
[ ] Pagination

whenever we want to tackle this: got a working POC of this over on flucca/feat/library-search-and-filter, just needs a bit refactoring/cleanup.
To consider: introduction of this causes a lot of duplicate implementations between catalog and libraries, I'd recommend exploring repurposing catalog to be a fully generic component unaware of what "type" the items being rendered are (assets vs libraries) or what they look like and more of an orchestrator of the common logic: pagination, results, empty state... This refactor would take a bit of effort due to catalog being strongly coupled to assets filter-wise but would make for cleaner code in the long run IMO

Hey team! Please add your planning poker estimate with ZenHub @alisonjoseph @francinelucca @jdharvey-ibm


[de] Fix grammar mistakes and reduce differences between de and de-CH

Thanks for this package!
While using the JSON files I noticed de and de_CH differed in several instances where the two usually don't differ and there were a few smaller grammatical mistakes in both languages (commas and cases) in addition to inconsistent word choice ("Verifikation" vs. "Verifizierung").
Let me know if you'd like me to make any changes!

Danke
but @andrey-helldar are you okay with this changes ?

@caouecs, yes, all right)
I don't use hard binding.


Data tile FE: Transactions burning most steps

⚠ ATTENTION: This is a DRAFT task for the upcoming OD Hack. We will start assigning issues after Thursday, May 23rd. Feel free to join our telegram to get latest updates: https://t.me/+DYI4FMia43I1NDI8
Backed task for creating the API: https://github.com/walnuthq/starkflare/issues/7
The data format returned from the API:
tx hash, timestamp, amount of steps consumed, block number

The goal of this task is to update the txs-steps-burned component with a list of transactions that used the highest amount of steps. Each line in the list should present the transaction hash, amount of steps burned, timestamp.
Tips:

If the backend task is not yet ready, it's OK to hardcode some dummy data on the frontend to make it ready for a demo.

I will love to work on this.

please let me work on this

Can I take up this issue?

Hey all! Thanks for your comments, we will assign the issue tomorrow.
New contributors: please note we have specific contributor guidelines. Check them out and update the comments accordingly.

Hi, I have a good idea of how this would work.
I am a developer with a good years of experience.
I would like to work on this.

I'll like to work on this

Hello @mazurroman I'd like to be assigned this issue. I will:
Create a React component to fetch data from the backend API endpoint returning tx hash, timestamp, steps consumed, and block number.
Implement sorting/filtering logic to display transactions with highest steps consumed.
Use React hooks to manage component state and fetch data.
Style the component to match design specs.

Assigning this issue to @jaipaljadeja who is a returning contributor to Walnut
Thanks everyone else for your interest! @addegbenga your comment did provide some specific; however we would expect more technical details to get enough confidence you are up for the task. Your profile doesn't contain much contributions, it's mostly private repos or one still-open PR on cairobook with tons of open comments from Eni.

Assigning this issue to @jaipaljadeja who is a returning contributor to Walnut
Thanks everyone else for your interest! @addegbenga your comment did provide some specific; however we would expect more technical details to get enough confidence you are up for the task. Your profile doesn't contain much contributions, it's mostly private repos or one still-open PR on cairobook with tons of open comments from Eni.

Thanks for your feedback! 😊 I'll address Eni's comments as soon as possible.
I've contributed to Artpeace and StarkNet before, so I feel confident in my abilities. Even if my profile doesn't seem very convincing, I'm hopeful that I'll get the chance to work on more issues in the future.

@mazurroman  I would love to work on his work if the current assigned isn’t no longer interested and i will take 2 working day at most to complete the issue

Hello @mazurroman can you please assign the task to me. I will complete is as soon as possible

Hi @mazurroman I want to work on this

Hi @mazurroman is this still available? If it is, I'd like to take it up

This project is currently on hold


Click Event in a Basic Grid

I am creating the HTML as explained in the Basic Grid Example. Is there a way to bind a click event to load re-direct to another page?
I see that the hyperlink is not working either?

Please provide me jsfiddle so I can help you easier and fix your issue there. Thanks!


add license information for third_party packages

Checklist before submitting

[x] Did you read the contributor guide?
[ ] Did you update any affected documentation?
[ ] Did you write any tests to validate this change?

Description
Add open-ce-info.yaml to cover licenses for the third_party packages.
Review process to land

All tests and other checks must succeed.
At least one maintainer must review and approve.
If any  maintainer requests changes, they must be addressed.

Oh, actually you should change the build number with these changes.

Sure, I'll update the build number.