'wash up' throws the error on wadm

⡂⠀  Starting wadm ...
🟨 Couldn't download wadm v0.4.0: Failed to retrieve file from archive, ensure wadm exists. Original error: unexpected end of file

--
wadm is installed as below
$ wadm -V
wadm 0.4.0

Thanks @brooksmtownsend, for the quick revert.  The requested details are enclosed.  As part of the TM Forum Catalyst project (WebAssembly Cloud), we were trying to setup a Pi4 cluster for POC.  This is our first encounter with wasmCloud, so please bear with us.
PRETTY_NAME="Raspbian GNU/Linux 11 (bullseye)"
NAME="Raspbian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=raspbian
ID_LIKE=debian

I can see all the installation was successful without any error.  Moreover, wadm is working when tried directly from the prompt.  So not suspecting it as a download issue.  Just my thoughts.

@gkumarm not at all, thanks for giving me that info. Looks like I wasn't able to reproduce on my raspberry pi, and that code seems to come from fetching an entry from the tarball rather than trying to look for the binary or extract it 🤔
So, now that wadm is installed properly, do you still get the warning on wash up?

@brooksmtownsend, wadm was installed at first as well.  Please see below the output from wadm.  I assume from that wadm is successfully installed.
pi@GKM-RBPi4-01:~/gkm/wasmc $ wadm
RUST_LOG was not set or the given directive was invalid: FromEnvError { kind: Env(NotPresent) }
Defaulting logger to `info` level
2023-07-07T14:43:59.580579Z  INFO async_nats::options: event: connected

Below is the exact output of wash up
pi@GKM-RBPi4-01:~/gkm/wasmc/wasm-game-of-life $ wash up
>>> ⠅⠀  Starting wadm ...
🟨 Couldn't download wadm v0.4.0: Failed to retrieve file from archive, ensure wadm exists. Original error: unexpected end of file

Failed to download wasmCloud host from https://github.com/wasmCloud/wasmcloud-otp/releases/download/v0.63.1/wasmcloud_host_arm_linux_gnu. Status code: 404 Not Found
pi@GKM-RBPi4-01:~/gkm/wasmc/wasm-game-of-life $

One last thing, can you run "uname -a"? Or you can just answer, is this actually a 32bit raspberry pi?

HYG
pi@GKM-RBPi4-01:~/gkm/wasmc $ uname -a
Linux GKM-RBPi4-01 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

@gkumarm I'm not able to reproduce this issue, would you mind installing wash as version 0.18.1 if you weren't there already and giving it another shot?
If all else fails, you can simply download the binary to the proper directory for wasmcloud. It seems like your architecture is getting interpreted by wash as arm instead of aarch64 which was why I was thinking your RPI was an arm32 machine 🤔
mkdir -p $HOME/.wash/downloads/v0.63.1
curl -fLO https://github.com/wasmCloud/wasmcloud-otp/releases/download/v0.63.1/host_core_aarch64_linux_gnu
chmod +x host_core_aarch64_linux_gnu
mv host_core_aarch64_linux_gnu $HOME/.wash/downloads/v0.63.1

Thanks @brooksmtownsend for the feedback.  We managed to proceed by switching to ubuntu.  it is working fine now.  Thanks indeed for your support.


Result contain few "0" chaos/ex item which didn't exist in trade

https://imgur.com/a/ozDUNNQ
I check on the both online & offline, contains on result with 0 chaos
here's the item I search on the market
Rarity: Rare
Sorrow Locket
Amber Amulet
--------
Requirements:
Level: 67
--------
Item Level: 85
--------
+25 to Strength (implicit)
--------
+48% to Lightning Resistance
+6 Life gained on Kill
6% chance to gain a Power, Frenzy or Endurance Charge on Kill
22% increased Elemental Damage with Attack Skills
--------
Hunter Item

I could not reproduce the issues but i've added some checks to prevent this. Thanks for reporting!


Clearing data when the user logs out

If I logout the store keeps all the auth data, this memory can be cleaned by default?

Good catch.  Yeah that probably should be a configurable default.

Maybe I can help with this?

I'm struggling with the same problem !
Do you have any workaround ?

Maybe this can help? https://forum-archive.vuejs.org/topic/4365/restore-state-item-to-initial-value/7

A workaround that would be quite simple would be to do a full redirect after logout.

I like that solution, thanks.

Thanks for the link, too.  I think that will help me implement a fix without a redirect.

For the moment I'm doing this
logoutRedirect() {
	// Force vuex reset with $router.go
	this.logout().then(() => this.$router.go({ name: 'Login' }))
},

On the readme there is a mutation called 'clearAll', I can use this for clearing a service right?
How I can call this method?

@ellipticaldoor you can get access to it using the mapMutations helper:
import { mapMutations } from 'vuex'

export default {
  methods: {
    ...mapMutations('todos', [
      'clearAll', // lets you do `this.clearAll()` inside the component
    ]),
    ...mapMutations('todos', {
      clearTodos: 'clearAll' // lets you do `this.clearTodos()` inside the component
    })
  }
}

@marshallswain works fine for me! should I close this issue?

Not yet.  I'll be looking at ways to wipe out all data on logout, so it doesn't have to be wired up manually.  Thanks!

Any updates on this?

Not yet.  Building towards an update.  Damn house got flooded and stole my entire vacation.  😢

When using nuxt.js it keeps all the data in the server, it even authenticates.

@DaviTeodoro could you expound on that a bit?  I think you might be saying that the cookie is not getting deleted on logout so you still appear as logged in when you refresh?

@marshallswain it is strange. I dont know yet what is happening, but I think it's a problem with the feathersVuex. If I log in and then log out the server seems to keep all the data. Later on, If I refresh the page the app authenticates the last user for a second then log him out. Inspecting the vueStore it looks like there is a "base state" with all the data, even the auth data from the last user. More strange yet is the fact that this information seems to come from the server.
If you dont mind to take a look in the screnshot I took, you can see the "baseState" with the auth information, it also has a errorOnAuthenticate object that says it can't login properly, because, in fact, there is no cookie, so it beggins the auth/logout mutation.
The screenshot: https://imgur.com/a/nIREB

Do you have any vuex backup plugin?

On Oct 22, 2017, at 7:17 PM, Davi Teodoro<EMAIL_ADDRESS>wrote:
@marshallswain https://github.com/marshallswain it is strange. I dont know yet what is happening, but I think it's a problem with the feathersVuex. If I log in and then log out the server seems to keep all the data. Later on, If I refresh the page the app authenticates the last user for a second then log him out. Inspecting the vueStore it looks like there is a "base state" with all the data, even the auth data from the last user. More strange yet is the fact that this information seems to come from the server.
If you dont mind to take a look in the screnshot I took, you can see the "baseState" with the auth information, it also has a errorOnAuthenticate object that says it can't login properly, because, in fact, there is no cookie, so it beggins the auth/logout mutation.
The screenshot: https://imgur.com/a/nIREB https://imgur.com/a/nIREB
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/feathers-plus/feathers-vuex/issues/10#issuecomment-338524609, or mute the thread https://github.com/notifications/unsubscribe-auth/AAH3WaBn3UVSP8rBb_UXwQAVHHYh8zZ3ks5su-ksgaJpZM4NR16M.

No @marshallswain , I dont have any. Or if I do I didn't know. I'm using the template used in this article https://blog.feathersjs.com/ssr-vuejs-app-with-feathers-and-nuxt-bb7dfd3e6397

Any news @marshallswain ?
Thanks!

I will post news when there is some.
On Sat, Jul 7, 2018 at 5:45 PM Ricardo Polo<EMAIL_ADDRESS>wrote:

Any news @marshallswain https://github.com/marshallswain ?
Thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/feathers-plus/feathers-vuex/issues/10#issuecomment-403250214,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAH3WeeifI7Y5TSGb-NXwEdFNt8H9GxWks5uEUgEgaJpZM4NR16M
.

For now I'm doing this:
        methods: {
            handleLogout (change) {
                if (change.key === 'feathers-jwt') {
                    location.reload();
                }
            }
        },
        mounted () {
            window.addEventListener('storage', this.handleLogout);
        },
        unmounted () {
            window.removeEventListener('storage', this.handleLogout);
        }

Simple and effective. Please let me know if there's a better way.


