Project Maintenance Inquiry

Hello @GabiAxel !
I am Adib Murshed, the President of the Iniftar Foundations at: http://www.blog.iniftar.com. I would like to claim this project to continue its development, open-source and non-profit.

Thanks. @ Sajeetharan and @AdibMurshed - I sent you invitations. Please coordinate the work between you.

May I ask why I cannot access the settings of this repository?
Thank you,
Kind Regards,
Adib Murshed,
Director of FlatFur.
<www.flatfur.com>.
On Tue, Nov 7, 2017 at 6:18 PM, Gabriel Axel<EMAIL_ADDRESS>wrote:

Closed #65 https://github.com/GabiAxel/ng-polymer-elements/issues/65.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/GabiAxel/ng-polymer-elements/issues/65#event-1329103569,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWC6mwAEqCr5j_OVrNUAzbIY-0wQYICQks5s0AQwgaJpZM4QUWO4
.

I assume that it is because I haven't been granted full access to the repository yet? @GabiAxel

I want to point it to a custom domained website, and I need access to the settings @GabiAxel , Thanks!


Allow proxies for nvidia downloads via environment variables

Checklist

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

closes #10
Happy to bikeshed over environment variable names. Unfortunately I can't avoid adding one each for developer.nvidia.com resp. developer.download.nvidia.com, because the files and md5s actually lie on separate urls.

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.

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

Selectors are suggested to take a <two spaces>#<one space>[<expression>] form. See lines [20]

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.

@conda-forge/cudatoolkit-dev
I managed that the builds complete with a rerendered recipe (on azure), but I cannot figure out the test errors on linux. I tried to build the recipe with the state of this PR on a Ubuntu 18.04 machine and it ran through without errors.

Thank you for the PR, @h-vetinari!

I tried to build the recipe with the state of this PR on a Ubuntu 18.04 machine and it ran through without errors.

I've seen similar behavior in the past, and I don't know what causes it. I will try to re-run the CI builds and see what happens.

Also, linux builds seems to be missing files now: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=45047

It's the same error that showed up on mac before I added python to the build setup. Guess we need the build dep for linux too.

So, now we're back to the ClobberWarning (that didn't leave by either specifying python or tqdm as a test dep), and the invisible test errors.

Yeah I don't understand that one

@andersy005 @xmnlab
Any ideas what I can do here to fix the tests? @andersy005 said he already had similar issues before, but so far they don't seem to disappear just from restarting the CI...

@conda-forge/core
Could anyone help debug this? Or at least, how to get an error log from that failed test?

I think you can cat / echo a log file to the screen if you need it.

The only thing I can find from googling about these ClobberWarnings is this comment from @jakirkham, where it was necessary to add a package (here tdqm?) to both host and run dependencies.
I tried that with the last few commits but the warnings (and failure) remains the same.
I'm not entirely clear what's happening with that clobber-stuff. Especially since it's complaining that it's clobbering an existing path, but then shows source path: None in the Warning...

@andersy005
The build failed again, but curiously, I can't see a log, only:
Run docker build failed

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you, but it looks like there was nothing to do.

Interestingly, the osx-build for https://github.com/conda-forge/cudatoolkit-dev-feedstock/pull/11/commits/aec76739a7ff7e222be098c09c0b4367700e4bd2 failed as well...

Adding conda to host (I'm guessing without the other changes from #14) means we're back to the CondaMultiError in the linux build that I mentioned above.
Maybe it's better to just focus on #14?

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The requirements section contained an unexpected subsection name. test is not a valid subsection name.

Hi! This is the friendly automated conda-forge-linting service.
I wanted to let you know that I linted all conda-recipes in your PR (recipe) and found some lint.
Here's what I've got...
For recipe:

The test section contained an unexpected subsection name. requirements is not a valid subsection name.

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.

@h-vetinari, I am going to try debugging the linux issue outside of the container on a linux machine and will get back to you....

@andersy005: @h-vetinari, I am going to try debugging the linux issue outside of the container on a linux machine and will get back to you....

Thanks! I tried to do the same a while back, and could build on Ubuntu 18.04 without a problem.

could build on Ubuntu 18.04 without a problem.

The CI is using vmImage: ubuntu-16.04, and not I am not sure why this might be the culprit...

@andersy005: The CI is using vmImage: ubuntu-16.04, and not I am not sure why this might be the culprit...

Yeah, I'm pretty sure the difference is somewhere else. Also didn't have ClobberWarnings, etc.

I was wrong about the VM being the issue.. The VM is running ubuntu-16-04, however, everything ends up running in a container with centos I think.

@h-vetinari,
I was able to build the package on both "Debian GNU/Linux 9 (stretch)" and "Ubuntu 18.04.2 LTS". At this point, I don't really know why building the package on centos fails.

I found out that cudatoolkit installer is harded to use perl from /usr/bin/perl. The current centos image doesn't come with perl. The available installation is in /opt/conda/bin/perl
/opt/conda/pkgs/cudatoolkit-dev/cuda_10.0.130_410.48_linux: ./cuda-installer.pl: /usr/bin/perl: bad interpreter: No such file or directory

[conda@7cf862609754 ~]$ which perl
/opt/conda/bin/perl

@conda-forge-admin, please rerender

Hi! This is the friendly automated conda-forge-webservice.
I tried to re-render for you but ran into some issues, please ping conda-forge/core for further assistance.

@andersy005: I found out that cudatoolkit installer is hard-coded to use perl from /usr/bin/perl.

Thanks for the investigation! This can be easily added with yum_requirements.txt. Let's see if this works. :)

OK, it didn't work. However, I can't see the yum install in the build log, so not sure what's happening there.

@andersy005
Success! :)
This now builds successfully, using the old tests (and my fix for the chmod issue). If you want to copy some of your other changes from #14, feel free.

I rebased and cleaned up the history a bit, so that there's not so many garbage commits floating around (if you don't squash-merge).

@h-vetinari, thank you for the PR and the additional fixes. I am merging this soon if there's no objection

@andersy005: @h-vetinari, thank you for the PR and the additional fixes. I am merging this soon if there's no objection

No problem! It was a team effort, because without your investigation about the hardlink to /usr/bin/perl I wouldn't have known what to do... ;-)
I rebased once more to correct a wrong commit message and add a comment to the yum-requirement.

This should now also close #12 and therefore supersede #14. @jorisvandenbossche

Closes #14


addComponent(opts)  --- ERROR  unhandledRejection] Cannot read properties of undefined (reading 'match')

Environment

Operating System: Darwin
Node Version:     v22.3.0
Nuxt Version:     3.13.1
CLI Version:      3.13.1
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      -
Runtime Modules:  -
Build Modules:    -

Reproduction
modules.ts
does not work:
async setup(_options, _nuxt) {
    const { resolve } = createResolver(import.meta.url);
    addComponent({
      name: 'AbcDef',
      filepath: resolve('./runtime/app/components/AbcDef.vue'),
    });
}

Describe the bug
---> filePath would have been correct. My bad.
async function addComponent(opts) {
  const nuxt = useNuxt();
  await assertNuxtCompatibility({ nuxt: ">=2.13" }, nuxt);
  nuxt.options.components = nuxt.options.components || [];
  if (!opts.mode) {
    const [, mode = "all"] = opts.filePath.match(/\.(server|client)(\.\w+)*$/) || [];   <------- index.mjs:2922:44
    opts.mode = mode;
  }

Additional context
mode (optional)
see: https://nuxt.com/docs/api/kit/components#options
Logs
ERROR  [unhandledRejection] Cannot read properties of undefined (reading 'match')                                                          19:54:47

  at Object.addComponent [as key] (node_modules/@nuxt/kit/dist/index.mjs:2922:44)

An assert or or any other option guard would have been nice ;)
@danielroe

Did you get a TS error in your IDE?

Yes, after manually restarting the TS server in VSCode I got the typical messy TS-Error when trying to use the options varisble as parameter.


Migrate _web packages to package:web, etc to support Wasm

We are working on public documentation for this process, but creating this issue as a placeholder.
The short version:

Migrate usage of dart:html to package:web
Migrate usage of dart:js, dart:js_util, and package:js to dart:js_interop

@Lyokone could we add a checklist of things that need to be done aka. packages that still need to be migrated to a TODO list in this issue?
e.g., Remote Config and Performance Monitoring, ... are also still open but have no PR yet.
And at the end, as I understand it, we'd have to remove js from all packages?!

@Lyokone  Thank you.
Is there a any projection when the plugin can be compatible with Wasm ?
The current plugin is not compatible yet with wasm, which is blocking all firebase related plugins from being compatible with wasm,

Related issue: https://github.com/firebase/flutterfire/issues/12466

web_plugin_registrant.dart => package:firebase_app_check_web => dart:html
App check is still using dart:html

web_plugin_registrant.dart => package:firebase_app_check_web => dart:html
App check is still using dart:html

Thanks @MominRaza  ! See https://github.com/firebase/flutterfire/issues/12597

Now I'm able to build with --wasm, yes now you can close this issue.
Thanks

Well done, folks!


Deprecate using section and setting names space-insensitively

At the moment section and settings names in Robot Framework syntax can use spaces freely anywhere in the name. For example, this is valid syntax:
*** set t in gs ***
Doc U ment at ion    Insane, right?
Tes Tse Tup          No operation

*** t e s t c a s e s ***
Example
    [ t I me OUT ]    1 s
    No operation

This kind of strange names don't provide any real benefits, but make it harder to implement parsers that recognize what's valid syntax. This is also going to affect us in the future as we are planning to re-implement Robot Framework's own test data parsing.
We are going to deprecate the support for space-insensitive setting and section names in RF 3.1 and then remove this functionality already in RF 3.2. Details about the syntax what is accepted in the future is explained below:

Valid section names are Settings, Variables, Test Cases and Keywords. Also singular forms like Setting or Keyword are allowed. Testcases is will not be supported anymore.

Valid setting names in the setting section are going to be are Documentation, Metadata, Suite Setup, Suite Teardown, Test Setup, Test Teardown, Test Template, Test Timeout, Force Tags, Default Tags, Library, Resource and Variables. For example Testsetup and Test Set Up are both going to be disallowed.

In the test case and keyword sections all settings must be written without any spaces like Documentation, Setup and Teardown.

Space is going to be allowed, but not mandated, around section names and the asterisk markers so that both *** Settings *** and ***Settings*** are accepted. The former is generally recommended.

Space is also allowed, but not mandated, around setting names and [] markers in the test and keyword tables so that both [ Documentation ] and [Documentation] are accepted. In this case the latter is generally recommended.

Section and setting name matching will continue to be case-insensitive.

