Failing to create LVM Volumes (due to Github Runner changes)

A few days ago, it appears that Github Runners had their storage disk size decrease from 84GB to 73GB, since then this action has been failing with the error code fallocate: invalid length value specified. Our actions were configured with the following parameters:

root-reserve-mb: 40960
remove-dotnet: true
remove-android: true
remove-haskell: true
remove-codeql: true
remove-docker-images: true

I'd like to know if others are seeing the same problem.
Logs at the point of failure:
...
untagged: ubuntu:20.04
untagged: ubuntu@sha256:f2034e7195f61334e6caff6ecf2e965f92d11e888309065da85ff50c617732b8
deleted: sha256:f78909c2b360d866b3220655c0b079838258b8891a12ac25fc670f0cbb54229f
deleted: sha256:3a03f09d212915b240e9d216069aba5652ed4765c7e4b098c65e71860d47b8e1

Total reclaimed space: 3.122GB
... done
Unmounting and removing swap file.
Creating LVM Volume.
  Creating LVM PV on root fs.
fallocate: invalid length value specified
Error: Process completed with exit code 1.

We started to see this too, e.g., in https://github.com/sagemath/sage/actions/runs/7810559253/job/21304178537?pr=36181#step:2:286

Out of curiosity: why do you require so much free space on the root partition? Can't you rework your build to put everything in the workspace folder (which is where this action makes space)

I suspect that the person who configured our action made a typo, it was working fine for months so no one realized it until now.

Out of curiosity: why do you require so much free space on the root partition? Can't you rework your build to put everything in the workspace folder (which is where this action makes space)?

Since we only needed a little bit more than the 29GB that were given to us, it was easier to just clear out the root directory and not bother about anything else. At least that's what I suspect since I did not configure our actions.

According to https://docs.github.com/en/actions/using-github-hosted-runners/about-github-hosted-runners/about-github-hosted-runners#cloud-hosts-used-by-github-hosted-runners , GitHub has started to use different Azure VM types for public repositories -- which is consistent with what you see.
What all runner VMs have in common, is that they have two disks/partitions mounted. /, which hosts both the operating system installation and the working directory of the build, and /mnt, which is, by default, used for a small swap file only, leaving unused space on /mnt. I created this action back then mainly to utilize these otherwise unused ~14 GB of temp space.
Previously, the public runners were DS2_v2 VMs (2 vCPUs, 7GB RAM). This is a quite old VM generation, and I assume, Azure will retire them at some point -- or at least they do not add new capacity. One way or the other, this might have gotten a scarce resource for GitHub. These runners have (if I recall correctly) 84 GB on / and 14 GB on /mnt.
Now they seem to have switched to D4ads_v5 (4 vCPUs, 16GB RAM), which comes with a different disk layout. It seems like they just cut the 150GB disk the VM has, approx. in half, 75GB for / and 75 GB for /tmp).
The 29GB on root were actually never "guaranteed". Instead, GitHub always documented the old runners to have 14 GB of disk space, which was incorrect all the time. The 14 GB were the size of the /mnt volume on the old generation, which was usually unused - and the 29GB @vynight mentioned, were the free space available on / -- which is what was left after installing the ubuntu image on a 84 GB(?) disk, and which is also where also the work directory resides.
But it seems like this news can be turned into good news for many:

The new VMs have double the vCPU cores and more than double the RAM
While the root volume has gotten smaller, the total disk space has increased (~150GB instead of ~100GB)

The downside is, that the root volume is now around 10GB smaller, and you might have to fiddle with the "root reserve" parameter to get your build green again. For some, these 10GB might have been crucial (e.g. because of large docker images residing in /var or other things), and these are out of luck for now. I never tried to fiddle with moving /var/lib/docker around as a part of this action, because I assume this is also used by GitHub container actions, and might break easily.
Some side notes

I always considered this action a hack for the desperate. Any change to the GitHub runners (VM types, OS version) may totally break the action (and it happened in the past). GitHub does not guarantee the given amount of disk space, nor the disk layout.
Actually, I do not understand why GitHub partitions the disk on the new runner VM types, downsizing the root volume compared to the old gen, and leaving so much disk space (usually) unused on /mnt. It should be easy for GitHub to change the partition layout to not be 75GB/75GB, but e.g. 100GB/50GB. It should even be possible to just create one 150GB root volume, with no /mnt at all. This is probably not true for the old VM types, where the 14GB temp disk is separate.

Thanks very much for sharing this detailed analysis! Adjusting root-reserve-mb accordingly did the trick for us (https://github.com/sagemath/sage/pull/37252).

This worked for us as well, thank you so much.


Asynchronous processing of messages

Firstly, thank you for this library.
I'm processing messages asynchronously with promises like:
require('promise.prototype.finally').shim();
let consumer = new kafka.ConsumerGroup(options, topics);
consumer.on('message', message => {
    consumer.pause();
    doSomethingAsync(message)
        .catch(err => console.log(err))
        .finally(() => consumer.resume());
});

I was hoping that the message event would not be emitted between pause and resume of the consumer.  This way, my application should not fill its memory with pending promises.  However, this is not the case.
I imply that that pause() and resume() work on the kafka fetch-loop, rather than per message.  I think I can see that code in protocol.js and client.js.  Is that so?  If so, that explains why the message event continues to be emitted for all messages in the fetch response, regardless of consumer paused state.
To work around this, I need to synchronise the asynchronous emission of messages with my asynchronous processing of those messages.  It seems like I could either:

Wrap my asynchronous processing up into code that blocks the javascript event-loop, thereby ensuring that the consumer cannot emit a message. Or,
Cache the messages in my own message queue from which I pause/resume emitting of messages.  Resume the kakfa fetch-loop only when my queue is empty.  Manage the committed offsets manually as my messages are emitted from this queue.

1 is unsatisfactory for me.  2 looks like a pain. Is there a better way?

Oh, perhaps I see a third option to mitigate the issue:
3. Pause consumer on done event and resume when all promises are fulfilled.  This assumes that I receive the done event synchronously along with the consumer, so that I can pause before the next consumer.fetch() is executed asynchronously.

Yes the pause and resume are for the fetch loop. So pausing doesn't stop the emitting of message event if that batch of messages had not finished being emitted. We use a queuing layer on top of kafka it's very similar to the example in #497.

Thank you.  I've solved this as at option 3.

hi @BryceCicada , have you resolved the case we have 3 messages in queue? I did the same way as yours, but it seems like we just make synchronous process for 1st message, 2 other messages still come into the consumer at the same time, instead of one by one.

I have the same problem when using this sdk. if the concurrent can not solve by hook consumer's on-message event.It is useless.

My kafka node and kafka stream are blocking node single event thread... how did you solve the issue @brycecicada


fix: filter by fontcolor

fix "Cannot update a component from inside the function body of a different component."
fix filter by color

lgtm

LGTM


fix browser error (probably related to react-router)

the error (below) appears, looking at the stack trace it is related to react-router

Warning: Automatically setting basename using  is deprecated and will be removed in the next major release. The semantics of  are subtly different from basename. Please pass the basename explicitly in the options to createHistory

looks like it is a history package thing and so react-router should fix it in their next release. It doesn't appear on production so closing it.


Invariant Violation: Native component for "RNAdMob" does not exist

react-native-admob: 2.0.0-beta.5
react-native: 0.55.3
On Android

Error I'm getting on app start
Invariant Violation: Native component for "RNAdMob" does not exist
Linking
I read somewhere that it has to do with the linking, so here's how I've done it

settings.gradle

...
include ':react-native-admob'
project(':react-native-admob').projectDir = new File(rootProject.projectDir, '../node_modules/react-native-admob/android')
...

include ':app'

build.gradle

// Top-level build file where you can add configuration options common to all sub-projects/modules.

buildscript {
    repositories {
        jcenter()
    }
    dependencies {
        classpath 'com.android.tools.build:gradle:2.2.3'
		classpath 'com.google.gms:google-services:3.2.1'

        // NOTE: Do not place your application dependencies here; they belong
        // in the individual module build.gradle files
    }
}

allprojects {
    repositories {
        mavenLocal()
        jcenter()
        maven {
            // All of React Native (JS, Obj-C sources, Android binaries) is installed from npm
            url "$rootDir/../node_modules/react-native/android"
        }
		maven {
            url "https://maven.google.com"
        }
    }
}

build.gradle (app)

...
dependencies {
	compile project(':react-native-admob')
    compile fileTree(dir: "libs", include: ["*.jar"])
    compile "com.android.support:appcompat-v7:23.0.1"
	compile "com.google.android.gms:play-services-ads:15.0.0"
    compile "com.facebook.react:react-native:+"  // From node_modules
	compile project(':react-native-linear-gradient')
	compile project(':react-native-vector-icons')
}
...

MainActivity.java

...
@Override
	protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

        MobileAds.initialize(this, "xxxxxxxxxxxxxxxxxx");
    }
...

MainApplication.java

import com.sbugert.rnadmob.RNAdMobPackage;

@Override
    protected List<ReactPackage> getPackages() {
      return Arrays.<ReactPackage>asList(
          new MainReactPackage(),
		  new RNAdMobPackage(),
		 ...
      );
    }

You guys need to work on the installation part because it lacks a lot of things and leaves most of us confused.

Did you try automatic installation?

No, I did it manually @Verma-Pooja

I have the solution for automatic installation. I didn't try on manual installation but in automatic installation, you may also face this same issue. if you want to see solution of the automatic installation in this problem
you can refer this link:
https://react-native-solutions.blogspot.com/2018/07/how-to-create-react-native-app-with.html


4 Band Resistance Calculator Project added

Title and Issue number
4 Band Resistor Colour code Calculator[GSSoC'23] #4781
Close #4781

Checklist:

[x] I have mentioned the issue number in my Pull Request.
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have created a helpful and easy to understand README.md

Screenshots of the Project

Please Assign the respective GSSoC Labels on this PR and issue.

Please assign the respective gssoc labels on the PR and issue so that my score will be counted.
Thank you :)


Date from String conversion is not working?

I have a string and I am trying to get a Date object from it but it seem conversion is not happening properly here.
Eg.
let actualArrivalTimeDate = "18 May 2017 10:48"
let date  = actualArrivalTimeDate.date(format: .custom("dd MMM yyyy HH:mm"))?.absoluteDate

I am posting here my terminal results.

(lldb) po actualArrivalTimeDate
"18 May 2017 10:48"

(lldb) po date
▿ Optional<Date>
  ▿ some : 1474-05-18 04:54:32 +0000
    - timeIntervalSinceReferenceDate : -16617899128.0

(lldb) po actualArrivalTimeDate.date(format: .custom("dd MMM yyyy HH:mm"))
▿ Optional<DateInRegion>
  ▿ some : 18 May 2017 BE, 10:48:00 am GMT+5:53:28

