Create new module for functions in script.py

Currently script.py contains a lot of functions, many of which can be moved to another file for better code readability and structure

I am working on this.
Any suggestions how the final structure should look like?

Hi @singh-yashwant! Currently, the script.py file contains a lot of functions that can be called from another module. What I would suggest is to define all the functions in a file called modules.py and import the functions into script.py that will only contain the main() function. Let me know if you have any difficulty working on this.


PedroDiez/api_initial_proposal

PR
API baseline proposal to initiate discussion

NOTES:

Removed Notifications "feature"
Will merge tomorrow as we commented (@bigludo7, @SylMOREL, @alabajnaid, @@AAlmohaimeed16) FYI to be synchronized

DISCLAIMER:

v0.1.0 - Draft Proposal to begin deep discussion

MAIN POINTS PENDING:

Open topic about purchase / payment concepts/model in API
Obtain information about a list of payments feature
Endpoints and Error design refinements, aligned with API Guidelines
Security


implementation of game 73 (Reverse) in ruby

Here's Reverse in ruby. Somewhat optimized for ruby, but keeping the BASIC terminal feel.

Thank you! 👋


Singel star view page/ mesgna/fatema

Naming Rules
Name your PR like this: ISSUENUMBER-TITLE-YOURNAME
Description
Write a summary of your change. Explain why you have made it.
Related to
Make sure you include the issue number with a hash sign # so Github can link this PR to the right issue, like this:
Fixes #1
Checklist:

[ ] My code follows the style guidelines of this project
[ ] I have carefully reviewed my own code
[ ] I have commented my code
[ ] I have updated any documentation

