Build failure: linuxKernel.packages.linux_6_12.digimend

Steps To Reproduce
Steps to reproduce the behavior:
1.add linuxKernel.packages.linux_6_12.digimend to flake
2.sudo nixos-rebuild switch --flake .#username
Build log
building the system configuration...
error: builder for '/nix/store/54fn0xwsmspfx9r4swwgc8bm22bgazcv-digimend-13.drv' failed with exit code 2;
       last 22 log lines:
       > Running phase: unpackPhase
       > unpacking source archive /nix/store/rdgi30a0zgyhwqhh2ni2i144kj4y26wh-source
       > source root is source
       > Running phase: patchPhase
       > Running phase: updateAutotoolsGnuConfigScriptsPhase
       > Running phase: configurePhase
       > no configure script, doing nothing
       > Running phase: buildPhase
       > build flags: SHELL=/nix/store/0irlcqx2n3qm6b1pc9rsd2i8qpvcccaj-bash-5.2p37/bin/bash O=\$\(buildRoot\) CC=/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin/cc HOSTCC=/nix/store/3ix5h74n7ar9950vwzp4dxmil70pmx0k-gcc-wrapper-13.3.0/bin/cc HOSTLD=/nix/store/9bacph866qhmr2zfib1h49jixq5hhd01-binutils-wrapper-2.43.1/bin/ld ARCH=x86_64 KVERSION=6.12.0 KDIR=/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/build DESTDIR=/nix/store/nmxp5blxhnsldp6lipfcfssjqqi0a28s-digimend-13 INSTALL_MOD_PATH=/nix/store/nmxp5blxhnsldp6lipfcfssjqqi0a28s-digimend-13
       > make -C /nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/build M=/build/source modules
       > make[1]: Entering directory '/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/build'
       >   CC [M]  /build/source/hid-kye.o
       > /build/source/hid-kye.c:790:25: error: initialization of 'const __u8 * (*)(struct hid_device *, __u8 *, unsigned int *)' {aka 'const unsigned char * (*)(struct hid_device *, unsigned char *, unsigned int *)'} from incompatible pointer type '__u8 * (*)(struct hid_device *, __u8 *, unsigned int *)' {aka 'unsigned char * (*)(struct hid_device *, unsigned char *, unsigned int *)'} [8;;https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wincompatible-pointer-types-Werror=incompatible-pointer-types8;;]
       >   790 |         .report_fixup = kye_report_fixup,
       >       |                         ^~~~~~~~~~~~~~~~
       > /build/source/hid-kye.c:790:25: note: (near initialization for 'kye_driver.report_fixup')
       > cc1: some warnings being treated as errors
       > make[3]: *** [/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/source/scripts/Makefile.build:229: /build/source/hid-kye.o] Error 1
       > make[2]: *** [/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/source/Makefile:1936: /build/source] Error 2
       > make[1]: *** [/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/source/Makefile:224: __sub-make] Error 2
       > make[1]: Leaving directory '/nix/store/lacdcr5zi7w59f8xsq4cfi41mzgc6dcn-linux-6.12-dev/lib/modules/6.12.0/build'
       > make: *** [Makefile:25: modules] Error 2
       For full logs, run 'nix log /nix/store/54fn0xwsmspfx9r4swwgc8bm22bgazcv-digimend-13.drv'.
error: 1 dependencies of derivation '/nix/store/d35s175akmjqdq83z66xqp5xs1mk4fym-system-path.drv' failed to build
error: 1 dependencies of derivation '/nix/store/hcn5166ricfm6grg3vv12gm22a2h1bjj-nixos-system-nixos-25.05.20241119.23e89b7.drv' failed to build

This seems to be caused by treating incompatible-pointer-types as an error instead of a warning during the build process.
Metadata

system: "x86_64-linux"
host os: Linux 6.12.0, NixOS, 25.05 (Warbler), 25.05.20241119.23e89b7
multi-user?: yes
sandbox: yes
version: nix-env (Nix) 2.24.10
nixpkgs: /nix/store/c9wv7i0af6mysmy65x6nvyfw5izzxv4g-source

Notify maintainers

@gebner
Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

digimend appears to be unmaintained https://spbnick.github.io/2024/11/03/Letting-go-of-DIGImend.html
oops

I have this exact problem, and it seems like the fix (for now) is just a one line patch addding/removing one const (which is kind of cosmetic in c/++ anyway...) or disabling warnings=errors in the CFLAGs. Wonder if the current maintainer would look into this?

CC @gebner


Issue with k8s.io/docs/concepts/workloads/controllers/statefulset/

After reading the documentation i am still not sure how i would configure a statefullset to ensure the deployment to specific availability zones using node affinity.
goal fix db statefullset instances in separate availability zone's using labels on nodes.
e.g.
db-0 -> zone-1
db-1 -> zone-2
db-2 -> zone-3

This is to ensure that the same $(ordinal) lands in the same zone where it can access it's PVC.
I tried something like this, but my understand is it will not achieve the mapping required above.
need something like '- "australiaeast-${ordinal}"'
    affinity:  # db
      nodeAffinity:
        preferredDuringSchedulingIgnoredDuringExecution:
        - weight: 10
          preference:
            matchExpressions:
            - key: "topology.kubernetes.io/zone"
              operator: In
              values:
              - "australiaeast-1"
              - "australiaeast-2"
              - "australiaeast-3"

Is this possible (just not in documentation) or something k8s can't do currently ?

/language en

/sig scheduling
/kind support

I think the ideal answer is to add a new set of tutorials, https://kubernetes.io/docs/tutorials/storage/.
A tutorial to explain static PV provisioning for statefulsets could be the first to go into that new section. If someone wants to write it.

If someone wants to blog about the different ways people solve this challenge, and make that blog article evergreen, we could link from https://k8s.io/docs/concepts/workloads/controllers/statefulset/ to the new article.
There is https://kubernetes.io/blog/2018/10/11/topology-aware-volume-provisioning-in-kubernetes/ but it is only a small part of the picture and not maintained.
@diepes you might like to ask for advice on Server Fault, or a similar web forum. Also there are tutorials elsewhere on the web, just not in these docs. We're open to contributions; the tutorial I'm imagining is a fair chunk of work.

/remove-kind support
Let's triage this and decide whether the docs still merit an improvement.
/remove-lifecycle stale


How to backfill data for compound sort key

Note: If your question is regarding the AWS Amplify Console service, please log it in the
AWS Amplify Console repository

Which Category is your question related to?
Storage (DynamoDB)
Amplify CLI Version
4.49.0
What AWS Services are you utilizing?
DynamoDB
Provide additional details e.g. code snippets
We have created a new GSI that has a compound sort key status#createdAt, the Amplify documentation states that if you create a GSI that has a compound sort key that you will have to backfill the data in the index, what is the best way to go about backfilling the data?
@key(name: "TestStatus_byEntity", fields: ["entityId", "status", "createdAt"])

Hi @danielvouch :wave: - thanks for raising this!  To get a bit more context, do you mind porting this to the formatted template below:

bug report

This will help the team determine the best approach to take will all of the required information.


buildkit: 0.11.0 -> 0.11.2

Description of changes
https://github.com/moby/buildkit/releases/tag/v0.11.1
https://github.com/moby/buildkit/releases/tag/v0.11.2

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[x] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[x] Tested basic functionality of all binary files (usually in ./result/bin/)
23.05 Release Notes (or backporting 22.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

@ofborg build nerdctl


Defining variables with default values in package arguments can lead to problems

Problem
To make overriding more feasible, people often write something like
{
  sth,
  doCheck? true,
  patches? [],
  foo? callPackage ./foo.nix,
}:

{ ... }

But this is actually dangerous. We don't know when a top-level package named "doCheck", "patches" or "foo" will appear. While the first two can easily be found on ofBorg failures, the third might be quietly passed, causing more problems (and it even looks unrelated!).
Reproduce
# default.nix
{ aaa? "1" }:

aaa

This should be "1", right?
=> nix eval --impure --expr 'with import <nixpkgs> {}; callPackage ./default.nix {}'
«derivation /nix/store/l36n95rwc21rn1f8sld428j3sarv3ssd-aaa-1.1.1.drv»

Well it's not.
Solution
My idea is that we set some "reserved attribute prefixes", such as names starting with "var-", and make sure that they cannot be used for top-level package names. We may also need to take the same approach for other sets that define callPackage.

Prefixing those variables with pname could also be an option. For example, in package zblarg, one could probably use zblargDoCheck, zblargPatches,  zblargWithPython and zblargAaa with a minimal risk of a new unrelated package being named that.
It would also be more explicit, as zblargWithPython and fooWithPython would be different, while var-withPython and var-withPython in packages zblarg and foo wouldn't be.
And I think this is a common enough practice in various language and build systems already, so this wouldn't be too hard to adopt here.

An example for when I've encountered this unexpected default populating logic was when taking in an src value (it turns out it's also the name of a VCS package)

Does https://github.com/NixOS/rfcs/pull/169 at least partially address this issue?

I would say  that if you need to pass doCheck, src, patches or other mkDerivation arguments, you are not calling a package but a package builder/factory, so you should not use callPackage. And if your goal is overridable, those can be overridden nicely with overrideAttrs (assuming finalAttrs pattern).
And if you are using callPackage inside callPackage trying to follow DRY or something, that will just break override anyway https://github.com/NixOS/nixpkgs/pull/311780#discussion_r1601106653
The boolean/enum feature parameters are also ugly but at least they typically follow consistent naming pattern that is unlikely to conflict.
And for internal packages, it might be fine if they are not overridable.