The rules about the amount of the asterisk characters is not going to change (at least as part of this issue). It is still fine to just have the one leading asterisk like * Settings and all others are optional. The format with three leading and trailing asterisk like *** Settings *** is highly recommended and may even be mandated in the future.

Documentation in the User Guide didn't even mention that section and setting names would be space-insensitive. That hopefully means such usage is very rare.


extend wastime demo to support wasi32-wasi

To support wasi, the PR start to the "wasi_snapshot_preview1". Cuurently, only the basic functions are supported, which are needed to run the fibonacci example.
In addition, the fibonacci example is converted from a library to a common application.

@mkroening Merge it. I fullfil all your requests.


Fixed parsing of @import stylesheets

Fixed parsing of stylesheets that are imported into other stylesheets via @import.

Merged in cb32a7b186a8ace5f22a35ee6a2409afa83e3ba6.
Thank you @d0cm0d!


[BUG] When a bpf userland program traces itself via the syscall tracepoint, bpftime always crashes

Consider a bpf userland program traces itself like this:
...
#include <bpf/bpf.h>
#include <bpf/libbpf.h>

int
main(int argc, char *argv[])
{
   ...
    obj = bpf_object__open_file("hello.bpf", NULL);
    ...
    prog = bpf_object__find_program_by_name(obj, "hello");
    ...
    bpf_links[nlinks] = bpf_program__attach_tracepoint(prog, "syscalls", "sys_enter_geteuid");
    ...
    (void) geteuid();
    ...
}

This program is compiled into the executable ./hello.
And in the bpf program:
SEC(".ylang")
int __attribute__((noinline))
hello(void *ctx)
{
    ...
}

And this is compiled into the bpf bytecode object file ./hello.bpf.
Then run it by preloading 2 .so files at the same time:
LIBBPF_USE_ORBPF_KO= LD_PRELOAD=$$HOME/.bpftime/libbpftime-agent.so:$$HOME/.bpftime/libbpftime-syscall-server.so ./hello

It will always crash with the following error:
[2024-01-27 11:26:05.637] [info] [agent.cpp:66] Entering bpftime agent
terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
  what():  Permission denied

Using gdb to analyze the core dump file:
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007fbdbc3fa895 in __GI_abort () at abort.c:79
#2  0x00007fbdbc108941 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /lib64/libstdc++.so.6
#3  0x00007fbdbc11432c in __cxxabiv1::__terminate(void (*)()) () from /lib64/libstdc++.so.6
#4  0x00007fbdbc114397 in std::terminate() () from /lib64/libstdc++.so.6
#5  0x00007fbdbc114649 in __cxa_throw () from /lib64/libstdc++.so.6
#6  0x00007fbdbcad69e7 in void boost::interprocess::ipcdetail::managed_open_or_create_impl<boost::interprocess::shared_memory_object, 16ul, true, false>::priv_open_or_create<boost::interprocess::ipcdetail::create_open_func<boost::interprocess::ipcdetail::basic_managed_memory_impl<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family, boost::interprocess::offset_ptr<void, long, unsigned long, 0ul>, 0ul>, boost::interprocess::iset_index, 16ul> > >(boost::interprocess::ipcdetail::create_enum_t, char const* const&, unsigned long, boost::interprocess::mode_t, void const*, boost::interprocess::permissions const&, boost::interprocess::ipcdetail::create_open_func<boost::interprocess::ipcdetail::basic_managed_memory_impl<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family, boost::interprocess::offset_ptr<void, long, unsigned long, 0ul>, 0ul>, boost::interprocess::iset_index, 16ul> >) () from /home/agentzh/.bpftime/libbpftime-agent.so
#7  0x00007fbdbcacda7d in bpftime::bpftime_shm::bpftime_shm(char const*, bpftime::shm_open_type) () from /home/agentzh/.bpftime/libbpftime-agent.so
#8  0x00007fbdbcace31c in bpftime::bpftime_shm::bpftime_shm(bpftime::shm_open_type) () from /home/agentzh/.bpftime/libbpftime-agent.so
#9  0x00007fbdbcace3c2 in bpftime_initialize_global_shm () from /home/agentzh/.bpftime/libbpftime-agent.so
#10 0x00007fbdbca8a364 in bpftime_agent_main () from /home/agentzh/.bpftime/libbpftime-agent.so
#11 0x00007fbdbca8a65b in bpftime_hooked_main () from /home/agentzh/.bpftime/libbpftime-agent.so
#12 0x00007fbdbc3fc082 in __libc_start_main (main=0x7fbdbca8a630 <bpftime_hooked_main>, argc=1, argv=0x7fff7c864978, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fff7c864968)

Using root to run the same command yields a different error message but still crashes:
[2024-01-27 11:41:02.972] [info] [agent.cpp:66] Entering bpftime agent
terminate called after throwing an instance of 'boost::interprocess::interprocess_exception'
  what():  No such file or directory
make: *** [Makefile:50: test] Aborted

The core dump backtrace is similar:
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x00007f7e17c49895 in __GI_abort () at abort.c:79
#2  0x00007f7e17957941 in __gnu_cxx::__verbose_terminate_handler() [clone .cold] () from /lib64/libstdc++.so.6
#3  0x00007f7e1796332c in __cxxabiv1::__terminate(void (*)()) () from /lib64/libstdc++.so.6
#4  0x00007f7e17963397 in std::terminate() () from /lib64/libstdc++.so.6
#5  0x00007f7e17963649 in __cxa_throw () from /lib64/libstdc++.so.6
#6  0x00007f7e183259e7 in void boost::interprocess::ipcdetail::managed_open_or_create_impl<boost::interprocess::shared_memory_object, 16ul, true, false>::priv_open_or_create<boost::interprocess::ipcdetail::create_open_func<boost::interprocess::ipcdetail::basic_managed_memory_impl<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family, boost::interprocess::offset_ptr<void, long, unsigned long, 0ul>, 0ul>, boost::interprocess::iset_index, 16ul> > >(boost::interprocess::ipcdetail::create_enum_t, char const* const&, unsigned long, boost::interprocess::mode_t, void const*, boost::interprocess::permissions const&, boost::interprocess::ipcdetail::create_open_func<boost::interprocess::ipcdetail::basic_managed_memory_impl<char, boost::interprocess::rbtree_best_fit<boost::interprocess::mutex_family, boost::interprocess::offset_ptr<void, long, unsigned long, 0ul>, 0ul>, boost::interprocess::iset_index, 16ul> >) () from /home/agentzh/.bpftime/libbpftime-agent.so
#7  0x00007f7e1831ca7d in bpftime::bpftime_shm::bpftime_shm(char const*, bpftime::shm_open_type) () from /home/agentzh/.bpftime/libbpftime-agent.so
#8  0x00007f7e1831d31c in bpftime::bpftime_shm::bpftime_shm(bpftime::shm_open_type) () from /home/agentzh/.bpftime/libbpftime-agent.so
#9  0x00007f7e1831d3c2 in bpftime_initialize_global_shm () from /home/agentzh/.bpftime/libbpftime-agent.so
#10 0x00007f7e182d9364 in bpftime_agent_main () from /home/agentzh/.bpftime/libbpftime-agent.so
#11 0x00007f7e182d965b in bpftime_hooked_main () from /home/agentzh/.bpftime/libbpftime-agent.so
#12 0x00007f7e17c4b082 in __libc_start_main (main=0x7f7e182d9630 <bpftime_hooked_main>, argc=1, argv=0x7ffe7f9a1e98, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7ffe7f9a1e88)
    at ../csu/libc-start.c:308
#13 0x000000000040174e in _start ()

How to work around this issue? I'm using the latest git master branch HEAD (commit d0b9f6608fc8) on Fedora Linux x86_64. The test suite is almost passing except 2 test failures. And the example/malloc sample in the repo works as expected on my side (without sudo).

Related to #194

Investigation:

syscall server should be put in front of agent
If we inject both syscall server and inject through LD_PRELOAD, syscall server seems to be loaded twice, and agent won't work
If we inject agent through remote attach (bpftime attach), it works well


Fix publishing to PyPI

Sphinx roles like :file: are not allowed in README.rst which becomes the long_description in PyPI.

Should the CHANGELOG be updated as well?

@ollityrkko my idea was to try merging this without changelog update and try to use it to publish 13.3 to PyPI. But if it doesn't work, then there should be a new MR just updating changelog to 13.4. I think updating the changelog in this MR would mean that 13.3 cannot be published to PyPI.  Not sure what is the best way to do this.

Actually, I guess publishing 13.3 to PyPI with this change is not possible anyway since the publishing job is tied to the old commit. So better to just update the changelog here as you suggested. But this will mean that 13.3 will not be published to PyPI.
I updated the changelog, and rebased on main which I forgot to do previously.

Actually, I guess publishing 13.3 to PyPI with this change is not possible anyway since the publishing job is tied to the old commit. So better to just update the changelog here as you suggested. But this will mean that 13.3 will not be published to PyPI.
I updated the changelog, and rebased on main which I forgot to do previously.

@jkotilahti If skipping version 13.3 on PyPI is an issue, I guess we could try to build and upload it manually. Let me know if you need help with that


Omnipay conventions

Added information about some non-obvious omnipay conventions

nice :+1:

@peter-mw - yes.
@judgej - I do agree that more explicit terminology is probably a good thing, although amusingly, and with perfect timing, Peter's comment highlights the fact that developers will typically refer the two parties as 'us' and 'them'!
I'll add both in, and see if that keeps everyone happy!


Setup and Configuration

Headless pi with Remote Desktop using VNC
Window:
Download pi imager https://www.raspberrypi.org/software/
Run and set config parameters eg hostname, enable SSH, WIFI connection info
Mac:
Download VNC Viewer https://www.realvnc.com/en/connect/download/viewer/macos/
open terminal:
ssh to pi
sudo raspi-config
enable VNC Server
Choose Display Options > Screen Resolution eg DMT Mode 85 1280x720 60Hz 16:9
ref: https://www.youtube.com/watch?v=gGCtbn0d5uQ&ab_channel=RickMakes
Enable Camera
sudo raspi-config > Interface Options > Camera > On
Test camera connection
raspistill -o testCamera.jpg

ssh<EMAIL_ADDRESS>@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
@    WARNING: REMOTE HOST IDENTIFICATION HAS CHANGED!
Someone could be eavesdropping on you right now (man-in-the-middle attack)!
It is also possible that a host key has just been changed.
The fingerprint for the ECDSA key sent by the remote host is
SHA256:6LCvezi2d/0iI+rsotNU76MUpwva2RBBASrp1K+W9Fc.
Please contact your system administrator.
Add correct host key in /Users/wtsang/.ssh/known_hosts to get rid of this message.
Offending ECDSA key in /Users/wtsang/.ssh/known_hosts:4
ECDSA host key for <IP_ADDRESS> has changed and you have requested strict checking.
Host key verification failed.
Solution:
reason of failure due to usage of same IP which was used previously for a different pi.
Assign another IP to the new pi.

