Fix a couple of compile-fail tests

failures:

---- [compile-fail] compile-fail/match_char.rs stdout ----

error: compile-fail test compiled successfully!
status: exit code: 0
command: "target/debug/miri" "tests/compile-fail/match_char.rs" "-L" "/tmp/compiletestpMJMuw" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/compiletestpMJMuw/match_char.stage-id" "--sysroot" "/home/bjorn/.xargo/HOST" "-Zmir-emit-validate=1" "-L" "/tmp/compiletestpMJMuw/match_char.stage-id.aux" "-A" "unused"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[compile-fail] compile-fail/match_char.rs' panicked at 'explicit panic', /home/bjorn/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.3.11/src/runtest.rs:2544:9
note: Run with `RUST_BACKTRACE=1` for a backtrace.

---- [compile-fail] compile-fail/memleak.rs stdout ----

error: compile-fail test compiled successfully!
status: exit code: 0
command: "target/debug/miri" "tests/compile-fail/memleak.rs" "-L" "/tmp/compiletestpMJMuw" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/tmp/compiletestpMJMuw/memleak.stage-id" "--sysroot" "/home/bjorn/.xargo/HOST" "-Zmir-emit-validate=1" "-L" "/tmp/compiletestpMJMuw/memleak.stage-id.aux" "-A" "unused"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[compile-fail] compile-fail/memleak.rs' panicked at 'explicit panic', /home/bjorn/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.3.11/src/runtest.rs:2544:9

---- [compile-fail] compile-fail/memleak_rc.rs stdout ----

error: compile-fail test compiled successfully!
status: exit code: 0
command: "target/debug/miri" "tests/compile-fail/memleak_rc.rs" "-L" "/tmp/compiletestpMJMuw" "--target=x86_64-unknown-linux-gnu" "-C" "prefer-dynamic" "-o" "/tmp/compiletestpMJMuw/memleak_rc.stage-id" "--sysroot" "/home/bjorn/.xargo/HOST" "-Zmir-emit-validate=1" "-L" "/tmp/compiletestpMJMuw/memleak_rc.stage-id.aux" "-A" "unused"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[compile-fail] compile-fail/memleak_rc.rs' panicked at 'explicit panic', /home/bjorn/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.3.11/src/runtest.rs:2544:9

---- [compile-fail] compile-fail/overflowing-rsh-2.rs stdout ----

error: compile-fail test compiled successfully!
status: exit code: 0
command: "target/debug/miri" "tests/compile-fail/overflowing-rsh-2.rs" "-L" "/tmp/compiletestpMJMuw" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/compiletestpMJMuw/overflowing-rsh-2.stage-id" "--sysroot" "/home/bjorn/.xargo/HOST" "-Zmir-emit-validate=1" "-L" "/tmp/compiletestpMJMuw/overflowing-rsh-2.stage-id.aux" "-A" "unused"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[compile-fail] compile-fail/overflowing-rsh-2.rs' panicked at 'explicit panic', /home/bjorn/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.3.11/src/runtest.rs:2544:9

---- [compile-fail] compile-fail/static_memory_modification.rs stdout ----

error: compile-fail test compiled successfully!
status: exit code: 0
command: "target/debug/miri" "tests/compile-fail/static_memory_modification.rs" "-L" "/tmp/compiletestpMJMuw" "--target=x86_64-unknown-linux-gnu" "--error-format" "json" "-C" "prefer-dynamic" "-o" "/tmp/compiletestpMJMuw/static_memory_modification.stage-id" "--sysroot" "/home/bjorn/.xargo/HOST" "-Zmir-emit-validate=1" "-L" "/tmp/compiletestpMJMuw/static_memory_modification.stage-id.aux" "-A" "unused"
stdout:
------------------------------------------

------------------------------------------
stderr:
------------------------------------------

------------------------------------------

thread '[compile-fail] compile-fail/static_memory_modification.rs' panicked at 'explicit panic', /home/bjorn/.cargo/registry/src/github.com-1ecc6299db9ec823/compiletest_rs-0.3.11/src/runtest.rs:2544:9

failures:
    [compile-fail] compile-fail/match_char.rs
    [compile-fail] compile-fail/memleak.rs
    [compile-fail] compile-fail/memleak_rc.rs
    [compile-fail] compile-fail/overflowing-rsh-2.rs
    [compile-fail] compile-fail/static_memory_modification.rs

test result: FAILED. 59 passed; 5 failed; 14 ignored; 0 measured; 0 filtered out

Edit: updated failure summary

how were these not failing before? are they disabled by default?

Can we turn them back on now? Or what are the next steps for doing that?

Can we turn them back on now? Or what are the next steps for doing that?

Once all errors have been converted to the new error format. Sadly compile-test only detects the constant evaluation error [E0080] message, but not what caused the error like for example "a memory access tried to interpret some bytes as a pointer".

you should be able to add //~^ NOTE a memory access tried to interpret... in the line after the error

Don't have time to convert them all right now. Some errors have either strange placement or different message.

Rebased on top of #376

can you rebase again?

Rebased

Thanks! I'm tracking the leftover failing tests in https://github.com/solson/miri/issues/382


[BUG] The draggable component will display an overlay exception when it is dragged again after it is destroyed and then reappears.

First of all, thank you for your open source work
the following is reproduction

data class ExampleData(val id:Int)

fun TestPage() {
    var show by remember { mutableStateOf(true) }

    var items by remember { mutableStateOf((1..5).map { i -> ExampleData(i) }) }

    val lazyListState = rememberLazyListState()
    val reorderableLazyColumnState = rememberReorderableLazyColumnState(lazyListState) { from, to ->
        items = items.toMutableList().apply {
            add(to.index, removeAt(from.index))
        }
    }
    Column(
        modifier = Modifier.fillMaxSize()
    ) {
        Spacer(modifier = Modifier.height(40.dp))
        TextButton(onClick = { show = !show }) {
            Text("Toggle-$show")
        }
        HorizontalDivider()
        if (show) {
            LazyColumn(
                state = lazyListState,
                modifier = Modifier.fillMaxHeight(),
                verticalArrangement = Arrangement.spacedBy(4.dp),
            ) {
                itemsIndexed(items, { _, item -> item.id }) { index, item ->
                    ReorderableItem(
                        reorderableLazyColumnState,
                        key = item.id,
                    ) {
                        val interactionSource = remember { MutableInteractionSource() }
                        Card(
                            onClick = {
                            },
                            modifier = Modifier
                                .longPressDraggableHandle(
                                    interactionSource = interactionSource,
                                    onDragStopped = {

                                    },
                                )
                                .fillMaxWidth()
                                .padding(vertical = 3.dp, horizontal = 8.dp),
                            interactionSource = interactionSource,
                        ) {
                            Text(
                                "$index. id=${item.id}",
                                modifier = Modifier.padding(16.dp)
                            )
                        }
                    }
                }
            }
        }
    }
}

Oh interesting. I am able to recreate this on my end. I am looking into it.

This will result in the loss of scrolling status when redisplaying

This is not a bug with this library. If you remove rememberReorderableLazyColumnState and ReorderableItem, and add Modifier.animateItemPlacement (which this library uses) to the Card, then swap two items in the list, it won't work. Consider saving the scroll position separately. Feel free to report this bug to Google's issue tracker: https://issuetracker.google.com/issues?q=status:open componentid:612128&s=created_time:desc

In Compose Foundation v1.7.0-alpha07 with the new Modifier.animateItem() this is fixed.

ok, thanks


Recent posts are shown previously than previous posts

Steps:

posted something at 11:25AM
posted something at 1:51PM

The second post is shown before the first one.
This is simply not true.

This is a result of how pagination is implemented, in order to avoid reflow I add notes to the feed as they're received, so if a more recent note is received later than an older one, it will be displayed below. Fixing this would impact performance and cause re-flow, so for now this is a wontfix.


How to change noteskin mid song. My script crashes the game.

Describe your problem here.
I'm trying to get the notes to change midsong and it crashes the game upon getting to the curStep.
function onUpdate(elasped)
        if curStep >= 4
	        for i=0,7 do
		        setPropertyFromGroup('StrumLineNotes', i, 'texture', 'Majin_Notes')
			setPropertyFromGroup('unspawnNotes', i, 'texture', 'Majin_Notes')
	        end
        end
end

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows x86/x32
Did you edit anything in this build? If so, mention or summarize your changes.
No response

do you have the note assets in mods/images?
For some reason you need to have them in mods/images

First, don't use onUpdate
Second, strumLineNotes, case sensitivity

also you need to add "then" after curstep >= 4
so in the end it is if curstep >= 4 then

frantastic24

if i don't use onUpdate() then the notes will only be majin's for one section then go back to normal but you are correct about the strumLineNotes

if i use function onStepHit() then the notes will only be majin's for one section

because you're only telling the code to change the first few notes here:
	        for i=0,7 do
		        setPropertyFromGroup('StrumLineNotes', i, 'texture', 'Majin_Notes')
			setPropertyFromGroup('unspawnNotes', i, 'texture', 'Majin_Notes')

these two lines should be under different for statements
for i=0,7 do
	setPropertyFromGroup('strumLineNotes', i, 'texture', 'Majin_Notes')
end

for i=0, getProperty('unspawnNotes.length')-1 do

	setPropertyFromGroup('unspawnNotes', i, 'texture', 'Majin_Notes')
end

if i use function onStepHit() then the notes will only be majin's for one section

because you're only telling the code to change the first few notes here:
	        for i=0,7 do
		        setPropertyFromGroup('StrumLineNotes', i, 'texture', 'Majin_Notes')
			setPropertyFromGroup('unspawnNotes', i, 'texture', 'Majin_Notes')

these two lines should be under different for statements
for i=0,7 do
	setPropertyFromGroup('strumLineNotes', i, 'texture', 'Majin_Notes')
end

for i=0, getProperty('unspawnNotes.length')-1 do

	setPropertyFromGroup('unspawnNotes', i, 'texture', 'Majin_Notes')
end

sorry i was wrong thank you for telling me


wsl-reset reports incorrect error message

.\wsl-reset.exe
ERROR: This script must be run with either --reset, --hard-reset, or --destructive-reset.

Needs to be updated to reflect the new option nomenclature.

Closed in 0.0.9


site URL parsing of Atom feed is too simple

Just using querySelector("link") doesn't work reliably.
golem.de ATOM feed
<link rel="self" type="application/atom+xml" href="https://rss.golem.de/rss.php?feed=ATOM1.0"/>
<link rel="alternate" type="text/html" href="https://www.golem.de/"/>

wikipedia example
<link href="http://example.org/feed/" rel="self" />
<link href="http://example.org/" />

