🐛透视表自定义列头 设置对齐方式出现错位

复现链接：https://codesandbox.io/s/nifty-cache-fow8tc?file=/index.ts
链接中可以看出 列头数据位置出现错位了

:tada: This issue has been resolved in version @antv/s2-v1.23.0-alpha.3 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.23.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.24.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.26.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.28.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.30.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.31.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.33.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.37.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version @antv/s2-v1.40.0-alpha.1 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


ZipDeploy/Web/Ftp Deploy (Kudu) via VS 2022 painfully slow the last 3-5 days?

hi all,
I've had an azure subscription for a couple of years - we're on a P2V2 ASP, all has been working really well. My microservices usually take about 1 minute to deploy, and my blazor apps take 2-4 minutes, give or take.
Starting quite suddenly on Thursday/Friday last week, deployments are now taking anywhere from 20-60 minutes. I've tried all the usual things - resetting the publish profile, restarting the instance, scaling up, scaling out - I even tried creating a completely fresh API project and fresh web app in azure, and that ran for close to 40 minutes as well - completely bare template app.
I'm quite stumped here. It's not even just one of my apps - it's all of my microservices and all of my blazor apps.
I did trip over this old thread: https://github.com/projectkudu/kudu/issues/1693#issuecomment-142779944
Seems unlikely that's still the fix? especially very suddenly? I will try it.. but I welcome any feedback, because this is a huge setback for productivity.

FYI this is still occuring. @davidebbo are you still on this project?

@caliberdigitalllc sorry, I've been off this project for about 5 years, but hopefully others can jump in.

@caliberdigitalllc   could you start by sharing the subscription and site name (first 3-4 characters of each would do) as well the UTC time of most recent slow deployment?  The more precise time would help us pinpoint easier.

@suwatch - the subscription ID is "b0db6839-2057-40e5-9491-7f22b432b3f9" - literally every deployment I've attempted since August 3rd has taken 25-65 minutes - where before over the last 2 years, deployments have never taken more than 1-4 minutes for all of the same applications.
I have tried switching to the Azure CLI - same result.
I have tried deleting one of the app services and re-creating it from scratch - same result.
I have tried reinstalling visual studio - same result.
I have tried different internet connection  - same result.
We have 10 API's and 5 blazor server apps in the subscription - they are all having the same problem. API's used to take 1-2 minutes to deploy via VS2022, now they take 25-35 minutes. The blazor apps used to take 3-5 minutes, now they take over an hour. All of this happened over night with no action from my end. They were working fine prior to 8/3/2023.
I have an active ticket in with Azure support but it's been taking several days between replies and no action plan in place yet.
"SCM Deploy Failing - TrackingID#2308040040008936" is the ticket title and #.
Thanks

@suwatch  - here is a typical log entry (August 10th, 9:17AM Eastern Time Started) for one of my blazor app deploys now (folder/domains replaced for privacy). As noted, this same app and my other 4 blazor apps used to take no more than 3-4 minutes (5 minutes TOPS) to deploy.
 -> G:\Development\appfolder\appname\bin\Release\net8.0\linux-x64\appname.dll
appname -> G:\Development\appfolder\appname\obj\Release\net8.0\linux-x64\PubTmp\Out
Publishing G:\Development\appfolder\appname\obj\Release\net8.0\linux-x64\PubTmp\appname-20230810091753188.zip to https://appname.scm.azurewebsites.net/api/zipdeploy...
Zip Deployment succeeded.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 9:17 AM and took 01:05:27.588 hours ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========

@caliberdigitalllc  are you sure that is the subscription id?   Is your subscription Id "44f1...."?     Understand the privacy on sitename - give us enough and suffix to help identify among your sites in the subscription - such as partial site name is 'bs...ny' etc.

Ah yeah. It’s the xxxconfig subscription with all apps prefixed by “bsc”.
Mitchell D. Russell
Founder / Caliber Digital LLC
c:<PHONE_NUMBER>
e: @.***
w: https://www.caliber-digital.com
On Aug 13, 2023 at 2:55 PM -0400, Suwat Ch @.***>, wrote:

@caliberdigitalllc are you sure that is the subscription id? Is your subscription Id "44f1...."? Understand the privacy on sitename - give us enough and suffix to help identify among your sites in the subscription - such as partial site name is 'bs...ny' etc.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you were mentioned.Message ID: @.***>

@suwatch Ah yeah. It’s the xxxconfig subscription with all apps prefixed by “bsc”.

FWIW too - just to rule out .net core 8 preview, I tried rolling back to preview 6 from preview 7, and I also tried rolling back to core 7.xx. Nothing changed the outcome.

@caliberdigitalllc  I have gathered and passed along the info to the product team and they should be able to help.   Sorry for the inconvenience.

@suwatch thank you. Will they contact me here? This has been an immense productivity impact so I hope the issue can be nailed down soon. I appreciate you connecting with me on it outside of the support ticket.

@suwatch  FYI, did another one today - new record for time taken :(  This app used to take 3-5 minutes max before whatever changed.
AppJobTracker -> G:\Development\BSCPlatform\AppJobTracker\bin\Release\net8.0\linux-x64\AppJobTracker.dll
AppJobTracker -> G:\Development\BSCPlatform\AppJobTracker\obj\Release\net8.0\linux-x64\PubTmp\Out
Publishing G:\Development\BSCPlatform\AppJobTracker\obj\Release\net8.0\linux-x64\PubTmp\AppJobTracker-20230814083718483.zip to https://bscappjobtracker.scm.azurewebsites.net/api/zipdeploy...
Zip Deployment succeeded.
========== Build: 1 succeeded, 0 failed, 0 up-to-date, 0 skipped ==========
========== Build started at 8:36 AM and took 01:12:48.727 hours ==========
========== Publish: 1 succeeded, 0 failed, 0 skipped ==========
========== Publish started at 8:36 AM and took 01:12:48.727 hours ==========
Waiting for Web App to be ready...
Restarting the Web App...
Successfully restarted Web App.
Web App is ready.

@caliberdigitalllc  Apology for the delay.  The product team has investigated and they would be able to share the finding soon.   Thanks for your patience.

Great @suwatch thanks. API's are taking consistently 25 minutes, and blazor apps are taking consistently 1h-1h5m - comparative to before, 1-2 minutes and 3-5 minutes respectively. Glad the team is looking into it actively.

@caliberdigitalllc we observed multiple apps in your subscription which are hitting into the slowness, and all of them seem to be taking time at the initial step of uploading the payload zip, before the kudu starts processing it. We also noticed that time taken is proportional to payload sizes, like ~60MB taking ~20 min and ~160MB taking around ~1hr.
Given that you noticed this issue across ZipDeploy, Web/Ftp deploy and also with new apps, current theory is this could be due to any network issue (like VPN etc) on the client which might be slowing down the zip upload step.
To get more insights on this, can you try uploading the zip to a blob storage and then deploy using the az cli with az webapp deploy by passing --src-url as the blob endpoint and let us know if you are still facing issue with this approach also. More details on this: https://learn.microsoft.com/en-us/azure/app-service/deploy-zip?tabs=cli#deploy-a-zip-package

@vivekjilla  that did the trick, thank you. it seems to be something wrong with the upload speed on my PC via Comcast which I wouldn't have suspected. For some reason I'm only getting 5mbps upload when I'm contracted for 45mbps.
Funny enough, when I turn my cloudflare VPN (WARP) on, the upload speed jumps up to 45mbps and I was just able to upload one of my APIs in under a minute which is back to normal.
Question - where in Azure Portal can I observe the logs that you observed to show that the upload was the slow step?
If I could get one take away from this is that Zipdeploy should have a progress bar on the upload in VS 2022 and the azure CLI so you know where the bottleneck is. Right now you have no idea if it's uploading, deploying, or what, until the upload is completed.
Anyhow - thank you @suwatch  and @vivekjilla for looking into this. Please let me know on the log question.

Thanks for the update and the feedback @caliberdigitalllc . I will follow up with my team to see how we can improve this experience.
Regarding the logs, I don't think we explicitly call out the time taken to upload the zip today in logs.
But one indicator we can checkout is the Portal -> Deployment Center -> Click on the deployment -> This will show the logs with timestamps. Here, I believe the first log timestamp itself starts 20 mins to 1 hr after the deployment is queued, which kind of indicates the deployment hasn't started until then.

Hi
If the problem persists, please file incidents in Azure, so we can better track and assist on this case:
https://learn.microsoft.com/en-us/azure/azure-portal/supportability/how-to-create-azure-support-request
Thanks,
Joaquin


2 fixes

make the GCStats user command be able to read .nettrace files

fixed the incorrect gen0 alloc in the csv export of GCStats

@brianrob, PTAL!


Save class names in best checkpoint created by evaluation hook

Motivation
Currently, mmcls only save class names of dataset in checkpoint hook by populate the meta dictionary in here:
https://github.com/open-mmlab/mmclassification/blob/5232965b17b6c050f9b328b3740c631ed4034624/tools/train.py#L164
At the meantime, the evaluation hook use the meta dictionary form the runner which doesn't contains the classes name information, so the best checkpoint created by the evaluation hook won't contains CLASSES key. This is not very user friendly for training model on custom dataset because the test will load the ImageNet categories if the CLASSES key is missed in the meta dictionary of the checkpoint.
https://github.com/open-mmlab/mmclassification/blob/5232965b17b6c050f9b328b3740c631ed4034624/tools/test.py#L156
Modification
Populate the class names of training dataset into the meta dictionary of runner.
Checklist
Before PR:

[x] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] Bug fixes are fully covered by unit tests, the case that causes the bug should be added in the unit tests.
[ ] The modification is covered by complete unit tests. If not, please add more unit test to ensure the correctness.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