password can be changed
even a simple password is accepted
sudo passwd pi


Add SimPO loss

SimPO has had some promising performance on AlpacaEval. This PR adds SimPO as an option into the DPO script (since SimPO is very similar).
Additionally adds label smoothing into DPO, following Eric Mitchell's note.
Testing now!

Great, have you experimented with it?

Also, WPO also seems promising and easy to implement (they claimed better performance than SimPO): https://arxiv.org/abs/2406.11827.


RF Issue: Can't learn single press

Hi There,
I tried getting this container working on docker on Windows but couldn't connect to the network.
As such, I created a VM for Home Assistant and installed via Portainer and was finally able to successfully connect.
It finds my RM2 Pro Plus_300 with no issues, and it discovers my remote on long press, however when I click "Status:   Click The Continue button" and press the button for a single click, it times out with the following error:
Status:   To complete learning, single press the button you want to learn _Error occurred while scanning, please try again_
As such, trying multiple solutions to get BroadlinkManager working, it still doesn't seem to be able to learn RF codes as I was hoping. If I can get this working, it would solve a lot of pains for trying to automate my blinds! :)
I am using a DC1602 RF remote (provided by suppliers).


Allow disable link previews when sending message

Is it possible to disable link previews when sending a message with this bot? If not, can that functionality be added?
It looks like it's possible through the Telegram Bot API, but I can't get it to work with the webhook2telegram bot. Specifically, the sendMessage method takes a disable_web_page_preview but when I pass that parameter into my POST request for this bot, it has no effect.
Example
I'm using the Python requests library to send a message that contains a link.
import requests

payload = {
    "recipient_token": "my-token-value",
    "text": "here's [a link](https://github.com/muety/webhook2telegram)",
    "origin": "MyBot",
    "disable_web_page_preview": True,  # this has no effect
}

url = "https://apps.muetsch.io/webhook2telegram/api/messages"
mmb_response = requests.post(url, json=payload)  # this sends the message

Here's what the message looks like when I receive it. I don't want the link preview included in the message.

This is actually a bug. I'll fix it as soon as I can and let you know. Thanks for bringing this up!

@muety This still isn't working for me. I copied the payload exactly as in your post but it still shows the link preview. I'm using the hosted instance at https://apps.muetsch.io/webhook2telegram. Has that instance been updated with your changes yet?

Ah, I'm sorry, my bad. Try it with disable_link_previews instead.

That worked! Thanks!


Add test targets for the newer android plugins and gradle versions

ugh

https://travis-ci.org/gradle-fury/gradle-fury/builds/274866548
so i did make progress with this, but ran into a whole lot of test failures. unreal how difficult it is to get everything working consistently across versions

several issues starting with gradle 3.4

gradle api change which affects the dependency check plugin (updated version) https://github.com/jeremylong/dependency-check-gradle/issues/31
gradle api change which affected the maven-support script
due to api change, dependencies declared in the pom are now no longer listed causing the validation tests to fail

did as much as i can. gradle api changes break everything


Trying to Sync 2 wallets on two computers

I have ZAP downloaded on two separate computers.  Used recovery seed to load on second computer but balance and transactions are not the same.
Am I doing something wrong?  One computer is a Mac and one is Linux.

@skcheffy I don't believe that this is really possible. You can't take a seed from one device and recover it onto another and expect the 2 devices to be in and to remain in sync. You can use the seed to restore on-chain funds, but for funds that are in channels those channels are only maintained on a given device and are not tied to the recovery seed.
Theoretically, you could back up the channel state data in addition to the seed and move that over to another device in order to recover channel balances in addition to on-chain balances, although I don't think you can rely on this as a practical means to keeping multiple devices in sync.
If you want to be able to access one wallet from multiple devices, your best bet would be to set up a single lnd node somewhere, and then connect to it remotely from Zap Desktop using the Zap's custom mode. You can connect as many instances of Zap Desktop as you like to a single lnd instance.

Ok, thank for the response.  That makes sense now.

On Sep 1, 2018, at 10:42 AM, Tom Kirkpatrick<EMAIL_ADDRESS>wrote:
@skcheffy https://github.com/skcheffy I don't believe that this is really possible. You can't take a seed from one device and recover it onto another and expect the 2 devices to be in and to remain in sync. You can use the seed to restore on-chain funds, but for funds that are in channels those channels are only maintained on a given device and are not tied to the recovery seed.
Theoretically, you could back up the channel state data in addition to the seed and move that over to another device in order to recover channel balances in addition to on-chain balances, although I don't think you can rely on this as a practical means to keeping multiple devices in sync.
If you want to be able to access one wallet from multiple devices, your best bet would be to set up a single lnd node somewhere, and then connect to it remotely from Zap Desktop using the Zap's custom mode. You can connect as many instances of Zap Desktop as you like to a single lnd instance.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub https://github.com/LN-Zap/zap-desktop/issues/685#issuecomment-417864191, or mute the thread https://github.com/notifications/unsubscribe-auth/AehEHqS4ZjKKNsEliN_Rc0q5Ma9ePzKlks5uWpzigaJpZM4WBZqf.


Rjones0 90

This is an initial effort at adding input values to exported Feature Classes as fields. Please review.
Basically the attributes are stored in a new class ProGraphicAttributes at the time when the Graphic is created, and that ProGraphicAttributes object is added to the Graphic. If the user then chooses to save the graphics the attributes are present in the Graphic, and so when graphicsList is looped over the attributes can be obtained and written to the output FC.
The method for adding fields to the output FCs is not ideal as it is slow to add the fields one by one, but I could not find a better way in the Pro SDK:
IGPResult result2 = await Geoprocessing.ExecuteToolAsync("AddField_management", makeValueArray(featureClass, "Distance", "DOUBLE"));
I did think about creating template FCs and adding these into the addIn as resources, but this doesn't seem ideal either. I would imagine a better method of adding the fields would greatly speed up the export.
At the moment attributes are not exported if KMZ is chosen.

@kgonzago thanks for comments, changes made, please review.

@kgonzago please review PR with your comments addressed: https://github.com/rjones0/distance-direction-addin-dotnet/commit/6785f4d3e157603145ba6a6ecb2e08d979c19d35


Update Purpose Consent Proposal comparison.md

Added DT-view
@bigludo7 : Even though the text for point "What is expected for each /authorize call?" seems pretty long, I believe it is in alignment with your proposal. Please point out if it's not so and there are differences.
For the purpose part, I have added a simple recommendation to get it checked with OpenID colleagues.
What type of PR is this?
Add one of the following kinds:

correction
enhancement/feature
cleanup
documentation
subproject management
tests

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Special notes for reviewers:
Changelog input
 release-note

Additional documentation
This section can be blank.
docs

@bigludo7 Could you kindly merge this?

@bigludo7 : strange that I see the PR still open

@bigludo7 thanks now it works :)


fix(input-autofocus): add autofocus to name field in create iteration dialog box.

[ ] What does this PR do?
On opening create iteration dialog box, the mandatory name field will be auto focussed.

[ ] What issue/task does this PR references?
Fixes: https://github.com/openshiftio/openshift.io/issues/1994

Ike Plugins (test-keeper)
Thank you @karthikjeeyar for this contribution!

It appears that no tests have been added or updated in this PR.
Automated tests give us confidence in shipping reliable software. Please add some as part of this change.
If you are an admin or the reviewer of this PR and you are sure that no test is needed then you can use the command /ok-without-tests as a comment to make the status green.
Your plugin configuration is stored in the file.

@karthikjeeyar Your image is available in the registry. Run docker pull quay.io/openshiftio/fabric8-ui-fabric8-planner:SNAPSHOT-PR-2820 && docker run -it -p 5000:8080 quay.io/openshiftio/fabric8-ui-fabric8-planner:SNAPSHOT-PR-2820 and visit http://localhost:5000 to access it.

@karthikjeeyar Considering the modal mounts to the DOM only when opened, would using the attribute autofocus not solve the problem?

@rohitkrai03 fabric8-planner and ngx-widgets are moving to fabric8-ui as a monorepo. So, we can use the autofocus directive at all the places from fabric8-ui.

@joshuawilson  Vikram is already working on this autofocus directive, which will get merged to fabric8-ui. I will use that directive and raise a new PR for this issue.


extend tutorial as a course project assignment?

https://github.com/moya10/os-fundamentals/blob/c035e5bec9f0389ef260b72861a6e6c3c8b66721/bios.md?plain=1#L6
This section and subsections seem to be practical and hands-on, in comparison to the rest which seem to be theoretical. Maybe it is worth highlighting this fact by re-organizing?
I understand that this section documents your own choices, so i am wondering if it is possible to extend it for other who wish to follow different paths?
For example, each subsection might include a question or suggestion for alternative choices

Thank you for the comment. Yes it is possible to extend the content in each subsection including questions and suggestions for the reader. You may want to review it.


Update: Add keywords to query index and for token search logic

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix https://github.com/hlxsites/accenture-newsroom/issues/500

https://github.com/hlxsites/accenture-newsroom/issues/500

Test URLs:

Before: https://main--accenture-newsroom--hlxsites.hlx.page/
After: https://search-keywords--accenture-newsroom--hlxsites.hlx.page/

One small note - I don't see any article actually using keywords metadata. so it might not have an impact.


Refactor the list store, so that there is one store per list

This pull request fixes the "something went wrong." error you sometimes get when navigating between lists (for example, from the object list to the person list).
The problem is that there is one list store; the reset between navigating must be fixed.
I fixed this by placing each list in its own context. So, each list uses a separate store.
This new structure of the list store is very similar to the setup of the searchable filter store and is based on the Zustand docs: https://docs.pmnd.rs/zustand/guides/typescript#bounded-usestore-hook-for-vanilla-stores
The proposed Typescript solution from Zustand does require a required selector. So not const store = useListStore() but const sortBy = useListStore(s => s.sortBy). Using a selector is also preferred because it will limit the react renders.

The end-to-end tests are failing because the back button from the object page also needs the store. But now, the back button does not have this context.

@sdevalk I needed to update this pull request code. The details pages also need the list store to set the correct search parameters when navigating back to the list. With the first version of this pull request, the detail page could not use the list store. With the new changes, every list (datasets, objects, persons, communities) has the next structure.
<Layout with a ListProvider> <-- `baseUrl` and `defaultSearch` are set here once

  <Page with a list>
    <ListStoreUpdater /> <-- This will update the list store based on the search params
  </Page with a list>

  <Page with details>
    <ToFilteredListButton />  <-- This button will navigate back using the search params from the store
  </Page with details>