Though if we really want to, …
Though if we really want to, we could create a private scope and call the package from within – something like the example below. Then it would be just possible to use override like with any other package mainProgram.override (old: { internalLib = old.internalLib.overrideAttrs …; })
pkgs/top-level/all-packages.nix
# …
my-program = import pkgs/applications/my-program { inherit pkgs lib; };
# …

pkgs/applications/my-program/default.nix
{ pkgs, lib }:

let
  privateScope = lib.makeScope pkgs.newScope (self:
    let
      inherit (self) callPackage;
    in {
      internalLib = callPackage ./foo {};
      # depends on internalLib
      mainProgram = callPackage ./prog {};
    }
  );

in
privateScope.mainProgram

I would say that if you need to pass doCheck, src, patches or other mkDerivation arguments, you are not calling a package but a package builder/factory, so you should not use callPackage.

So if you're doing a factory, but you still need a couple of inputs, that you'd rather not pass through, what would you recommend instead of auto-wiring with callPackage? Passing pkgs and selecting the dependencies yourself?
Is there room for a callPackage variant, that doesn't inject arguments, that have defaults?
Arguably in hindsight, wouldn't that have been a better behavior for callPackage in the first place?

This issue has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/override-derivation-with-overrideattrs-any-way-to-handle-let-in/47307/2

So we have an unfortunate example now: https://github.com/NixOS/nixpkgs/pull/324199 uses sources? callPackage ./sources.nix, which broke @flokli 's configuration (which includes sources as a top-level attribute). This is reverted in https://github.com/NixOS/nixpkgs/pull/325242.
I didn't initially realize that top-level attributes introduced by users through overlays might also affect our compatibility.

I extended the docs for pkgs/by-name to discourage being more fancy than simple enable* booleans for customization (other than package inputs without defaults) in https://github.com/NixOS/nixpkgs/pull/325262.

Another idea that would also help remove splicing but requires extending the nix language:
{ lib # ← could be in a "platformIndependent" set instead of top level
, sources
, options =
    { enableFoo ? true
    , enableBar ? false
    }
, buildHost =
    { stdenv
    , cmake
    , sometool
    }
, hostTarget =
    { libfoo
    , libbar
    }
}:
stdenv.mkDerivation ...

Does NixOS/rfcs#169 at least partially address this issue?

In a certain sense yes. @Atemu was working on a module system.

if your goal is to be overridable, those can be overridden nicely with overrideAttrs (assuming finalAttrs pattern) without having to stuff them into package expression arguments.

