Workday -> AD - datediff and future workers

Do you got example how to use datediff to only query workers that starts within 30 days?

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

ID: bb096310-b136-dc61-f70d-b43a7040fcf6
Version Independent ID: 1040fe7c-9f7d-bf49-de4d-abe38142b3d9
Content: Microsoft Entra ID and Workday integration reference - Microsoft Entra
Content Source: articles/active-directory/app-provisioning/workday-integration-reference.md
Service: active-directory
Sub-service: app-provisioning
GitHub Login: @kenwith
Microsoft Alias: kenwith

@mtengmo
Thanks for your feedback! We will investigate and update as appropriate.

@mtengmo
Yes, you can use the DateDiff function to query workers that start within 30 days. Here's an example expression that you can use:
IIF(DateDiff("d", Now(), CDate([Hire_Date])) <= 30, "True", "False1")
This expression will return "True" if the difference between the current date and the worker's hire date is less than or equal to 30 days, and "False" otherwise. You can use this expression in the attribute mapping for the accountEnabled attribute in your Workday to AD integration to only enable accounts for workers who start within 30 days.
Reference document might be helpful https://learn.microsoft.com/en-us/azure/active-directory/app-provisioning/functions-for-customizing-application-data#datediff
I hope this helps! Let me know if you have any other questions.


--version-variable flag alternative to cfg file

When encapsulating release into a reusable ci-cd pipeline component (e.g. CircleCI orbs) it can be nice to automate some config for the project. Currently version_variable must be set in setup.cfg (it seems). It would be great if it can also be passed as a cli flag.
The workaround is to run file manipulations withi the ci-cd job to maipulate setup.cfg as needed.

Something great should be to make python-semantic-release able to work with setup.cfg and pyproject.toml.
This could allow to read/write automatically the new version within the right configuration file.
It could allow to completely automated the CD process of a lib.
Something such as:

Get the new version from vcs history (already exists)
Bump it and write it in setup.cfg, pyproject.yml or init.py
Create a new commit for this change, create the new tag on it

At Sewan we will setup this feature and submit a PR from our fork https://github.com/Azraeht/python-semantic-release

Taking this one in https://github.com/SewanDevs/python-semantic-release

For this issue, I will concentrate on having a way to overload configuration using cli, and I will add pyproject.toml as a source for configuration keys.
The other issues mentioned by Azraeht will probably be adressed in another issue.

I added a -D or --define option that allows the overriding of the configuration. This option works the same way as defined in sonar-scanner or sphinx-build :
https://docs.sonarqube.org/latest/analysis/scan/sonarscanner/
https://www.sphinx-doc.org/en/master/man/sphinx-build.html

@fattybenji Sounds like a good solution 👍


trace: grpc-go does not allow 'grpc-trace-bin' for metadata key

This change drops grpc metadata for trace.
https://github.com/grpc/grpc-go/commit/3ddcdc268d88595eb2f3721f7dc87970a6c3ab6e
Which one needs to be fixed, grpc-go or trace metadata key?

@rakyll this is the same bug emailed earlier by @jba which is breaking our travis builds.
i think you have the most state, if you could take a look that'd be awesome!

I am looking at this since yesterday.

/cc @dfawley

The change is being reverted for now and will be revised. Please see https://github.com/grpc/grpc-go/pull/1400 to track the status of the revert.

The breaking change has been reverted, please go get -u this package and it should work.


Only return JSON for add/remove all team repos

Fixes #9023

Codecov Report

Merging #9028 into master will decrease coverage by <.01%.
The diff coverage is 0%.

@@            Coverage Diff             @@
##           master    #9028      +/-   ##
==========================================
- Coverage   41.14%   41.13%   -0.01%
==========================================
  Files         547      547
  Lines       71353    71357       +4
==========================================
- Hits        29357    29353       -4
- Misses      38278    38288      +10
+ Partials     3718     3716       -2

Impacted Files
Coverage Δ

routers/org/teams.go
0% <0%> (ø)
:arrow_up:

modules/indexer/indexer.go
44.73% <0%> (-10.53%)
:arrow_down:

Continue to review full report at Codecov.

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

Does this need backport?

No, it's new to 1.11.0


Using custom icons

Any ideas on how to use custom icons?
The documentation under icons/fonts for Vuetify doesn't seem to work with this example
Vuetify Icons/Fonts Docs
`
import Vue from "vue";
import { UserVuetifyPreset } from "vuetify";
import Vuetify from "vuetify/lib";
import<EMAIL_ADDRESS>import { VuetifyIcons } from "vuetify/types/services/icons";
Vue.use(Vuetify);
export const options: Partial = {
theme: {
themes: {
light: {
primary: "#0F62FE",
secondary: "#393939",
accent: "#0F62FE",
error: "#DA1E28",
info: "#0443CE",
success: "#198038",
warning: "#F1C21B",
warningOrange: "#FC832C",
},
},
},
icons: {
values: vuetifyToCarbon, // custom icons here
iconfont: "mdi",
},
};
export default new Vuetify(options);
`
Specifically trying to use carbon icons - "@carbon/icons-vue": "^10.40.0"

What is vuetifyToCarbon?
This question looks like a question about Vuetify itself rather than a question about this template. It's better to ask questions on the official issue or Discord.
I think you should at least include the following lines:
import { CarbonIconsVue } from '@carbon/icons-vue';

You could use material design icons with Vuetify <v-icon> component. Here's a list of it: https://materialdesignicons.com/
Example usage: <v-icon>mdi-code-tags</v-icon>

This is the only thing you'll ever need. Ready to import as  (vue,react) component, or svg  or as css backgroung image.


Fixed CONTRIBUTING.rst

Reference issue

What does this implement/fix?
Fixed where file names were changed and URLs were invalid.
Additional information

I think there is a same issue here:
https://github.com/scipy/scipy/blob/f797ac7721310c7bd98bae416be1bed9975b4203/doc/source/dev/core-dev/github.rst.inc#L45

Replace "https://github.com/scipy/scipy/blob/main/doc/source/dev/HACKING.rst" with "https://github.com/scipy/scipy/blob/main/doc/" in all documentation files I think you need to replace "source/dev/hacking.rst" with "source/dev/hacking.rst" or change hacking.rst to HACKING.rst.


Dashboard title {x} current {x, plural, one {visitor} other {visitors}}

Hello
I use macOS Sierra and 12.1.2 Safari that produced "{x} current {x, plural, one {visitor} other {visitors}}" on the dashboard. Screenshot attached.
Probably supporting of 3 years old browser is not the point, but I always use outdate browser to make sure, that application works as it should even with old standards.

Thank you!
Cheers
Alexander

That is strange, it shouldn't be a browser issue. Those are the localization strings before they get translated. But you should never see them.


softwareupdate_notify_agent

Issue Type: Performance Issue
Hi all,
My Code process is taking a lot of CPU. If I quit Code, then CodeHelper keeps taking this same amount of CPU. I had notice prior to this time that it seemed related to updates, and indeed, when I ps aux | grep the pid as requested in the long performance thread, I saw this line, attached to my Code Helper PID:
/System/Library/CoreServices/Software Update.app/Contents/Resources/softwareupdate_notify_agent
CodeHelper process is stuck at 99.9% (of one core?), and if I launch Code, it's even worse. I killed Code Helper, but it comes back as strong as before, and I don't get any notification regarding an update to apply...
VS Code version: Code 1.36.1 (2213894ea0415ee8c85c5eea0d0ff81ecc191529, 2019-07-08T22:56:38.504Z)
OS version: Darwin x64 18.6.0

System Info

Item
Value

CPUs
Intel(R) Core(TM) i7-3820QM CPU @ 2.70GHz (8 x 2700)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: enabledoop_rasterization: disabled_offprotected_video_decode: unavailable_offrasterization: enabledskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
14, 6, 4

Memory (System)
16.00GB (0.26GB free)

Process Argv

Screen Reader
no

VM
0%

Process Info
CPU %	Mem MB	   PID	Process
   17	    98	  3279	code main
    8	    49	  3280	   gpu-process
    5	   246	  3282	   window (ClientFinder.cmp — 2) ABSA Onboarding VSC)
    3	   229	  3288	     extensionHost
  103	   147	  3291	       electron_node server.js
    0	    66	  3292	       electron_node server.js
    0	   131	  3294	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/html-language-features/server/dist/htmlServerMain --node-ipc --clientProcessId=3288
   76	   131	  3298	       electron_node server.js
    0	    49	  3305	       /Applications/Visual Studio Code.app/Contents/Frameworks/Code Helper.app/Contents/MacOS/Code Helper /Applications/Visual Studio Code.app/Contents/Resources/app/extensions/json-language-features/server/dist/jsonServerMain --node-ipc --clientProcessId=3288
    0	    98	  3317	       electron_node visualforceServer.js
  238	   180	  3328	       /Library/Java/JavaVirtualMachines/jdk1.8.0_202.jdk/Contents/Home/bin/java -cp /Users/marcbourlon/.vscode/extensions/salesforce.salesforcedx-vscode-apex-46.7.0/out/apex-jorje-lsp.jar -Ddebug.internal.errors=true -Ddebug.semantic.errors=false apex.jorje.lsp.ApexLanguageServerLauncher
    0	    49	  3289	     watcherService
    0	    49	  3299	     searchService
    2	    82	  3290	   shared-process
    0	     0	  3371	     /bin/ps -ax -o pid=,ppid=,pcpu=,pmem=,command=
    5	    82	  3356	   window (Issue Reporter)

Workspace Info
|  Window (ClientFinder.cmp — 2) ABSA Onboarding VSC)
|    Folder (2) ABSA Onboarding VSC): 328 files
|      File types: xml(107) json(73) js(30) cls(17) png(14) cmp(12) design(12)
|                  css(9) svg(8) ts(7)
|      Conf files: launch.json(1) settings.json(1)
|      Launch Configs: apex-replay;

Extensions (18)

Extension
Author (truncated)
Version

atlascode
atl
1.4.3

bracket-pair-colorizer-2
Coe
0.0.28

vscode-eslint
dba
1.9.0

tslint
eg2
1.0.44

prettier-vscode
esb
1.9.0

beautify
Hoo
1.5.0

python
ms-
2019.6.24221

mq4
ner
1.0.4

vscode-yaml
red
0.4.1

salesforcedx-vscode
sal
46.7.0

salesforcedx-vscode-apex
sal
46.7.0

salesforcedx-vscode-apex-debugger
sal
46.7.0

salesforcedx-vscode-apex-replay-debugger
sal
46.7.0

salesforcedx-vscode-core
sal
46.7.0

salesforcedx-vscode-lightning
sal
46.7.0

salesforcedx-vscode-lwc
sal
46.7.0