</Layout with a ListProvider>

I needed to move the object page.tsx and objects/page.tsx to the route group (objects) so the new layout with the ListProvider was only used for the object pages.
I also fixed a non-related failing end-to-end test.


Stream times are not synchronized

Hi, I have tried to plot the channel data through EEGLAB, but however, the event markers are all at time = 0.
The data was EEG data from Muse2 Headband and the events were from python (pylsl) as a marker stream.
This is the python code :
import serial
from pylsl import StreamInfo, StreamOutlet, local_clock
serial_port = 'COM4'
baud_rate = 9600
ser = serial.Serial(serial_port, baud_rate)
info = StreamInfo('MyMarkerStream', 'Markers', 1, 0, 'string', 'myuid34234')
outlet = StreamOutlet(info)
while True:
try:
line = ser.readline().decode('utf-8').strip()
timestamp = local_clock()
print(type([line]))
outlet.push_sample([line], timestamp)
print(f"Sent data: {line} hz at time: {timestamp}")
except KeyboardInterrupt:
print("Exiting...")
ser.close()
break
except Exception as e:
print(f"An error occurred: {e}")

Please put triple-backticks before and after your code block so it is more legible.
But, as I mentioned in https://github.com/xdf-modules/xdf-Matlab/issues/18, there's no problem with your Python code. The problem is either in how you're loading the data into EEGLAB or it's originating from the Muse source. I think the latter is more likely.
Can you please provide details about how you're getting an LSL stream from your Muse device?

Hi, I installed Muse LSL from this website ( https://github.com/alexandrebarachant/muse-lsl ), and type "muselsl stream" in the command line to start streaming.


Allow the follower partially follow the target in selected axis; allow align relative to Portal

Is your feature request related to a problem? Please describe.
I have widget A (the red one in demo image) in my widget tree somewhere. Then I want to create widget B (blue one) by the following rules: Its x should be the width of screen. Its y should be the same as widget A (red one).
I know how to fully follow another widget by using PortalEntry's childAnchor and portalAnchor, but do not know how to do it partially only on one dimension.
Image illustrating my question (just Photoshoped it, not a screenshot):

Thanks very much!
Describe the solution you'd like
N/A
Describe alternatives you've considered
N/A
Additional context
N/A

Hello!
Do you have a concrete example in mind rather than an abstract one?

@rrousselGit Yes. But the widget A and B are both very complex and unrelated to this question

What about having the Overlay take the full width (but not height) , then use a padding/center to align it yourself?

Like:
PortalEntry(
  entry: Container(height: 100, width: double.infinity, color: Colors.red),
  child:...
)

Sounds great! I have thought about that, but never think of width: double.infinity. So it will automatically be clamped into the screen width?

Fixed.


wasm-pack install check

added the ability to check if wasm-pack is installed, and install it if it's not.
output (when not installed):
❯ wrangler build
🌀  Running rust-worker-build --release
Installing wasm-pack...
    Updating crates.io index
  Installing wasm-pack v0.10.0
  Downloaded num v0.4.0
  Downloaded security-framework v2.4.0
  Downloaded num-bigint v0.4.0
  Downloaded security-framework-sys v2.4.0
  Downloaded num-rational v0.4.0
  Downloaded 5 crates (203.7 KB) in 1.45s
   Compiling libc v0.2.101
   Compiling autocfg v1.0.1
   [...]
   Compiling hyper-tls v0.3.2
   Compiling reqwest v0.9.24
   Compiling wasm-pack v0.10.0
    Finished release [optimized] target(s) in 1m 58s
  Installing /Users/cass/.cargo/bin/wasm-pack
   Installed package `wasm-pack v0.10.0` (executable `wasm-pack`)
[INFO]: 🎯  Checking for the Wasm target...
[INFO]: 🌀  Compiling to Wasm...
   Compiling console_error_panic_hook v0.1.6
   Compiling web-sys v0.3.51
   Compiling edgeworker-sys v0.1.0 (/Users/cass/Projects/work/workers-rs/edgeworker-sys)
   Compiling macros v0.1.0 (/Users/cass/Projects/work/workers-rs/macros)
   Compiling libworker v0.1.0 (/Users/cass/Projects/work/workers-rs/libworker)
   Compiling worker v0.1.0 (/Users/cass/Projects/work/workers-rs/worker)
   Compiling rust-sandbox v0.1.0 (/Users/cass/Projects/work/workers-rs/rust-sandbox)
    Finished release [optimized] target(s) in 7.80s
[INFO]: ⬇  Installing wasm-bindgen...
[INFO]: Optimizing wasm binaries with `wasm-opt`...
[INFO]: Optional fields missing from Cargo.toml: 'description', 'repository', and 'license'. These are not necessary, but recommended
[INFO]: ✨   Done in 9.05s
[INFO]: 📦   Your wasm pkg is ready to publish at /Users/cass/Projects/work/workers-rs/rust-sandbox/build.
✨  Build completed successfully!

This script must specify the version of wasm-pack.
Also wasm-pack can be added to the Cargo.toml as a dependecy.


[Feature Request][Move Prover] Inherit aborts

🚀 Feature Request
Motivation
It would nice if there was some way to say "my function aborts if a function it calls aborts". This becomes an issue when you're calling a complex function from another module (which may not have a spec) and you don't want to (or can't) repeat all the failure conditions. pragma aborts_if_is_partial is a workaround, but it would be preferable to be able to keep the totality guarantee.
Pitch
A command that lets you "inherit" the aborts_if clauses of another function. As a first step, a slightly simpler option could be a pragma that lets you ignore aborts from a particular function.
module 0x42::InheritAbort {
    fun lots_of_aborts(x: u64) {
        // Lots of ways to abort
        assert!(x != 1, 1);
        assert!(x != 2, 2);
        assert!(x != 3, 3);
        assert!(x != 4, 4);
    }

    fun calls_lots_of_aborts(x: u64) {
        assert!(x != 0, 0);
        lots_of_aborts(x);
    }

    spec calls_lots_of_aborts {
        // Works, but not ideal:
        pragma aborts_if_is_partial;

        // Would be better:
        // pragma ignore_aborts_from(calls_lots_of_aborts);

        aborts_if x == 0;

        // Ideally could do something like:
        // aborts_if aborts(calls_lots_of_aborts);
    }
}

Thanks for bringing this up. This is a long standing feature request from the early days of the prover. Unfortunately, it is not easy to realize, if at all, in the more interesting cases where state is modified. Consider f aborts in dependency of the global state. Now you have fun g() { /* modify state */ f() }. Then aborts(calls_f) cannot be used a condition for g, because the aborts condition for g is based on the pre-state of g, but that of f is based on some intermediate state.
So why we could introduce a feature like suggested for 'pure' functions which do not modify state, we can't for general functions which do modify state.


Fix typo in systemd kubelet --api_servers flag.

Closes #5300

#5302 is out waiting on CLA :)

Aaaaand this is what I get for looking at issues but not open pull requests.

It's also a bit hard since non-owners can't assign to themselves :P


Error during the installation of Ponzu

I gave the installation command as stipulated on github: go get github.com/ponzu-cms/ponzu/...
and then get this error: go install runtime/internal/atomic: open /usr/local/go/pkg/linux_amd64/runtime/internal/atomic.a: permission denied
I checked all directory permissions on the path mentioned in the error and they seem the be ok, which is world reading rights. I'm using Go 1.8 on Debian. And my paths are set like this:
export GOPATH=/home/arjan/Development/Go
export PATH=$PATH:/usr/local/go/bin:$GOPATH/bin
Is this a bug or am I doing something wrong?

It seems that this issue is NOT related to ponzu. I just upgraded to 1.8 before installing ponzu. I'm getting this error in any of my projects. So it's a problem with my installation.

Hi @arjanvaneersel -
Sorry I didn't see this earlier. Thank you for reporting the issue, and updating it with your new findings. Hopefully you get the 1.8 install issue sorted out.. let me know if you don't and I can try to help, I use debian too.
I'd love to know how you're using Ponzu once you get it installed -- I noticed you also have a CMS project in Go! It would be great to have some more help on Ponzu, so if you find that any features you'd expect to have aren't present, feel free to open an issue and we can work on a new PR.
Thanks,
Steve

I simply removed the whole Go directory and reinstalled 1.8 and everything works well again. I do have another issue, but I'll post that tomorrow if I can't fix it.
The CMS on my github is far from finished and mainly experimental. I did write a CMS in Python before, but because I made the switch to Go I started experimenting to eventually rewrite in Go, if I can't find an already existing solution.
I was looking at Ponzu to make a quick and simple website for the Go user group I'm trying to start here in Bulgaria.
I'd be happy to help out and contribute to Ponzu, I already saw a request regarding i18n, which is something my sites would also need. In my Python CMS I did create a solution for that. However before I can contribute I need to get used a bit to Ponzu and study a bit more on how it works exactly.

That is great. Please do let me know if you can't fix the other issue and I'll do my best to help. Thank you for your help and if you find anything in the Ponzu core/internals that you have questions about, please let me know.
Some advice while investigating data/content... use the BoltGUI command to inspect the database (content, config and addons are in system.db and the API analytics are in analytics.db).. I think it will help you see how a lot of the content types and their related buckets work since BoltDB is kind of a black box without a way to look inside by default.
Feel free to jump into #60 and add to the discussion whenever you're ready -- I don't have much experience doing i18n, so any help is appreciated.


Create tests for HistoryManager class

Description
I took a shot at creating a test for the HistoryManager class.
This was called out as a need in #1963.
Checklist

[x] The base branch of this PR is dev, rather than main
[x] The relevant docs, if any, have been updated or created

Screenshots
N/A
Testing
cd core
npm test -- test/util/history.test.ts

@sestinj Thanks! I picked something that was low barrier to entry for my first commit. I'll definitely tackle something with some more significance next.


Accessing entities from other tenants

I have a need where I want to be able to access entities (including users, roles) from another tenant, that is one that is being set up to administer users and other items for other tenants.  I very well could be doing this in the wrong approach, but was just wondering if there were a way for this sort of functionality?
Any help is much appreciated!

Hi @ericsports
Are you using normal LINQ queries to try to access the entities that belong to other tenants?
If so this should be easy. Internally Finbuckle.MultiTenant sets a global query filter. This can easily be bypassed for a query as shown in this link:
https://docs.microsoft.com/en-us/ef/core/querying/filters#disabling-filters
Let me know how it goes.

That does the trick, thanks!


Prerendered content generates initial 500 status, then 200 on refresh

I cloned the repo today (the version that includes the PR to update deps to SK 1.0), installed the dependencies, committed and pushed to github.
Then I set up a project in vercel.  I did nothing to the settings - build defaults to detecting SvelteKit and I adjusted none of the commands.  I deployed.
Home page looks great! :)
But when I click on the blog link, I get a 500 error.
On refresh, the page renders as expected.
The same happens with every post inside of this page - initial 500, then displays.
This doesn't happen locally.
My next step is to test a local build and preview, but I'm running out of time this morning and wanted to get this issue written first.
I'll update with additional findings.

OK, my curiosity was greater than my reluctance to be late. :)
I build and previewed locally and there is no problem.
So I suspect there is a problem in the default settings of the vercel project.  Will update as I know more.

