Permanent "Ring to Open" as a button in homekit

Dear Erik
It would be great to have a seperate Button in HomeKit to switch on and off the permanent "Ring to Open".
Many thanks ...
Kind regards
René

The function is already there, but you need to use Eve for that.  Create a scene in Eve if you want to control this from Home.

The function is already there, but you need to use Eve for that.  Create a scene in Eve if you want to control this from Home.

Okay cool this is working, but if I switch the "Continous Mode" to ON means the "Opener"-Door is alway open.
Right?
The Button in Homekit shows me the "Opener"-Door is closed. Is this not wrong?

Okay cool this is working, but if I switch the "Continous Mode" to ON means the "Opener"-Door is alway open.
Right?
The Button in Homekit shows me the "Opener"-Door is closed. Is this not wrong?

The Opener doesn’t know whether the door is open or closed.  It only knows whether it’s buzzing the door lock.  Homebridge Hue shows the Lock Mechanism as unlocked while buzzing and as locked when not.  You can set the duration of the buzz in the Nuki app.
As far as I understand, continuous mode simply means permanent ring-to-open.  The Opener buzzes automatically when the doorbell rings.  Normally ring-to-open only works once, it’s reset after the buzz.

The Opener doesn’t know whether the door is open or closed.  It only knows whether it’s buzzing the door lock.  Homebridge Hue shows the Lock Mechanism as unlocked while buzzing and as locked when not.  You can set the duration of the buzz in the Nuki app.
As far as I understand, continuous mode simply means permanent ring-to-open.  The Opener buzzes automatically when the doorbell rings.  Normally ring-to-open only works once, it’s reset after the buzz.


Example html report contains extraneous closing tags

The example report contains extraneous closing
 tags in the tables with passed, inapplicable, and all rules. Excerpt:

            #
            Description
            Axe rule ID
            WCAG

            1
            accesskey attribute value must be unique
            accesskeys
            Best practice

            2
            Active <area> elements must have alternate text
            area-alt
            WCAG 2 Level A, WCAG 1.1.1, WCAG 2.4.4, WCAG 4.1.2

            3
            Elements must only use allowed ARIA attributes
            aria-allowed-attr
            WCAG 2 Level A, WCAG 4.1.2

    ...

Hello @fniessink,
Really appreciate reporting the issue.
It was fixed in v2.2.7 release.
If you want to see what new version may look like, please check the latest GitHub pages that publish the latest example report generated by axe-html-reporter:
https://lpelypenko.github.io/axe-html-reporter/

Hello @fniessink,
The release v2.2.7 introduced a bug that was fixed in https://github.com/lpelypenko/axe-html-reporter/releases/tag/v2.2.9 release.
Please install the latest v2.2.9 to see the updated version with changes related to your reported issue.


Implemented separate Responsive Contact us form : Issue no #18

Before

After

Responsive

Hey @Manishkr1007
I have created a separate "Contact Us" form with a color combination that matches the overall website, and I have also made it responsive. Please add a Level 3 label; I kindly request this.
also add gssoc-ext label,

Hey @Manishkr1007
Plz merge the pr.

Hey @Manishkr1007 @sanjay-kv @devxMani

Please merge my PR

hey you just work on the ui and make it more attractive after that i will assign it level 2 for now it is level 1

@AbhijitMotekar99 @Manishkr1007 bro unhe mat tag kar woh nhi kra rhe merge sanjay kv 😂

Hey @Manishkr1007
Please add labels gssoc-ext and level


Prefer Solargraph from bundle, then fall back to the global Solargraph

