Location Stages not showing up with right click

What is your Quests version / build number (do not say "latest")?
Quests-5.0.2
Describe the problem and how to replicate it.
I create a stage and select select "reach Locations", I go ahead and hit set location and it does nothing. I only found out it was supposed to do something after watching a tutorial on how to do it online.

Any console errors to share?
Worldguard keeps saying

[ 20:29:05 ERROR]: Could not pass event PlayerMoveEvent to WorldGuard v7.0.9+5934e49
java.lang.NoSuchMethodError: 'com.sk89q.worldguard.protection.managers.RegionManager com.sk89q.worldguard.bukkit.WorldGuardPlugin.getRegionManager(org.bukkit.World)'
	at com.mewin.WGRegionEvents.WGRegionEventsListener.updateRegions(WGRegionEventsListener.java:113) ~[WGRegionEvents.jar:?]
	at com.mewin.WGRegionEvents.WGRegionEventsListener.onPlayerMove(WGRegionEventsListener.java:76) ~[WGRegionEvents.jar:?]
	at com.destroystokyo.paper.event.executor.asm.generated.GeneratedEventExecutor441.execute(Unknown Source) ~[?:?]
	at org.bukkit.plugin.EventExecutor$2.execute(EventExecutor.java:77) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
	at co.aikar.timings.TimedEventExecutor.execute(TimedEventExecutor.java:81) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:git-Paper-496]
	at org.bukkit.plugin.RegisteredListener.callEvent(RegisteredListener.java:70) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
	at io.papermc.paper.plugin.manager.PaperEventManager.callEvent(PaperEventManager.java:54) ~[paper-1.20.4.jar:git-Paper-496]
	at io.papermc.paper.plugin.manager.PaperPluginManagerImpl.callEvent(PaperPluginManagerImpl.java:126) ~[paper-1.20.4.jar:git-Paper-496]
	at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.java:615) ~[paper-api-1.20.4-R0.1-SNAPSHOT.jar:?]
	at net.minecraft.server.network.ServerGamePacketListenerImpl.handleMovePlayer(ServerGamePacketListenerImpl.java:1576) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket.handle(ServerboundMovePlayerPacket.java:29) ~[?:?]
	at net.minecraft.network.protocol.game.ServerboundMovePlayerPacket$Pos.handle(ServerboundMovePlayerPacket.java:66) ~[?:?]
	at net.minecraft.network.protocol.PacketUtils.lambda$ensureRunningOnSameThread$0(PacketUtils.java:54) ~[?:?]
	at net.minecraft.server.TickTask.run(TickTask.java:18) ~[paper-1.20.4.jar:git-Paper-496]
	at net.minecraft.util.thread.BlockableEventLoop.doRunTask(BlockableEventLoop.java:149) ~[?:?]
	at net.minecraft.util.thread.ReentrantBlockableEventLoop.doRunTask(ReentrantBlockableEventLoop.java:24) ~[?:?]
	at net.minecraft.server.MinecraftServer.doRunTask(MinecraftServer.java:1465) ~[paper-1.20.4.jar:git-Paper-496]
	at net.minecraft.server.MinecraftServer.d(MinecraftServer.java:194) ~[paper-1.20.4.jar:git-Paper-496]
	at net.minecraft.util.thread.BlockableEventLoop.pollTask(BlockableEventLoop.java:123) ~[?:?]
	at net.minecraft.server.MinecraftServer.pollTaskInternal(MinecraftServer.java:1442) ~[paper-1.20.4.jar:git-Paper-496]
	at net.minecraft.server.MinecraftServer.pollTask(MinecraftServer.java:1365) ~[paper-1.20.4.jar:git-Paper-496]
	at net.minecraft.util.thread.BlockableEventLoop.managedBlock(BlockableEventLoop.java:133) ~[?:?]
	at net.minecraft.server.MinecraftServer.waitUntilNextTick(MinecraftServer.java:1343) ~[paper-1.20.4.jar:git-Paper-496]
	at net.minecraft.server.MinecraftServer.runServer(MinecraftServer.java:1232) ~[paper-1.20.4.jar:git-Paper-496]
	at net.minecraft.server.MinecraftServer.lambda$spin$0(MinecraftServer.java:319) ~[paper-1.20.4.jar:git-Paper-496]
	at java.lang.Thread.run(Thread.java:1583) ~[?:?]

Constantly

If applicable, can you provide an example quest from quests.yml?
I just need a way for a player to walk on a platform and it completes a quest.

Thanks for reporting this. For the time being, try using a slightly older version of WorldGuard.

Thanks for reporting this. For the time being, try using a slightly older version of WorldGuard (or, if this is a 1.20.6 server, update to their 7.0.10 version).

Unfortunately  this didn't fix the issue with quests, If there another plugin needed that I'm missing?

WorldGuard does require WorldEdit, but this is most likely an issue with the WorldGuard Region Events plugin. Just don't have time to check at the moment.

It seems WorldGuard Region Events is not compatible with recent versions of WorldGuard. You would have to reach out to its developer or cease using it entirely.


Add CompositableAdaptiveTrigger for CompositeStateTigger

I created a pull request for the Issue #47.  In CompositableAdaptiveTrigger I extend the AdaptiveTrigger functionality with ITriggerValue implementation. Now we van add this trigger to the CompositeStateTigger's collection.

Thank you for the reviews. You were right. I added null checks, and weak event listener. And I renamed this trigger to AdaptiveTrigger.


What does an escrow account mean and how to use it

@yulin20010422 this is not a place to propose basic questions. Find another channel to ask. This issue will be immediately deleted. If you send this issue again for 3rd time, your account will be restricted from interacting with the project repos.


What is the visualstudio2022 workload name for Microsoft.NetCore.Component.SDK?

Hey @jberezanski ,
I can't seem to find it but what is the name of the chocolatey package for the workload called Microsoft.NetCore.Component.SDK for visualstudio build tools 2022?

Microsoft.NetCore.Component.SDK is a component, not a workload. This page shows the list of all components of Build Tools 2022 and which workloads they are included in.
In this case, Microsoft.NetCore.Component.SDK will be found in:

Azure development build tools (id: Microsoft.VisualStudio.Workload.AzureBuildTools), Optional
.NET desktop build tools (id: Microsoft.VisualStudio.Workload.ManagedDesktopBuildTools), Recommended
Windows application development build tools (id: Microsoft.VisualStudio.Workload.UniversalBuildTools), Required
Web development build tools (id: Microsoft.VisualStudio.Workload.WebBuildTools), Recommended
.NET Multi-platform App UI development (id: Microsoft.VisualStudio.Workload.XamarinBuildTools), Required

Chocolatey packages for each workload are named visualstudio2022-workload-<name>, where  is the last part of the workload id (after the last dot), so for example the package for the "Azure development build tools" workload is visualstudio2022-workload-azurebuildtools.
If the component is marked as "Required" or "Recommended" for the given workload, it will be installed automatically with the workload when you install the Chocolatey package. If the component is marked as "Optional", you need to pass --includeOptional in package parameters (e.g. choco install visualstudio2022-workload-azurebuildtools --package-parameters "--includeOptional").


fix(test): test

:tada: This PR is included in version 1.0.5 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Schedule bug

Codecov Report

Merging #250 into master will decrease coverage by 0.07%.
The diff coverage is 11.90%.

@@             Coverage Diff              @@
##             master     #250      +/-   ##
============================================
- Coverage     53.15%   53.08%   -0.08%
- Complexity      586      592       +6
============================================
  Files           114      114
  Lines          2564     2579      +15
  Branches        321      326       +5
============================================
+ Hits           1363     1369       +6
- Misses         1109     1117       +8
- Partials         92       93       +1

Impacted Files
Coverage Δ
Complexity Δ

.../seedu/address/logic/commands/ScheduleCommand.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...du/address/logic/parser/ScheduleCommandParser.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...a/seedu/address/storage/JsonAdaptedAssignment.java
78.33% <0.00%> (-2.71%)
15.00 <0.00> (+4.00)
:arrow_down:

...ain/java/seedu/address/logic/parser/CliSyntax.java
88.88% <100.00%> (+1.38%)
1.00 <0.00> (ø)

.../java/seedu/address/model/assignment/Schedule.java
100.00% <100.00%> (ø)
6.00 <1.00> (+1.00)

...c/main/java/seedu/address/model/task/Deadline.java
73.07% <0.00%> (+11.53%)
6.00% <0.00%> (+1.00%)

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 57ae904...4e22f24. Read the comment docs.


[chore] - Refactor functionalities to a pyxet.core.py

In an effort to make some of pyxet functionalities more accessible through python instead if CLI,
I have moved all functionalities to a pyxet/core.py, and the CLI just call it from there.
This let us use all the functionalities straight from pyxet like so:
pyxet.cli.PyxetCLI.cp() → pyxet.cp()

Although by itself it's a lot of work for a small alias, this also opens the door to future functionalities and automations from the python side.

Apologies for the time taken with this PR!  I took parts of this, and in parallel moved a bunch of stuff from cli.py to other files, but this specific PR would take a lot of work to resolve on top of those changes so closing this one now.


Drop old rubies support

Thoughts on dropping support for EOL'd rubies? I think it's a good idea to take advantage of being still on 0.x and drop support on 0.17.0, for example.
I just did this quick pass since I'm not sure if you'll be interested. If you are, I can update the change log and make any other extra changes.

The patch is big but it's mostly indentation, better look at it with https://github.com/colszowka/simplecov/pull/700/files?w=1.

I made this PR because I wanted to work on a fix, but the current CI matrix, and the fact that I might have to debug issues under a ruby version that I'm not even sure I'll be able to install made me lazy :smiley:.

Hi there :wave:
Thanks for your contribution.
It's something that's definitely on our radar but I'm not sure we wanna do right now. I always saw it as a for 1.0 thing to remove them but we might as well. I'm a bit surprised to see 2.2 go already (where has time been?).
I'm a bit scared about this as it will basically break all other PRs most likely.
But getting rid off 1.8 support things etc. is great and has been long coming. As you already did work that the other day @colszowka and I talked about briefly.
So I'm :+1:  (haven't reviewed all of it yet). What do you think @colszowka @bf4

I'm aware this was planned for 1.0, but at this point we don't know when 1.0 will happen, so I figured we could do it now. It's an open debate whether dropping support for EOL'd rubies warrants a major version bump (see for example the discussion at https://github.com/rspec/rspec/issues/25), but in this case, being at 0.x, I think no one will get mad :)
Regarding this PR breaking other PRs, in principle, it would seem to me this would make it easier for other PRs to get to green since they'll need to support less edge cases. Do you mean it will introduce merge conflicts? If that's the case, I have no problem helping with the rebases when needed.

Thanks so much for having a look at this, by the way! :heart:

@deivid-rodriguez yup was about merge conflicts sorry for not being clear :)
Thanks for appreciation, I should have taken a look at way more PRs but you know live and all. :grin:

#705 generated a bunch of conflicts on this PR, so I rebased it!

Hei! Some months have passed and I saw @colszowka merged one PR! :tada:
Any news here? :smiley:

Hey @deivid-rodriguez - thanks for keeping all this up! :green_heart: I took a bit of a break from simplecov, it's not exactly the easiest project to maintain :sweat_smile: Life and all.
I'll reach out to @colszowka via email and stuff again to get approval for this. If I merge stuff inbetween I'll also try to take care of the merge conflicts our hold.
I absolutely wanna do this but do not feel like I have the authority to decide so by myself.
Thanks for being so patient, nice and amazing to do this and keep it updated.

No problem, I totally understand. I don't mind rebasing this one more time if it helps!

@deivid-rodriguez that'd be great, let me try to get word from Christoph first. And then my thinking was to first do one "last" release with support for all the old rubies and then wipe them clean/merge this PR>

Hey everyone, sounds reasonable to me +1 :)

Thanks for chiming in @colszowka :tada: :green_heart:

@deivid-rodriguez most of your changes affect spec file (and are basically indentation) right? I'm not missing anything big (jruby_fix and some other small stuff not considering). I'm just trying to evaluate whether to merge this first or #694 but this makes me feel like this would be a better candidate to go in first :) Any thoughts on that?

Hi @PragTob!
My changes are indeed mostly indentation. The reason is that many specs were wrapped with a Simplecov.usable? call, showing the fact that on 1.8.7 was not really usable: simplecov still installed there but acted as a "noop gem" with a warning message.
I'm going to rebase this PR now.
Regarding which one is best, I don't know how hard would be to rebase the PR you referenced on top of this one, but I would say it's better to merge this one first, because the "support target" for that feature would be greatly simplify if we drop support first.

@deivid-rodriguez yeah that was my thinking as well, I double checked the the changed files and there didn't seem to be too much overlap.
JRuby failed on Travis, restarting....

Rebased and put on master. Thank you so much @deivid-rodriguez !


SIGN-115: Add dynamo db tables and CRUD implementation

SIGN-115: As an ASU Adobe Sign admin, I need to be able to link Adobe Sign templates to the ASU integration that is being written in AWS Lambda.  I will need to be able to identify which Adobe Sign templates will be accessible via the integration for generating signing urls as well as what information should be pre filled on those templates.
Dynamo
We are going to use AWS DynamoDB as the main storage for our the Adobe Sign application.  This is what is preferred by ASU CDC and is super easy to implement.
Repos
There is a BaseRepo that can be extended per entity.  It has two methods to far, one for creating a given item, and another for getting an item by its id.
Split up serverless.yml
I have moved the vpc that was in ../cache/serverless.yml to its own ../vpc/serverless.yml. This way it is not directly related to the cache instance since it is used by our lambdas and other future resources.
New lambdas
There are two new lambdas, createTemplate and getTemplate.

@nleapai Again, really good eye and helpful feedback.  I have addressed all of it! Thank you!


template_title & template_tags is not working

I try to use the example in README.MD to test templatetitle, it's not work.
I copy the example in my Joplin by Typora. This is the sourcecode-mode in Typora view.

this error was appear when I created note from this template.

Actually it will be released in a newer version of the plugin.


xADObjectPermissionEntry: Need to remove ShouldProcess from code

This resource is using a non-supported function. Best practices are to not use ShouldProcess in DSC resources since DSC does not support that interactive function.

I try to resolve this one.


Connection string instructions refer to  instead of

https://www.cockroachlabs.com/docs/cockroachcloud/connect-to-a-serverless-cluster#step-2-connect-to-your-cluster
Steps 3 and 4 have the variable <cluster-id>,
curl --create-dirs -o ~/.postgresql/root.crt -O https://cockroachlabs.cloud/clusters/<cluster-id>/cert
cockroach sql --url 'postgresql://<username>:<password>@<serverless-host>:26257/defaultdb?sslmode=verify-full&sslrootcert='$HOME'/.postgresql/root.crt&options=--cluster=<cluster-id>'
but the text after refers to <cluster-name>
<cluster-name> is the short name of your cluster plus the tenant ID. For example, funny-skunk-3. The  is used to identify your tenant cluster on a multitenant host.

Closing and moving to Jira https://cockroachlabs.atlassian.net/browse/CC-5363


buildUrl for a path '/' with useTrailingSlash=false will break links

Hi,
I found this problem with react-router5, but I assume this is the case in other of the helper libraries as well.
Briefly, my use case is:  we have useTrailingSlash = false, and our main route has path "/". Then, when I try to navigate to it (e.g: with the Link component), it will navigate instead to the current URL.
The reason is that a route with path "/" is formatted as an empty path by buildUrl.  Query parameters are appended, but that results in the browser navigating to the URL "?a=b", which counts as a URL relative to the current document.
I think I have narrowed down the problem to the route-node library. I created an issue and pull request for it in here:

https://github.com/troch/route-node/issues/11
https://github.com/troch/route-node/pull/12

However, I want to track the issue here as well, as my main interest is in router5. So if that is not the right place, I still think router5 should handle this case better.
Hopefully that change is enough and it doesn't break anything in router5 and the library version can just be updated.

Fixed in route-node, will release tonight a patch.

v5.1.5 released, thanks again for raising this and fixing it 👍


[FEATURE] Web of Trust spam filtering for replies

Is your feature request related to a problem? Please describe.
Reply spam is becoming an increasing issue on nostr. One solution is paid relays, but that excludes anyone who's not yet using Bitcoin to pay for the relay, which as a spam filtering method has a huge false positive ratio. I myself follow several real people who are only using free relays - so I don't want to remove all free relays. But I also don't want every discussion to be full of airdrop spam!
Describe the solution you'd like
I want a web of trust filter for replies to a note, so that anybody who's too far from your social graph is not displayed in the thread.
It could be implemented something like this:

At startup one time:
Fetch profile events of all users you're following.
Grab their following list from the profile type.
Put all these npub into a single Set.
When viewing replies, for each reply: Hide it if it's npub is not present in the network set.

This effectively means that anybody who's more than two degrees of separation away from you in your social graph is not shown.
If posts are hidden in a discussion you could have a button saying "Show all filtered replies" or something like that so you can efficiently compare the thread with it on or off.
Bounty (in Bitcoin sats) offered for the implementation
None at current, but I could implement it myself if it's likely to be merged.

If you want to do this, you can add a following marker in the signature string here https://github.com/vitorpamplona/amethyst/blob/4e4e7981331595599b61d62eae2fe273763c2613/app/src/main/java/com/vitorpamplona/amethyst/model/Note.kt#L117 such that when the UI sorts all replies, it sorts by level, following status, date, instead of just level and date.

Thanks, I'll start reading the code and see if I can implement something
If I understand what that function is doing it mostly controls sorting order, so I could sort replies to the bottom of the replies feed. Is that correct? I was thinking more of a hard filter though, as in don't even show them.
After I requested this I also realized Iris already implements this feature. But they also use a social distance of 4 by default. Anecdotally I never see any spam in Iris, and it also seems to let through all of the real people. Iris also feels a bit sluggish to use though which may be related to this, not sure.

@vitorpamplona I haven't been able to find the time to work on this one...
However I've used Coracle a bit, which has a Web of Trust implementation that works like this:

For each user you see, calculate their WoT score as number of your follows that follow them.
Hide comments, interactions and so on from users below filter threshold.
Filter threshold is configurable, and set to 1 by default.

I can offer a bounty of 140k sats if you implement a similar Web of Trust score filter in Amethyst.

See also https://coracle.social/help/web-of-trust


grommet pack not generating dist/index.html

I'm running
npm run dist
and the html index file is not being generated, it does generate index.js and index.css.

also if I run
npm  run dev
the webpack sever doesnot serve the html file and it throws a 404 error
When I run
npm run test all linting and tests pass.
I'm running on windows.

do you have the CopyWebpackPlugin in your webpack config?
...
import CopyWebpackPlugin from 'copy-webpack-plugin';

let plugins = [
  new CopyWebpackPlugin([{ from: './public' }]),
  ...
];

....

I'm assuming you used an old version of the CLI. I remember in the past we used to copy this manually. Now we let the webpack config do it.
This feature has been introduced in the 2.2.0 version, check the release notes:
https://github.com/grommet/grommet-cli/releases/tag/v2.2.0
BTW, sorry for taking such a long time to get back to you on this.

I'm going to close this issue please feel free to reopen if you still think this is not working.


Rotating machines loses items in 1.12.

NuclearCraft-2.5a--1.12.2.jar
Mincraft 1.12.2
Forge <IP_ADDRESS>6
Rotating any machine will lose all of the contents of the machine in 1.12. Apparently this is because Forge causes all tile entities to be rotatable by default and if you don't support it properly it will cause issues.

Yep, noticed this myself - will sort it out.

Ok, I will have to work out how rotation of tile entities work, but for now, I have just diasbled rotation so that nobody accidentally loses their stuff.


change circleColor dynamically

how can we change circleColor dynamically?
Like i want to change color of 2nd step to red and of 4th step green of rest to black.

Do you mean there are 3 colors at the same time?


Create nation flags

Add flags to pStrat.Flags. Some flags may require the implementation of Bezier curves, issue  #7. many do not.

So the main task now is to convert the flags to the new design hence this issue will also be merged into #120.


Impersonation feature

As an support user I need to impersonate other user profiles so that I can analyze bugs and issues.
Features

[ ] admin user able to create / disable / remove support users
[ ] support users can have same email as other users in the platform
[ ] support users will be allowed to login, using /support url context
[ ] there is no need to add a new Support role option in the login screen
[ ] support users will be able to click in the top right image icon, and select impersonate user, select the role to impersonate (mentee, mentor, partner, admin) and then select the users that belongs to that role
[ ] support user will be able to see the platform as if it were the selected user logged in
[ ] once the user has been switched with impersonation, support user can go back to the support view, as well as change to another role-user
[ ] support user will see a header as a sticky banner, showing a message saying that the session is being impersonated as user xxxxxx (selected user) and role xxxx (selected role)

@SolMon9099 testing, I have created a support user, not able to login

@SolMon9099 an existing email associated with other roles, can be created as support too.

@SolMon9099 when adding a support user as admin, it is being added as Guest.

I fixed this error


DB.Contoso.1G.7z.nnn files end of data

Hi and apology, should I be getting any issues extracting the content from the 9 files named 'DB.Contoso.1G.7z.nnn'?  I get a message saying "Cannot open the file as [7z] archive, Errors: Unexpected end of data"  I trying to use this database alongside your book, The Definitive Guide to DAX.
Many thanks
Chris

Please note that the SQL Server database we used for The Definitive Guide to DAX is slightly different from that generated now by Contoso Data Generator. You should use the .BAK file included in the companion files: https://www.sqlbi.com/books/the-definitive-guide-to-dax-2nd-edition/companion/
Regarding the problem with the files - you should download all the files named DB.Contoso.1G.* in the same folder and try to open the first one with 7-Zip, it should automatically read the others.


Ci/add cache

Resolves #355
Adds cache to pip for doc generation (requirements_doc.txt)
Adds cache to pip for style (requirements_style.txt)

Current status:
Workflow is working, however the benefit in terms of time when using the cache option of actions/setup-python is not obvious. It even seems to be longer in some cases.
Using the actions/cache directly as was intended first (and as is done for pyMAPDL) might be a better solution.