Dialed down node from default of 18,x to 16.x - no change.
Tried switching to the SvelteKit (Legacy Build) detector - no change.

Ah - it's the nav link itself - visiting the blog endpoint directly avoids the error.

Looks like this is an issue with Vercel and the static adapter, which was resolved in adapter-static version 1.0.1. I just pushed an update to package.json with the new adapter version, and can confirm it now renders properly on Vercel.

Awww yeah buddy! Works like a charm!
Thanks!


eral null

If this is a bug, please try reproducing using https://flow.org/try/.

WTF???

¯_(ツ)_/¯


Cannot access Numpy array as native type?

First, great library, thanks.
Second, I am working with Numpy, but am unable to use arrayAccess to get at the underlying data using the array type:
val data = py.module("numpy").arange(10)
println(data.dtype) // int64
println(data) // [0, 1, 2, ... 9]
println(data.arrayAccess(0).as[Long]) // Exception in thread "main" scala.MatchError: 0 (of class java.lang.String)

All array accesses seem to come back as strings (and are automagically converted back for floating types) independent of the underly numpy array type.
Is this a feature? bug? user error of some type?
Any pointers would be appreciated.

Try using the latest build of ScalaPy, 0.2.0+17-5b8100b9, which includes a rewrite of the Python interface to directly bind to native objects instead of going through Jep. That should fix the problem you're facing!

I have been using scala-core 0.3.0. I could not get the version you quoted to work -- the Maven artifacts seem broken. Did you really mean the 0.2.0 series? And, what is the difference between scalapy-core and scalapy?
I did try scala-core 0.3.0+xxxxx and everything successfully compiled, but several of my unit tests failed. The ones I investigated looked like scalapy bugs.
Here is one example:
val module = py.module("numpy")
val a = py.global.slice(py.None, py.None, py.None)
println(a) # (None, None, None)
val b = py.global.slice(5, 15, 2)
println(a) # (5, 15, 2)

Ah, yes, I meant ScalaPy 0.3.0+xxxxx (looks like the README version badge is broken).
 I ran it locally in a Python REPL and it seems to match ScalaPy's output pretty closely.
>>> print(slice(None, None, None))
slice(None, None, None)
>>> print(slice(5, 15, 2))
slice(5, 15, 2)

Turns out the problems were only occurring in my test environment and the failure modes ranged from incorrect results to segmentation faults. I haven't been able to extract a simple example that demonstrates the failure, but here is what I have so far.
The attached code (which depends on other packages I have embedded within a larger project) should produce:
slice(None, None, None)
slice(5, 15, 2)
slice(None, None, None)

but instead results in:
slice(None, None, None)
slice(5, 15, 2)
slice(5, 15, 2)

The uSlice variable comes from a package object. If I uncomment the local definition, then everything works correctly. If I remove the local block, everything works correctly.
My guess is the python object pointed to by uSlice is being freed in the local block and I am still trying to use it.
object ComputePython extends App {
  println("ComputePython...")

  // val uSlice = py.global.slice(py.None, py.None, py.None)

  local {
    val data = np.arange(100).reshape((25, 4))
    println(data(0\, 0\).toSeq == data.toSeq)
  }

  println(uSlice)
  println(py.global.slice(5,15,2))
  println(uSlice)
}

Hmm, not able to reproduce your code. I tried running a modified version of your example since data(0, 0) doesn't work since that would try to call an actual apply method (will create an issue to have arrayAccess support multiple indices). I was able to successfully run and produce the expected results.
My code:
object Test extends App {
  val np = py.module("numpy")
  val uSlice = py.global.slice(py.None, py.None, py.None)

  py.local {
    val data = np.arange(100).reshape((25, 4))
    println(data)
  }

  println(uSlice)
  println(py.global.slice(5,15,2))
  println(uSlice)
}

Are you using ScalaPy 0.3.0+16-e91c233e? There were some previous versions with use-after-free bugs.

Updating to 0.3.0+16 seems to have cured the test failures. Thanks.
Now I will look back at the original issue of accessing the NDAarray values.

Well, moving to the latest fixed some of he issues, but now I am getting a segmentation fault from what looks like try to free a slice twice.
I get the same problem with 0.3.0+16xxx as well as the latest code from master.
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  SIGSEGV (0xb) at pc=0x000000092305390f, pid=11786, tid=0x0000000000000d03
#
# JRE version: OpenJDK Runtime Environment (8.0_242-b08) (build 1.8.0_242-b08)
# Java VM: OpenJDK 64-Bit Server VM (25.242-b08 mixed mode bsd-amd64 compressed oops)
# Problematic frame:
# C  [Python+0x5090f]  slice_dealloc+0x2a
#

hs_err_pid11786.log

I think we are past it, but for what it is worth the original example doesn't work for me either (on master). The error I got was different -- basically ScalaPy was calling CPython methods that don't exist on numpy arrays. If I perform the conversion at the beginning
val data = py.module("numpy").arange(10).as[Seq[Int]]
println(data(0))

then that runs. Presumably because it summons different Reader instances.

Since there's a new issue #49 for the reference counting bug, I'm going to use this issue to track the limitations of .arrayAccess with NumPy arrays.
@bfdes the reason things don't work without the .as[Seq[Int]] is because without the conversion you are dealing with a dynamic Python value, so the call data(0) is interpreted as a calldata.apply(0) to be run in Python. The API to perform a dynamic indexing operation would be data.arrayAccess(...), but right now it only supports a single index instead a tuple of them as is often used for NumPy.

@shadaj Sorry, I should have clarified that I had to use data(0) because of the early conversion.


Create 7 - Transfer Dataset to S3.ipynb

LMK what you think.
I think transferring from S3 to local can be thru docs, cause it isn't much notebook to run.

This is a good start but I wanted to put this tool in the dsdk. I was about to start on a PR.

🤔 Seems a bit simple but OK. Feel free to yoink anything of use.

We need to add a warning to this notebook, and try to give them a rough cost estimate. Something with these notes:

While the data set subscription as provided is free, exporting and downloading the data set will incur a real money cost to your AWS bill according to their pricing.
Even if you are on the AWS free tier, the volume of data in this data set may exceed the free tier limits.
If you setup auto-export of the data, you will get daily exports into your S3 bucket until you disable the automatic process. This will incur increasing daily storage cost.
Downloading data from S3 to the internet, including your local machine, will cost money.
Exporting the data from the data exchange to a bucket outside of the region the data set is hosted in will incur additional cost.
FPS Critic Inc., makers of PureSkill.gg, is not liable for any AWS costs your incur. Run this notebook only if you understand and accept the AWS billing implications.

Calculator to link to https://calculator.aws/#/createCalculator/S3
We can create and share a few estimates and link to them here.

Estimates we can generate:

Cost per 30 revisions / month for storage only.
Cost per 30 revisions / month for download only.
Cost per 30 revisions / month for storage and download.
Cost per 30 revisions / month for storage and download, also assuming bucket is in another region.

I updated master with the latest dsdk version. Let's make a new branch from that and use the new functions.


Added image urls

Added image urls for books

I think we'll use open library covers for this in our project as task :)
Thx <3
https://openlibrary.org/dev/docs/api/covers


Visual popup types

About the PR
Allows popups to pick from one of 4 variations, which vary in size and color. This is to help differentiate popups from eachother and make it clear which ones are more important.
Not super tied to the colors or font size or anything so feel free to give feedback on that. The medium/large gray especially idk about
Generally:

'Failure' popups are smaller compared to 'success' popups
When popups change between the user/others, the one shown to the 'user' should be larger
Actions which are immediately dangerous/life-threatening or which immediately kill someone should be critical

Screenshots

https://user-images.githubusercontent.com/19853115/177869721-66555896-58d0-4c27-98fc-a5223fc12167.mp4
In severity order:

Changelog

:cl:

add: Many popups now vary in size and color.

might make the small popup white and change the medium/large colors to the old lightgray?

i might do uhhh
Small,
SmallCaution,
Medium,
MediumCaution,
Large,
LargeCaution

instead of the 4 i have rn, with the caution just being a red variant. not sure yet


Dev

Ⅰ. Describe what this PR did
add a unit-test for ports.go
Ⅱ. Does this pull request fix one issue?
fix issues #1906
Ⅲ. Describe how you did it
Build unit test by condition combination coverage(ccc).
Ⅳ. Describe how to verify it
By code review and walk-through
Ⅴ. Special notes for reviews
Hidden danger of nil pointer is not covered in our test collections
Come from Group 5

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 2 committers have signed the CLA.:white_check_mark: YaoZengzeng:x: scuzhangp123You have signed the CLA already but the status is still pending? Let us recheck it.


Mantle Testnet

Chain Name
Mantle testnet
Website
https://mantle.xyz
ChainId
5001
RPC
https://rpc.testnet.mantle.xyz
Block explorer
https://explorer.testnet.mantle.xyz

Done, please let us know when it's deployed

Done.  @Uxio0 https://explorer.testnet.mantle.xyz/tx/0xb36509a56be6942417e5bca647240ff81c643ea84e49d56cb24e1b322d1b440d


routerView + transition +keepAlive  Page component switching exception

Vue version
3.2.45
Link to minimal reproduction
https://stackblitz.com/edit/vitejs-vite-tpdwcn?file=src%2Fviews%2Fhome.vue&terminal=dev
Steps to reproduce

modify any content in the script tag of the home.vue  component
Click on the about link in the page
the page component is not loaded properly