salesforcedx-vscode-visualforce
sal
46.7.0

vscode-open-in-github
ziy
1.3.6

If you run with code --verbose is there any interesting output when you hit the issue?
Does the issue reproduce often?

Hi joaomonero, thanks for the quick reply! Actually, I forced quit Code, and the Helper, waited for a bit, restarted, it went fine. However yes, it happens relatively frequently that Code starts taking up CPU, but not to that extent.

When it happens, try to correlate with what you're doing: what actions you've executed, what files you have open, what extensions you are using etc.


Enable HostLogs to be pushed to LogQueue

HostLogs are mentioned here in feeder module:
https://github.com/kubearmor/KubeArmor/blob/f4fba7cf59b62145fffeff5c63d74bd89fbd96b2/KubeArmor/feeder/feeder.go#L553
Which are later pushed to LogQueue here:
https://github.com/kubearmor/KubeArmor/blob/f4fba7cf59b62145fffeff5c63d74bd89fbd96b2/KubeArmor/feeder/feeder.go#L584
But in policyMatcher.go they aren't being returned. https://github.com/kubearmor/KubeArmor/blob/f4fba7cf59b62145fffeff5c63d74bd89fbd96b2/KubeArmor/feeder/policyMatcher.go#L948
We do have ContainerLogs which are returned and passed to feeder.PushLog function.
https://github.com/kubearmor/KubeArmor/blob/f4fba7cf59b62145fffeff5c63d74bd89fbd96b2/KubeArmor/feeder/policyMatcher.go#L923
We should add a similar condition in case of Host as well. This might allow us to get baseline policy violation events on Host(example already present LSM policies enforced by sources other than KubeArmor on host) as HostLogs which can later be received by the kubearmor-logclient.

@oneiro-naut There would be no host log at this point because we will have too many logs.

@nam-jaehyun Would that be the case even if we restricted ourselves to log.result != "passed"? Actually I made some changes in my local branch to check using an AppArmor policy applied on host and the logs were still not captured.

@oneiro-naut you mean that you added those lines at around 962 to get host logs?

@nam-jaehyun Exactly.

then, can you also add the same thing at 934?
} else if log.Result != "Passed" {
 log.type = "ContainerLog"
 return log
}

@nam-jaehyun it wud allowing return non passed logs as containerlogs irrespective of visibility?

@oneiro-naut yes, you're right. we will see passed logs only when visibility is enabled, but we will see the failed container and host logs all the time.

Hi @nam-jaehyun . I was debugging the bpf system_monitor code and have 1 doubt. Can you tell me why have we used this condition here when adding element to pid_ns_map for host(ie with MONITOR_HOST enabled). https://github.com/kubearmor/KubeArmor/blob/b6df53ce1a910224c3aeba117361e6b9ecf52f14/KubeArmor/BPF/system_monitor.c#L166
I used lsns and found out that every process executed on host is getting non 0 pid namespace inode number(I am able to dump ns_id by adding a bpf_trace_printk() just before this line and matched them with pid namespace on the vm host). I executed several commands and they are all caught. Because of this condition though none of them are being pushed further and no entries are being added to the pid_ns_map removing this condition makes it work.

I used lsns and found out that every process executed on host is getting non 0 pid namespace inode number(I am able to dump ns_id by adding a bpf_trace_printk() just before this line and matched them with pid namespace on the vm host). I executed several commands and they are all caught. Because of this condition though none of them are being pushed further and no entries are being added to the pid_ns_map removing this condition makes it work.

@oneiro-naut you can find the host namespace pid using:
❯ readlink /proc/self/ns/pid
pid:[4026531836]

❯ lsns | grep -E 'pid.*systemd'
4026531836 pid       144    1500 uzu  /usr/lib/systemd/systemd --user

As you said, there is no namespace pid=0.
The namespace pid is being accessed directly by:
https://github.com/kubearmor/KubeArmor/blob/b6df53ce1a910224c3aeba117361e6b9ecf52f14/KubeArmor/BPF/system_monitor.c#L105
I don't know if all kernel (bpf) versions allow this direct reading. @nam-jaehyun do you know about this?
In addition to your suggestion of the if (pid_ns != 0) removal, I suggest changing the get_task_pid_ns_id() to something like this:
static __always_inline u32 get_task_pid_ns_id(struct task_struct *task)
{
	struct nsproxy *nsp;
	struct pid_namespace *pns;
	struct ns_common nsc;

	bpf_probe_read(&nsp, sizeof(nsp), &task->nsproxy);
	bpf_probe_read(&pns, sizeof(pns), &nsp->pid_ns_for_children);
	bpf_probe_read(&nsc, sizeof(nsc), &pns->ns);

	return nsc.inum;
}

@oneiro-naut The reason that we had "if (pid_ns != 0) {" is because we deploy two eBPF monitors (one is for containers and the other is for the host). In the case of the monitor for the host, I wanted to filter out any processes for containers; thus, I added that line.

@geyslan I think "readlink /proc/[hostpid]/ns/pid" would allow us to map container IDs and the PID namespaces in system events coming from the eBPF monitor, which means that it can be used for the alert generation for already-deployed containers as well.
@oneiro-naut The overall mapping process with already-deployed containers would be like this.
system event --> pidns + hostpid
--> readlink /proc/[hostpid]/ns/pid + {cat /proc/[hostpid]/cgroup | cat /proc/[hostpid]/cmdline} --> pidns + container ID

@oneiro-naut The reason that we had "if (pid_ns != 0) {" is because we deploy two eBPF monitors (one is for containers and the other is for the host). In the case of the monitor for the host, I wanted to filter out any processes for containers; thus, I added that line.

@nam-jaehyun  But even for the host pid_ns we get non 0 value. So it's filtering away even the host events. Are we supposed to get 0 for the host pid_ns?

@oneiro-naut any suggestion for this?

@nam-jaehyun. I thought of one idea. What if we create an helper function similar to bpf_get_current_comm(char *buf, int size_of_buf) to somehow get the command name of the detected pid_ns event's init process(pid == 1) and using something like __builtin_memcmp(or anything to compare strings I am not sure) check if it's equal to "/sbin/init" maybe this way we can trace host pid_ns and differentiate it from other pid_ns which something else as their init process command? What are your thoughts on this?

@nam-jaehyun other way can be using pinned map with different names for host_pid_ns_map and container_pid_ns_map for container. And sharing these 2 maps between both ebpf processes so that we host get an pid_ns that is already in container_pid_ns it won't add it to it's host_pid_ns_map? Although I am not sure whether we can share the ebpf maps between 2 ebpf programs like this. And there will be race conditions as well in this possible solution. But if we are able to do something like this it can even enable us to get already-deployed containers because we will ensure that host_pid_ns_map and container_pid_ns_map are mutually disjoint.

@nam-jaehyun. I thought of one idea. What if we create an helper function similar to bpf_get_current_comm(char *buf, int size_of_buf) to somehow get the command name of the detected pid_ns event's init process(pid == 1) and using something like __builtin_memcmp(or anything to compare strings I am not sure) check if it's equal to "/sbin/init" maybe this way we can trace host pid_ns and differentiate it from other pid_ns which something else as their init process command? What are your thoughts on this?

I assume that host ns_pid could be discovered in userspace (KA), as it would be trivial to just call a readlink for /proc/self/ns/pid in KA, or to get it programatticaly using stat() and feed the proposed pinned map.
Concerning racing conditions, from libbpf we can make use of global variables, so a lock flag could be the solution.
What do you think?

@nam-jaehyun init pid_ns(host pid_ns) is a constant defined in kernel. So rather comparing with 0 we will just need to compare with this value defined here. I tested it and now we get host events in ebpf code. Container entries are dropped and not added just as required.

@oneiro-naut good to know!

@nam-jaehyun Now since we know that host pid_ns is known we can solve already-deployed containers extra entries(which were all host entries(kubelet, nice, etc.) except for containerd which I am not sure how to resolve).

@nam-jaehyun init pid_ns(host pid_ns) inode number is a constant defined in kernel. So rather than comparing with 0 we will just need to compare with this value defined here. I tested it and now we get host events in ebpf code. Container entries are dropped and not added just as required.

Just the best solution! 👍
0xEFFFFFFCU =<PHONE_NUMBER>


Failed to run debootstrap on Samsung CB 3

Please paste the output of the following command here: N/a

Please describe your issue:
When attempting to install a new chroot enviroment on my Samsung CB 3 it gives the output "Failed to run debootstrap".
sudo sh -e ~/Downloads/crouton -r kali-rolling -t cli-extra -n cli
(I want to install a kali rolling CLI as a new chroot). I have tried installing several different distros and even powerwashed my device a few times, but every time it give the same output. I even tried searching it on the internet, but all the results have nothing to do with what I'm looking for. Is this the first time something like this occurs?
If known, describe the steps to reproduce the issue:
My input command was:
sudo sh -e ~/Downloads/crouton -r kali-rolling -t cli-extra -n cli
but I tried the following too:
sudo sh -e ~/Downloads/crouton -r kali-rolling -t xfce -n kali
And
sudo sh -e ~/Downloads/crouton -r kali-rolling -t gnome

Can you please provide the full command output?

Hi,
I'll get back to you later. I'm not currently at my laptop.
On 19 Jun 2018 04:42, "drinkcat"<EMAIL_ADDRESS>wrote:

Can you please provide the full command output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/3790#issuecomment-398256676,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhpDM5sebeE1doOa25HXZT9WB3GF4-kgks5t-GUugaJpZM4UrsI4
.

Hi drinkcat,
It seems to work perfectly fine now.
Thanks for the concern.
On Tue, Jun 19, 2018 at 8:20 AM, Mayan Stegmann<EMAIL_ADDRESS>wrote:

Hi,
I'll get back to you later. I'm not currently at my laptop.
On 19 Jun 2018 04:42, "drinkcat"<EMAIL_ADDRESS>wrote:

Can you please provide the full command output?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/dnschneid/crouton/issues/3790#issuecomment-398256676,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AhpDM5sebeE1doOa25HXZT9WB3GF4-kgks5t-GUugaJpZM4UrsI4
.


Consider implementing Clone for backoff::ExponentialBackoff

If feasible and in line with the desired semantic, it would be useful to implement Clone for backoff::ExponentialBackoff.

Indeed ExponentialBackoff should be cloneable, all fields are duration/instants, which all implement Copy.

backoff::exponential::ExponentialBackoff now implements Clone, but backoff::ExponentialBackoff (the type alias) does not. Looks like backoff::SystemClock needs a Clone impl, which should be trivial/derivable.


Renaming or deleting notes cause sync to be stuck, showing ⏳ Working read storage processes and/or 🛫 Pending read storage processes

