Extra checks?

I dunno if it would be the best idea to add some extra update checks, but here's a list of some ideas

Memory check:
I'm not particularly a big fan of this one, as using memory to measure system load isn't very helpful, because applications can cache tons of memory, some use more, some don't and some are more taxing than others, some other OSes/alternative kernels handle memory differently, etc, you get the idea here
CPU thermals check:
I'm not exactly opposed to this idea, I just don't see how this would make things any better as we already check cpu load
GPU load check:
I'm not opposed to this idea, just need more insight into it
Network speed check:
This varies a lot from place to place, so it would be hard to implement, given that network speed varies quite a bit around the world, would definitely need more insight into this one

Feel free to suggest more in the comments in this issue

moreover, it would also be good to check if updates were available at all, like give the user the ability to add scripts that check for updates, if any of them return success then we continue, the problem becomes, I don't know how to check for distrobox updates, or flatpak updates. So if distrobox or flatpak have an update, but ostree doesn't, the user could miss out on updates to flatpak or distrobox

ok there's a new PR open for checking updates using skopeo, only works for rpm-ostree distributions with OCI images though: https://github.com/ublue-os/ublue-update/pull/19

Memory checks: After a bit of discussion, I don't believe this would be beneficial. Too many different memory configurations to account for
CPU thermals check: What's acceptable varies quite a bit CPU to CPU. Some run hotter, some colder. I don't think we should implement this.
GPU load check: This is a great idea. This could be pretty useful but there currently isn't consistent tooling to measure this between different vendors (that I'm aware of at least). This should definitely be implemented if otherwise possible.
Network speed check: This got discussed on Discord as well, but I don't think we should implement this. Some people have really slow connections (one user reportedly only had a megabit available to them the other day). There's so many variations here that this could be too intrusive.
However, I do believe a network connectivity check could be useful here. I already use one in steamos-update that I could bring over here. Even though this already needs internet access, that doesn't necessarily mean GitHub/GHCR is going to be up to serve images.
This can easily be handled with a module that runs:
wget -q --spider https://github.com
From where we can pull the return code. This could be an optional inhibitor as well.


Question about Table 1comparing various state-of-the-art methods on the t2m dataset in the paper

In Table 1 in the paper, you mentioned that for MDM and MotionDiffuse, § reports results using ground-truth motion length. What does this mean? I looked through the evaluation code and it seems that you are also using the ground truth motion lengths during evaluation. Or are you truncating the motions to the length used during training, i.e. window size?

In MDM and MotionDiffuse, motion is generated based on the length of the ground truth. In our work, we directly predict the 'End' token, so the length of the gt is not needed.
https://github.com/Mael-zys/T2M-GPT/blob/92ffedf00df5e142515f5c1677bdb2375ce8a58e/models/t2m_trans.py#L45
https://github.com/Mael-zys/T2M-GPT/blob/92ffedf00df5e142515f5c1677bdb2375ce8a58e/models/t2m_trans.py#L50

Hello, MDM and MotionDiffuse use ground-truth motion length for generation, which means their generated motion length during evaluation is the same as ground-truth motion length. For T2M-GPT, the gt motion length in our evaluation code is only used to extract the gt motion features. For generation, we use an 'End' token to predict the end of a motion, so it doesn't require the gt motion length as generation input, and our generated motion length during evaluation can be different from gt motion length.

Thank you so much for the clarification. I was working on something very similar but you guys beat me to it! I also noticed that the metrics changed depending on the mean and std files referenced by the meta dir.
https://github.com/Mael-zys/T2M-GPT/blob/92ffedf00df5e142515f5c1677bdb2375ce8a58e/dataset/dataset_TM_eval.py#L39
Is this the mean and std obtained after doing the processing steps of HumanML3D? If not how did you obtain this mean and variance npy files? I wanted to compare my method to yours but using the mean and std of HumanML3D gave me different real metrics.

Hello, the mean and std are originally obtained from a CVPR2022 paper text-to-motion:
https://github.com/EricGuo5513/text-to-motion/blob/main/train_comp_v6.py#L128-L129
https://github.com/EricGuo5513/text-to-motion/blob/main/data/dataset.py#L93-L115
In our code, we directly load the mean and std provided in their repo.


KAFKA-1686: Implement SASL/Kerberos.

Anyone interested running this on vagrant , build kafka with this patch in and checkout https://github.com/harshach/kafka-vagrant . Drop the .tgz under kafka-vagrant. Vagrant up.

Thanks Harsha, good to see this. In order to review this, it would be good to have a summary of the status of the PR, what areas (if any) you are still working on?

@ijuma cleaning up the code and adding sasl configs part, more unit tests.

Thanks.

@junrao @ijuma  Please review the updated patch. Thanks.

Thanks @harshach. I submitted a PR with your branch as the target: https://github.com/harshach/kafka/pull/1
It merges trunks (and resolves the conflicts) and it includes some fixes and improvements. Please review and integrate if you agree with the changes.
I am still going through the code and I will submit another PR later that will include a SaslConsumerTest.

@ijuma @junrao updated the pr with consumer test . I'll be updating with docs and other fixes mentioned in the above comments tonight.

Here's another PR https://github.com/harshach/kafka/pull/2, which:

Merges and resolves conflicts from trunk
Address some of Jun's and Parth's comments
Make fields final
Reduce scope of variables where possible
Remove unused fields and methods
Fix javadoc
Fix formatting and naming issues
Return non-anonymous KafkaPrincipal in SaslClientAuthenticator.principal

Please review and integrate as appropriate @harshach.
There is still feedback to be addressed as well as more tests (particularly for inter-broker communication and SASL_SSL). I will continue working on these.

Thanks for regularly merging my PRs Harsha. Here's another one: https://github.com/harshach/kafka/pull/3

Also, a general question, if the TGT ticket can't be renewed, do we get exceptions when reading/writing through the SASL port?

@junrao Yes. It will throw a KafkaException

PR 4 is ready: https://github.com/harshach/kafka/pull/4, it:

Fixes issues with the LoginManager singleton (we need two instances, one for Mode.SERVER and one for Mode.CLIENT and closing it is not as simple as how it's done in the existing code)
A number of logging clean-ups (avoid string concat so that we don't pay the cost if that particular level is disabled)
Remove setConfiguration call as suggested by @rajinisivaram

Next on my list:

removeInterestOps issues on server and client authenticator mentioned by Jun
Refactor tests to reduce duplication, test SASL_SSL, test SASL for inter-broker communication and fix test failure when all the tests are run via Gradle (I know what the issue is)
Replace KerberosName system property with config
Investigate if there's a way to avoid using proprietary classes in JaasUtils.defaultRealm

I think we're getting closer.

@ijuma I see you changed LoginManager to do client and server. But in SASL case we use KafkaServer section for both KafkaServer and any inter broker calls. The reason for this is we want keep KafkaClient section for only the clients and use the keytab in KafkaServer section. Hence the reason we want to initialize the LoginManager eitehr with server or client but not with both. So in broker side we do LoginManager(server) and inside the controller or replica we use inter.broker.security.protocol and use client as mode initiate salsclientauthenticator with LoginManager.subject.

@harshach Regarding LoginManager, thanks for the explanation, good to know that we want to use KafkaServer section for the broker, whether it's a client or a server.
However, if LoginManager doesn't support client and server simultaneously, how will it work in situations where you have a client and a server in the same JVM (like in tests, for example)? I think LoginManager should support both modes, but we should change how we call it from SaslChannelBuilder perhaps. What do you think?

@ijuma yes makes sense.

@harshach Is that right? In ControllerChannelManager, ReplicaFetcherThread, and KafkaServer (for controlled shutdown), we create the channel in client mode (instead of server). This seems correct since they initiate client connections. The SocketServer is always created in server mode. So, it seems that the broker will always need to support two modes for LoginManager.

@junrao I think the confusion is due to the fact that Mode is being misused in LoginManager. It really means LoginContextType. It is used to derive the loginContextName. I intend to change it along these lines so that it's clearer. @harshach, please correct me if I misunderstood.

Hmm, so all channels in ControllerChannelManager, ReplicaFetcherThread, and KafkaServer should be created in server mode to pick up the KafkaServer section?

@junrao Not exactly, I think it's something like this:
https://github.com/ijuma/kafka/commit/c837d5f2b05dab21b3edde3de248f269c9423459
(I just did it quickly to show it in code, still need to double-check it)

@ijuma your code looks good to me. If you open a PR I can run some tests. Thanks.

@harshach I am not sure "serviceName has always been used in jaas config". I can run Zookeeper 3.4.6 with SASL either with the default name zookeeper or by specifying the System property zookeeper.sasl.client.username to override the name.
At the moment, using serviceName in jaas.conf as the only way to configure the name prevents SASL from being used with IBM JDK. At the very least, we need to set a default. The exceptions with IBM JDK when serviceName is set as well as the exception when serviceName is not set are below.
If serviceName is specified, the exception is:
javax.security.auth.login.LoginException: Bad JAAS configuration: unrecognized option: serviceName
	at com.ibm.security.jgss.i18n.I18NException.throwLoginException(I18NException.java:4)
	at com.ibm.security.auth.module.Krb5LoginModule.d(Krb5LoginModule.java:704)
	at com.ibm.security.auth.module.Krb5LoginModule.a(Krb5LoginModule.java:198)
	at com.ibm.security.auth.module.Krb5LoginModule.login(Krb5LoginModule.java:113)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:95)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:56)
	at java.lang.reflect.Method.invoke(Method.java:620)
	at javax.security.auth.login.LoginContext.invoke(LoginContext.java:781)
	at javax.security.auth.login.LoginContext.access$000(LoginContext.java:215)
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:706)
	at javax.security.auth.login.LoginContext$4.run(LoginContext.java:704)
	at java.security.AccessController.doPrivileged(AccessController.java:452)
	at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:703)
	at javax.security.auth.login.LoginContext.login(LoginContext.java:609)
	at org.apache.kafka.common.security.kerberos.Login.login(Login.java:298)
	at org.apache.kafka.common.security.kerberos.Login.<init>(Login.java:107)
	at org.apache.kafka.common.security.kerberos.LoginManager.<init>(LoginManager.java:42)
	at org.apache.kafka.common.security.kerberos.LoginManager.getLoginManager(LoginManager.java:65)
	at org.apache.kafka.common.network.SaslChannelBuilder.configure(SaslChannelBuilder.java:49)

If serviceName is not specified, the exception is:
com.ibm.security.krb5.KrbException, status code: 7
	message: Server not found in Kerberos<EMAIL_ADDRESS>	at com.ibm.security.krb5.KrbTgsRep.<init>(KrbTgsRep.java:3)
	at com.ibm.security.krb5.KrbTgsReq.getReply(KrbTgsReq.java:155)
	at com.ibm.security.krb5.KrbTgsReq.sendAndGetCreds(KrbTgsReq.java:122)
	at com.ibm.security.krb5.internal.r.e(r.java:92)
	at com.ibm.security.krb5.internal.r.d(r.java:7)
	at com.ibm.security.krb5.Credentials.acquireSvcCreds(Credentials.java:102)
	at com.ibm.security.jgss.mech.krb5.n.a(n.java:195)
	at com.ibm.security.jgss.mech.krb5.n.initSecContext(n.java:375)
	at com.ibm.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:171)
	at com.ibm.security.jgss.GSSContextImpl.initSecContext(GSSContextImpl.java:310)
	at com.ibm.security.sasl.gsskerb.GssKrb5Client.evaluateChallenge(GssKrb5Client.java:174)
	at org.apache.kafka.common.security.authenticator.SaslClientAuthenticator$2.run(SaslClientAuthenticator.java:184)