If you do not do the above operation, directly click the home and about links in the page to switch pages without any exception
What is expected?
Page components load normally
What is actually happening?
The page does not switch properly
System Info
System:
    OS: macOS 13.2
    CPU: (12) x64 Intel(R) Core(TM) i7-9750H CPU @ 2.60GHz
    Memory: 92.27 MB / 16.00 GB
    Shell: 5.8.1 - /bin/zsh
  Binaries:
    Node: 19.5.0 - ~/.nvm/versions/node/v19.5.0/bin/node
    npm: 9.3.1 - ~/.nvm/versions/node/v19.5.0/bin/npm
  Browsers:
    Chrome: 109.0.5414.119
    Safari: 16.3
  npmPackages:
    vue: ^3.2.45 => 3.2.45

Any additional comments?
After testing, I found that it is the problem of wrapping and animation of transition formation in layouts/BasicLayout.vue component, but I don't know the exact cause and how to solve it

Duplicate of #7121


chore: clarify the policy about new features

I think we can make exceptions for APIs that we are highly confident will not yield unexpected behavior. E.g. #5573 is fine to add as stable.

Do we have a mechanism to mark APIs as unstable? Is there a special jsdoc markup?

Yes for symbols https://jsr.io/@std/cli/doc/~/Spinner
But I'm not sure about the way to mark specific parameter in function as unstable. (which is necessary for the case like #5573 )

@kt3k sadly both jsdoc and tsdoc dont have a way to mark unstable/experimental parameters. the only way i can think of is having overloads, where the overload with an unstable parameter is marked as unstable

@crowlKats Ah, ok. Thanks for the input! Then we probably need to do overloads when an API is partially unstable.


Bug: Incomplete option description in README

In README.md, the output option is describes as following:
output: Where to

that looks incomplete.
Also, I don't quite understand the role of an output option if the output is specified through gulp.dest ?

@franciov
Thanks for bringing this to our attention.
It seems like the option output is not even supported within the pipeline.  My guess is that is was intended to support a custom output directory for sourcemaps, similar to the pipeline-minify-js project
https://github.com/kenzanlabs/pipeline-minify-js#options
Similar to your questions here https://github.com/kenzanlabs/pipeline-minify-js/issues/11, I do see that there is some ambiguity / confusion regarding the similar but not clear options for these related pipelines.
It seems then that in both cases, the options should be similar.  Here is a revised spec, let me know your thoughts

generateSourcemaps: By default (true) the pipeline will generate sourcemaps and output them to the default output directory dest.  If set to false sourcemaps won't be generated for the compiled files.  If a string is passed, sourcemaps will be written to this custom directory instead.
plugins: Captures all of the specific configurations for the plugins used in the pipeline.

concat: By default the pipeline will concat all files to a single file, in the format of '{packageName}.min.js'.   If set to false the pipeline won't concatenate the files into a single generated file.  If a string is passed, this will override the default files with this custom one instead

plugins.cleanCss: Minifies CSS files using clean-css default configuration. You can provide your own minification rules by passing in your own object instead

cc: @jpoo90

@obuckley-kenzan @jpoo90 Here are my points:

I like having parameters with 3 states: true, false and {}. IMHO it should be like this for every parameters, so we keep some consistency.
I see the advantage of explicitly exposing the internal implementation in the pipeline plugins option. I wonder if this choice can limit what we can do with the pipeline, in the case we have a specific user/developer need that can't be satisfied with 1 plugin, instead need a brand new implementation mixing 2 or more npm modules / gulp plugins.
Also, shouldn't the options map the user/developer needs more that expose the internal implementation choices?

This is what I mean using pseudo-code:
{
  generateSourcemaps: true || false || {
    dest: 'thesourcemapfolder'
  },
  concat: true || false || {
    dest: '{packageName}.min.css'
  },
  clean: true || false || {
    something: 'aString'
  }
  }
}

Similar answer here https://github.com/kenzanlabs/pipeline-minify-js/issues/11.

I see your point, what I was trying to do with the plugins property was to provide an easy way to override our (opinionated) defaults.  Anything not in the plugins namespace is specific to our pipeline (like the option to generate sourcemaps)


WIP: Create update command for osm controlplane update

Signed-off-by: Nitish Malhotra<EMAIL_ADDRESS>Please describe the motivation for this PR and provide enough
information so that others can review it.
Please mark with X for applicable areas.

[ ] New Functionality
[ ] Documentation
[ ] Install
[ ] Control Plane
[X] CLI Tool
[ ] Certificate Management
[ ] Networking
[ ] Metrics
[ ] SMI Policy
[ ] Security
[ ] Tests / CI System
[ ] Other

Please answer the following questions with yes/no.

Does this change contain code from or inspired by another project? If so, did you notify the maintainers and provide attribution?

No

@draychev @shashankram I am trying to write unit tests for the update command.
The install command installs a new object, into an empty store
The delete command just stores the release name in the helm store
Using the below release.Mock,
rel := release.Mock(&release.MockReleaseOptions{Name: meshName})
store.Create(rel)

, how can I populate the store with an installed object that I would want to update.
I am not savvy with Ginkgo and Behavior testing in general. If I try calling installCmd.run() and then do a updateCmd.run() the test seems to fail.

Thanks for working on this @nitishm ! Left a few comments in line. Would be great to separate this into two PRs. One for just adding the update action and restricting the flags/fields for update to those outlined in the osm configmap called osm-config (see charts/osm/templates/osm-configmap) and another PR for consolidating/DRY-ing up code. That would make this much easier and speedier to review. Lmk what you think.

@michelleN Moved the PR to #1625
With the latest PR, DRY-ing the code does not make sense at this point but yes eventually we should abstract certain things away, into their own modules.

Thanks for working on this, @nitishm! It looks like you're continuing to work on this in #1625 and possibly follow-up PRs. Is it Ok to close this PR then?

Thanks for working on this, @nitishm! It looks like you're continuing to work on this in #1625 and possibly follow-up PRs. Is it Ok to close this PR then?


Disconnection when falling in void on 1.11.2

What is the output link of /viaversion dump?
Are you using any additional software like BungeeCord? If so, what software and version? (Please list your plugins as well)
How does this error happen? login? Using an item?
Is there an error in the console? Use pastebin.com. Is there a kick message?

Consider filling out the form fully, providing vague information does not help us replicate nor solve the issue.

See above.

The server thinks it's getting a billion packets per second from the client when in the void even though on client side it's sending absolutely no packets at all to the server

If you fall into the void you'll get kicked before you can respawn and then you'll be in an infinite loop.

1.11.2 client and 1.8.9 server

It doesn't happen on 1.12 for me, I guess this issue is irrelevant now I just need to update my forge mod.


Misspelling: mySampleDatabase > mySampleDataWarehouse

In the sentence No. 2 of the section "Create a server-level firewall rule", I think "mySampleDataWarehouse" is correct instead of "mySampleDatabase".

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

ID: 90467e66-9062-01e3-6d40-fce8625d005b
Version Independent ID: 8db6b4e9-fd3a-8b45-1283-7f7144772a88
Content: Quickstart: Create and query Azure SQL Data Warehouse - Azure portal
Content Source: articles/sql-data-warehouse/create-data-warehouse-portal.md
Service: sql-data-warehouse
Sub-service: development
GitHub Login: @XiaoyuMSFT
Microsoft Alias: xiaoyul

@nakazax Thank you for pointing the issue. I have updated the doc accordingly.
The changes should be live EOD or tomorrow.
In future, if you see any minor bug fixes in the doc, feel free to click on the edit button and submit a PR to update. We love taking contributions from the community.

@nakazax The changes are merged. We will proceed to close this issue now.
If there are further questions regarding this matter, please comment and we will gladly continue the discussion.


gl-assign-attrib-pointers returning bad offset

defstruct-gs' #'cepl.internals:gl-assign-attrib-pointers implementation is returning bad values for final offset. Only matters when have buffer-stream with struct of structs or streams with multiple seperate buffers (which I've done less of).
Example offsets for g-pnt & cone-data
0
1
2
9
10

The issue is that offset is multiplied by element length which is correct for arrays and wrong for vectors/matrices

wrong...it's way dumber. Its that the number returned is the length of the definitions var which would be great..except that we have multiple forms per definition (3 in this case) so the value is 3 times to large...fucks sake


mixed import and require on same file deactivates plugin

What's the expected output in the case where you have both ES6 import and Commonjs require in the same file? For example
import foo from './foo'
const bar = require('./bar')

console.log(foo(), bar())

whenever I have ES6 import and Commonjs require in the same file, it seems the plugin simply ignores it altogether and doesn't import anything besides ES6 modules?

@adrianheine any why is that considered ok?

This bite me when working on a TypeScript project with rollup, I have to mix require and import to bypass the enforced type checking:
const styles = require('./styles/styles.css');
// the css file above will be converted to an ES module by another rollup plugin
// changing it to import causes resolve error and also confuses IDE
// now the require is ignored by rollup
import lib from './lib';

lib(styles);

Any ideas or solutions are appreciated 😃

Unfortunately, mixing import and require is a "Webpackism" that is not supported by Rollup. Rollup only understands ESM, importing CommonJS (which uses require) is handled by rollup-plugin-commonjs which will skip this file due to the presence of the import statement.
Rollup is not able to completely replicate the semantics of require so I would seriously recommend to try to find a way to make import work.

Closing this issue, but please feel free to re-open if you are unable to make import work.


beam_size == 1 for self-critical decoding?

The paper 'Self-critical Sequence Training for Image Captioning' mentions that our baseline is greedy argmax decoding, which is the same as the inference time technique used.
If that's the case, shouldn't the beam size for inference be always 1? If we just choose argmax at each step, there's just one possible way of forming a sentence right?

There is no specific connection between baseline and inference method. They can be different.
SCST uses greedy decoding during inference time because beam search doesn't boost the performance much.


WIP CLOUDSTACK-10278 idempotent column addition

this script has been modified to add a stored procedure that allows a developer to call it in order to add a column in an idempotent manner to a table. This means that running the same script more than once will not cause an error trying to add the same column again. It will have not effect. The script needs to tested by running an upgrade from 410 to 411 and then re-run the upgrade to test if it is idempotency.

@fmaximus adding you to reviewers as the report on users@ list is about for_vpc in networkoffering

@rhtyd I think this warrants a <IP_ADDRESS> (as opposed to <IP_ADDRESS>) , right?

@ernjvr can you change the base branch of your PR to 4.11, the issue may be caused to select set of users who may have the structural changes in the existing environment. Instead of a new release, such users can be advised to use jar uf <mgmt server jar> <updated files> to update the schema changes/files. We can aim to include this fix for future <IP_ADDRESS>

this seems unnecessary.

@rhtyd changed base branch to 4.11

@ustcweizhou did you see the report on users@?

@ernjvr  you need to really reapply this commit on 4.11 to avoid pulling in those newer commits.

@rhtyd for avoiding an extra update script it makes sense to release it as <IP_ADDRESS> otherwise i am fine with any version, even 4.12

@ernjvr some error reported by travis on the sql

@ernjvr looks like you got ~5500 line changes, this does not look right.. maybe you submitted the PR when your branch was not in complete sync with latest master? Can you please look into that and submit your changes only?

@DaanHoogland @rhtyd
I would suggest to use Flyway instead current upgrade path from 4.11.

@ustcweizhou I agree that something like that would be preferable but someone has to take the heat on implementing that. And nobody is taking the time for such a technical/non-functional improvement.

@rhtyd @ernjvr @DaanHoogland
As I know, this sql can be imported by mysql command, but can not be called in java.
A feasible way is to add a method in performDataMigration in engine/schema/src/com/cloud/upgrade/dao/

@ustcweizhou I ran into that issue as well. adding the required items from java seems a feasible way to make them idempotent indeed.
another solution would be to query the table description before adding

@borisstoyanov yes, it's the way com/cloud/utils/db/ScriptRunner.java reads the META-INF/db/schema-41000to41100.sql file. It reads each line at a time and executes the sql as soon as it reads in a line that ends with a semicolon delimeter at the end. my stored procedure had many lines ending with semicolons. So it executed an incomplete stored procedure definition. I fixed by moving all lines that end with a semicolon onto one line, so that it can read in and execute the whole stored proc definition.

Thanks @ernjvr,
@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✖centos6 ✖centos7 ✖debian. JID-1716

@blueorangutan package

@borisstoyanov a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

@DaanHoogland @rhtyd @fmaximus new changes pushed. will you please review?

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1717

@blueorangutan test

@borisstoyanov a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2262)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 28835 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2449-t2262-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 66 look OK, 1 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_hostha_enable_ha_when_host_in_maintenance
Error
1.86
test_hostha_kvm.py

