Does Kata limit the CPU, Mem through cgroup?

Which feature do you think can be improved?
Homemake container manager read the container infos through cgroup files, like /sys/fs/cgroup/cpuacct/docker.
Seems Kata is just use VM to limit the memory instead of cgroup.
How can it be improved?
Can also write the limit to cgroup also?
Additional Information
docker run --rm -it --memory 4g --cpus 3  ubuntu  only works inside the container, not cgroup.
root@localhost:~# cat /sys/fs/cgroup/memory/docker/kata_860d4bc08c796bab3806b7382fe7ebad6e706288c6d44022971e6c4ac21c1e3d/memory.soft_limit_in_bytes
9223372036854771712
root@localhost:~# cat /sys/fs/cgroup/memory/docker/kata_860d4bc08c796bab3806b7382fe7ebad6e706288c6d44022971e6c4ac21c1e3d/memory.kmem.limit_in_bytes
9223372036854771712

Before raising this feature request
Yes.

/cc @devimc who I think understands best which cgroups are set where (on the host and inside the guest VM)...

@grahamwhaley @devimc  As you had create the host's cgroup file, I think u can also set the value to it.

6dad6d50be20 is my container created by docker run --rm -it --memory 2g --cpus 3  ubuntu.
Seems docker stats on host is not correct? e.g., MEM, CPU

@YongHaoWu did you enable sandbox_cgroup_only?
https://github.com/kata-containers/documentation/blob/master/design/host-cgroups.md

In the context of Kubernetes, the pod cgroup is created by Kubelet, which will also restrict them the containers (in kata case, the vmm, vcpu threads, io threads). We then create further cgroups within the VM to manage each container.

And, is your own goal docker CLI or something like Kubernetes?

@egernst  Hi, the docker CLI is only original docker CLI.
@devimc Hi, I didn't enable sandbox_cgroup_only.
When I just use docker runc before, my program can  get the container cpu usage, mem usage through cgroup system.
You can check the code here: https://github.com/projecteru2/agent/blob/master/engine/stat.go#L57
Thanks!

@YongHaoWu please enable sandbox_cgroup_only and try again

@devimc  Hi, I had enable sandbox_cgroup_only  and tried, still the same:

config is :

root@localhost:~# kata-runtime kata-env
[Meta]
  Version = "1.0.23"

[Runtime]
  Debug = false
  Trace = false
  DisableGuestSeccomp = true
  DisableNewNetNs = false
  SandboxCgroupOnly = true
  Path = "/usr/bin/kata-runtime"
  [Runtime.Version]
    Semver = "1.10.0-alpha1"
    Commit = ""
    OCI = "1.0.1-dev"
  [Runtime.Config]
    Path = "/usr/share/defaults/kata-containers/configuration.toml"

[Hypervisor]
  MachineType = "pc"
  Version = "QEMU emulator version 4.1.0\nCopyright (c) 2003-2019 Fabrice Bellard and the QEMU Project developers"
  Path = "/usr/bin/qemu-vanilla-system-x86_64"
  BlockDeviceDriver = "virtio-scsi"
  EntropySource = "/dev/urandom"
  Msize9p = 8192
  MemorySlots = 10
  Debug = false
  UseVSock = false
  SharedFS = "virtio-9p"

[Image]
  Path = "/usr/share/kata-containers/kata-containers-image_clearlinux_1.10.0-alpha1_agent_c87f497312.img"

[Kernel]
  Path = "/usr/share/kata-containers/vmlinuz-<IP_ADDRESS>-44.container"
  Parameters = "systemd.unit=kata-containers.target systemd.mask=systemd-networkd.service systemd.mask=systemd-networkd.socket"

[Initrd]
  Path = ""

[Proxy]
  Type = "kataProxy"
  Version = "kata-proxy version 1.10.0-alpha1-3b405f7"
  Path = "/usr/libexec/kata-containers/kata-proxy"
  Debug = false

[Shim]
  Type = "kataShim"
  Version = "kata-shim version 1.10.0-alpha1-54f93db"
  Path = "/usr/libexec/kata-containers/kata-shim"
  Debug = false

[Agent]
  Type = "kata"
  Debug = false
  Trace = false
  TraceMode = ""
  TraceType = ""

[Host]
  Kernel = "4.15.0-42-shopee-generic"
  Architecture = "amd64"
  VMContainerCapable = true
  SupportVSocks = true
  [Host.Distro]
    Name = "Ubuntu"
    Version = "16.04"
  [Host.CPU]
    Vendor = "GenuineIntel"
    Model = "Intel(R) Xeon(R) Silver 4116 CPU @ 2.10GHz"

[Netmon]
  Version = "kata-netmon version 1.10.0-alpha1"
  Path = "/usr/libexec/kata-containers/kata-netmon"
  Debug = false
  Enable = false

I see the same behaviour with runC
$ docker run -dti -m 1G --rm --runtime=runc centos bash
79ae73d2ef64ddc24902f67aef6280c8d40fe3bb454f8ade5933ce3b7954802c
$ cat /sys/fs/cgroup/memory/docker/79ae73d2ef64ddc24902f67aef6280c8d40fe3bb454f8ade5933ce3b7954802c/memory.soft_limit_in_bytes
9223372036854771712
$ cat /sys/fs/cgroup/memory/docker/79ae73d2ef64ddc24902f67aef6280c8d40fe3bb454f8ade5933ce3b7954802c/memory.limit_in_bytes
1073741824

maybe you confused soft_limit_in_bytes with limit_in_bytes .. ?

Hi, @devimc . It is not the same with runC.
root@localhost:~# docker run   --rm -it --memory 1g --cpus 3  ubuntu
WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap.
root@c941d40dc058:/#

root@localhost:~# cat /sys/fs/cgroup/memory/docker/kata_c941d40dc0584d514ff34843c10273cc89a1be5d2403bfac87f842c944bb927a/memory.soft_limit_in_bytes
9223372036854771712
root@localhost:~# cat /sys/fs/cgroup/memory/docker/kata_c941d40dc0584d514ff34843c10273cc89a1be5d2403bfac87f842c944bb927a/memory.limit_in_bytes
9223372036854771712

Note that this is set to sandbox_cgroup_only=true.

alright, I see what's the issue, you're using 1.10.0-alpha1 and the fix for this is in 1.11.0-alpha0

@devimc Great, everything works find on 1.11.0-alpha0 at my first glance.
Could u plz show me the PR of this change? I would love to study kata's code.

@YongHaoWu https://github.com/kata-containers/runtime/pull/2441
please close this issue when you think it's no longer needed

@devimc Sure, thanks.


Where is XU4_HMP_Fix defined

What is the point of this cron job running every minute? I don't see XU4_HMP_Fix define location.
https://github.com/ayufan-pine64/linux-build/blob/12b4cc06855b933c4ab0f860352f3171b7a8b6d7/package/root/usr/local/sbin/install_openmediavault.sh#L169

ionice could be simplified to:
ionice -c1 -p $(pgrep 'ftpd|nfsiod|smbd|afpd|cnid')

Also wonder if using realtime priority is safe actually? Maybe related to https://github.com/ayufan-rock64/linux-build/issues/112


https://github.com/grafbase/grafbase/pull/1992

:sparkles: Description by Cal
PR Description
This PR introduces a new operation cache system, replacing the previous hot cache implementation with a more modular operation cache factory and cache structure. It updates various components to utilize the new operation cache system, ensuring better performance and maintainability.
Key Issues
None
Files Changed

File: /.callstack.yml
				Added configuration for PR review features including bug hunting and performance suggestions.

File: /.github/workflows/callstack-reviewer.yml
				Created a GitHub Actions workflow for automated PR reviews.

File: /cli/crates/federated-dev/src/dev/gateway_nanny.rs
				Updated cache factory type to use the new operation cache factory.

File: /engine/crates/engine-v2/src/engine.rs
				Replaced hot cache factory with operation cache factory in engine implementation.

File: /engine/crates/engine-v2/src/engine/cache.rs
				Introduced new in-memory operation cache and factory implementations.

File: /engine/crates/engine-v2/src/engine/runtime.rs
				Updated runtime trait to use operation cache factory.

File: /engine/crates/engine-v2/src/engine/trusted_documents.rs
				Refactored trusted document handling to accommodate new cache structure.

File: /engine/crates/integration-tests/src/federation/builder/bench.rs
				Updated tests to use the new operation cache factory.

File: /engine/crates/integration-tests/src/federation/builder/test_runtime.rs
				Modified test runtime to utilize the new operation cache factory.

File: /engine/crates/runtime-local/src/operation_cache.rs
				Implemented in-memory operation cache and factory.

File: /engine/crates/runtime/src/lib.rs
				Updated module exports to include operation cache.

File: /engine/crates/runtime/src/operation_cache.rs
				Defined operation cache traits and implementations.

File: /gateway/crates/federated-server/src/server/gateway.rs
				Updated gateway runtime to use operation cache factory.

# Description
Please include a summary of the change and which issue is fixed.
Please also include relevant motivation and context.
Type of change

[ ] 💔 Breaking
[ ] 🚀 Feature
[ ] 🐛 Fix
[ ] 🛠 Tooling
[ ] 🔨 Refactoring
[ ] 🧪 Test
[ ] 📦 Dependency
[ ] 📖 Requires documentation update

@callstackai review


Resource Exhausted when reproducing CoNLL2003

Thank for this wonderful work. When I try to reproduce the result on CONLL2003 dataset on Tensorflow GPU instance I got this error on Char embedding + CRF layer
ResourceExhaustedError (see above for traceback): OOM when allocating tensor with shape[]
[[Node: train_step/beta1_power/Assign = Assign[T=DT_FLOAT, _class=["loc:@chars/_char_embeddings"], use_locking=true, validate_shape=true, _device="/job:localhost/replica:0/task:0/gpu:0"](train_step/beta1_power, train_step/beta1_power/initial_value)]]
I've set batch size = 8, Tensorflow version '1.2.1'. What's wrong with that?

My GPU is Tesla K80.

My bad at preprocessing code. I gonna close it.

I have met the same problem, can you share your solution? THX

@letiantony I don't know the GPU that you are using. For instance change the batch size to something < 8. Try 4 or 2

i met same problem,my gpu is gtx1070,batch_size is 4


Updated README

updated the readme reflect the current state of the data structures

@felipernb please have look when you get a chance


Upgrading existing jumpbox to latest stemcell ssh breaks

When upgrading to a newer bosh stemcell with the bosh_sshers group being required for SSH access, updating jumpbox to the latest version only helps new users, rather than also upgrading old users.
This means existing users can't ssh anymore :\

Looks like watcher is replacing /etc/passwd + /etc/shadow + /etc/group with older files periodically, which deletes accts created by bosh ssh while they're logged in, and reverts any local changes to the users.
Is this something we need? Seems like the watcher script is good enough to re-provision an account if it gets deleted, so when we have new VMs, the accts get set up again, but don't have new home directorys or initialization scripts run a second time