I agree that we should do something about this. My preference is to move it to the Kafka config.

PR 5: https://github.com/harshach/kafka/pull/5:

Introduces LoginType and simplifies caching code in LoginManager
Make auth_to_local configurable via KafkaConfig instead of a system property. I went with the same name as Hadoop uses, but it's not the most intuitive so we may want to revise that (it should be a simple change though).

I started on the inter-broker tests and things are looking good. SASL_PLAINTEXT and SASL_SSL work fine (the latter required a small fix).

@rajinisivaram @ijuma ok for serviceName I want to go with this way default will via jaas config and if its not set we will look for it in the sasl configs. Will that work for you?

@harshach @ijuma Yes, thank you. That will work for us,

I pushed the inter-broker tests for SASL_PLAINTEXT and SASL_SSL to https://github.com/harshach/kafka/pull/5
Working on SASL_SSL tests for producer and consumer now.

@harshach, PR 6 is ready https://github.com/harshach/kafka/pull/6:

Merged trunk and fixed conflicts
Refactored producer and consumer tests to reduce duplication and to also test SASL_SSL (fixed an important, but small bug with SASL_SSL in the process)
Fixed issue where interestOps was not being turned off when it should be
Document authenticate in SaslClientAuthenticator and SaslServerAuthenticator
Make it possible to configure serviceName via KafkaConfg

./gradlew test passed on my laptop.
We need to move fast in order to get this into <IP_ADDRESS>, so I'd appreciate it if you could merge this into your branch so that Jun can review it.

@harshach : PR #6 from @ijuma looks good to me. Do you want to merge that into your branch? Once you do that, I think we can probably just commit the patch as it is and address other issues, if any, in followup jiras.

@ijuma can you open a PR against this branch so that I can merge it in

Thanks for merging the PR to your branch Harsha. Since Jun merged the SASL PR via #334 (which is exactly the same as this one now), would you mind closing this one please?
Thanks for your work on this. We'll probably need a follow-up to tweak some things and some more tests (particularly ducktape ones) but we're most of the way there.


Editor: Border Radius Support For Text Highlight Mode

Summary
Applies the border radius to the highlight elements in text highlight mode.
Relevant Technical Choices
Had to use a different method for applying border radius than the existing one because lines can have various widths. Approach uses px values for borer radius in the editor space. so should be consistent and responsive to story size.
To-do
NA
User-facing changes

Corner radius should now apply to the highlights in text highlight mode
All text elements should now come in with a default border radius of 2.

Testing Instructions
-> go to edit story
-> add text to the story
-> see that there's a default border radius of 2
-> change the text's fill mode to highlight
-> see that the border radius applies to the highlight (should also be there while editing text and in the preview)
-> play with the border radius and see that all changes are applying to the highlighted lines

Fixes #5715

Working great for me!

Verified in QA

Verified in QA


Can't install this plugin in Intellij IDEA -2017.1.4

Description:
I try to install the siddhi plugin in my Idea,but I get some puzzle during this time.

Can't find this plugin in idea 's browse repositories.
Download the plugin file and install it .but idea show a error message,"Plugin 'Siddhi' is incompatible with this installation". tips:I have tried to install all the version of this plugin

Affected Product Version:
V1.0.0 and V1.1.0
OS, DB, other environment details and versions:
OS Version:Windows 10 ,1703
Idea Version: 2017.1.4
Steps to reproduce:
About problem 1
Just search for "Siddhi" in browse repositories.
About problem 2
Install the plugin in idea which version is 2017.1.4

@RAVEENSR Can you please help out on this?

@yourgentlesmile This plugin supports varsion IntelliJ IDEA 2017.2.5 and above.(mentioned in here) So Idea Version: 2017.1.4 is not supported by this plugin. That is why it was not shown in idea 's browse repositories. Update you intellij idea to the version 2.5 or above and install the plugin according to this.

Ahhh,Thank you for solving my puzzle. I found that the limit of Idea Version in website when I scroll down it.... so,Thank you again~


Added Java Section with Code Examples(Snippets)

Added Baisc of Java with Basic Code Snippets

check it asap,as per your demand i have added code snippets.


Sudo fails when running from PowerShell prompt within ConEmu

Steps to reproduce

