Filter parameters not working for TAXIICollectionSource

Code:
from stix2 import TAXIICollectionSource, Filter
from taxii2client import Collection

# establish TAXII2 Collection instance
collection = Collection("https://limo.anomali.com/api/v1/taxii2/feeds/collections/107/", user="guest", password="guest")

# supply the TAXII2 collection to TAXIICollection
tc_source = TAXIICollectionSource(collection)

# build your filter -- kinda seems broken now
f1 = Filter("type","=", "indicator")

#retrieve the STIX objects
results = tc_source.query([f1], allow_custom=True)

That returns:
HTTPError: 500 Server Error: INTERNAL SERVER ERROR for url: https://limo.anomali.com/api/v1/taxii2/feeds/collections/107/objects/?match%5Bfilters%5D=match%5Btype%5D

The error seems to be in generating the filter parameter...it's somehow blowing up and it's formatted incorrectly.

The way stix2 is invoking taxii2-client is wrong.  Looks like stix2 is creating HTTP query parameters itself, and passing them with a "filters" keyword arg; but it should be using a separate keyword arg per parameter, e.g. collection.get_objects(type="indicator"). See here.  taxii2-client does its own conversion here.

Just a note, if the stix2.TAXIICollection interface is altered, we need to alert Anthony as he is writing a blog post using the examples in the docs.

Oh wow this is bad, in addition to passing the filters in the wrong format, we arent stripping the TAXII specific filters from the full query. So when we get objects back from TAXII, it looks like we re-apply the TAXII filters to the objects through our filter code, but our filter code throws out filters that are not common properties.  So "version" and "added_after" filters will never return anything.  :( ... My fault, Ill fix

@johnwunder can you check with the latest master if this is fixed, now that #147 is merged?

Going to close this, but if it's still a problem, feel free to re-open @johnwunder


Update main.js

Description
As Underweight category was also having yellow color and orange color is more like warning than yellow.
#556 Issue Fixed.

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

Checklist:

[X] I have made this from my own
[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] My changes generate no new warnings

Also, you need to link the issue, you have linked PR

Also, you need to link the issue, you have linked PR

I have linked the issue.

Add index.html file of this project

There is no need for index.html as I just made changes in main.js. And I don't have the original files as I did not create this repository. I just made necessary changes. If you still wish to see index.html file, please Click Here


Sunfish. contribution and ideation workflow

Problem
We currently have no formal way to track the ideas and features being explored or implemented.
Proposal solution
Everything is based on GH Issues and pull requests. Whenever a new idea is to be submitted for implementation or for discussion a new GH issue should be created in the relevant repository.
Each new issue contains  a problem statement  and a Proposed solution where the discussion should take place. Diagrams and figures are more than welcome.
Features should be discussed on the GH issue as well as the Sunfish weekly meetings and accompanied with a slide deck that should also be attached to the issue itself.
Every issue, if approved is then moved to the implementation part with an associated PR that should be named Issue #Issue num. See #12  and #16 for a reference.
This same flow should be used for less concrete ideas that need to be discussed and also documentation related changes.

This issue was discussed and approved during the Sunfish weekly meeting of Jan 26 2024. The attached deck
was used for driving the discussion.
I will proceed opening a PR for creating a CONTRIBUTING.md file in the Sunfish reference library repo.


Add Spacer

Add a Spacer somehow.
Half the width of the icon.
Eg enter "space" in Field Names
Or have another setting for Space after "1;3" for example?
As we loop through the settings, find the space and do not treat it as a Field Name but treat it as a spacer.
But then how do the loop of the HTML to get the spacer in the right position?

Do you mean adding space/padding in between two icons or within the icon itself? Visual example please.

Adding a space between groups of indicators. In the example images you can see they are all up against the left side of the card. It would be nice to have a group of say 3 indicators then a space then another group of 3 indicators. The simplest would probably be a field where you can enter 3;6 eg space after the third and after the 6th but then working out the conditional display might be hard. The space would be around half the width of the indicator.

A mockup to visualize would be much better to be on same page. :)
May I ask what is the business use case for this requirement?

This is my example, but I would like the space to be half width. I created this by uploading a transparent png icon and using that to be the icon displayed.

I think this could be an option on Indicator Bundle Item - just a picklist for Spacer Width - Quarter, Half, Full.
Quarter is 1/4 of the size if the Indicator + Margin
Half is 1/2 of the size of the Indicator + Margin
Full is the full width of the Indicator + Margin
But I'm open to ideas here.

May fit into the "Indicator Panel" (aka - multiple bundles) - side by side or stacked on top of each other as rows.

Another idea that came to me when reviewing #146 is the ability to simply increase the left/right CSS spacing.  It might not be the prettiest solution though and hard to demo.


Add addclasscommand in DG + UML diagram, change names in deletesequencediagram

Codecov Report

Merging #294 (10f3c30) into master (4ff6f30) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master     #294   +/-   ##
=========================================
  Coverage     70.46%   70.46%
  Complexity      792      792
=========================================
  Files           129      129
  Lines          2597     2597
  Branches        318      318
=========================================
  Hits           1830     1830
  Misses          680      680
  Partials         87       87

Continue to review full report at Codecov.

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

LGTM


Ensure ?mode=vr forces stereo

https://aframe.io/aframe/examples/showcase-shopping/?mode=vr doesn't seem to force stereo. Perhaps we want ?mode=stereo, idk.
Per https://webvr.slack.com/archives/declarative-vr/p1450387507000072

Yeah, I think its useful to force stereo.   You wouldn't be able to so otherwise unless you are on mobile or a VR enabled browser.

Also would be useful to have a function call to do the same.

And a postMessage call.

Hi all,
I'm looking for a solution to be able to force the vr view on smartphone when my webpage is launched.
Anyone can help me with that ?
Thank you in advance

I'm working on this now. I'll update the bug when it's ready.


Feature/sdl 0192 button subscription response from hmi [internal review]

ATF Test Scripts to check FORDTCN-12168
This PR is [ready] for review.
Summary
Scripts for "Button subscription response from hmi"
ATF version
8.0.0_version_bump
Changelog
CLA

[x] I have signed the CLA

@dboltovskyi All the above comments have been processed
PR for ATF is created https://github.com/LuxoftSDL/sdl_atf/pull/7


RuneQuest:Glorantha Fixes for Spirit combat Damage and Total hit point wounds

Submission Checklist
Required

[x] The pull request title clearly contains the name of the sheet I am editing.
[x] The pull request title clearly states the type of change I am submitting (New Sheet/New Feature/Bugfix/etc.).
[x] The pull request makes changes to files in only one sub-folder.
[x] The pull request does not contain changes to any json files in the translations folder (translation.json is permitted)

Changes / Description
Fixed Total Hit Point multiple wound calculation
Fixed  Spirit Combat damage calculation for POW+CHA totals > 56

Character Sheet Info Roll20 Internal Use only.


[fix][doc] improve and fix admin interface doc

Fixes #18088
Fixes #18517
Fixes #18514
Fixes #18525
Fixes #18516
Modifications
Go through the admin document, improve command style and fix errors.
Documentation

[x] doc
[ ] doc-required
[ ] doc-not-needed
[ ] doc-complete

cc @momo-jun @Anonymitaet

@labuladong thanks for refreshing the API doc. I invited @zymap to take a look from a technical perspective.

Cool! I'm looking into this :)

The rest looks good to me.

Thanks for your review~ PTAL @tisonkun


 Also have the appropriate patch still be highlighted.
https://github.com/soniajoseph/ViT-Prisma/blob/main/src/vit_prisma/visualization/visualize_attention_js.py

Done by @themachinefan!


Search Broken

Overview