Thanks for your hard work on this community plugin!
Abstract
Renaming operations are stuck.
Status displays ⏳1.
Synchronization would only complete when I restart Obsidian.
Expected behaviour

Synchronisation ends with the message Replication completed
Everything synchronised

Actually happened

Newly renamed files are not synced until restart.

Reproducing procedure

Create a new note Untitled on primary device
Rename the note to New Test File
Status shows ⏳ 1
Replicate on a secondary device
Only Untitled shows up
Restart Obsidian on primary device
⏳ disappears, New Test File shows up on secondary device after replication

Report materials
If the information is not available, do not hesitate to report it as it is. You can also of course omit it if you think this is indeed unnecessary. If it is necessary, I will ask you.
Report from the LiveSync
For more information, please refer to Making the report.

 If still not fixed, please try to make the issue happen in the Sandbox Vault or disable community plugins.

Plug-in log
We can see the log by tapping the Document box icon. If you noticed something suspicious, please let me know.
Note: Please enable Verbose Log. For detail, refer to Logging, please.

Plug-in log
4/1/2024, 1:06:06 PM->Cache initialized 300 /<PHONE_NUMBER>00
4/1/2024, 1:06:06 PM->loading plugin
4/1/2024, 1:06:06 PM->Self-hosted LiveSync v0.22.16 0.22.16
4/1/2024, 1:06:06 PM->xxhash for plugin initialised
4/1/2024, 1:06:06 PM->Waiting for ready...
4/1/2024, 1:06:06 PM->Opening Database...
4/1/2024, 1:06:06 PM->Database is now ready.
4/1/2024, 1:06:06 PM->Log window opened
4/1/2024, 1:06:06 PM->Initialize and checking database files
4/1/2024, 1:06:06 PM->Checking deleted files
4/1/2024, 1:06:06 PM->Collecting local files on the DB: 25
4/1/2024, 1:06:06 PM->Collecting local files on the DB: 50
4/1/2024, 1:06:06 PM->Collecting local files on the DB: 75
4/1/2024, 1:06:06 PM->Collecting local files on the DB: 100
4/1/2024, 1:06:06 PM->Collecting local files on the DB: 125
4/1/2024, 1:06:06 PM->Collecting local files on the DB: 150
4/1/2024, 1:06:06 PM->Collecting local files on the DB: 175
4/1/2024, 1:06:06 PM->Updating database by new files
4/1/2024, 1:06:06 PM->UPDATE DATABASE: Nothing to do
4/1/2024, 1:06:06 PM->UPDATE STORAGE
4/1/2024, 1:06:06 PM->UPDATE STORAGE All done: DONE:8, FAILED:0
4/1/2024, 1:06:06 PM->Initialized, NOW TRACKING!
4/1/2024, 1:06:06 PM->OneShot Sync begin... (sync)
4/1/2024, 1:06:06 PM->Replication activated
4/1/2024, 1:06:07 PM->Replication completed
4/1/2024, 1:06:18 PM->Chunks saved: doc: Untitled.md ,chunks: 1 (new:0, recycled:1, cached:0)
4/1/2024, 1:06:18 PM->STORAGE -> DB (plain) Untitled.md
4/1/2024, 1:06:18 PM->OneShot Sync begin... (sync)
4/1/2024, 1:06:19 PM->Replication activated
4/1/2024, 1:06:19 PM->Replication is already in progress.
4/1/2024, 1:06:19 PM->Replication completed
4/1/2024, 1:06:24 PM->OneShot Sync begin... (sync)
4/1/2024, 1:06:24 PM->Replication completed
4/1/2024, 1:06:24 PM->Entry removed:Untitled.md (f:f848af-13-1fe925855449427eb5fc8854547ebb4c)
4/1/2024, 1:06:24 PM->STORAGE -> DB (plain) New Test File.md

Other information, insights and intuition.
Please provide any additional context or information about the problem.

Same behavior happens when deleting a note.
Reproducing procedure

Delete any note on primary device
Status shows ⏳ 1
Replicate on a secondary device, the deleted note is still there
Restart Obsidian on primary device
The deleted note restores itself because the deletion never made it to the server

Also, it seems that the plug-in cannot handle deleting more than 5 notes.
Reproducing procedure

Delete 10 notes on primary device
Status shows ⏳ 5 🛫 5
Replicate on a secondary device, the deleted note is still there
Restart Obsidian on primary device
Only 5 notes are actually deleted, the other 5 are restored from server

Plug-in log (Deleting)
4/2/2024, 1:00:36 AM->Cache initialized 300 /<PHONE_NUMBER>00
4/2/2024, 1:00:36 AM->loading plugin
4/2/2024, 1:00:36 AM->Self-hosted LiveSync v0.22.16 0.22.16
4/2/2024, 1:00:36 AM->xxhash for plugin initialised
4/2/2024, 1:00:36 AM->Waiting for ready...
4/2/2024, 1:00:36 AM->Cache initialized 10 /<PHONE_NUMBER>
4/2/2024, 1:00:36 AM->Cache initialized 300 / 50000000
4/2/2024, 1:00:36 AM->Newer xxhash has been initialised
4/2/2024, 1:00:36 AM->Opening Database...
4/2/2024, 1:00:36 AM->Database info
4/2/2024, 1:00:36 AM->{
  "doc_count": 493,
  "update_seq": 602,
  "db_name": "Obsidian-50c8117af5fe0fe7-livesync-v2-indexeddb",
  "auto_compaction": false,
  "adapter": "indexeddb"
}
4/2/2024, 1:00:36 AM->Database is now ready.
4/2/2024, 1:00:36 AM->Log window opened
4/2/2024, 1:00:36 AM->Initialize and checking database files
4/2/2024, 1:00:36 AM->Checking deleted files
4/2/2024, 1:00:36 AM->Collecting local files on the storage
4/2/2024, 1:00:36 AM->Collecting local files on the DB
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 25
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 50
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 75
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 100
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 125
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 150
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 175
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 200
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 225
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 250
4/2/2024, 1:00:36 AM->Collecting local files on the DB: 275
4/2/2024, 1:00:36 AM->Opening the key-value database
4/2/2024, 1:00:36 AM->Updating database by new files
4/2/2024, 1:00:36 AM->UPDATE DATABASE: Nothing to do
4/2/2024, 1:00:36 AM->UPDATE STORAGE
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->UPDATE STORAGE: DONE:10, FAILED:0, LAST:16
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->UPDATE STORAGE: DONE:20, FAILED:0, LAST:6
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->UPDATE STORAGE: DONE:30, FAILED:0, LAST:0
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:00:36 AM->UPDATE STORAGE All done: DONE:35, FAILED:0
4/2/2024, 1:00:36 AM->Initialized, NOW TRACKING!
4/2/2024, 1:00:36 AM->Cache initialized 300 / 50000000
4/2/2024, 1:00:36 AM->Modifying callback of the save command
4/2/2024, 1:00:36 AM->Additional safety scan..
4/2/2024, 1:00:36 AM->OneShot Sync begin... (sync)
4/2/2024, 1:00:36 AM->STORAGE -> DB :Test 10.md
4/2/2024, 1:00:36 AM->Chunks saved: doc: Test 10.md ,chunks: 1 (new:0, recycled:1, cached:0)
4/2/2024, 1:00:36 AM->STORAGE -> DB (plain) Test 10.md
4/2/2024, 1:00:36 AM->There are no conflicted files
4/2/2024, 1:00:36 AM->Additional safety scan done
4/2/2024, 1:00:36 AM->Replication activated
4/2/2024, 1:00:36 AM->Replication is already in progress.
4/2/2024, 1:00:36 AM->Replication paused
4/2/2024, 1:00:36 AM->Replication completed
4/2/2024, 1:00:47 AM->Entry removed:Test 10.md (f:eac0e2-4-eda98e5a31514c7c90aebf0718a9648f)
4/2/2024, 1:00:47 AM->Entry removed:Test 1.md (f:13da69-6-bca69fe579d7467492b0dae6aa2cdf8c)
4/2/2024, 1:00:47 AM->Entry removed:Test 9.md (f:654a0b-4-89333d38272f406fa76df5d0b2c3314c)
4/2/2024, 1:00:47 AM->Entry removed:Test 2.md (f:2090a9-6-39608f35c9994ba2a3468694d893c68f)
4/2/2024, 1:00:47 AM->Entry removed:Test 4.md (f:95e405-6-87d325fb22724adbbf2174d21f9f0fe9)