After PR:

[ ] If the modification has potential influence on downstream or other related projects, this PR should be tested with those projects, like MMDet or MMSeg.
[x] CLA has been signed and all committers have signed the CLA in this PR.

Thanks for your contribution.
I have checked the meta variable. And your method is the right way to add meta information to checkpoints.
Please remove
https://github.com/open-mmlab/mmclassification/blob/5232965b17b6c050f9b328b3740c631ed4034624/tools/train.py#L161-L167
And directly insert all these key-value pairs into the meta variable passed to the runner.

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

@mzr1996 Great, check it out.


Move / Gutter issue

Hi Cory, I think I've found a little bug with the lost-move where it seems to default to the global gutter value.
In the test case I have two columns (1/3 and 2/3) and I want to swap their positions and without any gutter.
div1{
  lost-column: 2/3 0 0 no-flex;
  lost-move: 1/3;
}
div2{
  lost-column: 1/3 0 0 no-flex;
  lost-move: -2/3;
}

The problem is that lost-move ignores the gutter override and you still get a gap and the offsets are out.
I can get around it by setting @lost gutter 0; but that's not ideal.
Demo: http://codepen.io/sidonaldson/pen/rxVvpm/
What do you think?

Looking at line 30 of the lib/lost-move.js file (lost-move.js), it looks like it it pulls the gutter from the default settings, not the previous lost-column:  declaration.
That's not really an answer, I suppose.

Maybe the gutter could be passed on to lost-move if set by lost-column...

We can probably do something where we look through that current block of definitions for lost-column and detect if it has a gutter set, then set it for the lost-move declaration.
Thanks for pointing this out.

@sidonaldson Here's a codepen with this "fixed". http://codepen.io/peterramsing/pen/dGNXmK
You can specify the gutter within the lost-move rule. (see the codepen)
I'm working on getting the lost-move to read the gutter from the lost-column rule right now, though. Sorry for the delay on this. When I took over this repo I really wanted to get a handle on everything needed before diving into the code. This is slated to be done by next week, though. It's in the 6.6.4 milestone.

@corysimmons Was there any reason that lost-move.js doesn't use "newBlock()"?

Closing to migrate discussion to the PR #219

@corysimmons I think I answered my own question about new-block.js.

:+1: tbh, I'm not sure. I might have just overlooked it. If it works with newBlock, newBlock should probably be added so the property is uniform with the rest of them.

I'm noticing a few things that are inconsistent, but not breaking. Any refactor will have to wait. I'd love to get some of these bugs/issues deployed before doing any refactor work. Maybe when I have another long weekend I'll spend sometime doing that and maybe getting some linting in place.

Sounds good. :+1:

With the work that I did with the $lost-gutter variable I think this should be pretty simple now (or at least more simple?). As I'm getting close to finishing all the needs for version 8 early I'm adding this to the version 8 milestone for the December release.

Closing for #350


Official channels