Need to merge main into this branch and resolve the conflict in the SingleStar.js file. You need to keep the 'current' changes and then manually add in the {user.role === "TA" || user.role === "mentor" ? null : ( near the end.

Need to merge main into this branch and resolve the conflict in the SingleStar.js file. You need to keep the 'current' changes and then manually add in the {user.role === "TA" || user.role === "mentor" ? null : ( near the end.
Hey Mark I got some conflicts I can not resolve it.


Request queue v2 support

Implement methods for request queue v2.

Extend issue with local rqv2 support @drobnikj


Intercoms and Radios both pick up proximate speech

About the PR
Previously, there was a bug where when any radio listener heard a message, it'd lock out any other radio listener from processing hearing it.
Now, it instead locks out other listeners from processing the message only if it'd be sent to the same channel.
Why / Balance
Fixes #32464
Technical details
RadioDeviceSystem holds onto a list of recently sent messages (_recentlySent) "to prevent a shitter from using a bunch of radios to spam chat". The exact implementation meant that any RadioMicrophoneComponent would be blocked from handling the same message that another had already processed, leading to the behavior described in #32464.
Specifically, it "dedupe" on (message: String, speaker: EntityUid).
The fix is simple enough, to add channel: RadioChannelPrototype to that tuple such that the same message deduping occurs per channel.
Media
https://github.com/user-attachments/assets/fe484038-f092-4560-83c1-5c0c2c6b63b7
Requirements

[X] I have read and am following the Pull Request and Changelog Guidelines.
[X] I have added media to this PR or it does not require an ingame showcase.

Breaking changes
None :)
Changelog
:cl:

fix: Fixed a bug where attempting to speak into a handheld radio and an intercom simultaneously would lead to only one device transmitting the message.

Thanks for the fix!
Works in-game just fine


Table: column header can be costumed

Please make sure these boxes are checked before submitting your PR, thank you!

[ ] Make sure you follow Element's contributing guide (中文 | English | Español | Français).
[ ] Make sure you are merging your commits to dev branch.
[ ] Add some descriptions and refer relative issues for you PR.

Closes #17183

在 2.9.1 之前的版本中，table 的 column 的 header（除了 type 为 selection）都支持设置 https://codepen.io/ziyoung/pen/MWgEGwy 此次修改修复该问题。


Test cases

This pull request adds tests which cover releases test cases.
In particular, there are two new tests, one which checks the installation directory, and others which checks the packaging and compile an example.

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows

Build status:

Linux
Windows


"Game is running in exlusive fullscreen" even if its not

Hi,
I'm playing in 5120x1440p Fullscreen windowed and getting this error.

nevermind I saw your Info thread, please close :)


Unpack and reduce Gift package arrays

As requested in #993 .
Unpacked arrays have been reversed to keep the same order.

Hi @flaviens,
thanks for doing the cleanup and the PR! I assume you have tested this against your golden model?

Yes, this has been done, and redone with the single quotes before the brackets. All successful.

Alright, thanks for changing it and for the confirmation.


dwalk (and others?): print / report error for file permissions

If a user doesn't have permission to view a file / directory, there should be some error, either printed at the time or reported at the end.

thanks to @mkgilbert for the report!

Having the various tools act like their serial counterparts (e.g. drm vs. rm) in terms of the expected return code would be a huge win. Right now, there isn't a way for me to determine that an error has occurred with drm without parsing the output for keywords. The return code of drm is always 0, regardless of what errors it might run into (outside of invocation errors), while the standard linux "rm" command will return 1 if there are permission problems on any of the files or if the file doesn't exist.

There appears to be an error that is printed out now, something like ERROR:... (errno=13 Permission denied).  However, when the -q flag is added, this error is suppressed.
While changing the return code on the failure would be ideal, perhaps a more limited change would be ensuring that errors are still output in quiet mode.


High CPU utilization & SLow response for updates to ETL process

THread dump Shared in mail. Discussion with Luca on 6/26 12 :30 PM IST.

We already have improved the flushing of HTTP data. We're waiting for the results, in the meanwhile I close it. In case @SatishAMP please reopen/comment this. Thanks.


GUAC-1469 Update missing french translation

Some translations were missing because en.json changed since last update

In line 624 a comma is missing. wrong json file format.

Thank you for pointing that out. I just fixed it.


some audio on ios freezes

i made the program run audio continuously and it freezes can't run audio on ios. looks like it needs an update on ios?
https://user-images.githubusercontent.com/52542778/195954110-9faa6f01-b6f3-40dd-b0c0-1a4238a18cea.mp4

Can you fill the issue template? Which version, how to reproduce, example etc.!

Same here, this bug only appears when you play the same file in a row


multiple-cucumber-html-reporter not working with badeball / cypress-cucumber-preprocessor

Environment (please complete the following information):

multiple-cucumber-html-reporter: 1.21.6
Node.js version: 14.15.3
NPM version: 8.14.0
Cucucmber version<EMAIL_ADDRESS>
Config of multiple-cucumber-html-reporter
Package.json:
"@badeball/cypress-cucumber-preprocessor": {
    "nonGlobalStepDefinitions": true,
    "nonGlobalStepBaseDir": "cypress/e2e/**/*.{js,ts}",
    "stepDefinitions": "cypress/e2e/**/*.{js,ts}",
    "messages": {
      "enabled": true,
      "output": "cypress/cucumber/cucumber-messages.ndjson"
    },
    "json": {
      "enabled": true,
      "output": "cypress/cucumber/cucumber-report.json",
      "filePrefix": "cucumber-",
      "fileSuffix": ""
    }
  }

report.js:
const report = require('multiple-cucumber-html-reporter')

report.generate({
  jsonDir: 'cypress/cucumber/',
  reportPath: 'cypress/reports',
  metadata: {
    browser: {
      name: 'chrome',
      version: '90'
    },
    device: 'Local test machine',
    platform: {
      name: 'ubuntu',
      version: '16.04'
    }
  },
  customData: {
    title: 'Run info',
    data: [
      { label: 'Project', value: '' }
    ]
  },
  displayReportTime: true,
  hideMetadata: true,
  saveCollectedJSON: true,
  pageTitle: '',
  reportName: '',
  displayDuration: true
})

Describe the bug
Not able to create html report from the json files created after each test run
Additional context
This was working find earlier with older version 4.1.4 of cypress-cucumber-preprocessor

It wasn't working for me either, but you probably forgot to install this formatter:
https://github.com/cucumber/json-formatter
Follow the instructions for your specific OS. Reload VS Code and you should be good to go.
E.g. for Windows:

Download cucumber-json-formatter-windows-amd64 from https://github.com/cucumber/json-formatter/releases/tag/v19.0.0 and rename it to cucumber-json-formatter.exe
Move it to a directory that's on your PATH
-- Right click on Start Button > System.
-- Click in right bar Advanced System Settings
-- Click the "Environment Variables" button on the first page
-- At the top section, click on the variable "Path"
-- Add a new line with a location of your choice (e.g. C:\Users...)
-- Click OK and OK again
Restart VS Code (or your preferred editor)
Verify that you can run it: cucumber-json-formatter --help
-- It should return something like "Usage of..."
Make sure to have both json and massages output enabled in .cypress-cucumber-preprocessorrc
Run your Cypress tests
Alternatively, when you already have a json/message out, run node cucumber-html-report.js

Thanks @volkanogretmen
Do you want to add this as a PR to the docs?
@frnc07
Closing this for now based on the solution that @volkanogretmen provided


Add support for Python 3.10

switches workflow job matrix from rc1 to 3.10 proper, with passing tests
updates trove classifiers

Requesting a review because this is my first jazzband repo I have been given the green merge button and I would like another set of eyes before merging.


No longer able to override pre-installed Python packages from global site-packages

To build my project on ReadTheDocs, I have been using the global site-packages option, but overriding one of the global packages via my requirements.txt.
I need this because my project depends on a newer version of pandas (0.15) than is available via global site-packages (0.13.1). I need to use the global site-packages because my docs depend on the scientific Python stack (numpy, pandas, scipy, matplotlib), which is impossible to install reliably with pip. See https://github.com/rtfd/readthedocs.org/issues/857#issuecomment-55195387 for a discussion of my approach. If conda was supported to build projects, that would also be a viable approach.
Until recently, this worked fine. Now it does not. The build reports in the second step that it has successfully installed pandas-0.16.1, but it also reports "Not uninstalling pandas at /usr/lib/python2.7/dist-packages, outside environment /home/docs/checkouts/readthedocs.org/user_builds/xray/envs/doc-build-fixes". In the next step, it claims to have found pandas 0.16.1 when it installs my package. However, when it actually builds the docs, it's using pandas 0.13.1, as you can see from the sphinx-build step (I've setup my build to print dependency versions).
Thanks for your help -- ReadTheDocs is a fantastic service that makes it way easier to write and maintain excellent documentation.

I'm not sure exactly what would have changed here. We're using a new builder subsystem, but the build steps shouldn't have been altered with that change. We'll have to dig into this one a bit more.

Would it be helpful to make a simple demo project that demonstrates this issue? Or should I leave that one to you guys...?

Would it be possible to install user provided requirements via pip with the -U or -I options? I think that would resolve my issue here of being unable to override packages that are already in the global site packages. This Stack Overflow post has more details: http://stackoverflow.com/questions/12079607/make-virtualenv-inherit-specific-packages-from-your-global-site-packages

Closing favor of #1770


Error Handling

Any suggestions on how to handle the response errors?

Hello! Thank you for submitting an issue.

Hello @quimpocharles may ask you to expound your question a little more? What issues are you having with error handling? Thanks.

I was trying to anticipate response errors due to wrong inputs using the
then() method but I was not able to. Switched to the catch method and was
able to handle the errors. So, it works! Haha was wondering if you have a
method in your package that I can call to replicate step number 3 in
Accepting Card Payments(
https://developers.paymongo.com/docs/accepting-cards#3-send-card-information-to-paymongo).
Great package by the way!
On Wed, May 6, 2020 at 12:57 AM Jofferson Ramirez Tiquez <
<EMAIL_ADDRESS>wrote:

Hello @quimpocharles https://github.com/quimpocharles may ask you to
expound your question a little more? What issues are you having with error
handling? Thanks.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/jofftiquez/paymongo/issues/14#issuecomment-624175705,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AF5MXZR3YQZ6U4BH5RDLV33RQBAORANCNFSM4MYGR5MQ
.

--
The information contained in this communication is intended solely for the
use of the individual or entity to whom it is addressed and others
authorized to receive it. It may contain confidential or legally privileged
information. If you are not the intended recipient, you are hereby notified
that any disclosure, copying, distribution or taking any action in reliance
on the contents of this information is strictly prohibited and may be
unlawful.
If you have received this communication in error, please notify us
immediately by responding to this email and then delete it from your system.

@quimpocharles so you were missing the catch block? Great! I'm glad you found it. :)
For your question, I believe you are looking for PaymentIntents.


Upgrade to version 2.0.0

From the release notes:

Add features:

command line interface
support for JSON, Pretty JSON, YAML, AwesomePrint, to_s, and inspect output formats
optional array mode (previously only nonarray streaming mode).
more persistent options can be specified in an environment variable, RIKA_OPTIONS.
metadata keys can optionally be sorted alphabetically (not all languages though).
properties added by Rika to the metadata: data-source, language
Filespec or URL data source identifier can optionally be output with metadata and text.

Add support for Tika 2.8.0, breaks compatibility with Tika 1.x.
Remove tika-app-1.24.1.jar from code base and gem (but it is still in git history).
Tika jar file is now downloaded by the user and found via environment variable TIKA_JAR_FILESPEC.
New class ParseResult created to simplify result access and Parser class.
Add Rika.tika_version.
Add webrick dependency, needed for current versions of Ruby.
Remove deprecated methods Parser#available_metadata and Parser#metadata_exists?.
Move Parser#language to Rika.language.
Remove Parser#language_is_reasonably_certain?, no longer supported by Tika.
Remove obsolete LanguageIdentifier import. Otherwise updated language detection.
Various refactorings and improvements.
Add SimpleCov test coverage and Rubocop linting tools to project.
Set up RSpec configuration to enable --only-failures and --next-failure options.

I am ignoring these reported issues, as I don't agree that they are legitimate in the case of this project.


[Request] Can we use Structured Output from OpenAI to save API cost

Can we use this to avoid failures shown below (https://platform.openai.com/docs/guides/structured-outputs/structured-outputs)

It is already using Instructor, but sometimes it doesn't generate required Pydantic model


[Terminal Finder] ...

Extension – Terminal Finder
Author:

Description
On a MacBook Pro M1 with the finder window open using the terminal finder extension to Finder -> Terminal it pops up an error stating that the Finder window is not open and fails to open the terminal.
This worked perfectly on my intel MacBook Pro
Steps To Reproduce

Find the folder in finder that you want to open
Execute the Terminal Finder command to open in terminal3.
See the error message

The current behavior
See description
The expected behavior
I expect it to open the terminal at the same directory location as show in the finder window
Raycast version

1.38.1

I noticed this too on my M1 Air (although I was attempting to open the path in iTerm) if I have Finder's Inspector window open.
I copied the AppleScript command from source and ran it in Script Editor, and realised it was indeed trying and failing to grab a path from the Inspector window. Changing this line to set pathList to (quoted form of POSIX path of (folder of the front Finder window as alias)) seems to work.

Thanks for the help frypf. Here's hoping the fix is added soon

Ah I found the problem that I was facing. I updated my computer to the M1 and just ported everything over. But by doing that all the permissions I granted for things like finder access for this extension and music permission didn't port over and so the extensions stopped working.
I fixed it by backing up my settings etc and then uninstalling and reinstalling all the extensions. Everything works fine now

Same behavior here with raycast 1.39.3 and macbook air m1.


Clicking on a text input field freezes the overlay

Describe the bug
When you click on a text input field (tested "Pet Merging ID", "Custom ID"), the entire overlay freezes and stops responding to any input.
To Reproduce
Steps to reproduce the behavior:

Click ⚙ icon
Go to Display tab
Click on the "Custom ID" field (default value "YOU")
Everything freezes

Expected behavior
Text to be editable
Additional context
When this happens, most of the controls in the OverlayPlugin work either. Toggling "Force white background" does nothing, as does clicking "Reload overlay"; but toggling "Enable overlay" off and on again does reload the overlay. The likely reason is an infinite loop in the javascript that locks the UI thread.

Unable to reproduce the problem with ACT <IP_ADDRESS>3 and OverlayPlugin 0.17.2.
Theoretically, clicking on the input box in the Overlay window will bring up a prompt dialog, which is to prevent the problem of not being able to enter text properly in the game.
Can you open the Debug Tool (Chrome Dev Tool) in the OverlayPlugin to see if there is any output from the console?

The Debug Tool itself also freezes when I attempt to open it. Not even the DOM inspector works once it has entered the frozen state...
Although, once I updated the FFXIV plugin beta once more and restarted ACT, the prompt seems to be working again. Very strange 😥


Install numcodecs from conda-forge

Fix #106

Interesting. My base conda was older (4.14.0 -> 23.3.1), as was my version of mamba (0.25.0 -> 1.4.1). Mamba installs a few non-default packages into the base environment. Perhaps that is why I do not get an error with pyedflib? I don't think that should make a difference because these should be clean environments though...
After updating, I re-ran conda env create -f ./tools/anaconda-env/environment-MAC.yml and got the same error building numcodecs.


Fixes: message not clearing after form submission in Chat component

Fixes Issue
My PR closes  #417
👨💻 Changes proposed(What did you do ?)
Changed the state of message to empty string after message is sent.
Also, I would like to add that only this part of the code is changed by me in chat.JSX component

if (inputRef.current) {
inputRef.current.value = ''; // Clear the input field
setMessage(''); // Reset the state of the message to an empty string
inputRef.current.focus();
}

other changes seen in files changed are done by the prettier extension that i have in my VsCode
✔ Check List (Check all the applicable boxes)

[x] My code follows the code style of this project.
[x] This PR does not contain plagiarized content.
[x] The title and description of the PR are clear and explain the approach.

PR Compliance Checks
Thank you for your Pull Request! We have run several checks on this pull request in order to make sure it's suitable for merging into this project. The results are listed in the following section.
Issue Reference In order to be considered for merging, the pull request description must refer to a specific issue number. This is described in our Contributing Guide. This check is looking for a phrase similar to: "Fixes #XYZ" or "Resolves #XYZ" where XYZ is the issue number that this PR is meant to address.
Conventional Commit PR Title
In order to be considered for merging, the pull request title must match the specification in conventional commits. You can edit the title in order for this check to pass. Most often, our PR titles are something like one of these:
* docs: correct typo in README

* feat: implement dark mode"

* fix: correct remove button behavior

Linting Errors
* Found type "Fixes", must be one of "feat","fix","docs","style","refactor","perf","test","build","ci","chore","revert"

@dev-palwar
Please fix this error, if you don't know how, try this:

Read the error carefully or read the contributing file
Checkout past merged Pull requests to see how they were done for it to be merged

Note: you can edit your PR message, this PR won't be merged if the error isn't gone and you have a week max to fix it before the PR gets closed without being merged

@dev-palwar do you not want to work on this anymore?

Ok. I have made another PR check it #443


State style defined in the data should merge with state style defined globally. Not replace it.

Describe the bug
You can set the style in G6 globally or in the data.
Currently, stateStyles defined in the data replace the nodeStateStyle defined globally. It should behave like styles that merges with defaultNode.
Style defined globally
new G6.Graph({
  // previous options
  defaultNode: {
    style: {
      fill: "red",
      lineWidth: 2
    }
  },
  nodeStateStyles: {
    selected: {
      fill: "green",
      lineWidth: 2
    }
  },
  // following options
})

Style defined in the data
const data = {
  nodes: [
    {
      id: "1",
      label: "Label 1",
      style: {
        fill: "orange"
      },
      stateStyles: {
        selected: {
          fill: "yellow"
        }
      }
    }
    // following nodes
  ]
}

When you look at the node model
graph.getNodes()[0].getModel().style

// What you get
{
  selected: {
    fill: 'yellow'
  },
  fill: 'orange',
  lineWidth: 2,
}

// What it should be to stay consistent
{
  selected: {
    fill: 'yellow',
    lineWidth: 2,
  }
  fill: 'orange',
  lineWidth: 2,
}

Your Example Website or App
https://codesandbox.io/s/g6-styles-8zpnzb
Steps to Reproduce the Bug or Issue

Open the codeSandbox and look at the console.

Expected behavior
Styles should merge instead of override.
Possible issue identification
here
mix() is used instead of deepMix() here

Is this problem solved yet?

In the latest G6 5.0, we have adjusted the style calculation strategy so that the final style of the element will merge the style in the data, the default style, and the state style


Write integration tests for src/acquisition/covidcast/database.py

Integration tests because we do want to exercise the actual database engine here, and not a mock.

[x] make sure is_latest_issue is being set correctly -

when adding new daily data (data in signal_load has > issue than data in signal_latest)
when uploading data patches (data in signal load has < issue than data in signal_latest)

[x] make sure data is being correctly transferred from signal_load into signal_* and *_dim

make sure signal_latest is only overwritten when signal_load issue is >=
make sure rows are added to *_dim only when needed

+Any other corner cases that worry you.
Use integrations/acquisition/covidcast/test_*.py as templates.

the associated pr #925 is a good start but it will, at the very least, need to update the table names as they have changed


Fix: Upgrade to python 310 typing

This pr just updates the model generator to support union x | y // python 310 conventions.

Ok I am going to merge this as well in preparation for tomorrow's release!


Replace address(0) check errors with condition specific ones.

Replace all IErrors.ZeroAddress error reversions with one specific to the condition at hand.
Resolves #63
Secondarily

Moved all errors from IErrors to the usage contract.
Deleted IErrors.
Renamed MaxCapPlug.sol to MaxCapPlugIn.sol, following the established convention.

Updated all references.

Fixed a solc warning by removing a line from packages/contracts/test/script/DeployTestVault.s.sol where the variable was unread.

Adding the slack conversation here:
ZeroAddress check is a common check that we do across the contracts. Very generic concept in solidity. But, giving an explicit error message for incorrect custodian or asset address will implies that there are some other condition to those addresses other than zero. But, that's not the case, we are just checking for zero address.
Have to discuss whether this change is mandatory or not. Because, if we are doing this, then we need to create a custom error for all address we will be using, like for operator, owner etc... I think a common error message for zero address should work.


cwd -> dao

Closes #546.
Can merge this last before tagging the v2.0.0-beta release.

Codecov Report
Base: 93.74% // Head: 93.74% // No change to project coverage :thumbsup:

Coverage data is based on head (b30535b) compared to base (719bc03).
Patch coverage: 85.00% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           v2-staging     #555   +/-   ##
===========================================
  Coverage       93.74%   93.74%
===========================================
  Files              42       42
  Lines            3819     3819
===========================================
  Hits             3580     3580
  Misses            239      239

Impacted Files
Coverage Δ

contracts/dao-core/src/contract.rs
93.48% <0.00%> (ø)

...se/dao-pre-propose-approval-single/src/contract.rs
87.68% <ø> (ø)

...opose/dao-pre-propose-approval-single/src/state.rs
100.00% <ø> (ø)

...e-propose/dao-pre-propose-approver/src/contract.rs
91.78% <ø> (ø)

...e-propose/dao-pre-propose-multiple/src/contract.rs
86.66% <ø> (ø)

...pre-propose/dao-pre-propose-single/src/contract.rs
86.66% <ø> (ø)

...cts/proposal/dao-proposal-multiple/src/proposal.rs
90.24% <ø> (ø)

...racts/proposal/dao-proposal-single/src/proposal.rs
95.58% <ø> (ø)

...racts/proposal/dao-proposal-single/src/v1_state.rs
96.29% <ø> (ø)

...tracts/voting/dao-voting-cw721-staked/src/hooks.rs
100.00% <ø> (ø)

... and 21 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

🫡


Avoid appending trailing backslash at the end of resources in WebSocket APIs when using socket.io based endpoints

When sending requests from the client-side to a WebSocket API which is created to connect from the socket.io, a trailing backslash is added at the end of the resource by the client (socket.io).

Ex: ws://localhost:9099/test/v1/?access_token=<access_token>

This cause an authentication failure inside the WebsocketInboundHandler since the apiContextUri is having an additional trailing backslash appended at the end of resource which is not supported by APIM.
Hence, need to omit appending non-required characters (i.e. trailing backslash) at the end of the URL path.
Suggested Labels:
wso2am-3.0.0

Fixed with https://github.com/wso2/carbon-apimgt/pull/9450


Favourite talks with reminders or automatic video start

I noticed that I keep missing interesting talks I wanted to go to because there is no equivalent of conference organisers announcing the start of the next session in the coffee room.
It would be great if one could mark talks as favourites ahead of time, and be reminded when they start. Alternatively, a favourite talk could start automatically.

Closing as the new UI has been developed after this issue was opened and this issue relates only to the old UI.
(In the new UI, we implemented a "Followed Items" feature that enables exactly this, among other things.)


Accessibility icon

Icon Request

Icon name: Accessibility
Tags of this icon: icon request
Use case: Indicate if an activity/feature/form/etc is accessible
Screenshots of similar icons:

https://github.com/Remix-Design/RemixIcon/issues/888

https://remixicon.com/icon/accessibility-line
https://remixicon.com/icon/accessibility-fill
https://remixicon.com/icon/wheelchair-line
https://remixicon.com/icon/wheelchair-fill


Removed TableInfo.majors field

Fixes #3609

Before this change, the Monitor would likely show 0(0) for major compactions on the tserver page. I'm not sure what it will show now, it could even be broken. However, we might need to re-imagine how the Monitor is going to work anyway.

Before this change, the Monitor would likely show 0(0) for major compactions on the tserver page. I'm not sure what it will show now, it could even be broken. However, we might need to re-imagine how the Monitor is going to work anyway.

Interesting, we do need to decide what we want to do with that column in monitor.  We could still gather per table information on queued and running compactions, but it would be done in a very different way that in used to.  May need a follow on issue for that.

Thinking before this and its issue is closed out, need to open a new issue to decide what do with the column in the monitor.

Do you think this is covered by #3608?

Do you think this is covered by https://github.com/apache/accumulo/issues/3608?

I added a comment to the issue about what still needs to be done.


IndexError in _trim_env due to out of bounds atoms index during environment setup

.json file: interactive.json

Next time, please provide the appropriate input files. See https://github.com/CCBatIIT/Bridgeport/issues/17
I was able to collect the appropriate input, however. The error should be resolved. Thanks.


Re-instated linuxsysv in linux services.

@joachimmetz FYI, I took this out temporarily, and am putting it back in.

LGTM


Border radius doesn't work on Android

Providing the style 'borderRadius' doesn't change the view of the video component on Android. However, it works on iOS.
<Video
    style={[{ width: 100, height: 100, borderRadius: 50 }]}
    {...otherProps}
/>

Same issue here, did you find a solution @peteroid ?

@maxs15 still no clue. may be related to this https://github.com/facebook/react-native/issues/8885

I also have the same problem. My colleague try to do it like this
                style={{width:60,height:60,borderRadius:(Platform.OS === 'ios')?30:100}}
                ... />

but sometimes it didn't work and go back to square, still don't know why..

have you fixed this error?
I user latest version RN 0.54.2 and it have same error.

Same here, any fix for that?

Try wrapping the Video element in a container View and setting borderRadius on that View. You will also need to set overflow: hidden on it.

Logre solo colocar los bordes superiores redondos, los de abajo, no logre hacerlo por los controles (play sonido)

Just set borderRadius doesn't work for me. I have a very simple View, and set borderRadius doesn't work on Android. I need to apply solution from @lupapp

Yo lo solucione asi:
items:{
borderTopLeftRadius:10,
borderTopRightRadius:10,
borderBottomLeftRadius:10,
borderBottomRightRadius:10
}

Weird bug.. this is working for me thanks 👍

This still isn't working

Hi,
i found solution in hard way...i think it will help someone...
<View style={{height: 215, alignItems: 'center', flex: 1}}>         <View           style={{             position: 'absolute',             height: 215,             width: ScreenWidth * 0.95,             borderWidth: 10,             borderRadius: 5,             borderColor: 'white',           }}></View>         <View           style={{             position: 'absolute',             height: 215,             width: ScreenWidth * 0.95,             borderWidth: 10,             borderRadius: 20,             borderColor: 'white',           }}></View>         <Video           source={{             uri:               'https://www.learningcontainer.com/wp-content/uploads/2020/05/sample-mp4-file.mp4?_=1',           }}           resizeMode="cover"           style={{height: 215, width: ScreenWidth * 0.9, zIndex: -1}}           controls={true}           paused={false}         />       </View>
Thanks :)

I followed @cobarx suggestion but I also had to set resizeMode="cover" in order for it to work properly :ok_hand:


Remove least semver numbers

Removes least semver numbers below x: "0.x.n" and "1.x"
Builds on previous updates.

I would like @idky137 's opinion on this.   This proposes a permissive dependency policy, that still forbids dependency changes that would break public APIs.   I think it's the most permissive policy that has this constraint.

I ran a full sanity test locally.


BUG: Floating point exception (division by 0 in tsPCRAnalyzer)

Hi @lelegard ,
I'm processing some TS files that generate troubles with TSDuck. The only "special" difference is that the PCR marks are in a separate stream that only contains packets with PCR and no payload.
With this type of files, I see this error with this simple command tsp -d4 -I file file.ts -O file out.ts:
tsp: Debug[4]: debug level set to 4
* tsp options:
  --add-input-stuffing: 0/0
  --bitrate: 0 b/s
  --bitrate-adjust-interval: 5,000 milliseconds
  --buffer-size-mb: 16,777,216 bytes
  --debug: 4
  --list-processors: 0
  --max-flushed-packets: 0
  --max-input-packets: 0
  --realtime: unknown
  --monitor: 0
  --verbose: 1
  Number of packet processors: 0
  Input plugin 1:
    Name: file
    Type: input
    Arg[0]: "file.ts"
  Output plugin 1:
    Name: file
    Type: output
    Arg[0]: "out.ts"
* Debug[4]: debug level set to 4
tsp: Debug: trying to load "/root/tsduck/src/tsplugins/debug-x86_64/tsplugin_file.so"
tsp: Debug: trying to load "/root/tsduck/src/tsplugins/debug-x86_64/tsplugin_file.so"
tsp: Debug: realtime: no, using --max-input-packets 0 --max-flushed-packets 10,000
* Debug[4]: file: debug level set to 4
* Debug[4]: file: debug level set to 4
* Debug: tsp: buffer size: 89,240 TS packets, 16,777,120 bytes
Floating point exception

And when I run the process using with the GDB I see this problem:
https://github.com/tsduck/tsduck/blob/master/src/libtsduck/tsPCRAnalyzer.cpp#L405
here a division by zero appears: the value of diff_values is 0 and _use_dts is true.
Please, can you help me to fix this problem?
Thank you!

Hi @lelegard ,
As a temporal solution I propose a workaround in this PR #362.

Hi,
I close this issue as the PR is merged.


It appears that hub release delete fetches all releases as part of its operation and might make too many other API calls

In an effort to delete our draft releases, I wrote this little one-liner:
hub release -f "'%T' (%S) %n" --include-drafts | grep " (draft)" | awk '{print $1}' | xargs -t -n1 hub release delete
(Further explained here: https://stackoverflow.com/a/51049361/544130 )
So far, so good, but since we have 100+ draft releases, I will call hub release delete 100+ times. That doesn't seem like it would be a problem on its face, but given how long hub release delete takes to operate, I'm beginning to think that it is fetching all releases in the process of deleting a single release? Furthermore, I am now locked out with an API rate limit exceeded, further cementing the idea that hub might be making a lot more calls on my behalf than I would expect for a single delete call?

Thank you for reporting. When deleting a release, hub indeed fetches all releases in batches of a 100 records until it finds one with a matching tag name, then makes a DELETE request. For a repository of 500 releases, for example, this could potentially result in 6 HTTP operations.
I can't remember why we're not simply using the https://developer.github.com/v3/repos/releases/#get-a-release-by-tag-name endpoint to find a release by tag name, but I think that draft releases cannot be found using this endpoint since they're not published, and that the only way to find out the release ID of a draft release by its tag name is to iterate over all releases.

Ah, I see @mislav. That makes sense. Now that I know that, when I consider how many releases we have, it makes sense that I ran out of my allotted calls. :)
The only way to make it slightly better would be to allow for me to delete multiple releases with the same command by passing in multiple releases in the same command line. But this is surely an edge case. You are free to close this. Thanks for the quick reply.

Make sure you're using at least hub v2.3.0 or newer! The operation to show or delete a specific release was significantly optimized in https://github.com/github/hub/commit/977cade509e9abc236376cbf0fb1e8753a2fd292.


Sheet.merge breaks the document

Hi,
Context: I made a copy of an Excel file located in assets directory and saved it in the Temporary folder of the device. Then, I tried to update/change that file.
When I use Sheet.merge it correctly applies the merge but breaks my document, removing all the previous merged cells(the ones that came with the file) and throw an error when you tried to open the file in google docs. If you remove the Sheet.merge or replace it with a simple Cell value insertion, the file works fine. Here's some code:
    Sheet firstSheet = excel['Sheet1'];
    int rowStart = 9;
    String colStart = "A";
    String colEnd = "D";

    int oldActionId = -1;
    int row = rowStart;
    String col = colStart;

    data.forEach((element) {
      if(element["action_id"] != oldActionId){
        oldActionId = element["action_id"];

        firstSheet.merge(CellIndex.indexByString("$colStart$row"), CellIndex.indexByString("$colEnd$row"), customValue: element["action_name"]); //Breaks the file.
        row++;
      }
    });

@migueldma
Thanks for posting the issue, I'll have a look into it

@migueldma
Can you provide me a sample structured file? by removing your important data from it.
It would be helpful to know the edge and corner cases.

@migueldma
You can mail on<EMAIL_ADDRESS>

@migueldma
You can mail on<EMAIL_ADDRESS>
Hi, do you need the excel file, the project or both?

@migueldma I only need your sample excel file for testing, be sure to remove your important and private data from the file, if any.

Hi, did the file help?

I don't know if this is a different issue but I've also noticed that editing contents of a merged cell also breaks the document.

Hello,
the following code breaks the document:
  var month='2023-03';
  var excel = Excel.createExcel();
  excel.rename(excel.getDefaultSheet()!, month);
  excel.setDefaultSheet(month);
  Sheet sheet = excel[month];

  // Title
  sheet.merge(CellIndex.indexByString('A1'), CellIndex.indexByString('E1'), customValue: 'Timestamps - ${_monthName(month)} ${_year(month)}');
  sheet.cell(CellIndex.indexByString('A1')).cellStyle = CellStyle(fontSize: 18, bold: true, horizontalAlign: HorizontalAlign.Center,);

 var fileBytes = excel.save();
  var directory = (await getApplicationDocumentsDirectory()).path;

  File(join("$directory\\output_file_name.xlsx"))
    ..createSync(recursive: true)
    ..writeAsBytesSync(fileBytes!);

When specifying a string value as customValue parameter, the generated OpenXML code in xl\worksheets\sheet1.xml is
<c r="A1" s="1"><v>Timestamps - Janvier 2023</v></c>

When specifying the value to cell A1, then merging the cells, the generated OpenXML code is
<c r="A1" s="1" t="s"><v>0</v></c>

The second option looks more conform to the specs, as for strings, the <v>...</v> tag should not contain the text itself, but a reference to the string, stored in xl\sharedStrings.xml.
I think this bug is caused by https://github.com/justkawal/excel/blob/12529d8472e8e6ab36e551b090f2205f85ba2916/lib/src/sheet/sheet.dart#L719
The value is directly assigned to the private property _value, instead of calling its setter value, with value.value = customValue.
I don't know if using the private _value property instead of calling its public setter value was made by intent (to prevent other side effects caused by the setter). @justkawal, could you please give me some light on it? Would it be safe to fix this by changing the value._value by value.value?

Fixed in #218


trouble downloading libraries.

Here's the link to the library/package i used. (https://github.com/abenassi/Google-Search-API)
Your setuptools do not appear to be installed. Just follow the Installation Instructions from the pypi website.
If it's already installed, try
pip install --upgrade setuptools
If it's already up to date, check that the module ez_setup is not missing. If it is, then
pip install ez_setup
Then try again
pip install unroll
If it's still not working, maybe pip didn't install/upgrade setup_tools properly so you might want to try
easy_install -U setuptools
and again
pip install unroll
I hope this helps.

Also it looks like your using pip instead pip3
Make sure python3 is installed and you have pip3

so should i used $ pip3 install -r requirements.txt ?

Yes $ pip3 install -r requirements.txt

After doing what you said (before pip install -r requirements.txt) i get this when i try to the unroll thing.

dont do unroll, thats the last scenario, try installing requirements now

If you look, u can see i did everything but unroll and still doesnt work

I get that same error.

i also got the same error

I'm not sure what the error is but i would look at this library and install it manually, because it seems like that is causing the error.
https://github.com/abenassi/Google-Search-API

I did install it manually. the original manual way says to use pip and not pip3.
If u do it on pip it works but not on pip3

Oh, im not sure then. but im using python3 , i would say for now manually install each package using pip3

Then tried to install google search manually and still get this

you need to use pip3 because this bot is built for python3.
Here's the link to Google Search API that im using https://github.com/abenassi/Google-Search-API

Do pip3 install Google-Search-API

Dont download the zip, also i would like to note that installing this bot is not for beginners.
Just do pip3 install Google-Search-API
Make sure python3 is installed.

Yeah, I'm trying to figure this out to later use the API's for a school project. Just to be clear, I have python 3.6.2 installed already. Is that fine?


Theme: specify exponentiation operators

This is for https://github.com/thlorenz/redeyed/pull/17.

LGTM thanks.


[PYTHON] Implement __dir__() in pyspark.sql.dataframe.DataFrame to include columns

What changes were proposed in this pull request?

Override the parent __dir__() method on Python DataFrame class to include column names. Main benefit of this is that any autocomplete engine that uses dir() to generate autocomplete suggestions (e.g. IPython kernel, Databricks Notebooks) will suggest column names on the completion df.|.
Why are the changes needed?

To keep __dir__() consistent with __getattr__(). So this is arguably a bug fix. Increases productivity for anyone who uses an autocomplete engine on pyspark code.
Example of column attribute completion coming for free after this change:
https://user-images.githubusercontent.com/84545946/233747057-56b2589d-d075-4d13-8349-ac5142c38c62.mov
Does this PR introduce any user-facing change?

Will change the output of dir(df). If the user chooses to use the private method df.__dir__(), they will also notice an output and docstring difference there.
How was this patch tested?

New doctest with three assertions. Output where I only ran this test:

To test it in a notebook:
from pyspark.sql.dataframe import DataFrame

class DataFrameWithColAttrs(DataFrame):
    def __init__(self, df):
        super().__init__(df._jdf, df._sql_ctx if df._sql_ctx else df._session)

    def __dir__(self):
        attrs = super().__dir__()
        attrs.extend(attr for attr in self.columns if attr not in attrs)
        return attrs

Mind filing a JIRA please?

Mind filing a JIRA please?

Thanks for the reply! I add a JIRA ticket for this case. If any ambiguous, please let me know.

Please file a JIRA in ASF JIRA (at here https://issues.apache.org/jira/projects/SPARK/issues). See also https://spark.apache.org/contributing.html

engine that uses dir() to generate autocomplete suggestions (e.g. IPython kernel, Databricks Notebooks) will suggest column names on the completion df.|

Sure, create one ASF JIRA: https://issues.apache.org/jira/browse/SPARK-43270

Have to mention, this solution is not perfect solution:
dir won't return private method, so if a column start with an _, it would be ignored in the suggestion

Looks fine to me.

cc @viirya @ueshin @holdenk

Merged to master.

Made a followup to implement this in Spark Connect: https://github.com/apache/spark/pull/41009


Interrupt building without docker and build again will cause error

I tried to build ARM-NN in my WSL (Ubuntu) environment without docker. However, when I interrupted the installation script and then executed it again, an error occurred.
Reproduce Steps:

First I execute the installation script by typing the command: sudo ./install-packages.sh.
I interrupted the installation procedure because I wanted to switch the building procedure to the local docker.
However, I decided to switch back to the WSL (Ubuntu) again to continue the building.
After I executed the script install-packages.sh, the error occurred.
The error message said that "E: unable to locate cmake."

Root Cause
The root cause is that in my 1st step, the existing CMake had been uninstalled, and then in step 4 the installation script tried to find the existing CMake. The error occurred because it had already been uninstalled.
In this case, I think the install-packages.sh should be updated to continue the installation if the existing CMake had been removed. Otherwise, users maybe confused.

Hi @huzq85 ,
Many thanks for raising this issue. You have definitely caught an edge case in this script - we are working on a fix now and will update you when it's ready.
Did you end up getting passed this stage with your own modifications already and were you able to build Arm NN successfully?
Thanks,
James

Great to hear @huzq85
I haven't been able to reproduce your issue yet. I uninstalled CMake from my system and ran the install-packages.sh script and it proceeded to install CMake 3.19 with no issues.
This if statement in install-packages.sh checks if the correct version of CMake is present:
if [[ "$(cmake --version 2> /dev/null | grep "$CMAKE_VERSION" )" == *"$CMAKE_VERSION"* ]]; then
  echo -e "\n***** CMake $CMAKE_VERSION already installed, skipping CMake install *****"
else
  download_cmake
  install_cmake
fi

It should return false if CMake is present and not the correct version AND should also return false if CMake is not installed at all (i.e. cmake --version returns an error which is captured by /dev/null).
Is there something else I'm missing? Do you know how far the script executed the first time you ran it?
Thanks,
James

hi, @james-conroy-arm ,
Thank you so much for your update! Yes, I think this piece of the script makes sense in install-packages.sh. From this point, you remind me of something when I was trying to build ARM-NN through scripts. I built ARM-NN in several environments, such as in docker and in my local Ubuntu OS. It's very likely that I forgot to run this install-packages.sh except the first time I build ARM-NN. If this is the case, I think this issue can be closed now. And I will keep an eye on whether this issue will appear on my side in the future.
Thank you for your help!

No bother :)
Do you have any feedback on your experience using the build-tool? e.g. did you prefer using Docker or running scripts directly on your machine etc.
Which target device are you testing on?
Cheers,
James

I think building using Docker is much more convenient than building from scripts, but of course the prerequisite is that users need to install Docker first :) Anyway, I think building from scripts is convenient enough at this stage, especially for users who do not have and do not want to install Docker.

Thanks for that!
I guess having the choice is what matters :)


