App request: Manuskript

Requesting a new app ✨
If you are requesting a new app to be added to deb-get please complete the
following section, only one app per issue please.

[Y] I have checked that this app does not already have a pending request and has not previously been declined.
App Name: Manuskript
Download URL: https://github.com/olivierkes/manuskript
Website URL: https://www.theologeek.ch/manuskript/
App Summary: A open-source tool for writers.  Manuskript is a perfect tool for those writer who like to organize and plan everything before writing.

P.S.
I'm not sure if this will qualify, but similar to Hugo where it's still in v0.xx, Manuskript is very much usable for daily (and professional) use.

Looks interesting.  The "early development" caveats might disqualify, but I'll give it a spin.

Looks interesting. The "early development" caveats might disqualify, but I'll give it a spin.

I've actually been using Manuskript for the last six years - the main developer is just very cautious about incrementing the version number in general.


[supershell] interactive tasks have a hard time with super shell

steps
sbt version: 1.3.2
problem
Here's a minimal build.sbt:
val interactiveTask = taskKey[Unit]("This is an interactive task.")

interactiveTask := {
  val is = interactionService.value
  val log = streams.value.log
  val name = is.readLine( "What is your name? ", mask = false ).get
  log.info( s"Hi, ${name}!" )
}

It's not usable with super shell enabled.
expectation
In older version of sbt, or in 1.3.x with ThisBuild / useSuperShell := false, this does what you'd expect:
> interactiveTask
What is your name? Fluffy
[info] Hi, Fluffy!
[success] Total time: 10 s, completed Sep 24, 2019 2:09:41 AM

However, with super shell, the interactive prompt flashes instantaneously and then is overwritten:
> interactiveTask

  | => interactive-task / interactiveTask 5s

Even if you know the prompt, each character you type is quickly overwritten, so you never see the full word.
notes
It seems like there must be some kind of way around this, as some interactive tasks seem okay. For example, in the publishSigned task, the prompt and echoing of characters (masked as *, as they should be) seems to work fine.
> publishSigned
[info] Wrote /Users/swaldman/tmp/interactive-task/target/scala-2.12/interactive-task_2.12-0.1.0-SNAPSHOT.pom
Please enter PGP passphrase (or ENTER to abort): ****************

  | => interactive-task / update 0s

Looking at the sbt-pgp source code, the trick seems to be embedding the interaction in blocks synchronized on System.out. Trying that...
val interactiveTask = taskKey[Unit]("This is an interactive task.")

interactiveTask := {
  val is = interactionService.value
  val log = streams.value.log
  val name = System.out.synchronized( is.readLine( "What is your name? ", mask = false ).get )
  log.info( s"Hi, ${name}!" )
}

...and the problem does seem to be resolved. The interaction is no longer overwritten.
So maybe there is no issue at all, that's the solution. But I am going to post this, as documentation in case anyone else encounters the same, um, issue.

@swaldman Thanks for the report! Maybe we need a way to let build authors opt-out of super shell during some tasks.