@evilpie Thanks for reporting! Would something like link:not([rel="self"]) be reliable enough ?


repoitem: handling if list count >0 then RestoreList

Bug fix/official release 8786 ui element action icon getting messed after undoing activity

 Here is an overview of what got changed by this pull request:

Complexity increasing per file
==============================
- Ginger/GingerCoreCommon/Repository/RepositoryItemBase.cs  2

See the complete overview on Codacy


Localization resources error

I have localization implemented with Microsoft.Extensions.Localization package. And I am face with this error:

What do you recommend to do with it?

@MaximTarasevich We're also facing this error, did you find a solution or did you abandon the package?

Are you using the latest version? There was a bug with resource files recompression that was fixed in the latest version.

Some details: we have .resx files for the default English resources and .fr.resx files for the French resources, but it is only when we start the app with Blazor.start({ applicationCulture: "fr" }) that the app crashes with the above error.  We tried with and without the BlazorWebAssemblyLoadAllGlobalizationData property from the MS docs.
I noticed from looking at the sample app's source that its resources are in a separate SampleAppsShared.Localization project.  Is there any chance that having the resources in the Client project directly would cause this issue?

I will test that and come back to you.

Any update on this?
Using the newest v2.4.5.

Any update on this? Using the newest v2.4.5. Same Error.

To be fair, tested again after putting it aside, now it works.


🐛 [BUG]: Strange edge behaviour for type 'smoothstep' and 'step'

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
In case two nodes are aligned vertically (have equal x-coordinate) and are connected with a smoothstep or step edge, the edge has a strange peak:

Expected Behavior
An edge without a peak
Steps To Reproduce
Here a minimal example for reproduction:
<script setup lang="ts">
import { ref } from 'vue';
import { Elements, VueFlow, Position } from '@vue-flow/core';

const elements = ref<Elements>([
  {
    id: '1',
    label: 'Item 1',
    type: 'default',
    position: { x: 50, y: 50 },
    sourcePosition: Position.Bottom,
    targetPosition: Position.Top,
  },
  {
    id: '2',
    label: 'Item 2 ',
    type: 'default',
    position: { x: 300, y: 50 },
    sourcePosition: Position.Top,
    targetPosition: Position.Bottom,
  },
  {
    id: 'e1-2',
    source: '1',
    target: '2',
    type: 'smoothstep',
  },
  {
    id: 'e2-1',
    source: '2',
    target: '1',
    type: 'smoothstep',
  },
]);

</script>

<template>
  <div style="height: 500px; width: 100%">
    <VueFlow v-model="elements" :snap-to-grid="true" :snap-grid="[10, 10]">
    </VueFlow>
  </div>
</template>

Relevant log output
No response
Anything else?
Version:
@vue-flow/core: 1.31.0

Thanks for the report, I'll check it out! :)

Fixed with 1.32.1


Devel CI not failing when pushing to docker

Issue Summary
https://github.com/aristanetworks/ansible-avd/actions/runs/4324939995/jobs/7550435984
Which component(s) of AVD impacted
No response
How do you run AVD ?
None
Steps to reproduce
No response
Relevant log output
No response
Contributing Guide

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

add way to run the devel workflow manually


[Feature] Server display names mapping

I would like to be able to use shorter server names in the TAB list since they sometimes take too much space.
This was mentioned in #14, but I think there was a bit of miscommunication about what exactly is the desired behavior 🙂

As far as implementation is concerned, I was thinking of adding a new config section:
# Define custom names to be shown in the TAB list for specific server names.
# If no custom display name is provided for a server, its original name will be used.
server_display_names:
  very-long-server-name: 'VLSN'

Then when replacing %server% placeholder (via TabPlayer.getServerName), we would look at the mapping in the config and use display name if needed.

that is the behavior of this feature, is it not?

oh, no it's not. guess this is a bug.

@WiIIiam278 yeah, I guess during the discussion it kind of switch from being about this and more about sorting 😄
Which is actually something I didn't consider how it would work with name aliases: I'm guessing taking an alias into account during sorting by server name would make the most sense, but it you think otherwise, I would have no problem with that!


php8 and XML RPC

Hi,
due to : PHP 8.0 XMLRPC extension is moved to PECL
A simplier solution could be a compatible package instead of pecl install of extension
The package dependancy could be changed  in composer.json from
remove ext-xmlrpc
"require": {
"php": ">=7.0",
"ext-xmlrpc": "*",
"darkaonline/ripcord": "^0.1.6"
},
to this composer package
https://packagist.org/packages/phpxmlrpc/polyfill-xmlrpc
"require": {
    "php": ">=7.0",
    "phpxmlrpc/polyfill-xmlrpc": "*",
    "darkaonline/ripcord": "^0.1.6"
},

any chances to confirm all functionnality and implement it in a new version ?
kr,
Matthieu

Hi Matthieu,
I don't maintain the project anymore, and i'm not working with PHP yet. I'm suggesting you tofork it for PHP 8 compat !

Hi,
due to : PHP 8.0 XMLRPC extension is moved to PECL
A simplier solution could be a compatible package instead of pecl install of extension
The package dependancy could be changed in composer.json from remove ext-xmlrpc "require": { "php": ">=7.0", "ext-xmlrpc": "*", "darkaonline/ripcord": "^0.1.6" },
to this composer package https://packagist.org/packages/phpxmlrpc/polyfill-xmlrpc
"require": {
    "php": ">=7.0",
    "phpxmlrpc/polyfill-xmlrpc": "*",
    "darkaonline/ripcord": "^0.1.6"
},

any chances to confirm all functionnality and implement it in a new version ?
kr, Matthieu

Needed this to work with our wordpress implementation so forked here with your suggestion but using RC > https://github.com/Sage-Goddess/odoo-ripcord-8


[WIP] changes to permit use in scikit learn pipelines

this PR isn't ready. just opening it up to get feedback and track my progress.

Looking forward to it!

Is this work in progress or has it been stalled;

How it was intended, it cannot work. pipeline for sklearn expect TransformMix which transform only X and not y. When sampling when to modify both X and y.
What we need is to actually rewrite the pipeline module such that we can incorporate the sampling in the middle. I think that should be possible. I will try to give a look at it and see what I can do.
Also check the branch scikit-learn-contrib which should be the next API to be fully compatible with sklearn.

What we need is to actually rewrite the pipeline module such that we can incorporate the sampling in the middle. I think that should be possible. I will try to give a look at it and see what I can do.

Actually, this is what I had in mind and what I have already written about this in #75

We will probably close this PR and proposed a new one with the scikit-learn-contrib in mind

Stalled & unlikely for me to pick it back up, as I found another solution that's working for me.


_include has no effect on resources returned by _revinclude

Describe the bug
On a search request where the _revinclude parameter returns some resources, any _include parameter has no affect on those returned resources.
To Reproduce
Steps to reproduce the behavior:

Execute the request /Patient?identifier=some_system|some_identifier&_revinclude=CareTeam:patient&_include=CareTeam:participant;
A Patient resource is returned;
The _revinclude returns a CareTeam which point to the patient;
The _include returns nothing.

Expected behavior
The _include should return the resources specified in all element of the returned CareTeam's participant array.
Environment (please complete the following information):

HAPI FHIR Version 5.4.1

Additional context
The attached add_pids_from_revinclude.patch.txt contains a fix for the bug.

Also present with 5.5.1.

@jamesagnew any chance this will get fixed soon?

Also present in v6.8.3. Are there plans to fix that?

Does this work if you add :iterate to the _include? If you don't have that, the _include only applies to the first round of include processing meaning it doesn't get applied to the results of the _revinclude processing. I don't know for sure that this would address the issue, but I know for sure that this wouldn't work without it.

In v6.8.3 it does not work if I add :iterate. But it turned out, that this works in HAPI v6.10.1. I guess the bugfix number 5353 fixed that issue. At least in hapi v6.10.1 _include:iterate works also for resources that where added by second round of _revinclude:iterate clauses.

Awesome - sounds like this issue is resolved as of 6.10.1 then. Thanks for following up!


CORE-18299: Use Interface Instead of Concrete Type

Note: For this change to be merged into 5.2 branch, it would first need: https://github.com/corda/corda-runtime-os/pull/5083

Note: For this change to be merged into 5.2 branch, it would first need: #5083

@vkolomeyko : why?, I'm failing to see the relationship between the two PRs?


fix deprecated BooleanParameter

Summary

BooleanParameter is deprecated

Coverage remained the same at 94.928% when pulling a7fe9e0cf690ca93fb1150c98a0b4dee328345a5 on muddydixon:fix/deprecated_BooleanParameter into 29a8b41d503532ea9f9ec0a14fafed10d41a8297 on treasure-data:master.

Coverage remained the same at 94.928% when pulling a7fe9e0cf690ca93fb1150c98a0b4dee328345a5 on muddydixon:fix/deprecated_BooleanParameter into 29a8b41d503532ea9f9ec0a14fafed10d41a8297 on treasure-data:master.

Coverage remained the same at 94.928% when pulling a7fe9e0cf690ca93fb1150c98a0b4dee328345a5 on muddydixon:fix/deprecated_BooleanParameter into 29a8b41d503532ea9f9ec0a14fafed10d41a8297 on treasure-data:master.

Thank you!

Released 0.6.9 to PyPI https://pypi.python.org/pypi/luigi-td/0.6.9


Header Row skipped in .xls file

I have an XLS file. Properties for this are shown as the values of the second row rather than the first row (which contains headers).
If I save the file as a XLSX then the headers are correctly used.

I tried this and could not find a problem. It also seems to be already included in the tests - see test
``Can load data from spreadsheet``

Is there an example available that does not work?


Password Change Request does not handle 'email not confirmed' error

The CloudSessionLocalService class is not handling the EmailNotConfirmedException while processing a password reset request in the requestPasswordReset and doPasswordReset methods.

This issue was addressed in pull request #25. Closing issue.


  HD01210