install sudo \
install ConEmu (https://conemu.github.io/)
open a PowerShell prompt inside ConEmu
run form example sudo nvm use x.x.x

Command fails with The Win32 internal error "The handle is invalid" 0x6 occurred while getting console output buffer information. Contact Microsoft Customer Support Services.
Running the same command from: 'native' PowerShell prompt and a cmd hosted in ConEmu works

Maybe related to #34 (or maybe not)


Setting  calendar date as a value

I am trying to set a value to a flatpickr calendar. I am trying to set the pickup_date to a var but am unsure of how to get a value and set it to a specific var. Not sure if this makes sense. I have two calendars and want to be able to block previous dates(on the second calendar)+1 choose on the first calendar. Example user chooses the 10th (on pick up, first calendar) then the earliest date on the second calendar(drop off) will be the 11th. I run a delivery business and need 24hr between pickup and dropoff. Thank you
$('#pick_date').flatpickr({
enableTime: true,
minDate: 'tomorrow',
enableTime: false,
dateFormat: "m-d-Y",
"disable":
[
function(date)
{
return date < new Date();
}
],
"locale":
{
"firstDayOfWeek": 1 // set start day of week to Monday
}
});
$('#dropoff_date').flatpickr({
enableTime: true,
minDate: 'tomorrow',
enableTime: false,
dateFormat: "m-d-Y",
"disable":
[
function(date)
{
var today = new Date(d1); /format needs to be (yyyy, mm, dd)/
var d2= new Date(today);
return date < d2.setDate(today.getDate()+1);
}
],
"locale":
{
    "firstDayOfWeek": 1 // set start day of week to Monday
}

});

First time commenting/beginner level coder. Sorry.

let startPicker = $('#pick_date').flatpickr({
    onChange: function(selectedDates, dateStr, instance) {
        var newDate = new Date(dateStr) + 1;

        endPicker.set('minDate', newDate);
    }
});

let endPicker = $('#pick_date').flatpickr({
    // options
});

You need to define the instances as variables so you can call set() on them.
Not sure if the newDate needs a getDate() or whatever to make it work.


[1.18, Bug] Campfires produce particles regardless of status

thonkhuh

this has been fixed apparently


fix: Fix an ICE when reassigning a mutable lambda variable to one with a different environment type

Description

Problem
This code type-checks properly, but an assertion fails during SSA generation.
The reassignment is invalid since the two lambdas have different environment types, and should be caught during type-checking.
fn main() {
    let a: u32 = 1;
    let b: u32 = 1;

    let mut f = || a;
    f = || a + b;

    f();
}

Resolves https://github.com/noir-lang/noir/issues/2139
Summary
This adds an additional check to assignments, to cover this case and throw an error if an invalid assignment happens.

Documentation

[ ] This PR requires documentation updates when merged.

[ ] I will submit a noir-lang/docs PR.

[ ] I will request for and support Dev Rel's help in documenting this PR.

Additional Context

PR Checklist*

[x] I have tested the changes locally.
[x] I have formatted the changes with Prettier and/or cargo fmt on default settings.

Fair enough. fixed in https://github.com/noir-lang/noir/pull/2172/commits/dfc0ba0e16267b48f0d11915b71329a9adb870bf


Eigen's Podfile could use RCTWebSocket, but have it removed on deploy

In the guide: https://github.com/artsy/emission/blob/master/docs/running-emission-in-eigen.md
The biggest faff - and specifically the only thing stopping Eigen from being able to use Emission dev mode any-time is the lack of RCTWebSocket.
We could add RCTWebSocket to our Podfile and then remove it in the Fastfile before a pod install on circle?

I’d normally be slightly hesitant about this, but seeing as this dependency has no external dependencies I guess there can’t really be any other differences that could occur between dev and prod. Give it a go 👍


Set up docs page

The Makefile has the logic for building a docs page so moving to automating a build of that page on new commits to master can be done and would certainly be useful to newcomers to get a semi-global view of the state of the project.

Went through the build locally on this, steps required:

pip install mkdocs
pip install mkdocs-ponylang

I also then ran mkdocs gh-deploy which put the docs at https://pony-bio.github.io/pony-bio/ however the docs are pretty well blank at the moment so holding off on "fixing" this issue until #26 is done, at which point new merges to master should kick off the auto-build and auto-deploy of docs.


Handle invalid JSON in GraphQL query

ApolloUploadServer will raise ActionDispatch::Http::Parameters::ParseError when the GraphQL query contains invalid JSON, we should handle it with a 400 error.
HTTP Post payload for example:

Full Payload
{
"operationName": "myQuery",
"variables": {
  "handle": "'\"()&%<acx><ScRiPt >YCSk(9446)</ScRiPt>"
},
"query": "query myQuery($handle: String!)"
}

Hey @yiyidai
I'm not sure this error should be fixed this way.
ApolloUploadServer should work only with multipart/form-data content type, otherwise it should be noop.
I think this part
request = ActionDispatch::Request.new(env)

should be invoked only if content type == 'multipart/form-data'

Hi @fuelen , what you suggested makes sense. I'll pushed a new change to the PR, please take a look. Thanks!

@yiyidai Looks great! Thank you for the fix!


Update wiki  notes on package standard structure and use of within package tests directory

Review and ensure the wiki notes are clear on pros and cons of within package tests subdir or separate tests dir, or adjacent package
Relates to recent issue on moving tests dir
List library vs application vs package
Done / checked / added to wiki if relevant  (used, or not relevant)

https://docs.pytest.org/en/stable/goodpractices.html
https://docs.python-guide.org/writing/structure/
https://hynek.me/articles/testing-packaging/
https://medium.com/python-in-plain-english/unit-testing-in-python-structure-57acd51da923
https://github.com/ionelmc/cookiecutter-pylibrary
https://docs.pytest.org/en/stable/pythonpath.html#import-modes
https://python-packaging.readthedocs.io/en/latest/about.html
https://realpython.com/python-application-layouts/#application-with-internal-packages
https://dev.to/lucs1590/python-module-vs-package-vs-library-vs-framework-4i0p
https://docs.python.org/3/library/index.html#library-index
https://docs.python.org/3/distutils/setupscript.html?highlight=libraries
https://setuptools.readthedocs.io/en/latest/userguide/declarative_config.html?highlight=src#using-a-src-layout

Topic has been researched and package structure and test structure has been selected
Decision log updated
Done


Popup's close button does not have sufficient contrast

The popup's close button has a contrast ratio of 1.76, and fails all of the following WCAG 2.1 Success Criteria:

1.4.3 Contrast (Minimum)
1.4.6 Contrast (Enhanced)
1.4.11 Non-text Contrast

Some browser's dev tools make suggestions for colors to increase the contrast to acceptable levels (Chrome in this case):

The color of the close button is a design choice, if it's decided not to change it for that reason then it could be added as a known limitation in the accessibility statement.


chore: Update upstream dependency constraints

- What I did
Updated the major constraint for at_onboarding_flutter.
- How I did it
- How to verify it
- Description for the changelog
chore: Update upstream dependency constraints

I broke the build pipeline in #242 waiting for a fix in #247

@XavierChanth If this is mergeable, can you resolve the conflicts on it please and merge it?

@gkc please approve and merge


chore: test bundler module resolution

This is a 'canary' pull request. It aims to ensure that the ecosystem is ready for a shift in the default Nuxt TypeScript module resolution from 'Legacy' to 'Bundler': https://github.com/nuxt/nuxt/pull/24837. You'll need to run your build + type checking tests to verify that things still work; I'm hoping that CI will do that for us so we get an immediate indication of whether there's anything to investigate further here.
'Bundler' module resolution is recommended by Vue and by Vite, but unfortunately there are still many packages that do not have the correct entries in their package.json.
This might include this module or packages that are used by this module. You can see, for example: https://arethetypeswrong.github.io/?p=nuxt-laravel-precognition. The initial red X for node10 needs to be fixed in https://github.com/nuxt/module-builder; you can ignore that for now.
If there are any errors reported in CI for this PR, it would be good to fix them for the sake of any users of this module who enable the Bundler module resolution. Feel free to ping me or others on the Nuxt Discord if you need any help resolving any issues discovered by this PR - and feel free to check out https://github.com/nuxt/nuxt/pull/24837 for any feedback or comments from others affected.

Good evening Daniel, thank you for your hint.
I updated the module, merging your PR, and added also the following to
tsconfig at root folder:
"extends": "./playground/.nuxt/tsconfig.json",
"compilerOptions": {
"allowImportingTsExtensions": true,
"moduleResolution": "Bundler"
Not sure if changes the things because at your link (
https://arethetypeswrong.github.io/?p=nuxt-laravel-precognition.) I still
get some errors.
I run npx nuxi typecheck and build with no issue (except something related
to the playground environment...)
Let me know if i should change anything else.
Thank you and merry Christmas.
Sot.
Il giorno gio 21 dic 2023 alle ore 14:23 Daniel Roe <
@.***> ha scritto:

This is a 'canary' pull request. It aims to ensure that the ecosystem is
ready for a shift in the default Nuxt TypeScript module resolution from
'Legacy' to 'Bundler': nuxt/nuxt#24837
https://github.com/nuxt/nuxt/pull/24837. You'll need to run your build

type checking tests to verify that things still work; I'm hoping that CI
will do that for us so we get an immediate indication of whether there's
anything to investigate further here.

'Bundler' module resolution is recommended by Vue
https://github.com/vuejs/tsconfig/blob/mainz/tsconfig.json#L24-L26 and by
Vite https://vitejs.dev/guide/performance.html#reduce-resolve-operations,
but unfortunately there are still many packages that do not have the
correct entries in their package.json.
This might include this module or packages that are used by this
module. You can see, for example:
https://arethetypeswrong.github.io/?p=nuxt-laravel-precognition. The
initial red X for node10 needs to be fixed in
https://github.com/nuxt/module-builder; you can ignore that for now.
If there are any errors reported in CI for this PR, it would be good to
fix them for the sake of any users of this module who enable the Bundler
module resolution. Feel free to ping me or others on the Nuxt Discord
https://discord.nuxtjs.org if you need any help resolving any issues
discovered by this PR - and feel free to check out nuxt/nuxt#24837
https://github.com/nuxt/nuxt/pull/24837 for any feedback or comments
from others affected.
You can view, comment on, or merge this pull request online at:
https://github.com/sot1986/nuxt-laravel-precognition/pull/2
Commit Summary

3b6432e
https://github.com/sot1986/nuxt-laravel-precognition/pull/2/commits/3b6432ed92c9afc0bb4bc2718dac62157ac88236
chore: test bundler module resolution

File Changes
(2 files
https://github.com/sot1986/nuxt-laravel-precognition/pull/2/files)

M .nuxtrc
https://github.com/sot1986/nuxt-laravel-precognition/pull/2/files#diff-54593fe320c500f8393911d3c1fa9453fe2aa06cc3647a8e4d8fa950f7104afc
(3)
M package-lock.json
https://github.com/sot1986/nuxt-laravel-precognition/pull/2/files#diff-053150b640a7ce75eff69d1a22cae7f0f94ad64ce9a855db544dda0929316519
(4)

Patch Links:

https://github.com/sot1986/nuxt-laravel-precognition/pull/2.patch
https://github.com/sot1986/nuxt-laravel-precognition/pull/2.diff

—
Reply to this email directly, view it on GitHub
https://github.com/sot1986/nuxt-laravel-precognition/pull/2, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ASW75YCAVO6OA5HNU4RD5W3YKQZ5FAVCNFSM6AAAAABA6MU6MSVHI2DSMVQWIX3LMV43ASLTON2WKOZSGA2TENBRHE3DAMA
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>


Cover fails to extract

This file doesn't get its cover extracted:
coversample.epub.zip

Thanks for reporting this issue. I'll look into it now.

OK. It seems like this is a problem with your epub file.

In content.opf line 10, the cover is defined as referencing the file with the id item2.
<meta name="cover" content="item2" />

In line 32, the file has the id cover.jpg, not item2.
<item href="Images/cover.jpg" id="cover.jpg" media-type="image/jpeg" />

This means that your epub is not referencing the cover correctly. Your epub can be fixed by changing line 32 to:
<item href="Images/cover.jpg" id="item2" media-type="image/jpeg" />

That should make BookBrowser pick up the cover correctly.

The cover image is defined in <guide> and is extracted by every reader I have.
The BookBrowser should do the same, I believe.

@Carmina16 OK, I see. I'll work on that soon.


Minor updates to Makefiles and testWrappedPoint

Makefiles
Issues:

'make clean' complained when files weren't found
'make clean' inconsistent between tutorial 1 and 2
'.o' target did not work for vanilla make

Resolutions:

Updated 'clean' target to use rm -rf so it doesn't error on
nonexistent files

Updated 'clean' target in tutorial2 to remove html like tutorial1

Updated '.o' target to work with vanilla make by using % for filenames

testWrappedPoint.py
Issue:

testWrappedPoint.Point(lib) returns (0, 0)

Resolution:

changed init so init(lib) copies x and y from the C struct
separately

Thanks for the PR!
I appreciate the changes.  I noticed someone on hackernews commented on the bad makefile.  I'll confess that I didn't spend much time thinking about that part.  Thanks for cleaning it up!.

You're welcome.
Thanks for doing the tutorials. You set the level nicely. I enjoyed working through it.


Device pairing one time only

Hey, I have 2 questions about usage of this project.

In repo README, you have asked to configure TV settings
You need to allow "LG Connect Apps" on your TV - see http://www.lg.com/uk/support/product-help/CT00008334-1437131798537-others
But the link does not open specific issue solution, it just lands on main support page.

I was able to connect to the TV using your repo.
Now the issues is : I have to allow pairing from TV every time TV starts. So, is there a way using which, the device gets paired once and does not need to be allowed every time?
Please guide me.

Thanks!

@hobbyquaker any suggestions?

@saryulabs did you figure this out? have the same issue

ok nevermind, I just ended up supplying my own clientKey logic. The file is created as expected with the default logic, but it's just empty.


⚠ GitLab Server has degraded performance

In 47accff, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 14297 ms

Resolved: GitLab Server performance has improved in 0bc1183.


BlocSerializationError when saving a BlElement with Ellipse geometry

Error when trying to save a BlElement with a circle.
1 - Open a new project in Pyramid
2 - Setup Project configuration (package, class and method - class side)
3 - Create an object from Add new element button and Square with randomized color
4 - Select the BlElement and set a Ellipse geometry with the button on the right section Properties
5 - Click on save button and see the error :

My config :

Windows 10 Pro
Pharo 11 64 bits stable
Pyramid main branch commit 31698fd0aa0e913b9573dd4e458be76ae6837aad

Problem came from PyramidSelectionWidgetBorderBuilder>>#topLabelFor:

The problem is due to the graphical selection element, the overlay is linked to the serialized BlElement. I will send a fix.


Feature request: add support for OutputStyle (needs sass upgrade)

I'm using the sass_builder transformer with an Angular application.
sass package v1.0.0-beta.5.1 added support for different output styles, notably the compressed output style. It would be cool if I could do this in my pubspec.yaml file:
transformers:
- sass_builder:
    output_style: compressed

...and see my resulting stylesheet minified :)

Dart Sass is now version 1.1.1
this feature could now be released if it is ready.

An option to configure the output style is now available in v1.2.0.


[1.3.x] Add welcome banner with Java version

This is a backport of https://github.com/sbt/sbt/pull/5579
Ref #5544

I think displaying sbt version and Java version is pretty useful now that there a various combination of Java flavors and Homebrew etc could insist on some particular version.

excellent


SVG image and rasterization investigation

8 hours to look into patterns, image dimensions in IE11. Check for illustrator usage that won't work well (e.g. rasterization at that step). Check security patterns, and anything else that would prevent SVG image usage.
Also check into dynamic rasterization for sharpness.

IE11 not having SVG bounds: https://github.com/phetsims/wave-on-a-string/issues/74

Performance regression by using SVG directly: https://github.com/phetsims/wave-on-a-string/issues/93

Faraday's Law SVG investigation: https://github.com/phetsims/faradays-law/issues/13

Pattern proof-of-concepts:
Shows only in IE: http://phetsims.github.io/scenery/tests/browsers/svg/shows-in-IE.svg
Shows only in non-IE: http://phetsims.github.io/scenery/tests/browsers/svg/shows-in-others.svg

Relevant comment to come up with that:

I've isolated the difference, it appears to be how IE handles the viewBox in patterns. It seemed like the patterns had negative numbers in the viewBox y direction, so maybe it is fixable in Illustrator by tweaking the patterns so that viewBox is better or not used?

Another test URL: http://phetsims.github.io/scenery/tests/browsers/svg/cart-test.html

Above proof-of-concepts from April 2013, email thread "Prioritize image issues".

Canvg looks very promising, although it doesn't fully render the ESPB skater's helmet/ponytail (the SVG file for it is 1.3 MB though, it may have been cut off because of the size).
Otherwise it looks consistent cross-browser so far, and properly renders all other graphics I have tested (and does so immediately).
On IE, canvg won't render base64 URLs, so we would need the raw SVG string (which can be extracted manually).
Also, it takes ~3 seconds to render the sweater image (many patterns), so something this pattern-heavy could slow down sim startup.

Looks like SVG can be input into http://gabelerner.github.io/canvg/examples/index.htm (text copy) to test, which could be useful for designers.

Canvg's way of scaling (scaleWidth/scaleHeight) for rasterization looks like it won't work quite well enough for us. We'll need to overwrite the viewbox on the root element to properly handle things (see https://github.com/gabelerner/canvg/issues/63).

Try workaround from http://stackoverflow.com/questions/5918595/why-is-firefox-so-bad-at-resizing-images

I tried rotating the document.body in firefox to 0.0001 degrees and 2 degrees, and using homescreen icons in the navbar didn't look too different:

Why not use DOM renderer when firefox is detected?  Rendering for dom images looks very smooth.  I tested http://localhost/forces-and-motion-basics/forces-and-motion-basics_en.html?screens=2&joistRenderer=svg and compared to http://localhost/forces-and-motion-basics/forces-and-motion-basics_en.html?screens=2&joistRenderer=dom and the human character images look much smoother in DOM.

Firefox SVG:

Firefox DOM:

I've added experimental support for mipmapping to SVG images in Scenery (underneath a non-default Image flag). Not ready for production use yet, and could use further tuning with the bias (and possibly finer mipmap levels than 2x), and has an occasional bug that results in black images temporarily.
Examples in Firefox.
Before:

After:

Before:

After:

Not particularly suitable to be on by default in the long run, as it does slightly increase startup time.

Before:

After:

Can this solution be "auto-applied"?  Detect circumstances where an image is being shown at a radically different size and then mipmap it then?  Or better for the developer to annotate the problem images and have them mipmap on startup?

It can be auto-applied without precomputing any mipmaps, however it might cause a slight delay when it has to mip-map on the fly (e.g. switching screens) that might be undesirable.
Additionally, if it's enabled, we have to compute the relative transform in SVG (which usually isn't needed).

Slightly tweaked settings, sharpness test is showing good results on Firefox/Chrome/IE11 Win7. Notably IE11 uses similar settings to Firefox. Here's an example:
 (mipmap with tweaked settings)
 (no mipmap)
Original:

Haven't found a great solution for the SVG delay that happens yet (if mipmap is created the same animation frame as it would need to be displayed, there may be a flicker where it doesn't display the first frame).

Completed Scenery-level implementation and the plugin to support preloading of mipmaps in build files (https://github.com/phetsims/chipper/issues/111). Closing.

Reopening just to ask some questions:
So we can now use SVG in our simulations and it will work reliably cross-platform?  When should we use SVG vs PNG vs JPG?  What are the tradeoffs?

SVG not recommended due to permissions issues. For the plugin, I haven't found a non-native solution to convert SVG to a raster.
For the mipmap plugin, select a raster size that looks good on high resolution devices and pass that in. If it includes no transparency, the plugin will make the JPEG/PNG encoding choice based on size for each level.

So just to clarify: do things as we have been doing them, but when image quality looks poor on one or more platforms, we should use mipmap!?  (exclamation point indicates plugin usage, not incredulity)

So just to clarify: do things as we have been doing them, but when image quality looks poor on one or more platforms, we should use mipmap!? (exclamation point indicates plugin usage, not incredulity)

Yes, in general. It will also be a download-size tradeoff between the current "include lower-resolution image only" and mipmap "include higher resolution image AND lower resolution copies".

Questions answered, closing (reopen if more questions/concerns appear).


Timeout fix metal virtual circuits

https://github.com/equinix/terraform-provider-equinix/issues/357

Codecov Report
Patch coverage: 82.35% and project coverage change: -0.13% :warning:

Comparison is base (85d2818) 59.88% compared to head (46b8e66) 59.76%.
Report is 10 commits behind head on main.

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #380      +/-   ##
==========================================
- Coverage   59.88%   59.76%   -0.13%
==========================================
  Files          98       98
  Lines       19750    19750
==========================================
- Hits        11828    11803      -25
- Misses       7617     7645      +28
+ Partials      305      302       -3

Files Changed
Coverage Δ

equinix/resource_metal_virtual_circuit.go
76.57% <76.92%> (ø)

equinix/config.go
63.29% <100.00%> (+1.59%)
:arrow_up:

equinix/data_source_metal_virtual_circuit.go
100.00% <100.00%> (ø)

equinix/fabric_cloud_router_schema.go
100.00% <100.00%> (ø)

... and 5 files with indirect coverage changes

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

@aayushrangwala could you add a Conventional Commits tag to the PR title?  Tags are described in the comment above.  For this I think fix: would make sense but a different one might work.

@aayushrangwala could you add a Conventional Commits tag to the PR title? Tags are described in the comment above. For this I think fix: would make sense but a different one might work.

yes added fix for all the related PRs


Laravel 6.0

We need 6.0 support

I think this package is abandoned!

Yea me too, so I decided to remove this package from my API and rebuild the exceptions logic by myself... This -> https://culttt.com/2015/08/10/dealing-with-exceptions-in-a-laravel-api-application/ helped a lot.
Best regards

Check 2.0.0


refactor(idt): weak exception/interrupt symbols

Changed all our standard entry points for exceptions and interrupts
into weak symbols so that application/library code can overide
them.  These are the symbols that can now be over ridden can
be found in idt.h

@BetsyRT r+

@BetsyRT r+

:pushpin: Commit fa1dbc0 has been approved by handong32

:hourglass: Testing commit fa1dbc0 with merge 25b97cc...

:sunny: Test successful - runtests
Approved by: handong32
Pushing 25b97cc52a46cdd0c895cac854c3795100c4c5ac to master...


⚠ Bofrost.at has degraded performance

In 00be82c, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 2518 ms

Resolved: Bofrost.at performance has improved in dcbe5d0 after 1 hour, 56 minutes.


Update narrow-conduits.md

Changed "As stated in our announcemnt" to "As stated in our announcement" fixing typo in "announcemnt"

It threw an error and then when I tried again it said I had already signed
it
On Thu, Nov 28, 2024, 12:29 PM salesforce-cla[bot] @.***>
wrote:

Thanks for the contribution! Before we can merge this, we need
@JimCollinsDC https://github.com/JimCollinsDC to sign the Salesforce
Inc. Contributor License Agreement
https://cla.salesforce.com/sign-cla?prUrl=https%3A%2F%2Fgithub.com%2Fheroku%2F12factor%2Fpull%2F373
.
—
Reply to this email directly, view it on GitHub
https://github.com/heroku/12factor/pull/373#issuecomment-2506556388, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AD4ZWF7SZ36S7PTXZYCPK7L2C5HF5AVCNFSM6AAAAABSVS4VFKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDKMBWGU2TMMZYHA
.
You are receiving this because you were mentioned.Message ID:
@.***>


[Bug] Cannot read property 'nodeType' of null

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Chrome on different platforms (Win10, MacOS)
TypeError: Cannot read property 'nodeType' of null
    at e.exports (https://cvat.org/cvat-ui.215f5569aef9e961668b.min.js:353:37896)
    at https://cvat.org/cvat-ui.215f5569aef9e961668b.min.js:353:1112765

Expected Behaviour

Current Behaviour
Possible Solution

Steps to Reproduce (for bugs)

N/A
Context

Your Environment

Git hash commit (git log -1): 70e89d6f83d49b4109ebd316403ab4e54a3e13f9
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

Next steps
You may join our Gitter channel for community support.

Latest appeared on November 3rd in our dependencies. Probably was fixed.


Change serialization crate

First, thanks for writing this crate! I tried it after being disappointed with the get object performance in rusoto, and your implementation is significantly faster*.
Is your feature request related to a problem? Please describe.
Listing objects does not work against at least one non-AWS S3 implementation that I tested. rust-s3 fails to deserialize the results because the response XML contained Contents elements interleaved with CommonPrefixes elements. This is valid XML, however, it is not supported by serde.
rusoto supports this format through its own custom deserializer that you can see in this file, search for "impl ListObjectsV2OutputDeserializer".
Describe the solution you'd like
I fiddled around with it for a while, and was eventually able to get it to work by changing the serialization library to yaserde, a serde fork that specializes in XML.
I am happy to submit a PR using yaserde, but I'm not going to waste my time if there is no interest in changing crates. I understand that is likely not an issue when interacting with AWS S3, and is therefore unlikely to be very high priority.
Describe alternatives you've considered
I also tried using quick-xml integrated with serde, but it doesn't work either because the limitation is in the core serde crate.
[Edit] *Turns out the performance issues I noticed with rusoto are only present in debug builds. rusoto and rust-s3 perform similarly when rusoto is compiled as release.

@pwinckles Thank you for the feedback, it feels good to provide value to folks :)
As for changing the crate, I'm not at all opposed. Its been a while since any work went into serialisation, and if another crate works better that is great. That goes double if you're interested in PRing the feature.
I'd suggest starting with the minimum change needed and putting it behind a feature flag. This would allow folks to opt out of an extra dependency if they're otherwise heavily invested into serde.

@durch Cool, I'll put a PR together sometime this week using a feature flag.
There is a slight catch that you may be less excited about. yaserde does not presently support fields defined as Option<Vec<..>>, which is how common_prefixes is defined. The recommendation is to simply define the field as Vec<..>. I had to change the common_prefixes definition to get it to work. Leaving off the Option makes sense to me, but it would be a breaking change to your API.

No worries, it is what it is, as long as its behind a feature flag we should be good :)

@durch Sorry, I'm going to back out of doing this now. I was able to get the performance issues with Rusoto resolved, so I'm just going to use it because it's the path of least resistance.
Feel free to close this issue. I doubt anyone else cares because I suspect that AWS doesn't return interleaved results.

No worries, I'll look into it, while it is a niche need no reason for it no to be served :)

Okay, then to save you a little time because yaserde's documentation is lacking, here's what my ListBucketResult looks like:
/// The parsed result of a s3 bucket listing
#[derive(Deserialize, YaDeserialize, Debug, Clone)]
#[yaserde(root = "ListBucketResult", prefix = "s3", namespace = "s3: http://s3.amazonaws.com/doc/2006-03-01/")]
pub struct ListBucketResult {
    #[serde(rename = "Name")]
    #[yaserde(prefix = "s3", rename = "Name")]
    /// Name of the bucket.
    pub name: String,
    #[serde(rename = "NextMarker")]
    #[yaserde(prefix = "s3", rename = "NextMarker")]
    /// When the response is truncated (that is, the IsTruncated element value in the response
    /// is true), you can use the key name in this field as a marker in the subsequent request
    /// to get next set of objects. Amazon S3 lists objects in UTF-8 character encoding in
    /// lexicographical order.
    pub next_marker: Option<String>,
    #[serde(rename = "Delimiter")]
    #[yaserde(prefix = "s3", rename = "Delimiter")]
    /// A delimiter is a character you use to group keys.
    pub delimiter: Option<String>,
    #[serde(rename = "MaxKeys")]
    #[yaserde(prefix = "s3", rename = "MaxKeys")]
    /// Sets the maximum number of keys returned in the response body.
    pub max_keys: i32,
    #[serde(rename = "Prefix")]
    #[yaserde(prefix = "s3", rename = "Prefix")]
    /// Limits the response to keys that begin with the specified prefix.
    pub prefix: String,
    #[serde(rename = "Marker")]
    #[yaserde(prefix = "s3", rename = "Marker")]
    /// Indicates where in the bucket listing begins. Marker is included in the response if
    /// it was sent with the request.
    pub marker: Option<String>,
    #[serde(rename = "EncodingType")]
    #[yaserde(prefix = "s3", rename = "EncodingType")]
    /// Specifies the encoding method to used
    pub encoding_type: Option<String>,
    #[serde(rename = "IsTruncated", deserialize_with = "super::deserializer::bool_deserializer")]
    #[yaserde(prefix = "s3", rename = "IsTruncated")]
    ///  Specifies whether (true) or not (false) all of the results were returned.
    ///  If the number of results exceeds that specified by MaxKeys, all of the results
    ///  might not be returned.
    pub is_truncated: bool,
    #[serde(rename = "NextContinuationToken", default)]
    #[yaserde(prefix = "s3", rename = "NextContinuationToken")]
    pub next_continuation_token: Option<String>,
    #[serde(rename = "Contents", default)]
    #[yaserde(prefix = "s3", rename = "Contents")]
    /// Metadata about each object returned.
    pub contents: Vec<Object>,
    #[serde(rename = "CommonPrefixes", default)]
    #[yaserde(prefix = "s3", rename = "CommonPrefixes")]
    /// All of the keys rolled up into a common prefix count as a single return when
    /// calculating the number of returns.
    pub common_prefixes: Vec<CommonPrefix>,
}

As far as I could tell, every element must have its namespace explicitly defined, and every struct must be annotated with #[yaserde(prefix = "s3", namespace = "s3: http://s3.amazonaws.com/doc/2006-03-01/")]. I was unable to find a way to default it.

@pwinckles could you please check if we're still seeing issues in 0.33, there have been some improvements to the deserialisation crate

@durch Unfortunately, I am not able to verify the behavior at this time. I am no longer working for the organization that was using the non-AWS S3 implementation that was returning the interleaved elements. Sorry!

@pwinckles no worries, thank you :), will close this for now