There is an issue with not announcing things through official channels. Rakudo has its own blog. But Perl 6 doesn't. Maybe it should?
For example the Perl 6.d announcement was done by Zoffix on blogs.perl.org with his own account, and the official twitter account simply retweeted Zoffix's tweet.
This can be problematic, there are people who think/thought Zoffix is doing things on his own, specially aliasing(which might also be related to #31).
I think we should make better use of our official channels and if we don't have them(blog), create them.

I don't see this a useful issue. It's a thinly disguised attack on a dedicated key member of the perl 6 team over a minor petty point -- the exact way the announcement was made.
Perl6 isn't about red tape and process we are hackers (in the broader, older sense). Remember, too that this is someone who spent a huge amount time on working on 6.d. What message are we sending to future volunteers with this?
I propose this issue be closed.  This is a misuse of github which should be used for specific technical issue rather than general politics.

What?! It's actually in defense of Zoffix! Read this and this for a few examples.
Also if we had a blog.perl6.org, then Zoffix could write it with his own account. I'm not sure what you're reading.

I'm not sure there's an official Twitter account. Is that the case? I'm
sure there are extraofficial official ones, but nothing like an "official"
one.
WRT the OP, that's not a clarification we are able to make, or should make.
I think it's up to @timtoady to point us in the right direction.

I did thumbs down  because this doesn't seem to have any relevance to anything on github. If you're bikeshedding about how the release is announced, either help by setting up the accounts you think should exist, or just talk about it on irc.

@CIAvash I can't see anything of interest in either of your two links. If you want to create a blog.perl6.org please go ahead. We are volunteers not bureaucrats and "official channels" means nothing. Anyway I'm out of this thread.

@JJ https://twitter.com/perl6org
If there are no official things, then what are perl6.org and the perl6 group on github?
@virtualsue It's about Perl 6 user experience, what does anything on github have to do with it?

I disagree with @virtualsue and @stmuk here, I think this is a fine place for a question about how we announce things.

El mar., 6 nov. 2018 a las 14:57, Siavash Askari Nasr (<
<EMAIL_ADDRESS>escribió:

@JJ https://github.com/JJ https://twitter.com/perl6org
If there are no official things, then what are perl6.org and the perl6
group on github?

Well, those are official, but also collective, in the sense that anyone
with write access to the repo can publish there (and anyone else review). I
might have missed it, or maybe I just don't know where those things are
made, but I think that account is extraofficial. It's not even listed in
perl6.org as the official twitter account, and it's actually called "Perl 6
news feed", not perl6 official account or whatever. I might be wrong,
however. It's true that I don't know who that account belongs to, but it's
just me, maybe everyone else knows.
JJ

It's a thinly disguised attack

I didn't read it that way.

For example the Perl 6.d announcement was done by Zoffix on blogs.perl.org with his own account, and the official twitter account simply retweeted Zoffix's tweet.

Yeah, and it was almost done on perl6.party with the dancing cats on it, before I remembered I had a more appropriate blog space for it.
It would be very helpful to have some central communications channels the core team has access to to put out announcements without limiting it to some mailing list (similar to how there is alerts.perl6.org the release managers use to disseminate critical alerts).

A Jekyll blog could also work, but then the problem will be the design and if it needs to be consistent with other things.
So maybe what you said is better(at least until the media group becomes a thing maybe).
It's good to have a place that people know to look up when they need to find announcements and also subscribe to its feed(which blogs.perl.org has) if they want to follow it.
About the social media accounts, they are mentioned on Perl 6 Resources, but that doesn't mean they are official. So I don't know about that, but it would be nice maybe in addition to retweeting(or re-posting) individuals' posts, have a separate post for announcements.

El mié., 7 nov. 2018 a las 10:12, Siavash Askari Nasr (<
<EMAIL_ADDRESS>escribió:

A Jekyll blog could also work, but then the problem will be the design and
if it needs to be consistent with other things.
So maybe what you said is better(at least until the media group becomes a
thing maybe).
It's good to have a place that people know to look up when they need to
find announcements and also subscribe to its feed(which blogs.perl.org
has) if they want to follow it.
About the social media accounts, they are mentioned on Perl 6 Resources
https://perl6.org/resources/, but that doesn't mean they are official.
So I don't know about that, but it would be nice maybe in addition to
retweeting(or re-posting) individuals' posts, have a separate post for
announcements.

Well, it would be nice to have an official Twitter account that would do
that, at least...

Yeah, and if nobody wants to write the post manually, something like IFTTT can be used to tweet the feed items automatically.

@JJ https://twitter.com/perl6org
If there are no official things, then what are perl6.org and the perl6 group on github?
@virtualsue It's about Perl 6 user experience, what does anything on github have to do with it?

I don't agree that this is a Perl 6 user experience issue. The "alternative narrative" (I'd call it a lie) that Zoffix is "doing things on his own" has been promulgated by certain people behaving IMO in a destructive manner.
I also don't believe that an official account would have helped in this particular instance, although Zoffix or anyone else might find it handy to keep a separate account for announcement purposes - in which case, just register one. Moritz has a Perl 6 News Feed twitter account, for example. Steve runs the RSS aggregator. People just pitch up and do things.
As a counter example, just the other day a conference organiser was using what is meant to be the 'official account' for the next European Perl conference to voice his own angry opinions and threaten to call off the conference (nb I believe this threat has since been rescinded). I thought it looked worse that the discussion happened via an account set aside for the conference. If it had been coming directly from the person who was upset, then it would have been more honest and open.

Note that although I'm in the #perl6 IRC channel every workday and have subscribed the 'Weekly changes in and around Perl 6' RSS feed from https://p6weekly.wordpress.com I haven't noticed this dispute until this github issue was opened.
I doubt that anyone outside the core Perl 6 bubble took notice, same for the childish naming alias discussions.

Maybe by including the example I put a lot of emphasis on it, but that wasn't the main reason, it was just an example(another example happened yesterday, but I'm not going to link to it). Also about "lie", I went with not assuming the worst intentions(which I think is another problem of the community).
The main thing is having a central blog for announcements, the social media accounts come after that which can be solved by automatically posting the blog's feed as I mentioned in another comment.
I guess this is another example of miscommunications.

I refer you to my original comment about bikeshedding. That's what this is.

Hello @CIAvash. Hopefully I understood the intention of this issue and I completely agree that there should be a central blog for this project (served at blog.perl6.org).
FWIW, I think that a good solution would be a Jekyll blog, hosted in GitHub, with Markdown files editable by the authors. This new blog should be the place for:

Weekly reports
Advent calendar posts
Guest posts
New releases announcements (Rakudo Star, + others)

With a Jekyll blog, it should be easy to setup a consistent layout for all posts with a Perl 6 theme/colorscheme.

Sorry, I didn't look carefully enough: I thought I was closing #33 . My apologies.

I think is related to Perl 6 at a glance

almost done on perl6.party with the dancing cats

To add another point to OP: there has been confusion in my Twitter feed between my announcing 6.d release and my personal use of "Raku" as language name alias. So another benefit to official channels is clearer separation between official messaging and developers' personal viewpoints.

@CIAvash can you submit a new ticket in the problem-solving repo? I think the situation is significantly different now.


Make View's lists of aggregations immutable.

Codecov Report

Merging #280 into master will increase coverage by <.01%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master     #280      +/-   ##
============================================
+ Coverage     93.57%   93.57%   +<.01%
  Complexity      431      431
============================================
  Files            76       76
  Lines          1649     1651       +2
  Branches         92       92
============================================
+ Hits           1543     1545       +2
  Misses           81       81
  Partials         25       25

Impacted Files
Coverage Δ
Complexity Δ

...in/java/com/google/instrumentation/stats/View.java
100% <100%> (ø)
1 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

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

Thanks


Add unit information to the metrics

It would be great to have a label to explain what the Y-axis actually is.

Duplicate of #128, closing this since 128 can be prioritized better under a dune OKR.


Provide an API for accessing all of a project's version constraints from within the project

Expected Behavior
I'd like to be able to access all of a project's version constraints, both those declared directly and those that have been imported via platform or enforcedPlatform dependencies, from within the project itself.
Current Behavior
Currently, all of a project's constraints can only be accessed from another project. As recommended by @melix, we're currently using this approach in Spring Boot's build.
Context
We include a list of all the version constraints in spring-boot-dependencies in Spring Boot's reference documentation. We'd like to simplify the logic for generating this list.
We'd also like to enhance our internal plugin that we use for keeping spring-boot-dependencies up-to-date. The enhancement requires access to all of the version constraints in spring-boot-dependencies from within spring-boot-dependencies so the current need to use a separate project to get all the constraints is blocking us.

This is such a great idea.
I think overall community will benefit if they are able to either have an API to generate or get a report of constraints from a platform that may or may not combine other platforms


Disable party to hide them from find screen

What is the motivation for adding/enhancing this feature?

Disabling a party will hide them from the find screen and there will be a special toggle to show disabled users where the party is disabled, not just the login


Update to graphql.js 0.11

Hitting those duplicated module errors again 😞  Updating would solve it 👍

👍 i'll take a look

A friend of mine pointed me to greenkeeper for dealing with issues like this. Free for public repos, might want to take a look.

@adamkl yeah we definitely used to have greenkeeper set up, but i'm not sure what happened

@felixfbecker https://github.com/avantcredit/gql2ts/pull/94

fixed in #94


DFS.py

DFS algorithm in Python

Great! Thanks for the contribution. ❤

Thank You!

Status on hacktoberfest  page showing excluded Project. Why


MMob natural spawning

Hey, is there a way to disable mmobs from naturally spawning? I looked around the default configs but couldn't find anything.

What do you mean? How are they naturally spawning?

They're just spawning normally in the PvP world

There's nothing in the plugin that would do that. You need to use MagicWorlds to swap vanilla spawns with magic mob spawns.
If you have some other plugin that is replacing vanilla spawns then magic mobs will be attached to the spawned mobs IF you have them spawning with custom names that match your mmob configs.

Ah, that'd be it. Thank you!


Cannot upload image from clipboard

Before submitting your bug report

[X] I believe this is a bug. I'll try to join the Continue Discord for questions
[X] I'm not able to find an open issue that reports the same bug
[X] I've seen the troubleshooting guide on the Continue Docs

Relevant environment info
- OS: Windows
- Continue:
- IDE: Visual Studio
- Model: claude sonnet 3.5
- config.json:

Description
If you want to add an image to a chat, you have to save it to a file first and then upload it from the file picker. Copying an image from the browser or more commonly from snipping tool and then pasting it into the box doesn't work as I'd expect it to.
To reproduce

Take a screenshot with the snipping tool (WinKey + Shift + S), this is will add the screenshot to your clipboard
Open the chat window
Try to paste the image into box and fail

Log output
No response

I had the same issue but on Linux. Updating my Continue fixed it.


react native in app billing does not work

Somebody knows what is wrong with my code? There is no error but if i purchase the item the state does not change. I have build the app and uploaded it as an alpha version to test it. Somebody knows how i can test it easylier? Because if should everytime buy this item with another android phone. When i am doing a few times i am a poor man.
const InAppBilling = require("react-native-billing");

componentDidMount() {
    InAppBilling.loadOwnedPurchasesFromGoogle().then(
        ()=>{
            this.setState({
                purchased: InAppBilling.isPurchased('id')
            })
        }
    );
}

render(){
    return(
    <View>
    <Button
    onPress= { ()=>{
    InAppBilling.open()
      .then(() => InAppBilling.purchase("id"))
      .then(details => {
          console.log("You purchased: ", details);
          this.setState({ purchased: true })
          return InAppBilling.close();
      })
      .catch(err => {
          console.log(err);
      });
    }/>
    </View>

I have exactly the same behavior, how did you fix that?
isPurchased just always returns false value


Fan Auto and Turbo mode switches

Is your feature request related to a problem? Please describe:
Fan Auto and Turbo mode switches request
Describe the solution you'd like:
Since the automations possibilities are endless, having the Fan Auto and Turbo mode as switches in Home app, will allow to create a new set of automation rules.
Describe alternatives you've considered:
none
Additional context:
none. If needed ping me a message.

Fan auto mode is accessible using the fan accessory switch.
What is turbo mode? I don't see such option for my AC. Can you please turn on debug mode in your Homebridge instance, enable verbose logging for one of your device, then turn on and off turbo mode using the official app and send me the logs?

About the Fan mode - my bad. I didn't noticed that. Thanks.
about the log: (I believe what we area looking for is the boost mode - these translations kills me)
[20/08/2024, 11:04:34] [midea-platform] [Suíte] Value for POWER changed from 'false' to 'true'
[20/08/2024, 11:04:34] [midea-platform] [Suíte] Value for BOOST_MODE changed from 'false' to 'true'
[20/08/2024, 11:04:34] [midea-platform] [Suíte] Set attribute POWER to: true
[20/08/2024, 11:04:34] [midea-platform] [Suíte] Set attribute BOOST_MODE to: true
[20/08/2024, 11:04:34] [midea-platform] [Suíte] Attempt to set unsupported attribute BOOST_MODE to true
[20/08/2024, 11:04:37] [midea-platform] [Suíte] Value for OUTDOOR_TEMPERATURE changed from 'undefined' to '31.3'
[20/08/2024, 11:04:37] [midea-platform] [Suíte] Value for INDOOR_HUMIDITY changed from 'undefined' to '0'
[20/08/2024, 11:04:37] [midea-platform] [Suíte] Set attribute OUTDOOR_TEMPERATURE to: 31.3
[20/08/2024, 11:04:37] [midea-platform] [Suíte] Set attribute INDOOR_HUMIDITY to: 0
[20/08/2024, 11:04:37] [midea-platform] [Suíte] Attempt to set unsupported attribute INDOOR_HUMIDITY to 0
[20/08/2024, 11:04:40] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:04:43] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:04:46] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:04:51] [midea-platform] [Suíte] Value for BOOST_MODE changed from 'true' to 'false'
[20/08/2024, 11:04:51] [midea-platform] [Suíte] Set attribute BOOST_MODE to: false
[20/08/2024, 11:04:51] [midea-platform] [Suíte] Attempt to set unsupported attribute BOOST_MODE to false
[20/08/2024, 11:04:54] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:04:57] [midea-platform] [Suíte] Refreshing status...
[20/08/2024, 11:04:57] [midea-platform] [Suíte] Value for POWER changed from 'true' to 'false'
[20/08/2024, 11:04:57] [midea-platform] [Suíte] Set attribute POWER to: false
[20/08/2024, 11:04:57] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:04:57] [midea-platform] [Closet] Refreshing status...
[20/08/2024, 11:04:57] [midea-platform] [Escritório] Refreshing status...
[20/08/2024, 11:04:57] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:04:58] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:04:58] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:05:00] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:05:00] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:05:01] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:05:04] [midea-platform] [Suíte] Status unchanged