After this script is merger, we will have to enforce that everyone creating scripts to alter tables to use the so called "IDEMPOTENT_ADD_COLUMN", is that the case?

Folks, what are the thoughts here? use this ad-hoc approach? Work a bit harder to a more comprehensive solution using a framework/system to control DB data model upgrades?

Hi Rafael, guys. Any resolution regarding this PR? Perhaps this PR as an interim solution until someone has an opportunity to do a more comprehensive solution?

@ernjvr I think you want to address @rafaelweingartner instead of Rafael. Better change on reaction.

@ernjvr I would go with this one. It does not mean that I like this type of solution. It is a palliative one, and we already have so much of these things around. However, I do understand that to change the database upgrade scheme that we use now is something way more complex (at least to do something good). I would expect us to change the DB schema upgrade method in a future ACS 5 for instance.

@ernjvr have you tested it ?
If you import this sql file into mysql or mariadb, it might work.
However, In my experience, java does not accept procedure in sql. It uses CallableStatement
https://docs.oracle.com/javase/7/docs/api/java/sql/Connection.html#prepareCall(java.lang.String)

Thanks for the tip @DaanHoogland. Understood @rafaelweingartner. Yes @ustcweizhou, I tested with both mysql and java. In my java test class, I invoked the com/cloud/utils/db/ScriptRunner.java to execute the engine/schema/resources/META-INF/db/schema-41000to41100.sql script, since this same class is invoked during the upgrade to execute these schema-xxx.sql scripts.

Discussion seems to go stale, are we now done with all comments @ernjvr ?
@blueorangutan package

@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1783

I believe so, but we still need to find a better way technical and protocol to better manage data model changes in the database.

@blueorangutan test

@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Trillian test result (tid-2377)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 27933 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2449-t2377-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 65 look OK, 2 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_rvpc_network_garbage_collector_nics
Failure
502.65
test_vpc_redundant.py

test_hostha_enable_ha_when_host_in_maintenance
Error
2.79
test_hostha_kvm.py

@fmaximus @rafaelweingartner @marcaurele @rhtyd @ustcweizhou , can we please have further reviews for this? (or mpre discussion) Of couse a flyway kind of solution need to be our long term solution.

I think we can go forward with this PR. I notice a Flyway DB PR, but that is not all. We need a protocol to create/maintain scripts (especially scripts created in minor versions). Also, in my opinion, if we are going with flyway, we need to lock down on a version, and remove all legacy thing.

@ernjvr what are the benefits of using such store procedure versus using the explicit SQL syntax IF NOT EXISTS / IF EXISTS during ALTER TABLE queries?

https://mariadb.com/kb/en/library/alter-table/#add-column

@marcaurele using these stored procedures adds functionality independent of any database version. I did consider the IF NOT EXISTS option. According to the link you supplied it is only available from version 10.3.0 but the according to the installation guide "CloudStack has been tested with MySQL 5.1 and 5.5. These versions are included in RHEL/CentOS and Ubuntu." The stored procedures also address foreign keys and indexes.

@blueorangutan package

@ernjvr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1826

@blueorangutan test

@ernjvr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan package

@ernjvr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1832

@blueorangutan test

@ernjvr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@blueorangutan package

@ernjvr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress.

Trillian test result (tid-2416)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 92522 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2449-t2416-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_affinity_groups_projects.py
Intermitten failure detected: /marvin/tests/smoke/test_affinity_groups.py
Intermitten failure detected: /marvin/tests/smoke/test_deploy_virtio_scsi_vm.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 61 look OK, 6 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_DeployVmAntiAffinityGroup_in_project
Error
873.32
test_affinity_groups_projects.py

test_DeployVmAntiAffinityGroup
Error
872.70
test_affinity_groups.py

test_04_restart_network_wo_cleanup
Failure
4.09
test_routers.py

test_04_rvpc_network_garbage_collector_nics
Failure
448.51
test_vpc_redundant.py

test_01_redundant_vpc_site2site_vpn
Failure
314.15
test_vpc_vpn.py

test_hostha_enable_ha_when_host_in_maintenance
Error
3.45
test_hostha_kvm.py

test_hostha_kvm_host_recovering
Failure
1491.02
test_hostha_kvm.py

Packaging result: ✔centos6 ✔centos7 ✔debian. JID-1837

@blueorangutan test

@ernjvr a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

@rhtyd @rafaelweingartner do you approve?

I am ok with the changes here.

Trillian test result (tid-2420)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 107191 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2449-t2420-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 62 look OK, 5 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_restart_network_wo_cleanup
Failure
2.80
test_routers.py

test_04_extract_template
Failure
128.35
test_templates.py

ContextSuite context=TestISOUsage>:setup
Error
0.00
test_usage.py

test_06_download_detached_volume
Failure
137.56
test_volumes.py

test_04_rvpc_network_garbage_collector_nics
Failure
485.72
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Failure
298.51
test_vpc_redundant.py

test_05_rvpc_multi_tiers
Error
322.34
test_vpc_redundant.py

If this one is merged, we will need another PR to organize things at the master version. To create the upgrade path from <IP_ADDRESS> to 4.12

Will re-kick test.
@blueorangutan test

@rhtyd a Trillian-Jenkins test job (centos7 mgmt + kvm-centos7) has been kicked to run smoke tests

Upgrade Test Result: I installed a version 4.6 environment, created a few networks: isolated, shared, vpc and created vms on each. I proceeded with the upgrade to 4.11 using this PR code. After the upgrade i had to add missing braces to some environment variables in the /usr/lib/systemd/system/cloudstack-management.service file and also had to configure the /etc/default/cloudstack-management file with the correct 4.11 environment variables. After starting the management server and running the migrate-dynamicroles.py I was able to log in to the UI and observe that the vms were back up and running. A successful upgrade.

merging based on LGTMs and test reports

Trillian test result (tid-2429)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 106423 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2449-t2429-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_public_ip_range.py
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_templates.py
Intermitten failure detected: /marvin/tests/smoke/test_usage.py
Intermitten failure detected: /marvin/tests/smoke/test_volumes.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 61 look OK, 6 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_restart_network_wo_cleanup
Failure
2.78
test_routers.py

test_04_extract_template
Failure
128.31
test_templates.py

ContextSuite context=TestISOUsage>:setup
Error
0.00
test_usage.py

test_06_download_detached_volume
Failure
136.58
test_volumes.py

test_04_rvpc_network_garbage_collector_nics
Failure
481.47
test_vpc_redundant.py

test_hostha_enable_ha_when_host_in_maintenance
Error
3.46
test_hostha_kvm.py

@DaanHoogland are you going to introduce the changes here in master as well?

Trillian test result (tid-2434)
Environment: kvm-centos7 (x2), Advanced Networking with Mgmt server 7
Total time taken: 95679 seconds
Marvin logs: https://github.com/blueorangutan/acs-prs/releases/download/trillian/pr2449-t2434-kvm-centos7.zip
Intermitten failure detected: /marvin/tests/smoke/test_routers.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_redundant.py
Intermitten failure detected: /marvin/tests/smoke/test_vpc_vpn.py
Intermitten failure detected: /marvin/tests/smoke/test_host_maintenance.py
Intermitten failure detected: /marvin/tests/smoke/test_hostha_kvm.py
Smoke tests completed. 63 look OK, 4 have error(s)
Only failed tests results shown below:

Test
Result
Time (s)
Test File

test_04_restart_network_wo_cleanup
Failure
4.09
test_routers.py

test_04_rvpc_network_garbage_collector_nics
Failure
557.43
test_vpc_redundant.py

test_02_cancel_host_maintenace_with_migration_jobs
Error
3.28
test_host_maintenance.py

test_hostha_enable_ha_when_host_in_maintenance
Error
2.51
test_hostha_kvm.py

@DaanHoogland here we have the same "test_04_rvpc_network_garbage_collector_nics" test appearing.

@rafaelweingartner the changes should be forward merged to master and i am procastrinating that task.
I see that test was not on my eyes as being unstable yet. maybe something got merged ;)

I noticed that you did not forward the merge of this PR. I actually put this in my task list, but if you are going to do I will wait for you.

I closed the revert PR because after re-reading this one I got confused. Did we have an upgrade problem between 4.10 and 4.11, and that is why this PR was created?

@rafaelweingartner this was fixing a 4.10 to 4.11 upgrade and yes it should go into 4.11.1 and not 4.11 but the upgrade will still fail for people with backported features So please revert the revert

@rafaelweingartner also the upgrade from 4.11 to 4.11.1 has been created in #2490 . it isn't merged yet :(

@rafaelweingartner I've fwd merge after apply <IP_ADDRESS> on 4.10->4.11->master. I'll discuss (in coming week) about <IP_ADDRESS> release that will most likely be before <IP_ADDRESS>, in which case we can rename the paths as follows:
<IP_ADDRESS>-><IP_ADDRESS>-><IP_ADDRESS> on master branch.