Search broken.
I already updated the dependencies (we are using the ubiquity branch for dao.ubq.fi

Context

did some research and found https://github.com/NotionX/react-notion-x/pull/505

this is a dependency of “nextjs-notion-starter-kit” which i presume was updated

our last sync was june 9 (before the fix) https://github.com/pavlovcik/dao.ubq.fi

Error
POST https://dao.ubq.fi/api/search-notion 405

Permit generation skipped because wallet private key is not set
If you enjoy the DevPool experience, please follow Ubiquity on GitHub and star this repo to show your support. It helps a lot!

This is actually not correct because I did use the encrypted key from the Ubiquity organization


Merge data sets

[ ] ksf_clam_growth_data_tidied
[1] "date"           "days_btwn_sort" "color"
[4] "stage"          "count"          "lbs"
[7] "avg_per_lbs"    "growth_in_lbs"  "growth_pct"
[10] "sr"

[ ] ksf_compiled_data_tidied
[1] "date"                       "rdo_concentration"
[3] "rdo_saturation"             "oxygen_partial_pressure"
[5] "actual_conductivity"        "specific_conductivity"
[7] "salinity"                   "density"
[9] "total_dissolved_solids"     "chlorophyll_a_fluorescence"
[11] "ammonium"                   "ammonium_m_v"
[13] "barometric_pressure"

[ ] ksf_oyster_cylinder_growth_data_tidied
[1] "date"               "oyster_chlorophyll" "oyster_size"
[4] "weight"             "gain"

[ ] water_samples_data_tidied
[1] "sample_id"                     "nomilo_id"
[3] "round"                         "date"
[5] "location"                      "depth"
[7] "chlorophyll_a"                 "phosphate"
[9] "silicate"                      "nitrate_nitrite"
[11] "ammonia"                       "heterotrophic_bacteria"
[13] "large_phytoplankton"           "synechococcus_population_1"
[15] "synechococcus_population_2"    "prochlorococcus"
[17] "lysbeths_mystery_cells_events" "tube_name"

[ ] tidal_data_tidied
[1] "date"     "time"     "pred"     "high_low"

[ ] weather_data_tidied
[1] "date"                "outdoor_temperature" "wind_speed_mph"
[4] "hourly_rain_inch_hr" "wind_direction"

[ ] profiles_data_tidied
[1] "depth"             "water_temperature" "dissolved_oxygen"
[4] "salinity"          "conductivity"      "visibility"
[7] "location"          "date"

Create lists of datasets we want to merge, and specify how to merge them and by what columns.
List of 'overlapping' variables

[ ] date
[ ] location
[ ] depth
[ ] weight
[ ] growth

ksf_clam_growth_data_tidied:

[ ] date
[ ] weight
[ ] growth_pct

ksf_compiled_data_tidied

[ ] date

ksf_oyster_cylinder_growth_data_tidied

[ ] date
[ ] weight
[ ] growth_pct

water_samples_data_tidied

[ ] date
[ ] location
[ ] depth

tidal_data_tidied

[ ] date

weather_data_tidied

[ ] date

profiles_data_tidied

[ ] date
[ ] location
[ ] depth

Options to address NA and duplicate values:

Omit missing values

Cons: Small dataset

Imputation

Cons: May introduce significant errors or biases

Best option may be to do imputation to avoid eliminating entire datasets when doing the merges. Questions to ask:

What is the reason for the missing data?
What is the proportion of missing data?
How can you identify and resolve duplicates in a way that preserves the integrity of your data?


Bug: part attachments can not be deleted via GUI

Please verify that this bug has NOT been raised before.

[X] I checked and didn't find a similar issue

Describe the bug*
The delete button () for a part attachment does no longer work after update to latest version.
Steps to Reproduce

Select a part
Go to Attachments page
Upload an attachment
Click on the trashbin symbol to delete it
Nothing happens

Expected behaviour
A modal pops up asking me if i really want to delete the part attachment
Deployment Method

[X] Docker
[ ] Bare metal

Version Information
InvenTree v0.12.0
Please verify if you can reproduce this bug on the demo site.

[X] I can reproduce this bug on the demo site.

Relevant log output
No relevant logs found

@mvnmgrx thanks for reporting - see https://github.com/inventree/InvenTree/pull/5219


altered rankings testing to use api key in git ignore

Nice work Hugo! This change makes it so that if we ever have to change our api key, your test will still function, and helps prevent our API keys from being stolen.


switching to DBUserDAOgit add src/

switching to dbuser dao!!!

the dbuser looks good and all of the data seems to be stored properly.


use filter instead of forEach

added filter instead of forEach in the filtering out the quotes by years for better performance and code simplicity.

@RocktimSaikia Thanks.


Lack of timeouts in receive can block producers

We've had a few cases where some of our producers get stuck waiting for messages in the produce function. I'm still not sure what the processes they were waiting for responses from were doing, but it corresponds to problems with our kafka cluster. Even once the kafka cluster is fully operational again these processes still seem to be stuck.
Sorry for the relatively unhelpful report, but it seems like there needs to be some sort of timeout behavior here to ensure that a misbehaving producer can't kill an entire node.

Hi @eriklee
Which brod version are you running ?
There is timeout by default 4 minutes. i.e. whatever request sent to kafka, if there is no response received for up to 4 minutes (configurable), brod_sock process will exit itself.
Then the producer process should notice and retry the batches.

timeout was added to 2.2.13: https://github.com/klarna/brod/pull/163/files

Ah, we're running a version from October. I'll give the latest version a try, thanks!


istio1.6.0: examples on gRPC-JSON transcode needed

I succeeded with setting below in istio1.5.2 version by referring to https://github.com/istio/istio/issues/7652
But after installing with istio1.6.0 version, Content-Type 'application / json' is not supported error occurs.
How to set EnvoyFilter in istio1.6.0 version?
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: test-api
  namespace: default
spec:
  workloadLabels:
    app: test-api
  filters:
    - listenerMatch:
        listenerType: SIDECAR_INBOUND
      insertPosition:
        index: BEFORE
        relativeTo: envoy.router
      filterName: envoy.grpc_json_transcoder
      filterType: HTTP
      filterConfig:
        proto_descriptor: /etc/envoy/proto.pb
        services:
          - examples.CommonService
        print_options:
          add_whitespace: false
          always_print_enums_as_ints: true
          always_print_primitive_fields: true
          preserve_proto_field_names: true

@hrkenshin Hi, My service works, so I suppose these yaml files may help you.
My istio version is:
istioctl version
client version: 1.6.5
control plane version: 1.6.5
data plane version: 1.6.5 (13 proxies)

and my envoy filter plugin is
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: backend-grpc-filter-chain
spec:
  configPatches:
    - applyTo: HTTP_FILTER
      match:
        listener:
          portNumber: 5000
          filterChain:
            filter:
              name: "envoy.http_connection_manager"
              subFilter:
                name: "envoy.router"
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.filters.http.grpc_json_transcoder
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder
            proto_descriptor: "/etc/envoy/proto.pb"
            services: ["xxx.XXX"]
            print_options:
              add_whitespace: true
              always_print_primitive_fields: true
              always_print_enums_as_ints: false
              preserve_proto_field_names: false
  workloadLabels:
    app: mylabel

Besides, I recommend you to use istioctl proxy-status and istioctl proxy-config listener service-name --port 5000 -o json, it helps me a lot.

i'm facing the same issue and i'm on istio 1.5.7

I checked grpc java log and it seems that grpc_json_transcoder is not working.
":path" header was not converted from rest to grpc pattern and body was not protobuffer format too.

@hrkenshin Hi, My service works, so I suppose these yaml files may help you.
My istio version is:
istioctl version
client version: 1.6.5
control plane version: 1.6.5
data plane version: 1.6.5 (13 proxies)

and my envoy filter plugin is
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: backend-grpc-filter
spec:
  configPatches:
    - applyTo: HTTP_FILTER
      match:
        listener:
          portNumber: 5000
          filterChain:
            filter:
              name: "envoy.http_connection_manager"
              subFilter:
                name: "envoy.router"
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.filters.http.grpc_json_transcoder
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder
            proto_descriptor: "/etc/envoy/proto.pb"
            services: ["xxx.XXX"]
            print_options:
              add_whitespace: true
              always_print_primitive_fields: true
              always_print_enums_as_ints: false
              preserve_proto_field_names: false
  workloadLabels:
    app: mylabel

Besides, I recommend you to use istioctl proxy-status and istioctl proxy-config listener pod-name --port 5000 -o json, it helps me a lot.

Can you share you complete example if possible? I am wondering how you mount proto files to /etc/envoy/proto.pb

@hrkenshin Hi, My service works, so I suppose these yaml files may help you.
My istio version is:
istioctl version
client version: 1.6.5
control plane version: 1.6.5
data plane version: 1.6.5 (13 proxies)

and my envoy filter plugin is
apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: backend-grpc-filter
spec:
  configPatches:
    - applyTo: HTTP_FILTER
      match:
        listener:
          portNumber: 5000
          filterChain:
            filter:
              name: "envoy.http_connection_manager"
              subFilter:
                name: "envoy.router"
      patch:
        operation: INSERT_BEFORE
        value:
          name: envoy.filters.http.grpc_json_transcoder
          typed_config:
            "@type": type.googleapis.com/envoy.extensions.filters.http.grpc_json_transcoder.v3.GrpcJsonTranscoder
            proto_descriptor: "/etc/envoy/proto.pb"
            services: ["xxx.XXX"]
            print_options:
              add_whitespace: true
              always_print_primitive_fields: true
              always_print_enums_as_ints: false
              preserve_proto_field_names: false
  workloadLabels:
    app: mylabel

Besides, I recommend you to use istioctl proxy-status and istioctl proxy-config listener pod-name --port 5000 -o json, it helps me a lot.

Can you share you complete example if possible? I am wondering how you mount proto files to /etc/envoy/proto.pb

This is simple, you just need some anotations on your deployment, to mount these proto as configmap on your sidecar.
The configmap shoud be in same namespace:
      annotations:
        sidecar.istio.io/userVolume: '[{"name":"descriptor","configMap":{"name":"configmap-name","items":[{"key":"the_key","path":"proto.pb"}]}}]'
        sidecar.istio.io/userVolumeMount: '[{"name":"descriptor","mountPath":"/etc/envoy"}]'

@ronaldmiranda Can you share a complete example if possible?

Does this have to be done on one workload ?
Or could I somehow mount my descriptor on the ingress gateway and add the filter on there, so i only have to route GRPC traffic past that point?

Since 1.5.2, all inbound tcp traffic will be redirected to INBOUND_CAPTURE_PORT (default 15006). match.listener.portNumber should be 15006 instead of your application port.
see https://github.com/istio/cni/commit/0fc4ce86f52db0a58bc17ab37bd0ba6f2f8f9c68#diff-332b0432bc5b816ed3da132b2be62e8c


Unknown class SeparatorCollectionViewFlowLayout in Interface Builder file.

I have gone through the steps and get the above error... (Im trying to implement through storyboard)...any ideas?

JK... fixed by changing module field in storyboard to SeparatorCollectionViewFlowLayout


Map results without writing each field out

Hey guys,
Is there any macro, trait or function that already exists that allows me to not have to map out each field and it's type?
In the example below, it's simple because all fields are i32, but when doing multiple tables with 100s of fields, it gets redundant fast.
let first_result: Vec<Option<i32>> = stream
    .by_ref()
    .map_ok(|x| x.get::<i32, _>(0)) // would like to automate this part.
    .try_collect()
    .await?;

I am planning on learning how to create a derive macro to handle this, as I would need to write a field name and it's type in there, but I do not know how yet.

Hey guys closing this. I wrote a custom derive macro to handle this. Thank you for the lib


Added missing py.typed to langchain_core

See PR title.
From what I can see, poetry will auto-include this. Please let me know if I am missing something here.

Looks like the missing py.typed has been also masking many type checker errors

thank you @jamesbraza!
cc @lkuligin for vertex changes


shaderc_sharedd.dll error

DLL Error
A build of the hazel engine returns a DLL error

DLL Error
A build of the hazel engine returns a DLL error

You need to install the Vulkan SDK... if you downloaded the master repo and not an old master, then you need to install at least Vulkan SDK version <IP_ADDRESS> if you're uising an older version of Vulkan SDK, then it won't work on the newest version of Hazel!


New URL format for analysis message docs

Resolves https://github.com/istio/istio/issues/25852

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

Test name
Commit
Details
Rerun command

integ-security-k8s-tests_istio
bd540b66a7538cafe17fc7dff71787d571021d48
link
/test integ-security-k8s-tests_istio

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

/test integ-security-k8s-tests_istio

In response to a cherrypick label: #25924 failed to apply on top of branch "release-1.7":

In response to a cherrypick label: new issue created for failed cherrypick: #25959


Update statsvisits.php

Wrong $query init.
$query is an array

Questions
Answers

Description?
the variable $query is an array not a string

Type?
bug fix

BC breaks?
yes

Deprecations?
no

Fixed ticket?

How to test?
add the fix and you will see the graphics appear in the statistic backoffice Visits and Visitors

The fixe has already been done in the 2.0.3 and a release is waiting for it #11
Thanks for your contribution


New release for stream fix

It would be nice to have a new release for new people installing asyncpraw through pip that patched some of the recent changes. I'm thinking of this issue in particular, which patches the timeout of the stream function. The function is even highlighted through one of the only tutorials in the docs, which will actually experience a similar time out without the patch that was submitted by @cmays90. It has been almost a year since the last release, so many people aren't getting access to these patches, and pulling bleeding-edge versions of the code through a requirements.txt or pip install is inconvenient. I don't know what the current timeline is for the project, but a new release soon would be helpful.

I'll take care of that very shortly.

Got that released for ya!

So quick -- thank you!


Is there a way to disable plugins included in the project's config?

Hi @pmizio great work with this plugin, I've tried it in a couple of projects and it works flawlessly.
The only problem I'm facing at the moment happens to be in the main project at my job. It's a big project with around 5k files. When I open a file, the LSP client starts just fine, I can find references and get the hover window just fine.
The problem comes when I make any sort of changes, that is, adding a comment, renaming a function, etc. Then the LSP client becomes unresponsive for up to 10 seconds, then it goes back to normal.
I've narrowed down the problem to a Typescript plugin: typescript-plugin-css-modules with less: https://github.com/dancon/less-plugin-aliases#work-with-webpack-and-typscript-plugin-css-modules
If I remove that plugin declaration from tsconfig.json and restart the LSP client, the problem goes away.
That plugin is a nice thing to have but I can live without it if it means I can have a great LSP client.
Is there a way to ignore plugins defined in the project's configuration?

For context, I don't think the problem is related to typescript-plugin-css-modules or less-plugin-aliases since my coworkers are using the same configuration in VSCode and they don't see this problem. It also works fine with typescript-language-server.
My current driver is vtsls which performs way better than typescript-language-server, but doesn't support plugins, which could explain why it doesn't have perf issues.
Unfortunately, that project is not publicly available, so I can't share its details.
If it helps, this is the minimal config file I used to try it out:

minimal_init.lua
local M = {}

function M.root(root)
    local f = debug.getinfo(1, "S").source:sub(2)
    return vim.fn.fnamemodify(f, ":p:h:h") .. "/" .. (root or "")
end

---@param plugin string
function M.load(plugin)
    local name = plugin:match(".*/(.*)")
    local package_root = M.root(".minimal/site/pack/deps/start/")
    if not vim.loop.fs_stat(package_root .. name) then
        print("Installing " .. plugin)
        vim.fn.mkdir(package_root, "p")
        vim.fn.system({
            "git",
            "clone",
            "--depth=1",
            "https://github.com/" .. plugin .. ".git",
            package_root .. "/" .. name,
        })
    end
end

function M.setup()
    vim.cmd([[set runtimepath=$VIMRUNTIME]])
    vim.opt.runtimepath:append(M.root())
    vim.opt.packpath = { M.root(".minimal/site") }
    vim.env.XDG_CONFIG_HOME = M.root(".minimal/config")
    vim.env.XDG_DATA_HOME = M.root(".minimal/data")
    vim.env.XDG_STATE_HOME = M.root(".minimal/state")
    vim.env.XDG_CACHE_HOME = M.root(".minimal/cache")

    M.load("nvim-lua/plenary.nvim")
    M.load("neovim/nvim-lspconfig")
    M.load("j-hui/fidget.nvim")
    M.load("pmizio/typescript-tools.nvim")
    M.load("catppuccin/nvim")

    require("catppuccin").setup({ flavour = "macchiato" })
    vim.cmd.colorscheme("catppuccin")
    require("fidget").setup({})
    require("typescript-tools").setup({
        tsserver_plugins = {},
    })

    vim.api.nvim_create_augroup("lsp-config", { clear = true })
    vim.api.nvim_create_autocmd("LspAttach", {
        group = "lsp-config",
        callback = M.lsp_mappings,
    })
end

M.lsp_mappings = function()
    vim.api.nvim_buf_set_option(0, "omnifunc", "v:lua.vim.lsp.omnifunc")
    local opts = { buffer = true, silent = true }
    vim.keymap.set("n", "K", vim.lsp.buf.hover, opts)
    vim.keymap.set("n", "gd", vim.lsp.buf.definition, opts)
    vim.keymap.set("n", "<leader>lf", vim.lsp.buf.references, opts)
    vim.keymap.set("n", "<leader>li", vim.lsp.buf.implementation, opts)
    vim.keymap.set("n", "<leader>lt", vim.lsp.buf.type_definition, opts)
    vim.keymap.set("n", "<leader>la", vim.lsp.buf.code_action, opts)
    vim.keymap.set("n", "<leader>lr", vim.lsp.buf.rename, opts)
end

vim.o.swapfile = false
_G.__TEST = true

M.setup()

From top of my head probably not but I'll double-check that. But we can try to trace problem. You can enable tsserver logs using this property and they live in os temp folder as tsserver_syntax.log and tsserver_semantic.log files. In logs you can find how long requests take.
I also try to reproduce this I also have in my job large  project with css modules but we generate declarations instead using ts plugin, maybe to test I install it and luckly enough problem also show up.
About VSCode working - it may just don't load plugin at all, because by default it don't use workspace typescript installation.
Your colleagues may use default behaviour which is load bundled typescript in vscode installation without any plugin.
You may ask them about this config. Here are instructions: https://code.visualstudio.com/docs/typescript/typescript-compiling#_using-the-workspace-version-of-typescript
Basically if after running Select TypeScript Version from vscode command palette they don't have Use Workspace Version checked they actually don't have this plugin loaded.

@davidmh Sorry to bother you here, but I want to clarify that vtsls does support plugins, the reason that it doesn't activate in your case is that the server uses bundled typescript version by default instead of workspace version, just the same as vscode. You can switch to workspace version by the dedicated command select_ts_version as in vscode or through configuration. I saw someone also has this confusion, as unclear docs about this is definitely my fault.

In this case probably default vscode setting is blessing because PROBABLY this typescript cssmodules plugin ruin experience. But I wait with final judgement to time @davidmh provide more information how vscode behaves on workspace tsserver and/or what is situation in logs.

You can switch to workspace version by the dedicated command select_ts_version as in vscode or through configuration

Oh that's great to know, I'll give it a try today.

provide more information how vscode behaves on workspace tsserver and/or what is situation in logs.

I confirmed with my coworkers that the css modules plugin does work on vscode and it doesn't show the same problem I see in neovim.
As for the logs, this is the only relevant entry that shows a slow process:
Info 4201 [08:07:58.632] -----------------------------------------------
Info 4201 [08:07:58.632] Open files:
Info 4201 [08:07:58.632] 	FileName: <REDACTED>.tsx ProjectRootPath: undefined
Info 4201 [08:07:58.632] 		Projects: <REDACTED>/tsconfig.json
Perf 4201 [08:07:58.632] 7::updateOpen: elapsed time (in milliseconds) 12521.3447
Info 4202 [08:07:58.632] response:
    {"seq":0,"type":"response","command":"updateOpen","request_seq":7,"success":true,"performanceData":{"updateGraphDurationMs":10822.790082991123},"body":true}
Info 4203 [08:07:58.635] request:
    {"type":"request","arguments":{"file":"<REDACTED>.tsx","preferences":{"includeInlayVariableTypeHints":false,"includeInlayVariableTypeHintsWhenTypeMatchesName":false,"includeInlayPropertyDeclarationTypeHints":false,"includeInlayFunctionLikeReturnTypeHints":false,"includeInlayEnumMemberValueHints":false,"providePrefixAndSuffixTextForRename":true,"allowRenameOfImportPath":true,"quotePreference":"auto","importModuleSpecifierEnding":"auto","jsxAttributeCompletionStyle":"auto","allowTextChangesInNewFiles":true,"includeAutomaticOptionalChainCompletions":true,"provideRefactorNotApplicableReason":true,"generateReturnInDocTemplate":true,"includeCompletionsForImportStatements":true,"includeCompletionsWithSnippetText":true,"includeCompletionsWithClassMemberSnippets":true,"includeCompletionsWithObjectLiteralMethodSnippets":true,"useLabelDetailsInCompletionEntries":true,"allowIncompleteCompletions":true,"displayPartsForJSDoc":true,"disableLineTextInReferences":true,"includeInlayParameterNameHints":"none","includeInlayParameterNameHintsWhenArgumentMatchesName":false,"includeInlayFunctionParameterTypeHints":false},"formatOptions":{"insertSpaceAfterFunctionKeywordForAnonymousFunctions":true,"insertSpaceBeforeFunctionParenthesis":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis":false,"insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets":false,"indentSize":2,"convertTabsToSpaces":true,"tabSize":2,"insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces":false,"insertSpaceAfterTypeAssertion":false,"placeOpenBraceOnNewLineForFunctions":false,"placeOpenBraceOnNewLineForControlBlocks":false,"semicolons":"ignore","indentSwitchCase":true,"insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces":false,"insertSpaceAfterOpeningAndBeforeClosingEmptyBraces":true,"insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces":true,"newLineCharacter":"\n","insertSpaceAfterCommaDelimiter":true,"insertSpaceAfterConstructor":false,"insertSpaceAfterSemicolonInForStatements":true,"insertSpaceBeforeAndAfterBinaryOperators":true,"insertSpaceAfterKeywordsInControlFlowStatements":true}},"seq":11,"command":"configure"}
Info 4204 [08:07:58.635] Host configuration update for file <REDACTED>.tsx
Info 4205 [08:07:58.635] response:
    {"seq":0,"type":"response","command":"configure","request_seq":11,"success":true}
Perf 4206 [08:07:58.635] 11::configure: async elapsed time (in milliseconds) 0.3023
Info 4207 [08:07:58.635] request:
    {"type":"request","arguments":{"openFiles":[{"file":"<REDACTED>.tsx","fileContent":"<REDACTED>","scriptKindName":"TSX"}],"closedFiles":[],"changedFiles":[]},"seq":11,"command":"updateOpen"}
Info 4208 [08:07:58.640] Project '<REDACTED>/tsconfig.json' (Configured)
Info 4208 [08:07:58.640] 	Files (5194)

Let me know if you're looking of a specific event.

If I interpret logs correctly you presenting me few first events after server start and after you open first file project start to index which can take in large projects quite a few seconds. To the time server stop indexing all requests in the meantime are queued and flushed when indexing stop. After that process LSP should be responsive all the time.
Do you use some LSP progress indicator like fidget.nvim? It show when LSP indexing things then when it disappear LSP should be interactive.
As far as I know vscode in time of indexing create some temporary server which serve minimal features then after indexing requests are routed to main server. But this plugin not implement this sorry.
At least this is what I see from this part of log you show me. Can you @davidmh confirm/deny this?

If I interpret logs correctly you presenting me few first events after server start and after you open first file project start to index which can take in large projects quite a few seconds. To the time server stop indexing all requests in the meantime are queued and flushed when indexing stop. After that process LSP should be responsive all the time.

No, the part of the log I posted happened after the project was fully indexed. The lag happens after I make any changes to the codebase.

Do you use some LSP progress indicator like fidget.nvim? It show when LSP indexing things then when it disappear LSP should be interactive.
As far as I know vscode in time of indexing create some temporary server which serve minimal features then after indexing requests are routed to main server. But this plugin not implement this sorry.

I do use fidget, but it only shows the initial indexing, nothing after that.

Like you it is almost identical, and after this first req which took about ~12s rest of requests are 100% interactive for me.
I also noticed this ts plugin throw some errors in tsserver log but everything still after indexing works fine and snappy like without this ts plugin.

Yeah, removing the plugin does make the LSP client super snappy.
FWIW, I just tested the settings recommended by @yioneko using vtsls here: https://github.com/davidmh/dot-files/blob/main/nvim/fnl/own/plugin/lsp.fnl#L109-L110
I can tell that the problem is definitely related to that CSS modules plugin, because now I get the typings for the styles, but the client does show a small lag after any updates.
It doesn't seem to be as bad though. I'll try it for a few days and see how it feels with actual work.
Feel free to close this issue for now, since the problem seems to be related to the performance of the typescript plugin, not the LSP client.


ADDED log statement for resolved address

Would be nice (especially for failovers) to see in the logs the resolved address of the Redis instance we are connecting to

Changes Unknown when pulling bf7b8084ae430f864221a16dca51daa321d75c58 on mzapletal:3.x into ** on mp911de:3.x**.

Thanks for your PR. This is only half of the truth. lettuce uses internally Supplier to obtain an SocketAddress. I'd rather propose to add log statements in the suppliers (see RedisClient, PooledClusterConnectionProvider and RedisClusterClient) so one gets debug logs with some more context than just the address.
The other place, worth adding some logs would be ConnectionWatchdog and AbstractRedisClient, both calling Bootstrap.connect(SocketAddress). WDYT?

Thanks for the in-depth information, Mark. We are not very familiar with the lettuce internals, so we just learned that adding this log statement gave us useful insights when doing our DNS failover tests.
We have not played with the cluster features yet, but I strongly believe your proposal is the better solution. I would also be in favor of adding more logs to the watchdog, although we cannot use it at the moment (since command buffering is bound to the reconnect logic and he require an at-most once behavior).
In general, in my opinion it is always better to be more verbose in terms of logging (since we can filter out unwanted logs anyway).

Thanks for your feedback. I'll take the PR from here.

Merged with 176f55e.

Thanks for the quick change, Mark


POC: use only two verifiable paths for channel upgradeability

Description
This is a POC for some modifications to the channel upgradability design.
The current design uses the channel path to perform two critical actions:

verify that the counterparty has entered the upgrade process
negotiate the proposed upgrade changes

This modification logically splits up these two steps to reduce the surface area for bugs. A separate verifiable upgrade type is used to inspect upgrade information for a specific upgrade attempt. The upgrade sequence is moved into the channel end (via a backwards compatible addition)
The channel path will be used to verify the channel upgrade process (channel state, upgrade sequence)
The upgrade path will be used to verify the upgrade information for a specific attempt (negotiated changes, timeout, last packet sent (necessary to block upgrades on flushed packets))
The original design proved to be cumbersome in a couple aspects. By modifying the current channel fields before the upgrade is complete, you need to ensure you do not reference any proposed upgrade fields before the upgrade is finalized and instead you need to reference the restore channel. In addition, you needed to add logic to save a channel which should be restored/referenced even though this channel end was not being verified.
Notable changes:

addition of upgrade sequence into channel end (backwards compatible)
introduction of verifiable Upgrade type
replacing upgrade sequence, upgrade timeout verification with verifying the proposed upgrade type
removal of restore, upgrade sequence, upgrade timeout code
splitting of crossing hello handling of upgrade sequence

NOTE: for the sake of time, I chose the first name that came to mind for fields/types. I believe there are still several naming improvements needed for these changes.

Before we can merge this PR, please make sure that all the following items have been
checked off. If any of the checklist items are not applicable, please leave them but
write a little note why.

[ ] Targeted PR against correct branch (see CONTRIBUTING.md).
[ ] Linked to Github issue with discussion and accepted design OR link to spec that describes this work.
[ ] Code follows the module structure standards and Go style guide.
[ ] Wrote unit and integration tests.
[ ] Updated relevant documentation (docs/) or specification (x/<module>/spec/).
[ ] Added relevant godoc comments.
[ ] Provide a commit message to be used for the changelog entry in the PR description for review.
[ ] Re-reviewed Files changed in the Github PR explorer.
[ ] Review Codecov Report in the comment section below once CI passes.

Closing, thanks @chatton for opening all the issues! :)


Multicloud deployment fails to load iptable information set on nodes

Multicloud deployment fails to load iptable information set on nodes
It happens on reboot and needs to be fixed.

This issue has been fixed and applied to container platform v1.5.1.
For more information, please refer to Modify iptables save task.

The feature has been improved, so closing this issue.
If you encounter any further problems, please feel free to reopen it or create a new issue.


Assignment 1 grading

Hello Team,
I am trying to start the user microservice. When I run the application using mvn spring-boot:run, I am getting the following error:
[ERROR] Failed to execute goal org.springframework.boot:spring-boot-maven-plugin:2.1.2.RELEASE:run (default-cli) on project userservice: An exception occurred while running. null: InvocationTargetException: Error creating bean with name 'entityManagerFactory' defined in class path resource [org/springframework/boot/autoconfigure/orm/jpa/HibernateJpaConfiguration.class]: Invocation of init method failed; nested exception is javax.persistence.PersistenceException: [PersistenceUnit: default] Unable to build Hibernate SessionFactory; nested exception is org.hibernate.exception.GenericJDBCException: Unable to open JDBC Connection for DDL execution: Access denied for user 'root'@'localhost' -> [Help 1].

@cbrahme @rohankasture @ameyarangal
For the Email Notification service, I installed the dependencies using pip and ran python3 notfiy_server.py. It seems to run forever. I don't get any intimation that the flask server has started. Is it supposed to behave like this?

Hi Team,
I was able to run all microservices successfully.
UI needs some improvement. For example when a listing has been added or a room has been booked, keep a user prompt to indicate that operation is successful. At some places I felt webpage took more time to load. Please work on the response time for the webpages.
Documenation:
Architecture and napkin diagram are clear.
Describe in brief the functionality and working of each microservice in your Wiki.
For future assignments, Please document the steps for installation or starting the service clearly.
In all, Good job in Assignment 1 and keep up the good work for rest of the Assignments.
All the best!

Closing issue


fix(client) code block styling escapes parent

Checklist:

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the main branch of freeCodeCamp.
[x] All the files I changed are in the same world language, for example: only English changes, or only Chinese changes, etc.

Closes #41418

@Sembauke As you are not a first-time contributor to this repo, would you mind closing this PR, and giving a first-timer the opportunity?

Good luck first timers


Add link to blog post

Docs Build status updates of commit ee2d758:
:warning: Validation status: warnings

File
Status
Preview URL
Details

api/PowerPoint.Presentation.ExportAsFixedFormat.md
:warning:Warning
View
Details

api/Excel.Workbook.ExportAsFixedFormat.md
:white_check_mark:Succeeded
View

api/PowerPoint.presentation.exportasfixedformat2.md
:white_check_mark:Succeeded
View

api/Word.Document.ExportAsFixedFormat.md
:white_check_mark:Succeeded
View

api/Word.Document.ExportAsFixedFormat2.md
:white_check_mark:Succeeded
View

api/PowerPoint.Presentation.ExportAsFixedFormat.md

Line 10, Column 10: [Warning: ms-date-invalid - See documentation] Invalid date format for 'ms.date': '07/27/22'. Must be a date in format M/D/YYYY, no more than 30 days from today.

For more details, please refer to the build report.
If you see build warnings/errors with permission issues, it might be due to single sign-on (SSO) enabled on Microsoft's GitHub organizations. Please follow instructions here to re-authorize your GitHub account to Docs Build.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
Note: Your PR may contain errors or warnings unrelated to the files you changed. This happens when external dependencies like GitHub alias, Microsoft alias, cross repo links are updated. Please use these instructions to resolve them.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel


Filter Suggested Values

Hi Tyler,
I'm getting an error when I try to use suggestedValues property of the paasb-search-box-filtering attribute in both cases, as an URL or Array of strings. My inputs are like this:
'suggestedValues': "http://localhost:27254/api/getData"
'suggestedValues': "['A', 'B', 'C', 'D']"
The error message says:  Unknown provider: suggestFilterProvider <- suggestFilter
Thank you in advance!

I'll check this out.
Thanks!

This has been fixed.

It works fine now.
Thanks Tyler!


Rename getNamedFormElementData to getFieldData

it's very accurate, but what a keyboardful!
Deprecate getNamedFormElementData in the next 1.x minor release and remove it in 2.x.

Fixed in v2.0.0


Fixes#376:Word Defination Extension

Description
A word definition browser extension is a tool that you can install in your web browser to provide quick and easy access to word definitions as you browse the internet. Here's a detailed description of its features and functionalities:
Key Features:
Instant Definitions:
Highlight any word on a webpage, and the extension will display its definition instantly in a pop-up or sidebar without leaving the page.
Fixes: #376

Type of change

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] I have made this from my own
[x] I have taken help from some online resourses
[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings

ATTACH SCREEN-SHOTS / DEPLOYMENT LINK

It was merged in my fork not to your GGExtension and also I have closed the previous PR this is the only one right now.
Sorry for confusion. I will keep this in mind from the next time.


Heapster not finding kubelets

Hey guys,
I just used the CF template from the website to spin-up a K8 cluster on AWS and it worked flawless. Then I installed heapster on my cluster but unfortunately it isn't able to find the the kubelets to extract the data. I saw that one issue that was fixed end of last year where port 10250 needed to be added to the security group and made sure that this is reflected in the CF template I'm using.
failed to get stats for container "etcd" in pod "kube-system"/"kube-dns-v9-ggbbp"
Any ideas on how I could resolve this or at least where to start debugging it?

@tspecht What docker version are you running?

I'm going to close this due to inactivity. However, just to note, I was wondering about docker version because v1.10 introduced a change to cgroup handling (which resulted in errors similar to what you were seeing). A fix was introduced in the default docker options in CoreOS: https://github.com/coreos/coreos-overlay/pull/1797/files


Add model support for Phi 3.5 MoE

Motivation
Add support for Phi 3.5 MoE
Modifications
Updated mixtral.py with a custom routing function specific to phi3moe
Checklist

[ ] Format your code according to the Contributor Guide.
[ ] Add unit tests as outlined in the Contributor Guide.
[ ] Update documentation as needed, including docstrings or example tutorials.

@merrymercy  I'm still making progress on this and would appreciate your input. I'm using vllm's phi3 moe implementation as a base, and I'm adjusting the parts that differ from mixtral, specifically the custom top k routing mechanism and layer norm. However, I'm encountering some gibberish outputs during generation. Do you have any insights on debugging this further? Thanks a lot!

I am not super familiar with this model. Can you try this interactive debugging approach and compare the activations layer-by-layer? We typically use this method to add new models
https://sgl-project.github.io/references/supported_models.html#interactive-debugging

Thanks @merrymercy, I was able to fix the problem here (was missing the residuals), will push in the fixes shortly, along with the testing code etc.

Do you have any updates?


Connexion Tuya

Hello, I just set up a homebridge from a raspberry pi 3.
I added a certified tuya plugin but when I add my username and my platform at startup I get an error message.
TuyaWebPlatform] Authentication error: Get accesstoken failed. Username or password error!
But my IDs are right
I use Smart life

Hello,
You just skipped 99% of the issue template, please know that I am just a student working on this in my own time. I do not get paid to do this. I am not affiliated with tuya or smartlife.
It is frustrating for me to get this kind of issue where you just expect me to do a lot of work to help you while you failed to follow the issue template, where you didn't want to put any effort in providing me with even the most basic information.

You are probably using sign-in with Apple and/or Google.
Sign-in with apple(or google) is not supported and will not be supported due to limitations imposed by tuya and/or apple.
This is not something I can easily work around.
There are some other users who have had this problem before and they have had varying levels of success. You can read what they did here.

Thanks for this thread!
As an additional note: there is possibility to remove and reset  accessories from app. Also to remove existing account.
I used 10 min mail to create new. Now everything works perfectly. Spend additional 3 min to do this.


Flatten directory structure

This PR flattens the directory structure to change usage as suggested by @mithro in https://github.com/litex-hub/litex-conda-compilers/pull/4

@mithro if this is what you expected, please let me know and I'll merge this and other related PRs

Let's merge this and address issues separately, as other things depend on this moving forward


templates(worker-rust): bump versions and fix lints

supersedes https://github.com/cloudflare/workers-sdk/pull/2812
cc @JacobMGEvans @zebp

Superseded by https://github.com/cloudflare/workers-sdk/pull/2936 - it fixes the same issue as mine but also improves the template overall


Update tested Python and Django versions

We should update the tested Python versions to include py 3.7, 3.8, and 3.9 and probably trim some of the older versions in the list. We can remove Python 2.x support altoghter and clean up any remaining 2.x backwards compatibility-isms left in the code.
Django versions should be trimmed as well 1.8, 1.10 should definitely be removed, and possibly 1.11 since it is now officially EOL.

Fixed in #37


added vos support

vos (Virtual Observatory Software) is added, copied from copied from shapepipe/utilities/canfar.py with minor modifications.
Basic unit tests are implemented.
Closes #7 .

Hi @martinkilbinger nice implementation! Just a few minor things to fix in my opinion.


apt update before install

Does the ubuntu-latest not come with all the most recent updates?

Does the ubuntu-latest not come with all the most recent updates?

Seems not always:
https://github.com/publiccodenet/governance-game/actions/runs/4543487238/jobs/8008232820#step:3:360


Added ITA support

add ITA trained model

The list in the readme is actually somewhat outdated, you can submit a PR to https://github.com/gitmylo/Voice-cloning-quantizers instead, adding the quantizer to the list. Adding it to the list will automatically make it available in audio-webui and any other programs using the list.


Disable multi-sort (shift)

I'm using server-side rendering that does not support multi-column sorting.
How can I disable shift-click multi-sorting?

There's no flag to do this. Is it causing problems (where the code breaks) or is it just an inconvenience? When you say you are using ssr - is that for the whole table or just the data itself ?

@gary-menzel In truth I'm using Algolia for the search results, not SSR, but the application should be similar. The component is re-rendered with any sort change, so results.hits will always be current (ie, I don't want ReactTable to do any sorting of its own).
It doesn't quite break, no, the results are just misleading. The UI allows looks like you're multi-sorting, but given my results, it really isn't.
      ReactDOM.render(
        <ReactTable
          data={results.hits}
          columns={columns}
          manual
          pageSize={null}
          showPagination={false}
          showPageJump={false}
          onSortedChange={onSortedChange}
        />,
        containerNode
      );

Have you considered just disabling the sorting on ReactTable then ?

You could potentially do some clever things by overriding the ThComponent - I was going to suggest looking at replacing the toggleSort prop function to tell it not to take any notice of the shiftKey (which is what triggers the multi sorting). The ThComponent body is not very complex and your replacement would get all the props as well as being able to override toggleSort.
You could also consider just replacing ThComponent completely so it was more aligned with the external package.
This is what the current toggleSort looks like on the component in the code (and is the only place where it does this).....
          toggleSort={e => {
            isSortable && this.sortColumn(column, e.shiftKey)
          }}

You could try overriding this with something like:
getThProps: (e)=>{
// you'd have to work out how to call the sort routine
// better still you could just call your own code instead of using the onSortedChange

// NOTE: because this is called during a render you'd have to work out a sensible way
// to get around the setState loop you might trigger
// but if you called another library that pushes props down, it should not be an issue

}

Thanks! I'll try that approach out.
Would you be open to a PR with a multiSort bool prop defaulting to true?

PRs are always welcome - however, due to the few who can actually do the merge and the deployment of a new version may mean it would take a while to make it into a public build.

I am reopening this as I may be able to sneak it in with some other source code work I am doing at the moment.

Hooray, thanks!

A PR for this change has been submitted.  I am just not sure when it will be merged into a new version.

This should now be released in 6.7.5


add environment variable to run local tests

fixes #921

Hey, thanks for bringing this up! I found myself compiling apiserver from source to get it working properly on darwin/arm64 in the past! I'm wondering if USE_EXISTING_CLUSTER does work out of the box? Or does passing in the config struct override this behavior?
ref: https://book.kubebuilder.io/reference/envtest.html

Hi, yes M1 chips brought developers to the origins. xD
I've tried to inject the variable as it is, and it seems that you are right. USE_EXISTING_CLUSTER works without any alteration by default and also, passing it into config struct will override de behaviour of the variable. So, actually theres no need to add anything more than run tests with USE_EXISTING_CLUSTER="true".
Thank a lot for the heads up.


Only two cards are displayed

Describe the bug
A clear and concise description of what the bug is.
I am running the Shuffle/Example code on my iPhone, ( iphone 11, iOS latest), and only two cards are displayed at a time. Moreover,  even though the delegates are set as:
        cardStack.delegate = self
        cardStack.dataSource = self
        buttonStackView.delegate = self

It seems like only the dataSource delegate is actually responsive, because the delegate functions:
    didSwipeAllCards
   cardStack

do not respond to user-generated events.
To Reproduce
Steps to reproduce the behavior:

Go to 'Example'
Run example
Swipe twice
See no more cards

Expected behavior
A clear and concise description of what you expected to happen:
Example gives you 7 cards in the datasource, so there should be 7 cards. And on card swipe, cardStack should be called, after all cards are swiped, didSwipeAllCards should be called.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Add any other context about the problem here.

@lingxiao are you still seeing this issue on the latest version?

Closing due to inactivity. Feel free to reopen if delegate the issue is still persisting. The note about the number of cards not being right is not a bug. Similar to a UItableView, it can have 10000 rows but you only see a handful at a time


App resets itself on Xamarin.UWP after succesfully logging in..

Xamarin.Auth Issue

[ ] nuget version = <IP_ADDRESS>

Steps to reproduce
1.Successfully login by using OAuth2 with a provider (such as Google)
2. Handle the Completed event
Platform: UWP

[] .NET version = 10.0 - Build 15063

Expected behaviour
The control should be taken back to the caller instead of resetting the app and losing any info, right ?
Actual behavior
After the Completed event finishes (or if I have an await within it) the application gets restarted as in the App class (Xamarin Forms) gets instantiated, reinitializing the components and the MainPage
This is the point where I handle the Completed event

After the previous statement gets finished  the app itself gets resetted...

What am I not handling ?
I've attached the Main Xamarin Forms project
XamarinTestApp.zip

EDIT 01 I've found out a fix but I do fear that it might have consequences. I did use NavigationCacheMode="Enabled" instead of it's default, 'Cancel'.
This will basically keep a cached version of the instance once I leave it's context and go to another ContentPage/Page/Frame. Because navigation in UWP doesn't happen like in Xamarin, you have to specify frame.Navigate(typeof(targetPage),args) so you'll prolly have to handle the cache for each page (I guess)
What worries me is that the MainPage and by using this setting from UWP and when the LoadApplication(new SharedProj.App()) this setting will be inherited somewhat by any subsequent ContentPages which might cause issues with the app performance ?
Going to do some tests to check my supposition

<forms:WindowsPage
    x:Class="AnonymousCheckerApp.UWP.MainPage"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:forms="using:Xamarin.Forms.Platform.UWP"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:local="using:AnonymousCheckerApp.UWP"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    Background="{ThemeResource ApplicationPageBackgroundThemeBrush}"
    NavigationCacheMode="Enabled"
    >

@ExtremeSwat
To speed things out can you provide me minimal sample for triaging?
Thanks

XamarinTestApp.zip
I've uploaded the main project only. (XForms)
If you need the whole solution, I've uploaded it to OneDrive
https://softbiz1-my.sharepoint.com/personal/edward_butoiu_cogito-erp_ro/_layouts/15/guestaccess.aspx?docid=14a647776ce304dbbaac4991bfb3d46b4&authkey=AWUWhmixLnQ45pwM6_NgJ9g

Just want to bump this a bit. I experience the same problem. Feels like one of the more critical UWP-issues. Please fix.

@ExtremeSwat @Brosten  could you check and see if this is still an issue with the latest version
Regards

@newky2k Yes, this is still an issue that holds me back from using Xamarin Auth on UWP (I'm using it for iOS and Android...)

@Brosten  Thanks for the update i'll ask @moljac  to look into.

Glad I found this issue. Thought I was the only one for a while. The temporary fix of setting NavigationCacheMode="Enabled" is good enough for now (thanks for that). I'll be following this thread for progress updates.


Remove zat migrate and all associated options and tests from ZAT

:v:
/cc @zendesk/vegemite
@zendesk/apps-migration
Tasks

[x] Remove zat migrate command and associated methods
[x] Remove tests for zat migrate

References

JIRA: https://zendesk.atlassian.net/browse/OFFAPPS-1066

Risks

[low] Complete remove zat migrate command and tests, without touching any of other functions.

I was just thinking, we don't have other tools assuming this command exists? I don't believe much would be relying on it, but if it's the case shouldn't we do some kind of deprecation warning?

good point, not that I know of, to be confirmed with vegemite.


Create Contribution Guidelines Page

We should create a contributing guidelines page in the github repository and link it to a contributions section in the repository readme. The design of this should be similar to what we have in the python driver and it should be ultimately be the primary resource for anyone working on the driver internal or external

Some additions were included in https://github.com/vertica/vertica-nodejs/pull/93


Upgrading from <IP_ADDRESS>228 (any issues?)

Just wondering if any issues upgrading to the latest version from <IP_ADDRESS>228?
Thanks in advance.

Not issues per se, but you should check: https://github.com/PKISharp/win-acme/wiki/Upgrades
Also the --san switch was removed 1.9.4


Server: expired message cleaner cleanup

Simplifies some of the timing code on the expired message cleaner. No more 2 level check for slow vs idle. Just sleep big when the expired row count is less than the batch size.

Seems ok, but why do we need to simplify here?

Seems ok, but why do we need to simplify here?

There was just a lot of added line noise for what is today a much more simple check. If the difference in behavior is zero between an empty poll and a below-batch size poll, then there's no point in having independent branches for them.


fixes #1922 CRUD panel List Modal not applying table-striped properly

Thank you @juventus18 !
You're right, that was a mistake. I've merged your PR, because it's the right way to do it, but I've decided to eliminate the table-striped class after all, and go with table-hover. I think it makes for a cleaner look, while still being able to distinguish columns one from the other.
The fix will be tagged and available with composer update later today, after I bundle it with a few more non-breaking changes.
Thanks again, cheers!


XCoordinatorRx can't be built with Xcode 11

It looks like there is a problem to build XCoordinatorRx from Carthage

Hey, thanks for catching that one! Apparently a simple swift package generate-xcodeproj fixes the problem...

thank you the update, unfortunately the issues still persists with version 2.0.4 . I am using Xcode 11.1

I tried it yesterday with the most recent stable version of Xcode, so it might be a Xcode beta bug. Can you check it again with a stable version of Xcode? If you can reproduce it there, I will have a deeper look.

I'm using Xcode 11.1 GM Seed, not beta.
It is quite easy to reproduce, just create a Carfile with the following content:
github "quickbirdstudios/XCoordinator" ~> 2.0

and run
carthage update

you will see the error.
I've just play around with the bug a little bit. I think the problem is that the source code of RxSwift are not checked out correctly. If I go to Carthage/Checkouts/XCoordinator and run swift package update, I can open XCoordinator.xcodeproj directly and compile XCoordinatorRx successfully.
I doubt that Carthage currently supports this kind of Swift Package Manager setup.

ok, for some reason, my latest tries also failed even though yesterday I somehow got it to build...
I dove a little deeper into the problem and now tried adding a Build Script Phase for running swift package update, which you can find on the branch fix/carthage-xcode11. It worked three times in a row for me, however since the last release of XCoordinator did not solve the problem, it would be nice, if you could confirm whether it works now or not. It failed once after adding the build phase when it built schemes in a different order, however I could no longer reproduce it later.
I ran
rm Cartfile.resolved && rm -rf Carthage && carthage update --platform iOS

with a Cartfile only containing
github "quickbirdstudios/XCoordinator" "fix/carthage-xcode11"

I really hope this solves the problem, since I'm not quite sure how to solve it otherwise. I also searched for similar problems and only found workarounds where swift package generate-xcodeproj is called manually at some point... Do you have any additional ideas on how to solve this?

Is there a way to force that order for Carthage?

I don't have any solution for this either.
Maybe it is also time to move to Swift Package Manager instead of using Carthage :)

I will try to provide binaries for the upcoming releases - however it is definitely a good idea to switch to SwiftPM. If there is more interest into fixing this issue for other users, feel free to contact me, since otherwise I would not pursue any further with fixing this issue.


External Programs - File menu does not show all files/all applications

Godot version
v4.0.1.rc1.mono.official [d23922ffe]
System information
macOS 13.2.1 (22D68) on MacBook Pro 16 - 2021 - with M1 Max, 64GB
Issue description

When opening Editor -> Editor Settings... at FileSystem -> External Programs, I cannot assign an external application for any of the four options. The Open a File menu does only show a hand full of .app files. Applications like, e.g., Affinity Designer or Affinity Photo are not on the list.
The filter option is set to All Files (*), but still unsuccessful.
I've encountered this issue on Godot 4.0 stable, firstly, and it still seems to persist in the 4.0.1 RC1.
Edit: The Show hidden files option does not change anything.
Steps to reproduce
As mentioned in the issue description.
Minimal reproduction project
any project should work

This may be due to macOS sandbox limitations.
cc @bruvzg

Godot file dialog shows real file as is (so it will show file names not bundle display name, system apps will be in the /System/Applications, etc.), Finder merge all applications into a single list. For the same behavior, we'll need to use a native file dialog (https://github.com/godotengine/godot/pull/47499). Also, most macOS's apps are usually installed in the /Applications not int the /Users/*/Applications.
As a workaround, to get the real file location you can right-click on the required app in the Finder, select Get Info, right-click on the Where: select Copy as Pathname and paste it into Godot file dialog.


Release 3.0.12

Release 3.0.12
Changes
FIXME - massage this section by hand to produce a summary please

versions: Update CC assets
exec: Fix "docker exec --user"
vendor: Update virtcontainers vendoring
centos: Update CentOS documentation
doc: Update README for "cc-check"
Improve doc for debug
docs: Add documentation on how to pass devices with --device.
docs: Add SLES installation guide

Shortlog
54a5018 exec: Fix "docker exec --user"
ecaac82 exec: Comments
c833c6b config: Update proxy config
e96dd3b vendor: Update virtcontainers vendoring
9d586c7 centos: Update CentOS documentation
95255b0 doc: Update README for "cc-check"
56aa874 doc: Update logging and debug docs based on review
0bedb71 doc: Update agent and kernel debug documents
ef02de7 doc: Improve debug and logging details
f4e26f9 doc: Use colon for consistency
2fcfa80 docs: Add documentation on how to pass devices with --device.
73fc405 docs: Add SLES installation guide
Compatibility with Docker
Clear Containers 3.0.12 is compatible with Docker v17.09-ce
OCI Runtime Specification
Clear Containers 3.0.12 support the OCI Runtime Specification v1.0.0-rc5
Clear Linux Containers image
Clear Containers 3.0.12 requires at least Clear Linux containers image 19790
Clear Linux Containers Kernel
Clear Containers 3.0.12 requires at least Clear Linux Containers  kernel v4.9.60-83.container
Installation

Ubuntu
Fedora
Developers

Issues & limitations
Docker swarm support
See issue #771 for more
Networking
Adding networks dynamically
Resource management
docker run --cpus=
See issue #341 for more information.
docker run --kernel-memory=
See issue #388 for more information.
shm
cgroup constraints
Capabilities
See issue #51 for more information.
sysctl
tmpfs
Other
checkpoint and restore
docker stats
See issue #200 for more information.
runtime commands
ps command
See issue #95 for more information.
events command
See issue #379 for more information.
update command
See issue #380 for more information.


Recommendation System

I have worked on a content-based recommendation system, please review the pull request and suggest the required changes.

@ayushgoyal9991 add readme.md file & explain the working of ur project into it,

@Niketkumardheeryan I have added the readme file.

@Niketkumardheeryan please review the merge request and what do I need to do to get those 2 checks?


Allow for custom colours in spell instructions

A new section could be used to specify metadata like config: or about: and the option to specify colour could be in there.

request for clarification
could the syntax for how metadata should be specified be given? (preferably with examples)

Specification
I hadn't thought about it until now, but I think a good way to do it is by equating it. The format being a variable on the left-hand side and have a value on the right. Values can be:

Strings: in the form "my string"
Numbers: they should all be interpreted as f64s
Lists: in the form [my_item, another_item]

The Items in lists can be any other data type
Spacing doens't matter

Booleans: true or false (capitalisation doesn't matter)
Dictionaries: in the form {key, value}

The keys can only be strings and numbers, while values can be any other data type

Spacing doesn't matter, and possible start of a new variable should be donated by a new line. I say possible as it doesn't matter if there are multiple new lines between variables.
Specifically for colours, it should be a list of three numbers representing red, green and blue in that order. The numbers can range from 0 to 1. The color variable can be either the American English or British English spelling, the priority to implement is the American English one. Since only color is planned right now, the only values that need implementing currently are Lists and Numbers.
I have also decided on about as the section name.
Realistic example
about:
color = [0.4, 0, 0.8]

Limit testing example
  about    :
     color      =        [   0.212,    1,2.3]

Multiple (non planned) variables
about:
color = [1, 1, 1]
something_else = {"something": 4, "something_else": 6.3}
more = true


https://wiki.developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context$history

Request type

[] Please close this issue, I accidentally submitted it without adding any details
[ ] New documentation
[X ] Correction or update

Details

The page says "using display: flow-foot" instead of "using display: flow-root"

https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context

Fixed, thanks for filing!


How to get user groups

How can I get the groups of a user when getting the TokenPair?
This is what I tried but I get an empty groups list as result for user = UserSchema.from_orm(self._user)
from django.contrib.auth import get_user_model
from django.contrib.auth.models import Group
from ninja_extra import api_controller, route
from ninja_jwt.controller import TokenObtainPairController
from ninja_jwt.schema import TokenObtainPairSerializer
from ninja_schema import ModelSchema, Schema

User = get_user_model()

class GroupSchema(ModelSchema):
    class Config:
        model = Group
        include = ("name",)

class UserSchema(Schema):
    first_name: str
    last_name: str
    username: str
    email: str
    groups: list[GroupSchema]

class TokenObtainPairOutSchema(Schema):
    refresh: str
    access: str
    user: UserSchema

class TokenObtainPairSchema(TokenObtainPairSerializer):
    def output_schema(self):
        out_dict = self.get_response_schema_init_kwargs()
        user = UserSchema.from_orm(self._user)
        out_dict.update(user=user)
        return TokenObtainPairOutSchema(**out_dict)

@api_controller("/auth/token", tags=["Auth"])
class CustomTokenObtainPairController(TokenObtainPairController):
    auto_import = True
    @route.post("/pair", response=TokenObtainPairOutSchema, url_name="token_obtain_pair")
    def obtain_token(self, user_token: TokenObtainPairSchema):
        return user_token.output_schema()

@Bouni we are not joining Group table when fetching for user for authentication. But this is supposed to be lazy loaded though. Have you checked if the user belongs to a group?

I ran your code and I got this. I think the user is not assigned to a group
{
  "refresh": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoicmVmcmVzaCIsImV4cCI6MTcwNTA3MzM3OCwiaWF0IjoxNzA0OTg2OTc4LCJqdGkiOiI5MWM4MWQyYmU0MmQ0YjI4OWM0ZWUwMGI0NzhkZGVkMyIsInVzZXJfaWQiOjF9.y-Z2kk5nHfGcPxixI3WgNNLwCW9EcY2LVgJ3pxuWfmk",
  "access": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJ0b2tlbl90eXBlIjoiYWNjZXNzIiwiZXhwIjoxNzA0OTg3Mjc4LCJpYXQiOjE3MDQ5ODY5NzgsImp0aSI6IjExYjA4OWM0YWI1NjRhNThhMjBkM2Y5MGVkN2M1NjFmIiwidXNlcl9pZCI6MX0.SLT4YbmdLtzmx4zcrcxH9hKnN08TohM-eB4whDVCSCk",
  "user": {
    "first_name": "",
    "last_name": "",
    "username": "person.username_1",
    "email"<EMAIL_ADDRESS>    "groups": [
      {
        "name": "client"
      },
      {
        "name": "group1"
      }
    ]
  }
}

🤔 I have to check tomorrow.  I prepared the group but did not assign it to the user 😅

@Bouni You are not an idiot... Its just a human error... It happens


[OF-1419] feat: hotspot names support the space character

CSP client applications can now reason about sequence keys that include characters usually reserved in URIs, such as spaces.
As part of this work, we have introduced a new set of encoding source files for future encode/decode behaviour.
During development, we discovered that there are some service endpoints currently expecting the provided keys to be doubly encoded. The current approach takes this into account and double-encodes where necessary from a services point of view.

WASM check is failing as this change depends on Poco URL formatting (we strip Poco out of WASM builds).

Poco dependency for this change has now been stripped out. Instead of using Poco URI encoding, we use simple hand-rolled version instead.


Basic Support for ESP32S2

Get to the point that at least "hello_world" can be flashed and runs. Ideally also the other examples besides "blinky" (since GPIO will be a bigger task)
This includes

partly #1
https://github.com/esp-rs/xtensa-lx-rt/issues/26

Closed by #12


update to Profiles to include Pierre Roman

OPS Build status updates of commit 45c9a42:
:clock10: Preparing: average preparing time is 40 sec(s)

OPS Build status updates of commit 45c9a42:
:x: Validation status: errors
Please follow instructions here which may help to resolve issue.

File
Status
Preview URL
Details

:x:Error

Details

[Error] Cannot sync git repo to specified state. Please make sure the pull request is mergeable. Details: Git merge results in conflict, repository remote url: https://github.com/MicrosoftDocs/cloud-developer-advocates, working directory: W:\2rbq-s, target branch: master, target branch commit: 8b592e1ad2563a502713f089facc1b918ba2bcad, source branch: b34010c605564a77a4859af1674f1228/master, source branch commit: .

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


HTTPClient fixes for EOF read, chunked transfer encoding

Fix HTTPClient Connection: close mode (was disconnecting when the server held back responding like when using event stream). Closes #25985 .
Fix HTTPClient keep alive with chunked encoding.
We need to consume the trailer part and final CRLF after last chunk as per RFC 7230 section 4.1:
chunked-body   = *chunk
                 last-chunk
                 trailer-part
                 CRLF

We do not return the trailer part, just consume it allowing following requests to work as expected when using keep alive.

Thanks!

@RandomShaper I made them few months ago (I plan to change HTTPClient to use an external parser which I can also use for server).
Have a look at https://github.com/Faless/gd-tests and let me know what you think

Now that you mention it, I remember you talked about it during the Sprint. :)


Create fresh solution + projects

Purposes:

move to .NET 5
get rid of leftover garbage files
ensure we're working with the newest monogame templates

👏


how 2 start?

edited constants.py

Fixed :)

are these just unimplemented or smth

Thanks for reporting. All the commands listed with help are implemented.

I updated the module to v0.0.4 on PyPI and fixed the bugs you've encountered above. If you reinstall the module in v0.0.4, all the issues should be resolved:
$ pip uninstall amiya -y
$ pip install amiya==0.0.4

Once the installation is completed, run
$ amiya

And then follow this to add an application:

Quotes around the path don't matter. Not including the quotes will work as well.

To list all the apps added, run show-apps.

To delete an app that you don't want, run remove-app:

Unfortunately, the module is still in development so there will be bugs here and there. I'll add some documentation for this module sometime soon.

very nice, thx
btw, how 2 save recording?

i saw tkinter in the automation recorder but no gui shows up

tried to not touch anything and got this even if the app launches

That's strange. When running record-auto, the application should first start and then prompt you that the recording has started.
However, it seems that the module stopped after it tried to start the application.
Can you show me the output of running
$ amiya dev --isadmin

and then
$ amiya record-auto

I'll also leave some simple doc for these commands below.

To record an automation "sequence" of actions, run:
$ record-auto

Then follow the promoted steps to start a recording. Once the recording starts, a small window on the screen should pop up, indicating that the recording has started.
The recording will capture key clicks and mouse clicks. I'm still working on capturing a combination of multiple keys so only single clicks are supported at the moment
Once you are ready to stop the recording, click the "stop recording" button on the pop-up window. It will automatically save the recording.

To run the recording, run:
$ run-auto <sequence_name>

The optional arguments can be pulled up using run-auto --help. Those options are sometimes useful.
The module is smart enough to identify the application's window and ensure that the application is always focused during the run (or else it would stop automatically to ensure it's running on a different application).
The window size of the application also doesn't matter. It's capable of calculating the position of the mouse clicks even if the size of the window changes.

About the error where the app starts but shows that the application failed to start, I'll take a look at that today.
Right now, the module has a timeout of 30 seconds to check if the app started successfully. If the app's process doesn't initialize in that timeframe, it'll think that the app didn't start successfully.

Also, if you have discord, I can add you there to help more efficiently.

my discord is hcommak, ill record some tests in a few hrs

Sorry, just saw your message over discord and replied to you there. Let me know if you need any other help or have any other suggestions.
I'm currently working on ver0.0.5 so if there's anything you'd like me to add, I'm more than happy to push them out in this upcoming version.


Keyword part breaks machine

It fires a request for http://localhost:8080/api/search?keyword=[[keyword]]. Keyword isn't a valid param. It should be q

Turned out to be a connection error in the devtools


Update hdinsight-release-notes.md

Changed from
You can get the Ambari version from Ambari UI > About.
To
You can verify the stack version (HDInsight 4.1) in Ambari (Ambari-->User-->Versions)

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

@csunilkumar Thanks for this update.
#sign-off


zulrah-helper: Dark mode

add dark mode image support

released in v1.1.0

Don't know if you'll see this here, but absolutely love this latest release, thank you very much! :)

@dion-perez No problem!!


Add java -version info to TAP files

This is to capture the output from a call to java -version so that it is easy to confirm what product was under test in the creation of the TAP file.  For example:
openjdk version "17.0.3" 2022-04-19
OpenJDK Runtime Environment Temurin-17.0.3+7 (build 17.0.3+7)
OpenJDK 64-Bit Server VM Temurin-17.0.3+7 (build 17.0.3+7, mixed mode, sharing)

@smlambert if nothing more needed for this issue, it can be closed


Run 'cargo package' in CI

Should verify the .crate file sent to crates.io can at least be built, which should catch things like the docs.rs build failure, as discussed in #645 and #631

Would this actually catch the docs.rs failure? I'm surprised. Cargo does cargo package as part of publishing, so it doesn't make sense to me that it would, when it (presumably) wasn't caught as part of the publish.

Ah, sorry, I should have explained better: it would catch the specific failure that caused #631
The problem was some files needed for the freetype weren't included in the .crate package
Then given we build the docs with various features enabled, the first thing to notice the problem was the docs.rs build (since that pulls from crates.io, not the git repo)
However the problem was also happen if someone used imgui like imgui = {version = "0.8.2", features = ["freetype"]}

Cargo does cargo package as part of publishing, so it doesn't make sense to me that it would, when it (presumably) wasn't caught as part of the publish

This is correct, but only if there are no features :cry: (i.e publishing only checks cargo build, not cargo build --features $x)

It is not easy to do cargo package -p imgui without publishing the dependant imgui-sys to crates.io (adding the --no-verify flag defeats the purpose of this since it skips building the crate)
There's an existing issue at on https://github.com/rust-lang/cargo/issues/9260 which I'll add a note to
There's probably workarounds (like setting up a temporary private package registry or something), but not worthwhile given the complexity versus the minor severity of the problem it might catch


Fix incompatibility with oauth2client v2.0.0

A few modules moved to a contrib subpackage of oauth2client and sample code needed updating

I think it's also important to specify the requirements version to prevent this happen in the future.
See #184.

Thanks for the fixes! Please squash commits (there's no need for project history to reflect how you drafted the change) and make sure your commit log message conforms to the commit log message guidelines.

Thanks for the tips!


Does kyuubi support analysis of zeppelin

Code of Conduct

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

Search before asking

[X] I have searched in the issues and found no similar issues.

Describe the feature
Zeppelin is a visual analysis tool that submits Spark code and SparkSQL online
Motivation
Zeppelin, as the main analysis tool for Spark, is more user-friendly for the development of Kyuubi if it supports Spark SQL well and supports context
Describe the solution
Add zeppelin code
Additional context
zeppelin
Are you willing to submit PR?

[ ] Yes. I would be willing to submit a PR with guidance from the Kyuubi community to improve.
[ ] No. I cannot submit a PR at this time.

... if it supports Spark SQL well and supports context

It works out-of-box for SQL cases, just like using Zeppelin to connect HiveServer2. What does
"supports context" means?

SQL
Zeppelin has fragments that can pass context between them, such as the output of the previous SQL result, which can be used as input to the next SQL

Not yet. But we definitely have a plan to enhance the integration with Zeppelin, this may occur 2024H1


rustup

@bors r+

:pushpin: Commit c0f1670e47ac00c08afcf953cdf3060554b231ed has been approved by RalfJung

:hourglass: Testing commit c0f1670e47ac00c08afcf953cdf3060554b231ed with merge cac6759451bd2d6c96e9f5781d7b36667fc31e1d...

:sunny: Test successful - checks-actions
Approved by: RalfJung
Pushing cac6759451bd2d6c96e9f5781d7b36667fc31e1d to master...


Disable Future dates

How can I disable future dates

@VinitVishwanathan
Does the future dates mean the dates in the next month? If it is the case, the picker right now could not disable those dates.


Deprecation warnings and bad SHA

Just npm installed the package and got
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm ERR! code EINTEGRITY
npm ERR! sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== integrity checksum failed when using sha512: wanted sha512-aAWcW57uxVNrQZqFXjITpW3sIUQmHGG3qSb9mUah9MgMC4NeWhNOlNjXEYq3HjRAvL6arUviZGGJsBg6z0zsWA== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg== integrity checksum failed when using sha512: wanted sha512-JMrvUwE54emCYWlTI+hGrGv5I8dEwmco/00EvkzIIsR7MqrHonbD9pO2MOfFnpFntl7ecpZs+3mW+XbQZu9QCg== but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg==. (0 bytes)
npm ERR! code EINTEGRITY
npm ERR! sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= integrity checksum failed when using sha1: wanted sha1-sr9O6FFKrmFltIF4KdIbLvSZBOw= but got sha512-z4PhNX7vuL3xVChQ1m2AB9Yg5AULVxXcg/SpIdNs6c5H0NE8XYXysP+DGNKHfuwvY7kxvUdBeoGlODJ6+SfaPg== sha1-2jmj7l5rSw0yVb/vlWAYkK/YBwk=. (0 bytes)
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported

That's a little bit scary.

Deprecation warnings are expected and not all that concerning to me. The bad SHA warnings appear to be a local issue on your end:
$ npm install matrix-bot-sdk
npm WARN deprecated<EMAIL_ADDRESS>request-promise has been deprecated because it extends the now deprecated request package, see https://github.com/request/request/issues/3142
npm WARN deprecated<EMAIL_ADDRESS>this library is no longer supported
npm WARN deprecated<EMAIL_ADDRESS>Please upgrade  to version 7 or higher.  Older versions may use Math.random() in certain circumstances, which is known to be problematic.  See https://v8.dev/blog/math-random for details.
npm WARN deprecated<EMAIL_ADDRESS>request has been deprecated, see https://github.com/request/request/issues/3142

added 154 packages, and audited 155 packages in 4s

12 packages are looking for funding
  run `npm fund` for details

found 0 vulnerabilities

Presuming local issue.


Doesn't obey xkb options

OS or distro: EndeavourOS Gnome 40
neoray version: v0.1.1 (build from git)

Describe the bug
Neoray does not obey my swapped capslock and control keys. Keybindings with C- do not work with capslock, but with the actual Ctrl key. Which then also toggles capslock.
Steps to reproduce
In terminal, execute:
dconf write /org/gnome/desktop/input-sources/xkb-options "['ctrl:swapcaps']"

Now the left Ctrl key should act as CapsLock, CapsLock should act as Ctrl.
In neoray, CapsLock does nothing, LCtrl acts as both Ctrl and CapsLock.
Your neoray config in init.vim (Only the part that concerns neoray!)
Tested with a clean config directory.
Debug output (you can generate starting neoray with --verbose option)
[DEBUG] [NVIM] Neovim started with command: nvim --embed
[TRACE] [NVIM] Neovim version 0.5.1
[TRACE] [NEORAY] Glfw version: 3.3.4 X11 GLX EGL OSMesa clock_gettime evdev
[DEBUG] [NEORAY] Monitor count: 1 Selected monitor: XWAYLAND0
[DEBUG] [NEORAY] Video mode &{Width:1366 Height:768 RedBits:8 GreenBits:8 BlueBits:8 RefreshRate:60}
[DEBUG] [NEORAY] Glfw window created with size 800 600
[DEBUG] [NEORAY] Window content scale is: 1.00, 1.00
[DEBUG] [NEORAY] Input callbacks are initialized.
[DEBUG] [RENDERER] Initializing opengl.
[TRACE] [RENDERER] Opengl Version: 4.5 (Core Profile) Mesa 21.2.3
[DEBUG] [RENDERER] Vendor: Intel Open Source Technology Center
[DEBUG] [RENDERER] Renderer: Mesa DRI Intel(R) HD Graphics 4400 (HSW GT2)
[DEBUG] [RENDERER] GLSL: 4.50
[DEBUG] [NEORAY] Loading default font.
[DEBUG] [NEORAY] Default font loaded.
[DEBUG] [NVIM] Attached to neovim as an ui client.
[DEBUG] [NEORAY] Checking user options.
[DEBUG] [NVIM] Option CursorAnimTime is 0
[DEBUG] [NVIM] Option ContextMenuOn is false
[DEBUG] [NEORAY] Window is now visible.
[TRACE] [PERFORMANCE] Start time: 370.960171ms
[DEBUG] [NEORAY] Loading font JetBrainsMono with size 10.5
[TRACE] [NEORAY] Regular: JetBrainsMono-Regular.ttf
[TRACE] [NEORAY] Bold Italic: JetBrainsMono-BoldItalic.ttf
[TRACE] [NEORAY] Italic: JetBrainsMono-Italic.ttf
[TRACE] [NEORAY] Bold: JetBrainsMono-Bold.ttf
[TRACE] [NVIM] Neovim child process closed.
[TRACE] [PERFORMANCE] Program finished. Total execution time: 15.229577914s
[DEBUG] [NEORAY] Window destroyed.
[DEBUG] [NEORAY] Glfw terminated.

This is because neoray activate/deactive modifiers on keypresses eg. Left ctrl always activate ctrl, doesn't obey system modifier settings for allowing more key combinations (Look issue #5). Solving this issue is easy but brokes ctrl alt key combinations. I need to rethink and rewrite entire input system which requires some time. Thanks for your patience.

I tried to fix this issue with an easy way, but not tested yet. Please try with latest patch and report to me.

Thank you for the fix, it works now.


fix event emitter memory leak by only registering once

This may be a bit of a hack, but it stops the SIGINT listener getting registered every run().

Updated. The eslint-disable-line is apparently because of
✖  72:7  Only use process.exit() in CLI apps. Instead, throw an error.  xo/no-process-exit

An alternative to this listener (which is pretty hacky in itself, it doesn't handle other terminating signals) could be process.on("beforeExit"), but code needs to synchronous there. Just a suggestion for the future :)

Thanks :)


[FEATURE] Another profile page layout

Description
We currently list links on the profile page and have tabs for events, milestones, testimonials - it would be good to have a 2nd layout option
For example a grid layout of links or possibly 2 columns, links on the left and milestones on the right
We have access to Tailwind paid components we can use https://tailwindui.com/components
This is the file you will probably start working on components/user/UserPage.js
Screenshots
No response
Additional information
No response

Hi! I would like to work on this. Please assign me this issue.

Hi! I would like to work on this. Please assign me this issue.

@niranjank2022 I will assign this to you

Could this be done in the docs as well?

Could this be done in the docs as well?

what do you mean?

Hi! I would like to work on this. Please assign me this issue.

@niranjank2022 I will assign this to you

Thank you!

Description
We currently list links on the profile page and have tabs for events, milestones, testimonials - it would be good to have a 2nd layout option
Maybe grid layout of links or possibly 2 columns, links on the left and milestones on the right
We have access to Tailwind paid components we can use https://tailwindui.com/components
Screenshots
No response
Additional information
No response

I have a doubt. Can you please tell which folder or file I have to work on?

I think I roughly understand what needs to be done here. But before committing to making code changes, how about we discuss the ui via mockup figma designs or something? @eddiejaoude @SaraJaoude

I have a doubt. Can you please tell which folder or file I have to work on?

I will update the description

I think I roughly understand what needs to be done here. But before committing to making code changes, how about we discuss the ui via mockup figma designs or something? @eddiejaoude @SaraJaoude

This issue is already assigned

I have a doubt. Can you please tell which folder or file I have to work on?

I will update the description @niranjank2022

I think I roughly understand what needs to be done here. But before committing to making code changes, how about we discuss the ui via mockup figma designs or something? @eddiejaoude @SaraJaoude

@Dev-Arhaan Mockups are a good idea 👍 btw this issue is already assigned

How about @niranjank2022 and I collaborate on this project? Should we discuss the mockup ui on discord?

@Dev-Arhaan I can't decide that, you need to ask @niranjank2022, they might already have some ideas
But we will always add more layouts, so you can come up with a mock up and share it here - if it isn't used on this issue, will be used on another

How about @niranjank2022 and I collaborate on this project? Should we discuss the mockup ui on discord?

I open to collaboration. We can surely discuss!

I'm not able to open User's page in my localhost server? It shows not found? What I need to do?

From the docs you will need to load the data NOTE: When you have your environment running the database will be empty. You need to visit the path /api/system/reload?secret=development to load the json files https://linkfree.io/docs/environments/local-development

The mobile UI don't need to change. I think tabs are great for mobile devices.
Or maybe instead of drop down on the mobile, we put two buttons on top with links on left and mile stone on the right.
Beneath these buttons, we can first put all the links and then beneath the links section, we can put the milestones section
What do you think @eddiejaoude

Something like this roughly

Great sketch  @Dev-Arhaan it makes it much easier to understand 👍 yes I like making it on a single longer page for mobile without the drop down

A doubt regarding the layout design.
Is this is what you have mentioned that Links to be on left side and Milestones on the right side?

A doubt regarding the layout design. Is this is what you have mentioned that Links to be on left side and Milestones on the right side?

If this is the case, where would Events and Testimonials come?

I think they would come below, as another 2 boxes (for desktop), for mobile, they would have be to all under each other in a single column

I think they would come below, as another 2 boxes (for desktop), for mobile, they would have be to all under each other in a single column

can you expand on this (DeskTop version) a bit more eddie? Also I'm Giving my final end term exams, I will start contributing regularly after this week

Desktop will be a 2 column layout, with 2 more boxes below

Hey! Is anyone working on it now? Or I can work on it?

Hey! Is anyone working on it now? Or I can work on it? Because @Dev-Arhaan has exams that's why I am asking

@Vishrut19 as you can see from the comment history there was collaboration only yesterday so this is being worked on.  Please also do not make assumptions as to whether assignees have time to work on an issue or not - all this just adds unnecessary notifications and noise. If there is no activity for two weeks then maintainers will look to assign issues to someone else. I am sending you our Contributing Guide once again - I would ask that you read through it as it will help you with contributing to this project.


About the error "This page could not be found" in the next() in router.beforeEach()

Version
v1.0.0
Reproduction link
https://github.com/xachary/test-beforeeach-next
Steps to reproduce
See the README.md  about Setup and Run please.
Bug in Nuxt:

open http://localhost:3001/
click "1", that will stay page "index", because run "next('/one')" in router.beforeEach().
click "2", that will go to page "two", because run "next()" in router.beforeEach().
click "back" button of the browser, back to page "index".
click "3", that will redirect "http://localhost:3001/one", then it will show "This page could not be found" error, also run "next('/one')" in router.beforeEach() by the way(wrong).
type "http://localhost:3001/one" in browser, the same as step 4.

Compare without Nuxt:

open http://localhost:7777/
click "1", that will stay page "index", because run "next('/one')" in router.beforeEach().
click "2", that will go to page "two", because run "next()" in router.beforeEach().
click "back" button of the browser, back to page "index".
click "3", that will redirect "http://localhost:7777/one", then stay in page "index"(correct).
type "http://localhost:3001/one" in browser, the same as step 4.

What is expected ?
The step 4 and 5 with Nuxt is same as the step 4 and 5 without Nuxt.
What is actually happening?
It will show "This page could not be found" error in the step 4 and 5 in with Nuxt.
Additional comments?
When error, in client.js:424 (case 18:), the router.currentRoute is always '/', not the target route path.

This bug report is available on Nuxt community (#c7477)

Hi @xachary
Thank you for the reproduction repo, it helps a lot.
In nuxt.js, we do some special stuff before mounting the app in SPA mode, so some things differs, also, we don't recommend to use router.beforeEach and using next because of our internal logic with fetch/asyncData.
You can do the same behaviour with the nuxt middleware.
middleware/redirect.js:
export default function ({ route, redirect }) {
  if (route.path === '/one') {
    redirect('/')
  }
}

nuxt.config.js:
// ...
router: {
  middleware: ['redirect']
}
// ...

And voila :)