On Saturday (October 12), a private video allegedly featurin
Where Can I Watch New Latest Viral Leaked Video Discover videos related to Where Can I Watch New Latest Viral Leaked Video on TikTok. WATCH HERE! New Latest Viral Leaked Full Video Instagram, Twitter, Discord.
Social media abuzz with rumours about MMS clip of actress
Oviya Helen Viral Leaked Video On Social Media X Twitter
Oviya Helen Leaked Viral MMS Video Scandal
Oviya's reaction to leaked intimate viral video proves she is the Queen Of Cool
New Latest Viral Leaked video took the internet by storm and amazed viewers on various social media platforms. New Latest Viral Leaked, a young and talented digital creator, recently became famous thanks to this interesting video.
New Latest Viral Leaked video instagram. New Latest Viral Leaked video oficial twitter
Tutorial on How to Watch The New Latest Viral Leaked Video related to Tutorial on How to Watch The New Latest Viral Leaked Video on TikTok. See more videos about How to Watch New Latest Viral Leaked VIRAL Video.
New Latest Viral Leaked Hot Pictures: 5 Times ‘VIRAL Video Tutorial Fame’ Girl Raised Temperatures and Sent Hearts Racing in Sexy and Sizzling Outfits
New Latest Viral Leaked, rose to prominence after a controversial video featuring the model in it, was leaked online. Though she received backlash for the video, and rules Instagram with hot and sexy photos in sizzling outfits. View New Latest Viral Leaked’s hot pictures below.
Trending!!! New Latest Viral Leaked MMS VIRAL Hot heck out Sophie Rain's official Spiderman video ! Dive into the action and excitement with her latest thrilling adventure. Don't miss out on this exclusive
New Latest Viral LeakedFull Official Video Leaks on Sophie Rain is a creative young digital artist widely known for her amazing Spider-Man videos. Initially shared on TikTok, the video quickly
SEX video Leaked!!)** New Latest Viral Leaked VIRAL New Latest Viral Leaked video took the internet by storm and amazed viewers on various social media platforms. Sophie Rain, a young and talented .New Latest Viral Leaked video oficial youtube camilla araujo New Latest Viral Leaked video oficial youtube camilla araujo New Latest Viral Leaked video oficial.


Failed to install CRD crds/traefik.yaml

Search first
Description
Deployment failed to install CRD crds/traefik.yaml, this happen with Wiki, Blog, Website, Kubeapps and Monitoring Stack.
Steps to reproduce

Deploy VDC
Deploy one of [ Wiki - Blog - Website - Kubeapps - Monitoring Stack ]
Deployment will fail

Traceback/Logs/Alerts
2021-02-15 14:33:37.350 | ERROR    | jumpscale.sals.chatflows.chatflows:wrapper:173 - error when executing step install_chart. exception: Failed to deploy chart marketplace/publishingtools, error was WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: ~/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: ~/.kube/config
Error: failed to install CRD crds/traefik.yaml: error parsing : error converting YAML to JSON: yaml: invalid map key: map[interface {}]interface {}{".Values.threefoldVdc.backup":interface {}(nil)}

To unblock the chart deployment, crds in these charts have hardcoded backup value until we find another solution to pass it from the values file

Wiki - Blog - Website - Kubeapps verifed
Monitoring Stack failed with the following traceback
jumpscale.core.exceptions.exceptions.Runtime: Failed to deploy chart marketplace/monitoringstack, error was WARNING: Kubernetes configuration file is group-readable. This is insecure. Location: /home/mohammed/.kube/config
WARNING: Kubernetes configuration file is world-readable. This is insecure. Location: /home/mohammed/.kube/config
Error: unable to build kubernetes objects from release manifest: error validating "": error validating data: unknown object type "nil" in PodSecurityPolicy.metadata.labels.backupType

Verified for all charts

Wiki - Blog - Website - Kubeapps

Monitoring Stack


Detected package downgrade. FSharp.Core from 4.6.2 to 4.5.2

This is a known issue for VSMac and the workaround is on https://github.com/mono/monodevelop/pull/5137

Fixed by #17


Shuffle bug

On mac:
If shuffle is ON when music is started: when shuffle is turned OFF the app window turns all white, but music continues.
Doesn't seem to matter if the queue is empty or not.
It's not like this with the repeat function.
All the best!

 I thought it was fixed.
I really need to implement unit-tests...

Sorry, didn't know this was a sensitive issue :)
Thanks for all your great work, looking forward for upcoming releases.

I'll try to fix it and release a patch asap


Cleaning of kernel recursive least squares function

Hi!
I have a short question on the cleaning (memory erasing) of kernel recursive least squares function (krls) in dlib.
I declared klrs function and initialized it.
I trained krls on 100 samples.
I want to train krls on next 100 samples but in a way that previous 100 samples are not impacting the training result of new training iteration.
I tried to use clear_dictionary() but noticed that this doesn't totally clean initially trained krls.
How do you recommend to fully cleaned initially trained krls ??
I'm using the code like
typedef sigmoid_kernel<sample_type> kernel_type;
krls<kernel_type2> krls_predictor(kernel_type(kernel_param, kernel_param2), sensitivity, krls_dictionary_size_);
krls_predictor.clear_dictionary();
for (int ind = 0; ind < samples.size(); ++ind)
{
krls_predictor.train(samples[ind], targets[ind]);
if (krls_predictor.dictionary_size() >= krls_dictionary_size_)
break;
}

I'm pretty sure clear_dictionary makes it forget the training data.  That's the point of that function.

Davis,
here's a mistake.
After the call of clear_dictionary() it does NOT clear q, a, k, temp_matrix params of KLRS. You can easily trace this.
There's a need in a fix that after a call of clear_dictionary() it clears all params, but not only dictionary, alpha, K_inv, K, P params.

Those variables don't matter.  The output from the object will be the same as a fresh copy.


Social Media Guidelines

We should create some social media guidelines. We can use https://github.com/cncf/foundation/blob/main/social-guidelines.md as a template

fixed in https://github.com/cilium/community/pull/31


Refactor instrumentation tests

IMPORTANT: Where possible all PRs must be linked to a Github issue
Fixes #[issue number]
Checklist

[ ] I have written Unit tests for any new feature(s) and edge cases for bug fixes
[ ] I have added any strings visible on UI components to the strings.xml file
[ ] I have updated the  CHANGELOG.md file for any notable changes to the codebase
[ ] I have run ./gradlew spotlessApply and ./gradlew spotlessCheck to check my code follows the project's style guide
[ ] I have built and run the fhircore app to verify my change fixes the issue and/or does not break the app

Closing this. Will create another PR pointing to main branch.


Fix let example square function

Reading the language guides this evening and spotted a simple bug, didn't want it to confuse others like it confused me. :smile:

Can you say more about the bug? These two programs look equivalent to me.

I apologize, I think I read it as square n = n ^ n. sheepishly closes bug :blush:

No worries! Thanks for taking the time to send a PR! :D


Support Updated CSS nesting Syntax

Description
Using native CSS syntax without the. & does not work. The spec originally needed the & but was removed after.
import { css } from 'styled-system/css';

export const App = () => {
  return (

Style me

  );
};

Link to Reproduction
https://play.panda-css.com/AzUYVWTNqj
Steps to reproduce
No response
JS Framework
No response
Panda CSS Version
0.45.0
Browser
No response
Operating System

[ ] macOS
[ ] Windows
[ ] Linux

Additional Information
No response

Hiya @wesbos I'm not sure if I understand the issue exactly.
But nested styling in panda for both literals and object require the &
https://panda-css.com/docs/concepts/template-literals#nested-styles

Hey - thanks for the reply. The issue is that the standard CSS nesting spec does not require it. I'm actually moving over some styled components and I have several hundred that need to be edited to add the &. Is it not possible to support the standard css nesting spec?

You're right @wesbos. It's css spec, so panda would support it. Twil be put on the radar.
Thanks for pointing it out


Refactor external project arguments to use a list instead

You are right, it is not standard. I've named this way because they are arguments for the cmake command executed by the ExternalProject_Add function. I'll change it.


Adjust casing for "Version" in title metadata

"Version" should be "version" so title reads something like "Azure Storage Blob client library for JavaScript - version 12.4.1"
I think the change needs to happen here: https://github.com/Azure/azure-sdk-tools/blob/master/eng/common/scripts/update-docs-metadata.ps1#L67

If we want to do this it still needs to be done https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/scripts/Update-DocsMsMetadata.ps1#L86


Nix improvements

[x] Add direnv https://github.com/evmts/tevm-monorepo/pull/1367
[ ] Add to ci/cd
[ ] Update contributing.md
[ ] (nice to have) use in dev container
[ ] (nice to have) might be nice of nx was installed globally in nix

Re docker: Nix can generate docker images, use pkgs.dockerTools.buildLayeredImage, some posts:
https://nix.dev/tutorials/nixos/building-and-running-docker-images.html
https://xeiaso.net/talks/2024/nix-docker-build/

Some other fun features to experiment with:

Can add app entrypoints so people can nix run the repo, for example something like: nix run github:shazow/foundry.nix#cast -- gas-price
There's various testing provisions, from simple flake target runners to whole VMs you can spawn and have talk to each other.


coda client status error

I get such an error when I type coda client status.
Error: Unable to connect to Coda daemon.

The daemon might not be running. See logs (in ~/.coda-config/coda.log) for details under the host:<IP_ADDRESS>.
Run coda daemon -help to see how to start daemon.
If you just started the daemon, wait a minute for the RPC server to start.
Alternatively, the daemon may not be running the RPC server on (<IP_ADDRESS> 8301).
If so, add flag -daemon-port with correct port when running this command.

As per #7065 likely your container is restarting very shortly after starting up due to a configuration issue and so the GraphQL server never starts. Follow the logs with docker logs --follow mina to see why it is crashing.

This would need more info to investigate, and the time to collect that has probably passed. Closing.


SDK and tests for hybrid RP

Can one of the admins verify this patch?

@zikalino: Can you please review?

@zikalino: Can you please review?

merging this pr as it contains tests etc.
I will regenerate the SDK in the next pr for comparison / updates


JDBC is supported in OpenSQL Schema?

Issue description

In https://help.sap.com/docs/SAP_DATASPHERE/43509d67b8b84e66a30851e832f66911/4db6f5a329af44509ae422ad707877b2.html?locale=en-US, there is no mentioning of JDBC.
How customers are suppose to do this integration? There is no available guide for that.
Feedback Type (Optional)
None
Page Title on SAP Help Portal (prefilled)
Connect to Your Open SQL Schema
Page URL on SAP Help Portal (prefilled)
https://help.sap.com/docs/SAP_DATASPHERE/be5967d099974c69b77f4549425ca4c0/b78ad208f8c4494489aabf97284679b6.html

Hi Ismael
Thank you for your feedback. We are working on it and will be back soon.
best regards
cindy

Dear User
We have updated the documentation:

Have retitled the topic to Consume Data in Power BI and Other Clients, Tools, and Apps via ODBC/JDBC
Have a link to Connect to SAP HANA Cloud via JDBC
Mention ODBC/JDBC everywhere where we used to say just ODBC

thank you and best regards
Cindy for the UA team


Accepting Friend Requests?

Is there anyway to accept friend requests using this API? If I wanted to develop that feature, how would I get started?