We should probably also add a check to ensure that each user is in the bosh_ssher's group if the user did not need to be created.

https://github.com/cloudfoundry-community/jumpbox-boshrelease/commit/00c52ac071d6a023f1dca451bad0e5ef8eb43d4f#diff-829738c46d60e973314befcaef107769R11 explains why watcher backs up + restores the passwd/shadow/group files.  We probably want to maintain that feature, but in a different way?


[FEATURE] Add the option to restore original values for saving a modified configuration.

I need to save a modified configuration back to the configuration file. Saving values instead of variables defeats the purpose of putting variables there in the first place. :/
I'd like to have a way to restore the original values before writing changes back to the configuration file.
I considered 'pre-loading' the file and looking for the various formats this can appear in, but that got hairy quickly. I then re-did your library in a relatively simplistic way in hopes of just grabbing the key and saving it and its value in another dict, but I can't figure out how to grab the key for the current value.
A stripped down example looks like this.
original_values = {}

def regex_resolver():
  # regex built here, pretty much untouched from your code

def substitute_variable_values(value: str):
  # again, match and replace ripped from your code

def load_yaml(filename):
  def resolve_env_vars(loader, node):
    value = loader.construct_scalar(node)
    return substitute_variable_values(value)

  def store_values(loader, node):
    # this is where things bogged down
    # I've gotten to this point, but I have no clue how to proceed
    value = loader.construct_mappings(node)
    # somehow, grab the key, but by this point, it's buried in the
    # object and I can see it, but I can't see how to pull it out via
    # code
    original_values[key] = value

    loader = yaml.SafeLoader
    loader.add_implicit_resolver(tag, regex_resolver(), None)
    loader.add_constructor(tag, resolve_env_vars)
    loader.add_constructor(tag, store_values)

    with open(yamlfile, 'r', encoding='utf-8') as raw:
      cfg = yaml.load(raw, Loader=loader)

    return cfg

# Writing the config would be easy.
def write_config(filename, data):
  if original_values.keys():
    data | original_values

  with open(filename, 'w', encoding='utf-8') as raw:
    yaml.dump(data, fh)

Though, it would be nice to include that in the library so the dev wouldn't have to remember to do that final step.

It will need some consideration to do this correctly 🤔 let me think a bit.


For some scales, some notes appear in between lattice grid points

Examples: LLsLsMLsLsM, LssLssLssMssLssLssMss.

Right now, I'm fixing this issue by using a separate GS for the lattice that provides some determinant = 1 basis if there is such a GS. The profile still displays the lowest complexity GS even if it doesn't provide a unimodular basis.

Example: LLsLmsLLsm


Django-Haystack update

update the Django-Haystack now working on Django-Haystack 3.2 all i version previous changes = symbol was missing

Thank you very much!

Can you pls update new version of it in pypi
On Wed, 24 Aug, 2022, 11:31 pm Rolf Håvard Blindheim, <
@.***> wrote:

Merged #177 https://github.com/rhblind/drf-haystack/pull/177 into
master.
—
Reply to this email directly, view it on GitHub
https://github.com/rhblind/drf-haystack/pull/177#event-7253166727, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ATZHLU7BMIYH33G5JBSIRWLV2ZPOJANCNFSM57DPIMJA
.
You are receiving this because you authored the thread.Message ID:
@.***>


502 Bad Gateway

https://wzrd.in/ has been down for most of the day, it seems.
See also #156

I will not be able to look at this until I'm home. This will be in roughly 5 hours. It's most likely an issue of disk space--I was able to help this a little by removing logs yesterday, but I think the cache might be too big now. @maxogden pinging you for visibility--if you can look at this before I get home great, otherwise there's a good chance I'm gonna just nuke the cache and restart and, well, the service will just fall over for a while and that's how it is.

+1

Implemented the cache nuke. Site is up, cache is frigid. Good luck!

Also decreased the cache TTL to hopefully avoid this in the future.


Add a variable to set single pattern without config file

As for "Best results may be obtained by having a single pattern in the file." it might be a good idea to have appropriate variable. Something like
user_pattern or tessedit_pattern
Environment

Tesseract Version:  4.1.1
Platform: Windows 64-bit

Current Behavior:
add pattern to pattern file, add pattern file to config file
Expected Behavior:
use setVariable

Update: The bash example also works as long as Tesseract does not use both the legacy and the LSTM recognizer. When only a single recognizer is used, the file with the user patterns is only read once, so the pipe works, too.

it must be a workaroud but it seems not in my case(
I use .net wrapper

Any news?


Hosting on GitHub

Hi. I see that current site is hosting in an external site (ewurch.com). A good option, open and free is github.io. I create a repository.
See:

https://pages.github.com
https://docs.github.com/en/github/working-with-github-pages/about-custom-domains-and-github-pages
https://jekyllrb.com (static site generators)

I thought of GitHub pages and which one we should choose, a static or dynamic site.  A dynamic site is more casual and easier to collaborate on.

Hi Francisco,
I don't know much of GitHub pages, it probably would work for us as a wiki website, but don't about it's blog capabilities. Anyway we could evaluate using it if the current format doesn't work for us.


SNMP Quickstart docker run command out of date

Doesn't account for mibs.db/profiles

SNMP Quickstart has a docker run command, specifically around volume mounting, which only mounts the snmp.yaml file instead of the whole config directory - snmp profiles and mib.db files. This needs updating to something like
docker run  -it --name snmp-json --net=host -v `pwd`/config:/config kentik/ktranslate:v2 -snmp /config/snmp-win.yaml -log_level=info -tee_logs=true

Don't think this is what we want to do. The config dir is added to the docker image itself. No reason to also make the user pass it back in. See https://github.com/kentik/ktranslate/blob/main/Dockerfile#L15 for how this is done.


Remove version: Bin-Huang.Chatbox version 0.6.7

[Automated] It returns code over 400 in all urls
Microsoft Reviewers: Open in CodeFlow

URL: https://github.com/Bin-Huang/chatbox/releases/download/v0.6.7/Chatbox-0.6.7-Setup.exe
Response Error: The remote server returned an error: (404) Not Found.
(Automated message - build 673)


Lua Error Checking Flagging Vessel Thruster and Animations in Modules as Undefined/Nil

Vessel thruster and animations defined in a main vessel Lua script are flagged as undefined/nil in Lua modules incorporated into the main vessel script with 'require "modulename" '.
https://www.orbiter-forum.com/threads/the-future-of-lua-with-orbiter-is-it-at-a-dead-end.41527/page-5#post-617391
This vessel script and associated modules worked prior to the 21032024 release, but now the script cannot fully load due to this issue.
Vessel add-on is attached.
Mirage2000Script.zip
EDIT: Verbose Orbiter.log attached.
Orbiter.log

It appears that there was an undefined animation in my code before the first line where the error was referenced. All vessel capabilities defined after that error were ignored which caused havoc with the engine definitions that coincidentally in separate modules. The module referencing itself looks fine now.


Experiment with PRAGMA mmap_size=N

https://sqlite.org/mmap.html - SQLite supports memory-mapped I/O but it's disabled by default. The PRAGMA mmap_size=N option can be used to enable it.
It would be very interesting to understand the impact this could have on Datasette performance for various different shapes of data.

Comment thread here: https://news.ycombinator.com/item?id=25881911 - cperciva says:

There's an even better reason for databases to not write to memory mapped pages: Pages get synched out to disk at the kernel's leisure. This can be ok for a cache but it's definitely not what you want for a database!

But... Datasette is often used in read-only mode, so that disadvantage often doesn't apply.

Comment thread here: https://news.ycombinator.com/item?id=25881911 - cperciva says:

There's an even better reason for databases to not write to memory mapped pages: Pages get synched out to disk at the kernel's leisure. This can be ok for a cache but it's definitely not what you want for a database!

But... Datasette is often used in read-only mode, so that disadvantage often doesn't apply.

I asked about optimizing performance on the SQLite forum and this came up as a suggestion: https://sqlite.org/forum/forumpost/9a6b9ae8e2048c8b?t=c
I can start by trying this:
PRAGMA mmap_size=268435456;


Fix Tackle testapp analysis results

Current analysis report sets all Incidents lines to 0 and doesn't add Tags to the application.
Opening this PR to track progress on fixing it.
Expected analysis parameters and result preview: https://github.com/konveyor/go-konveyor-tests/blob/ac53206e49b97aaef0f866a0814c8c8530f4c8d2/analysis/tc_tackle_testapp_public.go
Related to https://github.com/konveyor/go-konveyor-tests/issues/22 and https://github.com/konveyor/go-konveyor-tests/issues/31

Merging to get expected test results into CI.


Telemetry: add folder .scully for support telemetry

🧩 Feature request
Description
 A clear and concise description of the problem or missing capability...
Describe the solution you'd like
 If you have a solution in mind, please describe it.
Describe alternatives you've considered
 Have you considered any alternative solutions or workarounds?

[ ] create .scully folder
[ ] add function for read the folder
[ ] add telemetry question
[ ] store telemetry in .scully/telemetry
[ ] read .scully/telemetry and run only for second time if don't have a (yes/no)
[ ] add .scully to .gitignore


Bug: No matching toolchains found for types @com_github_datadog_rules_oci//oci:toolchain.

For a simple repro, see https://github.com/aryeh-looker/rules-oci-repro.
Observed:
 % bazel --version
bazel 6.1.2
aryehh@aryehh ~/Development/hi
 % bazel build //...
ERROR: /usr/local/google/home/aryehh/Development/hi/BUILD:4:16: While resolving toolchains for target //:remote-worker-layer: No matching toolchains found for types @com_github_datadog_rules_oci//oci:toolchain.
To debug, rerun with --toolchain_resolution_debug='@com_github_datadog_rules_oci//oci:toolchain'
If platforms or toolchains are a new concept for you, we'd encourage reading https://bazel.build/concepts/platforms-intro.
ERROR: Analysis of target '//:remote-worker-layer' failed; build aborted:
INFO: Elapsed time: 0.153s
INFO: 0 processes.
FAILED: Build did NOT complete successfully (0 packages loaded, 0 targets configured)

Expected:
Stuff "just works"

For a simple repro, see https://github.com/aryeh-looker/rules-oci-repro.

it's a 404 for me.

To debug, rerun with --toolchain_resolution_debug='@com_github_datadog_rules_oci//oci:toolchain'

looks like you are mixing two rules together which isn't interoperable.

See https://github.com/DataDog/rules_oci/issues/43

Yikes -- thanks. Mix-up. Closing.


ldid in PATH not found in IOS anymore

Was being recognized in previous main.py version? I had to copy ldid to permasigner dir to make it work again. Just fyi. Thanks.
Term Output:
————————
iPhone:~ mobile% ldid
Link Identity Editor 2.1.5-procursus3
Usage: ldid [-Acputype:subtype] [-a] [-C[adhoc | enforcement | expires | hard |
host | kill | library-validation | restrict | runtime]] [-D] [-d]
[-Enum:file] [-e] [-H[sha1 | sha256]] [-h] [-Iname]
[-Kkey.p12 [-Upassword]] [-M] [-P] [-Qrequirements.xml] [-q]
[-r | -Sfile.xml | -s] [-u] [-arch arch_type] file ...
Options:
-S[file.xml]  Pseudo-sign using the entitlements in file.xml
-Kkey.p12     Sign using private key in key.p12
-Upassword    Use password to unlock key.p12
-M            Merge entitlements with any existing
-h            Print CDHash of file
More information: 'man ldid'
iPhone:~ mobile% cd permasigner
iPhone:~/permasigner mobile% python3 main.py
IPA Permasigner | Version main-2f07502
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze
[*] ldid not found, downloading.
[?] Would you like to use an IPA stored on the web, or on your system? [external, local]

Oh man, here we go again. Ill see what I can do

Alrighty, can you run git pull and then run python3 main.py --debug

iPhone:~ mobile% cd permasigner
iPhone:~/permasigner mobile% python3 main.py --debug
IPA Permasigner | Version main-9e60e99
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze
[DEBUG] Checking if command ldid is in PATH...
[*] ldid not found, downloading.
[DEBUG] Checking if command dpkg-deb is in PATH...
[?] Would you like to use an IPA stored on the web, or on your system? [external, local]

Try it again

Nice job! :)
———————
iPhone:~ mobile% cd permasigner
iPhone:~/permasigner mobile% git pull
remote: Enumerating objects: 5, done.
remote: Counting objects: 100% (5/5), done.
remote: Compressing objects: 100% (1/1), done.
remote: Total 3 (delta 2), reused 3 (delta 2), pack-reused 0
Unpacking objects: 100% (3/3), 510 bytes | 46.00 KiB/s, done.
From https://github.com/itsnebulalol/permasigner
9e60e99..77ff19f  main       -> origin/main
Updating 9e60e99..77ff19f
Fast-forward
main.py | 13 +++++++++++++
1 file changed, 13 insertions(+)
iPhone:~/permasigner mobile% python3 main.py --debug
IPA Permasigner | Version main-77ff19f
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze
[DEBUG] Checking if command ldid is in PATH...
[DEBUG] ldid is installed via dpkg
[DEBUG] Checking if command dpkg-deb is in PATH...
[?] Would you like to use an IPA stored on the web, or on your system? [external, local]