Plug-in log (After restart)
4/2/2024, 1:04:05 AM->Cache initialized 300 /<PHONE_NUMBER>00
4/2/2024, 1:04:05 AM->loading plugin
4/2/2024, 1:04:05 AM->Self-hosted LiveSync v0.22.16 0.22.16
4/2/2024, 1:04:05 AM->xxhash for plugin initialised
4/2/2024, 1:04:05 AM->Waiting for ready...
4/2/2024, 1:04:05 AM->Cache initialized 10 /<PHONE_NUMBER>
4/2/2024, 1:04:05 AM->Cache initialized 300 / 50000000
4/2/2024, 1:04:05 AM->Newer xxhash has been initialised
4/2/2024, 1:04:05 AM->Opening Database...
4/2/2024, 1:04:05 AM->Database info
4/2/2024, 1:04:05 AM->{
  "doc_count": 493,
  "update_seq": 608,
  "db_name": "Obsidian-50c8117af5fe0fe7-livesync-v2-indexeddb",
  "auto_compaction": false,
  "adapter": "indexeddb"
}
4/2/2024, 1:04:05 AM->Database is now ready.
4/2/2024, 1:04:05 AM->Log window opened
4/2/2024, 1:04:05 AM->Initialize and checking database files
4/2/2024, 1:04:05 AM->Checking deleted files
4/2/2024, 1:04:05 AM->Collecting local files on the storage
4/2/2024, 1:04:05 AM->Collecting local files on the DB
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 25
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 50
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 75
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 100
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 125
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 150
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 175
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 200
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 225
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 250
4/2/2024, 1:04:05 AM->Collecting local files on the DB: 275
4/2/2024, 1:04:05 AM->Opening the key-value database
4/2/2024, 1:04:05 AM->Updating database by new files
4/2/2024, 1:04:05 AM->UPDATE DATABASE: Nothing to do
4/2/2024, 1:04:05 AM->UPDATE STORAGE
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->UPDATE STORAGE: DONE:10, FAILED:0, LAST:27
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->UPDATE STORAGE: DONE:20, FAILED:0, LAST:16
4/2/2024, 1:04:05 AM->STORAGE <- DB (create,plain) Test 6.md
4/2/2024, 1:04:05 AM->Check or pull from db:Test 6.md OK
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->STORAGE <- DB (create,plain) Test 5.md
4/2/2024, 1:04:05 AM->Check or pull from db:Test 5.md OK
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->UPDATE STORAGE: DONE:30, FAILED:0, LAST:6
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->STORAGE <- DB (create,plain) Test 3.md
4/2/2024, 1:04:05 AM->Check or pull from db:Test 3.md OK
4/2/2024, 1:04:05 AM->UPDATE STORAGE: DONE:40, FAILED:0, LAST:0
4/2/2024, 1:04:05 AM->STORAGE <- DB (create,plain) Test 8.md
4/2/2024, 1:04:05 AM->Check or pull from db:Test 8.md OK
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->Deletion history skipped: (name redacted).md
4/2/2024, 1:04:05 AM->STORAGE <- DB (create,plain) Test 7.md
4/2/2024, 1:04:05 AM->Check or pull from db:Test 7.md OK
4/2/2024, 1:04:05 AM->UPDATE STORAGE All done: DONE:45, FAILED:0
4/2/2024, 1:04:05 AM->Initialized, NOW TRACKING!
4/2/2024, 1:04:05 AM->Cache initialized 300 / 50000000
4/2/2024, 1:04:05 AM->Modifying callback of the save command
4/2/2024, 1:04:05 AM->Additional safety scan..
4/2/2024, 1:04:05 AM->OneShot Sync begin... (sync)
4/2/2024, 1:04:05 AM->There are no conflicted files
4/2/2024, 1:04:05 AM->Additional safety scan done
4/2/2024, 1:04:05 AM->Replication activated
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:375691: 3-611) :Started...
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:bd4fa8: 3-d63) :Started...
4/2/2024, 1:04:05 AM->delete skipped: (name redacted).md :Already not exist on storage
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:375691 :3-611) : Done
4/2/2024, 1:04:05 AM->delete skipped: (name redacted).md :Already not exist on storage
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:bd4fa8 :3-d63) : Done
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:5e5f8e: 3-090) :Started...
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:7fee50: 3-998) :Started...
4/2/2024, 1:04:05 AM->delete skipped: (name redacted).md :Already not exist on storage
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:5e5f8e :3-090) : Done
4/2/2024, 1:04:05 AM->Processing (name redacted) (f:db6128: 3-250) :Started...
4/2/2024, 1:04:05 AM->delete skipped: (name redacted).md :Already not exist on storage
4/2/2024, 1:04:05 AM->Processing (name redacted).md (f:7fee50 :3-998) : Done
4/2/2024, 1:04:05 AM->delete skipped: (name redacted) :Already not exist on storage
4/2/2024, 1:04:05 AM->Processing (name redacted) (f:db6128 :3-250) : Done
4/2/2024, 1:04:05 AM->Replication paused
4/2/2024, 1:04:05 AM->Replication completed

I don't have this issue on my Linux client, however I observe the same under windows and ios client.
It looks like the plugin has trouble handling New, renamed or deleted files, anything relating to some file handling.
Restarting the client for a clean new sync solves the problem. This looks related to #317 - possibly similar at least.

Sorry for being delayed!
Indeed, while the hourglass icon is displayed, no changes to the file have been applied to the database. This is designed behaviour. The icon indicates that the file is being loaded.
However, the real problem is that this icon does not disappear. Taking into account that it works fine after a restart, it could be deadlocked or the queued process has got stuck.
I have not reproduced it yet, but I will address it soon. Sorry for the inconvenience and thank you for your patience and cooperation!

I can confirm this issue. When editing a note, the changes get replicated across my devices. As soon as a new folder or note is created, renamed or deleted the changes do not get replicated. In fact, all replication from/to that device then suspends until the application is restarted. The hourglass status symbol is presented.
This behavior is seen on Android, Windows and Linux clients alike. All with fresh databases and configurations (everything from scratch). Frustratingly, the logs do not indicate anything to be wrong or off. All messages reflect correct functioning. Even verifying the files using 'Verify All' in the settings menu results does not fix the issue, it even completes without problem.
Actually this issue drove me completely nuts for a couple of days. New to Obsidian and LiveSync, I thought that there was a problem in my new setup. I actually thing I came across another bug (need to replicate first before posting) where the copied setup URI gave a different database suffix. After a couple of resets, wipes, swears and redo's I finally got Obsidian with your plugin to work. Until it didn't again. I have since figured out that the issue posted here is the curlpit. File handling hangs the replication.
Interestingly, when the device that had a change in files restarts the application, the change is replicated nearly live to the other clients, except for the Android client. There the 'receiving' application needs to be restarted as well in my tests.
Potentially interestingly, just like OP, I have LiveSync set to false in my settings and am using 'Periodic and On events' mode. Perhaps there is a clue there. However I just tried switching my clients to LiveSync mode but unfortunately the issue persists.
Let me know how I can provide detailed debugging information. Thanks for your time and effort in making and maintaining this plugin!

Latest release sadly does not seem to be working in this case, I still have the waiting symbol. Here are a few logs:
11.4.2024, 22:45:03->Entry removed:02 Private Notes/General/test-rename4.md (02 Priva-2-25243faaeb62438ab52761dcce7adba1)
11.4.2024, 22:45:03->Chunks saved: doc: 02 Private Notes/General/test-rename5.md ,chunks: 1 (new:1, recycled:0, cached:0)
11.4.2024, 22:45:03->STORAGE -> DB (plain) 02 Private Notes/General/test-rename5.md

A restart still fixes it. Though, the logs don't show anything happening upon restart.

Thank you for your patience! I think that this has been fixed in v0.23.7 or v0.23.8. (And, it will be more stable in v0.23.9).
And, I am sorry for lacking replies.
Would you mind if I ask you to check the behaviour in the recent version?

Hi @vrtmrz
I can confirm with version 0.23.10 the issue remains. Renaming, new creation, deletion all don't seem to sync. When restarting the client where the action happened, it does get propagated to the other clients.
Normal writing operations work just fine, it really just seems file operations are wonky.

Thank you for confirmation! And finally, I have reproduced this!
This was the issue around the Sync On Save option. This will be fixed at v0.23.11 and will be released soon. Thank you for your deep patience!

Ah indeed, once I disabled Sync On Save and Sync on Editor Save (That one not 100% sure) my syncs are working again!

Can confirm disabling Sync on Save has solved the issue on my end too.

With 0.23.11 I can definitely say this bug is not around anymore. I can use Sync on Save again.
Thank you @vrtmrz !

This has indeed been resolved. Thank you for working on it, @vrtmrz !


Display Cloud Run instance logs of failed deploys

TL;DR
When a deploy fails this action should pull the logs of the new instance that failed to boot and echo the log so that it is available in the GitHub actions logs without having to go to cloud run logs.
Detailed design
No response
Additional information
No response

Hi @FabianFrank unfortunately this isn't feasible, as it would require extra permissions. Additionally, we rely on gcloud under the hood to deploy these containers, so gcloud would need to add this feature.


Tests broken on master

It's due to changes in nightly.
Works with nightly-2020-08-17 rustc 1.47.0-nightly (7e6d6e5f5 2020-08-16)
Broken with nightly-2020-08-18 rustc 1.47.0-nightly (792c645ca 2020-08-17)
Travis doesn't have a fixed nightly version, this is why tests that passed before can break without changing anything in the code.

I'm pretty sure it's a Rust bug. This tiny test fails on the broken Rust versions:
    #[test]
    fn test_quash_psh() {
        assert_eq!(Control::Psh.quash_psh(), Control::None);
    }

Actually I just updated my nightly and it's fixed in 2020-09-19.
Seems to be this: rust-lang/rust#76803

Yep, I just pushed to #346 and tests are passing.


security/acme-client: tighten validation masks, "Name" -> "Common Name"

A user reported an issue with acme on IRC. After some debugging it turned out that a whitespace in the certificate name was causing this issue. This PR extends the validation mask to disallow several characters that are not valid in this context. We're not using an advanced regex here to make sure all IDN domains are still supported.
Besides that, the "Certificate Name" was changed to "Common Name" to improve clarity. It was misinterpreted as an arbitrary identifier by some users, but now it's clear that this name is part of the certificate.
Furthermore the altNames field size was increased from 16384 to 65536.

Thanks for your review, @fabianfrz!


plotly and networkx

maybe as team project?

I don't think there are concrete plans (or strong reasons) to do this so I will close it to make it easier to keep an overview over issues.


[feature request] Add addon subcommand to deploy openyurt component

What would you like to be added:

all charts store in repo https://github.com/openyurtio/openyurt-helm
add subcommand addon, which can deploy yurt-app-manager, yurt-edgex-manager and so on;
The addon can call helm install to deploy instance.

Why is this needed:
others
/kind feature

@huiwq1990 It's a good idea to add a subcommand for installing addons. and we will prepare all of addons' helm charts in the next version(OpenYurt v0.8.0)

@Congrool Do you have any comments?

@huiwq1990 As we have discussed in this issue #846 , and we will not add subcommand for deploying OpenYurt components. so i will go to close this issue.


Update dependencies

When working on the snapshot code I (and others...) started recently seeing this error on controller startup:
panic: unable to load in-cluster configuration, KUBERNETES_SERVICE_HOST and KUBERNETES_SERVICE_PORT must be defined
goroutine 1 [running]:
main.main()
/home/hchiramm/gopath/src/github.com/kubernetes-incubator/external-storage/snapshot/cmd/snapshot-controller/snapshot-controller.go:63 +0x360
This is caused by changes outside of the snapshot code so I'm afraid the only thing that helps is update of the dependencies to new versions (glide up -v && glide-vc --use-lock-file).

The failure occurs less frequently but still... So the dependencies update is premature. I need to find out what changed and where.


[MIGRATED FROM ORNO] Service Provider classes

Reference: orno/di#32

Thinking about contribution, but this is whole new feature.

This is planned for v1.3.0 :+1:

@philipobenito do you have a schedule for this?
Here is the thing: we (FuelPHP team) are thinking about to use this for dependency injection. But we need service providers which we can do three ways:

Do it in an extension
Wait for you doing it
3 Contribute it back

Since I don't know your plans, I can't choose way. Also, I am not that familiar with the package, so I would leave it to you. :smile:

I've recently implemented something like this using the orno container.
Lemme write it down how it looks like so you can comment on it.
On 24 Jan 2015 02:22, "Márk Sági-Kazár"<EMAIL_ADDRESS>wrote:

@philipobenito https://github.com/philipobenito do you have a schedule
for this?
Here is the thing: we (FuelPHP team) are thinking about to use this for
dependency injection. But we need service providers which we can do three
ways:

Do it in an extension
Wait for you doing it 3 Contribute it back

Since I don't know your plans, I can't choose way. Also, I am not that
familiar with the package, so I would leave it to you. [image: :smile:]
—
Reply to this email directly or view it on GitHub
https://github.com/thephpleague/container/issues/12#issuecomment-71293437
.

