Semaphore V4

Description

This PR updates the Semaphore codebase based on the findings from the analysis and research period described in the research repository.
The only supported tree depth is 10 at the moment. Another PR (based on issue https://github.com/semaphore-protocol/semaphore/issues/482) will be created to support a tree depth range from 1 to 32.
This is not the final version of the PR. The tasks that will follow are listed below. However, an initial review is necessary before proceeding.
ZK circuits

The identity trapdoor and identity nullifier have been replaced with a single value, the private key, from which an EdDSA public key is derived. The Poseidon hash of the public key is the new identity commitment.
Some input and output names in the circuits have been changed.

External Nullifier → Scope
SignalHash → Message
NullifierHash → Nullifier
Siblings → Tree Siblings
Path Indices → Tree Indices

The new circuit uses Anonymous Components to make the code clearer and more concise (24 lines of code without comments, rather than 90).
The circuit used to calculate the Merkle tree root is now part of an external package (@zk-kit/circuits - BinaryMerkleRoot) and supports dynamic depths.
Circomkit has been used for tests and scripts
The new circuit will be published on NPM (@semaphore-protocol/circuit)

JS libraries

The core Semaphore libraries have been updated to support the new LeanIMT data structure and the new V4 circuits.
The identity library now supports the generation of public/private keys using EdDSA and Baby Jubjub, as well as signatures.
The group and proof libraries have been greatly simplified.
The proof library now automatically downloads wasm/zkey artifacts on browsers and also on NodeJS.
JS tests have been moved outside the src folder. A new tests folder has been created for them.
@semaphore-protocol/heyauthn tests have been updated to support the new core libraries
@semaphore-protocol/hardhat has been updated to support the new contracts

Solidity contracts

The contracts have been updated with the new LeanIMT.
SemaphoreGroups.sol has been adapted to the new data structure, which does not require zero nodes and has a static depth.
SemaphoreGroups.sol now also manages access to functions (group admins).
The verifier has been updated with the latest version of the template provided by SnarkJS.
The VerifiedProof event now includes all the parameters of the proof, allowing anyone to verify the proof off-chain (https://github.com/semaphore-protocol/semaphore/issues/328).

Related Issue

Closes #357
Does this introduce a breaking change?

[x] Yes
[ ] No

Other information
Next tasks
Before merging this PR to the main branch it is necessary to work on other tasks, which will be merged to this branch first.

https://github.com/semaphore-protocol/semaphore/issues/482
https://github.com/semaphore-protocol/semaphore/issues/481
https://github.com/semaphore-protocol/semaphore/issues/329
https://github.com/semaphore-protocol/semaphore/issues/483
https://github.com/semaphore-protocol/semaphore/issues/484
https://github.com/semaphore-protocol/semaphore/issues/485
Create a new subgraph for Semaphore V4 contracts
Update @semaphore-protocol/data
Update CLI package and its templates

Regarding the Merkle Tree circuit:

When the parent of an element is itself.

Example: tree with members 1, 2, 3, 4, 5 and the index 4 which is the element 5.
This issue is related to this other issue: Generating the path indices for the merkle proof (https://github.com/semaphore-protocol/semaphore/blob/feat/semaphore-v4/packages/proof/src/generate-proof.ts#L46-L52).

The path indices and siblings are not correct.

When the depth of the circuit is the same as the MAX_DEPTH.

To solve this we could add something like this code before out <== root; at the end.var a = IsEqual()([depth, MAX_DEPTH]);

roots[MAX_DEPTH] <== a * nodes[MAX_DEPTH];

root += roots[MAX_DEPTH];

Issues regarding the Merkle Tree circuit:

1. When the parent of an element is itself.

What happens exactly? Could you add a test for it, or share the code you used here?

2. When the depth of the circuit is the same as the MAX_DEPTH.

Good catch! I feel like this should be done here: https://github.com/privacy-scaling-explorations/zk-kit/blob/main/packages/circuits/circom/binary-merkle-root.circom. What do you think?

@cedoor Yes, sure, I will create an example of test for it. Some changes should be in the zk-kit package and others in the semaphore proof package.

When the parent of an element is itself.

Actually, this issue is related to variable naming in the Merkle Tree circuit because the name depth works for the IMT but not for the LeanIMT.
A test case could be to use the leaves:
BigInt(1), BigInt(2), BigInt(3), BigInt(4), BigInt(5)

And generate the merkle proof of the position 4.
Replace this part (https://github.com/privacy-scaling-explorations/zk-kit/blob/main/packages/circuits/tests/binary-merkle-root.test.ts#L12-L20) with this:
    const leaf = BigInt(5)

    for (let i = 1; i < 6; i += 1) {
        tree.insert(BigInt(i))
    }

    const { siblings, index } = tree.generateProof(4)

With that, the test will not pass.
To pass the test, we can add const siblingsLength = siblings.length here:
    const indices: number[] = []
    const siblingsLength = siblings.length

    for (let i = 0; i < MAX_DEPTH; i += 1) {
        indices.push((index >> i) & 1)

        if (siblings[i] === undefined) {
            siblings[i] = BigInt(0)
        }
    }

And update the input:
    const INPUT = {
        leaf,
        depth: siblingsLength,
        indices,
        siblings
    }

To solve this issue, I think that it is better to change the name of the variable depth here and use another to refer to the siblings' length.

@vplasencia

Actually, this issue is related to variable naming in the Merkle Tree circuit because the name depth works for the IMT but not for the LeanIMT.

The LeanIMT works a bit differently compared to the old IMT. The Merkle proof could contain a different index and number of siblings due to the tree properties. The variable name should still be depth tho in my opinion, as most cases it is the tree depth, and in some cases, it's the sibling list length.
The @semaphore-protocol/proof package uses the actual depth, and the sibling list length sometimes: https://github.com/semaphore-protocol/semaphore/blob/406bbc4f7d99fa8f1f56fccd5075b5c44127141f/packages/proof/src/generate-proof.ts#L33

@cedoor
Regarding this:
https://github.com/semaphore-protocol/semaphore/pull/480#issuecomment-1875110428
I like this proposal 👍.


About the results reported in the paper

Thanks a lot for your wonderful work! I'm curious about the results the state-based DMC reported in Fig.5 of the paper. Are there raw numerical results of baselines an BeCL so that we can follow your results to draw similar figures? Thanks a lot!

After completing the experiments, I mainly preserved the figures in papers and did not separately save the raw numerical data (in old cluster). However, the complete code has been provided, and you can use it to reproduce the experimental results.
If you encounter any issues while reproducing the experimental results. Please don’t hesitate to let me know. I’ll do my best to assist you.


Unable to load the Whisper model Aconnection error occurred.Pleaselretry or check the application logs for more inforrmationa

Related to https://github.com/chidiwilliams/buzz/issues/183?

I hope it can be installed and used on a computer without Internet

这是来自QQ邮箱的假期自动回复邮件。您好，我最近正在休假中，无法亲自回复您的邮件。我将在假期结束后，尽快给您回复。

I hope it can be installed and used on a computer without Internet

Yes, you only need to install the model once.


className is not assigned to Cursor in chart

Which package has an issue?
@yamada-ui/react
Package Version
1.3.3
Description
use-chart-tooltip.ts
      cursor: {
-        className: cursorClassName,
+        className: cx("ui-chart__cursor", cursorClassName),
      },

Link to Reproduction
No response
Steps to Reproduce

Go to '...'
Click on '...'
Scroll down to '...'
See error

Browser
None
Operating System

[ ] macOS
[ ] Windows
[ ] Linux

Do you know how to fix the issue?
None
Are you willing to participate in fixing this issue and create a pull request with the fix?
None
Additional Information
No response

i wanna do it

@xBlackTea
Thank you, comment.
I'll assign this issue to you.


Empty param in project.xml causes Error: null

Expected Behavior
Running
dita.bat --project=project.xml --verbose --debug
When a param in the project.xml is empty and this is not allowed (is it?), the error message should describe what the problem is
Actual Behavior
Running the above command returns:
Searching for integrator.xml ...
Error: null

Steps to Reproduce
In the project.xml, in <deliverable> -> <publication>, provide an empty param:
         <param name="the_name_of_the_param" value=""/>
Environment

DITA-OT version: 3.6.1
Operating system and version: Windows
How did you run DITA-OT? dita.bat
Transformation type: custom

I just ran into this as well on Linux, so it's platform-independent


Add Debian 12 support

Pull Request (PR) description

This Pull Request (PR) fixes the following issues

yes, the debian puppet package doesn't contain the core modules. They are packaged as dedicated packages and puppet doesn't depend on them :(. IMO this is a bug in the package.

I'd install puppet-module-puppetlabs-augeas-core in spec/setup_acceptance_node.pp:
if fact('os.name') == 'Debian' and !fact('aio_agent_version') {
  package { 'puppet-module-puppetlabs-augeas-core"
    ensure => present,
  }
}


Upgrade to RayGUI 3.5

For two years now, the D version of RayGUI has been at raygui-3.5-dev, not even an actual release! Fortunately, that's fixed now. I've done the edits to reflect all the changes that were made to RayGUI between the time the current D version was written and the release of 3.5.
I have tested that everything works with both the example provided and my own game. While this isn't downright everything, I went through everything thoroughly enough to doubt that there will be any compatibility problems.
GuiTextBoxMulti was a function in RayGUI at during the development of version 3.5, but it ended up being commented out of the final release. However, it has been here in the D version for two years. Therefore, I've decided to label it "deprecated".
raygui is now listed as a subpackage so that later on multiple configuration options can be added. However, I didn't manage to remove source/raygui.d from the main package without a build error in the example, so it remains. Therefore, everything as of now should cause zero breaking changes.

I wasn't sure what to edit in generating.md, since this new version wasn't made using Dstep, but by looking at the git comparison of RayGUI between the time the D translation was written and the release. I plan to also do this for version 3.6, and possible 4.0, which may make those instructions irrelevant.

Thank you! I will have a look at this at some point. I've not used raygui so as long as the thing compiles, I'm tempted to just merge it.
It is OK to have breaking changes but only when a new raylib is released. I'm thinking instead of making this a subpackage, we can make it a standalone package. That way its updates are not dependent on raylib-d (and indeed raygui is developed separately from raylib)

Thank you! I will have a look at this at some point. I've not used raygui so as long as the thing compiles, I'm tempted to just merge it.

Sure. Go ahead. I don't think you'll get any complaints.
I'm thinking instead of making this a subpackage, we can make it a standalone package. That way its updates are not dependent on raylib-d (and indeed raygui is developed separately from raylib).
Well, I suppose that can be worth doing, as it allows separate versions of Raylib-D and RagGUI to be specified in the DUB dependencies. Before I was planning to have a RayGUI subpackage with different configurations for version 3.6 and version 4.0, but after thinking about it, having a separate package would probably be better. If you choose to make a new package, I recommend doing it rather soon, so that you can put out a release of RayGUI-D 3.5 before I submit 3.6.
Or should I attempt to start it? I've never submitted a package to DUB before, but I suppose I can setup the GitHub repository.
It looks like there is only one RayGUI package on DUB right now, called draygui, but it's only a binding, so I think "RayGUI-D" would be the most appropriate name.

Ugh, I need to review this, sorry for the delay.

Doing a new release for 5.5, and going to look into removing raygui and making its own package.


Adjust for newer glibc on sparc64

This commit removes special cases for sparc64 which caused test failures on a sparc64
system (Debian, glibc 2.28). With these changes, the ABI tests pass except for the
known test failure from #1080

Thanks for the pull request, and welcome! The Rust team is excited to review your changes, and you should hear from @gnzlbg (or someone else) soon.
If any changes to this PR are deemed necessary, please add them as extra commits. This ensures that the reviewer can see what has changed since they last reviewed the code. Due to the way GitHub handles out-of-date commits, this should also make it reasonably obvious what issues have or haven't been addressed. Large or tricky changes may require several passes of review and changes.
Please see the contribution instructions for more information.

@bors: r+

:pushpin: Commit 86e63116ecd54a32c93e05f5584a30023192216f has been approved by alexcrichton

:hourglass: Testing commit 86e63116ecd54a32c93e05f5584a30023192216f with merge 6a6d1af530c56fe9d3272e6604c43463144138ff...

The CI failure is most likely due to an older libc version (Debian libc6-dev-sparc64-cross 0.24.x) compared to the host I created this patch for (Debian libc6-dev 0.28-3). How do we decide the target libc version for the libc crate?
As long as the reference versions on sparc64 stay unchanged, this PR is unneccessary. I made it because cargo test failed on the sparc64 system I use to create a different PR that is not yet ready.

Do we need this commit to fix any failures on Debian sparc64 unstable with glibc 2.28?

Yes, as I said, it fixes all test failures (compiler warning that purposedfully gets escalated to an error for a member of utmpx and several outdated constants for netfilter stuff) that currently occur on Debian sparc64 unstable, except for one netfilter-related test failure that already has its own issue: #1080.

Well, this is about libc ABI tests, not about rustc tests. AFAIK libc ABI tests are not part of ./x.py test. It does not fix any of them.

How do we decide the target libc version for the libc crate?

Historically we have chosen it "as old as possible" to be as compatible with as many libc versions as possible, but we have slowly moved to "as new as possible" because some things like consts (C enums, macro values, etc.) do change across libc versions in some OSes often.
If you need a newer libc version here, just update it as part of this PR.

Agreed with @gnzlbg we can just update libc in this repo's CI (which is installed here) and that should do the trick!

:umbrella: The latest upstream changes (presumably #1217) made this pull request unmergeable. Please resolve the merge conflicts.

@karcherm could you check if these issues persist with libc master branch ?

@gnzlbg I think what needs to be done first is switching the CI to use a newer Debian sparc64 image from https://cdimage.debian.org/cdimage/ports/. I'm the person at Debian responsible for creating these images, so it's probably best when I send the PR for that to avoid pointing to links that might get moved.

@glaubitz I did that as part of #1337 (IIRC I updated to the latest image available there).

@gnzlbg Okay, the 10.0 image you are using is reasonably new enough, I will overwrite it at some point with a new 10.0 one when Debian Buster is officially released.
Then @karcherm should be able to rebase and push his changes which require the CI to use the newer image.

Okay, the 10.0 image you are using is reasonably new enough, I will overwrite it at some point with a new 10.0 one when Debian Buster is officially released.

That would be awesome.

:lock: Merge conflict
This pull request and the master branch diverged in a way that cannot be automatically merged. Please rebase on top of the latest master branch, and let the reviewer approve again.
How do I rebase?
Assuming self is your fork and upstream is this repository, you can resolve the conflict following these steps:

git checkout update-sparc64 (switch to your branch)
git fetch upstream master (retrieve the latest master)
git rebase upstream/master -p (rebase on top of it)
Follow the on-screen instruction to resolve conflicts (check git status if you got lost).
git push self update-sparc64 --force-with-lease (update this PR)

You may also read Git Rebasing to Resolve Conflicts by Drew Blessing for a short tutorial.
Please avoid the "Resolve conflicts" button on GitHub. It uses git merge instead of git rebase which makes the PR commit history more difficult to read.
Sometimes step 4 will complete without asking for resolution. This is usually due to difference between how Cargo.lock conflict is handled during merge and rebase. This is normal, and you should still perform step 5 to update this PR.

Error message
Auto-merging src/unix/notbsd/linux/other/mod.rs
CONFLICT (content): Merge conflict in src/unix/notbsd/linux/other/mod.rs
Automatic merge failed; fix conflicts and then commit the result.

I'll take care of that.

I just had a look at the patch and it looks like most of @karcherm 's changes are already in.
The only thing where the current code disagrees with @karcherm 's code is NFT_MSG_MAX which @karcherm has explicitly set to 22 while the current code uses 25.

The 25 is verified against the debian version used in CI, which is technically the only one that we fully-support. It should be forward compatible with newer kernel versions, but not with older versions.

FYI I'm closing this PR, it appears that most changes are in. Feel free to reopen or submit a new PR for newer changes.

The 25 is verified against the debian version used in CI, which is technically the only one that we fully-support. It should be forward compatible with newer kernel versions, but not with older versions.

Okay, makes sense then. Thanks for having taken care of this.


iOS pdf viewer

Is there any intention to do the iOS pdf viewer?

If you can buy me a mac, sure!
Anyway, I believe @The-Redhat has solved it in his local testing but he doesn't have the time to integrate it into this plugin
(You can follow our discussion here].

Jeje, that's why i hate apple and love Android, you can develop in any
platform.
Thanks for the info!
El lun., 30 jul. 2018 a las 19:25, Dev Aggarwal<EMAIL_ADDRESS>escribió:

If you can buy me a mac, sure!
Anyway, I believe @The-Redhat https://github.com/The-Redhat has solved
it in his local testing but he doesn't have the time to integrate it into
this plugin
(You can follow our discussion here
https://github.com/flutter/flutter/issues/15406#issuecomment-405162195].
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pycampers/flutter_pdf_viewer/issues/2#issuecomment-409031850,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS_KXs08FCmsUTOuBVcaEJ69xibcOpY5ks5uL4fLgaJpZM4VnRP7
.

--
Eugenio Tesio
Zetus - Soluciones Empresariales
División* Sistemas*
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>(+549) 3564-15-599945
San Francisco - 2400
Pcia de Córdoba - Arge**ntina
Google MyBusiness http://zetus-soluciones.negocio.site/

Looking forward for iOS Support too. Is there anyone who can help us?

@albo1337 I'll try merging the IOS part on my freind's mac. Can you please check if there are night mode, password and horizontal scroll options available on the iOS side?

@devxpy The problem is that I currently don't have my MacBook with me and I'm for 1 Month out of home... But as far as I know I did not implement the nightmode or the password functionality for iOS

Just to let you know: I am using the standard webview in iOS to display pdf.

Hi NullPointer, i used this package to display a downloaded pdf, i don't
know if is you case https://pub.dartlang.org/packages/open_file
El jue., 11 oct. 2018 a las 8:00, NullPointer<EMAIL_ADDRESS>escribió:

Just to let you know: I am using the standard webview in iOS to display
pdf.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/pycampers/flutter_pdf_viewer/issues/2#issuecomment-428912854,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AS_KXpSF7G6HwM-OVxhXeHMHWdIUwCfFks5ujyTPgaJpZM4VnRP7
.

--
Eugenio Tesio
Zetus - Soluciones Empresariales
División* Sistemas*
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>(+549) 3564-15-599945
San Francisco - 2400
Pcia de Córdoba - Arge**ntina
Google MyBusiness http://zetus-soluciones.negocio.site/

@ eugenio-tesio This plugin is for viewing pdf inside the app itself, instead of opening the file in a different app

@albo1337

standard webview

I don't feel like that's acceptable at all. We already have flutter_webview_plugin for showing thing inside a webview.
This plugin is intended to show PDFs inside of a native pdf viewer.

Well iOS has the possibility to show pdf's in webview without external libraries. Why not showing it in a webview? Android can't so we had to implement a workaround for Android only.

Android also has the ability to show webviews without any external library.
My point was -- what's the use of this plugin if all it does is show stuff in a webview?
Webviews are a mediocre experience at best. Try loading very large PDFs and the webview will probably lag really bad.
You also, cannot load a webview from raw bytes without touching the filesystem, something which is important when dealing with sensitive documents. (Correct me if this doesn't apply to iOS)

@albo1337 Are you aware of a solution on iOS that does not display in a web view?

If I find some time I'm going to research how to implement this in our solution @devxpy . I keep you updated

If I find some time I'm going to research how to implement this in our solution @devxpy . I keep you updated

Hi @albo1337 , is there any update on this request? I recently came across this package which says it supports iOS, it also supports appbar. https://pub.dartlang.org/packages/flutter_full_pdf_viewer

@l-k22 And I wish apple stopped their monopoly of compilers and just let us do our work 😕

@l-k22 It's impossible for me, because the native PDF viewer I used doesn't support it.
Refer https://github.com/barteksc/PdfiumAndroid/issues/1 for more.
@albo1337 Would probably be able to integrate such a feature, because he's using a webview IIRC. Given that apple would allow trivial access to text rendered on webview :)

@devxpy  I'd like to help with the IOs part. If you could help me getting started with which libraries to use or and which features are important.
I have access to a Mac and I'd like to use this library in one of my projects. If there is anything I could do, I'd be glad to help.

@devxpy that's some good news ^^. Hope you have fun with your Mac ^^

@devxpy How's it going :D

@MaskyS Kinda stuffed with work with the sponsor. The ios pdf is definitely on our roadmap, please give me some time.

@devxpy I have a mac and I can help if you want.


ERROR: Method 'stop:' not defined in Plugin 'SpeechRecognition'

I don't see any 'stop' method defined in src/ios/SpeechRecognition.m, so my code won't work. I am copying example 3 from here:
https://dvcs.w3.org/hg/speech-api/raw-file/tip/speechapi.html#examples
How do I solve this error?

Sorry for not answering before.
I thought I put on the readme that iOS only supports start and onresult right now, but I can't find it, so I might have forgoten
Right now it can be canceled with a native button that appears while the recognition screen is present, but can't be canceled from code yet.


Update version number for spring-cloud-azure-eventhubs-stream-binder

Feedback from customer via @wxwr.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 0f685fa4-079e-19b2-9926-7eec807e3f43
Version Independent ID: 612f907e-2e5a-9188-8d10-1c54334c97ad
Content: How to create a Spring Cloud Stream Binder application with Azure Event Hubs
Content Source: articles/java/spring-framework/configure-spring-cloud-stream-binder-java-app-azure-event-hub.md
Service: event-hubs
GitHub Login: @bmitchell287
Microsoft Alias: brendm

Topic has been updated.


how do I set the line width of homologous block

Hi Manish,
I find that the gray line representing SYN has a different width from the INV(yellow line)or DUP/TRANS, although they're all in the ~ 5Kb range.
So，how do I set the line width of homologous block for improving visualization？
thanks very much!

Currently, there is no parameter to adjust this. The values were selected for optimising visualisation at megabase scale, but I can imagine that they may not be optimal for very zoomed in visualisation. I would try to parameterise this.
If you want I can tell you how to edit the source code so that you can set the same line width for your copy of plotsr.

Thank you for your reply，
Since I only want to show the SYN area, I copied the data, replaced SYN with INV, appended it to the original file, and then set “invcol” to “#CCCCCC” in base.cfg, which seems to solve my problem. It would be nice if we could change it in the original code.
Thanks again.


Added link to "who's using this"

I added a new link to this section. Siftery is using it too and thought it would be a nice website to showcase.

wow! This is so cool! Thanks for submitting.


Web- Workspace - When tapping "back", user is taken to VBA flow again

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Access staging.new.expensify.com
Sign into a valid account
Create a workspace
Tap on the Profile icon > Workspace name > Reimburse expenses > connect to bank
Tap "back" on the "Continue with setup" page

Expected Result:
User expects to be returned to the previous Reimburse expenses page. (Works for any of the options in the workspace, reimburse expenses is just an example)
Actual Result:
The user is redirected to a second VBA flow showing the "Connect online with plaid/manual" options
Workaround:
Unknown
Platform:

Where is this issue occurring?

Web
Mobile Web

Version Number: <IP_ADDRESS>
Reproducible in staging?: Yes
Reproducible in production?: No
Email or phone of affected tester (no customers): any
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://user-images.githubusercontent.com/93399543/186801947-922f81c0-b84b-4c2e-8382-eac036bc43f6.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub

:wave: Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open StagingDeployCash deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

Identify the pull request that introduced this issue and revert it.
Find someone who can quickly fix the issue.
Fix the issue yourself.

I confirmed that this happens in staging but not in prod.

No idea why this is happening, reached out in #engineering-chat for some help

Git bisect tells me this is the offending commit but I have no idea why

Hmm maybe I did something wrong along the way haha reverting those changes doesn't seem to fix the issue

https://github.com/Expensify/App/pull/10454 isn't included in this deploy checklist but is only on staging at the moment, feel like that's probably what's causing the problem because it's the only thing that's modified the WorkspaceBankAccountPage recently cc @luacmartins

Git bisect tells me this is the offending commit but I have no idea why

@luacmartins yeah I have no idea how changing KeyboardAvoidingView behavior would change that.. I don't think that's the reason either.

https://github.com/Expensify/App/pull/10454 is actually on prod (we must have missed the deploy comment)

It appears this issue is being caused by https://github.com/Expensify/App/pull/10026, can we revert?

Reopening to pay @aneequeahmad for reporting (instead of opening a new GH)
https://expensify.slack.com/archives/C01GTK53T8Q/p1661446815440409

@aneequeahmad please accept the Upwork offer then I'll pay
https://www.upwork.com/jobs/~01ee11f9634848c1fd

I don't know why this is still set as deploy blocker, this is to old to be one, removing

@mallenexpensify I accepted the offer. Thank you for mentioning.

oops,  i  applied to the job offer here, apologies.
@mallenexpensify  Just accepted the offer on Upwork, Thanks for opening the issue and sending me the job offer.

Paid, closing! Thanks @aneequeahmad


CLI Error message needs cleanup

Only below message should be displayed. Can it appear in RED color with some emoji?

tweet-older-than-7-days: The tweet must not be older than 7 days.

I disagree. As this, as a CLI is programmer centric application, we'd need to know where the error is originating from.

Though we can make it red

in DEV=true mode print any trace.
Developers also human being 😊


Support for Flutter semantic identifier to improve test scalability and maintainability

Description:
As Flutter apps grow, automated testing becomes increasingly challenging. Common issues include:
Multi-language support: Test scripts need to adapt to the language displayed in the app.
Dynamic content: Non-static content, such as A/B tests, may cause inconsistencies in UI tests.
Large-scale applications: The growing number of screens increases the complexity and difficulty of test maintenance.
To address these challenges, Flutter introduced the semantic identifier feature, which helps uniquely identify UI elements independently of the content they display. This makes automated testing more robust and easier to maintain.
Why semantic identifier is important:
Language independence: Semantic identifiers do not rely on displayed text or labels, making tests more resilient to language changes and localization.
Dynamic content readiness: Since semantic identifiers are static, even when UI content changes due to experiments (like A/B tests), the test scripts remain stable.
Ease of maintenance: Using semantic identifiers reduces the need to frequently update tests when content or UI changes.
Feature availability:
This feature is available starting from Flutter 3.19 (released on February 15th, 2024) in the stable channel. To use it, you need to upgrade to the latest stable Flutter release.
References:
Flutter Semantics Documentation
Flutter 3.19 Release Notes
Request: Please add support for semantic identifier in appium-flutter-integration-driver to enable more robust and scalable testing for Flutter applications.

Example: Tap on a widget by semantics identifier
Semantics(
  identifier: 'signin_button',
  child: ElevatedButton(
    onPressed: _signIn,
    child: Text('Sign in'),
  ),
)

@ReverseScale Have you tried
const loginButton = await browser.flutterBySemanticsLabel$('login_button');
await loginButton.click();

I understand that labels can work well for identifying UI elements in projects. However, with the release of Flutter 3.19, the official Flutter team recommends using identifiers instead of labels for a more robust and scalable approach to automated testing.
While labels have been commonly used for UI element identification, they can be susceptible to issues such as localization changes, dynamic content updates, and maintainability challenges in large-scale applications. The semantic identifier feature introduced in Flutter 3.19 addresses these limitations by allowing unique identification of UI elements independent of their displayed content.
By adopting semantic identifiers, automated tests become more resilient to language changes, dynamic content variations (e.g., A/B tests), and UI updates. This approach aligns with the Flutter team's best practices and recommendations for enhancing the reliability and maintainability of automated testing for Flutter applications.
Although labels can still be functional, the official guidance from the Flutter team is to leverage semantic identifiers for a more future-proof and scalable solution, especially for projects with multi-language support, dynamic content, or large-scale applications.
Semantics(
  label: signin_button',
  identifier: 'signin_button', // Flutter 3.19 later
  child: ElevatedButton(
    onPressed: _signIn,
    child: Text('Sign in'),
  ),
)

Other 🫣
When using the pushNamedAndRemoveUntil method to navigate to a new route, elements from the previous pages may become unidentifiable on the new page. This can lead to test failures or runtime errors.
Steps to Reproduce:
Start on Page A.
Navigate to Page B using Navigator.pushNamed.
From Page B, use Navigator.pushNamedAndRemoveUntil to navigate to Page C, keeping only the root route (e.g., /).
Try to interact with or find elements that were present on Page A or Page B.
Expected Behavior: Elements from the previous pages (A and B) should remain identifiable and accessible on the new page (C) after using pushNamedAndRemoveUntil.
Actual Behavior: Elements from the previous pages become unidentifiable and cannot be interacted with or found on the new page.

@ReverseScale Thanks for providing detail information.
Adding the identifier to Semantics, UIAutomator and XcUi should be able to find it! We don't need to anything on the this flutter integration driver.

Actual Behavior: Elements from the previous pages become unidentifiable and cannot be interacted with or found on the new page.

This is expected! When you run your automation you want to focus on elements that are in the current screen.

When using the pushNamedAndRemoveUntil method to navigate to a new route, elements from the previous pages may become unidentifiable on the new page.

The current driver does not modify anything on how the app should render. We completely depend on what flutter returns.


Not detected recurrence in scss code (@mixin calling itself) leading to build failure

Describe the bug
When scss code contains an infinite recurrence, the build consumes all available heap memory:
Example:
@mixin test {
  background-color: red;
  // infinite loop in recurrence
  @include test();
}

Actual:
scss style.scc command fails quickly with Stack Overflow error.
vite build consumes all available heap memory, then aborts.
Expected
vite build command fails quickly with Stack Overflow error.
Reproduction
https://stackblitz.com/edit/vitejs-vite-rt2x6e
Steps to reproduce

Go to https://stackblitz.com/edit/vitejs-vite-rt2x6e
Run npm run install
Run sass style.scss - observe heap errors
Run npm run build
Observe build running forever. (outside of stackblitz the build is aborted with heap error after consuming all)

System Info
System:
    OS: Linux 5.0 undefined
    CPU: (8) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 0 Bytes / 0 Bytes
    Shell: 1.0 - /bin/jsh
  Binaries:
    Node: 18.20.3 - /usr/local/bin/node
    Yarn: 1.22.19 - /usr/local/bin/yarn
    npm: 10.2.3 - /usr/local/bin/npm
    pnpm: 8.15.6 - /usr/local/bin/pnpm
  npmPackages:
    vite: ^5.4.3 => 5.4.4

Used Package Manager
npm
Logs
No response
Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to vuejs/core instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

I'm not sure how sass cli is implemented, but OOM can be reproduced from programmatic usage such as compileStringAsync, which is what Vite uses internally. I made a repro here https://github.com/hi-ogawa/reproductions/tree/main/vite-18091-sass-recurrence-oom
	const url = new URL("./test.scss", import.meta.url);
	const code = `
		@mixin test {
			@include test();
		}
		body {
			@include test();
		}
	`;
	const res = await sass.compileStringAsync(code, { url });

It looks like sass-embedded can handle this as stack overflow. For sass, there's probably nothing Vite can do, so you should probably switch to sass-embedded.

Thanks @hi-ogawa .
Switching to sass-embedded seems like a valid approach in my specific case, but it will not prevent other vite users from having the same issue with sass.
Looking at the reproduction you've provided I notice 2 things:

switching from compileStringAsync to compileString makes sass handle stack overflow correctly,
according to sass documentation it's recommended for sass to use they synchronous version for performance reasons,

Hence, I would suggest to switch to compileString for saas, which would solve the issue reported by me and also improve build performance.
What do You think?

Hence, I would suggest to switch to compileString for saas, which would solve the issue reported by me and also improve build performance.
What do You think? I can prepare a PR with such changes.

This is probably not possible since Vite relies on custom async importer.
While their documentation recommends sync version for sass package, but in general, what they recommend is to use sass-embedded package with "async compiler" api, so we are following that in our documentation https://vitejs.dev/config/shared-options.html#css-preprocessoroptions

I don't think there's anything actionable on Vite, so closing.
I reported an issue on sass https://github.com/sass/dart-sass/issues/2344


CSS finer details 2

add underlines to nav, separators (borders?) to main headers, add hover behavior where necessary, and do whatever else is needed before adding responsive behavior

Largest image shrinks; need to fix smaller ones
Nav links work and are pretty
Items in "work" section have hover effects
Main section borders and relative elements styled according to reference
Profile pic added
Some other aesthetic improvements


"Test results files" argument needs improved examples for Version 1 vs Version 2

Argument
Description

Test results files
Use this to specify one or more test results files. - Version 1 of the task: You can use a single-folder wildcard () and recursive wildcards (**). For example, **/TEST-.xml searches for all the XML files whose names start with TEST- in all subdirectories. Multiple paths can be specified, separated by a semicolon. - Version 2 of the task: Uses the minimatch patterns. For example, **/TEST-*.xml searches for all the XML files whose names start with TEST- in all subdirectories.

The examples provided above do not contrast the differences between task "Version 1" (wildcard) and "Version 2" (minimatch). It could be improved if the "Version 2" example showed how minimatch can use exclusion patterns, but not that "Version 1" cannot.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ba91e46a-de53-c0c1-f7f7-c02e797d527c
Version Independent ID: 6f478148-461f-694a-ed82-deb4d731854e
Content: VSTS and TFS Build and Test - Publish Test Results task
Content Source: docs/pipelines/tasks/test/publish-test-results.md
Product: devops
GitHub Login: @alexhomer1
Microsoft Alias: ahomer

Thank you for your feedback. I will update the topic to include your recommendations.


Exporting IPv6 addresses as JSON corrupts them

Bug description
Trying to export IPv6 addresses (FixedString(16)) as JSON sometimes results in certain byte sequences being replaced with the replacement character �.
This is expected behavior for encoding Clickhouse strings into JSON string literals, which must be valid Unicode: https://clickhouse.yandex/docs/en/interfaces/formats/#json
However, the bytes in a IPv6 address often do not line up into valid Unicode.
How to reproduce

I used ClickHouse server version 19.9.2 revision 54421
In Clickhouse client, do select IPv6StringToNum('::1bc0') format JSON
1b is a valid UTF-8 sequence (ESC character), but c0 is not a valid UTF-8 sequence (refer to https://en.wikipedia.org/wiki/UTF-8#Codepage_layout). The corresponding JSON is:
"\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u0000\u001B�"

Expected behavior
I do not really know what to expect here, since this is a natural consequence of choosing FixedString(16) as the canonical IPv6 representation (https://clickhouse.yandex/docs/en/data_types/domains/ipv6/).

Now you can use IPv6 data type, that is designed specifically for IPv6 addresses.
To transform String or FixedString(16) to IPv6, write toIPv6(x).
You can also transform FixedString(16) to text String with IPv6NumToString(x).

Thank you, that solves my use case!


ERRO[0000] Virtual machine not found

Hi, I need your help, I have an Openstack test environment and I am now testing its migration component, but for some reason it is not very clear how to use the --vmware-path I have used multiple variants and never get the resource in the Vmware, could you tell me what I'm doing wrong?

@rdulcey what's the name of your datacenter inside of VMware?  You may need to adjust that.


SparkleXrmUI.js - Syntax Error

Scott, the issue I had and asked about on Twitter I successfully traced to a syntax error in the following:
                validationIndicator.position({
                                            my: 'left bottom',
                                            at: 'left top',
                                            collision: 'fit fit',
                                            of: activeCellNode
                                        })
                                        .show({
                                        effect: 'blind'
                                        })
                                        .delay( 500000 )
                                        .hide({
                                            effect: 'fade',
                                            duration: 'slow',
                                        },
                                            function() {
                                                $( this ).remove();

                                            });
                                        ;

I'm still learning this so please forgive me that I am not precisely sure where the root of this error is.
There is a comma after duration: 'slow' which causes a parsing error. I simply took the comma out by opening your managed package (using 0.2.0 because I am on 2011) and editing the SparkleXrmUI.js at line 2791.
I believe this is still in there, since I found the same issue in a recent clone - /DebugWeb/WebResources/sparkle_/js/SparkleXrmUI.js
at line 208.
When rendering in a standalone window, this caused the whole SparkleXrm object to be undefined. Not sure why this works when running inside a standard entity window.
Thank you for a great toolset. I'm still coming up to speed on it but I'm already using it to great effect for the 2nd time.

Thanks Bob.
The evil comma of doom! What browser does this happen in? IE8?

IE 11.0.18; I didn't try it in any other browsers.

Interesting - which DOCTYPE does your HTMLwebresource use?

Should have mentioned it's compatibility mode, so I believe that means 5.
I was using your GridEdit.htm with almost no modification so there was no  in there (my oversight).

Does adding  fix it? Trailing commas are allowed in recent ECMA standards  - but I think I'll remove it for safety.
Thanks!

I cracked open the managed package and manually deleted the comma, so I don't know if that's the magic bullet.
The DOCTYPE tag seems to be necessary to get the columns to render in a standalone window, so thay may be a good tweak as well unless it'll break something I'm not thinking of.

I'd go with

Yep! New hotness is that the standalone version doesn't seem to be rendering dates. Set 'em up, knock 'em down...

In a form field or grid? When you say not rendering - does it throw an error?
I use date pickers in forms and grids quite a bit and I've not had any trouble.

Works fine if the grid is present as a standard Web Resource on a form.
When rendered as standalone (point browser to https://myserver.com/CRMTest/WebResources/ics_/html/GridEdit.htm) they are NaN.
On a Form:

Standalone:

With. Still IE 11 in compatibility mode.

Are you using XrmDateEditor.BindColumn on this column?
Would you be able to send me a repro solution?

I sent you a Twitter DM with a link.
Yep, using the DateEditor and Bind Column.
XrmDateEditor.BindColumn(
     GridDataViewBinder.AddColumn(columns, "Est Close", 200, "estimatedclosedate"),true);

Thank you very much for your help on this. I owe you a beer at the next conference!

Got it! Thanks.

Try moving the meta tags in GridEdit.htm so that they are inside the
<!DOCTYPE html>
<html lang="en">
    <head>
    <title>Opportunity Line Item Editor</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    </head>

This is as per snippet - SparkleXrm/Snippets/Visual Web Developer/My HTML Snippets/sparkle-view-page.snippet

So in the end it worked if I set IE = 9, not Edge.
Thanks again. We're past beer, now I think I owe you dinner!

My pleasure! Glad you've got it working!


regression-test fix regression-test/suites/node_p0/test_frontend.groovy nonConcurrent typo bug

What problem does this PR solve?
Issue Number: close #xxx
Related PR: #xxx
Problem Summary:
Release note
None
Check List (For Author)

Test

[x] Regression test
[ ] Unit Test
[ ] Manual test (add detailed scripts or steps below)
[ ] No need to test or manual test. Explain why:

[ ] This is a refactor/code format and no logic has been changed.
[ ] Previous test can cover this change.
[ ] No code files have been changed.
[ ] Other reason

Behavior changed:

[x] No.
[ ] Yes.

Does this need documentation?

[x] No.
[ ] Yes.

Check List (For Reviewer who merge this PR)

[ ] Confirm the release note
[ ] Confirm test cases
[ ] Confirm document
[ ] Add branch pick label

skip buildall

Thank you for your contribution to Apache Doris.
Don't know what should be done next? See How to process your PR.
Please clearly describe your PR:

What problem was fixed (it's best to include specific error reporting information). How it was fixed.
Which behaviors were modified. What was the previous behavior, what is it now, why was it modified, and what possible impacts might there be.
What features were added. Why was this function added?
Which code was refactored and why was this part of the code refactored?
Which functions were optimized and what is the difference before and after the optimization?


How to embed files so that I can use fs to read them?

I'm trying to embed files (essentially text files) that I can read at run time with fs. I'm not sure how to embed the files or how to reference them. If I use fs it would use the file system of the user running the app but I want to access the file I plan embedded in the app.
I've tried adding the file to the build section of package.json but no luck.
Is this possible? Can you bundle files within an Electron app which you can read any time you want?

I’d recommend you do this with webpack. Just import the files

@amilajack I got it working thanks. I use raw-loader, i found that file-loader kept returning a url. Raw-Loader loads the file as text which works for my case. But lets say the file was a binary or another type of file where I don't want it loaded as a string. Do you know if it is possible to embed files in the Electron app and access/run them only when needed?

Try this and then set this for your prod webpack configs

Interesting. So they are text files and are you are trying to import them but webpack is resolving them as JS files? You should probably be getting syntax errors in those cases. Try changing the file extensions of those files. Let me try to create an example

Here you go:
https://github.com/amilajack/erb-local-fs-read-example

@amilajack Thanks again for helping but it does not solve my issue. I had no problems before with importing within a component. I'm trying to import in ~main.js. For my use case; I intend to build my application with configuration files that are embedded and need to be loaded. It made sense to me to load this at the start of the program and make it global.
But I ended up finding this which gave me an alternative solution.
https://github.com/chentsulin/electron-react-boilerplate/issues/906
On MacOS it seems that all .app "files" are just folders and the app.asar gets placed in that folder somewhere. If this was a Windows machine, do you know if I would I be able to rely __dirname and be able to access the .asar the same way?  Will the Electron built exe place the files somewhere?

If you want to do this from the main process you could write a webpack config for the main process. If you think this will work for your situation let me know and i can help you with the config

But lets say the file was a binary or another type of file where I don't want it loaded as a string. Do you know if it is possible to embed files in the Electron app and access/run them only when needed?

webpack actually doesnt load the file as a string. It loads the files as a buffer instead of a string. Also if you want to load it in a different format you would use a different webpack loader. Using webpack to do this will give some small performance improvements because the production build of the main.dev.js will come bundled with the resources you imported. This way you'll only need to make one fs call.


Auth0 not playing nicely with Phantomjs in ember test and CI

Acceptance tests run fine in localhost:4400/tests.
But ember test and Codeship CI error out with:
Built project successfully. Stored in "Users/.../tests_dist-qlMhYAfG.tmp". not ok 1 PhantomJS 1.9 - Global error: TypeError: 'undefined' is not a function (evaluating 'ReactElement.createElement.bind(null, type)') at http: //localhost:4401/assets/vendor.js, line 135461
We are not using react. Lock's package.json on the other hand...
    "react": "^15.0.0 || ^16.0.0",
    "react-addons-css-transition-group": "^15.0.0 || ^16.0.0",
    "react-dom": "^15.0.0 || ^16.0.0",

We are using magic links, is there a clean way to use ember-simple-auth-auth0 without using lock?
Thanks.

Update:
Upgrading phantom.js to from 1.9.8 to 2.1.1 , and configuring CI to use 2.1.1 solved the problem!

👍


Create ROADMAP.md

Tweag.io might be interested in getting crossreferences for their Bazel+rules_haskell based builds. This file outlines major first steps to get that going. Please comment!

@mboes for Tweag: first try on the roadmap we discussed.
@ivan444 for haskell-indexer: please take a look.
CC:

@zrlk from Kythe team. Feel free to draw attention of other team members as well.
@judah for Haskell+Bazel aspect lore.


when code reaches Renderer.CreateAsync() application Stops

i want to convert html to pdf but when code reachs to this line :
await using var chromiumRenderer = await Renderer.CreateAsync();
application will stop working

Please add more details. Which version, os, bittness, .net version do you use? Can you add some minimal reproduceable?

I am having the same problem, but I am logging the error:
Running as root with --no-sandbox is not supported.
How do we use the Codeuctivity Renderer and apply the above parameter to allow me to run this in a docker container?

You can disable sandboxing in the latest version using:
 using (var chromiumRenderer = await Renderer.CreateAsync(new BrowserFetcher(), "--no-sandbox"))
            {
                await chromiumRenderer.ConvertHtmlToPng(sourceHtmlFilePath, actualFilePath);
            }

I am curious. What does cat /proc/version show on your system?

@stesee Thank you for the update and the code drop was to potentially fix the issue. Unfortunately, this didn't seem to work. I am still getting the same error, so it is like the launch options didn't make it down to the appropriate layer.

@stesee
Forgot to provide the following from  cat /proc/version
Linux version 3.10.0-1160.80.1.el7.x86_64<EMAIL_ADDRESS>(gcc version 4.8.5 20150623 (Red Hat 4.8.5-44) (GCC) ) #1 SMP Sat Oct 8 18:13:21 UTC 2022

@stesee  I am working in a possible fix for this. will do a PR once I test it locally and in our Kubernetes environment.

You can create a fork and create pull requests from there. Joining into a project and getting a role assigned is some steps after that.

Excellent, wasn't aware of this approach.
Thank you
Paul
On Fri, Nov 25, 2022 at 3:15 AM Stefan Seeland @.***>
wrote:

You can create a fork and create pull requests from there
https://docs.github.com/en/pull-requests/collaborating-with-pull-requests/proposing-changes-to-your-work-with-pull-requests/creating-a-pull-request-from-a-fork.
Joining into a project and getting a role assigned is some steps after that.
—
Reply to this email directly, view it on GitHub
https://github.com/Codeuctivity/PuppeteerSharp.Renderer/issues/33#issuecomment-1327141907,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVFAZGXSBKQBLG3STZNTWQ3WKBYSRANCNFSM6AAAAAASGK4NY4
.
You are receiving this because you commented.Message ID:
@.***>

@stesee All good to go and waiting for your review to approve

@stesee Just pulled in the latest release to verify the LaunchOptions parameter. I must have not noticed it before when you updated, so this is good and will allow me to perform the function that I need to perform. without altering the baseline code.
I am still curious about the security implication though? What was the concern?

I can not explain it better/shorter than: https://stackoverflow.com/questions/66998228/why-is-no-sandbox-a-unsafe-arg-in-puppeteer ... and further references.


Profil plot + checks to verify that histograms are counting histograms

So far, we were assuming that the input histograms are counting histograms, but other histograms such as mean histograms are possible.
This PR adds many checks that the input histograms are counting histograms and add an example of plot of a mean histogram.

Small comments, after that should be able to merge.


Remove non-ascii letters escaping from BibtexUtil

"Þ" is not escaped correctly
"ð" is not escaped at all

utf8 seems to be the default input encoding since 2019 (overleaf, texlive).
Even if escaped correctly, you need something like \usepackage[T1]{fontenc} to render them correctly (this applies even to czech chars).
We can drop the accents, and the other parts of the BibtexUtil should be investigated if they are still relevant

Completely agree. Seems like at least since 2018 Tex already assumes the source is in UTF-8. Still, the documentation says that Bibtex only supports a subset of UTF-8. To be safe, one should apparently use BibLaTeX, which in turn uses Biber (which is in Perl), not BibTeX.
I don't know how commonly used BibLaTeX is (I like and tent to use it), but maybe we can make some info note to recommend using it.
Another benefit would be that BibLaTex has more publication types including @dataset and @software and they should correctly display DOI and/or URL fields. So we could generate the citations directly in BibLaTeX style, avoiding the problematic @misc #859 .

In my presentation at last week's conference, I claimed that @dataset (not usable with bibtex, as pointed out by Pavel) outputs the same thing @book. I now looked into this in more detail. It turns out that while this is definitely the case for the APA' and authoryear' citation styles, it isn't for e.g. ieee or even MLA. The most obvious thing is that the italics of the title are sometimes lost (e.g., with MLA). @software doesn't even work with e.g. the chicago-authordate style. In other words, with @dataset, you also get inconsistent citation between the different styles (sometimes italic formatting of title, sometimes title in parentheses, all of which points to the idea that datasets don't fit neatly into existing bibliographic styles).
So, to my mind the only way to ensure consistency with the yellow-box of the LINDAT-style repositories, is to define the bib entry as follows:
@book{parlamint-book,
title = {Multilingual comparable corpora of parliamentary debates {ParlaMint} 4.1},
author = {Erjavec, Toma{\v z} and others},
url = {http://hdl.handle.net/11356/1912},
publisher = {Slovenian language resource repository {CLARIN}.{SI}},
copyright = {Creative Commons - Attribution 4.0 International ({CC} {BY} 4.0)},
issn = {2820-4042},
year = {2024}
}`
So the main change from the current exports is from @misc to @book, and from the field note = to publisher = .
As an obvious example, the above will always get you the italic formatting of titles, which is in line with the citation box.
While it might seem intuitively odd treating datasets as books, it might not be that odd from the point of view of bibliographic (rather than real-world) ontology -- note that datasets have the same elements as books (titles, publishers, years), rather than anything else (e.g., journal articles, which are defined in terms of things like journal name, journal volume, issue, and so forth, none of which is relevant for datasets/software).

As an addendum: I now I'm harping on about italics, but it is the case that the APA guidelines define precisely such a format for datasets:
https://apastyle.apa.org/style-grammar-guidelines/references/examples/data-set-references
For Chicago as well, although this isn't an official CMOS site: https://libguides.murdoch.edu.au/Chicago/dataset. But I think CMOS doesn't officially define the dataset format.

To continue the sidetrack from Unicode itself to Biblatex:
See texdoc biblatex https://texdoc.org/serve/biblatex.pdf/0 for documentation. @dataset is a bit like book, but not really. It has the same minimal, but different supported attributes (like, unilke @book,  it has a "version"). You can also find there, that @software type exists, but currently it is just an alias for @misc. So I would take the software as not really yet supported.
With @dataset though, it seems supported. E.g. in MLA: https://mirrors.nic.cz/tex-archive/macros/latex/contrib/biblatex-contrib/biblatex-mla/doc/biblatex-mla.pdf see in section 3.4 (p. 19) and the example linked from there. I see similar support in other biblatex style packages (not the same as bibtex styles!), so I would leave it up to them, whoat should be in italics, etc.
The key question to me is, whether we can switch to biblatex. Or maybe switch, but also produce bibtex as a fallback option? And for bibtex, can we go with UTF-8 and should we use @book as the better approximation of @dataset than @misc?


Setup prettier

Codecov Report

Merging #64 into master will decrease coverage by 1%.
The diff coverage is 75%.

@@            Coverage Diff             @@
##           master      #64      +/-   ##
==========================================
- Coverage   73.04%   72.03%   -1.01%
==========================================
  Files           6        6
  Lines         115      118       +3
  Branches       25       25
==========================================
+ Hits           84       85       +1
- Misses         29       31       +2
  Partials        2        2

Impacted Files
Coverage Δ

src/index.js
0% <0%> (ø)
:arrow_up:

src/parseArgs.js
95.83% <100%> (ø)
:arrow_up:

src/sse.js
83.33% <100%> (ø)
:arrow_up:

src/db.js
100% <100%> (ø)
:arrow_up:

src/utils.js
76.47% <50%> (-11.77%)
:arrow_down:

src/handler.js
72.5% <77.77%> (+2.22%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update b0547a6...ff5d722. Read the comment docs.

Updated 🙂

Good idea, just added it.


Merve Erdol to Contributors list

@merveer, I'm quite elated about your PR. I wanna evolve this project to addresses various problems faced by first-time contributors. I'd love to learn about your journey in open source community, the problems, pain points you had etc.
Could you explain how you felt when you went through the tutorial, made a PR and learned that I merged it?


addition ArvanCloud exporter to the exporter list

Hi @beorn7
There is any update for this PR?

Please take some time to review naming conventions on https://prometheus.io/docs/practices/naming/
e.g.:

arvancloud_cdn_traffic &  arvancloud_cdn_response_time don't tell me what unit that is
arvancloud_cdn_traffic_by_country will have country in the labels, not the value


[build] Update to webOS OSE v2.14.0 build #411

https://www.webosose.org/blog/2021/11/30/webos-ose-2-14-0-release/

Merged to the other branch as well:
140b1768e..407bc66e8  build -> build-next


Device filtering

Adding the ability to filter based on device id

Generally like this enhancement. I'm going to back port a bunch of enhancements from the Ring() tool that should also be present like this one. Stay tuned.


Add backend search

For what reason?

As the list of the features on the registry UI has been paginated the search need to be done by the server, also It could help to add autocomplete to dependencies on new/edit features and we where thinking to add a command on the cli to search for features

Closed by #86


YT Music meta data issues

What version of Music Assistant has the issue?
2.1.0
What version of the Home Assistant Integration have you got installed?
2024.7.3
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
I am seeing a bunch of errors in the logging, i do not see anything weird happening in the front end tho:
image_ratio: float = width / height
                         ~~~~~~^~~~~~~~
ZeroDivisionError: division by zero

How to reproduce
Connect youtube music and see the logging
Music Providers
Spotify
youtube music
tune-in
Player Providers
Chromecast
Full log output
music-assistant.log.log
Additional information
No response
What version of Home Assistant Core are your running
2024.7.3
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Just to add a note, I tried to debug this a bit more and what I did is as follows:

Uninstalled addon
Removed service
restarted home assistant (not HA OS)
Installed addon
Added chromecast as player provider
Added youtube music
Went to my liked playlist track and it will never load and I see this in the loggin:

2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors
2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'

(full log):
2024-08-01 10:44:16.801 INFO (MainThread) [music_assistant] Starting Music Assistant Server (ff0721ffe4f14ae48d2c0a9009eee01b) version 2.1.0 - HA add-on: True - Safe mode: False
2024-08-01 10:44:16.826 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2024-08-01 10:44:17.359 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes.
2024-08-01 10:44:17.978 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 6.0.1 with libsoxr support
2024-08-01 10:44:17.979 INFO (MainThread) [music_assistant.streams] Starting server on  <IP_ADDRESS>:8097 - base url: http://<IP_ADDRESS>:8097
2024-08-01 10:44:18.007 INFO (MainThread) [music_assistant.webserver] Starting server on  <IP_ADDRESS>:8095 - base url: http://<IP_ADDRESS>:8095
2024-08-01 10:44:18.310 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider
2024-08-01 10:44:18.311 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider
2024-08-01 10:44:18.313 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider
2024-08-01 10:44:18.314 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant
2024-08-01 10:44:18.573 INFO (MainThread) [music_assistant.music] Sync task for Music Assistant completed
2024-08-01 10:49:22.170 INFO (MainThread) [music_assistant.webserver] Starting server on  <IP_ADDRESS>:8095 - base url: http://<IP_ADDRESS>:8095
2024-08-01 10:49:32.876 INFO (MainThread) [music_assistant] Loaded player provider Chromecast
2024-08-01 10:49:33.165 INFO (MainThread) [music_assistant.players] Player registered: 5eb78e59-e91b-3c66-11fd-68db62710713/Living room Speaker
2024-08-01 10:49:33.443 INFO (MainThread) [music_assistant.players] Player registered: 62765a34-f8a0-e79a-1174-1086ccf03f14/Bathroom speaker
2024-08-01 10:49:33.703 INFO (MainThread) [music_assistant.players] Player registered: dcd9ff84-e282-5255-1baf-cefef9a2cdf4/Bedroom speaker
2024-08-01 10:49:33.774 INFO (MainThread) [music_assistant.players] Player registered: cb23004d-cac9-4592-abc4-1baa5da0e4ca/Speakers
2024-08-01 10:49:58.194 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music
2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors
2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'

@MarvinSchenkel

Just to add a note, I tried to debug this a bit more and what I did is as follows:

Uninstalled addon
Removed service
restarted home assistant (not HA OS)
Installed addon
Added chromecast as player provider
Added youtube music
Went to my liked playlist track and it will never load and I see this in the loggin:

2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors
2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'

(full log):
2024-08-01 10:44:16.801 INFO (MainThread) [music_assistant] Starting Music Assistant Server (ff0721ffe4f14ae48d2c0a9009eee01b) version 2.1.0 - HA add-on: True - Safe mode: False
2024-08-01 10:44:16.826 INFO (MainThread) [music_assistant.cache] Initializing cache controller...
2024-08-01 10:44:17.359 INFO (MainThread) [music_assistant.music] Using a sync interval of 180 minutes.
2024-08-01 10:44:17.978 INFO (MainThread) [music_assistant.streams] Detected ffmpeg version 6.0.1 with libsoxr support
2024-08-01 10:44:17.979 INFO (MainThread) [music_assistant.streams] Starting server on  <IP_ADDRESS>:8097 - base url: http://<IP_ADDRESS>:8097
2024-08-01 10:44:18.007 INFO (MainThread) [music_assistant.webserver] Starting server on  <IP_ADDRESS>:8095 - base url: http://<IP_ADDRESS>:8095
2024-08-01 10:44:18.310 INFO (MainThread) [music_assistant] Loaded metadata provider TheAudioDB Metadata provider
2024-08-01 10:44:18.311 INFO (MainThread) [music_assistant] Loaded metadata provider MusicBrainz Metadata provider
2024-08-01 10:44:18.313 INFO (MainThread) [music_assistant] Loaded metadata provider fanart.tv Metadata provider
2024-08-01 10:44:18.314 INFO (MainThread) [music_assistant] Loaded music provider Music Assistant
2024-08-01 10:44:18.573 INFO (MainThread) [music_assistant.music] Sync task for Music Assistant completed
2024-08-01 10:49:22.170 INFO (MainThread) [music_assistant.webserver] Starting server on  <IP_ADDRESS>:8095 - base url: http://<IP_ADDRESS>:8095
2024-08-01 10:49:32.876 INFO (MainThread) [music_assistant] Loaded player provider Chromecast
2024-08-01 10:49:33.165 INFO (MainThread) [music_assistant.players] Player registered: 5eb78e59-e91b-3c66-11fd-68db62710713/Living room Speaker
2024-08-01 10:49:33.443 INFO (MainThread) [music_assistant.players] Player registered: 62765a34-f8a0-e79a-1174-1086ccf03f14/Bathroom speaker
2024-08-01 10:49:33.703 INFO (MainThread) [music_assistant.players] Player registered: dcd9ff84-e282-5255-1baf-cefef9a2cdf4/Bedroom speaker
2024-08-01 10:49:33.774 INFO (MainThread) [music_assistant.players] Player registered: cb23004d-cac9-4592-abc4-1baa5da0e4ca/Speakers
2024-08-01 10:49:58.194 INFO (MainThread) [music_assistant] Loaded music provider YouTube Music
2024-08-01 10:50:25.107 WARNING (MainThread) [music_assistant.music] Sync task for YouTube Music completed with errors
2024-08-01 10:50:45.398 ERROR (MainThread) [music_assistant.webserver] Error handling message: music/playlists/playlist_tracks: 'NoneType' object has no attribute 'lower'

This error could indicate there are no tracks in the playlist. Do you have any tracks in your liked playlist if you check it in the YT Music app?

Thanks for the reply. All the playlists i have have songs in them. Even my liked list.

Thanks for the reply. All the playlists i have have songs in them. Even my liked list.

Alright, can you please enable debug logging for YT Music, retry your action and send me the more detailed logs?

I tried it with the latest version of MA and this did not return so I will close this.


[EPIC 4] Test case hygiene - parameterization/skipifs/code

[ ] #469
Add skipIf to tests that depend on environment variables or external dependencies.
[ ] #470
Identify and parameterize test cases for LLMs and classes with multiple options to ensure comprehensive coverage.
[ ] #471
Refactor setup into reusable pytest fixtures to improve test maintainability and reduce duplication.

Currently in progress.
completed test fixtures and skipifs for swarmauri pkgs


[Extensions] Add support for headers for ExtensionRestRequest

Description
Companion PR: https://github.com/opensearch-project/opensearch-sdk-java/pull/602
Issues Resolved
https://github.com/opensearch-project/opensearch-sdk-java/issues/431
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Closing this as @nassipkali has raised a new PR: https://github.com/opensearch-project/opensearch-sdk-java/pull/605


Custom elytras don't show up

I'm using a custom elytra pack, and the items show up fine, but the custom textures never appear when someone is wearing them. The same pack works just fine with people using OptiFine, but not CITResewn.

Not much to work with, gonna need both the logs and the pack.


Disable the Save and Remove button available in the Project team member tab for Halted project

Describe the task
When the Project status is updated from Active to Halted, the team member are available in the Projcet team member tab. Hence there can be instance, when somebody by mistake removes or update details of projcet members. This would result
in issues with the projcet rsource management and project billing.
Steps to reach Projcet team members tab:

Go to CRM
Click on Projects, then click on Add new project
Fill form and select status as Active, then click on Save button
Click on the project created in step 3
Click on Edit button and then change status to halted
Click on save button
Click on Projcet team member tab

Expected behavior
Disable the Save and Remove button in front end for Halted projects

This issue PR is merged. Closing it.


feat: changed default sidebar width for the mobile view (Issue #1914)

Description:

Changed the default sidebar width for mobile view from 260px to 320px, according to the new design.

Made the sidebar width revert to the default size when switching from landscape to portrait view.
Issues:

Issue #1914

UI changes

Checklist:

[x] the pull request name complies with Conventional Commits
[x] the pull request name starts with fix(<scope>):, feat(<scope>):, feature(<scope>):, chore(<scope>):, hotfix(<scope>): or e2e(<scope>):. If contains breaking changes then the pull request name must start with fix(<scope>)!:, feat(<scope>)!:, feature(<scope>)!:, chore(<scope>)!:, hotfix(<scope>)!: or e2e(<scope>)!: where <scope> is name of affected project: chat, chat-e2e, overlay, shared, sandbox-overlay, etc.
[x] the pull request name ends with (Issue #<TICKET_ID>) (comma-separated list of issues)
[x] I confirm that do not share any confidential information like API keys or any other secrets and private URLs

/deploy-review

/deploy-review


Sync the two repositories

Sync the two repositories, But the code of the different solutions should not be formatted, because it should be difficult to read.

I'm not too concerned about the formatted .re.js files, even formatted they're still obfuscated.  If someone can read the solution from those files then they deserve it.


Checking values within list variables

I'm having an issue at the moment where I have a module to create a resource that has a property named subnets, and expects a list. A cut-down example:
module "My-ASG" {
    subnets = ["${module.vpc.public_subnets}"]
}

I want to check that "${module.vpc.public_subnets}" is included in the list, so I have written a test like so:
Feature: Check ASG placements
  Scenario: My-ASG Placement
    Given I have Admin-Server module configured
    When it contains subnets
    Then its value must match the "${module.vpc.public_subnets}" regex

But when I run this, I receive:
    Scenario: My-ASG Placement
      Given I have Admin-Server module configured
      When it contains subnets
      Then its value must match the "${module.vpc.public_subnets}" regex
          AttributeError: 'list' object has no attribute 'properties'

1 features (0 passed, 1 failed)
1 scenarios (0 passed, 1 failed)
3 steps (2 passed, 1 failed)

I had a quick look at the code and it looks like the @then(u'its value {condition:ANY} match the "{search_regex}" regex') step isn't designed to handle lists - however, in the feature/1.0.0 branch they look to be handled correctly.
Have I got this wrong? Is there a way to test that a list has specific values? If it doesn't currently work, is there an ETA on this feature?
Thanks!

Hello Chris,
Thanks for reporting the issue!
Good news, the support for referencing a variable via module or any terraform (no matter how complex it is) interpolation will come with 1.0.0 which is few days away.
Bad news, terraform-compliance 1.0.0 will require terraform 0.12 to work with :(
It will be quite a big change and unfortunately breaking backwards compatibility :(
ETA is few days away :)

Thanks for getting back so quickly! :)
I figured out that using Terraform 0.11 was causing me quite a few problems (especially with variable mounting, etc). Unfortunately I'm locked in with TF 0.11 on my current project, but I'll get back to using terraform-compliance for my next one!
Thanks again.

Hello @cbrax,
Just released terraform-compliance 1.0.0. In case you want to switch to TF 0.12+, the request you have made is supported with the new version :)


Problems with not always expanding macros

Today if I define a macro foo it is always the macro foo, there is just ONE macro foo. A macro is always expanded and there is no way to define a macro that doesn't want expand and just return itself. So even if the macro can handle different number of arguments it is still one macro which is always expanded. There is no way to define foo so that foo/3 is a macro but foo/0 and foo/1 are just calls to the functions foo/1 and foo/2. There is no way of returning "don't expand me" because if we try to return the original form we just go into an infinite loop.
While this fits lisp quite well it doesn't really fit into Erlang where we can have different functions with the same name but different number of arguments.
So I was thinking of defining a way to say "I don't want to treat this as a macro". One way would be for the macro to return a form where the first element is just the macro name again. So expanding (foo 1 2 3) to (foo 1 2 3) just says don't treat this a macro. This way is actually safe as it is "illegal" today as it results in infinite recursion.
Open for comments and other suggestions.

I think this is a great thing to explore -- I've run into issues in the past when working with macros, and a new approach like what you are outlining would have helped. If I recall correctly, the workarounds I employed involved wrapping macros in multi-arity functions ...
That being said, I'd love to see a couple of usage examples for the exact situation you're thinking of, so I can be sure :-) One that shows the current difficult behaviour, and then an example for your suggested fix?
Until then, here's my initial reaction at a more detailed level: supporting a different behaviour by passing the macro itself doesn't seem the "cleanest" approach. I'd be more in favor of passing the literal to a new LFE utility function a la macroexpand, e.g. (macro-literal #'foo) ... thoughts on that?

The reason for this is that I am considering have the LFE compiler generate Erlang AST instead of Core Erlang, and the reason for this to avoid worrying about what the compiler does internally. Core erlang is syntactically defined but not really how it is used internally.
Generating Erlang AST is not really that difficult but there are 2 tedious issues which arise:

Handling renaming and match of locally scoped variables. This is just renaming them locally and keep tracking of them. It feels a bit off unscoping them but it must be handled.
The more tricky one is lambda lifting local functions so they are all at the top level. There is the naming problem and also keeping tracking of imported variables and making sure they are explicitly passed as arguments to the generated functions.

A simple example, the function definition:
(defun calle (m n o)
  (let-function ((a (lambda (x y) (list x y o)))
                 (b (lambda (m) (a m n))))
    (b m)))

could be expanded to
(progn
  (define-function calle ()
    (lambda (m n o)
      (-calle/3-local-b/1-0- m n o)))
  (define-function -calle/3-local-b/1-0- ()
    (lambda (m n o)
      (-calle/3-local-a/2-1- m n n o)))
  (define-function -calle/3-local-a/2-1- ()
    (lambda (x y n o)
      (list x y o))))

where see the new names and the "imported" variables n and o included as explicit arguments. It would be easy to use macros to handle the function renaming but it breaks down if a local function has the same name but different arity when we don't want the renaming but to return original form, which generates an infinite loop.
Doing this explicitly is not difficult code but I was just hoping to avoid having to do it.

Related: #361


Configure Kibana URL.

Hi,
I have been trying to use this project with my existing elasticsearch and kibana setup. Fabric beat is however not reading the kibana configurations. I did try many things but it always always connects to localhost.
2019-12-02T05:02:07.902Z	INFO	kibana/client.go:117	Kibana url: http://localhost:5601
Did config in fabricbeat.yml as mentioned in the readme and also in many other places still always localhost. Did anyone try with external kibana for this project?

I think the cause of this issue is a missing configuration in fabricbeat.yml. Add your configuration here as
setup.kibana:
  host: "yourhost:yourport"

Sorry for bad docs. We have not tested this project with external Kibana or Elasticsearch servers yet.

@ashishxooa did you manage to solve your problem?

@balazsprehoda thanks for following-up. I think it did, but there were some other issues, which I don't remember now. I gave up on this and would pick it up later. You might want to close the issue for now.

@ashishxooa We have released a containerized version of fabricbeat to make it easier to deploy. I suggest you to try that when you pick it up again. For details, see #37


PyThaiNLP 3.0 change log

Schedule

First development release: 1 August 2021
Beta release:
Production release:

Docs: https://pythainlp.github.io/dev-docs/index.html
Report bug: https://github.com/PyThaiNLP/pythainlp/issues
GitHub: https://github.com/PyThaiNLP/pythainlp
News

Since PyThaiNLP 2.4, We will end support PyThaiNLP on Python 3.6. Python 3.6 users can use PyThaiNLP 2.3.1
We have updated the dict & rule for newmm. If you use newmm for word tokenization in your model, we recommend you retrain your model.

What is new?
Deprecation and other API changes

#550 Deprecated syllable_tokenize. syllable_tokenize is deprecated, use subword_tokenize instead
https://github.com/PyThaiNLP/pythainlp/commit/701fb3a7842b3abd0b2318ba9074f1902c2f32e9 pythainlp.tag.named_entity.ThaiNameTagger is change to pythainlp.tag.thainer.ThaiNameTagger. This old class will be deprecated in PyThaiNLP version 2.5.

Augment

#580 Add Thai Text Augmentation

Corpus

#557 Fix lots of misspellings in dictionary (words_th.txt)
#576 Add get_corpus_default_db and thainer 1.5 model. Now, You can add corpus on default_db.json and you dont load last thainer model from Internet.

Tag

#599 Add tltk (pos_tag and ner) - add tltk wrapper to pythainlp functions ex ner, word_tokenize and more.
#600 Add NER class - NER class for Named-entity recognizer tasks.

Translate

#589 Add pythainlp.translate.Translate Class
#588 Add Chinese-Thai Machine Translation

Tokenization

#562 Tokenize repeating dots and commas from numbers
#585 Fix token_max_len bug that makes it always zero
#562 Tokenize repeating dots and commas from numbers (fix #461)
#594 Retrained sentenceseg_crfcut.model for PyThaiNLP 2.4
https://github.com/PyThaiNLP/pythainlp/commit/314411086707b60ba8790724301224916f4670b8 Add SEFR CUT to pythainlp
#599 Add tltk (sentence_tokenize and word_tokenize) - add tltk wrapper to pythainlp functions ex ner, word_tokenize and more.
#622 Add nlpo3

Transliterate

#566 Refactor Royin Transliterate: Avoid embedded if blocks and simplified consonant replacing operations
#585 Manually merge update-royin branch with dev branch to add O-ANG rule
#599 Add tltk (g2p and ipa) - add tltk wrapper to pythainlp functions ex ner, word_tokenize and more.
#624 Add pythainlp.transliterate.puan

Word Vector

#573 Fix token_max_len bug that makes it always zero
#583 Add pythainlp.word_vector.WordVector

Spell

#591 Add more spelling engine
#599 Add tltk (spell) - add tltk wrapper to pythainlp functions ex ner, word_tokenize and more.

Generate

#579 Add pythainlp.generate

Tool

#614 Add misspell module

Other

#599 Add tltk - add tltk wrapper to pythainlp functions ex ner, word_tokenize and more.
https://github.com/PyThaiNLP/pythainlp/commit/e357cf8f9b626e3a633dc33b8557fe45dc837aba Update requirements from ssg 0.0.6 to ssg 0.0.8
Spoonerism: Add supports words more 3 syllables #631
Add maiyamok #623 This function is preprocessing MaiYaMok in Thai sentence.

Updated 18/07/2021

From #605, I changed PyThaiNLP 2.4 to PyThaiNLP 3.0.

Update 27/12/2021

PyThaiNLP v3.0.0-dev0 Release! https://github.com/PyThaiNLP/pythainlp/releases/tag/v3.0.0-dev0


invalid attribute for formula '**' version (nil)

[x] ran brew update and can still reproduce the problem?
[x] ran brew doctor, fixed all issues and can still reproduce the problem?
[x] ran brew config and brew doctor and included their output with your issue?

What you were trying to do (and why)
I want to execute the command brew tap riscv/riscv
What happened (include command output)

Command output

➜  ~ brew tap riscv/riscv
==> Tapping riscv/riscv
Cloning into '/usr/local/Homebrew/Library/Taps/riscv/homebrew-riscv'...
remote: Enumerating objects: 10, done.
remote: Counting objects: 100% (10/10), done.
remote: Compressing objects: 100% (6/6), done.
remote: Total 467 (delta 4), reused 10 (delta 4), pack-reused 457
Receiving objects: 100% (467/467), 65.97 KiB | 8.00 KiB/s, done.
Resolving deltas: 100% (289/289), done.
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/riscv/homebrew-riscv/riscv-pk.rb
invalid attribute for formula 'riscv/riscv/riscv-pk': version (nil)
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/riscv/homebrew-riscv/riscv-gnu-toolchain.rb
invalid attribute for formula 'riscv/riscv/riscv-gnu-toolchain': version (nil)
Error: Invalid formula: /usr/local/Homebrew/Library/Taps/riscv/homebrew-riscv/riscv-isa-sim.rb
invalid attribute for formula 'riscv/riscv/riscv-isa-sim': version (nil)
Error: Cannot tap riscv/riscv: invalid syntax in tap!

What you expected to happen
execute the command successfully
Step-by-step reproduction instructions (by running brew commands)
brew tap riscv/riscv

Output of brew config and brew doctor commands

➜  ~ brew config
HOMEBREW_VERSION: 2.2.10
ORIGIN: https://github.com/Homebrew/brew.git
HEAD: 48a1637b24a0c329905a981f4cff547c7fa47943
Last commit: 2 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core.git
Core tap HEAD: 9443972f6a0efcdd07ba36ca123e9412e44f6887
Core tap last commit: 83 minutes ago
HOMEBREW_PREFIX: /usr/local
CPU: dodeca-core 64-bit kabylake
Homebrew Ruby: 2.6.3 => /usr/local/Homebrew/Library/Homebrew/vendor/portable-ruby/2.6.3/bin/ruby
Clang: 10.0 build 1001
Git: 2.20.1 => /Library/Developer/CommandLineTools/usr/bin/git
Curl: 7.54.0 => /usr/bin/curl
Java: 1.8.0_231
macOS: 10.14.6-x86_64
CLT: <IP_ADDRESS>.1.1562985497
Xcode: N/A

The listed formula in that tap fail to validate because they don't have a version that can be parsed from the URL nor a declared version.


Install vsce as dev dependency (so it can be run with "npx vsce")

Thank you so much for your contribution!