Language server
solargraph
Requested feature
Some Ruby applications have Solargraph integrated via Bundler (e.g. added to the applications' Gemfile). In that case, Solargraph should be executed as bundle exec solargraph stdio, and not as solargraph stdio so that Solargraph can additionally report formatting issues using the applications' own configuration (e.g. Rubocop).
This could be implemented as a fallback: If Solargraph is in the Gemfile, then use it, otherwise fall back to the globally installed Solargraph.
Other clients which have this feature
No response

Is there a convenient way lookup that up besides manually searching through the Gemfile for something like ^\s*gem 'solargraph'?

I don't think so. A good heuristic would be to search Gemfile.lock for \s*solargraph (because with Bundler, there is always an automatically generated Gemfile.lock).

If using bundle is a option:
❯ bundle info solargraph
Could not find gem 'solargraph'.
❯ echo $status
7
❯ bundle info colorize # some other gem that is installed

colorize (0.8.1)
Summary: Ruby gem for colorizing text using ANSI escape sequences.
Homepage: http://github.com/fazibear/colorize
Path: /Users/david/.rvm/gems/ruby-2.7.6/gems/colorize-0.8.1

What about
local solargraph_cmd = function()
  local ret_code = nil
  local jid = vim.fn.jobstart("bundle info solargraph", { on_exit = function(_, data) ret_code = data end })
  vim.fn.jobwait({ jid }, 5000)
  if ret_code == 0 then
    return { "bundle", "exec", "solargraph", "stdio" }
  end
  return { "solargraph", "stdio" }
end

Is it possible to rely on the 'useBundler' configuration setting in solargraph's defaults?  It's false by default, but if the user sets this to true, they obviously intend on adding solargraph to their gemfile.  This was possible with COC, and it worked great.
I'm mostly ignorant to the challenges surrounding this from a neovim perspective, but this is the one LSP that I can't seem to get working due to it's sandbox environment.  Any help would be appreciated.

how can set to 'useBundler' configuration?

I have created a plugin that automatically prefixes Ruby LSP server commands with bundle exec.
https://github.com/mihyaeru21/nvim-lspconfig-bundler
If many people want to use it, it might be a better idea to implement it in nvim-lspconfig itself.

I have created a plugin that automatically prefixes Ruby LSP server commands with bundle exec. https://github.com/mihyaeru21/nvim-lspconfig-bundler
If many people want to use it, it might be a better idea to implement it in nvim-lspconfig itself.

FYI, I was able to work around my issues by moving over to mason. The solargraph lsp is handled by a small wrapper script ( $HOME/.local/share/nvim/mason/bin/solargraph) which properly appends the mason solargraph gem location to $GEM_PATH before executing solargraph.
With this setup, solargraph is now capable of detecting plugins like the solargraph-rails gem, which was my original motivation for the useBundler flag.

@mihyaeru21 came here looking for exactly what your plugin offers, thanks for putting it together! seems to me it could be useful in nvim-lsp itself
@AlanWarren do you know where that wrapper comes from? I'm not seeing it in my install or in the mason.nvim repo

Sure, i believe it's generated once you've installed solargraph LSP from the mason UI that you open inside of neovim.
Taking a look at ~/.local/share/nvim/mason/bin and I have symbolic links for each language server that i've installed. lua-language-server, typescript-language-server, solargraph, etc.
The solargraph (relative) symlink points to ../packages/solargraph/solargraph.

The configs in this repo are provided as a starting point. We depend on users (like you) to troubleshoot issues with their specific LSP setups and send improvements.
If you have a usage question, try asking it at:

https://github.com/neovim/neovim/discussions
https://vi.stackexchange.com/

If you found a bug in the core Nvim  vim.lsp module (not part of this repo), the best way to get it fixed is to report to Nvim (not nvim-lspconfig) with:

steps to reproduce it without the particular LSP server and other factors particular to your environment
a failing test case added to lsp_spec.lua, which has code to setup a fake LSP server to simulate various scenarios


Remove Spring 4.2

This is part of KARAF-6722, but doesn’t fix it entirely.
Spring 4.2 is obsolete, no longer maintained upstream.
https://github.com/spring-projects/spring-framework/wiki/Upgrading-to-Spring-Framework-4.x
documents how to upgrade to 4.3, the currently-supported line in the
4.x family.
Signed-off-by: Stephen Kitt<EMAIL_ADDRESS>

Merging manually to fix the conflicts.


Add method to easily mass-create regions

A good way of pushing devs towards a likely easier way to setup a large amount of zones. Updated the README to include this as well. Follows code type-checking and format.

Innovation Inc Thermal Power Plant stores all regions as data with the bounding boxes made from the relevant models. This design requires you to manage your regions along the models, which may be good or bad.

That is a good way of handling setup. Basing loads on camera location along with zone intersections makes it easier to subdivide the regions. This could be converted to automatically add regions based on model bounding boxes instead of requiring you to build your own zones like this would add. Both could co-exist, but there's a cross-over of use cases.

I am still not sure how to feel about dealing with 2 (or 3 if you include the models) sources of truth. You will have your region stored as parts and still need to store the connections somewhere else. The README doesn't provide any guidance on this.

There's probably a better way to handle the For loop in https://github.com/IITPP-Roblox/Region-Culling/pull/1/commits/a299d47ee66187413cd8411400739036939d6761, not completely used for strict types yet.
Added a new test case (it does pass!), updated types, tried to re-elaborate on README (still may need to come back to it), updated RegionState & BufferedRegionState to include the method. Created a working use case in my own world as well.
Please let me know if there is still anything to resolve.


refactor(Symbol): introduce unified Symbol module

closes #844
This PR creates single module for symbols, integrates separated symbol_xxx modules. As mentioned in https://github.com/ReactiveX/RxJS/issues/844 typescript supports es6 global symbol which causes name collision, picked SymbolShim as initial name. Might be better name for module, creating PR to get some suggestions.

@kwonoj would it be possible, while you're looking at this to implement and export a shim factory you can unit test (similar to what I did for Immediate and Map)?
basically it's just:
import {root} from './root';

export function symbolPolyfill(root) {
   // do stuff to create Symbol and patch root
  return Symbol;
}

const Symbol = symbolPolyfill(root);
export Symbol;

from there, you can unit test symbolPolyfill and get coverage on it for various scenarios: (Symbol exists, but iterator doesn't, Symbol exists, but observable doesn't, Symbol.observable does exist, etc)
I realize this is all voluntary, so if you don't have the time, let me know and I'll take a swing at it.

Gladly, I'll try to mimic those behavior and update PR.

Conflicts resolved and merged with 2eb7eec... thanks @kwonoj!


Bugfix: Doesn't crash if reference doesn't exist.

In case an earlier KeyboardAwareScrollView is still active, it may cause textInputRefs to be an array of undefined. This should fix that issue.
In more detail, the error that occurred to me was that I was using https://github.com/wix/react-native-navigation and the KeyboardAwareScrollView from an earlier page was still responding to scroll events and hence passing an array of 'undefined's . This fixed it for me.

thanks for the contribution.
fixed in version 1.1.3 via 6e477f3


revert back to the old JSX transform

Changes
This reverts the new JSX transform added in #2102 that shipped with 3.12.0.
This is because we immediately started receiving reports that it doesn't work for React 17 users that use Webpack 5. I did some digging and found that the React team was made aware of this issue back in 2020, and they willingly decided not to fix it until v18 (bad decision from them imo). And yes, this means their lofty claims about the new transform being supported in older React versions are untrue.
The main reason for using the new JSX transform was that it was "required" for React 19. However, upon reading closely, it seems like it will only raise a warning, not an error, so it is in fact not "required". Further, I tested iTwinUI 3.11.3 (which uses the old JSX transform) with React 19 RC and did not even see any warnings.
This does mean that we are stuck with the older, less performant JSX runtime for the foreseeable future. I'm making this change reluctantly, but it seems to work in React 17-19 and is the least frustrating outcome for our users (the majority of whom are still using React 17). I also tried to find a "best of both worlds" solution for the last couple days, with no luck.
I've strategically made the smallest change possible instead of fully reverting #2102. Only one source file (StatusIconMap.tsx) needed to be changed to add a missing React import. Everything else (mainly test files) continue to use the new transform, since these are not relevant for our users.
Testing
Veridied that the build output now contains React.createElement everywhere.
Docs
N/A

I think the vitest.config.ts file needs esbuild.jsx to be set to 'auotmatic' in order to build our test.tsx unit test files with the new JSX transform. Docs: https://vitejs.dev/config/shared-options.html#esbuild https://esbuild.github.io/api/#jsx.


git_files will go into insert mode, if not inside a git project.

As title. I think this behaviour is kind of dangerous if type too quickly. And that this problem seems to occur on other FzfLua commands.

That's certainly not by design, just tried with few different neovim versions (0.5.1, 0.6 and 0.7) and it doesn't happen for me when I run the command directly, it only happens when I first run :FzfLua builtin and then choose a command that doesn't have any result (e.g. git_files or lsp_xxx).
Can you confirm if the same happens for you or does this also happen if you run :Fzf git_files directly from the command line?

Latest commit should solve this, let me know if otherwise?

It works now! But now I have another question that: Is it possible to also eliminate the "blink" (A floating window appear-then-disappear in a short moment, but it is noticeable)

This is by design, the blink appears because all LSP functions are running asynchrounsouly, they open the UI and then wait for the reply from the server.
If you wish to avoid that chance it to "synchronous instead" (works for all LSP functions):
:lua require("fzf-lua").lsp_references({ async = false })

You can also enable this by default for all LSP functions by adding this to the setup:
require'fzf-lua'.setup {
  lsp = {
    -- timeout in miliseconds, below is 5 second timeout
    async_or_timeout  = 5000,
  }
}

Note that with "synchrounous" operations the UI can hang until a reply is received from the server (or until 5 seconds passed), it could be an issue if you have a really slow LSP server or if you just started neovim and the LSP isn't ready yet.

FYI, the latest commit https://github.com/ibhagwan/fzf-lua/commit/419a57a78f816038be08628b9f648d6a20bb2d4b sets most of the LSP calls to async = false so you don't have to do anything anymore, just updated the plugin and the flash will disappear.


chore(package): update sinon to version 4.1.2

Closes #2

:tada: This PR is included in version 2.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


fetchgitlab: add deepClone, fetchSubmodules, leaveDotGit arguments

I also made fetchFromGitLab more similar to fetchFromGitHub.

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Relase notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[ ] Fits CONTRIBUTING.md.

LGTM, though I haven't tested it.


Bug: Infinite loop on entering non-integers.

Steps to reproduce

compile and run it correctly.
wait till loading completes.
enter a character but not the position number.

Expected behavior
Probably a single line signal to mention incorrect input.
Actual behavior
Infinite loop

Environment configuration
Operating system: Ubuntu 16.04

@Sameem17 thank you for the issue, you can start working on it. Before you do, have a
read at these guidelines


Graph folding in collection view

It could be useful to allow users to fold some graphs in a collection view, to save some display space. It could be a graph option such as the Show/Hide graph toggle switch.

Implemented in 0.4-alpha.


Enable Hystrix Dashboard and Turbine

We could configure Hystrix Dashboard and Turbine as described here https://github.com/spring-cloud-samples/hystrix-dashboard

I can handle it

In progress

@mszarlinski a part of this issue has been implemented by the PR https://github.com/spring-petclinic/spring-petclinic-microservices/issues/17
But what about Turbine?

Bad news, we still have to replace them: #117


⚠ Bofrost.hr has degraded performance

In 279ab31, Bofrost.hr (https://www.bofrost.hr) experienced degraded performance:

HTTP code: 200
Response time: 2718 ms

Resolved: Bofrost.hr performance has improved in b8f5c55.


UofT-DSI | Applying Statistical Concepts - Assignment 3

What changes are you trying to make? (e.g. Adding or removing code, refactoring existing code, adding reports)
Data analysis by conducting data inspection, visualization, K-Means clustering, and bootstrapping.
What did you learn from the changes you have made?
Learned how to analyze a dataset through inspection, visualization, clustering, and bootstrapping techniques.
Was there another approach you were thinking about making? If so, what approach(es) were you thinking of?
No.
Were there any challenges? If so, what issue(s) did you face? How did you overcome it?
Challenges with the interpretation of clustering results, which I resolved by adding visualizations.
How were these changes tested?
Through visual inspection of plots and verification of clustering results.
A reference to a related issue in your repository (if applicable)
No.
Checklist

[x] I can confirm that my changes are working as intended

A3 complete


[SPARK-22214][SQL] Refactor the list hive partitions code

What changes were proposed in this pull request?
In this PR we make a few changes to the list hive partitions code, to make the code more extensible.
The following changes are made:

In HiveClientImpl.getPartitions(), call client.getPartitions instead of shim.getAllPartitions when spec is empty;
In HiveTableScanExec, previously we always call listPartitionsByFilter if the config metastorePartitionPruning is enabled, but actually, we'd better call listPartitions if partitionPruningPred is empty;
We should use sessionCatalog instead of SharedState.externalCatalog in HiveTableScanExec.

How was this patch tested?
Tested by existing test cases since this is code refactor, no regression or behavior change is expected.

Test build #82509 has started for PR 19444 at commit 8f50c7c.

Test build #82509 has finished for PR 19444 at commit 8f50c7c.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82509/
Test PASSed.

cc @gatorsmile @cloud-fan

LGTM except a minor comment.

Test build #82519 has started for PR 19444 at commit 1e119ea.

LGTM

Test build #82519 has finished for PR 19444 at commit 1e119ea.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/82519/
Test PASSed.

Merged build finished. Test PASSed.

Thanks! Merged to master.


Time zones is not working

Please see the below code. Time zones is not working, nor cache=None.
NB: Important to be able to specify timezone UTC!!!!!!
Moreover, cache=None does not work, it still creates the cache file
import tagreader
ftime = '2022-05-20 00:00'
ttime = '2022-05-20 04:00'
This will read the data into df
c = tagreader.IMSClient('ims-pors-01', "piwebapi", cache=None)
df = c.read(['PI38090/Meas1/PRIM'], ftime, ttime, 60)
This will crash trying to read the tag. Any string in tz will lead to a crash
c2 = tagreader.IMSClient('ims-pors-01', "piwebapi", cache=None, tz="Europe/Oslo")
df2 = c2.read(['PI38090/Meas1/PRIM'], ftime, ttime, 60)

can you try

as input tz when creating client?
Should be handled internally, but testing will make it easier to fix the issue

Did a complete reinstall of my venv before testing (did not see your message). Don't know if that fixed it.
Now both a string and pytz.timezone works. I tested with tz="UTC", which worked (this is by far the most important, it should, in my opinion, be the default.
Regardless if I put cache=None when I create the client, or c.cache=None the cache directory is still created. This creates unwanted files all over, please fix ASAP.
The below warning is issued when creating the client. In my opinion, just turn of the caching as default at once. At least get it to work without caching and turn of the message.

Thanks,
BR.
Kjetil

I will create a new issue for the cache. This will be solved in the next release.


macOS: Implement window focus events

Implements the EventWindowFocusIn and EventWindowFocusOut events on macOS.
It is worth noting that macOS has different types of focus: whether the application is active, whether a window accepts input (key window) and whether a window is the main window (has the active appearance). This implementation listens to 'key window' events, because this gives expectations consistent with the X11 and Windows implementations.

Dope, thank you!


rootless mode - tries to create /usr/libexec/kubernetes

Environmental Info:
K3s Version:

k3s version v1.22.2+k3s2 (3f5774b4)
go version go1.16.8

Node(s) CPU architecture, OS, and Version:

Linux web 5.13.0-19-generic #19-Ubuntu SMP Thu Oct 7 21:58:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 21.10 (cgroups v2 supported by default)

Architecture:                    x86_64
CPU op-mode(s):                  32-bit, 64-bit
Byte Order:                      Little Endian
Address sizes:                   46 bits physical, 48 bits virtual
CPU(s):                          3
On-line CPU(s) list:             0-2
Thread(s) per core:              1
Core(s) per socket:              1
Socket(s):                       3
NUMA node(s):                    1
Vendor ID:                       GenuineIntel
CPU family:                      6
Model:                           62
Model name:                      Intel(R) Xeon(R) CPU E5-2690 v2 @ 3.00GHz
Stepping:                        4
CPU MHz:                         2999.834
BogoMIPS:                        5999.66
Hypervisor vendor:               KVM
Virtualization type:             full
L1d cache:                       96 KiB
L1i cache:                       96 KiB
L2 cache:                        12 MiB
L3 cache:                        48 MiB
NUMA node0 CPU(s):               0-2
Vulnerability Itlb multihit:     KVM: Mitigation: VMX unsupported
Vulnerability L1tf:              Mitigation; PTE Inversion
Vulnerability Mds:               Mitigation; Clear CPU buffers; SMT Host state unknown
Vulnerability Meltdown:          Mitigation; PTI
Vulnerability Spec store bypass: Mitigation; Speculative Store Bypass disabled via prctl and s
                                 eccomp
Vulnerability Spectre v1:        Mitigation; usercopy/swapgs barriers and __user pointer sanit
                                 ization
Vulnerability Spectre v2:        Mitigation; Full generic retpoline, IBPB conditional, IBRS_FW
                                 , STIBP disabled, RSB filling
Vulnerability Srbds:             Not affected
Vulnerability Tsx async abort:   Not affected
Flags:                           fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov
                                  pat pse36 clflush mmx fxsr sse sse2 ss syscall nx pdpe1gb rd
                                 tscp lm constant_tsc arch_perfmon rep_good nopl xtopology cpu
                                 id tsc_known_freq pni pclmulqdq ssse3 cx16 pcid sse4_1 sse4_2
                                  x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand h
                                 ypervisor lahf_lm pti ssbd ibrs ibpb stibp fsgsbase tsc_adjus
                                 t smep erms xsaveopt arat md_clear

Cluster Configuration:

single server
Describe the bug:

plugins.go attempts to mkdir /usr/libexec/kubernetes
Steps To Reproduce:

Installed K3s:
start rootless mode as an unprivileged $USER with k3s-rootless.service from master

Expected behavior:

in rootless mode plugins.go should create directories somewhere in $HOME/.rancher of the unprivileged user.
I symlinked /usr/libexec/kubernetes to $HOME/.rancher/k3s/libexec/kubernetes to workaround the issue.

Actual behavior:

creating /usr/libexec/kubernetes fails due to running rootless
Additional context / logs:
Oct 14 17:42:18 web k3s[1927]: E1014 17:42:18.725678      31 plugins.go:609] Error initializing dynamic plugin prober: Error (re-)creating driver directory: mkdir /usr/libexec/kubernetes: permission denied
Backporting

[X] Needs backporting to older releases (this issue also exists on current stable version v1.21.5+k3s2)

Many thanks for working on rootless mode ;o)

creating /usr/libexec/kubernetes fails due to running rootless

Just to confirm, k3s itself continue to work regardless to this error, right?
(Seems to work for me, as of the latest commit 5a923ab8dc46716b34135c4d505bef99694a1616 , on Ubuntu 21.10)

cc @AkihiroSuda - is this something that we need to adjust for the kubelet?

Yes.
https://kubernetes.io/docs/reference/config-api/kubelet-config.v1beta1/

volumePluginDir
string
volumePluginDir is the full path of the directory in which to search for additional third party volume plugins. If DynamicKubeletConfig (deprecated; default off) is on, when dynamically updating this field, consider that changing the volumePluginDir may disrupt workloads relying on third party volume plugins. Default: "/usr/libexec/kubernetes/kubelet-plugins/volume/exec/"

The path should be probably changed, even for rootful mode?

yes the cluster comes up in rootless mode on Ubuntu 21.10 regardless of the /usr/libexec/kubernetes path:
NAMESPACE     NAME                                     READY   STATUS      RESTARTS       AGE
kube-system   helm-install-traefik-crd--1-h2c2s        0/1     Completed   0              12h
kube-system   helm-install-traefik--1-pcmxv            0/1     Completed   1              12h
kube-system   coredns-85cb69466-r5f9g                  1/1     Running     13 (49s ago)   12h
kube-system   local-path-provisioner-64ffb68fd-w2bts   1/1     Running     14 (49s ago)   12h
kube-system   metrics-server-9cf544f65-dvrc2           1/1     Running     14 (49s ago)   12h
kube-system   svclb-traefik-qlvxj                      2/2     Running     26 (49s ago)   12h
kube-system   traefik-74dd4975f9-mtnhx                 1/1     Running     13 (49s ago)   12h

I had an error in my nftables outbound loopback rule:
oif "lo" accept (in error I had iif)
which was preventing the cluster coming up.

I think the rootful k3s.service needs the following added so the firewall starts after the flannel & cni0 interfaces are up:
[unit]
Before=network-pre.target
Wants=network-pre.target

A small rootful firewall note for others:
in my forward nftables rules I also needed:
oif "cni0" accept


Improve SCT changelogs

Following spinalcordtoolbox#3967, we have some suggestions for better formatting of the changelogs.

[x] Re-order the sections in order of relevance.
[x] Add spaces after commas in lists of labels.
[x] Re-order the items within each section.
[x] Take the release date from the milestone due date.

@joshuacwnewton I think this is ready for review. It's a pretty big change, but I broke it up into (hopefully) digestible commits. I manually ran the equivalent of the SCT workflow and the output seemed OK. (In particular, it didn't crash!)