Can you try something for me, remove ldid, run the script and see what it says? You can install it back after

I’d be happy to. One sec

Thanks!

iPhone:~ mobile% ldid
zsh: command not found: ldid
iPhone:~ mobile%
iPhone:~ mobile% cd permasigner
iPhone:~/permasigner mobile% python3 main.py --debug
IPA Permasigner | Version main-77ff19f
Program created by Nebula | Original scripts created by zhuowei | CoreTrust bypass by Linus Henze
[DEBUG] Checking if command ldid is in PATH...
[-] ldid is required on iOS, but it is not installed. Please install it from Procursus.
iPhone:~/permasigner mobile%
——————————————
Was gunna say, don’t think you can prompt to curl ios version?

Don't know if I could auto download it, its simple for the user to do it.
Thanks for helping test! You can install ldid back now :)


BUG: Memory leak when the module created by MOD_DEF is not decreased on failure (static analyzer report)

Macro MOD_DEF will create a module PyObject with a new reference returned and assigned to the first argument.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/_pymodule.h#L16
The following places invoke the macro but do not decrease the refcnt of the module PyObject on failure.

Invoked here:
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/_dispatcher.cpp#L1211
Function returns without decreasing the refcnt.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/_dispatcher.cpp#L1217
Internal Report ID: 0dc3d1

Invoked here:
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/_dynfuncmod.c#L66
Function returns without decreasing the refcnt.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/_dynfuncmod.c#L71
Internal Report ID: 235f50

Invoked here:
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/_helpermod.c#L288
Function returns in macro import_array without decreasing the refcnt.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/_helpermod.c#L292
Internal Report ID: f3d5d2

Invoked here:
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/core/runtime/_nrt_pythonmod.c#L193
Function returns in macro import_array without decreasing the refcnt.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/core/runtime/_nrt_pythonmod.c#L196
Internal Report ID: 724a48

Invoked here:
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/experimental/jitclass/_box.c#L156
Function returns without decreasing the refcnt.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/experimental/jitclass/_box.c#L162
Internal Report ID: 31f898

Invoked here:
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/mviewbuf.c#L356
Function returns without decreasing the refcnt.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/mviewbuf.c#L362
Internal Report ID: f68b83

Invoked here:
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/np/ufunc/_internal.c#L762
Function returns without decreasing the refcnt.
https://github.com/numba/numba/blob/468647dddde27ee8af124c97dfcd20c35c4a2bc6/numba/np/ufunc/_internal.c#L769
Internal Report ID: ed7b7c

For the return NULL in import_array, we are discussing a solution in SciPy by moving the invocation of import_array to the very beginning of the function.
You can have a try on this solution to see whether it works for this project.


Added Italian Java Book

What does this PR do?
Add Resource
For resources
Description
Java Mattone dopo Mattone
Written by Alessandro Ligi and Massimiliano Tarquini.
Why is this valuable (or not)
This resource did not exist before.
How do we know it's really free?
The book is a draft version from 2001 and released in 2002.
For book lists, is it a book?
N.A.
Checklist:

[x] Not a duplicate
[x] Included author(s) if appropriate
[x] Lists are in alphabetical order
[x] Needed indications added (PDF, access notes, under construction)

Thanks, and welcome to free-programming-books

Thank you is a pleasure.


prometheus: metrics: add VMI info to labels

What this PR does / why we need it:
Augment the prometheus labels with VMI-related info allowing the consumers of the Prometheus API to connect metrics to VMIs.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes # https://github.com/kubevirt/kubevirt/issues/2108
Special notes for your reviewer:
See discussion on the issue for design tenets of this PR
Release note:

Prometheus metrics now expose node, name and namespace (maybe uid) of the Virtual Machine Instance they refer to.

/hold

/test pull-kubevirt-e2e-k8s-multus-1.13.3

/retest

/hold remove

/hold cancel

/retest

/test pull-kubevirt-e2e-k8s-multus-1.13.3

/test pull-kubevirt-e2e-k8s-1.11.0

/retest

/retest

/test pull-kubevirt-e2e-windows2016

@fromanirh could you update the user-guide?

@fromanirh could you update the user-guide?

Sure thing: https://github.com/kubevirt/user-guide/pull/258


limit filelock use

remove the behaviour, introduced in #2192, where installations without write permissions to the iris source directories are unable to run tests, due to
IOError: [Errno 13] Permission denied: 'imagerepo.lock'

@bjlittle does this maintain your desired behaviour for developers whilst removing the installation and testing  block?

Thanks @marqh :)

@marqh @lbdreyer @dkillick You've introduced a bug here ...
The lock file imagerepo.lock is a separate file from the file imagerepo.json that the lock protects access to in the lock critical region.
The code change that @lbdreyer merged uses the imagerepo.json file as the actual lock file in error. That's bad.
Line 737 should be replaced with the following:
lock = filelock.FileLock(os.path.join(_RESULT_PATH, 'imagerepo.lock'))

And line 811 now requires to be deleted ... infact the check_graphic function no longer needs to be a wrapper function to _assert_graphic. It should be the case now that _assert_graphic is check_graphic.
Someone needs to fix this.

Interesting that the test still pass :confused:
Thanks for catching this @bjlittle!
I have now put up PR #2225 that should hopefully fix it.

@lbdreyer There are no tests to test the testing framework.

There are no tests to test the testing framework

This has always struck me as an abrupt irony.


[FLINK-9978][release] Include relative path in source release sha file

What is the purpose of the change
This PR fixes an issue with the sha generation for source release artifacts. The sha512 file contained the absolute file path to the file.

+1


fix overlapping class instances

Not previously rejected by the compiler but preventing compilation in 0.13.x

thanks!

https://github.com/zudov/purescript-websocket-simple/releases/tag/v3.0.1


docs: improve docs by fixing typos, structure and references

Oh, where is my attention to things... I completely missed #48 which is related to this. They are conflicting changes. Once #48 is merged I'll rebase my changes on top of it.


Completed walkthrough page

#422
Maybe we can move the replit task in this issue to a separate issue.

We can punt the replit work for now.

So, I see the following issues with the walkthrough before we can consider it to be complete:

The created Template has different fields based on the language. All languages should be building the exact same Template.
After creation of the Ecosystem, we should explain how to use said Ecosystem.

For example, by setting ServiceOptions.DefaultEcosystem

Creation of the Ecosystem should be the first step in the tutorial; before the creation of the accounts. The Accounts, and the Template, need to be created within the Ecosystem.
Either prepare the Replits and link them, or remove the text about the Replits until they exist.

I'm comfortable taking on the above issues.
I'd prefer to issue a PR into this branch, and then merge this PR into main, rather than merging this PR immediately.
I'll do that tomorrow (the 17th).

Upon further review, the issues with the walkthrough are more extensive than I initially thought; I've created a separate tracking issue here: https://github.com/trinsic-id/sdk/issues/659
I'll be merging this PR to clear it from the queue, and will create a new PR against the above issue later.


Missing labels file in downloaded semantic segmentation networks

Since segmentation networks and datasets are stored in the generic form, the downloaded models don't include a labels file. DIGITS does use the labels file provided at dataset creation for the visualizations, so it definitely keeps track of the labels. It would be extremely helpful to have that included in the downloaded archive since the semantic segmentation use case requires some way to convert numeric labels to text ones.

Thanks. Tracking this as an enhancement.


Make $CVN Verified

Description

Checklist

Upgrading Asset to Verified

If upgrading an Asset to Verified, please see the requirements specified at LISTING, and ensure the following:

[x] Asset is defined thoroughly at the Cosmos Chain Registry.

[x] A meaningful description and extended_description.
[x] Associated socials, including website and twitter.
[x] Logo Image has a square Aspect Ratio and < 250 KB file size.

[x] This pool contains contains at least $1k USD-worth of liquidity of the asset (Provide Pool ID): 1741

'Verified' Status Validation Checklist (to be completed by Osmosis Zone maintainers):

[ ] Verify appearance and metadata
[ ] Accurate Price
[ ] Trading and routing functionality
[ ] Withdraw and Deposit

[ ] Deposit Transaction URL (if in-app)

Can you please add an extended_description to the registration?
https://github.com/cosmos/chain-registry/blob/master/conscious/assetlist.json#L6

Deposits do not work. CoinType 60 assets do not work with Osmosis Zone's IBC transfer mechanism, so we need an alternative interface to be able to Deposit.

Can you please add an extended_description to the registration? https://github.com/cosmos/chain-registry/blob/master/conscious/assetlist.json#L6

ok

https://github.com/cosmos/chain-registry/pull/4608

Deposits do not work. CoinType 60 assets do not work with Osmosis Zone's IBC transfer mechanism, so we need an alternative interface to be able to Deposit.

Yes, it will prompt failure when sending the transaction. Is there anything I need to do?