@DaanHoogland I did not revert the code. I only created the rever PR, but after thinking I closed it.
I thought this was a little confusing because people using 4.11 already would not have this script executed. Therefore, this can cause problems when upgrading to 4.12, if we use the procedures created by this PR in 4.12.
Thanks for the feedback guys.
Wish you a happy Easter.


"Only one free account" - What to do?

Describe the bug
When creating a QnA Maker bot, I'm getting this error:

I'm in a paid azure subscription ("team-dev-cmullins") that has many Azure resources. Why can't I create a QnA Maker resource? At the very least, can I get a link to a doc or another mechanism to fix this? Given this is very much a premier Bot Framework scenario, guidance here is important.
(Note: I actually do not understand why I'm getting this.)
Is the best way around this to go to Azure, create a QnA Resource, and give it an S0 pricing tier? If so, can we explicitly enable this in the creation flow here? At the very least, tell me how to do this and give me a link.

Version
Version:  1.4.0-nightly.237101.f01cb52
Electron: 8.2.4
Chrome: 80.0.3987.165
NodeJS: 12.13.0
V8: 8.0.426.27-electron.0

Same as #6866

Dupe of #6866. Closing.


Update policies

Dear Sir,
If you look at the version of Oracle Java 8, two versions are always released. I understand that 191 is a critical patch (eg 191, 192) and 192 is an extension.
However, some critical patches,you  have not been released. Why is this.
Also, is the critical patch installer not including past enhancements?

Hi @oderaita - AdoptOpenJDK has decided to go for a PSU release policy, that is we release the later number (e.g. 192) which includes the CPU security fixes from (e.g. from 191).  Our consumers have overwhelmingly voted to have both the security fixes as well as the extra stability fixes.
Is there a particular need by your organisation to have the CPU build only?

Hi @oderaita. Does Martijn's answer above answer your question? Thanks in advance

Closing due to lack of requested feedback. We're happy to reopen the issue if feedback is provided by the OP (or anybody else) at a later date.

Yeah the TSC voted that we'd only be doing PSU releases.  We've had no users asking for CPU only releases.


Input field behavior is wierd when typing character k

Input field behavior is wierd when typing character k
Steps to reproduce the issue

press cmd + k (chrome, firefox, safari on macOS)
key in character k anywhere, oops

What's the expected result?
key in character k immediately
What's the actual result?
k appears only when the key is pressed and held
Additional details / screenshot

scoutbar @ 1.1.8
demo site

That's really weird let me look into it.

Hey @alanaudi thanks for raising this a fix has been sent on a new version here
https://www.npmjs.com/package/scoutbar/v/1.1.9


KAFKA-15607:Possible NPE is thrown in MirrorCheckpointTask

In the syncGroupOffset method, if targetConsumerOffset.get(topicPartition) gets null, then the calculation of latestDownstreamOffset will throw NPE. This usually occurs in this situation: a group consumed a topic in the target cluster previously. Later, the group offset of some partitions was reset to -1, the OffsetAndMetadata of these partitions was null.
It is possible that when reset offsets are performed in the java kafka client, the reset to -1 will be intercepted. However, there are some other types of clients such as sarama, which can magically reset the group offset to -1, so MM2 will trigger an NPE exception in this scenario. Therefore, a defensive measure to avoid NPE is needed here.

Thanks @hudeqi, I think this is reasonable. Do you know why Sarama sets offsets to -1? If it's for normal operations and not indicative of something wrong, we may not even need to log a warning message here and could change the check here from !targetConsumerOffset.containsKey(topicPartition) to targetConsumerOffset.get(topicPartition) == null.

Thanks @hudeqi, I think this is reasonable. Do you know why Sarama sets offsets to -1? If it's for normal operations and not indicative of something wrong, we may not even need to log a warning message in that case and could change the check here from !targetConsumerOffset.containsKey(topicPartition) to targetConsumerOffset.get(topicPartition) == null.

Thanks your review. @C0urante . In fact, directly resetting to -1 is an abnormal operation, whether for Sarama or other clients. This problem was discovered in this way: when using the Sarama client, we wanted to reset the group's offset to the latest, so we passed in the OffsetNewest in Sarama as a parameter to call the reset offset method. Finally, it was discovered that the offset was reset to -1. The reason is that the value of OffsetNewest is -1. For Sarama, resetting to the latest should be another operation process, but this kind of misoperation is not intercepted like the java client, which can be deal friendly. So this issue occurred when encountering scenarios like MM2. So I think it is better to add a warn log here.

Makes sense, thanks for the explanation @hudeqi!


Issue #33. Introduce qualifiers to @SubResource

Changes Unknown when pulling 75a53c80cc1cc14dd9a8e1250287f5b5da4d4be1 on issue_33 into ** on master**.

Changes Unknown when pulling b9eb4286f8c26ccab117455440d1793d5f5410f8 on issue_33 into ** on master**.

Changes Unknown when pulling b9eb4286f8c26ccab117455440d1793d5f5410f8 on issue_33 into ** on master**.

Changes Unknown when pulling a552b874449f92aa15b151ff98bd47712a3a8e9b on issue_33 into ** on master**.


Immediate Execution of Commands on a &mut World

Objective
Fixed #6184
Solution
This PR adds an Execute trait which is implemented for &mut World and &mut App. It allows the user to do this:
let mut world = World::default();
let _ = world.execute(|_world, mut commands| {
    /* ... */
});

As you mention in your doc comment, this is a very inefficient way to execute a command when you have a world available.
If this is only to be used for test, I would rather it being not available outside of tests

As you mention in your doc comment, this is a very inefficient way to execute a command when you have a world available.
If this is only to be used for test, I would rather it being not available outside of tests

I considered doing this initially. There is a couple of problems with this:

We can't just gate it behind #[cfg(test)], as it would also be useful for examples. So ideally it should be locked a feature of its own, but that's just extra build complexity for questionable benefit.
I've found this to be useful for debug UI code, such as with egui, where I want to have a button which executes a bunch of commands when I have &mut World access. So it's also useful for general diagnostics at runtime.

For these reasons, I decided keeping it available but with a warning in the comments is probably the best option.
Also, Execute is not imported with preludes. So that's an extra layer of "protection".

If this is only to be used for test, I would rather it being not available outside of tests

This came up before in my other PRs for testing utilities. I think that the trait (that's not in the prelude) is a reasonable approach. I would also support the creation of a bevy_testing crate to stick this sort of thing in, which would improve discoverability.

This came up before in my other PRs for testing utilities. I think that the trait (that's not in the prelude) is a reasonable approach. I would also support the creation of a bevy_testing crate to stick this sort of thing in, which would improve discoverability.

I like this idea, but I would suggest naming it some more generic like bevy_diagnostics. My rationale is that a lot of stuff like this that's useful for testing would also be useful for stuff like cheats, debug tools, or automation. If we name it bevy_testing, it'd imply it's only useful for testing.

Well, we have bevy_diagnostic. @mockersf, I'd be okay with testing utilities going in there!

Let me know if we want to move the entire implementation into a separate file execute.rs under bevy_diagnostic.

Yes please :)

Awesome. Can you add an example for this? Maybe in the root tests directory? I would suggest you link it from the Commands docs but we can't, because circular dependencies.

I added an example under how_to_test_commands.rs. It's hard to come up with a good use case for using a custom command without really explaining a system which might need it. I figured navigation might the best example, but let me know if you have better ideas. And for all regular commands, most of them are accessible through &mut World anyways.
Also, I'm not sure if it was just me, but an issue I discovered while testing:
world.spawn(()) seems to panic with "index out of bounds: the len is 0 but the index is 0". But commands.spawn(()) seems fine.

Today I realized I accidentally deleted the repository for this. 😢
I'll open a new PR in future.


⚠ Bofrost.fr has degraded performance

In 507dc1b, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1095 ms

Resolved: Bofrost.fr performance has improved in a1b9d27 after 7 minutes.


OKR discussion

Please comment below for next 2 months OKRs. We will be wrapping them up on 5/9 10am ET meeting.
@znarf @xdamman @clarete @HipsterBrown @cuiki
Support long term goal of 10x growth: increase $$$ from sponsors in donations by 15%
Sales goals

Grow 15% in new sponsors
Increase % existing sponsors give by 10%
Write-up and sharing a freelance sustainer position to find sponsorships for open collectives. (Pia)

Eng goals

Pledges (Nick) +Cuiki for design + François on automation

[ ] create Pledge model and API to create a Pledge
[ ] display Pledges on Organization / Backer pages
[ ] create suggested Pledge action through search page
[ ] allow User to claim a Pledge once the matching Collective has been created
[ ] Automation of pledges (François)

Search, Homepage, Discover (Nick) +Cuiki for design

[ ] (Search) add organizations to available results
[ ] (Search) add filter/sorting controls for metrics like "Nearly Funded", "Just Launched", "Most Engaged (this should allow for the removal of the Discover page in favor of search)
[ ] (Search) add tag editing for collectives to increase search optimization
[ ] (Homepage) launch initial homepage redesign

Support long term goal of increasing $$$ through increasing collectives:
Growth Goal:

Double weekly new collectives to 40
[ ] Manual outreach to tech meetups (Pia)
[ ] Closing a partnership with Blockstack to pilot crypto collectives. (Pia)

Retention Goal:

Get latest data on retention
Activate 15% (activation defined as a full loop: money raised and expense paid out)
Improve expense flow:
[ ] policy
[ ] comments
Engagement (Stretch goal)
[ ] Comments on the front page of the collective

Eng goals:

Self-serve flow (Xavier + Cuiki / François)
[ ] have a v1 live.

Other Eng Goals:

[ ]  (Finish issue 1048 (Lincoln)
[ ] Supporting multicurrency (fix bug) (Lincoln)

This is documented in the OKR - Tracker here:  https://docs.google.com/document/d/1LjhqemZYLQNM48ClHA7Hvc4yOVXAGIkCYWQsMGKPS4I/edit#


Re. Token Designer Usage in VSCode Related

Hi,
I am trying to model the token design and use it in the tool. However - I am unclear as to how I open a sample project in a sandbox environment and understand the model - as shown in the documentation screen shot for carbon emissions.
Please see the two attachments and let me know what I am missing and what I need to do to get the point shown in the screen shot.

Hi,
I realized I needed to be on TTK v1.0.2 release and Token Designer v1.0.7 release.
Still things are not working for me as indicated in screen captures. I am also finding instructions to be incorrect at some points in documentation.
Should I be trying this code base or wait for some time?

@pvrbharg I'm having the same issue...

updated in release https://github.com/InterWorkAlliance/token-designer/releases/tag/v1.0.20