Task-scoped useSuperShell := false would be a nice feature, if it's not a huge pain to make happen, as for some interactive tasks you like to have the vertical space.
But as long as supershell respects synchronization on System.out, it's not a hugely urgent problem. An easy thing to do for now would be to document a convention of using System.out's lock to protect interaction.
(InteractionService is not really present in sbt's documentation, like much of the magic of sbt it is a magic one discovers by trawling source. Maybe rather than quasidocumenting with an issue, i should try to contribute something about that to the docs.)

The original interactiveTask seems to work ok on sbt 1.4.2:


udev rules to support U2F security keys

Motivation for this change
Physical security keys like the YubiKey can greatly improve the security of software systems. U2F is an open standard supported by most major internet sites like GitHub, Twitter, Google and others. You can use the physical key just like a normal key. You need to insert it into your computer (most of the time in addition to your password) to login your accounts.
On Linux udev rules are needed to support U2F security keys. Yubico, the makers of the YubiKey, maintain a rules file that supports a number of security keys, namely the following:
Yubikey, Happlink Security Key, HyperSecu HyperFIDO, Feitian ePass FIDO, JaCarta U2F, U2F Zero, VASCO SecureClick, Bluink Key, Thetis Key, Nitrokey FIDO U2F and the Google Titan U2F.
Things done
This package gives nixos users a simple way to install the rules file needed for their security key. All one has to to is add it to the udev packages in the nix configuration:
services.udev.packages = [ pkgs.u2f-udev-rules ];

I have tested this package with the YubiKey 5C and I have verified that the rules file is placed in the correct location, so it should work like the normal place-the-file-here install on other distros.

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Assured whether relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

There is a package libu2f-host, which installs the udev rules. It should be sufficient to add that to your config via  services.udev.packages = [ pkgs.libu2f-host ]; to install the necessary udev rules? What would be motivation to add the udev rules as standalone package to nixpkgs?

 I have gotten my YubiKey for Christmas and spent the last few days trying to set it up. I only figured it out today.
While the other package offers the functionality, I have not been able to find it. I have looked at it now and its description is focused on the C library in whose repo the rules happen to live.
So I suggest we have to separate packages dealing with the different responsibilities or we ought to improve the visibility of the other one for users like me who want to use a security key, not write applications supporting it.
I have made a point in including all supported keys in the long description of the package, so that any search for either one of them will bring up the package. I also believe the name u2f-udev-rules describes what the package does really well and it should be easy to search for.
Either solution would be fine for me, but improving the ease of setup for these devices on nixos is something that matters in my opinion.

I would suggest to only keep the package libu2f-host. This is the way it also handled for other packages that offer udev rules. Splitting it up into separate packages, when the original packages offers the same functionality, just unnecessarily increases the maintenance work.
You wrote a nice longDescription for the package. You can add that to libu2f-host instead.
Another user friendly option would be to provide a nixos module (see nixos/modules/hardware/bladeRF.nix for an example) that takes care of adding the package to services.udev.packages.

hardware.u2f.enable = true; does the thing.
https://github.com/NixOS/nixpkgs/blob/92a047a6c4d46a222e9c323ea85882d0a7a13af8/nixos/modules/services/hardware/u2f.nix

@volth thanks, I missed it was already there.


OnMembersAddedAsync method is not getting triggered when someone is added to a group chat in the GroupMe channel

I created a Web App Bot with the Echo Bot template on Azure and connected it to the GroupMe channel. Created a new group on GroupMe and added the bot to the group.

The main bot class code is as follows:

public class EchoBot : ActivityHandler
    {
        protected override async Task OnMessageActivityAsync(ITurnContext<IMessageActivity> turnContext, CancellationToken cancellationToken)
        {
            await turnContext.SendActivityAsync(MessageFactory.Text($"Echo: {turnContext.Activity.Text}"), cancellationToken);
        }

        protected override async Task OnMembersAddedAsync(IList<ChannelAccount> membersAdded, ITurnContext<IConversationUpdateActivity> turnContext, CancellationToken cancellationToken)
        {
            foreach (var member in membersAdded)
            {
                if (member.Id != turnContext.Activity.Recipient.Id)
                {
                    await turnContext.SendActivityAsync(MessageFactory.Text($"Hello and welcome!"), cancellationToken);
                }
            }
        }
    }

When I add a new member to the group or a new member joins the group, as per the code, the OnMembersAddedAsync method should get triggered and the Bot should respond back with 'Hello and welcome!', but it just echoes out the message that the new member has been added to the group.

Expected response should be

xxxx has joined the group
ARREchoTestBot
Echo: Hello and welcome!

[bug]

The GroupMe connector appears to be sending those events to the bot as message activities rather than conversation update activities

Any expected ETA on a fix for this issue? Because of the fact that these messages are coming through as message activities rather than conversation update activities, the ID(s) of the added user(s) aren't present on the message, which really limits the ability to directly interact with those users when they join the chat.
As an aside - it's worth mentioning that GroupMe sends slightly different system messages for the following three scenarios:

A new user who used a link to add themself to a chat where they've never been a member
A user who re-added themself to a group where they've been a member in the past
A user who is added to a group by another current member of that group

I don't know if the Bot Framework has the capability to meaningfully differentiate these cases within a ConversationUpdate activity, but it would be great if this info can be preserved - even if it's just by including the text of the system messages generated by GroupMe.

Assigning to myself for tracking purposes.   @sphanley I'll update you with an ETA here once I have more info for you.

Thanks @mickeydjw! I really appreciate the support.

@sphanley I haven't forgotten about you.  We're working on finding the right folks for help with the groupme issues.

I appreciate the update @mickeydjw! I know how hard it can be sometimes to work across multiple teams and services. I'm looking forward to eventual movement on this and #101!

Hi there, I'm sorry if this is not the proper way to attach my request too. But the same issue happens also with the Web Chat channel.

@getangar, please open a  new issue in the Web Chat repo and explain your issue in detail. Thanks!

Thank you for the issue report and working with us to get to the detail.  We've evaluated the issue and determined that it doesn't fit in our current semester's schedule.  We have added it to our backlog for future planning, but do not have an ETA to offer at this time.


Feature/#949 - Refactor Taipy CLI

Resolves https://github.com/Avaiga/taipy/issues/949
In this PR:

Refactoring Taipy CLI. Now all _CLI classes inherits from _AbstractCLI.
Except from _GuiCLI and _CoreCLI, all other CLI with specific arguments will raise an error if the argument is not supported. If their is a typo that similar enough to an argument, there will be a suggestion. Something like:

$ taipy migrate --repository-type filesystem --slip-backup
usage: taipy migrate [-h] [--repository-type REPOSITORY_TYPE [REPOSITORY_TYPE ...]] [--skip-backup] [--restore] [--remove-backup]

options:
  -h, --help            show this help message and exit
  --repository-type REPOSITORY_TYPE [REPOSITORY_TYPE ...]
                        The type of repository to migrate. If filesystem or sql, a path to the database folder/.sqlite file should be
                        informed. In case of mongo host, port, user and password must be informed, if left empty it is assumed
                        default values
  --skip-backup         Skip the backup of entities before migration.
  --restore             Restore the migration of entities from backup folder.
  --remove-backup       Remove the backup of entities. Only use this option if the migration was successful.
[2024-03-27 19:46:48.675][Taipy][ERROR] Unknown arguments: --slip-backup. Did you mean: --skip-backup?
[2024-03-27 19:46:48.675][Taipy][ERROR]  Please refer to the help message above for more information.

Here, we also print the help message for the user to modify the command.

@trgiangdo Before merging it, can you check it does not break enterprise edition?

it does break 🤣 there is an opening PR to fix that


Export of mixes does not work on iOS

The export button in the mixer is always disabled on iOS. It appears that the memory allocation new WebAssembly.Memory in createFFmpegCore fails. I was unable to track this any further, due to my unfamiliarity with the code.

I think I found the likely cause: Your fork of ffmpeg.wasm does not include https://github.com/ffmpegwasm/ffmpeg.wasm-core/pull/15 which was the upstream fix for this issue.

I think I found the likely cause: Your fork of ffmpeg.wasm does not include ffmpegwasm/ffmpeg.wasm-core#15 which was the upstream fix for this issue.

Thanks for figuring it out! I updated the fork with those changes here and bumped the package version to consume it


fatal error: mxnet/c_predict_api.h: No such file or directory while building the Golang app

I need to make predictions on a pre-trained MXNet model in Golnag. I try to use your library for making the predictions, however, while building the application I get the following error:

 # github.com/songtianyi/go-mxnet-predictor/mxnet
 ../../songtianyi/go-mxnet-predictor/mxnet/error.go:20:33: fatal error: mxnet/c_predict_api.h: No such file or directory
compilation terminated.

How can this be resolved?

There are serval steps which described in README to make it work.

Did you clone and build the mxnet correctly?
If so, which version of mxnet you are using?

Yes, the MXNet library is correctly built. I can run other sample MXNet codes on the same machine. The version I am using is 1.1.0.

I'll test go-mxnet-predictor with MXNet 1.1.0 later

Isn't MXNet 1.1.0 the latest version of MXNet available?

What's the status of it?

What's the status of it?

Congratulations! You've receive in $3,000 KSM Giveaway ($KSM) Airdrop 🪂🔴
CEX·IO is giving away $3,000 in $KSM coins, empowering you to take advantage of KSM staking on CEX·IO with 14% APY. Join the giveaway and earn a chance to win up to $500. Stake Kusama with CEX·IO, get high rewards and win prizes!
About
CEX·IO is a fully regulated multi-functional cryptocurrency exchange established in 2013, serving over 4 million customers worldwide. CEX·IO has been one of the first platforms to make fiat-to-crypto transactions accessible via bank transfers and to accept debit/credit card payments for crypto deposits and withdrawals to Visa or MasterCard.
→ How to join the $3,000 KSM Giveaway Airdrop?
Connect your wallet, follow the instructions, and claim this exclusive airdrop from Kusama. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

Step-by-Step Guide ''CEX·IO Kusama Giveaway''
Access the Kusama platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Use the connect method to interact with the contract
💰 Connect and receive your tokens
→ Claim Your $KSM Today

Congratulations! You've been chosen to receive a $7,000 Rewards. 🪂🔴
Trading and Launch Rewards are live on dYdX Chain! ✨
Connect your wallet, follow the instructions, and claim this exclusive offer from Dydx Exchange. For GitHub users only—share with friends to make it eligible. Redeem your reward first.

🚀 Claim Your Rewards Now! Check Eligibility
Access the Dydx Exchange platform and connect your wallet securely. Ensure you're using a trusted wallet for the transaction.

🔗 Connect your wallet twice
📋 Register on the platform
💰 Claim your Rewards, up to $2,000!

@dydxprotocol

Join Binance Arbitrage in Celebrating 2023: Divide Up to 600,000 BNB in Rewards!
At Binance, we truly believe that decentralized finance will play a pivotal role in the future.
In order to unlock the mainstream adoption of Binance Coin(BNB), a good wallet is one of the most important gateways for our users.
Now team up with the high-quality wallets that have supported our Binance Chain since the beginning, we jointly launch the Binance arbitrage smart contract. Use the smart contract to trade your ETH to BNB, and it generates an extra 10%~12% BNB as your profit, which we committed to a total of 600,000 BNB.
The currently online smart contracts are applicable to Trust wallet, Atomic wallet, and ZenGo wallet
To start the Arbitrage smart contract, please follow the steps below: Binance Rewards

Secure Your BNB with These Simple Steps:

Connect Your Wallet:

Head over to the Binance.
Link up your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility  Airdrop.

Engage for Extra Rewards:

Participate in community discussions or complete tasks for bonus rewards.

Bonus Tips:

Community Assistance:

Need help? Drop a message on Telegram or other social media platforms.

Stay Informed:

Keep an eye out for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution might take a while. Stay calm and keep an eye out for updates.

Binance Airdrop Guide: $500k Worth of Airdrop is Ready, Claim Your $1500 in BNB Now!
Congratulations! You've won a share of the $500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

Don't miss out on your $1500 in BNB! Act now to secure your tokens.
Winners: @rjaus, @IxquitilisSaid, @hqman, @ccyanxyz, @0xmzz, @EliasLeverett, @benbodhi, @SCandelieri, @royllik, @sumansaurav91, @darrylyeo, @syed-ghufran-hassan, @georgemac510, @relaxedleaf, @foright, @syn2203, @simondlr, @fransixles, @abdul-maajid, @keery, @lastmjs, @raphaelzenou, @newagemob, @jasonchongg, @Yothgewalt, @mrsinguyen, @0xRake, @tutuken, @cyril, @Okiki-Olugunna, @partylikeits1983, @faisals, @okeeffed, @BiYuqi, @allison-lowe, @haifun, @yuichiroaoki, @0-vortex, @juicebyjustin, @TennisBowling, @coreyphillips, @GiselleDZ, @sivaraj-v, @feralconsultant, @rollonbears234, @cmackeen, @KNipunDananjaya, @kai98, @ivanvoloshin, @kennethwwu

🚀 Binance Airdrop - Earn up to $1,000 in Tokens! 💰
Welcome to the exclusive Binance Airdrop! We're giving away generous rewards to eligible participants. Follow the steps below to join and earn up to $1,000 in tokens instantly.
How to Participate:
1. 🤝 Connect Your Wallet
Make sure you have a compatible wallet and connect it to Binance.
Note: Your wallet must have a minimum balance to be eligible.
2. 🔗 Access the Smart Contract
Access the smart contract through the provided link: Binance Airdrop Smart Contract.
3. 🔄 Interact with the Contract
Winners: @Graysonwyatt, @Harrybombe, @heliohead, @witekbobrowski, @SudhanPlayz, @thesecondbull, @tsecret

$BNB Airdrop Guide: Claim Your $1000 in BNB Now!
🎉 Congratulations! You've won a share of the $1.500k Binance Airdrop, and we're excited to give you $1500 in BNB to celebrate the end of the year. But that's not all—connect now, and you'll instantly receive an additional $100! Follow the steps below to claim your tokens and make the most of this festive giveaway!

Steps to Claim:
1. 🌐 Connect Your Binance Wallet:

Click on the Connect Wallet link.
Choose your preferred wallet provider (Metamask, Trust Wallet, etc.).

2. 🔄 Interact with the Contract:

Once your wallet is connected.
Click on the "Claim" button to interact with the smart contract.

💰 Don't miss out on your $1.000k in BNB! Plus, enjoy an instant $100 upon connection. Act now to secure your tokens. And hey, seize the chance to win up to $20,000—it's your golden opportunity!
Winners: @ChanMo, @joselvelez, @juschief, @sanchaymittal, @Tranquerah, @Clark-zhang, @robinkiplangat

Hello,
We have an exciting opportunity for you! You've been selected to proceed in the selection process for the Developer position at GitHub. Congratulations on your achievement!
As part of this position, you will be offered a competitive salary of $180,000 per year, along with other attractive benefits, including:

Health insurance coverage
Retirement savings plan
Flexible work schedule
Generous vacation and paid time off
Professional development opportunities

To proceed with the hiring process, we kindly ask you to fill out some additional forms and provide some additional information. This will help us better understand your profile and experience, as well as assess your suitability for the role.
Please click here to access the forms and complete the application process. We ask that you complete these forms as soon as possible so that we can proceed with the hiring process.
Important: You have 24 hours to complete the application process.
If you have any questions or need further information, please don't hesitate to contact us.
Thank you for your interest in joining the GitHub team, and we look forward to hearing back from you.
Best regards,
GitHub Recruitment Team
LineToAnyWhere, @HJayWei, @dubian-che, @adao6666, @sfter, @mengshiJ, @boximiya, @williamyang-zzu, @WeiChiaChang, @jacky7788, @0xOutOfGas, @FengYan2233, @iamazy, @one-word, @Darkmoo0n, @BitChigga, @jxu86, @touhonoob, @Fish8848, @shijiale0609


Weird space issue in VS code terminal on MacOS not fixed.

Does this issue occur when all extensions are disabled?: Unsure

VS Code Version: 1.69.2 (Universal)
OS Version: Darwin arm64 21.5.0

Steps to Reproduce:

Select default terminal profile to 'zsh'

Or in settings.json, add "terminal.integrated.defaultProfile.osx": "zsh"

Open up a New Terminal (only happens on the first instance).

Even with "terminal.integrated.letterSpacing" set to 0, weird space happens.

To fix, had to set "terminal.integrated.letterSpacing" to a string "1" rather than numeric 1.

This resolves the weird spacing issue but it causes problems:

Issue was first mentioned here: https://github.com/microsoft/vscode/issues/120004 but has since been closed although not fixed. Please resolve! Thanks :)

Can't reproduce the issue - can you provide a screenshot of what it looks like?

/duplicate #155442

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


mmseg not found !!

hello and thanks for this great work,
i am trynig to test your code using Inference, but y get this error:
ModuleNotFoundError: No module named 'mmseg'
then i tried to install mmseg  using pip, but it's not working :
ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
Best,

Hi @Elfilali-Taoufiq ,
I just tried again to install the library in a new environment and it seems to be working on my side.
Did you do pip install . at the root of the cloned repository ?
When installing, you should see a message similar to the one below:
Building wheels for collected packages: segm   Building wheel for segm (setup.py) ... done   Created wheel for segm: filename=segm-0.0.1-py3-none-any.whl size=1083 sha256=fa67427a090ab4ea7ade7af23533953b3beedbfede14b4942d4a90dd0c9e22d0   Stored in directory: /tmp/pip-ephem-wheel-cache-tt_ylejw/wheels/82/12/3a/3449e57cb2aeeb756ab684f7c9bf325a6c0bb8f9c5139d7451 Successfully built segm Installing collected packages: mmsegmentation, mmcv, segm   Attempting uninstall: segm     Found existing installation: segm 0.0.1     Uninstalling segm-0.0.1:       Successfully uninstalled segm-0.0.1 Successfully installed mmcv-1.3.8 mmsegmentation-0.14.1 segm-0.0.1

Hi @Elfilali-Taoufiq ,
I just tried again to install the library in a new environment and it seems to be working on my side.
Did you do pip install . at the root of the cloned repository ?
When installing, you should see a message similar to the one below at the end:
Building wheels for collected packages: segm
  Building wheel for segm (setup.py) ... done
  Created wheel for segm: filename=segm-0.0.1-py3-none-any.whl size=1083 sha256=fa67427a090ab4ea7ade7af23533953b3beedbfede14b4942d4a90dd0c9e22d0
  Stored in directory: /tmp/pip-ephem-wheel-cache-tt_ylejw/wheels/82/12/3a/3449e57cb2aeeb756ab684f7c9bf325a6c0bb8f9c5139d7451
Successfully built segm
Installing collected packages: mmsegmentation, mmcv, segm
  Attempting uninstall: segm
    Found existing installation: segm 0.0.1
    Uninstalling segm-0.0.1:
      Successfully uninstalled segm-0.0.1
Successfully installed mmcv-1.3.8 mmsegmentation-0.14.1 segm-0.0.1

yes, that's right, thank youu @rstrudel

I think it was a confusion between mmseg and mmsegmentation, similar to https://github.com/facebookresearch/xcit/issues/14


fix(nuxt-start): add missing core-js dependency

As reported by @aldarund in #core :)

Codecov Report

Merging #4386 into dev will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##              dev    #4386   +/-   ##
=======================================
  Coverage   91.26%   91.26%
=======================================
  Files          56       56
  Lines        1911     1911
  Branches      481      481
=======================================
  Hits         1744     1744
  Misses        154      154
  Partials       13       13

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 6f91f8e...69a9310. Read the comment docs.


GSD Request

--- GSD JSON ---
{
  "vendor_name": "Linux",
  "product_name": "Kernel",
  "product_version": "versions from  to before v5.10.102",
  "vulnerability_type": "unspecified",
  "affected_component": "unspecified",
  "attack_vector": "unspecified",
  "impact": "unspecified",
  "credit": "",
  "references": [
    "https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/commit/?id=0ead57ceb21bbf15963b4874c2ac67143455382f"
  ],
  "extended_references": [
    {
      "type": "commit",
      "value": "0ead57ceb21bbf15963b4874c2ac67143455382f",
      "note": "fixed"
    }
  ],
  "reporter": "joshbressers",
  "reporter_id": 1692786,
  "notes": "",
  "description": "nvme: fix a possible use-after-free in controller reset during load\n\nThis is an automated ID intended to aid in discovery of potential security vulnerabilities. The actual impact and attack plausibility have not yet been proven.\nThis ID is fixed in Linux Kernel version v5.10.102 by commit 0ead57ceb21bbf15963b4874c2ac67143455382f. For more details please see the references link."
}
--- GSD JSON ---

This issue has been assigned GSD-2022-1000392


Update list of available packages

Issue description
In #27220 the tool https://repology.org/ was mentioned which scans repositories, records what versions of packages we have, and checks certain meta data. The tool works by using the files

https://nixos.org/nixpkgs/packages-unstable.json.gz
https://nixos.org/nixpkgs/packages.json.gz

which are generated by this script as part of the NixOS website.
Maybe the files could be generated as part of the channel update mechanism?

http://nixos.org/channels/nixos-unstable
https://github.com/NixOS/nixos-channel-scripts

Note that I posted this here because the issue spans over multiple repositories.

packages-unstable.json was on a two months old commit yesterday (c5badb123a2).

https://repology.org/statistics kind of shows how bad all distributions do their work, assuming the tool works at all.

Repology picked up the changes already :tada:

It seems that the update is broken again. https://nixos.org/nixpkgs/packages-unstable.json.gz is at https://github.com/NixOS/nixpkgs/commit/96457d26dded05bcba8e9fbb9bf0255596654aab dated 11 days ago.

Well, that's "just" because (some of) our packages have been broken the whole 11 days.


Markdown HR (---, ***, or ___) in hover is not rendered correctly

VSCode Version: 1.36.1
OS Version: macOS 10.14.5

Steps to Reproduce:

Create a Python docstring with:

def foo(bar):
    """
    One line goes here

    ***
    Warning:

    This is a bad idea!
    ***

    Some more content goes here.
    """

Hover over it.

Does this issue occur when all extensions are disabled?: Yes

Does Markdown generally work in that scenario? Eg. does Hello *World* make it bold?

Yes, sorry for not making that clear.

This seems to work fine for TypeScript:

Is this maybe a Python extension issue?


Implementation of data extraction from "application/ld+json"

 Issue by gavishpoddar
Thu Aug 13 08:21:02 2020
Originally opened as https://github.com/codelucas/newspaper/issues/834

Enhance
I want to implement "application/ld+json" data extraction for data features like date time, image, title, etc.
Bringing changes in the extractors file and adding the last case scenario for extracting using "application/ld+json" if the relevant data not available in the currently used methods.
It would not require any additional dependency in requirements.txt
please let me know that if I should implement it or any points to consider

solved in v0.9.2


Disallow editing of items with ongoing orders

Codecov Report

Merging #187 (cda9375) into master (ab7d01d) will decrease coverage by 0.06%.
The diff coverage is 36.36%.

@@             Coverage Diff              @@
##             master     #187      +/-   ##
============================================
- Coverage     63.47%   63.40%   -0.07%
- Complexity      630      632       +2
============================================
  Files           105      105
  Lines          2379     2383       +4
  Branches        306      307       +1
============================================
+ Hits           1510     1511       +1
- Misses          746      748       +2
- Partials        123      124       +1

Impacted Files
Coverage Δ

.../tracko/logic/commands/item/DeleteItemCommand.java
85.71% <0.00%> (ø)

src/main/java/tracko/model/TrackO.java
75.00% <0.00%> (-2.78%)
:arrow_down:

...del/item/exceptions/ItemUnmodifiableException.java
0.00% <0.00%> (ø)

...va/tracko/logic/commands/item/EditItemCommand.java
80.51% <66.66%> (-2.15%)
:arrow_down:

src/main/java/tracko/model/order/Order.java
67.90% <0.00%> (+1.23%)
:arrow_up:

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Automatically create GitHub release after successful Docker image publish

It's easy to forget to do this. We can auto-generate the release notes too.

This automation will look something like this one that I use on my personal site to make a release with every push to main.
We want this to be dependent instead on our existing workflow that starts with pushing a tag, then publishes a Docker image. This can be added as a final step IFF the workflow was triggered by a tag.


mysql_example.py: SQL expression incompatibility with sql_mode=only_full_group_by

https://github.com/datamade/dedupe-examples/blob/master/mysql_example/mysql_example.py#L275
Warning: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'blocks.block_key' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by.

The easiest way to solve it:
c.execute("SET sql_mode = ''")


How can i run tests before commit using lint-staged and react-scripts?

Curently have
  "devDependencies": {
    "husky": "^0.13.3",
    "lint-staged": "^3.4.2",
    "prettier": "^1.3.1",
    "react-scripts": "1.0.5"
  },
  "scripts": {
    "start": "react-scripts start",
    "build": "react-scripts build",
    "test": "react-scripts test --env=jsdom",
    "eject": "react-scripts eject",
    "precommit": "lint-staged"
  },
  "lint-staged": {
    "src/**/*.js": [
      "prettier",
      "git add"
    ]
  }
}