Currently, deposits can be completed through the advanced IBC transfer function of the keplr wallet

Yes, it will prompt failure when sending the transaction. Is there anything I need to do?

Yes, we need an interface (that's not a wallet extension) where users can complete Deposits

Yes, it will prompt failure when sending the transaction. Is there anything I need to do?

Yes, we need an interface (that's not a wallet extension) where users can complete Deposits

Ok

@JeremyParish69 Hi
We provide a deposit function on this page, which is somewhat hidden
https://dao.cvn.io/conscious?openModal=true

@JeremyParish69 please try again

@JeremyParish69 please try again

I now see that the failed transfer attempt finally refunded the amount, but the UX is just as bad as it was. What's different about it?

I believe hybrid evm chains now work with Osmosis Zone IBC transfer, but now it seems that the IBC client has expired. Will this be revived?

IBC client expired. PR Stale


Documentation needs to be updated to reflect VS 15.8+

This documentation is out of date. VS 15.8+ no longer create a docker-compose project, just a Dockerfile. Also, the VS 2015 tools for Docker are no longer supported.

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

ID: bcf20f50-2d15-1744-386d-1d05ff9931fb
Version Independent ID: b07f881a-4b4e-9db5-9eb6-c83cf0fba6b2
Content: Using Visual Studio Tools for Docker (Visual Studio on Windows)
Content Source: docs/standard/containerized-lifecycle-architecture/design-develop-containerized-apps/visual-studio-tools-for-docker.md
Product: dotnet
GitHub Login: @CESARDELATORRE
Microsoft Alias: wiwagn

Thanks @lisaguthrie. I just pinged you on a PR with the updates to this topic. Please take a look.

@mvelosop please look at the set of changes that @gewarren is applying to the topics at PR #7214  and apply them to the e-book source.

Thanks @mairaw, that should go into the next chapter, I created issue #7888 so It gets into my review process!


Improves validation feedback for hosted fields

Actually, when an hosted field input is invalid it shows a generic "Invalid form" alert. It would be great to have a better feedback so that for the user is clear what's wrong in the form.
I can start a PR if this is something that you would consider

Luca, thank you, such a change would be great 🎉

Luca, thank you, such a change would be great 🎉


Fix infinite loop in Molasses Reef Caravel

This seems to happen a decent amount in the integration tests: https://github.com/micahstairs/bga-innovation/actions/runs/6458401422/job/17532033715. Note: this failure was 4th edition (not sure whether it's also happening in 3rd edition or not).

The first step would be to split the file into separate 3E and 4E implementations


No module named 'nvidia.dali.pipeline'

File "train.py", line 8, in
from utils.common import calc_loss, get_model, get_train_loader, inference, merge_config, save_model, cp_projects
File "/home/zp/work/Ultra-Fast-Lane-Detection-V2/utils/common.py", line 2, in
from data.dali_data import TrainCollect
File "/home/zp/work/Ultra-Fast-Lane-Detection-V2/data/dali_data.py", line 4, in
from nvidia.dali.pipeline import Pipeline
ModuleNotFoundError: No module named 'nvidia.dali.pipeline'
ninja                     1.10.2               h06a4308_5
ninja-base                1.10.2               hd09550d_5
numpy                     1.21.6                   pypi_0    pypi
numpy-base                1.21.5           py37ha15fc14_3
nvidia-dali-cuda110       1.21.0                   pypi_0    pypi
oauthlib                  3.2.2                    pypi_0    pypi
onnx                      1.12.0                   pypi_0    pypi
onnxoptimizer             0.3.1                    pypi_0    pypi
onnxruntime-gpu           1.12.1                   pypi_0    pypi
opencv-contrib-python     <IP_ADDRESS>                 pypi_0    pypi
opencv-python             <IP_ADDRESS>                 pypi_0    pypi
opencv-python-headless    <IP_ADDRESS>                 pypi_0    pypi
openssl                   1.1.1s               h7f8727e_0
packaging                 21.3                     pypi_0    pypi
pathspec                  0.10.1                   pypi_0    pypi
pillow                    9.2.0                    pypi_0    pypi
pip                       22.2.2           py37h06a4308_0
protobuf                  3.19.6                   pypi_0    pypi
pyasn1                    0.4.8                    pypi_0    pypi
pyasn1-modules            0.2.8                    pypi_0    pypi
pygments                  2.13.0                   pypi_0    pypi
pyparsing                 3.0.9                    pypi_0    pypi
python                    3.7.13               haa1d7c7_1
python-dateutil           2.8.2                    pypi_0    pypi
pytorch                   1.7.0           py3.7_cuda11.0.221_cudnn8.0.3_0    pytorch
readline                  8.1.2                h7f8727e_1
requests                  2.28.1                   pypi_0    pypi
requests-oauthlib         1.3.1                    pypi_0    pypi
rsa                       4.9                      pypi_0    pypi
scikit-learn              1.0.2                    pypi_0    pypi
scipy                     1.7.3                    pypi_0    pypi
setuptools                63.4.1           py37h06a4308_0
six                       1.16.0             pyhd3eb1b0_1
sklearn                   0.0                      pypi_0    pypi
sqlite                    3.39.3               h5082296_0
sympy                     1.10.1                   pypi_0    pypi
tensorboard               2.10.1                   pypi_0    pypi
tensorboard-data-server   0.6.1                    pypi_0    pypi
tensorboard-plugin-wit    1.8.1                    pypi_0    pypi
threadpoolctl             3.1.0                    pypi_0    pypi
tk                        8.6.12               h1ccaba5_0
torch                     1.12.1+cu113             pypi_0    pypi
torchaudio                0.12.1                   pypi_0    pypi
torchvision               0.13.1+cu113             pypi_0    pypi
tqdm                      4.64.1                   pypi_0    pypi
typing_extensions         4.4.0            py37h06a4308_0
ujson                     5.5.0                    pypi_0    pypi
urllib3                   1.26.12                  pypi_0    pypi
werkzeug                  2.2.2                    pypi_0    pypi
wheel                     0.37.1             pyhd3eb1b0_0
xz                        5.2.6                h5eee18b_0
zipp                      3.9.0                    pypi_0    pypi
zlib                      1.2.12               h5eee18b_3
zstd                      1.5.2                ha4553b6_0

I have the same problem, it seems that DALI is only available for Linux and not for Windows. I haven't managed to solve it yet unfortunately

you should download dali

I think I don't have a dedicated Nvidia GPU, so I can't download it. See if there is any other issue
PS D:\C-drive\LastMile\Sprint_1\lane-detection-enet-pytorch-lanedetection_enet-v2\Ultra-Fast-Lane-Detection-v2>
pip install nvidia-pyindex
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Requirement already satisfied: nvidia-pyindex in c:\users\arisa\appdata\local\packages\pythonsoftwarefoundation.python.3.10_qbz5n2kfra8p0\localcache\local-packages\python310\site-packages (1.0.9)
PS D:\C-drive\LastMile\Sprint_1\lane-detection-enet-pytorch-lanedetection_enet-v2\Ultra-Fast-Lane-Detection-v2>
pip install nvidia-dali
Looking in indexes: https://pypi.org/simple, https://pypi.ngc.nvidia.com
Collecting nvidia-dali
Downloading nvidia-dali-0.0.1.dev5.tar.gz (8.0 kB)
Preparing metadata (setup.py) ... error
error: subprocess-exited-with-error
× python setup.py egg_info did not run successfully.
│ exit code: 1
╰─> [19 lines of output]
Traceback (most recent call last):
File "", line 2, in
File "", line 34, in
File "C:\Users\arisa\AppData\Local\Temp\pip-install-lh13dpx_\nvidia-dali_567e31fbe6ca4b1c982f8417d91378fa\setup.py", line 150, in
raise RuntimeError(open("ERROR.txt", "r").read())
RuntimeError:
###########################################################################################
The package you are trying to install is only a placeholder project on PyPI.org repository.
This package is hosted on NVIDIA Python Package Index.
  This package can be installed as:
  ```
  $ pip install nvidia-pyindex
  $ pip install nvidia-dali
  ```

  Please refer to NVIDIA DALI installation guide for instructions:
  https://docs.nvidia.com/deeplearning/dali/user-guide/docs/installation.html
  ###########################################################################################
  [end of output]

note: This error originates from a subprocess, and is likely not a problem with pip.
error: metadata-generation-failed
× Encountered error while generating package metadata.
╰─> See above for output.
note: This is an issue with the package mentioned above, not pip.
hint: See above for details.

The Dali seems to only have a Linux version available

The Dali library seems to only have a Linux version available


~+@[MATCH~DAY]Where to watch Annandale vs Pequot Lakes live stream, TV channel 09 November 2024

Take a look at the final scores and highlights put together by our Friday Night Football host, John W. Davis. And make sure you check out his video that recaps the top moments from the first round of the CIF-SS and L.A. City playoffs.
Friday’s scores and highlights
CIF SOUTHERN SECTION PLAYOFFS
Allen "Cinco" Kennett V carries the ball for Servite in the first round of the CIF-SS Division 1 playoffs at Sierra Canyon School on Friday, Nov. 8, 2024. (Photo by Mark Savage, Contributing Photographer)
Allen “Cinco” Kennett V carries the ball for Servite in the first round of the CIF-SS Division 1 playoffs at Sierra Canyon School on Friday, Nov. 8, 2024. (Photo by Mark Savage, Contributing Photographer)
Final: Sierra Canyon 38, Servite 14
Sierra Canyon senior running back Dane Dunn had three touchdowns. Sierra Canyon senior quarterback Wyatt Becker (Utah commit) also played well. No. 8 Sierra Canyon will play at No. 1 Mater Dei in the CIF-Southern Section Division 1 quarterfinals on Friday, Nov. 15.
Final: Santa Margarita 59, Inglewood 26
Santa Margarita quarterback John Gazzaniga had a big game against Inglewood. No. 7 Santa Margarita will play at No. 2 St. John Bosco in the Division 1 quarterfinals on Friday, Nov. 15.
DIVISION 2
Final: Murrieta Valley 49, Rancho Cucamonga 42
Murrieta Valley senior running back Dorian Hoze had five rushing touchdowns, including a game-winning score with 10.5 seconds left to go. Murrieta Valley senior quarterback Bear Bachmeier (Stanford commit) also played well. Murrieta Valley is the No. 1 seed in the Division 2 playoffs.
Final: Los Alamitos 36, Leuzinger 22
Los Alamitos junior running back Jerod Terry had two early rushing touchdowns. The Griffins will host No. 1 seed Murrieta Valley in the Division 2 quarterfinals.
Final: Serra 28, Downey 7
Serra’s defense bent but did not break and senior quarterback Jimmy Butler led the Cavs’ offense. Downey junior quarterback Oscar Rios executed a trick play for the Vikings’ only touchdown just before halftime.
Serra running back Devohn Moutra gets stopped on fourth and one at the goal line against Downey in CIFSS Division 2 football playoff game Friday Nov. 8, 2024  (Photo by Robert Casillas, Contributing Photographer)
Serra running back Devohn Moutra gets stopped on fourth and one at the goal line against Downey in CIFSS Division 2 football playoff game Friday Nov. 8, 2024. (Photo by Robert Casillas, Contributing Photographer)
Final: Yorba Linda 42, Chaparral 32
Yorba Linda will host Serra in the Division 2 quarterfinals.
Final: San Clemente 42, Damien 7
San Clemente’s dual quarterback system with Jack Ferguson and Dawson Martinez caused problems for Damien’s defense. San Clemente’s defense was dominant without senior linebacker Matai Tagoa’i (USC commit).
DIVISION 3
Final: Simi Valley 49, Notre Dame 47
Simi Valley senior Brice Hawkins had five touchdowns, including the game-winner in the fourth quarter, as No. 1 seed Simi Valley held off No. 16 seed Notre Dame.
Final: La Habra 27, Mira Costa 24
La Habra survived and advanced to the Division 3 quarterfinals, where it will take on No. 1 seed Simi Valley. The Highlanders scored three of

ghfghy

hgkjkjmghkmj


db.session.remove in test

Flask-SQLAlchemy registered a calback to remove session when request ends:
@app.teardown_appcontext
def shutdown_session(response_or_exc):
    if app.config['SQLALCHEMY_COMMIT_ON_TEARDOWN']:
        if response_or_exc is None:
            self.session.commit()

    self.session.remove()
    return response_or_exc

If we push and pop app context manually in test, the db.session.remove() in above function will be excuted. So, maybe the db.session.remove() in tearDown() can be removed?

Maybe so, but I prefer to not rely on knowing how the internal implementations of things work, because those might change. A good practice with resources such as a database session is making sure the code that obtains the resource also disposes of it. You may get two session remove calls in sequence, true, but I prefer to see matching allocation/deallocation calls in my code.


[proposal] let 'replace' remap keys even with modifers

in my opinion if I write
key "b" => replace "a"
then I expect pressing Shift+b to write symbol A ; Currently it writes a
and I expect Control+b to send Control-a (typically select-all shortcut) ; Currently it writes a
of course If I really want exact text then I can still do key "b" => insert "a"
I really don't see many uses for the current behavior, but I understand it may be better to instead add new method perhaps named remap, so as to not break existing code (also since sub and replace are aliases one of them could be kept as-is?)

I don't actually remember what the intention was, but I think it would be OK to just remove the wrapping withCleanMods like you did.
If you add a file called changelogs/changelog_0.8.0.md, with the same layout as the 0.6.0 one, and a section for "Breaking Changes" then I think this is ready to merge.

Just came across this project spontaneously and I like it! Wish this project a success. As I see right now it only allows basic remapping.
If you would like to further extend it and add new features I would highly recommend to look at https://github.com/UltimateHackingKeyboard/firmware/blob/master/doc-dev/user-guide.md and https://github.com/UltimateHackingKeyboard/firmware/blob/master/doc-dev/reference-manual.md.
A lot (!) of thought was put into this remapping engine. You could even try to take it's major code. I think it should work.

Looks good now!


hides debug/info/warn messages behind a flag

Fixes #632
Problem
When you people reach more and more compiled queries the log gets overhauled whenever doing a sbt clean compile run. This hides the debug/info/warn output behind a flag, so that whenever somebody wants to enable it, they need to run via sbt -Dquill.macro.log=true. (Does not disable, fail and error, maybe I will exclude warn as well?)
More info in Ticket.
P.S.: not sure if this is testable :-(
@getquill/maintainers

@schmitch sorry for the late feedback. The build is failing because there's a source file unformatted:
https://travis-ci.org/getquill/quill/builds/180329536#L9968
Could you please fix it? Thanks!

Done ;)

thanks @schmitch!


quic: mention about monitored stats and best practice

Signed-off-by: Dan Zhang<EMAIL_ADDRESS>Commit Message:  Mention some QUIC stats in h3 document which can be helpful for debugging.
Additional Description: Change log level about packet dropped in kernel from debug to warn and mention about SO_RCVBUF.
Risk Level: low
Testing: log-only change
Docs Changes: docs/root/intro/arch_overview/http/http3.rst
Release Notes: N/A
Platform Specific Features: N/A

/assign @alyssawilk

/retest


Add 13th Floor

aka "The Matrix lite"
http://www.imdb.com/title/tt0139809/

"The Thirteenth Floor" is already in the list.
Thanks!


bugfix(ts): changed file.types type to work with both ts 2.0 and 2.1. (closes #236)

Description
There is an issue with the File.types property between typescript 2.0 and 2.1. https://github.com/Teradata/covalent/issues/236
https://github.com/Microsoft/TypeScript/issues/12069
https://github.com/angular/angular-cli/issues/3157
So for now we are gonna use both types so you can compile it in both cases.
Test Steps

[ ] use ts 2.1.4 and npm i
[ ] ng serve and see it work too
[ ] use ts 2.0.10 and npm i
[ ] ng serve and see it work

Coverage remained the same at 67.654% when pulling 61d80efbdadb44960b6ea21a048cea4061a93d37 on feature/ts-error-type into 0d70235ee8ed43f65485b7661775cecf5a8c3040 on develop.

[x] Added some unit testing for file-select and file-drop directives

Coverage increased (+1.5%) to 69.154% when pulling 09d4988de371c3da38bc94f2b1d6ba1b12e740a6 on feature/ts-error-type into 0d70235ee8ed43f65485b7661775cecf5a8c3040 on develop.

Coverage increased (+1.5%) to 69.154% when pulling e162bcaf97ccd9dcdf7be44b1c3e0828d4e90ed6 on feature/ts-error-type into 0d70235ee8ed43f65485b7661775cecf5a8c3040 on develop.

Coverage increased (+0.3%) to 67.972% when pulling dc521ce2bd3f7cd81c38c707f53cbaf9926b11d9 on feature/ts-error-type into 0d70235ee8ed43f65485b7661775cecf5a8c3040 on develop.

Coverage increased (+0.3%) to 67.972% when pulling e0362b9190211ec1c79bfc72dab82964957e1fda on feature/ts-error-type into 0d70235ee8ed43f65485b7661775cecf5a8c3040 on develop.

Coverage increased (+0.3%) to 67.972% when pulling<PHONE_NUMBER>41c128bf51d390f42d2f9511666e46 on feature/ts-error-type into b297746b0bb65fa7a434c4b31d789d5c8a95347d on develop.


HTML

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

HTML
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I visit the website in my browser
THEN I see four boxes titled HTML, CSS, Git, and JavaScript with associated notes listed

CSS
User Story
As a boot camp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information

CSS
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
So that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I view the study guide
THEN I see dark blue header and footer, and four boxes with a shadow

JavaScript
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I  view the study guide
THEN I see four four topics I learnt along with a suggestion on what I should study first

README
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework project repository,
WHEN I  view README for the repository,
THEN I see a professional README that provides information on the project and how to use it

Deployment
User Story
As a bootcamp student
I want the prework notes to be structured on a webpage
so that I can easily find and read information
Acceptance Criteria
GIVEN a Prework Study Guide Website
WHEN I  visit the website using URL,
THEN I can access my website from any browser


Add alias support to top and bottom

Fixes #4949
I am not sure that I implemented this with the correct behavior. Given this query what column names do you expect to be returned?
select top(value, id, 10) as alias_name from m

I made it return alias_name, id
See test cases for behavior to make sure we agree.

@corylanou thoughts on how aliases should work with top and bottom?

I think the first question is should we support alias for TOP and BOTTOM.  It seems a little odd to me, but I don't imagine this does any harm the way it was implemented.
What happens if you have more than two arguments to the functions?
I guess as long as we want alias to work with these functions then +1.

@beckettsean Adding alias support to TOP and BOTTOM queries is not obvious what they should do so we should probably update docs accordingly.

@corylanou the problem is what if I have SELECT TOP(value), TOP(value2) ... in a query. Right now there's no way to alias them to be unique fields. One top field will always stomp the other.
@nathanielc I can kinda see why this is problematic, but I haven't reviewed TOP(field, tag) for a bit.
What if we treat the AS alias for TOP() and BOTTOM() as a prefix to the result? E.g.
select top(value, id, 10) as alias_name from m outputs
alias_nametop and alias_nameid as columns?

One comment, but otherwise I think this is a positive change. In my opinion, it was an oversight not to include alias support for top/bottom.

Closing this since it's based on an old form of the code. It appears it got fixed accidentally as part of a8d637b.


SCRUM-3605 serialize sgdStrainBackground, add to ForPublic view

I also will create a new release branch with this and a corresponding PR for production. Will still need this change on alpha, though.

Changes put in production get rolled back to alpha there is no need for this PR then.


bug: invalid utils

Error executing lua callback: ...s/.local/share/nvim/lazy/avante.nvim/lua/avante/init.lua:272: attempt to call field 'trim_suffix' (a nil value)

It seems that utils doesn't contain a method trim_suffix

Hello, I forgot to submit this file.🥹 The latest version has been fixed!


UVR GUI icon is barely visible on a dark taskbar

I think you should redesign the icon that is shown on Windows taskbar. When I run UVR on Windows 10 with dark colored taskbar and the application is inactive, one can barely see its icon. See for yourself:

The problem is that the icon is in black color, it's a dark one, so it's evident that it's hardly distinguishable on the dark background. The problem is still reproducible in the latest 5.4.0 version. I hoped that you might have noticed the issue yourself (it's present for quite a while) and even tried to clear the Windows icon cache, but it didn't help.

Well, it seems the 5.5.0 version fixes this. The GUI now uses the same icon as the launcher. But right after the installation of 5.5.0 the icon was kinda blurry. Then I went to the settings I noticed another patch (12_21_22), this one is not yet publicly exposed. After its installation the problem of blurriness was gone.
But I'll leave the liberty of closing the issue to the author, once he believes he's entirely done with this.

This has been addressed. Please download the latest version of UVR.
Link:
https://github.com/Anjok07/ultimatevocalremovergui#installation


packages released after a timestamp still get validated when using the timestamp option in rez-env

We have some production enviroments that  are locked in time using -t TIMESTAMP  in order not to get any new package version released after that date. Those environments are also locked using rez-2.0.X
We have now released some packages using the new features of rez (i.e late binding) available in rez-2.8+
I assumed those new packages will be ignored when using -t because they were released after  TIMESTAMP. But the reality is that those resolves are failing because rez validates those packages even they will never be in the resolve.
We tried bumping the config_version of those packages but rez-2.0.x still sees them and erros out with
  File "/film/tools/packages/rez/2.0.rc1.34.1/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.34.1-py2.7.egg/rez/serialise.py", line 114, in _load_file
    result = load_func(f, filepath=filepath)
  File "/film/tools/packages/rez/2.0.rc1.34.1/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.34.1-py2.7.egg/rez/serialise.py", line 151, in load_py
    raise ResourceError(msg)
rez.exceptions.ResourceError: name 'late' is not defined:

Is there any way around this? I mean having 2 versions of rez used in the floor (1 locked in time i.e rez-2.0), and  packages that use features that are only supported in the other version  (i.e rez-2.8.0)

Hey Fede,
Packages past the timestamp can't be ignored, because they have to be
loaded in order to know their 'timestamp' attribute - it's a
chicken-and-egg situation.
One workaround may be to expose the rez version (and/or the new 'serialize'
version, which supersedes config_version) during package.py evaluation,
that way you could at least use if statements in your package.py to work
around the problem.
Thanks, I can see the need for a workaround here.
A
On Sun, Jul 30, 2017 at 11:11 PM, Federico Naum<EMAIL_ADDRESS>wrote:

We have some production enviroments that are locked in time using -t
TIMESTAMP in order not to get any new package version released after that
date. Those environments are also locked using rez-2.0.X
We have now released some packages using the new features of rez (i.e late
binding) available in rez-2.8+
I assumed those new packages will be ignored when using -t because they
were released after TIMESTAMP. But the reality is that those resolves are
failing because rez validates those packages even they will never be in the
resolve.
We tried bumping the config_version of those packages but rez-2.0.x still
sees them and erros out with
File "/film/tools/packages/rez/2.0.rc1.34.1/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.34.1-py2.7.egg/rez/serialise.py", line 114, in _load_file
result = load_func(f, filepath=filepath)
File "/film/tools/packages/rez/2.0.rc1.34.1/CentOS-6.2_thru_7/python-2.7/lib/python2.7/site-packages/rez-2.0.rc1.34.1-py2.7.egg/rez/serialise.py", line 151, in load_py
raise ResourceError(msg)
rez.exceptions.ResourceError: name 'late' is not defined:
Is there any way around this? I mean having 2 versions of rez used in the
floor (1 locked in time i.e rez-2.0), and packages that use features that
are only supported in the other version (i.e rez-2.8.0)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/nerdvegas/rez/issues/447, or mute the thread
https://github.com/notifications/unsubscribe-auth/ABjqSuWt1DrYsizmEd3m4JSxK8jI3WYFks5sTW_-gaJpZM4On8MT
.

Hi Allan,
Thanks for your quick anser, yes exposing the rez version in the context of the package.py will allow me to put a contiditonal at least.
But I'll check the new serialize feature first, to see if I can solve this issue with that.
Fede


Update http4s-dsl, http4s-ember-client, ... to 0.23.22

About this PR
📦 Updates

org.http4s:http4s-dsl
org.http4s:http4s-ember-client
org.http4s:http4s-ember-server

from 0.23.18 to 0.23.22
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.http4s" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.http4s" }
}]