Crash when use Fade building render

Forge 47.1.44 / OptiFine l6_pre6
It should be OpiFine's problem.
crash-2023-08-18_14.11.22-client.txt

Please try again without Optifine

Likely optifine related. Please re-open if you feel this is not the case


AudioNode.connectNode suppresses the return type introduced in later Chrome IDL

See https://github.com/dart-lang/sdk/issues/26740 and https://codereview.chromium.org/2118633002
In Chrome 46 connectNode has no return type, but in later versions it does. The method is in a template, so right now we manually suppress that return type. This will be broken as soon as we roll dart:html to a version that does have a valid return type. Adding this as a reminder, and assigning it an arbitrary future release where I think the roll should be done.

@rakudrama @floitschG

Are we planning to get this in for 1.19?

@terrylucas @alan-knight Ping?

Clearing milestone as this is a bit out (needs a new dartium roll)


[BUG] Windows Build fails with MSVC

The Issues section is for bugs only. For questions or feature requests, please use the Discussions section: https://github.com/RavEngine/RavEngine/discussions
Describe the bug
In configure I see some PhysX related errors which state "No error", so I ignore them:
[cmake] CMake Error at deps/physx/physx/source/compiler/cmake/windows/CMakeLists.txt:116 (FILE):
[cmake]   FILE COPY cannot find "/bin//win.x86_64.vc141.mt/checked/PhysXGpu_64.dll":
[cmake]   No error.