[Chef-17] Updating gems and clearing up pipelines

Description
A test build of chef-17 to gauge where we are with possibly releasing it soon
Related Issue

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
[ ] Chore (non-breaking change that does not add functionality or fix an issue)

Checklist:

[ ] I have read the CONTRIBUTING document.
[ ] I have run the pre-merge tests locally and they pass.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.
[ ] All new and existing tests passed.
[ ] All commits have been signed-off for the Developer Certificate of Origin.

Closing this. I borked the branch. Carrying on with this PR instead - https://github.com/chef/chef/pull/13686


Add another note to ci/sync-dist.py about how the release process works

@bors r+

:pushpin: Commit 53471a3 has been approved by brson

:hourglass: Testing commit 53471a3 with merge 0d76eb5...

:broken_heart: Test failed - status-appveyor


[DON'T MERGE] Stronger use of CacheCache, part 2

This is the successor of 736770b566e45a94070d17752f74fe39d43e6735.
Whereas the first commit has been a small one this one is slightly bigger ,-)
I reworked esp. SearchResult and cgData. The changes include:

deleted class ParseResult
new flags for loading/saving/removing caches
the caches caches is only accessed from cgData anymore
consistent use of CacheCache and thus minimizing the number of database operations. In the database are stored less caches causing a smaller database, too. That should increase the overall performance.
method names unified
removed app as parameter

This commit should solve the following issues
#1076 Live map flashes
#1062 Map location not working
#1059 Offline logs
#1055 Logbook not available
#1050 OC caches not shown
and is (that's what i think) a step toward the idea's from #1079 ORM.
At the moment i am doing the final tests. I'll merge by myself at the weekend as announced in #1052

I will be most probably go caching on the weekend (I am struggling because of the temperatures :-) ) so if it could be merged before or at beginning of the weekend I hope I can do some testing of the issues mentioned.