Closing until further interest on the subject.


Claims - Payments

I was told that the new Sopra payment system would allow the full key of the payment of a claim to be made available in bank account transactions.
Currently today very limited information is added to the transaction and its VERY hard to match payments on accounts with claim payments.  Having the full key DueDate, Claimant registry id, Account number (Bank, Ledger, Number) is needed for proper matching.  Today most often we have last 6 digits of acccount number but very often we have two or three payments with the same amount, number and payor.

Closed for now

Hello @Kristinn-Stefansson it would be nice to know how to match the claim payment in the bank transactions.  Because I have not found a way to match payments for claims that have.
A. Same DueDate and Diffrent Account Number.  Bill number is DueDate
B. Diffrent DueDate and Same account number. Bill number is last 6 digits of Claim account number

I think you have a point @asgeirhall. It's not been easy to match the payments in such cases given the limited fields in the old ibm mainframe. From the information I've been able to gather Sopra solves those limitations and provides full referance to a claim in a transaction that is to be exposed through the remittanceInformationStructuredArray on transactionDetails in IOBWS 3.0 AIS.
In the cases you mentioned have you tried using the referance field (Tilvísun) on a Claim to match the payment transaction. If you place a uniqe identifier in the reference field when you create a claim you should see that same uniqe identifer as a referance on the payment transaction.

Reference field is always filled with PayorId on bank account when claims are paid.
BillNumber (Max 7 chars) and PayorId (and amount is a indicator) are the only fields that can be used for matching.


Ability to use HTTPS URL with self-signed certificate

I'm looking for an option to use a HTTPS URL with a self-signed certificate.
The solution could either ignore SSL warnings all together, or an option to provide a CA bundle to trust.
I was unable to figure out a way to do this with axios_config.
The URL I'm attempting to use is at https://gdmf.apple.com/v2/pmv.

Hi @n8felton!
A little bit of digging around suggests that adding this key to the axios config string should disable selfsigned cert checks:
httpsAgent: new https.Agent({
  rejectUnauthorized: false
})

I'm not sure how you'd supply your own cert bundle but I suspect it's possible, if you check it into the repo maybe:
httpsAgent: new https.Agent({ ca: MY_CA_BUNDLE });

Hopefully that leads to some success!


release(0.1.0): release 0.1.0

Codecov Report

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

@@           Coverage Diff           @@
##           master       #1   +/-   ##
=======================================
  Coverage   98.91%   98.91%
=======================================
  Files         101      101
  Lines        2667     2667
  Branches      412      412
=======================================
  Hits         2638     2638
  Misses         27       27
  Partials        2        2

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 0ed90ea...75ed194. Read the comment docs.


Namespace: :global selector and &

Hey folks! Thank you for the hard work there ❤

I have following:
Input
.foo:global(.bar) { color: red }

Output
.bar{color:red;}

Is there any way to emit .bar .foo{color:red;}? I checked unit test cases and haven't found an answer there 😿

You'd have to write a custom plugin for this - the :global handling in the namespace plugin is trying to cover Stylis v3 behavior and from what I've checked the output you are seeing (.bar{color:red;}) is the exact output from v3

:global(.bar .foo){}

should also work


Support ramfs through type RamDir

I'm curious whether tempdir would be interested in adding a RamDir type if it were possible to make such a type.
tmpfs is:

tmpfs is a temporary filesystem that resides in memory and/or swap partition(s). Mounting directories as tmpfs can be an effective way of speeding up accesses to their files, or to ensure that their contents are automatically cleared upon reboot.

It looks like there is a (linux only) libmount that could be leveraged to do the job, although I would prefer using ramfs, as it is guaranteed to be in ram. I haven't looked at that crate, but ramfs could potentially be added there.
It's also at least theoretically possible to support windows, as a tool exists called ImDisk, but this issue is suggesting unix-only support through the tmpfs call (for now).
This issue is mostly to ask whether this feature would be supported by the project devs or whether a new crate should be made instead. Thanks!

that sounds good


PHP Notice when trying to compile a proto file and failure when creating output PHP file