Change signature of map to (List a -> List b) -> PaginatedList a -> PaginatedList b

This would be more compliant with how List.map works. For example, take a PaginatedList of Person and map it to a PaginatedList of String (name)
Should also do this for Paginate.Custom.map

I realize this is a very late response (I probably responded in person when this was asked), but for others who find this issue, I'll respond now and close this.
This is a common question, since most people are used to map as a function that applies to List, but map is actually a generic concept that simply "lifts" the provided function "over" the outer structure to operate on the value "wrapped" within.
In other words, use PaginatedList.map to get "through" the PaginatedList  type, so that your function can work on the List inside it.  (The same concept applies to Paginate.Custom).
Consider this: Let's say I want to do some filtering or sorting instead of mapping.  If I changed map to work as suggested, I would need to add a filter and sort as well.  Ultimately, I'd be recreating the List api, which is not the point of PaginatedList.  With Paginated.Custom this becomes even more apparent - since I don't know what the data structure is inside, I actually cannot provide the api for manipulating it.
Instead, the designed usage is to use PaginatedList.map with a function that applies to a List.  For example:
names = PaginatedList.map (List.map .name) paginatedPeople

For those of you familiar with the Law of Functors, the code below is equivalent to the code above, and perhaps is more expressive of the intent to "jump over both the Paginated type and the List type, to apply this function to the value(s) inside):
names = (PaginatedList.map >> List.map) .name paginatedPeople