Here DateInRegion object looks fine (In terminal) but the final converted date has a year as "1474" which is weird. How to get a correct date from a string or a correct date from the DateInRegion object.

It's such a strange behaviour. I tested your case, but didn't get any problems with a year or another parts of date in string format. You can see this from the screen below.

@hamsternik  Do you have same region settings?


Nested Dropdown

How to use this repo for nested dropdown like selecting province then city and so on?
Thanks

@masadi do you mean optgroup ?

@MoamenEltouny like this http://jsfiddle.net/greglockwood/T7LJY/3

@masadi i don't think it's supported in Select2 Plugin at all .. but i believe that you can create it with livewire itself
it's not related to our package

@MoamenEltouny here is another example using laravel 8 and ajax
http://ilmukita.org/laravel-8-membuat-dynamic-dependent-dropdown-menggunakan-select2/

@MoamenEltouny SOLVED
window.addEventListener('component_updated', event => {
        $.each(event.detail.data_array, function (i, item) {
            $('#sub_select').append($('<option>', {
                value: item.value,
                text : item.text
            }));
        });
    })


fix(ci) do not specify a rockspec, just build the only one there

Since the published rockspecs are in their own dir, the SCM one is the only one in the main folder and hence a luarocks make is enough to build the currently checked out branch.

@ajacksified  This fixes the issue left behind from #603


Returns a single item in multiple selects

Something similar to the last issue. But this time I'm getting only one of the selected items.

I am having same issue.

@mokhosh
Bit late, but I fixed this by updating name attribute on the select element.
Before:
<select name="products" multiple ... >

Form submission:
Array
(
    [products] => Item 3
)

After:
<select name="products[]" multiple ... >

Form submission:
Array
(
    [products] => Array
        (
            [0] => Item 1
            [1] => Item 3
        )

)


Add carousel with swipe/drag controls

Added carousel example with simple swipe / drag controls, the slides change when mouse/touchpad is pressed down and moved to left or right.

Hello @redmikay There are prettier formatting issues

Hi @anubra266, thank you, fixed the issues, should be all good now.


Delayed Job w/ s3, Missing required :bucket option error

I posted a question in SO here.
I'm able to get everything working in development perfectly, but the background processes don't work in production. I'm using Ubuntu 14.04 and deploying with Capistrano
Picture model
has_attached_file :uploaded_file,       :styles => { original: "990x990#",large: "300x300#", medium: "200x200#", thumb: "100x100#"}, only_process: [:medium]
process_in_background :uploaded_file, queue: "project_image_resize", only_process: [:original, :large, :thumb]
Application.rb (also put in production.rb, made no difference)
`config.paperclip_defaults = {
  :storage => :s3,
  :url =>':s3_domain_url',
  :s3_protocol => 'https',
  :path => '/:class/:attachment/:id_partition/:style/:filename',
  :bucket => ENV['s3-bucket'],
  :s3_credentials => {
    :access_key_id => ENV['s3-id'],
    :secret_access_key => ENV['s3-key']
  }
}`

I've tried it with bucket inside s3_credentials hash, but it made no difference.
When the job fails and I look at the job last_error I get:
missing required :bucket option\n/home/username/project_folder/shared/bundle/ruby/2.2.0/gems/paperclip-4.3.0/lib/paperclip/storage/s3.rb:218:in...
The medium style uploads like it should, but the background styles never work because of the error. Also, photo uploads without delayed_paperclip work in development and production.
To me, it seems like delayed_paperclip can't get my s3 credentials, but the documentation never shows me where to add any. Please let me know if I can provide any other information or if I'm not understanding something.

is the ENV['s3-bucket'] available on your worker instance?

How can I tell if they are? I haven't seen that done before.

you specified this option by ENV variable (:bucket => ENV['s3-bucket']) and looks like it's missing, so I would first verify if it's indeed available.
It doesn't look like this gem issue

When I call for the variable in the console I get the correct output in development and production. When I post images to s3 w/ paperclip using those same credentials it's works correctly. When I create a background job to send emails it accesses my profile variables correctly.
But I'm not sure how to log the variable while the delayed_paperclip job is working, to check if it's there.

I also just typed in my bucket name instead of using the env variable, to test it, and I still get the same error.

Not sure if I can help - I'm using delayed_paperclip with s3 and sidekiq aj adapter and it works for me.
I have:
    s3_credentials: {
      bucket:            Rails.application.secrets.s3_bucket,
      access_key_id:     Rails.application.secrets.s3_access_key_id,
      secret_access_key: Rails.application.secrets.s3_secret_access_key,
      s3_region:         "eu-west-1"
    }

Is that in your application.rb like mine?

I have it in config/environments/production.rb but it shouldn't matter

Yeah, I can't figure out what's going on. I've used the secrets.yml file like you, and it still doesn't work. I've used Figaro and that doesn't work. I'm always able to get a test background job to log the value of the ENV variables, Rails.logger.info "BUCKET_NAME: #{Figaro.env.s3_bucket}" for example. But always the missing :bucket option in delayed_paperclip last_error

You can also try to log Paperclip::Attachment.default_options - populated bucket option should be there

s3_credentials are there


Add API to find all nodes referencing a given one

To implement a functionality like "Find usages" we may want to find all the nodes that point to a given node. At this time the only way to do that is to retrieve all the nodes and check all of them. We could instead provide an API that answers this question very efficiently with an ad-hoc SQL query

I think we should add an extra "query" API which then contains this function and pother useful functions.


Some feeds display the previous item instead of the newest on updates.

https://kerbalstuff.com/mod/532.rss is a good example of this but any feed on that site should show these symptoms.

I cannot reproduce the problem now. Did you have a backup of the feed at that time ?

Unfortunately no; however it is a continuing issue with literally every feed on that website that I have checked, so it should be easy enough to pick out an example from one of them.

These feeds are particularly ugly : the worst problem is that they use the same guidvalue for all items in a feed.
Vienna has some workarounds to handle these problems, but I am unsure I can improve on it without creating other problems.

Fixed by commit e53a0c3b4079ea49a194b4a00389f8149b8416d4


update example docker command to bind container to the 3000 port

@jamiehenson , @BellaT - needs JS member approval please


Problem with badges in fragment

it looks like this and I'm figured that action bar height is returning 0.

You could see the demo. The position need calculate.

I saw the same, but actionBarHeight = actionBar.getHeight(); returns zero.

That may be the view haven't load. So you need run it in view.post(runnable).

Yeah!! this worked. Thanks.

You are welcome.


Ideas for efficiency

Some ideas to make detection faster, more efficient. Speed isn't the highest priority of this module, it's assumed that consumers will cache results. Ideas are fun though, so I'm listing them here. These are nice-to-haves for the future, no promises made. Suggestions welcome.

Combine WMIC queries (use OR query? Find docs.)
By @jakub-g: Do a single registry query to HKLM\Software\Clients\StartMenuInternet, for all browsers. See #12 (comment)
Use addon for registry queries, for example luyuan/registwin (unstable and native addons are a pain for most windows users)

The upcoming 2.0 release is much faster, spawns only two cscript processes - instead of a gazillion reg and wmic processes.


[HOLD for payment 2024-07-17] [$250] Report fields - Row is not grayed out when added/edited offline

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: no new feature
If this was caught during regression testing, add the test name, ID and link from TestRail: n/a
Email or phone of affected tester (no customers): n/a
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause internal team
Slack conversation:
Action Performed:

Go to staging.new.expensify.com
Go to Workspace settings > Report fields (enable from More features)
Go offline.
Tap Add field.
Add any report field and save it.

Expected Result:
The row will be grayed out when added offline.
Actual Result:
The row is not grayed out when added offline. This also applies to List values editor for List report field.
Workaround:
unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
https://github.com/Expensify/App/assets/38435837/9e99c34c-8da0-47b2-bd42-ff4d21986c4a

View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~018389cb0ae25e3928
Upwork Job ID:<PHONE_NUMBER>014144742
Last Price Increase: 2024-07-04

Issue OwnerCurrent Issue Owner: @zanyrenney

@techievivek FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

We think that this bug might be related to  #vip-vsb

Proposal
Please re-state the problem that we are trying to solve in this issue.
The row is not grayed out when added offline. This also applies to List values editor for List report field.
What is the root cause of that problem?
We don't add the pendingAction field when we get the list report fields here
https://github.com/Expensify/App/blob/83eb7e6ee5f8a86c4500deda3454763680dcd5cf/src/pages/workspace/reportFields/WorkspaceReportFieldsPage.tsx#L67
What changes do you think we should make in order to solve the problem?
We should add pendingAction here when we get the list report field to apply the gray out style when this report field is added/edited offline.
https://github.com/Expensify/App/blob/83eb7e6ee5f8a86c4500deda3454763680dcd5cf/src/pages/workspace/reportFields/WorkspaceReportFieldsPage.tsx#L67
https://github.com/Expensify/App/blob/83eb7e6ee5f8a86c4500deda3454763680dcd5cf/src/libs/actions/Policy/ReportFields.ts#L162-L164
What alternative solutions did you explore? (Optional)

Proposal
Please re-state the problem that we are trying to solve in this issue.
Row is not grayed out when added/edited offline
What is the root cause of that problem?
When creating a report field we are adding a pendingAction to pendingFileds of a policy with fieldKey here
https://github.com/Expensify/App/blob/83eb7e6ee5f8a86c4500deda3454763680dcd5cf/src/libs/actions/Policy/ReportFields.ts#L162-L163
But when creating a reportFieldList here and pass it selection list we are not including pendingField added to the policy as a 'pendingAction' prop
https://github.com/Expensify/App/blob/83eb7e6ee5f8a86c4500deda3454763680dcd5cf/src/pages/workspace/reportFields/WorkspaceReportFieldsPage.tsx#L67-L73
What changes do you think we should make in order to solve the problem?