@hannesvdvreken looking forward to it ;)

@hannesvdvreken have you implemented anything yet? If not was going to take a look today

Let me write it down in a couple of hours. Mitigating a storm of incoming notifications and context switches first.

:+1: cheers

Solved by active PR #18 to be merged for version 1.3.0


Problem installing Coq on Mac OS 12.6.2

Description of the problem
I get: “Coq Platform 8.16 2022.09.app” can’t be opened because Apple cannot check it for malicious software.
And I'm asked to take contact with "the developer".
So this is what I do, any help is highly appreciated.
Coq Version
See above, but that doesn't seem to be the problem.
Marc Bezem

@marcbezem answered to me:

No, I hadn't seen that advice before now. Following the advice, I opened from the finder with Control-click (= Right-click) and got again a little window with a slightly different message, but now also an "Open" button, which I Control-clicked (just to be sure). Then Coqide opened. This was not the end of my adventures: Coqide cannot be closed with its own "Quit ..." command (nor with Command-Q), so I had to close it with Force Quit (I can live with that). Goodie: now Coqide also opens with only clicking (without Control), so one only has to Control-click once. That makes sense, as validating once is sufficient (I expect that every update should also be validated once). Thanks for your help. I hope my feedback is useful. Marc

I was not aware of this issue with quitting CoqIDE. Has someone else running macOS experimented it?