In the build I then receive the following errors:
[build] C:\Users\xyz\source\repos\RavEngine\deps\RGL\deps\ShaderTranspiler\src\ShaderTranspiler.cpp(541,13): error C2760: syntax error: 'sourceBuffer' was unexpected here; expected ';' [C:\Users\xyz\source\repos\RavEngine\build\deps\RGL\deps\ShaderTranspiler\ShaderTranspiler.vcxproj]
[build] C:\Users\xyz\source\repos\RavEngine\deps\RGL\deps\ShaderTranspiler\src\ShaderTranspiler.cpp(566,13): error C2760: syntax error: 'reflectionBuffer' was unexpected here; expected ';' [C:\Users\xyz\source\repos\RavEngine\build\deps\RGL\deps\ShaderTranspiler\ShaderTranspiler.vcxproj]
[build] C:\Users\xyz\source\repos\RavEngine\deps\RGL\deps\ShaderTranspiler\src\ShaderTranspiler.cpp(577,3): error C2059: syntax error: ';' [C:\Users\xyz\source\repos\RavEngine\build\deps\RGL\deps\ShaderTranspiler\ShaderTranspiler.vcxproj]
[build] C:\Users\xyz\source\repos\RavEngine\deps\RGL\deps\ShaderTranspiler\src\ShaderTranspiler.cpp(619,3): error C3536: 'compileWithNewDxc': cannot be used before it is initialized [C:\Users\xyz\source\repos\RavEngine\build\deps\RGL\deps\ShaderTranspiler\ShaderTranspiler.vcxproj]
[build] C:\Users\xyz\source\repos\RavEngine\deps\RGL\deps\ShaderTranspiler\src\ShaderTranspiler.cpp(619,3): error C2064: term does not evaluate to a function taking 0 arguments [C:\Users\xyz\source\repos\RavEngine\build\deps\RGL\deps\ShaderTranspiler\ShaderTranspiler.vcxproj]
(there are more errors, but these are the first that occur and I want to avoid to spam my whole build log in here)
To Reproduce
This happens in the vanilla RavEngine from master on windows. I have no local changes
System information