I get the following "PHP Notice" when trying to compile a proto file ( from Google tutorial https://developers.google.com/protocol-buffers/docs/pythontutorial). I can't see output PHP file from parser after parsing addressbook.proto.
Below I publish my steps and error message from PHP:
user@bieli:php-protobuf/example$ cat > addressbook.proto
package tutorial;

message Person {
  required string name = 1;
  required int32 id = 2;
  optional string email = 3;

  enum PhoneType {
    MOBILE = 0;
    HOME = 1;
    WORK = 2;
  }

  message PhoneNumber {
    required string number = 1;
    optional PhoneType type = 2 [default = HOME];
  }

  repeated PhoneNumber phone = 4;
}

message AddressBook {
  repeated Person person = 1;
}

^Z
[2]+  Stopped                 cat > addressbook.proto
user@bieli:php-protobuf/example$ php ../protoc-php.php addressbook.proto
PHP Notice:  Undefined index: PhoneType in php-protobuf/ProtobufCompiler/ProtobufParser.php on line 1039
Type PhoneType not defined

My general problem it's failure output PHP file.
For comparision, when I using Google tools for Python ( https://developers.google.com/protocol-buffers/docs/pythontutorial ) I can see output file, after default 'protoc' command:
user@bieli:php-protobuf$ protoc --proto_path=./ --python_out=/tmp/ example/addressbook.proto

user@bieli:php-protobuf$ file /tmp/example/addressbook_pb2.py
/tmp/example/addressbook_pb2.py: Python script, ASCII text executable, with very long lines

In Python code I can see important section:
_PERSON_PHONETYPE = descriptor.EnumDescriptor(
  name='PhoneType',
  full_name='tutorial.Person.PhoneType',
  filename=None,
  file=DESCRIPTOR,
  values=[
    descriptor.EnumValueDescriptor(
      name='MOBILE', index=0, number=0,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='HOME', index=1, number=1,
      options=None,
      type=None),
    descriptor.EnumValueDescriptor(
      name='WORK', index=2, number=2,
      options=None,
      type=None),
  ],
  containing_type=None,
  options=None,
  serialized_start=215,
  serialized_end=258,
)

I know workaround for this problem by extracting enum from message:
package tutorial;

enum PhoneType {
  MOBILE = 0;
  HOME = 1;
  WORK = 2;
}

message Person {
  required string name = 1;
  required int32 id = 2;
  optional string email = 3;

  message PhoneNumber {
    required string number = 1;
    optional PhoneType type = 2 [default = HOME];
  }

  repeated PhoneNumber phone = 4;
}

message AddressBook {
  repeated Person person = 1;
}

but maybe my issue is important for refactoring *.proto parser in PHP.
Good luck

Hi please help me i want to install php-protobuf in xamp on window.but i have no idea how it will be installed .when i run protoc-php.php its show "requires protobuf extension installed to run". how can i install this extension ??
Thanks

Hi please help me i want to install php-protobuf in xamp on window.but i have no idea how it will be installed .when i run protoc-php.php its show "requires protobuf extension installed to run". how can i install this extension ??
Thanks

@PunitSaharan Then your problem has nothing to do with protobuf, but you do not know how to compile a PHP extension.
cd php-protobuf-master
phpize
./configure
make
sudo make install

vim /path/to/your/php.ini
add one line
extension=protobuf.so

Fixed in #74.


Replaced method_exists() with is_callable()

Not sure if this related to "jenssegers/mongodb": "3.0.*" but attributes from my model ('search', 'updated', 'created') passed the method_exists() but have no relations in my obj.
is_callable : Verify that the contents of a variable can be called as a function. This can check that a simple variable contains the name of a valid function, or that an array contains a properly encoded object and function name.
I have not tested this thoroughly but it has resolved my issue.

i have updated the pull with a less intrusive way to fix my issue. which i am starting to find is because of my mongo plugin which relates the  "update" "created" to create a Mongo date obj.

The indent is incorrect.

I know, I was just about to do a new pull and fix it :+1:


Configurable !benchmark comment workflow

!benchmark PR comment
Example usage in Lurk:
!benchmark --bench fibonacci --bench end2end --features cuda
LURK_RC=100,600,900
LURK_NOISE_THRESHOLD=0.05

or simply:
!benchmark

to run the default benchmarks, features, and runner hardware specified in the caller's workflow file for the repo.
Implementation details

GPU usage is first-class: if the cuda feature is specified, the workflow will automatically run on a self-hosted runner with the gpu-bench label.
Works on forked PRs, but GPU runners won't work outside for PRs outside the lurk-lab organization (see https://github.com/lurk-lab/ci-lab/pull/59#issuecomment-1935293317).

Succesful runs:
https://github.com/lurk-lab/ci-lab/pull/59#issuecomment-1935289761 and below
https://github.com/lurk-lab/ci-lab/actions/runs/7839337556
https://github.com/lurk-lab/ci-lab/actions/runs/7839353003

I think you're saying the current PR isn't testable on GPU self-hosted runners until merged, but should be after, correct?

Yes, I also meant that callers outside of lurk-lab won't be able to use this with self-hosted runners, not that we recommend such usage anyway due to the Lurk-specific nature of our workflows.

Should we close https://github.com/lurk-lab/lurk-rs/pull/1071 or revamp it to use the shared workflow?

I think we should close it to preserve the commit history, and open a new one in Lurk and Arecibo once merged

The default for a !benchmark command has changed to run on the CPU, and requires saying --features "cuda" to use the GPU instead, hasn't it? Can we document that detail in indiscutably spectacular fashion? Make it part of every example?

I've changed added a user note at the top of the workflow and explanation a few places, let me know if you'd like more. I think the change in syntax will be solved through a PSA and more warnings in downstream PRs.
I've also adjusted the default runner to accept a "self-hosted,gpu-bench" string in case the caller wants to always use a GPU runner regardless of features. This may be useful for A/B testing the performance of CPU vs. GPU on the same GPU-enabled hardware.


Merge branch 'master' into dev

This is used to merge https://github.com/NuGet/NuGetGallery/pull/6491 (a hotfix to master) back to dev.


Add support for DoNotRelease metadata attribute

See https://github.com/microsoft/win32metadata/issues/792.
The attribute added there was later renamed to DoNotReleaseAttribute via https://github.com/microsoft/win32metadata/commit/3598cb561116ec13ea19a5b774a8728020d12b13.

Closed by #654


Bakeries example doesn't load map.

https://nbviewer.jupyter.org/github/HIL-HK/lets-plot-examples/blob/master/demo/spb_bakeries.ipynb
Nbviewer wont show maps - pls. move to Datalore.

Same:

https://nbviewer.jupyter.org/github/HIL-HK/lets-plot-examples/blob/master/demo/internet_use_and_activities.ipynb
https://nbviewer.jupyter.org/github/ASmirnov-HORIS/lets-plot-docs/blob/redesign/source/examples/basics/maps_and_geocoding.ipynb
https://nbviewer.jupyter.org/github/HIL-HK/lets-plot-examples/blob/master/demo/minard.ipynb
https://nbviewer.jupyter.org/github/HIL-HK/lets-plot-examples/blob/master/remakes/pushkin.ipynb
https://nbviewer.jupyter.org/github/HIL-HK/lets-plot-examples/blob/master/features/bar_on_livemap.ipynb
https://nbviewer.jupyter.org/github/HIL-HK/lets-plot-examples/blob/master/demo/museums.ipynb

Can also use Kaggle if you prefer.

This one is already available at datalore:
California Housing: https://datalore.jetbrains.com/view/notebook/NCimfm45sYdFyh0JosywnO
Pls update the links.


test: router updates

Overview
This is only a draft for test.
I notice the preview version keeps blank and come up with errors when i do the fixing for router in another PR.
This draft PR did nothing but add a comment so it should be same with the main branch.
But the deploy log shows warnings and the preview page has error too.
Please check the preview deploy log.

Solved by clear cache of netlify


feat: Implement integration test for obs

Signed-off-by: Xuanwo<EMAIL_ADDRESS>I hereby agree to the terms of the CLA available at: https://databend.rs/dev/policies/cla/
Summary
feat: Implement integration test for obs

Hi, @eastfisher
I have invited you as a collaborator. And I have set up all secrets that obs needed for testing.
Please push to this PR directly for testing.
gh pr checkout 572

OK, thanks!

Please ignore flaky tests for hdfs :cry:

reqsign need to update

Great work!


new derived table Hold stat codes

new derived table, added to run list as well

#552

@natalyapik This is really minor. In all our other MM derived tables, holdings is always plural. Did you want to add the "s" here where needed to be consistent? For example, instead of holding_id, have holdings_id.


Rotate colors?

Is there a way to rotate colours from a set, so e.g. the first bar is coloured red the next green and then back red again? Or should I hack something in (and submit a pull request)?

You can use conditional coloring by providing a function instead of a color in the series. The function receices 2 arguments (d the data point and i the index of the point in the data set) and needs to return a color string.

Great, thanks a lot!


chore(tracing-sentry): Support Sentry v8

I've updated Sentry examples to use v8 instead of v7 following the migration guide

Thanks for opening this PR, and sorry for not cutting the new release of the plugin sooner, the last couple weeks have been very busy.  I'll try to get this out today!


OCPP: version 0.129 always charge at full power even using minPV and PV

Describe the bug
With 0.128.4 evcc worked fine when started using minPV - it would charge with around 4.1 kW - but after upgrading to 0.129 it always charge at max output (around 11 kW) no matter what I use (PV, minPV or fast charging).
I use an OCPP charger (Orbis viaris combi+)
Steps to reproduce

start evcc
start charging using minPV
evcc start charging at max power 11 kW
...

Linux
Version
evcc version 0.129.0

There were no changes regarding OCPP between 0.128.4 and 0.129.0.

Thank you for your comment.
That made me think what else could be changed between the sessions - and I remembered that I changed "Residual power from 0 to 100.
And bingo when I change this value back to 0 it is again able to charge at 4.1 kW using minPV. (using evcc version 0.129)
However, I don't understand why changing the residual power can result in such dramatic effect? I have a Sonnen Hybrid battery system so it is recommended in the docs to use a value of 100 - but in my case it clearly is not correct?


ZME_UZB1 is identified as UZB with no zwave plus and security support

[x] I am not using Home Assistant. Or: a developer has told me to come here.
[x] I have checked the troubleshooting section and my problem is not described there.
[x] I have read the changelog and my problem is not mentioned there.

Build/Run method

[X] Docker

Zwavejs2Mqtt version: 6.0.1
Z-Wave JS version: 8.8.1
Describe the bug
I am using a ZME UZB1 usb stick from zwave.me
It supports zwave plus and security features of zwave.
For some reason zwavejs2mqtt identifies it as UZB device with no zwave plus and security support.
Is there a way to change the config file for the device to ZME UZB1?
Below is a debug info from the node:
{
  "id": 1,
  "name": "",
  "loc": "",
  "values": [],
  "groups": [],
  "neighbors": [],
  "ready": true,
  "available": true,
  "hassDevices": {},
  "failed": false,
  "inited": true,
  "hexId": "0x0115-0x0400-0x0001",
  "dbLink": "https://devices.zwave-js.io/?jumpTo=0x0115:0x0400:0x0001:5.27",
  "manufacturerId": 277,
  "productId": 1,
  "productType": 1024,
  "deviceConfig": {
    "filename": "/usr/src/app/store/.config-db/devices/0x0115/zme_uzb.json",
    "isEmbedded": true,
    "manufacturer": "Z-Wave.Me",
    "manufacturerId": 277,
    "label": "UZB",
    "description": "Z-Wave USB Stick",
    "devices": [
      {
        "productType": 1024,
        "productId": 1
      }
    ],
    "firmwareVersion": {
      "min": "0.0",
      "max": "255.255"
    }
  },
  "productLabel": "UZB",
  "productDescription": "Z-Wave USB Stick",
  "manufacturer": "Z-Wave.Me",
  "firmwareVersion": "5.27",
  "protocolVersion": 3,
  "nodeType": 0,
  "endpointsCount": 0,
  "endpointIndizes": [],
  "isSecure": false,
  "security": "None",
  "supportsSecurity": false,
  "supportsBeaming": true,
  "isControllerNode": true,
  "isListening": true,
  "isFrequentListening": false,
  "isRouting": true,
  "keepAwake": false,
  "maxDataRate": 100000,
  "deviceClass": {
    "basic": 2,
    "generic": 2,
    "specific": 1
  },
  "deviceId": "277-1-1024",
  "status": "Alive",
  "interviewStage": "Complete",
  "_name": "NodeID_1",
  "lastActive":<PHONE_NUMBER>198,
  "isBatteryPowered": false,
  "statistics": {
    "messagesTX": 12,
    "messagesRX": 12,
    "messagesDroppedRX": 0,
    "NAK": 0,
    "CAN": 0,
    "timeoutACK": 0,
    "timeoutResponse": 0,
    "timeoutCallback": 0,
    "messagesDroppedTX": 0
  }
}

In latest version those columns (and others) have been hidden for controllers as them don't make any sense for a controller node. Check latest changelog


[Feature Request] Inherit settings from parent directory for ruff.toml config files

Thanks for the fantastic tool! Many tools support multiple configuration files in a multi-directory project. For example, you can have a per-directory .gitignore file to add extra ignore patterns. The .gitignore from the project root still affects the subdirectory. It would be nice if ruff can have a similar feature: inherit and merge configurations in the parent directory and subdirectory.
${PROJECT_ROOT}
├── src
│   ├── a.file
│   ├── b.file
│   ...
├── benchmark
│   ├── .gitignore
│   ├── a.csv
│   ├── b.csv
│   ...
├── venv
│   ├── bin
│   ...
├── .gitignore
...

# ${PROJECT_ROOT}/.gitignore

venv/  # virtual environment
*.csv  # CSV file

# ${PROJECT_ROOT}/benchmark/.gitignore

!*.csv

If I have a .ruff.toml in a subdirectory (e.g., ${PROJECT_ROOT}/tests/.ruff.toml), currently ruff start a totally new namespace and ignores all configurations from the parent directory. If I run ruff check ${PROJECT_ROOT}, the ${PROJECT_ROOT}/pyproject.toml will not affect the lint check under the tests/ folder.
My use case is:
# ${PROJECT_ROOT}/pyproject.toml

[tool.ruff]
target-version = "py37"
line-length = 100
show-source = true
select = [
    "E", "W",  # pycodestyle
    "F",       # pyflakes
    "C90",     # mccabe
    "N",       # pep8-naming
    "UP",      # pyupgrade
    "ANN",     # flake8-annotations
    "S",       # flake8-bandit
    "BLE",     # flake8-blind-except
    "B",       # flake8-bugbear
    "COM",     # flake8-commas
    "C4",      # flake8-comprehensions
    "EXE",     # flake8-executable
    "ISC",     # flake8-implicit-str-concat
    "PIE",     # flake8-pie
    "PYI",     # flake8-pyi
    "Q",       # flake8-quotes
    "RSE",     # flake8-raise
    "RET",     # flake8-return
    "SIM",     # flake8-simplify
    "TID",     # flake8-tidy-imports
    "PL",      # pylint
    "RUF",     # ruff
]

[tool.ruff.flake8-quotes]
docstring-quotes = "double"
multiline-quotes = "double"
inline-quotes = "single"

# ${PROJECT_ROOT}/tests/.ruff.toml

select = [
    "COM",     # flake8-commas
    "Q",       # flake8-quotes
]

I have enabled many rules in select in the root directory. But sometimes I have to disable most of them for tests. I don't want to write a long list of per-file-ignores again for tests/**/*.py. Instead, I create a .ruff.toml file in the tests/ folder and overwrite the select settings. Currently, ruff does not respect the settings in the parent directory (e.g., tool.ruff.line-length, tool.ruff.flake8-quotes). I still need to copy-paste settings between files.
It would be nice if ruff can inherit and merge configurations in the parent directory and subdirectory.

Would extend work for you?

Would extend work for you?

Thanks for the hint. It works and fits the exact use case for me.


protein complex with Rhea xref

ribosomal-protein-alanine N-acetyltransferase complex has an xref to RHEA:43752.

I don't think we should have an RHEAs on anything other than MF activities

removed

So the EC comes up for both an activity AND a complex. both of which also use the same EC:<IP_ADDRESS>
GO:0008999
GO:0009323
Removed from complex
BUT, EC however, has been re-assigned, so am replaces this.
ENZYME entry: EC <IP_ADDRESS> Transferred entry: <IP_ADDRESS>7
RHEA has no reaction mapping to ec:<IP_ADDRESS>7
However, the activity already GO:0008999  had
RHEA:43756  associated with EC <IP_ADDRESS>6
EC <IP_ADDRESS>6 [Ribosomal protein S18]-alanine N-acetyltransferase
Ribosomal protein S5]-alanine N-acetyltransferase. "Acetyl-CoA + an N-terminal L-alanyl-[S5 protein of 30S ribosome] <=> CoA + an N-terminal N-acetyl-L-alanyl-[S5 protein of 30S ribosome]"
RHEA:43752
EC <IP_ADDRESS>7 [Ribosomal protein S5]-alanine N-acetyltransferase
So in these cases there are separate RHEAs AND ECs: depending upon the substrate (on is S5, the other is S18
Unclear if the same complex does both reactions. If it does we coud put two ECs on the complex, which does not specifiy target substrate.
The GO activity term does not specify the position, so I could easily make two children using the RHEAs, and a PMID or wiki for the general term.
For the time being I have removed both rheas for the activity terms and will save that change while I hunt down proper references. I cannot find ANY evidence at the moment for the existence of the complex. There are crystal structures; their references do not mention a complex other than with CoA /acetyl-Coa

More info
Checking in Amigo
GO:0009323  ribosomal-protein-alanine N-acetyltransferase complex appears to have NO annotation.
Suggest obsoletion.

@pgaudet I think this will give you the info: https://api.triplydb.com/s/Ap2SDOlvS

[ ] 0009339	EC:<IP_ADDRESS>
[ ] 0009331	EC:<IP_ADDRESS>
[ ] 0009375	EC:<IP_ADDRESS>
[ ] 0009326	EC:<IP_ADDRESS>
[ ] 0016612	EC:<IP_ADDRESS>
[ ] 0016613	EC:<IP_ADDRESS>
[ ] 0016610	EC:<IP_ADDRESS>
[ ] 0016611	EC:<IP_ADDRESS>
[ ] 0017086	EC:<IP_ADDRESS>
[ ] 0009342	EC:<IP_ADDRESS>
[ ] 0009325	EC:<IP_ADDRESS>
[ ] 0009348	EC:<IP_ADDRESS>
[ ] 0017059	EC:<IP_ADDRESS>
[ ] 0000148	EC:<IP_ADDRESS>
[ ] 0048269	EC:<IP_ADDRESS>
[ ] 0009349	EC:<IP_ADDRESS>
[ ] 0005969	EC:<IP_ADDRESS>
[ ] 0009357	EC:<IP_ADDRESS>
[ ] 0005952	EC:<IP_ADDRESS>
[ ] 0005954	EC:<IP_ADDRESS>
[ ] 0005964	EC:<IP_ADDRESS>
[ ] 0009336	EC:<IP_ADDRESS>
[ ] 0009338	EC:<IP_ADDRESS>
[ ] 0009318	EC:<IP_ADDRESS>
[ ] 0005966	EC:3.1.4.-
[ ] 0016465	EC:<IP_ADDRESS>
[ ] 0005950	EC:<IP_ADDRESS>
[ ] 0009333	EC:<IP_ADDRESS>
[ ] 0009350	EC:<IP_ADDRESS>
[ ] 0009345	EC:<IP_ADDRESS>
[ ] 0009332	EC:<IP_ADDRESS>
[ ] 0009328	EC:<IP_ADDRESS>
[ ] 0017109	EC:<IP_ADDRESS>
[ ] 0009343	EC:<IP_ADDRESS>
[ ] 0005744	EC:<IP_ADDRESS>

So I think these need to be removed as xrefs for complexes.

Yes, I'm trying to replace by a reference if possible

[ ] obsolete GO:0005966 EC:3.1.4.-
No annotations, no evidence that this is a complex, see https://www.uniprot.org/uniprot/P0A8G9

@pgaudet will you be obsoleting GO:0005966 as per comment above?
If not, can you remove the partial EC xref from the definition line?
[Term]
id: GO:0005966
name: cyclic-nucleotide phosphodiesterase complex
namespace: cellular_component
def: "An enzyme complex that catalyzes the hydrolysis of bonds in a cyclic nucleotide." [EC:3.1.4.-]
synonym: "photoreceptor cyclic-nucleotide phosphodiesterase complex" NARROW []
is_a: GO:1902494 ! catalytic complex

GO:0005966 cyclic-nucleotide phosphodiesterase complex >> no annotations
GO:0009348 ornithine carbamoyltransferase complex  >> no annotations -> homotrimer
GO:0009343  biotin carboxylase complex >> 2 ISM annotations by GeneDB -> homodimer https://www.uniprot.org/uniprotkb/Q00955/entry#subcellular_location


fvm reports incorrect error message when there is an issue with git

This can be reproduced with the following:

Install git and fvm via choco as administrator.

choco install git
choco install fvm

Setup fvm as administrator

fvm install stable
fvm global (select stable)

Setup fvm as a local user

PS C:\Users\saxto> fvm global (select stable)

Attempt to run a flutter command

PS C:\Users\saxto>fvm flutter --version
Error: Unable to find git in your PATH.

This is incorrect error message.  The issue is with the output of a git command being run in shared.bat.  Here is the git command run manually:
PS C:\Users\saxto\fvm\versions\stable> git rev-parse HEAD
fatal: detected dubious ownership in repository at 'C:/Users/saxto/fvm/versions/stable'
'C:/Users/saxto/fvm/versions/stable' is owned by:
        'S-1-5-32-544'
but the current user is:
        'S-1-5-21-877379620-2724898243-334557926-1001'
To add an exception for this directory, call:

        git config --global --add safe.directory C:/Users/saxto/fvm/versions/stable

shared.bat should be modified to report that error.

(I would fix this myself if I were more familiar with how to program batch files!)

Hi @wfsaxton,
Does this bug occur if you use the flutter tool by itself or does it only occur with fvm? If it occurs only when you use fvm then you'll need to report this on their repo as it is a third-party tool
Thank you


Can't boot the device with builded images, need to update the firmware?

I have been able to successfully create sample images with different configurations (normal, LXDE, Coral...) but none of them boots on my IoT2050.
Do I have to create a "firmware image" first to update the firmware? How can I know if my device is PG1 or PG2? Where can I find the steps to update the firmware with the image?
Thanks

Hi, you can refer to this below link:
https://support.industry.siemens.com/tf/ww/en/posts/firmware-update-to-use-example-image-v1-2-1/275777/?page=0&pageSize=10

In addition, attaching a UART-serial converter to the X14 debug port can help a lot in debugging boot issues. The output will also dump the device type.

Thanks.


Polymorphism lost at lua boundary

I have a C++ method, called by Lua. It is typed as returning a Screen *. In fact, it returns a PhysicsScreen * (ie a subclass of Screen). When I check the .__class.__info.__name of the Screen returned by this object, it is claimed to be of type Screen (although it is actually of type PhysicsScreen). When I try to call setTransform on the returned object, I get a "LUA ERROR: [string "e:setTransform(d, Vector2(10,10), 0)"]:1: attempt to call method 'setTransform' (a nil value)".
If I simply change the return type of the function from Screen * to PhysicsScreen *, suddenly the __class.__info.__name becomes PhysicsScreen and setTransform becomes available again.
I realize this is a vague description-- I have here example code, screenshots etc I can post if it's helpful but won't bother if you get the idea just from this description :)
Basically it appears that C++ objects passed into lua-land become the type of their pointer cast, and lose the identity of the underlying object. This means you are unable to call any method not part of the parent class interface, and there's no way to do something like dynamic_cast at the lua end to fix this...

This was becoming a problem for me-- I had a ScreenLabel "meter", which according to Lua was a ScreenEntity. I knew for a fact it was a ScreenLabel. So I said:
meter.__info.__class = ScreenLabel

...exactly how horrible of a thing did I just do? Is this safe, assuming the types are in fact correct?


[Feature]: Add table summary metrics

Description
Add table summary metrics for each table to help users better understand the detail of tables.
Use case/motivation
Amoro has currently implemented the Metric System to provide various metric information externally.
However, it is also crucial to have metrics for important aspects such as data size, file count, and record numbers related to tables. By adding metrics for these aspects, we aim to assist users in gaining a better understanding of the various situations on the tables.
Describe the solution
We should define proper table summary metrics first.
Then AMS will refresh the table runtime every 3 minutes(by default), it can update the table summary metrics in this stage.
Subtasks
No response
Related issues
No response
Are you willing to submit a PR?

[ ] Yes I am willing to submit a PR!

Code of Conduct

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

Here are some table summary metrics for Iceberg tables:

Metric Name
Type
Tags
Description

table_summary_total_files
Gauge
catalog, database, table
Total number of files in the table

table_summary_data_files
Gauge
catalog, database, table
Number of data files in the table

table_summary_equality_delete_files
Gauge
catalog, database, table
Number of equality delete files in the table

table_summary_position_delete_files
Gauge
catalog, database, table
Number of position delete files in the table

table_summary_total_files_size
Gauge
catalog, database, table
Total size of files in the table

table_summary_data_files_size
Gauge
catalog, database, table
Size of data files in the table

table_summary_equality_delete_files_size
Gauge
catalog, database, table
Size of equality delete files in the table

table_summary_position_delete_files_size
Gauge
catalog, database, table
Size of position delete files in the table

table_summary_total_records
Gauge
catalog, database, table
Total records in the table

table_summary_data_files_records
Gauge
catalog, database, table
Records of data files in the tablep

table_summary_equality_delete_files_records
Gauge
catalog, database, table
Records of equality delete files in the table

table_summary_position_delete_files_records
Gauge
catalog, database, table
Records of position delete files in the table

table_summary_snapshots
Gauge
catalog, database, table
Number of snapshots in the table

Please feel free to share your idea about table summary metrics.

The meanings of "table_summary_total_files" and "table_summary_data_files" are whether the quantities are in the latest Snapshot or the quantities of all the files existing on HDFS.

Whether to consider making the metrics more generalized to support different table formats?

Thanks for driving this, the summary is very helpful for users to understand the underlying things, apart from the table-level metric, 1) Could we add the metric for the tasks -- we can give more information from the task-level metrics and optimize the planning process; 2) could we add a metric for the committing process
We've added some metrics above about this in our inner version and can contribute them if needed.

