Help room: Create a basic AI to answer questions

WIP

This isn't an AI fwiw.

Also, this really messes with the idea that chat plugins should not interfere with the core functionalities of PS and should be able to be removed. I was planning on making changes to the chat plugin API to better facilitate this, so I guess I'll get working on that sometime soon.

This isn't an AI fwiw.

What makes this not an AI?

Is this really necessary when the roomFAQs exist?

Is this really necessary when the roomFAQs exist?

The roomfaq system does not stop users from asking questions that are covered in it.
The entire idea behind this is so that we give information that is already readily available and make it become more readily available.

What makes this not an AI?

I don't see any "intelligent" behavior from this plugin besides .includes(), so I wouldn't call it an AI, rather an answering machine.

Is this really necessary when the roomFAQs exist?

To be honest, outside of the messages showing up in the room, using roomFAQs has quite a few benefits over this implementation, most notably the fact that things aren't hardcoded into the server, and can be updated by anyone, not just a developer, don't automatically get included on other servers too, and don't require a hotpatch to update. This flexibility is worth quite a lot when it comes to features like this.

This flexibility is worth quite a lot when it comes to features like this.

"This flexibility" can be apart of this system, potentially

I don't see any "intelligent" behavior from this plugin besides .includes(), so I wouldn't call it an AI, rather an answering machine.

"intelligent", in the forms of AI, is a pretty broad term - I feel this fits that very well

this.includes('battling')
What if the question is "I'm not really into battling, can you recommend something else to do here?"
It can't quite judge the context....

I agree with bumba, although it is a broad term, detecting words used by people is not artificial intelligence imo

That's kind of exactly how AI works.
When you use a voice assistant on your mobile device, you'll ask it things like "what's the weather?", "who was the 44th president of the United States?", "how far is the earth from the moon?"
For all of these questions, the AI picks up on key words to try and find an answer.
This is the same concept. This is an AI, granted, a much more basic and specific one.

What if the question is "I'm not really into battling, can you recommend something else to do here?"
It can't quite judge the context....

That if statement has since been corrected
Also, for those worried about this possibly not answering someone's question or picking up on a false-positive, I made it so it has a handy button:

@panpawn most of the time the AI is learning from other users, besides that it's more of a help faq that can detect words instead of commands

What Austin says. Also, if you  ask the question in the help room, like the button says, wouldn't that bring up the same exact window as it did before?

Also, if you ask the question in the help room, like the button says, wouldn't that bring up the same exact window as it did before?

No

most of the time the AI is learning from other users

That's usually not the case, actually

Can we PLEASE stop nitpicking about what "AI" means? It's a very broad term and it doesn't actually matter if it's being used correctly, here. Focus on the code and its usefulness.

@Zarel - what are your thoughts on this? Does this sound like a good idea? Is this a good approach?

You should pullreq a separate pullreq for adding chatfilter functionality for plugins.

Okay then, https://github.com/Zarel/Pokemon-Showdown/pull/3868 should probably be taken care of before this

Now that that was taken care of, this can be better implemented.
I just updated this to make use of the new brilliantly redone chatfilter feature in this plugin.

bump?

This should be shown to help staff. I'm
Personally iffy about this feature, but no one will know better than the active help room staffers.

This is in theory a good idea, but as-is I think is the wrong direction to go.
Better ideas:

Flesh out the report form to answer common questions.
Do the chatfilter directly, instead of needing an AI to be explicitly invoked with HELP:
If you want an explicitly-invoked AI, maybe tie it to /faq or something; it doesn't need custom syntax.


Can we specify which NUMA WSL will run on?

There are 2 NUMAs in my system. Numa 0 and 1. WSL always uses numa 1. Is there any way to make it use numa 0?
When the computer starts, wsl starts automatically and I want it to work on NUMA 0. Is there a solution for this?
I don't want to use external applications. Can we do this feature directly with Windows or WSL settings?
Thanks

/question

/question

WslLogs-2024-11-26_20-14-12.zip

@muratyurdakul75 in Task Manager try seting process affinity for wslservice.exe to use the CPU associated with NUMA 0 only.

@muratyurdakul75Task ManagerDeneme ayar sürecinde yalnızca ilişkili olanla wslservice.exekullanmak için yakınlık ayarını kullanın .CPU``NUMA 0

@muratyurdakul75 in Task Manager try seting process affinity for wslservice.exe to use the CPU associated with NUMA 0 only.

Thanks for your answer. But setting it from task manager is not a solution. There is a situation like this; I have 2x40 processors. I want WSL to use more processors. With the "node interleaving" setting I made from BIOS, I was able to arrange the numbers as 64+16. Numa:0 has 64 processors, Numa:1 has 16 processors. When wsl first runs, it uses Numa:2. That is, 16 processors. Even if I set it as numa:0 from Task Manager, when I look with the "Docker info" command, I see that it uses 16 processors. Therefore, when wsl first runs, it needs to run directly with numa:0.

It would be great if we could adjust this with a setting in the .wslconfig file.

/feature


[bug] Tauri remembers file not found and than cache it

Describe the bug
Hi, I'm using convertFileSrc  to read 3d model in GLB format on my disc. I have enabled whole disc for tauri http api, no restrictions, i can use fetch() for any file on disc I want.
The problem is, when I first time try to access file, it is not there (yeah maybe something I can change on my side, but I want it that way, I have some default mechanism if something bad happen)
But when I put file on place where it should be, Tauri still throws 404 not found, even file is there. After app restart (or ctrl + r), there is no problem. When I change 3D model, I always get the same model (probably cache).
I have tried oldschool <img/> trick      src=/mypath/image.png?random=${Math.random()}`` To prevent cache, but in this way tauri totally cant find the file.

Reproduction
Probably use convertFileSrc and fetch some file,...
Expected behavior
No response
Platform and versions
[✔] Environment
    - OS: Windows 10.0.22621 X64
    ✔ WebView2: 114.0.1823.58
    ✔ MSVC: Visual Studio Enterprise 2019
    ✔ rustc: 1.69.0 (84c898d65 2023-04-16)
    ✔ Cargo: 1.69.0 (6e9a83356 2023-04-12)
    ✔ rustup: 1.26.0 (5af9b9484 2023-04-05)
    ✔ Rust toolchain: stable-x86_64-pc-windows-msvc (environment override by RUSTUP_TOOLCHAIN)
    - node: 16.14.2
    - pnpm: 8.3.1
    - yarn: 1.22.19
    - npm: 8.5.0

Stack trace
No response
Additional context
No response

Could you please make a minimal repro that I can use?

@amrbashir thanks for your time, will try it as soon as posible

@amrbashir
Hi, you can find simple repo below  for repro  just run pnpm install  and  pnpm tauri dev it should turn on on first run. When you press copy the file ToBeCopied.jpg is created to name Target.jpg. But when refresh is there file is not changed, but when you press refresh and image is changed and than back, its working.
Also in //TODO is code part which should work too.
https://github.com/erikpa1/TauriBugRepro

Not sure who to blame for this error, webview or tauri.  Because viewing different file with same path is webview problem itself (beause of cache), to make this use cases working there is trick:
/api/myfile.json?random=0.55 - but this use case tauri don't support because it can't show file with query params e

I couldn't reproduce the issue, maybe I missed a step or something so I'd suggest you make me a list of exact steps to do.
Anyhow, tauri does allow specifying query params in the URL but you're doing it wrong and maybe we should showcase an example for this somewhere, you need to be doing
<img src={`${convertFileSrc('D:\\path\\to\\file')}?random=0.55`} />

because converFileSrc calls encodeURIComponent which will encode some characters (like ?) in order to preserve the file name correctly if it contains one of these characters.

@amrbashir  when you hit copy button image appeared ??? Without refresh ?

But anyway, your ${convertFileSrc('D:\\path\\to\\file')}?random=0.55 worked.


Exception while play sound on lime 7.1.1 and openfl 8.5.1 in html5 target

Chromium exception call stack:
Error: Failed to execute 'stop' on 'AudioScheduledSourceNode': cannot call stop without calling start first.
    at o.pause (howler.min.js:2)
    at e (howler.min.js:4)
    at o.Howl.pos (howler.min.js:4)
    at lime__$internal_backend_html5_HTML5AudioSource.setPosition (FontOpenfl.js:7082)
    at lime__$internal_backend_html5_HTML5AudioSource.play (FontOpenfl.js:6992)
    at lime_media_AudioSource.play (FontOpenfl.js:19571)
    at new openfl_media_SoundChannel (FontOpenfl.js:65055)
    at openfl_media_Sound.play (FontOpenfl.js:65020)
    at openfl_events__$EventDispatcher_Listener.callback (FontOpenfl.js:4125)
    at openfl_display_Stage.__dispatchEvent (FontOpenfl.js:1091)

Code reproduction:
package;
import openfl.events.MouseEvent;
import openfl.Assets;
import openfl.display.Sprite;

class Main extends Sprite {
	public function new () {
		super ();
    var sound = Assets.getSound("assets/spring.mp3");
    stage.addEventListener(MouseEvent.CLICK,
      function(_) {
        sound.play();
      });
	}
}

Click on stage for playing sound, wait greater than 30 sec (necessarily) and click again, after that exception occurs. On previous versions of openfl and lime all is fine.

I wonder if this helps:
https://github.com/goldfire/howler.js/commit/a155a1933b99dfb7be3e8ce553ece850f231a2e5