Target OS: Windows 11
Development OS: Windows 11
Engine commit number: b659474
Compiler (if applicable): MSVC C++ 17.9.2
Render backend (if applicable): none chosen

Configure and Build is performed with VS code

Thanks for the report! This is a known issue. There's a note on the readme about a workaround:

On Windows, you will need to run your initial configure twice before building (known bug).

Unfortunately I don't know why this happens, or how to fix it. All I know is that something in PhysX's cmake configuration is causing it. Any insight would be appreciated.

Ah I see, Previously I had an older MSVC version that complained about std::format not being supported. That hassled me a lot so after I finally updated the compiler, it is very possible that I forgot to configure twice.
Unfortunately I am not home this weekend so I don't have access to my windows computer. But I'll try it on monday then and also see if I can find out something about it :)
Thanks for the response ! I'm really looking forward to working with your engine :)

Hello Ravbug, apparently the problem was not a missing configure.
The first error hinted me that apparently the symbol "DxcBuffer" was not defined, so I installed the "gamedev for windows" extension for visual studio since I assumed previously I already had some DirectX version installed. This actually fixed the problem, I'd suggest to add this as a dependency to the readme since it doesn't list that.
I now get an exception on executing the samples however, though that would be an other issue. I'll first look into building everything with the vulkan backend since that was my preferred backend anyway :)