Whether to consider making the metrics more generalized to support different table formats?

I would be glad to make the metric name more general if it could be used for multiple formats, like table_summary_total_files or table_summary_data_files.
However, I also agree with adding specific metrics for different table formats, such as table_summary_equality_delete_files and table_summary_position_delete_files. We should allow different table formats to have different metric items.

The meanings of "table_summary_total_files" and "table_summary_data_files" are whether the quantities are in the latest Snapshot or the quantities of all the files existing on HDFS.

IMO, they refer to the summary of the current snapshot.

Could we add the metric for the tasks -- we can give more information from the task-level metrics and optimize the planning process; 2) could we add a metric for the committing process

Great suggestion for plan/commit metrics.
Adding metrics related to queries and commits is indeed very valuable. However, it may depend on Amoro to implement the Iceberg MetricsReporter for collecting plan/commit information from different engines. This is indeed a planned feature for Amoro in the future, but it may not be included in this current feature.

Hi @zhoujinsong , We can use this AWS Solution as a reference.

Hi @zhoujinsong , We can use this AWS Solution as a reference.

Thanks for your feedback and found,We can refer to this part of the indicators to achieve
https://github.com/aws-samples/monitoring-apache-iceberg-table-metadata-layer

In my opinion: we can use the concepts from DW such as identifying the dimension and facts.
e.g.
the dimensions such as:

which table type? pure iceberg, mixed iceberg, mixed hive
which data type? data or metadata
is it in use? files expired or in use?
which file type for data/metadata? data/eq-del/pos-del/manifest/manifest-list and so on...
has partition and which parition?

the facts such as:

number of files
total size of files
90% file size
median file size
max file size

Here are our exp sience 0.4:
(let me bring it from my working computer on Monday....)
Furthermore, the idea to reference metrics used in iceberg like czy006 said might be good idea, thus we can get more detail view from the data inside the table, but need more consideration when the table format is mixed hive.
And we need to consider the capability of promethues reporter, since we've stepped on the pit here... (large number of metrics in single page will cause the performance issue)
On the other hand, I've totally agree with klion26, so we can have a better understanding of what's the situation when self-optimizing working. (e.g. add to OptimizerGroupMetric?)


Is it possible to create a formatter?