See the README for similar examples on how the same technique applies to filter, sort, cons etc.

Hi @jschomay! Sorry I have to bring up this conversation again after all this time. I believe the original poster meant changing type signature from:
map : (List a -> List a) -> PaginatedList a -> PaginatedList a to
map : (List a -> List b) -> PaginatedList a -> PaginatedList b.
The example you mentioned above (names = PaginatedList.map (List.map .name) paginatedPeople) would not compile with the current definition of map, since it does not allow to change the type of value within a list. Does it make sense?
This suggestion, if applied, would keep the current use-cases possible, but would also allow a class of use-cases that are currently not supported. The API is great and expressive otherwise, I agree that it's a rational alternative to having to recreate the List API. Thanks for the great work!

Hi @kalawr.  I'm glad this package is still useful and still being used!  Thanks for reaching out.  I do see now that my example causes a compile error, and should be changed.  I'd be happy to accept a pull request.
In the meantime, I think everything works fine if you treat Paginate.map as a tool for sorting and filtering the wrapped list, but not changing the items in the list, then when you call Paginate.page you can map the items inside as you need:
names = myPaginatedPeopleList |> Paginate.map filterOnlyAdmins |> Paginate.page |> List.map .name

Hey Jeff! Thanks for the reply! This is nice workaround to the limitation. I tried changing the type signatures of Paginate.map and Paginate.Custom.map, but this seems to require bumping the package to a new major version (4.0.0). Not sure if something as minor as this is worth the hassle 😄