fix: Fix yaml files rendered for expression routes

Summary
At the moment, when we run deck file render, all routes get regex_priority field. This field is not applicable in the case of expression routes. A rendered file from deck containing expression routes, thus failed to sync directly.
This change ensures that expression routes do not get the fields of traditional routes.
Test for change added in separate branch.
Issues resolved
Fix #1250
Testing

[x] Unit tests
[ ] E2E tests
[ ] Manual testing on Universal
[ ] Manual testing on Kubernetes

Manually tested locally on Kong Gateway running via Docker. Tested this with both traditional router and expression router.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 41.23%. Comparing base (b601d2f) to head (467d2de).

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #116   +/-   ##
=======================================
  Coverage   41.23%   41.23%
=======================================
  Files          75       75
  Lines       10892    10892
=======================================
  Hits         4491     4491
  Misses       5937     5937
  Partials      464      464

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


[admin] server-side instantdb/core

Could we have @instantdb/core work on the server?
Right now, only the @instantdb/core supports subscriptions to queries and presence. If we could run it on the server, users could subscribe to queries and see presence there.
We could then fold @instantdb/core into the admin SDK, and make it even more powerful.

I'm considering using Instant for side projects related to information and data aggregation. I would like to be able to create server-side workers and/or callable functions (FaaS) to fetch data, and be able to:

restrict access to the database with permissions, for increased security
use Instant's built-in real-time features for communicating with browser clients, instead of using other channels.

Note that this is purely hypothetical for now, I have not started using Instant, I just had a look at the docs and part of the source code.

One note:
It's possible to use the admin SDK to query 'on behalf' of users. This is useful if you want permissions to run for queries and transactions:
https://www.instantdb.com/docs/backend#impersonating-users
@Exagone313 's case may be different though, depending on the nature of the FaaS

I'm glad this discussion is already open! Being able to run instantdb/core on the server is very interesting.
I'd like to run a simple Node, Bun or Deno server without any HTTP server. The server would subscribe to namespace changes and respond to those with additional writes. This would eliminate the need for HTTP endpoints.
I am interested in contributing for this, given that I've already started diving into both the admin and core code. Just not sure yet how to approach this optimally given there's multiple packages while keeping things DRY.

I looked into this as well, thinking about building a chat room where 1-N "bots" are listening to a conversation and potentially responding after sending it to an LLM and back. Thinking "multiplayer, multi-NPC chat"

@Exagone313 , you mentioned "data aggregation"
How would you count all the rows in a namespace, or by filter.
I cannot find the words aggregation, count or sum in the docs.
Considering it's a postgress database in the back, surely aggregation should be a thing.
If anything, that was the one thing where firebase fell flat.. (Firestore not as much). But still. How does one do that?
@stopachka . Aggregation?

I don't plan on using Instant for data aggregation by itself, but more as a mean of communication. Data aggregation will happen using other databases (or at least another connector if using the same PostgreSQL database). But I'm still not 100% sure about the implementation.

chiming in as well, it seems @instantdb/core does not work in a server bun or nodejs environment, so it is not currently possible to use joinroom and subscribePresence for chatbot or realtime game-related usage cases like what @timothyjoh mentioned.

A temporary workaround is to mock the browser globals in your Node runtime. For example, If you inject  global.window, global.document, and global.localStorage with the mock dom from a library like JSDom, the @instantdb/admin's joinRoom and subscribePresence should work.
We do hope for Node native support!