So I found this on the docs right:
http://bookshelfjs.org/#Model-instance-format
Which says...
The format method is used to modify the current state of the model before it is persisted to the database. The attributes passed are a shallow clone of the model, and are only used for inserting/updating - the current values of the model are left intact.
but based on what that says, I'm not sure it's what I need. So I'll explain here what I'm trying to accomplish, and if someone could point me in the right direction, I'd appreciate it.
So I basically saving an "array" in a column using a , as a delimiter (I know it's bad practice, so sue me).
The thing is, when I'm retrieving this data later on, I need it to be back in it's array form. Whats the best way to achieve this?

I think you're looking for the opposite operation, which is parse.

That's exactly what I need @ricardogama thanks very much for your help :)

@KieronWiltshire Seems like this issue is resolved, I'm going to close.
Also, it's @ricardograca. They keep messing up your handle because of the other Ricardo 😂


fay preprocessor

Hello,
I have code working so that I can use hsx2hs with Fay to allow inline html markup. So now I can do stuff like:
       html <-

       jq <- renderHTML html
       row0 <- select "#row0"
       after jq row0

But, now I need to way to ensure the preprocessor gets run before fay sees the code.
I could name the files with markup something like Foo.hsx and then use a Makefile (yuck) or a crazy Setup.hs (boo) to run the preprocessor and generate a normal .hs file. But that is troublesome because I would need to trace the dependencies and make sure all the .hsx files get converted. Plus it screws up interaction with GHCi.
In GHC the solution is to put this at the top of the files:
{-# OPTIONS_GHC -F -pgmFhs2hsx #-}

which tells GHC to run the preprocessor on that file first, and then compile the resulting file.
Would be nice if I could do:
{-# OPTIONS_FAY -F -pgmFhs2hsx #-}

as well. That would automatically pass the source code through hsx2hs, output it to a new temp file, compile it with fay, and then delete the temp file.
Any thoughts?

jeremy

Spring cleaning. Lack of activity, it's unlikely that this will happen.


changing the pg_num to power of 2

Signed-off-by: harishmunjulur<EMAIL_ADDRESS>

rhel 8.1: http://pulpito.ceph.redhat.com/hmunjulu-2020-04-13_18:28:22-rbd:singleton-bluestore-nautilus-distro-basic-multi/
rhel 7.7: http://pulpito.ceph.redhat.com/hmunjulu-2020-04-13_21:11:15-rbd:singleton-bluestore-nautilus-distro-basic-multi/


Validade uri from systemuri #182

See https://github.com/code-cracker/code-cracker/issues/190 to understand the reason for PreRunMethodChecker and PreRunMethodInfo classes.

@andrecarlucci André, your analyzer is being executed for all object creation and not only for Uri. Can you check this ?

Sorry, I thought It has supposed to do that. I mean, it has to run for every constructor in order to check if it's the desired constructor. Is there another way?
Or do mean that it is returning a diagnostic for other class constructor? Can you provide me a sample that would show me the error? I'll fix asap :)
Tks!

@andrecarlucci No problem, take a look ar RegexAnalizer. It´s same kind of validation.

The RegexAnalizer is not validating a constructor, it uses the InvocationExpressionSyntax. For constructors we need ObjectCreationExpressionSyntax. The analyser is also called for every method, isn't it?
Also, it does not validade Regex with RegexOptions neither the Regex constructor. I want to later apply this refactory to fix that: https://github.com/code-cracker/code-cracker/issues/190, but that's another issue.

@andrecarlucci My suggestion is that you verify is object is Uri. ObjectCreationExpression is executed for all object creation, for example, if a create SqlConnection() this analyzer is called. InvocationExpress is only for expression, like parameters in Regex.

@andrecarlucci Using ObjectCreationExpression you can check IdentiferName looking for Uri

Now I got you. There are two different things here:
The UriAnaylizer will run for every constructor found in the same way the RegexAnalizer runs for every invocation method found. RegexAnalizer runs for sqlConnection.Open() for instance, that's the way analyzers work.
The optimization you're looking for is to return as soon as the analyzer finds that the method name is wrong using only the syntax tree. Doing so avoids loading the heavy weight semantic model into memory unnecessary.
ObjectCreationExpressionSyntax doesn't have IdentiferName or a Identifier property the way MemberAccessExpressionSyntax does, so I can't follow the same path.
Since this information is part of the syntax, it's definitely there somewhere. I'll find it, update the code and commit the changes.
Thanks a lot for pointing me that out.

@andrecarlucci Let me know when fix is done for commit.

@carloscds There you go :)

@andrecarlucci Thanks for your PR André! Send us more :-)

@andrecarlucci André, please check exception messages in test, because in a diferente en-US system, exceptions returns in a different language, not always english and tests can fail.

Good point.
So we don't test exception messages for these cases, right? Just compare whatever it returns?
Do I send a new PR referencing the same issue or is it better to add a new one?

IMO I see no harm in referencing the same issue in another PR

@andrecarlucci Can you send using same issue. Only comment about what you are fixing/improving.

Ok, the changes are ready on my local repo.
I'm waiting for this PR: https://github.com/code-cracker/code-cracker/pull/199 because I mistakenly created a branch from that branch, it will be a lot of work to rollback everything and submitting a new PR now would show all my changes back from the 199 again.


Check the to_production file to ensure all entries are live on sandbox

Observed behaviour
We can add families to the to_production file that are not live on sandbox.
Expected behaviour
We should check that the GF downstream monorepo to_production file only has families listed inside that are live on sandbox, and get a FAIL result if not.
(This may be a gf-bot issue rather than a fb issue)

Similarly, please confirm to_sandbox families are live in dev.


Turning this into GitHub Pages

Hi! I loved this idea :) What do you say if we turn this into a GitHub pages website to make it easier to access?

(I can take care of that - should be quick!)

Great idea, and just done - https://rainbowbreeze.github.io/ai_for_community_events/
WDYT?

Yep, looks great, thanks a lot! :)


Git hooks

This pull request adds:

conf option for git hooks
support for multiple hooks
hook to prevent top level changes to files/dirs
handling of push time through the git reflog (which already stores the server push time if properly configured, no need to have a hook + database table)

Other than the hook for required files, this is ready

@adisandro thanks, looks great.


vscode-extensions.sumneko.lua: 3.6.19 -> 3.7.3

Description of changes

https://github.com/LuaLS/lua-language-server/releases/tag/3.7.3
https://github.com/LuaLS/lua-language-server/compare/3.6.19...3.7.3

Patch had to be adjusted because the source was changed.

Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] 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/)
24.05 Release Notes (or backporting 23.05 and 23.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.

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

Looks good! Thank you. cc @aanderse


Case switch labels and pattern switch label should be on same line as its when clause and conditions

Provide a codefix to place when clause on same line as its case pattern switch label and its condition.
case ParenthesizedLambdaExpressionSyntax p
 when
 p.ExpressionBody != null:

or
case ParenthesizedLambdaExpressionSyntax
 p
 when
 p.ExpressionBody != null:

or
case
 ParenthesizedLambdaExpressionSyntax p
 when
 p.ExpressionBody != null:

should all be:
case ParenthesizedLambdaExpressionSyntax p when p.ExpressionBody != null:

Same applies for:
case
 StringComparison.Ordinal:

or
case
 StringComparison
.Ordinal:

or
case
 StringComparison.
Ordinal:

or
case
 StringComparison
.Ordinal
:

or
case
 StringComparison.
Ordinal
:

should all be:
case StringComparison.Ordinal:


SQL build info missing

Hello.
An error pops up when you click the Use public PDBs for known SQL Server build button
When manually clicking on links, I get an error 404

@buganych - it's likely that the computer you are running the tool from, is blocked from downloading the relevant files. Try downloading the latest manually and placing the sqlbuildinfo.json file in the same folder as the main SQLCallStackResolver.exe. But I suspect if the tool cannot get to the above file, it probably also might not be able to download PDBs as well. In which case you can reference the Wiki and obtain those PDBs for the build you are interested in, from a computer that has access to the Internet. Then reference that location with the PDBs in the tool.


Update index.js

👷 Deploy Preview for rococo-kitsune-109071 processing.

Name
Link

🔨 Latest commit
5dab29a6cd95fa7dce637fc925a2b5af7fe8704c

🔍 Latest deploy log
https://app.netlify.com/sites/rococo-kitsune-109071/deploys/65e6fe6f42d96000080315c8


ci: cherry-pick workflow permissions updates

Fixes #N/A
Description
Cherry picks #5164 to ensure workflows have the correct permissions.
How was this change tested?
N/A
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 82.355%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
6175

Relevant Lines:
7498

💛  - Coveralls


Package.json metadata out of date

You're not just using a starter, anymore!

Whoops, thanks for the catch - should be fixed now :)


test: behaviors-message_on_lock_failure (2024-01-31 05:44:46.422767+00:00)

automatic test cleanup


Popover broken on Android <= 5

Executing the popover snippet from the playground in the Tabris.js 2 developer app (2.6.3-20181122-0504) on a Android 5.1.1 looks like this:

Thanks for the info we will look into the issue.

Issue has been fixed and back-ported to 2.x


Update version and CHANGELOG for new release: 0.5.2.

Codecov Report

Merging #348 (a5111f4) into master (c6baa81) will decrease coverage by 3.09%.
The diff coverage is 100.00%.

@@             Coverage Diff             @@
##            master     #348      +/-   ##
===========================================
- Coverage   100.00%   96.90%   -3.10%
===========================================
  Files           52       52
  Lines         2936     2936
===========================================
- Hits          2936     2845      -91
- Misses           0       91      +91

Impacted Files
Coverage Δ

statick_tool/__init__.py
100.00% <100.00%> (ø)

...tatick_tool/plugins/tool/uncrustify_tool_plugin.py
66.66% <0.00%> (-33.34%)
:arrow_down:

statick_tool/plugins/tool/xmllint_tool_plugin.py
80.00% <0.00%> (-20.00%)
:arrow_down:

statick_tool/plugins/tool/cppcheck_tool_plugin.py
85.10% <0.00%> (-14.90%)
:arrow_down:

...tatick_tool/plugins/tool/perlcritic_tool_plugin.py
87.03% <0.00%> (-12.97%)
:arrow_down:

...tatick_tool/plugins/tool/clang_tidy_tool_plugin.py
87.32% <0.00%> (-12.68%)
:arrow_down:

statick_tool/plugins/tool/cccc_tool_plugin.py
91.71% <0.00%> (-8.29%)
:arrow_down:

statick_tool/statick.py
96.06% <0.00%> (-3.94%)
:arrow_down:

statick_tool/discovery_plugin.py
98.00% <0.00%> (-2.00%)
:arrow_down:

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 c6baa81...a5111f4. Read the comment docs.


[webapi] Add "extension" parameter for Teskitlite in realsense test suite

Update latest realsense_extensions link
Add "extension" parameter for Teskitlite

https://crosswalk-project.org/jira/browse/XWALK-6595

@Shao-Feng is this OK to you?

Jenny just show me a manifest.json. https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/usecase/usecase-apptools-tests/testapp/manifestextension/manifest.json
in the last line,
"xwalk_extensions": ["extension/echo_extension", "extension/echo_extension_bridge"]
could you try if realsence suite could also define the extension in manifest like above?
If yes, we can re-base testkit-lite and remove this features.

Whatever the "xwalk_extensions" in manifest work or not, the suite name should be corrected.