labels: library-update, early-semver-minor, semver-spec-patch, version-scheme:early-semver, commit-count:1

Superseded by #724.


Add Model garden class to handle Llama2 interactions

Llama2 models hosted on VertexAI return a response object that is parsed incorrectly by the generic VertexAIModelGarden class. Each character of the response is treated as a "prediction", and as such the full response text is not correctly extracted.
The model response also includes the original prompt which needs to be stripped, along with the keywords "Prompt:" and "Output:".
This Llama2 specific model introduces the following behaviors:

Process full text returned by the model

Extract only the newly generated text from the response

Support passing in model parameter values by setting corresponding props on the object, this is a behavior that the core VertexAI objects support, so this adds consistency and good dev. "ergonomics"

@izo0x90 thanks for the contribution!
I believe, this bug was fixed in 0.0.6, can you give it a try, please?

How do you import VertexAIModelGarden?
It looks like if you import it as from langchain_google_vertexai import VertexAIModelGarden then everything works fine.
 It looks like if you import it as from langchain_google_vertexai import VertexAIModelGarden then everything works fine.
It looks like there was a stupid bug, I'm sorry about it: #45
@lkuligin

Thanks, my fault for not noticing that the actual updated code had changed to a different module, you are correct on v 0.1.0 and importing directly from the top package namespace I get the full response. ✅
Is it worth modifying this PR (or making a new one) to still include a specialized Llama2 class that can strip the prompt and "field name" text from the response. And also allow for passing in model params by setting them on the model object, this way behavior is consistent with the core Google model handler classes ? Or is model specific classes not something you want in the library ?