If you have a PR I think I can handle the bumping (it's been a long time
since I've done this, but I think it will still work).
On Sun, Jan 9, 2022 at 5:25 AM Illia Kalaur @.***>
wrote:

Hey Jeff! Thanks for the reply! This is nice workaround to the limitation.
I tried changing the type signatures of Paginate.map and
Paginate.Custom.map, but this seems to require bumping the package to a
new major version (4.0.0). Not sure if something as minor as this is worth
the hassle 😄
—
Reply to this email directly, view it on GitHub
https://github.com/jschomay/elm-paginate/issues/5#issuecomment-1008287931,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAN5VU3PV4NKK5J6PE3HECTUVF5CVANCNFSM4DHFEKYQ
.
Triage notifications on the go with GitHub Mobile for iOS
https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675
or Android
https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you were mentioned.Message ID:
@.***>


OAuth2 Filter ClientCredentials - authorization rejected

Describe the bug
I'm using OAuth2 Filter with the grantType as ClientCredentials. Azure AD is the IDP.
Filter and FilterPolicy config.
apiVersion: getambassador.io/v2
kind: Filter
metadata:
  name: azure-ad-clientcred
spec:
  OAuth2:
    grantType: ClientCredentials
    clientAuthentication:
      method: HeaderPassword
    authorizationURL: https://login.microsoftonline.com/*************/v2.0

apiVersion: getambassador.io/v2
kind: FilterPolicy
metadata:
  name: azure-ad-clientcred-policy
spec:
  rules:
    - host: "*"
      path: /backend*
      filters:
        - name: azure-ad-clientcred
          arguments:
            scope:
              - "offline_access"

When I try to access the url /backend with headers X-Ambassador-Client-ID and X-Ambassador-Client-Secret I'm getting the following response.
{
    "message": "authorization rejected",
    "status_code": 403,
    "synthesized_upstream_response": {
        "StatusCode": 401,
        "Header": {
            "Content-Type": [
                "application/json"
            ],
            "Www-Authenticate": [
                "Bearer error=invalid_token, error_description=\"Token validation error: token is invalid: errorFlags=0x00000004=(ValidationErrorSignatureInvalid) wrappedError=(crypto/rsa: verification error)\", realm=\"azure-ad-clientcred.default\""
            ]
        },
        "Body": "{\n\t\"message\": \"Token validation error: token is invalid: errorFlags=0x00000004=(ValidationErrorSignatureInvalid) wrappedError=(crypto/rsa: verification error)\",\n\t\"status_code\": 401\n}"
    }
}

Ambassador logs:
[2020-11-16 15:34:23.157][121][debug][http] [source/common/http/conn_manager_impl.cc:808] [C528][S6732224083737658266] request headers complete (end_stream=true):
':authority', 'localhost'
':path', '/backend'
':method', 'GET'
'x-ambassador-client-id', '*********'
'x-ambassador-client-secret', '*********'
'user-agent', 'PostmanRuntime/7.26.5'
'accept', '*/*'
'cache-control', 'no-cache'
'postman-token', 'c09d68cb-12be-460c-b718-7984cf484dc5'
'accept-encoding', 'gzip, deflate, br'
'connection', 'keep-alive'

[2020-11-16 15:34:23.157][121][debug][http] [source/common/http/conn_manager_impl.cc:1377] [C528][S6732224083737658266] request end stream
[2020-11-16 15:34:23.158][121][debug][router] [source/common/router/router.cc:426] [C0][S9972870606897441401] cluster 'cluster_extauth_127_0_0_1_8500_ambassador' match for URL '/envoy.service.auth.v2alpha.Authorization/Check'
[2020-11-16 15:34:23.158][121][debug][router] [source/common/router/router.cc:583] [C0][S9972870606897441401] router decoding headers:
':method', 'POST'
':path', '/envoy.service.auth.v2alpha.Authorization/Check'
':authority', 'cluster_extauth_127_0_0_1_8500_ambassador'
':scheme', 'http'
'te', 'trailers'
'grpc-timeout', '5000m'
'content-type', 'application/grpc'
'x-envoy-internal', 'true'
'x-forwarded-for', '<IP_ADDRESS>'
'x-envoy-expected-rq-timeout-ms', '5000'

[2020-11-16 15:34:23.158][121][debug][pool] [source/common/conn_pool/conn_pool_base.cc:121] [C374] using existing connection
[2020-11-16 15:34:23.158][121][debug][pool] [source/common/conn_pool/conn_pool_base.cc:73] [C374] creating stream
[2020-11-16 15:34:23.158][121][debug][router] [source/common/router/upstream_request.cc:342] [C0][S9972870606897441401] pool ready
time="2020-11-16T15:34:23Z" level=info msg="HTTP CLIENT: CACHE: \"GET\" \"https://login.microsoftonline.com/6162a4ba-2eb6-4491-a02b-7b17f64dd32e/v2.0/.well-known/openid-configuration\"" FILTER=azure-ad-clientcred.default REQUEST_ID=6732224083737658266 SUB=http-server/handler
time="2020-11-16T15:34:23Z" level=info msg="HTTP CLIENT: CACHE: \"GET\" \"https://login.microsoftonline.com/6162a4ba-2eb6-4491-a02b-7b17f64dd32e/discovery/v2.0/keys\"" FILTER=azure-ad-clientcred.default REQUEST_ID=6732224083737658266 SUB=http-server/handler
time="2020-11-16T15:34:23Z" level=info msg="HTTP 401 Token validation error: token is invalid: errorFlags=0x00000004=(ValidationErrorSignatureInvalid) wrappedError=(crypto/rsa: verification error)" FILTER=azure-ad-clientcred.default REQUEST_ID=6732224083737658266 SUB=http-server/handler
time="2020-11-16T15:34:23Z" level=info msg="HTTP 403 authorization rejected\ngithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler/client/clientcommon.HandleAuthenticatedProxyRequest\n\tgithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler/client/clientcommon/common.go:137\ngithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler/client/client_credentials_client.(*OAuth2Client).handleAuthenticatedProxyRequest\n\tgithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler/client/client_credentials_client/client.go:165\ngithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler/client/client_credentials_client.(*OAuth2Client).Filter\n\tgithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler/client/client_credentials_client/client.go:138\ngithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler.(*OAuth2Filter).Filter\n\tgithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/oauth2handler/oauth2handler.go:163\ngithub.com/datawire/apro/cmd/amb-sidecar/filters/handler.(*FilterMux).runFilterRef\n\tgithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/handler.go:340\ngithub.com/datawire/apro/cmd/amb-sidecar/filters/handler.(*FilterMux).runFilterRefs\n\tgithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/handler.go:281\ngithub.com/datawire/apro/cmd/amb-sidecar/filters/handler.(*FilterMux).Filter\n\tgithub.com/datawire/apro/cmd/amb-sidecar/filters/handler/handler.go:154\ngithub.com/datawire/apro/lib/filterapi.authorizationService.Check\n\tgithub.com/datawire/apro/lib/filterapi/filterapi.go:37\ngithub.com/datawire/ambassador/pkg/api/envoy/service/auth/v2alpha._Authorization_Check_Handler\n\tgithub.com/datawire/ambassador@v1.0.0-local-vendored-copy/pkg/api/envoy/service/auth/v2alpha/external_auth.pb.go:153\ngoogle.golang.org/grpc.(*Server).processUnaryRPC\n\tgoogle.golang.org/grpc@v1.29.1/server.go:1082\ngoogle.golang.org/grpc.(*Server).handleStream\n\tgoogle.golang.org/grpc@v1.29.1/server.go:1405\ngoogle.golang.org/grpc.(*Server).serveStreams.func1.1\n\tgoogle.golang.org/grpc@v1.29.1/server.go:746\nruntime.goexit\n\truntime/asm_amd64.s:1374" FILTER=azure-ad-clientcred.default REQUEST_ID=6732224083737658266 SUB=http-server/handler
[2020-11-16 15:34:23.169][121][debug][router] [source/common/router/router.cc:1153] [C0][S9972870606897441401] upstream headers complete: end_stream=false
[2020-11-16 15:34:23.169][121][debug][http] [source/common/http/async_client_impl.cc:99] async http request response headers (end_stream=false):
':status', '200'
'content-type', 'application/grpc'
'trailer', 'Grpc-Status'
'trailer', 'Grpc-Message'
'trailer', 'Grpc-Status-Details-Bin'
'x-envoy-upstream-service-time', '11'

[2020-11-16 15:34:23.169][121][debug][client] [source/common/http/codec_client.cc:105] [C374] response complete
[2020-11-16 15:34:23.169][121][debug][pool] [source/common/conn_pool/conn_pool_base.cc:98] [C374] destroying stream: 0 remaining
[2020-11-16 15:34:23.169][121][debug][http] [source/common/http/async_client_impl.cc:125] async http request response trailers:
'grpc-status', '0'

[2020-11-16 15:34:23.169][121][debug][http] [source/common/http/conn_manager_impl.cc:1520] [C528][S6732224083737658266] Sending local reply with details ext_authz_denied
[2020-11-16 15:34:23.170][121][debug][http] [source/common/http/conn_manager_impl.cc:1777] [C528][S6732224083737658266] encoding headers via codec (end_stream=false):
':status', '403'
'content-length', '666'
'content-type', 'application/json'
'date', 'Mon, 16 Nov 2020 15:34:23 GMT'
'server', 'envoy'

[2020-11-16 15:34:23.170][121][debug][http2] [source/common/http/http2/codec_impl.cc:862] [C374] stream closed: 0

Versions (please complete the following information):

Ambassador: 1.9.0
Kubernetes environment: Docker Desktop
Version: 1.18.8

The issue is resolved when I updated the scope. But the error message is misleading.

I've looked in to this; it seems to be an Azure bug: Depending on the scope requested, Azure just sometimes uses broken crypto when signing their JWT.  Then, rightly, Ambassador spits out an error saying that the signature doesn't check out.
As an example of what I observed when testing:
Azure gave m/Ambassadore the following Token:
eyJ0eXAiOiJKV1QiLCJub25jZSI6Ik1BZlJkM0pTRVhiSVl2clJHMWhKdWdfVmF2eDJtZlZXUkRwNzNKamlsbEkiLCJhbGciOiJSUzI1NiIsIng1dCI6ImtnMkxZczJUMENUaklmajRydDZKSXluZW4zOCIsImtpZCI6ImtnMkxZczJUMENUaklmajRydDZKSXluZW4zOCJ9.eyJhdWQiOiJodHRwczovL2dyYXBoLm1pY3Jvc29mdC5jb20iLCJpc3MiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC84NTM4ZDdkMC05YjAzLTQwYzktYjcyZi0zNzhiNDRlZDk3ZTIvIiwiaWF0IjoxNjAzNzM2NTU2LCJuYmYiOjE2MDM3MzY1NTYsImV4cCI6MTYwMzc0MDQ1NiwiYWlvIjoiRTJSZ1lHRDdFeEhzNUtHajk5YjhYek9MMSs4SUFBPT0iLCJhcHBfZGlzcGxheW5hbWUiOiJBUHJvIHRlc3QgYXBwIiwiYXBwaWQiOiIzZTFjZTFlMS0wOTRkLTRmZjUtYmFlZC01YmE5OWUzMmY4MDkiLCJhcHBpZGFjciI6IjIiLCJpZHAiOiJodHRwczovL3N0cy53aW5kb3dzLm5ldC84NTM4ZDdkMC05YjAzLTQwYzktYjcyZi0zNzhiNDRlZDk3ZTIvIiwiaWR0eXAiOiJhcHAiLCJvaWQiOiI2M2NlMTYyMi0yYmM3LTQxZWUtOWNhOS02NzNlMzgzYmUyZGMiLCJyaCI6IjAuQVRjQTBOYzRoUU9ieVVDM0x6ZUxSTzJYNHVIaEhENU5DZlZQdXUxYnFaNHktQWszQUFBLiIsInN1YiI6IjYzY2UxNjIyLTJiYzctNDFlZS05Y2E5LTY3M2UzODNiZTJkYyIsInRlbmFudF9yZWdpb25fc2NvcGUiOiJOQSIsInRpZCI6Ijg1MzhkN2QwLTliMDMtNDBjOS1iNzJmLTM3OGI0NGVkOTdlMiIsInV0aSI6Im9jQXppYVBlLVUyOGJNMnpYWDIxQUEiLCJ2ZXIiOiIxLjAiLCJ4bXNfdGNkdCI6MTU2MDI3NTM4Mn0.BmwJ-WjY2MSbWUFBbIbaMbcv07b9sn8L-uQq0eDSWuWL2EM5-drCDN1qE74IUPtMNoypLV5gpvx7e0mTrt-JOcQY3b8H7lIzdPB5-C6_5MWdkjZm29TzBWNmLjXBRDCIsdh4jCgion5WpfQ4zwAPqA_kyMoTxnibSQtPXk6u-PxgeMuTezEuZf_356wfXEceuJEt4FVTEDT4JiD2RPWHunAhBU_XioU8GZVPcQTRlAlgr_xZTAGeVsi0c6rOVnkWRBJOszh3Yc1w0N7JsO9BrKurfDpsLQGXSaEweeTJ4SGQqBAX3EvbNJY8xv1oaL7W4gUdSqO0JTjvICRcGLBQPA

The header decodes to
{
  "typ": "JWT",
  "nonce": "MAfRd3JSEXbIYvrRG1hJug_Vavx2mfVWRDp73JjillI",
  "alg": "RS256",
  "x5t": "kg2LYs2T0CTjIfj4rt6JIynen38",
  "kid": "kg2LYs2T0CTjIfj4rt6JIynen38"
}

So, given a JWKS, the JWT given provides 2 methods for choosing the correct public key from the JWKS: the "x5t" thumbprint of an x509 certificate that includes the key, or the arbitrary "kid" key id. And my Ambassador is using this JWKS https://login.microsoftonline.com/8538d7d0-9b03-40c9-b72f-378b44ed97e2/discovery/v2.0/keys
and whadayaknow, it has a x509 certificate in it with kg2LYs2T0CTjIfj4rt6JIynen38 as both the thumbprint and the key id
So that's the right certificate!  But the JWT fails to validate with the RSA key in the certificate.
It's hard to have good error messages for crypto things, it's hard to get something beyond validation "didn't check out". I expect that you didn't see this when not using ClientCredentials, that's because in default AuthorizationCode mode it falls back to OIDC userinfo validation (but it can't do that for ClientCredentials).

I am also receiving error 403, when applied authservice in emissary and I am using on-prem servers. Without auth Service, every mapping is working fine.

Closing as original issue appears to be resolved. @dhiraj-bansal43 please open a separate issue if the problem you mentioned persists on 2.x.


Patch Page: "Freeze" top of page

I'm not too big on HTML, so I'm not sure about the proper terminology.
It would be cool if on the patch page (could also work well on other pages ) the top area could be "frozen". By this I mean that the area remains visible even if you scroll down.
This way you don't have to scroll to the top to stage or refresh.

Thoughts?

Indeed that would be nice. The term is "sticky". There's a way to do it with CSS but it works only with newer browsers. I don't think it works with IE11 control of SAPGUI. It should with 770 and the Chrome control. Not sure about Java or web GUI.
It might also need a bit of restructuring the HTML, so we get a DIV at the top that we can make sticky.


[Request] Compatibility with Compose

Opening this ticket just to track progress! I'd like to use Compose for my GUI in Desktop and Mobile, and I was hoping it could be laid out on top of a libgdx surface.

libgdx is open source, as is compose, so just do it. I would suggest you to create it as 3rd party extension lib because this is beyond the scope of this framework and out of the wanted scope for the typical games.


Silence removal of blank lines in man.vim (1 line less)

Steps to reproduce
:so $VIMRUNTIME/ftplugin/man.vim
:Man vim

Results in
1 line less
1 line less

in command / messages. Having cmdheight=1 this is disruptive.
This can be fixed by changing 1delete _ to silent 1delete _:
https://github.com/vim/vim/blob/8ceb99001b52d0c642e7532763ec9d8217ee86e3/runtime/autoload/dist/man.vim#L204-L207
And for the adjoining  lines:
https://github.com/vim/vim/blob/8ceb99001b52d0c642e7532763ec9d8217ee86e3/runtime/autoload/dist/man.vim#L208-L210
So in short:
  " Remove blank lines from top and bottom.
  while line('$') > 1 && getline(1) =~ '^\s*$'
    silent 1delete _
  endwhile
  while line('$') > 1 && getline('$') =~ '^\s*$'
    silent  $delete _
  endwhile

Expected behaviour
No noise
Version of Vim
9.0 1-2010
Environment
Linux
Logs and stack traces
line 103:   " Remove blank lines from top and bottom.
line 104:   while line('$') > 1 && getline(1) =~ '^\s*$'
line 105:     1delete _
                       1 line less
line 106:   endwhile
line 104:   while line('$') > 1 && getline(1) =~ '^\s*$'
line 105:     1delete _
1 line less
line 106:   endwhile

4.589537470 : Got size with TIOCGWINSZ: 128 x 65
4.589640689 : executing shell command: (env -u MANPAGER GROFF_NO_SGR=1 man 'vim')>/tmp/vKeKO9U/5 2>&1
4.589657164 : raw terminal output: "[>4;m"
4.590194318 : closing channel log in the child process
4.590217057 : closing logfile log03.1
4.636251401 : raw terminal output: "[>4;m[>4;2m[>4;2m"
4.636280093 : raw terminal output: ""
4.636322631 : raw terminal output: "]2;[No Name]                                                                    ( [No Name])"
4.636329524 : Got size with TIOCGWINSZ: 128 x 65
4.636674684 : raw terminal output: "1 line less"
4.640496727 : raw terminal output: "
1 line less
Press ENTER or type command to continue"
4.640503113 : looking for messages on channels

@goweol at least. Can not find Jason Franklin in the at list.

I assume this falls under «Syntax, indent and other runtime files»:
https://github.com/vim/vim/blob/a40e1687e757ea4aa41e84006c739f575db75703/CONTRIBUTING.md#syntax-indent-and-other-runtime-files
I could make a PR on this as it is a a five-finger exercise, but from the CONTRIBUTING section I read it as one should strive for maintainers to do the change. I am also a tad on the fence as to if the proposed change could be incompatible or bring forth any other issue for what ever reason, though I do not see how it could or should.

yes exactly, it should go through the maintainer if possible


Transfer alerts to the Developer Experience team notification channels

Summary
If something goes wrong, we'll need to make sure the Developer Experience team is notified to take a look at any issues.

This has now been completed


Minor wording/typo fixes for DdevIntegrationBundle.properties, for #48

Minor wording/typo fixes for DdevIntegrationBundle.properties, for #48

Thank you, merged!


[Bug] Image not updated in kustomize for v5.4.0

Describe the bug
Not sure if I miss something, but it looks like the image version was not updated in the kustomize release with v5.4.0.
Version
v5.4.0
To Reproduce

Install the operator version v5.4.0 using kustomize.
Inspect the operator deployment
See that the image is ghcr.io/grafana-operator/grafana-operator:v5.3.0

Expected behavior
v5.4.0 is using the v5.4.0 image version.
Suspect component/Location where the bug might be occurring
https://github.com/grafana-operator/grafana-operator/blob/6be5c9b352131af02d24a10ef65419552dfbf5f9/deploy/kustomize/base/deployment.yaml#L25
Runtime (please complete the following information):

OS: Linux
Grafana Operator Version v5.4.0
Environment: Kubernetes v1.25
Deployment type: deployed
Other: n/a

Thanks for pointing this out @iben12 , this is apparently something that I missed while preparing for the new release.
Sadly, it's kind of hard to fix without having to force push some stuff and I don't want to do that.
As a workaround, please use kustomize to overwrite the image version and we will try to cut a new release as quick as possible.

@iben12
will be fixed once the following to PRs get merged, thanks for reporting!
https://github.com/k8s-operatorhub/community-operators/pull/3200
https://github.com/redhat-openshift-ecosystem/community-operators-prod/pull/3243

This should now be fixed in the release of 5.4.1


fsext solaris/illumos build fix

Looks great but would it be possible to add a github action task to make sure we don't regress? thanks

thanks for the CI, it fails with:
E: Unable to locate package gar

ah I m not sure it s a fixable problem as such.
While other oses run under their own respective proper environments, github workflow does not support illumos image. gar stands for GNU ar which exists indeed under illumos. Plus it requires to pull numerous illumos libraries.

OK, let's just remove the CI patch then
I will just take the patch and wait for new PR if it breaks :)


celling 4  Moonlight Pro (Jiaoyue 650) light temperature adjustment not  working with last update

After the last update, the light temperature adjustment stopped working. Please fix it
celling 4  Moonlight Pro (Jiaoyue 650)

Same goes for Arwen 550S Ceiling Light, it's being detected as 450S Ceiling Light


Error when loanding models from cobra

Maximum growth: 34.14842956394264.
WARNING:root:  Removing reaction bounds when larger than the cobra-threshold of 1000.
C:\Users\cjrodriguezf\Documents\CNAPY\CNApy\miniconda\envs\cnapy-1.1.8\lib\site-packages\cobra\core\group.py:147: UserWarning: need to pass in a list
warn("need to pass in a list")
Traceback (most recent call last):
File "c:/Users/cjrodriguezf/Documents/cobrapy/GMCS.py/strain_design_benchmarking", line 21, in
sols = sd.compute_strain_designs(ecc, sd_modules = module_suppress, solution_approach = 'populate', gene_kos = True, max_cost = 3)
File "C:\Users\cjrodriguezf\Documents\CNAPY\CNApy\miniconda\envs\cnapy-1.1.8\lib\site-packages\straindesign\compute_strain_designs.py", line 349, in compute_strain_designs
cmp_mapReac = compress_model(cmp_model, no_par_compress_reacs)
File "C:\Users\cjrodriguezf\Documents\CNAPY\CNApy\miniconda\envs\cnapy-1.1.8\lib\site-packages\straindesign\networktools.py", line 381, in compress_model
stoichmat_coeff2rational(model)
File "C:\Users\cjrodriguezf\Documents\CNAPY\CNApy\miniconda\envs\cnapy-1.1.8\lib\site-packages\straindesign\networktools.py", line 828, in stoichmat_coeff2rational
raise TypeError
TypeError

Could it be that I am loading the model from .mat, I do not encounter the error when loading from SBML

Hi and thanks for submitting the issue. Found the issue and fixed it.
The function "stoichmat_coeff2rational" converts all entries of the stoichiometric matrix into rational numbers, which is necessary for conserving exact stoichiometries throughout compression. The entries of the stoichimetric matrix are usually sympy-float point or integer values. When cobrapy loads a MATLAB model, it assigns numpy-floats as entries of the stoichiometric matrix instead. A case that wasn't captured by straindesign yet.
I will push this into a new release right away. You can update to 1.10 as soon as it is online and should get the fix.


List View Date Format - Wrong?

I have a List View to show news on the landing page of a web site.  The date here appears as:

However, in the preview for the view, I get:

The actual format specified in the view is:

The preview is correct.  I don't know what is going on with the Moment.js formatting when the view is displayed in a list.
This is Saltcorn 0.9.1-beta.7.

Try to use format dddd, MMMM D\o YYYY.

Adding the backslash changes the output to:

hi @sduensin okay it's a little bit more complicated than what the documentation displays. On the server side, it is rendered with moment. But on the client side moment is not always loaded, and we render with a much smaller library day.js which does not support Do: https://day.js.org/docs/en/display/format
The reason for this is that on the server side we don't know the time zone that the browsers is in.
I will update the documentation string.

Instead of doing that I added the advanced formatting plugin so in the next release Do should work in the format string


feat: Add StreamState interface and implement it for the adapters

This PR solves #45.
Other changes:

Change backpressure strategy to drop instead of unbounded buffer

Tested these changes. v1.1.0 will be released soon.
Hopefully, these will be some of the final changes before work on multiplatform starts.


Unable to enable encryption at host

I am getting the following error when trying to create a DSv2 VMSS in West Europe with encryption at host enabled:
The property 'securityProfile.encryptionAtHost' is not valid because the 'Microsoft.Compute/EncryptionAtHost' feature is not enabled for this subscription.

Registering the feature doesn't work either:
PS> Register-AzProviderFeature -ProviderNamespace Microsoft.Compute -FeatureName EncryptionAtHost

Register-AzProviderFeature : The feature 'EncryptionAtHost' does not support registration.
At line:1 char:1
+ Register-AzProviderFeature -ProviderNamespace Microsoft.Compute -Feat ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : CloseError: (:) [Register-AzProviderFeature], CloudException
    + FullyQualifiedErrorId : Microsoft.Azure.Commands.ResourceManager.Cmdlets.Implementation.RegisterAzureProviderFeatureCmdlet

Is this feature actually supported in West Europe?

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: ade067f1-3f3e-73de-0321-bb8d07147cd3
Version Independent ID: e8dc38c4-0114-b7c2-887f-e1d2810206e8
Content: Server-side encryption of Azure managed disks - Azure Virtual Machines
Content Source: articles/virtual-machines/disk-encryption.md
Service: virtual-machines
Sub-service: disks
GitHub Login: @roygara
Microsoft Alias: rogarana

@LeroyK I believe this is caused by a bug in a previous version of the Az PowerShell module. Try checking and updating your the Azure PowerShell module to see if it resolves your issue.
https://docs.microsoft.com/en-us/powershell/azure/install-az-ps?view=azps-5.2.0#update-the-azure-powershell-module

@DerekHerman-MSFT that's a different issue. I am using the latest versions of Azure cli and the Az PowerShell module.
The error message is a response from the Azure management REST API. The following az cli command shows the actual json response:
az rest --verbose --method POST --url https://management.azure.com/subscriptions/<SUBSCRIPTION_ID>/providers/Microsoft.Features/providers/Microsoft.Compute/features/EncryptionAtHost/register?api-version=2015-12-01

Response status: 409
Response headers: (removed)
Response content:
{"error":{"code":"FeatureRegistrationUnsupported","message":"The feature 'EncryptionAtHost' does not support registration."}}

@LeroyK Apologies I was mistaken. This feature cannot currently be self enabled.
In order to be able to use encryption at host for your VMs or virtual machine scale sets, you must get the feature enabled on your subscription. Send an email to<EMAIL_ADDRESS>with your subscription Ids to get the feature enabled for your subscriptions.

Ah, I missed that, since it is on another page. It might be good to add a note to all pages that refer to encryption as host, indicating that this feature needs to be activated by sending an e-mail.
The current documentation is conflicting and therefore confusing. For example, the Host-based encryption on Azure Kubernetes Service (AKS) (preview) page also instructs us to activate it ourselves, which obviously doesn't work.
It would also help if the management API would return the e-mail instructions in the error message.

@LeroyK Thanks for the feedback. I have assigned the issue to the content author to investigate further and update the document(s) as appropriate.

@LeroyK Thanks for reaching out and bringing this to our attention. For the disk storage articles, we'll be leaving it structured the way it is. However for the AKS article, I've gone ahead and reached out to the relevant team. We'll work with them to update their instructions.
@DerekHerman-MSFT Can we shift this issue so that it points to the proper article, https://docs.microsoft.com/en-us/azure/aks/enable-host-encryption ?

@LeroyK Thanks for reaching out and bringing this to our attention. For the disk storage articles, we'll be leaving it structured the way it is. However for the AKS article, I've gone ahead and reached out to the relevant team. We'll work with them to update their instructions.
@DerekHerman-MSFT Can we shift this issue so that it points to the proper article, https://docs.microsoft.com/en-us/azure/aks/enable-host-encryption ?

We've gone ahead and updated the AKS article. So I'll go ahead and close this out.
@LeroyK Thanks for reaching out and making us aware of this so we can improve the documentation, we appreciate it! :)
#please-close