@Shao-Feng at present, https://github.com/crosswalk-project/crosswalk-test-suite/blob/master/webapi/webapi-realsense-xwalk-tests/manifest.json has added "xwalk_extensions"

I will try it and give the result later.

OK, then, it seems APP-tool can't deal with the manifest without the parameter. if so, this patch looks OK to me

I tried  "xwalk_extensions" in manifest and extension="xwalk-extensions" in xml with testkit-lite, it can run at first, then get a xwalk.exe error and black screen.

I tested the package with this PR on HP Spectre x2 (Windows 10) by latest testkit-lite(https://github.com/testkit/testkit-lite/releases/download/lite-3.1.17-3/testkit-lite_3.1.17_all.deb), result is : total 157 pass 110 fail 5 block 42. these two cases enhanced_photography and face both have some block for "Uncaught Error: assert_unreached: Access to audio and video stream get error: Reached unreachable code".

I tested with testkit-lite 3.1.16, i will try with 3.1.17 again.


Transactional/Source Content Validation - AppendBlob Client

AppendBlock

Recorded test for existing user generated MD5 (positive and negative).
Recorded and added test with positive and negative user generated CRC64
Recorded and added test for SDK generated CRC64

AppendBlobFromURL

Added test with positive user generated CRC64
Added test with negative user generated CRC64 (this test is skipped due to service bug where CRC64 doesn't get checked).
User generated MD5 positive and negative already exists

CopyFromURL

This API is deprecated from AppendBlob client because it will not work for AppendBlobs so no tests are needed here.

[x] The purpose of this PR is explained in this or a referenced issue.
[x] The PR does not update generated files.

These files are managed by the codegen framework at Azure/autorest.go.

[x] Tests are included and/or updated for code changes.
[ ] Updates to CHANGELOG.md are included. - don't need changelog addition for tests.
[x] MIT license headers are included in each file.

/azp run go - azblob

/azp run go - azblob


Adding UIAlertAction for closing the action sheet when action exists

The user cannot close the action sheet without selecting any item if the dismissAutomatically = true or selectionStyle == .multiple. So this change will add a close action even in single selection type.

@AmjadAlSawafta Thank you for creating this PR.
This was done intentionally because if we add Done action to actionSheet for single selection , the user will be able to dismiss it by just clicking outside or by clicking the button.
This would create confusion to the user when he has already selected the item and clicks outside to dismiss the menu, to which he thinks selection should be discarded (because he has not clicked on the done button). But actually that discard is not possible.
Hope you got my point.

Adding the Done button to actionSheet can be done. However, the solution you provided is conflicting with the .alert type when Done button is actually needed but not showing due to
if let actionTitle = action.
To achieve in both the style, the solution should be the following:
// add done action
if (tableView?.selectionStyle == .multiple || !self.dismissAutomatically || style == .actionSheet) {
    alertController.addAction(doneAction)
}

I have changed the condition as you suggested. Please review it and merge.


Kotlin Multiplatform support?

Hi team, thank you for building a great library for JSON:API parsing with kotlinx. After checking, I see this lib does not support the Kotlin Multiplatform project yet as it still uses kapt to process annotations based on JVM. The description of this library says it seems to support multiplatform already but unluckily not yet.
Do you have any plan to make it fully support it? I do think the main work will be migrating from kapt to ksp. Am I correct? 🤔

Hi @luongvo!
You are correct, I am working on KSP support as we speak. I believe sometimes in the 1st quarter of the next year there should be a release that will include it. I will update the description, thanks for pointing this out.
The initial plan was to make the lib multiplatform from the start, but it turned out to take more effort than we could afford at the time.
Anyway, yeah, we do plan to support KMM. Not sure if adding ksp is the last link in that chain, but if needed we will keep working.

Hi @stjepanbanek,
any news about KMP support?
Thanks

Hi @maicol07
We're focusing on bringing in KMP support right now and will add KSP and KAPT at the same time. This involves some big updates we're currently working on. We plan to have KMP support ready by the third quarter.

Hey there 👋
Any updates about KMP support? 🙏

Hey 👋
We are trying to make it happen next year


kubie: 0.7.3 -> 0.8.4

Motivation for this change
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[X] 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)
[ ] Ensured that relevant documentation is up to date
[X] Fits CONTRIBUTING.md.

cc @illiusdope

looks like #86232 did this as well.


Eliminate ScalaReflection calls from Delta after warming up

Description
Spark's ScalaReflection is a performance killer when the concurrency is high. This PR makes the following changes to eliminate unnecessary ScalaReflection calls from Delta after warming up:

typedlit calls Liternal.create which will touch ScalaReflection. This PR replaces typedlit with lit or new Column(Liternal.apply(v, <data type>)). Most of changes in this PR are caused by changing val CDC_TYPE_NOT_CDC: String = null to val CDC_TYPE_NOT_CDC: Literal = Literal(null, StringType).

A new style check is added to block typedlit.

Add more templates to DeltaUDF and use these templates to create udfs in Delta to avoid touching ScalaReflection.
count(*) will touch as(ExpressionEncoder[Long]()) in order to return a TypedColumn. Replace it with count(new Column("*")) in Delta so that we can avoid touching Scala reflection code.

A new style check is added to block count(string).

Add a new DeltaEncoder class to simplify the code pattern that uses ExpressionEncoder. We introduce DeltaEncoders to cache all reusable Encoders and mix it into com.databricks.sql.transaction.tahoe.implicits._. With this change, we can replace import spark.implicits._ (always create new Encoders) with com.databricks.sql.transaction.tahoe.implicits._ (reuse the shared Encoders) to minimize the code touching ScalaReflection after warming up.

A scala style check is added to block spark.implicits._.

How was this patch tested?
New tests + existing tests.
Does this PR introduce any user-facing changes?
No.

I linked the merged commit to a wrong PR. This one has been merged to master as https://github.com/delta-io/delta/commit/699a9851992dd2c6f1cde6779a679d4c9f801d30


Authenticating MSAL.js auth Tokens using Node.js

Library

[ ]<EMAIL_ADDRESS>or<EMAIL_ADDRESS>
Description
I have used MSAL.js with my React,js Application. This application uses backend api used in node,js apis to drive the application.
I read the docs, but I am unable to authenticate any user using Node.js
Is there any docs or library available which I am missing?

@thelements You can use our passport-azure-ad library to validate access tokens server-side in your Node application: https://github.com/AzureAD/passport-azure-ad/

Closing, let us know if you have further questions.

Let's say I have my custom token in my app. So i can't use as middleware is there a way to do it manually. I can pass as a custom key and validate. I am unable to find any proper method to do so,
I am receiving some msal.idtoken or something.

You can find more information about validating access tokens here: https://docs.microsoft.com/en-us/azure/active-directory/develop/access-tokens#validating-tokens


[system-probe, selinux] Fix debian postinstall crash when installing module on unsupported platforms

What does this PR do?
Changes the way we run SELinux commands on Debian / Ubuntu to avoid crashes on expected failures.
Contrary to the RHEL posttrans script, the Debian / Ubuntu postinst crashes on any error (because of the set -e at the start of the block).
Motivation
Makes SELinux installation resilient to expected failures (old kernel / policies incompatible with system-probe).
Additional Notes
Needs thorough review and testing on all supported Ubuntu / Debian platforms (the CI doesn't currently take care of all cases).

How is the if expr syntax not more crashy than the $? one? Is it because of set -e?

How is the if expr syntax not more crashy than the $? one? Is it because of set -e?

Indeed that's it (cf. the GNU set builtin reference):

-e
Exit immediately if a pipeline (see Pipelines),  which may consist of a single simple command (see Simple Commands), a list (see Lists), or a compound command (see Compound Commands) returns a non-zero status. The shell does not exit if the command that fails is part of the command list immediately following a while or until keyword, part of the test in an if statement, part of any command executed in a && or || list except the command following the final && or ||, any command in a pipeline but the last, or if the command’s return status is being inverted with !.

Another solution could be to set +e before the SELinux block (since we expect failures in this block) and reset to set -e after the block. Not sure which one is better here.

Superseded by #5127.


Header to provide option to show entity value at current time

Checklist

[x] I am running version 1.6 of the card (the latest version at the time of raising)
[x] I checked if there isn't another feature request opened with the same request
[x] I checked that the feature is not already available in the dev branch

Is your feature request related to a problem? Please describe.
In the card header, the value for the entity is always the last entry in the array of entity values, even if that time is in the future.
Describe the solution you'd like
In the card header, the value for the entity is chosen based on the current time.
For example, step through the entity array to find the last time period before now and use that value.
Describe alternatives you've considered
In the card header, an option is provided to show the entity value for the first entry in the array of entity values.
Another alternative is to require the entity to have the desired value to be displayed. Only issue with this approach is that the entity is created by https://github.com/markgdev/home-assistant_OctopusAgile#octopusagilerates so will need to get that project updated.
Additional context
Example use case including screen shots are in the Home Assisant community

So I'm thinking to make it happen this way:
series:
  - entity: x.y
    show:
      in_header: now # other values are true and raw currently

if set to now, it will:

Take the first available value before now
If it doesn't exist, it will take the first value after now

Does that make sense?

IMHO, it might be better to show NaN (or -) if a value before now does not exist. Maybe two options; before_now and after_now so you can choose which value to show?
Would it also make sense to also add first/last as options? I.e be able to choose if you want to show the first or last value in the series? Last being the current behaviour.

Makes sense for before_now/after_now, however, I'm wondering what would be the use case to show the first data from the chart?

I'm wondering what would be the use case to show the first data from the chart?

I only need the before_now/after_now - I only mentioned the first data item as an alternative as in my scenario it is the same as 'before_now'.

Makes sense for before_now/after_now, however, I'm wondering what would be the use case to show the first data from the chart? (not that I don't want to implement it, I'm just curious)

I had a use case in mind when writing my reply, but of course I have forgotten it now. The only reason I can think of is to have matching first/last, before_now/after_now, etc.


Update package.json

From "react": ">=0.13" To "react": "0.13"
It occurs error below
npm ERR! peerinvalid The package<EMAIL_ADDRESS>does not satisfy its siblings' peerDependencies requirements!

Good catch @shoveller. Can you update the package.json for the other example too?


Fails to serialize dictionaries that have numerical keys

The toml library fails to serialize dictionaries that have numerical keys.
Expected behavior: Numerical keys in the dictionary to serialize will be converted to strings when toml.dumps or toml.dump is called. (Like the behavior of the equivalent json functions json.dumps and json.dump).
Actual behavior: toml.dumps and toml.dump both return a TypeError.
Example (toml version 0.9.2, python 2.7.6):
import toml
d = {1: "stuff"}
toml.dumps(d)

Expected output:
>>> import toml
>>> toml.dumps(d)
'{"1": "stuff"}'

Actual Output:
>>> import toml
>>> d = {1: "stuff"}
>>> toml.dumps(d)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/home/jakory/.local/lib/python2.7/site-packages/toml.py", line 597, in dumps
    addtoretval, sections = _dump_sections(o, "")
  File "/home/jakory/.local/lib/python2.7/site-packages/toml.py", line 619, in _dump_sections
    if not re.match(r'^[A-Za-z0-9_-]+$', section):
  File "/usr/lib/python2.7/re.py", line 137, in match
    return _compile(pattern, flags).match(string)
TypeError: expected string or buffer

Hi, thank you for your bug report! I did not realize that json.dump and json.dumps handle non-string keys in dictionaries. This has now been fixed.

@uiri Are you aware that on Python 2 this bug fix converts an input unicode string into a str string for output? This is quite a serious change in behaviour! You may want to use six.text_type instead of str

Whoops, you're right. I need to use unicode instead.
There is a bit of hacky code at the top of the module which makes that work on both python 2 and python 3.


Hello, I just replaced html and css in your demo, and it doesn't work for some reason. It might be duo to scroll in container?

https://codepen.io/artyor/pen/YzzEQgg Here is my demo.
I guess I need to apply it differently because this is not for main scrollbar?

It doesn't work with secondary content like that. It can only scroll the body. You might want to take a look at the CSS property for this: https://gomakethings.com/smooth-scrolling-links-with-only-css/

Using that as 2nd solution, but wanted to have it working on every browser. Thanks anyway!


Lumina-FM: Right-click Menu Entry Checksum

Shouldn't the checksum test (via right-click menu) produce some checksum number? On my up-to-date STABLE install nothing happens when running it on a file.

Thanks, I'll look into this next week when I have some free time.

This is what I get from the latest sources.  Are you getting the dialog window on your system at all?

Turns out I tested it on ZIP files only. And for the latter I do not get a dialog window. Other types of files work.

Latest sources work fine with zip files.  Probably a regression that we already resolved that hasn't gotten to stable yet.  Thanks for the ticket.


Updating Readme

This PR updates Readme to remove incorrect description that component files are created in airgap dapr init. It also updates workflow to use .txt file for Readme instead of markdown.
Please reference the issue this PR will close: #14, #12

@dapr/maintainers-dapr Can we merge this?


Documentation Update: Added Cavulus to Powered By, added recent talk, fixed minor issues.

@vjagadish1989 please take a look.


[Bug] Numeric hotkey opens hidden browser

How to reproduce:

Have several browsers in the system.
Hide the first browser in the list.
Open an URL, press the "1" keyboard key.

What happens:
A hidden browser opens instead of the first visible browser in the choice list.
Expected behavior:
The first browser in the choice list opens.
Analysis:
The ViewModel property Choices is filtered for display purposes, but used as is in the key press handle.

good catch

This bug is patched in the just released 2.0-beta3, please give it a whirl and let me know if it works ok :)


Bump cross reference forms

Bump to latest version of the semantic forms, including latest updates on the cross-referencing forms.
See DL-6314

Closing this PR, https://github.com/lblod/app-public-decisions-database/pull/30 will gather the cross referencing forms together with other new forms.


ATB - 131  Deprecate Redis infrastructure

What?
Getting rid of any other references to Redis in the deploy/template.yaml file, build-test-application.yml and docker-compose.yml .
Why?
To move over to DynamoDB once Phase 2 switchover testing has been complete.

Replaced by this PR hence this PR is not required - hence closing
cc -- @MinaMahdi


The heap histogram internal stat needs refactoring for v6

The heap histogram stats were added in v5 and merged up but the way internal stats are recorded has changed in 6 so this needs some refactoring.
A non-exhaustive list of things that need doing are:

Add the stat keys and doc refs to stroomCoreServciePropertyContext.xml (see stroom.internalstatistics.memory.docRefs for an example), the uuids can be found in stroom-content.
Change HeapHistogramStatisticsExecutor to have InternalStatisticsReceiver injected, see NodeStatusExecutor for an example.
Change the code to work with stat keys and uuids instead of names.
Add the property overrides to stroom-resources/bin/compose/containers/stroom.yml
Add the props to stroom/stroom.conf.template

Fixed in > 6.0-alpha.8


async

I was just trying to follow the examples in the readme and on python 3.10 I am getting this error:
SyntaxError: 'async for' outside async function
Overall, having support for async I/O is useful, but it can also get in the way as it is harder to debug and test with async I/O (or maybe I am not proficient in it). Can I suggest that we change the library so that it offers both a standard consumer API class and async I/O version would be an additional option that can be used?
Or maybe update the readme to have better examples.

I was just trying to follow the examples in the readme and on python 3.10 I am getting this error:
SyntaxError: 'async for' outside async function

It's because the default Python interpreter doesn't run an eventloop. Just use IPython or run python -m asyncio.

Overall, having support for async I/O is useful, but it can also get in the way as it is harder to debug and test with async I/O (or maybe I am not proficient in it). Can I suggest that we change the library so that it offers both a standard consumer API class and async I/O version would be an additional option that can be used?

This is out of scope for our company right now. All the Python we write is async so we don't have any interest in adding a synchronous client. I'm personally quite used to projects that support both sync and async (i.e. I'm the author of notion-sdk-py, for example) and frankly, it's a pain to support both, Python hasn't been designed for this.

Or maybe update the readme to have better examples.

PR welcome! Happy to merge anything that helps newcomers.


Add a Python (pypi) version of Maven Artifact Zip Directory Structure to build hook (and upload to pypi registry)

Relates to: https://github.com/luftfartsverket/reqstool-client/issues/111
For Java we create the zip file during packageand attach it so that it is uploaded during deploy.
With hatch we have targets build and publish. We can create the zip file in build and/or publish so that it's uploaded to pypi in publish.
See: https://hatch.pypa.io/1.12/plugins/publisher/reference/#hatch.publish.plugin.interface.PublisherInterface

config in pyproject.toml

[tool.hatch.publish.publish_reqstool_zip_artifact]
dependencies = ["reqstool-python-hatch-plugin == <version>"]
# https://luftfartsverket.github.io/reqstool-java-maven-plugin/reqstool-java-maven-plugin/0.0.3/index.html#_configuration
requirementsAnnotationsFile
svcsAnnotationsFile
outputDirectory
datasetPath
failsafeReportsDir/surefireReportsDir

Implement a plugin with corresponding hook configuration

https://github.com/luftfartsverket/reqstool-python-hatch-plugin/blob/main/src/reqstool_python_hatch_plugin/publish_hooks/publish_reqstool_zip_artifact.py

Hook into finalize rather than initialize https://github.com/luftfartsverket/reqstool-python-hatch-plugin/blob/main/src/reqstool_python_hatch_plugin/build_hook/hook.py#L49

PLUGIN_NAME = "publish_reqstool_zip_artifact"

Update docs for publish hook in README and AsciiDoc.

Stub:
import os
import zipfile
from hatchling.publish.plugin.interface import PublisherInterface
from dataclasses import field, dataclass
from typing import List

class ReqstoolZipArtifactPublisher(PublisherInterface):
    PLUGIN_NAME = 'publish_reqstool_zip_artifact'

    def publish(self, artifacts):
        config = self.config

        # Default values for paths

        # Fetch configuration from pyproject.toml or use default values
        requirements_annotations_file = config.get('requirements_annotations_file', "build/reqstool/annotations.yml")
        # ....

        # Define output ZIP file
        zipfile_name = os.path.join(output_directory, 'build_output.zip')

        # Create ZIP file
        with zipfile.ZipFile(zipfile_name, 'w', zipfile.ZIP_DEFLATED) as zipf:
            # Add files to the ZIP archive
            if os.path.exists(requirements_annotations_file):
                zipf.write(requirements_annotations_file, os.path.basename(requirements_annotations_file))

            if os.path.exists(dataset_path):
                for root, _, files in os.walk(dataset_path):
                    for file in files:
                        file_path = os.path.join(root, file)
                        zipf.write(file_path, os.path.relpath(file_path, dataset_path))

            # Include junit report directory
            if os.path.exists(junit_reports_dir):
                for root, _, files in os.walk(junit_reports_dir):
                    for file in files:
                        file_path = os.path.join(root, file)
                        zipf.write(file_path, os.path.relpath(file_path, junit_reports_dir))

        print(f"ZIP file created: {zipfile_name}")
        return artifacts

[tool.hatch.publish.zip_publisher]
requirements_annotations_file = "path/to/requirements.yml"
svcs_annotations_file = "path/to/software_verification_cases.yml"
output_directory = "path/to/output"
dataset_path = "path/to/manual_verification_results.yml"
junit_reports_dir = "path/to/junit-reports"

Some changes will be made due to #13 and the decision with @lfvdavid to create zip in build hook

Check e.g. https://github.com/ofek/hatch-autorun/tree/master on how to write tests

pypi and PEPs only allow for one sdist (tar.gz) so we have to either

make sure that the reqstools files are in the tar.gz sdist file (which they are, but depending on build system; hatchling, poetry etc, the layout may differ. Some sort of fixes reqstool index file pointing out the files is then needed similar to reqstool_config.yml

using a separate package with additional suffix, i.e. mypackage will have sibling package mypackage-reqstool. however, the drawbacks are substantial with this solution:

administration of to pypi projects for each actual projects

how to assure atomic deploys, that both mypackage and sibling mypackage-reqstool are uploaded successfully at the same time

@lfvdavid @lfvkalle I reckon we need to go with option 1

Agree with option 1.
Is it only one file? Had the impression it would be a dir containing the reqstool files.
In any case either 1. or 3.

is simple
is more describing and follows the same format as the reqstool files such as ´software_verification_cases.yml´

So, final solution (which includes breaking changes):

the configuration of the plugin has changed
a reqstool_config.yml is added the sdist (which already includes all the reqstool files)
the sdist is uploaded as usual


get desktop path and script path from shell

make sure script will work when desktop path is changed,
also the user can download the code to any location

Works for me, thanks!


Hiding / suppressing cell output

Hello, thanks for a fantastic development tool! I'm wondering if there's a way to suppress / hide output on a per-cell basis? For example, to avoid unused pragma warnings where the pragmas apply to cells later in the notebook, but I want to declare them in the first cell. Sorry if I missed this in the code or already-solved/-opened issues, but a quick search didn't turn up anything.

Thanks for the kind words! Jupyter notebooks have a way of hiding output on a per-cell basis already, would that meet your requirements?

Thanks for your reply @vaibhavsagar ! I think the output will re-appear as I'm running a script to batch produce HTML from a few notebooks, so I was hoping for a programmatic solution, but it's no big deal if one's unavailable.

I don't think a programmatic solution is available in IHaskell.

No problem, thanks for the info & again, for making working in Haskell in a REPL so much nicer!


TPF viewer: marker/mouseover support

This PR adds full mouseover information and marker plugin support for the TPF viewer.

And to be clear – I have approved so we can merge once we add units or decide to do that later,  fix the time column in the exported marker table, and tests pass.

Added the time unit - good catch.
I'm a bit conflicted on the handling of reference time to get back to JD, etc.  If the x-axes and mouseover show dt, then I think it makes sense for that to be maintained during export.  But maybe we could/should include the reference time in the table as well?  Or maybe we just really need to think about reference time in general and have its behavior configured in a plugin (this is on our roadmap, but we haven't really fleshed out what that would look like yet).  Thoughts?  Maybe we should defer that for now and link back to this discussion for when we take on that effort?