Currently this is not in the scope of this project.  Our goal is to make a clean interface for facebook chat functionality, not fill in all the gaps of the official API.
It's possible that someone here (@bsansouci) will have an idea of how to go about this.  Generally what we've done in the past is opened up the developer tools in the browser and watched which requests are performed when making the action you want to imitate.  In your case, you would see which requests are made when you accept a friend request. If you can fake all the values that are sent correctly, facebook shouldn't be able to tell the difference.
@bsansouci it's stuff like this that makes me wish we had merged #64...


Command for returning hashe for pins required to secure dependencies

or a command that would create one object with all dependencies in flat hierarchy (as in gx directory after installing all dependencies).
Would be useful in cases that we don't want to accidentally loose some dependency.

gx deps bundle

Oh, sorry, I wasn't aware of that.

no worries, just goes to show i need to write better docs


Target Temperature': characteristic was supplied illegal value: number 45 exceeded maximum of 38.

This plugin generated a warning from the characteristic 'Target Temperature': characteristic was supplied illegal value: number 45 exceeded maximum of 38. See https://homebridge.io/w/JtMGR for more info.`

This is an HomeKit issue. The Thermostat service accepts values between 10 and 38 degrees celsius for current and target temperature.
The only thing we can do is limit the values in the plugin so everything above 38 gets set as 38.


Remove the extra characters that appear at the end of stdout.

After running user code, the stout returned contains the stdout (and string separators) for all of the test cases that were executed (all test cases up until and including those of the current task or all test cases up until an error occurred, whichever comes first). While it contains all the necessary information, the returned stdout also has a decent number of random extra characters at the end.
This issue occurs on both the server and client version, but it seems that the extra characters are random as they will differ between runs.

The extra characters that appear at the end are resulting from the performanceTests. When a given question has performance tests, the stdout resulting from these runs is then added to the end of the overall stdout array. This means that when we are standardizing the output array, we are essentially splitting the stdout of the correctness tests from the stdout of the performance tests. Given the new understanding, I think that the implemented approach of standardizing the stdout is still the best method since it is the cleanest way to process the stdout and allows room for later adding functionality to display tests that failed performance tests rather than correctness tests. @seanlip @eyurko Thoughts on this approach versus a different one perhaps? I can also add some comments to better explain the reasoning behind standardizing the output array.

That seems reasonable. Fine with it.
Good investigation, Kelly!


When deleting task queue, enable force delete

We don't care about the result of the task, so always delete all related ZNodes immediately
With force delete, will get exception when task queue does not exist (expected behavior)

Codecov Report

Merging #3155 into master will increase coverage by 0.04%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master    #3155      +/-   ##
============================================
+ Coverage     70.24%   70.28%   +0.04%
  Complexity        4        4
============================================
  Files           941      941
  Lines         43737    43737
  Branches       5917     5917
============================================
+ Hits          30723    30742      +19
+ Misses        10957    10947      -10
+ Partials       2057     2048       -9

Impacted Files
Coverage Δ
Complexity Δ

...lix/core/minion/PinotHelixTaskResourceManager.java
78.16% <100%> (ø)
0 <0> (ø)
:arrow_down:

...a/manager/realtime/RealtimeSegmentDataManager.java
75% <0%> (-25%)
0% <0%> (ø)

.../predicate/NotEqualsPredicateEvaluatorFactory.java
84.74% <0%> (-6.78%)
0% <0%> (ø)

...e/impl/dictionary/LongOnHeapMutableDictionary.java
88.88% <0%> (-6.67%)
0% <0%> (ø)

...e/operator/dociditerators/SortedDocIdIterator.java
59.45% <0%> (-5.41%)
0% <0%> (ø)

...om/linkedin/pinot/transport/netty/NettyServer.java
80% <0%> (-4%)
0% <0%> (ø)

...afkaHighLevelConsumerBasedRoutingTableBuilder.java
92.3% <0%> (-3.85%)
0% <0%> (ø)

...mpl/dictionary/DoubleOffHeapMutableDictionary.java
72.72% <0%> (-3.64%)
0% <0%> (ø)

...e/operator/dociditerators/MVScanDocIdIterator.java
60.6% <0%> (-3.04%)
0% <0%> (ø)

...lix/core/realtime/PinotRealtimeSegmentManager.java
72.48% <0%> (-2.12%)
0% <0%> (ø)

... and 14 more

Continue to review full report at Codecov.

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


How can I get the row's data where the cursor is [Desktop]

My issue is about [Desktop]
Is there any method like "controller.getSelection()"
Sorry, but there's too little in the document.

Dart  final query = widget.controller.document.queryChild(widget.controller.selection.baseOffset);


home-manager.users..inputs does not exist

Expected Behavior
sudo nixos-rebuild switch Switches to new configuration
Current Behavior
On develop branch, with this commit, having this line https://github.com/divnix/devos/blob/3cc28b3adb93f15ff8f23097c27e4b666ee6ba2b/flake.nix#L101 I encounter the following error
error: The option `home-manager.users.janus.inputs' does not exist. Definition values:
       - In `/nix/store/m7ivd6vp3asr3dzy3ypib3r99j1hlswl-source/users/janus': { }
(use '--show-trace' to show detailed location information)