I take issue with this. overrideAttrs is all but well-defined. It's like a screw driver vs. a scalpel. One is a rather imprecise high-level tool that provides standardised operation while the other is a precision tool for an entirely different purpose.
I converted ffmpeg to a new override API a while back where the source, version etc. are intentionally defined in the function parameters: https://github.com/NixOS/nixpkgs/pull/295691 (While doing so I also ran into the same issue @TomaSajt ran into.)
This is necessary because the with*/enable* parameters have conditional defaults which depend on the version attr. Using overrideAttrs to override version did not change these parameters and caused annoying incompatibilities.
This method explicitly exposes the src/"source" as an input as part of the drv's API which allows you to transform any ffmpeg derivation into any other by merely adjusting inputs. Our ffmpeg variants are also defined through the same mechanism; setting overrides at callPackage site.
This has proven to work well and have some very nice properties. Therefore I'd like propose the exact opposite to @flokli: Reserve names that are likely to be part of package APIs such as src, version, pname or hash to not be used for package names. Obviously we shouldn't expose every mkDerivation arg in this way (that's what overrideAttrs is for) but things that can be considered as part of a package's "outside API" and that can very well include version or src in case of a generic drv IMHO.

Another idea that would also help remove splicing but requires extending the nix language:

This has been discussed in RFC 169.

In a certain sense yes. @Atemu was working on a module system.

https://github.com/NixOS/nixpkgs/pull/312432
It's actually quite simple to implement and upgrade existing flags defined as drv override inputs to a module system interface.
IMHO it quite neatly solves this problem and one of the primary problems RFC 169 intends to resolve or at least removes quite a lot of limitations around it.
We will need to figure out a way to measure the performance impact of such a module system before we can apply it more broadly. This is quite tricky as we'd need to actually convert override flags to mini module systems in order to measure the impact of it being used more widely.
One idea I had on this would be to create an overlay which would generate a small module system for each package and force their eval by injecting their results via overrideAttrs. This would represent be the worst-case scenario where each package has configurable parameters which obviously won't be the case but should show potential non-linear scaling.

Another idea that would also help remove splicing but requires extending the nix language:

This has been discussed in RFC 169.

Could you provide a link to the discussion? The rfc page is long and there are a lot of collapsed threads

Please check out this previous PR of mine, that was essentially done and could address this problem:

https://github.com/NixOS/nixpkgs/pull/131271


use cdutil.generateLandSeaMask() to generate land/sea mask ad hoc

In today's cdat tutorial given by @doutriaux1 , I learned that cdutil has a built in function to generate land/sea masks, which is based  on  a  high-resolution  (1/6-degree  longitude/latitude)  data  set  that provides  the  fraction  land  in  each  grid  cell. documentation see here
example of use:
import MV2
msk = MV2.greater(cdutil.generateLandSeaMask(std_obs), .5)
std_obs = MV2.masked_where(msk, std_obs)

Our current logic to generate masks is as following:
Before all the calculation starts, the drivers look for variables for generating masks: When 'LANDFRAC' and 'OCNFRAC' exist in the file, we use these two variables to apply mask.
Otherwise we use the climo 'LANDFRAC' and 'OCNFRAC' of a ne30 file saved in the package. Using the new way we can simplify the codes and apply masks as needed.

Just curious @chengzhuzhang, would there ever be a reason where someone would want the land and sea mask in the data over the ‘cdutil’ created mask?

Good question. I would think using the cdutil created mask is more advanced than our current solution, especially when no 'LANDFRAC' and 'OCNFRAC' exist. The base data set is in higher resolution (1/6 degree), which will result masked data in higher res, when apply to high res model data. In addition, the implementation will be cleaner, we don't need to include the mask data in each drivers. The masks only being calculated when they are needed. I'm implementing it right now. Hopefully, there won't be performance issue with the new way...Again, nice to see your post! Hope everything is well!

An example figure with cdutil tool: Some major lake and river systems are masked out in these maps.

An example figure with current method:

@zshaheen @chengzhuzhang usually people prefer to use the actual model land sea mask, because even if it is less correct it is whatever the model actually sees as land/sea and it affects the result produced at these cells (different part of the code).

@doutriaux1 Thanks for thanks for chiming in! In the case of comparing different models (ex. CMIP multi-model comparison), then it is good to use cdutil mask generation? cause I understand each model can be a bit different for the land sea mask?

So it seems that using the cdutil.generateLandSeaMask() will only replace getting the data from the acme_ne30_ocean_land_mask.nc file, which is totally fine. From what both of you said, users still might want to use the masking from the test data.
If this was not the case and masking data was no longer needed, the Dataset class could be simplified. The whole concept of "extra variables" was created to account for getting LANDFRAC and OCNFRAC.

According to @doutriaux1 and @dnadeau, using e3sm masks are more accurate for evaluating e3sm model data. I guess we will just keep it the old way. I might be helpful to replace the current ne30 resolution mask with a high res one for high res simulation.
But "extra variables" are not only for LANDFRAC AND OCNFRAC but also those auxiliary variables for vertical interpolation hyam hybm PS....

According to @doutriaux1 and @dnadeau, using e3sm masks are more accurate for evaluating e3sm model data. I guess we will just keep it the old way. It might be helpful to replace the current ne30 resolution mask with a high res one for high res simulation.
But "extra variables" are not only for LANDFRAC AND OCNFRAC but also those auxiliary variables for vertical interpolation hyam hybm PS....

Ahh yes, forgot about that! 😄

I'm closing this issue. We won't implement the new way for now. Will review this option when there is need. Thanks everyone for discussion!


[stable/traefik] Traefik accesslogs filters

What this PR does / why we need it:
It enables traefik accessLogs filters documented here
Special notes for your reviewer:
Checklist

[x] DCO signed
[x] Chart Version bumped
[x] Variables are documented in the README.md

/retest

chart needs a version bump

/lgtm


Hostname gets reset in Azure VM with alpha 3794.0.0

Description
Azure VMs deployed from alpha 3794.0.0 end up with a configured hostname of 'localhost' when deployed with the default params (no user provided ignition file). It appears to be connected with the update to waagent <IP_ADDRESS>, and the hostname is set to localhost by oem-cloudinit.service.
Impact
Probably breaks all sorts of things. Surprising that kola doesn't catch this (is ignition used in all tests?).
Environment and steps to reproduce

Set-up: az vm create -n flatcar-vm-2 -g $g -size Standard_E8bds_v5 --image kinvolk:flatcar-container-linux-free:alpha-gen2:latest --admin-username azureuser --disk-controller-type nvme --security-type standard
Task: check hostname
Action(s): ssh <ip> hostname
Error: localhost

Expected behavior
VM hostname should be the same as instance id (here flatcar-vm-2).
Additional information
Please add any information here that does not fit the above format.

Here's the full log:
journal.log
Relevant part:
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 waagent.service[1670]: 2023-11-24T14:12:14.847588Z INFO EnvHandler ExtHandler Set block dev timeout: sda with timeout: 300
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 oem-cloudinit.service[1553]: 2023/11/24 14:12:14 Checking availability of "waagent"
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 oem-cloudinit.service[1553]: 2023/11/24 14:12:14 Fetching meta-data from datasource of type "waagent"
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 oem-cloudinit.service[1553]: 2023/11/24 14:12:14 Attempting to read from "/var/lib/waagent/SharedConfig.xml"
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 oem-cloudinit.service[1553]: 2023/11/24 14:12:14 Fetching user-data from datasource of type "waagent"
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 oem-cloudinit.service[1553]: 2023/11/24 14:12:14 Attempting to read from "/var/lib/waagent/CustomData"
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 dbus.service[1426]: [system] Activating via systemd: service name='org.freedesktop.hostname1' unit='dbus-org.freedesktop.hostname1.service' requested by ':1.12' (uid=0 pid=1883 comm="hostnamectl set-hostname " label="system_u:system_r:kernel_t:s0")
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 init.scope[1]: Starting systemd-hostnamed.service - Hostname Service...
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 dbus.service[1426]: [system] Successfully activated service 'org.freedesktop.hostname1'
Fri 2023-11-24 14:12:14 UTC flatcar-vm-2 init.scope[1]: Started systemd-hostnamed.service - Hostname Service.
Fri 2023-11-24 14:12:14 UTC localhost systemd-hostnamed.service[1884]: Hostname set to <localhost> (default)
Fri 2023-11-24 14:12:14 UTC localhost oem-cloudinit.service[1553]: 2023/11/24 14:12:14 Set hostname to
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: oem-cloudinit.service: Deactivated successfully.
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: Finished oem-cloudinit.service - Run cloudinit.
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: Finished enable-oem-cloudinit.service - Enable cloudinit.
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: Reached target multi-user.target - Multi-User System.
Fri 2023-11-24 14:12:14 UTC localhost systemd-resolved.service[1390]: Failed to determine the local hostname and LLMNR/mDNS names, ignoring: No such device or address
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: Starting systemd-update-utmp-runlevel.service - Record Runlevel Change in UTMP...
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: systemd-update-utmp-runlevel.service: Deactivated successfully.
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: Finished systemd-update-utmp-runlevel.service - Record Runlevel Change in UTMP.
Fri 2023-11-24 14:12:14 UTC localhost init.scope[1]: Startup finished in 896ms (firmware) + 17.173s (loader) + 1.029s (kernel) + 7.384s (initrd) + 14.344s (userspace) = 40.828s.
Fri 2023-11-24 14:12:15 UTC localhost<EMAIL_ADDRESS>pam_unix(login:session): session opened for user core(uid=500) by LOGIN(uid=0)
Fri 2023-11-24 14:12:15 UTC localhost systemd-logind.service[1440]: New session 1 of user core.
Fri 2023-11-24 14:12:15 UTC localhost init.scope[1]: Started session-1.scope - Session 1 of User core.
Fri 2023-11-24 14:12:44 UTC localhost waagent.service[1670]: 2023-11-24T14:12:44.848217Z INFO EnvHandler ExtHandler EnvMonitor: Detected hostname change: flatcar-vm-2 -> localhost

On stable oem-cloudinit.serivce says this:
Nov 24 14:44:43 flatcar-vm-3 systemd[1]: Starting oem-cloudinit.service - Run cloudinit...
Nov 24 14:44:43 flatcar-vm-3 bash[1437]: + OEMS=(aws gcp rackspace-onmetal azure cloudsigma packet vmware digitalocean openstack)
Nov 24 14:44:43 flatcar-vm-3 bash[1438]: + echo aws gcp rackspace-onmetal azure cloudsigma packet vmware digitalocean openstack
Nov 24 14:44:43 flatcar-vm-3 bash[1439]: + tr ' ' '
Nov 24 14:44:43 flatcar-vm-3 bash[1439]: '
Nov 24 14:44:43 flatcar-vm-3 bash[1440]: + grep -q -x -F azure
Nov 24 14:44:43 flatcar-vm-3 bash[1445]: ++ '[' azure = aws -o azure = openstack ']'
Nov 24 14:44:43 flatcar-vm-3 bash[1445]: ++ '[' azure = gcp ']'
Nov 24 14:44:43 flatcar-vm-3 bash[1445]: ++ echo azure
Nov 24 14:44:43 flatcar-vm-3 bash[1443]: + /usr/bin/coreos-cloudinit --oem=azure
Nov 24 14:44:43 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:43 Checking availability of "waagent"
Nov 24 14:44:44 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:44 Checking availability of "waagent"
Nov 24 14:44:44 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:44 Checking availability of "waagent"
Nov 24 14:44:44 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:44 Checking availability of "waagent"
Nov 24 14:44:45 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:45 Checking availability of "waagent"
Nov 24 14:44:47 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:47 Checking availability of "waagent"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Checking availability of "waagent"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Fetching user-data from datasource of type "waagent"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Attempting to read from "/var/lib/waagent/CustomData"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Fetching meta-data from datasource of type "waagent"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Attempting to read from "/var/lib/waagent/SharedConfig.xml"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Merging cloud-config from meta-data and user-data
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Writing file to "/etc/environment"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Wrote file to "/etc/environment"
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Updated /etc/environment
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Ensuring runtime unit file "etcd.service" is unmasked
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Ensuring runtime unit file "etcd2.service" is unmasked
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Ensuring runtime unit file "fleet.service" is unmasked
Nov 24 14:44:50 flatcar-vm-3 bash[1443]: 2023/11/24 14:44:50 Ensuring runtime unit file "locksmithd.service" is unmasked
Nov 24 14:44:50 flatcar-vm-3 systemd[1]: oem-cloudinit.service: Deactivated successfully.
Nov 24 14:44:50 flatcar-vm-3 systemd[1]: Finished oem-cloudinit.service - Run cloudinit.

whereas on alpha:
Nov 24 14:12:08 flatcar-vm-2 systemd[1]: Starting oem-cloudinit.service - Run cloudinit...
Nov 24 14:12:08 flatcar-vm-2 bash[1548]: + OEMS=(aws gcp rackspace-onmetal azure cloudsigma packet vmware digitalocean openstack)
Nov 24 14:12:08 flatcar-vm-2 bash[1549]: + echo aws gcp rackspace-onmetal azure cloudsigma packet vmware digitalocean openstack
Nov 24 14:12:08 flatcar-vm-2 bash[1550]: + tr ' ' '
Nov 24 14:12:08 flatcar-vm-2 bash[1550]: '
Nov 24 14:12:08 flatcar-vm-2 bash[1551]: + grep -q -x -F azure
Nov 24 14:12:08 flatcar-vm-2 bash[1554]: ++ '[' azure = aws -o azure = openstack ']'
Nov 24 14:12:08 flatcar-vm-2 bash[1554]: ++ '[' azure = gcp ']'
Nov 24 14:12:08 flatcar-vm-2 bash[1554]: ++ echo azure
Nov 24 14:12:08 flatcar-vm-2 bash[1553]: + /usr/bin/coreos-cloudinit --oem=azure
Nov 24 14:12:08 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:08 Checking availability of "waagent"
Nov 24 14:12:08 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:08 Checking availability of "waagent"
Nov 24 14:12:08 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:08 Checking availability of "waagent"
Nov 24 14:12:09 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:09 Checking availability of "waagent"
Nov 24 14:12:10 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:10 Checking availability of "waagent"
Nov 24 14:12:11 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:11 Checking availability of "waagent"
Nov 24 14:12:14 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:14 Checking availability of "waagent"
Nov 24 14:12:14 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:14 Fetching meta-data from datasource of type "waagent"
Nov 24 14:12:14 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:14 Attempting to read from "/var/lib/waagent/SharedConfig.xml"
Nov 24 14:12:14 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:14 Fetching user-data from datasource of type "waagent"
Nov 24 14:12:14 flatcar-vm-2 bash[1553]: 2023/11/24 14:12:14 Attempting to read from "/var/lib/waagent/CustomData"
Nov 24 14:12:14 localhost bash[1553]: 2023/11/24 14:12:14 Set hostname to
Nov 24 14:12:14 localhost systemd[1]: oem-cloudinit.service: Deactivated successfully.
Nov 24 14:12:14 localhost systemd[1]: Finished oem-cloudinit.service - Run cloudinit.

Stable coreos-cloudinit (commit b50fb65) does this:
-func Apply(cfg config.CloudConfig, ifaces []network.InterfaceGenerator, env *Environment) error {
-       if cfg.Hostname != "" {
-               if err := system.SetHostname(cfg.Hostname); err != nil {
-                       return err
-               }
-               log.Printf("Set hostname to %s", cfg.Hostname)
-       }
-

Alpha cloudinit (commit 47bc4cf) does:
+func ApplyHostname(hostname string) error {
+       if err := system.SetHostname(hostname); err != nil {
+               return fmt.Errorf("error setting hostname: %w", err)
+       }
+       log.Printf("Set hostname to %s", hostname)
+       return nil
+}
+

@gabriel-samfira would you be able to take a look at this?

@MichaelEischer sorry about dropping the ball on this. This will be fix asap

I've opened https://github.com/flatcar/coreos-cloudinit/pull/25

Merged to main and cherry-picked to 3760 and 3815 branches. This will soon be coming to affected channels.

Thanks!

Thank you for contributing the code @MichaelEischer


Add table of content and minor changes in README

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


Add a file to provide data to DB

Description
The DB is empty, we want to have a file to provide it with data.
Technical Information
Add a data.sql file into the project resources to insert ean data
Acceptance Criteria

[x] data.sql exits and insert data properly
[x] update README.md

resolved: https://github.com/MercadonaITSeleccion/Francesc_Ferrer/pull/2


Source and Target graph:  make it clearer which column is the app and which are it's counterparts

A central column for the app and perhaps a wavy cloudlike column for the counterparts.
Something like:
https://www.shapedivider.app/   (waves or waves opacity)

This one is nicer:
https://haikei.app/generators/

source-target.patch.txt
Also see latest code in the svelte-demo project - Waves


[SPARKTA-514][WEB]: Add a default configuration to operators

Add a default configuration to operators as in previous version:
{ "inputField": "field1" }

:shipit:

Comment accepted. Will treat it ASAP

Squashing and checks in progress.


[Bug] Footer not display completly first and then fixed

react-native, react and native-base version
    "native-base": "^2.1.5",
    "react": "16.0.0-alpha.12",
    "react-native": "0.45.1",

Expected behaviour
Footer not display completly first and then fixed.
Actual behaviour
Steps to reproduce (code snippet or screenshot)
This is my /app/index.js:
<SideMenu store={store}>
                <Container>
                    <AppHeader store={store} openDrawer={this.openDrawer} />
                    <Content keyboardShouldPersistTaps="always">
                        {this.renderContent()}
                    </Content>
                    <AppFooter />
                </Container>
            </SideMenu>

This is my appFooter component:
<Footer>
                <FooterTab>
                    <Button full>
                        <Text style={[styles.englishText, {color: "white"}]}>App Footer</Text>
                    </Button>
                </FooterTab>
            </Footer>

Screenshot of emulator/device

Is the bug present in both ios and android or in any one of them?
I don't know about ios but I'm in Nexus 7 Tab with Android 5.1.1

@shivrajkumar any news about this?

@mnlbox tried to create a screen similar to this using the same device and package versions. But couldn't reproduce this issue. Attaching a screenshot

closing due to no response


Build and Run-Sample fixes for Linux

Hi @dwnichols, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.microsoft.com.

TTYL, MSBOT;

Current coverage is 82.08% (diff: 100%)

Merging #563 into branch-1.6 will increase coverage by 0.24%

@@           branch-1.6       #563   diff @@
============================================
  Files              66         66
  Lines            7353       7353
  Methods          1165       1165
  Messages            0          0
  Branches          949        949
============================================
+ Hits             6018       6036    +18
+ Misses            985        967    -18
  Partials          350        350

Powered by Codecov. Last update 79b20a3...d398683

@dwnichols, Thanks for signing the contribution license agreement so quickly! Actual humans will now validate the agreement and then evaluate the PR.
Thanks, MSBOT;


Replace hardcoded installation directories with GNUInstallDirs.

GNUInstallDirs are portable, many users are familiar with them and they make the
life of package maintainers easier.

Checklist
Not all of these might apply to your change but the more you are able to check
the easier it will be to get your contribution merged.

[x] CI passes
[x] Description of proposed change
[ ] Documentation (README, code doc blocks, etc) is updated
[ ] Existing issue is referenced if there is one
[ ] Unit tests for the proposed change

CMake compatibilty
GNUInstallDirs is available in 3.10:
https://cmake.org/cmake/help/v3.10/module/GNUInstallDirs.html.
Reasoning
Linux distributions usually have profiles for CMake that set these directories
to the right locations. This change will make packaging easier.
Other
I have left the old variables intact for backwards compatibility.

thank you!


Add elixir icon

It would be awesome to have an elixir icon for us alchemists.
Here is what the elixir icon looks like in web-devicons.

ca15fd4
enjoy it!


Running yarn setup gives error

I tried to git clone into the repository for contribution purposes, and tried every step for running it locally, but got this error as shown in the screenshot

It's most likely because you have space in your path gh repo. Removing it should make it work.


Operations hanging indefinitely

While trying to debug https://github.com/googleapis/nodejs-speech/issues/330, I ran into a scenario where the operation would finish but it did not contain any results or errors, causing the polling to go on indefinitely, which made my process hang.

@alexander-fenster Any updates?

@eoogbe We have an internal issue tracking this Speech behavior (which is against the spec), but this issue should be closed by #436 which addresses this specific problem. I wonder if an old gax was used here - if not, it should be debugged further.

@callmehiphop Can I ask you to double check if the code you were testing used gax that included #436? The original problem happens if the input file is silent or does not contain any speech to transcribe.

@alexander-fenster Any updates?

@callmehiphop nudges

The issue that I referenced earlier seems to be closed now, so I'm going to assume that this is fixed. If it re-surfaces then I'll re-open this. Thanks all!


feat: implement commands completions

Todos:

[x] script files completions

@anki-code this is completely a different implementation. But instead of create a separate repo, I am adding here so there won't be too many implementation. could you merge the changes here ?

@jnoortheen looks great! Thanks!


[DOCS] Add YouTube video to contributing file

Description
Add this video with thumbnail to the top o the contributing guide https://youtu.be/dfeSpGd8leU
Screenshots
No response
Additional information
No response

I will like to work on this issue .

I will like to work on this issue .

@luckyklyist I have assigned this to you.

can you tell me the exact link of the page (contributing page )?

It is the same contributing md file in every repo, it is in the root of the project CONTRIBUTING.md, here is the url https://github.com/EddieHubCommunity/LinkFree/blob/main/CONTRIBUTING.md

someone is working; or should I just start working on it ?

Please review my pr #7396

@kulkarniyash7 this issue is already assigned with an open pull request (please read the issue timeline above for more information)

Sure, sorry about that!


Cowardice replaced with Reckless

Cowardice is cutting health in half. Discord said it’s supposed to be reckless that does that

This should be fixed now in the latest beta. A rare vbug there still exists, buty that too is already fixed in latest alpha (alpha's only available to Patreons)


Render extrusions as tubes

I've been playing a lot with the code and ended up with a prototype that renders extrusions as tubes instead of lines. The idea is to be able to render a more advanced preview that resembles what PrusaSlicer and Cura have. I was wondering what are your plans for future versions of this tool because this is not a minor change and is worth planning carefully.
Here is a screenshot of what I was able to render:

Extrusion paths are tubes and travel moves are still lines.
I was thinking about switching from lines to tubes using a boolean in the preview options.
However, my prototype is very far from performant and is not accurate enough in my opinion. I'm still learning Three.js and feedback is welcome.
If I submit pull-requests, how would you prefer to proceed? Of course, smaller PRs with a clear scope are preferable. Is there a list of options and calculations that matters to you? Here is what I had in mind:

Option to switch from lines to tubes
When the metadata is available, different colors for outer lines, inner lines, and infill
Accuracy in the dimensions of the tubes for layer height and line width
Transparency of travel move lines

Let me know what you think. There are a lot of cool things I can add to this project and I'd prefer to contribute here rather than using a fork.

Wow the screenshot looks really good!
To answer your question first: I'm not dedicating any time to developing on the project myself atm. This is mostly due to time and life priorities. That being said, I've always answered issue's and PR's. And sometimes this sparks a moment where add some improvements myself.
So I guess if you want to use this code as a base, please go ahead. Maybe if you want to go really fast, a fork of your own might be the best way to go. If you contribute here, on the other hand, I, and others who follow this repo, can assist you here and there.
I would personally really love if you collaborate on this project, and I'm open to give you access to the repo. Just remember that I cannot make any promises about my own time.
About the tubes: I have several things I'm thinking about:
Rendering extrusion paths with volume can be done in a few ways, including round tubes. Maybe the simplest to start with would be to use square tubes. This results in a minimum of triangles in the mesh, as opposed to round tubes. And some basic things like line width and centering would need to be tackled anyway.
Another route would be to use the model used by Slic3R / PrusaSlicer.
. It's a little more complex and uses more triangles.
Actually, AFAIK Cura uses square tubes in their flow calculations, resulting in less spacing between the lines than in PrusaSlicer, for the same line width. (in fact OrcaSlicer now has a param to for a third option that sits in between)
What I'm getting at is that the best way to render the extrusion lines actually depends on the slicer that was used.  ... but I'm probably getting ahead of myself here ;-)
I hope to have answered your questions mostly. If not, shoot 😃

I'll start off by saying that I totally understand the time limitation and the fact that we are all humans with a (hopefully fulfilling) life. If we have compatible and vision, I may be interested in contributing long term to this project and help you with the tasks related to maintaining an open-source repository. But first, let's build some trust and see how we can make this first step work out!
I was able to clean up my code yesterday, and I have a first draft of the feature. However, it is not production ready in my opinion. I optimized slightly the code, but there's still a lot to do. I was able to get a render time of ~6 seconds and fluid camera movements on a 2019 Macbook Pro. It is reasonable if the user is provided some feedback on the progress, but it's something that need to be implemented.
If you are curious, here is my branch:
https://github.com/remcoder/gcode-preview/compare/develop...sophiedeziel:gcode-preview:tube-extrusion
It is a good candidate right now for a first PR with fast follows for improvements. I had to modify the signature of some methods and classes and there's some things that are not good enough to my liking. But it is a good first step.
What you have in mind with the Prusa slicer model is my ideal strategy. I'm not sure yet how I might implement it in a way that remains performant. I may use a tube that has a diameter equal to the extrusion width and truncate it, but I want to focus on optimizing and provide enough user feedback right now.

Yesterday, I focussed on performance and here are some of my findings!
My first prototype used a single square tube for each vector. The catmulrom curve improves rendering time by a lot. It seems like it's the number of geometries that matters in our case, not the complexity of each one of them, which is why I decided to combine them in this way. The result looks way better with the rounded corners, but it's an actual performance improvement.
I also experimented with some different materials. the MeshLambertMaterial is the fastest, but the difference is not that significant.
I tried updating to three.js to the latest version and the materials don't look the same at all, shadows disappear and the layers are impossible to see distinctively. But I did not notice a significant performance improvement.
The render method spends most of its time in new TubeGeometry(curve, curvePoints.length * 50, 0.4, 6, false).  The more I add to curvePoints.length * 50, the longer it takes, but it's still marginal. Going as low as 1 or 2 does not remove seconds. 50 is the threshold that I've identified with that model for rendering flat layers correctly. Developing an algorithm for it is a longtail optimization.
One approach I would like to take is to generate the geometries in the background and cache them. That approach would also work for rendering the lines. Switching modes would be fast. To validate this, I tried storing the geometries groups in separate variables and switch them back and forth without regenerating the geometries. It was fast, under 500ms. However, that approach would only be a good one if the realistic extrusion mode is disabled by default or if there is a progress bar showed to the user.
I'm about to create some benchmark tooling! I think it is worth it for the next steps.

I double checked and I made a mistake in one of my claims:

The more I add to curvePoints.length * 50, the longer it takes, but it's still marginal. Going as low as 1 or 2 does not remove seconds.

The performance is significantly better as the number of tubular segments goes down. But at the cost of accuracy.
I took some screenshots as a demonstration. The first one is all layers, and the dev console output of the total render time.
The second one is a close up of layer 4.
*1 multiplier
Render time is 229ms. As a reference, the line render is around 45ms

*5 multiplier
We can see the overall shape is significantly better, but single layers are really bad.

*25 multiplier
We're almost there for single-layer mode

*50 multiplier

Some optimization ideas
I'm considering multiple approaches based on those learnings.
Single-layer mode is significantly easier for the renderer. The quality and precision of that mode could be higher than when the whole model is rendered. Based on that, there's a lot of shortcuts the full model mode could take:

When it's possible to know what is outer lines, inner lines and infill, the whole model view could render outer lines first for fast preview, and add inner and infill in separate steps.
Inner and infill could also have different values for the number of tubular segments.
We could take an approach that gradually increases the number of tubular segments, starting with a low value for a fast first render and increasing it as the animation progresses
Dynamically adapt the number of segments based on the length and number of angles of the lines
Provide some user control on the variable for render speed/quality

I think that Dynamically adapt the number of segments based on the length and number of angles of the lines is the best approach for a second iteration of this feature.

Sorry for the number of posts. But I'm making a ton of progress in a short period of time.
I simply replaced
const geometry = new TubeGeometry(curve, curvePoints.length * 50, 0.4, 6, false)

by
const segments = Math.floor(curve.getLength() + 2) * 2;
const geometry = new TubeGeometry(curve, segments, 0.4, 4, false);

and I got amazing results!

Render time is down to <500ms, which is very acceptable, and complex layers are even better!!
I'm going to open a PR now.

Just a heads-up, I just merged some work I was busy with which will cause merge conflicts but nothing major. I chopped up the render function and added a first unit test relating to the gcode processing (both long overdue). Also, the unit tests now run as GH action so overall this is for better quality/stability going forward.

That's awesome!
I already resolved the conflicts and it seems like the test is still passing.
I'm still unfamiliar with typescript's ecosystem and testing frameworks. I should be testing my work too, I'll dive into it.

Hey @sophiedeziel, pinging you for the status of this issue and when to release. Might as well do a release soon/now maybe? What are your thoughts/plans on this?

I am experimenting a lot to improve performance and I noted a lot of potential improvements. I think performance could be it's own specific GH issue and follow up PRs if we want to release what we have right now.
As it is right now, there are no bugs to my knowledge related to the tube rendering features. No software is bug free, we just don't know about them yet. But nothing is an obvious blocker for releasing.
Do you want to scope in the dynamic tube's radius as part of the next release? I don't think it's needed and I don't think we should rush it. Also should be it's own GH issue to talk about things like API and calculation based on layer height or line width.
Would you prefer an explicit mention that the mode is experimental or you feel it's good to go? Advantages of keeping it in an experimental mode is that we have a bit more freedom to change APIs and behaviour, while still making it available for people to use it.

thx for chiming in @sophiedeziel.
I created separate tickets for rendering performance (#95) and dynamic tube radius (#96)
Fully agree there are no blockers for releasing as experimental but I wanted to check with you. So I'll now go ahead and create one.

This is now released as v2.12


Add graphical tooltip to 4D feature plot

Edit:
Added borders:

https://github.com/user-attachments/assets/b3648a91-d974-46a0-850f-9562fd6134ee
https://github.com/user-attachments/assets/c9ed1f5e-1ba1-428d-94c1-175158c35a4d

Great addition. is there any way to place the tooltip at a corner of the data point?

Should be possible. Requires some calculation of data points and pixels and between AWT and javaFX.


Support kasan for arm-none-unknown-eabi'

clang-16: error: unsupported option '-fsanitize=kernel-address' for target 'arm-none-unknown-eabi', gcc is support arm-none-unknown-eabi

Yes, judging by the Clang address sanitizer docs that's not supported by Clang. It's something that can be changed from this project, sorry.


⚠ Bofrost.de has degraded performance

In 02306c7, Bofrost.de (https://www.bofrost.de) experienced degraded performance:

HTTP code: 200
Response time: 1440 ms

Resolved: Bofrost.de performance has improved in c430ddd.


add cloudsource=Mx support back for cloud 9 milestones

Testing with https://ci.suse.de/view/Cloud/view/QA/job/cloud-mkphyscloud-qa-scenario-1a/1051/console

Please rebase to current master its missing fix for nfs share folder creation
"Error (35): We do not have cloud install media in /srv/tftpboot/suse-12.4/x86_64/repos/Cloud - giving up"

rebased and restarted as https://ci.suse.de/view/Cloud/view/QA/job/cloud-mkphyscloud-qa-scenario-1a/1052/console

@dirkmueller thanks!

https://ci.suse.de/view/Cloud/view/QA/job/cloud-mkphyscloud-qa-scenario-1a/1053/console is the 3rd try, and thats gonna be a charm, hopefully

once more..


Merge from develop and bump version to 2.0.0dev23

Codecov Report

Merging #2068 into v2 will increase coverage by 0.34%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##               v2    #2068      +/-   ##
==========================================
+ Coverage   92.71%   93.05%   +0.34%
==========================================
  Files          58       60       +2
  Lines       10703    11003     +300
==========================================
+ Hits         9923    10239     +316
+ Misses        780      764      -16

Impacted Files
Coverage Δ

botocore/__init__.py
100.00% <100.00%> (ø)

botocore/handlers.py
96.35% <100.00%> (+1.23%)
:arrow_up:

botocore/model.py
98.20% <100.00%> (+0.01%)
:arrow_up:

botocore/serialize.py
100.00% <100.00%> (ø)

botocore/utils.py
98.38% <100.00%> (+0.64%)
:arrow_up:

botocore/signers.py
98.12% <0.00%> (-0.41%)
:arrow_down:

botocore/credentials.py
98.42% <0.00%> (-0.23%)
:arrow_down:

botocore/client.py
98.59% <0.00%> (-0.09%)
:arrow_down:

botocore/exceptions.py
99.43% <0.00%> (-0.02%)
:arrow_down:

botocore/monitoring.py
99.54% <0.00%> (-0.01%)
:arrow_down:

... and 13 more

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 6f5cebe...30a9b7c. Read the comment docs.


Wrong lat and lon from contextily bbox

I write this code:
sind = Place("Sindian")
print(sind.bbox_map)

and the output is:
(13516512.585724287, 13540972.434775542, 2856910.369186746, 2876478.248427753)
But the coordinate for example are, circa:
(25.014 , 121.473)
Why?

Closing as I think this is answered, but happy to engage further if there's any additional question.


Reset Button Issue

The earlier reset button was not working when the timer was stopped. Now, we can reset the timer even if it is off.

@avinash201199 Please assign this issue to me.


swiperRef.current.slideTo is not a function

SlideTo function is not found.
official example=>
https://codesandbox.io/s/bxcmt?file=/src/App.js:1166-1173
This problem also exists in document.
https://swiperjs.com/demos#virtual-slides
after see react example
TypeError swiperRef.current.slideTo is not a function

That demo is wrong, look at react docs page on how to get the Swiper instance (using onSwiper prop) https://swiperjs.com/react


Incompatible with latest Windows 11

Unusual behavior:
launch EvnyUpdate.exe, it's indeed shows up in tray icon then auto-crash without any information.
Windows 11 Pro 22H2
OS Build	22621.755
Windows Feature Experience Pack 1000.22636.1000.0

I can reproduce this. Will fix this asap.

fixed in f86025f63d1d73521837e6cb58c0a78397dd0205.
Please download the new version 2.14 and try if that fixes the issue for you.

Nvm. Found more strange API behaviour... Will work on this now.

Ok, here we go. 2.15 should fix it.
The problem here was not Windows 11, but Nvidia changing their API slightly. Instead of returning a full URL to the download page as they used to, they now return on of the following:

A full URL (rarely)
A URL relative to the weblink
A URL starting with // (Protocol-Agnostic)

If it returns anything else, an error message will now be displayed by EnvyUpdate.

It's working now, thanks for your time and effort. 💯


[AppService] functionapp: Fixed configuration of container settings on linux dotnet function appss

Resolves #12773
This changes how linuxFxVersion is configured for linux dotnet function apps. Right now, the cli is incorrectly configuring this value and linux consumption apps are failing to be created. This should fix that issue.
Testing Guide
A unit test was created for this: --
azdev test appservice test_functionapp_on_linux_dotnet_consumption`.

You can also ensure that the following command can create an app successfully --
az functionapp create --name name -g resource_group -s storage_account -c location --os-type linux --runtime dotnet

History Notes:
[AppService] az functionapp create: Changed the way linuxFxVersion was being set for dotnet linux function apps. This should fix a bug that was preventing dotnet linux consumption apps from being created.

This checklist is used to make sure that common guidelines for a pull request are followed.

[x] The PR title and description has followed the guideline in Submitting Pull Requests.

[x] I adhere to the Command Guidelines.

cc @pragnagopa @ankitkumarr


Input unions?

Something sorely missing from GraphQL is input unions. While we won't extend the GraphQL language ourselves, we could potentially implement input unions server side:
@gql.inputUnion
type timePeriod = Preset({datePreset: datePreset}) | Dates({from: timestamp, to: timestamp})

@gql.field
let data = (_: query, ~timePeriod) => {
  getDataByTimePeriod(timePeriod)
}

type Query {
  data(datePreset: DatePreset, from: Timestamp, to: Timestamp): DataForPeriod
}

We'd have a code generated layer in each resolver using a input union that automatically throws if the argument configuration isn't correct.

Integrated in a slightly different version.


Refs #21927 -- Made application and instance namespaces more distinct.

Made URL application namespaces be set in the included URLconf, and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.

Did you see more improvements that could fall under ticket #21927 and hence "Refs" instead of "Fixed"?

This doesn't fully fix the issue that an app should always be able to reverse its own urlpatterns. If the app is included in another namespaced URLconf, that would still break reversal. That's something I plan to address in the new API. I guess I could mark this one fixed and open a new ticket for it.

merged in 1e82094f1b6690018228e688303295f83e1c3d9a, thanks!


Update SDK-for-Net to include applicationId in access policy entry

Add ApplicationId in access policy entry
Update test
Bump nuget package version
Re-record sessions

Can one of the admins verify this patch?

Hi @YuhuiZhong, I'm your friendly neighborhood Azure Pull Request Bot (You can call me AZPRBOT). Thanks for your contribution!

In order for us to evaluate and accept your PR, we ask that you sign a contribution license agreement. It's all electronic and will take just minutes. I promise there's no faxing. https://cla.azure.com.

TTYL, AZPRBOT;

add to whitelist


fix: support windows builds

Follow up to the addition of unix socket support [0], making that feature conditional on building for a target OS family of "unix" [1].
[0] https://github.com/penumbra-zone/tower-abci/pull/35
[1] https://doc.rust-lang.org/reference/conditional-compilation.html#target_family

We will remove this when https://github.com/tokio-rs/tokio/issues/2201 lands.


Suddenly the speed is slowing for pluralsight videos 10KB/s

Please follow the guide below

You will be asked some questions and requested to provide some information, please read them carefully and answer honestly
Put an x into all the boxes [ ] relevant to your issue (like this: [x])
Use the Preview tab to see what your issue will actually look like

Make sure you are using the latest version: run youtube-dl --version and ensure your version is 2018.02.22. If it's not, read this FAQ entry and update. Issues with outdated version will be rejected.

[x ] I've verified and I assure that I'm running youtube-dl 2018.02.22

Before submitting an issue make sure you have:

[x ] At least skimmed through the README, most notably the FAQ and BUGS sections
[ x] Searched the bugtracker for similar issues including closed ones
[x ] Checked that provided video/audio/playlist URLs (if any) are alive and playable in a browser

What is the purpose of your issue?

[ ] Bug report (encountered problems with youtube-dl)
[ ] Site support request (request for adding support for a new site)
[ ] Feature request (request for a new functionality)
[x] Question
[ ] Other

The following sections concretize particular purposed issues, you can erase any section (the contents between triple ---) not applicable to your issue

If the purpose of this issue is a bug report, site support request or you are not completely sure provide the full verbose output as follows:
Add the -v flag to your command line you run youtube-dl with (youtube-dl -v <your command line>), copy the whole output and insert it here. It should look similar to one below (replace it with your log inserted between triple ```):
[debug] System config: []
[debug] User config: []
[debug] Command-line args: [u'-v', u'http://www.youtube.com/watch?v=BaW_jenozKcj']
[debug] Encodings: locale cp1251, fs mbcs, out cp866, pref cp1251
[debug] youtube-dl version 2018.02.22
[debug] Python version 2.7.11 - Windows-2003Server-5.2.3790-SP2
[debug] exe versions: ffmpeg N-75573-g1d0487f, ffprobe N-75573-g1d0487f, rtmpdump 2.4
[debug] Proxy map: {}
...
<end of log>

If the purpose of this issue is a site support request please provide all kinds of example URLs support for which should be included (replace following example URLs by yours):

Single video: https://www.youtube.com/watch?v=BaW_jenozKc
Single video: https://youtu.be/BaW_jenozKc
Playlist: https://www.youtube.com/playlist?list=PL4lCao7KL_QFVb7Iudeipvc2BCavECqzc

Note that youtube-dl does not support sites dedicated to copyright infringement. In order for site support request to be accepted all provided example URLs should not violate any copyrights.

Description of your issue, suggested solution and other information
Explanation of your issue in arbitrary form goes here. Please make sure the description is worded well enough to be understood. Provide as much context and examples as possible.
If work on your issue requires account credentials please provide them or explain how one can obtain them.
I am using this command
youtube-dl --playlist-start 11 --autonumber-start 11 --no-part --limit-rate 350K --output "%(autonumber)s.%(title)s.%(ext)s"
The speed is suddenly slowing down to 10KB/s .

youtube-dl does not impose any speed limits.

Well I didn't mean that can you just check once for pluralsight


Bump development release for 1.23

Issue #, if available:
Closes https://github.com/aws/eks-distro/issues/1449
Description of changes:
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/lgtm

/unhold
/approve


gulp-vulcanize doesnt seem to make use of abspath option

gulp-vulcanize does not seem to pick up the abspath option. It works fine when using vulcanize directly on command line.
gulp.task('vulcanize', ['html:elements'], function (done) {

  /**
   * gulp-vulcanize does not work as expected!
   */

  // return gulp.src('./dist/assets/elements/x-app/all-imports.html')
  //   .pipe(plug.vulcanize({
  //     abspath: __dirname
  //   }))
  //   .pipe(plug.concat('x-app.vulcanized.html'))
  //   .pipe(gulp.dest('./dist/assets/bundle'));

  /**
   * same thing using command-line does work
   */

  var output = [],
      child = spawn(
        './node_modules/gulp-vulcanize/node_modules/.bin/vulcanize',
        [ '--abspath', '.', 'dist/assets/elements/x-app/all-imports.html' ],
        { cwd: __dirname }
      );

  child.stdout.on('data', function (b) {
    output.push(b);
  });

  child.on('close', function() {
    var filename = __dirname + '/dist/assets/bundle/x-app.vulcanized.html';
    mkdirp(path.dirname(filename), function() {
      fs.writeFile(filename, Buffer.concat(output), done);
    });
  });

});

all-imports.html contains both relative and absolute imports. Eg:
<link rel="import" href="./x-app.html">
<link rel="import" href="/bower_components/paper-styles/paper-styles.html">
<link rel="import" href="../lorem-ipsum/lorem-ipsum.html">

I have a similar issue on Win7; abspath is concatenated twice. gulp-vulcanize throws the following error:
errno: 34
code: ENOENT
path: C:\path\to\dist\dir\path\to\dist\dir\index.html

I am vulcanizing in my dist directory (suggested in #51)
gulp.task('vulcanize', function() {

    var DEST_DIR = bases.dist + 'WEB-INF/pages';

    return gulp.src('*.html', {
        cwd : DEST_DIR
    }).pipe($.vulcanize({
        abspath : bases.dist,
        inlineScripts : false,
        // inline css does not work if paper-input is imported
        inlineCss : false,
        stripComments : true
    })).on('error', error).pipe($.rename({
        extname : '.vul.html'
    })).pipe(gulp.dest(DEST_DIR));

});

On vulcanize 1.9.1, gulp-vulcanize 6.0.1, Polymer 1.0.3.

Should be working with vulcanize 1.9.3. Please run npm update

@azakus thanks, did the update, but didn't see any change at first. I was seeing same issue as @seahrh, double abspath.
Finally got it to work by changing gulp.src('./dist/assets/elements/x-app/all-imports.html') to gulp.src('/dist/assets/elements/x-app/all-imports.html') - just removing that . did the trick.

Updated to vulcanize 1.9.3 but I am still seeing the same issue (double abspath). Having a leading / in gulp.src did not work for me.

This issue is unresolved. Some clues for troubleshooting:

The relationship to gulp-vulcanize derives from the fact that gulp-vulcanize resolves file.path to the absolute file path.
If you run vulcanize with --inline-css, an absolute file path, and no/empty --abspath then it fails due to "no resolver found".
If you run vulcanize with an absolute file path and anything nontrivial for --abspath (with or without --inline-css) then it fails when trying to open an invalid file path composed of the concatenation of the --abspath value and the absolute input file path.
The "no resolver found" error appears to be associated with CSS files referencing external URLs of the form "//domain.com/etc" without a leading http or https. These should be handled in the solution to #182 but the constants.EXTERNAL_URL isn't picking up on it. "EXTERNAL_URL: /^(?:https?:)?//|(?://)/" is a quickie workaround for that specific URL pattern but it isn't a permanent solution and only addresses part of the problem.

Yeah I think I understand the issue now.
There is no way to specify the path when using abspath in gulp because it read the file and forward it with its own metadata. One possible fix is to provide the input file path as an option, and ignore the path from gulp. In fact, this would probably be better anyway as it would allow for using the file buffer from gulp directly.
I'm confused by (4), this is explicitly tested for with https://github.com/Polymer/vulcanize/commit/47f684b5ba2428b442321b3372d29600e9774161

Yes please reopen this issue. I also have the same inline-css "no resolver found" problem as what @csmith932 described in (2).

Same problem here on Windows x64

I've added a new option, inputUrl, that will override the file path gulp gives to vulcanize. This will fix instances on windows for single input files to be mapped to a URL for abspath usage correctly.
An example is here: https://github.com/Polymer/vulcanize/commit/11f9af762b42da6c0bbead9e2c92543564b82e47

@azakus, only one file is vulcanized in your example. Is there a way I could vulcanize multiple files in my gulp task?
return gulp.src(['*.html', '!*' + VULCANIZED_EXT], { // many files
        cwd : 'src/main/webapp/WEB-INF/pages'
    }).pipe($.vulcanize({
        abspath : 'src/main/webapp',
        inputUrl : '/WEB-INF/pages/index.html', // one file
        inlineScripts : false,
        inlineCss : false,
        stripComments : true
    })).on('error', error).pipe($.rename({
        extname : VULCANIZED_EXT
    })).pipe(gulp.dest('src/main/webapp/WEB-INF/pages'));

I still cannot get this to work with gulp-vulcanize properly - polymer is included twice. Output during build:
Ignoring duplicate element definition: custom-style
Ignoring duplicate element definition: dom-template
Ignoring duplicate element definition: dom-repeat
Ignoring duplicate element definition: array-selector
Ignoring duplicate element definition: dom-if
Ignoring duplicate element definition: dom-bind

And in browser when loading vulcanized elements:
Failed to execute 'registerElement' on 'Document': Registration failed for type 'dom-module'. A type with that name is already registered.

If I try the abspath & inputUrl config like:
gulp.task('vulcanize', function () {
    var DEST_DIR = 'dist/elements';

    return gulp.src('dist/elements/elements.vulcanized.html')
      .pipe($.vulcanize({
        abspath: path.resolve('dist'),
        inputUrl: '/elements/elements.vulcanized.html',
        excludes: [
        ],
        stripExcludes: false,
        inlineScripts: false,
        inlineCss: false,
        implicitStrip: true,
        stripComments: true
      }))
      .pipe($.crisper())
      .pipe(gulp.dest(DEST_DIR))
      .pipe($.size({title: 'vulcanize'}));
  });

The vulcanize task doesn't run, gulp just exits with no error.
Running vulcanize -p dist /elements/elements.vulcanized.html creates the correct content.

I've also had this issue, and found the current solution is not to import polymer anywhere in my project. I suspect it is a known problem, because polymer-start-kit also doesn't import polymer anywhere in the project. It would seem the polymer dependency is resolved via the imported components that declare the polymer import (e.g. paper-toolbar), but it's not clear to me why they can declare the import, but I cannot (when vulcanizing).

@hawkett Thanks for the tip but my project doesn't import polymer.html anywhere so this isn't the problem for me at least.

So today this worked... must have been an old cached npm dependency.

@jimmidyson Hi, I just came along to the same problem and I do not seem to have any import of polymer in my project files as well. Would you be able to expand as to what may helped you with fixing this?

@kubijo iirc i cleaned out node_modules & bower_components, npm install, bower install & it all worked. Not sure why though...

Well, tried that as well with no luck. Do you recall on which version you were ... meaning version of starter-pack and/or polymer?

I'd just upgraded to starter pack 1.0.2 IIRC.
On 11:56, Fri, 24 Jul 2015 kubijo<EMAIL_ADDRESS>wrote:

Well, tried that as well with no luck. Do you recall on which version you
were ... meaning version of starter-pack and/or polymer?
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/vulcanize/issues/203#issuecomment-124474093.

Ok, I just 'resolved', so to any other confused wondering souls on the internet...
Apparently you can't have any imports pointing to polymer.html anywhere in your .app/ - which means even those peer ones in eg. iron-input and *behavior elements.
Solution is to move any import pointing to polymer.html to elements.html. I find this, quite frankly, a terrible pattern since imports should be done in place of their usage and discarded if already imported elsewhere, but maybe there is a bigger picture here that I fail to see.

That sounds like it's worth raising a separate issue for if one doesn't
already exist.
On 12:50, Fri, 24 Jul 2015 kubijo<EMAIL_ADDRESS>wrote:

Ok, I just 'resolved', so to any other confused wondering souls on the
internet...
Apparently you can't have any imports pointing to polymer.html anywhere
in your .app/ - which means even those peer ones in eg. iron-input and
*behavior elements.
Solution is to move any import pointing to polymer.html to elements.html.
I find this, quite frankly, a terrible pattern since imports should be done
in place of their usage and discarded if already imported elsewhere, but
maybe there is a bigger picture here that I fail to see.
—
Reply to this email directly or view it on GitHub
https://github.com/Polymer/vulcanize/issues/203#issuecomment-124497903.

Has such an issue been opened yet? I'm experiencing a variant of this issue... there has to be some way to provide a path argument or have it detect the path so that it can resolve relative paths properly...

Still seeing this issue in https://github.com/sindresorhus/gulp-vulcanize with version 1.10.3 of vulcanize installed.


Behavior change for bot.recall('not yet stored key')?

Did the update of the new storage/redis module change the overall behavior of storage?
This is sample code from Hotel California:
var htc = bot.recall('htc');
 // if htc has not been initialized to bot memory...
  if(!htc) {
    htc = bot.store('htc', {});
    // store default value
    htc.enabled = false;
  }

I have similar code to this in my bot, but since doing an npm update, I'm now getting a non-null value returned when the key has never been set.  Rather it returns an unhandled error object.  I also see:
Potentially unhandled rejection [1] Error: bot.recall() could not find the value referenced by id/key
at Object.recall (/Users/jshipher/Dropbox/dev/node/tropo-jira-notification-bot/node_modules/node-flint/storage/memory.js:60:32)
I can handle this in my code, but wondered if this behavior is planned/expected.

Unexpected, but yes, you are correct. The bot.store/recall/forget code was refactored a few commits back along with the memory storage module to return or reject promises instead of returning a null value. the above would look something like this:
bot.recall('htc')
  .then(function(htc) {
    // if htc is found
    // [ ... ]
  })
  .catch(function(err) {
    // if htc is not found
    htc = bot.store('htc', {});
    // store default value
    htc.enabled = false;
  });


AI setting production buildings to sleep

When the AI runs out of some resource, after some fixed amount of time, all buildings depending on that type of resource (e.g. bakeries for flour, fletchers and other wood-weapon workshops for wood, inns for ale) are set to sleep. And right after doing that, the AI tries to buy 2 units of the missing resource...
Now, what would be really cool is if the AI would buy those missing resources before / instead of setting everything to sleep (and possibly buying more than just 2 units at once, but the ideal amount is probably too situational to easily find a one-fits-all value there...).
Also, it could be helpful to simply increase the timer length until that setting-to-sleep behavior is invoked, in order to avoid situations where newly-bought resources are wasted right away by setting the corresponding buildings to sleep while they are still processing them.

When the AI runs out of some resource, after some fixed amount of time, all buildings depending on that type of resource (e.g. bakeries for flour, fletchers and other wood-weapon workshops for wood, inns for ale) are set to sleep. And right after doing that, the AI tries to buy 2 units of the missing resource...
Now, what would be really cool is if the AI would buy those missing resources before / instead of setting everything to sleep (and possibly buying more than just 2 units at once, but the ideal amount is probably too situational to easily find a one-fits-all value there...).

Flour is quite expensive to buy in and if their wheat production is going badly for some reason, bread producing AIs would be probably be better off not buying in flour. Wheat is OK to buy in of course if they have enough gold, as the 20 wheat they buy in if lacking can be turned into a lot of bread, especially for Wazir and Abbot with their use of negative fear factor.

A setting to disable this will be in the next Release.


Keep getting error when trying pip install mordecai

I'm running Python 3.6 and when I write "pip install mordecai" I keep getting a list of errors that say "Failed building wheel for ujson", "  Failed building wheel for preshed", "  Failed building wheel for cymem", etc.
I read here( "https://stackoverflow.com/questions/43370851/failed-building-wheel-for-spacy") that i need to install spacy first but when I pip install spacy I again get "Failed building wheel for ujson", "  Failed building wheel for preshed", "  Failed building wheel for cymem", etc.
What should I do?

Ok, perhaps I should also mention that I'm using a Mac, v. 10.13.4

Reading the rest of that page, it sounds like it might be a problem with your compiler/devtools. What happens if you update your XCode command line tools?


Unfold leaks state across iterations

When a sequence instance returned by Unfold is iterated multiple times then the state leaks from one iteration to the next. The following code demonstrates the bug:
using MoreLinq;

var xs = MoreEnumerable.Unfold(1, n => (Result: n, Next: n + 1),
                                  _ => true,
                                  n => n.Next,
                                  n => n.Result)
                       .Take(5);

Console.WriteLine(xs.ToDelimitedString(", "));
Console.WriteLine(xs.ToDelimitedString(", "));

The output is:
1, 2, 3, 4, 5
5, 6, 7, 8, 9

whereas it should have been:
1, 2, 3, 4, 5
1, 2, 3, 4, 5

Closed via e3755e113a19d2da17021439b54794744a090079 that is merge of PR #991 (3.x) and ae9eea5b809e5cb3ef06c6d86de4adc034290922 that is merge of PR #992.


Bugfix Disconnect SKI Deadlock

Closes #13

coverage: 90.815% (-0.007%) from 90.822%
when pulling 0879c030d89d5e9c9abe92f1717ef653b2aeef55 on Kr0llx:bugfix_disconnectSKI_deadlock
into 14685b670c3d84c05d6d1f940b214a0ca7dcc810 on enbility:dev.

Nice one, looks good to me :)


Feature request: Check config and exit

I've been tinkering to feed my ARK Servers configuration via CI/CD pipelines.
It'd be great to have the configuration validated before being deployed to the server.

arkmanager printconfig @instance should print what file each option is found in.
As far as I know, the ARK server does not itself have an option to test its configuration and options.

This works to some extend: https://github.com/Alphakilo/ARK-Server-Tools-CI
It prints the entire config, at least the parameters, but returns exit code 0 even if things went south 😄
Steps to reproduce
Provide nonsensical arkmanager.cfg:
cat << EOF > /etc/arkmanager/arkmanager.cfg
bad_param
what even is this
unterminated_value="
;this shoudnt

be=here
EOF

Run arkmanager printconfig @all; echo $?
Expected outcome
Some pointers as to what is wrong with the CFG printed to stderr, exit-code >0
Current outcome
root@4abd03c7a081:~# arkmanager printconfig @all; echo $?
/etc/arkmanager/arkmanager.cfg: line 1: bad_param: command not found
/etc/arkmanager/arkmanager.cfg: line 2: what: command not found
/etc/arkmanager/arkmanager.cfg: line 3: unexpected EOF while looking for matching `"'
/etc/arkmanager/arkmanager.cfg: line 7: syntax error: unexpected end of file
/etc/arkmanager/arkmanager.cfg: line 1: bad_param: command not found
/etc/arkmanager/arkmanager.cfg: line 2: what: command not found
/etc/arkmanager/arkmanager.cfg: line 3: unexpected EOF while looking for matching `"'
/etc/arkmanager/arkmanager.cfg: line 7: syntax error: unexpected end of file
[  ERROR  ]     Your SteamCMD root seems not valid.
[  ERROR  ]     Your SteamCMD exec could not be found.
[  ERROR  ]     You do not permission to write to the log directory.
Running command 'printconfig' for instance 'main'
[  ERROR  ]     Your SteamCMD root seems not valid.
[  ERROR  ]     Your SteamCMD exec could not be found.
[  WARN  ]      Your ARK server exec could not be found.
[  ERROR  ]     You do not permission to write to the log directory.
/etc/arkmanager/instances/main.cfg => arkserverroot
/etc/arkmanager/instances/main.cfg => serverMap
/etc/arkmanager/instances/main.cfg => ark_RCONEnabled
/etc/arkmanager/instances/main.cfg => ark_RCONPort
/etc/arkmanager/instances/main.cfg => ark_SessionName
/etc/arkmanager/instances/main.cfg => ark_Port
/etc/arkmanager/instances/main.cfg => ark_QueryPort
/etc/arkmanager/instances/main.cfg => ark_ServerPassword
/etc/arkmanager/instances/main.cfg => ark_ServerAdminPassword
/etc/arkmanager/instances/main.cfg => ark_MaxPlayers
/etc/arkmanager/arkmanager.cfg: line 1: bad_param: command not found
/etc/arkmanager/arkmanager.cfg: line 2: what: command not found
/etc/arkmanager/arkmanager.cfg: line 3: unexpected EOF while looking for matching `"'
/etc/arkmanager/arkmanager.cfg: line 7: syntax error: unexpected end of file
/etc/arkmanager/arkmanager.cfg => unterminated_value
/etc/arkmanager/arkmanager.cfg: line 1: bad_param: command not found
/etc/arkmanager/arkmanager.cfg: line 2: what: command not found
/etc/arkmanager/arkmanager.cfg: line 3: unexpected EOF while looking for matching `"'
/etc/arkmanager/arkmanager.cfg: line 7: syntax error: unexpected end of file
/etc/arkmanager/arkmanager.cfg => be
0

$ (source <(echo x=2; echo bad config; echo y=4)); echo $?
bash: bad: command not found
0
$ (set -e; source <(echo x=2; echo bad config; echo y=4)); echo $?
bash: bad: command not found
127

dfeaf604a7c7a577e0c27fd63840ccbf87c02c32 adds a testconfig command, which tries to source the config while errexit is set.
ce9ef308f9cf11d812777bc4c8e4f5edade2b01f outputs the config warnings on stderr instead of stdout.

Just confirmed by installing via --unstable, works perfectly! Thanks a bunch!


fig bug: ssh timeout when create a machine using vmwarefusion driver.…

… See issue https://github.com/docker/machine/issues/4137

Please sign your commits following these rules:
https://github.com/moby/moby/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "master" git@github.com:pphetra/machine.git somewhere
$ cd somewhere
$ git commit --amend -s --no-edit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.

@SvenDowideit Do you mind taking a look at this one? Seems related to your changes in https://github.com/docker/machine/pull/4107 :cat:

@shin- yup - LGTM - @pphetra do you want to make the same fix to drivers/vmwarevsphere/vsphere.go ?

ping @pphetra :)

Amended and merged in #4194
Thank you!


Fail to start the fcd collector

We're setting up a fcd node and we met this error when running the collector by npm run collector:
/blocks/1 500 - {"error":"height 1 is not available, lowest height is 4724001"}
We want to fetch both columbus-4 and 5's information and right now we leave the CHAIN-ID in the .envrc as the default value tequilia-0004.
Does anyone know what would be the right chain-id to use in our scenario or whether we need to change the start height in the block.ts to other values? thanks a lot!

When I tried using CHAIN-ID=columbus-4 and manually change the start lowest height to 472001, it turns out to give me this error:
APIError: /staking/validators
    at /home/ec2-user/fcd/src/lib/lcd.ts:38:13
    at tryCatcher (/home/ec2-user/fcd/node_modules/bluebird/js/release/util.js:16:23)
    at Promise._settlePromiseFromHandler (/home/ec2-user/fcd/node_modules/bluebird/js/release/promise.js:547:31)
    at Promise._settlePromise (/home/ec2-user/fcd/node_modules/bluebird/js/release/promise.js:604:18)
    at Promise._settlePromise0 (/home/ec2-user/fcd/node_modules/bluebird/js/release/promise.js:649:10)
    at Promise._settlePromises (/home/ec2-user/fcd/node_modules/bluebird/js/release/promise.js:725:18)
    at _drainQueueStep (/home/ec2-user/fcd/node_modules/bluebird/js/release/async.js:93:12)
    at _drainQueue (/home/ec2-user/fcd/node_modules/bluebird/js/release/async.js:86:9)
    at Async._drainQueues (/home/ec2-user/fcd/node_modules/bluebird/js/release/async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (/home/ec2-user/fcd/node_modules/bluebird/js/release/async.js:15:14)
    at processImmediate (node:internal/timers:464:21)

There seems to be a compatibility issue between the version of the lcd and the fcd we're running, can anyone point a setup that works? Thanks a lot

Please use bombay branch and set INITIAL_HEIGHT variable (https://github.com/terra-money/fcd/tree/bombay#4-configure-environment-variables)

hi @hanjukim, thanks the answer! do you by any chance know if there is a way we can load col-4 tx history onto our fcd node? or if there is a DB dump file we may use that is generated by pg_dump


Obsolete and Missing VS for Mac Information

Please add information on how to do tabs vs spaces setting for VS 4 mac

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

ID: 2bf1a218-2295-22ac-03eb-1ccc63b4a3e6
Version Independent ID: baa311a7-6b87-6196-ae8a-b8759a1df73c
Content: C# editor formatting options - Visual Studio
Content Source: docs/ide/reference/options-text-editor-csharp-formatting.md
Product: visual-studio-windows
Technology: vs-ide-general
GitHub Login: @gewarren
Microsoft Alias: gewarren

@dinobu This particular help topic is only for VS on Windows. For configuring tabs versus spaces for VS for Mac, you can do that with an EditorConfig file: https://docs.microsoft.com/visualstudio/mac/editorconfig?view=vsmac-2019.
/cc  @asb3993


Dockerfile: Move installing ScanCode to its own layer

This is to benefit from layer caching for different SCANCODE_VERSION
build arguments.
Signed-off-by: Sebastian Schuberth<EMAIL_ADDRESS>

Or maybe review the current docker PR and avoid redo things already done
there ?
On Fri, Dec 3, 2021 at 2:27 PM Sebastian Schuberth @.***>
wrote:

@.**** commented on this pull request.
In Dockerfile
https://github.com/oss-review-toolkit/ort/pull/4802#discussion_r761935906
:

@@ -164,9 +163,11 @@ RUN /opt/ort/bin/import_proxy_certs.sh &&
gem build cocoapods.gemspec &&
gem install cocoapods-1.10.1.gem
) && \

   rm -rf CocoaPods-9461b346aeb8cba6df71fd4e71661688138ec21b && \

Add scanners (in versions known to work).

curl -ksSL https://github.com/nexB/scancode-toolkit/archive/v$SCANCODE_VERSION.tar.gz | \

   rm -rf CocoaPods-9461b346aeb8cba6df71fd4e71661688138ec21b

+# Add scanners (in versions known to work).
Well, maybe now, partly, yes. Anyway, I just moved this over. Let's
eventually fix it separately.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/oss-review-toolkit/ort/pull/4802#discussion_r761935906,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AADGDAFEV2SS4B7N2AOXWYLUPDATFANCNFSM5JJTL7UQ
.

Or maybe review the current docker PR and avoid redo things already done there ?

Even if your PR was merged, we wouldn't be able to switch to it any time soon due to company-internal reasons. So I decided to make this low-hanging-fruit improvement here.

Merging as the relevant DockerBuild succeeded.


not properly cleaning after close

close function hangs and is never resolved.
not arriving to server?
noticed after creating a api and then closing quickly after. might have not connected properly?

fixed with minor api rewrite