[BUG] Some antd buttons don't export their extended prop types

Describe the bug
The list, show, edit and clone buttons (possibly others) don´t export their extended button props (i.e. ListButtonProps)
To Reproduce
Steps to reproduce the behavior:

Create a project using refine
Try importing ListButtonProps

Expected behavior
It would help a lot to be able to import each of the button props
Desktop (please complete the following information):

OS: arch
Browser: chrome
Version: 96
Used dataProvider: custom

Additional context
I was trying to extend the action buttons to wrap it in a Next.js Link tag and pass the href to the button and turn it into a anchor tag.
If its ok with you guys I will open a PR adding the exports for those buttons

Hey @edusig ,
Thank you! We'll release it today!


Mod resetting & bricking worlds

The mod seems to reset the whole world when being added to an already existing modpack.
Log: https://mclo.gs/GiA98iT
It was confirmed that is create ore excavation because when testing with just that mod removed it works fine.

I have had the same problem, no changes are saved to chunks between resets when this mod is installed.

It's probably a mod compatibility issue with some other mod and Create Ore Excavation. Please try removing every optimization and see if the issue fixes itself. If it isn't add the -Dmixin.debug.verbose=true JVM argument and post your log here.

This issue is still open.
Is this still being actively worked on?
I wouldn't want to add this mod to my existing modpack for the above mentioned reasons.


[BUG] Crash when click the bookmark panel

Bug Description
App crashed when I click the bookmark panel
Steps to Reproduce
Steps to reproduce the behavior:

Go to main page
Click on any bookmark panel
App crash and exit with no error

Expected Behavior
I dont known what will happen if success, always crashed.
Screenshots

Device Information

Brand and Model: Xiaomi 13 with MIUI 14.0.31
Android Version: Android 13
App Version: 1.35

only google play has the latest version, everything is ok when I reinstall from google play.


Brush is hard to see

The brush needs some sort of outline to make it visible on colored segments

White border added to the brush


Add optional flat progress bar themes

I added the theme option above the checkbox panel as a labelled form component, seemed the easiest. Let me know if you'd like it somewhere else.

Closes #59.

Hmm, looks like GitHub CI's JDK 8 is having issues with some syntax. Want me to fix compilation on JDK 8, or can you update it to JDK 11?

That location for the dropdown seems goodto me.
I tried upgrading this repo to JDK 11 about a year ago, and it caused the plugin not to work on Android Studio: https://github.com/kagof/intellij-pokemon-progress/issues/35. Although I'd expect that Android Studio has fixed compatibility now, I'd want to do some testing before releasing something including this upgrade. Would you be able to fix compilation for JDK 8, please?

Seems OK now.


Fixes #5941

simple change: modify the name of the cached property

@bp-kelley : this is a small one, could you please take a look so that I can close out 2022.09.4?


Codeunit 6620 Copy Document Mgt. - procedure CopyPurchDocLine - Event OnAfterInsertToPurchLine

We would like the Parameter/-s IncludeSender added to the following event.
Original:
Codeunit 6620 Copy Document Mgt. - procedure CopyPurchDocLine

OnAfterInsertToPurchLine(ToPurchLine, FromPurchLine, RecalculateLines, DocLineNo, FromPurchDocType, ToPurchHeader, MoveNegLines);

[IntegrationEvent(false, false)]
local procedure OnAfterInsertToPurchLine(var ToPurchLine: Record "Purchase Line"; var FromPurchLine: Record "Purchase Line"; RecalculateLines: Boolean; DocLineNo: Integer; FromPurchDocType: Enum "Purchase Document Type From"; var ToPurchHeader: Record "Purchase Header"; MoveNegLines: Boolean)
begin
end;

Change:
[IntegrationEvent(true, false)] // <-- we need IncludeSender to be set to true to call IsCopyItemTrkg
local procedure OnAfterInsertToPurchLine(var ToPurchLine: Record "Purchase Line"; var FromPurchLine: Record "Purchase Line"; RecalculateLines: Boolean; DocLineNo: Integer; FromPurchDocType: Enum "Purchase Document Type From"; var ToPurchHeader: Record "Purchase Header"; MoveNegLines: Boolean)
begin
end;

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.
Build ID: 10998.