Use Object.entries instead of Object.values
Then destructure the returned array to [reportKey, reportField
Then add pendingAction: policy?.pendingFields[reportKey] ?? null below
https://github.com/Expensify/App/blob/83eb7e6ee5f8a86c4500deda3454763680dcd5cf/src/pages/workspace/reportFields/WorkspaceReportFieldsPage.tsx#L67-L73

What alternative solutions did you explore? (Optional)

Updated Proposal

Added video result

Adding a C+ so they can review the above proposals and help us fix this ASAP.

Both proposal has the correct RCA, but the @etCoderDysto proposal has more detail for the implementation.
I'll suggest we go with @etCoderDysto proposal.
🎀 👀 🎀 C+ reviewed!

@mollfpr I don't think we need more detail here, I also referred the way to get the pending action here.
https://github.com/Expensify/App/blob/83eb7e6ee5f8a86c4500deda3454763680dcd5cf/src/libs/actions/Policy/ReportFields.ts#L162-L164

Raising a PR now.

@techievivek I believe my proposal is detail enough. I referred the way we add the pending field and I think it's enough to know how we can get this.

I don't think we need more detail here, I also referred the way to get the pending action here in my proposal.

Yeah, I understand that, but proposing a detailed solution is very helpful for the reviewer.

We should add pendingAction here when we get the list report field to apply the gray out style when this report field is added/edited offline.

My weighing point is your solution doesn't have much information on how we can get the pendingFields into the mapping. I believe you already have the implementation in mind, but it would be great if you put more detail to understand the solution you proposing. A detailed solution is great and gives you a chance to win the issue.

Yeah, I understand that, but proposing a detailed solution is very helpful for the reviewer.

@mollfpr Thanks for your feedback, I think this issue is straight forward and the implement detail (the way to get the pendingFields) is very simply so it can be done in the PR phrase. The detailer is good but I don't think it's not enough to make a proposal more weight in this case. If the issue is complex, I agree with that.

@mollfpr PR is ready for review

Report fields is behind a beta and this is. a minor UI issue. Gonna remove the label.

Happy to take this over as I am leading the report fields configuration project

Noting $50 payment to @mollfpr for their help on this issue

@techievivek with @shubham1206agra and @rezkiy37 @waterim we have discussed handling the offline feedback differently than its done now https://expensify.slack.com/archives/C06ML6X0W9L/p1720172553875929?thread_ts=1719874235.982839&cid=C06ML6X0W9L and we are going to handle it in the report fields configation PRs from Callstack.
As such I think we can provide a partial compensation to @mollfpr and @etCoderDysto for their time $50 each

@mountiny sounds good to me. Thanks.
Payment summary:
$50 each to @mollfpr and @etCoderDysto, once payment is made, we close this out.
cc @zanyrenney

$50 approved for @mollfpr

Hi @mollfpr can you check and see if this deploy blocker relates to this PR? https://github.com/Expensify/App/issues/45461

cc @shubham1206agra https://github.com/Expensify/App/issues/44798#issuecomment-2231369866

bump @shubham1206agra can you review the comment above as this is being raised as a deploy blocker?

Ah great, thank you!

I'll move ahead with the payments in this case 🙇🏼

have asked @etCoderDysto to apply to job for payout

Ah okay that's not what the payment summary says:

But happy to go with that then. I will close this one out!

$50 approved for @mollfpr

@zanyrenney  Only mollfpr is paid. I am not paid yet.
And here is the payment summary

$50 each to @mollfpr and @etCoderDysto, once payment is made, we close this out.
cc @zanyrenney

Cool, payment summary:
@mollfpr requires payment through NewDot Manual Requests - paid via ND
@etCoderDysto requires payment (Needs manual offer from BZ) - paid $50 via UPwork.


Allow scrollEl parameter to accept a DOM element in addition to a selector string.

Intended to handle both use in React – where targeting elements based on a selector is risky – and other situations where targeting a specific element more directly is preferable.
Fixes #340

@cmalven could you provide a feature version bump (3.4.0 in the package.json) and build npm run build?
—Thanks!

@cmalven thanks! Thanks for the turn around time. 🎉

@yowainwright Let me know if there's anything I can do to help get those Codepens updated.

@cmalven do I need to update something?

@yowainwright

I will publish after the Codepens have been updated which is manual.

Lead me to believe that someone had to update related Codepens before this work could be published.

@cmalven okay. I published a while ago (25 days). I do need to update the CodePens for 3.4.1 though. Thanks for pointing that out!

@yowainwright Ah, my mistake. Looking at the latest README it didn't look like the docs around Custom Scroll Element had changed as I expected them to in https://github.com/dollarshaveclub/stickybits/pull/341/files so I assumed this hadn't been published yet.
Sorry for the confusion.


Operation: Write Deployments failed

I have used the Bing Maps Fleet Tracker Deployment portal to deploy the Bing Maps Feelt tracker solution into my Azure subscription.
The deployment was not successful. In azure activity log, I see that "Write Resourcegroups" operation is successful but "write deployments" failed. Here is the summary of that failed operation:

I'm assuming this issue is resolved by now. Please feel free to reopen if you're still facing this issue.


Houdini: Add 'AYON_' prefix to all instance keys in metadata

Changelog Description
Add AYON_ prefix to instance metadata in houdini instances.
Additional info
This would be done to differentiate ayon parameters from others, even built-in liek productName. This change does not affect Workfile create plugin which has different logic. The prefixed keys will always override other parameters so if there is productName and AYON_productName the value from AYON_productName will be used.
The PR does not handle removement of old paramaters for case when scene already has existing instances without the prefix e.g. subset and family, they won't cause issues technically but may be confusing to have the same key multiple times. I don't know how to resolve that, changes related to that are welcomed.
Testing notes:

It should be possible to open scene from OpenPype and Publisher should discover existing instances.
Save in publisher should store prefixed parameters to the metadata.
On reset the data should be propagated correctly from the prefixed metadata.

I hoped that we'll be able to finish the enhancement quickly before merging the base PR, but they're not production ready, and are not close to the state.
As it might block the base PR I'm closing both additional PRs. For now, the existing code works, and this was/is enhancement. I've also changed AYONProductName in base branch to AYON_productName to match changes in the PRs.
The changes can be implemented in future PRs.


Visual Studio 2017 support, version 2

This is a sweet looking library. It's just at the right abstraction level that some of us are looking for. It would be really nice if you didn't forget about us, Windows peasants, and made it compile under the latest Visual Studio 2017.  I know you want to use the latest and greatest Clang compiler, but ... pretty please.

Thanks for the interest. This library is written only against the C++17 standard and i guess even the latest Visual Studio compiler still lacks too many basic standard C++ features (even older standards) that huge parts of the library would have to be rewritten.
I can look into the work this would take once again (I want to support MSVC, don't get me wrong) but this will probably only make sense with a later, more mature version of MSVC. Some parts of the library are rather modular so feel free to just rip them out and adjust them to make it work for you or use mingw-w64 (i use vpp on windows as well btw).

:-(
Ok

Hello, you can try the following out as an alternative by Nvidia: https://github.com/nvpro-pipeline/VkHLF


Setup Cypress with Firebase stuff

Closes #101

TODO: Document serviceAccount.json

There are docs for setting up the service account stuff here: https://github.com/mn-pollinators/buzz-about/blob/dev-docs/SETUP.md#setting-up-firebase-for-cypress
To build the app and run the Cypress end-to-end tests, start the Firebase emulators and run:
npm run e2e

To open Cypress (so you can run the tests interactively), start both the Firebase emulators and the development server and run:
npm run cy:open


The Call4Action is not working

The call4action module calls for the teachers' log in even when the teacher is already logged in. Logging in again does not make the login prompt disappear. Closing the login gives a screen which never ends loading or a message 'you should login to use this module' - when I am already logged in.

Fixed, Calkic please check if it works for you now. Thank you.


mio v0.7.13 warning: dereferencing a null pointer

Here is the build output:
       Fresh mio v0.7.13
warning: dereferencing a null pointer
   --> C:\Users\dangu\.cargo\registry\src\github.com-1ecc6299db9ec823\mio-0.7.13\src\sys\windows\named_pipe.rs:28:10
    |
28  |         &(*(0 as *const $t)).$($field).+ as *const _ as usize
    |          ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
...
608 |     let me = unsafe { overlapped2arc!(status.overlapped(), Inner, connect) };
    |                       ---------------------------------------------------- in this macro invocation
    |
    = note: `#[warn(deref_nullptr)]` on by default
    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

warning: dereferencing a null pointer
   --> C:\Users\dangu\.cargo\registry\src\github.com-1ecc6299db9ec823\mio-0.7.13\src\sys\windows\named_pipe.rs:28:10
    |
28  |         &(*(0 as *const $t)).$($field).+ as *const _ as usize
    |          ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
...
634 |     let me = unsafe { overlapped2arc!(status.overlapped(), Inner, read) };
    |                       ------------------------------------------------- in this macro invocation
    |
    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

warning: dereferencing a null pointer
   --> C:\Users\dangu\.cargo\registry\src\github.com-1ecc6299db9ec823\mio-0.7.13\src\sys\windows\named_pipe.rs:28:10
    |
28  |         &(*(0 as *const $t)).$($field).+ as *const _ as usize
    |          ^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed
...
666 |     let me = unsafe { overlapped2arc!(status.overlapped(), Inner, write) };
    |                       -------------------------------------------------- in this macro invocation
    |
    = note: this warning originates in a macro (in Nightly builds, run with -Z macro-backtrace for more info)

warning: 3 warnings emitted

Fixed by https://github.com/tokio-rs/mio/pull/1519.


Possible to select specific columns or data ranges for pipe export to dash db?

Currently the pipe pulls all records and all columns and we don't need all of the data, did not see a way to limit/filter the data being brought into the warehouse.

Thanks for your question.  In case it wasn't already obvious, this repo is no longer supported.  I'm closing this issue to make clear that it won't be attended to.


[Feature Request]: Expose React-Query's useInfiniteQuery hook in ZodiosHooks

Describe the feature you'd like to request
Would love a way to access useInfiniteQuery via Zodios Hooks
Example:
const {
  data: posts
  fetchNextPage,
  fetchPreviousPage,
  hasNextPage,
  hasPreviousPage,
  isFetchingNextPage,
  isFetchingPreviousPage,
  isLoading,
  isError,
} = zodiosHooks.useInfiniteQuery("/posts");

Yes, Indeed.
That should be easy.

@er1chu After thinking a little about this, here is the design i think should work.
const {
  data: posts
  fetchNextPage,
  fetchPreviousPage,
  hasNextPage,
  hasPreviousPage,
  isFetchingNextPage,
  isFetchingPreviousPage,
  isLoading,
  isError,
} = zodiosHooks.useInfiniteQuery("/posts", {
  queries: {
    limit: 10
  },
  {
    getNextPageParam: (lastPage, allPages) => ({ // zodios compatible config
      queries: {
        page: lastPage.page+1,
      }
    })
  }
});

since any parameter can be used to handle page fetching, you will need to make your getNextPageParam return an object that Satisfies the ZodiosOptions parameters, but where everything is optional.
These options will be merged by zodios with your provided ones (here the limit and page attributes will be merged into the options when fetching more pages).
There is just one tricky part. Internally, zodios is still using react-query . Zodios is using the provided options to autogenerate a query key, so that you don't need to handle it.
But here, we don't want the page attribute to be used in the query key, because then react-query will consider the calls to be different, and will instead load your page 2 instead of appending it.
I have to think a little about this tricky part. How could zodios know at runtime before calling the first page, that page attribute will be used as the key to handle infinite page load and then ignore it on the QueryKey.

One idea could be that zodios could call getNextPageParam and getPrevPageParam with fake data to get the keys be known at first execution, not just for getting the next page. I don't think this is technically easy. generating fake data that satisfies the expected contract seems really overkill
another idea, it let the caller specify the parameters that getNextPageParam/getPrevPageParam should return. like this :

zodiosHooks.useInfiniteQuery("/posts", {
  queries: {
    limit: 10
  },
  {
    getPageParam: () => ([
      "page"
    ]),
    getNextPageParam: (lastPage, allPages) => ({ // zodios compatible config
      queries: {
        page: lastPage.page+1,
      }
    })
  }
});

I'm thinking implementing the second use case.
What do you think ?

I think second use case is better! Less batteries included!

@er1chu you can check v9.1.0 of @zodios/react. it has an implementation of useInfinitQuery.
You can check documentation example here

Wow that was quick thank you so much!


Creature trait - Arboreal

Is your feature request related to a problem? Please describe.
Creature trait - Arboreal is automatically counted to all Climb and Stealth Tests, but not always creature climbing or stealthing in the woodlands.
Describe the solution you'd like

Can you make pop out window before Climb and Stealth Tests roll to creatures with this trait - with question: are creature is in the woodlands or something like that. If Yes adds its Agility Bonus to the SL.

Other solution, please add text info on chat that creature has +X SL from Arboreal trait, will work like notification for shorter weapons. Even if automatically counted you will see this, and manually count

Stop automatically counted SL but give option to choose from the bonuses field in roll window

Additional context
Creature trait - Arboreal
"The creature is at home in the forests. In the woodlands, it adds its Agility Bonus to the SL of all Climb and Stealth Tests."
*Please note that this bonus always counts in the forest, not just for successful forest tests.

Since this is a broad condition that can apply to all tests in woodland, the intention is for the effect to be toggled on or off depending on the location.


First pass at supporting reading from open commits in s3g

S3G currently errors when trying to list or read objects in open commits:
2021-11-11 05:52:37,366 - MainThread - botocore.parsers - DEBUG - Response body:
b'<?xml version="1.0" encoding="UTF-8"?>\n<Error>InternalError<Message>timestamp: nil Timestamp</Message><Resource>/master.hello</Resource><RequestId>9afa06d0-853e-49d8-b7

I hypothesize this is due to files in open commits not yet having a Committed time recorded in Pach, so we hit the error case here: https://github.com/pachyderm/pachyderm/blob/master/src/server/pfs/s3/bucket.go#L20-L23
In protobuf module source we can see the same error message we're getting on the client in the function validateTimestamp that TimestampFromProto calls:
func validateTimestamp(ts *Timestamp) error {
	if ts == nil {
		return errors.New("timestamp: nil Timestamp")
	}

This PR makes S3G just return 1970-01-01 timestamps for those files, because listing objects with the wrong modified time is better than failing to list them at all.
A less wrong answer might be to list a more recent known time (lower bound) on the modification time, but doing that well requires more insight than I have at present. (e.g. can we return the correct commit time for files that were last modified in earlier commits, and return the timestamp of the start of the open commit for files that have been modified in the open commit?)

This works with S3G + rclone mount 🎉

Closing PR, as it's obsolete. I believe this was superceded by https://github.com/pachyderm/pachyderm/pull/8129


Transaction card has overlapping text

Description
The transaction card has overlapping text when creating a transaction to update the staking account ID.

Steps to reproduce
See above.
Additional context
No response
Hedera network
other
Version
0.12.0-alpha.2
Operating system
No response

no reproducible


Add customer header to TXO

Description
This makes the CustomerHeader component dynamic and applies it within the TXOMoveInfopage.
Reviewer Notes
Please check that I'm handling the error/isloading correctly or in the right place.
The hook was returning moveOrder and customer normalized (I don't know why, or why move was not normalized).  Please see if the way I handled that is correct.
This DOES NOT work as mobile view.
Setup
Log into officelocal as a too_tio office user.
Go to a move as a TOO and see the header.
Go to a TXO and see the header.  Click on horizontal tab menu and see the header persist.
Code Review Verification Steps

[ ] There are no aXe warnings for UI.
[ ] This works in Supported Browsers (but NOT their phone views (Chrome, Firefox, IE, Edge).
[ ] User facing changes have been reviewed by design.
[ ] Request review from a member of a different team.
[ ] Have the Jira acceptance criteria been met for this change?

References

Jira story for this change
this article explains more about the approach used.

Screenshots
Note that the main header will be handled next week, so the current one looks a little funny with this one.
TXO MoveInfo

PaymentRequest

Warnings

:warning:

It looks like you are attempting to bypass a linter rule, which is not within
security compliance rules.
** Contains a rule that is not in the permitted eslint list. You are free to disable only: (
no-underscore-dangle
,prefer-object-spread
,object-shorthand
,camelcase
,react/jsx-props-no-spreading
,react/destructuring-assignment
,react/forbid-prop-types
,react/prefer-stateless-function
,react/sort-comp
,import/no-extraneous-dependencies
,import/order
,import/prefer-default-export
,import/no-named-as-default
) **
Please remove the bypass code and address the underlying issue. cc: @transcom/Truss-Pamplemoose

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 5b0af6161d0e1c831bd7f5954c595ee569ff9d45

Warnings

:warning:

It looks like you are attempting to bypass a linter rule, which is not within
security compliance rules.
** Contains a rule that is not in the permitted eslint list. You are free to disable only: (
no-underscore-dangle
,prefer-object-spread
,object-shorthand
,camelcase
,react/jsx-props-no-spreading
,react/destructuring-assignment
,react/forbid-prop-types
,react/prefer-stateless-function
,react/sort-comp
,import/no-extraneous-dependencies
,import/order
,import/prefer-default-export
,import/no-named-as-default
) **
Please remove the bypass code and address the underlying issue. cc: @transcom/Truss-Pamplemoose

:warning:
Please add the JIRA issue key to the PR title (e.g. MB-123)

  Generated by :no_entry_sign: dangerJS against 5b0af6161d0e1c831bd7f5954c595ee569ff9d45

This mostly looks good! Some styling notes:

Rank and DoD ID should be the base-lighter color
Origin, destination, and report by date should be bold

Here's the component spec in Abstract for reference: MMDS headers in Abstract

Revised!

This mostly looks good! Some styling notes:

Rank and DoD ID should be the base-lighter color
Origin, destination, and report by date should be bold

Here's the component spec in Abstract for reference: MMDS headers in Abstract

Revised!

This mostly looks good! Some styling notes:

Rank and DoD ID should be the base-lighter color
Origin, destination, and report by date should be bold

Here's the component spec in Abstract for reference: MMDS headers in Abstract

Revised!

@kimallen ah, sorry, I meant only the data should be bold. Authorized origin, Authorized destination and Report by should have regular weight. Sorry that was ambiguous!

This mostly looks good! Some styling notes:

Rank and DoD ID should be the base-lighter color
Origin, destination, and report by date should be bold

Here's the component spec in Abstract for reference: MMDS headers in Abstract

Revised!

@kimallen ah, sorry, I meant only the data should be bold. Authorized origin, Authorized destination and Report by should have regular weight. Sorry that was ambiguous!

This mostly looks good! Some styling notes:

Rank and DoD ID should be the base-lighter color
Origin, destination, and report by date should be bold

Here's the component spec in Abstract for reference: MMDS headers in Abstract

Revised!

@kimallen ah, sorry, I meant only the data should be bold. Authorized origin, Authorized destination and Report by should have regular weight. Sorry that was ambiguous!

No, actually, it wasn't ambiguous.  I thought I'd only bolded the data, but i had put it under a selector that also included the 'p' by accident.  I would never have noticed that- good eye!

This mostly looks good! Some styling notes:

Rank and DoD ID should be the base-lighter color
Origin, destination, and report by date should be bold

Here's the component spec in Abstract for reference: MMDS headers in Abstract

Revised!

@kimallen ah, sorry, I meant only the data should be bold. Authorized origin, Authorized destination and Report by should have regular weight. Sorry that was ambiguous!

No, actually, it wasn't ambiguous.  I thought I'd only bolded the data, but i had put it under a selector that also included the 'p' by accident.  I would never have noticed that- good eye!


Sample Area cut-off on right at different DPIs

Describe the bug
If you open the WinUI 2 Gallery on a monitor which has a larger DPI, then the sample area/source code area/page itself is cut-off on the right hand side. See screenshot below.
Steps to reproduce the bug
Steps to reproduce the behavior:

Make sure DPI is larger ~150+
Open app
Open a page
See issue

Expected behavior
Shouldn't be clipped
Actual behavior
Page is clipped on right
Screenshots

Version Info
Gallery version (found on Settings page): <IP_ADDRESS>
Windows 10 version:

[x] Windows 10 21H2
[ ] November 2019 Update (18363)
[ ] May 2019 Update (18362)
[ ] October 2018 Update (17763)
[ ] April 2018 Update (17134)
[ ] Fall Creators Update (16299)
[ ] Creators Update (15063)
[ ] Anniversary Update (14393)

Device form factor:

[x] Desktop
[ ] Mobile
[ ] Xbox
[ ] Surface Hub
[ ] IoT

Additional context

Are you still able to reproduce this @michael-hawker ?

@chingucoding, I believe so, but only on the WinUI 2 app?

Would you think it's fine to close this issue then given the WinUI 2 version being mostly deprecated/not receiving fixes beyond critical ones?

Would you think it's fine to close this issue then given the WinUI 2 version being mostly deprecated/not receiving fixes beyond critical ones?

Agreed, closing as won't fix.


refactor(debug): output all received frames

Previously we were logging a selection of received frames via the
_processFrame handler(s) in session.js, but this ignores (e.g.,) a
received OpenFrame (which is handled in connection.js). It seems more
consistent to be logging received frames within the framing debug where
we currently log all sent frames.

@dnwe good point. I've actually been meaning to wrangle our use of debug for a while now, I'm going to put together a quick PR and let's see if you agree with it.

@mbroadst incidentally, I quite like the debug module, but it is a bit of a shame that it doesn't provide any customization over the output formatting, e.g., to select a more conventional HH:mm:ss.SSS timestamp format

@dnwe ah yes I didn't mean a replacement for debug, rather just our sort of messy "all over the place" current use of it. I'll put my ideas into this PR and we can discuss there!

@dnwe actually do you have any interest in joining out gitter? We could have somewhat more in-depth discussion there if you have the time/interest

@mbroadst extra commit added as per discussion on gitter


⚠ BCR Bot has degraded performance

In 545a04d, BCR Bot (https://bcr.alternativasinteligentes.com/BCRApi/web/chatbot) experienced degraded performance:

HTTP code: 200
Response time: 2240 ms

Resolved: BCR Bot performance has improved in 5e3995d.


Fix reference to CODEOWNERS in CONTRIBUTING.md

CODEOWNERS file is deleted

see PR #26

done by #26


Better serialization for DSL objects.

This change makes it so that DSL objects are directly serialized to JSON instead of converting to protobuf objects first.

@hollinwilkins I don't have permission to merge this.

@prianna Created a group "MLeap Contributors" and invited you to it

[!]unlock


About comparison with NFSD in text-to-3d generation

Hi, this is a great work!
May I ask which method performs better in text-to-3d generation, SDS-bridge or NFSD? It seems that the paper doesn't mention this comparision.
Looking forward to hearing from you. Thanks a lot!

Hi, thank you! Our findings were that NFSD performed similarly to SDS, so we expect SDS-bridge to work better. Please let us know if you find something different!

Thanks for your answer! I will try SDS-bridge in my work and compare it with other methods.
By the way, may I ask what do you think of recent methods that utilize DDIM inversion (such as ISM in LucidDreamer and SDI in Score Distillation via Reparametrized DDIM)? Can these DDIM inversion based methods perform better than SDS-bridge (3d generation quality, convergence speed, etc.)?

Hello? Need your help


Empty arrays aren't converted to Collections

✏ Describe the bug
While creating an instance of a DTO that has a collection, if the source had an empty array, the returning property will be an empty array, instead of an empty Collection, resulting in the error message: TestDTO::__construct(): Argument #1 ($items) must be of type Illuminate\Support\Collection, array given.
Line causing the issue
↪ To Reproduce

class TestDTO extends Data
{
    public function __construct(
        /** @var Collection<int, string> $items */
        public readonly Collection $items
    ) {
    }
}

it('Empty array should return Collection too', function () {
    // Throws the above mentioned error
    $result = TestDTO::from(['items' => []]);
    expect($result->items)->toBeEmpty();
});

✅ Expected behavior
I expect the test to complete, and the expectations to be satisfied.
🖥 Versions
Laravel: 11.4
Laravel Data: 4.5.0
PHP: 8.3

We're running into the same issue. It looks like when the Enumerable cast was removed in #686 it broke casting empty arrays to empty collections. In the short term, we're able to add #[WithCast(EnumerableCast::class)] to force it, but the class is marked as deprecated and it seems like that's not a great long-term solution.
The main problem is that if you're relying on Laravel-Data within another package, you can't rely on cast_and_transform_iterables to be enabled, but now you also can't rely on the Enumerable cast to be enabled either.
The easiest solution, as far as I can tell, is to re-enable the Enumerable cast for now (until the next major version release), and add a comment next to the cast_and_transform_iterables config explaining that the cast should be disabled if that feature is turned on.

The issue here is not that we've removed Enumerable but a bug in the new implementation, it should be cast into a Collection and not be kept as an array.
Fixed in next release (108e660)

Thank you, this is great news!


sysparam: reserve one more flash sector before placing the sysparams

This is to help work with recent SDKs that add a RF cal sector by
default in the fifth last sector - just so the sysparam sectors do not
jump around when using different SDK versions.

Should there not be a check for sysparams in the fourth sector and if found, move it to the fifth, for backwards compatibility with current sysparam nodes?

@kanflo People will just have to rework their flash layout. Take this patch as a heads up to think ahead now. For example, I had been using all the prior sectors for data storage, so losing a sector broke the end of that storage anyway.
The flash sectors can be saved and moved with esptool, or examples/sysparam_editor/ can be used to dump them before this change and set them again.
I was not aware this was widely used, seems to still have problems, but if someone has significant deployments then they might just have to add another module to transition the sysparams (and any prior usage of the flash), or just keep a local back-out patch, but that could be an optional extra component.
Delaying the change is likely to make this a bigger problem in future if ever moving to a recent sdk. That seems to require flashing an extra params sector anyway, but if the sysparams do not have to move then that might be just a little easier.

@kanflo Sorry it does appear that it's ok, as sysparam_init can search forward for the start of its sectors, and app_main gives the flash_size as the top address to search, so it appear it will work in transition. I still think this would be a useful change, so people know that the fifth last sector may be used in future and plan for it.


Use template directory

Proposal
Uses a whole template directory.
Additionally there are two switches:
-p (Push): Only then the stuff is pushed
-f (Force): The .mvn directory will be overwritten

If you like it, I will also update the documentation.

Nice idea to provide the force option. I think we should finish #26 first or does this replace #26?

This request replaces #26

@LukasW I've merged #26. Can you rebase this on master? I think we need to modify the code that appends to .gitignore. If force=true we need to check whether .gitignore already contains an entry for the gradle-enterprise directory. We only need to add it to the .gitignore if not.


[bulk] Validation fixes: Unique metadata descriptions

This PR updates 12 files in the /gpmgmt/ folder for collections with the get__NewEnum and get_Count methods.

@GitHubber17 : Thanks for your contribution! The author(s) have been notified to review your proposed change.

This PR is in progress. Article author will assigned for review after PR is approved by Validation team lead. Thank you.


PUT api of Model doesn't reflect changes

Try updating description using PUT method, it does not reflect changes

@darth-coder00 this is by design

ingestion inputs from source the description it can get
lets say now Model has "description1"
User comes in now changes Model's description to "description2"
Next run of ingestion runs and it will try to update the description with "description1" which will overwrite users' changes

We are giving priority to user's changes vs ingestion. It will be the same across the entities
cc @sureshms


MI - Transports (Initial topic list)

Reference docs

The list of transport protocol-related docs that should be in the 'Reference' section of the documentation.
Fix the md files of the transport-related reference docs.

Related topics

Come up with the related, supporting topics (examples, use cases, etc.) for transport protocols.

Service-level Transport parameters (References): https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/references/synapse-properties/transport-parameters.md
Product-level Transport parameters (Config Catalog): https://github.com/wso2/docs-ei/blob/master/en/micro-integrator/docs/references/config-catalog.md

Done


[Perplexity-API] Added new MoE models

Description

Added Perplexity's new Sonar models sonar-small-chat, sonar-medium-chat and sonar-small-online, sonar-medium-online.
Updated pricing for MoE (8x7B) models.

Thanks - the extension works very well with the new model
Feedback - Can you please give us a chat option so we can continue chatting after receiving a response? Similar to the way the Gemini and ChatGPT extensions work in Raycast.
Many thanks.

@rochakagrawal
This is definitely on my list, but implementing this properly will take some time, as I have many other projects ongoing. Please feel free to open a PR if you have some spare time to implement this.
I will turn your suggestion into an issue to track your suggestion and gather additional ideas.

Closed my issue because I noticed that you had already opened another issue on this topic.
#10759


Elements: masking child elements

Hi guys,
As per https://github.com/playcanvas/engine/pull/816 I suggest to implement simple and efficient child masking using stencil buffer.
This feature is a must for many UI components, especially, scroll panels: the content outside visible area should not be drawn and, taking into account, the user is to decide which UI components to put into a scrollable area, it seems to be a good to have a generic mechanism for that.
The implementation idea is very simple: if we agree that basic renderable elements' are texts and images, we only have to maintain stencil parameters for the element hierarchy, updating reference stencil value for children once the parent masking settings change.
Making the implementation even more universal, we can make Image components drive masking: the Images might be told to modify stencil buffer so that it's possible to create arbitrary shapes for masking. Using a default transparent texture filling the whole element's rect will give us a rectangular stencil area at a cost of 2 triangle rasterisation.
Please let me know if that sounds like a good idea.

That's the second time I google for a PlayCanvas feature I'd need just to find one of your threads here - pointing to #816, which seems to have everything I could ever wish for, but apparently was never integrated...

Fixed in https://github.com/playcanvas/engine/pull/1118


Feature/documentation

#minor#

Changes Unknown when pulling 4c20429c0aee820da765b8166abe8f656b27593a on feature/documentation into ** on master**.


Remote server URL should support connecting without a token

Reported by @JunyongYao here: https://github.com/Microsoft/vscode-python/issues/3785
You can turn off tokens and passwords entirely. But our remote server code still always expects a token. Change it to accept working without a token specified.

I took a look at this. Actually you can connect to a server if you turn off both token and password protection. I tested this out myself with the following changes to a default Jupyter config:
c.NotebookApp.token = ''
c.NotebookApp.open_browser = False
c.NotebookApp.disable_check_xsrf = True
The last bit with the disable_checkxsrf is important. We connect using the webservices, so if that setting is still on you will not be able to connect (you'll see 403 errors on the server side).
With those settings I was able to start up a server and then connect to it with just the localhost url and without a token from the VSCode Interactive Windows.


chore(deps): replace semver with compare-versions to reduce bundle size

Which problem is this PR solving?
Semver makes up 1/4 of the output of our bundled opentelemetry distribution whilst not providing much utility.
In aws-lambda environments, this contributes significantly to the coldstart (about 30ms)

Fixes # (issue)
https://github.com/open-telemetry/opentelemetry-js/issues/3537
Short description of the changes
replaces semver with compare-versions in

instrumentation-http
instrumentation
sdk-base-node

The API should be comparable and behaviour should be very similar.
With the changes in instrumentation, the prerelease flag is no longer needed because this is a default of the satisfies method is not broken by prerelease tags
Type of change
Please delete options that are not relevant.

[x] Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A

Checklist:

[x] Followed the style guidelines of this project
[x] Unit tests have been added
[x] Documentation has been updated

Also any advice on the best ways to test this, I have sanity-checked the compare-versions methods and confirmed they behave the same way as semver. The unit tests pass (also helped catch a bug :partying_face:) anything else needed?


webdav cannot auto refresh or auto load

server1: weed mount -filer=<IP_ADDRESS>:8888 -dir=/tidb/seaweed
server2: weed mount -filer=<IP_ADDRESS>:8888 -dir=/tidb/seaweed
upload a new file A from server1, server2 cannot find the new file A.
upload a new file B from <IP_ADDRESS>:8888 webpage, server1 and server2 cannot find the new file B, too.

Describe the bug
when i use webdav in the server1, another webdav server2 can not auto reload the files added in the server1
System Setup
server0【<IP_ADDRESS>】: weed server
server1: weed mount -filer=<IP_ADDRESS>:8888 -dir=/tidb/seaweed
server2: weed mount -filer=<IP_ADDRESS>:8888 -dir=/tidb/seaweed
Expected behavior

upload a new file A from server1, then i can find file A in server2
upload a new file B from <IP_ADDRESS>:8888 webpage, then i can find file A in server1 and server2

Screenshots
/
Additional context
/

thanks for reading and replaying

weed mount is different from webdav. Please show some screenshots to know what you are referring to.


PageUp / PageDown keys do not reach tmux

Issue Type: Bug
Configure tmux to cycle through windows with key "Ctrl + PageUp", "Ctrl + PageDown"
bind -n C-PgDn prev
bind -n C-PgUp next

Launch tmux, create multiple windows
Issue the above key-combinations
Output: Nothing happens with Ctrl + PageUp. Ctrl-PageDown just prints the "~" character on the terminal.
Any default/user-defined keyboard shortcuts involving PageUp/PageDown related to the terminal are removed.
settings and keybindings are attached
The keyboard is set to "US QWERTY"
VS Code version: Code 1.66.2 (dfd34e8260c270da74b5c2d86d61aee4b6d56977, 2022-04-11T07:46:01.075Z)
OS version: Windows_NT x64 10.0.22000
Restricted Mode: No
Remote OS version: Linux x64 5.4.0-107-generic

System Info

Item
Value

CPUs
11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 2496)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: enabledopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: enabledvideo_encode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.73GB (20.21GB free)

Process Argv
--crash-reporter-id 85c323a1-5d98-45e5-8818-74519d9e3b95

Screen Reader
no

VM
0%

Item
Value

Remote
SSH: <IP_ADDRESS>

OS
Linux x64 5.4.0-107-generic

CPUs
Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz (4 x 3600)

Memory (System)
62.70GB (7.58GB free)

VM
0%

Extensions (18)

Extension
Author (truncated)
Version

project-manager
ale
12.5.0

docs-view
bie
0.0.10

arm
dan
1.7.4

remote-ssh
ms-
0.78.0

remote-ssh-edit
ms-
0.80.0

remote-wsl
ms-
0.66.2

linkerscript
Zix
1.0.2

atlascode
atl
2.10.12

codealignment-vscode
cpm
2.0.19

doxdocgen
csc
1.4.0

gitlens
eam
12.0.6

todo-tree
Gru
0.0.215

cpptools
ms-
1.9.8

hexeditor
ms-
1.9.6

vscode-commons
red
0.0.6

vscode-xml
red
0.20.0

vscode-yaml
red
1.7.0

tmlanguage
Tog
0.9.0

(1 theme extension excluded)

A/B Experiments
vsliv368cf:30146710
vsreu685:30147344
python383:30185418
vspor879:30202332
vspor708:30202333
vspor363:30204092
pythonvspyl392:30443607
pythontb:30283811
pythonvspyt551cf:30345471
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
vscoreces:30445986
pythondataviewer:30285071
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
bridge0708:30335490
bridge0723:30353136
vsaa593cf:30376535
vsc1dst:30438360
pythonvs932:30410667
wslgetstarted:30449410
pythonvsnew555:30457759
vscscmwlcmt:30465135
cppdebugcf:30475217

settings.txt
keybindings.txt

With these keybindings:
{ "key": "ctrl+pagedown",         "command": "-workbench.action.nextEditor" },
{ "key": "ctrl+pageup",           "command": "-workbench.action.previousEditor" },
{ "key": "ctrl+pagedown",         "command": "-workbench.action.terminal.focusNext",
    "when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus" },
{ "key": "ctrl+pageup",           "command": "-workbench.action.terminal.focusPrevious",
    "when": "terminalFocus && terminalHasBeenCreated && !terminalEditorFocus || terminalFocus && terminalProcessSupported && !terminalEditorFocus" },

ctrl+pageup/pagedown do get sent to the shell, but end up getting send using the same sequence as without ctrl.
pageup:        xterm.js: sending data "[5~" (4) [27, 91, 53, 126]
ctrl+pageup:   xterm.js: sending data "[5~" (4) [27, 91, 53, 126]
pagedown:      xterm.js: sending data "[6~" (4) [27, 91, 54, 126]
ctrl+pagedown: xterm.js: sending data "[6~" (4) [27, 91, 54, 126]

Is any workaround available?

Yes, you can use workbench.action.terminal.sendSequence to send whatever you want, example keybinding:
{ "key": "ctrl+backspace",
  "command": "workbench.action.terminal.sendSequence",
  "when": "terminalFocus",
  "args": {"text":"\u0017"} }

You'd need to figure out the right sequence to send though, I'm not sure currently.

Thanks for looking up the sequence, I put a fix out upstream https://github.com/xtermjs/xterm.js/pull/3761

Fixed via https://github.com/microsoft/vscode/pull/148923

Thanks for the quick fix.
I see a similar issue with alt+arrow keys.
{
	"key": "alt+left",
	"command": "-workbench.action.terminal.focusPreviousPane",
	"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
	"key": "alt+right",
	"command": "-workbench.action.terminal.focusNextPane",
	"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
	"key": "alt+up",
	"command": "-workbench.action.terminal.focusPreviousPane",
	"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
	"key": "alt+down",
	"command": "-workbench.action.terminal.focusNextPane",
	"when": "terminalFocus && terminalHasBeenCreated || terminalFocus && terminalProcessSupported"
},
{
	"key": "alt+right",
	"command": "workbench.action.terminal.sendSequence",
	"args": { "text": "\u001b\u005b\u0031\u003b\u0033\u0043"},
	"when": "terminalFocus"
},
{
	"key": "alt+left",
	"command": "workbench.action.terminal.sendSequence",
	"args": { "text": "\u001b\u005b\u0031\u003b\u0035\u0044"},
	"when": "terminalFocus"
},
{
	"key": "alt+up",
	"command": "workbench.action.terminal.sendSequence",
	"args": { "text": "\u001b\u005b\u0031\u003b\u0035\u0041"},
	"when": "terminalFocus"
},
{
	"key": "alt+down",
	"command": "workbench.action.terminal.sendSequence",
	"args": { "text": "\u001b\u005b\u0031\u003b\u0035\u0042"},
	"when": "terminalFocus"
}

But even after sending the specific sequence, required actions in tmux are not triggered. Only alt+right works.
If you would like, I'll create another bug.

I was trying to set this up in iTerm at first to compare, but was confused because it just doesn't work in iTerm 😁  works great in vscode


[Request] Syntax Highlight for .bashrc, .bash_profile, .profile files

adding those to the files field of https://github.com/lite-xl/lite-xl-plugins/blob/master/plugins/language_sh.lua#L6 should do the trick, PR welcome.

thanks!


define not working with typescript vue template

Describe the bug
Using the vue-ts template, and defining a variable in the define section of the vite config, throws an error when building (works in dev)
Reproduction
create a new vite vue-ts template project
$ pnpm create vite my-vue-ts-app -- --template vue-ts`
$ cd my-vue-ts-app
$ pnpm i

vite.config.ts
export default defineConfig({
  define: {
    __BUILD_DATE: JSON.stringify(Date())
  },
  plugins: [vue()]
})

main.ts
import { createApp } from 'vue'
import App from './App.vue'

createApp(App).mount('#app')

console.log(__BUILD_DATE)

and then run build
➜  my-vue-ts-app pnpm run build

><EMAIL_ADDRESS>build /Users/blah/Documents/test/vite/my-vue-ts-app
> vue-tsc --noEmit && vite build

src/main.ts:6:13 - error TS2304: Cannot find name '__BUILD_DATE'.

6 console.log(__BUILD_DATE)
              ~~~~~~~~~~~~

Found 1 error.

 ELIFECYCLE  Command failed with exit code 2.

System Info
System:
    OS: macOS 11.6
    CPU: (16) x64 Intel(R) Core(TM) i9-9880H CPU @ 2.30GHz
    Memory: 336.57 MB / 16.00 GB
    Shell: 5.8 - /bin/zsh
  Binaries:
    Node: 17.2.0 - ~/.nvm/versions/node/v17.2.0/bin/node
    npm: 8.2.0 - ~/.nvm/versions/node/v17.2.0/bin/npm
  Browsers:
    Brave Browser: <IP_ADDRESS>
    Chrome: 96.0.4664.93
    Edge: 96.0.1054.43
    Firefox: 94.0.2
    Safari: 15.0
  npmPackages:
    @vitejs/plugin-vue: ^1.10.2 => 1.10.2
    vite: ^2.7.0 => 2.7.1

Used Package Manager
pnpm
Logs
Same as above although I realise now that I use `pnpm run build` which actually runs `vue-tsc --noEmit && vite build` so it's actually vue-tsc that is failing not vite build...

Validations

[X] Follow our Code of Conduct
[X] Read the Contributing Guidelines.
[X] Read the docs.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Make sure this is a Vite issue and not a framework-specific issue. For example, if it's a Vue SFC related bug, it should likely be reported to https://github.com/vuejs/vue-next instead.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

This is a type error, not a build error. If you remove vue-tsc --noEmit it should work again. But to fix the type errors, you can update src/env.d.ts with ImportMetaEnv.

Thanks @bluwy but I still consider it a build error. By default, and by using a documented feature, the build fails. Maybe the docs should be updated for the define section?

Oops I didn't realize it's define, not import.meta.env. My suggestion wouldn't work then, you have to do this instead:
// src/env.d.ts
declare const __BUILD_DATE: string;

Yes, I think a small note in the define section would be a good addition.

Fantastic, thanks for your help


ChatGPT Model Name

What should I input in this field? I've tried models from this list:
https://platform.openai.com/account/rate-limits
However these all are paid or smth? As I get an error:

raise self.handle_error_response(
openai.error.RateLimitError: You exceeded your current quota, please check your plan and billing details.

There is a free portion with a fixed period and upper limit of amount.
If you're getting this error, you've probably lost your free portion.
I actually got a similar error, but it disappeared after setting information such as credit card and Usage limits from HERE.


Issue template experiment

Docs Build status updates of commit 7e98fa8:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

TerminalDocs/.github/ISSUE_TEMPLATE/config.yml
:white_check_mark:Succeeded

TerminalDocs/.github/ISSUE_TEMPLATE/docs-issue.yaml
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Unable to get trophies list for a username

Here is the code I'm using, when I use "me" as accountID, I get result:
{ trophyTitles: [], totalItemCount: 0 }
when I use other username, it does not work
const psn = require("psn-api");

async function start() {

    // This is the value you copied from the previous step.
    const myNpsso = "TOKEN HERE";

    // We'll exchange your NPSSO for a special access code.
    const accessCode = await psn.exchangeNpssoForCode(myNpsso);
    // 🚀 We can use the access code to get your access token and refresh token.
    const authorization = await psn.exchangeCodeForAccessToken(accessCode);

    // This returns a list of all the games you've earned trophies for.
    const trophyTitlesResponse = await psn.getUserTitles(
        { accessToken: authorization.accessToken },
        "ViensDanser"
    );

    console.log(trophyTitlesResponse);

}

start();

Output:
logging
{
  error: {
    referenceId: 'f842a5e4-38c6-11ec-97f6-b71e9c99aa8c',
    code: 2240513,
    message: 'Bad Request (path: sort)'
  }
}

I've figured this out.
This is the endpoint to hit:
POST https://m.np.playstation.net/api/search/v1/universalSearch
Send this JSON payload:
{
  "searchTerm": "ViensDanser",
  "domainRequests": [
    {
      "domain": "SocialAllAccounts"
    }
  ]
}

In the response you will see:
"accountId": "7867532288966013754"

I will be working on an update to the library to add an easy function to call to do this automatically.

This has landed in version 2.2.0 🎉
The new function is makeUniversalSearch. Here is a usage example:
import { makeUniversalSearch } from "psn-api";
const response = await makeUniversalSearch(
  authorization,
  "ViensDanser",
  "SocialAllAccounts"
);

Docs can be found here: https://psn-api.achievements.app/api-docs/universal-search#makeuniversalsearch


Teams - Excel documents as tab will not expand fully

If you take an excel document in teams in "Files" and click to "make this a tab", then on the tab click edit, then click to "expand tab" it will not expand fully and has a blank column on the right. If you click to expand first, while it does not expand, then when you click edit it does expand. This is a frustrating bug and should be fixed.

I just tried mentioned steps, I don't see any blank column. Could you please share the screenshot and highlight the issue?

Please re-open with screenshot.


Game freezes after tabbing out

Not sure, if this is known. I didn't find a similar issue, but maybe I have overseen it.
When I tab out of the game into another program or the desktop, the game freezes.
At least the visual freezes. I can still click and play, but I see just the same freezed frame.
my FFXVI.ini:
;;;;;;;;;; Ultrawide/Narrower Fixes ;;;;;;;;;;

[Fix Resolution]
; Stops borderless and fullscreen resolutions from being scaled to 16:9.
; You can also set a custom resolution to be added to the windowed resolution list. Leave at 0 to use your desktop resolution.
Enabled = true
WindowedResX = 0
WindowedResY = 0

[Fix HUD]
; Fixes HUD scaling issues and removes pillarboxing/letterboxing.
Enabled = true
; Set HUDSize to 0, 1, 2, 3 or 4 to adjust the size of the gameplay HUD.
; 0 = Automatic (spans screen), 1 = 4:3, 2 = 16:10, 3 = 16:9 (game default), 4 = 21:9
HUDSize = 3

[Fix Movies]
; Fixes stretched movie sequences.
Enabled = true

[Fix FOV]
; Fixes cropped FOV when using a narrower than 16:9 resolution. (4:3, 16:10 for example)
Enabled = true

;;;;;;;;;; General ;;;;;;;;;;

[Gameplay Camera]
; Add to gameplay vFOV in degrees. Default = 0 (Valid range: -40 to 140)
; I recommend a figure between 5 to 15 for a wider view.
AdditionalFOV = 10
; Adjust character camera position horizontally.
; Above 0 has the character on the left, below 0 on the right. Centered = 0 , Default = 0.95 (Valid range: -5 to 5)
HorizontalPos = 0.95
; Adjust character camera position vertically.
; Higher values bring the the camera up, lower values bring the camera down. Default = -0.65 (Valid range: -5 to 5)
VerticalPos = -0.65
; Adjust gameplay camera distance with a multiplier. Default = 1 (Valid range: 0.1 to 10)
DistanceMultiplier = 1

[Game Window]
; Set "BackgroundAudio" to true to enable audio when alt+tabbed/focus is lost.
BackgroundAudio = false
; Set "LockCursor" to true to force the mouse cursor to be locked to the game window when in focus.
LockCursor = false
; Set "Resizable" to true to make the game window resizable in windowed mode.
Resizable = false
; Set "DisableScreensaver" to true to stop your display from going to sleep mid-game.
DisableScreensaver = true

[JPEG XL Tweaks]
; Set "NumThreads" to control the amount of worker threads used when taking JXL screenshots. (Game default = Max threads)
; This can reduce hitching when taking screenshots by setting the value to 4 on a modern CPU.
; Set "Quality" between 1-100 to adjust the compression level. (Game default = 75)
NumThreads = 4
Quality = 99.5

;;;;;;;;;; Graphics ;;;;;;;;;;

[Motion Blur + Frame Generation]
; Set "Enabled" to true to unlock the ability to use motion blur while having frame generation enabled.
Enabled = false

[Disable Depth of Field]
; Set "Enabled" to true to force depth of field off at all times.
Enabled = false

[Disable Cinematic Effects]
; Set "Enabled" to true to disable cinematic effects (vignette, film grain and chromatic aberration) during cutscenes/photo mode.
Enabled = false

[Dynamic Resolution]
; Set dynamic resolution parameters. It scales based off your set framerate target in-game.
; Set "MaxResolution" (Default: 95) or "MinResolution" (Default: 50) to adjust the min/max resolution scale percentage. (Valid range: 50 to 100)
MaxResolution = 100
MinResolution = 50

[Level of Detail]
; Adjust multiplier to increase/decrease level of detail draw distance. (Valid range: 0.1 to 10)
; Note that adjusting this higher will impact performance.
Multiplier = 1

;;;;;;;;;; Performance ;;;;;;;;;;

[Remove 30FPS Cap]
; Set "Enabled" to true to disable 30FPS cap in cutscenes/photo mode.
; Alternatively, set "Enabled" to false and enter a desired framerate to limit cutscene framerate.
; Remember that this framerate value is set before frame generation so set half of your desired framerate if using cutscene frame generation.
Enabled = true
Framerate = 29.97

[Custom Framerate]
; Set enabled to true to replace the "30.00 FPS" frame rate option in-game with a custom value set below.
; Bear in mind that this framerate value is applied prior to frame generation.
Enabled = false
Framerate = 30

[Cutscene Frame Generation]
; Set "Enabled" to true to permit frame generation during real-time cutscenes.
Enabled = true

[Disable Graphics Debugger Check]
; Set "Enabled" to true to disable graphics debugger check.
; Can help with performance issues on Linux machines.
Enabled = true

I came here to report the same thing for version v0.8.4 on Windows 10

Either Alt+Tab or Windows key to get out of the game screen in fullscreen causes the screen to freeze upon reentering. Game inputs are actually working but the rendering is frozen.

Fix:
This seems to be caused by the DisableScreensaver flag, try turning that off:
DisableScreensaver = false

Wow, thanks @kjerk, that fixed it for me too.


繁體中文 version

Please provide a 繁體中文 version.

All translations of this document are done by volunteers. We would of course love to host a traditional Chinese translated version as well, but we need some fluent writers that know the target language as well as sufficient English to do the work!


Typo needs correction instead of certificate.pem its ertificate.pem

Link: https://github.com/secure-device-onboard/pri-fidoiot/blob/master/demo/README.md/#docker-commands
Line No 241 "<ertificate.pem>" looks like a typo can it be modified to "<certificate.pem>"

Fixed in master branch


Regen addons

This is a manual script (since its not deterministic) which i forgot to
run when I updated the dashboard.
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[ ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
Pull Request Attributes
Please check any characteristics that apply to this pull request.
[ ] Does not have any changes that may affect Istio users.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
c1707bf5a57a7ac7346273a52d9bf62b5f68a93d
link
/test release-notes_istio

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.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

release-notes_istio
c1707bf5a57a7ac7346273a52d9bf62b5f68a93d
link
/test release-notes_istio

integ-telemetry-k8s-tests_istio
c1707bf5a57a7ac7346273a52d9bf62b5f68a93d
link
/test integ-telemetry-k8s-tests_istio

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.

Looks good. Strange error about the large annotations, however.

@douglas-reid we may have just passed the size limit, ill look into it

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
c1707bf5a57a7ac7346273a52d9bf62b5f68a93d
link
/test integ-telemetry-k8s-tests_istio

release-notes_istio
f60a1a4335afddd67a6357a43a2a7aca34463938
link
/test release-notes_istio

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.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
c1707bf5a57a7ac7346273a52d9bf62b5f68a93d
link
/test integ-telemetry-k8s-tests_istio

release-notes_istio
69872f18bc249d1e11ae35b054a5ceaa8964c3ed
link
/test release-notes_istio

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.

@howardjohn: The following tests failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
c1707bf5a57a7ac7346273a52d9bf62b5f68a93d
link
/test integ-telemetry-k8s-tests_istio

release-notes_istio
69872f18bc249d1e11ae35b054a5ceaa8964c3ed
link
/test release-notes_istio

integ-distroless-k8s-tests_istio
69872f18bc249d1e11ae35b054a5ceaa8964c3ed
link
/test integ-distroless-k8s-tests_istio

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.

@howardjohn: The following test failed, say /retest to rerun all failed tests:

Test name
Commit
Details
Rerun command

integ-telemetry-k8s-tests_istio
757baeb14d70c5e73a144ca400e81e4c5bd9c0a9
link
/test integ-telemetry-k8s-tests_istio

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.


Flexcpu

General PR for making comments on the entire project. Let's see how this works...

Are the first three commits supposed to be here? Have they not been merged into master yet?

Yeah... I guess merging master will be a pain because of that. We could rebase this on master, but that would be an even bigger pain....

I'm going to close this PR. We can make a new PR with the renamed/updated branches.


Outline - correct spans

The version v0.3.2 of metamath-knife provides outline spans.
This PR pulls that version and uses the node.span() method it provides.

Also fixes #6


Clarify

closes https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10609

@JoanneHendrickson
PR has been copyedited and is ready for final review, could you please check and merge? Thanks!


[1.12] Add pid to bootstrap logs to distinguish concurrent runs

High-level description
Back-port to 1.12. Includes change suggested by @mhrabovcin in #4658
Add the pid to bootstrap logs. Bootstrap runs concurrently on start-up, and sometimes we get logs that have not been separated by unit, especially if they come from the dcos node log command. Adding the pid disambiguates these cases.
Corresponding DC/OS tickets (obligatory)
These DC/OS JIRA ticket(s) must be updated (ideally closed) in the moment this PR lands:

https://jira.mesosphere.com/browse/DCOS-48768 Add component name to bootstrap logs

Related tickets (optional)
Other tickets related to this change:

DCOS_OSS- Foo the Bar so it stops Bazzing.

Checklist for all PRs

[ ] Added a comprehensible changelog entry to CHANGES.md or explain why this is not a user-facing change:
Change to log format
[ ] Included a test which will fail if code is reverted but test is not. If there is no test please explain here:
Change to log format
[x] Read the DC/OS contributing guidelines
[x] Followed relevant code rules Rules for Packages and Systemd

Checklist for component/package updates:
If you are changing components or packages in DC/OS (e.g. you are bumping the sha or ref of anything underneath packages), then in addition to the above please also include:

[ ] Change log from the last version integrated (this should be a link to commits for easy verification and review): example
[ ] Test Results: [link to CI job test results for component]
[ ] Code Coverage (if available): [link to code coverage report]

PLEASE FILL IN THE TEMPLATE ABOVE / DO NOT REMOVE ANY SECTIONS ABOVE THIS LINE
Instructions and review process
What is the review process and when will my changes land?
All PRs require 2 approvals using GitHub's pull request reviews.
Reviewers should be:

Developers who understand the code being modified.
Developers responsible for code that interacts with or depends on the code being modified.

It is best to proactively ask for 2 reviews by @mentioning the candidate reviewers in the PR comments area. The responsibility is on the developer submitting the PR to follow-up with reviewers and make sure a PR is reviewed in a timely manner. Once a PR has 2 ship-it's, no red reviews, and all tests are green it will be included in the next train.

@mesosphere-mergebot label Ready For Review

Additional fix: \0 is now deprecated, so replaced it with \x00.


Some errors are not being reported properly.

I have added sentry_sdk.init in settings.py
But in some cases I get SystemExit: 1 errors in sentry. They aren't even groupped correctly.
url and user tags are getting set correctly.
How can I fix/investigate this?

Could you post the JSON of those poorly grouped events here?

Closing due to inactivity.


Revert "feat(gitlab): add gitlab support"

This reverts commit e889e6e349803890125a0e95005eebaeb4708595.

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


fix(hybridMode): update enabledHybridMode before activate extension

fix #5002
the issue seems to only occur when HybridMode is turned off.
the enabledHbridMode variable is initialized to true, but was not updated to the correct value before patching vscode.typescript-language-features.
https://github.com/vuejs/language-tools/blob/cf70eda2c40c33e2458b09d6dcac0c5f3615067d/extensions/vscode/src/hybridMode.ts#L11
https://github.com/vuejs/language-tools/blob/cf70eda2c40c33e2458b09d6dcac0c5f3615067d/extensions/vscode/src/nodeClientMain.ts#L150-L154
so, both tsserver and vue language server will respond to completions, and they are duplicated.

Considering that the enabledHybridMode has not been changed elsewhere, we can modify it to computed.


cannot import ImageResize from 'quill-image-resize-module';

hello，I am using anular4, when I put the mouse over it, the prompt
Could not find the declaration file "C:./Users/Ying/Desktop/work/node_modules/_quill-image-resize-module@3.0.0@quill-image-resize-module/ image" of the module "Sleeve Image Resizing Module" -resize.min.js "implicitly possesses" any "type." If it does, trynpm install @ types / quill-image-resize-moduleor add a new declaration (.d.ts) file containingdeclare module'quill-image-resize-module';[7016]

How should I solve it?

I have the same problem importing module

i solved it,it need you add "noImplicitAny": false in your tsconfig.json @jagotronic

This format worked for me...
import ImageResize from 'quill-image-resize-module';

I am using React, have no tsconfig.json. How to solve it? please

i solved it,it need you add "noImplicitAny": false in your tsconfig.json @jagotronic

This didn't work for me. Does anyone have a solution on how to import ImageResize?


How do I configure multiple vhosts?

Thanks for the software, it's really easy to set up. Going a bit beyond the basics, can you give me an example of:

How do I set up multiple vhosts in conf.js? Should I just have multiple conf files and a different URL for each of the hosts I want to get to? Should I edit the jade entry to have a list of different hosts?
Setting up SSL: I have the hostname set to https but where do I specify the certs etc?

Thanks again.

Looks like my pull request got merged in which means Doorman now has SSL support. Please refer to conf.example.js for example on specifying SSL certificates.

Has there been any news on setting up multiple vhosts?


deal with non-UTF-8 source html

if the HTML source is not UTF-8 it can leave some weird artifacts in the Markdown. would be good to find a way to do some lossless conversion from other encodings.

I added some stuff to try to basically grep for utf-8 and windows-1252 in files, but this should be made more robust.

this was fixed in the Rust re-write (#5) because I was able to depend on the chardetng library.


Issue-fix: applies audit fixes

Automated Review Comments
Issues in package.json:

(2, 'Hardcoded string found')
(8, 'Hardcoded string found')
(9, 'Hardcoded string found')

I got it.


IPhone browsers in 9.3.1 swn mess up dev tool screen.

Home Assistant release (hass --version):
Latest dev
Python release (python3 --version):
Component/platform:
GUI
Description of problem:
Looks like something has happened in Apple rendering code to break the dev tools devices screen.

Expected:
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

Just checked up, and I see the UI correctly in 9.3.1

I've replaced some layout code, will update this before release 17
On Fri, Apr 8, 2016, 07:24 Dani<EMAIL_ADDRESS>wrote:

Just checked up, and I see the UI correctly in 9.3.1
[image: image]
https://cloud.githubusercontent.com/assets/4558746/14386728/3b98b3ce-fda6-11e5-9261-8baa608e22eb.png
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
https://github.com/balloob/home-assistant/issues/1748#issuecomment-207451397

I'm on Android and set state looks normal, but call service is overlapped.

Same as @jaharkes here.

I'm working on a fix before the release.

Fixed in 0.17 !

Thanks! 😊 I can confirm it's working great again after I updated to 0.18dev

Op 9 apr. 2016 om 08:55 heeft Paulus Schoutsen<EMAIL_ADDRESS>het volgende geschreven:
Fixed in 0.17 !
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub


[Help wanted] Error when using my own custom split for in-shop clothes retrieval

@veralauee Hi, thanks for your effort for making things run smoothly. I have successfully evaluated the retriever on my machine with official query/gallery split. But when I evaluate the retriever on my own split I find the following error, of which I have got no clue. Can you help me with my issue or show me a workaround? Thanks in advance.
Problem description
(lingbo) lingbo.ylb@vg:~/projects/mmfashion$ sh retrieval.sh
2019-12-19 10:42:25,501 - INFO - Distributed test: False
dataset loaded
2019-12-19 10:42:37,289 - INFO - load model from: /home/lingbo.ylb/.cache/torch/checkpoints/resnet50-19c8e357.pth
pretrained model /home/lingbo.ylb/.cache/torch/checkpoints/resnet50-19c8e357.pth
The model and loaded state dict do not match exactly

unexpected key in source state_dict: fc.weight, fc.bias

model built
load checkpoint from: checkpoints/retrieval_clothes_resnet50/epoch_150.pth
Traceback (most recent call last):
  File "tools/test_retriever.py", line 88, in <module>
    main()
  File "tools/test_retriever.py", line 84, in main
    logger=logger)
  File "/home/lingbo.ylb/anaconda3/envs/lingbo/lib/python3.7/site-packages/mmfashion-0.1.0+7a5acde-py3.7.egg/mmfashion/apis/test_retriever.py", line 40, in test_retriever
    _non_dist_test(model, query_set, gallery_set, cfg, validate=validate)
  File "/home/lingbo.ylb/anaconda3/envs/lingbo/lib/python3.7/site-packages/mmfashion-0.1.0+7a5acde-py3.7.egg/mmfashion/apis/test_retriever.py", line 84, in _non_dist_test
    e.evaluate(query_embeds_np, gallery_embeds_np)
  File "/home/lingbo.ylb/anaconda3/envs/lingbo/lib/python3.7/site-packages/mmfashion-0.1.0+7a5acde-py3.7.egg/mmfashion/core/evaluation/retrieval_eval.py", line 85, in evaluate
    gallery_embeds, i)
  File "/home/lingbo.ylb/anaconda3/envs/lingbo/lib/python3.7/site-packages/mmfashion-0.1.0+7a5acde-py3.7.egg/mmfashion/core/evaluation/retrieval_eval.py", line 66, in single_query
    relevant_num = len(self.gallery_id2idx[query_id])
KeyError: 1801

Here is my retrieval script
python tools/test_retriever.py \
    --config configs/retriever/roi_retriever_resnet.py \
    --checkpoint checkpoints/retrieval_clothes_resnet50/epoch_150.pth

My guess is that there is certain rule for creating a valid query/gallery split, and I definitely violate some sort of rule here. Here I detail my preparation of custom split to help you replicate the error.
Preparation of my custom split
I am replicating an project on pose-guided human image generation, and somehow I wish to run a retrieval test using synthesized images to query from the real images. To this end, I simply set all the test images as "query" and all the train images as "gallery".
Here is my train/test split, and I think the partition is completely random, and by principle the ids in training split and testing split do not overlap, (but I haven't verified it yet). Could this be the reason why I cannot find a corresponding item for my query in the gallery?
test.txt
train.txt
After that I created an list_custom_patition.txt inside ./data/In-shop/Eval:
list_custom_partition.txt
Then I ran the prepare-in-shop.py script on the custom split file, and it all went well with no errors. Here are the generated annotations in a zip.
Anno.zip
How to replicate my error
I think by downloading the annotation files attached above and replace the custom file should do the trick. However, in case something went wrong with my preparation, here I attach my python script for generation list_custom_partition.txt from my train/test files.
################
# Step #1: Use PATN test as query and train as gallaery, replace MMFashion's default split.
# Potential bug:
#	For each test image there could be multiple synthesized results as query (using different source images)
#	In this case, I just copy the testing line twice/thrice and evaluate the topK-recall multiple times.
################

import os
import pandas

# you may want to change the prefix.
PREFIX = '/home/lingbo.ylb/projects/Pose-Transfer-mod/fashion_data'

# We don't need training lines.

# convert compact string to directory
# Input be like: fashionWOMENSkirtsid0000062904_3back.jpg
# Output be like: img/WOMEN/Skirts/id_00000629/04_3_back.jpg
def convert(dirty_str):
	s = dirty_str.strip('\n')[7:] # remove fashion
	if s.startswith('MEN'):
		gender='MEN'
		s = s[3:]
	else:
		gender='WOMEN'
		s = s[5:]

	t = s.find('id000')
	clothes_type = s[:t]
	s = s[t+2:]  # skip 'id'
	id_num = s[:8]  # id is eight digits
	s = s[8:]   # 04_3back.jpg
	delim = s[:4]   # 04_3
	ext = s[4:]

	return id_num, 'img/{}/{}/id_{}/{}_{}'.format(gender, clothes_type, id_num, delim, ext)

gallery_list = os.path.join(PREFIX, 'train.lst')
query_list = os.path.join(PREFIX, 'test.lst')

with open(gallery_list, 'r') as f:
	gallery_items = [convert(s) for s in f]

with open(query_list, 'r') as f:
	query_items = [convert(s) for s in f]

#print(query_items[0:10])
# print(query_items)
n = len(gallery_items) + len(query_items)

output = '/home/lingbo.ylb/projects/mmfashion/data/In-shop/Eval/list_custom_partition.txt'
with open(output, 'w') as f:
	f.write('%d\nimage_name item_id evaluation_status\n' % n)
	for g in gallery_items:
		f.write('{:<72s}{} gallery\n'.format(g[1],g[0]))
	for q in query_items:
		f.write('{:<72s}{} query\n'.format(q[1],q[0]))

Thanks again for your time!

@veralauee I've been stucking on thisissue for a week, can you help? Thanks:P

Sorry, I don't understand what exactly your problem is.
Seemingly there is no 1-1 matching relationship(1 query and 1 gallery) in your train.txt or test.txt. Did you check there exist two same id number in your dataset?

@veralauee Okay now I understand the constraints. For my task the person ids are deliberately separated to guarantee the generalizability of the generative model. However for retrieval there must exist at least one corresponding gallery image with the same id number as the query, otherwise the retrieval system would raise the keyerror.
However, there must be some occasions in real life where you just don't have the correponding gallery item for the given query, and I suppose a proper response for the system should be a return message of "No item found" instead of simply raise an error. Maybe some try-exception mechanism could be introduced to the retriever to enhance the robustness. Hope to see this change in later versions. Thanks!