We've gone ahead and updated the AKS article. So I'll go ahead and close this out.
@LeroyK Thanks for reaching out and making us aware of this so we can improve the documentation, we appreciate it! :)
#please-close


[BUG] Players can't expand power items on sheet

Describe the bug
People with the Player role can't expand their discipline powers on their character sheet. They can send it to chat but can't just expand to view it.
To Reproduce

Be a player
Have a discipline power on your sheet
Click on the name to expand the power
Compare same attempt while having the GM role.

Expected behavior
Players should be able to see the text for their discipline powers without having to send it to the chat.

What version of Foundry and foundry-V5 are you using?

Ah, I was on V10 still with 2.0.2 now I'm on V11 and 2.0.2 and it's working


feat: support filter for api to get schema type.

1. Does this PR affect any open issues?(Y/N) and add issue references (e.g. "fix #123", "re #123".):

[x] N
[ ] Y

2. What is the scope of this PR (e.g. component or file name):

pkg/api/kpm_pkg.go
3. Provide a description of the PR(e.g. more details, effects, motivations or doc link):

[x] Affects user behaviors
[ ] Contains syntax changes
[ ] Contains variable changes
[ ] Contains experimental features
[ ] Performance regression: Consumes more CPU
[ ] Performance regression: Consumes more Memory
[ ] Other

4. Are there any breaking changes?(Y/N) and describe the breaking changes(e.g. more details, motivations or doc link):

[x] N
[ ] Y

5. Are there test cases for these changes?(Y/N) select and add more details, references or doc links:

[x] Unit test
[ ] Integration test
[ ] Benchmark (add benchmark stats below)
[ ] Manual test (add detailed scripts or steps below)
[ ] Other

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

39 of 42 (92.86%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.5%) to 42.556%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/api/kpm_pkg.go
39
42
92.86%

Totals

Change from base Build<PHONE_NUMBER>:
0.5%

Covered Lines:
1149

Relevant Lines:
2700

💛  - Coveralls


My first pull request - Ninavas submission

I did not finish because I coudn't get the CSS to update. I hope someone can help me figure out where I went wrong! Thanks

my code is contained within the expg.html and myScript.js


StatStore percentile optimization

The StatStore currently calculates percentiles by extracting all represented values before performing sorting. This can be further optimized by sorting the bucket values themselves and then attempting to find the corresponding percentiles .
For example, if only one bucket is stored at a StatStore with 60 resolutions total, then 60 values will be generated before sorting. Instead of that, we could only extract that one bucket's value and return the corresponding percentiles as equal to that bucket's value.
In cases with multiple buckets, we would have to iterate from the back of the sorted bucket slice until we find the  corresponding percentile index that we are aiming for.
\cc @mvdan @vishh

Thanks for opening this!

Obsolete.


cmac_usplus_1 module problem.

Hello,
I installed an alveo u50 card on each of the two servers. The programming cable has been cross-connected.
My enviroment is  below.
System Configuration
  OS Name              : Linux
  Release              : 5.15.0-91-generic
  Version              : #101~20.04.1-Ubuntu SMP Thu Nov 16 14:22:28 UTC 2023
  Machine              : x86_64
  CPU Cores            : 32
  Memory               : 128460 MB
  Distribution         : Ubuntu 20.04.6 LTS
  GLIBC                : 2.31
  Model                : X12DPi-N(T)6

XRT
  Version              : 2.13.466
  Branch               : 2022.1
  Hash                 : f5505e402c2ca1ffe45eb6d3a9399b23a0dc8776
  Hash Date            : 2022-04-14 17:43:11
  XOCL                 : unknown, unknown
  XCLMGMT              : unknown, unknown

Devices present
  0 devices found
BDF  :  Shell  Platform UUID  Device ID  Device Ready*

* Devices that are not ready will have reduced functionality when using XRT tools