Hmm, I can't reproduce on Opera/Linux.
I think changing out Howler may help, if you try it, please let me know and we can update

Using src/howler.core.js from goldfire/howler.js repository solve problem. When will the update appear in open?


Depends on incompatible vs-tools version range

The latest release of vs-preview pulls in versions of vs-tools that aren't compatible. Specifically the baked-in split planes plugin depends on vs-tools' stack_clips to be present when vs-preview is started and this is not the case for all of vstools>=2.1.0 as found in requirements.txt
In projects that depend on PyPI-distributed IEW and VapourSynth packages, this allows a version of vs-preview to be installed that has no ability to run, due to compatible versions of vs-tools depending on the VapourSynth Python wrapper v63, which is not released on PyPI.
$ ./venv/bin/vspreview Scripts/filter_video.vpy
Traceback (most recent call last):
  File "Project/./venv/bin/vspreview", line 10, in <module>
    sys.exit(main())
             ^^^^^^
  File "Project/venv/lib/python3.11/site-packages/vspreview/init.py", line 124, in main
    main.main_window = MainWindow(Path(os.getcwd()) if args.preserve_cwd else script_path.parent, no_exit)
                       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Project/venv/lib/python3.11/site-packages/vspreview/core/bases.py", line 29, in __call__
    cls.instance = super().__call__(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Project/venv/lib/python3.11/site-packages/vspreview/main/window.py", line 197, in __init__
    Plugins(self)
  File "Project/venv/lib/python3.11/site-packages/vspreview/core/bases.py", line 29, in __call__
    cls.instance = super().__call__(*args, **kwargs)
                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "Project/venv/lib/python3.11/site-packages/vspreview/plugins/__init__.py", line 121, in __init__
    for plugin in self.file_to_plugins(plugin_file):
  File "Project/venv/lib/python3.11/site-packages/vspreview/plugins/__init__.py", line 45, in file_to_plugins
    spec.loader.exec_module(module)
  File "<frozen importlib._bootstrap_external>", line 940, in exec_module
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "Project/venv/lib/python3.11/site-packages/vspreview/plugins/split_view.ppy", line 3, in <module>
    from vstools import check_variable, split, stack_clips, vs
ImportError: cannot import name 'stack_clips' from 'vstools' (Project/venv/lib/python3.11/site-packages/vstools/__init__.py)
Exception ignored in atexit callback: <function _dispose at 0x10b2f58a0>
Traceback (most recent call last):
  File "Project/venv/lib/python3.11/site-packages/vspreview/core/vsenv.py", line 181, in _dispose
    dispose_environment(environment)
  File "Project/venv/lib/python3.11/site-packages/vspreview/core/vsenv.py", line 150, in dispose_environment
    _finalize_core(env._environment.env_id, id(env.core), True)
TypeError: _finalize_core() takes 2 positional arguments but 3 were given
Exception ignored in: <function ManagedEnvironment.__del__ at 0x10b2f45e0>
Traceback (most recent call last):
  File "Project/venv/lib/python3.11/site-packages/vsengine/policy.py", line 348, in __del__
ImportError: sys.meta_path is None, Python is likely shutting down
ImportError: sys.meta_path is None, Python is likely shutting down
Exception ignored in: 'vapoursynth.EnvironmentData.__dealloc__'
ImportError: sys.meta_path is None, Python is likely shutting down

vapoursynth is not supposed to be installed from pypi
anyways, bumped version for ensuring up-to-date vstools gets installed
though it's always recommended to use vsiew
https://github.com/Irrational-Encoding-Wizardry/vs-preview/commit/e674d2f0ab3a11e6302b604686bdb11eef4acd86

vapoursynth is not supposed to be installed from pypi
In IEW toolchain, why

what does that mean in english?


[Steam] Unable to launch games

Hello.
I just did a clean install of Bazzite v1.0.1 on a brand new computer. I seem to be unsuccessful in getting any Steam games to launch, with ~one~ two exceptions: Quake 2 (the newest "remaster") and System Shock (also the new "remaster") can launch and work without issue.
Context
Since I have a RTX 4090, I installed the bazzite-nvidia version. I had to use the Basic Graphics Mode option on installation, because the "normal mode" seemed to hang on me.
After installing Bazzite, I seemed to have trouble booting up when connected to the 4090, while the integrated graphics HDMI worked fine. I seem to have sorted that out by disabling Integrated Graphics via the BIOS.
Additionally, I did run the sudo mokutil --import /etc/pki/akmods/certs/akmods-ublue.der command recommended in the Release Notes. On next boot, I was asked to "Enroll MOK", which I did. The "Issuer" was Universal Blue, so this all looked right to me. It asked for a password... I wasn't sure what this was referring to, so I just entered the same password I used for my user account login and that seemed to work :shrug:
Also, there is only one drive on this build, so all of my games are installed on the same nVME that Bazzite is installed on.
Games I have tried (that are failing)

TF2
Doom Eternal
Binding of Isaac
Dead Cells
Portal with RTX

Relevant hardware

AMD Ryzen 7800X3D
ASUS ROG Crosshair Hero
ASUS Strix OC 4090
2x32gb G-Skill Trident 6000mhz CL30

Specs from neofetch
OCI: Bazzite (Desktop Edition) x86_64
OS: Fedora Linux 38.20230904.0 (Bazzite) x86_64
Kernel: 6.4.13-200.fc38.x86_64
Packages: 1863 (rpm), 13 (steam), 22 (flatpak-system), 45 (flatpak
Shell: bash 5.2.15
Resolution: 3440x1440 @ 99.98Hz
DE: Plasma 5.27.7 [KF5 5.109.0] [Qt 5.15.10] (x11)
WM: KWin
CPU: AMD Ryzen 7 7800X3D (16) @ 4.2GHz
GPU: NVIDIA GeForce RTX 4090
Memory: 5.59 GiB / 62.51 GiB (8%)

Additional info
Just in case this info is helpful... I attempted to launch Binding of Isaac with PROTON_LOG=1 %command%, and here is the output: https://pastebin.com/raw/eEaHz6Nc

Steam had some proton updates yesterday, and since then, I've been able to get a few more games to launch. Both Binding of Isaac and Doom Eternal will launch now.
Hard for me to really say why many games work fine under Zorin with similar hardware vs Bazzite... but I certainly can't point the finger at anything in particular.
Closing this issue until I have a good reason to think Bazzite is contributing to the problem.


Remove APPLYSITE obfuscation.

These macros make ApplySite.h and SILNodes.def unreadable. Getting rid
of them will save me (and I'm sure others) a lot of time when working with ApplySite.
Best practice dictates that the ApplySite abstraction be modeled in
one place. The macros serve no purpose other than obfuscation.

@swift-ci smoke test

Nice!

@swift-ci smoke test and merge

ReferenceStorage.def is worse, but A LOT more work to get rid of

And the SWIFT_INLINE_BITFIELD stuff in SILNode.h 😵💫


docs enhancement, turn multiline awesome

Type of Change

[ ] Bug fix (non-breaking change, fixes #)
[ ] New feature (non-breaking change, adds functionality)
[ ] Breaking change (effects multiple commands or functionality)
[ ] Ran manual Pester test and has passed (`.\tests\manual.pester.ps1)
[ ] Adding code coverage to existing functionality
[ ] Pester test is included
[ ] Nunit test is included
[x] Documentation
[ ] Build system

Purpose
make multiline awesome again. /cc @gbargsley , @potatoqualitee
Approach
This is how it's going to be, and how the little percentage of multiline help examples should be rewritten

lol, MMAA. this is good af. My only concern is that it will no longer be copy/pastable with the >>

if someone pastes splats without changing them............. they should know better. Also, PS C:> has always been there ^_^

💯 💯 💯 💯 💯 💯 💯 💯 💯


Multiple instances on 1 server

Hey everyone,
Is it possible to run 2-3 instances of Librespot on 1 PC with the API version? Trying to make multiple devices for different persons in the house and I was wondering if/how this is possible.

That's definitely possible, make sure you set different values for deviceName, cache directory, credentials files and of course the API port. You can do that by editing the generated config file.

@devgianlu Thanks I managed to set it up on our server in the storage. Is it possible to use the API as well with a free account or do I need to have multiple premium ones to skip/play music from our main desk PC?

Free accounts are not supported, the API might work, but you might get your account suspended.


dose Color package contains HSVColor class

I want to convert HSVColor into RGB color.
I have found out that HSVColor-class ca n do that
https://api.flutter.dev/flutter/painting/HSVColor-class.html
But it does not support native dart.
Does the Color package contain a similar HSVColor class that can convert its values to RGB?

Found out that HSVColor does support native dart


WASI support?

Currently this crate doesn't build under WASI due to falling back to Linux for implementation, blocking WASI port of many popular crates.
How about stubbing out everything with None or following the XDG spec for now?

Hi @xen0n,
thanks for opening the issue. Is there some write-up about the APIs available in WASI to have a look at the implementation options?

following the XDG spec for now

What do you mean by that?
Thanks,
Simon

Hi,
For now there's this intro doc, from there more reference material could be reached. Also there's the libc support to look at.
As for XDG, I mean simply copying the Linux behavior of referring to the various XDG_FOO environment variables, as WASI in its current form doesn't have most things stabilized, but does have the environment variables.

For now there's this intro doc, from there more reference material could be reached. Also there's the libc support to look at.

Just looked at it. :-)

As for XDG, I mean simply copying the Linux behavior of referring to the various XDG_FOO environment variables, as WASI in its current form doesn't have most things stabilized, but does have the environment variables.

So basically we add another platform and replace the reading-env-vars-on-Linux API with the reading-env-vars-on-wasi-API?

So basically we add another platform and replace the reading-env-vars-on-Linux API with the reading-env-vars-on-wasi-API?

I'm afraid that would prematurely make XDG the de-facto standard on WASI, where people actually have the chance to rethink almost everything. So that's why I'm asking for maintainer's decision about whether to stub everything with None or not...

Mhh, I think what would best if WASI offered an API for applications to get their config/cache/data directory directly.
History has proven time and time again that people can't be bothered to implement things correctly if they aren't given an API that does everything for them.

Yeah, then I think we should go the stub route for now, waiting for the APIs to be designed and stabilized? Currently there's so few WASI apps out there, that doing this wouldn't matter.

I just filed https://github.com/CraneStation/wasmtime/issues/140, I think it is crucial to have this in place before everyone starts writing their own abstractions (and gets it wrong).
For getting things to compile, I think stubbing everything with None is an acceptable solution for now.

I think this has been resolved, for now!


Wrap likely ABQ network errors to more easily identify as coming from ABQ connections.

Since most users will generally run rspec without full backtraces, this should make it easier to spot when ABQ is the underlying source of exceptions, versus test code or another library.

thank you!


Download all projects like Eclipse Netsuite IDE

Hi Chris,
It's possible to add the option to download all projects/files like the Ecilpse IDE? And sync the files?
Great work 👍
Thanks

Hi,
Thank for the compliment. I most likely CAN do that, but I am holding off any enhancements until I see what the SDF command line tools are offering as that may replace some functionality. It comes out with 2017.1 according to NetSuite people so we will see. If they don't, I can try to implement that. I made this plugin for me really initially and I never used that functionality as I keep code in repos and just use that.

Hi Chris,
If it wasn't for your plugin I would never have left Eclipse!
I'd just like to let you know that I too would really appreciate the ability to download files from the Netsuite file cabinet using your plugin. Please add me +1
R.e. SDF over the last 5 years developing in Netsuite I've seen Netsuite go no where for years promising and never delivering so I wouldn't recommend holding your breath waiting for SDF.

Appreciate the comments softwud! Glad it is working out for you so far. I started the download implementation but ran into a few snags. I also just moved into a new house so my free time is a bit limited currently, but I am definitely working on the download portion and will try to get that out as soon as possible. SDF I am waiting to see how they handle it in terms of available methods to use. Right now they have the eclipse plugin updated to use SDF and the CLI. CLI should work just fine with this plugin since it is totally separate. At SuiteWorld, NetSuite also said they were working on a WebStorm plugin of their own (as well as sublime text) but who knows when that will ever be available #safeharbor. If NetSuite ever release some documentation (supported documentation**) for how to use the SDF in your own project (.jar files etc..) I would love to implement that in this plugin. Any traffic on that front will be here https://github.com/Topher84/NetSuite-Tools-For-WebStorm/issues/6.

Hi Chris and thanks for the great plugin, I was wondering what the movement was on this enhancement. My use case is slightly different as I sometimes have to pull in changes that someone else made, while in a perfect world it would kick of VCS merge, I would happily settle for a straight pull. Thanks for any help with and once again thanks for the plugin. --jerry P.S. I am not familiar with SDF, what is that?

Hi Chris,
Thank you for the plugin and thank you for your help and support!
I would like to ask myself, since this is a very interesting enhancement. Did you have any chance to investigate option to download projects from NetSuite to WebStorm? Not only SDF, but also the "standard" way.
I would really like to abandon Eclipse and use solely WebStorm, but since I am working in multi-developer team, downloading every file every time is too much of a hassle to do it manually. It would be great to be able to do it directly from WebStorm. Even without the use of an SDF and using only the basic file pull.
Thank you very much!

Hey @t4eron , that seems like a job for some VCS not this tool.

Hey Ruplahlava (great nickname, by the way! :))),
Ideally yes, but I am working as an external consultant and I am not allowed into client's internal VCS. I need to coordinate with them and every time I need to make an update, I need to download all scripts I need to update directly from NetSuite.
That is why an ability to simply download a script from File Cabinet into WebStorm like you have in Eclipse would helo by itself.

I am not adding download to this plugin in any foreseeable future since NetSuite has their own WebStorm plugin they are creating/enhancing. You do however, have several options:

Log into the account, and go to the file cabinet and click "Download" next to whichever folder you are working out of. It should only need to be a 1 time thing if its just you working in there. If you do this, I suggest that you put the code in a private repository on whatever VCS you use. You can then do a compare before you upload (which is a good practice in itself) to pick up any changes and have the scripts you need. If they are adding files and you are adding files simultaneously, then that is more of a process issue that IMO you need to work out with them as it seems a bit odd.
Use NetSuite's own WebStorm plugin that provides this functionality in some capacity.
Add your own download method and add an action to your own custom version of the plugin.

Hi Chris and thanks for the plugin, I have used it for years. Playing the
devil's advocate, one reason to add it, is there is a lot of work out there
that was not done with SDF, to begin with, which makes the more
ad-hoc approach of your plugin very relevant for managing these installs.
NetSuite special services themselves don't use sdf that I have seen.
Just sayin'
Gerald Klein DBA
<EMAIL_ADDRESS><EMAIL_ADDRESS>708-599-0352
Arch, Gentoo I3, Ranger & Vim the coding triple threat.
Linux registered user #548580
Brought to you by the Amish Mafia
On Sat, Mar 2, 2019 at 9:56 PM Chris Reece<EMAIL_ADDRESS>wrote:

I am not adding download to this plugin in any foreseeable future since
NetSuite has their own WebStorm plugin they are creating/enhancing. You do
however, have several options:

Log into the account, and go to the file cabinet and click
"Download" next to whichever folder you are working out of. It should only
need to be a 1 time thing if its just you working in there. If you do this,
I suggest that you put the code in a private repository on whatever VCS you
use. You can then do a compare before you upload (which is a good practice
in itself) to pick up any changes and have the scripts you need. If they
are adding files and you are adding files simultaneously, then that is more
of a process issue that IMO you need to work out with them as it seems a
bit odd.
Use NetSuite's own WebStorm plugin that provides this functionality
in some capacity.
Add your own download method and add an action to your own custom
version of the plugin.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Topher84/NetSuite-Tools-For-WebStorm/issues/17#issuecomment-468985598,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnsxDAAVRkjSNW4gIfEE_GyA4xCOFLIks5vS0f6gaJpZM4L1fLN
.

One more thing and I apologize for the double post, the plugin for
Webstorm as of right now does not download the code, it only imports the
object schema.
Gerald Klein DBA
<EMAIL_ADDRESS><EMAIL_ADDRESS>708-599-0352
Arch, Gentoo I3, Ranger & Vim the coding triple threat.
Linux registered user #548580
Brought to you by the Amish Mafia
On Sat, Mar 2, 2019 at 9:56 PM Chris Reece<EMAIL_ADDRESS>wrote:

I am not adding download to this plugin in any foreseeable future since
NetSuite has their own WebStorm plugin they are creating/enhancing. You do
however, have several options:

Log into the account, and go to the file cabinet and click
"Download" next to whichever folder you are working out of. It should only
need to be a 1 time thing if its just you working in there. If you do this,
I suggest that you put the code in a private repository on whatever VCS you
use. You can then do a compare before you upload (which is a good practice
in itself) to pick up any changes and have the scripts you need. If they
are adding files and you are adding files simultaneously, then that is more
of a process issue that IMO you need to work out with them as it seems a
bit odd.
Use NetSuite's own WebStorm plugin that provides this functionality
in some capacity.
Add your own download method and add an action to your own custom
version of the plugin.

—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/Topher84/NetSuite-Tools-For-WebStorm/issues/17#issuecomment-468985598,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABnsxDAAVRkjSNW4gIfEE_GyA4xCOFLIks5vS0f6gaJpZM4L1fLN
.

Hi Chris and Gerald,
Thank you both for the Reply/Reaction. I can see Chris's point, since NetSuite now has their own plugin for Webstorm. At the moment of writing my comment (one year ago), that was not the case. Maybe I will find some time to add the method myself :) It does sound like a fun project.
As Gerald pointed out, my issue with original NetSuite's plugin is exactly that: it only downloads the XML scheme, but not code file itself. And as he pointed out as well, a lot of code I am working is not newly developed and therefore it is not part of the SDF project.
Nevertherless, I was able to log in an Enhancement with NetSuite (ID 520391) to add this feature directly to WebStorm plugin. So lets just see, how that goes :)
Thank you again both for your replies and have a great day!
zdeno


Bump zip minimum versions

Bump minimum iOS versions and associated other versions to drop support for 32 bit arm IOS OS's.
With Xcode 13.2.1, when building for iOS 10, the FirebaseStorage-Swift.h bridging header gets created with architecture ifdef's that fail to trigger when testing an Objective C test app with libraries built from a Swift library.
The ifdefs are not generated when building for iOS 11 and the test app builds fine.
Fix #9631

The Objective C test now passes https://github.com/firebase/firebase-ios-sdk/runs/5980503942?check_suite_focus=true. The Swift test is pending quickstart source changes defined by #9635

The zip build sped up by 40 minutes by dropping the 32 bit architecture builds.

Trying Xcode 13.3 in #9638


Use an element inside the body as a container of the React app

Description
This is a follow-up on https://github.com/Ensembl/ensembl-client/pull/878, changing the strategy again.
The purpose of https://github.com/Ensembl/ensembl-client/pull/878 was to use React's new api for server-side rendering, and also to remove dependency on a couple of third-party libraries, such as react-helmet-async, and loadable-components.
One thing https://github.com/Ensembl/ensembl-client/pull/878 did was to assign the whole document element as the React root, making React responsible for the html element and everything inside. This is actually recommended in the React docs, which say: "Your root component should return the entire document including the root  tag".
However, it turned out that React there can be too much adversarial activity on a web page which can confuse React when it attempts to hydrate the server-rendered html. One common offender was React Dev Tools itself. Here is an example when React Dev Tools mess up a newly opened browser tab in development — notice that React does not recover from the hydration error, and we need to reload the page to get rid of the error:
https://user-images.githubusercontent.com/6834224/223750219-13f454af-ce6a-48a1-bde9-9bfd72423d78.mp4
and here is an example of the same error in a production build — notice that React seems to be able to recover from it; at least the page doesn't look broken
https://user-images.githubusercontent.com/6834224/223752567-aaf08513-6323-48c8-9014-e3571a84c131.mp4
The cause of the errors above was a script tag inserted by React Dev Tools chrome extension. Notice on the screenshot below how the chrome extension has injected a script tag immediately above the head tag, and right below the body tag:

I've informed the React team of this problem (see https://github.com/facebook/react/issues/25924); and it looks likely that they will fix this problem with React Dev Tools (see their PR: https://github.com/facebook/react/pull/26233); but there's no way to protect us against third-party scripts that we add to the page (sigh), or against arbitrary Chrome extensions that users might have in their browsers.
Proposed solution
The solution explored in this ticket is to move back from giving React the whole html to control to giving it just a single DOM element inside the body. This way, we should not expect third-party agents to interfere with the DOM belonging to React.
Concerns
Why do the docs say that "Your root component should return the entire document including the root  tag". Is something going to break about React if the root component is not the entire document? I can't imagine that it would; but there's no way to be sure.
Checklist

Minimal html rendered on the server and hydrated on the client without errors
Favicons work
Page metadata is updated appropriately when navigating between pages (both server-side and client-side)
Third-party scripts enabled when required

TODO

Confirm the piping is used correctly

Related JIRA Issue(s)
None
Deployment URL(s)
http://react-ssr-div.review.ensembl.org

NOTE: see the long discussion in the React repo about hydration problems with various Chrome extensions; workarounds by different teams, and React team's position on hydrating anything other than the whole document (they don't like the idea):
https://github.com/facebook/react/issues/24430
Also, see this repo, which suggests that a fix on React side is hopefully expected in React 18.3

Closing this PR because of the above comment.


When using the gemini vision kit, I'd like to be able to add a file from the file system from the Web UI

Current I can only select a Canvas or WebCam

Just as an update - while the UI let's me configure an input to be an file that can be uploaded, the runtime UI doesn't change to a picker (it just leaves a text input).

cc @paullewis

Ah yes, that's definitely a TODO of mine for this week. For now, just leave it as an "Any" and it should spin up the LLM Content Input

Ah yes, that's definitely a TODO of mine for this week. For now, just leave it as an "Any" and it should spin up the LLM Content Input

Good to know.

Started working on a fix for you now though 👍🏻

Victory 🚢


Implement the admin UI modules

Implement the admin UI modules per design. Functionality like 'New Module' or 'New series' etc. shouldn't be hooked up yet, we can tackle that in a separate PR.

Assigning to @Coenego for review.

Coverage remained the same when pulling 38d115400326de693b844e40b54d4ebe1b0edcd9 on bp323:adminListView into 40ebe9c9a29be97a1763db2e35f9192626ea9e13 on CUL-DigitalServices:master.

Coverage remained the same when pulling dc279817298c8f6dd90052ec23590e36dd6eaebb on bp323:adminListView into 40ebe9c9a29be97a1763db2e35f9192626ea9e13 on CUL-DigitalServices:master.

Coverage remained the same when pulling dc279817298c8f6dd90052ec23590e36dd6eaebb on bp323:adminListView into 40ebe9c9a29be97a1763db2e35f9192626ea9e13 on CUL-DigitalServices:master.


#9, #10 Added the forms for documentations and languages also detail view.

This pull request addresses issues #9 and #10
Documentation Addition Forms:
Created forms for users to add new documentation easily.
Programming Languages Forms:
Implemented forms to allow the addition of new programming languages to the system.
Language-Specific Documentation Retrieval:
Added functionality to retrieve documentation specific to selected programming languages.
You Can See How What is done in this PR by watching this video.
https://github.com/user-attachments/assets/c9ddf7d5-ce61-4fc2-81b9-6e61a01c1d85
The video provides a comprehensive overview of the new features and how they function within the application.
Note:
Due to low video resolution, the select field may not be visible in the video. However, it appears as shown in the image below:

@thestuti  please check this PR

please resolve the conflicts!

ok


The executable python3.5 (from --python=python3.5) does not exist

Hey,
I'm trying to run this on Windows 10. After installing via pip I'm running into a couple separate issues

try is masked by Windows PowerShell's try syntax
Running as a python m (python -m try requests) results in the error:
The executable python3.5 (from --python=python3.5) does not exist

I'm using Python 3.5 installed to C:\Python35\python.exe
Any help would be great!

Thanks for reporting :beers:

That's a pity. I'm not a windows user.. Could you alias it? I might think about supporting try and trypackage as a command? What do you think?
On my linux machine the following works: python3 -m try requests. Is the error you could raised by try or from someone else? Do you have python-virtualenv installed (no idea how the package is called on windows. But you should have a virtualenv command available)? In addition to that .. does powershell support a source command to source the virtualenv? If not I'll have to make some changes to support windows

I found that try.exe works to launch it (i.e. try.exe requests) which resolves issue 1. This command points to C:\Python35\Scripts\try.exe
As for the second error, running the command results in this printout
> try.exe requests
==> Use python python3.5
[*] Downloading packages: requests
[*] Failed to try package. See C:\Users\Tom\AppData\Local\Temp\try-3k4_q9ih.log for more details.

With the log file contents being the text:
The executable python3.5 (from --python=python3.5) does not exist

Okay, thanks. I'll have a look at it as soon as possible!

Thanks, I added a few more details to my second comment.

I think this is coming from the second half of the build_virtualenv_cmd command.
Running the first part works fine (and gives the output noted in the final log contents above)
> virtualenv env -p C:/Python35/python.exe
Running virtualenv with interpreter C:/Python35/python.exe
Using base prefix 'C:\\Python35'
New python executable in env\Scripts\python.exe
Installing setuptools, pip, wheel...done.

But the second part && . env/bin/activate is no good on windows. The equivalent would be
return "virtualenv env -p {0} > {1}; ./env/Scripts/activate".format(python_version, logfile)
But unfortunately in powershell there are permission problems with virtualenv (discussed here)

If I have time I will try to fork this and add windows support for running in Git Shell.

Any luck on that one?

push

Maybe it's because of python version.
$python3 --version
Python 3.4.0
So
from --python=python3.4
It worked

i did virtualenv -p3 virtual_env_name and this worked!

@saurabhmarpadge @Megaverse thanks for the confirmation.
I'm going to close this for now!
If anyone encounters the same issue please open a new ticket.
:tada:

The path python3.5 (from --python=python3.5) does not exist , how to remove this error , i was working on my railway api and this occurs

What exactly did you ran? And what was the exact error? @manthankool

i was running this code  on cmd  virtualenv venv --python=python3.5
and the error was:
The path python3.5 (from --python=python3.5) does not exist

i was running this code on cmd virtualenv venv --python=python3.5

So, that's not really an issue of try then - because you are using plain virtualenv..
Have you installed python3.5? Can you run python3.5 as an interpreter?

yaa i have installed python 3.5 and i can also run python 3.5 as an interpreter . What should i do now ? @timofurrer

Unfortunately, I cannot help you because I don't have any Windows and because you have a problem with virtualenv and not with try I suggest to seek help on StackOverflow and tag your question with python3, windows and virtualenv.
The virtualenv project is also hosted on GitHub and so is their issue tracker but I'd suggest you to ask on SO first.


feat: add google/mtail

https://github.com/aquaproj/aqua-registry/pull/5744 google/mtail: extract internal monitoring data from application logs for collection in a timeseries database
$ aqua g -i google/mtail

Thank you always!

Prerelease https://github.com/aquaproj/aqua-registry/releases/tag/v3.39.0-0

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.39.0


Update PDTF API specification

Updates to PDTF API specification

Updated format of open-api-spec from JSON to YAML (superset of JSON, more readable, allows adding comments)

Fixed errors in schema to allow rendering in a swagger editor

Updated $ref section to point to the Github pdtf transactions schema instead of non-existent hsbg links
Added OAPI tag "transactions"

Replaced API section: transactions (previously properties)

This is inline with how [RICS]((https://github.com/RICS-Data-Standard/RDS/blob/main/JSON/RICS Data Standard Version 3.3.3.pdf) have defined their schema
*Allows to get property pack in the context of a transaction by sending transaction ID as a query parameter (allowing uniqueness)
Still allows to query by UPRN but should return multiple transactions

Merged getState and getStateAsHtml into a single API with configurable contentType

Action items for @edmolyneux

[ ]  Fix $ref links from HSBG to Github schema links in pdtf transactions schema
[ ] Define a schema for the json response for propertyPack (getState) API
[ ] Update schema for GET transactions and propertyPack API to return multiple transactions instead of single

@edmolyneux - I have updated the spec based on review comments & meeting discussions on Thursday (24 March 2022). Please review.

Requesting you to add two schema definitions

/transactions/{id} API (latest state API)
/transactions?uprn=xyz&status=active API

I have set them to just a string type for this PR.


Cnr0.2.0

Current coverage is 53.26% (diff: 79.51%)

No coverage report found for master at 431a315.

Powered by Codecov. Last update 431a315...0d118bb


Fixed singleton crash when launching a second PT runner process

Summary of the Pull Request
Fixes #8277 by adding an additional check to the singleton used in launching PT from another process.
PR Checklist

[x] Closes: #8277
[x] Communication: I've discussed this with core contributors already. If work hasn't been agreed, this work might be rejected

Validation Steps Performed
Manual testing that crash no longer occurs when trying to launch a second instance.

@BLM16
Please correct the referenced issue in the PR description.

Please correct the referenced issue in the PR description.

I believe it is the correct issue. This stops the crash that occurs when trying to launch a second instance of PT. Once I fix it, it will simply make the current instance the foreground window. That issue mentions the runner, but the conversation is mostly about duplicating windows. This is the issue I was directed to from #23220 where I first tried implementing the fix. I was told to move it out to a separate PR.

In the PR checklist you referenced #8722 instead of #8277.

Ah, my bad. Sorry. I forgot that that was in the checklist and just glanced at the description.

Manual testing that crash no longer occurs when trying to launch a second instance.

Could you add the exact steps, please? How did you try launching second instance?

Could you add the exact steps, please? How did you try launching second instance?

Updated:

Manual testing that crash no longer occurs when relaunching the PowerToys executable with an instance already running.

I was trying to reproduce the crash with PT v0.69.0 and I can't. That's why I asked for exact repro steps. What I was trying is:

run PowerToys
Go to Program files and run manually PowerToys.exe

The result is PowerToys settings is launched. No crash observed

Interesting. Some people seem to experience this still while others don't. I will siscuss this further in the referenced issue.

@jaimecbernardo what is your risk tolerance to have this in for .70?  Assuming minimal at this point but it looks simple

Yeah, I noticed that it fixed a similar thing, so I included that fix. I plan to fix the issue here, too. I am just busy at the moment.

That might make sense, yes. When merging, make sure GH doesn't auto-close the referenced issue (has happened to me before...)


How do you get the chart's repostory to use variables？

I want to get the chart's repository in the template or chart's metadata.It's best to be in the chart's metadata.How to implement it,please?

Hey! Would you mind if I ask what use case you are trying to solve with this? Is the repository URL necessary for displaying in the application, or is this for users of the chart to submit bugs/see the source code, as done in #3056?

I'm using HAPI, and I want to update the specified release, so I need to know which repo belongs to this release. I can't implement this now.


Update QR code example, include image

There is a merge conf.

discussed on the call, probably better to remimplement.


Coverage static analysis

This PR introduces a tool that finds program locations in validators whose exectution always lead to validator failure. Separating out such locations greatly improves the readability of coverage reports.
This PR does not include the extensive test-suite comprised of QuickCheck tests that we've used to validate the analysis (c.f. branch Coverage-static-analysis on the Quviq fork of this repo) as we are in the process of moving the generators to the plutus-core repo.
The tests will come in a separate PR later.
Pre-submit checklist:

Branch

[x] Commit sequence broadly makes sense
[x] Key commits have useful messages
[x] Relevant tickets are mentioned in commit messages
[x] Formatting, materialized Nix files, PNG optimization, etc. are updated

PR

[x] Self-reviewed the diff
[x] Useful pull request description
[x] Reviewer requested

@sjoerdvisscher any clue what's up with the build here?

@sjoerdvisscher CI works locally with
nix build -f ci.nix linux

so this would seem to be a hydra issue.

I'll try on mac, if that succeeds too we'll ignore it.

@MaximilianAlgehed It works fine on mac too. Let me know when the PR is done, then we'll review and merge it.

@sjoerdvisscher it might make sense for you to start reviewing this now. I have yet to clean up the commit history and rebase to fix the latest materialized changes etc. but this is blocked on https://github.com/input-output-hk/plutus/pull/4552 so while we wait we might as well use the time productively.

@sjoerdvisscher this is ready for review now.

Also, the CI failures here don't replicate with nix build -f ci.nix linux so I'm not sure I can debug them.

@sjoerdvisscher any progress on this?

@MaximilianAlgehed Just back from holidays!
@koslambrou Can you merge this?


Human friendly URLs

Problem
Our current URLs for occurrence search is base64 encoded JSON. That cannot be fiddled with as a human (like changing a year). Even if it wasn't base64 encoded it would still be very awkward to change anything. And it is very useful to be able to fiddle with the URL. As a developer at least this is something many of us do frequently.
Reason it is like this
The hosted portals support search by predicates. And that cannot easily be serialised to something as simple as what we have in APIv1.
Change suggestion
Most queries are very simple and could be serialised to an APIv1 GET query string. So we could do so in most cases, and then break into the more complex search strings as needed. E.g.

simple: apiv1 style: country=US&year=1900,2000
but country NOT USA and identifiedBy LIKE "*humboldt*" cannot fit into v1, but could then be JSON or similar less human friendly.
And finally we could use (possible short lived) IDs for very large queries that doesn't fit into the URL.

close as duplicate of https://github.com/gbif/hosted-portals/issues/209


adding image with resource name

how to add image and resource name together inside secheduler
i have facing problem init .
what are parameters to add an image with resource name

i got the answer
https://github.com/StephenChou1017/react-big-scheduler/issues/24
from here


⚠ Melody has degraded performance

In ea222ba, Melody (https://melody.triza.dev) experienced degraded performance:

HTTP code: 200
Response time: 1067 ms

Resolved: Melody performance has improved in 1d634cd.


⚠ Samsung has degraded performance

In 3f66bf8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2554 ms

Resolved: Samsung performance has improved in b988f7d.


[Feature Request] Add support for custom geometry API

Let's say I have a set of my own vertices, normals and texture coordinates. How do I create an Object3d from them?

Support for custom geometry added in ViroReact 2.11 release. Closing this issue -> https://docs.viromedia.com/v2.11.0/docs/virogeometry


response differs from aws s3

Describe the bug
If an s3 rm command is issued for an object with a name longer than 256 characters, AWS s3 responds with HTTP 2xx status code indicating success even though the object name is illegal. With Versity we get an HTTP 500 Internal Server Error which triggers a retry in the AWS cli. Although it might seem silly that such an object could not exist in the first place, we would like to see the same behaviour between Versity and AWS s3.
To Reproduce
aws s3 rm s3:/bucket/[ any name with >256 characters]
Expected behavior
Return value should be the same as aws s3.
Server Version
Version  :
Build    : release-rpm
BuildTime: 2024-08-23_03:04:17PM
Additional context

Thanks for the steps here. Looks like the PUT side of the long pathname is broken too 😞. I'll see if we need a separate ticket for that or if we can just address both in the same PR.


Applications - Optical Flow for Object Tracking

Track Objects

Live
Video

@LakshmiKumar23 @asalmanp - Test with video

Also use - https://github.com/GPUOpen-ProfessionalCompute-Libraries/MIVisionX/blob/master/data/videos/AMD_driving_virtual_20.mp4


Travis CI: Build is broken for legacy Python

Tests are failing on all pull requests for the past 17 days:

https://travis-ci.org/tensorflow/tensor2tensor/pull_requests

30 days...  Should we just drop support for legacy Python?

https://twitter.com/raymondh/status/1080961135493316608

I'm working on it. Re: Py2 in general, until Google as a whole switches to
3 we're stuck there as well. It does seem like it will happen sometime this
year though.
Also, we do some extra checks in py2 and tf latest (or tf-nightly) -- that
maybe the source of the breakages as well.
On Fri, Jan 4, 2019 at 3:35 PM cclauss<EMAIL_ADDRESS>wrote:

30 days... Should we just drop support for legacy Python?

https://twitter.com/raymondh/status/1080961135493316608

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tensorflow/tensor2tensor/issues/1319#issuecomment-451600856,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABFCFrlGl0kV07sSGMX1_Dr4PVUBZCgoks5u_-VCgaJpZM4Zd3FU
.

--
We are here on earth to do good for others. What the others are here for, I
don't know.
Afroz Mohiuddin


Battle Box music plays too early

The Battle Box music plays way too early every round. It's also worth noting that MCC Island's "Starting in" music doesn't seem to play, but I'm unsure if this is because of MCCI or Island Utils. Possibly related?
https://user-images.githubusercontent.com/1149870/189960863-25b60b84-2c4b-469e-a123-06c30cd308a7.mp4
https://user-images.githubusercontent.com/1149870/189960846-fac1d7b7-8367-46aa-b8a7-3a074e246193.mp4

My battle box music starts at 00:10 as it should, but idk why yours starts at 00:02. And the Starting in music in Battle Box is actually the Battle box music, not the original Starting in music as you can see in the MCC event.
Scroll to 2:22:29 - There you will hear that it's the Battle Box music that plays instead of the original Starting in music- https://www.youtube.com/watch?v=0MC-ieK3BME
I apologize if you don't understand, I'm Swedish and I'm not very good at writing in English xD

Weird, its supposed to play at 00:10 as that's when the music starts in the actual event but yours play at 00:02 for some reason. I will look into it


Summary formatter

Summary
Introduce a new formatter that provides a summary of scenarios being run
Details, motivation, context
This is a nice simple example of how to write a formatter with the new API. It's helped me drive out or extract some cleaner replacement code for common stuff like the end-of-run stats, and should also prove more reliable than the pretty formatter when run in random mode, because of its simplicity.
I have an idea that this could be made more awesome, with more console-based fanciness to show the details of each step for the currently-running scenario, then collapse back into the scenario title / result once it moved on to the next one. Anyway that can come in another ticket.
How Has This Been Tested?
New feature in docs/formatter. A couple of unit tests for some of the extracted pieces.
Screenshots

:
Types of changes

[x] New feature (non-breaking change which adds functionality)

Checklist:

[x] I've added tests for my code

Note that I originally called this the 'spec' formatter (in homage to RSpec and Mocha's spec formatters) but I went with summary instead in the end - spec seems a bit overloaded in our world. WDYT?

Note that I also think this might be a useful tool to help finish off #992 since the output is simple.

I believe this is ready to merge @cucumber/cucumber-ruby

OK, no objections so I'm going to merge this.


Add .bazelci/presubmit.yml

Related to #42
I also need to submit an issue in their repo, according to the documentation.
I've kept this pretty basic. We'd like to test on the 3 major platforms. There are some other things I'd like in the future:

run & test targets: blocked on #9
buildifier linting: blocked on us formatting our code
using remote builds (i.e. the rbe_ubuntu1604 platform): this is probably blocked on as-of-yet-unfiled issue where we have a bit too many implicit dependencies on the exec environment (e.g. libicu) it's why we aren't doing bazel build inside our GitHub action (which runs in the "official" Bazel containers, which RBE may use...)

For the extra stuff that might not succeed on attempt 1 it'll be easier to add those as follow-ups, once we can trigger CI :) My goal is to just get something basic working.

I could of course make this more minimal but I'm feeling lucky ;)


Craneline vector shift count semantics does not match docs

In implementing SIMD support for s390x, the precise semantics of handling too-large shift counts for Cranelift vector shift instructions seemed unclear to me.   In the existing aarch64 and x86_64 targets, the Cranelift instructions are mapped directly to the native instructions, which happen to treat shift counts larger than the lane width by shifting everything off the end of the lane, i.e. resulting in an all-zero (or all-sign-bit-copies) lane element.
This behavior is actually explicitly verified in the simd-bitwise-run.clif runtest:
    v0 = iconst.i32 17 ; note that this will shift off the end of each lane
    v1 = vconst.i16x8 [1 2 4 8 16 32 64 128]
    v2 = ishl v1, v0

However, looking at the documentation, we have this statement:
        Integer shift left. Shift the bits in ``x`` towards the MSB by ``y``
        places. Shift in zero bits to the LSB.

        The shift amount is masked to the size of ``x``.

        When shifting a B-bits integer type, this instruction computes:

            s &:= y \pmod B,
            a &:= x \cdot 2^s \pmod{2^B}.

Now, admittedly, this does not explicitly refer to vector types either way.  However, usually the semantics for the vector operation matches the one for the scalar operation, so I would have expected that the shift count would be considered modulo the lane size.
And since the s390x vector shift instruction does implement that exact modulo semantics, I've simply implemented the Cranelift instruction directly with the native s390x instruction - only to see a failure in the runtest.
Looking at the Wasmtime as main user of Cranelift, the WebAssembly vector shifts are also specified to use modulo semantics.  And indeed, the WebAssembly to Cranelift mapping adds an explicit modulo operation there:
      Operator::I8x16Shl | Operator::I16x8Shl | Operator::I32x4Shl | Operator::I64x2Shl => {
            let (a, b) = state.pop2();
            let bitcast_a = optionally_bitcast_vector(a, type_of(op), builder);
            let bitwidth = i64::from(type_of(op).lane_bits());
            // The spec expects to shift with `b mod lanewidth`; so, e.g., for 16 bit lane-width
            // we do `b AND 15`; this means fewer instructions than `iconst + urem`.
            let b_mod_bitwidth = builder.ins().band_imm(b, bitwidth - 1);
            state.push1(builder.ins().ishl(bitcast_a, b_mod_bitwidth))
        }

It seems to me it would be preferable to have the Cranelift IR semantics match the WebAssembly semantics, remove that explicit modulo operation during the WebAssembly->Cranelift translation, and add it to those back ends that need it.   This would allow efficient code generation on s390x without affecting performance on the other platforms.
In any case, the documentation should be updated to explicitly define the Cranelift shift count semantics for vector types.
FYI @cfallin @afonso360

I agree that this should be fixed. This was one of my early my contributions to the project (when things were quite different, https://github.com/bytecodealliance/cranelift/pull/1120); using Cranelift apart from a WebAssembly translation was not top of mind back. Since both main architectures (x64 and aarch64) needed the mod operation, it seemed reasonable then to have the translation do it. Now it makes more sense to move the extra operations down into each backend that needs them.


Seed userid

Currently we do not have a way to pass userID and userGroup from a parent subscription to its children.
This enables that capability for all subscription types. Regardless of whether they are admin or not, so we know where they came from.

/retest

This will be obsoleted by @philipwu08 work.


Use noConflict versions of jquery and lodash

Coverage decreased (-0.5%) to 90.998% when pulling 2422eb5a9ff54c7a6dbf9556115722e0ebeb7c60 on jansav:noConflict into dcd161caf7a744e31bb1f73b1b252eb1c503d982 on Houston-Inc:master.


Use gentype

... to generate TS declaration files.

https://discord.com/channels/717436122480902225/813023992604131338/813057249990803468

We should wait for https://github.com/rescript-association/genType/issues/556 or resolve it using babel or something on downstream


Crash during single-engine restart in almond-dev

While a conversation is open in another tab:
Jul 27 09:06:25 crowdie thingengine-child-1[21736]: Uncaught error in dialog loop TypeError: $import(...) is not a function
Jul 27 09:06:25 crowdie thingengine-child-1[21736]:     at eval (eval at parse (/opt/thingengine/node_modules/genie-toolkit/lib/sentence-generator/compiler/index.js:130:25), <anonymous>:33:108)
Jul 27 09:06:25 crowdie thingengine-child-1[21736]:     at SentenceGenerator.initialize (/opt/thingengine/node_modules/genie-toolkit/lib/sentence-generator/generator.js:121:19)
Jul 27 09:06:25 crowdie thingengine-child-1[21736]: (node:2) UnhandledPromiseRejectionWarning: TypeError: $import(...) is not a function
Jul 27 09:06:25 crowdie thingengine-child-1[21736]:     at eval (eval at parse (/opt/thingengine/node_modules/genie-toolkit/lib/sentence-generator/compiler/index.js:130:25), <anonymous>:33:108)
Jul 27 09:06:25 crowdie thingengine-child-1[21736]:     at SentenceGenerator.initialize (/opt/thingengine/node_modules/genie-toolkit/lib/sentence-generator/generator.js:121:19)
Jul 27 09:06:25 crowdie thingengine-child-1[21736]: (node:2) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
Jul 27 09:06:25 crowdie thingengine-child-1[21736]: (node:2) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I don't think this applies any more because the Genie compiler was refactored quite a bit and the race that triggered this no longer applies.


Quest helper tries to set config values before the user is logged in, leads to warning spam

not sure what the consequences are of this but here are the logs:
questhelper.log

Can you give the steps on how to recreate this?

this happens every time I launch from IntelliJ with plugin hub enabled. I got the full logs by logging an exception here:

looks like it will be resolved by https://github.com/Zoinkwiz/quest-helper/commit/21edb557f9008df2c732a4643c04256f4bd2ecdc


Implement the planning phase

Context
The tool will need to plan for the resources that need to be manipulated in the beginning.
Description
The plan phase consists of:

parse the config
download the plugin (not applicable till the registry is in place)
load the plugin
send the config to the plugin
create the resource dep graph
read already existing resources
output a protobuf plan to apply

Acceptance Criteria
Some of these items are not achievable till at least one plugin is in somewhat a functional state, but it's a start:

can read upstream resource and reconcile them during planning
can create the dep graph
define a plan state in protobuf

/triage
/assign
/label epic


Add WidgetTester.runAsync()

This will allow callers to run real async code within a widget test.
https://github.com/flutter/flutter/issues/16859

approach sgtm


Auto scrolling/jumping to the song that starts playing

Not sure if it's a bug or intended, but if I'm browsing through a playlist towards the top of the playlist, the song I was listening to towards the bottom of the playlist ends and the next one starts, it will automatically jump the page to the song that just started playing. So then I have to scroll back to the top where I was.
Here's a video example of the issue:
https://streamable.com/rnl56

Happens in the browser too, so not an issue with GPMDP, but with Google Play Music itself.


Use dequeueReusableCell(withIdentifier: for:) in QuestionView

Hi @KrSerhiy, thanks for this PR!
I'm afraid this is crashing the app. When using dequeueReusableCell(withIdentifier: for:), you have to register a class or a nib with register(_:forCellReuseIdentifier:).
I can merge once you fix this.

Oh, I missed that up. I have already fixed it.

Merged. Thanks!


[feature] adding useThrottle

it seems like we don't have a useThrottle function in the library just yet, and I would love to make a PR and have it included in the library!

I am using this solution


Unable to sideload the example

Question
I'm following the instruction on the following page.
https://learn.microsoft.com/en-us/office/dev/add-ins/tutorials/outlook-tutorial
At step Test the generated add-in, when I run , the following error is shown:
><EMAIL_ADDRESS>start
> office-addin-debugging start manifest.xml

Debugging is being started...
App type: desktop
Starting the dev server... (webpack serve --mode development)
The dev server is running on port 3000. Process id: 3709
Sideloading the Office Add-in...
Error: Unable to start debugging.
Error: Unable to sideload the Office Add-in.
Error: Sideload to the Outlook app is not supported.

Hi @zengem. Thanks for reaching out. On which Outlook client and version are you testing this tutorial?


Add DDoS recommendation

Add recommendation to use DDoS Protection Standard tier
Clarify scale set vs availability set (fixes #850)

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/n-tier/images/n-tier-cassandra.png
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/images/n-tier-sql-server.png
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/n-tier-cassandra.md
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/n-tier-sql-server.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/n-tier/images/n-tier-cassandra.png
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/images/n-tier-sql-server.png
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/n-tier-cassandra.md
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/n-tier-sql-server.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docs/reference-architectures/n-tier/images/n-tier-cassandra.png
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/images/n-tier-sql-server.png
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/n-tier-cassandra.md
:white_check_mark:Succeeded
View

docs/reference-architectures/n-tier/n-tier-sql-server.md
:white_check_mark:Succeeded
View

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Docker Build Failed

Problem encountered on https://dotnet.microsoft.com/en-us/learn/aspnet/microservice-tutorial/docker-image
Operating System: macos
Provide details about the problem you're experiencing. Include your operating system version, exact error message, code sample, and anything else that is relevant.
[+] Building 0.0s (1/2)
=> ERROR [internal] load build definition from Dockerfile                 0.0s
=> => transferring dockerfile: 40B                                        0.0s

[internal] load build definition from Dockerfile:

failed to solve with frontend dockerfile.v0: failed to read dockerfile: error from sender: open .Trash: operation not permitted

Fixed needed to execute the program from MyMicroService directory and there is a difference in Docker file, need to name the solution as in directory which created another issue but both of them are resolved.

I think this failure was caused by that you ran it under user directory where the .Trash locates.
Even though you run sudo ls .Trash, the output may still be ls: .Trash: Operation not permitted.


[Bug]: First time git connect of an app with Templates [Maintenance order template] shows one uncommitted change

Is there an existing issue for this?

[X] I have searched the existing issues

Description
When I connect an app with Maintenance order template, for the first time to git, I see one uncommitted change
Steps To Reproduce

Create a new app, and add the maintenance order template
Connect this app to git
Note that after connecting it to git for the first time, one uncommitted change is seen on master branch.
On creating a branch from master, and checking out the diff in the commit in the repo, the following diff is seen

Public Sample App
No response
Environment
Production
Severity
High (Blocker to building or releasing)
Issue video log
No response
Version
Cloud

This would indicate a clean up is required on the template app, re-assigning accordingly.


Provide three-* HTML tag typings

Not 100% sure what will pick this up (VS Code in HTML projects, I guess -- but other than that?) -- let's find out!
declare global {
  interface HTMLElementTagNameMap {
    'my-element': MyElement;
  }
}

I'm currently unclear on what would pick this up and when, so I'm deferring this to 0.4 or later.

I'm currently unclear on what would pick this up and when, so I'm deferring this to 0.4 or later.

Some first steps were taken in 32b7126e885ebe9eb2ea7976e214b172c5d48f8e, in the form of a proxy that can generate bindings on the fly. This allows us to provide bindings for anything from hyperscript-like APIs to JSX compilers. Closing this, but there will be follow-up issues.


Path mappings setting is swapped

Issue :
Microsoft say : Settings that aren't swapped: Path mappings
i create a Linux custom container web app , with two slots , and i map a file share in each of the slot , when swap , i see the screenshot :

i don't have any application settings in the web app and slot
Could you please verify ?
Thanks a lot

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

ID: f6e09089-1ae2-8943-5ce2-9d48f458c81f
Version Independent ID: ba780cba-f604-b0a4-a81a-23c7d2384762
Content: Set up staging environments - Azure App Service
Content Source: articles/app-service/deploy-staging-slots.md
Service: app-service
GitHub Login: @cephalin
Microsoft Alias: cephalin

Hello @chtourou-youssef , thanks for the question! We are taking a look into this and will get back to you soon.

@chtourou-youssef , yes, you are right. You don't seem to have App Settings as per screenshot. Pls note that if you have App Settings, you should have a view like:

Also, verify the same forTarget changestab. Let me know if this answers your question.

I'don't have any application settings
the application setting will be swapped if i don't mark Deployment Slot setting as checked.
for the path mapping , i think you should update documentation or path the web app to conserve path mapping during swapp

Test

No badge for me ?
Télécharger Outlook pour Androidhttps://aka.ms/AAb9ysg

From: PRMerger6 @.>
Sent: Friday, August 20, 2021 10:05:17 AM
To: MicrosoftDocs/azure-docs @.>
Cc: chtourou-youssef @.>; Mention @.>
Subject: Re: [MicrosoftDocs/azure-docs] Path mappings setting is swapped (#79764)
Closed #79764https://github.com/MicrosoftDocs/azure-docs/issues/79764 via 1e37ef00082887357649e34b79561655307a63bb.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/azure-docs/issues/79764#event-5185679830, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARD5RWJIR3CAGXNULIXH5M3T5YLE3ANCNFSM5CICELOQ.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&utm_campaign=notification-email.


Add example encrypted assertion setup for Saml2Backend

This adds encrypted assertion demonstration between Satosa Saml2Backend and simplesamlphp Satosa non-transparent SP configuration

This just serves as a Proof Of Concept, to show that it works...


sql: support APPLICATION_NAME variable

PR: https://github.com/cockroachdb/cockroach/pull/10725

Closed by https://github.com/cockroachdb/docs/pull/908


flow modality

OK! I asked you about the issue that I can't get the correct result. And I re-downloaded  the bn_inception_flow_init.caffemodel with the command get_init_models.sh .
I checked its properties which modified on August 30th.
Will I download the correct?

@yjxiong  Very much looking forward to your answer.

Is my batchsize set too small？

Possibly.
How many GPUs are you using for training? Please note that, the effective batchsize, which is batch_size*iter_size*num_gpu should be around 128.

@yjxiong only one. I'll modify as you said.

By the way,Why must be 128？

Cause this will affect the number epochs. Too few epochs will be not enough for the model to converge.
And it is a common practice to use relative larger batchsize than 32.

Thank you very much  for your concentration and it's work but too time consuming


bug: disable create new campaign button on homepage

Create New Campaign button on homepage is only useful on the page if user is logged in. Might be a good help wanted backlog item.

PR: https://github.com/GoogleCloudPlatform/emblem/pull/624

Above PR has been merged. Closing.


Add prefer_ini_files flag

This stores QSettings properties in ini files instead of the registry
on windows. It significantly speeds up starting times when developing
on gWindows.
Bug: b/229088448
Test: Manual testing

I would like to quickly test if this is also an improvement on my gWindows. Code wise LGTM

This does not decrease launch times for me at all. No measurable difference

After discussion in the standup: I'm closing this as it may just hide an issue users could be experiencing. We should have a separate discussion on how to proceed with the list of recently opened captures and the auto-saving feature.


Testing in preparation for v1.14.0

Process to add tasks below. Create issues as necessary to describe steps to close the testing gap:

[x] Crowdsource any areas we think that Cilium could benefit from additional manual testing prior to release.
[x] Identify new getting started guides.
[x] Check for deprecated settings, how those may impact existing docs / GSGs.
[x] Identify top 5 critical guides to validate.

If you have any areas of concern to validate prior to the v1.14 release, please add a task to this issue and/or comment below.
### Tasks
- [ ] https://github.com/cilium/cilium/issues/26932
- [ ] https://github.com/cilium/cilium/issues/26651
- [x] Clarify OpenShift guide
- [ ] https://github.com/cilium/cilium/issues/26926
- [ ] https://github.com/cilium/cilium/issues/26927
- [ ] https://github.com/cilium/cilium/issues/26928
- [ ] https://github.com/cilium/cilium/issues/26929
- [ ] https://github.com/cilium/cilium/issues/26930
- [ ] https://github.com/cilium/cilium/issues/26931

Hello 👋 I can assist with review/testing.

The "Test mutal-auth demo from GSG" was successful. Closing since the "Test mutal-auth demo from GSG on EKS" is not part of the v1.14.0


Use fully-qualified namespaces for all Kompute objects

Even if they are already in the kp namespace.
Add a script to make these changes automatically.

@axsaucedo , we can probably just close this as not required?

Yes @robquill let's close - thanks


timeout implementation incomplete

this only accepts infinity: https://github.com/ninenines/cowboy/blob/master/src/cowboy_rest.erl#L237
which doesn't match this type: https://github.com/ninenines/cowboy/blob/master/src/cowboy_rest.erl#L24
the cowboy_protocol:opts() type mentioned here: https://github.com/ninenines/cowboy/blob/master/src/cowboy.erl#L41 doesn't seem to be implemented anywhere.
also cowboy:start_clear seems to ignore the timeout option but does support a request_timeout option.

Seems that's all long fixed.


Update README

Hey man, great work with this tool. Just wanted to let you know that the link you provide for custom images doesn't work: https://github.com/kube-hetzner/packer-hcloud-microos
I contribute to the project but I don't know exactly when and why that repo was removed, but my guess is when v2 released which incorporated that inside the main project repo. I will try to find the source from it and bring it back for you but when that is done it's probably best you keep a fork just in case.

Hi @aleksasiriski and thanks a lot for letting me know! I had no idea. If you can find where this is at now it would be great :)

Hi @aleksasiriski ! do you have a chance to find the relevant source? Otherwise I will remove references to MicroOS for now. Thanks!

@mysticaltech Can you help out here?

@vitobotta @aleksasiriski Sorry for the late reply folks, please find the images in our main repo under the packer folder. Those should work.

@vitobotta No worries, it's a pleasure. Here's the direct link (last time I was on the phone) https://github.com/kube-hetzner/terraform-hcloud-kube-hetzner/blob/master/packer-template/hcloud-microos-snapshots.pkr.hcl


block not right

Height：1347514
Your API return hash：0005d90115be32dd1511ef8ee7727852c0b38c59b98474612d60b46569e3d9c3
grinsan.net retrun hash: 0003565b19c043f97a79ce62de3b31345b715b6bba65088eb7f083cd1909c5fa

Hello DQFSN, by return hash, did you mean last _block_pushed?
Our api returns same data with grinmint api .

When I query grinnodelive.api with that block height, it returns the correct hash starting with 000356, can you check below.

but i still get the wrong result

and when i query by hash, i supposed to get no answer, bu in fact it returns the forked block.

According to api documentation you can give either blockheight, hash as parameter.

okay, I also need go to sleep, good night ~

When I do
curl -d '{"jsonrpc":"2.0","id":1,"method":"get_header","params":[1347514, null, null] }' -o - https://grinnode.live/v2/foreign

I get
{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "Ok": {
      "cuckoo_solution": [
        64325325,
        75806541,
        155413856,
        173070557,
        535354060,
        827686172,
        840060193,
        861338603,
        924971382,
        938114704,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>
      ],
      "edge_bits": 32,
      "hash": "0003565b19c043f97a79ce62de3b31345b715b6bba65088eb7f083cd1909c5fa",
      "height": 1347514,
      "kernel_mmr_size": 6003812,
      "kernel_root": "ea23183c8d21aa08d4a1c7045ab544d736318db1a7f360535d3b6ecd8dfd48a3",
      "nonce":<PHONE_NUMBER>6003505392,
      "output_mmr_size": 10166017,
      "output_root": "352ba32cea7364e62cc22bcd5cef13da7ea9633bbafbbc24b0f3560047dd4588",
      "prev_root": "ec91249ca32178fb51ceb9ad480f8bbe05afbca867a1903e80c0a452095da152",
      "previous": "0002d18d405f15dea80579e9ddc29fce14d1dd45f09ac75dabb3853fb881f5de",
      "range_proof_root": "f1e65b96987a6d82ffcc9ea69c7226885a0382c824c13e7fe0886aff48bf422d",
      "secondary_scaling": 0,
      "timestamp": "2021-08-12T13:34:22+00:00",
      "total_difficulty":<PHONE_NUMBER>790454,
      "total_kernel_offset": "dccc3b12005306f08930ed2f2016783e7db06261a1add0938dd1924da08cb2d4",
      "version": 5
    }
  }

the hash it responded to me is  0003565b19c043f97a79ce62de3b31345b715b6bba65088eb7f083cd1909c5fa which matches the result from grinscan. Could you @DQFSN provide the exact request you are executing so that we can try again to reproduce?

curl -d '{"jsonrpc":"2.0","id":1,"method":"get_header","params":[null, "0005d90115be32dd1511ef8ee7727852c0b38c59b98474612d60b46569e3d9c3", null] }' -o - https://grinnode.live/v2/foreign

{
  "id": 1,
  "jsonrpc": "2.0",
  "result": {
    "Ok": {
      "cuckoo_solution": [
        36898201,
        305384014,
        324313027,
        371221843,
        876890588,
        996277344,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>,
<PHONE_NUMBER>
      ],
      "edge_bits": 32,
      "hash": "0005d90115be32dd1511ef8ee7727852c0b38c59b98474612d60b46569e3d9c3",
      "height": 1347514,
      "kernel_mmr_size": 6003812,
      "kernel_root": "b4a4e8d90fedfb84b4f6c18606698f5b1584faf952d998b63e9db4bf6ad3256e",
      "nonce":<PHONE_NUMBER>3447361717,
      "output_mmr_size": 10166017,
      "output_root": "a815112eb2a7b71e722a351b040f8fc28cca39b5fd439ee05f927daaee163558",
      "prev_root": "ec91249ca32178fb51ceb9ad480f8bbe05afbca867a1903e80c0a452095da152",
      "previous": "0002d18d405f15dea80579e9ddc29fce14d1dd45f09ac75dabb3853fb881f5de",
      "range_proof_root": "b993f232e2b3e0cc58b13c0bdc04a45a31e65689e39efdc97614569c57fe4b30",
      "secondary_scaling": 0,
      "timestamp": "2021-08-12T13:34:37+00:00",
      "total_difficulty":<PHONE_NUMBER>790454,
      "total_kernel_offset": "dccc3b12005306f08930ed2f2016783e7db06261a1add0938dd1924da08cb2d4",
      "version": 5
    }
  }
}

I suppose it would return err when i query by  an orphan block's hash

If we query by block height 1347514 it gives hash 0003565b19c043f97a79ce62de3b31345b715b6bba65088eb7f083cd1909c5fa just like grinscan. If we query by hash it gives block height 1347514 just as expected.
Is the problem that if you query the hash 0005d90115be32dd1511ef8ee7727852c0b38c59b98474612d60b46569e3d9c3 you get block height 1347514, same as for hash 0003565b19c043f97a79ce62de3b31345b715b6bba65088eb7f083cd1909c5fa. Did I understood the problem correctly? @DQFSN

Yes, you got it

Thanks for your patience and clarifying. To me it seems like an expected behaviour because it should be possible to query the orphaned blocks and they would of course have the duplicate height.
I sent message on Telegram groups and Keybase just to double check if that is an expected behaviour and I will get back to you.

Okay, thank you

John comments in the Telegram ツ community group that it is very common because of one minute block time. We are both not sure how long the orphaned blocks would be stored.
If that is important to know, like if it is part of the design of your project, I would be happy to help review node source code and find out more details.
In the mean time, I recommend closing this issue as we found out the reason of block height conflict and we confirmed API is fine.

In the mean time, I recommend closing this issue as we found out the reason of block height conflict and we confirmed API is fine.

closing this issue.


Enable setup.service and disable it after first run

What this PR does / why we need it:
This PR enables the setup.service via systemd and disable it after it runs once. This ensures that the setup runs in case systemd cannot start the service immediately, due to a pending shutdown.
Fixes #https://github.com/kubermatic/kubermatic/issues/9724
Fix a bug where cloud-init "package_reboot_if_required" fails and prevents the setup of the node

Ref: https://github.com/kubermatic/machine-controller/pull/810

/test pull-machine-controller-e2e-vmware-cloud-director

/retest

/approve
/lgtm
@ahmedwaleedmalik PTAL
/assign @ahmedwaleedmalik

@WeirdMachine can you please check if this issue exists when using OSM? I'm pretty sure it shouldn't but we never know.

could not start the process: fork/exec ./hack/ci-e2e-test.sh: no such file or directory

No idea what happened here, the file has been renamed and it worked fine for other CI jobs 🤷♂
/retest

/lgtm

/cherrypick release/v1.42


Introduce precommit target

Originally posted by @pellared in https://github.com/golang-templates/seed/pull/305#discussion_r1574268017

@tomMoulard, do you want to address this issue?


Redis 6.2 command changes

Hi,
According to the Redis 6.2 release notes, several commands have changed in one way or another.
Can we get this module to update according to the new changes?
Example:
LPOP now accepts a COUNT optional parameter which changes the return value type

Hey Shahar,
I believe commands introduced in 6.2 are already there with v1.7.0, or did I miss something?

My bad.
The bug is actually in missing types in https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/ioredis/index.d.ts


Pytg module does not handle signal while waiting for _new_messages.acquire()

I think it should be conditional wait than semaphore.
If signal is issued, the program will come out and handle the signal only after another message is received..

I don't think I understand your issue, sorry.

Hi,
i debugged the receiver code a bit, what i understand from that code is.

Receiver thread receives a ANSWER and push into the queue and release a semaphone
Main thread will yield from the queue and wait for the another message to arrive (i.e semaphore.acquire()).

one main problem i noticed with this, while main thread waiting for next message (blocking sempare.acquire() call), if i issue a siginit, main thread will not recieve that signal because it is waiting on the blocking call. program will not handle ^C (Ctrl + C). i have to issue kill -9 to stop the process.
the alternative solution will be, instead of semaphore, you can use threading.Condition along with the lock.

Reciver thread calls condition.notifyall when data arrives.
Main thread can do conditional wait (i.e condition.wait(4)), so that it wakes up every 4 sec or so. by doing this main thread can easily handle the signals/interrupts.

Please let me know if you think otherwise.

I have not looked into threading.Condition and condition.wait() but this sounds like busy waiting for me, and more like a polling solution.
Which might introduce higher CPU usage again. (Thats what the whole queue stuff is for in the first place)
I am currently a bit busy so I can't test anything, and don't have the time to read about that in the docs.
Maybe next week I might get time to look into that.