Support Python 3.12

Should be possible with the most recent numba release.
Need to

[ ] change pyproject.toml
[ ] update CI workflows to test on Python 3.12

Actually, this seems to work already, just the readme badge says otherwise.


test failure

tests fails with
========================================================================================================= short test summary info ==========================================================================================================
ERROR tests/test_installed_distributions.py::test_installed_distributions - AttributeError: module 'virtualenv' has no attribute 'create_environment'
ERROR tests/test_tests.py::test_isolation[True] - AttributeError: module 'virtualenv' has no attribute 'create_environment'
ERROR tests/test_tests.py::test_isolation[False] - AttributeError: module 'virtualenv' has no attribute 'create_environment'
ERROR tests/test_tests.py::test_all_the_right_pips - AttributeError: module 'virtualenv' has no attribute 'create_environment'

virtualenv is version 20.4.7

Hi, can you give me some more details about how you're running the test suite? E.g. if you're using tox, what version? What version of Python and pip? What platform are you on?
It's not clear to me why this would be failing, as the test suite doesn't directly call create_environment anywhere. In additon, the full suite run ran 3 days ago with virtualenv 20.4.7 and had no issues: https://github.com/di/pip-api/runs/2923642539

Full log here: https://gist.github.com/3b8dcb7f3afee58bfdc311a275d1aa10
I'm packaging pip-api for the gentoo overlay guru.
Python version doesn't matter, it fail with every python (pypy3, 7, 8, 9, 10)
platform linux -- Python 3.7.10[pypy-7.3.4-final], pytest-6.2.4, py-1.10.0, pluggy-0.13.1 -- /usr/bin/pypy3
______________________________________________________________________________________________ ERROR at setup of test_installed_distributions ______________________________________________________________________________________________

tmpdir = '/var/tmp/portage/dev-python/pip-api-0.0.14/temp/pytest-of-portage/pytest-0/test_installed_distributions0', isolate = None

    @pytest.yield_fixture
    def venv(tmpdir, isolate):
        """
        Return a virtual environment which is unique to each test function
        invocation created inside of a sub directory of the test function's
        temporary directory.
        """
        venv_location = os.path.join(str(tmpdir), "workspace", "venv")
>       venv = virtualenv.create_environment(venv_location)
E       AttributeError: module 'virtualenv' has no attribute 'create_environment'

isolate    = None
tmpdir     = '/var/tmp/portage/dev-python/pip-api-0.0.14/temp/pytest-of-portage/pytest-0/test_installed_distributions0'
venv_location = '/var/tmp/portage/dev-python/pip-api-0.0.14/temp/pytest-of-portage/pytest-0/test_installed_distributions0/workspace/venv'

tests/conftest.py:88: AttributeError

It looks like you're using an old version of this library with a version of virtualenv it didn't support. This was fixed in https://github.com/di/pip-api/commit/d7f5fc9f182ab99d3b84da253ff0584dc67cc6a2, and prior to that change it pinned virtualenv<20 in the test suite, so this issue shouldn't be possible.

I'm using the latest tagged version 0.0.14

Still shouldn't be an issue with that tag, but I've gone ahead and pushed tags for 0.0.17 through 0.0.20 as well.


growable ringbuffer

A wrapper around VecDeque with all ringbuffer traits implemented.
The reason it's a wrapper, is that RingBufferExt requires Index instead of Index which is something we cannot just override for the built in type.

The reason it's a wrapper, is that RingBufferExt requires Index instead of Index

How do you mean "Index instead of Index", isize instead of usize? In any case also add the reasoning for the wrapper in a doc comment somewhere


Invalid link in README

The Readme file contains an invalid hyperlink to the book: https://mitpress.mit.edu/9780262329576/.

Confirm


Support tagging transit gateway attachements in centralised network account

Is your feature request related to a problem? Please describe.
Currently when you tag a transit gateway attachment with LZA it tags the attachment in the account where the attachment is created. If you are operating with a centralised network account where the transit gateway lives, this means that any transit gateway attachments that are created outside of the centralised network account will not be tagged in the network account making it difficult to identify attachments when looking in the console.
Describe the feature you'd like
A toggle similair to the applyTags option that exists for the transit gateway peering configuration that would enable the transit gateway attachment to be tagged in both the centralised network account and the account in which the attachment was created.

Hello @zakbatinica-reply, and thank you for filing a feature request with the LZA team! I have placed an internal feature request on your behalf that the team will evaluate for a future release.
We highly appreciate your interest and support of the solution!


PAI needs syndie + Centcom channels removed

https://github.com/space-wizards/space-station-14/pull/9375 wasn't updated yet.

ope


⚠ Bofrost.at has degraded performance

In 9fedf98, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2281 ms

Resolved: Bofrost.at performance has improved in 0571a88.


Spelling corrections.

New to Abot, was exploring the code for a bit and thought I might as well fix some spelling errors in the comments, because why not :D

Appreciate the contribution.


Align player count

It's impossible for this number to be 8 characters long due to commas.

It should have been 9 if it went to millions, but yeah I don't think that's gonna happen.


Flutter APK file crashes when started on mobile device

Hi, Flutter team!
I wanted to bring an issue to your attention that I've been experiencing lately. My build APK isn't opening on my phone properly. Whenever I tap the app icon, it opens for a moment and then crashes immediately. Additionally, when I run the command "flutter build apk --release" in the console, I receive several errors indicating a problem with the Kotlin version.
The error:
 C:/Users/�����/.gradle/caches/transforms-3/99c39af4f8a8c6bb15f38e76173c7613/transformed/jetified-firebase-analytics-ktx-21.3.0-api.jar!/META-INF/java.com.google.android.libraries.firebase.firebase_analytics_ktx_granule.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.

FAILURE: Build failed with an exception.

* What went wrong:
Execution failed for task ':app:compileReleaseKotlin'.

As you can see I am also using firebase.
I have attached the content of my gradle files.
Please write me back if there is anything I can provide you with.
build.gradle.txt
app_build.gradle.txt

Hi @Vlxdi
It looks like an issue with Gradle. Does the issue persist when running in release mode? If so, can you share the complete output of flutter run --release -v?

Hi @Vlxdi It looks like an issue with Gradle. Does the issue persist when running in release mode? If so, can you share the complete output of flutter run --release -v?