I want to test the OPEN-NIC DPDK driver. This requires using two CMAC ports. So, I used the command below:
vivado -mode tcl -source build.tcl -tclargs -board au50 -jobs 32 -synth_ip 1 -impl 1 -post_impl 1 -num_phys_func 2 -num_cmac_port 2
However, it cannot find cmac_usplus1 module. I think this is because the cmac_usplus_1_au50.tcl file is missing. (https://github.com/Xilinx/open-nic-shell/tree/main/src/cmac_subsystem/vivado_ip)
I can make a bit stream if I use with num_cmac_port 1 argument.
How can I resolve this issue?
The result is

Thanks!

Hi @H0TSUN ,
Please double check that the Alveo U50 is what you are intending to use because I believe it has just a single (/ 1x100Gbps) port.
https://www.xilinx.com/publications/product-briefs/alveo-u50-product-brief-v2.pdf
Best regards,
--Chris

Hello, @cneely-amd! Thank you for your reply.
I am trying the documentation of the dpdk driver (https://github.com/Xilinx/open-nic-dpdk), which uses 2 cmac ports. So I misunderstood that all cards support two CMAC ports.


git log and git show fail on Windows with "No such file: /dev/null"

When using git show <commit-id> --ext-diff on Windows for commits that include creating a new file, an error is raised by difft indicating that it was called with /dev/null as an argument, despite that no such file exists on Windows:
git show HEAD --ext-diff
commit a77b7f947a73da887d2cc7692b17372d115a7961 (HEAD -> main, origin/main, origin/HEAD)
Author: ...
Date:   ...

No such file: /dev/null
fatal: external diff died, stopping at ...

Difftastic 0.28.0
Windows 11 22610.1

Interesting, thanks. I'm guessing that git calls the diff tool with /dev/null for new files, regardless of whether it's on a platform that has /dev/null as a valid path.

@Wilfred I'm still experiencing this in Difftastic 0.37.0.

Also happens to me, Windows 10, Difftastic 0.41.0. Unfortunately, this makes it impossible to use difftastic with git on Windows.

@OndrejNepozitek could you try setting RUST_LOG=info and running git again?
This should show what arguments difftastic is getting, e.g.
2023-01-15T23:13:10.838Z INFO  difft::options > CLI arguments: ["src/display/hunks.rs", "/tmp/git-blob-Lb98A6/hunks.rs", "08e25505d8b9373c6265a99a5b775e2dc4f4bf6c", "100644",

This should hopefully show the /dev/null string somewhere, but I'm guessing it's slightly different on Windows.

Hi, I found this issue yesterday and decided to try and fix it.
Example to reproduce this issue:
mkdir repo
cd repo
git init
git config diff.external difft
copy nul foo.txt
git add foo.txt
git diff --staged

Enable RUST_LOG:
set RUST_LOG=info

Output of git diff:
2023-02-01T16:26:03.783Z INFO  difft::options > CLI arguments: ["foo.txt", "/dev/null", ".", ".", "foo.txt", "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "100644"]
No such file: /dev/null
fatal: external diff died, stopping at foo.txt

If committing this change and then deleting the file with:
git commit -m Initial
del foo.txt

and then running git diff again, we get the following output:
2023-02-01T16:30:02.797Z INFO  difft::options > CLI arguments: ["foo.txt", "C:\\Users\\TESTUS~1\\AppData\\Local\\Temp/git-blob-a06828/foo.txt", "e69de29bb2d1d6434b8b29ae775ad8c2e48c5391", "100644", "/dev/null", ".", "."]
No such file: /dev/null
fatal: external diff died, stopping at foo.txt

The behavior of /dev/null is documented here:

The file parameters can point at the user’s working file (e.g. new-file in "git-diff-files"), /dev/null (e.g. old-file when a new file is added), or a temporary file (e.g. old-file in the index).

I got it working on my machine, just have to prepare a pull request :)


Datasource creation problems

I'm submitting a ...  (check one with "x")
[x] bug report => search github for a similar issue or PR before submitting
[ ] feature request

Current behavior

The datasource cannot be created from Properties section in the console.
Expected behavior

The property section allows to create datasource
Minimal reproduction of the problem with instructions

Go to property section.
Click in "edit environment" action.
Click in running option.
Set datasource properties.
Click in "Agregar" button.

What is the motivation / use case for changing the behavior?

To be able to create datasource.
Please tell us about your environment:

Ubuntu 17.10
Google chrome 54.0.2840.71 (64-bit)
Java (build 1.8.0_65-b17)
JBoss EAP 6.4.0

Feature Ready. In the next pull request will appaer


FEATURE - Add Properties to Vehicle

Describe the feature you want the app to have that it currently doesn't

Add these properties to the Vehicle model, they are all strings

year
color
VIN
licensePlateNumber

Describe alternatives you've considered

N/A

Additional context

You will need to update the AddVehicleView and the SettingsView where the vehicles are listed
You can't update vehicles yet because that is part of #5

@mikaelacaron can you assign this to me?


Update vm-inspector-azure-virtual-machines.md

Added supporting regions

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


[BUG] Unicode characters in filename cause service to freeze

There is a problem with handling Unicode characters in filenames which cause the process to freeze, requiring a restart. Consider the following filename:
Gloria (André Luguet, Mady Berry, Jean Gabin 1931).avi
SeedSync will strip out the character é such that the following error occurs:
2019/MM/DD HH:MM:SS - ERROR - seedsync - Caught exception Traceback (most recent call last):
  File "/app/python/seedsync.py", line 162, in run
    controller_job.propagate_exception()
  File "/app/python/common/job.py", line 77, in propagate_exception
    raise exc_info[1].with_traceback(exc_info[2])
  File "/app/python/common/job.py", line 44, in run
    self.execute()
  File "/app/python/controller/controller_job.py", line 29, in execute
    self.__controller.process()
  File "/app/python/controller/controller.py", line 199, in process
    self.__propagate_exceptions()
  File "/app/python/controller/controller.py", line 521, in __propagate_exceptions
    self.__lftp.raise_pending_error()
  File "/app/python/lftp/lftp.py", line 114, in raise_pending_error
    raise LftpError(error)
lftp.lftp.LftpError: pget: Access failed: No such file (/Gloria (Andr Luguet, Mady Berry, Jean Gabin 1931).avi)

Note the missing character in the filename.
One must manually rename the file on the remote filesystem to remove the "missing" characters, and then restore them once on the local filesystem (if performing a hash check for seeding locally). It would be a minor annoyance if SeedSync skipped the failed download, but at this time all downloads halt and the service must be restarted to continue.

Exactly the same problem here !

I might be having a similar issue. Please let me know if this is relatred, or if I should open a separate issue.
Log file:
Traceback (most recent call last):

  File "/app/python/seedsync.py", line 376, in <module>

    seedsync = Seedsync()

  File "/app/python/seedsync.py", line 101, in __init__

    self.controller_persist = self._load_persist(ControllerPersist, self.controller_persist_path)

  File "/app/python/seedsync.py", line 339, in _load_persist

    return cls.from_file(file_path)

  File "/app/python/common/persist.py", line 50, in from_file

    return cls.from_str(f.read())

  File "/usr/lib/python3.7/codecs.py", line 322, in decode

    (result, consumed) = self._buffer_decode(data, self.errors, final)

UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd9 in position 77824: invalid continuation byte

      ```

@flatlinebb This is a different issue. It looks like one of your settings file is corrupted. Try deleting the controller.persist file and restarting Seedsync. If it still happens please create a new ticket.
The original problem of unicode handling doesn't seem to be reproducible anymore. I will close this ticket for now.


update position with mesh parent

Hello,
When I put a mesh parent has another mesh and I use the rotation of the parent, the child has no position update.
I reproduce it on the  #PG:
http://www.babylonjs-playground.com/#2K0EOZ#0

Oh, oops, okay, thank you. I forget getAbsolutePosition


Crash in Russian, Serbian, Ukrainian, Bosnian, etc. locales

When device locale set to above-mentioned locales, PIDatePicker crashed in refreshComponentOrdering method.
According to Apple docs it appears that NSDateFormatter.dateFormatFromTemplate returned "... string may not contain exactly those components given in template, but may—for example—have locale-specific adjustments applied."
So, it is not always contains set of 'y', 'M', 'd' characters, which case refresh method to crash.
So, can you please fix this problem?

So, nobody cares that this crashes on all kinds of locales?


DataGrid not recognizing changes made to associated data

@akorchev When working with the RadzenDataGrid and the CellRender to change the background-color I came across a small issue.
The DataGrid did not recognize the change to the style after the underlying data had changed.
The way I'm coming at this is to trigger a refresh to the underlying data from a Timer every minute.
When the Timer completes, the code compares the previous data to the newly gotten data and uses the CellRender to change the background-color based upon data status changes.
The timer has the "StateHasChanged" which I thought would have caused the DataGrid to refresh but it doesn't.
I can see the CellRender has done its work since when I start to use the DataGrid sorting functionality the background-color appears.
Maybe there is some other way to force the DataGrid to re-render.

Try calling the Reload method of the DataGrid. Also please follow the issue template.

Many thanks


Missing White Paper content.

There doesn't appear to be any content in the White Paper section of this doc. There are 'related links' but no content.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: 2ba640c4-798e-c1f5-0a4d-134334c37e0d
Version Independent ID: f63ad1a5-01a9-45e4-d4fc-aff071dc9ca1
Content: Plan deployment to migrate to Power BI - Power BI
Content Source: powerbi-docs/guidance/powerbi-migration-planning.md
Service: powerbi
Sub-service: powerbi-resource
GitHub Login: @peter-myers
Microsoft Alias: kfollis

Hi @MarcRohde - thanks for your feedback. There is content in this article - perhaps it was a server or browser glitch? Please retry accessing this article. #please-close


error while installing cdncheck

pdtm version:
$ pdtm --version
[INF] Current Version: v0.0.6

Current Behavior:
Hello,
An error occurs when installing cdncheck.
Thanks.
Steps To Reproduce:
pdtm -install-all

....
...
[INF] installing cdncheck...
[ERR] error while installing cdncheck: could not find release asset for your platform (linux/amd64)

related https://github.com/projectdiscovery/cdncheck/issues/103

Closing this as duplicate, as it's being tracked at https://github.com/projectdiscovery/cdncheck/issues/103


Remote SSH unresponsive when saving notebook with large images

Type: Bug
I am running some diffusion NNs remotely and want to visualize the steps in between. The output is being shown quite well, but then I am unable to rerun the cells, it keeps hanging on the very first line to execute. I am not able to save the file: it is hanging.
VScode is responsive and I can edit files and use all menus and everything. It's just that execution never starts and I am unable to save the file.
The only current workaround is to copy paste all cells into another text editor, quite vscode without saving, restart, copy paste edits into the file again.
Also: When restarting vscode starting up takes forever.
In it's current change I am unable to use vscode to work on diffusers at all. Only my remote workstation has enough GPU power, but this bug makes it impossible to actually see the output of what Im with the diffusers.
Steps:
Execute this cell:
import torch
from PIL import Image
from IPython.display import display, Image as IPImage
import numpy as np
import io

batch = torch.randint(0, 256, (10, 1024, 1024, 3), dtype=torch.uint8)
frames = [Image.fromarray(img.numpy(), 'RGB') for img in batch]
buffer = io.BytesIO()
frames[0].save(buffer, format='GIF', save_all=True, append_images=frames[1:], loop=0, duration=100)
buffer.seek(0)
display(IPImage(data=buffer.read(), format='png'))
buffer.close()

Try to save.
Try [Clear Cell Outputs]
Try to save the file again
Try to run the cell again

Results:
Never actually saves, execution never starts
Expected:
Save succeeds, cell is executed again.
Related:
https://github.com/microsoft/vscode/issues/140116 marked as fixed, but problem still occurs
https://github.com/microsoft/vscode/issues/138784 was a catch-all issue, but didn't catch this issue
https://github.com/nmamlm/Nay-Myo-Aung/issues/1 might be about this issue. (Not sure what this fork is.)


Linking "about this release" page

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Added more descriptive type hints to private methods to prevent errors later

Q
A

Bug fix?
no

New feature?
no

BC breaks?
no

Deprecations?
no

License
MIT

Thanks!


Facebook Connect: make facebook connect to be blue button since it's required by their requirements

https://una.io/page/view-discussion?id=2412

Use this style for all social logins.