Update Jest to v24.9.0 (#1084)

This also resolves #1115, the npm audit failure, since the v23 jest
continues to depend on the old version of braces.
Incidentally, it also enables Jest v24 project autoconfiguration
support in Razzle apps.

👍 would be great to get it merged! @jaredpalmer


Click-Through Rate Prediction with Machine Learning

Proposed article title
Click-Through Rate Prediction Model with Python
Proposed article introduction
In any advertising agency, it is needful to predict the most profitable users who are very likely to respond to targeted advertisements. In this article, I’ll take you through how to train a model for the task of click-through rate prediction with Machine Learning using Python.
By predicting the click-through rate, an advertising company select the most potential visitors who are most likely to respond to the ads, analyzing their browsing history and showing the most relevant ads based on the interest of the user. In thid article you will get to learn steps to follow to do that.
Key take aways

Creation of a model.
Deployment of an imported dataset for this task.

Article quality.
Since not all business men and women are computer experts, in this article, I will explain my steps in such a way that even a computer novice can understand. I'll will also introduce a dataset which will easen our task.
Reference
Techviral.com

Hello @Wazecky - Your introduction paragraph seems to be paraphrased from this article. How is your article going to be different?

I'll make my introduction to be more appealing, explained with some base
and create more avidity for the reader.
On Mon, Dec 20, 2021, 8:09 PM Peter Kayere @.***> wrote:

Hello @Wazecky https://github.com/Wazecky - Your introduction paragraph
seems to be paraphrased from this article
https://thecleverprogrammer.com/2021/01/24/click-through-rate-prediction-with-machine-learning/.
How is your article going to be different?
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/5643#issuecomment-998114619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWTP5VJKRMBHP6OWW7S3TRDUR5PLLANCNFSM5KJEBKDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/issues/5643/998114619
@github.com>

My article will aslo entail a clear view of what a Click Through Rate
Prediction is, its applications, priorly show and explain abit on the steps
and finalize by pratically expounding on the steps using python.
On Mon, Dec 20, 2021, 8:16 PM Alvan Wazecky @.***> wrote:

I'll make my introduction to be more appealing, explained with some base
and create more avidity for the reader.
On Mon, Dec 20, 2021, 8:09 PM Peter Kayere @.***>
wrote:

Hello @Wazecky https://github.com/Wazecky - Your introduction
paragraph seems to be paraphrased from this article
https://thecleverprogrammer.com/2021/01/24/click-through-rate-prediction-with-machine-learning/.
How is your article going to be different?
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/5643#issuecomment-998114619,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWTP5VJKRMBHP6OWW7S3TRDUR5PLLANCNFSM5KJEBKDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/issues/5643/998114619
@github.com>

Hello @Kayere.
I would want to know your final feedback.

Hello @Kayere, I would wish to know your feedback.
Thank you

@section-engineering-education/content-moderator-team
Does this issue require any attention
cc @Kayere
cc @Wazecky
Otherwise we can close it

I was asked a question by @Kayere, I answered his question but till then I
haven't been given a go ahead.
On Mon, Jan 31, 2022, 7:18 PM hectorkambow @.***> wrote:

@section-engineering-education/content-moderator-team
https://github.com/orgs/section-engineering-education/teams/content-moderator-team
Does this issue require any attention
cc @Kayere https://github.com/Kayere
cc @Wazecky https://github.com/Wazecky
Otherwise we can close it
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/5643#issuecomment-1025955520,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWTP5VPA4GT7VILPOEEUQ53UY2Y5BANCNFSM5KJEBKDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/issues/5643/1025955520
@github.com>

I think it is okay - Please proceed @Wazecky.

Fine.
On Tue, Feb 1, 2022, 4:43 PM Peter Kayere @.***> wrote:

I think it is okay - Please proceed @Wazecky https://github.com/Wazecky.
—
Reply to this email directly, view it on GitHub
https://github.com/section-engineering-education/engineering-education/issues/5643#issuecomment-1026857729,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AWTP5VPATEIC5EYTJDLOQY3UY7POXANCNFSM5KJEBKDA
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
<section-engineering-education/engineering-education/issues/5643/1026857729
@github.com>


Update changelog for alpha.10

/cc @PowerShell/powershell-maintainers
Resulting merge commit should be v6.0.0-alpha.10 tag.

Hi @andschwa, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

It looks like you're a Microsoft contributor (Andy Schwartzmeyer). If you're full-time, we DON'T require a Contribution License Agreement. If you are a vendor, please DO sign the electronic Contribution License Agreement. It will take 2 minutes and there's no faxing! https://cla.microsoft.com.

TTYL, MSBOT;

Actually, I'd posit that we tag the tip of master currently. Then build and post packages and merge this (along with documentation updates for version name).

Installed x64 Win10 MSI.

Cc @daxian-dbw
We may need to re-create this msi and maybe other packages.
We should add a check for that in Starr-PSPackage.

Ah, it's probably because I had to change Get-PackageVersionAsMajorMinorBuildRevision in build.psm1 to get the right version before running Start-PSPackage.

Ha, it's not the first time that's happened. Since the PSVersionTable does just read from a file, you can modify powershell.version in the publish directory and overwrite the GitCommitId not have -dirty. Kind of cheating but sometimes necessary.

I have uploaded new .msi and .zip packages that fix the GitCommitId. But they are not digitally signed :(


child_categories should be fetched

If you have:
    mel = Mercadolibre::Api.new({ ... })
    mel.get_category("MLC1430").children_categories

you get an array of Mercadolibre::Entity::Category
But this categories have only name and id (doesn't have settings or children_categories)
Would be nice to have a fetch method like mel.get_category("MLC1430").children_categories.last.fetch which calls the api and gets all the info of this Category (including his childrens).
I didn't made a pull request because calling the api from the Category entity was a bit strange...
¿what do you think?

I'm sorry for seeing this so late but the idea is to show you the main categories and when you go deeper in a category, you can fetch children categories calling get_category method. This is just a library to connect to meli API, you could build a class embedding this functionality and putting the fetch method there.
Kind regards.


Add selected features to minimap

This is a work in progress for #5415
It simply copies any selected features from the main map and replicates them on the minimap. The styles etc are all maintained (which will require some editing most likely as it can look a bit cumbersome, but that can all be fixed)
Multiple features can be selected and they'll all be replicated on the minimap without an issue.
Todo:

Modify styles so they are less intrusive
Add breathing (i.e. red pulsing on selected features) to minimap features (?)
Improve styling of Point markers (currently a plain red dot - maybe better if its a small black dot with breathe effect)
Improve relation/area selections (either a big red blob or a thin line atm)

Note that this doesn't fix the selection dropping when the selection is dragged off the screen. I'm looking into sorting that, but its not too easy!

It might be worth gathering some suggestions for styling too, and whether the entire feature should be drawn, or whether it should just be a dot at the centre point of the feature for example.

I wouldn't use any halo or even breathing.
The entire feature should be drawn, a centerpoint can be quite confusing.
The width of the yellow line on the minimap seems to be fine.
Selected features can easily get overlapping on the minimap due to a different zoom levels. Therefore, do not use feature type specific styles.
I'd use four colors/styles:

Members of selected relations
Selected ways
Selected nodes
Selected features, which are hovered on the main map or on a sidebar list.

Yes, along the lines of what @slhh said - I would avoid extensive map styling here too.  A simple stroke is enough to show it on the minimap.
I also noticed you're doing a lot of code to generate the GeoJSON that gets displayed.  Each of the entity types node, way, and relation has a .asGeoJSON() function.  So could you just do something like:
var resolver = context.graph();
var features = context.selectedIDs()
    .map(context.entity)
    .map(function(entity) { return entity.asGeoJSON(resolver); });

var gj = {
    type: 'FeatureCollection',
    features: features
};
...


Primary and Secondary buttons have different padding when icons are involved

Describe the bug
It's in the title: the padding on buttons with icons is different. Makes it difficult if you want to have two inline buttons next to each other, one with an internal link, one with an external one.
To Reproduce
Steps to reproduce the behavior:

Go to localhost:8000/en
Click on Look at the two buttons on the home page, above the fold
See error

Expected behavior
Inline buttons should always be perfectly aligned.
Screenshots

Desktop (please complete the following information):

OS: Ubuntu
Browser: Firefox
Version: 86.0.1

Completed by #19


Feed overloading the container, even when throttling is employed

Describe the bug
Feeding overloads the container due to slow regex matching in optimaize linguistics library, coupled with retries of problematic documents.
To Reproduce
Feed any large string which matches the first part of optimaize's private static final Pattern MAIL_REGEX = Pattern.compile("[-_.0-9A-Za-z]+@[-_0-9A-Za-z]+[-_.0-9A-Za-z]+");, but has no @ in it. This triggers quadratic complexity. A string of ~100k takes ~1 min to (not) match.
When this is done with retries in the feed client, the container node may become overloaded for a long period of time, as the client retries the same document even while it is still being processed.
Expected behavior
Feeding long strings should not cause the container to overload.
Vespa version
7.503.19

Several things we could do:

Make PR to optimaize to limit the length of the email to 256 characters. Longer ones aren't valid anyway.
Consider guarding against such behaviour. Really the job of the linguistics library, though.
Reconsider retry mechanisms for operations which time out.

fixes this particular problem, as the other regex behaviour in this class is fine.

Adding a negative lookbehind with one of the characters from the first part of the pattern also solves this, and is faster. It's also a pure optimisation, which doesn't alter the behaviour of the replaceAll. Will make a PR with this change, and see how that goes.

Hmm I'm afraid the library isn't maintained anymore, though: https://github.com/optimaize/language-detector

Looks like we should switch to https://github.com/pemistahl/lingua

That one looks convincing. I'd be happy to work on this.

Great!

I've been using lingua for another part of my project, and it has been working well for that.  That said, I haven't done any performance testing, so I can't speak to what impact this replacement would have overall in Vespa.

#20568 changes to the OpenNLP detector, with a patch for the mail regex, which is also present there. I also made https://github.com/apache/opennlp/pull/399 for a fix in the OpenNLP project, but I don't know how long we would have to wait for that to be released.
Lingua was not a good option due to it using "all available cores" for each prediction; this is fine on "my machine", but not the type of code we want running in a server. It was also considerably slower than optimaize. With tuning, OpenNLP looks to be as fast as optimaize was, and more accurate.

In the end, using OpenNLP for langdetect was a bit slower (~25% e2e), but we just had to accept this. I also patched some unnecessarily slow code used for ngram extraction in OpenNLP, but haven't made a PR for this. The newest Vespa releases should have these fixes.


A few ergonomic additions for dealing with conditional rendering

The addition of maybe for elements is a slightly breaking change, as it shadows maybe for Prop. It's a very low effort fix though.
Another ergonomic addition I've considered is making the attributes optional with an ~a labeled argument, as in tyxml, and the addition of short-hand labeled arguments for id and className attributes, as I've noticed that I very rarely use any attributes other than className, which is used quite often. But I'm thinking it might be better to keep the DSL simple and add a ppx layer for even better ergonomics instead without any runtime cost.

I just realized that React.null exists, and should probably be copied to the DSL. null seems like a pretty bad name though, unless you want to optimize for familiarity with JavaScript's null. So not sure if it should be 'none' or 'null' in the DSL.


Sprint about page

The PR integrates CSS into the about page.

Timi You did great job on todays sprint challenge. Your code is clean and concise. You reached the MVP without any trouble . Your layout resembles design files.

General overview:

Great answers
MVP reached
Clean codebase
Fluid git workflow

In the future projects try and work only from 1 branch, only if its necessary create more

Amazing job overall


Youtube Music Playlists

How do I play a playlist from youtube music?

You can't because bot using discord-player with yt-search but yt-search dose not support youtube music api.


On changing username or uploading a profile picture the form exists even when there is an error

I had to use dev tools to figure out why my the new username was not saving on the general settings app and the image although looks like its updated also wasn't saving. That can be attributed to the username not saving.
A good idea for UI might be to confirm that the picture has been uploaded and then saved. For the username it would be good to see the error before it exists to the screen.

Could you list out the steps you took to hit this error?


Merge zsa-issued-assets into zsa-integration-consensus with bug fixes

This pull request integrates the zsa-issued-assets branch into the zsa-integration-consensus branch by creating a new zsa-integration-state branch based on zsa-integration-consensus.
The zsa-issued-assets branch was merged into zsa-integration-state, during which all merge conflicts were resolved, and compilation errors were fixed to ensure the code builds successfully.
Additionally, several bugs introduced by the zsa-issued-assets branch were identified and addressed using the newly implemented zebra-consensus check_zsa_workflow unit test from the zsa-integration-consensus.

This looks good, thank you for catching the mistake around converting negative i128s to u64s.
I addressed some of the FIXMEs added here in #32 after adding the RPC method. I'm happy to remove the issued_assets_change field on SemanticallyVerifiedBlock and get the changes from block transactions directly valid_burns_and_issuance() and prepare_issued_assets_batch(), the current code there is needlessly complicated (was this the simplification you were asking about during the Qedit-ZF sync?)

Great, thanks @arya2. Regarding the simplification I mentioned, my main idea was to reuse our work from the orchard crate, such as the burn validation I referred to earlier here, and also the AssetSupply type (supply_info.rs - it's very similar to your AssetState). But, about AssetSupply, after discussing it with @PaulLaux, it seems that removing it from orchard in favor of the AssetState functionality you implemented in Zebra might be preferable.


how to view the status of a Scheduled Task

I have referenced teh microsoft.win32.taskscheduler, bersino n1.6.4141.23964 runtime version v2.0.50727.
I am able to return the name of the Scheduled tasks, is there a way to return the task status ie "could not start"
Originally posted: 2011-06-20T07:24:36

There are a couple of properties on the Task object that may give you what you want. Task.State will indicate the current state of the registered task and Task.LastTaskResult will give you the return code from the last execution.
Originally posted: 2011-06-20T10:14:28

If a task is not running i am unable to gather any information about those tasks.
the only operation i can get to loop though the list of tasks is there any other way to
return Name and status (task.lasttaskresult)
foreach (RunningTask rt in ts.GetRunningTasks(false))
{
}
I have tried a foreach (task t in ts.gettask)
but get an error task does not contain a public definition for getenumerator
Originally posted: 2011-06-20T10:35:49

foreach (Task t in ts.RootFolder.Tasks)
{
Console.WriteLine("{0}: {1}", t.Name, t.LastTaskResult);
}
Just as a reminder, under Windows Vista and later there are multiple subfolders below the root. You may need to recurse the ts.RootFolder and find the subfolders. There is an example at http://taskscheduler.codeplex.com/wikipage?title=Examples. In the Documentation area of this site, there are a number of examples on how to use the various parts of the library.

Thanks.
is there a list of what the lasttaskrusults are?
Originally posted: 2011-06-20T12:39:39

Please see the discussion at http://taskscheduler.codeplex.com/discussions/231339.
Originally posted: 2011-06-20T15:22:00


[Core] Removes mixins/controllable.js (again)

:angry: :angry: :angry: :angry:
Not sure how I missed this. I removed the mixin in #2889 and accidentally "added" it back in #2886. The two PRs were opened and merged around the same time, probably missed a rebase. Sorry!

It's sill used by src/menus/menu.jsx and src/tabs/tabs.jsx.

The rebase was wrong here: https://github.com/callemall/material-ui/pull/2886

The rebase was wrong here: #2886. Could you fix it?

Yeah geeze it was missing the most important changes. This must have been broken in src for a while because somehow the changes to mixin/index.js made it in.

It was also messing with the autoprefixer on the Slider component.

I'll look into this now.

@oliviertassinari

It was also messing with the autoprefixer on the Slider component.

Actually, I'm not sure if I'm seeing the issue you're having/seeing. What is happening exactly?

I'll look into this now.

@newoga Awesome. thanks.

What is happening exactly?

-    AutoPrefix.set(body.style, 'userSelect', value);
+    body.style['user-select'] = value;
+    body.style['-webkit-user-select'] = value;
+    body.style['-moz-user-select'] = value;
+    body.style['-ms-user-select'] = value;
+    body.style['-o-user-select'] = value;

@oliviertassinari Oh oh, I see what you mean now. Thanks!

It's from https://github.com/callemall/material-ui/pull/2887.

@oliviertassinari Okay thanks, fix is at #3056

@newoga Perfect! Let's merge again :palm_tree:.


awesome repo

it's amazing repo. please hold on.
And I share this with more and more people, attacting they fork and start!

Awesome!!


Using callbacks

Is there a better way to utilize callbacks other than async.waterfall([])?
I need to archive rows of data after the envelope is made and sent, and there doesnt seem to be a documented way that doesnt use async.waterfall that actually works.

It's up to you. It's matter of code style. I suggest using Promises: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise

That doesnt answer my question on how to implement it.
I understand what a promise is, but what's an example of a promise being used with docusign?

@ECDonelson I haven't tried it but Promisification, using a library like Bluebird, could help use this SDK methods as promises. See http://bluebirdjs.com/docs/api/promisification.html


API method to prepare Flash object for removing

When inserting and removing MediaElement dynamically, there is a problem in at least IE8 that Flash object continues to call ExternalInterface JS functions which in turn try to refer the corresponding DOM Element by its id. As soon as the DOM Element is detached, getElementById fails and IE8's ExternalInterface JS functions throw 'null is not an object' errors at each sendEvent from Flash.
So, there is a need to tell Flash object to stop calling JS functions. There should be some 'destroy' API method to fix this issue.

$('object').remove(); worked for me, but looks like an ugly hack.
Can you please incorporate sfwobject fix into medialement.js, please?
I've spent several hours before fixing it myself. Symptoms were:
Prior IE8:

IE8:

coagulant -- where did you apply your hack? i am loading inline videos with a colorbox & my debugger [IE8] is throwing a "node is null & not an object" error -- I think that this is due to the issue stated above, my player being unable to reinitialize in the colorbox.

I was using colorbox jquery plugin, so I've put this code in cbox_cleanup callback just before the colorbox is removed from DOM on close.

I'm using the colorbox module for drupal & displaying my videos as inline content -- and they are turning up, but the controls don't work [hence the error being thrown] -- can't figure out how to bypass it. I'm confused; are you able to initialize the player properly on cbox_open?

I'm creating new MediaElement in onComplete callback. Works fine for me. The key point is to remove flash object correctly

I'd love to see an example of your implementation, if possible. I've been
stuck on this for a few days.

are you sure you placed it in the OnComplete callback? I feel like all the
elements get loaded before the script can fire. Also, how did you link to
your content & trigger the colorbox? If it was an inline div, did you use a
containing div as a selector, or the video/player ID?

Sorry, I can't publish the code.

I was thinking more of an idea as to how you built your URL. Most people can't publish their commissioned code, I understand.

I'm finally getting around to adding this to the core project. Hopefully it'll show up in a minor release later this week.

In 2.4.1, you can call the remove() method on the player object or the media object
var player = new MediaElementPlayer('#player', {
	success: function(media, node) {
	}
});

$('#remove-player').click(function() {
	player.remove();
});

This is awesome, John. Thank you.


E2E tests not working if page contains Lottie file.

We are facing an issue with E2E Tests. E2E tests are not executed successfully, if page have Lottie file.
We have created this repository to replicate the issue easily. Repository
using package.json dependencies:
"e2e": "npm run e2e-update && npm run e2e-test",
"e2e-ci": "npm run e2e-update && npm run e2e-test --single-run",
"e2e-test": "protractor ./test-config/protractor.conf.js",
"e2e-update": "webdriver-manager update --standalone true --gecko true"

"devDependencies": {
    "@ionic/app-scripts": "3.2.1",
    "@types/node": "^12.0.2",
    "@types/jasmine": "^2.8.9",
    "connect": "^3.7.0",
    "jasmine": "^3.4.0",
    "jasmine-spec-reporter": "^4.2.1",
    "protractor": "^5.4.2",
    "ts-node": "^8.1.0",
    "typescript": "~2.6.2"
  },

 "protractor-jasmine2-screenshot-reporter": "^0.5.0",
 "ionic-angular": "3.9.3",
 "ng-lottie": "^0.3.2",
 "rxjs": "5.5.11",

Same here. Protractor tests are stopping. Have someone dealt with it?


Menubar TOC container structure

At some point, the design for the menubar TOC was changed.
In the previous version, the menubar TOC was part of the main header, and always spanned the full width of the screen.
In the current version, the menubar TOC is in a separate div that has class="container". This means that the menubar is never the full width of the screen, since even at smallest screen sizes there's some margin applied:

And on desktop screen sizes the margin is naturally much larger.
Additionally, since the menubar TOC is in a plain container and the page content is in a container-xxl, the different components do not align at all screen sizes.
POSSIBLE SOLUTION:
Remove the container class from the first wrapping div, and add a new div with container-xxl between the navbar and ul components (meaning that the ul is placed inside that new div).
Or, if this is intentional, please disregard. :)

@lakokkonen Good catch. The container was indeed changed to XXL in #130 for #89, and it looks like we forgot to adapt the menubar ToC submenu accordingly.


[Bug]: The length of the operator node sorting tab is inconsistent with the design draft

ODC version
odc431
OB version
ob424
What happened?

What did you expect to happen?

How can we reproduce it (as minimally and precisely as possible)?
Execute SQL, click on the execution profile, select the operator node, and perform a dropdown sorting
Anything else we need to know?
No response

Fixed In Commit b8310dbf525090e447de8ab108fba352e21af1e0
------
畅晚
Mon Jul 8 09:36:58 2024 +0800

The problem still exists after selecting the option below


Refactoring for a restrictive environment

Currently I'm working in a restrictive environment and would like to use kboom to perform some benchmarks in our Kubernetes clusters. Some of the limitations we have:

Enabled PSP (no root is allowed)
Only container images from a private registry are allowed
cluster-admin shouldn't be used for tooling

I refactored some of the scripts/code to make it usable in our restrictive environment. kboom can still be used like before (in "normal" environments).

Awesome, thanks a lot @johscheuer! I shall merge and cut a new release (once I've fixed #5 also) with an ETA of Jul 8.


Down Sizing is not working on mobile.

Hi,
I have integrated iframe-resizer on our forum with WordPress plugin. I have open our forum into wordpress site into an i-frame. At first when we open forum page then i-frame rsizer working fine now if we open a page which height is greater than previous page then iframe resizer working fine but if we open a page which height is less then previous page then page not resized.
My code as below.
iFrameResize({
log:true,
tolerance: 2,
heightCalculationMethod: heightResizeMethod,
enablePublicMethods: true,
resizedCallback: function(messageData){
alert(messageData.height);
iframeResizerLoaded = true;
}
});
It creates proble only on mobile, on desktop it's working fine.
I have also used iframeresizer_size() to fixed this issue but it return previous page height.
Also I have used jQuery Mobile for the UI of the mobile version on our forum.

Please provide a simple test case.
https://css-tricks.com/reduced-test-cases/

Hi Downsizing is not working on mobile. If we open a page which height is less then previous page height then it can not calculate current page height, while on the desktop it calculate the hieight, could not depend on previous page height.

Closing due to lack of a clear test case. Read the link I posted above if you want this reopened.


if none columns in window expr are needed, remove the window exprs

Which issue does this PR close?
Closes #2542
Rationale for this change
if the columns in window exprs are not referenced by operator, we can remove the window exprs.
What changes are included in this PR?
remove the window exprs in projection_push_down.rs

Thank you @AssHero -- can you please add a test case to this PR showing that it fixes the issue reported on #2542?
Perhaps you can add the reproducer from @mateuszkj to https://github.com/apache/arrow-datafusion/blob/master/datafusion/core/tests/sql/window.rs?

yes, i can add a test case.

Looks good to me -- thank you @AssHero

My pleasure


README pointer to Debian 9/stretch prod.list not available

The README in section "Step 2: Install Prerequisites" for debian 9 contains a link to  https://packages.microsoft.com/config/debian/9/prod.list which is not available.
If there are no packages/support for debian 9/stretch yet please indicate that properly, thx.

For Debian 9 it requires ODBC 17 preview
We will modify README accordingly. Please let us know if this helps.

hi @pniederlag you can find the Debian 9 preview binaries here


Grunt Plugin

Hey,
I've created a basic grunt plugin:
https://github.com/TheWolfNL/grunt-react-separate-templates
It's definately not as fancy as your Gulp plugin, but it does the trick.

Hey,
Cool, I will add link to readme


Uncaught TypeError: Cannot read properties of undefined (reading 'defaultFontFamily')

I'm try to use your plugin but get this error just after load chartjs-plugin-annotation.js. I tried some examples in the end I tried your sample code https://github.com/chartjs/chartjs-plugin-annotation/blob/master/old_samples/box.html but result was the same.  Sorry may be it's stupid question and I lost some info how to use it
chartjs-plugin-annotation.js:485 Uncaught TypeError: Cannot read properties of undefined (reading 'defaultFontFamily')
at Object.6../annotation.js (chartjs-plugin-annotation.js:485)
at s (chartjs-plugin-annotation.js:10)
at e (chartjs-plugin-annotation.js:10)
at chartjs-plugin-annotation.js:10

What version of the plugins are you trying to use and with what version of Chart.js?

Version: 0.5.7

You need to use annotation v1+ with chart.js v3+

Thx


No Data Available when retrieving existing API

I have gone through the process of installing vue crud app and I have provided my api.
Here are the specific steps that I did

git clone git@github.com:what-crud/vue-crud.git
npm install
npm run load-template simple-crud

Altered the following files
API.js.
export default {   url: 'http://<IP_ADDRESS>:8080',   path: {     prefix: 'api',     storage: 'storage',     upload: 'files/file-upload',   }, }
Crud.vue
`

CRUD confguration

  <v-flex xs12 md6 lg3 px-5>
    <v-switch color="green" label="Export button" v-model="exportButton"></v-switch>
    <v-switch color="green" label="Field filters" v-model="fieldFilters"></v-switch>
    <v-switch color="green" label="Main filter" v-model="mainFilter"></v-switch>
  </v-flex>

  <v-flex xs12 md6 lg3 px-5>
    <v-switch color="green" label="Create mode" v-model="createMode"></v-switch>
    <v-switch color="green" label="Edit mode" v-model="editMode"></v-switch>
    <v-switch color="green" label="Edit button" v-model="editButton"></v-switch>
  </v-flex>

  <v-flex xs12 md6 lg3 px-5>
    <v-switch color="green" label="Select many mode" v-model="selectManyMode"></v-switch>
    <v-switch color="green" label="Update many mode" v-model="updateManyMode"></v-switch>
    <v-switch color="green" label="Remove many mode" v-model="removeManyMode"></v-switch>
  </v-flex>
</v-layout>

CRUD

<crud
  :prefix="prefix"
  :path="path"
  :page-title="pageTitle"
  :fields-info="fieldsInfo"
  :details-title="detailsTitle"
  :delete-mode="deleteMode"
  :refresh-button="refreshButton"
  :export-button="exportButton"
  :field-filters="fieldFilters"
  :main-filter="mainFilter"
  :create-mode="createMode"
  :edit-mode="editMode"
  :edit-button="editButton"
  :select-many-mode="selectManyMode"
  :update-many-mode="updateManyMode"
  :remove-many-mode="removeManyMode"
>
</crud>
<alert-box></alert-box>

`
On the network it is returning my API with the following response
[{"id":1,"name":"B","description":"X"},{"id":2,"name":"A","description":"A"},{"id":3,"name":"C","description":"Z23"},{"id":4,"name":"Z","description":"Z23"},{"id":5,"name":"X","description":"Z21"},{"id":6,"name":"C","description":"Z23"},{"id":7,"name":"C","description":"Z112"},{"id":8,"name":"C","description":"Zzzx"},{"id":9,"name":"C","description":"Zsada"},{"id":10,"name":"C","description":"Zdsa"}]
However on the page it is returning no data available.

Hi, I ran into the same problem like yours. It turns out to be the problem of my model definition. The task should have one important attribute: active,  which should be int type and has default value 1. Otherwise no record will be shown.
To your model, it should be something like this:
{"id":1,"name":"B","description":"X", "active":1}


Revert "Revert "Ban the cache manager from creating unwanted entries""

Please continue with the pull request:

https://github.com/Kentico/cloud-boilerplate-net/pull/56

In response to https://github.com/Kentico/cloud-boilerplate-net/pull/56#issuecomment-409311762:
I'll try to list pros and cons of such approach.
Pros:

Empty listing responses would be cached.

Cons:

We would have to build a logic to inspect all listing responses upon each webhook calls that would select all empty ones.
Even such solution would be sub-optimal. Given that all empty listing responses would be smashed upon such webhook call, the advantage listed above would vanish.
An optimal solution would be to carefully pick only those empty listing responses that may contain that content item (or other kind of KC data). The word may is emphasized because the cache manager could only guess if a particular cache entry should be invalidated. I think we don't want such an overly intelligent cache management, just for sake of holding empty listing responses.


Snapshot the EPEL repos

I still think this is a good idea, but apparently nobody else has hit the issue recently :)

I still think this is a good idea, but apparently nobody else has hit the issue recently :)

So my suggestion would be to close this PR in case we do not have immediate need for EPEL snapshots. My reasoning is that we pay for the storage of snapshots. I don't dispute that this would be useful, I just think that we should do it now if we don't need it.
Some time ago, I reworked this repo in a way, so that the repo definitions are generated from https://github.com/osbuild/rpmrepo/blob/main/repo-definitions.yaml using make snapshot-configs. So it would be good to use that approach also for EPEL repos.

Closing for now. This was related to CI failures trying to update toml in the rhel 8.7.0 branch (https://github.com/osbuild/osbuild-composer/pull/3170), my suspicion was that it was due to mixing pinned and unpinned repos.


Use default gopath when computing IstioRoot if GOPATH env var isn't set

This makes it so that if GOPATH isn't explicitly set, the default value is used. This matches the behavior lower down in the file used to compute IstioBin and IstioOut.
So now this works: ~/go/src/istio.io/istio/tests/integration$ go test ./...
As well as this: ~/go/src/istio.io/istio/tests/integration$ GOPATH=~/go go test ./...

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: sushicw
To fully approve this pull request, please assign additional approvers.
We suggest the following additional approver: nmittler
If they are not already assigned, you can assign the PR to them by writing /assign @nmittler in a comment when ready.
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

/lgtm

[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: ozevren, sushicw
The full list of commands accepted by this bot can be found here.
The pull request process is described here

Needs approval from an approver in each of these files:

pkg/OWNERS [ozevren]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@sushicw: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/integ-security-k8s-presubmit-tests.sh
9f4a377567db6b361e8aa5545dfe3370b6a4285f
link
/test integ-security-k8s-presubmit-tests-master

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

Istio seems to be using go modules now, which means GOPATH is losing its meaning. Eg. I have a checkout of Istio outside of my GOPATH, and integration tests fail to find helm YAML files since they're looking at the "standard" istio.io under my GOPATH, which may not exist or be inconsistent with my go mod checkout I'm using.
Seems we need more complex logic to compute the default of IstioRoot.


Problem on this version : 2.1.300-rc1-008673

I tried all the ways. Getting
"": [
"The input was not valid."
]
when i make a post with Class parameter gets error.
It works fine when using individual parameter.
Can anyone please tell me where's the problem?
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
using Microsoft.AspNetCore.Mvc;
using MSS.Server.DBEntities;

namespace MSS.Server.Controllers
{
    [Route("api/[controller]")]
    [ApiController]
    public class Customer : ControllerBase
    {

        private MSSContext msscontext;
        public Customer()
        {
            msscontext = new MSSContext();
        }

        [HttpGet]
        public List<Customers> GetCustomers()
        {
            return msscontext.Customers.ToList();
        }

        [HttpPost]
        [ProducesResponseType(201)]
        public ActionResult<Customers> PostCustomers(ClasCus clascus )
        {
             Customers cust = new Customers{
                CustomerName = clascus.customerName,
                MobileNumber = clascus.mobileNumber
             };
            msscontext.Customers.Add(cust);
            msscontext.SaveChanges();
            return cust;
        }
        public class ClasCus
        {
            public string customerName{ get;set;}
            public string mobileNumber{ get;set;}
        }
    }

}

What does your input look like?

Hi. We're closing this issue as no response or updates have been provided in a timely manner and we have been unable to reproduce it. If you have more details and are encountering this issue please add a new reply and re-open the issue.


Change plugin prefix to not conflict with Bugbear

Bugbear is an official PyCQA plugin for flake8 that's been around for several years.
Your new plugin shadows the letter B and in fact deregisters Bugbear if used in the same configuration.
Please choose a new non-conflicting prefix for your plugin.
For reference, see: https://github.com/PyCQA/flake8-bugbear/issues/37

@tylerwince @ambv I've made a further comment at https://github.com/PyCQA/flake8-bugbear/issues/37.  I'm quoting the salient points below:

The conflict is not with flake8-bandit but rather with openstack/bandit
There are two projects that are involved here:

https://github.com/openstack/bandit

Project started on 16 July 2014
This is the main project, where the conflicts are arising

https://github.com/tylerwince/flake8-bandit

Project started on 29 Oct 2017
However, this is just a wrapper around bandit
They have no control over the error codes that are supplied by bandit

The OpenStack Bandit project has been using B30x codes for a few years as well
Taking B301 as the earliest example in both projects:

Bandit: https://github.com/openstack/bandit/commit/c364408faa25ccdc378b72c0a9e2150d20a94cba

This commit was made on 22 Jan 2016

Bugbear: https://github.com/PyCQA/flake8-bugbear/commit/0fb7d8dcadeea6505e1c1506d10fe5f86f44c95e

This commit was made on 8 Jun 2016

Thanks @myii and @ambv.
Some comments I made on issue at https://github.com/PyCQA/flake8-bugbear/issues/37 and reposting here to keep track of things:

We could always handle this internally in flake8-bandit. Definitely not a long term solution but a workaround until we can figure out which codes to be used by each project.
What are the thoughts around flake8-bandit changing the openstack/bandit code to be S30x for the time being? (quick look and it doesn't appear any other plugins are using S30x and S makes sense for "security")
Is anyone using flake8-bandit and comparing those results to the openstack/bandit cli output? That is the only time I could see this causing an issue as the codes won't match up

This have been closed. Please see the final discussion here:
https://github.com/PyCQA/flake8-bugbear/issues/37


openjdk 17.0.10

Temurin release is still ongoing, no linux builds available yet, despite the tag/release existing already.


Start studying Australia data

Look at the inference results, and observe the effects of epsilon.

[ ] New South Wales
[ ] Victoria
[ ] Queensland
[ ] South Australia
[ ] Western Australia
[ ] Tasmania
[ ] Capital Territory

Try values of epsilon = -1 to 1, in steps of 0.2.
Consider time points March 10, March 20, March 30. At each time point, plot the posterior at each epsilon in a grouped box plot.
https://plotly.com/python/box-plots/

Completed #145


add deleted metrics test

if a metric name ending in -,  we will delete this metric from the default allowlist.
https://github.com/open-cluster-management/backlog/issues/12106
depend on https://github.com/open-cluster-management/observability-gitops/pull/21 and https://github.com/open-cluster-management/multicluster-observability-operator/pull/513
Signed-off-by: Song Song Li<EMAIL_ADDRESS>

/hold

/test test-e2e

/test test-e2e


Black screen after few parties

A canvas black screen is displayed when a game start after few parties (around 5 or 6).

Black screen is displayed exactly when the 5th party starts.
This bug is comming from "Upgraded Phaser 2.2.2" commit (cff2119)

Try to work with phaser state rather than destroy phaser instance


Keycloak Integration

Keycloak is an open source standalone application for Identity and Access Management.
This recent pull request (https://github.com/OHIF/Viewers/pull/227) sets up optional support for connecting OHIF to Keycloak.
I'm testing with the Kubernetes setup here: https://bitbucket.org/Jonaven/namic/src/master/

[ ] Add OHIF.user.getUserInfo for https://connect2id.com/products/server/docs/api/userinfo
[ ] Implement OAuth token refresh
[ ] Make Meteor automatically login if Keycloak token is present
[ ] Create default user (admin/admin) if none exist in MongoDB and Keycloak is not integrated
[ ] Make logout stop flashing the page on redirect

Fixed by switching to oidc-client.js


Based on user permissions: hide action column btns; "Add" vs "Link" on related tables, hide Delete Record(s) btn

This PR addresses #947, #971, and #977.
It also adds a suite of tests that go to Record, Recordset, and RecordEdit apps to see if certain UI elements are shown/hidden based on a user's permissions. User permissions are simulated by using the generated, immutable, and non-deletable annotations to affect the value of Reference. canRead, canCreate, canUpdate, canDelete.

test

For some reason, my updates to the PR description aren't going through, but new comments appear to work.
I meant to say #969 not #971 in the description.


Can't login github account

Does this issue occur when all extensions are disabled?: not applicable

VS Code Version: 1.74.3 (installed via Deepin store)
OS Version: Deepin GNU/Linux V20.8

Steps to Reproduce:

Login with my own github account.
Then it showed the following notice:

Retry again, and the problem still there.

The plugin outputs:
2023-01-18 15:23:08.918 [info] Getting sessions for read:user,repo,user:email,workflow...
2023-01-18 15:23:08.918 [info] Got 0 sessions for read:user,repo,user:email,workflow...
2023-01-18 15:23:08.933 [info] Getting sessions for read:user,repo,user:email...
2023-01-18 15:23:08.933 [info] Got 0 sessions for read:user,repo,user:email...
2023-01-18 15:23:08.950 [info] Getting sessions for read:user,repo,user:email,workflow...
2023-01-18 15:23:08.950 [info] Got 0 sessions for read:user,repo,user:email,workflow...
2023-01-18 15:23:10.170 [info] Logging in for the following scopes: read:user repo user:email workflow
2023-01-18 15:23:10.174 [info] Trying without local server... (read:user repo user:email workflow)
2023-01-18 15:23:17.346 [info] Exchanging code for token...
2023-01-18 15:23:18.139 [info] Token exchange success!
2023-01-18 15:23:18.141 [info] Getting user info...
2023-01-18 15:23:21.830 [error] Unexpected error parsing response from GitHub: invalid json response body at https://github.com/user reason: Unexpected token < in JSON at position 2
2023-01-18 15:23:21.831 [error] FetchError: invalid json response body at https://github.com/user reason: Unexpected token < in JSON at position 2
	at /opt/apps/com.visualstudio.code/files/code/resources/app/extensions/github-authentication/dist/extension.js:2:687068
	at process.processTicksAndRejections (node:internal/process/task_queues:96:5)
	at async t.GitHubServer.getUserInfo (/opt/apps/com.visualstudio.code/files/code/resources/app/extensions/github-authentication/dist/extension.js:2:1309674)
	at async t.GitHubAuthenticationProvider.o (/opt/apps/com.visualstudio.code/files/code/resources/app/extensions/github-authentication/dist/extension.js:2:1300184)
	at async t.GitHubAuthenticationProvider.createSession (/opt/apps/com.visualstudio.code/files/code/resources/app/extensions/github-authentication/dist/extension.js:2:1299667)

Then I opened https://github.com/user and discovered that there is already an account there. But it isn't mine.
What should I do?

This is very unusual because the error that that is logging:
https://github.com/microsoft/vscode/blob/8972dc89be6de79da7e96c7984c70887e618fe68/extensions/github-authentication/src/githubServer.ts#L534
Only happens when we run:
https://github.com/microsoft/vscode/blob/8972dc89be6de79da7e96c7984c70887e618fe68/extensions/github-authentication/src/githubServer.ts#L517
the important part being:
this.getServerUri('/user')

which is defined here:
https://github.com/microsoft/vscode/blob/8972dc89be6de79da7e96c7984c70887e618fe68/extensions/github-authentication/src/githubServer.ts#L504-L511
which would only return:

https://api.github.com/user
or if you were using GitHub Enterprise, and you set you baseurl to https://github.com/ (which isn't correct, but let's say you did), that would be: https://github.com/api/v3/user

Neither of which you are seeing.
So my first suspicion is that this release of vscode isn't genuine because we don't ship to the deepin store. Can you tell me more about this package? Maybe a screenshot of the listing in the app store?
Additionally, can you send me the contents of:
/opt/apps/com.visualstudio.code/files/code/resources/app/extensions/github-authentication/dist/extension.js

extension.js
Because github can't upload .js file, I changed the suffix to .js.txt.
Additionally, I'll send the vscode package in deepin store to your email<EMAIL_ADDRESS>soon.
Screenshot is there:

You may need to translate it.

I knew where the bug was.
My computer couldn't connect to github recently. When I execute ping github.com on my computer, I got the IP address <IP_ADDRESS>. Then I searched the true IP address of github.com and added it into /etc/hosts. BUT  I set api.github.com the same IP of github.com by mistake. Recently, I fixed the IP address of api.github.com in hosts, and then I can login normally.
Thanks for developing this useful application and your patient attitude.
Today is the Spring Festival in China. Wish you a good luck in the new year!


Spotify Ripper Windows~~

https://github.com/hbashton-ripper/wiki/Windows
Windows install command... delete...
Re post please..
Another all post.... not working

Who this post have?? Help me


Fixed error in save_to_wav function execution

Signed-off-by: Tsogtgerel Amar<EMAIL_ADDRESS>

Hi everyone,
I encountered an error in the save_to_wav function execution while running the MongolianTTS.ipynb notebook. Upon investigation, I found that the issue was related to the data type error caused by using NumPy version 1.25.
After testing, I confirmed that switching to NumPy version 1.22 resolved the error. Therefore, I've updated the requirements.txt file to specify NumPy version 1.22 to ensure compatibility with the project.
Thank you for your attention, and happy coding!
Best regards,

Specified NumPy version to ensure compatibility with the project. Additionally, all occurrences of np.long type have been replaced with np.longlong.
Best regards,


importHref loads imports, async. Fixes #3113

This changes the default behavior of importHref to load imports async, taking them out of the rendering path. Witnessing this is a a couple of apps we're working on, not doing so causes layout flashes as the import is added to the DOM and loads.
Adds an optional async arg to importHref. Defaults to true for perf and similar to xhr.
R: @kevinpschaaf @sorvell @azakus

Should we use this or make the default false? Async by default would be preferrable though!

:+1:

LGTM with nit

PTAL

Last nit, then I can merge :)

PTAL


enable WITH_AUTHENTICATION_CLIENT_PLUGINS on macos-14

ref. https://github.com/shogo82148/actions-setup-mysql/issues/1089#issuecomment-2224950424


Embed classes not showing up

Prerequisites

[x] I have searched for duplicate or closed issues
[X] I have validated any HTML to avoid common problems
[X] I have read the contributing guidelines

Describe the issue
Hi
When I launch my page on localhost the embed-item and embed-responsive classes are not showing up
I do not have any duplicate classes or overrides - when i go into inspect element they are not showing up when I check styles but are showing up if I make my own with the same name - everything else is working fine
I'm on mac OS using chrome and have added the css from official bootstrap cdn 5.0.3.-alpha
When I change it to bootstrap 4.6.2. it works as it should
So i suppose it is an error for v5
Reduced test cases

What operating system(s) are you seeing the problem on?
macOS
What browser(s) are you seeing the problem on?
Chrome
What version of Bootstrap are you using?
v5

Major versions always come with changes to class names. You want the new ratio helper. https://getbootstrap.com/docs/5.3/helpers/ratio/


Report servers with known vulnerabilities

Expected behavior
fullstop should check all running instances if they are running Docker containers that have open, fixable CVEs according to PierOne.
Step needed
Dependencies
PierOne Clair integration - done.

Check all running servers once a day and report them if severity_fix_available is High or Critical.

@sarnowski, is this still needed?


No companion tab

Companion tab wont open with Cengage assignment. Instructor posted solution but said solution doesnt work. Supposed to be able to Ctrl+shift+p and type ">Cengage: Open Extension" but that doesnt work. havent been able to complete any assignments
Version: 1.85.1
Commit: 0ee08df0cf4527e40edc9aa28f4b5bd38bbff2b2
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/<IP_ADDRESS> Safari/537.36
Embedder: codespaces

/causedByExtension
Please raise your issue with Cengage support.

This issue is caused by an extension, please file it with the repository (or contact) the extension has linked in its overview in VS Code or the marketplace for VS Code. See also our issue reporting guidelines. If you don't know which extension is causing the problem, you can run Help: Start extension bisect from the command palette (F1) to help identify the problem extension.
Happy Coding!


bug: cant even clone the project

Provide environment information
➜ npx envinfo --system --binaries
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)
System:
OS: Linux 6.5 Ubuntu 22.04.4 LTS 22.04.4 LTS (Jammy Jellyfish)
CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
Memory: 35.09 GB / 46.94 GB
Container: Yes
Shell: 5.8.1 - /usr/bin/zsh
Binaries:
Node: 21.7.2 - ~/.nvm/versions/node/v21.7.2/bin/node
Yarn: 1.22.22 - ~/.nvm/versions/node/v21.7.2/bin/yarn
npm: 10.5.0 - ~/.nvm/versions/node/v21.7.2/bin/npm
pnpm: 8.15.1 - ~/.local/share/pnpm/pnpm
bun: 1.1.13 - ~/.bun/bin/bun
Describe the bug
cant start an new app from the description in the readme
Link to reproduction
https://github.com/t3-oss/create-t3-turbo
To reproduce
npx create-turbo@latest -e https://github.com/t3-oss/create-t3-turbo
Additional information
➜ npx create-turbo@latest -e https://github.com/t3-oss/create-t3-turbo
Need to install the following packages:
<EMAIL_ADDRESS>Ok to proceed? (y)
? Where would you like to create your Turborepo? ./my-turborepo
? Which package manager do you want to use? pnpm

Creating a new Turborepo with:

Application packages

apps/auth-proxy
apps/expo
apps/nextjs
Library packages
packages/api
packages/auth
packages/db
packages/ui
packages/validators
tooling
tooling/eslint
tooling/github
tooling/prettier
tooling/tailwind
tooling/typescript

Installing dependencies...

Unexpected error. Please report it as a bug:
Error: Command failed with exit code 1: pnpm install --fix-lockfile
Scope: all 14 workspace projects
 WARN  Ignoring broken lockfile at /home/cazakino/gigantao/my-turborepo: Lockfile /home/cazakino/gigantao/my-turborepo/pnpm-lock.yaml not compatible with current pnpm
/home/cazakino/gigantao/my-turborepo/apps/auth-proxy:
 ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER  eslint@catalog: isn't supported by any available resolver.

This error happened while installing a direct dependency of /home/cazakino/gigantao/my-turborepo/apps/auth-proxy
Progress: resolved 1, reused 0, downloaded 0, added 0
at CM (/home/cazakino/.npm/_npx/e8c68b66aeb1424f/node_modules/create-turbo/dist/cli.js:23:57)
at /home/cazakino/.npm/_npx/e8c68b66aeb1424f/node_modules/create-turbo/dist/cli.js:23:8077
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async ph (/home/cazakino/.npm/_npx/e8c68b66aeb1424f/node_modules/create-turbo/dist/cli.js:69:2060)
at async Command.Eg (/home/cazakino/.npm/_npx/e8c68b66aeb1424f/node_modules/create-turbo/dist/cli.js:94:7448)
at async Command.parseAsync (/home/cazakino/.npm/_npx/e8c68b66aeb1424f/node_modules/commander/lib/command.js:936:5) {
shortMessage: 'Command failed with exit code 1: pnpm install --fix-lockfile',
command: 'pnpm install --fix-lockfile',
escapedCommand: 'pnpm install --fix-lockfile',
exitCode: 1,
signal: undefined,
signalDescription: undefined,
stdout: 'Scope: all 14 workspace projects\n' +
' WARN  Ignoring broken lockfile at /home/cazakino/gigantao/my-turborepo: Lockfile /home/cazakino/gigantao/my-turborepo/pnpm-lock.yaml not compatible with current pnpm\n' +
'/home/cazakino/gigantao/my-turborepo/apps/auth-proxy:\n' +
" ERR_PNPM_SPEC_NOT_SUPPORTED_BY_ANY_RESOLVER  eslint@catalog: isn't supported by any available resolver.\n" +
'\n' +
'This error happened while installing a direct dependency of /home/cazakino/gigantao/my-turborepo/apps/auth-proxy\n' +
'Progress: resolved 1, reused 0, downloaded 0, added 0',
stderr: '',
failed: true,
timedOut: false,
isCanceled: false,
killed: false
}

Try to update pnpm to the latest version.
It seems you are using version 8.
With the latest changes, the repo requires 9.6.0 (?) or newer

Catalogs were introduced in pnpm 9.5
I recommend using corepack which will pick up the version from package json and use that

It wouldnt be bad to somehow highlight this information, so less issues of this type are created. I myself ran into this issue


Update utils

Codecov Report

:exclamation: No coverage uploaded for pull request base (main@cba550d). Click here to learn what that means.
The diff coverage is n/a.

:exclamation: Current head 7b9e494 differs from pull request most recent head 6227b3f. Consider uploading reports for the commit 6227b3f to get more accurate results

@@           Coverage Diff           @@
##             main       #4   +/-   ##
=======================================
  Coverage        ?   89.00%
=======================================
  Files           ?        7
  Lines           ?      600
  Branches        ?        0
=======================================
  Hits            ?      534
  Misses          ?       66
  Partials        ?        0

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


On Windows, Tanzu Cluster create command fails to utilise cluster name from cli

Bug Report
On Windows 10 (10.0.19043) running TCE 0.9.1 and attempting to deploy onto a WSL2 docker environment, when utilising the tanzu management-cluster create command as per documentation
tanzu management-cluster create -i docker [CLUSTER-NAME]
also tried
tanzu management-cluster create [CLUSTER-NAME] -i docker
the cluster name does not get instantiated.  It uses a "default name" - tkg-mgmt-docker-202110xxxxxxxxxxxx
WORKAROUND :
If i issue an environmental variable
set CLUSTER_NAME=<CLUSTER_NAME>
then it uses this as the cluster name and ignores whatever is input as part of the CLI command.
Expected Behavior
Expected to create a Management Cluster with the cluster name specified in the cli command
Steps to Reproduce the Bug
Install TCE 0.9.1 on Windows 10
Install Kubectl
Follow instructions as per here : https://tanzucommunityedition.io/docs/latest/ref-windows-capd/
Screenshots or additional information and context

Environment Details

Build version (tanzu version):  0.9.1
Deployment (Managed/Standalone cluster):  Managed
Infrastructure Provider (Docker/AWS/Azure/vSphere):  Docker on Windows (and WSL2)
Operating System (client): Windows 10
wsl running kernel :  Linux nchan-z01 5.4.72-microsoft-standard-WSL2+ #1 SMP Thu Oct 7 05:45:22 UTC 2021 x86_64 Linux
wsl zgrep CONFIG_NETFILTER_XT_TARGET_CT /proc/config.gz :  CONFIG_NETFILTER_XT_TARGET_CT=y

Diagnostics and log bundle
C:>tanzu management-cluster create -i docker ncc
Validating the pre-requisites...
Identity Provider not configured. Some authentication features won't work.
Setting up management cluster...
Validating configuration...
Using infrastructure provider docker:v0.3.23
Generating cluster configuration...
Setting up bootstrapper...
Bootstrapper created. Kubeconfig: C:\Users\nchan.kube-tkg\tmp\config_tFL2IsKs
Installing providers on bootstrapper...
Fetching providers
Installing cert-manager Version="v1.1.0"
Waiting for cert-manager to be available...
Installing Provider="cluster-api" Version="v0.3.23" TargetNamespace="capi-system"
Installing Provider="bootstrap-kubeadm" Version="v0.3.23" TargetNamespace="capi-kubeadm-bootstrap-system"
Installing Provider="control-plane-kubeadm" Version="v0.3.23" TargetNamespace="capi-kubeadm-control-plane-system"
Installing Provider="infrastructure-docker" Version="v0.3.23" TargetNamespace="capd-system"
Start creating management cluster...
Saving management cluster kubeconfig into C:\Users\nchan/.kube/config
Failure while deploying management cluster, Here are some steps to investigate the cause:
Debug:
kubectl get po,deploy,cluster,kubeadmcontrolplane,machine,machinedeployment -A --kubeconfig C:\Users\nchan.kube-tkg\tmp\config_tFL2IsKs
kubectl logs deployment.apps/ -n  manager --kubeconfig C:\Users\nchan.kube-tkg\tmp\config_tFL2IsKs
To clean up the resources created by the management cluster:
tanzu management-cluster delete
Error: unable to set up management cluster: unable to get management cluster client: unable to get client: Failed to invoke API on cluster : Get "https://<IP_ADDRESS>:6443/version?timeout=32s": dial tcp <IP_ADDRESS>:6443: connectex: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.
←[1mUsage:←[0m
tanzu management-cluster create [flags]
←[1mExamples:←[0m
# Create a management cluster on AWS infrastructure, initializing it with
# components required to create workload clusters through it on the same infrastructure
# by bootstrapping through a self-provisioned bootstrap cluster.
tanzu management-cluster create --file ~/clusterconfigs/aws-mc-1.yaml
# Launch an interactive UI to configure the settings necessary to create a
# management cluster
tanzu management-cluster create --ui
# Create a management cluster on vSphere infrastructure by using an existing
# bootstrapper cluster. The current kube context should point to that
# of the existing bootstrap cluster.
tanzu management-cluster create --use-existing-bootstrap-cluster --file vsphere-mc-1.yaml

←[1mFlags:←[0m
-b, --bind string                      Specify the IP and port to bind the Kickstart UI against (e.g. <IP_ADDRESS>:8080). (default "<IP_ADDRESS>:8080")
--browser string                   Specify the browser to open the Kickstart UI on. Use 'none' for no browser. Defaults to OS default browser. Supported: ['chrome', 'firefox', 'safari', 'ie', 'edge', 'none']
--dry-run                          Generates the management cluster manifest and writes the output to stdout without applying it
-f, --file string                      Configuration file from which to create a management cluster
--force-config-update              Force an update of all configuration files in ${HOME}/.config/tanzu/tkg/bom and ${HOME}/.tanzu/tkg/compatibility
-h, --help                             help for create
-t, --timeout duration                 Time duration to wait for an operation before timeout. Timeout duration in hours(h)/minutes(m)/seconds(s) units or as some combination of them (e.g. 2h, 30m, 2h30m10s) (default 30m0s)
-u, --ui                               Launch interactive management cluster provisioning UI
-e, --use-existing-bootstrap-cluster   Use an existing bootstrap cluster to deploy the management cluster
-y, --yes                              Create management cluster without asking for confirmation
←[1mGlobal Flags:←[0m
--log-file string   Log file path
-v, --verbose int32     Number for the log level verbosity(0-9)
Error: exit status 1
✖  exit status 1
<Fix the .kube\config file> then :
C:>tanzu management-cluster get
←[1mNAME                          ←[0m  ←[1mNAMESPACE ←[0m  ←[1mSTATUS←[0m  ←[1mCONTROLPLANE←[0m  ←[1mWORKERS←[0m  ←[1mKUBERNETES      ←[0m  ←[1mROLES     ←[0m
tkg-mgmt-docker-20211014174852  tkg-system  failed  1/1           0/1      v1.21.2+vmware.1  management
Details:
NAME                                                                               READY  SEVERITY  REASON  SINCE  MESSAGE
/tkg-mgmt-docker-20211014174852                                                    True                     8m44s
├─ClusterInfrastructure - DockerCluster/tkg-mgmt-docker-20211014174852             True                     9m29s
├─ControlPlane - KubeadmControlPlane/tkg-mgmt-docker-20211014174852-control-plane  True                     8m44s
│ └─Machine/tkg-mgmt-docker-20211014174852-control-plane-bmg9z                     True                     8m45s
└─Workers
└─MachineDeployment/tkg-mgmt-docker-20211014174852-md-0
└─Machine/tkg-mgmt-docker-20211014174852-md-0-5b4798589c-rh2bb                 True                     8m4s
Providers:
←[1mNAMESPACE                        ←[0m  ←[1mNAME                 ←[0m  ←[1mTYPE                  ←[0m  ←[1mPROVIDERNAME←[0m  ←[1mVERSION←[0m  ←[1mWATCHNAMESPACE←[0m
capd-system                        infrastructure-docker  InfrastructureProvider  docker        v0.3.23
capi-kubeadm-bootstrap-system      bootstrap-kubeadm      BootstrapProvider       kubeadm       v0.3.23
capi-kubeadm-control-plane-system  control-plane-kubeadm  ControlPlaneProvider    kubeadm       v0.3.23
capi-system                        cluster-api            CoreProvider            cluster-api   v0.3.23

Sorry for the delay updating. I think this was due to an issue that has been found and addressed in the tanzu-framework code. Before we do the next release we will update the version of tanzu-framework we are using and should pick up the fix.
Keeping this issue here so we can make sure to validate the fix is working as expected.

Closing - duplicate of https://github.com/vmware-tanzu/community-edition/issues/2134


Bugfix for FStar_Util.replace_string

This one kept me busy for quite a while after triggering random segfaults in native OCaml land! Two parts of the code tried to write to the same file after one of the string replacements had failed.
The two BatString.rev calls in the nreplace call are probably there because nreplace replaces string matches right-to-left; but it doesn't reverse any strings, it just replaces the last occurrence first. However, FStar_Util.replace_string is only used in one other place with s1 being a single character. May be better to remove it altogether to avoid confusion and/or debug time?

I'd be happy to see the function go away, if no one uses it, or at least we could have the same semantics as Batteries to avoid the awkward rev dance. Can we just drop it altogether?

Since nobody complained, I have now replaced replace_string with replace_chars to get matching semantics. Self-merging after the build passed.


Why are UI.Color members aliases?

I am in.the process of incorporating this framework to a project of mine. I used to have a file full of color definitions in the form of variables. I saw that you provide colors as aliases that use echo. Is there a benefit in doing that? My (naive) intuition that variable should be even a little faster.

If I recall correctly, the only reason they're aliases is to match their APIs with other types (i.e. they contain dots). Variables can't contain dots. There might have been another reason, but I don't remember at this moment. But you're right, variables access should be a bit faster.
There are also opportunities for better APIs al round, so I'm open for improvement pull requests. 👍
Thanks.

I run some quick tests and I got these results:
$ time for i in {1..1000}; do echo "$( UI.Color.Green )">/dev/null; done

real    0m7.873s
user    0m0.139s
sys     0m7.782s

$ time for i in {1..1000}; do echo "${green}sfg">/dev/null; done

real    0m0.009s
user    0m0.007s
sys     0m0.002s

This is pretty significant!
I don't want to dictate what happens in the project. I will simply prepare a PR adding a file with variables instead of aliases and maybe it could exist side by side with the alias version. The only option is the underscore, so the variables will look like UI_Color_Green.
Indeed, UI.Color.Green looks way more appropriate but it feels like the performance overhead is too large. Also, scanning the README, the only other place where dots are used is in class method names. Maybe then it doesn't take away too much of the API stylistic cohesion.

I just pushed #30, but it was a hasty one. As I will spend some time getting acquainted with the project, I would like to ask what are the goals for Bash Infinity. Is it providing an OO-looking API as much as possible? Is it to be fast? Cover common bash scripting needs? Thanks for the attention and sorry for the spam.

Thanks, I've merged it.
The main goal is to provide a better experience writing shell scripts, hence the better stack traces, positional arguments, try/catch, and beginnings of a standard library (obviously unfinished). I didn't give much attention to performance, since it was adequate (i.e. the performance impact was invisible, which I consider good enough for most scripts). Possibly not good enough for performance sensitive work, but then again, I've never came across a use-case for bash, where performance would be a concern.
Since the time I've worked on the framework intensively, I've re-evaluated some of the ideas and now, I'd probably focus less on the OO aspects and more on the functional/immutable possibilities.
I also had the idea to make a transpiler from a typed language into bash (kind of like TypeScript or Reason with a bash output as a target). It could be cool, but then again, my needs have changed and I do not need bash that much. But bash is still kind of like "the JavaScript of the terminal", in the sense that it is available in so many systems, it provides a universal good platform for developers/admins, just as JavaScript does for the end-users (runs on desktops, mobiles, TVs, etc.).
I'm curious, what are the problems you are trying to solve in your scripts, and what drove you into using Bash Infinity?
Cheers

I am working on a project where bash is like 1/3 of it. I was in the process of writing tests using bats and refactoring the code all over the place to better support this and I found myself

trying to build a color library
repeating checks for function arguments
fighting to get a decent stack trace.

Searching for libraries I stumbled upon your framework and I thought it would be good to use Infinity to have a nice, stable base to build on.
Moreover, I think that it could be a reference framework for bash and together with other projects like bats, go-scripts, etc can provide a nice package for bash programmers. But for that, as I learnt from bats, there needs to be documentation, performance tweaking, code cleaning, etc. I mean you have done an amazing job, but there are some TODOs left in the code and some edge cases left. That's why I asked about the project goals.

Yeah, I completely agree with your points. Docs could be better and more complete and there is still a bunch of stuff to polish, think about API design (like naming) and so on.
If you'd like, I can make you a collaborator on the project if you'd like to improve on any of these points.

Sure, I'd be glad to help as much as I can. But I will spam you with questions a little more until I get a good grasp of the code!