I can run the program in a web browser (Edge) without issues, I could also run it on a windows application but not anymore since firebase does not support it. However here is the output you asked for:
[   +2 ms] executing: [C:\src\flutter/] git -c log.showSignature=false log -n 1 --pretty=format:%H
[  +50 ms] Exit code 0 from: git -c log.showSignature=false log -n 1 --pretty=format:%H
[        ] 796c8ef79279f9c774545b3771238c3098dbefab
[        ] executing: [C:\src\flutter/] git tag --points-at 796c8ef79279f9c774545b3771238c3098dbefab
[  +76 ms] Exit code 0 from: git tag --points-at 796c8ef79279f9c774545b3771238c3098dbefab
[        ] 3.10.5
[   +2 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref HEAD
[  +39 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD
[        ] stable
[  +29 ms] executing: [C:\src\flutter/] git rev-parse --abbrev-ref --symbolic @{upstream}
[  +40 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{upstream}
[        ] origin/stable
[        ] executing: [C:\src\flutter/] git ls-remote --get-url origin
[  +39 ms] Exit code 0 from: git ls-remote --get-url origin
[        ] https://github.com/flutter/flutter.git
[  +87 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterWebSdk' is not required, skipping update.
[   +2 ms] Artifact Instance of 'WindowsEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.
[  +59 ms] executing: c:\android\sdk\platform-tools\adb.exe devices -l
[  +48 ms] List of devices attached
[   +5 ms] Artifact Instance of 'AndroidGenSnapshotArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'AndroidInternalBuildArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'IOSEngineArtifacts' is not required, skipping update.
[   +8 ms] Artifact Instance of 'MacOSEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxEngineArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'LinuxFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'MacOSFuchsiaSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerSDKArtifacts' is not required, skipping update.
[        ] Artifact Instance of 'FlutterRunnerDebugSymbols' is not required, skipping update.

@Vlxdi
It looks like an issue / version compatibility between analytics version as the log shows:
firebase_analytics_ktx_granule.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.
Please follow along the message and try to change the firebase_analytics_ktx_granule.kotlin_module version. You can search for same on support channels like StackOverflow to get some ideas.

Whenever I search, everybody says that I should change "ext. kotlin_version" but my version is already set to 1.8.0, I tried changing it to 1.6.0 but then i get an error saying that my project requires newer version of kotlin. I don't know what to do at this point. I also tried adding implementation group: 'com.google.firebase', name: 'firebase-analytics', version: '21.3.0' instead of implementation 'com.google.firebase:firebase-analytics-ktx and at first I got no issues but then i installed the app and it still didn't opened.

@Vlxdi
In order to properly address / pinpoint the cause of the issue, I suggest you to segregate firebase implementation from your project and try again to build the apk and check if the reported error still occurs or not. This is to confirm / isolate the issue from firebase. That way we can try to narrow down to the cause of the issue.

I segregated firebase from the project and now when I run flutter build apk --relase. The terminal returns:
e: C:/Users/�����/.gradle/caches/modules-2/files-2.1/androidx.annotation/annotation-jvm/1.6.0/a7257339a052df0f91433cf9651231bbb802b502/annotation-jvm-1.6.0.jar!/META-INF/annotation.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/�����/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.22/636bf8b320e7627482771bbac9ed7246773c02bd/kotlin-stdlib-1.8.22.jar!/META-INF/kotlin-stdlib-jdk7.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/�����/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.22/636bf8b320e7627482771bbac9ed7246773c02bd/kotlin-stdlib-1.8.22.jar!/META-INF/kotlin-stdlib.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/�����/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib/1.8.22/636bf8b320e7627482771bbac9ed7246773c02bd/kotlin-stdlib-1.8.22.jar!/META-INF/kotlin-stdlib-jdk8.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0. e: C:/Users/�����/.gradle/caches/modules-2/files-2.1/org.jetbrains.kotlin/kotlin-stdlib-common/1.8.22/1a8e3601703ae14bb58757ea6b2d8e8e5935a586/kotlin-stdlib-common-1.8.22.jar!/META-INF/kotlin-stdlib-common.kotlin_module: Module was compiled with an incompatible version of Kotlin. The binary version of its metadata is 1.8.0, expected version is 1.6.0.

@Vlxdi
Check this and see if it helps in your case or not.

Please provide us a sample repo with minimal code including only relevant details that are enough to trigger the error you are getting, so that we can clone it and verify at our end and to properly address this issue.

Please provide us a sample repo with minimal code including only relevant details that are enough to trigger the error you are getting, so that we can clone it and verify at our end and to properly address this issue.

I have invited you as a collaborator in my repo, I hope it contains the needed information

I cloned the repo but it seems it isn't in proper structure, as while trying to run, it looks for lib/main.dart but there's directly main.dart. I could try to copy all in a sample app and move files to it but it'll be a bit time consuming.
Also, meantime, please check if this is useful or not.

I tried adding those dependencies and the compose version as well. I tried with the copy paste version then i change it to 1.4.0, 1.6.0, and 1.8.0 . But it seems like it didn't change anything.

@Vlxdi It's possible that you changed the Kotlin versions when using some plugin (just an assumption).
I recommend you migrate your code to the new project one by one and observe if the issue still persists. If it's not a Flutter issue, feel free to close this issue and search for it on StackOverflow to have more ideas.

@Vlxdi It's possible that you changed the Kotlin versions when using some plugin (just an assumption).
I recommend you migrate your code to the new project one by one and observe if the issue still persists. If it's not a Flutter issue, feel free to close this issue and search for it on StackOverflow to have more ideas.

i already tried migrating to a new proeject and I'm sure it is something just with the gradle files. As for the kotlin version is still the newest one I checked.

I migrated the project again and removed the firebase, still got the issue though, that means is probably something in the code

Could you share these file contents? Or could you invite me to your current minimal sample project that is having the issue?

/android/build.gradle
/android/app/build.gradle
/android/gradle/wrapper/gradle-wrapper.properties

huycozy

I have invited you. The repository provides everything you said.

Thanks but it's not a proper project structure. You are also using some 3rd party packages so it doesn't make sure the issue can be caused by one of them.
I would suggest you create a new Flutter project, then add package/widget/settings(gradle/kotlin) one by one until you can reproduce the crash consistently. And then share that project so I can investigate it on my end.

The problem comes with firebase. I tried making new project and adding all of my previous code and i had no problems installing it and opening it on my phone.

@Vlxdi I tried creating a new Flutter project and importing the same Firebase plugin as yours but can't reproduce this issue. It could be an issue with your local Gradle cache as well. You can try to clear and download again (see this SO answer for steps to do)
Since this is not a Flutter issue, I will close this issue from here. Your question is best suited for support channels like StackOverflow, so please ask the same there for solutions if any.

@Vlxdi I tried creating a new Flutter project and importing the same Firebase plugin as yours but can't reproduce this issue. It could be an issue with your local Gradle cache as well. You can try to clear and download again (see this SO answer for steps to do)
Since this is not a Flutter issue, I will close this issue from here. Your question is best suited for support channels like StackOverflow, so please ask the same there for solutions if any.

I had deleted my cache multiple times but at least it worked for you


SyntaxError: 'return' outside of function

I'm packaging a express application. I get
$ yackage --platform win32 --arch ia32 --app-dir /Users/loretoparisi/Documents/Projects/webapp/  build out

events.js:183
      throw er; // Unhandled 'error' event
      ^
SyntaxError: 'return' outside of function
    at JS_Parse_Error.get (eval at <anonymous> (/usr/local/lib/node_modules/yackage/node_modules/uglify-es/tools/node.js:21:1), <anonymous>:75:23)

Fixed with https://github.com/yue/yackage/commit/3947bce1bd4f8288ec4b6b864d7c34ac9c7dca5d in v0.1.2.

@zcbenz thanks! I have installed $ yackage -V v0.1.3, and I have tried to run again
$ yackage build out

events.js:183
      throw er; // Unhandled 'error' event
      ^
SyntaxError: Unterminated string constant
    at JS_Parse_Error.get (eval at <anonymous> (/usr/local/lib/node_modules/yackage/node_modules/uglify-es/tools/node.js:21:1), <anonymous>:75:23)

Normally I saw this error when using standard uglify (not the ES one) due to ECMA6 compatibility, but I can see that you are using uglify-es, so this should not be the problem.
I'm using $ uglifyjs -V uglify-es 3.3.9 and it works fine with my javascript files, so it should work with yackage as well I think.

It is probably from some dependencies used in your code, I'll add some debug information.

@zcbenz how can add more debugging info?

Yackage works by packing the app with npm pack first, it seems that the submodules are not included by your app's package.
See also https://github.com/yue/yackage#how-yackage-works.

@zcbenz ok it makes sense! How to package my submodules then within the app?

@zcbenz hello, I was able to fix the submodules path issues, using local submodules (file directive in the package.json file). Thanks for your help.


refactor: please consider anything that doesn't need to internal packages

Please exprime yourself
Go internal packages allows to isolate code and easy refactoring without having to wonder if someone using directly and exported thing.
Code of Conduct

[x] I agree to follow this project's Code of Conduct

Hi @ccoVeille, what do you mean?
Do you have something specific in mind or any examples?
I’m asking because internal is already used for all "no-template" exported functions (like helpers used across multiple registries), and helpers are not exported outside the registry package.

For me pesticide and deprecated should at least be in internal.
And I wonder if registry couldn't

pesticide can be used by the registry developer outside the sprout project.
deprecated is scheduled to be removed in v1.1. In my opinion, we can leave it here for now.

Registry and Group must not be internal because, if they are, nobody will be able to import and use them.

OK then. For now, it's OK I assume


[TCH-576] Connect Http and Https Transport

This adds the connect transport using the Node.js http and https package for clients.

@timostamm https server and https + connect-go test have been added


PowerToys opens in Windows's tray and show a bug reporting request when clicking on its icon in Start Menu.

[ 2021-03-05.txt
ℹ Computer information

PowerToys version: v0.33.1
PowerToy Utility: ?
Running PowerToys as Admin: No
Windows build number: 20H2 build 19042.844

📝 Provide detailed reproduction steps (if any)

I open PowerToys by clicking on the shortcut of PowerToys in Start Menu.

✔ Expected result
What is the expected result of the above steps?
PowerToys is opened.
❌ Actual result
What is the actual result of the above steps?
A bug reporting request appeared, but it is started in tray space. If I click on PowerToys icon of the tray, it opens itself.
📷 Screenshots
Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the [form](url )

Hi @dcaondyer
Are you still experiencing the issue with the latest version of PowerToys?
/needinfo


How is your retrieval recall calculated

How is your retrieval recall calculated

You can see the code here metrics/support_em_f1.py. A majority of the code there is taken from the HotpotQA's repository.