Regarding Quitting: for me CMD+Q, File/Quit and the red button all work. I start it with double click from the Applications folder or with single click from Launchpad.
Does CoqIDE work otherwise? It is not unheard of that MacOS temporarily decided to block the communication with coqidetop. Then CoqIDE hangs. This happens rarely to me, but it happens. Usually this is from start then (so I can't do anything with it). I have the same effect with other client/server apps like Maxima und wxMaxima (also rarely).
@marcbezem : one more question: did you read the ReadMe or Installation.html files provided in the installer? Would it have helped to put this information there in a prominent place? (I plan anyway to do so, but still I am curious).

No, on https://github.com/coq/platform/releases/tag/2022.09.1 I found under "Recommended binary installers" what I was looking for, and sparked the installation. From the point of view of webpage design, you could perhaps start with the next para "General information" and add "Read this first (in case your installation encounters a problem)". With "Recommended ..." first the reader is inclined to follow the recommendation :-)
Re CoqIDE: it works, but none of CMD+Q, File/Quit and the red button (upper left corner of Apple window) works, only Force Quit (where CoqIDE is not mentioned as "not responding").

Could you reproduce it? NB my Mac has not ARM but i5!

No the quitting works fine for me on both Apple and Intel silicon Macs. This is quite strange.

This got closed because I added a not on the "right click open" to the Install.html file included in the DMG.
Should we create a separate issue for the quite issue?

Triage note: the signing and notarisation for MacOS is anyway worked. The quitting problem could not be reprodced by others -> closing.


rest_api: Pluggable Custom Authentication/Authorization

Background
Currently in rest_api source, we have a predefined set of auth methods (BearerTokenAuth, APIKeyAuth,  HttpBasicAuth). This works well for built-in auth it lacks flexibility for users who wish to introduce custom auth logic.
Problem
Users must modify the rest_api.config_setup.AUTH_MAP to add new paginators.
Also, we have implemented OAuth2ClientCredentials and OAuthJWTAuth but users cannot configure them with the declarative interface because they are not present in the AUTH_MAP.
Proposal
Introduce a pluggable auth system that allows users to define and register custom auth methods dynamically. This should have a registration function to add new auth methods without adding duplicates.
Also, add the
Example
from dlt.sources.helpers.rest_client.auth import AuthConfigBase

class CustomAuth(AuthConfigBase):
    ...

# Register the custom paginator
register_paginator("custom_auth", CustomAuth)

Tasks

[ ] Update the rest_api source to support pluggable auth.
[ ] Add OAuth2ClientCredentials to the current list of built-in auth methods
[ ] Add tests.
[ ] Update the docs in the dlt repo.

Hey @willi-mueller, thanks for the suggestion. I agree let's extend the auth to be pluggable as well.


Bind sockets to interface addresses when sending ssdp requests

This fix was needed for SSDP discovery on Windows 10 (pavoni/pywemo#23).
Proposing it as a PR here because the code is basically identical.
Not sure if similar fixes are needed for gdm (also multicast) and lms (broadcast), but I don't have Windows systems to test on.

Looks good! :dolphin:


Debugging doesn't work

I tried to attach the debugger to an Azure cluster, but it always resulted with cannot attach... message. Azure VM, no firewall, NSG completely open, latest VS 2019. From my laptop the same thing. So there must be some additional conditions for debugging to work which are not specified here. (I used the sample Voting application and one-node dev cluster.)

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

ID: e8adfa1c-0bb9-c112-3463-0d655a3e7cd1
Version Independent ID: ef09b17d-cebf-56ca-7f59-71dba2dc3123
Content: Debug your application in Visual Studio - Azure Service Fabric
Content Source: articles/service-fabric/service-fabric-debugging-your-application.md
Service: service-fabric
GitHub Login: @erikadoyle
Microsoft Alias: edoyle

@mcurko We are checking this and will get back to you.

Hi @mcurko , please ensure your running Visual Studio 2019 as admin and using the Service Fabric 2.0 SDK. I'm able to debug my SF cluster following this quickstart. You may need to open a support case if your continuing to have trouble.


improve error handling in DiverseLabelsSampler

Improve the error handling for the DiverseLabelsSampler.
The motivation behind is having set value set in the "choices" field, by mistake, to a string:
        AddFields(
            fields={
                "class": "Termination for convenience",  #### The mistake is here, should be ["Termination for convenience"]
                "text_type": "contractual sentence",
            }
        ),

Since the code then iterates over the value in this field, the iteration was over the string characters, which is wrong. It was expected that "choices" within the input contains is a list. Added a check for that.
Also added other relevant tests and checks, including one that represents the issue.

Seems like tests are failing:
======================================================================
ERROR: tests.test_splitters (unittest.loader._FailedTest)
ImportError: Failed to import test module: tests.test_splitters Traceback (most recent call last): File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/unittest/loader.py", line 436, in _find_test_path module = self._get_module_from_name(name) File "/opt/hostedtoolcache/Python/3.8.18/x64/lib/python3.8/unittest/loader.py", line 377, in _get_module_from_name import(name) File "/home/runner/work/unitxt/unitxt/tests/test_splitters.py", line 3, in from unitxt.splitters import DiverseLabelsSampler ModuleNotFoundError: No module named 'unitxt'

Fixed the wrong import within that module, the tests pass now.


Add methods corresponding to certificates endpoints

This just adds the read-only methods outlined in the DNSimple certificates API.  I'm not entirely sure how to test this, since it seems to test against sandbox data (maybe?), but I've been using this branch to handle retrieving ssl certs for a week or so now.
Any thoughts on how to write some proper tests?
Also, this probably replaces #22

I've been documenting how I'd like to redo tests using http-mocks like the official dnsimple clients, but i'm unsure if this is within the scope of this PR.
https://github.com/onlyhavecans/dnsimple-python/issues/31
Right now we still just use sandbox tests, but this might get extra messy with certificate checks.
I would love to see the readme updated with examples as well.

Howdy! Just pinging again to see if you had any thoughts about the documentation or tests. If you are busy I understand @DeviateFish

Yeah, sorry, a little busy with other stuff at the moment.  I'm considering taking a crack at moving things over to mocks like the other libraries.  That implies postponing adding tests to this branch until that work has been completed.  I would go ahead and use sandbox data, but there doesn't seem to be a good way to set that up in a fashion that would produce consistent results (i.e. setting up assertions that work for my sandbox data as well as what's configured for Travis, etc)
When I get the time, I'll update the documentation in this branch.  I'm just holding off on tests in this branch until I have a clear picture of how to do it.

I'm OK merging this without new tests if you want to work on mocks separately. I also want to take on the work but have many personal and work projects that are ahead in line at the moment so it's open for doing.
After you get the docs update I'll re-review and merge.

Okay, I updated the readme with documentation around which ssl certificate methods are supported.  I copied the style of the Record operations block, but added links to the developer documentation for each method implemented.


Support for sorting in UI

@oceanzus , @DanielJMaher , @c0mster   Please review!

@FBRTMaka this ready to go?

@birdage , yup! ready to go!


Please Add Deens Academy

Kindly request you to add Deens Academy to let the primary class students to learn C / C++

@ramukavissm Please provide us with:

the school official website URL
the school street address, including city and country
an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.

Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
You can provide us with any of the following:

A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
An URL of a page at the official school website that says that students use this email domain
A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
A WHOIS data that link the email domain to the school somehow
A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
Anything else that can prove this fact in similar way, i.e. can be verified independently.

Regards,
Siva
From: Philip Torchinsky @.>
Date: Monday, 4 July 2022 at 18:08
To: JetBrains/swot @.>
Cc: Sivakumar MS @.>, Mention @.>
Subject: Re: [JetBrains/swot] Please Add Deens Academy (PR #14496)
@ramukavissmhttps://github.com/ramukavissm Please provide us with:
·         the school official website URL
    *   https://www.deensacademy.com

·         the school street address, including city and country
    *   No. 64/1 & 65/2, ECC Rd, Dodsworth Layout, Whitefield, Bengaluru, Karnataka 560066, India

·         an URL of a page on the official website where the school offers an IT-related long-term (>1 year) course
    *   This is part of the curriculum

·         a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
    *   Email screenshot of school sharing the email account is attached.
    *   WHOIS information attached

Please provide us with a proof, which shows that the school recognizes the domain you are submitting as an official email domain for the students.
You can provide us with any of the following:
·         A copy of instruction (a hard-copy or electronic one) given to you by the school that tells you to use an email address in this email domain
·         An URL of a page at the official school website that says that students use this email domain
·         A reference to a recognized journal where an article was published by someone from the school, with explicit affiliation to the school, and e-mail address from the email domain
·         A WHOIS data that link the email domain to the school somehow
·         A copy of official letter from the school representative saying that the school provides e-mail addresses in this domain to the students
·         Anything else that can prove this fact in similar way, i.e. can be verified independently.
—
Reply to this email directly, view it on GitHubhttps://github.com/JetBrains/swot/pull/14496#issuecomment-1173772237, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AQ3NXDBHLOMXL3SKNM4U2ZDVSLLLFANCNFSM52QGZP7Q.
You are receiving this because you were mentioned.Message ID: @.***>

@ramukavissm  Thank you for the clarifications. Pull request merged.


Cannot build K from sources: have maven check java version

Here is a message from k-list, just to make sure we keep track of it.

Problem solved.  I had an older version of Java, namely 8u31.  Updated to 8u60, but still didn't work out of the box,  I also had to modify the JAVA_HOME variable to the new 8u60.  While you can say that technically the instructions in the README are correct, the reality is that people don't read those and then can simply claim that "K does not work" and drop it.  Especially because they see warnings during the build process.
Can  we instruct maven to check the version of Java visible in the path, as well as the one that JAVA_HOME points to, and give a nice error message if they are not as recent as we expect them to be?
Grigore

From: Rosu, Grigore<EMAIL_ADDRESS>Sent: Wednesday, September 02, 2015 5:52 PM
To<EMAIL_ADDRESS>Subject: [[k-list] ] cannot compile K, again
Either I'm completely unlucky or I do something wrong, but lately, each time I tried to get back to editting things in K I ended up not being able to build it.
See below for what I get this time.
Note that there are lots of warnings, too.  Do you guys also see all these warnings?  Don't they bother you?

[INFO] skip non existing resourceDirectory D:\github\grosu\k\kore\src\main\resources
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:add-source (scala-compile-first) @ kore ---
[INFO] Add Source directory: D:\github\grosu\k\kore\src\main\scala
[INFO] Add Test Source directory: D:\github\grosu\k\kore\src\test\scala
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @ kore ---
[WARNING]  Expected all dependencies to require Scala version: 2.11.6
[WARNING]  org.kframework.k:kore:4.0-SNAPSHOT requires scala version: 2.11.6
[WARNING]  org.scala-lang.modules:scala-java8-compat_2.11:0.3.0 requires scala version: 2.11.5
[WARNING] Multiple versions of scala libraries detected!
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ kore ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ kore ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\github\grosu\k\kore\src\test\resources
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:testCompile (scala-test-compile) @ kore ---
[WARNING]  Expected all dependencies to require Scala version: 2.11.6
[WARNING]  org.kframework.k:kore:4.0-SNAPSHOT requires scala version: 2.11.6
[WARNING]  org.scala-lang.modules:scala-java8-compat_2.11:0.3.0 requires scala version: 2.11.5
[WARNING] Multiple versions of scala libraries detected!
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ kore ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ kore ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ kore ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building K Framework tiny rewriter 4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ tiny ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\github\grosu\k\tiny\src\main\resources
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:add-source (scala-compile-first) @ tiny ---
[INFO] Add Source directory: D:\github\grosu\k\tiny\src\main\scala
[INFO] Add Test Source directory: D:\github\grosu\k\tiny\src\test\scala
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:compile (scala-compile-first) @ tiny ---
[WARNING]  Expected all dependencies to require Scala version: 2.11.6
[WARNING]  org.kframework.k:kore:4.0-SNAPSHOT requires scala version: 2.11.6
[WARNING]  io.github.nicolasstucki:multisets_2.11:0.2 requires scala version: 2.11.4
[WARNING] Multiple versions of scala libraries detected!
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ tiny ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:testResources (default-testResources) @ tiny ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] skip non existing resourceDirectory D:\github\grosu\k\tiny\src\test\resources
[INFO]
[INFO] --- scala-maven-plugin:3.2.0:testCompile (scala-test-compile) @ tiny ---
[WARNING]  Expected all dependencies to require Scala version: 2.11.6
[WARNING]  org.kframework.k:kore:4.0-SNAPSHOT requires scala version: 2.11.6
[WARNING]  io.github.nicolasstucki:multisets_2.11:0.2 requires scala version: 2.11.4
[WARNING] Multiple versions of scala libraries detected!
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-compiler-plugin:3.1:testCompile (default-testCompile) @ tiny ---
[INFO] Nothing to compile - all classes are up to date
[INFO]
[INFO] --- maven-surefire-plugin:2.12.4:test (default-test) @ tiny ---
[INFO] Tests are skipped.
[INFO]
[INFO] --- maven-jar-plugin:2.4:jar (default-jar) @ tiny ---
[INFO]
[INFO] ------------------------------------------------------------------------
[INFO] Building K Framework Tool Kernel 4.0-SNAPSHOT
[INFO] ------------------------------------------------------------------------
[INFO]
[INFO] --- buildnumber-maven-plugin:1.3:create (default) @ kernel ---
[INFO] ShortRevision tag detected. The value is '7'.
[INFO] Executing: cmd.exe /X /C "git rev-parse --verify --short=7 HEAD"
[INFO] Working directory: D:\github\grosu\k\kernel
[INFO] Storing buildNumber: c283f8b at timestamp:<PHONE_NUMBER>101
[INFO] Storing buildScmBranch: master
[INFO]
[INFO] --- javacc-maven-plugin:2.6:javacc (javacc) @ kernel ---
[INFO] Skipping - all parsers are up to date
[INFO]
[INFO] --- maven-resources-plugin:2.6:resources (default-resources) @ kernel ---
[INFO] Using 'UTF-8' encoding to copy filtered resources.
[INFO] Copying 4 resources
[INFO]
[INFO] --- maven-compiler-plugin:3.1:compile (default-compile) @ kernel ---
[INFO] Changes detected - recompiling the module!
[INFO] Compiling 521 source files to D:\github\grosu\k\kernel\target\classes
[INFO] -------------------------------------------------------------
[WARNING] COMPILATION WARNING :
[INFO] -------------------------------------------------------------
[WARNING] /D:/github/grosu/k/kernel/src/main/java/org/kframework/kil/loader/JavaClassesFactory.java: Some input files us
e or override a deprecated API.
[WARNING] /D:/github/grosu/k/kernel/src/main/java/org/kframework/kil/loader/JavaClassesFactory.java: Recompile with -Xli
nt:deprecation for details.
[WARNING] /D:/github/grosu/k/kernel/src/main/java/org/kframework/kil/ASTNode.java: Some input files use unchecked or uns
afe operations.
[WARNING] /D:/github/grosu/k/kernel/src/main/java/org/kframework/kil/ASTNode.java: Recompile with -Xlint:unchecked for d
etails.
[INFO] 4 warnings
[INFO] -------------------------------------------------------------
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /D:/github/grosu/k/kernel/src/main/java/org/kframework/kompile/Kompile.java:[350,17] no suitable method found fo
r collect(java.util.stream.Collector<java.lang.Object,capture#1 of ?,java.util.Set<java.lang.Object>>)
method java.util.stream.Stream.collect(java.util.function.Supplier,java.util.function.BiConsumer<R,? super cap
ture#2 of ? extends org.kframework.kore.K>,java.util.function.BiConsumer<R,R>) is not applicable
(cannot infer type-variable(s) R
(actual and formal argument lists differ in length))
method java.util.stream.Stream.<R,A>collect(java.util.stream.Collector<? super capture#2 of ? extends org.kframework
.kore.K,A,R>) is not applicable
(cannot infer type-variable(s) R,A,capture#3 of ?,T
(argument mismatch; java.util.stream.Collector<capture#2 of ? extends org.kframework.kore.K,capture#4 of ?,java.
util.Set<capture#2 of ? extends org.kframework.kore.K>> cannot be converted to java.util.stream.Collector<? super captur
e#2 of ? extends org.kframework.kore.K,capture#4 of ?,java.util.Set<capture#2 of ? extends org.kframework.kore.K>>))
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary:
[INFO]
[INFO] K Framework Tool Parent ............................ SUCCESS [  0.057 s]
[INFO] K Framework KORE ................................... SUCCESS [  1.865 s]
[INFO] K Framework tiny rewriter .......................... SUCCESS [  0.393 s]
[INFO] K Framework Tool Kernel ............................ FAILURE [ 18.718 s]
[INFO] K Framework Java Backend ........................... SKIPPED
[INFO] K Framework Ocaml Backend .......................... SKIPPED
[INFO] K Framework Coq Backend ............................ SKIPPED
[INFO] K Framework SDF Backend ............................ SKIPPED
[INFO] K Framework Tool Distribution ...................... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 21.239 s
[INFO] Finished at: 2015-09-02T17:48:33-05:00
[INFO] Final Memory: 36M/656M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:3.1:compile (default-compile) on project k
ernel: Compilation failure
[ERROR] /D:/github/grosu/k/kernel/src/main/java/org/kframework/kompile/Kompile.java:[350,17] no suitable method found fo
r collect(java.util.stream.Collector<java.lang.Object,capture#1 of ?,java.util.Set<java.lang.Object>>)
[ERROR] method java.util.stream.Stream.collect(java.util.function.Supplier,java.util.function.BiConsumer<R,? super
capture#2 of ? extends org.kframework.kore.K>,java.util.function.BiConsumer<R,R>) is not applicable
[ERROR] (cannot infer type-variable(s) R
[ERROR] (actual and formal argument lists differ in length))
[ERROR] method java.util.stream.Stream.<R,A>collect(java.util.stream.Collector<? super capture#2 of ? extends org.kframe
work.kore.K,A,R>) is not applicable
[ERROR] (cannot infer type-variable(s) R,A,capture#3 of ?,T
[ERROR] (argument mismatch; java.util.stream.Collector<capture#2 of ? extends org.kframework.kore.K,capture#4 of ?,java.
util.Set<capture#2 of ? extends org.kframework.kore.K>> cannot be converted to java.util.stream.Collector<? super captur
e#2 of ? extends org.kframework.kore.K,capture#4 of ?,java.util.Set<capture#2 of ? extends org.kframework.kore.K>>))
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn  -rf :kernel
D:\github\grosu\k>
D:\github\grosu\k>javac -version
javac 1.8.0_31
D:\github\grosu\k>java -version
java version "1.8.0_51"
Java(TM) SE Runtime Environment (build 1.8.0_51-b16)
Java HotSpot(TM) 64-Bit Server VM (build 25.51-b03, mixed mode)
D:\github\grosu\k>

@msaxena2 didn't you say you found some way to make maven check this?

Fixed #1706


Add RKE info on airgap registry to airgap installation docs

This PR corresponds to this issue https://github.com/rancher/docs/issues/1596

@catherineluse we'll need to close this PR and merge this content in with this PR: https://github.com/rancher/docs/pull/1652


Example Star Files - Pushing Custom Content

Hello.
Trying to work on developing a personalized Sensor from Hassio to display on the Tidbyt.
I was unable to get it to work.  As part of my troubleshooting, I tried taking some of the star files from: https://github.com/savdagod/ha-addons/blob/main/TidbytAssistant/display/ and pasting them into a file called example in the /config/tidbyt folder as the guides have provided.   Even that wouldn't display.
What potential step could I be missing, or is there an example.star file that I could put in that config/tidbyt folder to validate everything is working as expected?  Leveraging the addon in general to push text for instance does work currently.

What is the error you are getting in the add-on logs? I just pushed v1.0.4 for the integration and v1.0.6 for the add-on that may fix whatever issue you are having.

Closing this issue. If you’re still having trouble I can help you out further no problem. This feature is indeed working on the latest version for me and other users.


ui: Add task detail dialog

@zhangdichn rebase master

@zhangdichn rebase master before

We don't need to rebase the master, merge is OK to me in PR. As we will squash the whole PR while merged into master.

@zhangdichn rebase master before

rebase master done

@zhangdichn deal with the indentations

@zhangdichn deal with the indentations

Add https://dart.dev/tools/dart-format in our build tools?


Make lsblk parser store list

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

1 of 2 (50.0%)  changed or added relevant lines in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.05%) to 64.192%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

jarvis_util/introspect/system_info.py
1
2
50.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.05%

Covered Lines:
925

Relevant Lines:
1441

💛  - Coveralls


Add documentation and refactor check type

Motivation
Currently there is no API documentation for the security service.
Description
Add API documentation for the security service.
There is also a small refactor of the SecurityCheckType module.
Progress

[x] API docs
[x] Refactor SecurityCheckType
[x] Make isRooted check consistent with the Android SDK implementation.

@wtrocki Thanks for the quick review! Really appreciated! 😄 I think I addressed everything.
Would you mind taking a look at the commit I've added (https://github.com/aerogear/aerogear-js-sdk/pull/81/commits/18c373d8a7112fcaf5d548d28414919c2b84c217). It makes the rooted check consistent with the Android SDK in name and functionality (it fails when the device is rooted).
https://github.com/aerogear/aerogear-android-sdk/blob/master/auth/src/main/java/org/aerogear/mobile/security/checks/NonRootedCheck.java

@aidenkeating Checked. Really good job!


Microsoft.DotNet.Props was  not found.

After installing VS2017, I always got build errors like this:
"D:\git\azure-sdk-for-net\src\ResourceManagement\SqlManagement\Sql.sln" (default target) (1) ->
"D:\git\azure-sdk-for-net\src\TestFramework\Microsoft.Azure.Test.HttpRecorder\HttpRecorder.xproj" (default target) (8)
->
  D:\git\azure-sdk-for-net\src\TestFramework\Microsoft.Azure.Test.HttpRecorder\HttpRecorder.xproj(7,3): error MSB4019:
The imported project "C:\Program Files\dotnet\sdk\1.0.1\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was
 not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.
  D:\git\azure-sdk-for-net\src\TestFramework\Microsoft.Azure.Test.HttpRecorder\HttpRecorder.xproj(7,3): error MSB4019:
The imported project "C:\Program Files\dotnet\sdk\1.0.1\Microsoft\VisualStudio\v14.0\DotNet\Microsoft.DotNet.Props" was
 not found. Confirm that the path in the <Import> declaration is correct, and that the file exists on disk.

The solution (after installing VS2015 build tools preview 2 as mentioned in README) is to edit globals.json files to specify sdk version 1.0.0-preview2-003121, e.g.
{
  "projects": [ "Microsoft.Rest.ClientRuntime", "Microsoft.Rest.ClientRuntime.Azure.Authentication", "Microsoft.Rest.ClientRuntime.Etw",
                "Microsoft.Rest.ClientRuntime.Tests", "Microsoft.Rest.ClientRuntime.Azure", "Microsoft.Rest.ClientRuntime.Azure.Tests",
                "Microsoft.Rest.ClientRuntime.Log4Net", "Microsoft.Rest.ClientRuntime.Tracing.Tests" ],
  "sdk": {
    "version": "1.0.0-preview2-003121"
  }
}

See related:
https://github.com/dotnet/cli/blob/rel/1.0.0/Documentation/ProjectJsonToCSProj.md#how-do-i-work-with-projectjson-and-csproj-on-the-same-machine
This will be fixed by #2815, but it took me a while to find this solution.

Closing as duplicate of #2815 this is scheduled for the current sprint.


Fix for #372 - support full AWS SDK authentication (ENV, ~/.aws/crede…

…ntials and instance profile roles)
There were 2 or 3 issues/asks recently (latest is #372) to support the full AWS authentication chain. By default AWS SDK support ENV, ~/.aws/credentials and instance profile based authentication (in this order) and does fallback until fails. This PR removes the short-circuit which forces Kubicorn to fail if the environment variables are missing. Also the SDK provides meaningful error messages in case none of the above are present.

Can you also update the documentation referring to these env vars:
https://github.com/kris-nova/kubicorn/blob/master/docs/_documentation/envar.md
https://github.com/kris-nova/kubicorn/blob/master/docs/_documentation/aws-walkthrough.md

Had to send it in a different PR  #434 - could not use git to squash commits together due to a poor internet connection.


Retry download on fail

Hi,
Thanks for all of the hardwork you do to maintain Pyinstastories.
Last night, I startied getting so many weird error, here's the first one:
[I] Getting stories for: jess
[I] Story already exists: 39529054_1184715181700937_5942815263210115255_n.mp4
[I] Downloading video: 39532943_112384053183659_5498647014533456794_n.mp4
[W] An error occurred: <urlopen error retrieval incomplete: got only 1437696 out of 1452944 bytes>
I ran the script to download stories from list of users, here's the command I used:
python pyinstastories.py --batch-file dani.txt --username dani--password 123
There's some issues that on other repo that my help, he had the same exact problem:
https://github.com/Chillee/coursera-dl-all/issues/7
I don't know exactly how to reproduce it yet, as it happens a lot, randomly.
It started happening after I installed a VPN, sometimes I get the error after 5 users and sometimes, after 300 users.

Sounds like your connection isn't stable, causing some packet loss every now and then and thus not being able to download the file completely.

@notcammy  Can you add a feature to retry failed downloads? I have been getting the urlopen error retrieval a lot, and instead of restarting the script again it would retry the failed download.
Or the script, wouldn't stop on failed downloads, make it retry until it succeeds.
Using a proxy isn't an option for me, because most companies have a limit on proxy bandwith.

I'll ill look into it when I got the time

This should now be added and working in v2.3.

MY HERO !
Thanks a lot

Please note that it retries just once for now, making it retry an infinite amount of times is bound to cause problems.

@notcammy  I think it would be better to wait 10 seconds on a failed download and then try again. And to try at least two times before skipping.
What do you say?

Update to v2.4. Download will now be attempted 2 more times with a 10 second interval in case it fails.

I have a small favor to ask if you are free and would like to challenge yourself with an issue from another Instagram downloader written in python.
Interested?

If you are free and would like to challenge yourself, check this post :
https://github.com/instaloader/instaloader/issues/332
@notcammy

@notcammy it seems my vpn is causing some problems, I've been getting this error a lot lately:
"[E] An error occurred: URLError "
Could you implement the same solution to this error too, so it won't skip the user on timeout?

I don't think those errors have to do with story download but rather getting user information. Story downloads will be retried on fail no matter the cause.  I've (hopefully) clarified a few of the errors in the new version and may make some bigger changes sometime in the future but a better solution would be for you to troubleshoot your VPN problems or get a more reliable VPN instead.

Thank you

@notcammy I've been getting the following errors while reaching the end of downloading stories from a list of users:
[I] (996/1254) 5 second time-out until next user...
[E] An error occurred while iterating users to check: URLError
[I] (997/1254) 5 second time-out until next user...
[E] An error occurred while iterating users to check: URLError
[I] (998/1254) 5 second time-out until next user...
[E] An error occurred while iterating users to check: URLError <urlopen error [Errno 11001] getaddrinfo failed>
[I] (999/1254) 5 second time-out until next user...
[E] An error occurred while iterating users to check: URLError <urlopen error [Errno 11001] getaddrinfo failed>

I don't know what is causing this, after a couple of minutes the script continues to download stories.

These errors appear because your internet connection isn't stable.

Could you modify the scripts behavior so it would retry and have a cool down period as mentioned before in this ticket when it encounters any URLError , and not skip the user without retrying.

I'll look into this but have no ETA for a fix.

Also, sometimes i get the famous please try again instagram error because there was too many API calls.
Could make the script have a cooldown of 10 mintues if it encounters the please try again error, and after the cooldown it would retry from the first user that it encountered the error.

The script was never designed/intended to handle large amount of user downloads and I don't feel big on adding extra counter measures against the API call limit. But you can of course fork the project and add in this check yourself.

I made a few changes in https://github.com/notcammy/PyInstaStories/commit/707bc0c43d3336345a1022e59f7f754b77e34d76.
Added retry user download fails in the same fashion as story download fails. Don't have the time to properly test it but I think things should be working fine. Pull the latest commit and give it a try yourself.

Thank you for your hard work !
I will give it a shot once I get home.


update breast icon button to mammary gland icon button

The breast icon button needs to be updated to Mammary Gland for the 3D Reference Object page.
SVGs
ready state:

hover state:

selected state:

Figma design node
organ button component: https://www.figma.com/file/TtpcTcJNLCxAQiNb2wOA2s/Human-Reference-Atlas?node-id=532%3A9051&t=rPToXndyvlJWFde0-4

@bherr2 @bhushankhope Libby and I noticed that the icon for "breast" appears on the 3D model page, but in RUI it's mammary gland.  It's in the correct location in terms of alphabetically as though it is called mammary gland, just need to update the text in the carousel.


Abstraction around executing processes

It's probably time to write a common interface for executing underlying processes. Right now in the codebase, we have a mix of shell.exec, child_process.spawn and child_process.spawnSync - which take different arguments and return different types.
Unifying them will help clean up the codebase and help us track down on commands that act a little bit differently (holding on to output and spitting it out until the very end but unintentionally)
It even might make the CommandStringBuilder obsolete - part of the motivation around that concept was to make building the "args" array easier while still returning a string of the full command. Doesn't necessarily have to happen at the same time, but should be considered

Gonna take a stab at this 🚧 👷


uninitialized class variable @@mtime

I'm getting an error when I try to run this:
$ bundle exec jekyll serve
Configuration file: .../_config.yml
Configuration file: .../_config.yml
            Source: ...
       Destination: _site
 Incremental build: disabled. Enable with --incremental
      Generating...
Optimizing Images
    Liquid Warning: Liquid syntax error (line 7): Expected id but found open_square in "post in site.categories.[page.category]" in /_layouts/category.html
jekyll 3.3.0 | Error:  uninitialized class variable @@mtimes in Jekyll::JekyllMinimagick::GeneratedImageFile
Did you mean?  mtimes
               @mtimes

Thanks!

No problem, thanks for reporting it!


Wiremod Sound Emitter Volume

This is a rather simple question, from a person who doesn't really understand why it's happening.
When using the Sound Emitter, the volume of the sound is extremely low. I have already gone into the sound browser and upped the volume but it is still extremely quiet. It is not my game volume because every other sound effect is fine.
Also, when I change the pitch of a sound, and send it to the sound emitter, it does not save the pitch either.
I put this as a question because I wasn't sure if it was a bug/issue or user error, do I'd rather be safe.
My question is, why would the volume be extremely low, and why doesn't the pitch setting save?

You know you should really tell us others who dont get how to do that how


Intermittent issue: alignX: "undefined" kills app in version 9.0.0-alpha.15

As a developer, I know intermittent, non-consistent issues that can be solved by a refresh are of the worst kind to troubleshoot.  I'm seeing this issue with version 9.0.0-alpha.15 of the @stripe/ui-extension-sdk about 80% of the time.
I  see this error in version 9  (an error I don't see in version 8):

I don't have any empty  elements or instances of any attribute of alignX: undefined.  I'm posting this as a placeholder to add a ticket to this issue, as I understand I'm working with a beta version...so I don't expect a response to this.  The frustrating thing about this bug is that it is intermittent. A browser refresh will solve the issue in 20% of refresh cases.  I'm still trying to isolate the problem in my code that creates this issue...so this might be a "my" issue report. But I'm posting this to see if there is an easily solvable resolution to this bug.  I'm happy to share my source code privately with any interested party.
I understand I'm working with a beta version, and this issue can be solved by simply using version 8.  But I'm just flagging this as an issue in the beta version.

Hi @bensontrent, thank you for reporting this issue. The behavior you're experiencing is indeed unexpected. As mentioned in our SDK upgrade guide, we have been enforcing property validation during development since v9 of @stripe/ui-extension-sdk.
To better understand and address your issue, it would be helpful if you could provide a code example that reproduces the problem in isolation. When an invalid prop is encountered, you should see the source of the issue, as shown in the following screenshot:

However, the error you're seeing appears to be different from what we typically expect from our SDK's property validation. We need to investigate further to understand how this is occurring in your case.

Based on your feedback on how the error should appear, I haven't confirmed this, but it seems to be an issue when using <> <SomeOtherComponent /></> empty container elements in React. I'll do some more tests to confirm.

@matebek-stripe  I've given you private access to the Parcelcraft app at https://github.com/parcelcraft/parcelcraft-app
This is also exhibiting a new intermittent error on our Main Dashboard view:

I've confirmed this bug appears in version 9.0.0-alpha.15.  The issue does not appear in 8.9.1.  I'm no closer to identifying the issue, but it appears to be an issue with the app loader itself, (I've added an ErrorBoundry to my code to catch errors).

Hello @bensontrent I took a look at the code you shared and it looks good, I tried to reproduce the issue In the Stripe dashboard using your app but I was unable to see the same issue you are experiencing.
The only thing that stood out is that you are installing<EMAIL_ADDRESS>while the only version of react we currently support is<EMAIL_ADDRESS>(https://docs.stripe.com/stripe-apps/how-ui-extensions-work#apps-cant-control-the-react-version), while I don't think this would cause the error I recommend to downgrade to that version and see if the error is still present.
Could you share more details about your test setup so I can try to mimic it as close as possible:

Are you seeing this error only when developing, on a published app or both?
What browser and version are you using?
What version of the stripe apps cli are you using stripe apps -v?
are you using yarn or npm to install dependencies?

Any other information that could help us reproduce/debug the issue is welcome, Thanks!

Hi @aaronhernandez-stripe!
Are you seeing this error only when developing, on a published app or both?

Only in development:
Our published app presents no errors (published with @stripe/ui-extension-sdk  8.9.1)
When previewing with  @stripe/ui-extension-sdk  9.0.0-alpha.15, we see the errors.
This normally wouldn't be an issue, we'd use version 8.9.1 and be happy.  However, we are developing an Embedded App Viewport, which requires the beta version.

What browser and version are you using?

Chrome Version 130

What version of the stripe apps cli are you using stripe apps -v?

I updated the CLI and the apps CLI plugin (no change in the issue)

are you using yarn or npm to install dependencies?

npm

More tips to reproduce the error:

For simplicity, you can install the external test link for com.productivity.parcelcraft (Privately request a link from me if needed)
Ensure you have added your EasyPost API key in the Parcelcraft Settings  (you can privately request a special production key for testing from<EMAIL_ADDRESS>Add your origin address in the Parcelcraft settings.
Browse to the app view and change your view settings to view all payments or all invoices (assuming your test account has test payments or invoices to view), or browse to a PaymentDetailView or InvoiceDetailView
If the errors fail to trigger, please request a meeting with me at https://calendly.com/parcelcraft/meeting

@matebek-stripe  I see you've scheduled a meeting with me for tomorrow. I'll see you there.
New findings:

Downgrading to version 9.0.0-alpha.14 fixes this error; downgrading unblocks my roadblock.
The ErrorBoundary in version 9.0.0-alpha.15 appears to be over-eager compared to alpha-14.

@bensontrent We have just deployed a fix, could you please test it on your end to see if the error is indeed resolved?

@matebek-stripe The settings view is indeed fixed.  I still have an issue with the main dashboard view:

A change has been rolled out to fix all the reported errors. Closing this issue now. Thank you @bensontrent for bringing this to our attention!


Fix build script not running Fabulous.XamarinForms test projects

Build scripts were not running Fabulous.XamarinForms test projects.
It is fixed now.

/azp run full build

/azp run full build


Validate html inside script tag

Example:

Currently does not work.

HTMLHint only support standard html code, no support template.
Beacuse template is too complex.


volunteer filtering

making routes for volunteering filtering

/cib volunteer-filtering

Branch 96-volunteer-filtering created!


CentOS-6/Amazon Linux initscript

Fix .pid and lock file handling

Thanks so much! I'll merge this in for testing.

Ok, I just tested and this works a treat. Thanks so much!


📃:  Decision Tree algorithm from scratch

🟢 Title : Decision Tree algorithm from scratch
🟢 Tech stack : Python
🟢 Objective : To implement and understand decision tree algorithm.
🟢 Summary : Understanding how decision tree algorithm works.

✅ Details to Include When Taking the Issue:
Name : Soham Shah

Happy Contributing! 🚀
Wishing you all the best on your open source journey😍.
Enjoy! 😎

Please assign me this issue.


Feat: bundle and bundle_local in C++

This PR introduces C++ versions of bundle and bundle_local to allow for a faster problem setup in BA avoiding copies between C++ and Python with the new data structures (see #606) Further, it removes the Python versions of the GroundControlPoint and GroundControlPointObservation and replaces it by a C++ version:
Summary of all new C++ features, where most can be accessed via pybind:

bundle and bundle_local
shot_neighborhood and direct_shot_neighborhood
GroundControlPoint and GroundControlPointObservation
triangulate_gcp
add_gcp_to_bundle

The only thing missing is the automatic detection of the alignment.

Also don't forget to remove all unused code in reconstruction.py


General ideas for Spine version $Next

Given the recent buzz in this repo, I wanted to open up a dialog about ideas for the next big Spine release (v2.0 maybe?). I have more open-source time coming up, and would love to contribute it to Spine!
Here's my wishlist:

[ ] New API for Spine.Model based on Alex's Gist
[x] @find() to return falsey for missing records instead of throwing exceptions. (discussion in #428)
[x] AMD support via UMD (See below comment)
[x] CoffeeScript source maps (#431)
[ ] Inline docs via Literate CoffeeScript (#433)
[ ] Updated version of spinejs.com
[ ] Swap out Cake for Grunt/Gulp/other?
[x] Refactor tests as CoffeeScript, switch to Mocha & Chai, and run CLI tests via mocha-phantomjs
[x] Refactor Spine.Stack to allow nested stacks & handle multiple routes properly (#373, #398)
[ ] Storage callbacks (#371)
[ ] IndexDB storage module (#343)
[ ] Simple many to many model relationships (I have a module to contribute if there's interest)
[ ] Ability to include related records in @toJSON() output (I've also got code for this)

Edit - More stuff:

[ ] Return promise objects from any relevant async methods (#328, #429)
[x] Module for live-binding between models & views

Thoughts?

Just removed the item about refactoring tests. This would end up being a lot of work without any tangible reward...


Reduce CSS selector specificity

Reduce selector specificity to 0,1,0 when not targeting pseudo-classes, and 0,1,1 when targeting a pseudo-class
Add stylelint to guarantee the above
Add rt- prefix to the keyframe names

@benoitgrelard updated all the stuff we discussed


Development omnibus

:warning: Please install the  to ensure uploads and comments are reliably processed by Codecov.
Codecov Report
Attention: Patch coverage is 57.89474% with 8 lines in your changes missing coverage. Please review.

Project coverage is 37.57%. Comparing base (30e686b) to head (e53e3cc).

Files with missing lines
Patch %
Lines

src/ritas/io.py
46.66%
8 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #36      +/-   ##
==========================================
- Coverage   40.71%   37.57%   -3.15%
==========================================
  Files           9        9
  Lines         501      511      +10
==========================================
- Hits          204      192      -12
- Misses        297      319      +22

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


Crashing when sending signal to i3blocks

As soon as you send a signal to i3blocks, your script crashes with the error:
[1]    182634 unknown signal  i3blocks-spotify-persist
even tho i3blocks is not configured to send any signal to that script. Really annoying because I use signals to update my blockets (for example when adjusting volume).

 The positional argument of the pkill is a regular expression, and the i3blocks pattern matches any process name containing the i3blocks string:
$ pgrep -a i3blocks
1934 i3blocks -c /home/user/.config/i3blocks/config
1956 /home/user/.local/pipx/venvs/i3blocks-spotify-persist/bin/python /home/user/.local/bin/i3blocks-spotify-persist

Use the -x flag:

-x, --exact
       Only match processes whose names (or command line if -f is specified) exactly match the pattern.

$ pgrep -ax i3blocks
1934 i3blocks -c /home/user/.config/i3blocks/config

That is, use pkill -x -RTMIN+11 i3blocks.

 The positional argument of the pkill is a regular expression, and the i3blocks pattern matches any process name containing the i3blocks string:
$ pgrep -a i3blocks
1934 i3blocks -c /home/user/.config/i3blocks/config
1956 /home/user/.local/pipx/venvs/i3blocks-spotify-persist/bin/python /home/user/.local/bin/i3blocks-spotify-persist

Use the -x flag:

-x, --exact
       Only match processes whose names (or command line if -f is specified) exactly match the pattern.

$ pgrep -ax i3blocks
1934 i3blocks -c /home/user/.config/i3blocks/config

That is, use pkill -x -RTMIN+11 i3blocks.

Awesome thanks, didn't know that. Unluckily I've already switched over to another blocklet which I modified myself so it scrolls as soon as the string exceeds 25 characters.