Yes, that's what I needed, thank you!

I've added the possibility of doing this with v1.1.2-beta.6. Can you try it, please? Also, the switch should turn on the device, if it was off before, but turning off the switch will not power it down. If you think this logic is incorrect, please le me know.

About the Fan. I have tested here and it show the slider. There is an option, when you set the AC to cool or heat, to set the fan to auto. I believe this is the parameter: [20/08/2024, 11:17:22] [midea-platform] [Escritório] Value for FAN_AUTO changed from 'true' to 'false'
Is this FAN_AUTO could be a switch?
[20/08/2024, 11:15:50] [midea-platform] [Escritório] Refreshing status...
[20/08/2024, 11:15:51] [midea-platform] [Suíte] Refreshing status...
[20/08/2024, 11:15:51] [midea-platform] [Suíte] Value for INDOOR_TEMPERATURE changed from '25.2' to '25.4'
[20/08/2024, 11:15:51] [midea-platform] [Suíte] Set attribute INDOOR_TEMPERATURE to: 25.4
[20/08/2024, 11:15:51] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:15:51] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:15:51] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:15:51] [midea-platform] [Closet] Refreshing status...
[20/08/2024, 11:15:52] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:15:53] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:15:54] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:16:21] [midea-platform] [Escritório] Refreshing status...
[20/08/2024, 11:16:21] [midea-platform] [Suíte] Refreshing status...
[20/08/2024, 11:16:21] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:16:21] [midea-platform] [Suíte] Value for SCREEN_DISPLAY changed from 'false' to 'true'
[20/08/2024, 11:16:21] [midea-platform] [Suíte] Value for SCREEN_DISPLAY_NEW changed from 'false' to 'true'
[20/08/2024, 11:16:21] [midea-platform] [Suíte] Set attribute SCREEN_DISPLAY to: true
[20/08/2024, 11:16:21] [midea-platform] [Suíte] Set attribute SCREEN_DISPLAY_NEW to: true
[20/08/2024, 11:16:21] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:16:22] [midea-platform] [Closet] Refreshing status...
[20/08/2024, 11:16:22] [midea-platform] [Escritório] Value for MODE changed from '1' to '2'
[20/08/2024, 11:16:22] [midea-platform] [Escritório] Set attribute MODE to: 2
[20/08/2024, 11:16:22] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:16:24] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:16:24] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:16:51] [midea-platform] [Escritório] Refreshing status...
[20/08/2024, 11:16:51] [midea-platform] [Suíte] Refreshing status...
[20/08/2024, 11:16:52] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:16:52] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:16:52] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:16:52] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:16:52] [midea-platform] [Closet] Refreshing status...
[20/08/2024, 11:16:53] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:16:53] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:16:54] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:17:21] [midea-platform] [Escritório] Refreshing status...
[20/08/2024, 11:17:22] [midea-platform] [Suíte] Refreshing status...
[20/08/2024, 11:17:22] [midea-platform] [Escritório] Value for FAN_SPEED changed from '102' to '60'
[20/08/2024, 11:17:22] [midea-platform] [Escritório] Value for FAN_AUTO changed from 'true' to 'false'
[20/08/2024, 11:17:22] [midea-platform] [Escritório] Set attribute FAN_SPEED to: 60
[20/08/2024, 11:17:22] [midea-platform] [Escritório] Set attribute FAN_AUTO to: false
[20/08/2024, 11:17:22] [midea-platform] [Suíte] Value for INDOOR_TEMPERATURE changed from '25.4' to '25.3'
[20/08/2024, 11:17:22] [midea-platform] [Suíte] Set attribute INDOOR_TEMPERATURE to: 25.3
[20/08/2024, 11:17:22] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:17:22] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:17:22] [midea-platform] [Closet] Refreshing status...
[20/08/2024, 11:17:23] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:17:24] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:17:25] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:17:52] [midea-platform] [Escritório] Refreshing status...
[20/08/2024, 11:17:52] [midea-platform] [Escritório] Value for FAN_SPEED changed from '60' to '102'
[20/08/2024, 11:17:52] [midea-platform] [Escritório] Value for FAN_AUTO changed from 'false' to 'true'
[20/08/2024, 11:17:52] [midea-platform] [Escritório] Set attribute FAN_SPEED to: 102
[20/08/2024, 11:17:52] [midea-platform] [Escritório] Set attribute FAN_AUTO to: true
[20/08/2024, 11:17:52] [midea-platform] [Suíte] Refreshing status...
[20/08/2024, 11:17:53] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:17:53] [midea-platform] [Closet] Refreshing status...
[20/08/2024, 11:17:53] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:17:53] [midea-platform] [Suíte] Status unchanged
[20/08/2024, 11:17:53] [midea-platform] [Closet] Status unchanged
[20/08/2024, 11:17:54] [midea-platform] [Escritório] Status unchanged
[20/08/2024, 11:17:55] [midea-platform] [Closet] Status unchanged

I've added the possibility of doing this with v1.1.2-beta.6. Can you try it, please? Also, the switch should turn on the device, if it was off before, but turning off the switch will not power it down. If you think this logic is incorrect, please le me know.

I tested it and it is perfect. I think the logic is also good mainly if you think for an automation to cool /heat a room as fast as it can. So you don't need to send a lot of parameters, just turn this switch on.

So everything is okay now, or should I change something?

everything ok! thank you very much.


Is all of this necessary?

https://github.com/mjlbach/defaults.nvim/blob/d01e28fabc09c24b57a2312fa1ee1cf5f6b4b7e4/init.lua#L269-L289

It's necessary if you want tab navigation of the pop-up, which I believe is an expectation of newer lsp users. Up for discussion, I'm not an autocomplete user myself.


Droppable Coords

not clear how to get drop coords from example
$('.droppable').droppable({activeClass: 'active'})
.on('droppable:drop', function (e, ui) {
// from here
});

@ne0d1n Should be possible using this.offsetTop/this.offsetLeft (Position of the droppable) and e.clientX/e.clientY

this.offsetTop & this.offsetLeft both 0
e.clientX & e.clientY both undefined

Ah ok, just was a guess. I'll try to propagate the original event, containing e.clientX and e.clientY properly.

The event object should contain e.offsetX and e.offsetY now. These values are already relative to the droppable. Does this work for you?

Yes, thank you for fast response!

Great! :-)

It's looks like in code below  e.offsetX and e.offsetY comes undefined for mobile devices
.on('droppable:drop', function (e, ui) {
    var posX = e.offsetX
}

added to new issue #31


Sonar can't handle the defects of C++ header files

I used cppcheck to check my C++ code and generated an xml type report. There are some bugs or defects in the report that were checked in the header file, but after the sonarQuber upload to sonar, the defects in these header files could not be found.

I think you're confusing two different projects here ...


not support bilibili with multi-video?

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.08.28. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x] I've verified and I assure that I'm running youtube-dl 2018.08.28

Before submitting an issue make sure you have:

[x] At least skimmed through the README, most notably the FAQ and BUGS sections
[x] Searched the bugtracker for similar issues including closed ones
[x] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[x] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[ ] Question
[ ] Other

Problum
Not support url : https://www.bilibili.com/video/av30552710
Code:
[debug] System config: []
[debug] User config: []
[debug] Custom config: []
[debug] Command-line args: [u'-v', u'https://www.bilibili.com/video/av30552710']
[debug] Encodings: locale UTF-8, fs utf-8, out UTF-8, pref UTF-8
[debug] youtube-dl version 2018.08.28
[debug] Python version 2.7.15 (CPython) - Darwin-17.7.0-x86_64-i386-64bit
[debug] exe versions: ffmpeg 4.0.2, ffprobe 4.0.2
[debug] Proxy map: {}
[BiliBili] 30552710: Downloading webpage
[BiliBili] 30552710: Downloading video info page
[BiliBili] 30552710: Downloading video info page
ERROR: BiliBili said: Video is hidden.
Traceback (most recent call last):
  File "/usr/local/bin/youtube-dl/youtube_dl/YoutubeDL.py", line 792, in extract_info
    ie_result = ie.extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/common.py", line 502, in extract
    ie_result = self._real_extract(url)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/bilibili.py", line 165, in _real_extract
    self._report_error(video_info)
  File "/usr/local/bin/youtube-dl/youtube_dl/extractor/bilibili.py", line 101, in _report_error
    raise ExtractorError('%s said: %s' % (self.IE_NAME, result['message']), expected=True)
ExtractorError: BiliBili said: Video is hidden.

anyone can help me ?

Now "啊叻？视频不见了？" (G says "ah la? Video is missing?")
yt-dl:

... cannot extract title

yt-dlp:

...Unknown error occurred during API check (code -404)

That's a better result, although 404 is not exactly "Unknown".


Initial Commit of Window Functions