while trying to use suites in user profiles like so
    home-manager.users.janus = { suites, ... }: {
      imports = suites.graphical;

Already solved, there's an interface for home-manager suites within flake.nix now.


Update package metadata

Codecov Report

Merging #784 into develop will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff             @@
##           develop     #784      +/-   ##
===========================================
+ Coverage    88.18%   88.18%   +<.01%
===========================================
  Files           76       76
  Lines         4535     4537       +2
  Branches       868      868
===========================================
+ Hits          3999     4001       +2
  Misses         401      401
  Partials       135      135


Cmake fails to run

When trying to run cmake after creating new folder named "build" I get this error:

Eventually, I succeeded running cmake with this w/a:

Create folder outside of the sdk folder (“sdk_build” in this case)
Run command: B/home/ntuser/sdk_build -H../Downloads/realsense_sdk/
Continue installation normally for “sdk_build” folder (make –j && sudo make install)

Hi @eladshabo, This message appears when the user tries to generate cmake output under the sdk src directory, it supposed to prevent you from cluttering the sources directory from any cmake generated outputs.
I'm guessing you ran cmake first under the source dir and due to cached cmake files this message kept appearing. Assuming this was your issue, clearing cmake cached outputs from the src directory manually, or by using git to reset or by cloning the sdk to a clean directory was possibly what solved your issue. Can you confirm?


[Enhancement]: Purge PostgreSQL data before each test in .NET xUnit

Problem
I need each test to run independently and with clean database. But the testcontainer-postgresql holds the data across tests.
Solution
Probably an attribute to clean up data before running test.
Benefit
Can test with clean data across tests.
Alternatives
Not that I know of
Would you like to help contributing this enhancement?
Yes

Hm, can you elaborate on that? I do not think this is the responsibility of Testcontainers, rather than the responsibility of your test framework and test design. The test frameworks offer several mechanisms to either share fixtures among tests or not. If you need a fresh instance for each test, simply recreate one. Here is the explanation of xUnit.net's Shared Context; similar concepts exist in other test frameworks.

As mentioned, I do not believe this is the responsibility of Testcontainers. I will go ahead and close this issue. However, if you could provide additional information about your use case and explain why you believe this enhancement is necessary for Testcontainers, please do not hesitate to reopen it and share your thoughts. IMO, configuring and setting this up through the test frameworks is straightforward.


[REG2.066] Issue 15422 - associative array of nested struct - crash on usage

If a struct is nested in a class, its vthis will be reference to the parent class, and struct default equality and hashing considers the parent class equality and hashing.
Otherwise, the vthis will be typed as void*, and pointer equality and hashing is merely used.

The root problem is an incorrect type for the struct vthis field. It has been already filed as Issue 14442, so this PR fixes it, and then issue 15422 will be fixed naturally.

What's the state of this?

Please submit the hundreds of lines of reformatting and refactoring as a separate PR.

Superseded by #5391. It also drops style changes.


Add a link to best practice integration guide on the jdbc page and vice versa (Under Related Docs)

Contributions

[X] I have read the contribution docs, and understand what's expected of me.

Link to the page on docs.getdbt.com requiring updates
At the bottom of the page for additional resources, I would add this: https://docs.getdbt.com/guides/dbt-ecosystem/sl-partner-integration-guide to our jdbc page https://docs.getdbt.com/docs/dbt-cloud-apis/sl-jdbc, and vice versa.
I would probably recommend adding the integration best practice guide to all of our eventual API pages!
What part(s) of the page would you like to see updated?
The bottom of the page with "Related Docs"
Additional information
No response

thanks for filing this, @rpourzand !
took a look at those pages.

totally agree with you about the JDBC API page.
the guide already has includes multiple links to the JDBC page. to prevent link overload, we try not to link out to the same page many times

updated API in PR #3863

Fixed.


unix,udp: ensure addr is non-null

Update this code to be more in line with the Windows version.
Previously, callers (such as nodejs) might assume it was always safe to de-reference this parameter:
https://github.com/nodejs/node/blob/d2634be56258e2b957c1061c5f4d86792975bfa9/src/tcp_wrap.cc#L349 called from https://github.com/nodejs/node/blob/d2634be56258e2b957c1061c5f4d86792975bfa9/src/udp_wrap.cc#L567
I suspect this may have been unreachable, and that it was guaranteed by the kernel to be >= sizeof(struct sockaddr), so this should be a NFC simplification.

edit: should have checked blame first. Apparently that code would be reachable (https://github.com/joyent/libuv/issues/1252), if you "abuse the API" -saghul. I still think this fix is correct, however, since I'm also ensuring that the contents are never garbage.

Hum. I fear some applications may be lazy and assume that if a non-NULL address is returned it's valid, so they may check for AF_INET and otherwise assume it's AF_INET6.
So, I'd say I'm +0.5 :-)

Not really stale or stalled, I think, since saghul reviewed it. I'm just relatively glacial at merging work into libuv.

Let's land it. @vtjnash I'm happy to land it for you if you want.

That'd be appreciated :heart:

Landed in fdef604a 🚀


Updating an ad app registration to set a pre_authorized_applications fails

Package Name: azure-graphrbac
Package Version: 0.61.1
Operating System: linux
Python Version: 3.7.5

Describe the bug
Trying to update an existing app registration to add a pre-authorized app generates an error.
To Reproduce
Steps to reproduce the behavior:
grant_id = 'XXXX'
approved_app_id = 'YYYY'
update_app_object_id = 'ZZZ'
client = get_client_from_cli_profile(GraphRbacManagementClient)
params = ApplicationUpdateParameters(
            pre_authorized_applications=[
                PreAuthorizedApplication(
                    app_id=approved_app_id,
                    permissions=[
                        PreAuthorizedApplicationPermission(
                            direct_access_grant=False,
                            access_grants=[grant_id],
                        )
                    ],
                )
            ]
)
client.applications.patch(update_app_object_id, params)

Expected behavior
preAuthorizedApplications in the app manifest now has the new app listed.
What I'm getting instead is:
Traceback (most recent call last):
  File "sample.py", line 359, in <module>
    main()
  File "sample.py", line 346, in main
    client.setup_rbac()
  File "sample.py", line 154, in setup_rbac
    client.applications.patch(app.object_id, params)
  File "/home/USER/.venv/VENV_NAME/lib/python3.7/site-packages/azure/graphrbac/operations/applications_operations.py", line 328, in patch
    raise models.GraphErrorException(self._deserialize, response)
azure.graphrbac.models.graph_error_py3.GraphErrorException: A value without a type name was found and no expected type is available. When the model is specified, each value in the payload must have a type which can be either specified in the payload, explicitly by the caller or implicitly inferred from the parent value.

@bmc-msft thanks for reporting this, someone should look at this //cc: @lilyjma @mayurid


pip failing to install libraries

Description
Whenever I try to use pip with my installation of IronPython2.7.10 I receive this error stack:

Here is my dotnet information:

I have so far been unable to figure out why the IronPython pip seems to fail.
Steps to Reproduce

Install IronPython
Try to use pip in order to install a package
The Above error occurs

Expected behavior: pip successfully installs a package
Actual behavior: failure with several errors
Versions

Looks like an issue with str being unicode instead of bytes with IronPython. Since all this occurs in 3rd party libraries there's not much we can do about it. I would suggest not upgrading pip to the latest version and using one that comes with the release.

Is there a way to quickly or easily revert? I think the reason I upgraded in the first place was due to this issue as an attempt to fix it, but I will try the original version.

Hmm, you can delete the Lib\site-packages then run ipy -m ensurepip to reinstall.

This is now the output I am receiving:

Could my version of setuptools be broken? I was able to install pip fine, but I cannot use it on nltk

This is the issue noted at https://github.com/IronLanguages/ironpython2/issues/624. Unfortunately I don't have a good solution beyond manually patching __init__.py as follows:
del __metaclass__

class Command(_Command):
    # ...

__metaclass__ = type

I did try pip installing nltk after this patch but just ran into other issues.

@slozier do you know if this issue exists in prior versions of IronPython? My use case of IronPython is almost entirely NLTK support related. If you happen to find some solution to install NLTK I would be appreciative!

@isaiahfisher It looks like this particular failure isn't present with 2.7.9, however nltk fails to install when it tries to compile the regex module. This is appears to be a C extension module and will unfortunately not work with IronPython.

@slozier ok thank you. The NLTKNet wrapper listed this as a dependency in its project. I will see if I cannot self patch it or revert to a previous version and fix it. I will update this issue with a solution if I find one!

@isaiahfisher I was able to pip install nltk==3.4 with IronPython 2.7.9.

@slozier thank you for the info! I appreciate the help! Sorry to take so much time on what amounts to a support issue rather than a bug in IronPython itself.

No problem, in a way it's a bug with IronPython as upgrading the version of setuptools with 2.7.10 broke pip install for some packages.

I think I've managed to resolve the pip install issues on master. Closing this.


🐞[Bug]: I want to work on Code of Conduct

Is there an existing issue for this?

[X] I have searched the existing issues

Describe the bug
There is no View Code of Conduct page.
Expected behavior
The Code of Conduct page should be loaded upon clicking "View Code of Conduct" button at the footer.
Add ScreenShots

What browsers are you seeing the problem on?
No response
Record

[X] I have read the Contributing Guidelines
[X] I'm a GSSOC'24 contributor
[X] I want to work on this issue

i am unable to clone the repository. i tried both http and ssh but i could not clone it. please assign this issue to someone else. thank you.

can you assign this issue to me? let me try my best


Unable to have more than 1 component

My team has 5 components all together this year, and yet even 2 components just crash the app or something because it doesn't load. Using a single component works perfectly. Also, we tried quite a few combinations of components so I don't think the size of the CAD is the problem.
By the way, the app doesn't literally crash. For example if it was on the Kitbot before we switch to our robot it just doesn't switch, and we can even drive the robot around the field with no lag or glitch.
Here is an example of us trying to use the 3d simulation for our 2 stage elevator. Here is a file explaining our components. The first component is the intake so we added that to the elevator config as well.
Are we doing something wrong with the json config? If so, how come AdvantageScope doesn't return an error?

It looks like the issue is with the filenames for your component models. Per the documentation, there should be an underscore between "model" and the index, so it would look like "model_0.glb" instead of "model0.glb". The next version will already improve the error handling for invalid JSON configurations (see #134), but I'll add a check for the filenames too so there can be a more useful message displayed.

Ah I see, thank you. Although you know, I'm pretty sure it worked for a single component named model0.glb as well.

Just not the elevator for some reason.


Add gift card tags query

Re-add gift card tags.
Impact

[ ] New migrations
[ ] New/Updated API fields or mutations
[ ] Deprecated API fields or mutations
[ ] Removed API types, fields, or mutations
[ ] Documentation needs to be updated

Pull Request Checklist

[ ] Privileged queries and mutations are guarded by proper permission checks
[ ] Database queries are optimized and the number of queries is constant
[ ] Database migration files are up to date
[ ] The changes are tested
[ ] GraphQL schema and type definitions are up to date
[ ] Changes are mentioned in the changelog

Blocked - waiting for frontend.

Closing in favor of https://github.com/saleor/saleor/pull/8412


chore(deps): minor updates

Description
@axe-core/react updated to ^4.8.1
@babel/core updated to ^7.23.3
@google-cloud/storage updated to ^7.6.0
@hookform/resolvers updated to ^3.3.2
@mux/mux-node updated to ^7.3.3
@react-aria/aria-modal-polyfill updated to ^3.7.7
@sanity/client updated to ^6.7.1
@slack/bolt updated to ^3.14.0
@storybook/addon-a11y updated to ^7.5.3
@storybook/addon-actions updated to ^7.5.3
@storybook/addon-docs updated to ^7.5.3
@storybook/addon-essentials updated to ^7.5.3
@storybook/addon-interactions updated to ^7.5.3
@storybook/addon-links updated to ^7.5.3
@storybook/addon-mdx-gfm updated to ^7.5.3
@storybook/addon-storysource updated to ^7.5.3
@storybook/cli updated to ^7.5.3
@storybook/nextjs updated to ^7.5.3
@storybook/react updated to ^7.5.3
@storybook/testing-library updated to ^0.2.2
@testing-library/react updated to ^14.1.0
@testing-library/user-event updated to ^14.5.1
@types/jest updated to ^29.5.8
@types/js-cookie updated to ^3.0.6
@types/react updated to ^18.2.37
@types/react-transition-group updated to ^4.4.9
@types/styled-components updated to ^5.1.30
@types/uuid updated to ^9.0.7
@typescript-eslint/eslint-plugin updated to ^6.10.0
@typescript-eslint/parser updated to ^6.10.0
@wdio/browserstack-service updated to ^8.22.1
@wdio/cli updated to ^8.22.1
@wdio/local-runner updated to ^8.22.1
@wdio/mocha-framework updated to ^8.22.0
@wdio/spec-reporter updated to ^8.21.0
better-react-mathjax updated to ^2.0.3
chromedriver updated to ^119.0.1
dotenv updated to ^16.3.1
googleapis updated to ^128.0.0
graphql updated to ^16.8.1
jest updated to ^29.7.0
jest-environment-jsdom updated to ^29.7.0
postcss-scss updated to ^4.0.9
posthog-js updated to ^1.88.3
posthog-node updated to ^3.1.3
properties-file updated to ^3.3.7
start-server-and-test updated to ^2.0.2
swr updated to ^2.2.4
typescript-plugin-css-modules updated to ^5.0.2
wdio-wait-for updated to ^3.0.8
webpack updated to ^5.89.0
yargs updated to ^17.7.2
zod updated to ^3.22.4
Checklist

[x] Manually tested across browsers / devices
[X] Approved by product owner

@rightsaidjames @jack-skerrett-oak is one of you able to give this a manual QA please?

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


Does lua Casbin support 'in' operator ?

I have a scenario where i need to compare array in lua table to match any of the predefined array values in matcher expression.
For instance:-
m = r.obj.roles in ('qa', 'dev)
Here is obj is a lua table and roles is an array.
Also, Is lua-casbin production ready ?

@rushitote

I wish there is a documentation with all lua supported matchers. We are in process of evaluating authorization solutions and getting blocked with out much of a community reference compared to others.

There isn't anything for this built-in but you can create your own function to plug into the enforcer. You can see some reference for this here and example built-in function here.

@rushitote given in is in our docs: https://casbin.org/docs/syntax-for-models#special-grammer , I think we can add it as built-in feature

@hsluoyz We already support that feature. From what I understand, the issue wants is we check if the values of an array contains any value from the list of predefined strings after the 'in' operator. We can currently check for exactly one value and not an array.

@rushitote OK! The issue title misguided me.
@chaitanya14 you can first consider implementing a custom function by your own. We also welcome you conbributing it to our official repo as a new built-in function, like named as anyIn. Lua-Casbin is already production-ready and used in many scenarios like OpenResty, APISIX, Kong, etc.


Collaboration request

Hi, I'd like to collaborate with you on this project.
Can you email me at:
<EMAIL_ADDRESS>???
Thanks,
-Kevin

Thank you for the offer.  Clearly, I'm moving at a glacial pace, so I don't think I should commit to anything more ambitious.


select2.component Failed to load resource: the server responded with a status of 404 (Not Found)

i try to use this api bur i get some error :
Uncaught ReferenceError: require is not defined
at ng2-select2.ts:1
http://localhost:3000/node_modules/ng2-select2/src/select2.component Failed to load resource: the server responded with a status of 404 (Not Found)
localhost/:25 Error: (SystemJS) XHR error (404 Not Found) loading http://localhost:3000/node_modules/ng2-select2/src/select2.component
Error: XHR error (404 Not Found) loading http://localhost:3000/node_modules/ng2-select2/src/select2.component
at XMLHttpRequest.wrapFn [as _onreadystatechange] (http://localhost:3000/node_modules/zone.js/dist/zone.js:851:29) []
at Zone.runTask (http://localhost:3000/node_modules/zone.js/dist/zone.js:151:47) [ => ]
but when i add : 'ng2-select2': 'npm:ng2-select2/ng2-select2.js', to sytem.config.js i get ng2-select.component not found.

I just released new version beta.7, can you try it out and see if this version fixed your problem. Thank you


How to create an automation using the new "Detached switch pressed" sensor of MINIR4M

Thanks so much for adding support for #1227 😄
Looks like the new sensor is called "Action". I'm seeing now in the HA logbook two events fire every time the physical (detached) switch is being pressed:

"<Action sensor name>"
"<Action sensor name> changed to single"

Here's a screenshot:

Was this the intention or is this a bug?
If this was intentional - I have a question about how to create an automation using this new sensor. When I create a simple automation using the sensor as a "state" trigger, then the automation is triggered twice for every physical switch toggle (light goes on and immediately goes off, or vice versa depending on initial state). This is how a simple automation looks:

Obviously, we want the automation to hit only once for every physical switch toggle. I've tried to fill different values in the fields "Attribute", "To" and "From", including to: single and directly in YAML to: (based on HA docs for "trigger on all state changes, but not attributes"). So far I haven't managed to filter a single event.
My current only workaround is to add a 1 second delay using the "For" field, but this is of course sub-optimal, home users expect a physical light switch to work almost immediately.
I don't mind editing the automation in YAML if necessary, there are a few additional fields available that are not supported by the UI.
Thanks in advance!

<Embarrassed> :dizzy_face: now the value to: single seems to work. I don't know what I did wrong before. Perhaps I accidentally used a capital "S". Either way, this value seems to be the solution.

I think device firmware not support local button press. You can try to write to sonoff team.

tsemer,
how did you get this to work? my Action sensor is always blank when i flip my light switch. it is currently in attached-relay mode until i can program the automation. does the sensor only update when detached?
and if i may ask, what switch mode (not detach relay option) is your switch in? Is your Lan Mode (on the device settings) enabled or disabled?
looking to have my smart lights always powered so i bought these. and handling receiving the signal from the light switch to act as a automation switch via H.A.

does the sensor only update when detached?

I seem to remember so, yes. You can easily test it yourself - just set it to "detached" and see if it starts working.

what switch mode (not detach relay option) is your switch in?

Mine is in edge mode, since that's the type of switch I have - what you might call a "standard" switch.

Is your Lan Mode (on the device settings) enabled or disabled?

If you mean "LAN control" then it's enabled.
Hope this helps!

I think device firmware not support local button press. You can try to write to sonoff team.

I've written to sonoff team. Will update their response.
cc @wishie

Two times trigger is a bug. You need to collect debug logs

Two times trigger is a bug. You need to collect debug logs

Thanks @AlexxIT, but I think this got reopened by accident when I left my last comment. @wishie saw the same behaviour, and filtering the action to: single works, so we figured it's by design no? For me this is good enough. If you still want any logs to debug please tell me exactly how to get them for you and I will.
For me, I'm only coming back here to follow up on the additional request of @wishie to make this action local (as you suggested above, I wrote to the Sonoff team).

Ah. Of course to: single is important in the trigger.


GH-497 Function/Signals support all class/argument types

Fixes #497

Applied to main (=2.1) and branch 2.0.


[release-1.10] Bump distroless base images to latest versions

Pull Request Motivation
Reminded by #4033
Kind
/kind cleanup
Release Note
Bump distroless base images to latest versions

/hold One question
Have these base images already been updated in the master branch? If so, why isn't this PR created by prow cherry pick command?

Have these base images already been updated in the master branch? If so, why isn't this PR created by prow cherry pick command?

They have already been updated and master is up to date. It's not created by a cherry pick because I just did an update while I was doing #5676 - didn't think to cherry pick.

/unhold


从零开始加强Osiris

SlowWalk Update.

Just wait a second

Please enjoy

?????????????????????????? this is useless, since osiris already has this feature

oh my god...

great, he removed the license file, renamed the solution and added already existing feature


py3k failure: refers to xrange

http://dpaste.com/hold/1731570/
python3.3/site-packages/djangocms_column/cms_plugins.py" in save_model
26.         for x in xrange(int(form.cleaned_data['create'])):

Fixed in https://github.com/divio/djangocms-column/commit/d2c1c315d6883300eff80c3972b5c61d74734c5e#diff-fb141d0ec65e2c5e54da16e345e4eaad and in releases 1.4 and 1.5

Fixed as per the above.


Views count

fixed issue #856, add a view counter on the event view page to keep track of the people who view an event.
Testing

checkout branch viewsCount
reset the database
make sure tests are not failing
try to view an event (not admin)
switch the current user to admin and see if the view is counted
only the admin can see the views, admin views do not count, and no duplicate views
check if the EventView table is updated

 Event Page views count

 Add a view counter to event pages #856


Weird issue when caching and reloading workspaces

Hi,
I'm running into a very weird issue that I'm having a lot of trouble tracking down the origins of.
I have two functions for caching workspaces like this
def get_workspace(nmt_field1, nmt_field2, nmt_bins, wksp_cache):
    # only need to hash based on masks
    hash_key = joblib.hash([nmt_field1.get_mask(), nmt_field2.get_mask()])
    wksp_file = f"{wksp_cache}/cl/{hash_key}.fits"
    try:
        wksp = nmt.NmtWorkspace.from_file(wksp_file)
        wksp.check_unbinned()
        print("Using cached workspace")
        # update bins and beams after loading
        wksp.update_beams(nmt_field1.beam, nmt_field2.beam)
        wksp.update_bins(nmt_bins)
    except RuntimeError:
        # compute and save to file
        wksp = nmt.NmtWorkspace.from_fields(nmt_field1, nmt_field2, nmt_bins)
        os.makedirs(f"{wksp_cache}/cl", exist_ok=True)
        wksp.write_to(wksp_file)

    return wksp

def get_cov_workspace(nmt_field1a, nmt_field2a, nmt_field1b, nmt_field2b, wksp_cache):
    hash_key = joblib.hash([nmt_field1a.get_mask(), nmt_field2a.get_mask(), nmt_field1b.get_mask(), nmt_field2b.get_mask()])
    wksp_file = f"{wksp_cache}/cov/{hash_key}.fits"
    try:
        wksp = nmt.NmtCovarianceWorkspace.from_file(wksp_file)
        print("Using cached workspace")
    except RuntimeError:
        wksp = nmt.NmtCovarianceWorkspace.from_fields(nmt_field1a, nmt_field2a, nmt_field1b, nmt_field2b)
        os.makedirs(f"{wksp_cache}/cov", exist_ok=True)
        wksp.write_to(wksp_file)

    return wksp

The problem is that when I run my pipeline calculating all of the cross-spectra and covariances between a set of fields it works fine without caching, but fails with caching. Sometimes the code crashes after loading the Cl workspace with a GSL error saying that a matrix is singular. Sometimes the code runs without crashing but produces nonsensical results for the Cls and covariance matrices with NaNs. In the second case, I've noticed that cov_wksp.wsp.lmax_mask often has weird values, for example 4 times large than 3*nside-1.
Also, potentially relevant, I have not seen this issue previously when running similar code (but also older version of namaster) on spin-0 only fields, while the current issues are happening when cross-correlating spin-0 and spin-2 fields.
I'm not sure how to go about debugging this and also have not managed to make a generic example of this bug. Does anyone have any ideas?

Hi @ajouellette . Perhaps the hash should include also the spins of the fields involved (since the mode-coupling coefficients also depend on those). Let me know if that works.

That's definitely a good point, but I don't think it matters here since in this case I'm only computing spin-0 - spin-2 cross-spectra.
I managed to get a working example of this bug:
First, I generate mock correlated spin-0 and spin-2 fields with
nside = 1024
ell = np.arange(3*nside)

def gen_sim(cl_kk, cl_gg, cl_kg):
    klm, Elm, Blm = hp.synalm([cl_kk, cl_gg, 0*cl_kg, cl_kg, 0*cl_kg, 0*cl_kg],
                              lmax=3*nside-1, new=True)
    Q, U = hp.alm2map_spin([Elm, Blm], nside, 2, 3*nside-1)
    kappa = hp.alm2map(klm, nside)
    return kappa, Q, U

cl_kk = (1/(ell + 10) + 5e-5*ell) / 1e6
cl_gg = 5e-8/(ell + 10) + 5e-9
cl_gk = 1e-7/(ell + 100)

kappa, e1, e2 = gen_sim(cl_kk, cl_gg, cl_gk)

ra, dec = hp.pix2ang(nside, np.arange(hp.nside2npix(nside)), lonlat=True)
mask = ((ra < 60) + (ra > 300)) * (dec < -20) * (dec > -65)
mask = nmt.mask_apodization(mask, 2)

hp.write_map("test_kappa.fits", kappa)
hp.write_map("test_shear.fits", [e1, e2])
hp.write_map("test_mask.fits", mask)

Then I run this script to calculate the cross-spectrum with and without caching. As long as the workspaces are not loaded from disk, everything works fine, otherwise I get NaNs for both the cross-spectrum and covariance.

Some more things I've noticed:

After running the example script several times, I'm seeing very inconsistent results. Very often it does not produce the correct results after loading the cached workspaces, but sometimes it runs fine several times in a row.
Commenting out the two lines in the script (23 and 24) that update the bins and beams after loading the Cl workspace seems to significantly boost the success rate (I think I've still seen one failure though).

Apologies for the delay. Indeed, I can reproduce this. I only get failures if either update_bins or update_beams are used though.
I'll look into this in any case.

I believe this is due to a bug introduced in #200 when allowing for more alternative normalisations of the bandpower window functions. I hope #212 will fix it. If you can install that from source and test it, that'd be helpful. Otherwise I'll try to merge it and put it on conda ASAP.

It looks like the issue is fixed. Thanks!


SUGGESTION: Dump vectors

Some data scientists might want to leverage the vectorization mechanism in Weaviate to train new models. The result would be similar to /things and /things/{UUID} but with a focus on a matrix to download all objects.
RESTful URL suggestion: /c11y/vectors and /c11y/vectors/{UUID}.
c11y/vectors/{UUID}
returns:
{
    "type": "thing",
    "vector": [
        0,
        0,
        0,
        0,
        //etc
    ]
}

c11y/vectors?page=0
returns:
{
    "result": {
        "UUID_1": {
            "type": "thing",
            "vector": [ //Array is same object as c11y/vectors/{UUID}
                0,
                0,
                0,
                0,
                //etc
            ]
        },
        "UUID_1": {
            "type": "thing",
            "vectors": [ //Array is same object as c11y/vectors/{UUID}
                0,
                0,
                0,
                0,
                //etc
            ]
        }
    },
    "pages": 100 // total pages
}

thoughts: @etiennedi, @fefi42, @laura-ham ?

Yes please

Some thoughts:

The general idea of this makes a lot of sense and I'm all for it.

The suggested pagination with numbered pages is not possible with our storage backend (Elasticsearch). A pagination like that would only work up to 10,000 elements. However, 10,000 is also the maximum for a single query, so this pagination wouldn't produce any benefits over a single large query. A possible alternative would be build something that in the background makes use of the Scroll API of Elasticsearch (Note: They write "it is not meant for real-time usage", I have yet to figure out what that actually means)

To be actually RESTful, I don't think we should consider vector to be a standalone resource. It's just a property of an existing resource: the thing and action resource. (Especially since it's described by the same uuid. Describing two different resources by the same id sounds like quite an anti-pattern to me.) So, a more REST-compliant URI would in my opinion be something like GET /v1/things/{uuid}/vector and/or GET /v1/things/{uuid}?includeVector=true, similarly for the list on GET /v1/things?includeVector=true (Possibly also a different parameter to show only the vector).
The major advantage of this would also be that if we build a "page-through-everything-export" API it wouldn't be limited to just vectors, but could be used to dump all the data.

@etiennedi I agree with the RESTful objection.
This is a duplicate #1041 btw.

The major advantage of this would also be that if we build a "page-through-everything-export" API it wouldn't be limited to just vectors, but could be used to dump all the data.

Agreed, let's not forget though, that the use case is a matrix that the end-user can easily obtain. I.e. [UUID, vector1, vector2, etc]

The suggested pagination with numbered pages is not possible with our storage backend.

I see, it defeats the purpose if this is not possible though... It would be interesting to understand the possibilities.

Do we need an endpoint for loading the matrix?
We could document how to create a query in which you can request all the vectors up to 10,000 items.
One could query even more if they can limit the data somehow e.g. only things in a region or something.
I think for the moment this is enough. Once we actually get an request for more we can think of something new.
We could also create a client function that abstracts this away from the user. Then at least python users would be able to receive the vectors in a matrix like structure like a numpy array. Which is compatible with almost all ML libs.

Agreed, let's not forget though, that the use case is a matrix that the end-user can easily obtain. I.e. [UUID, vector1, vector2, etc]

I don't think this is any more or less possible with one or the other approach. Or am I missing anything?

I see, it defeats the purpose if this is not possible though... It would be interesting to understand the possibilities.

A pagination using numbered pages is not possible (beyond 10,000 items). However, as mentioned there are alternatives, such as scrolling. So the overall goal of "getting all objects/vectors out" is still possible. However, it won't be possible to access page 7 out of 12000 out of the blue. But I also don't think that matters, since this API would probably either be used for a full export or nothing.

I think for the moment this is enough. Once we actually get an request for more we can think of something new.

This would at least be a good suggestion to make the tasks a bit smaller:

Enable getting "all" (up to 10,000) objects/vectors
Enable scrolling or similar means to get all (unlimited) objects/vectors

We could also create a client function that abstracts this away from the user. Then at least python users would be able to receive the vectors in a matrix like structure like a numpy array.

Fully agreed, I don't think we should give up structure in our API, simply because a subset of users need something less structured. It's always easy to remove structure client-side, so converting a simple {"uuid": "123", "vector": []} object into a "row" in the matrix is something we could support in the client.

Do we need an endpoint for loading the matrix?

@fefi42 not sure I understand, do you mean down loading?

Or am I missing anything?

@etiennedi nope, more that it would defeat the purpose if people can't get the whole thing out. If that's with pagination or not is for me trivial. It was a suggestion :-)

Additionally, can we also have a flag or so to include or exclude individual words from the results?

@bobvanluijt can you provide an example of what it would mean to

include or exclude individual words from the results?

can you provide an example of what it would mean[.]

Yes, I would now expect the behavior to include both individual words and things and actions. It would be nice to have a flag to only show words or only show things and actions.

Outscoped the "include objects in response" to #1095 so we can work on this independently

Hi, is this still being considered?
I have an analytic use case that will benefit from ability to bulk export data or scan data

Hi, is this still being considered?
I have an analytic use case that will benefit from ability to bulk export data or scan data

Hi, is this still being considered?

Good question @qingwei91 – for a full dump we need @etiennedi's feedback. That said, you can use the offset filter (pagination) filter to get all the vectors back

Hi @bobvanluijt thank you, I didnt realize pagination is supported, that will do for me

Hi @bobvanluijt thank you, I didnt realize pagination is supported, that will do for me

Awesome!


(Python) Chocolatey does not uninstall python 3.8.0

Chocolatey does not uninstall python 3.8.0.
Expected Behavior
Python 3.8.0 is uninstalled
Current Behavior
Python 3.8.0 is not uninstalled
Command output
C:\WINDOWS\system32>choco install python --version=3.8.0 --force
Chocolatey v0.10.15
Installing the following packages:
python
By installing you accept licenses for the packages.
python v3.8.0 already installed. Forcing reinstall of version '3.8.0'.
Please use upgrade if you meant to upgrade to a new version.
Progress: Downloading python 3.8.0... 100%
python v3.8.0 (forced) [Approved]
python package files install completed. Performing other installation steps.
The install of python was successful.
Software install location not explicitly set, could be in package or
default install location if installer.
Chocolatey installed 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
C:\WINDOWS\system32>choco uninstall python --version=3.8.0 --force
Chocolatey v0.10.15
Uninstalling the following packages:
python
python v3.8.0 (forced)
Skipping auto uninstaller - No registry snapshot.
python not uninstalled. An error occurred during uninstall:
Could not find a part of the path 'C:\ProgramData\chocolatey\lib\python\python.nupkg'.
Chocolatey uninstalled 0/1 packages. 1 packages failed.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Failures

python (exited 1) - python not uninstalled. An error occurred during uninstall:
Could not find a part of the path 'C:\ProgramData\chocolatey\lib\python\python.nupkg'.

If a package uninstall is failing and/or you've already uninstalled the
software outside of Chocolatey, you can attempt to run the command
with -n to skip running a chocolateyUninstall script, additionally
adding --skip-autouninstaller to skip an attempt to automatically
remove system-installed software. This will only remove the packaging
files and not things like software installed to Programs and Features.
If a package is failing because it is a dependency of another package
or packages, then you may first need to consider if it needs removed
as it is typically installed as a dependency for a reason. If you
decide that you still want to remove it, head into
$env:ChocolateyInstall\lib and find the package folder you want
removed. Then delete the folder for the package. This option should
only be used as a last resort.
Context
I use chocolatey for a lot of packages, because it makes things that much easier, but choco fails to uninstall python. It removes the entries from Programs and Features list, but the source code for python is still there as well as entries in the system Path environment.
I have tried different versions of python too (3.7.4, 3.7.0) but with the same result.
I have also tried on a different laptop (with windows 10 too), with the same result.
The installation process appears to be fine, and I can use python, but I cannot uninstall it again.
The reason i explicitly specify which version of python to uninstall is that i have a working 3.7.4 installation that I'd rather not corrupt.
If I omit the "--force" argument the following output is produced:
C:\WINDOWS\system32>choco uninstall python --version=3.8.0
Chocolatey v0.10.15
Uninstalling the following packages:
python
python v3.8.0
Skipping auto uninstaller - No registry snapshot.
python has been successfully uninstalled.
Chocolatey uninstalled 1/1 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
However, the python source code and Path entries are still there:

Your Environment

Package Version used: 3.8.0
Operating System and version: Windows 10
Chocolatey version: 0.10.15

Python 3.8.0 is not uninstalled

Not really surprised, as you only uninstall the meta package (python) and not the actual installation package (python3).
Either pass in -x when uninstalling the meta package, or directly uninstall the python3 package.

How is choco uninstall python --version=3.8.0 only uninstalling the meta package?
Is that really expected behavior?
choco uninstall python -x --version=3.8.0 seems to solve the issue, but it throws a lot of errors:
C:\WINDOWS\system32>choco uninstall python -x --version=3.8.0
Chocolatey v0.10.15
Uninstalling the following packages:
python
[NuGet] 'chocolatey 0.10.15' skipped, because it is in use by 'cmake.install 3.14.0, git.install 2.20.1'.
[NuGet] 'chocolatey-core.extension 1.3.3' skipped, because it is in use by '7zip.install 19.0, git.install 2.20.1, notepadplusplus.install 7.6.1'.
python v3.8.0
Skipping auto uninstaller - No registry snapshot.
python has been successfully uninstalled.
python3 v3.8.0
Running auto uninstaller...
Auto uninstaller failed. Please remove machine installation manually.
Exit code was 1603
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller failed. Please remove machine installation manually.
Exit code was 1603
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller failed. Please remove machine installation manually.
Exit code was 1603
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
Auto uninstaller has successfully uninstalled python3 or detected previous uninstall.
python3 has been successfully uninstalled.
Environment Vars (like PATH) have changed. Close/reopen your shell to
see the changes (or in powershell/cmd.exe just type refreshenv).
Chocolatey uninstalled 2/2 packages.
See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
Warnings:

python3 -  Auto uninstaller failed. Please remove machine installation manually.
Exit code was 1603

How is choco uninstall python --version=3.8.0 only uninstalling the meta package?
Is that really expected behavior?

Yes, as long as the meta package don't have a dependency on a .install/.portable package, then that is expected.

Exit code was 1603

That exit code is usually related to your environment, possibly you got python running so it is locking the python executable, or there are something else locking the files/directory of the python installation.
That is only an assumption from me though.
In the end though, this is one of following things:

Something environment related (IE, your computer)
A bug in the software uninstaller
Something is locking a file/directory

As I mentioned earlier, we don't handle the uninstall directly in the package, but makes use of chocolatey's auto-uninstaller (which then runs the official software uninstaller when it can).
As such, this issue is not package related and I will be closing the issue.


Getting "Contributor License Agreement is not signed yet." when pushing a pull request

Getting Contributor License Agreement is not signed yet. although it already has been.
URL to the linked Repository or Organization
https://github.com/kyma-incubator/reconciler/pull/978
Steps to reproduce the problem

create a PR it asked for

then i click the above [Contributor License Agreement](https://cla-assistant.io/kyma-incubator/reconciler?pullRequest=978), it shows the  License contents , however the CLA is still pending status...

 ---Copyright License. ****
 --- Patent License.

What is the expected result?
Contributor License Agreement is signed.
What happens instead?
contributor License Agreement is not signed yet.
Any other information? (attach screenshot if possible)
Used browser and browser version?
Any other tested browsers/devices(OK/FAIL):
If i click https://cla-assistant.io/, and sign-in with Github and then View my singed CLAs which seems signed in

Hi @lauraanddolay,
the problem is that both the person opening the PR as well as each commiter needs to sign the CLA.
In your case you opened the PR, while the commit (e955808) is associated with @lauraanddola.
You will need to either:

Sign in as @lauraanddola to CLA-assistant and sign the CLA as well
or
Recreate the commits with an email associated to your @lauraanddolay account
or
remove the<EMAIL_ADDRESS>email from @lauraanddola and add it to @lauraanddolay and trigger a recheck.

hi @Shegox, I try to login the @lauraanddola account but it always asked me to input Two-factor authentication but i don't contain that digit numbmer and recovery code, what should i do ?

@lauraanddolay you can try reaching out to GitHub support for Recovering your account if you lose your 2FA credentials
.
If that doesn't work, or you don't want to wait for that. You need to "recreate" your commits with an email which is associated with your current account.
This can normally done using (replace with your actual email):
# Recreate last commit using a different Git author
git commit --amend --author="John Doe<EMAIL_ADDRESS># Force update the branch to overwrite the old commit
git push --force

hi @Shegox , I try to execute below cmds and then reassigned CLA but it seems still pending in https://github.com/kyma-incubator/reconciler/pull/978 ....
$ git commit --amend<EMAIL_ADDRESS>[add_plan_name df73d3b] test cla
 Date: Wed Mar 30 16:32:10 2022 +0800
 1 file changed, 2 insertions(+), 2 deletions(-)
$ git push --force
Enumerating objects: 9, done.
Counting objects: 100% (9/9), done.
Delta compression using up to 12 threads
Compressing objects: 100% (5/5), done.
Writing objects: 100% (5/5), 492 bytes | 123.00 KiB/s, done.
Total 5 (delta 4), reused 0 (delta 0)
remote: Resolving deltas: 100% (4/4), completed with 4 local objects.
To https://github.com/kyma-incubator/reconciler.git
 + e955808...df73d3b add_plan_name -> add_plan_name (forced update)

<EMAIL_ADDRESS>is associated with @lauraanddola. You need to use one of the emails listed in https://github.com/settings/emails

hi @Shegox https://github.com/settings/emails contains<EMAIL_ADDRESS>and it reported error , what should i do ? thanks.
git commit --amend<EMAIL_ADDRESS>fatal: --author<EMAIL_ADDRESS>is not 'Name <email>' and matches no existing author

This command should work, you need to provide both a name and in <email> an email:
git commit --amend --author="Laura Dong<EMAIL_ADDRESS>

hi @Shegox finally it works and many thanks.

Great 👍
You should anyway go ahead and open a ticket with GitHub to either recover your old account. Or, if that doesn't work, get your SAP email removed from that account, so you can add it your current account to avoid this problem in the future.
I'm going ahead and close this issue for now.


Support root squash

Add an option --root-squash=str to map root user (uid = 0) to another one.
The accepted formats of str are:

uid:gid: map root user to the uid/gid as specified
uid: map to specified uid and anonymous gid
:: map to anonymous uid/gid

The anonymous uid/gid should be that of nobody and nogroup, or 65534 if they are missing.

ref #2419


Use go mods

Switch to go modules
We were using glide for package management, This pr replaces glide with go modules also removes the unnecessary vendors but still keeps the gensupport package as vendor as that package was dropped off from golang.org but our project still uses it.
How to use
run make all to build the project
Testing done
Tested the project by pinging the Nebraska server with the generated build of the updateservicectl cli
To run that test i used
./updateservicectl instance fake --clients-per-app
=500 --min-sleep=1 --max-sleep=50 --app-id=e96281a6-d1af-4bde-9a0a-97b76e56dc57 --group-id=beta --version=1.0.0

fixes #1

Thanks for the PR. I am ok with using go mods.
However, the base branch should be flatcar-master instead of master.
Sorry, I have not noticed, the base branch has been set to master until now.
I have just set the default branch to flatcar-master, so further PRs should be automatically based on flatcar-master.

@dongsupark updated the base branch for this pr


BookInfo with Consul: can't access productpage

Desc

according to bellowing bookinfo guide , used 0.4.0 release to Linux on VM
https://istio.io/docs/setup/consul/quick-start.html
https://istio.io/docs/guides/bookinfo.html#running-on-docker-with-consul-or-eureka
since install/consul lacks the kubeconfig file, i added https://raw.githubusercontent.com/istio/istio/master/install/eureka/kubeconfig into /install/consul/kubeconfig folder

command: ["discovery", "-v", "2",
              "--registries", "Consul",
              "--consulserverURL", "http://consul:8500",
              "--kubeconfig", "/etc/istio/config/kubeconfig/kubeconfig"
              ]

istio/pilot:0.4.0 is started

Error

the result is 000 when execute

curl -o /dev/null -s -w "%{http_code}\n" http://${GATEWAY_URL}/productpage

found productpage debug logs:

ERROR: logging before flag.Parse: I0124 07:48:18.651098       6 main.go:70] Version<EMAIL_ADDRESS>ERROR: logging before flag.Parse: I0124 07:48:18.657131       6 main.go:84] Obtained private IP <IP_ADDRESS>
ERROR: logging before flag.Parse: I0124 07:48:18.660763       6 main.go:114] Error retrieving availability zone from pilot: Get http://istio-pilot:15003/v1/az/productpage-v1/sidecar~<IP_ADDRESS>~<IP_ADDRESS>.service.consul~service.consul: dial tcp <IP_ADDRESS>:15003: getsockopt: connection refused
ERROR: logging before flag.Parse: I0124 07:48:18.660810       6 main.go:124] Proxy role: proxy.Node{Type:"sidecar", IPAddress:"<IP_ADDRESS>", ID:"<IP_ADDRESS>.service.consul", Domain:"service.consul"}
ERROR: logging before flag.Parse: I0124 07:48:18.661144       6 main.go:184] Effective config: binaryPath: /usr/local/bin/envoy
configPath: /var/lib/istio
connectTimeout: 1.000s
discoveryAddress: istio-pilot:15003
discoveryRefreshDelay: 1.000s
drainDuration: 2.000s
parentShutdownDuration: 3.000s
proxyAdminPort: 15000
serviceCluster: productpage-v1
zipkinAddress: zipkin:9411
ERROR: logging before flag.Parse: I0124 07:48:18.661172       6 main.go:201] Monitored certs: []envoy.CertSource{envoy.CertSource{Directory:"/etc/certs/", Files:[]string{"cert-chain.pem", "key.pem", "root-cert.pem"}}}
ERROR: logging before flag.Parse: I0124 07:48:18.661402       6 agent.go:164] Starting proxy agent
ERROR: logging before flag.Parse: I0124 07:48:18.661481       6 agent.go:186] Received new config, resetting budget
ERROR: logging before flag.Parse: I0124 07:48:18.661491       6 agent.go:261] Reconciling configuration (budget 10)
ERROR: logging before flag.Parse: I0124 07:48:18.661511       6 agent.go:281] Epoch 0 starting
ERROR: logging before flag.Parse: I0124 07:48:18.661543       6 config.go:49] writing configuration to /var/lib/istio/envoy-rev0.json
{
  "listeners": [],
  "lds": {
    "cluster": "lds",
    "refresh_delay_ms": 1000
  },
  "admin": {
    "access_log_path": "/dev/stdout",
    "address": "tcp://<IP_ADDRESS>:15000"
  },
  "cluster_manager": {
    "clusters": [
      {
        "name": "rds",
        "connect_timeout_ms": 1000,
        "type": "strict_dns",
        "lb_type": "round_robin",
        "hosts": [
          {
            "url": "tcp://istio-pilot:15003"
          }
        ]
      },
      {
        "name": "lds",
        "connect_timeout_ms": 1000,
        "type": "strict_dns",
        "lb_type": "round_robin",
        "hosts": [
          {
            "url": "tcp://istio-pilot:15003"
          }
        ]
      },
      {
        "name": "zipkin",
        "connect_timeout_ms": 1000,
        "type": "strict_dns",
        "lb_type": "round_robin",
        "hosts": [
          {
            "url": "tcp://zipkin:9411"
          }
        ]
      }
    ],
    "sds": {
      "cluster": {
        "name": "sds",
        "connect_timeout_ms": 1000,
        "type": "strict_dns",
        "lb_type": "round_robin",
        "hosts": [
          {
            "url": "tcp://istio-pilot:15003"
          }
        ]
      },
      "refresh_delay_ms": 1000
    },
    "cds": {
      "cluster": {
        "name": "cds",
        "connect_timeout_ms": 1000,
        "type": "strict_dns",
        "lb_type": "round_robin",
        "hosts": [
          {
            "url": "tcp://istio-pilot:15003"
          }
        ]
      },
      "refresh_delay_ms": 1000
    }
  },
  "tracing": {
    "http": {
      "driver": {
        "type": "zipkin",
        "config": {
          "collector_cluster": "zipkin",
          "collector_endpoint": "/api/v1/spans"
        }
      }
    }
  }
}ERROR: logging before flag.Parse: I0124 07:48:18.662196       6 watcher.go:270] Envoy command: [-c /var/lib/istio/envoy-rev0.json --restart-epoch 0 --drain-time-s 2 --parent-shutdown-time-s 3 --service-cluster productpage-v1 --service-node sidecar~<IP_ADDRESS>~<IP_ADDRESS>.service.consul~service.consul --max-obj-name-len 189]
ERROR: logging before flag.Parse: W0124 07:48:18.662319       6 watcher.go:165] watching /etc/certs/ encounters an error no such file or directory
[2018-01-24 07:48:18.969][13][warning][main] external/envoy/source/server/server.cc:157] initializing epoch 0 (hot restart version=9.200.16384.256)
[2018-01-24 07:48:20.255][13][warning][main] external/envoy/source/server/server.cc:344] starting main dispatch loop
[2018-01-24 07:48:20.258][13][warning][main] external/envoy/source/server/server.cc:328] all clusters initialized. initializing init manager
[2018-01-24 07:48:20.262][13][warning][config] external/envoy/source/server/listener_manager_impl.cc:448] all dependencies initialized. starting workers
[2018-01-24 07:48:23.259][13][warning][main] external/envoy/source/server/drain_manager_impl.cc:62] shutting down parent after drain

did i miss something?  is there any solution can resolve this
thanks!

Yes that was it.

@lzyowen did those fixes work?  You should also be able to install istio version 0.5.1 or later to resolve that issue

closing until more info is provided


Read templates from and to directories

Closes #27.
Closes #29.
Will need to update the changelog.
This change requires developers to put their templates into a folder (default .kube/). As a result, they can create a file for each resource (like deployment.yml, service.yml) if they find one file become too large.
The other change this brings is that instead of rendering the templates to /tmp, this writes them to a folder in the workspace/working directory (default .kube-out/). The goal is to be able to upload them to GCS or somewhere.
I'm not sure if the default should remain as /tmp.

I believe this will also be helpful for those with large kubernetes configurations (with multiple resources like configmaps that can span a lot of lines, but are infrequently changed).

PTAL @yunzhu-li @balser