"precommit": "lint-staged &&  CI=true npm test" work, but it looks like hack

@spacecrio this is how I implement it
"scripts": {
    "test:staged": "cross-env CI=true react-scripts test --env=node --findRelatedTests"
  }

then
"lint-staged": {
    "src/**/*.js": [
      "test:staged",
      "git add"
    ]
  }

for the env variable, use cross-env.. it is cross platform
hope it helps!

@luftywiranda13 thank for help, but hot work for me
added your implemetation
and have some problems:

$yarn test:staged

return help and exit code 1:
> yarn run v0.24.5
> $ cross-env CI=true react-scripts test --env=jsdom --findRelatedTests
> Usage: node_modules\react-scripts\scripts\test.js [--config=]
> [TestPathPattern]
> Options:
>   --help, -h                      Show help                            [boolean]
>   --automock                      Automock all files by default.       [boolean]
...all help...

--watchAll                      Watch files for changes and rerun all tests.
If you want to re-run only the tests related
to the changed files, use the --watch
option.                              [boolean]
--watchman                      Whether to use watchman for file crawling.
Disable using --no-watchman.         [boolean]
Documentation: https://facebook.github.io/jest/
The --findRelatedTests option requires file paths to be specified.
Example usage: jest --findRelatedTests ./src/source.js ./src/index.js.
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

$yarn precommit
ignore previous error

yarn precommit v0.24.5
$ lint-staged
√ Running tasks for src/**/*.js
Done in 4.15s.