@izo0x90 no worries, and thanks for yue help!
I'm not sure we should be always stripping things since we should behave close to the underlying people (e.g., to make it easier switching from one provider to another).
I definitely don't want to have all 100 models' classes (for every model presented on Model Garden). On the other side, we've introduced a precedent with Gemma :).
Maybe what we could do:

add a separate flag (False by default) whether to postprocess the output
an original response an underlying model name - we could introduce a post-processing function that does something depending on this name (and make it part of VertexAIModelGarden itself)

wdyt?
@markmcd @kurtisvg @sasha-gitg any other thoughts maybe?

@izo0x90 no worries, and thanks for your help! I'm not sure we should be always stripping things since we should behave close to the underlying model (e.g., to make it easier for users to switch from one provider to another).
I definitely don't want to have all 100 models' classes (for every model presented on Model Garden). On the other side, we've introduced a precedent with Gemma :).
Maybe what we could do:

add a separate flag (False by default) whether to postprocess the output
an original response an underlying model name - we could introduce a post-processing function that does something depending on this name (and make it part of VertexAIModelGarden itself)

wdyt?

@lkuligin Ya that totally makes sense, having an explosion of classes for every third party model seems like a potential nightmare from maintenance point of view 🤣 . Gemma is a Google model so that also makes sense.
I like the idea of passing in post processor on instantiation. Maybe there can be a module that houses post processors for different models and you just import it from there and pass it in to the VertexAIModelGarden constructor?
from langchain_google_vertexai.post_processors import llama2bhf_post_process

llm = VertexAIModelGarden(post_processor=llama2bhg_post_process)

Another question I have is, what about the ability to pass model parameters to the request by setting object attributes on a VertexAIModelGarden instance, I find that quite intuitive when using these abstractions and is also consistent with the behavior for the core model classes? Or is this also something that was already added to this new version VertexAIModelGarden, I haven't test that lol ?


added regression tests for #92

I added 3 regression tests for #92. They are using Messageformat strings like
{VAR, select,
     a{correct}
     other {b {VAR, spy}}
     other {incorrect {VAR, spy}}
}

where spy is a runtime function. The MessageFormat string is called with VAR = "a" and the test case fails if the spy function was called. I wrote three variations of this test case. One for each of select, plural and selectordinal.

Thanks! I love test-only PRs!


Add support recaptcha v2

https://developers.google.com/recaptcha/intro

+1

I think it is already supported -- see issue #63, PR #64, and docs at PR #67.

This is indeed the case, it is supported as of v1.0.3, by adding NOCAPTCHA = True to your settings.py


Adding new packages to existing published repo using Rest API

Hi,
What is the best way to add new package to existing published repo using Rest API?
I used the following method in CLI:
Create new local repo
Adding new  packages to new local repo
Creating new snapshot from new local repo

Filter and compare new snapshot with existing snapshot
merge them into new snapshot and publish this new snapshot

Detailed Description

Context

Possible Implementation

Your Environment

It'd be really lovely if you used the mailing list to ask questions. https://www.aptly.info/support/


Add UI

A first version of arise UI - this version doesn't yet implement customization and configuration. It just follows the mlcommons make file process. The output is sown in the prediction window as a DataFrame table and can be sorted. There is also the possibility to train the model.
The next release will include building custom prediction configurations and as needed enhanced.

@eranra can you also add a button for the demo-predict command? note that this one requires also the dataset as input

@rachelt44 I pulled out the code for "select-all" --- this can go into the next version of the PR

@eranra I am approving this PR but it is still work in progress, added another issue that needs to be resolved on top of the other ones you opened, tagged all of them with UI label.


dns.Truncate return size as int

It would be nice if Truncate returned the length of the message. I'm finding myself doing another Len() to see if I can avoid fragmentation when talking over UDP.
This would be a breaking change, but Truncate is relatively new.

This is doable, but slightly more complicated than it seems. truncateLoop doesn’t keep track of the exact length when it hits the limit. We’d have to add a third return value to truncateLoop and return l before adding the record length.

don't care that much. Closing


compact: do not accept chunks in the future by default

Create a new flag for compactor --accept-future-chunks which is false by default. IMO we should never accept chunks which are purely in the future because compaction is supposed to happen after the fact that they were uploaded. This provides a nice sanity check which you can disable in extreme cases (we could possibly even remove the flag).
I think that this is a good check to have because we need to be extra careful with time here. If Thanos is not running, when only a pure Prometheus is used, the possible time problems are not issues because compaction happens on the same node. However, in my case and possibly others, Thanos Compactor runs on a separate instance and they might have a difference in time. This means that users would get confused because the retention policies might not be applied on time like they expect unless they will run thanos bucket ls and check the time ranges.
TODO:

Write tests for this case

Thoughts?

It seems like the use case is only to detect drift in time. And yes, it's essential to not have too much drift between Thanos nodes, plus in almost all cases Thanos runs on separate nodes.
However this check you propose IMO is not the best idea. Reasons:

You only check one side of drift. So our check would only find drift in future not too slow clock.
You only check Compactor, but what about drift on sidecars, Prometheus , store nodes, rulers etc etc? We would miss those ones by default and having synced time everywhere is important. (:

In my opinion there are better tools for those, that will:

do it consistently on each machine
do it precisely

like: NTP or any other native tool you should have by default in your cloud.
So.... I am kind of against that code. I never seen this problem or user having such (1)  + there are many cases this check would miss, so it would give only false impression of safety (2)  + Thanos is not really synchronize clock system (3).
I would be happy however:

to add docs that drift is bad
add docs on some solution that can help NTP

I don't quite agree with that. I agree that ideally all clocks would be synced but that's not the real world and we should check the sanity of the data whenever we can. This is just one case of many checks that could and do already exist.
Also, not everyone runs in the "cloud", and there could be users running this on separate machines where this problem could possibly occur. Especially this is acute because disparate machines might synchronize their time with different NTP servers which might or might not work correctly.
I don't think that time skew matters all that much on other places other than Prometheus/Compactor since the time data is encoded into TSDB blocks, and Compactor uses it for compaction / retention policies. In all other cases, the time ranges come from the user queries and it will look up whatever data is in the TSDB. It's not such a critical issue if we have only data in the future. Perhaps I am missing something...
And the point was never to make Thanos into a time synchronization system. The problem that we are trying to solve here is "detection", not "synchronization".
Either way, it was just an idea that I had but if it doesn't make sense then we can just close it. Does anyone have any other thoughts?


Rename Favorite/Quick Access Shortcuts

What feature or improvement do you think would benefit Files?
I would like the ability to rename Folders and Destinations saved in Favorites/Quick Access without changing the name of the actual destination folder. Windows 7 allowed users to do this in the default Windows 7 File Explorer. With the introduction of Windows 10, Microsoft removed this ability. (It may have been removed in Window 8, but never used Windows 8 so I'm not 100% sure when the feature was removed)
I have several shared network locations that I keep pinned in Favorites that I can not change the name of without renaming the actual folder they are linked to. Back in the Windows 7 days I just renamed my pin in Quick Access to something that made more sense for my productivity. This had the advantage of not affecting the real folder name for other users on the network. It would be great if Files could bring back this older Windows File Explorer feature.
Requirements

Treat pinned Favorites as Shortcuts allowing the end user to change the name of the pinned item without changing the name of the destination

Files Version
<IP_ADDRESS>
Windows Version
10.0.19045.3803
Comments
No response

Thanks for the feedback, I hear the use case and perhaps it's a bit of clunky workaround, but you can technically do this by creating and pinning a library to the favorites section.

@sdlaw-sdelorme did you have a chance to try this workaround?


Crash with "double free or corruption (fasttop)"

I started noticing these after the gRPC 1.65.0 update. For example:

GCB: https://console.cloud.google.com/cloud-build/builds;region=us-east1/081483b5-3472-4b85-975a-829afc18b562;tab=detail?project=cloud-cpp-testing-resources
Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/main/2983243965aa3a9974d81bef30a101b322d24e86/demo-ubuntu-jammy-demo-install/log-081483b5-3472-4b85-975a-829afc18b562.txt

GCB: https://console.cloud.google.com/cloud-build/builds;region=us-east1/87c4ae9e-540b-46d6-9846-7180fc2ac376;tab=detail?project=cloud-cpp-testing-resources
Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/14413/e0bb1fa32735527103f9415e66bf96bef2b31af3/fedora-latest-cmake-shared/log-87c4ae9e-540b-46d6-9846-7180fc2ac376.txt

GCB: https://console.cloud.google.com/cloud-build/builds;region=us-east1/837932bf-789c-42fb-b30f-ed2d7d49552d;tab=detail?project=cloud-cpp-testing-resources
Raw: https://storage.googleapis.com/cloud-cpp-community-publiclogs/logs/google-cloud-cpp/main/bdecef60a740a9b869838487cb7bf4e05bb17ac9/demo-ubuntu-jammy-demo-install/log-837932bf-789c-42fb-b30f-ed2d7d49552d.txt


Does not impact XP from enchantment bottles.

SpongeVanilla-1.12.2-beta-343
SpongeForge=1.12.2-bets-2684  Note: On my forge server version, I can not SEE any of the entities at all; I can splash-potion XP bottles and see the effects, sounds, and spawn-events in log, but not orbs.  I can summon mobs and hear them, be hurt by them, but not see them, even disconnectin/reconnecting no.  I do not have this effect on the SV version -- yet.  I will test this later today more indepth to see if I am crazy or not before reporting, but if someone can just second-glance it ...
Environment: Zero mods, zero plugins except one logging SpawnEntityEvents with missing key.

PR merged. This can be closed.

actually leaving this open until it's on the stable branch


Misclassifying HTMLTitle as HTMLText

Describe the bug
Some HTMLTitles are being misclassified as HTMLText instead.
To Reproduce
Run the following commands in pipeline-sec-filings repo:

PYTHONPATH=. pytest "test_real_docs/test_real_example\ s.py::test_first_last[nke-SECSection.MARKET_FOR_REGISTRANT_COMMON_EQUITY-last]"
Note that title "Market for Registrant's Common Equity, Related Stockholder Matters and Issuer Purchases of Equity Securities"  has been misclassified as HTMLText.
PYTHONPATH=. pytest "test_real_docs/test_real_example\ s.py::test_first_last[brks-SECSection.MANAGEMENT_DISCUSSION-first]"
Similarly, title "Item 2. Management’s Discussion and Analysis of Financial Condition and Results of Operations" has been misclassified as HTMLText.

Expected behavior
Titles of nke and brks forms are labelled correctly and tests pass.
Additional context
Temporarily edited code in pipeline-sec-filings repo not to filter out misclassified titles.

Hi @natygyoon, apologies for the delay in getting to this.
Is this still a problem? If so can you please provide an example of one that works correctly and one that doesn't for comparison purposes?
Closing for now as there's been no activity, but please reopen if this is still a problem and I'll work with you to figure out what's going on :)


Fix run requirements

Checklist

[ ] Used a personal fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[ ] Ensured the license file is being packaged.

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.
I do have some suggestions for making it better though...
For recipe:

License is not an SPDX identifier (or a custom LicenseRef) nor an SPDX license expression.

Documentation on acceptable licenses can be found here.

@conda-forge-admin, please rerender

CMake Error at /home/conda/feedstock_root/build_artifacts/fenics-pkgs_1608383594653/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold/share/cmake-3.19/Modules/FindPackageHandleStandardArgs.cmake:218 (message):
      Could NOT find Boost (missing: Boost_INCLUDE_DIR timer) (Required is at
      least version "1.48")


DCOS-13492: Updates erl-dns to point to dcos/erl-dns

@alberts please review

Codecov Report

:exclamation: No coverage uploaded for pull request head (master@8b20799).

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 baefef9...8b20799. Read the comment docs.

@nlsun @aeyakovenko @drewkerrigan please review


Intermittent AHRS Conncection

1.1.Stratux version: 0.9b3 stratux-v0.9b3-9d3060af95.sh
2.Stratux config:
SDR
[ ] single
[ X ] dual
GPS
[ X ] yes
[ ] no
type: VK-172
AHRS
[ X] yes
[  ] no
R-Pi
[ ] Zero
[ X ] 2B
[ ] 3
power source:
usb cable:Anker 2nd-Gen Astro E5 High-Capacity 16750mAh
3.EFB app and version: iFlyGPS v9.6
EFB platform: (e.g., iOS 9.2) Android KitKat
EFB hardware: (e.g., iPad Mini 2)SAMSUNG Tab S 8.4
4.Description of your issue:
I have installed this: https://www.amazon.com/gp/product/B00OPNUO9U/ref=oh_aui_detailpage_o00_s00?ie=UTF8&psc=1 to compliment the VK-172 GPS for AHRS.  The AHRS module is not maintaining a connection. The status page shows AHRS cycling on for 6 seconds and then off for 3 seconds. I have a solid red light on the Pi. I have it connected according to its data sheet and from what has been recommended here. At first I assumed it was due to the lack of amps being delivered from GPIO pin 1 which is 3.3 v. In light of that possibility, I have installed this http://www.ebay.com/itm/122004939034?_trksid=p2057872.m2749.l2649&ssPageName=STRK%3AMEBIDX%3AIT That did not solve the problem.  Any other thoughts or suggestions would be appreciated.
I know AHRS is still in development and should not be used. I have been told the AHRS module I installed will be supported. I would like mine to be ready when this capability is rolled out.
If possible, enable "Replay Logs", reproduce the problem, and provide a copy of the logs in http://<IP_ADDRESS>/logs/stratux/ and http://<IP_ADDRESS>/logs/stratux.log.

MPU-9250 (what you have) isn't "supported" yet. We're using it for current development but any of those changes are not even in the beta versions yet. If you want to try it, you'll have to build and run PR #423. It's not certain that we'll use this yet, so you may want to hold off on it unless you're up to experiment with the very latest code.

I bought the board anticipating that it would eventually be supported. If I could get some help with how to build from PR #423 I could help with testing. I closed the issue based on this statement from Slack: "
ccicchitelli [5:38 PM]

FYI I've tested and found issues with the DIY Mall Adafruit MPU9250 breakout board we've been discussing that's available for $12.50 on amazon prime. Until researched further, I'd recommend not purchasing one and sticking to the RY836AI.
I've already got 2 extra RY835AI boards that are no longer recommended for AHRS and it looks like I may end up with another board that is not going to do me any good. No worries though, as we all know that is the nature of projects like these. Do you have a reference to a tutorial or other help that would instruct me on how to build from #423. Thanks

I wouldn't take that as the official word as he's only done cursory tests and I haven't seen the same from anyone else. If you could test with this MPU-9250 breakout board and we can figure out how to make it work, that would be preferable over the Reyax modules - they're too expensive and have a bunch of features that we don't need.
Try updating with this to test (unzip first), it's a compile of the ccicchitelli branch.
update-stratux-v0.8r2-a2f288397c.sh.zip

That file didn't allow the stratux ui to connect. After the update, it told me to wait 60 seconds and then refresh etc. I did all that and it tried to connect and then dropped from the wifi choices all together. Tablet would scan for wifi and Stratux would show up as saved.  I tried it several times. I also tried the process again by using another card. Same result. I thought it might be a conflict with the connection to the breakout board so I pulled all the jumper wires. Still no joy.

I figured out what I wasn't doing wrong and now it is connecting. The AHRS feature is very unstable as the Stratux unit sets in one place. I have the Naviator app that has the 3D and PDF features. Through that I can calibrate the AHRS to bring it back to straight and level. It does a slow level decent for awhile and then starts a bank. Looks like no airborne testing should be done until it stabilizes when not in motion. Let me know what kind of testing you're after. Thanks


Set up the axis X on top the graph

¿is there any option to set the Axis X on top the graph, because I am currently setting this with a javascript line, but I'm looking for another form to do this
this is my currently line on c3 properties
oninit: function () {         const setAxisX = () => {           return document.getElementsByClassName('c3-axis-x')[0].setAttribute('transform', 'translate(0,-30)')         }         setAxisX()         window.onresize = (event) => {           setTimeout(function () {             return setAxisX()           }, 100)         }       },
any idea?

CSS?

Hi there!
We try to keep the issue queue clear for specific code-related problems with C3,
Could you please try asking your question on either the Google Group
or Gitter instead?
Thank you


feat: new email styles

Related Issue or Design Document

Checklist

[ ] I have read the contributing guidelines
and signed the CLA.
[ ] I have referenced an issue containing the design document if my change
introduces a new feature.
[ ] I have read the security policy.
[ ] I confirm that this pull request does not address a security
vulnerability. If this pull request addresses a security vulnerability, I
confirm that I got green light (please contact
<EMAIL_ADDRESS>from the maintainers to push
the changes.
[ ] I have added tests that prove my fix is effective or that my feature
works.
[ ] I have added necessary documentation within the code base (if
appropriate).

Further comments

@vinckr is the report still running? or is it finished? if it is finished should we keep the questionaire in or not?

@vinckr is the report still running? or is it finished? if it is finished should we keep the questionaire in or not?

sorry yea I would keep the questionaire for at least the Hydra 2.0 release. We just used slack&socials so far, so the survey would reach a lot more people who arent active there.

ping @vinckr

Can you point me to how to generate the correct stub for testing the email body @aeneasr? I used the output in mailchimp but the formatting seems to be off...
It also seems to be testing against the old version still no matter how I change changelog.html.expected.

You need to run the test, rename changelog.html.tmp to changelog.html.expected, run the test again -> it works

ahh ty, works now :D
i totally missed the changelog.html.tmp


Support for MED multiple meshes

Dear all,
I am having issues to read the following .med mesh file results.med.zip. I get the following error due to the lines https://github.com/nschloe/meshio/blob/main/src/meshio/med/_med.py#L43-L44 :

ReadError: Must only contain exactly 1 mesh, found 2.

The mesh indeed contains two parts that are Boundary and Fluid domain. I understand from this comment https://github.com/nschloe/meshio/issues/1058#issuecomment-801851611 that multiple meshes are not yet supported. However, in https://github.com/nschloe/meshio/issues/175 was discussed the implementation of region, which I believe would cover my case of having in domain and boundary regions as separate meshes.
How could multiple meshes in one med files be handled by meshio?

This relates to an old bug: https://github.com/nschloe/meshio/issues/268.


How to add our own dropdown conditions

For Example
Like term , I have a new variable i have to query
{
	"size": 0,
	"filter": {
		"and": [{
			"term": {
				"status": "failed"  // my own , can have multiple values (failed,passed,pending)
			}
		}]
	}
}

closing issue as it is unanswered for long time


Updated TestExec and TestObjCiVarIMP to use lldbutil.execute_command

This is a follow-up to @jimingham's request in https://github.com/apple/swift-lldb/pull/130

@swift-ci please test


minting v3

TODO

This comment is not a technical description, but rather a summary of some things which need to be cleared out first.
Provided formulas and data
It seems that the main data source to extract info from is the library, specifically https://library.threefold.me/info/threefold#/tfgrid/farming/threefold__farming_reward and the linked calculator sheet. An immediate problem is that both of these have different definitions of CU and SU. It is not immediately clear how much USD is used per  CU and SU in the wiki, but in the sheet 2.4USD and 1.5USD are used. The calculations in the wiki return a result which indicates that the wiki uses the same values.
The different CU and SU formulas:
Wiki
CU = 2 vCPU, 4GB mem, 50 GB storage. It is not clear if storage is HDD or SSD or both, but it's assumed to be SSD only. This then equates to CU = MIN(CRU/2, MRU/4, SRU/50). Similarly, SU = 1TB of net storage. This is assumed to be both HDD and howerver much SSD is left (after subtracting the amount of SSD used for CU), which then equates to `SU = HRU/1000 + (SRU - (50*CU)) / 1000).
Calculator
CU = MIN((MRU-1)/4, CRU*4/2), which simplifies to CU = MIN((MRU-1)/4, CRU*2)
SU = HRU/1200 + (SRU/300) * 0..8, which simplifies to SU = HRU/1200 + SRU/375
Comparison
Comparing the two, we see that the wiki requires storage space for Compute units whereas the calculator does not. Next, the wiki requires 2 vCPU per Cu, the calculator only needs 0.5 (so a vCPU is 4 times as valuable). Both require 4 GB memory per CU, though the calculator strips 1 GB (presumably reserved for the OS). The wiki states that 1 SU is 1TB of netto usable storage. There is no distinction between HDD or SSD here. Given that the price for SSD storage is outright higher than HDD storage, this would mean that it makes economically the most sense to only provide as much SSD storage as needed for the CU, and use HDD for everything else. That would lead to a very limited supply of SSD capacity on the grid (which in turn would make it practically unuseable).
The farming reward page (https://library.threefold.me/info/threefold#/tfgrid/farming/threefold__farming_hardware_overview?id=do-it-yourself) lists a recommendation of 1 vCpu to 4GB memory. It should be noted that neither of the above actually use this ratio. The wiki formula has a ratio of 1:2, whereas the formula in the calculator has a ration of 1:8.
The calculator mentions a reward for NU, this is not mentioned on the wiki page. This needs further clarification.
V2 minting
The old minting does not pay the CU and SU, but rather the CPR. CPR is defined as CPR = CU * 1.5 + SU. A payout of 40/6 USD per CPR is given. This equates to a payout of 10USD/CU and 6.67 USD/SU. It should be noted that this was scaled down based on the total amount of tokens. For the v2 minting, the following calculations are used:
CU = MIN(CRU*4, (MRU-1)/4)
SU = HRU/1200 + SRU/120
This means that, SSD storage has significantly devaluated (as it equates to less SU in either case). Similarly, Cpu capacity has devaluated, as you need more cores in either case to result in the same amount of CU (assuming sufficient memory is available).
What does this mean for the titan V2.1
The titan v2.1, currently listed on https://shop.threefold.tech, has the following specifications:
4 core / 8 thread cpu,
32 GB memory
1TB nvme SSD
Furthermore, this presumably equates to 7.75CU and 4.17SU
Running the formulas extracted above:
wiki:
CU = MIN(8/2, 32/4, 1000/50) = 4
SU = 0/1000 + (1000 - 50 * 4) / 1000 = 0.8
So according to the wiki formula, the values are  CU = 4, SU = 0.8
calculator:
CU = MIN((32-1)/4, 8*2) = 7.75
SU = 0/1200 + 1000/375 = 2.67
The calculator is closer to the listed info, but SU is still off. Final values: CU = 7.75, SU = 2.67
v2 minting:
CU = MIN(8*4, (32-1)/4) = 7.75
SU = 0/1200 + 1000/120 = 8.34
This results in the same amount of CU, but more SU than listed.
Titan earnings
It seems that the reward will be 2.4USD/CU and 1.5USD/SU in either case. This leads to the following montly payout:
wiki: 4CU * 2.4USD/CU + 0.8SU * 1.5USD/SU = 10.8 USD * 1.25 -> 13.5 USD
calculator: 7.75CU * 2.4USD/CU + 2.67SU *1.5USD/SU =  22.605USD * 1.25 -> 28.25625 USD
store page: 7.75CU * 2.4USD/CU + 4.17SU * 1.5SU/USD = 24.855USD * 1.25 -> 31.06875 USD
In all cases, a 1.25 multiplier was added as the titan node is certified by default. Any earnings made from titan would come due to a serious increase in price after the node was connected.

According to Kristof the calculator formulas are the ones to go with. The SU formula assumes that an average of 20GB are used for Customer. Thats why it says 0.8

The SU formula assumes that an average of 20GB are used for Customer.

What does this mean?

we use the calculator formulas for minting. need to adjust the ones on the wiki. will take care of that.

yes, I get that, I meant the specific sentence I linked. "20GB average used for Customer"?


feat: INFRA-685 fix minio disk alerts

@ihannache I think this should be closed as something else was done to consider a precise number of disks instead of a range.


docs(adr): ADR-007: Address generation of chain link proof

Description
Closes: #XXXX

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] followed the guidelines for building modules
[ ] included the necessary unit and integration tests
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

@dadamu @bragaz I've completely reviewed this ADR as I think there might be an easier way to go to support different algorithm strategies and encodings.


Support cc_test

https://bazel.build/reference/be/c-cpp#cc_test

[x] Support additional_linker_inputs
[ ] Support linkstatic
[ ] Support malloc?
[x] Support nocopts (support removed in Bazel, so not doing anything for it un rules_xcodeproj)

We are missing an example for linkstatic/malloc, but unless someone reports an issue for them, I'll assume we support them.


tests: refactor expect in cidrToIP fcn in vmi_multus_test

Signed-off-by: Jakub Guzik<EMAIL_ADDRESS>
What this PR does / why we need it:
PR refactors one of the helper functions in tests/ to return an error to test case. I fixed only one expect right now just to get feedback if everything looks good, or it should be done another way
Which issue(s) this PR fixes
Related to #4101
Release note
NONE

/ok-to-test

/test pull-kubevirt-e2e-k8s-1.19

/test pull-kubevirt-e2e-k8s-1.17

/retest

/retest

/retest

/retest

@phoracek finally the whole CI went green, and the branch is rebased. If you find the time, let's put to end a miserable history of cidrToIP function :)
Side note: your tests are running for a several of hours, many interactions, and sometimes there are flaky (toggle) cases that are spoiling the whole build. While fixing them is necessary, maybe it would be worth to split test cases into smaller groups to contain them in a 1-2 hours run. On a project level, have you thought about it?

@EdDev everything done

/test pull-kubevirt-e2e-k8s-1.19

/test pull-kubevirt-e2e-k8s-1.19

/approve

Thanks for the contribution @jmguzik !

/retest

/retest

/retest

/retest

/retest


Castillian Spanish (es-ES): A good bunch of fixes and improvements

Things are pretty decent, I think. But I accept suggestions.

Also, the es-ES language issue I opened a few days ago is right here: https://github.com/ncase/crowds/issues/7
(In case anyone wants to talk about it, report issues or help out)

Thanks again @Swyter !


Get tests running under Ruby 3.1 and add to CI

As Ruby 3.1 is out it seems like a good idea to get CI running with that version.
There was an issue with Timecop and argument handling that prevented tests from running successfully.  This was due to the gemspec pinning to a very old version of Timecop.  Updating that pin allowed Ruby 3.1 specs to pass without causing any additional spec failures.

@pitbulk Sure.  Let me know if the change I just pushed works.


SwiftFlutterVoiceProcessorPlugin Found Nil

Attempting to use picovoice_flutter package results in crash on iOS when attempting to listen for commands. Steps to reproduce:

Launch app and start PicovoiceManager
Attempt speaking command (nothing is recognized- no wakeword or inference)
Relaunch app
App crashes with "flutter_voice_processor/SwiftFlutterVoiceProcessorPlugin.swift:75: Fatal error: Unexpectedly found nil while unwrapping an Optional value"

Reproducible using boilerplate Flutter app. Only need to add sample Picovoice code to the incrementCounter function:
class _MyHomePageState extends State<MyHomePage> {
    int _counter = 0;

    PicovoiceManager? manager;
    bool managerListening = false;

    @override
    void dispose() {
      super.dispose();
      manager?.stop();
    }

    Future<void> _incrementCounter() async {

    manager ??= PicovoiceManager.create(
          "{KEY}",
          "assets/picovoice/picovoice_wake_word.ppn",
          () => log('HEARD WAKE WORD'),
          "assets/picovoice/picovoice_play_card.rhn",
          (inference) => log('HEARD INFERENCE: $inference')
        );
        if (!managerListening) {
          await manager!.start();
          managerListening = true;
          log('START LISTENING');
        } else {
          log('ALREADY LISTENING');
        }

    setState(() {
      // This call to setState tells the Flutter framework that something has
      // changed in this State, which causes it to rerun the build method below
      // so that the display can reflect the updated values. If we changed
      // _counter without calling setState(), then the build method would not be
      // called again, and so nothing would appear to happen.
      _counter++;
    });
}

picovoice_flutter version: 2.1.5
iOS version: 16.0

@sean915213 - thanks for the report. We were able to reproduce this and are going to be addressing this in a release that was already scheduled for this week.

@sean915213 - this error was addressed in the latest flutter_voice_processor release (1.0.9) and is included in the latest picovoice_flutter release (2.1.6). Let us know if the fix worked for you.

@laves This release has resolved my issue. Thanks!


New Node: VO Implementation

We want the VO line to play alongside the dialog box that pops up. This will be a couple beats after the music plays.

A couple beats after the music plays (how long?):

In parallel:

The VO line plays
The dialog box becomes visible.