Description
This commit adds support for Window functions to Druid.  The intent is to support window functions similarly to what postgresql does (https://www.postgresql.org/docs/current/functions-window.html) as well as Drill (https://drill.apache.org/docs/sql-window-functions-introduction/)
The commit is large and there is more work to do, but this lays the foundation of supporting window functions.  This PR is best read from a few entry points:

The windowing functions are implemented as Processors.  Looking at this interface will give an idea of how the actual window functions are implemented.  The biggest notion here is that Processors deal with a RowsAndColumns object that represents a full partition.  Generally speaking, they believe that something else has prepared the RowsAndColumns for them which proves to be a nice simplifying assumption for their implementation.
RowsAndColumns is an interface that represents a set of... rows and columns.  If you look at the interface, it is rather minimalist.  The idea here is to lean into the idea of .as() as has existed on Segments for a long time.  We use it to effectively build a "menu" of common, generic functionality that can be done on a batch of data and then Operators/Processors can be written in terms of that common, generic functionality.  The implementation in this PR provides naive implementations of this functionality, as we get deeper in future PRs, this functionality will get fleshed out and specialized more to avoid object copies and megamorphism while further offering love for vectorized processing.
Operator is an interface introduced here.  WindowOperatorQuery is an operator-defined query for running Window operations on top of the results of a sub-query.  All of the logic for the operators is handled in WindowOperatorQueryQueryToolChest.merge right now.  Essentially, this PR has been co-opted to get Operators introduced into the Druid code base.  This means we are using window queries as an initial jumping off point for Operators to be introduced into the code flow.  We expect more and more iteration on this to expand the capabilities deeper and perhaps make a future world where Operator-only queries are a thing that Druid supports.
CalciteWindowQueryTest leverages the recent changes that brought us the QueryTestBuilder to have fully file-driven tests.  For the window functions, we needed more data, so I've moved the wikipedia dataset that was checked in as part of environment to be in the resources of the test jar.  We then index that and reference it in the tests.  The tests sit in calcite/tests/window of resources, each file is a SQL query, the window Operator structure that we expect to be built from it and the expected results.  Hopefully, this will simplify the addition of test cases making it easier for someone to add a test without necessarily knowing how to work with the code and fix it.

That said, this PR introduces various things, but it is not complete yet.  This is a first step and there are still sharp edges/unimplemented functionality.  That said, what exists here does work for a subset of use cases and is a meaningful milestone that can be committed while we iterate on fleshing out and finishing up the functionality.  As such, I'd like to get this reviewed and committed before making it even larger.  All interfaces introduced in this PR are experimental and the "windowOperator" query is also intended to be experimental.  Given that this is still experimental, I am intending to merge this PR as an undocumented feature, which we will document better as we get the sharp edges resolved.
Sharp Edges

The window function support does not yet support "frames" (ROWS BETWEEN 2 PRECEEDING AND 2 FOLLOWING style clauses).
The support is not yet fully aware of the difference between RANGE and ROWS when evaluating peers.  (The built-in functions are all implemented with the correctly defined semantics, similar to what the postgresql document says above)
All window functions in one query must use the same windowing definition (the code cannot currently support 2 different PARTITION BY X clauses)
The windowing logic will not re-sort the data.  It assumes that the sub-query was written such that data is pre-sorted in the way that the windowing logic expects.

These sharp edges are in the weeds enough that this support should still be considered experimental and it should exist as an undocumented feature.  Subsequent PRs will smooth out these sharp edges.

This PR has:

[ ] been self-reviewed.
[ ] added documentation for new or modified features or behaviors.
[ ] added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
[ ] added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
[ ] added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.

Closing this pull request as I broke it trying to rebase in master.


Allow row data to be simple values

I had to define rowHasChanged because I need to know the list position in my row component and it was a PITA to have to change the structure of my data.

@milesibastos Thank you for taking over managing this project, it badly needs some love.
I'm not sure what the question is about the PR.
In my app data has the form:
let data = {
key1: "value1",
key2: "value2",
},

instead of
let data = {
  hello: {text: 'world'},
  how: {text: 'are you'},
}

assumed by this component. My PR allows direct comparison of primitive values. Assignment of a primitive value is a shallow copy. So it would appear to do the right thing. If the value is of type object (which includes arrays), Object.assign is used to generate the shallow copy. If it's a primitive type, it's copied by assignment. The only other possibility is a type of function, and I can't wrap my head around how functions would be used as data values, and I can't guess how Object.assign would handle them either.


Remove jaxrs-api module and use jboss-jaxrs-api_2.0_spec instead

Use official jboss jaxrs-api artifact instead of one provided by this project itself.
WildFly already uses jaxrs-api.

I don't think I can decide for this change by myself. @ronsigal  Could you please help to check this PR?

The travis test failures are
Caused by: java.lang.NoClassDefFoundError: javax/annotation/Priority
javax.annotation.Priority exists in Resteasy's jaxrs-api module. Tomaz, could there be a versioning problem? Where is the source code for jboss-jaxrs-api_2.0_spec?
-Ron

Source for jboss-jaxrs-api can be found at https://github.com/jboss/jboss-jaxrs-api_spec
the javax.annotation.Priority was wrongly in jaxrs-api module, it is actually part of common annotations for java ee and as such part of JSR 250, https://www.jcp.org/en/jsr/detail?id=250
and we mentain that in repo: https://github.com/jboss/jboss-annotations-api_spec

Updated PR so that tests pass.

Hmm, @Priority didn't seem to be in jsr250-api-2.1.1.jar.
Anyway, this is great. Thanks, Tomaz.

I think we have a problem. I've been running some i18n tests, and I've realized that tne other thing this change needs is updating jboss-modules with dependencies on javax.annotation.api. I'm still testing, but

I think the wildfly zip file will be ok

AS7 (I'm looking at jboss-as-7.1.1.Final in particular) includes jboss-annotations-api_1.1_spec-1.0.0.Final.jar, which doesn't have the Priority class.

I don't know what to do about 2. Tomaz, any thoughts?

Maybe we should include jboss-annotations-api_1.2_spec:1.0.0.Final in the AS7 zip file.

Yes. That would be the best solution.

Ok, thanks, Tomaz. I'll take care of it.


New collector for glob patterns

Fixes #684

Awesome implementation, it looks so much easier than I expected by using Symfony's toRegex support internally 👏


rancher-machine may not delete a vSphere VM if an error is encountered removing the cloud-init iso

There is an issue where rancher-machine may not properly delete a VM if an error is encountered while removing the cloud-init ISO. Notably, the only error that would not cause machine to skip removing the VM itself would be an error from vsphere that the cloud-init ISO doesn't exist.
See: https://github.com/rancher/machine/blob/88a638a36a007b42de12639eb0b19a6139c6f3f3/drivers/vmwarevsphere/vsphere.go#L503
SURE-4070

rancher machine needs to be bumped in rancher for this to be ready to test

https://github.com/rancher/rancher/pull/41459/files#diff-347b85f4b27f0bc66ce4f2e3c4ca653d3f1c1ffb9e2b4f7c35814cf7881fd8a5R526 bumps rancher machine to a version with the vmwarevsphere driver fix

QA TEST PLAN
Scenarios

Scenario
Test Case

1
As a standard user, provision a downstream K3S node driver cluster, remote cloud-init based folders, delete a worker node in the cluster and validate that it is removed and a new node replaces it

2
As a standard user, provision a downstream RKE1 node driver cluster, remote cloud-init based folders, delete a worker node in the cluster and validate that it is removed and a new node replaces it

3
As a standard user, provision a downstream RKE2 node driver cluster, remote cloud-init based folders, delete a Linux and a Windows worker node in the cluster and validate that they are removed and new nodes replace them

Reproduced this issue on v2.7.3. See details below:
ENVIRONMENT DETAILS

Rancher install: Docker
Rancher version: v2.7-head https://github.com/rancher/rancher/commit/b9ddec9e7d295ee309b61a8e36206e1ba6fe06c4
Browser: Chrome

TEST RESULT

Scenario
Test Case
Result

1
As a standard user, provision a downstream K3S node driver cluster, remote cloud-init based folders, delete a worker node in the cluster and validate that it is removed and a new node replaces it
:x:

REPRO STEPS
Scenario 1

As a standard user, provisioned a downstream K3S v1.26.4+k3s1 node driver cluster (1 etcd, 1 cp, 1 worker).

Validated that the cluster and nodes came up Active.

In the worker node shell, ran command sudo rm -rf /etc/cloud/ && sudo rm -rf /var/lib/cloud/.
Deleted the worker node from the cluster and the node was stuck in Deleting and was not removed from Rancher or the vSphere infrastructure page.

Attempted this step several times on different clusters and I intermittently reproduced the behavior. In the times that it deleted and a new node would come up, it was stuck in a state of Reconciling.

As I am able to intermittently reproduce this behavior, I will test again with the latest v2.7-head and see if I see this issue.

Validated that the initial issue is resolved in v2.7-head https://github.com/rancher/rancher/commit/b9ddec9e7d295ee309b61a8e36206e1ba6fe06c4. However, there seems to be a separate issue that I found in testing. Please find below:
ENVIRONMENT DETAILS

Rancher install: Docker
Rancher version: v2.7-head https://github.com/rancher/rancher/commit/b9ddec9e7d295ee309b61a8e36206e1ba6fe06c4
Browser: Chrome

TEST RESULT

Scenario
Test Case
Result

1
As a standard user, provision a downstream K3S node driver cluster, remote cloud-init based folders, delete a worker node in the cluster and validate that it is removed and a new node replaces it
:x:

2
As a standard user, provision a downstream RKE2 node driver cluster, remote cloud-init based folders, delete a Linux and a Windows worker node in the cluster and validate that they are removed and new nodes replace them
:x:

VALIDATION STEPS
Scenario 1

As a standard user, provisioned a downstream K3S v1.26.4+k3s1 node driver cluster (1 etcd, 1 cp, 1 worker).

Validated that the cluster and nodes came up Active.

In the worker node shell, ran command sudo rm -rf /etc/cloud/ && sudo rm -rf /var/lib/cloud/.
Deleted the worker node from the cluster and validated that it was successfully removed in Rancher and the vSphere infrastructure page.
Validated that a new worker node spun up in Rancher and vSphere infrastructure page after the old node was successfully deleted.
When monitoring the new node, I see the following

I repeated this several times, but I am constantly seeing this with new clusters as well.

Scenario 2

Repeated scenario 1, but provisioned a downstream RKE2 v1.26.4+rke2r1 node driver cluster (1 etcd, 1 cp, 1 worker).
After deleting the Linux worker node after scenario 1 step 3, I noted that the node gets stuck here:

@Oats87 I'm reopening this issue due to the issue that I reported. The original issue appears to have been resolved, but I would expect that the new node come up Active as part of this issue being resolved.

@markusewalker , the issue you ran into seems to be https://github.com/rancher/rancher/issues/41613 and since it's now in test, this one can be retested as well. Thank you!

Retested this against v2.7-head https://github.com/rancher/rancher/commit/6ce75a0b57ad9e88cf135254a9b3b40082788eb6 (ensured this was the latest Rancher image despite the fix being in later commit). Please see updated results below:
ENVIRONMENT DETAILS

Rancher install: Docker
Rancher version: v2.7-head https://github.com/rancher/rancher/commit/6ce75a0b57ad9e88cf135254a9b3b40082788eb6
Browser: Chrome

TEST RESULT

Scenario
Test Case
Result

1
As a standard user, provision a downstream K3S node driver cluster, remote cloud-init based folders, delete a worker node in the cluster and validate that it is removed and a new node replaces it
:white_check_mark:

2
As a standard user, provision a downstream RKE2 node driver cluster, remote cloud-init based folders, delete a Linux and a Windows worker node in the cluster and validate that they are removed and new nodes replace them
:x:

VALIDATION STEPS
Scenario 1

As a standard user, provisioned a downstream K3S v1.26.4+k3s1 node driver cluster (1 etcd, 1 cp, 1 worker).

Validated that the cluster and nodes came up Active.

In the worker node shell, ran command sudo rm -rf /etc/cloud/ && sudo rm -rf /var/lib/cloud/.
Deleted the worker node from the cluster and validated that it was successfully removed in Rancher and the vSphere infrastructure page.
Validated that a new worker node spun up in Rancher and vSphere infrastructure page after the old node was successfully deleted.
Validated that the new worker node eventually becomes Active and the cluster as well, as expected.
Note: Repeated this scenario 3 times, each time it succeeded. Additionally, I tried with RKE2 as well with v1.26.4+rke2r1, same results as well.

Scenario 2

Repeated scenario 1, but provisioned a downstream RKE2 v1.26.4+rke2r1 node driver cluster (1 etcd, 1 cp, 1 Linux worker + 1 Windows worker).
Deleted the Linux and Windows worker nodes at the same time.
Noted that the Linux worker node gets stuck in a Reconciling state with message Waiting for probes: calico, kubelet and the Windows worker node gets stuck in a Reconciling state with message Waiting for probes: kubelet.

While the issue has been addressed for Linux nodes, it appears that when a Windows worker node is present, this issue is still relevant. As such, I will be reopening the issue again as this issue should be resolved for Linux and Windows nodes, not just Linux nodes.

@aiyengar2 given the involvement of windows in the test failure, I think I'm going to need your help here.

Spoke with @Oats87 offline and figured out there was an issue in my initial testing. I updated my test results above and both scenarios are now successful.
Closing this issue.


Make MM_VERSION an ARG instead of an ENV

To easily specify the desired MM version
fixes #499

Hello @pat-s,
Thanks for your pull request! A Core Committer will review your pull request soon. For code contributions, you can learn more about the review process here.
Per the Mattermost Contribution Guide, we need to add you to the list of approved contributors for the Mattermost project.
Please help complete the Mattermost contribution license agreement?
Once you have signed the CLA, please comment with /check-cla and confirm that the CLA check is green.
This is a standard procedure for many open source projects.
Please let us know if you have any questions.
We are very happy to have you join our growing community! If you're not yet a member, please consider joining our Contributors community channel to meet other contributors and discuss new opportunities with the core team.

/check-cla

This PR has been automatically labelled "stale" because it hasn't had recent activity.
A core team member will check in on the status of the PR to help with questions.
Thank you for your contribution!
/cc @jasonblais @jfrerich @emilyacook


Call new IHttpContextFactory.Dispose(...) from request end

In here: https://github.com/aspnet/KestrelHttpServer/blob/dev/src/Microsoft.AspNet.Server.Kestrel/Http/Frame.cs#L175-L196
Before the try do the create, and in the finally do the dispose.
See new API in https://github.com/aspnet/Hosting/issues/404.

Same as WebListener, your hosting changes have potential to break these.

merged to dev


how to use in swift 5

I put a this line but there are a Showing Error **#import <DKImagePickerController/DKImagePickerController.h>

'ZDStickerView/ZDStickerView.h' file not found

**


chore: fix flaky memory storage test

Fixes https://github.com/apify/apify-ts/pull/138#issuecomment-1156672074
Since the worker can take a while to actually write the files, a set timeout might not be sufficient (especially if overloaded). Now the test will keep trying to access the dir (since we know it should be created) before running tests on it

Merge ready, the CI errored with something I've never seen before


关于Hugging Face Hub连接超时

作者您好，在运行python train.py ./args_files/args_res50_kitti_192x640_train.txt时，会报错Hugging Face Hub连接超时错误，请问这该如何解决。或者我能否手动下载模型权重文件，然后将其放置在脚本期望的位置？具体文件名称和位置能否请您告知一下。
错误情况如下：
(/data/ccy/env/SfMNeXt) ccy@kxB1:/data/ccy/project/SfMNeXt-Impl-main$ python train.py ./args_files/args_res50_kitti_192x640_train.txt
/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/torch/cuda/init.py:138: UserWarning: CUDA initialization: The NVIDIA driver on your system is too old (found version 10020). Please update your GPU driver by downloading and installing a new version from the URL: http://www.nvidia.com/Download/index.aspx Alternatively, go to: https://pytorch.org to install a PyTorch version that has been compiled with your version of the CUDA driver. (Triggered internally at ../c10/cuda/CUDAFunctions.cpp:108.)
return torch._C._cuda_getDeviceCount() > 0
Traceback (most recent call last):
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connection.py", line 203, in _new_conn
sock = connection.create_connection(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/util/connection.py", line 85, in create_connection
raise err
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/util/connection.py", line 73, in create_connection
sock.connect(sa)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connectionpool.py", line 790, in urlopen
response = self._make_request(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connectionpool.py", line 491, in _make_request
raise new_e
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connectionpool.py", line 467, in _make_request
self._validate_conn(conn)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1096, in _validate_conn
conn.connect()
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connection.py", line 611, in connect
self.sock = sock = self._new_conn()
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connection.py", line 212, in _new_conn
raise ConnectTimeoutError(
urllib3.exceptions.ConnectTimeoutError: (<urllib3.connection.HTTPSConnection object at 0x7f14bbdeda90>, 'Connection to huggingface.co timed out. (connect timeout=10)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/requests/adapters.py", line 486, in send
resp = conn.urlopen(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/connectionpool.py", line 844, in urlopen
retries = retries.increment(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/urllib3/util/retry.py", line 515, in increment
raise MaxRetryError(_pool, url, reason) from reason  # type: ignore[arg-type]
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /timm/convnext_large.fb_in22k_ft_in1k/resolve/main/pytorch_model.bin (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f14bbdeda90>, 'Connection to huggingface.co timed out. (connect timeout=10)'))
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1247, in hf_hub_download
metadata = get_hf_file_metadata(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1624, in get_hf_file_metadata
r = _request_wrapper(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 402, in _request_wrapper
response = _request_wrapper(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 425, in _request_wrapper
response = get_session().request(method=method, url=url, **params)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/requests/sessions.py", line 589, in request
resp = self.send(prep, **send_kwargs)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/requests/sessions.py", line 703, in send
r = adapter.send(request, **kwargs)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/utils/_http.py", line 63, in send
return super().send(request, *args, **kwargs)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/requests/adapters.py", line 507, in send
raise ConnectTimeout(e, request=request)
requests.exceptions.ConnectTimeout: (MaxRetryError("HTTPSConnectionPool(host='huggingface.co', port=443): Max retries exceeded with url: /timm/convnext_large.fb_in22k_ft_in1k/resolve/main/pytorch_model.bin (Caused by ConnectTimeoutError(<urllib3.connection.HTTPSConnection object at 0x7f14bbdeda90>, 'Connection to huggingface.co timed out. (connect timeout=10)'))"), '(Request ID: ecf9a333-7b8b-4830-bc46-02241ea337ff)')
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/data/ccy/project/SfMNeXt-Impl-main/train.py", line 22, in
trainer = Trainer(opts)
File "/data/ccy/project/SfMNeXt-Impl-main/trainer.py", line 64, in init
self.models["encoder"] = networks.Unet(pretrained=(not self.opt.load_pretrained_model), backbone=self.opt.backbone, in_channels=3, num_classes=self.opt.model_dim, decoder_channels=self.opt.dec_channels)
File "/data/ccy/project/SfMNeXt-Impl-main/networks/Unet.py", line 114, in init
encoder = create_model(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/timm/models/_factory.py", line 117, in create_model
model = create_fn(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/timm/models/convnext.py", line 986, in convnext_large
model = _create_convnext('convnext_large', pretrained=pretrained, **dict(model_args, **kwargs))
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/timm/models/convnext.py", line 486, in _create_convnext
model = build_model_with_cfg(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/timm/models/_builder.py", line 397, in build_model_with_cfg
load_pretrained(
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/timm/models/_builder.py", line 190, in load_pretrained
state_dict = load_state_dict_from_hf(pretrained_loc)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/timm/models/_hub.py", line 188, in load_state_dict_from_hf
cached_file = hf_hub_download(hf_model_id, filename=filename, revision=hf_revision)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/utils/_validators.py", line 118, in _inner_fn
return fn(*args, **kwargs)
File "/data/ccy/env/SfMNeXt/lib/python3.9/site-packages/huggingface_hub/file_download.py", line 1377, in hf_hub_download
raise LocalEntryNotFoundError(
huggingface_hub.utils._errors.LocalEntryNotFoundError: An error happened while trying to locate the file on the Hub and we cannot find the requested files in the local cache. Please check your connection and try again or make sure your Internet connection is on.
期待得到您的回复 谢谢~

权重文件会默认下载到~/.cache/torch/hub/checkpoints目录下，可以手动下载权重

你好 请问可以提供下应下载权重文件网址、名称么？在文件中没有准确找到相应的连接，麻烦了，谢谢~


Is it possible to have a fixed view of fixed width/height outside a router?

Version
react native 0.22.2

react-native-router-flux v3.x

Expected behaviour
A small fixed view should be present on top of each scene.
Actual behaviour
View outside Router tag does not work.
<View style={{flex:1}}> <Provider store = {store}>             <Router hideNavBar={true}>                 <Route name="s1" component={s1} initial={true}/>                 <Route name="s2" component={s2} type="replace"/>                 <Route name="s3" component={s3} type="replace"/>                 <Route name="s4" component={s4} type="replace"/>                 <Route name="s5" component={s5} />               </Router>   </Provider> <View style={{position:'absolute', top:0, left:0, width: 100, height: 100}}>              <Text>Hi</Text> </View> </View>

I am facing a similar issue. has anyone found a solution?

You could use src/TabBar.js as inspiration for rendering a child scene with a "static" component.


mingw -> msvc on Windows

Switch from mingw to msvc on Windows. See https://github.com/conda-forge/vegafusion-python-embed-feedstock/pull/59
Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[x] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

@conda-forge-admin please rerender

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe/meta.yaml) and found it was in an excellent condition.


add support for fuse_get_context() function

fuse_get_context() return an object with info of the current fuse operation context, like the caller process uid, gid & pid.
http://fuse.sourceforge.net/doxygen/fuse_8h.html#a9a0f2a6603cb1e21f5e4c1aec84a3bcc
http://fuse.sourceforge.net/doxygen/structfuse__context.html

when will these be different from process.uid, process.gid and process.pid?

process.uid is the uid of the fuse process, not the one accesing to the filesystem ;-)

2.2.0 adds fuse.context() that you can call inside a fuse operation
fuse.mount(..., {
  ...
  getattr: function (...) {
    console.log(fuse.context()) // return pid, uid, gid
  }
  ...
})

Oh cool! Thank you! :-D

Just curious: why you are not generating the ctx objecg in C++ area and instead you are modifying one provided from Javascript area? Is this done to prevent memory leaks?
(I know almost nothing about NAN...)

Yea this was easier from a gc point of view

Ah, ok, cool :-) Thank you for the clarification! :-D


ARROW-355: Add tests for serialising arrays of empty strings to Parquet

Depends on https://issues.apache.org/jira/browse/PARQUET-759

+1


Static analysis of templates for actions on non-interactive elements.

Not guaranteed to be perfect because of binding (still needs to be checked runtime) but it could catch most at test/build time.

Issue is being addressed in ember-cli-template-lint.


chore: Split explorer hooks to support module instances

Description
Splitting explorer hooks to support module instances
PR fixes following issue(s)
Fixes #26517
Type of change

Chore (housekeeping or task changes that don't impact user perception)

Testing
How Has This Been Tested?

[x] Manual
[ ] JUnit
[x] Jest
[x] Cypress

Checklist:
Dev activity

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[x] New and existing unit tests pass locally with my changes
[ ] PR is being merged under a feature flag

QA activity:

[ ] Speedbreak features have been covered
[ ] Test plan covers all impacted features and areas of interest
[ ] Test plan has been peer reviewed by project stakeholders and other QA members
[ ] Manually tested functionality on DP
[ ] We had an implementation alignment call with stakeholders post QA Round 2
[ ] Cypress test cases have been added and approved by SDET/manual QA
[ ] Added Test Plan Approved label after Cypress tests were reviewed
[ ] Added Test Plan Approved label after JUnit tests were reviewed

/ok-to-test

/ok-to-test


JumpScale Documentation

This storycard is about both technical and end user documentation regarding the following topics

Installations

in system installation
docker installation

Security Layer

NACL and configmanager

with sshkey
without sshkey

functionality

Core

baseclasses (see:https://github.com/threefoldtech/jumpscaleX/blob/development_jumpscale/docs/Internals/baseclasses/readme.md)

Data Layer

schemas
BCDB

SALs

Tools

TFChain

Clients

Servers

Builders

DigitalMe

server rack
Actors
jsclient (see: https://github.com/threefoldtech/digitalmeX/blob/development/docs/webserver/websocket-gedis.md)
gundbjs integration

Will start with Installation docs.

Todo:
add/enhance readmes
simple demo/tutorial

Changelog: Installer

updated install readme; branch development_jumpscale; commit: https://github.com/threefoldtech/jumpscaleX/commit/c52a2c4f9725330070cdc7e76ef002cde7c54002
file https://github.com/threefoldtech/jumpscaleX/blob/development_jumpscale/docs/Installation/README.md

Changelog: Security Layer

Updated readme; branch: development_jumpscale commit: https://github.com/threefoldtech/jumpscaleX/commit/2dc8e901238aeb1afa254595bb5a92ce1c5365a5
file: https://github.com/threefoldtech/jumpscaleX/tree/development_jumpscale/docs/security_layer

Now, working on updating baseclasses docs.

Changelog: Installation, Security Layer:

some updates due to new changes at: commit: https://github.com/threefoldtech/jumpscaleX/commit/8b85aac3dc05e3e4e8ee9b7de7f2818fcfa187df ; branch: development_jumpscale

Now back on baseclasses docs.

Changelog: branch: development_jumpscale; commit:  https://github.com/threefoldtech/jumpscaleX/commit/0c559bab3add9be22bf974ca928868240b0abdc4
JSBase first docs at: https://github.com/threefoldtech/jumpscaleX/blob/0c559bab3add9be22bf974ca928868240b0abdc4/docs/Internals/baseclasses/README_NEW.md

Changelog
Branch: development_jumpscale; Commit: https://github.com/threefoldtech/jumpscaleX/commit/b7ba69271f515d109f732cb3b8393db435e9d886

Add JSAttr, JSFactoryConfig, JSConfigs classes docs

Currently

Working on JSConfig class

Changelog
Branch: development_jumpscale; Commit: https://github.com/threefoldtech/jumpscaleX/commit/2abbbb889077146af30df628222653b46e6a02d6

docs @ https://github.com/threefoldtech/jumpscaleX/blob/development_jumpscale/docs/Internals/baseclasses/README_NEW.md

Builders docs at: https://github.com/threefoldtech/jumpscaleX/blob/development_jumpscale/Jumpscale/builders/README.md


Email fixes

I forgot to take into account UserSettings in all places in my last big refactor.

Codecov Report

Merging #662 into develop will decrease coverage by 0.02%.
The diff coverage is 62.5%.

@@             Coverage Diff             @@
##           develop     #662      +/-   ##
===========================================
- Coverage    64.95%   64.92%   -0.03%
===========================================
  Files           42       42
  Lines         3749     3755       +6
  Branches       516      519       +3
===========================================
+ Hits          2435     2438       +3
- Misses        1175     1178       +3
  Partials       139      139

Impacted Files
Coverage Δ

helpdesk/models.py
80.35% <100%> (ø)
:arrow_up:

helpdesk/views/staff.py
42.67% <57.14%> (+0.05%)
:arrow_up:

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 a5f3e98...09d8f8c. Read the comment docs.


[6.x] Add new option to filter where in laravel collection.

Example,
I need to make some models factories with the "denomination" field, kind of  "Factory - ".$faker->name,  so... I need to filter those ids to use in the next step. But the collection has not a filter as database "like".
I decided to make a new function that filter string in the specified field and the dev may chose if is sensitive(default) or not.
Example sensitive:
` $c = new $collection([['denomination' => 'my string has factory'], ['denomination' => 'my Factory came back']]);
    $this->assertEquals(
        [['denomination' => 'my string has factory']],
        $c->whereStrpos('denomination', 'factory')->values()->all()
    );`

Example insensitve:
` $c = new $collection([['denomination' => 'my string has factory'], ['denomination' => 'my Factory came back']]);
    $this->assertEquals(
        [['denomination' => 'my string has factory'], ['denomination' => 'my Factory came back']],
        $c->whereStrpos('denomination', 'factory', false)->values()->all()
    );`

That way the devs has a new way to search data in the collection, without do loops and array filters, only using the whereStrpos passing "sensitive = false" if they want.

Thanks for your pull request to Laravel!
Unfortunately, I'm going to delay merging this code for now. To preserve our ability to adequately maintain the framework, we need to be very careful regarding the amount of code we include.
If possible, please consider releasing your code as a package so that the community can still take advantage of your contributions!
If you feel absolutely certain that this code corrects a bug in the framework, please "@" mention me in a follow-up comment with further explanation so that GitHub will send me a notification of your response.


add method of setting/storing the serial number for devices

We need a method of setting/storing/retrieving the serial number for a given device in order to properly support multiple device sessions on MATLAB.

Device serial numbers (as currently implemented) are in ROM on the SAM3U.

We already have the option of storing the calibration data in flash, so storing a custom serial too will be easy. However, the problem is that each reprogramming of the firmware overwrites the entire flash, so the calibration and the serial data will be gone.
Setting a different LED color for each connected board will help us identifying them. Isn't this a better option?

Reprogramming the firmware via the method done in libsmu doesn't reset the calibration. I'm somewhat sure we can make sure the serial data isn't wiped either.

The option is now available:
https://github.com/analogdevicesinc/m1k-fw/commit/d6e6550fe75410f31ae235f39e03181251b91293
Example of using:
dev.ctrl_transfer(0x40, 0x05, 0, 0, [1, 238, 2, 221, 48, 49, 50], 100)
The first 4 bytes are the SERIAL VALID key: 0x01, 0xee, 0x02, 0xdd and the remaining ones are the serial number (in this case 012????...).

Thanks, this is now supported in the libsmu rework branch and works well.


force enable HTML5 history mode in IE9

Vue.js / vue-router versions
2.1.18 / 2.1.1
Feature request / Question
How do you force enable HTML5 history mode in IE9?
If I use this polyfill https://github.com/devote/HTML5-History-API and do a page refresh on a route, vue-router doesn't fallback to hash mode (This is what I want).
But if I then afterwards click a router-link, it adds a hash to my url. I imagine that if I can somehow force html5 history mode, It'll work just as fine as on a page refresh.
Steps to reproduce

initialize the polyfill require("html5-history-api"); (or whichever module system you use).
load page on example.com/route.
clicking a router-link to example.com/newroute makes my url go to example.com/route#/newroute. I want it to go to example.com/newroute instead.

If anyone have another solution to this problem feel free to comment.
Because of how this app is made hash mode is sadly not an option.

Please, make sure to read our Contributing Guide. Issues are for bug reports and feature requests only.
We encourage you to ask questions on the forum , Stack Overflow or on gitter and are happy to help you out there. Come back open a new issue if you find out there's a real issue.

You can force the mode with mode: 'history' when creating the Router

mode: 'history' was already set (I forgot to write it).
Made a post on the forum instead.

@marktheis same problem, any idea?

@daggerjames Never figured it out. Luckily the project I'm working on just scrapped IE9 support. You could bump the forum thread and see if anyone have any ideas.

@marktheis There is a new option fallback since v2.6.0 .
https://github.com/vuejs/vue-router/releases/tag/v2.6.0


RTF Files are being scanned, resulting in error

2018-06-06 09:40:38,733 -    DEBUG: [197] Content-Type: 'multipart/mixed'
2018-06-06 09:40:38,733 -    DEBUG: [197] Content-Type: 'multipart/alternative'
2018-06-06 09:40:38,734 -    DEBUG: [197] Content-Type: 'text/plain'
2018-06-06 09:40:38,734 -    DEBUG: [197] Analyzing attachment: None
2018-06-06 09:40:38,734 -    DEBUG: [197] Content-Type: 'text/html'
2018-06-06 09:40:38,734 -    DEBUG: [197] Analyzing attachment: None
2018-06-06 09:40:38,734 -    DEBUG: [197] Content-Type: 'application/msword'
2018-06-06 09:40:38,736 -    DEBUG: [197] Analyzing attachment: '=?iso-8859-2?Q?name=FCr_AWMF.doc?='
2018-06-06 09:40:38,751 -    DEBUG: [197] The attachment '=?iso-8859-2?Q?name=FCr_AWMF.doc?=' is clean.
2018-06-06 09:40:38,751 -    DEBUG: [197] Content-Type: 'application/rtf'
2018-06-06 09:40:38,752 -    DEBUG: [197] Analyzing attachment: '=?iso-8859-2?Q?LL-othername=FCr_AWMF.rtf?='
2018-06-06 09:40:38,753 -    ERROR: [197] Error while processing the message
2018-06-06 09:40:38,754 -    DEBUG: [197] Exeption code: [!! Traceback (most recent call last):
!!   File "/usr/bin/macromilter.py", line 295, in checkforVBA
vba_parser = olevba.VBA_Parser(filename='message', data=attachment)
!!   File "/usr/local/lib/python2.7/dist-packages/oletools/olevba.py", line 2385, in init
raise FileOpenError(msg)
!! FileOpenError: Failed to open file message is RTF, need to run rtfobj.py and find VBA Macros in its output.
]

Hey, I look into that. maybe there was a change at the olevba ...


Fixed + refactored cgTrackable, added test

Fix for #626

You changed fields to private and made getters and setters. I know this is how it should be done, but I don't know why c:geo is using public fileds. I'll wait with merge until someone else has an opinion about this.

Talk to @samueltardieu He should be exalted.

Perhaps it had something to do with statements made in http://developer.android.com/guide/practices/design/performance.html.
Interesting read, but even this guide suggests to have getters/setters in the public interface of a class, only to avoid them internally.
But it is far to late for me to take a look onto the actual code...

I believe that carnero just ignored a lot of known best practices in programming. The performance penalty is absolutely no reason to have everything accessible from everywhere, especially as one can typically get much better performance by changing other things than the access rights.

@mucek4 I don't know carneo but I imagine a young guy with not so many years of development experience. You can see it at different places in the code: naming of classes, no use of enum, no getters/setters. It's just missing experience that he didn't use getters/setters.


Load custom javascript inside styleguide

I need to load some javascript into the live styleguide so that I can demonstrate some interactive behaviors of some components.
How can I generate the static site with custom javascript in it?

Hi @felippenardi I believe you're referring to the demos, which you include using something like @demo path/demo.html - these demos are loaded into an iframe, so they're not technically part of the style guide theme. They are standalone files. If this is the case, your JavaScript should be included in your demo.html file, not in the style guide / generated site itself.
If you need to use the JavaScript on the style guide / generated site, you can include the JavaScript in the style guide's theme. The default DocumentJS theme is: https://github.com/bitovi/documentjs/blob/master/site/default/templates/layout.mustache and you can modify this by telling your documentjs.json to use your version of layout.mustache
Let me know if this is helpful or not. :)

@tomgreever Thanks for explaining both scenarios!
I have two questions:
1- Are both @iframe and @demo iframes?
2- Since I'll be needing quite a couple of javascript loaded in every demo, is there a way to automatically add javascript to all demos?

@felippenardi
1- Yes, the difference between @iframe and @demo is actually whether or not you want the html/js tabs with the demo. But it uses iframes in both cases.
In our example the color palette is using @iframe because there's no real useable markup in these color swatches: http://documentcss.com/examples/styles/variables.less.html
Whereas on the button page, we're using @demo so both the markup needed for buttons and the result of that markup is accessible: http://documentcss.com/examples/styles/buttons.less.html
2- DocumentCSS doesn't come with a way to auto-add things to demos (yet) but you can use grunt or gulp to wrap your demos in a container template.
There's a sample of someone doing that here: https://github.com/brandonreid/documentcss_starter-kit/blob/master/gulpfile.js#L50
You'll need to include your compiled CSS in the head of your demo files as well, so that can take care of both needs at once.

Thanks for pointing it out!

Glad to help! Let us know if you have any more questions