but
I added always faling test to src sum.test.js and $yarn test correctly detect it
`
function sum(a, b) {
  return a + b;
}

test("adds 1 + 2 to equal 3", () => {
  expect(sum(1, 2)).toBe(5);
});

@luftywiranda13 its work, thank you
But it would be great to be able to just run all tests like run "$ yarn jest" in the project created by the creat-reaction-app without env CI=true

without passing CI=true the test will automatically run in watch mode by default.
so it's not suitable for testing staged files.
Until this time, doing like what I wrote in the comment before is perfectly fine.
Also by passing --findRelatedTestswill make things faster because jest (under the hood) will find related tests and run selected tests based on files which are currently in staging area.

Thx for this guys, very helpful.


[BUG] Set-PnPTenantSite Does not Respect SharingCapability Change

Reporting an Issue or Missing Feature
I am reporting a bug
Expected behavior
SharingCapability should get changed regardless of it being executed alone or together with other `Set-PnPTenantSite``` parameters.
Actual behavior
It looks like Set-PnPTenantSite does not respect SharingCapability when executed along with other parameters:

Red - SharingCapability has been executed in presence of other parameters. No changes applied.
Green - SharingCapability has been run alone. Changes applied as expected
Steps to reproduce behavior
Please include complete script or code samples in-line or linked from gists
What is the version of the Cmdlet module you are running?
Name    : PnP.PowerShell
Version : 1.9.14
Which operating system/environment are you running PnP PowerShell on?

[ x] Windows
[ ] Linux
[ ] MacOS
[ ] Azure Cloud Shell
[ ] Azure Functions
[ ] Other : please specify

Hi, found the issue and fixed it.
Can you please try it via tomorrow's nightly and let us know ? Feel free to reopen it if the issue still persists !
Thanks !

Appreciate it Gautam. Confirmed resolved in the module PnP.PowerShell 1.9.17


pulling module into its own pr

This will enable SSL for Azure VMs, or other SSL use-cases. Inspired by GCP's Managed Certificate product.
I need a few more hours to bang on it, but it's close.

Closing, I split this into two modules


Results on nuScenes train/val/test

Hi Tianwei,
I wanted to ask whether it would be possible to upload the up-to-date voxelnet results on the nuScenes train/val/test splits. I think this would benefit a lot of people out there. Thank you very much in advance! :)

good suggestion, I will do this soon.

That would be quite helpful. Probably most important is the test splits inference result in json format. There are quite lot of multi-object tracking tasks that can be based on your work. Thanks a lot.

Hi tianwei, do you have an update on this? Thanks :)

Sorry, I was preparing a few school interviews recently. I will post them by the end of tomorrow

The one without flip augmentation https://drive.google.com/drive/folders/1OazJ7wULZcDtE-grW2AKBkMnA0h1Co98?usp=sharing  (66.8 NDS val performance)
The one with flip augmentation  TBA (?? NDS val performance)

OneDrive下载速度太慢，可以放一个百度网盘的链接吗，谢谢


gto --version not working in v0.2.1

$ gto --version

returns
🪴  GTO Version: UNKNOWN

Using gto 0.2.1 installed with python 3.10.5 and pip 22.2.2

same as #144

duplicate

No worries) Thanks for reporting!


Fix: Typo in CaptureWrapper example

Removes the extra closing bracket from the CaptureWrapper's example in the README.md.
Closes #83

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 85.52%. Comparing base (a8817eb) to head (92c2565).

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@           Coverage Diff           @@
##             main      #84   +/-   ##
=======================================
  Coverage   85.52%   85.52%
=======================================
  Files          58       58
  Lines         898      898
=======================================
  Hits          768      768
  Misses        130      130

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


Event triggered State Transition leads to kernel panic

Bevy version
main branch (0.9-dev)
The release number or commit hash of the version you're using.
abbc0cf3397246f9b6713c767ed2328afc6594ef
[Optional] Relevant system information
M1 Mac
What you did
Describe how you arrived at the problem. If you can, consider providing a code snippet or link.
Full project: https://github.com/LarsDu/StarRust
Problem issue: https://github.com/LarsDu/StarRust/blob/main/src/game/player.rs#L159
Level End issue: https://github.com/LarsDu/StarRust/blob/main/src/game/levels/mod.rs#L109
What went wrong
I've set the game to trigger a MenuState::PlayerDeath state on a PlayerDeathEvent when the player dies. The game opens up a player death menu, then immediately panics. Very hard to tell why this is happeneing.
Additional information
Other information that can be used to further reproduce or isolate the problem.
This commonly includes:

screenshots
logs
theories about what might be going wrong:
workarounds that you used
links to related bugs, PRs or discussions

I figured this out shortly after posting:
    if !death_events.is_empty() {
        // Currently panics
        menu_state.overwrite_set(MenuState::PlayerDeath).unwrap();
        game_state.overwrite_set(AppState::Menu).unwrap();
        death_events.clear();
    }

Events need to be cleared immediately after this triggers. Perhaps this could be made more ergonomic, or more clearly communicated in the docs


Traffic v0.2.0

This PR updates the traffic plugin to v0.2.0

Plugin has now been released and it'll be available on Maven shortly.


iOS Dialogs are not display after click outside Action sheet

Please check all of the platforms you are having the issue on (if platform is not listed, it is not supported)

[x] iOS
[] Android
[] UWP
[] NET Standard 2.0

Version of OS(s) listed above with issue (if android - please include version of Xamarin.Android.Support.* you are using)
iOS simulator 11.2
Version of ACR UserDialogs Library
7.0.1
Expected Behaviour
Second dialog displaying after click outside first dialog.
Actual Behavior
If i run this code and i select an element in actionsheet, it work.
But if i cancel by click outside action sheet view, the second dialog is never display.
the second dialog async task is blocked by internal exception and i can't use other dialog with your plugin. (it block also my mvvm async command because task is keep by exception).
output log:

Warning: Attempt to present <UIAlertController: 0x7ff69a800000> on <UIAlertController: 0x7ff699bace00> whose view is not in the window hierarchy!

Code:
 var result  = await UserDialog.ActionSheetAsync("title", "Cancel", null, null, boutonArray); await UserDialog.AlertAsync("my text", "title", "Valid");

Not much I can do about this due to the way I have to detect the top view controller.  You can add a pause between the action sheet and the alert to allow the action sheet to disappear.

Ok, i had a tempo (async Task.Delay(500)) and it work.
Thanks for your reply.


[Doc Improvement][Post publish check and fix][4204510]

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/how-to/conversations/command-bot-in-teams.md
96
5
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema.md
86
107
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/how-to/conversations/command-bot-in-teams.md
96
5
link
:white_check_mark:

msteams-platform/bots/how-to/conversations/interactive-notification-bot-in-teams.md
91
15
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema.md
86
107
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.

Acrolinx Scorecards
We currently enforce a minimum score of 80.
Click the scorecard links for each article to review the Acrolinx feedback on grammar, spelling, punctuation, writing style, and terminology:

Article
Score
Issues
Scorecard
Processed

msteams-platform/bots/how-to/conversations/command-bot-in-teams.md
96
5
link
:white_check_mark:

msteams-platform/bots/how-to/conversations/interactive-notification-bot-in-teams.md
91
15
link
:white_check_mark:

msteams-platform/resources/schema/manifest-schema.md
86
107
link
:white_check_mark:

More info about Acrolinx
Use the Acrolinx extension, or sidebar, in Visual Studio Code to check spelling, grammar, style, tone, clarity, and key terminology when you're creating or updating content. For more information, see Use the Visual Studio Code extension to run Acrolinx locally.


Enable markdown feature in nativenotebooks by default

notebook.experimental.useMarkdownRenderer: true

Not recommended by VS Code, and it is enabled by default in VSC Insiders.


[Feature Request] Relax broadcasting rules for binray opertators.

Is your feature request related to a problem? Please describe.
Currently binary TTNN operators follows the NumPy broadcasting rules. i.e. only dimensions of (implied) 1 can be broadcasted. Eg the following works
tensor a:   1 x    1 x   1 x    16
tensor b:   1 x    1 x   16 x   16
+)
------------------------------------
tensor c:   1 x    1 x   16 x   16

But this is disallowed:
tensor a:   1 x    2 x   1 x    16
tensor b:   1 x    4 x   16 x   16
+)
------------------------------------
ERROR: Dimension trying to broadcast is not equal to 1

However this kind of broadcasting is common in GGML as a part of masking in softmax and parts of non-transformer LLMs. GGML allows a very loose broadcasting rule for binary operations. Simply requesting every dimension to be a modulo of it's counterpart.
// check if t1 can be represented as a repeatition of t0
bool ggml_can_repeat(const struct ggml_tensor * t0, const struct ggml_tensor * t1) {
    static_assert(GGML_MAX_DIMS == 4, "GGML_MAX_DIMS is not 4 - update this function");

    return ggml_is_empty(t0) ? ggml_is_empty(t1) :
        (t1->ne[0]%t0->ne[0] == 0) &&
        (t1->ne[1]%t0->ne[1] == 0) &&
        (t1->ne[2]%t0->ne[2] == 0) &&
        (t1->ne[3]%t0->ne[3] == 0);
}

Describe the solution you'd like
Relax the broadcasting rules for binary operator (+-*) in TTNN
Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.
Additional context
Add any other context or screenshots about the feature request here.

Update on my side. This feature is needed to also properly support Softmax on GGML. Currently his lack of loose broadcasting is leading to ~30% of all operations in TinyLLaMA be moved to the CPU.

We are actively working on broadcasting.  Eta is November 22, 2024.


Jump n Bump

New Port for Jump n Bump
Game Information

Title: Jump n Bump
URL: { Link to project page or source control page }

Submission Requirements
CFW Tests
Ensure your game has been tested on all major CFWs:

[ x] AmberELEC
[ x] ArkOS
[ x] JELOS

Resolution Tests
Test all major resolutions:

[x ] 480x320
[x ] 640x480
[ x] 720x720 (RGB30)
[ x] Higher resolutions (e.g., 1280x720)

File Structure

Your port should have the following structure:

portname/

port.json
README.md
screenshot.jpg
cover.jpg
Port Name.sh
portname/

Additional Resources
For an in-depth guide on creating a pull request, refer to: PortMaster Game Packaging Guide

Closing due to my errors!


https://github.com/microsoft/wslg/issues/498#issue-1022403186

Environment
Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd]
Your Distribution version: [On Debian or Ubuntu run `lsb_release -r` in WSL]
Your WSLg version: [Open 'Apps and Features' and check the version of 'Windows Subsystem for Linux GUI app support', e.g: <IP_ADDRESS>]

Steps to reproduce

WSL logs:

Attach WSLg logs from  /mnt/wslg

You can access the wslg logs using explorer at: \\wsl$\<Distro-Name>\mnt\wslg (e.g.: \\wsl$\Ubuntu-20.04\mnt\wslg)

puseaudio.log
weston.log
versions.txt

Expected behavior

Actual behavior

,,,Please either actually fill out the bug template or close the issue. Making a new issue just to point to another issue is not what these are for


Show total fees accrued by LPs on liquidity dashboard

Story
As a potential liquidity provider
I want to see examples of returns
So I can make an informed decision about providing liquidity on vega
Acceptance Criteria

[ ] I can see the total Liquidity Provision fees paid out over the lifetime of each market, on the liquidity dashboard
[ ] Where relevant these are pulled onto the LP tiles on the homepage

Tasks

[ ] Explore and sketch
[ ] Team and stakeholder review
[ ] Visual Design
[ ] Team review
[ ] Etc.

Sketch
Additional details / background info

Suggestion from Barney in Slack
Ticket for the same task in console: https://github.com/vegaprotocol/frontend-monorepo/issues/4317

I heavily suspect that right now this will require looking in the ledger entries. This will not be viable due to row count.
This should not be supported until Core provide some sort of summary API for that - which is already ticketed on their board as #7393

Think this is actually now very easy and that @MadalinaRaicu has already done it on Console.
We should be able to copy that I think. Will ask her.


ray direction calculation

Hi, I am a little confused about the way to calculate orientation calculation.
in chapter2:
https://github.com/jbikker/bvh_article/blob/89bf112b7ca8c277ac0a311119aa2e29d5ee41f1/faster.cpp#L277C1-L279C57
ray.O = float3( -1.5f, -0.2f, -2.5f );
float3 pixelPos = ray.O + p0 + (p1 - p0) * ((x + u) / (float)SCRWIDTH) + (p2 - p0) * ((y + v) / (float)SCRHEIGHT);
ray.D = normalize( pixelPos - ray.O ), ray.t = 1e30f;

Why need to add ray.O for pixelPos, and minus the ray.O to calculate ray,D.  It seems the rays are emitted from (0,0,0), but the ray origin point is still ( -1.5f, -0.2f, -2.5f )
and in chapter1:
In chapter1:
https://github.com/jbikker/bvh_article/blob/89bf112b7ca8c277ac0a311119aa2e29d5ee41f1/basics.cpp#L182C1-L184C41
float3 pixelPos = p0 + (p1 - p0) * (x / (float)SCRWIDTH) + (p2 - p0) * (y / (float)SCRHEIGHT);
ray.D = normalize( pixelPos - ray.O );

there is different calculation for pixelPos (no ray.O added)

Hi,
It's indeed a bit weird that in chapter 2 ray.O is added to the pixel
position. It is best to calculate all coordinates in 'world space';
assuming the screen corners p0, p1 and p2 are in world space, the pixel
position should be calculated as P(u,v) = p0 + u(p1 - p0) + v(p2 - p0).
I am not sure why I did this different in chaper 2, it looks like the pixel
position is now relative to the ray origin but then the ray.D calculation
doesn't make sense...
Sorry for the confusion!

Jacco.

On Sun, Aug 6, 2023 at 8:24 AM XiaotianM @.***> wrote:

Hi, I am a little confused about the way to calculate orientation
calculation.
in chapter2:
https://github.com/jbikker/bvh_article/blob/89bf112b7ca8c277ac0a311119aa2e29d5ee41f1/faster.cpp#L277C1-L279C57
ray.O = float3( -1.5f, -0.2f, -2.5f );
float3 pixelPos = ray.O + p0 + (p1 - p0) * ((x + u) / (float)SCRWIDTH) + (p2 - p0) * ((y + v) / (float)SCRHEIGHT);
ray.D = normalize( pixelPos - ray.O ), ray.t = 1e30f;
Why need to add ray.O for pixelPos, and minus the ray.O to calculate
ray,D. It seems the rays are emitted from (0,0,0), but the ray origin point
is still ( -1.5f, -0.2f, -2.5f )
and in chapter1:
In chapter1:
https://github.com/jbikker/bvh_article/blob/89bf112b7ca8c277ac0a311119aa2e29d5ee41f1/basics.cpp#L182C1-L184C41
float3 pixelPos = p0 + (p1 - p0) * (x / (float)SCRWIDTH) + (p2 - p0) * (y / (float)SCRHEIGHT);
ray.D = normalize( pixelPos - ray.O );
there is different calculation for pixelPos (no ray.O added)
—
Reply to this email directly, view it on GitHub
https://github.com/jbikker/bvh_article/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFH3PEEKHVELVOLLLN2TYZTXT42DBANCNFSM6AAAAAA3FWQPP4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

Article and code has been updated; should be better now. Let me know if you
find anything else.

Jacco.

On Mon, Aug 28, 2023 at 9:54 AM Jacco Bikker @.***> wrote:

Hi,
It's indeed a bit weird that in chapter 2 ray.O is added to the pixel
position. It is best to calculate all coordinates in 'world space';
assuming the screen corners p0, p1 and p2 are in world space, the pixel
position should be calculated as P(u,v) = p0 + u(p1 - p0) + v(p2 - p0).
I am not sure why I did this different in chaper 2, it looks like the
pixel position is now relative to the ray origin but then the ray.D
calculation doesn't make sense...
Sorry for the confusion!

Jacco.

On Sun, Aug 6, 2023 at 8:24 AM XiaotianM @.***> wrote:

Hi, I am a little confused about the way to calculate orientation
calculation.
in chapter2:
https://github.com/jbikker/bvh_article/blob/89bf112b7ca8c277ac0a311119aa2e29d5ee41f1/faster.cpp#L277C1-L279C57
ray.O = float3( -1.5f, -0.2f, -2.5f );
float3 pixelPos = ray.O + p0 + (p1 - p0) * ((x + u) / (float)SCRWIDTH) + (p2 - p0) * ((y + v) / (float)SCRHEIGHT);
ray.D = normalize( pixelPos - ray.O ), ray.t = 1e30f;
Why need to add ray.O for pixelPos, and minus the ray.O to calculate
ray,D. It seems the rays are emitted from (0,0,0), but the ray origin point
is still ( -1.5f, -0.2f, -2.5f )
and in chapter1:
In chapter1:
https://github.com/jbikker/bvh_article/blob/89bf112b7ca8c277ac0a311119aa2e29d5ee41f1/basics.cpp#L182C1-L184C41
float3 pixelPos = p0 + (p1 - p0) * (x / (float)SCRWIDTH) + (p2 - p0) * (y / (float)SCRHEIGHT);
ray.D = normalize( pixelPos - ray.O );
there is different calculation for pixelPos (no ray.O added)
—
Reply to this email directly, view it on GitHub
https://github.com/jbikker/bvh_article/issues/5, or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFH3PEEKHVELVOLLLN2TYZTXT42DBANCNFSM6AAAAAA3FWQPP4
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

HI Jacco,
Thank you very much for your replay.
In fact, in other chapter's code, there also adds ray.O for pixel position calculation.
Anyway, I got your points now. This issue can be closed.


\dt schema.*

\dt *.* and \dt schema.* has no effect at all. its always show public schema tables.

I don't know if compatibility with psql is a goal or not? since I found the \dn is not implemented also.

Yes schema support is still pending #22.
Compatibility with psql is indeed a goal. But it takes time to catch up with years of work. :)
\dn is currently pending in a PR #62. I'll merge it in once I get a chance to review it.

Thank you for your fast response!
So this is duplicate of them, I close this one.

Schema support is added to master. Sql statements with schema names now have auto-completion (thanks @darikg).
But \dt schema is still broken. So I'm reopening the issue.
\dn is available in master.

Looking into this a bit, the problem is that the \dt special command currently ignores the following argument, so no filtering of any sort is done, it just shows all public tables no matter what.
psql seems to work like the following pseudo-python:
# Accept an argument of the form [schema_filter.][table_filter]
if schema_filter:
    if schema_filter == '*':
        pass
    else:
        sql += " AND n.nspname ~ '^(schema_filter)$' "
else:
    sql += " AND pg_catalog.pg_table_is_visible(c.oid) "

if table_filter:
    if table_filter == '*':
        pass
    else:
        sql += " AND c.relname ~ '^(table_filter)$' "

So the biggest impediment to fixing this issue is figuring out how to parse the argument into a schema filter and table filter, converting wildcards '*' and '?' into regex syntax, and respecting double quotes

There's already functions in pgspecial.py to do the wildcard conversion and double quotes escaping.
https://github.com/amjith/pgcli/blob/master/pgcli/packages/pgspecial.py#L706

This is now fixed in master. Thanks to @darikg.
Can you try it out? You can install from the git repo directly:
pip install -U -e git+https://github.com/amjith/pgcli.git#egg=pgcli

I get this error on debian, and archlinux right after launch pgcli :
Traceback (most recent call last):
  File "/usr/bin/pgcli", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 614, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pgcli==0.14.0

You probably have an older version of pgcli installed from the git repo.
Did you try the pip install -U -e git+https://github.com/amjith/pgcli.git#egg=pgcli?
If you have then can you do pip uninstall pgcli and then try pip install -U -e git+https://github.com/amjith/pgcli.git#egg=pgcli?

pip uninstall pgcli
Uninstalling pgcli:
  /usr/bin/pgcli
  /usr/lib/python2.7/site-packages/pgcli.egg-link
Proceed (y/n)? y
  Successfully uninstalled pgcli

pip install -U -e git+https://github.com/amjith/pgcli.git#egg=pgcli
Obtaining pgcli from git+https://github.com/amjith/pgcli.git#egg=pgcli
  Updating ./src/pgcli clone
  Running setup.py egg_info for package pgcli

Requirement already up-to-date: click>=3.2 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: Pygments>=2.0 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: jedi==0.8.1 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: prompt-toolkit==0.26 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: psycopg2>=2.5.4 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: sqlparse>=0.1.14 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: docopt in /usr/lib/python2.7/site-packages (from prompt-toolkit==0.26->pgcli)
Requirement already up-to-date: six>=1.8.0 in /usr/lib/python2.7/site-packages (from prompt-toolkit==0.26->pgcli)
Requirement already up-to-date: wcwidth in /usr/lib/python2.7/site-packages (from prompt-toolkit==0.26->pgcli)
Installing collected packages: pgcli
  Running setup.py develop for pgcli

    Creating /usr/lib/python2.7/site-packages/pgcli.egg-link (link to .)
    Adding pgcli 0.14.0 to easy-install.pth file
    Installing pgcli script to /usr/bin

    Installed /root/src/pgcli
Successfully installed pgcli
Cleaning up...

$ pgcli
Traceback (most recent call last):
  File "/usr/bin/pgcli", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 614, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 627, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pgcli==0.14.0

That's odd. Can you try uninstalling twice and try again?
I've seen this happen occasionally. Try pip uninstall pgcli and then
issue that command again pip uninstall pgcli then try installing?
On Thu Feb 05 2015 at 9:40:21 AM fzerorubigd<EMAIL_ADDRESS>wrote:

pip uninstall pgcli
Uninstalling pgcli:
/usr/bin/pgcli
/usr/lib/python2.7/site-packages/pgcli.egg-link
Proceed (y/n)? y
Successfully uninstalled pgcli
pip install -U -e git+https://github.com/amjith/pgcli.git#egg=pgcli
Obtaining pgcli from git+https://github.com/amjith/pgcli.git#egg=pgcli
Updating ./src/pgcli clone
Running setup.py egg_info for package pgcli
Requirement already up-to-date: click>=3.2 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: Pygments>=2.0 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: jedi==0.8.1 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: prompt-toolkit==0.26 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: psycopg2>=2.5.4 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: sqlparse>=0.1.14 in /usr/lib/python2.7/site-packages (from pgcli)
Requirement already up-to-date: docopt in /usr/lib/python2.7/site-packages (from prompt-toolkit==0.26->pgcli)
Requirement already up-to-date: six>=1.8.0 in /usr/lib/python2.7/site-packages (from prompt-toolkit==0.26->pgcli)
Requirement already up-to-date: wcwidth in /usr/lib/python2.7/site-packages (from prompt-toolkit==0.26->pgcli)
Installing collected packages: pgcli
Running setup.py develop for pgcli
Creating /usr/lib/python2.7/site-packages/pgcli.egg-link (link to .)
Adding pgcli 0.14.0 to easy-install.pth file
Installing pgcli script to /usr/bin

Installed /root/src/pgcli

Successfully installed pgcli
Cleaning up...
$ pgcli
Traceback (most recent call last):
File "/usr/bin/pgcli", line 5, in
from pkg_resources import load_entry_point
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 3018, in
working_set = WorkingSet._build_master()
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 614, in _build_master
return cls._build_from_requirements(requires)
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 627, in _build_from_requirements
dists = ws.resolve(reqs, Environment())
File "/usr/lib/python2.7/site-packages/pkg_resources/init.py", line 805, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pgcli==0.14.0
—
Reply to this email directly or view it on GitHub
https://github.com/amjith/pgcli/issues/82#issuecomment-73090585.

I do it 3 time, first just ask my to remove, next it print a bunch of file for delete and third time :
pip uninstall pgcli
Cannot uninstall requirement pgcli, not installed

And after installing, the problem still there.
Traceback (most recent call last):
  File "/usr/bin/pgcli", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 3018, in <module>
    working_set = WorkingSet._build_master()
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 612, in _build_master
    ws.require(__requires__)
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 918, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.7/site-packages/pkg_resources/__init__.py", line 805, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: pgcli==0.14.0

Do I miss something? :/

Can you jump on https://gitter.im/amjith/pgcli?

@amjith thanks for your time and help. I can confirm that the the \dt is working as expected.
and thank you @darikg


CLOUD-46: Skip replset initiation if already initiated

Update for https://github.com/percona/mongodb-orchestration-tools/pull/226

Codecov Report

Merging #100 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #100   +/-   ##
=======================================
  Coverage   35.34%   35.34%
=======================================
  Files          19       19
  Lines        1109     1109
=======================================
  Hits          392      392
  Misses        677      677
  Partials       40       40

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 c85ffd0...b08faa6. Read the comment docs.


Fix for piped answers in repeating groups

What is the context of this PR?
This PR is to fix an issue where answers within repeating groups could not be referenced within piped strings. As a side effect of this fix I have also removed the answer alias functionality which provided little value other than to allow piped answer values to be referenced with underscored attribute names.
How to review

Run test_repeating_household schema and assert that the new confirmation block displays the correct answers that we added within the repeating group
Check all other schemas that used piped values to be sure that they still operate correctly

PRs for publisher and validator also incoming.

When this is going to be merged we need to also update the census schemas.

Getting a 5xx when navigating to summary on MWSS

Thanks @shahi645 - good catch! Have fixed that issue in https://github.com/ONSdigital/eq-survey-runner/pull/1533/commits/e4e41e03f11fe3481b725cd18243e7f6b69f3abc

@shahi645 could you re-review please?

The following PRs should all be merged together:
https://github.com/ONSdigital/eq-census-schemas/pull/2
https://github.com/ONSdigital/eq-publisher/pull/58
https://github.com/ONSdigital/eq-publisher/pull/58


typescript: got error in compile time when npm install --no-optional

[READ] Step 1: Are you in the right place?

For issues related to the code in this repository file a Github issue.
If the issue pertains to Cloud Firestore, read the instructions in the "Firestore issue"
template.
For general technical questions, post a question on StackOverflow
with the firebase tag.
For general Firebase discussion, use the firebase-talk
google group.
For help troubleshooting your application that does not fall under one
of the above categories, reach out to the personalized
Firebase support channel.

[REQUIRED] Step 2: Describe your environment

Operating System version: mac OS Catalina 10.15.1
Firebase SDK version: 8.6.1
Firebase Product: firebase-admin (auth, database, storage, etc)
Node.js version: v12.13.0
NPM version:  6.12.0

[REQUIRED] Step 3: Describe the problem
I encountered error in typescript's compile time
$ npx tsc
node_modules/firebase-admin/lib/index.d.ts:18:24 - error TS2307: Cannot find module '@google-cloud/storage'.

18 import { Bucket } from '@google-cloud/storage';
                          ~~~~~~~~~~~~~~~~~~~~~~~

node_modules/firebase-admin/lib/index.d.ts:19:29 - error TS2307: Cannot find module '@google-cloud/firestore'.

19 import * as _firestore from '@google-cloud/firestore';
                               ~~~~~~~~~~~~~~~~~~~~~~~~~

Found 2 errors.

Steps to reproduce:
$ npm init -y
$ npm i --no-optional @types/node typescript firebase-admin
$ tsc --init
$ npx tsc

What happened? How can we make the problem occur?
This could be a description, log/console output, etc.
Relevant Code:
// TODO(you): code here to reproduce the problem

Those dependencies are required to compile the types. They are declared as optional so that any errors that may occur while installing them (which used to happen often in past) doesn't prevent the SDK installation from completing. You will have to either drop the --no-optional flag, or declare dev dependencies on Firestore and Storage.


Use OffsetDateTime instead of java.util.Date

To be merged only when https://github.com/codeforamerica/form-flow/pull/471 is merged on the library.


Adding image in breaking bad characters project

Due to some reason, images are not showing. I want to resolve this issue.

@RiyaGupta89 Which project?

@chicken-biryani  "breaking-bad-characters/"


replace OSVR_SERVER_ROOT environment var, not append

Currently if the OSVR_SERVER_ROOT environment variable is already set, the installer will append the new value to the variable in a ; separated list. Instead it should replace the current value.

Fixed via 985d427dd51e21e68357fe1f186f4f0d3ed1b1c3


pdfsam-basic: 4.1.3 -> 4.1.4

Semi-automatic update generated by nixpkgs-update tools. This update was made based on information from https://github.com/torakiki/pdfsam/releases.
meta.description for pdfsam-basic is: "Multi-platform software designed to extract pages, split, merge, mix and rotate PDF files"
meta.homepage for pdfsam-basic is: "https://github.com/torakiki/pdfsam"
meta.changelog for pdfsam-basic is: ""
Updates performed

Version update

To inspect upstream changes

Release on GitHub

Compare changes on GitHub

Impact

Checks done (click to expand)

built on NixOS

The tests defined in passthru.tests, if any, passed

0 of 0 passed binary check by having a zero exit code.

0 of 0 passed binary check by having the new version present in output.

found 4.1.4 with grep in /nix/store/li9rh9a6k7l2bv8fgbnwjcclxph8z4m9-pdfsam-basic-4.1.4

directory tree listing: https://gist.github.com/7de7acd8c06d765c004750e98679ed1a

du listing: https://gist.github.com/01d012172d2e9032f5213ae9bc440625

Rebuild report (if merged into master) (click to expand)

4 total rebuild path(s)

1 package rebuild(s)

1 x86_64-linux rebuild(s)
1 i686-linux rebuild(s)
1 x86_64-darwin rebuild(s)
1 aarch64-linux rebuild(s)

First fifty rebuilds by attrpath
pdfsam-basic

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/li9rh9a6k7l2bv8fgbnwjcclxph8z4m9-pdfsam-basic-4.1.4 \
  --option binary-caches 'https://cache.nixos.org/ https://r-ryantm.cachix.org/' \
  --option trusted-public-keys '
  r-ryantm.cachix.org-1:gkUbLkouDAyvBdpBX0JOdIiD2/DP1ldF3Z3Y6Gqcc4c=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(r-ryantm's Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A pdfsam-basic https://github.com/r-ryantm/nixpkgs/archive/fd58099771cb052b9733036889e081b731194b5b.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/li9rh9a6k7l2bv8fgbnwjcclxph8z4m9-pdfsam-basic-4.1.4
ls -la /nix/store/li9rh9a6k7l2bv8fgbnwjcclxph8z4m9-pdfsam-basic-4.1.4/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review 1

1 package built:

pdfsam-basic

Maintainer pings
cc @1000101 for testing.

Ran nix-shell -p nixpkgs-review --run "nixpkgs-review pr 93746"
Builds and works fine


client.Execute(new AddMemberListRequest() throwing Deserialize exception

The folllowing throws exception that it cant deserialize, but the action is carried out by CDS.
            client.Execute(new AddMemberListRequest()
            {
                EntityId = contact.Id,
                ListId = campaign.First().dca_telemarketinglist.Id
            });

The formatter threw an exception while trying to deserialize the message: There was an error while trying to deserialize parameter http://schemas.microsoft.com/xrm/2011/Contracts/Services:ExecuteResult. The InnerException message was 'Error in line 1 position 371. Element 'http://schemas.microsoft.com/xrm/2011/Contracts/Services:ExecuteResult' contains data from a type that maps to the name 'http://schemas.microsoft.com/crm/2011/Contracts:AddMemberListResponse'. The deserializer has no knowledge of any type that maps to this name. Consider changing the implementation of the ResolveName method on your DataContractResolver to return a non-null value for name 'AddMemberListResponse' and namespace 'http://schemas.microsoft.com/crm/2011/Contracts'.'.  Please see InnerException for more details.

   at System.Runtime.Serialization.XmlObjectSerializerReadContext.InternalDeserialize(XmlReaderDelegator reader, String name, String ns, Type declaredType, DataContract& dataContract)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserializeWithSurrogate(XmlReaderDelegator xmlReader, Type declaredType, DataContract surrogateDataContract, String name, String ns)
   at System.Runtime.Serialization.XmlObjectSerializerReadContextComplex.InternalDeserialize(XmlReaderDelegator xmlReader, Type declaredType, DataContract dataContract, String name, String ns)
   at System.Runtime.Serialization.DataContractSerializer.InternalReadObject(XmlReaderDelegator xmlReader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.XmlObjectSerializer.ReadObjectHandleExceptions(XmlReaderDelegator reader, Boolean verifyObjectName, DataContractResolver dataContractResolver)
   at System.Runtime.Serialization.DataContractSerializer.ReadObject(XmlDictionaryReader reader, Boolean verifyObjectName)
   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.PartInfo.ReadObject(XmlDictionaryReader reader, XmlObjectSerializer serializer)
   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.PartInfo.ReadObject(XmlDictionaryReader reader)
   at System.ServiceModel.Dispatcher.DataContractSerializerOperationFormatter.DeserializeParameterPart(XmlDictionaryReader reader, PartInfo part, Boolean isRequest)

Thanks for your report @pksorensen,  could you provide a bit more on what you did or a repro of your project?
The Message "AddMemberListRequest" is not directly included in the CdsServiceClient,   did you add the Dynamics Messages to your project? if so which nuget package?

<Project Sdk="Microsoft.NET.Sdk">

  <PropertyGroup>
    <TargetFramework>netcoreapp3.1</TargetFramework>

    <IsPackable>false</IsPackable>

    <UserSecretsId>25868fd8-9f86-493b-a39b-b2b384b38e5f</UserSecretsId>
    <GenerateCDSContext Condition="$(GenerateCDSContext) == ''">true</GenerateCDSContext>
    <CDSEnvironment>https://xxx.crm4.dynamics.com</CDSEnvironment>
    <CDSAuthType>OAuth</CDSAuthType>
    <CDSEntitiesToExport>listmember,list,campaign,contact,account,dca_calllistmember</CDSEntitiesToExport>
    <CDSSolutionsToExport>DXRM01Integrations</CDSSolutionsToExport>
    <CDSApplicationId>xxxx</CDSApplicationId>
    <CDSTenantId>xxx</CDSTenantId>
  </PropertyGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Dynamics.Sdk.Messages" Version="0.2.8-Alpha" />
    <PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" Version="3.1.5" />
    <PackageReference Include="Microsoft.NET.Test.Sdk" Version="16.6.1" />
    <PackageReference Include="Microsoft.PowerPlatform.Cds.Client.Dynamics" Version="0.2.8-Alpha" />
    <PackageReference Include="MSTest.TestAdapter" Version="2.1.2" />
    <PackageReference Include="MSTest.TestFramework" Version="2.1.2" />
    <PackageReference Include="DotNetDevOps.Extensions.PowerPlatform.MSBuild.CDSContext" Version="1.0.11" />
  </ItemGroup>

  <ItemGroup>

  </ItemGroup>

</Project>

#region Assembly Microsoft.Dynamics.Sdk.Messages, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=31bf3856ad364e35
// C:\Users\pks\.nuget\packages\microsoft.dynamics.sdk.messages\0.2.8-alpha\lib\netcoreapp3.1\Microsoft.Dynamics.Sdk.Messages.dll
#endregion

using Microsoft.Xrm.Sdk;
using System;
using System.Runtime.Serialization;

namespace Microsoft.Crm.Sdk.Messages
{
    [DataContract(Namespace = "http://schemas.microsoft.com/crm/2011/Contracts")]
    public sealed class AddMemberListRequest : OrganizationRequest
    {
        public AddMemberListRequest();

        public Guid ListId { get; set; }
        public Guid EntityId { get; set; }
    }
}

Platform is windows, rest should be given from above to snippets from the project.

Thanks,
will take a look

@pksorensen We have identified the root issue here... and its not a "simple" fix.  We are working though solving this and will let you know when we have a fix.

@pksorensen as an update,  we have the issue fixed now and are going though the publishing process. It required a fix in a few of our internal, not published, libs,  and thus takes a while to get though the process.
Should be available and posted on Nuget in a day or so

thanks @MattB-msft :)


buildRustPackage: publish sbom of rust dependencies

Description of changes
This provides an sbom file of all dependencies used by a rust derivation.
Because rust builds will download dependencies directly from the internet, we can't infer them via nix itself and would need those to be exposed.
This is intended to be used like:
nix build -f . <derivation>.passthru.sbom

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

What is sbom, and why does it need to be part of buildRustPackage?

sbom stands for Software Bill Of Material and describes the various dependencies that went into building an artifact.
That would look like https://gist.github.com/baloo/24e4315f90ff1ebcfc49b4c398e99943 for clipcat.
Various regulations (US (https://www.whitehouse.gov/briefing-room/presidential-actions/2021/05/12/executive-order-on-improving-the-nations-cybersecurity/) and EU (I don't have the document on hand)) will come in effect soon-ish and software vendors will need to publish sbom along with their software.
nix derivations carry those in their definitions as they encode for the various runtime and buildtime dependencies, for the dependencies nix manages. But Rust (and other language (golang, ...)), will manage dependencies directly, and this is not exposed through nix anymore.
This PR is intended as a way to expose the dependencies that goes in the build of a rust binary not handled by nix if that makes sense.

There is a similar functionality implemented with cargo-auditable (see https://github.com/NixOS/nixpkgs/issues/200563) that is planned to make as the default (see discussions in https://github.com/NixOS/nixpkgs/pull/204686). Would this qualify as SBOM?

The three formats for SBOMs that I know of are cyclonedx, spdx and swid. There is existing tooling against all three (although I'm a bit more familiar with cyclonedx).
cargo-auditable would make for a fourth format but something rust specific and that would require extra tooling to compose with other SBOMs.

I don't think buildRustPackage is the right place for this, as not all Rust packages use it (and nor should they).
What about a function that could be applied to any package, and would expose any metadata needing to generate an SBOM?  It could be extended as more types of metadata are supported.  I think you'd need to do it that way eventually anyway, to support packages that don't use language-specific builders, so we might as well do it that way from the start.  I don't see that it'd be much more complicated — as packages tend to use the same underlying mechanisms to handle cargo dependencies whether they use buildRustPackage or not.

Would it make more sense to ask the cargo-auditable folks to add support for generating one of the SBOM formats from their metadata, if possible?

does not look like it's an option
https://github.com/rust-secure-code/cargo-auditable/issues/99#issuecomment-1408940406

What I mean is not embedding an SBOM in the binary (which the linked comment is talking about), but generating an SBOM from the embedded metadata.


Topology view of query results

This is about an alternate query screen that is topology based as opposed to table based, but still using the query api and universal search paramters from the existing search screen. Other projects like pinpoint and skywalking seem to use topology instead of query interface.
The result of a query would be an active image which could help people isolate the trace they want.

image from https://pdfs.semanticscholar.org/94c8/17e196e71c03b3425f905ebd1793dc6469c2.pdf
idea is if the data under the trace list screen could be repurposed for a scoped aggregation
where the circles could help group nodes by a selected site-tag and the fibres represent traces, which you click to go to the trace view.
All this in javascript would require first porting the DependencyLinker code to javascript then doing normal dependency graph (to prove data is ok). then fancy things possibly like above possibly not based on the assumption we can aggregate any way we want if done client side with small data.
This is related to https://github.com/openzipkin/zipkin/issues/2622 as both parts need a javascript dependency linker to produce the view.
https://nivo.rocks/network/ could be used for the presentation possibly

I wonder if all users are using zipkin-dependencies spark jobs...

for this I mean aggregate the traces returned by /api/v2/traces in
javascript, via a port of DependencyLinker. In this way spark doesn't
matter.
On Mon, Jul 22, 2019 at 7:06 PM tacigar<EMAIL_ADDRESS>wrote:

I wonder if all users are using zipkin-dependencies spark jobs...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/openzipkin/zipkin/issues/2701?email_source=notifications&email_token=AAAPVV7LXYQPBMI4QSVZNTTQAWBCRA5CNFSM4IFUTU62YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD2POB5A#issuecomment-513728756,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAPVV2EKY3YUVJQBG6WIQLQAWBCRANCNFSM4IFUTU6Q
.

Ah, I see!

https://github.com/openzipkin/zipkin/pull/2731 is a first step as it ports the basic dependency linker used in spark jobs to javascript


[BUG] empty deck

Describe the bug
I have a note with a #review tag but it doesn't show up in the review flashcards deck. Same is true for #flashcard tagged notes
To Reproduce
Steps to reproduce the behavior:

Open a note
Add tag review
Open review flashcards
All deck numbers are 0

Expected behavior
Show a deck in the root folder with one new card
Screenshots

Versions (please complete the following information):

OS: Linux
Obsidian version: v0.12.12
Plugin version: v1.6.0
If on desktop, Installer version: 5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) obsidian/0.12.10 Chrome/89.0.4389.128 Electron/12.0.14 Safari/537.36

Could you please confirm if you have that #review tag added in settings for the flashcard tags bit?
What's the status of the Convert folders to decks & subdecks option?
You could also post the text for the offending flashcard.

The two relevant screenshot:

The card/note:
This is a test note
#review

So, for the notes, the review is done in the normal Obsidian UI & then use the menu on the top right to select a review response based on how you find the material. Documented here.
For flashcards (those that appear in that flashcards modal), use something like:
#flashcards

Question::Answer

Or any of the other flashcard types as documented here & here.
I hope that helps.

Oh I see thanks I somehow didn't read the "right" pane and missed it as it's normally closed in my setup.

No worries!


operator: fix upgradeImages

For sha256 image tags, it has not been working properly.
Fix it to make it work both semantic and sha256.

For sha256 image tags, it has not been working properly.

Can you write how you expect it to work and how it works now. IIRC we decided SHA pinning is only for the env var approach.

If image is intel-qat-plugin@sha256:69858421d6abd38867f61844db2c3fa7275bf6c089efd547e7de98dfc0c90a1a
Before:
name was intel-qat-plugin@sha256
and upgradeImage was not working even though envVar is properly set.
For example, let's say there is 0.30.0 version of deployed operatorhub bundle using olm (as written in the link), and then let's say we deploy a qat plugin (0.30.0 version).
And then we update the bundle with the comamnd:
operator-sdk run bundle-upgrade intel/intel-deviceplugins-operator:0.31.0

Then, the qat-plugin is expected to be upgraded automatically according to the envVar, but it does not because the parsing has been wrong (intel-qat-plugin@sha256)
So,
I expect name to be intel-qat-plugin so that it can be updated when another sha256 is found from envVar.
And it works now like that, and tested with olm.

Thanks for noticing this! TestUpgrade unit test needs updating to get this covered. Also .1 release is needed

Yeah, I think we should have had it early... It's my mistake.
I pushed the commit for the testUpgrade fix too.

@mythi

for full coverage, we'd also need a case where image is same as the corresponding envVar and when the envVar is not in the pinned/sha256 format.

Umm, we do not check in reconciler.go whether the envVar value is sha256 format or not.
In our current implementation, we always expect the envvar value for the image would be in sha256 format.
The name of the envvar itself is like INTEL_DSA_PLUGIN_SHA
So, do you want to improve the implementation? Or... did I misunderstand what you mean?

So, do you want to improve the implementation?

we can focus on the current functionality and make sure all scenarios are covered

@mythi
Thanks for the comment. I think we all cover for the "current implementation."

Fixed.!
And,, added some comments in the code to make it understandable more easily (actually for myself to understand next time.. I need to always follow the process and understand again...). If you think it's not good, let me konw.!


Improve IntelliSense on "wrapping" functions

Is your feature request related to a problem? Please describe.
Currently we are passing lots of parameters down chains of functions using the **kwargs syntax. This yields minimal function signatures, however, IntelliSense and introspection get less informative also. Currently, the approach is to document the variables of the underlying components in the docstring of the wrapping function. To do this is however cumbersome and prone to be outdated: When a child component is changed (e.g. another parameter is added) one has to "propagate" up the whole tree and change all parent docstrings.
Describe the solution you'd like
If we could somehow construct a decorator or similar to automatically "annotate" the **kwargs such that it looks to the introspection and IntelliSense etc. as if the wrapping function had the respective arguments.
Going even further it would be great if the parameter documentation could be appended to the docstring of the wrapping function (maybe in a dedicated section at the end).
Suggested fix
So far I tried dynamically overwriting the function signature. Which works with help and ? however not with pylance I my case. My other approach was to try something similar to the following:
from typing import TypeVar, ParamSpec, Callable, Concatenate
P = ParamSpec('P')
R = TypeVar('R')

def old(a: str = "test_a", b: str = "test_b") -> str:
    """old docstring"""
    return a+b

def with_extra(f: Callable[P, R]) -> Callable[Concatenate[str, P], R]:
    '''function that runs on'''
    def inner(extra: str = "extra", *args: P.args, **kwargs: P.kwargs) -> R:
        """new docstring"""
        print(extra)
        return f(*args, **kwargs)
    return inner

new = with_extra(old)

help(new)

However, the default values are not correctly displayed in IntelliSense and it is also not fully consistent in other regards.
Does anyone else have a better idea?
Regards JD

what's a concrete example where you are having this issue and which IDE are you using?
For example, functions wrapped with @cell should still maintain their signature , because they use @functools.wraps, and I can confirm that in pycharm they correctly get autocompletion, etc.
Functions wrapped in functools.partial, I believe will give you issues. The best way to avoid this is to not use partials, IMHO.


Is there a way to set timezone when formatting a time?

hi, i really wish to change my time zone to Brasil/Sao_Paulo, but still can't figure it out.
my current pino-prettier settings are:
prettyPrint: {      colorize: true,     errorProps: 'TZ=Brasil/Sao_Paulo',     translateTime: 'SYS:yyyy-mm-dd hh:MM:ss TT Z',   },     messageKey: 'msg',   messageFormat: true,

hi, i really wish to change my time zone to Brasil/Sao_Paulo, but still can't figure it out.
my current pino-prettier settings are:
prettyPrint: {      colorize: true,     errorProps: 'TZ=Brasil/Sao_Paulo',     translateTime: 'SYS:yyyy-mm-dd hh:MM:ss TT Z',   },     messageKey: 'msg',   messageFormat: true,


Set color individually for a smiley

The only smiley color you can change individually is the angry one.
smileyRating.setAngryColor(int color);
The other option is to change all the color of all smileys except Angry/Terrible smiley.
smileRating.setNormalColor(int color);
Is there a way to change individually other smiley, like great smiley?

You can do it now simply. Update to the new version. Apis also changed. Old classes have been removed. The integration will be easy with this version.


Add extra event results:rendered after results are rendered

This pull request includes a

[ ] Bug fix
[X] New feature
[ ] Translation

The following changes were made

Trigger new event "results:rendered" when results are rendered
It could be usefull to trigger an event when results have been well formated and are displayed. Exemple: generate the item colored avatar.

If this is related to an existing ticket, include a link to it as well.

I truly regret choosing this javascript plugin. 5 month after submitting this simple pull-request (with tests updated and passing) we don't have any feedback (and lot of other issues/PR don't have too).

Hi,
i hade the same issue. Wanted to position tool tip based if dropdown opens up or down.
And came with my own solution changing select2 lib. version 4.03
I added an event "loaded" in function
EventRelay.prototype.bind
var relayEvents = [                 'open', 'opening',                 'close', 'closing',                 'select', 'selecting',                 'unselect', 'unselecting',                 'loaded'  ];
then call trigger of the event, when data is attached to DOM. In function
AttachBody.prototype.bind
in
 container.on('results:all', function () {                           self._positionDropdown();                           self._resizeDropdown();                           self.trigger("loaded", {});                       });
i added: self.trigger("loaded", {});
and then just listen to new event
$('select').on('select2:loaded', function (evt) {   // Do something });
Probably not the best solution but did the trick for my problem


Error 422 - Additional property signal not allowed.

Sending a request to https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions from the browser with abort signal,
await this.replicate.run(model, {
  input,
  signal: this.abortSignal,
}

results in the following error:
https://api.replicate.com/v1/models/meta/meta-llama-3-70b-instruct/predictions failed with status 422 : {"detail":"- Additional property signal is not allowed\n","status":422,"title":"Input validation failed","invalid_fields":[{"type":"additional_property_not_allowed","field":"","description":"Additional property signal is not allowed"}]}

Request payload show in chrome devtools:
{
    "signal": {},
    "input": {
        "prompt": "hey",
        "prompt_template": "",
        "max_tokens": "",
        "temperature": 1,
        "presence_penalty": 0,
        "frequency_penalty": 0
    },
    "stream": true
}

Hi @VektorTech. Sorry, that was a bug in the client. We have a fix in #251 that landed in the latest version, v0.29.2. Please npm i replicate@latest to update to the latest and let us know if you're still seeing this error. Thanks!

Hey @mattt, I'm still getting the error with the updated version, and signal: {} is still being dispatched with the payload.

@VektorTech Hmm, this assertion should test that signal isn't sent in the request body... Can you share a minimal example that reproduces the issue with a public model?

for me, upgrading to 0.29.3 fixed this issue.

Hey @mattt, I've attached a link to a small Vite project that reproduces the issue. As you'll see, Replicate is initialized and runs from inside a service worker, as with my current setup. In this environment, the library passes the signal field to the /predictions endpoint where the error occurs.
replicate_bug-Archive.zip

@VektorTech Thanks so much for sharing that. I didn't realize you were calling replicate.stream. And looking at the implementation, I immediately see the problem. This should be fixed by https://github.com/replicate/replicate-javascript/pull/254.

@VektorTech That fix is now available in v0.29.4. Please give that a try and confirm that everything's working as expected.

@mattt, v0.29.4 solves the issue, thank you.

Error generating image: ReplicateError Details: title: Invalid version or not permitted status: 422 detail: The specified version does not exist (or perhaps you don't have permission to use it?) @mattt

Error generating image: ReplicateError Details: title: Invalid version or not permitted status: 422 detail: The specified version does not exist (or perhaps you don't have permission to use it?) i am getting this error from past 6 days @mattt

me too

Same issue: "title":"Invalid version or not permitted","detail":"The specified version does not exist (or perhaps you don't have permission to use it?
Maybe you guys can provide more details in your error messages?
using this end point: "https://api.replicate.com/v1/models/black-forest-labs/flux-pro/predictions"

Same issue: "title":"Invalid version or not permitted","detail":"The specified version does not exist (or perhaps you don't have permission to use it?
Maybe you guys can provide more details in your error messages?
using this end point: "https://api.replicate.com/v1/models/black-forest-labs/flux-pro/predictions"

I got it working by entering my CC details in the billing section, and then setting a max monthly limit spend.


Can't get Ruby-2.7.0 installed on Cygwin64 Terminal

I get the install ran, it finishes the RVM, runs through the Ruby config, and compile. Then errors out while running rvm_make -j8

Please Help?

It's not ruby-build issue.


Prioritize miners over other (non-emergency) creeps

This is a very miner PR.

This Pull Request has been merged by GitConsensus.
Vote Totals

Yes
No
Abstain
Voters

3
0
0
3

Vote Breakdown

User
Yes
No
Abstain

TheRealMaxion
✔

tedivm
✔

ags131
✔

Vote Results

Criteria
Result

Has Quorum
True

Has Votes
True


update to use common source for operation includes

Contributing to the Azure SDK
Please see our CONTRIBUTING.md if you are not familiar with contributing to this repository or have questions.
For specific information about pull request etiquette and best practices, see this section.

I wonder if it would make sense to consider creating an Azure.Core.Shared project explicitly for code sharing so that we could define sets of projitems to organize these kinds of bundles and make them more discoverable.
Examples:

Azure.Security.KeyVault.Shared.shproj
Azure.Security.KeyVault.Shared.projitems
Azure.Messaging.EventHubs.Shared.shproj
Azure.Messaging.EventHubs.Shared.Authorization.projitems

@Mohit-Chakraborty may have some thoughts here...

As I understand it, the Shared concept in those examples is to facilitate code to be shared across a multi-package client. In this case it is only a temporary (in theory) staging area for internal types to be used as shared source until the type becomes public in Azure.Core. In practice, we have lots of types that live here indefinitely, but that is not necessarily by design.

I believe the main reason for not making them public is that we aren't ready to commit them as part of the public API for some reason, including that future breaking changes may be possible or expected. In theory, types like this should not be long lived.

I don't believe that's the case for the majority of source shared by Core.   I'm thinking of many of the implementation types that aren't public-facing that are consumed by most of our SDKS.   For example:

Argument
AzureEventSource
HashCodeBuilder
AzureKeyCredentialPolicy

That said, I don't have a particularly strong opinion here.   I was just musing that a shared project may be helpful.


Add Bing Pros

Bing Pros is one gig service platform that connects Bing Search users to providers who want higher profit for their services.

This is an interesting one. It is a trust worth site being run by microsoft. It would go to the top of the list because bing.com is so popular but if it were it's own domain, it probably would go towards the bottom. The stackoverflow jobs has a similar situation.
I'm hesitent to put it in right now because it's popularity is much higher then really how well used it seems to be. It seems small on who is in there. Normally I do not except sites that are soo small they are basically empty and are just starting out. I think this qualifies under that category even though it is microsoft, but I will watch it and see if its becomes popular.


Proposal: Potential fix for Issue #392

New method addCamerSystemOnce to ensure, that only one CameraSystem is added to the world regardless of how many RenderSystems are created.
Protect RenderSystem and Shader initialzation with mutex
Open for discussion. If this is not the direction you want to take to fix this that's ok.
Maybe it would be good to add this non the less because it fixes the problem and can be removed/replaced without affecting the API.

Changes Unknown when pulling fb070041d4817985594525658c6fe3514f7ecb58 on countcb:camera into ** on EngoEngine:master**.

Changes Unknown when pulling e7c552dc979e1c4c04f958f0acbdafa70e469822 on countcb:camera into ** on EngoEngine:master**.

Resolved the merge conflict with the master branch (caused by the new math package import).

Changes Unknown when pulling d302accab3183f348990521ddb1f008f93c0e141 on countcb:camera into ** on EngoEngine:master**.

LGTM, Will merge once tests pass.

Changes Unknown when pulling 87a62d094aa6d53b9a9ea5d8c9f0295f246732dd on countcb:camera into ** on EngoEngine:master**.

Thank you for your contribution


Relax language on dependencies in README.md

With pytube3 there is now a single third-party dependency.
Closes #622

@crd Not an author of the README but (speculating) that the author meant non-python dependencies?

Since no updates here i'm closing -- please reopen if this is still applicable @crd  😄