[Don't merge] Reproduce bug #574 in docusaurus-openapi-docs Public

PR with preview for bug 574 in docusaurus-openapi-docs project.
Close when bug is resolved, or if the issue is stale for a long time

Preview is available here:http://developers-pr140.previews.kube001.services.stellar-ops.com

Closing since issue is stale.


Enabled ActiveDOFs in several planners

This commit sets the ActiveDOFs CollisionOption flag in: OMPL, SnapPlanner, VectorFieldPlanner, and GreedyIkPlanner.

I noticed #319 while writing unit tests for CHOMP. If we resolve that issue, then we can also enable PlanToConfigurationTestCollisionTest on CHOMP.

I added a temporary printf in or_fcl's FCLCollisionChecker::SetCollisionOptions method.  Note on my machine that the enum value OpenRAVE::CO_ActiveDOFs has value 0x10 = 16.
CHOMP before/after:
calling planning method ...
...
[orcdchomp_mod.cpp:2875 gettraj] timing trajectory ...
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
[orcdchomp_mod.cpp:2930 gettraj] checking trajectory for collision ...
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

calling planning method ...
...
RECEIVED OPTIONS 16 (env id 3)!
...
[orcdchomp_mod.cpp:2875 gettraj] timing trajectory ...
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
[orcdchomp_mod.cpp:2930 gettraj] checking trajectory for collision ...
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

(I'm not exactly sure what's going on here. During timing trajectory, the module does call OpenRAVE::planningutils::RetimeActiveDOFTrajectory, which I believe sets the CO_ActiveDOFs flag temporarily. But I'm not sure what the last pair calls in both the before and after case are.)
OMPL_RRTConnect before/after:
calling planning method ...
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
[RRTConnect.cpp:185] RRTConnect: Starting planning with 1 states already in datastructure
[RRTConnect.cpp:292] RRTConnect: Created 5 states (3 start + 2 goal)
[SimpleSetup.cpp:129] Solution found in 0.547832 seconds
RECEIVED OPTIONS 0 (env id 3)!

calling planning method ...
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
[RRTConnect.cpp:185] RRTConnect: Starting planning with 1 states already in datastructure
[RRTConnect.cpp:292] RRTConnect: Created 5 states (2 start + 3 goal)
[SimpleSetup.cpp:129] Solution found in 0.877408 seconds
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

(I'm not sure what the first two calls are in both before and after. or_ompl currently sets the CO_ActiveDOFs flag internally, and this PR introduces a second state saver around it, so the output otherwise makes senes.)
Snap before/after:
calling planning method ...
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

calling planning method ...
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

(Not sure about this one either.  Looks like there may be an inner state saver somewhere which enforces the flag to be off, and this PR adds a saver on the outside which turns it on.)
Vectorfield before/after:
calling planning method ...
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

calling planning method ...
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

(Same as Snap.)
GreedyIK before/after:
calling planning method ...
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!

calling planning method ...
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 0 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
RECEIVED OPTIONS 16 (env id 3)!
No handlers could be found for logger "prpy.planning.workspace"
RECEIVED OPTIONS 0 (env id 3)!

(Don't ask me about this one!)

@cdellin and I tracked down most of mystery CollisionOptions calls to GetNonAdjacentLinks. The only ones remaining are the repeated calls in GreedyIk, which likely come from the IK filter.
I am content with merging this pull request once @cdellin signs off on it.

This looks good to me!


Hiding the Y-axis labels causes the X-axis labels to be cut off

How to reproduce?
Use the following for the xaml
<charts:CartesianChart x:Name="DataChart" DisableAnimations="True" DataTooltip="{x:Null}" Zoom="X" Margin="0,10" >
    <charts:CartesianChart.AxisY>
        <charts:Axis MinValue="-2" MaxValue="3" ShowLabels="False" />
    </charts:CartesianChart.AxisY>
</charts:CartesianChart>

See how the x labels are cut off at the bottom
Extra notes
This isn't directly related to the ShowLabels property. If I use a LabelFormatter that returns an empty string, the same thing happens, but if it returns a space, then the issue does not happen.
I am using

Live-Charts version
<IP_ADDRESS>

.Net Version
4.7

Windows
10

I'm facing this problem too. I already tried to change padding/margin, but did not work.


TeachingTip creation error: Cannot find a Resource with the Name/Key TeachingTipBackgroundBrush

Describe the bug
An exception is thrown when trying to create a TeachingTip following the instructions from the documentation.
Steps to reproduce the bug

Create a new UWP C# project, targetting the 19H1 SDK
Install the Microsoft.UI.Xaml package, version v2.1.190405004
Add a button with a teaching tip using the code from https://docs.microsoft.com/en-us/windows/uwp/design/controls-and-patterns/dialogs-and-flyouts/teaching-tip#create-a-teaching-tip I literally copied and pasted this XAML from that page:

<Button x:Name="SaveButton" Content="Save">
    <Button.Resources>
        <controls:TeachingTip x:Name="AutoSaveTip"
            Target="{x:Bind SaveButton}"
            Title="Save automatically"
            Subtitle="When you save your file to OneDrive, we save your changes as you go - so you never have to.">
        </controls:TeachingTip>
    </Button.Resources>
</Button>

Calling this.InitializeComponent() in the contructor of MainPage throws the following error:
Cannot find a Resource with the Name/Key TeachingTipBackgroundBrush
Expected behavior
The TeachingTip should be created without throwing an error.
Screenshots
N/A
Version Info
Observed on Windows 1903, 18362
Package version v2.1.190405004
Target and min SDK version: 1809

I'm able to reproduce that error message, but only if I skip the step in the readme.txt and getting started guide of adding this to app.xaml:
    <Application.Resources>
        <XamlControlsResources xmlns="using:Microsoft.UI.Xaml.Controls"/>
    </Application.Resources>

Can you confirm if this is present or not in your application?
The error message here is certainly not clear enough if this is the error. We'll follow up on that once we confirm that you're unblocked.

Oops looks like my app overrides the application resources later on, so that would definitely explain it, and I forgot that step when creating the minimal repro 🤦♂ Thanks for the help


Added liceonewton.edu.it as school domain

This is our institute website https://www.liceonewton.it

@and29 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


Unable to initialize old Sense HAT after update to 2.3.1

After the update to version 2.3.1 I'm not any more able initialize the library with the old/original/v1 Sense HAT.
It complains that TCS34725 color sensor is not available.
$ uname -a
Linux malina4 5.15.32-v8+ #1538 SMP PREEMPT Thu Mar 31 19:40:39 BST 2022 aarch64 GNU/Linux

$ cat /etc/*release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

$ python3
Python 3.9.2 (default, Feb 28 2021, 17:03:44)
[GCC 10.2.1 20210110] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> from sense_hat import SenseHat
>>> sense = SenseHat()
WARNING:root:Failed to initialise TCS34725 colour sensor. (sensor not present)

$ pip freeze | grep sense
sense-hat==2.3.1

$ tail /var/log/apt/history.log
...
Upgrade: ... python3-sense-hat:arm64 (2.2.0-2, 2.3.1-1) ...
...

It worked properly before the update to version 2.3.1 (from version 2.2.0)
Is there some way how to tell the library to not try to initiate the color sensor?

Hi,
This is just a warning, and not an error - you can still use the library as it was in previous versions
Geraint

Solved by changing the logging level
...
import logging
from sense_hat import SenseHat
logging.getLogger().setLevel(logging.ERROR)
sense = SenseHat()
logging.getLogger().setLevel(logging.WARNING)
...


backbone

Hi,
Have you tried this package, which also implements the network backbone function?
https://github.com/alessandrobessi/disparityfilter
I need to update the package to kill a few bugs, but it should work fine for most cases.
Let me know :-)

Hi Briatte,
Yes, I have used it, in fact! :)
The reason for implementing our own version was that we had to use it on pretty large networks, and since we are not interested in parallel edges, we could use matrix algebra (my guess was that parallel edges, which cannot be represented in an adjacency matrix, is why you used for loops).
I actually compared our implementation to yours for cross-checking (code attached), so please let me know if you expect your bug-fixes to affect the alpha calculation.
Best,
Kasper
# devtools::install_github('kasperwelbers/semnet')
# devtools::install_github('alessandrobessi/disparityfilter')
library(semnet)
library(disparityfilter)

######################## undirected networks. Gives the same results
set.seed(1)
g <- sample_pa(n = 500, m = 5, directed = FALSE)
E(g)$weight <- sample(1:25, ecount(g), replace = TRUE)

## same edges and alpha, though from/to can be switched (undirected network)
disparityfilter::backbone(g)
get.data.frame(semnet::getBackboneNetwork(g, delete.isolates = F))

######################## directed network. Gives the same results
set.seed(1)
g <- sample_pa(n = 500, m = 5, directed = TRUE)
E(g)$weight <- sample(1:25, ecount(g), replace = TRUE)

disparityfilter::backbone(g)
get.data.frame(semnet::getBackboneNetwork(g, delete.isolates = F))

######################### directed network with parallel edges. Does not work with semnet
set.seed(1)
g <- sample_pa(n = 500, m = 5, directed = TRUE, algorithm = 'psumtree-multiple')
E(g)$weight <- sample(1:25, ecount(g), replace = TRUE)

disparityfilter::backbone(g)
get.data.frame(semnet::getBackboneNetwork(g, delete.isolates = F))

Brilliant!
Very glad to hear that you have tried our code with @alessandrobessi.
The bugs in our code return null results in some cases, but do not affect the alpha.
I'll be giving a close look at your code soon to see if your matrix algebra can speed up our own code, which works fine but slowly.
Cheers, – ƒ

Just closing this issue
By the way, have you seen my issue on the disparityfilter github? It provides a vectorized solution for your disparity_filter function that doesn't require matching, which speeds things up massively. Do make sure to use the last solution posted, since FilipeamTeixeira noted a bug due to how the backbone function dealt with duplicates.
Incidentally, the thread also turned out to discuss whether yours and our implementation are correct, which is eventually verified based on the same data as used by Serrano.
Cheers


launcher-static.yml not being updated

While trying to run our ETE tests, if our commit hash changes, the launcher-static.yml isn't updated. This causes our ETE tests to fail because the tgz has the new jars but the launcher-static.yml is referencing the old ones.
@hsaraogi @jeremyk-91

Can you confirm this behaviour on the latest release (1.1.0), please?

Whoops, I read our version as 1.1.0 but we're only on 1.0.1. I'll upgrade and see if it fixes the problem.

Actually, looks like the only update was adding environment variables. Chances are this is an issue still.

Ben, can you provide a repro for this? Not sure where to look otherwise.

Will do once we figure out how to repro it :)

I think it may be worth blacklisting 1.1.0 and 1.0.1 too because there is a reliable repro to make gradle java distribution produce non-functional tars.
We upgraded to gradle java-distribution 1.1.0 yesterday and this bug broke our release.
Repro:

Using gradle 3.2, with a daemon running happily
Checkout my-project at tag 0.3.0 (which uses gradle-java-distribution 1.1.0)
run git clean -xdf
run ./gradlew distTar. Observe that the launcher-static.yml and launcher-check.yml contain the correct 0.3.0
run git tag 0.3.1
run ./gradlew distTar

Expected:
The resultant dist should contain a launcher-static.yml and launcher-check.yml that both reference my-project-0.3.1 in their classpath argument.  ./service/bin/init.sh should start up the service correctly.
Actual:
The launcher-static.yml and launcher-check.yml files reference the missing jar my-project-0.3.0 in their classpath argument.  The plugin then produces a broken tar, ./service/bin/init.sh will fail with the message:
Error: Could not find or load main class com.palantir.myproject.MyProjectApplication

Explanation
I strongly suspect that this is caused by https://github.com/palantir/gradle-java-distribution/pull/138, which enables incremental behaviour for tasks.  Specifically, the LaunchConfigTask does not declare the classpath as an @Input.
cc @a-k-g

Thanks for this great investigation @iamdanfox !

@iamdanfox can you please try 1.2.0-rc4 an report back if this fixes your problem? https://github.com/palantir/gradle-java-distribution/releases/tag/1.2.0-rc4 ?

Confirmed with @iamdanfox that this issue is fixed.


Progressively fetch package.json

Currently we traverse all packages, so we get some that might never be used.  We should be able to get them in normalize when they are dependency of a parent package.

Definitely should be fixed. A quck tour example bunles 817 lines of package information, most of which is not used. (Actually only 2 packages are used, the main.js code and jquery)

Here is the code, that according to a source map is built into a production build file for a single dep (jqeury) example on quick start tour: https://gist.github.com/olegstepura/140822352763d1c5a603

:+1: Even in smaller projects with three or four dependencies you might end up making 150+ requests to package.json (see http://bitovi-components.github.io/bit-c3/bit-c3/examples/bit-c3.html).

@olegstepura You can use npmIgnore until we get this solved.
If anyone wants a crack at solving this, their are two problems to address:

Making builds work.
Keeping extensions like .stache working.

Making builds work
The core problem is that we need load records/nodes to track every module that is loaded.  We don't treat each package.json as an individual file.  Instead, we load them all and combine all their information into a single output of package.json!npm.  We do that here.  This looks like what @olegstepura pasted above.
This works great for the build because it simply writes out package.json!npm's output (which is the combination of all package.jsons).
To fix this, we'd need to be able to dynamically update package.json!npm as more and more packages are progressively loaded.  As we get the load record of package.json, it might be possible to just update it's .source every time we load a new package.
Hopefully the build picks up on this.  If not, it's likely because .source isn't intended to be modified after instantiate.   If that's the case, we'll have to make some side-table that includes all the sources and progressively modify the source there.  And also make the build use that side table.
Making extensions like .stache work.
I think it's important to be able to say:
require("foo.stache!");

Without any configuration.  But for this to happen, we have to at least load all the 1st level package.jsons prior to importing the main module.

@justinbmeyer With system-trace we now keep each module's load object and you can modify it with
System.getModuleLoad("package.json!npm").source = "new source";

This should be the same object retained by the build.

Would you be amenable to storing the full package.json Object for the top level modules under System.npm, as opposed to the current stub?  We end up re-fetching the top level package.json files to get pertinent information in our app.

@blink1073 this is a related, but different issue.  Can you create another issue and we will discuss it there?  Thanks!

What so difficult with it? Probably that effects loading time much.

I have this partially working in a branch, including overwriting the package.json!npm source as packages are progressively loaded.
Current issue is with config. For example canjs has a config like:
"map": {
  "jquery/jquery": "jquery"
}

Which we convert to:
"map": {
<EMAIL_ADDRESS><EMAIL_ADDRESS>}

This won't work when progressively fetching because we don't have jquery's package.json and so can't convert it.
What I'd like to do instead is when we encounter a package dependency that we cannot convert we store that into a side-table. When jquery's package.json is later loaded in normalize we then convert and apply the config.
Note that we'll need to reapply the package.json!npm source at that time as well.

we don't have jquery's package.json and so can't convert it.

Currently, this conversion happens after all package.json's have been loaded?

Yes.

This has been merged, will land in Steal 0.14

@matthewp cool


Add population data missing for localities in Province 3

Our data set for population is missing data for three localities in Province 3. The data are available in our "Federal Data" in https://github.com/Code4Nepal/data/.
See this comment for a link to a Jupyter notebook created by @amitness . You may be able to adapt it for your work.
Add the data to the population.sql file.  Please put the data in a logical place -- so that all data for the same district are in rows next to each other. That will make it easier to review in the future.

When you add them, you will add one row for female population and another row for male population. See the current file for examples.
You will need to update the totals for the districts for each of these localities to include these additional data.
You will need to update the totals for Province 3 to include these additional data.
You will need to update the totals for Nepal to include these additional data.

Here are the localities whose data are currently missing.

geo_level
geo_code
name
parent_name
parent_level
parent_code

local
30013
Tripura Sundari
Dhading
district
17

local
25004
Lalitpur
Lalitpur
district
38

local
28012
Tarkeshwar
Nuwakot
district
48

"Tripura Sundari" in Dhadhing district is "Tripurasundari Gaunpalika" in the federal population data: https://github.com/Code4Nepal/data/blob/master/Federal Data/753 Local Unit Population and HouseHold/PRADESH 3/Dhading/Tripurasundari Gaunpalika.csv
"Lalitpur" in "Lalitpur" is "Lalitpur Metropolitian City" in the federal population data: https://github.com/Code4Nepal/data/blob/master/Federal Data/753 Local Unit Population and HouseHold/PRADESH 3/Lalitpur/Lalitpur Metropolitian City.csv
"Tarkeshwar" in "Nuwakot" is "Tarakeshwor Gaunpalika" in the federal population data: https://github.com/Code4Nepal/data/blob/master/Federal Data/753 Local Unit Population and HouseHold/PRADESH 3/Nuwakot/Tarakeshwor Gaunpalika.csv

Completed with #41


DeviceInformation::FindAddAsync returns empty collection when specifying a usb device.

Describe the bug
DeviceInformation::FindAddAsync returns empty collection when specifying a usb device.
https://github.com/microsoft/cppwinrt/issues/1420
Steps to reproduce the bug
auto devices = DeviceInformation::FindAllAsync(
    DeviceClass::VideoCapture
).get();
for (auto&& dev : devices) {
    fmt::println(stderr, L"{}", dev.Properties()
                                          .TryLookup(L"System.Devices.DeviceInstanceId")
                                          .try_as<winrt::hstring>()
                                          .value_or(L"None")
                                          .c_str());
}
fmt::println(stderr, "{}", devices.Size());

output:

auto devices = DeviceInformation::FindAllAsync(
    UsbDevice::GetDeviceSelector(0x0603, 0x8612)
).get();
for (auto&& dev : devices) {
    fmt::println(stderr, L"{}", dev.Properties()
                                          .TryLookup(L"System.Devices.DeviceInstanceId")
                                          .try_as<winrt::hstring>()
                                          .value_or(L"None")
                                          .c_str());
}
fmt::println(stderr, "{}", devices.Size());

gets a empty collection

The problem here is that the Windows.Devices.Usb documentation states that it doesn't provide access to some USB devices. In particular, it states that this namespace is for WinUSB devices only. Have you verified that the device you are trying to access is WinUSB compatible?
To give an example, my system does have a WinUSB compatible device.

#include <Windows.h>

#include <string>
#include <format>

#include <winrt/Windows.Foundation.h>
#include <winrt/Windows.Foundation.Collections.h>
#include <winrt/Windows.Devices.h>
#include <winrt/Windows.Devices.Enumeration.h>
#include <winrt/Windows.Devices.Usb.h>

int wmain()
{
	auto devices = winrt::Windows::Devices::Enumeration::DeviceInformation::FindAllAsync(
		winrt::Windows::Devices::Usb::UsbDevice::GetDeviceSelector(0x1e71, 0x300c)
	).get();

	for (auto device : devices)
	{
		auto fmt_string = std::format(L"{}", std::wstring_view(device.Id()));
		_putws(fmt_string.c_str());
	}

	return 0;
}

This gave me the following output:
\\?\USB#VID_1E71&PID_300C&MI_00#9&fbe3bfd&0&0000#{dee824ef-729b-4a0e-9c14-b7117d33a817}
So it works fine for me on my system when the device is properly declared as a WinUSB device.

As a follow up to this, I did get an opportunity to try this out with a video capture USB device.

The code used was the same as above, except it had the VID changed to 0x07ca and PID changed to 0xd553 to reflect the device. As you can see, it successfully obtained an instance of the DeviceInformation. So again, can you confirm that the device is a WinUSB device?

As a follow up to this, I did get an opportunity to try this out with a video capture USB device.

The code used was the same as above, except it had the VID changed to 0x07ca and PID changed to 0xd553 to reflect the device. As you can see, it successfully obtained an instance of the DeviceInformation. So again, can you confirm that the device is a WinUSB device?

I observed that my usb capture uses the usbccgp.sys driver instead of the winusb.sys driver, is this technically considered a winusb device?

I observed that my usb capture uses the usbccgp.sys driver instead of the winusb.sys driver, is this technically considered a winusb device?

No.

While usbccgp is in the driver stack for a WinUSB device, as clearly documented by the Windows.Devices.Usb Namespace documentation, a WinUSB device will have a very specific compatible ID. If the device does not have the USB\MS_COMP_WINUSB compatible ID then it is not a valid WinUSB device.
This information can be easily obtained from device manager.


[BUG] Excel file lost shape after open by Exceljs

🐛 Bug Report

Lib version: 3.8.0
Steps To Reproduce
I only open file from buffer and write to a new file but the output file lost the shape.
Please take a look !
const ExcelJS = require("exceljs");
// const excelFile = fs.readFileSync(filePath); // buffer
async function readByExcelJs(excelFile) {
  const workbook = await new ExcelJS.Workbook().xlsx.load(excelFile); // load from buffer
  await workbook.xlsx.writeFile(`result.xlsx`); // write file
  return result;
}

input
Book1.xlsx

output

6e1522c0-cfc5-4f6a-8d5b-3280e2aa73cd.xlsx

The problem also happens with Text Box. The output file doesn't contain text box.
The expected behaviour:
Output file should have shape, text box

it does not support

Vấn đề này a đã giải quyết bằng ExcelJS đc chưa? Em củng đang gặp trường hợp tương tự

https://github.com/exceljs/exceljs/pull/2077
This PR opened by DantSu seems to resolve the issue

It appears that there was also an issue with text boxes, and PR #2601 addressed and fixed it. However, it has been six months, and the PR has not yet been merged.


Merge to live 2022-06-02

Docs Build status updates of commit c9d1513:
:warning: Validation status: warnings

File
Status
Preview URL
Details

docs-ref-autogen/toc.yml
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/latest/arm-appcontainers-readme.md
:warning:Warning
View (azure-node-latest)
Details

docs-ref-services/preview/arm-appinsights-readme.md
:warning:Warning
View (azure-node-preview)
Details

docs-ref-services/latest/arm-orbital-readme.md
:bulb:Suggestion
View (azure-node-latest)
Details

ci-configs/packages-latest.json
:white_check_mark:Succeeded

ci-configs/packages-preview.json
:white_check_mark:Succeeded

ci-configs/packages-preview.json.log
:white_check_mark:Succeeded

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

<EMAIL_ADDRESS>:white_check_mark:Succeeded
View (azure-node-latest)

This comment lists only the first 25 files in the pull request.

docs-ref-autogen/toc.yml

Line 65535, Column 12: [Warning: xref-not-found] Cross reference not found: 'microsoft-cognitiveservices-speech-sdk.request'.
Line 65535, Column 12: [Warning: xref-not-found] Cross reference not found<EMAIL_ADDRESS>

docs-ref-services/latest/arm-appcontainers-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'appcontainers'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

docs-ref-services/preview/arm-appinsights-readme.md

Line 9, Column 13: [Warning: ms-service-subservice-invalid - See documentation] Invalid value for 'ms.service': 'applicationinsights'.
Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.
Line 20, Column 1: [Suggestion: preserve-view-not-set - See documentation] Did you mean to link to a specific version? It's usually better not to specify a version, so the link always goes to the canonical version. If you really need to link to a specific version, add &preserve-view=true to the URL: /javascript/api/@azure/arm-appinsights?view=azure-node-preview. Otherwise, remove the view parameter.

docs-ref-services/latest/arm-orbital-readme.md

Line 2, Column 1: [Suggestion: description-missing - See documentation] Missing required attribute: 'description'.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Request Throttling?

Does the Lib implement request throttling based on the user's key by default?

Not yet, only throttle at the moment is in the RpcClient which means that it works good with just one instance.
I'll be implementing a second throttle in the Hasher today and also look at support for multiple keys, will get that all done today.

Implemented.


Hi from Jellyfin!

Hey there, I'm one of the project leads from Jellyfin. This looks great, and as an iOS user, I'm so happy to see it out there.
I'll give it a shot with some testing soon, but if it looks good, I'll talk to the team about how we can help with any promotion, building/maintenance, or even getting it out to the store.

Ideally I’d prefer it just be one app for all of jellyfin’s features. If this ends up needing to be a separate app (even if it’s just a stepping stone while we wait for the main app to get support) I like the name “Jellyfin Music” as it is in line with Apple Music, YouTube Music, and Amazon Music.

@drazil100 We're all for options (I mean, just look at all the apps Plex had these days 😂).
The idea is indeed to have one main app going forward, but that's a long road in our type of volunteer based open source. Until then, we're happy to help anywhere in the community.

Yeah I am totally for a music only app. Could even potentially include features the normal jellyfin app and jellyfin web would not support/need like the ability to not only download an offline library but ability to keep it up to date with changes to the online copy. Also maybe the ability to do gapless playback so the next song starts loading before the previous song ends. There are a lot of good reasons to have a dedicated app.

I think there are good reasons for having separate apps since the use cases are somewhat different for video vs audio. This is the whole reason I built this app: the web app works perfectly for whenever I need to watch something, but background audio is a major requirement when I'm listening on the go or playing stuff on my home soundsystem.
These could be unified in a single app, but this also puts a lot of weight on this app. It is no suprise that for iOS, Apple decided to separate these functionalities into a Music and TV app, even treating podcasts differently from music.

@anthonylavado @drazil100 Thank you for the support by the way! I'm happy to build out a product for this niche, and if it helps the ecosystem, I'm glad to help out as well.

I'm just happy to see this niche get some attention. I actually first installed jellyfin to try it out on my music library. I ended up ripping all my movies later but I still have a need for a solution I can use to replace both iTunes and google play music. Running Linux I don't really have the option to install iTunes and google play music is at its best extremely buggy and going to be shut down in favor of youtube music (whenever google gets around to it). I needed SOMETHING to replace these things and now that ALL of my media is on jellyfin getting jellyfin up to spec for music is my best option. As product primarily centered around video I didn't think anyone was ever going to get around to music though. Thank you very much! :)

I have to agree with a separate music app, usually when I want to play something on the go, I wanna flick on an app, have it launch straight into the music, have it all feel smooth and native. Something I hated about plex was that to get to my downloaded music, I had to open the app, wait for it to fail to connect, and then I could see my downloaded music.
Some things like books/audiobooks/comics, and music, just need their own native apps dedicated to them.
Hope we can get this onto the app store, and some download support to make it perfect!

Hi guys! Just wanted to pop in and mention that the application has just hit TestFlight, if any of you wanna have a go and try it out: https://testflight.apple.com/join/cf2AMDpx.


In UI use "Staff" (no s)

Staff is a mass noun.  In the UI write "Staff" instead of "Staffs".
Staff refers to your entire staff (all employees).

We fixed it. Thanks for your observation.


Can't add options to dropdown programatically?

Hi, I tried using the latest version of bootstrap-select and then using Javascript to add an option:
$("select#TestDropdown").append('Testing 123');
The codepen example can be seen here:   http://codepen.io/vurso/pen/qbjWKz
Is there some kind of conflict going on or any reason why the latest version does this? I have been trying older version and getting the same problem.

Actually resolved this, had to make sure the right bootstrap javascript file was included.


unchained-client: Flatten exports from CAIP packages

Overview
Use flattened exports from the outcome of https://github.com/shapeshift/lib/issues/548
References and additional details
Like https://github.com/shapeshift/web/pull/1591, but for unchained-client
Acceptance Criteria
Functions like toCAIP19 or fromCAIP19 are imported directly from the CAIP packages.
Need By Date
No response
Screenshots/Mockups
No response
Estimated effort
No response

https://github.com/shapeshift/lib/pull/606


Window API

Currently the windowing API is half-baked, and it's not possible to get access to all of the functionality that a glium::Display actually offers and that a user might need.
We should probably avoid giving the user direct access to the  Display in the regular case in order to avoid allowing display.draw to be called outside of the nannou application's draw function call. Instead, we'd probably do best to offer some sort of Window wrapper type that restricted access to certain methods. This might be a pain to keep up to date, but at least we can keep better control over the API that we're offering.
That said, for flexibility we should at least offer a method for gaining access to the underlying glium display. Something that is verbose but well documented, and mentions that it should  be avoided unless  the user needs access to the underlying display for some sort of functionality that nannou does not provide. Maybe  window.inner_glium_display() or something like this.
Accessing a Window
I think it might make most sense to continue to refer to Window's via a unique ID. The reason I'm leaning towrads Ids rather than a direct handle is that a user's window may be closed at any point in time and the API should reflect this. A user probably should not be able to hold a handle to a Window if the window has been previously closed. In the case that we need to access a window directly for some sort of functionality, I imagine something like the following allowing to borrow the window for the given ID:
let window = app.window(model.window_id).unwrap();

We return an Option here as the window at the given Id may or may not be open.
Window methods
The window should expose the useful methods from the inner glium::Display, glium::Context and glutin::GlWindow. The following methods  should probably not be exposed  by the window to avoid breaking the App API:

Display::draw
Context::exec_in_context
Context::swap_buffers
Context::finish
Context::flush
glutin::Context::make_current

This should probably be implemented before #30 as the GUI stuff will rely on the windowing API in some places.


Trouble with hidden elements updating in subforms

Version

tcomb-form v0.8.2
react v0.14.8

Expected behaviour
Should updated the subform when the Redux store values are programatically updated i.e. not via onChange interactions.
Actual behaviour
Instead it only updates the subform value="" if another visible element on the subform is updated. Otherwise it seems to remain unchanged. This causes a validation error as the field is required and the form to not submit with no error message.
Steps to reproduce

Update required element value of subform in Redux store which is passed to the form as this.props.form.values
Submit form. Validation fails silently.
Change a visible element of the subform.
Submit form. Success?!

Stack trace and console log
I hacked the tcomb-forms Component class and put log messages in to see what is being called when. For some reason as soon as the hidden element is updated the subform values immediately get the value and no re-render is triggered?
Here is my code:
// The subform struct...
const Variation = t.struct({
  name: t.maybe(t.String),
  file: Positive, // same as from the tcomb-form docs.
  preview: Positive, // file id. Set after dropzone finished uploading and we get an ID back from the server.
  // Variation specific stuff
  tempo: Positive,   // an optional number
  // ..
});

class TrackCreateForm extends React.Component {

  static propTypes = {
    formId: React.PropTypes.string.isRequired,
    fileId: React.PropTypes.number.isRequired,  // ID on the server.
    previewId: React.PropTypes.number // preview ID on server once uploaded.
  }

  // Form configuration
  static options = {
      // ...
    },
    fields: {
      variation_set: {  // sub form
        legend: Details,
        fields: {
          name: { type: 'hidden' },
          file: { type: 'hidden' },
          preview: { type: 'hidden' },   // This is the hidden field we're updating after the upload to server finishes
           // ...
        }
      },
      // tags: {  // easier to do this in python
      //   transformer: tagsListTransformer
      // }
    }
  }
  // These are for testing. Remove when going live.
  static initValues = {
    variation_set: {
      name: "Main",
      // preview: null,  // wether this has an inital value or not doesn't matter?
      vocals: "NONE",
      is_primary: true
    }
  }

  componentWillMount() {
    // Initial values for testing...
    let { taxonomys, onNewForm, formId, fileId } = this.props;
    let { type, tagsOptions } = this.getForm();
    this.props.onNewForm(  // form created in redux
      formId,
      type,
      mergeDeep(Object.assign({}, TrackCreateForm.options), {fields: {tags: tagsOptions}}),
      mergeDeep(Object.assign({}, TrackCreateForm.initValues), {variation_set: { file: fileId }})
    );
  }

  componentWillReceiveProps(nextProps) {
    if (this.props.previewId == undefined && nextProps.previewId) {
      // preview file finished uploading.
      this.updateForm({ variation_set: { preview: nextProps.previewId } });  // this is where redux is updated
    }
  }

  onSubmit(evt) {
    evt.preventDefault();
    let values = this.refs.form.getValue();
    if (values) {
      // ... etc
    }
    else {
      console.log("Validation error(s):",this.refs.form.validate());
    }
  }

  getTaxonomyForms() {
    // Build set of taxonomys multi-select list inputs. Having issues this this not validating but another ticket
    // ...
  }

  getForm() {
    let {taxonomyForm, tagsOptions} = this.getTaxonomyForms();

    let type = t.struct({
      title: t.String,
      variation_set: Variation, // the subform with problems
      tags: taxonomyForm
    });

    return {type, tagsOptions}
  }

  updateForm(newValues = {}) {
    let { type, tagsOptions } = this.getForm();
    this.props.onUpdateFormOptions(
      this.props.formId,
      type,
      {fields: {tags: tagsOptions}},
      newValues
    );
  }

  onChange(value, path) {
    // Make this a controlled component
    this.refs.form.getComponent(path).validate()
    this.updateForm(value);
    this.forceUpdate(); // fool the default shouldComponentUpdate. Does SFA.
  }

  render() {
    let { form, previewId, formId } = this.props;
    console.log(form);  // debug
    if(form && form.type) {
      console.log("Rendering form, \w previewId:", form.values.variation_set.preview);  // check we're getting the values, and we are.
      let button = (form.values.variation_set.preview)
        ? <Button type="submit" bsStyle="primary" bsSize="large" active >Save!</Button>
        : <Button type="submit" bsStyle="primary" bsSize="large" disabled >Upload a preview file </Button>
      ;
      return (

          <form onSubmit={this.onSubmit.bind(this)} id={formId}>
            <t.form.Form ref="form"
              type={form.type}
              options={form.options}
              value={form.values}  // striaght out-a-redux
              onChange={this.onChange.bind(this)}  // Make this a controlled component
            />

* = required field

            {button}
          </form>

      )
    }
    else {
      return
loading...
;
    }
  }
}

Hi @awhillas,
That's a lot of code, could you please provide a minimal example reproducing the issue?

Sorry, have cleaned it up a bit. Only the getForm and updateForm are non-standard React stuff and they are fairly straight forward.
I can't see how the values for subforms, Structs, are checked. In your code, as far as i can tell, you are just comparing one deeply nested object to another directly with !== in Component.prototype.shouldComponentUpdate? Somehow, when every i update the redux store your subcomponents seem to already have the new values and thus it doesn't trigger a re-render?

In your code, as far as i can tell, you are just comparing one deeply nested object to another directly with !== in Component.prototype.shouldComponentUpdate?

Correct.

Somehow, when every i update the redux store your subcomponents seem to already have the new values and thus it doesn't trigger a re-render?

Yes, every component keeps a copy of the new value in its state, if the value passed in to the value prop is not changed (=== check) then it won't re-render. Make sure that if you override the value also the reference is changed.

Your aware that comparing deeply nested objects in Javascript fails if they are not the same object in memory, right? From the console.logs i'm doing it doesn't appear that the sub-Structs are recursively checking each of their sub components when they get a change all the time? At least this is the behaviour I'm seeing. I can't see you've tested this ether?
Their seems to also be a difference in what the local this.state has and what is actually rendered to HTML, the problem being that the HTML is used for validation not the store value. Am i reading this right?

Your aware that comparing deeply nested objects in Javascript fails if they are not the same object in memory, right?

Yes, that's the reason why I say that if you pass a value that doesn't originate from onChange interactions and you want to force a re-rendering you have to make sure that the references are changed (as it happens using immutable structures). Since you are using redux I assume that is what's going on in your code. Or you are using mutable structures?

Yeah, my reducers always return new versions of the store if there is a change. I'm not using Immutable.js but I'll have a look at it. here's my update reducer (i'm trying to create a generic forms handing store):
export const aFormReducer = (state, action) => {
  // console.log(state, action);
  if (action.meta.id !== state.id)
    return state  // wrong form

  switch (action.type) {
   // ...
    case acts.UPDATE:
      let { form, options, values } = action.payload;
      return {
        id: state.id,
        form: (form) ? form: state.form,
        options: mergeDeep(Object.assign({}, state.options), options),
        values: mergeDeep(Object.assign({}, state.values), values)
      };

    default:
      return state
  }
}

export const forms = (state = initialState, action) => {
  switch (action.type) {

    case acts.NEW:
      // Append new form to list. Payload should just be the tcomb-form options.
      return [...state, action.payload];

    case acts.POST_REQUEST:
    case acts.POST_FAILURE:
    case acts.UPDATE:
      return state.map((aForm) => aFormReducer(aForm, action));

    case acts.POST_SUCCESS:
      // kill the form since we don't need it anymore.
      return state.filter(form => form.id !== action.meta.id)

    default:
      return state;
  }
}

export default forms

basically action.payload always has the new state and this is my mergeDeep code (which i nick'd from somewhere on stackoverflow):
/**
 * Simple is object check.
 * @param item
 * @returns {boolean}
 */
export function isObject(item) {
  return (item && typeof item === 'object' && !Array.isArray(item) && item !== null);
}

/**
 * Deep merge two objects.
 * @param target
 * @param source
 */
export default function mergeDeep(target, source) {
  if (isObject(target) && isObject(source)) {
    Object.keys(source).forEach(key => {
      if (isObject(source[key])) {
        if (!target[key]) Object.assign(target, { [key]: {} });
        mergeDeep(target[key], source[key]);
      } else {
        Object.assign(target, { [key]: source[key] });
      }
    });
  }
  return target;
}

but i always pass it a clone of the data via Object.assign({}, ...)

The problem seems your mergeDeep function:
var sub = {
  b: 'b'
}
var target = {
  a: 'a',
  sub: sub // <= simulating a sub form
}
var source = {
  sub: {
    b: 'c'
  }
}
mergeDeep(Object.assign({}, target), source)
console.log(target.sub === sub) // true, this is supposed to be false

Yep. Looks like that was it. Of course the only piece of code i didn't write tests for. Sorry for hassling you with this. Here is the revised function incase anyone is interested:
export default function mergeDeep(target, source) {
  let output = Object.assign({}, target);
  if (isObject(target) && isObject(source)) {
    Object.keys(source).forEach(key => {
      if (isObject(source[key])) {
        if (!target[key]) Object.assign(output, { [key]: {} });
        output[key] = mergeDeep(target[key], source[key]);
      } else {
        Object.assign(output, { [key]: source[key] });
      }
    });
  }
  return output;
}


Validation check prevents snapshotting entire pools

If I try to take a snapshot of a pool, e.g.
let engine = DelegatingZfsEngine::new().unwrap();
engine.snapshot(&[PathBuf::from("tank@snap")]);

then I would get an error such as this: ValidationErrors([MissingPool("tank@snap")]) due to the following check:
https://github.com/Inner-Heaven/libzetta-rs/blob/708bfd65d640a1e1aa104c7d9f78567636679494/src/zfs/mod.rs#L316
dataset.components().count() will be 1.
I think snapshotting an entire pool is a perfectly reasonable action, but at the very least I believe this warrants a separate error besides MissingPool when the pool is supplied.
Removing the second half of that check allows me to snapshot the pool successfully

@s-burris TIL: I wasn't aware that you can do that until now. If it's just || dataset.components().count() < 2 that causes the issue, then we can remove it.


[Request] More Port/Application Info

Is there an existing issue for this?

[X] I have searched the existing issues.

Describe the solution you'd like
The below provide a lot of info on what application/protocol uses each port.
There is some overlap but, each provides some different info.
/etc/services
https://svn.nmap.org/nmap/nmap-services
https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml
Is your feature request related to a problem?
At the moment there are a lot of ports that are not displaying any info against or appearing in the application panel.

So, basically you want to be able to categorise what is currently labelled as "Other", right?

Yes to minimize other as much as possible and to move it into defined categories.
The three examples above are in very similar, if not the same format and could be periodically downloaded and saved in a text or other file.
The first example is already saved on the Linux os and could be filtered to find the right port. The other two could be added to it periodically to improve results

Following your suggestion, I decided to use Nmap services list to add traffic detection for more than 6000 services in #450


Flutter web syntax highlighting

Hello, is there syntax highlighting in flutter web? I want to color my codes displayed on a text.

Please check pub for third party libraries. It is not built into the framework.


💅 False positive for Bun's util import at lint/style/useNodejsImportProtocol

Environment information
CLI:
  Version:                      1.6.4
  Color support:                true

Platform:
  CPU Architecture:             x86_64
  OS:                           windows

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v20.11.1"
  JS_RUNTIME_NAME:              "node" <-- actually it should be "bun"
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       Loaded successfully
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 false

Linter:
  Recommended:                  true
  All:                          false
  Rules:

Rule name
lint/style/useNodejsImportProtocol
Playground link
https://biomejs.dev/playground/?code=LwAvACAAaAB0AHQAcABzADoALwAvAGIAdQBuAC4AcwBoAC8AZwB1AGkAZABlAHMALwBwAHIAbwBjAGUAcwBzAC8AYQByAGcAdgAKAGkAbQBwAG8AcgB0ACAAewAgAHAAYQByAHMAZQBBAHIAZwBzACAAfQAgAGYAcgBvAG0AIAAiAHUAdABpAGwAIgA7AA%3D%3D
Expected result
Leave "util" import as-is.
Code of Conduct

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

Have you a reference to Bun docs for this module? Is this a valid bun import? Is bun:util valid?

Nevermind, node:util works with Bun (I guess it's polyfilled), so it doesn't matter which import to use.

I think that util and node:util are the same. Bun supports both bare node builtins and node: prefixed builktins.


Allow use of offline dictionaries or APIs for prepopulation such as Freedict

Is your feature request related to a problem? Please describe.
I'm coming from trying out LWT which seems like it's not under active development and a bit dated at this point. I didn't like that to add terms, it basically created a popup to a dictionary and you'd have to manually enter the translation.
Describe the solution you'd like
Freedict (https://freedict.org/downloads/) has a number of free offline dictionaries that could be used for prepopulation if there is an issue finding a free dictionary API (maybe there is one, I don't know).
Describe alternatives you've considered
Typing everything in manually becomes cumbersome. I could cobble together my vocab plus some A1+A2 basic word lists for import via CSV but it would take a long time and is overwhelming.

Thanks @stereotypy .  This feels like a dup of #228, I'll copy the description above over there.  Cheers!


Problem with ion-select and Alert in the same page

Short description of the problem:
It doesn't work if you have a ion-select in page and show Alert or Toast in the same page.
You can tap the ion-select which shows an alert first and it works fine, then let something show another alert or toast, after closing that, if you tap the first ion-select again, you can't use that ion-select component any more.
What behavior are you expecting?
Hope any alert or toast works well with an ion-select in the same page.
Steps to reproduce:

Open a ion-select, select something in it and close it.
Show a Loading, close it after some time.
Open another Alert or Toast, and close it.
Tap the ion-select, something strange will happen.

Which Ionic Version? 1.x or 2.x
2.0.0-rc.4
Run ionic info from terminal/cmd prompt: (paste output below)
ViewWrappedException {_wrapperMessage: "Error in ./AppRoot class AppRoot_Host - inline template:0:0", _originalException: ExpressionChangedAfterItHasBeenCheckedException, _originalStack: "Error: Expression has changed after it was checked…//localhost:8100/build/js/app.bundle.js:27364:42)", _context: DebugContext, _wrapperStack: "Error: Error in ./AppRoot class AppRoot_Host - inl…e (http://localhost:8100/build/js/zone.js:323:29)"}_context: DebugContext_nodeIndex: 0_staticNodeInfo: (...)_tplCol: 0_tplRow: 0_view: _View_AppRoot_Host0component: (...)componentRenderElement: (...)context: (...)injector: (...)providerTokens: (...)references: (...)renderNode: (...)source: (...)__proto__: Object_originalException: ExpressionChangedAfterItHasBeenCheckedExceptionmessage: "Expression has changed after it was checked. Previous value: 'false'. Current value: 'true'"stack: "Error: Expression has changed after it was checked. Previous value: 'false'. Current value: 'true'
at ExpressionChangedAfterItHasBeenCheckedException.BaseException [as constructor] (http://localhost:8100/build/js/app.bundle.js:3537:23)
 at new ExpressionChangedAfterItHasBeenCheckedException (http://localhost:8100/build/js/app.bundle.js:32890:16)
 at checkBinding (http://localhost:8100/build/js/app.bundle.js:34043:19)
at DebugAppView._View_AppRoot_Host0.detectChangesInternal (AppRoot.template.js:33:7)
    at DebugAppView.AppView.detectChanges (http://localhost:8100/build/js/app.bundle.js:33419:14)
    at DebugAppView.detectChanges (http://localhost:8100/build/js/app.bundle.js:33524:44)
    at ViewRef_.checkNoChanges (http://localhost:8100/build/js/app.bundle.js:33877:66)
    at http://localhost:8100/build/js/app.bundle.js:27364:88
    at Array.forEach (native)
    at ApplicationRef_.tick (http://localhost:8100/build/js/app.bundle.js:27364:42)"__proto__: BaseException_originalStack: "Error: Expression has changed after it was checked. Previous value: 'false'. Current value: 'true'
    at ExpressionChangedAfterItHasBeenCheckedException.BaseException [as constructor] (http://localhost:8100/build/js/app.bundle.js:3537:23)
    at new ExpressionChangedAfterItHasBeenCheckedException (http://localhost:8100/build/js/app.bundle.js:32890:16)
    at checkBinding (http://localhost:8100/build/js/app.bundle.js:34043:19)
    at DebugAppView._View_AppRoot_Host0.detectChangesInternal (AppRoot.template.js:33:7)
    at DebugAppView.AppView.detectChanges (http://localhost:8100/build/js/app.bundle.js:33419:14)    at DebugAppView.detectChanges (http://localhost:8100/build/js/app.bundle.js:33524:44)
    at ViewRef_.checkNoChanges (http://localhost:8100/build/js/app.bundle.js:33877:66)
    at http://localhost:8100/build/js/app.bundle.js:27364:88
    at Array.forEach (native)↵    at ApplicationRef_.tick (http://localhost:8100/build/js/app.bundle.js:27364:42)"_wrapperMessage: "Error in ./AppRoot class AppRoot_Host - inline template:0:0"_wrapperStack: "Error: Error in ./AppRoot class AppRoot_Host - inline template:0:0
    at ViewWrappedException.WrappedException [as constructor] (http://localhost:8100/build/js/app.bundle.js:3555:31)
    at new ViewWrappedException (http://localhost:8100/build/js/app.bundle.js:32906:16)
    at DebugAppView._rethrowWithContext (http://localhost:8100/build/js/app.bundle.js:33541:23)
    at DebugAppView.detectChanges (http://localhost:8100/build/js/app.bundle.js:33527:18)
    at ViewRef_.checkNoChanges (http://localhost:8100/build/js/app.bundle.js:33877:66)
    at http://localhost:8100/build/js/app.bundle.js:27364:88
    at Array.forEach (native)
    at ApplicationRef_.tick (http://localhost:8100/build/js/app.bundle.js:27364:42)
    at http://localhost:8100/build/js/app.bundle.js:27266:125
    at ZoneDelegate.invoke (http://localhost:8100/build/js/zone.js:323:29)"context: (...)message: (...)originalException: (...)originalStack: (...)wrapperMessage: (...)wrapperStack: (...)__proto__: WrappedExceptionconsoleError @ zone.js:463drainMicroTaskQueue @ zone.js:477ZoneTask.invoke @ zone.js:426
protocols.ts:33 Response headers: {"Content-Type":["application/json;charset=UTF-8"]}, body:{
  "result" : {
    "count" : 0,
    "companies" : null
  },
  "status" : "ok",
  "error_code" : "0"
}

Hello, thanks for opening an issue with us! I am going to be closing this issue as a duplicate of https://github.com/driftyco/ionic/issues/8066. Thanks for using Ionic!


class extends doesn't work with braced body

export class CustomError extends Error {
 constructor(message: string) {
  super(message)
  this.name = "CustomError"
 }
}

Compiles to a function call on the Error constructor;
export class CustomError extends Error({
  constructor(message: string) {
    super(message);
    this.name = "CustomError";
  },
}) {}

class X extends Y {} is a minimal reproduction.  The issue is that Y {} looks like an implicit function call, with an object literal.
We had a similar issue with if. So far the decision with if is that, if you want to brace the body of an if, then you need to wrap the condition in parentheses (full JS compatibility, but no mixing and matching). I still find this confusing, so when we fix class ... extends (which seems important), perhaps we could apply the same fix to if.
It seems like we need another flag here, where object literals should not trigger implicit function calls. We have a similar flag (already turned on) that disables "indented application" (implicit function calls where the argument is an indented implicit object litearl), so it seems to fit. If you see another fix, let me know; otherwise, I'll take a crack at this.

Fixed in 0.6.13!


Namespace Access

As a user I want to be able to edit access if:

a. I want to add or remove permission
b. I typed the wrong username and I want to change it

As a user I want to know what each of the permissions mean w/o needing to refer to documentation so that I can quickly make a decision.

Designs
1. Edit Access

2. Permissions
Add definitions on Grant User Access, Grant Service Account Access, Create New Service Account, Edit Access

Notes:
regarding "Namespace.View" - atm viewing Consumers, Auth Profiles and Namespace Access are excluded from this permission.. we should probably decide whether it should be all or whether a new permission is needed or keep as is..

@Jonesy Backend changes are complete.
Use branch feature/ns-access-ui as the other one was too long and causing issues during deployment.
There are now grantPermissions and updatePermissions - they share the same structure, but grantPermissions will fail if permission already exist.
There are also createUmaPolicy and updateUmaPolicy for the service accounts.

I think I got all of the requests updated in the whitelist @ikethecoder , we just need to figure out where to store the help text under each permission checkbox. Also is all the content for each possible permission saved somewhere I can copy from @elisafw-ux ?


develop

Pull Request Test Coverage Report for Build 915502074

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 97.183%

Totals

Change from base Build 915402818:
0.0%

Covered Lines:
345

Relevant Lines:
355

💛  - Coveralls


fix(factories): enforce generateKey property

This PR enforces generateKey option to force the proper configuration of factory usages:

generateKey=true inside collections, i.e. ListItem.create({}, { generateKey: true }) in List
generateKey=false in all other cases, i.e. Icon.create({}, { generateKey: false }) in MenuItem

As other possible option we can set it to false by default instead of true.
Goals 🥇
Avoid collision in generated keys
See https://github.com/Semantic-Org/Semantic-UI-React/pull/2424 for more details.
Avoid useless remounts
For example content is a string that will be passed to Tooltip component:
<Tooltip content={content} />

The content slot there is represented by TooltipContent component. As our current default value is true, it forces to generate keys always. And this will cause the component's remount on every string change 👎

Warnings

:warning:
There are no updates provided to CHANGELOG. Ensure there are no publicly visible changes introduced by this PR.

Perf comparision

Scenario
Fluent TPI
Fabric TPI
Ratio
Iterations
Ticks

Button.Fluent
1.34
0.15
8.93:1
5000
6709

Checkbox.Fluent
1.36
0.23
5.91:1
5000
6777

Icon.Fluent
0.25
0.04
6.25:1
5000
1261

Slider.Fluent
1.75
0.25
7:1
5000
8725

  Generated by :no_entry_sign: dangerJS

This option is only needed due to "primitive shorthand collection" values.

If we remove collection shorthand (#2207), we won't need this option.
If we remove primitive shorthand values (#2206), we don't need this option.

Also, could also be a breaking change for consumers?

This might be removed?

Yep, if any of this proposals will be merged this will be not needed anymore. I see this PR as a temporary resolution.

Their tests could rely on having keys or things like animations which also need keys sometimes even when not in a collection.

Can you please provide a case? Enzyme allows only to get keys, but do not select as key is not a real prop, https://github.com/airbnb/enzyme/issues/645. I also don't see there a case for animations as keys will not generated only for slots inside component. And it's valid because React generates keys automatically for JSX markup.

Repeating history?

Yep, that's why Earth is flat 😁 That's why I don't consider false as default value and decided to force its setup.


[CONTROLLER]fix ch_vtap_port data error

Server

Fixes ch_vtap_port db data error
Steps to reproduce the bug

vtap port learning

Changes to fix the bug
Affected branches

main

Checklist

[ ] Added unit test to verify the fix.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.zhengya seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


[BEAM-7523] Enable KafkaCSVTableIT using KafkaContainer

R: @TheNeuralBit

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run SQL PostCommit

Run SQL PostCommit

Failure is due to BEAM-10886


chore(deps): upgrade runtime dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade-runtime-dependencies-2.x" workflow

⚪ Backport skipped
The pull request was not backported as there were no branches to backport to. If this is a mistake, please apply the desired version labels or run the backport tool manually.
Manual backport
To create the backport manually run:
backport --pr 1834

Questions ?
Please refer to the Backport tool documentation


Duplicate prompt in terminal only in tunnel mode in browser

With the recent update and vscode server using tunnel mode in browser, a prompt like "username:wordking_dir" directory shows up. I tried to figure out where this is coming from. I tried modifying my PROMPT but the terminal prompt is always there. Can anyone tell me how to fix this? Thanks.
Version: 1.75.1
Commit: 441438abd1ac652551dbe4d408dfcec8a499b8bf
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: vscode.dev

We sincerely apologize for the delay in responding to your issue. Due to the high volume of reports, we’ve been unable to address every submission promptly, especially those that lack the details needed for us to investigate effectively.
To ensure that we can help you and others more efficiently, we kindly request that issues include detailed and actionable information. Please refer to our issue reporting guidelines for guidance on how to provide the necessary details.
Additionally, to help us understand the problem more clearly, please consider providing a screen recording showing exactly what isn't working as expected. While we can work with most standard formats, .gif files are preferred as they display inline on GitHub. You may find https://gifcap.dev/ helpful as a browser-based tool for creating .gif recordings.
We value your feedback and thank you for taking the time to report issues—it helps us make the product better for everyone.
Happy Coding!


Activating Open Collective

Hi, I'm making updates for Open Collective. Either you or a supporter signed this repo up for Open Collective. This pull request adds backers and sponsors from your Open Collective https://opencollective.com/applause-button ❤
It adds two badges at the top to show the latest number of backers and sponsors. It also adds placeholders so that the avatar/logo of new backers/sponsors can automatically be shown without having to update your README.md. [more info]. See how it looks on this repo.
We have also added a postinstall script to let people know after npm|yarn install that you are welcoming donations (optional). [More info]
You can also add a "Donate" button to your website and automatically show your backers and sponsors there with our widgets. Have a look here: https://opencollective.com/widgets
P.S: As with any pull request, feel free to comment or suggest changes. The only thing "required" are the placeholders on the README because we believe it's important to acknowledge the people in your community that are contributing (financially or with code!).
Thank you for your great contribution to the open source community. You are awesome! 🙌
And welcome to the open collective community! 😊
Come chat with us in the #opensource channel on https://slack.opencollective.com - great place to ask questions and share best practices with other open source sustainers!

Thanks @monkeywithacupcake looks good to me 👍

:tada: This PR is included in version 3.3.1 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Improved Skip mode

Imagine you want to temporarily skip building generated files, so you can manually tweak them. The way to do it should be to use the make mode skip flags, which Shake mirrors from make. Unfortunately, the flags are a bit weird, maybe --what-if does it, but may not - I need to figure out the semantics before I recommend it. Perhaps a better design would be:
 shake --ignore=*.java

That would not rebuild any .java files, even if they are dirty. However, once the flag was no longer passed, shake would fix everything up. Fortunately, that's quite easy in shake. Roughly:

Add an oracle that has a list of all the ignore flags.
When you have --ignore add a priority 100 rule that matches the pattern, depends on the oracle, does no IO actions, and simply checks the file is already present.

With that, you get the behaviour we want. Adding the ignore flag to shake proper is probably a good idea.

Merged into #436.


Query multiple tables

Completed Project requirements

Create a table named owners with the following columns:

id: integer (set it as autoincremented PRIMARY KEY)
full_name: string
age: integer

Create a table named species with the following columns:

id: integer (set it as autoincremented PRIMARY KEY)
name: string

Modify animals table:

Make sure that id is set as autoincremented PRIMARY KEY
Remove column species
Add column species_id which is a foreign key referencing species table
Add column owner_id which is a foreign key referencing the owners table

Remember all this goes in schema.sql file.
Insert the following data into the owners table:

Sam Smith 34 years old.
Jennifer Orwell 19 years old.
Bob 45 years old.
Melody Pond 77 years old.
Dean Winchester 14 years old.
Jodie Whittaker 38 years old.

Insert the following data into the species table:

Pokemon
Digimon

Modify your inserted animals so it includes the species_id value:

If the name ends in "mon" it will be Digimon
All other animals are Pokemon

Modify your inserted animals to include owner information (owner_id):

Sam Smith owns Agumon.
Jennifer Orwell owns Gabumon and Pikachu.
Bob owns Devimon and Plantmon.
Melody Pond owns Charmander, Squirtle, and Blossom.
Dean Winchester owns Angemon and Boarmon.

Remember these insertions and modifications happen in data.sql file.
Write queries (using JOIN) to answer the following questions:

What animals belong to Melody Pond?
List of all animals that are pokemon (their type is Pokemon).
List all owners and their animals, remember to include those that don't own any animal.
How many animals are there per species?
List all Digimon owned by Jennifer Orwell.
List all animals owned by Dean Winchester that haven't tried to escape.
Who owns the most animals?

Remember all these should be written in queries.sql file.
Take a screenshot of the results of your queries.
add the screenshot with the results of your queries to your Pull Request description.

List of all animals that are pokemon (their type is Pokemon).

List all owners and their animals, remember to include those that don't own any animal.

List all Digimon owned by Jennifer Orwell.

List all animals owned by Dean Winchester that haven't tried to escape.

Who owns the most animals?


Could not figure out a solution for this code challenge

@JDB0rg
Couldn't figure it out

@ marlonjames71
This is the one coding challenge that I was always having a problem with.


fittrackee: 0.8.10 -> 0.8.12

Diff: https://github.com/SamR1/FitTrackee/compare/refs/tags/v0.8.10...v0.8.12
Changelog: https://github.com/SamR1/FitTrackee/blob/refs/tags/v0.8.12/CHANGELOG.md
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

[x] Tested basic functionality of all binary files (usually in ./result/bin/)

25.05 Release Notes (or backporting 24.11 and 25.05 Release notes)

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

[x] Fits CONTRIBUTING.md.

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

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

x86_64-linux

:white_check_mark: 2 packages built:

fittrackee
fittrackee.dist


In ubuntu 16.04 cannot import opus functions

Tested using python versions 2.7 and 3.5

Do you have an opus library installed on your system?

If you mean has pip installed pyogg, then yes.

Pyogg requires your system to have the [url=https://github.com/xiph/opus]opus libraries[/url] installed on your system, as pyogg only provides the bindings to them.
On Windows they are shipped with the package, on linux you're required to build them yourself, because of the variety of OSes and configurations.


Current page lost on init when a language file loaded

Hi,
I have discovered a bug :
When I load a language file in the options :
"language": { "url": "/json/dataTables.i18n.french.json"
Then the current pagination is lost when refreshing the page, it does not occur with the default language.
Of course it happens when "stateSave": true
It seems like the _fnInitialise function that is called in the ajax callback (line 6346) does not have the right value for iInitDisplayStart. Indeed, it does not take the one that is in the localStorage but 0 instead.
I am using the version 1.10.7
Thanks for your work !
Tim

Can you link to a test page showing the issue please.
Also in future, I would approach if, per the Contributing document, you were to post support requests in the DataTables forums.

Sorry!
I have opened a new discussion (with test pages) in the DataTables forums.
Here is the link:
https://www.datatables.net/forums/discussion/28133/current-page-lost-on-init-when-a-language-file-loaded
Tim


Make package publicly available

Upload it to PyPI and/or Anaconda cloud

Uploaded to Anaconda (f57a6846b3c148bae28ef27ebdad776268196f46).
PyPI upload fails due to "an unsupported platform tag 'linux_x86_64'"...


Feature request : configure container through environment variables

Hi there
Can you make configuring acme-dns 's container configurable through environment variables possible ?
I've seen this on other Go based project

Read configuration file as a template through https://golang.org/pkg/text/template/
Add a default configuration file in the container with placeholders like {{ .Env.ACME_DNS_LISTEN }}
Add a default value in the Dockerfile like ACME_DNS_LISTEN=<IP_ADDRESS>

Best regards,

That would be great!
Creating configs-files is not always the best and easiest solution.


elvish: 0.11 -> 0.12

Things done

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

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

[ ] 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 nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Determined the impact on package closure size (by running nix path-info -S before and after)
[x] Fits CONTRIBUTING.md.

Success on aarch64-linux (full log)
Attempted: elvish
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/zsr489nksjqmhx245pcy07gqlkj3g2b0-elvish-0.12-bin
shrinking /nix/store/zsr489nksjqmhx245pcy07gqlkj3g2b0-elvish-0.12-bin/bin/elvish
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/zsr489nksjqmhx245pcy07gqlkj3g2b0-elvish-0.12-bin/bin
patching script interpreter paths in /nix/store/zsr489nksjqmhx245pcy07gqlkj3g2b0-elvish-0.12-bin
checking for references to /build in /nix/store/zsr489nksjqmhx245pcy07gqlkj3g2b0-elvish-0.12-bin...
strip is /nix/store/7iyn7gn33i7xxjgmwf25k20246y6nd9d-binutils-2.30/bin/strip
/nix/store/zsr489nksjqmhx245pcy07gqlkj3g2b0-elvish-0.12-bin

Success on x86_64-linux (full log)
Attempted: elvish
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/y2mygkzg3x75vapbnl5k58kspbarcmd0-elvish-0.12-bin
shrinking /nix/store/y2mygkzg3x75vapbnl5k58kspbarcmd0-elvish-0.12-bin/bin/elvish
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/y2mygkzg3x75vapbnl5k58kspbarcmd0-elvish-0.12-bin/bin
patching script interpreter paths in /nix/store/y2mygkzg3x75vapbnl5k58kspbarcmd0-elvish-0.12-bin
checking for references to /build in /nix/store/y2mygkzg3x75vapbnl5k58kspbarcmd0-elvish-0.12-bin...
strip is /nix/store/90vmpr41dzsx350k5argycaf693hnl1l-binutils-2.30/bin/strip
/nix/store/y2mygkzg3x75vapbnl5k58kspbarcmd0-elvish-0.12-bin


Enhace unlock contracts dialog

Description
enhance style of unlock contracts dialog,
Changes

include the cost of unlock contracts

fix the header style of lock details

fix calculating the available balance

Related Issues

#3081

Documentation PR
For UI changes, Please provide the Documetation PR on info_grid
Checklist

[ ] Tests included
[x] Build pass
[ ] Documentation
[x] Code format and docstrings
[x] Screenshots/Video attached (needed for UI changes)

please make sure that the action buttons are consistent with the rest of dialoges

please make sure that the action buttons are consistent with the rest of dialoges

@samaradel please clarify what do you mean by make it consistent, this first screenshot have a disabled action button

@0oM4R I mean, the space between the action btn and the dialog is different in the 2 dialogs I mentioned

will include the enhancements in development pr


Implement ADO pipeline build instead of TeamCity

Same as the other repos, just public.
The ADO pipelines have disabled building from forks.

TODO: remove continuous-integration/teamcity as required, add Brigadier - Build .

I'm unable to load https://dev.azure.com/dev-mc/Java Minecraft/_build?_a=allDefinitions&path=\Brigadier\ myself (so if that URL is supposed to be public, it doesn't seem to have been configured correctly).

I'm unable to load https://dev.azure.com/dev-mc/Java Minecraft/_build?_a=allDefinitions&path=\Brigadier\ myself (so if that URL is supposed to be public, it doesn't seem to have been configured correctly).

That is not supposed to be public, so that's fine for now, thanks for the input.

Well, CLA is signed, but the bot is not responding or acting on it ... Not sure what happened there.

And CLA assistant woke up. Maybe it's just a cron job that doesn't run that often and I'm impatient :)


Add dev posts using excalidraw to docs to demo what's possible

I've seen some good examples other devs posted on dev.to and in other places.
I am just suggesting we catalog them to run tests through and document what's possible with excalidraw already today :)
Originally posted by @RandomFractals in https://github.com/excalidraw/excalidraw/issues/621#issuecomment-580331285

we have a blog now and the how to.. we just need to improve them :)


Got an error

I got this issue please help me how to resolve this

Submit a bug on this issue tracker, https://github.com/jgraph/drawio/issues/new?assignees=&labels=&template=bug_report.md


Lots of CPU usage and laggy/shotty Bluetooth Connection

I am using a Exon E5 Processor (Might be the issue)
I am finding that the configuration tool is using up 25% of my CPU at times and can take up to 10 min to load the next menu item
The Controllers wont light up they will rarely and only for a short period of time
The tracking seems to be very laggy
The cameras will only display at around 2-5FPS i am using 4 PS3Eyes
Here is some DxDiag info
DxDiag.txt
I seriously hope that this can be fixed and if its my hardware oh well I just wasted 85$

Start by reading here.

Should I plug each Eye into a different port because currently i am using a USB 2.0 Hub

Another issue I noticed last night was that the Magnetometer Configuration wasn't updating the rotation of the device it did for a few seconds (Very laggy updated its position every 5-7 Seconds) and then the light on the top of the controller went out and it wouldn't update the orientation of the device at all

Having all 4 cameras in 1 hub will definitely not work. Try moving your cameras into different ports directly on the computer. Start with one camera. Add another to see if things are still smooth, moving it to different ports as needed.
When it's laggy nothing will work properly. It's hard to diagnose. Sort out your camera issues first to get things working properly then you can start to investigate any calibration issues, if they still exist.

Alright Reinstalled drivers all cameras have a seperate port now and no conflicting devices should eb plugged into the Hub
but still PSMove COnfig Tool is taking a hell of a long time to load to the main menu

Sounds like classic USB root hub bandwidth saturation.  If psmoveconfig tool is taking a long time to start that usually means it's stalling trying to connect to PSMoveService, which is in turn stalling trying to open the cameras.
Before attempting to run PSMoveService, run test_camera.exe. That tool should open up all available ps3eye cameras. If the video windows aren't running at 60fps, then you likely have too much data going through a root hub. Someone had a similar issue recently here
https://github.com/cboulay/PSMoveService/issues/331
"The "Device id 0 closing due to failed read" error for controller means that the USB bandwidth is probably getting saturated on that root hub. You likely have your USB bluetooth adapter on the same USB root hub as you PS3EYECameras. You can tell which devices are connected to which root hub either by using the windows device manager or using the "USBView" tool found here: http://k0lee.com/dc3000/usbts.htm

If this is in fact the case for you, try moving the bluetooth adapter to a different USB port and then see if that puts it under a different root hub."

Actually just found the issue I think the Bluetooth Adapter is too slow I unplug it and the cameras frame rates go back up to around 30-60FPS the configuration tool is working a lot better now and its not using up as much CPU as it has before Its strange though why would a slow bluetooth adapter = camera FPS to be slow as well as CPU performance to increaser
does anyone recommend a fast bluetooth dongle or Adapter that would work with 3.0 on Win 10?

I use the ASUS BT400. That said, even a good BT dongle can still be an issue if it's on the same USB root hub as your cameras. If the bandwidth is already close to maxed out on a root hub, you can push it over the edge once you start reading controller data (happens automatically with PSMoveService).

Closing old support tickets.


refactored according to the proposal in lexibank/pylexibank#19

Don't merge this yet. This is just a demonstrator for possible changes.

Overall, I think it makes sense to change the API as proposed, adding add_concepts and add_languages methods to the CLDF dataset class. It shaves off a couple lines of custom code and is still transparent enough:
https://github.com/lexibank/allenbai/pull/3/files#diff-bfcd516cfb05c3cf3e23114a2bfebd78

Saving these lines of code is very good indeed.

I like this too! Nice!


Scan doesn't work on iOS

Since Apple doesnt support an API for scanning for Networks nearby, this implementation doesnt work as well, cause react-native-wifi-reborn declares the scanning features only for Android.

You are indeed correct that loadWifiList (and reScan) are Android only. Currently there does not seem
to be any plans from Apple to offer such an API (https://developer.apple.com/forums/thread/39204). While there might be alternatives that can be used (NEHotspotHelper) they will most likely not be accepted in the App store for this use case.
We will definitely update the documentation and add additional checks for iOS devices.


Upgrade to Elixir 1.3

Reason: I'd like to use "distillery" for releasing which requires Elixir >= 1.3.

Thanks for this work. I will add TravisCI support soon.


[CI] Update Multi Platform build and Release workflow

Current Behavior

Currently, the multiplatform.yml file is sending unwanted build arguments to docker build process because of which release tag and commit_sha are not being passed over to the image and hence the version of meshery adapter are not visible on-hovering adapters chips on Meshery UI Dashboard.
Desired Behavior

This would be fixed when correct build args are passed to the docker build step inside multiplatform workfow.
Required Args:

VERSION
GIT_COMMITSHA

Check this commit for reference:
https://github.com/meshery/meshery-consul/commit/446ad170c938c9bfe22e6e8710459d63395b9148
related to: https://github.com/meshery/meshery/issues/6245
Contributor Guides and Resources

📝 Meshery Adapters Spreadsheet
🛠 Meshery Build & Release Strategy
📚 Instructions for contributing to documentation

Meshery documentation site and source

🎨 Wireframes and designs for Meshery UI in Figma
🙋🏾🙋🏼 Questions: Layer5 Discussion Forum and Layer5 Community Slack

Hi i would like to work on this issue, please assign it to me.

I have made PR #329, please have a look at it


Add syntax sugar for maps

Closes #137
This code
var set1 = {1, 2, 3}
var set2 = {"foo", "bar": "baz"}

now is the same of:
var set1 = {1: true, 2: true, 3: true}
var set2 = {"foo": true, "bar": "baz"}

I suggest that var a = { 1, 2, 3} is equivalent to var a = { 1: 1, 2: 2, 3: 3}. Since most values are evalued to true, it should be equivalent to
your suggestion.
Le 10 juin 2018 8:16 PM, "Bruno Macabeus"<EMAIL_ADDRESS>a
écrit :
@mhermier https://github.com/mhermier What do you suggest? I think that
it's a simple and useful implementation to give a set-like feature in Wren.
true is a good choice in order to do something like:

var x = {1, 2, 3}
if (x[1]) { System.print("foo") } //> "foo"
if (x[5]) { System.print("foo") } //> nil

—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/munificent/wren/pull/558#issuecomment-396069790, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AY7blbK9y_mjvwfifP2WUU3-nGp3uj60ks5t7WJkgaJpZM4UhkT5
.

But then you can't put false in a "set" like this, which is a bit counter-intuitive. What exactly is wrong with true?

There is no problems with true, there are advantage of having the key back
has values. When the keys match, there is no guarantee that it is the same
object, so you have to traverse the list of keys to get the key back and
use that instance.

https://github.com/munificent/wren/blob/master/src/vm/wren_value.c#L389
Every object that can be hashed is immutable. Why would user code ever need to care whether two immutable objects of equal value are actually the same object or not?

Because this immutability is an implementation detail of the map. It should
not restrict language design.

Thanks for the PR!
Right now, I don't feel like this fits just right with Wren as is, so I'm gonna close it.


Lanuage Selection - Clarity

I would suggest we should communicate which languages haven't been finished translating yet at latest with the full release.
I would suggest for this purpose to just simply grey them out
We could potentially even link the greyed out buttons to the incomplete translation to our website to a page explaining how one could get involved translating it.
For this purpose, I am currently working on a page that will be found under this address [https://stereum.net/language-program/]

Would you like to change it to a drop-down?
how many more flags you would add?

Would you like to change it to a drop-down? how many more flags you would add?

I like that way, it is displayed, we could make the box bigger. 5 per column and a top and bottom row.
@maxbehzadi82 consider this, there are currently over 7100 known languages spoken worldwide, and only 23 of them cover half the planet. So the number of languages will be somewhere between 23 and 7100 I guess.


README-CHINESE.rst疑问

Hi, @jingwei423
if there is a clerical error in the translated doc? I'm not sure.
https://github.com/twitter/Serial/blob/master/README-CHINESE.rst/#id7
这个文档中的

序列化工具方法

是不是应该修改为ClassB和ClassC？

Hi @helianthuslulu,
Nice catch, and thank you for the descriptive comment!
That's a typo in both English and Chinese doc. We'll fix them soon!

Hey @helianthuslulu -- the typos are fixed. Check it out!


Add back the guidance for email markdown

We recently removed the email markdown link from the  sidebar and updated the link button so it can be used for email. During research, most users did not use the link button and tried to find the markdown instructions.
In this PR we want re-add this instruction while we explore other ways of helping users add email correctly.
Trello card

@alex-ju could you update this based on the latest GTM change...
https://github.com/alphagov/content-publisher/pull/1135/files#diff-0b8a2be908ee86edd0b24da1ca39dcedR21

Yep, I wasn't sure who was going to merge first.

Looks good - wonder why we don't have these in a translation file

I wondered the same. Happy to do a stretch on this to update all.


Don't remove textures if they've been replaced in the cache

Ran into an issue where a texture was replaced in the cache by a new texture with the same name, and was removed unintentionally, causing an error: The frameID 'line1' does not exist in texture cache. @andrewstart suggested this fix, making sure the texture to be removed is the same texture as the one passed into removeFromCache()

Thanks guys!