Briefly looked through it. Will check it out today a little bit. Before attempting to merge, there is a compile error in cgeowaypointadd if this gets merged (new call to get a cache in the meanwhile coming from implementation of #664)

@Lineflyer We scheduled at least a week of testing after this weekend, perhaps more. These are real big changes we need to look at from a multitude of perspectives before going to market. As they bring a lot of real benefits and improvements we should not spoil the advances by letting critical bugs slip through.

Short feedback: For me all stored lists are empty. They show the correct cache count, but no caches. Seems the search does not fill the CachesCache but the load does rely on it (cgeocaches,175; flag LOADCACHEONLY). Switching to LOADDBMINIMAL solves it, but probably this should be rather done on the search side, where we know if the search is online or a stored list.

@rsudev Very strange. After cleaning my workspace i got the compile error, too. It's fixed now.
@rsudev With the actual commit the lists are working again
At the weekend i will got through the referenced issues and test them one-by-one. As a side effect i found a bug: never caches older than 3 days have been deleted so far increasing the database cache by cache...

@blafoo Stored lists still don't work for me. As far as I can see this is because the preload is never triggered in this situation. If I use getGeocodes() internally in SearchResult, it works for me. Not sure if this is the right place to do it.
--- a/main/src/cgeo/geocaching/SearchResult.java
+++ b/main/src/cgeo/geocaching/SearchResult.java
@@ -148,7 +148,7 @@ public class SearchResult implements Parcelable {
         SearchResult result = new SearchResult(this);
         result.geocodes.clear();

-        for (final String geocode : geocodes) {
+        for (final String geocode : getGeocodes()) {
             cgCache cache = cgeoapplication.getInstance().loadCache(geocode, LoadFlags.LOADCACHEONLY);
             // Is there any reason to exclude the cache from the list?
             final boolean excludeCache = (excludeDisabled && cache.isDisabled()) ||
@@ -164,13 +164,13 @@ public class SearchResult implements Parcelable {

     public cgCache getFirstCacheFromResult(final EnumSet<LoadFlag> loadFlags) {
         if (geocodes != null && geocodes.size() >= 1) {
-            return cgeoapplication.getInstance().loadCache((String) geocodes.toArray()[0], loadFlags);
+            return cgeoapplication.getInstance().loadCache((String) getGeocodes().toArray()[0], loadFlags);
         }
         return null;
     }

     public Set<cgCache> getCachesFromSearchResult(final EnumSet<LoadFlag> loadFlags) {
-        return cgeoapplication.getInstance().loadCaches(geocodes, loadFlags);
+        return cgeoapplication.getInstance().loadCaches(getGeocodes(), loadFlags);
     }

     /** Add the geocode to the search. No cache is loaded into the CacheCache */

Then I get an NPE when downloading static maps when saving a waypoint. The cache gets removed from the CachesCache on saving the waypoint and the static map load code assumes it is there. A fix for this could be (but I am not sure):
--- a/main/src/cgeo/geocaching/cgeowaypointadd.java
+++ b/main/src/cgeo/geocaching/cgeowaypointadd.java
@@ -324,7 +324,7 @@ public class cgeowaypointadd extends AbstractActivity {
             if (app.saveOwnWaypoint(id, geocode, waypoint)) {
                 StaticMapsProvider.removeWpStaticMaps(id, geocode);
                 if (Settings.isStoreOfflineWpMaps()) {
-                    StaticMapsProvider.storeWaypointStaticMap(app.loadCache(geocode, LoadFlags.LOADCACHEONLY), cgeowaypointadd.this, waypoint);
+                    StaticMapsProvider.storeWaypointStaticMap(app.loadCache(geocode, LoadFlags.LOADWAYPOINTS), cgeowaypointadd.this, waypoint);
                 }
                 finish();
                 return;

@blafoo
I know you are still working on this code, but I tested it out today while caching and these are some of the problems I noticed. (This is with the change mentioned by rsudev for line 175 of cgeocaches, switching to LOADDBMINIMAL )

Some caches show up twice in the offline stored list. I think it is when they are stored in the temporary cache database that they start showing up twice.
User-defined waypoints do not show up on the map (Google Maps) when navigating
Choosing to refresh a stored cache doesn't actually refresh the cache (It says saving for offline use, but doesn't change to time stored, update recent logs, etc).

Thanks guys for the feedback ! I really appreciate it. Today i had only little time, i had to to go for my 500th cache else there would be some kind of holdup. Only a little D5/T1 and a D4/T4 whistle.
@rsudev Please clean your database by activating line 780 in cgeo.java. I think the caches for listId 0 are corrupted. I had have the same problem. After cleaning i really got an improvment.
I am dealing with a very strange problem, maybe anybody has an idea: the disappearing waypoints in the live map. For a short time the waypoints are shown. After executing the searchByViewport() the same cache is displayed again but has lost his waypoints ! Every other detail so far is still in the cgCache object but the waypoints are null. I can't find the line where they are deleted ! This can be verified in CGeoMap.DisplayThread.run(). First call: cgCache contains waypoints, second time they are away :-(

@blafoo I found some place were the cache was removed from the CachesCache. If it then is inserted again later with fewer LoadFlags it may look like the waypoints are suddenly gone. So perhaps check if the remove method is called somewhere in this scenario. Regarding your remark to clean my db, I am not sure which of the mentioned scenerios should be solved by that. Nevertheless they involved only caches on a stored list. But I will check again with a fresh database.

@rsudev I corrupted my database during the development. The caches got stored only with partial informations causing later NPEs and empty lists. Cleaning the database once and reloading the caches solved the problem.
The problem with the disappearing waypoints on the map is solved. I'll try to reproduce the other problems announced in the various issues tonight.

@blafoo Unfortunately my initial problem still persists with the current version of this PR.
I removed c:geo from my emulator, build e new version based on your PR and put it onto the emu.
After that I searched nearby, selected two caches for details and then store.
Back to main, then stored: Everything well, two caches shown.
Closed c:geo and killed app.
Starting c:geo, main screen shows two stored caches. Selecting stored opens the list with a count of 2 in the header and no caches in the list.

This PR has been merged with 0679e76ce7da5640cbeedbeff008624052b83991 into master. The other issues will stay open until they are confirmed to work again.

I have seem one thing I have never seen before:
If two cache-symbols are overlapping each other on the map and the map is reloaded (because of zooming or moving) it sporadically happens that the order of the overlapping changes (so the icon which was in front moves to the back and vice versa).
For me this no bug as the user should zoom in in that case to avoid overlapping anyway, just wanted to report this occurrence.

Yes, that's a result of another order in the list.


Helper script to generate test data: HKDF and derivation of ECC keys

A new helper script that will help to generate crypto test cases by filling in the expected output. Sample usage:
$ tests/scripts/complete_test_case.py psa_crypto <<<'derive_key_type:PSA_ALG_HKDF(PSA_ALG_SHA_256):"0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b":"000102030405060708090a0b0c":"f0f1f2f3f4f5f6f7f8f9":PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):256:'
derive_key_type:PSA_ALG_HKDF(PSA_ALG_SHA_256):"0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b0b":"000102030405060708090a0b0c":"f0f1f2f3f4f5f6f7f8f9":PSA_KEY_TYPE_ECC_KEY_PAIR(PSA_ECC_FAMILY_SECP_R1):256:"3cb25f25faacd57a90434f64d0362f2a2d2d0a90cf1a5a4c5db02d56ecc4c5c0

The goal of this pull request is to get the ball rolling and provide some test cases for #5139. The new code is still fragile and not well-documented. I intend to improve this (or let others improve this) in subsequent pull requests.
Needs preceding PR: https://github.com/ARMmbed/mbedtls/pull/5197 and associated mbedtls-test PR + install pycryptodomex for check-python-files

I had failing case on my side. Started debugging, but https://github.com/ARMmbed/mbedtls/pull/5218/commits/905b8b4e647ebbba57404663b508b7d3ef0d3d06 fixes the problem.

The CI is failing because Cryptodome isn't present - I think the requirement needs to go into ci.requirements.txt rather than maintainer.requirements.txt ?

I hadn't thought maintainer.requirements.txt through. My idea was that if a script in the repository never runs on the CI, then the CI doesn't need to install the package. But actually, it does, for pylint and mypy. So I guess maintainer.requirements.txt should be merged into ci.requirements.txt.
This will need to be done in 2.28 as wel, so I'll make it a separate PR.

This PR needs rebasing anyway, so I made the requirements fix here. I backported the requirements change (which is only the documentation part, since cryptodome isn't currently used in 2.28) in https://github.com/ARMmbed/mbedtls/pull/5449.

As part of our review of historical PRs we have made the decision to convert older PRs that have not been updated in 3 months into drafts until they are worked on again.


could the envoy log level be setted

For now, the AddMeshContainer(pkg/mesh/controller.go:30) func add an envoy sidecar with log level of error.
        ...
	spec.Spec.Containers = append(spec.Spec.Containers, v1.Container{
		Name:  config.ContainerSidecarEnvoyProxy,
		Image: config.Image,
		Command: []string{
			"envoy",
			"-l",
			"error",
			"--base-id",
			"1",
			"--service-node",
			nodeId,
			"--service-cluster",
			nodeId,
			"--config-yaml",
		},
		Args: []string{
			string(envoyConfig),
		},
        ...

could this param be set like config.Image. So user  are able to inject this log level when build a kubevpn.exe.

Since sometime i wanna see if the sended request go to pod with headers successfully, but envoy with error log level shows nothing.

For now, the AddMeshContainer(pkg/mesh/controller.go:30) func add an envoy sidecar with log level of error.
        ...
	spec.Spec.Containers = append(spec.Spec.Containers, v1.Container{
		Name:  config.ContainerSidecarEnvoyProxy,
		Image: config.Image,
		Command: []string{
			"envoy",
			"-l",
			"error",
			"--base-id",
			"1",
			"--service-node",
			nodeId,
			"--service-cluster",
			nodeId,
			"--config-yaml",
		},
		Args: []string{
			string(envoyConfig),
		},
        ...

could this param be set like config.Image. So user are able to inject this log level when build a kubevpn.exe.

Yes, it's a good idea. at the begining, i set log level to debug, but my colleague said，it show too log not necessary. so i changed it to level error. make it dynamic is a good idea. i will fix it as soon as possible

Since sometime i wanna see if the sended request go to pod with headers successfully, but envoy with error log level shows nothing.

For now, the AddMeshContainer(pkg/mesh/controller.go:30) func add an envoy sidecar with log level of error.
        ...
	spec.Spec.Containers = append(spec.Spec.Containers, v1.Container{
		Name:  config.ContainerSidecarEnvoyProxy,
		Image: config.Image,
		Command: []string{
			"envoy",
			"-l",
			"error",
			"--base-id",
			"1",
			"--service-node",
			nodeId,
			"--service-cluster",
			nodeId,
			"--config-yaml",
		},
		Args: []string{
			string(envoyConfig),
		},
        ...

could this param be set like config.Image. So user are able to inject this log level when build a kubevpn.exe.

I set envoy log level by kubevpn proxy deployment/authors --headers a=1 --debug, use --debug flag to special envoy log level, same like --image, you can overwrite config.image by kubevpn connect --image myregistry.io/kubevpn/kubevpn:latest use ourself image to startup pod kubevpn-traffic-manager

Since sometime i wanna see if the sended request go to pod with headers successfully, but envoy with error log level shows nothing.

For now, the AddMeshContainer(pkg/mesh/controller.go:30) func add an envoy sidecar with log level of error.
        ...
	spec.Spec.Containers = append(spec.Spec.Containers, v1.Container{
		Name:  config.ContainerSidecarEnvoyProxy,
		Image: config.Image,
		Command: []string{
			"envoy",
			"-l",
			"error",
			"--base-id",
			"1",
			"--service-node",
			nodeId,
			"--service-cluster",
			nodeId,
			"--config-yaml",
		},
		Args: []string{
			string(envoyConfig),
		},
        ...

could this param be set like config.Image. So user are able to inject this log level when build a kubevpn.exe.

I set envoy log level by kubevpn proxy deployment/authors --headers a=1 --debug use --debug flag to special envoy log level, same like --image you can overwrite config.image by kubevpn connect --image myregistry.io/kubevpn/kubevpn:latest use ourself image to startup pod kubevpn-traffic-manager

Wow, awesome!!!

Since sometime i wanna see if the sended request go to pod with headers successfully, but envoy with error log level shows nothing.

For now, the AddMeshContainer(pkg/mesh/controller.go:30) func add an envoy sidecar with log level of error.
        ...
	spec.Spec.Containers = append(spec.Spec.Containers, v1.Container{
		Name:  config.ContainerSidecarEnvoyProxy,
		Image: config.Image,
		Command: []string{
			"envoy",
			"-l",
			"error",
			"--base-id",
			"1",
			"--service-node",
			nodeId,
			"--service-cluster",
			nodeId,
			"--config-yaml",
		},
		Args: []string{
			string(envoyConfig),
		},
        ...

could this param be set like config.Image. So user are able to inject this log level when build a kubevpn.exe.

I set envoy log level by kubevpn proxy deployment/authors --headers a=1 --debug use --debug flag to special envoy log level, same like --image you can overwrite config.image by kubevpn connect --image myregistry.io/kubevpn/kubevpn:latest use ourself image to startup pod kubevpn-traffic-manager

Wow, awesome!!!

I am redo releaseing v2.2.1, please wait it finished, in 30 min

Since sometime i wanna see if the sended request go to pod with headers successfully, but envoy with error log level shows nothing.

For now, the AddMeshContainer(pkg/mesh/controller.go:30) func add an envoy sidecar with log level of error.
        ...
	spec.Spec.Containers = append(spec.Spec.Containers, v1.Container{
		Name:  config.ContainerSidecarEnvoyProxy,
		Image: config.Image,
		Command: []string{
			"envoy",
			"-l",
			"error",
			"--base-id",
			"1",
			"--service-node",
			nodeId,
			"--service-cluster",
			nodeId,
			"--config-yaml",
		},
		Args: []string{
			string(envoyConfig),
		},
        ...

could this param be set like config.Image. So user are able to inject this log level when build a kubevpn.exe.

I set envoy log level by kubevpn proxy deployment/authors --headers a=1 --debug use --debug flag to special envoy log level, same like --image you can overwrite config.image by kubevpn connect --image myregistry.io/kubevpn/kubevpn:latest use ourself image to startup pod kubevpn-traffic-manager

Wow, awesome!!!

I am redo releaseing v2.2.1, please wait it finished, in 30 min

release v2.2.1 have been released, you can download it from link to have a try

For now, the AddMeshContainer(pkg/mesh/controller.go:30) func add an envoy sidecar with log level of error.
        ...
	spec.Spec.Containers = append(spec.Spec.Containers, v1.Container{
		Name:  config.ContainerSidecarEnvoyProxy,
		Image: config.Image,
		Command: []string{
			"envoy",
			"-l",
			"error",
			"--base-id",
			"1",
			"--service-node",
			nodeId,
			"--service-cluster",
			nodeId,
			"--config-yaml",
		},
		Args: []string{
			string(envoyConfig),
		},
        ...

could this param be set like config.Image. So user are able to inject this log level when build a kubevpn.exe.

Done ~


Add a lock to ProxyTypeEmitter

Mitigate race conditions in https://github.com/aspnet/Hosting/issues/1312

Is this supposed to go into the 2.0.x patch? Is there a bug tracking that?

No I am not sure if we want to patch it. I sent this because right now we target netcoreapp2.0 and net461 only (see here) so it might be useful to patch. Happy to close this and only keep the dev PR if needed

Closing this PR.


Start translating?

Hi.
I am able to translate the pages into Spanish by adding branches to each page with the text translated. However, I don't know if I should do that now, considering changes being made to make the site more easily translatable. Please let me know if I should wait.
Cheers,
Giselle

We're currently working on a guide on how to add new translations. I will let you know when it's ready!

Hi guys, I can help with portuguese (Brazil), the pages and maybe the project documentation too.

@leo that's very nice, but you could have dropped a line in https://davehakkens.nl/community/forums/topic/translating-our-content/ to say you are working on that. I mentioned I was working on making the website translatable. That would have saved me 2 days of actually doing the same work you are doing. My bad too, should have created an issue too.

@sylvainv Oh, didn't notice that post! I'm sorry. I'm not really active on Dave's forum...

Hey guys,
could you let me know what's the status of the guide on how to translate?
We want to translate the website to Czech but I don't think translating the HTML files is the right way to do it. It's not easy for general public and makes it uneasy for future code changes. I found a Jekyll plugin which would implement variables and then phrases would be in simple text file for each language. I met with @DanielSuska and we can make it work. What do you think about that?


go-1.14.1  how to solve the issue: unrecognized import path "fmt": import path does not begin with hostname

~ go get -v -u github.com/limetext/backend/...
github.com/limetext/backend (download)
unrecognized import path "bytes": import path does not begin with hostname
unrecognized import path "encoding/json": import path does not begin with hostname
unrecognized import path "fmt": import path does not begin with hostname
github.com/atotto/clipboard (download)
unrecognized import path "os/exec": import path does not begin with hostname
github.com/limetext/log4go (download)
unrecognized import path "encoding/xml": import path does not begin with hostname
unrecognized import path "errors": import path does not begin with hostname
unrecognized import path "io": import path does not begin with hostname
unrecognized import path "io/ioutil": import path does not begin with hostname
unrecognized import path "net": import path does not begin with hostname
unrecognized import path "os": import path does not begin with hostname
unrecognized import path "runtime": import path does not begin with hostname
unrecognized import path "strconv": import path does not begin with hostname
unrecognized import path "strings": import path does not begin with hostname
unrecognized import path "sync": import path does not begin with hostname
unrecognized import path "time": import path does not begin with hostname
github.com/limetext/util (download)
unrecognized import path "regexp": import path does not begin with hostname
unrecognized import path "sort": import path does not begin with hostname
unrecognized import path "unicode": import path does not begin with hostname
github.com/rjeczalik/notify (download)
unrecognized import path "log": import path does not begin with hostname
unrecognized import path "path/filepath": import path does not begin with hostname
unrecognized import path "sync/atomic": import path does not begin with hostname
unrecognized import path "unsafe": import path does not begin with hostname
github.com/limetext/loaders (download)
github.com/limetext/text (download)
unrecognized import path "reflect": import path does not begin with hostname
unrecognized import path "runtime/debug": import path does not begin with hostname
github.com/quarnster/parser (download)
unrecognized import path "container/list": import path does not begin with hostname
unrecognized import path "unicode/utf8": import path does not begin with hostname
unrecognized import path "image/color": import path does not begin with hostname
github.com/limetext/rubex (download)
unrecognized import path "path": import path does not begin with hostname

Probably related to your go installation, Check GOROOT, GOPATH environment variables.


Replace URI with URL, latter is more user friendly

Fixes https://github.com/microsoft/vscode-jupyter/issues/10190

Codecov Report

Merging #12295 (e9b0ac6) into main (68fd872) will increase coverage by 0%.
The diff coverage is 62%.

@@          Coverage Diff           @@
##            main   #12295   +/-   ##
======================================
  Coverage     69%      69%
======================================
  Files        501      501
  Lines      31909    31909
  Branches    4999     4999
======================================
+ Hits       22234    22249   +15
+ Misses      7793     7781   -12
+ Partials    1882     1879    -3

Impacted Files
Coverage Δ

src/platform/common/utils/localize.ts
76% <62%> (ø)

...otebooks/controllers/controllerPreferredService.ts
75% <0%> (-1%)
:arrow_down:

...c/platform/interpreter/interpreterPackages.node.ts
73% <0%> (-1%)
:arrow_down:

src/notebooks/controllers/kernelRanking/helpers.ts
60% <0%> (-1%)
:arrow_down:

src/kernels/raw/launcher/kernelProcess.node.ts
73% <0%> (-1%)
:arrow_down:

src/interactive-window/interactiveWindow.ts
69% <0%> (+<1%)
:arrow_up:

src/kernels/errors/kernelErrorHandler.ts
57% <0%> (+1%)
:arrow_up:

.../notebooks/controllers/vscodeNotebookController.ts
85% <0%> (+1%)
:arrow_up:

...rnels/raw/finder/localKernelSpecFinderBase.node.ts
82% <0%> (+1%)
:arrow_up:

...w/finder/interpreterKernelSpecFinderHelper.node.ts
60% <0%> (+1%)
:arrow_up:

... and 2 more


transpose of a 2D matrix

Name:
Transpose of a 2D matrix
About:
The current repository lacks a simple and fundamental program to transpose a 2D matrix, which is a common operation in mathematical computing and matrix manipulation. Adding this will help users understand basic matrix operations and enhance their skills in handling multidimensional arrays.
The Transpose of a Matrix is an operation where the rows of a matrix are converted to columns and the columns are converted to rows.
Algorithm Explanation:
Given a matrix A with dimensions m x n (i.e., m rows and n columns), the transpose of A is a new matrix B with dimensions n x m, where the elements of B are defined as:
B[i][j]=A[j][i]
That means:
The element at row i and column j in matrix A will be placed at row j and column i in matrix B.
Labels:
new algorithm, gssoc-ext, hacktoberfest, level1

Assignees:

[x] Contributor in GSSoC-ext
[x] Want to work on it

Hello! Could you assign this to me?

☑Contributor in GSSoc-ext
☑Want to contribute
Can you assign this issue

I would love to contribute to this , and i request you to please assign this to me .

@PrasanBora assigned

I would like to work on this project, kindly assign me this one.

@PrasanBora assigned

Thank you for this , can you give me gssoc-extd label and hacktoberfest label please


include unlisted

thanks!
how can i include unlisted pages under a specific slug?

Hi @kosmar,
you can include as many pages as you want with the addCollection option.
Something like (not tested):
'isaactopo.xmlsitemap.addCollection' => function () {
    $unlistedPages = page('unlisted-page')->children();
    return $unlistedPages;
},

great thx


Incorrect dates for Microsoft Dataverse (legacy) connector (CDS 2.0 connector) for Power Automate flows

Dates in the section "Microsoft Dataverse (legacy) connector (CDS 2.0 connector) for Power Automate flows will be deprecated and replaced with another connector" seems to be old.
I received the below message from Matt<EMAIL_ADDRESS>on 1/11/2023
"
No, it's not necessary to create additional placeholder flows - the legacy connector will not be removed from new flows before the equivalent features are available in the current connector. An announcement will be shared soon (expecting by end of the month) with an update on this and the overall deprecation schedule.
"

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

ID: 1a241829-ba79-0d2e-d061-cedb8978fbeb
Version Independent ID: 867a90ce-0a3e-0a82-0458-acf7e783e961
Content: Important changes (deprecations) coming in Power Apps and Power Automate - Power Platform
Content Source: power-platform/important-changes-coming.md
Service: power-platform
Sub-service: admin
GitHub Login: @KumarVivek
Microsoft Alias: kvivek

Thanks for your comment, @sanjeev-k. This issue has been assigned to the doc author for review.


pull blocks failed ..

2024-12-30T16:00:54.717+0800	INFO	main	titan-edge/heartbeat.go:72	Edge registered successfully, waiting for tasks
2024-12-30T16:03:17.674+0800	ERROR	asset	asset/manager.go:205	pull asset error: pull blocks failed, already pulled blocks len:0, need blocks len:1
2024-12-30T16:03:17.674+0800	INFO	asset	asset/manager.go:298	pull asset failed, remove bafkreibw77xssgyfpgjcnnsgeqlvg7cnfmn5bswbgswd2aimv6ey3cichi

Is this a normal error?

Please check your Dashboard. If the node is online and still earning points, everything is normal.

thanks


add stat json schema validator

example  usage:
$ ruby stat-validator.rb /c/Users/Ilya/Documents/tmp.txt
The property '#/' did not contain a required property of 'statVersion' in schema file:///Users/Ilya/RubymineProjects/statJsonValidator/statJsonSchema.json
The property '#/findings/0/location' did not contain a required property of 'path' in schema file:///Users/Ilya/RubymineProjects/statJsonValidator/statJsonSchema.json#

silence for no errors case

Looks great, thank you!


How about DOT ?

sorry if my question might look dumb , i'm not a pro
can the same method be implemented for DOT ? any similar solution ?

Not yet, because Cloudflare Workers doesn't support arbitrary incoming TCP, just HTTPS for now. Fly.io can, but now they're paid unless you had the legacy hobby plan.


Testing external packages

A missing piece of moving code out of the standard library is package testing. For example I moved all code and tests for the smt2 interface out of the standard library, but ended up disabling the tests because we don't provide a mechanism for checking tests beyond examples.
An issue with relying on examples is that their failure (even when intentional) stops the project from building, which is problematic when compared with traditional testing techniques.
I wanted to chat about our wish list for such a feature and brainstorm potential designs, or discuss any issues that may exist.
I know @leodemoura has some thoughts about asserting defn. equality about goals, but for non-tactics we might want to provide similar primitives.
One feature on my wish list is a command in the style of cargo/npm/bundler/etc test which allows us to get a nice view of all test failures and successes.
cc @Kha @gebner

An issue with relying on examples is that their failure (even when intentional) stops the project from building, which is problematic when compared with traditional testing techniques.

This seems to be an argument for having sources in src/ by default - that way, errors in test/ will not influence the standard build.

So in the most basic implementation, leanpkg test would just try to build test/ (with src/ added to LEAN_PATH).

@jroesch Is this still an issue?

@leodemoura I think we resolved it for the time being with the current solution.


SQLite error when trying to run download task from another activity.

In my application, After app open download task run successfully. When i add another download task after moving to another activity,  download finished successfully but logcat showing following error log.
06-16 15:52:18.107 22811-23332/com.axis.drawingdesk.v3:filedownloader E/SQLiteLog: (1032) statement aborts at 18: [INSERT INTO filedownloader(etag,errMsg,status,total,sofar,path,url,_id) VALUES (?,?,?,?,?,?,?,?)]
06-16 15:52:18.110 22811-23332/com.axis.drawingdesk.v3:filedownloader E/SQLiteDatabase: Error inserting etag=null errMsg=null status=1 total=0 sofar=0 path={path} url={url}  _id=-1950335409
                                                                                android.database.sqlite.SQLiteReadOnlyDatabaseException: attempt to write a readonly database (code 1032)
                                                                                at android.database.sqlite.SQLiteConnection.nativeExecuteForLastInsertedRowId(Native Method)
                                                                                at android.database.sqlite.SQLiteConnection.executeForLastInsertedRowId(SQLiteConnection.java:780)
                                                                                at android.database.sqlite.SQLiteSession.executeForLastInsertedRowId(SQLiteSession.java:788)
                                                                                at android.database.sqlite.SQLiteStatement.executeInsert(SQLiteStatement.java:86)
                                                                                at android.database.sqlite.SQLiteDatabase.insertWithOnConflict(SQLiteDatabase.java:1471)
                                                                                at android.database.sqlite.SQLiteDatabase.insert(SQLiteDatabase.java:1341)
                                                                                at com.liulishuo.filedownloader.services.FileDownloadDBHelper.insert(FileDownloadDBHelper.java:143)
                                                                                at com.liulishuo.filedownloader.services.FileDownloadDBHelper.update(FileDownloadDBHelper.java:162)
                                                                                at com.liulishuo.filedownloader.services.FileDownloadMgr.start(FileDownloadMgr.java:116)
                                                                                at com.liulishuo.filedownloader.services.FDServiceSeparateHandler.start(FDServiceSeparateHandler.java:102)
                                                                                at com.liulishuo.filedownloader.i.IFileDownloadIPCService$Stub.onTransact(IFileDownloadIPCService.java:125)
                                                                                at android.os.Binder.execTransact(Binder.java:453)

app is not crashing or anything and downloads are successful. but above error appear in logcat with every link download. Did i miss something? The code is same as https://github.com/lingochamp/FileDownloader/wiki/Start-downloading#start-downloading-task-queue  and i use 1st method.

Sorry, I missed this Issus before.

It is so oddball, The filedownloader database stores in your application internal data folder, normally your application has read、write、execute permission absolutely.

This would be the small probability case is occurred on SQLite when there are issues on devices or filesystem, so you can customize your own database to handle such issues , ref here.


Error in TryResolve

File  RouterExtensions. Branch develop line 81. Should be:
return router.TryResolve(profiles, (float)coordinate.X, (float)coordinate.Y,
searchDistanceInMeter);
While there is:
return router.TryResolve(profiles, (float)coordinate.Y, (float)coordinate.X,
searchDistanceInMeter);

Is this in Itinero.Geo? Because coordinate.Y = latitude and coordinate.X = longitude, makes the original line correct.

Hi, Ben.

Is this in Itinero.Geo

Yes

Because coordinate.Y = latitude and coordinate.X = longitude, makes the original line correct.

Ok. Let's assume coordinate.X=longitude. And go a little deeper into TryResolve implementation. It references another TryResolve like so:
return router.TryResolve(profiles, (float)coordinate.X, (float)coordinate.Y,                 searchDistanceInMeter);
So second parameter is coordinate.X which is in our assumption a longitude.
Looking at RouterBaseExtensions method implementation:
return router.TryResolve(profiles, latitude, longitude, null,                  searchDistanceInMeter);
Which assumes that second parameter is latitude. But we have longitude. So we came to contradiction.
It looks like parameters in router.TryResolve were just a little confused.

Ok, thanks! 👍 Will check!

There are four methods in Itinero.Geo that use the .X and .Y properties of the GeoAPI coordinate:
https://github.com/itinero/routing/blob/develop/src/Itinero.Geo/RouterExtensions.cs#L81
https://github.com/itinero/routing/blob/develop/src/Itinero.Geo/RouterExtensions.cs#L91
https://github.com/itinero/routing/blob/develop/src/Itinero.Geo/RouterExtensions.cs#L160
https://github.com/itinero/routing/blob/develop/src/Itinero.Geo/RouterExtensions.cs#L196
These all use methods that are lat-lon, so use Y-X. Where did you find this line?
return router.TryResolve(profiles, (float)coordinate.X, (float)coordinate.Y, searchDistanceInMeter);
I can't find it anywhere in the code...

Hi Ben. I can't find this line. Looks like It was my mistake. Now I see that there are two Coordinate classes
one with X and Y and one with Latitude and Longitude. I mixed up them with help of intellisense. Maybe it will be good to rename one of them. For example, to GeometryCoordinate.

Ok, I'll see what I can do about the names, I'm not going to change this now because it would be a pretty bit breaking change.
When working with NTS I would recommend not using the namespace Itinero.LocalGeo for now.


Null is a primitive type - does it need a lib?

TIL Null implements == and !=, but why bother?  (o == null does not work for options o : ? T, only for o : null.

Wait, why does option == null not work? That would be a bug, given that Null is a subtype.

Why should that work? We don't derive equality functions for option (they are generic). Unless you want to special case that options of equality type admit equality, but then why not do that consistently for all equality type.

FTR, ordering on  null is not supported (though equality is).

Why should that work? We don't derive equality functions for option (they are generic).

Ah, right.


Multiple prometheus objects in the same namespace get added to the same default 'prometheus' service

Prometheus Operator seems to create default service objects named prometheus and alertmanager. If you create more than one prometheus object in the same namespace (E.G. frontend and backend, both in the monitoring namespace,) then both get added to the same default service named prometheus, as seen in the related endpoints object. (Looks like the same would happen if for some reason you wanted more than one alertmanager object in the same namespace.)
This is confusing and I imagine not what was intended. (Or maybe there's a purpose I'm missing?)
I'm unclear as to the purpose of these default service objects. I'm creating my own as I need to control various aspects including annotations.
P.S. Hope I'm not creating too many issues, love what you guys are doing, hoping to help!

No worries - all feedback is good feedback! 👍
Those Service objects are created to satisfy the StatefulSets need for a governing service, for stable DNS names. These services are not suitable for accessing the underlying Prometheus/Alertmanager instances. For that purpose we wanted to be unopinionated about how someone exposes those.
We're working on versioned user-guides and documentation, but are not quite ready yet unfortunately, but I can imagine this kind of information going there. Until then open as many issues as you want 🙂

@brancz thanks!
OK. It sounds like it's OK to have more than one prometheus object connected to this governing service, do you agree? - It's just for internal usage by Prometheus Operator?
I think we can close this issue.

Yep it is purely intended for internal use. If we hit any issues regarding that we can reconsider it, but it allows us to just make sure there is one Service per Namespace and not worry about it further. But if we hit any limitations on this path it won't be a problem to change this behavior.


how to get shard keys for collection when using custom sharding

hii!
i would like to know how to get the list of all shard keys for a custom sharded collection ?
thanks

Hi
Hm, I am afraid that there is no convenient way to get it yet..
However there is a way, e.g.:
>>> cl.http.cluster_api.collection_cluster_info('{collection_name}')
InlineResponse2007(time=4.5083e-05, status='ok', result=CollectionClusterInfo(peer_id=2931637626479673, shard_count=1, local_shards=[LocalShardInfo(shard_id=1, shard_key='user_1', points_count=1, state=<ReplicaState.ACTIVE: 'Active'>)], remote_shards=[], shard_transfers=[]))

And then you need to iterate over local shards and remote shards and extract shard_key
Sorry for the inconvenience :(


Update broken link to Ansible inventory in kubespray.md

Based on #27473.

Direct link to the preview: https://deploy-preview-28439--kubernetes-io-master-staging.netlify.app/fr/docs/setup/custom-cloud/kubespray/
/lgtm

/approve


fix: perf problem of Action flyout menu

Description
#minor
Problem When moving cursor around Action flyout menu, whole UI stuck.
Root cause
According to this issue https://github.com/microsoft/fluentui/issues/5642 , when loading FluentUI's ContextualMenu, browser's focus state will be affected unexpectedly. In our case, when using the Action flyout menu, the browser focus state (triggered by onFocus and onBlur event) would be changed repeatedly for multiple (around 20) times.
Unfortunately, the browser's focus state was saved as a React state in DesignPage and post to Electron via IPC to enable/disbale the Electron app menu. As a result, everytime user moves cursor around the flyout menu, the design page will be redraw for tons of times which led to the UI stuck.
Solution
This PR fixes this issue by saving the focus state as a ref by using useRef() hook rather than useState().
Instead of subscribing the focus state change with useEffect(), whenever the ref is updated, now Composer will proactively report status to Electron app menu.
With this fix, DesignPage won't be redraw when the browser focus state changes.

Task Item

Screenshots

Coverage decreased (-0.02%) to 55.339% when pulling d33c5f580f95c6104b50ffb92b0f681258276b53 on yeze322:electron/flyout-perf into e8d0d55d1360454d71013c381b044b3c1373e208 on microsoft:main.


Training log and loss curve

Nice work!
I've been training MaskDiT on my own dataset recently, but I'm unsure if the loss is decreasing normally because I'm not seeing satisfactory results in the generated images. Can you please provide the log records of training on ImageNet 256x256? Or the loss curve.
Thanks very much!

Hi,
Thanks for your interest in our work. I don't know how much it will help, but here is the training loss curve. How much different is your dataset from ImageNet256?

Hi, devzhk.
I am training MaskDiT on a self-collected text2image dataset (cross-attention is used to inject text condition). My loss is similar to the curve you provided. However, after training for about 70 epochs, the loss starts to have NaN values and it becomes more and more frequent as the training progresses. I used PyTorch's mixed precision. Have you encountered this situation before?

Hi,
Maybe try to turn off mixed precision for debugging? If disabling mixed precision works, then try to diable AMP for each individual module to see which one is causing the problem.


printing traceback

The print stmt accesses the message attribute of ExecutionException which doesn't exist. Resulting in two exceptions being thrown.
This small PR prints the full traceback of the execption

Codecov Report

Merging #188 into master will increase coverage by 0.56%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master     #188      +/-   ##
==========================================
+ Coverage   50.32%   50.88%   +0.56%
==========================================
  Files          93       93
  Lines        4680     4762      +82
==========================================
+ Hits         2355     2423      +68
- Misses       2325     2339      +14

Impacted Files
Coverage Δ

mlflow/cli.py
73.68% <0%> (-0.99%)
:arrow_down:

mlflow/projects/submitted_run.py
66.66% <0%> (-22.23%)
:arrow_down:

mlflow/projects/pollable_run.py
69.64% <0%> (-7.15%)
:arrow_down:

mlflow/utils/rest_utils.py
29.03% <0%> (ø)
:arrow_up:

mlflow/sagemaker/__init__.py
17.15% <0%> (+0.54%)
:arrow_up:

mlflow/sagemaker/cli.py
77.27% <0%> (+1.08%)
:arrow_up:

mlflow/projects/_project_spec.py
100% <0%> (+1.09%)
:arrow_up:

mlflow/projects/__init__.py
93.7% <0%> (+1.96%)
:arrow_up:

mlflow/utils/file_utils.py
78.29% <0%> (+2.43%)
:arrow_up:

mlflow/projects/databricks.py
44.44% <0%> (+44.44%)
:arrow_up:

Continue to review full report at Codecov.

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

What's an example error case that leads to this? Maybe we should also make sure that adds a sensible message.

The issue can easily be reproduced using the mlflow tutorial example:
current master branch:
~/workspace/mlflow/example/tutorial  ‹master*›
╰─$ mlflow run ./ -e main

result:
=== Fetching project from ./ ===
=== Work directory for this run: /Users/joak/workspace/mlflow/example/tutorial ===
=== Created directory /var/folders/k5/03fgg3p967g4xz2bpzc_0mf00000gn/T/tmp2n1umnjv for downloading remote URIs passed to arguments of type 'path' ===
Traceback (most recent call last):
  File "/Users/joak/workspace/mlflow/mlflow/cli.py", line 113, in run
    block=True,
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 101, in run
    use_temp_cwd=use_temp_cwd, storage_dir=storage_dir, block=block)
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 44, in _run
    block=block)
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 132, in _run_local
    project, entry_point, work_dir, parameters, use_conda, storage_dir, experiment_id, block)
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 256, in _run_project
    .compute_command(parameters, storage_dir_for_run)
  File "/Users/joak/workspace/mlflow/mlflow/projects/_project_spec.py", line 90, in compute_command
    params, extra_params = self.compute_parameters(user_parameters, storage_dir)
  File "/Users/joak/workspace/mlflow/mlflow/projects/_project_spec.py", line 75, in compute_parameters
    self._validate_parameters(user_parameters)
  File "/Users/joak/workspace/mlflow/mlflow/projects/_project_spec.py", line 54, in _validate_parameters
    "No value given for missing parameter: '%s'" % missing_params[0])
mlflow.projects.ExecutionException: No value given for missing parameter: 'alpha'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/joak/.local/share/virtualenvs/mlflow-FJlZ-oWm/bin/mlflow", line 11, in <module>
    load_entry_point('mlflow', 'console_scripts', 'mlflow')()
  File "/Users/joak/.local/share/virtualenvs/mlflow-FJlZ-oWm/lib/python3.6/site-packages/click/core.py", line 722, in __call__
    return self.main(*args, **kwargs)
  File "/Users/joak/.local/share/virtualenvs/mlflow-FJlZ-oWm/lib/python3.6/site-packages/click/core.py", line 697, in main
    rv = self.invoke(ctx)
  File "/Users/joak/.local/share/virtualenvs/mlflow-FJlZ-oWm/lib/python3.6/site-packages/click/core.py", line 1066, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/Users/joak/.local/share/virtualenvs/mlflow-FJlZ-oWm/lib/python3.6/site-packages/click/core.py", line 895, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/Users/joak/.local/share/virtualenvs/mlflow-FJlZ-oWm/lib/python3.6/site-packages/click/core.py", line 535, in invoke
    return callback(*args, **kwargs)
  File "/Users/joak/workspace/mlflow/mlflow/cli.py", line 116, in run
    print(e.message, file=sys.stderr)
AttributeError: 'ExecutionException' object has no attribute 'message'

same command with this PR fix:
=== Fetching project from ./ ===
=== Work directory for this run: /Users/joak/workspace/mlflow/example/tutorial ===
=== Created directory /var/folders/k5/03fgg3p967g4xz2bpzc_0mf00000gn/T/tmp0v5z5nf5 for downloading remote URIs passed to arguments of type 'path' ===
Traceback (most recent call last):
  File "/Users/joak/workspace/mlflow/mlflow/cli.py", line 113, in run
    block=True,
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 101, in run
    use_temp_cwd=use_temp_cwd, storage_dir=storage_dir, block=block)
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 44, in _run
    block=block)
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 132, in _run_local
    project, entry_point, work_dir, parameters, use_conda, storage_dir, experiment_id, block)
  File "/Users/joak/workspace/mlflow/mlflow/projects/__init__.py", line 256, in _run_project
    .compute_command(parameters, storage_dir_for_run)
  File "/Users/joak/workspace/mlflow/mlflow/projects/_project_spec.py", line 90, in compute_command
    params, extra_params = self.compute_parameters(user_parameters, storage_dir)
  File "/Users/joak/workspace/mlflow/mlflow/projects/_project_spec.py", line 75, in compute_parameters
    self._validate_parameters(user_parameters)
  File "/Users/joak/workspace/mlflow/mlflow/projects/_project_spec.py", line 54, in _validate_parameters
    "No value given for missing parameter: '%s'" % missing_params[0])
mlflow.projects.ExecutionException: No value given for missing parameter: 'alpha'

Makes sense, thanks! I'll merge this.


Do I need to load Tailwind CSS?

I thought the Flowbite comes with Tailwind CSS.
But when I try to use basis-1/4, it doesn't work.
I'm wondering if I need to load Tailwind CSS as well.

Hey @shinokada,
Flowbite is a plugin for Tailwind CSS, so by using Flowbite you need to have a Tailwind CSS project.
Indeed, Flowbite's CDN will work because Tailwind CSS would be loaded already, but that is not the recommended way of working with it because the CSS wouldn't be purged.


Cookbook is broken due to missing MIDITrackViewModel

Due to #82
See https://github.com/AudioKit/AudioKitUI/pull/49

This is addressed, amongst other things.


Reflect on where to re-introduce the tagline mass broadcast system

What

After a discussion with Juliette, me & Stéphane:
Re-introduce the tagline mass broadcast system
https://world.openfoodfacts.org/files/tagline/tagline-off.json
Before first scan: Keep the current text
After first scan, show the tagline, in black, and anything between  to be shown as blue (or any accent color)
The whole text is links to the url in the JSON file
https://github.com/openfoodfacts/openfoodfacts-androidapp/blob/develop/app/src/main/java/openfoodfacts/github/scrachx/openfood/models/TagLine.kt
https://github.com/openfoodfacts/openfoodfacts-androidapp/blob/8434d470e49114b6c71dc2341934567ed451bd3e/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/home/HomeFragment.kt#L59
https://github.com/openfoodfacts/openfoodfacts-androidapp/blob/53afbf6204b7436be7328b97269c54cd8f574543/app/src/main/java/openfoodfacts/github/scrachx/openfood/features/home/HomeViewModel.kt#L85

Mockup

Why

This is an asset from v1 that allows us to leverage the userbase for important purposes. We would currently be loosing it.

https://xkcd.com/2615/

Two questions about this:

Should we consider the tagline API to be implemented in the Dart SDK? or is-it a "Smoothie"-only feature?
If the text is too long, what should happen?

smoothie only
carriage return ? (we'll keep it reasonably short)

For the long text, I mean if the text is too long to be displayed on the screen.
Should we scroll? Append dots…?

dots

I have added the reference implementation from v1

A few questions regarding the implementation:

At which frequency, a request should be sent? Once per app lifecycle?
What's the TTL of the message (underneath question being: should we cache it)
Should we open the browser directly? or an in-app webview?

@alexgarel

@g123k : I'd want messages are typically updated monthly, especially since we now have the means to communicate more.
It's also a way to get a volumetry of app openings that's more accurate than matomo

@teolemon So no cache, and a refresh on every app startup?
And I don't know if that's possible, but sending the language as a parameter would be far better, than parsing the whole file :)

@teolemon Just to be sure what exactly a first scan is.

Is-it the first scan for the whole app?
Or the first scan since the app is launched (= reset every time)

Just noticed what about the branding, should there be the "old" barcode scanner logo on the search card, or the new Text Logo or just plain text


dogwrap: decode process output as utf-8

This fixes the issue where dogwrap will crash when a process' stdout/stderr contains non-ascii characters, in most cases utf-8.
I was getting this error:
$ python -m dogshell.wrap 'echo "\xE2\x98\xA0"'
Traceback (most recent call last):
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 162, in _run_module_as_main
    "__main__", fname, loader, pkg_name)
  File "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
    exec code in run_globals
  File "/Library/Python/2.7/site-packages/dogshell/wrap.py", line 155, in <module>
    main()
  File "/Library/Python/2.7/site-packages/dogshell/wrap.py", line 139, in main
    event_body = u''.join(event_body)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)

With this change:
$ python -m dogshell.wrap 'echo "\xE2\x98\xA0"'

☠

Thanks a lot @pbitty, I am merging it.


[FEATURE] Mini Version on minimize

Is there an existing issue for this?

[X] I have searched the existing issues

Is your feature request related to a problem? Please describe.
No response
Describe the solution you'd like

Anything else?
No response

In v3.3.0


Token CR

[x] define and consume the Token CR.
[x] controller will generate corresponding secrets. Once the secret is generated, the ID of the token will be added back into the Token CR for cluster nodes to use for authN/authZ.
[x] update metadata system to incorporate this info.

Done.


Linking to blas.dll on windows

I might be missing something obvious here, but I can't get an executable using nimblas to load blas.dll on windows.
I have this simple nim code, ripped from the tests:
import nimblas/cblas

template first[A](x: openArray[A]): ptr A = addr(x[0])

var
  u = [1.0, 2.0, 3.0, 4.0]
  v = [2.0, 2.0, 2.0, 1.0]

let d = ddot(4, u.first, 1, v.first, 1)
echo d

I build with: nim c -r blastest.nim.
I have downloaded the reference blas dll, renamed to blas.dll (the file is originally libblas.dll) and put it in the same folder as the compiled exe. Running the exe then gives me:
could not load: blas.dll

I have tried many permutations on the above : not renaming and using the -d:blas=libblas switch at compile time, using openblas dll, both renamed to blas.dll and in its original libopenblas.dll with -d:blas=openblas
I've also triple-checked that all my various BLAS dll's, as well as my exe, are 64 bits. I'm building with nim 1.0.4 and mingw64 gcc:
$gcc -v

Using built-in specs.
COLLECT_GCC=C:\msys64\mingw64\bin\gcc.exe
COLLECT_LTO_WRAPPER=C:/msys64/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/9.2.0/lto-wrapper.exe
Target: x86_64-w64-mingw32
Configured with: ../gcc-9.2.0/configure --prefix=/mingw64 --with-local-prefix=/mingw64/local --build=x86_64-w64-mingw32 --host=x86_64-w64-mingw32 --target=x86_64-w64-mingw32 --with-native-system-header-dir=/mingw64/x86_64-w64-mingw32/include --libexecdir=/mingw64/lib --enable-bootstrap --with-arch=x86-64 --with-tune=generic --enable-languages=c,lto,c++,fortran,ada,objc,obj-c++ --enable-shared --enable-static --enable-libatomic --enable-threads=posix --enable-graphite --enable-fully-dynamic-string --enable-libstdcxx-filesystem-ts=yes --enable-libstdcxx-time=yes --disable-libstdcxx-pch --disable-libstdcxx-debug --disable-isl-version-check --enable-lto --enable-libgomp --disable-multilib --enable-checking=release --disable-rpath --disable-win32-registry --disable-nls --disable-werror --disable-symvers --enable-plugin --with-libiconv --with-system-zlib --with-gmp=/mingw64 --with-mpfr=/mingw64 --with-mpc=/mingw64 --with-isl=/mingw64 --with-pkgversion='Rev2, Built by MSYS2 project' --with-bugurl=https://sourceforge.net/projects/msys2 --with-gnu-as --with-gnu-ld
Thread model: posix
gcc version 9.2.0 (Rev2, Built by MSYS2 project)

$nim -v
Nim Compiler Version 1.0.4 [Windows: amd64]
Compiled at 2019-11-27
Copyright (c) 2006-2019 by Andreas Rumpf

git hash: c8998c498f5e2a0874846eb31309e1d1630faca6
active boot switches: -d:release

Hi @auxym , this is a little difficult to investigate for me since I don't have a Windows system and I have never programmed on Windows. Still, this library has been reported to work on Windows, so it must somehow work.
Where does Windows look for DLLs? Is it enough to put it in the executable folder or does it need to be installed somewhere? In this issue for Arraymancer, I see that @systra72 is using Msys2 to install BLAS, while in this other issue @pkscn333 reports it working via pacman.
I don't know if this is of any help

Putting DLL in the same folder as the executable is pretty standard on win32, and is the first place looked up according to this MS doc: https://docs.microsoft.com/en-us/windows/win32/dlls/dynamic-link-library-search-order#standard-search-order-for-desktop-applications

If SafeDllSearchMode is enabled, the search order is as follows:

The directory from which the application loaded.
...

That said, I'll have a look at those issues (thanks!) and investigate. If I figure out the trick maybe we can update the readme or something.

If I figure out the trick maybe we can update the readme or something.

Sure, thank you!

Alright, I got it working by using openblas from msys2 (had no idea they were building and packaging it, what a great project!). I was already using the msys2 mingw64 compiler toolchain, so that worked out fine.
I suspect my original issue my caused by ABI incompability issues between MSVC-built dlls and my mingw/gcc executables.
In short, I'd suggest the following blurb in the readme:
## Linking BLAS Implementations

...

### Windows

On windows, it is recommended to use [MSYS2](https://www.msys2.org/) to install the mingw compiler toolchain and compatible OpenBLAS library. For 64-bit builds, this would be:

pacman -S mingw-w64-x86_64-gcc mingw-w64-x86_64-openblas

You should then add `MSYS2_ROOT\mingw64\bin` to your PATH. Programs using nimblas can then be compiled using the `-d:blas=libopenblas` switch. At runtime, `libopenblas,dll` should be loaded from the mingw64 bin directory you added to your PATH, though it is suggested to distribute this dll alongside your executable if your are publishing binary packages.

I'm not sure if it's because of the PATH entry I added, but I did not need to pass any additional clibdir switch, the dll was already on the default search path. On a related note, neo can also be built by just adding -d:lapack=libopenblas.

Thank you, I have added instructions for Windows. If you feel this is now ok, you can close the issue.

Works for me, thanks


Request Feature Password Lock Database

I tried this code to lock the data but if the secret is wrong the data is automatically lost / in recovery, I want if the secret is wrong then the data can't be opened,
import 'dart:convert';
import 'package:hive/hive.dart';
void main(List<String> args) async {
  Hive.init("./");
  var secret = utf8.encode('azkadev my application secure :V');
  var box = await Hive.openBox(
    "name",
    encryptionCipher: HiveAesCipher(secret),
  );
  var azka = box.get("azka");
  if (azka is String) {
    print(azka);
  } else {
    print("else");
    box.put("azka", "baru");
  }
}

can you add a lock feature with a password? i want to change json database to hive db database for my application project
Version

Platform: iOS, Android, Mac, Windows, Linux, Web
Flutter version: 3.0.0
Hive version: 2.2.2

sorry I forgot that there is a crashRecovery . parameter


Theme changes don't take effect immediately

Godot version:
3.2 beta2
Steps to reproduce:

Create a Label
Assign it a Theme
Change label font color in that theme
It doesn't update until you change scene tab and back

Still reproducible in 3.2.3-stable.

Bug still exists in 3.3-stable

Fixed in 4.0


Contri#7

I solve the first issue right side space in about page . There is little bit space but when as user contribute is fill the space ...

Second issue responsive .
Now it show user details in phone also..

I apologise. If there is anymore issue please tell me if not then thank you to give me this issue...😊

@GOURAVSINGH19 Great work  but there are some minor css change needed , will include that in another PR
now merging it ,
:star: Don't forget to give us a star! :star:


How do I split my data set into a training set, a test set and a validation set

Description
I'm new to graph deep learning.
question1:
Now I want to build a model for link prediction, but I can't understand how the data set was split in the link prediction demo, Can anyone tell me why the training set is split from the test set and not from the original data set? Please remind me if I understand something wrong. Thank you!
question2:
How can I add other indicators, such as recall rate, to the evaluation indicators of the link prediction model?

Hello, this form of division is also causing me some doubts. Shouldn't we use a validation set? In all the examples I ended up finding only the training and testing set.
Perform a division like this wrong:
edge_splitter_test = EdgeSplitter(graph)

# Randomly sample a fraction p=0.1 of all positive links, and same number of negative links, from G, and obtain the
# reduced graph G_test with the sampled links removed:
G_test, edge_ids_test, edge_labels_test = edge_splitter_test.train_test_split(
    p=0.1, method="global", keep_connected=True
)

# Define an edge splitter on the reduced graph G_test:
edge_splitter_train = EdgeSplitter(G_test, graph)

# Randomly sample a fraction p=0.1 of all positive links, and same number of negative links, from G_test, and obtain the
# reduced graph G_train with the sampled links removed:
G_train, edge_ids_train, edge_labels_train = edge_splitter_train.train_test_split(
    p=0.1, method="global", keep_connected=True
)

# Define an edge splitter on the reduced graph G_validation:
edge_splitter_validation = EdgeSplitter(G_train, graph)

# Randomly sample a fraction p=0.1 of all positive links, and same number of negative links, from G_test, and obtain the
# reduced graph G_train with the sampled links removed:
G_validation, edge_ids_validation, edge_labels_validation = edge_splitter_train.train_test_split(
    p=0.1, method="global", keep_connected=True
)

or is it not necessary considering the model in graphs? If so, would you be able to get any reference?
@YINTONG0090 With regard to metrics, Stella relies on tensorflow and keras so you can define metrics in the same way, for example:
from tensorflow.keras import layers, optimizers, losses, metrics, Model

model = Model(inputs=x_inp, outputs=prediction)
model.compile(
    optimizer=optimizers.Adam(learning_rate=1e-2),
    loss=losses.binary_crossentropy,
    metrics=["acc", metrics.AUC(curve="ROC", name="auc_roc"), metrics.AUC(curve="PR", name="auc_pr")],
)

Thanks

你好，这种划分形式也让我有些疑惑。我们不应该使用验证集吗？在所有的例子中，我最终只找到了训练和测试集。
执行这样的除法错误：
edge_splitter_test = EdgeSplitter(graph)
G_test, edge_ids_test, edge_labels_test = edge_splitter_test.train_test_split(
    p=0.1, method="global", keep_connected=True
)

edge_splitter_train = EdgeSplitter(G_test, graph)
G_train, edge_ids_train, edge_labels_train = edge_splitter_train.train_test_split(
    p=0.1, method="global", keep_connected=True
)

edge_splitter_validation = EdgeSplitter(G_train, graph)
G_validation, edge_ids_validation, edge_labels_validation = edge_splitter_validation.train_test_split(
    p=0.1, method="global", keep_connected=True
)

还是没有必要考虑图中的模型？如果是这样，你能得到任何参考吗？
@YINTONG0090关于指标，Stella 依赖于 tensorflow 和 keras，因此您可以以相同的方式定义指标，例如：
from tensorflow.keras import layers, optimizers, losses, metrics, Model

model = Model(inputs=x_inp, outputs=prediction)
model.compile(
    optimizer=optimizers.Adam(learning_rate=1e-2),
    loss=losses.binary_crossentropy,
    metrics=["acc", metrics.AUC(curve="ROC", name="auc_roc"), metrics.AUC(curve="PR", name="auc_pr")],
)

谢谢

thank you! I think there's still a lot to explore (╥﹏╥)

你好，这种划分形式也让我有些疑惑。我们不应该使用验证集吗？在所有的例子中，我最终只找到了训练和测试集。
执行这样的除法错误：
edge_splitter_test = EdgeSplitter(graph)
G_test, edge_ids_test, edge_labels_test = edge_splitter_test.train_test_split(
    p=0.1, method="global", keep_connected=True
)

edge_splitter_train = EdgeSplitter(G_test, graph)
G_train, edge_ids_train, edge_labels_train = edge_splitter_train.train_test_split(
    p=0.1, method="global", keep_connected=True
)

edge_splitter_validation = EdgeSplitter(G_train, graph)
G_validation, edge_ids_validation, edge_labels_validation = edge_splitter_validation.train_test_split(
    p=0.1, method="global", keep_connected=True
)

还是没有必要考虑图中的模型？如果是这样，你能得到任何参考吗？
@YINTONG0090关于指标，Stella 依赖于 tensorflow 和 keras，因此您可以以相同的方式定义指标，例如：
from tensorflow.keras import layers, optimizers, losses, metrics, Model

model = Model(inputs=x_inp, outputs=prediction)
model.compile(
    optimizer=optimizers.Adam(learning_rate=1e-2),
    loss=losses.binary_crossentropy,
    metrics=["acc", metrics.AUC(curve="ROC", name="auc_roc"), metrics.AUC(curve="PR", name="auc_pr")],
)

谢谢

edge_splitter_test = EdgeSplitter(graph)
G_test, edge_ids_test, edge_labels_test = edge_splitter_test.train_test_split(
p=0.1, method="global", keep_connected=True
)
edge_splitter_train = EdgeSplitter(G_test)
G_train, edge_ids_train, edge_labels_train = edge_splitter_train.train_test_split(
p=0.1, method="global", keep_connected=True
)
edge_splitter_validation = EdgeSplitter(G_train)
G_validation, edge_ids_validation, edge_labels_validation = edge_splitter_validation.train_test_split(
p=0.1, method="global", keep_connected=True
)
I used a similar approach to yours, only without passing in the 'graph' argument later, and it worked.

Sorry my late, this graph in my code is building before with my dataset, check for exemple:
graph = StellarGraph({"source": source_data, "target": target_data}, edges, edge_type_column = "edge_type")
Best regard,


Additional arguments/properties for dmc.AccordionItem

dmc.AccordionItem needs style and class_name properties to allow for component-level styling.
Would also be very useful for dmc.AccordionItem to have a boolean opened property that indicates whether or not the item is opened.

This has been taken care of in the master.
I don't think it's possible to have an opened property in Mantine, but I'm still exploring it.


Agreement on how to write connection parameters

There is a "small" issue that makes the UpJet AWS provider unusable in conjunction with the SQL provider.
This is because there is a discrepancy between the way the UpJet provider writes credentials and how the SQL provider reads them.
Could the maintainers of both providers discuss and find a solution to unblock all users who would like to create databases and easily execute queries?
List of issues to help you analyze the problem:

https://github.com/crossplane-contrib/provider-upjet-aws/issues/778
https://github.com/crossplane-contrib/provider-upjet-aws/pull/798
https://github.com/crossplane-contrib/provider-upjet-aws/issues/1189
https://github.com/crossplane-contrib/provider-upjet-aws/issues/1578
https://github.com/crossplane-contrib/provider-sql/pull/154
https://github.com/crossplane-contrib/provider-sql/issues/191
https://github.com/crossplane-contrib/provider-sql/issues/203

The follow-up discussion can also be found here: https://crossplane.slack.com/archives/C01718T2476/p1732801643245679.

Thanks for brining this up @pierluigilenoci
This was also discussed on the linked Slack thread but sharing here for posterity.
I've never seen this as a big issue as it was never a blocker for me, I've been using these through Compositions, which allow me to map address to endpoint.
Like this (ref):
connectionDetails:
    - fromConnectionSecretKey: username
      name: username
    - fromConnectionSecretKey: attribute.password
      name: password
    - fromConnectionSecretKey: address
      name: endpoint
    - fromConnectionSecretKey: port
      name: port

I remembered vaguely that the provider for GCP supported the consistent endpoint/port/username/password but that doesn't seem to be the case for the Upjet provider. The secret from provider-upjet-gcp's CloudSQL connectionDetails does not match in any way that could possibly work with provider-sql without rewriting the secret (with a Composition for example).
The 'vanilla' provider-gcp did return the consistent secrets, hence where I remember that from, as well as the 'vanilla' provider-aws. You can see here that provider-aws maps endpoint.address to endpoint: https://github.com/crossplane-contrib/provider-aws/blob/master/pkg/controller/rds/dbinstance/setup.go#L233
So to be very pedantic, this was a regression introduced by provider-upjet-aws. :innocent:
Again, as also mentioned by someone else on the Slack thread, this can be resolved with a Composition, which would also be required for CloudSQL in provider-upjet-gcp anyways
I don't think the provider-sql should accomodate for each CSP's generated secret, it creates a maintenance burden to follow multiple upstream providers, as well as multiple versions of that provider in case the connection details change upon a breaking change/major version release.


solution to bfs added

this is my 1st contribution to this repository for hactoberfest

Change file name of bfs.cpp to some unique file name

Renamed bfs.cpp to breadth_1st_search.cpp


Google Oauth while signing up

Feature request-
I want to add the Google Oauth in the signup page for the ease for users. I will be using passport and passport google strategies for building this.
Describe alternatives you've considered
We can also make facebook and twiitter authentication but google seems to be the most appropriate.
Describe how this feature will be useful to our readers.
It will ease up the sign in process.
I want to work on this as a participant of GSSOC'21.

Hey @udaymittal7!
Third-party authentication is already being worked upon under issue #269, therefore please create a new issue or find a different issue to work with and before creating a new issue please check if a similar issue already exists.


2dstructure cell in exported cif and visualization

The 2dstructures, that have dimension_types": [ 1, 1, 0], don't handle cells correctly: it's not visualized and not included in the downloaded files (e.g. cifs).
See e.g.

This will be resolved by https://github.com/Materials-Consortia/optimade-python-tools/issues/1212

I think CasperWA/voila-optimade-client#432 should solve this? Maybe you could try to checkout that PR branch and check to confirm?