Config files to support silent installation

Some installers require a configuration file to specify parameters necessary for silent installation.

The manifest could be extended to support the data needed in a config file and could be created at install time on the local machine, or a file could be provided in addition to the manifest with some kind of pointer.

config files are useful and sometimes needed for:

Inno Setup ( .iss )
Install Shield ( .iss )
MSI ( .mst )
OracleDB Client ( .rsp )

Since the manifests are YAML, inline files through a syntax like:
extra_file:
  name: setup.iss
  content: |
    [SetupScript blabla]
    SILENT=TRUE
    LANG=1031
    ...

should be easy. The question is whether it's practical for long files and whether it's the right approach - maybe external files make more sense

I think this issue was opened to address whether exists (or is planned) a configuration file which stores the list of 'packages' to install along with various versions. Also, with syntax characters to specify whether an -update or -install command only chooses versions which are exact or only update to latest (patch, minor, major). Something like packages.json for npm. Since this is "system wide" and not based on a root folder, there would probably be a need to either create groups w/in a config file (i.e. Tools, media, etc...) or maybe just use something stored in C:/users/joeblo/.

Quite a few installers require input parameters via silent installation - MSIs even support this natively. Manifests should definitely be able to handle taking in parameters (optional or required) for silent installation and pass them to the executable or MSI/MSIX.

I'd like a list of the top packages that actually require a config file for silent installation, not just parameters that need to be passed. It looks like IntelliJ falls into this category.
It would also help to know of a few specific packages that optionally take a config file. It looks like Microsoft SQL Server falls into this category.
I'm sure individuals would want to customize their configuration file in most cases. I'm thinking through how we could support a "default" configuration file in the community repository, and then a trivial mechanism to supply a different config file specific to the desired end state.
This could have implications on how "export/import" would behave as well as other scripted install scenarios.

IntelliJ does not require a config file anymore. Are there other packages that require it?

Installers built by Setup Factory may need a config file for silent install:
https://www.indigorose.com/webhelp/suf9/Program_Reference/Command_Line_Options.htm
(/T is the path of temp files, not the path of program files)
Softwares from Stardock (Fences, Start11, Start10, etc.) are using this kind of installer.

@denelon
The licensed/paid version of FortiClient is an MSI installer that requires an MST transforms file in order to be installed (silently or non-silently) in order to connect to the correct management tenant and obtain its license from there. There is also a freely available version of FortiClient VPN to download, but it has fewer features and most corporate Fortinet customers will need to deploy the licensed version. The custom installer and MST file for this version of FortiClient is downloaded from the management platform, so basically every Fortinet customer gets a custom-built download. Because of this, this is a kind of software companies would distribute from their own internal winget repositories and not from the public winget-pkgs but it doesn't matter. There is more software like this - licensed and downloaded from some portal behind a login, and this software often uses MST for license or tenant registration information.
Microsoft Office Perpetual and Microsoft M365 Apps are installed by the Office Deployment Tool and the /configure <XML-CONFIG-FILE.xml> parameter. The XML config file is a required argument and it must be a path pointing to a readable file (readable to the Office Deployment Tool and the user account that runs it).
AutoDesk DWG TrueView requires an .ini file and parameters such as: Setup.exe /W /q /I DWGTrueView_2021_English_64bit_dlm\setup.ini /language en-us to install silently.
Janitza GridVis which is an IoT/industrial control system software that can either install in a standalone/single-client mode or a central-server mode with WebGUI and all, and it is an "install4j" setup that requires a response.varfile answer-file and parameters like: setup.exe -varfile "response.varfile" -q to install silently.
In order to install a licensed version of PDF XChange Editor Plus you want to pass it a .xcvault license file via the install parameter KEYFILE=<PATH>. Technically there is also the option to use the KEYDATA= parameter and pass the license encoded as Base64 but that is very unreadable, you risk hitting Windows' 1024 character command-line length limit and it's also not preferable for other license management reasons. See: https://help.pdf-xchange.com/sysadmin/ and https://help.pdf-xchange.com/pdfxe10/index.html?switches-for-msi-installers_edpub.html.
There is another piece of software, not publicly available and rather specific to the industry my employer is in, that has an installer made with the "Qt Installer Framework". This software/framework requires a rather complex .qs file written in JavaScript and using callbacks to navigate a silent installation: https://doc.qt.io/qtinstallerframework/noninteractive.html
UltraVNC, while already available on winget-pkgs also requires a /loadinf="config.inf" parameter to install it with a desirable configuration. The defaults, chosen when no config-file is provided like right now, are only good for some limited usecases.
Microsoft wants us to deploy the new Microsoft Teams using a teamsbootstrapper.exe exe and a .msix file. One is the installer, one is the application package. This isn't really a "config file" but it is an additional file that has to be bundled in order for the install to "work" (well, in reality it doesn't work at all anyway but that's not your/wingets problem, that's just Microsoft being Microsoft: https://github.com/MicrosoftDocs/OfficeDocs-SkypeForBusiness/issues/10542) - in theory, if this bootstrapper did work, then it would also require the bundlex .msix file.
Additionally, any number of in-house developed apps may require or optionally accept MST or similar response/answer/transform/config files during installation. Even many apps that are already in the winget-pkgs repo today, such as Mozilla Firefox, can optionally take MST transforms and an individual or corporate user of winget may want to distribute a "customized" version of any such ordinary software like Firefox through their winget package repository. This may be achieved a number of ways, in the case of Firefox specifically there's GPOs and Intune policies too, but MST files are another option and for some software maybe the only option. Also, some software may be deployed before a computer is joined to an MDM such as Intune or an Active Directory domain (such that GPOs would take effect) so pre-customizing it right during the install is the safest option. For example, we currently deploy the benign software "neovim", which is already available in winget-pkgs, with a custom MST transforms file that tells it to NOT put a shortcut on the desktop. There is no parameter or other way to prevent the Neovim  MSI installer from creating a desktop shortcut, but an MST works.

All of that being said, could we not solve this already with ZIP files and nested installers? The ZIP file would just contain the MST/config/answer file we need for the setup to run and the parameter would be passed to the nested installer? I have not tried this, but it seems like it should work - but then again this issue is still open?
I hope I was able to help and some of these examples are useful.

I just tried deploying a licensed FortiClient (MSI + MST) using the following manifest (excerpt):
InstallerType: zip
NestedInstallerType: wix
Scope: machine
NestedInstallerFiles:
- RelativeFilePath: FortiClient.msi
InstallerSwitches:
  Custom: TRANSFORMS=FortiClient.mst REBOOT=ReallySuppress DONT_PROMPT_REBOOT=1 DESKTOPSHORTCUT=0
ProductCode: '{GUID}'
Installers:
- InstallerUrl: https://domain.tld/installers/FortiClient.zip
  Architecture: x64
  InstallerSha256: FILEHASH

and it worked flawlessly. @denelon Would you say ZIPs + NestedInstallers are a good way to achieve multi-file installs like what is asked here? Or would you consider it unsupported and we shouldn't rely on it working?

I wouldn't rely on it working since portable packages get different treatment in terms of how the path is hooked up. With administrator or Dev Mode enabled, we have a path available, but with user install and Dev Mode disabled, we end up with path cramming.

But InstallerType portable is not the same as InstallerType zip:
https://github.com/microsoft/winget-cli/blob/2fece93b79e3c844af3bb096bf0f5ed31389379e/schemas/JSON/manifests/v1.7.0/manifest.installer.1.7.0.json#L55
Unless I'm misunderstanding, the behavior and handling of portable packages should not apply to ZIP + NestedInstaller packages.

Any new developments or comments on this?


xsave64 alignment fix

Fixes #419 for me and the other commenter on the issue who suggested the fix.
And also, the Intel developer manual does actually state that the address should be 64-byte aligned.

jurplel/install-qt-action hit us again. We should really consider move away from this because we have too many problems with it.


Audio Recorder using python

Records User's audio and saves it into output.wav file into the system using python's pyaudio and wave library

go through the updated readme file to know ur mistakes and raise another pr (project description is missing)


How do I simulate a page refresh?

I want to test my apps view for the event that a user might refresh the page by either pressing "F5" or by using the browser's refresh button.
How would an e2e test with AngularJS and Protractor look like?
I cannot seem to get any relevant information on the web.
Thank you.

browser.driver.navigate().refresh() vs browser.refresh().
browser.refresh() - refresh to the url that I used in browser.get()
browser.driver.navigate().refresh() - refreshes the current url in the window. It respects the click after the browser.get().
Thanks Andy

Is there such a think as a hard browser refresh (Shift-Refresh)?


Remove the Swift-3-era pointer casting diagnostic.

Remove this additional note when attempting to incorrectly initialize UnsafePointer:
Pointer conversion restricted: use '.assumingMemoryBound(to:)' or
'.bindMemory(to:capacity:)' to view memory as a type.
The note was added for Swift 3 migration. The idea was to get projects
building as quickly as possible and effectively tag bad behavior so it
could be corrected later. That worked, but now it's been working
against us for the past couple of releases. Too much new code is using
these two APIs and the vast majority of uses are not only incorrect,
but much more simply expressed without them. Instead, programmers need
to be made aware that the UnsafeRawBufferPointer API already does what
they want... but we can work on that problem as separate task.
Most uses of these APIs are something like:
return rawptr.assumingMemoryBound(to: T.self).pointee
or
UnsafeRawPointer(ptr).bindMemory(to: UInt16.self, capacity: 2).pointee
Instead of simply
return rawptr.load(as: T.self)
I've even seen programmers do this:
extension UnsafeRawPointer {
var uint8: UInt8 {
let uint8Ptr = self.bindMemory( to: UInt8.self, capacity: 1 )
return uint8Ptr[0]
}
}
...instead of simply using either UnsafeRawPointer.load or UnsafeRawBufferPointer's subscript.

Replace this paragraph with a description of your changes and rationale. Provide links to external references/discussions if appropriate.

Resolves SR-NNNN.

@swift-ci test

Looks good to me.


[GLUTEN-4141][VL] Support Gluten Build in Debian 12

What changes were proposed in this pull request?
Support Gluten Build in Debian 12 environment
(Fixes: #4141)
How was this patch tested?
All the unit tests were run and manually checked that the build works with Spark running in Debian 23

@zhouyuan @FelixYBW Please review. Tested that this works as expected on Debian 12 clusters.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4535_time.csv
log/native_master_01_29_2024_f040fe8d6_time.csv
difference
percentage

q1
32.26
33.80
1.546
104.79%

q2
24.37
25.67
1.304
105.35%

q3
37.58
38.07
0.490
101.30%

q4
37.44
40.59
3.146
108.40%

q5
70.88
69.30
-1.586
97.76%

q6
5.34
7.04
1.692
131.67%

q7
82.57
85.84
3.272
103.96%

q8
84.54
86.69
2.146
102.54%

q9
124.35
121.85
-2.503
97.99%

q10
41.97
43.51
1.542
103.67%

q11
20.72
19.98
-0.740
96.43%

q12
26.38
29.14
2.754
110.44%

q13
44.88
45.40
0.523
101.17%

q14
18.82
15.65
-3.169
83.16%

q15
28.42
29.66
1.239
104.36%

q16
15.59
14.28
-1.314
91.57%

q17
100.48
102.13
1.644
101.64%

q18
147.19
149.99
2.807
101.91%

q19
12.51
13.92
1.418
111.34%

q20
26.03
26.90
0.871
103.35%

q21
225.10
225.67
0.574
100.26%

q22
13.88
13.48
-0.399
97.12%

total
1221.31
1238.57
17.258
101.41%

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_master_01_30_2024_time.csv
log/native_master_01_29_2024_f040fe8d6_time.csv
difference
percentage

q1
35.36
33.80
-1.558
95.59%

q2
24.10
25.67
1.576
106.54%

q3
38.51
38.07
-0.436
98.87%

q4
38.16
40.59
2.421
106.34%

q5
68.29
69.30
1.010
101.48%

q6
7.27
7.04
-0.232
96.81%

q7
82.16
85.84
3.678
104.48%

q8
84.80
86.69
1.884
102.22%

q9
126.41
121.85
-4.557
96.40%

q10
44.51
43.51
-0.995
97.77%

q11
20.56
19.98
-0.586
97.15%

q12
28.18
29.14
0.956
103.39%

q13
45.37
45.40
0.031
100.07%

q14
16.65
15.65
-0.997
94.01%

q15
28.38
29.66
1.282
104.52%

q16
14.19
14.28
0.089
100.63%

q17
101.24
102.13
0.888
100.88%

q18
149.10
149.99
0.896
100.60%

q19
12.63
13.92
1.292
110.23%

q20
26.37
26.90
0.534
102.03%

q21
226.96
225.67
-1.292
99.43%

q22
13.51
13.48
-0.023
99.83%

total
1232.71
1238.57
5.861
100.48%


Bug Fix: Auth Caching in Py3

Bug Fix: Update for the token hashing broke Py3 support
Enhancement: update the example log file so that tox will generally just work, at least on Unix-like systems

:+1:

:+1:


[Removal]: Brave Citron Chipmunk

Hotspot Name
Brave Citron Chipmunk
Hotspot b58 Address
112pjUdBFKHHGTQZ393iELo7pmnKv5u7HjbUFGsbhMDVNUHsxCPH
Discord Handle
Darlog#3544
Hotspot Manufacturer
SenseCap
Removal Reason
I am trying to sell this, I recently bought it. What is the matter?
Modifications
No
Extra forwarders
No
Extra antennas
No
Additional Information
As you know by now I bought multiple hotspots and I am reselling them: I did not violate any rules. Why are they all on this list???
Edit:
After reading other issues I understand that you probably banned my hotspot due to activities that happened before I bought it. I am a secondary market buyer and some of my hotspots have already been resold by me. I bought multiple hotspots to distribute them amongst people I know. I am acting within the community guidelines and I am optimistic that you will come to the conclusion that all of my hotspots should be removed from the list. After all, I am trying to support this community and I am acting responsibly. Thank you.

We do not have sufficient evidence to remove these hotspots from the denylist. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.

We have taken into account this removal request in the next iteration of the denylist. It may take some time before it's processed. This is an automated comment due to the volume of addition and removal requests. A future tool is in the works to provide more insight into the analysis approach made by the Helium team and community members that maintain this list.


Button action (sometimes) is not performed

Hello,
i am trying to control light with button device. The button (gpio 17) is configured that a short press turns on the switch (gpio 18) and a long press turns off the switch. But very often when the button is pressed the action is not performed.
Thank you for your advice.
"devices": [
{
"device": "button",
"name": "on-off",
"gpio": 17
},
{
"device": "switch",
"name": "LED",
"gpio": 18
}
]
[RPi] localhost on-off: Programmable Switch Event: Single Press
[RPi] localhost LED: On changed from false to true
[RPi] localhost on-off: Programmable Switch Event: Long Press
[RPi] localhost on-off: Programmable Switch Event: Long Press
[RPi] localhost LED: On changed from true to false
[RPi] localhost on-off: Programmable Switch Event: Single Press
[RPi] localhost on-off: Programmable Switch Event: Single Press
[RPi] localhost on-off: Programmable Switch Event: Single Press
[RPi] localhost on-off: Programmable Switch Event: Single Press
[RPi] localhost LED: On changed from false to true
[RPi] localhost on-off: Programmable Switch Event: Long Press
[RPi] localhost on-off: Programmable Switch Event: Long Press
[RPi] localhost on-off: Programmable Switch Event: Long Press
[RPi] localhost on-off: Programmable Switch Event: Long Press
[RPi] localhost on-off: Programmable Switch Event: Long Press
[RPi] localhost LED: On changed from true to false

Does the tile in the Home app bounce when you press the button?  From the log, Homebridge RPi exposes the button actions alright.
How did you configure the button actions? In Homekit?  In that case, it’s most likely an issue between Homebridge and your Home hub.  What are you using for that?  Is that already on tvOS or iPadOS 14?  I saw some reports about issues with the Home Pod still running on 13.

Hello ebaauw, thank you for your reply. Its exactly as you wrote. Button actions are configured in homekit, which is on iPad 13.7. Tile is always bouncing when the button is pressed, but the actions are only sometimes performed.
As you advised I updated iPad to iOS 14, but after update the button tile have disappeared (all others are unchanged) So i set it up again on the iphone with iOS 13.7 and everything works fine. Now just find the button tile on iOS 14 :)
Thank you

As you advised I updated iPad to iOS 14, but after update the button tile have disappeared (all others are unchanged)

Damn, looks like iOS 14 no longer displays a tile for the button, when combined with other services in the same accessory.  I still see the buttons exposed by Homebridge Hue, but not those by Homebridge RPi.


rkt/api_service: add implementation for basic api service interfaces.

This PR implements basic interfaces for reading pod/image information:
ListPods(), InspectPod(), ListImages(), InspectImage(). And GetInfo()
to get rkt/appc/api version info.

Need some feedbacks on the pod/image filtering semantics:

If filter includes multiple annotation pairs, should we combine them in AND or OR ?
Should we keep ImageNames in the pod filter, or should we return image name in ListPod()? As image name is not required in pod manifest, it can be empty. If we return the image name, we will need to do more disk I/Os.

dang,  types.Labels composite literal uses unkeyed fields, This passes on my go 1.4.2..

@yifan-gu I am targeting this for the next release after 0.9.0 unless you shout otherwise

Depending on #1604

ready for review?

@jonboulle Going to change the filtering rules a little bit.

Ready for a review @jonboulle @alban @iaguis @eyakubovich
(Why there isn't things like @rkt-team?)

@yifan-gu you can create one if you like

Working on functional tests, but will put in another PR

Ping?

Reviewed.

Should we keep ImageNames in the pod filter, or should we return image name in ListPod()? As image name is not required in pod manifest, it can be empty. If we return the image name, we will need to do more disk I/Os.

I think returning it would be useful if it's not empty.

I think returning it would be useful if it's not empty.

@iaguis Are you saying return the name if it's in the manifest, otherwise leave it as empty? My concern is that will cause inconsistent behavior, user need to test that field to make sure whether the name exits.

Comments addressed.

@iaguis Are you saying return the name if it's in the manifest, otherwise leave it as empty? My concern is that will cause inconsistent behavior, user need to test that field to make sure whether the name exits.

Hmmm... Fair enough.

@yifan-gu let's chat about this and #1602

@yifan-gu Reviewed. A few comments to fix but otherwise it looks good.
It would be good to add a functional test that adds some images and pods and then talk to the api service on its socket to check them. Can you file a follow-up issue for this?

@alban @iaguis Why a killed app doesn't create status file? Should reaper.sh $app be invoked according to https://github.com/coreos/rkt/pull/1407#issue-106634232

It would be good to add a functional test that adds some images and pods and then talk to the api service on its socket to check them. Can you file a follow-up issue for this?

Will do after this

Need to think about the app state, and image info in inspectpod.

I think testing the existence of the status file is not reliable enough, even combined with the pod's state. (e.g. pod can be running even if the app is aborted in the future)
I propose we hold a flock on the status dir in during the execution of the app. So to determine the state of the app we can:

try to lock the status dir (it must exist after rkt prepare)

if fails, the app is Running
if success, try to read the exit code

if fails, the app is NotStarted (it can start later, or it's aborted before start for some reason)
if success, the app is Exited

@vcaputo @iaguis @alban ^

@alban @iaguis Why a killed app doesn't create status file? Should reaper.sh $app be invoked according to https://github.com/coreos/rkt/pull/1407#issue-106634232

If systemd in the pod is terminated immediately rather than a normal shutdown (e.g. the user presses ^]^]^] in the terminal), systemd cannot start reaper.sh.

Please rebase it - it will pickup fixes for semaphore (installing the vet and cover tools).

I propose we hold a flock on the status dir during the execution of the app.

If the api-service does a trylock and the pod does a regular lock, the api-service has the capability to delay indefinitely the startup of a pod because advisory locks don't need write access to be taken. @vcaputo is it correct?

@yifan-gu I suggest to add a "FIXME" in this PR about the app status and then fix it in a future PR.

Added FIXME, rebased.

@yifan-gu one (important) comment then LGTM

let's kick the tyres on this!

merge on semaphore green
@yifan-gu please file a follow up issue for functional tests

:+1:


Impossible to export method from the scala object as wasm function.

code example:
object Test {
def main(args: Array[String]): Unit = {
println("Main")
}
@Export(name = "hello")
def hello(): Unit = {
println("Hello")
}
}
Error: Caused by: java.lang.IllegalArgumentException: Function hello already defined in this module
Note: Note: I have prepared a possible fix. I will create a PR soon

PR: https://github.com/konsoletyper/teavm/pull/498


Completing sign up flow

Description
This ticket describes steps needed to complete the sign-up flow.
The user scenarios are as follows:

A user signs up through the AutSPACEs webpage
A user is directed to the AutSPACEs sign-up flow
After a user has signed up, direct the user to the account survey questionnaire.

Definition of Done
A user is able to sign up through OpenHumans and direct the user to the account survey questionnaire.
Tasks

[ ] On clicking sign-up, direct to the user to the OpenHumans sign-up page.
[ ] On successful sign-up, direct the user to the account survey questionnaire.

[ ] Create a model storing the responses of the questionnaire
[ ] [Optional] Set a flag on the user model that describes if the user is new.

[ ] After user completes questionnaire, set flag to true and do not show questionnaire again.

[ ] When user is finished answering questionnaire, user should see confirmation navigation page.

Also seems straightforward. Might be useful on sign in to warn a survey is part of the process and advise how many questions are in it. Some potential users may halt the sign in process if they think they don't have time to fill in a survey. Can they save first questions if they want to and return later.

@SuziQpid , this is definitely something we want to raise in milestone 4, when accessibility and overall design of the website is reviewed, discussed, and reworked.
Presently, there are only two questions that are asked when users sign up, but if they don't complete it and sign in later, they will not be given the questionnaire. This is probably a bug, but this will be clarified in milestone 4 after minimum functionality has been completed. (Some questions include... how would the user get to the questionnaire if they don't finish? Should it be presented even after the user signs in if they don't complete it? etc. etc.)

@gedankenstuecke this issue is tagged as Milestone 2, but is tracked by #140, which is Milestone 3. I'm happy to move it to Milestone 3, since it is involves data being moved between OH and the platform. Agree?

Yep, that makes sense. Happy to have it moved!

I closed #140 which was the broader issue, this one is still relevant as it's about the demographics capturing which we should as one of the next stages probably (and it doesn't block on anything else at this stage)

I made a dedicated demographics issue #453


Build failing

@jimbobbennett
Hey Jim! The build is failing for this repo. Not sure if that's expected (or if I did something to mess it up?)
The error it gives is about permissions so I think it's a config problem.
https://github.com/microsoft/AcademicContent/runs/1200985370
Run git config --global user.email<EMAIL_ADDRESS>./deploy.sh: 3: [: microsoft: unexpected operator

<EMAIL_ADDRESS>docs:build /home/runner/work/AcademicContent/AcademicContent
vuepress build docs

wait Extracting site metadata...
tip Apply theme @vuepress/theme-default ...
tip Apply plugin container (i.e. "vuepress-plugin-container") ...
tip Apply plugin @vuepress/last-updated (i.e. "@vuepress/plugin-last-updated") ...
tip Apply plugin @vuepress/register-components (i.e. "@vuepress/plugin-register-components") ...
tip Apply plugin @vuepress/active-header-links (i.e. "@vuepress/plugin-active-header-links") ...
tip Apply plugin @vuepress/search (i.e. "@vuepress/plugin-search") ...
tip Apply plugin @vuepress/nprogress (i.e. "@vuepress/plugin-nprogress") ...
[info] [webpackbar] Compiling Client
[info] [webpackbar] Compiling Server
Browserslist: caniuse-lite is outdated. Please run the following command: npx browserslist --update-db
[success] [webpackbar] Server: Compiled successfully in 11.83s
[success] [webpackbar] Client: Compiled successfully in 11.93s
wait Rendering static HTML...
success Generated static files in docs/.vuepress/dist.
Initialized empty Git repository in /home/runner/work/AcademicContent/AcademicContent/docs/.vuepress/dist/.git/
[master (root-commit) 336d562] deploy
21 files changed, 235 insertions(+)
create mode 100644 CONTRIBUTING.html
create mode 100644 assets/css/0.styles.47b177c7.css
create mode 100644 assets/img/search.83621669.svg
create mode 100644 assets/js/10.92811617.js
create mode 100644 assets/js/11.020a55c7.js
create mode 100644 assets/js/2.66562e48.js
create mode 100644 assets/js/3.7a41b788.js
create mode 100644 assets/js/4.5f60d4ea.js
create mode 100644 assets/js/5.03ea7ffc.js
create mode 100644 assets/js/6.c5c58b40.js
create mode 100644 assets/js/7.7cbd9f73.js
create mode 100644 assets/js/8.7f58d49d.js
create mode 100644 assets/js/9.6274317f.js
create mode 100644 assets/js/app.5747f694.js
create mode 100644 assets/logo.png
create mode 100644 content/event-content.html
create mode 100644 content/hackathon-content.html
create mode 100644 content/k-12-content.html
create mode 100644 content/learning-content.html
create mode 100644 favicon.ico
create mode 100644 index.html
Warning: Permanently added the RSA host key for IP address '<IP_ADDRESS>' to the list of known hosts.
<EMAIL_ADDRESS>Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
Error: Process completed with exit code 128.

Yeah - I need to fix this. They changed the permissions to require SSO, and the GitHub action doesn't have the SSO permission needed to force push to the gh_pages branch.
Still trying to puzzle out how to fix this.


NullPointerException in WeakReferenceCache lines 60, 118

Hi,  today stressing some scenarios i found 2 nullpointers in WeakReferenceCache.
I'll open a pull request to treat this error with a friendly message.
Thanks

pull request: https://github.com/AxonFramework/AxonFramework/pull/1290

This issue has been resolved in PR #1290.
Thanks for making this fix @hsenasilva! We greatly value the effort :-)


Add support for injecting environment variables

I'm not sure if there's a way to do this already with python-lambda, but the node-lambda library handles it this way: https://github.com/motdotla/node-lambda#custom-environment-variables

You can also just use git secret to  add an encrypted file to the repository.
With each deploy, the decrypted files gets uploaded as well.

feature added and merged to master.


futures-executor 0.3.18 depends on futures-util 0.3.18 but the latest available version is 0.3.17

yanked futures-executor 0.3.18 (see #2529 for why futures-util 0.3.18 was yanked)

Thanks!


Second user account support

I'm using a keyboard made with this code. It works perfect for the first user but I can't even add the keyboard to the second user account of the device. Is there a way to achieve this? Thanks a lot for your kind help.

Hi @bderrly, could you please suggest some idea? Thanks a lot!

I'm not sure what the problem is. I have multiple accounts logged into my Chromebook and they can all access the different layouts. I have the extension installed for each of the users. Perhaps that is the difference?

Yes, I have installed the extension for the second user too. But when I try to add that input method, and press "Add" it does nothing. The same extension is working flawlessly for first user though. :(
Here is the screen preview:
https://user-images.githubusercontent.com/58907663/114599723-c558f880-9c93-11eb-9600-eceb1319cbf9.mp4

@suniltheblue try adding the Nepali language before adding the keyboard layout. See https://crbug.com/1190845

@hickford your are my savior. Thank you so much! It worked!!!

Yes, you definitely need to have the language specified in the manifest added to the system before the layout will work.


add S3_URL and ARTIFACT_DIR to ci_upload.py

cc @nickbp
to support using ci_upload.py for production upload
I'd also like it if we can start trying to maintain relatively pep8-compliant python code (line breaks at 80, etc.)

Maybe take a look at https://github.com/mesosphere/dcos-commons/blob/master/tools/release_builder.py if you're looking at doing releases. It'll also create a universe PR for you with a comment showing the diff vs what was previously there.
See eg https://github.com/mesosphere/universe/pull/653

I don't want it to create a universe PR for me, but if I can make that optional, then I might use it.  I'll have to take a look.


Timestamp, Time, Date, and Category types values aren't written to disk

In my efforts to create a .NET implementation of a Feather reader/writer, I discovered that some column type values are never written to disk.
In particular

CATEGORY is serialized as an INT32
DATE also as an INT32
TIMESTAMP as an INT64
TIME  also as an INT64

In each case the "actual" type can be distinguished based on the column's associated metadata.
Is this behavior intended?  If so, it would probably make sense to remove CATEGORY, DATE, TIMESTAMP, and TIME from the list of Types and document their expected underlying types (or are they allowed to vary?).

I strongly encourage you to direct your efforts toward implementing a .NET version of Apache Arrow. What you are describing is as intended, though.

Cool, follow up question:
Are the mappings in my original post guaranteed?
Stated another way - would it be legal for there to be a INT8 backed CATEGORY (or a SINGLE backed TIME)?  If so, what are the legal mappings?
Aside: Feather hits the sweet spot for my needs (passing results back and forth between R and C#).  Arrow is too large a project for me to tackle in the time I've got available (which is basically just the "write up"- time from attending NYR this year), though I do think it's a interesting project.

Right, but what I'm suggesting is that you could contribute your Feather C# implementation to Apache Arrow and leave it to other .NET developers to get involved and build out the implementation more completely. The distance between a functional Feather implementation and a working Arrow implementation is not as significant as it might seem (i.e. handling nested data and Arrow's slightly more general streaming and file formats).

cc https://github.com/ArvidJB

I ran into this problem when porting the Feather code into the Arrow repo. For the moment, until some R folks become more active in Arrow development, it's best to not make any changes to the Flatbuffers files

This is superseded by Feather V2 (coming in Arrow 0.17.0), which uses the Arrow IPC file format. Since we have an Arrow C# library now it might be most expedient to pursue this work there


Use Nix in cargo-dist workflow

Fixes CLI-47

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

Current dependencies on/for this PR:

main

PR #167

PR #168   👈

This stack of pull requests is managed by Graphite.

Merge activity

Dec 24, 12:02 PM: @@NathanFlurry started a stack merge that includes this pull request via Graphite.


incorrect .babelrc config file throws an error.

An incorrect .babelrc file such as:
{
  "presets": ["es2015","react-app","flow"],
  "plugins": "css-modules-transform"
}

where plugins is NOT an array will lead to the following error

trace (click to expand)
start-storybook -p 6006 -c .storybook
@storybook/react v3.0.0-rc.2
=> Loading custom .babelrc
/Users/alvaropinot/foo/foo-Web/node_modules/@storybook/react/dist/server/babel_config.js:28
finalConfig.plugins.push([require.resolve('babel-plugin-react-docgen'), { DOC_GEN_COLLECTION_NAME: 'STORYBOOK_REACT_CLASSES' }]);
^
TypeError: finalConfig.plugins.push is not a function
at exports.default (/Users/alvaropinot/foo/foo-Web/node_modules/@storybook/react/dist/server/babel_config.js:28:23)
at exports.default (/Users/alvaropinot/foo/foo-Web/node_modules/@storybook/react/dist/server/config.js:18:48)
at exports.default (/Users/alvaropinot/foo/foo-Web/node_modules/@storybook/react/dist/server/middleware.js:14:37)
at Object. (/Users/alvaropinot/foo/foo-Web/node_modules/@storybook/react/dist/server/index.js:149:34)
at Module._compile (module.js:571:32)
at Object.Module._extensions..js (module.js:580:10)
at Module.load (module.js:488:32)
at tryModuleLoad (module.js:447:12)
at Function.Module._load (module.js:439:3)
at Module.runMain (module.js:605:10)
npm ERR! Darwin 16.3.0
npm ERR! argv "/Users/alvaropinot/.nvm/versions/node/v7.7.2/bin/node" "/Users/alvaropinot/.nvm/versions/node/v7.7.2/bin/npm" "run" "storybook"
npm ERR! node v7.7.2
npm ERR! npm  v4.1.2
npm ERR! code ELIFECYCLE
npm ERR<EMAIL_ADDRESS>storybook: start-storybook -p 6006 -c .storybook
npm ERR! Exit status 1

As it can be seen the line 69 of babel_config.js relies on finalConfig.plugins being an array to call the push method.
Either the .babelrc file could be validated or the maybe the error could be controlled showing a more user friendly and intuitive message, or even recover from it creating a plain new array. What do you think?
Adding something like the following could do the trick 😄 :
finalConfig.plugins = Array.isArray(finalConfig.plugins) ?
  finalConfig.plugins :
  [finalConfig.plugins];

We can change it to
finalConfig.plugins = [].concat(finalConfig.plugins);

Would you like to do this @alvaropinot ?

Sure @ndelangen, as long as we keep the actual line:
finalConfig.plugins = finalConfig.plugins || [];

to avoid having [undefined] when finalConfig.plugins is not defined :)

The solution is there at #1156, hope you'll find it useful, but maybe checking for the babelrc integrity would be more inter-sting. What do you think?

Should I close this or are you doing it :D ?


Can't castle?

Black is trying to castle here, but the engine isn't recognizing that he can. The castling properties are all false. Neither their rook or king have moved so I'm not sure why. Yellow highlight is White's last move.

Thank you!


The webpage doesn't load

Update your browser.

The Chrome Version is 22.0.1229.95

why?

The Chrome version is 131.0.6778.140 (the latest version of chrome)

Great, glad the issue is solved


Terminal flickers on successive screen updates

Under two different terminal emulators, with two different termion-based text editors, I'm seeing flickering when updating the screen quickly:
Here's the editor I'm working on, running in Alacritty:

and here's the Smith text editor, in the default OS X terminal:

If I avoid using the clear::All escape sequence, and simply overwrite cells with new content, this problem goes away. This flickering isn't present when using termbox; I think they've avoided this by buffering screen output, and having clear reset the buffer contents, rather than delegating to the terminal using an escape sequence. Any plans to implement that, or does it feel too high-level/abstract for Termion?

This should probably stay at the developer's discretion, termion is a slightly lower level library than termbox.
That said I'm working on eliminating that flicker in Smith by doing this sort of buffering and making a crate that extends termion with a more general version of this is probably a good idea.

Okay so I've updated Smith with a correct usage of std::io::BufWriter which, combined with line by line clearing makes this a bit less of an eyesore, but I suspect that the terminal clearing is indeed slower than just drawing a buffer with spaces behind the content.
Sounds to me like having something similar to BufWriter that would draw everything on dropping would indeed be nice.
Still looking into it.

Yeah, I doubt this is an bug in termion. That'd be very weird.


View Priority Value in Work Item List View

From @michaelkleinhenz on October 5, 2016 12:55
Reference: 1608V132
Description
As a user, I want to see the priority value of a work item in the work item list view.
Functional Acceptance Criteria

The priority value is visible in an item of the work item list.
The priority value is not editable in the work item list display.

Non-Functional Acceptance Criteria
None.
Dependencies

Userstory #338
Userstory #339

Copied from original issue: almighty/almighty-core#340

From @Mgranfie on October 10, 2016 17:46
@michaelkleinhenz is there a dev limitation as to why the priority cannot be edited in the WI list view, is this a point of cutting back on implementation time? LMK..

@michaelkleinhenz would we also want to see the priority on the WI when the WI is opened?


register_test returning error

[x] tests are added or updated

Modify the register_tests function so that it returns a boolean indicating if the registration was successful or not.
Add a cleanup_tests function that is called after the tests have run to deal with any resource allocations that could have occurred in register_tests.
Modify the tests that previously used test_main solely to allocate resources and fail gracefully without registering any tests so that they just use register_tests.
Unify the test success/fail output into a single function.
This PR is done as two commits, the first changes the function prototype and can be built standalone.  The second modifies existing tests to use the new infrastructure.

You know, I'm frankly not entirely sure I like this PR...  register_tests was designed to be super simply, just add tests and nothing more, implement test_main if you want to make life more complicated.  Nice clean distinction.  With this PR, the distinction between the two becomes a bit more vague.  That in itself makes me wonder if this change is justified.

Is the return value from register_tests that much complexity?  The added return 1; shouldn't be a big burden should it?  The cleanup_tests function will typically not be defined.  There are half a dozen tests where register_tests was almost but not quite enough.
This is intended as a step in reducing overall complexity.  It should be possible to replace test_main entirely without adding any further complexity for the just adding tests case.  The remaining test_main tests use argc/argv which is why they haven't been converted.
I also find test_main returning zero on success to be a little counter-intuitive.  I understand why it works as it does.

No, a returned value isn't that much extra complexity.  However, suddenly possibly having to handle an error state when there was no need to do so earlier is.

Looking at the original comment in testutil, the delineage between register_tests and test_main is very simple:
 * Simple unit tests should implement register_tests().
...
 * Tests that need to perform custom setup or read command-line arguments should
 * implement test_main():

With this PR, there's an added "but oh wait, you can do some custom setup in register_tests after all"...  so suddenly you have two places where you can do custom setup.  That makes it a vague grey area, and that's added complexity.

I'm missing something: handling the return code is done by the test framework and is straightforward.  Users of the framework (i.e. tests) don't see this and several tests are simplified.  Doesn't this reduce overall complexity?
I agree that, at the moment, there is overlap between test_main and register_tests.  This isn't good but I'm aiming to remove the former.
Thoughts?

I agree that, at the moment, there is overlap between test_main and register_tests.  This isn't good but I'm aiming to remove the former.

Yeah ok, I get it.  In that case, I would rename register_tests to setup_tests (not to be mixed up with the internal setup_test), 'cause it really isn't about just registering tests.  I guess that the next step will be to pass argc and argv to setup_tests...  so in the end, it's not so much about making a simple change to register_tests as it is about splitting test_main into a setup part (setup_tests) and a cleanup part (cleanup_tests) and merging the old register_tests into the setup part.  Am I getting that right?  If I am, I'd really rather see the whole change in one PR.

Yeah, that's exactly the idea.
I'll do it as one commit.
I was thinking of adding test_arg_count and test_get_arg functions instead of passing argc and argv in because passing them in is adding complexity for the tests that don't care about them.  I'd probably also add test_have_arg to check if a specific argument was given because most tests are checking for specific arguments only (e.g. -benchmark).
Function names subject to approval -- I'm particular bad at choosing meaningful names.

I'm not sure I like where this is going.  It becomes added complexity for those who do check the arguments.  I have a hard time seeing that we gain much in the end with those latest ideas...

I've pushed a first stab at argument handling changes -- the function names are horrible and there will be improvements.  Still, I think it simplifies the code for the tests that do use arguments a little.
I'll leave it here until proceed or not is agreed.

even though still a bit sceptical.

Don't worry too much about that, though...  I think I mostly need to sleep and wrap my brain around this tomorrow

@paulidale, see attached file for an idea how to fix the afalgtest.c problem.
(and yes, I obviously got used to the idea ;-) )
register_test.txt

Thanks for the afalgtest.c patch.  That was what I thought would be required.
I'll clean this up early next week.  I'm not sure about the similarity between the test_get_argument and test_has_argument names.

I've removed the WIP tag and squashed some of the earlier commits.
Review time?

Rebased to master

Ok, looks good to me now.  Will you squash all those commits into one and write a matching commit message, or do you trust our editorial competence? ;-)

I was thinking of squashing them down to a couple rather than one.  The return value and rename of register_tests separately -- I'd like to merge them together into one but the big change between might cause issues..  All the commits after the register_test rename can be combined into one.
If this isn't suitable, I'm happy to mash then into a single commit.  I can scribble some description as well.  I naturally trust the editorial prowess present if someone is keen.
So if anyone has a specific way they'd like to merge this, feel free.
If not, I'll square things up and commit tomorrow (in ten - twelve hours time).
Now we can support test infrastructure that allows generic test related arguments that aren't seen by the test program directly -test-xxxx for a variety of xxxx.  I'm not sure of a use case at present, but it could be handy to keep in reserve.

To squash for you was only an offer in case you weren't up for it. You're the author and have priority. As a reviewer, I'm looking for cleanliness, and will therefore encourage that. I'm glad you have a plan, it sounds good to me.

  Trying to keep the register_test changes separate ended up messier.
I didn't realise it was an offer to squash for me :(

I've rebased this to the current master and added a second commit that fixes the two newly added tests.
Please re-review @levitte

Thanks.


Attributes and enums

First of all, great tool and nice coding!
A question regarding attributes of enum-type:
Examining DBC-files generated by Vectors tool "CANdb++" (version 3.5.4), I see that the attribute default is defined with the enum-name as a string, but each object is defined with the enumerated value as integer (0 => "cyclic" in example below), not a string.
BA_DEF_ BO_  "GenMsgSendType" ENUM  "cyclic","NotUsed","IfActive","NotUsed","NotUsed","NotUsed","NotUsed","NotUsed","noMsgSendType";

BA_DEF_DEF_  "GenMsgSendType" "noMsgSendType";

BA_ "GenMsgSendType" BO_<PHONE_NUMBER> 0;

It seems as if cantools always applies the enum-name-string in all cases?
Which DBC-version do you support?
Thanks!

Hello,
the implementation does not follow any specific DBC-version, as no specification is available to me. Instead, it's based on a few DBC-files found on the internet.
The enum handling looks like a bug. The goal is to make the tool compatible with CANdb++ (and other tools implementing the DBC-specification), so any inconsistencies should be fixed. Pull requests are welcome.
/ Erik

Should I close this issue, or wait for a pull request with fixes?

Hi again!
I have a pending fix in my fork, but realized it was not complete. I will attend to it as soon as I have time...
/Sven


Packer 0.10.2 time outs creating VM using image_url

I have tried latest packer to create an image with support of custom image, but the builder get stuck at the deployment state: "Deploying deployment template" and after some time timeouts.  The custom image's Container and the captured image's  Container are in the same Storage account with the permission Container.
From the packer log:
2016/07/18 08:18:31 [INFO] Packer version: 0.10.2.dev (2e949bf43ddcacd82cc2eb3d17ec029e1313f45c+CHANGES) 2016/07/18 08:18:31 Packer Target OS/Arch: linux amd64 2016/07/18 08:18:31 Built with Go Version: go1.6 ... 2016/07/18 08:19:34 packer: 2016/07/18 08:19:34 Azure response status="200 OK" method="GET" request="https://management.azure.com/subscriptions/<>/resourcegroups/packer-Resource-Group-ysxtrrc053/providers/Microsoft.Resources/deployments/pkrdpysxtrrc053/operationStatuses/08587327769715703244?api-version=2015-11-01" x-ms-request-id="36a8f6d6-dcfb-406b-ab2a-3b4c02450f46" body="{\"status\":\"Running\"}" 2016/07/18 08:20:34 packer: 2016/07/18 08:20:34 Azure request method="GET" request="https://management.azure.com/subscriptions/<>/resourcegroups/packer-Resource-Group-ysxtrrc053/providers/Microsoft.Resources/deployments/pkrdpysxtrrc053/operationStatuses/08587327769715703244?api-version=2015-11-01" body=""
Packer json template:
{   "builders": [{     "type": "azure-arm",     "resource_group_name": "{{user resource_group_name}}",     "name": "{{user name}}",     "client_id": "{{user client_id}}",     "client_secret": "{{user client_secret}}",     "subscription_id": "{{user subscription_id}}",     "tenant_id": "{{user tenant_id}}",     "storage_account": "{{user storage_account}}",     "capture_container_name": "{{user capture_container_name}}",     "capture_name_prefix": "{{user capture_name_prefix}}",     "image_url": "{{user image_url}}",     "os_type": "{{user os_type}}",     "ssh_pty": "{{user ssh_pty}}",     "ssh_username": "{{user ssh_username}}",     "ssh_password": "{{user ssh_password}}",     "location": "{{user location}}",     "vm_size": "{{user vm_size}}"   }],   "provisioners": [{     "execute_command": "echo '{{user ssh_password}}' | {{ .Vars }} sudo -S -E sh '{{ .Path }}'",     "inline": [       "apt-get update",       "apt-get upgrade -y",       "/usr/sbin/waagent -force -deprovision && export HISTSIZE=0 && sync"     ],     "inline_shebang": "/bin/sh -x",     "type": "shell"   }] }
packer json vars file:
{   "resource_group_name": "rg_name",   "client_id": "some_c_id",   "client_secret": "some_secret",   "subscription_id": "some sub_id",   "tenant_id": "some_tid",   "storage_account": "some_sa",   "ssh_username": "some_user",   "ssh_password": "user_secret",   "ssh_pty": "true",   "capture_container_name": "some_name",   "capture_name_prefix": "some_name",   "image_url": "some_url",   "os_type": "Linux",   "location": "Central US",   "vm_size": "Standard_A1" }

It looks like you are using Linux, and based on the provisioner it appears that you are using a distro that requires piping into sudo for activation.  We have seen numerous issues around this were it does not work.  If you are creating a custom image I recommend that you change sudo's configuration to prevent the need for this, e.g. Ubuntu's methodology.
One such example is this: https://github.com/mitchellh/packer/issues/1804.  You will need to follow all of the various bugs attached to this one to get a complete picture.

I'm using the same templates with packer v.0.10.0,  which are working great. The only difference in the template is with the old version, the image is created from the credativ image, with the options:
"image_publisher": "credativ",   "image_offer": "Debian",   "image_sku": "8",
The packer does not reach the provisioning state, since, as i understand, azure is trying to boot a VM but fails for some reason and the whole deployment is stuck and then times out.
Is it possible to enable azure boot diagnostics in packer template?
I have tried to boot that custom vhd file locally and it boots well.

The only way to enable boot diagnostics is to change the code.  You will need to add a boot diagnostic snippet to the JSON template.  You will have to ensure Packer does not delete the resource group either, so you can harvest the results.

The official repository for Azure ARM is the official Packer repository at github.com/mitchellh/packer.
@nezdali One more question concerning your original comments.

The only difference in the template is with the old version, the image is created from the credativ image, with the options: "image_publisher": "credativ", "image_offer": "Debian", "image_sku": "8",

The same template works on v0.10.0, but does not work with v0.10.2?
The difference between the template from v0.10.0 and v0.10.2 is what?  It wasn't clear from the text what the difference is.

Yes, the same template with the diff below works for v0.10.0 but not with v0.10.2
The difference is:
for v0.10.0 :
  "image_publisher": "credativ",    "image_offer": "Debian",    "image_sku": "8",
for v0.10.2:
"image_url": "https://<storage_account_name>.blob.core.windows.net/images/some.vhd",
"os_type": "Linux",
I've also changed the code to enable bootdiagnostics in github.com/mitchellh/packer/builder/azure/common/template/template_builder.go
but
"diagnosticsProfile": {           "bootDiagnostics": {              "enabled": true,              "storageUri": "https://<storage_account_name>.blob.core.windows.net"           }
It creates a blob for bootdiagnostics, the since the deployment got stuck somewhere before starting the VM there were no logs there.
Also tried the whole process in another resourcegroup/storageaccount and with several custom images which work good in azure in another deployments.

Regardless of any provisioner issues the VM should start.  If it isn't then that's bad.
Please send me a gist of the debug output.  Set the environment variable PACKER_LOG=1, and PACKER_LOG_PATH=packer.log, and then post the packer.log.

The workaround is to use vm_size with premium storage in my case vm_size=Standard_DS1 and all worked great with v0.10.2 and image_url
This log is from failed deployment with vm_size=Standard_A1
https://gist.github.com/nezdali/007d62eab9a530636ce99e80093fadaf

Thank you for sharing a solution, and for circling back with the gist.
Unfortunately, when I try to access your gist I get a 404.

before i've embedded the gist into the link tag this is one is without it: https://gist.github.com/nezdali/007d62eab9a530636ce99e80093fadaf

The logs do not give me any hint that there's an issue from the outside, and I think you correctly diagnosed this to the fact that you need a bigger VM.


Tuple of tuples fails to parse

{{true, true}, {true, false}} can't be parsed.

This is because {{ ... }} is a macro expression. You need to use a few spaces:
{ {true, true}, {true, false} }

I think this will bite a few people, maybe the compiler should try to detect this and emit an error.

@RX14 excellent idea!
Now the error given is this:
Syntax error in ./foo.cr:1: expecting token ',', not '}'

If you are nesting tuples or hashes you must write them like this:

    { {x, y}, {z, w} } # Note the space after the first curly brace

because {{...}} is parsed as a macro expression.

{{1, 2}, {3, 4}}
    ^


Run CI on JDK 8, 11, 14 and 17.

Signed-off-by: dblock<EMAIL_ADDRESS>Description
Copy-paste from https://github.com/opensearch-project/common-utils/pull/121.
Issues Resolved
Closes https://github.com/opensearch-project/job-scheduler/issues/103.
Check List

[x] New functionality includes testing.

[x] All tests pass

[x] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

17
Failing with
A problem occurred evaluating root project 'opensearch-job-scheduler'.
> Failed to apply plugin class 'de.thetaphi.forbiddenapis.gradle.ForbiddenApisPlugin'.
   > Could not create plugin of type 'ForbiddenApisPlugin'.
      > Could not initialize class de.thetaphi.forbiddenapis.gradle.ForbiddenApisPlugin

8
Failing with
A problem occurred evaluating root project 'opensearch-job-scheduler'.
> Failed to apply plugin 'opensearch.opensearchplugin'.
   > Could not create plugin of type 'PluginBuildPlugin'.
      > Could not generate a decorated class for type PluginBuildPlugin.
         > org/opensearch/gradle/plugin/PluginPropertiesExtension has been compiled by a more recent version of the Java Runtime (class file version 54.0), this version of the Java Runtime only recognizes class file versions up to 52.0

@reta Any ideas here? Seems like for 8 it means having to go and build OpenSearch gradle extensions with JDK 8, and for 17 I am not sure.

@dblock ahhh ... here we are,  Gradle 6.x does not support JDK-17 .... (in core we use JDK-11 to run Gradle but then JDK-17 is "injected" to run tests)

@dblock ahhh ... here we are, Gradle 6.x does not support JDK-17 .... (in core we use JDK-11 to run Gradle but then JDK-17 is "injected" to run tests)

Do you know how or have any ideas how to solve this for a plugin?

and indeed, build-tools are requiring JDK-10 at least
  allprojects {
    targetCompatibility = 10
    sourceCompatibility = 10
  }

so artifacts are not consumable by JDK-8

I could change that to 8, would that make sense/work?

Do you know how or have any ideas how to solve this for a plugin?

We need Gradle 7+ but it won't work for 1.3 :( since the build-tools are not compatible, We could branch off 1.x for the plugin and move main to 2.0, that would unblock JDK-17

I could change that to 8, would that make sense/work?
We could try, yeah, I don't know the prehistory of JDK-10 compatibility sadly

@reta would you give up on using JDK17 at runtime for 1.3.0?
Note that we also found https://github.com/opensearch-project/security/issues/1653

@dblock  Gradle 7 is a major blocker here, going with 11 for 1.3 looks acceptable, moreover we know right now that some plugins are not compatible with JDK-17 (and not sure about JDK016 since the reflective access started to tighten there).

@dblock Gradle 7 is a major blocker here, going with 11 for 1.3 looks acceptable, moreover we know right now that some plugins are not compatible with JDK-17 (and not sure about JDK-16 since the reflective access started to tighten there).

Yep :(
I've edited https://github.com/opensearch-project/opensearch-plugins/issues/64 to reflect what we think we want in 1.3.0.

@dblock found it [1], let me send the PR ...
[1] https://github.com/opensearch-project/OpenSearch/blob/main/buildSrc/src/main/java/org/opensearch/gradle/OpenSearchJavaPlugin.java#L176

Updated this PR to build on 8, 11 and 14. Punting 17 for post 1.3.0 when we upgrade to Gradle 7 and drop JDK8.

@dblock JDK-8 is green, but for JDK-17 we may need a stretch with Gradle 7 ... I could submit the change but we need to branch off 2.0 or/and 1.x

@dblock JDK-8 is green, but for JDK-17 we may need a stretch with Gradle 7 ... I could submit the change but we need to branch off 2.0 or/and 1.x

We'll do this part of 2.0.


Backport #13568

I'm surprised at how large the spotless commit is. I assume it was just gradlew tidy and most code should have already been well formatted.

@stefanvodita

I'm surprised at how large the spotless commit is. I assume it was just gradlew tidy and most code should have already been well formatted.

I think what you're seeing is mainly where I had to manually resolve conflicts in the drill-sideways stuff and I was doing it in an editor that kind of botched whitespace, etc. There's a bit indentation change because of bulkScorer moving back out of scoreSupplier among some other stuff...


Bug: after stopping donation modal stays

When I confirm the TX to stop donation stream the modal stays
expected: modal should disappear or switch to a spinner/loader until tx is confirmed and then disappear

@sirpy yes I agree. Why is this assigned to me?

@decentralauren all issues I assign to you, require decision on UX (spinner? disappear?) + probably a design

@decentralauren

Updated the description with the appropriate solution.

Added a modal after TX sent, the modal will close once user closes it, or tx is completed.

Fixed, verified on feature branch

verified on prod


⚒[FEATURE] CoinGecko Integration

Describe the feature you'd like
CoinGecko integration
Docs: https://www.coingecko.com/en/api/documentation
✅Tasks

[ ] Add CoinGecko action node.

🎯Acceptance Criteria

[ ] CoinGecko action node should have some key APIs from the docs implemented.

👨💻How to contribute
Follow this guide for step by step on how to fork, commit, and submit PR.
🧱 How to create node

Action node guide
Trigger node guide
Webhook node guide

More info
Like to work on this issue? Let us know, and we will assign it to you 🚀
If you need any help or just want to hangout, reach out to us on our Discord server👾

Can i work on this issue @HenryHengZJ

@utkarshnashine assigned


chore(main): release 0.4.21

:robot: I have created a release beep boop
0.4.21 (2024-04-09)
Continuous Integration

build: Disable upload-rust-binary-action build CI (#68) (f01f415)
build: Fix bash local var (#68) (f01f415)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/linrongbin16/cargo-ci-template.rs/releases/tag/v0.4.21 :sunflower:


Locking a Post to Multiple (BETA) Subscription Tiers makes post uneditable

Welcome 👋
Please keep in mind that GitHub is our office. We invite you to share any bug reports here 🐛..
For anything else please use https://forum.ghost.org 👫
Issue Summary
Using the new beta Tiers feature, if you set access for a post to a number of tiers, the post becomes undeditable and you get the error message: "Validation error, cannot edit post. Value in [posts.visibility] exceeds maximum length of 50 characters. posts.visibility"
To Reproduce

Create multiple subscription tiers
Create a new post
Restrict visibility of your new post to 3 or more tiers
Get error message

Technical details:

Ghost Version: 4.14
Node Version:
Browser/OS:
Database:

This has now been resolved 🎉

Just for record, I was trying to publish to specific tiers and was getting:
Validation error, cannot edit post. Value in [posts.email_recipient_filter] exceeds maximum length of 50 characters. posts.email_recipient_filter

It seems your fix in the last releases made it, it works after upgrading!


Display total record count in Manage Records tab in Zone view #1244

Fixes https://github.com/vinyldns/vinyldns/issues/1244
Changes in this pull request:
Total Number of records Will be displayed in the Manage Records Tab.

Tested locally and it looks like it's working fine. I'm not sure I like the additional string saying "Total Number of Records: X". Might be cleaner just to add the count to the already existing string, so it's like "Records: X"

Tested locally and it looks like it's working fine. I'm not sure I like the additional string saying "Total Number of Records: X". Might be cleaner just to add the count to the already existing string, so it's like "Records: X"

I also think that would be a good idea.

New PR https://github.com/vinyldns/vinyldns/pull/1304
Closing this PR.


⚠ Spryr has degraded performance

In 58542ce, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 3073 ms

Resolved: Spryr performance has improved in 3db067c after 17 minutes.


OCM-11280 | ci: Fix tests panicking in BeforeEach

Issues were introduced by https://github.com/terraform-redhat/terraform-provider-rhcs/commit/9a83aff96c46fba109a8e7aefe72b6c779a762bf
Issue: https://issues.redhat.com/browse/OCM-11280
Change type

[ ] New feature
[ ] Bug fix
[ ] Build
[x] CI
[ ] Documentation
[ ] Performance
[ ] Refactor
[ ] Style
[ ] Unit tests
[ ] Subsystem tests

Checklist

[ ] Subject and description added to both, commit and PR.
[ ] Relevant issues have been referenced.

/test ?

/test rosa-sts-private-optional-presubmit

/lgtm

/retest

/lgtm

/test rosa-sts-private-optional-presubmit

/test rosa-sts-private-optional-presubmit

/lgtm

/approve


Spec: Add support for json logs

Once this spec has been updated and merged, we should implement changes to align with spec on how the agent should handle json logs for the log instrumentation. This spec is still undergoing discussion and changes, so we should wait to implement any changes related to it for now.
Spec PR

Closing this ticket because this spec isn't necessarily widely applicable to Ruby. The spec references the inclusion of a message attriubte for logs, but not all json logging tools actually include a message. While support for JSON will need to be addressed, let's address it at the individual instrumentation level vs a generalized pattern. As additional JSON instrumentation are added, it may be worth it to visit adding an abstracted JSON logs class/ refactor instrumentation, but that will still look different than what this spec is calling for.


Validate all flow references results are wired to navigations

@orius123 please review & merge if OK

I think the following issue is related to this PR:
 workflow:
    - task1 ... # has SUCCESS, FAILURE
    - task2 ... # has only SUCCESS
  results:
    - CUSTOM1: condition
    - CUSTOM2: condition

The compiler complains that the SUCCESS / FAILURE results of tasks are not wired.
How can I solve this issue? Am I missing something? Is it mandatory for a flow to contain SUCCESS / FAILURE results?


[FLINK-33911][ci] Adds custom action for workflow configuration selection

Based on the following PR(s):

https://github.com/apache/flink/pull/23961
https://github.com/apache/flink/pull/23962
https://github.com/apache/flink/pull/23963
https://github.com/apache/flink/pull/23964
https://github.com/apache/flink/pull/23965
https://github.com/apache/flink/pull/23966
https://github.com/apache/flink/pull/23967
https://github.com/apache/flink/pull/23968

What is the purpose of the change
See FLINK-33911 for further context.
Brief change log

Adds custom action

Verifying this change
This change is a trivial rework / code cleanup without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? not applicable

I need to reorganize the workflow-related PRs


WattTime returning incorrect values for grid/carbon-intensity

Describe the bug

Changing the number of observations changes the grid/carbon-intensity returned from the WattTime plugin.
Each observation also has exactly the same (incorrect) grid/carbon-intensity added to the outputs, to 10 dp. For a duration of a few hours the grid carbon intensity for a region should change, maybe not by much but even a few dp's should be as an absolute minimum be expected, but really over a few hours we should expect significant changes.

To Reproduce
Steps to reproduce the behavior:

Run this manifest file.

name: basic-demo
description: null
tags: null
initialize:
  outputs: ['yaml']
  plugins:
    watttime:
      path: '@grnsft/if-unofficial-plugins'
      method: WattTimeGridEmissions
tree:
  children:
    application:
      pipeline:
        - watttime
      defaults:
        geolocation: 37.7749,-122.4194
      inputs:
        - timestamp: '2024-02-26 00:00:00'
          duration: 3600
        - timestamp: '2024-02-26 01:00:00'
          duration: 3600
        - timestamp: '2024-02-26 02:00:00'
          duration: 3600
        - timestamp: '2024-02-26 03:00:00'
          duration: 3600
        - timestamp: '2024-02-26 04:00:00'
          duration: 3600
        - timestamp: '2024-02-26 05:00:00'
          duration: 3600
        - timestamp: '2024-02-26 06:00:00'
          duration: 3600

Add/remove observations and re-run.

Expected behavior

The grid/carbon-intensity for the observation should be the average of the values returned from WattTime for that geolocation, timestamp and duration. WattTime might return multiple carbon intensity for that duration and we use the average of all of them.
Different timestamps should return different grid/carbon intensity.

Screenshots

Video of the bug: https://drive.google.com/file/d/1Mou5tyB6xQ4rzAEsD6rQgmhNcdtAj7p7/view?usp=sharing

Additional context
Add any other context about the problem here.

@jawache The API doesn't return data if there is no data available for that timestamp. The old version threw an error when there wasn't a matching timestamp and API's point_time. This was more evident when we utilized watt-time with mock-observations.
Now, as a solution, I am assigning a value of  grid/carbon-intensity to 0 when there is no data (have not committed it). This solution is working without breaking anything and for every timestamp calculating API's returned data.
If the query is wrong and the API returns an error, we throw an error with the description.
Is this solution acceptable?

Closing as completed


Let users select utility at login

Overview
Allow contributors to select a utility when logging in (assuming there is more than one to choose from.)
Navigate directly to any drafts for that utility.
Closes #124
Demo
forthcoming
Notes

I didn't use RTK query to fetch the draft boundary in the "Proceed" button action. I tried, but was just burning time, so I quit. Feel free to suggest something more idiomatic. (We're not using RTK query for the rest of the login flow.)
f9eab1aba8b05548b097f84c775e6ccc704998e6 adds a second test utility for the contributor user to make testing easier. I don't know if we want to merge it -- do we want staging to stay frictionless, i.e. don't have this form show?

Testing Instructions

scripts/resetdb
Login as<EMAIL_ADDRESS>
[ ] Ensure utility picker accepts your choice
[ ] Navigates to the first draft
[ ] Or navigates to your location before login if there is no draft

Repeat with a user with only one utility (just drop f9eab1aba8b05548b097f84c775e6ccc704998e6 and resetdb)

[ ] ensure no selector

Regression test utility selector in submissions page

Checklist

[ ] fixup! commits have been squashed
[ ] CHANGELOG.md updated with summary of features or fixes, following Keep a Changelog guidelines
[ ] README.md updated if necessary to reflect the changes
[ ] CI passes after rebase

Taking a look now


Updated testing docs for 1.x

I put together some updated testing docs for React-router 1.x.
There wasn't much to write as testing should "just work" with react-router 1.x but mainly this doc helps those upgrading from prior testing setups.
As I do more testing and run into issues, I can add more to the docs.
Re issue #2149

I placed the testing docs at the same location as the old testing docs so that the links already existing scattered through blogposts and forums will still work.

Very cool, thanks for that, mind adding an example to this guide as well?
@chiedojohn also maybe worth mentioning babel-jest and the config with webpack, what do you think?

I think that's a good call! @knowbody
I mentioned babel-jest. I don't use webpack though so maybe someone else could modify submit a PR for that portion?
In regards to the example. Do you think I should add that to the examples directory and link to it? Or just create the example in testing.md?

Cool, I fill the gap with webpack.
The example just put it in the bottom, something like:
Example:
some code

and this is how you can test it:
some code

Example added @knowbody

awesome, thank you!
one last thing can you squash the commits? and then I'll merge

Squashed!


Add ability to initialise API object using OAUTH details

The access_token.get method allows you to convert an OAUTH token into an access token for making API commands on a user's behalf for WebexTeams Integrations. However, currently the ciscospark package won't let you call this method unless you have already an API object, which is a problem since you need a token to make an API object even though you don't need a token to make this call!
Luckily, the constructor doesn't actually check if the token you give it is valid on creation. As a workaround, I currently initialise an API object with a fake token, use it to convert the OAUTH code into the new token and then use that new token to create another API object I'll use elsewhere. To demonstrate:
def makeAPI(client_id, client_secret, OAuthcode, redirect_uri):
    fakeAPI = CiscoSparkAPI(access_token='blahblahblah')
    tokenObject = fakeAPI.access_tokens.get(client_id, client_secret, OAuthcode, redirect_uri)
    realAPI = CiscoSparkAPI(access_token=tokenObject.access_token)
    return realAPI

Ideally, I should be able to initialise the API by calling API = CiscoSparkAPI(client_id, client_secret, OAuthcode, redirect_uri) or something like that directly.

@sQu4rks added this functionality via #76 , which has been merged into master.  I will push a release to PyPI shortly with the new functionality.  We still need tests and docs for the code.

I'll be looking into the tests and docs for this as well @cmlccie

Thank you @sQu4rks !


Fixes a bug in the relabelling logic in literal_unroll.

The generated switch table IR must be immediatedly labelled with
respect to the user function IR else there may be label collisions
between labels in the switch table and non-local jumps in the
versioned loop body.

Does this need a new test?

internal CI: numba_smoketest_cpu_4

I'm not sure how to test it, the collision was between the bytecode offsets in the generated switch table IR and the non-local jumps in the versioned loop body, the trigger happened to be doing:
./runtests.py numba.tests.test_mixed_tuple_unroller.TestConstListUnroll.test_01  numba.tests.test_mixed_tuple_unroller.TestMixedTupleUnroll.test_01

on Python 3.8. The first test having incremented this: https://github.com/numba/numba/blob/77cb53ba8966a38bfbd3413559e4f04b12812535/numba/ir_utils.py#L39 precisely the right number of times to cause a collision when added to the byte offsets present in the second test.

CI passed


Why peer dep on @glint/template?

Noticed this in a non-TS pnpm project: ember-resources requires me to install @glint/template to resolve peer deps. But that's not required for non-TS projects, is it? Should it be declared optional?

Probably!
I struggled with whether or not to make it optional early on, because for TS, it's not optional. But maybe that's fine, and how it's supposed to work?


item.copy is not a function

Thanks for great lib, @mvayngrib
I am using publicEncrypt/privateDecrypt (rsa). But I got this error.

Please review my case!

@kevinvn1709 it's hard to say without seeing the code, but a possible reason is Buffer.concat receiving a TypedArray not a Buffer instance

Thanks @mvayngrib. You are right. It is my mistake, I had changed some code and now it works perfectly.

@kevinvn1709 great! i'll close this then


Sqlite filer store is missing from Docker "_full" images

Describe the bug
The sqlite filer store is missing from the full docker image. Attempting to start the filer with an enabled sqlite section in filer.toml produces an error, and the store is not listed when running filer -help.
System Setup

List the command line to start "weed master", "weed volume", "weed filer", "weed s3", "weed mount":
docker run chrislusf/seaweedfs:3.68_full filer -help
output of weed version:
version 30GB 3.68 a9cd9b054 linux amd64 (via docker run chrislusf/seaweedfs:3.68_full version)

Expected behavior
The standalone binary has the expected behavior:
$ ./weed version
version 30GB 3.68 a9cd9b0542ef9e2c795baf063d3f7db395ff209b linux amd64
$ ./weed filer -help

[...]

Supported Filer Stores:
        arangodb
        cassandra
        elastic7
        etcd
        hbase
        leveldb
        leveldb2
        leveldb3
        mongodb
        mysql
        mysql2
        postgres
        postgres2
        redis
        redis2
        redis2_sentinel
        redis3
        redis3_sentinel
        redis_cluster
        redis_cluster2
        redis_cluster3
        sqlite                    # present
        tikv
        ydb

All the other file listed file stores are present in the output from the docker image, except sqlite.
Additional context

Commit bf0899cbf4ccb42e02f5984802d41c5e9b5e90bf added sqlite to binaries_release4.yml, but container_release4.yml wasn't updated at the same time. I don't know if this was intentional or an oversight.
This is not a request to add sqlite to the standard image. I don't think it would increase the size much, but it clearly hasn't been used before now so I don't think it's necessary.
It would be nice if filer scaffold didn't output unsupported sections, but that's a separate feature.
It would be nice to have a latest_full docker tag.

use full version

fixed, but would need a way to make the tags a re-usable constant.


incorrect 404 page

When you get a 404 error in any language it doesn't display the expected page.
Expected behavior:
If you go to https://docs.stacks.co/es/page-that-doesnt-exist
the page in /src/pages/es/404.md should load
If you go to https://docs.stacks.co/en/page-that-doesnt-exist
the page in /src/pages/en/404.md should load

#1328

Fixed on https://github.com/stacks-network/docs/pull/1332


Add the trader username in the notifier

Add the trader username in the notifier

this is already implemented, check the wiki.

Just found out it does, but I still want them to be in the message instead of the theme. So I can just copy the username of the trader and paste it in rolimon to check his graph to prevent UUC or poisoned items.


[BUG] Can't download anything - Constantly get either a 404 or 'name' error.

Describe the bug
I can't really describe the bug as I have no idea why it doesn't work. It just refuses to download anything. No matter what I search for, be it either specific or just the newest uploaded. I either get a parameter error: 'name' or a 404.
Also, I'm unsure how to input the cfduid. Do I add copy paste like Firefox where it's "__cfduid "xxxx etc" " or like in Chrome where it just gives you the string?
To Reproduce
Steps to reproduce the behavior:

Add in the cfduid and useragent stuff
Click on Search and see the newly uploaded comics
Attempt to download
See error and cry

Desktop:

OS: Windows 10
Version 20H2

Log
This is the 404 log:
See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.
************** Exception Text **************
System.Net.WebException: The remote server returned an error: (404) Not Found.
at System.Net.HttpWebRequest.GetResponse()
at Omnibus.Form1.<btnDownload_ClickAsync>d__28.MoveNext() in C:\Users\Rory\source\repos\Omnibus\Comic Search\Form1.cs:line 309
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
************** Loaded Assemblies **************
mscorlib
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
Omnibus
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/maltb/Downloads/Omnibus/Omnibus.exe
System.Windows.Forms
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4270.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Windows.Forms.dll
System
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4300.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.dll
System.Drawing
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Drawing.dll
MegaApiClient
Assembly Version: <IP_ADDRESS>
Win32 Version: <IP_ADDRESS>
CodeBase: file:///C:/Users/maltb/Downloads/Omnibus/MegaApiClient.DLL
System.Net.Http
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Net.Http/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Net.Http.dll
System.Core
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4320.0 built by: NET48REL1LAST_C
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Core.dll
System.Configuration
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4190.0 built by: NET48REL1LAST_B
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_<IP_ADDRESS>__b03f5f7f11d50a3a/System.Configuration.dll
System.Xml
Assembly Version: <IP_ADDRESS>
Win32 Version: 4.8.4084.0 built by: NET48REL1
CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_<IP_ADDRESS>__b77a5c561934e089/System.Xml.dll
HtmlAgilityPack
Assembly Version: <IP_ADDRESS>
Win32 Version: 1.11.23
CodeBase: file:///C:/Users/maltb/Downloads/Omnibus/HtmlAgilityPack.DLL
************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.
For example:

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

Try with 1.5 that's just been released.


add auto release test result dashboard

add webUI tool to list automated-release test results for different minor releases
by default, release is 4.12
use can choose other supported release in select box
test results will be cached, web page load time is a bit longer at the first time
configure the selection mode of dataframe as single row, when select the row, will show dialog with all prow job links

/cc @tomasdavidorg @LuboTerifaj


Please change your logo

We are already using this graphic for the PowerShell (and PowerShell Preview) extension for Visual Studio Code. Can you please create a new logo that indicates this is specifically Azure PowerShell tools?

Thanks!

Actually I just noticed that this entire extension is simply a copy of our extension, with modifications. Is there perhaps a better way we could collaborate? Our extension is very buggy and has improved immensely since you forked it. @SydneyhSmith are you in touch on the PM side of this project at all? We should probably follow up internally. I am sure @rjmholt has many ideas to improve this without having to take on the debt of forking.

@andschwa -- The PM for this project is @dcaro, he can help with those conversations.
The goal of our project is a standalone extension that should not provide overlapping functionality with the vscode-powershell project.
Its likely that our extension developers leveraged vscode-powershell as a foundation since we required a similar code analysis pattern-- but then implemented our own features.
If our extension contains unnecessary pieces from vscode-powershell, they could be removed or cleaned up from this project and that sounds like a reasonable ask.

I have since changed our extensions' logos to avoid this collision in the marketplace since your logo remains unchanged. I would still recommend that you change your logo to something that indicates your extension's specificity to the Azure PowerShell module(s) and not just PowerShell itself.


Example code for node converter

Subj.

Codecov Report

Merging #11 (55a6e29) into master (ad3b94e) will decrease coverage by 0.22%.
The diff coverage is 58.33%.

@@             Coverage Diff              @@
##             master      #11      +/-   ##
============================================
- Coverage     64.73%   64.50%   -0.23%
- Complexity      114      122       +8
============================================
  Files            27       31       +4
  Lines           655      679      +24
  Branches         77       84       +7
============================================
+ Hits            424      438      +14
  Misses          205      205
- Partials         26       36      +10

Impacted Files
Coverage Δ

...g/uast/uast/example/javascript/rules/Matcher1.java
25.00% <25.00%> (ø)

...g/uast/uast/example/javascript/rules/Matcher2.java
25.00% <25.00%> (ø)

...g/uast/uast/example/javascript/rules/Matcher0.java
50.00% <50.00%> (ø)

.../org/uast/uast/example/javascript/rules/Rule0.java
90.00% <90.00%> (ø)

Continue to review full report at Codecov.

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

Understandable


ARRR deposit is no longer reflected in the Lite Wallet

Please help.
My 550 ARRR is missing from my wallet.
It looks like there is some operations going on where the 550 ARRR coins are sent to an unknown address and some funds are sent back.
The last action is to send the remaining 2.999 ARRR to the unknown address.
Please let me know if this is a bug or this is just a maintenance/syncing process and I will see the 550 ARRR back after this process.
I can be reached at<EMAIL_ADDRESS>Thanks.
Michael

Here are the latest images from the wallet

The interesting thing I notice is that the ***4 transactions ***(Fee, Sent, Change Received & Change Sent) after the transaction in which I received my 550 ARRR (at 1:14:54 on 25 April) happened at exactly the same time at 01:05:26 on Monday 26 April.
And the next two transaction after that (Change Received & Change Sent) also happened at the same time at 1:10:13 on Monday 26 April, and looks like the transaction is not completed yet as I still have the 2.9998 ARRR in my wallet although it was supposed to be sent out in the last transaction Change Sent.


ARROW-5292: [C++] Work around symbol visibility issues so building static libraries is not necessary when building unit tests on WIN32 platform

This was a bit gnarly to say the least but it addresses the issue.
This also includes my changes for ARROW-6457 which were needed to build with Visual Studio Community 2017

-- Compile and link options:
--   Compiler flags to append when compiling Arrow                          "/WX /MP" [ARROW_CXXFLAGS]
--   Build static libraries                                                 ON        [default] [ARROW_BUILD_STATIC]
--   Build shared libraries                                                 ON        [default] [ARROW_BUILD_SHARED]
--   Exclude deprecated APIs from build                                     OFF       [default]

Static libs still being built in MSVC.  Appveyor build looks good
https://ci.appveyor.com/project/wesm/arrow/builds/27239906
Travis CI is OK except for the build timeout
https://travis-ci.org/wesm/arrow/builds/581818851


sliderLine Static left padding (16)

The slider line layer is added to the RangeSeekSlider layer with 16 as the x value.
let barSidePadding: CGFloat = 16.0

I guess you didn't want to have the handle outside the slider or maybe so that the user can actually pass the touches.
I guess this need to be changed to handleDiameter/2.0
I am trying to add a custom labels and move them with the handles. the thing is this 16 static value messes with the calculations. I had to hard code this value in my code.

maybe add padding parameter and the coder can change it.
note that handles are visible outside the slider when setting clip to bounds to false.


Feature/combine no dups

Took your script and removed from module level. Started transition to pep8 standards.
Combined a few methods into functions to help with readability.
Modern import statements (from module import method; not import module)
I considered removing duplicates while keeping in the original file. But maintaining a single file while adding new quotes will eliminate the future need to remove duplicates. When you add new quotes, you only need to compare upon insertion of quotes instead of verifing post update.

Cool, Thanks :+1:


Error "Failed to allocate remote process memory for library string. If you are running an Antivirus or Secruity Suite, try temporarily disabling it."

Hello, so I followed the instructions on the readme to install this and got the error message in the title. Here is the terminal output as well:
WSE Loader by cmpxchg8b, K700, AgentSmith (Build date: Apr 11 2019 21:01:59)
OS version: 6.1.7601 SP 1.0
Command line:
WSE path: Z:\home\alden\Games\MountBlade Warband
Game executable origin: path
Game executable path: Z:\home\alden\Games\MountBlade Warband\mb_warband.exe
Game executable checksum: 1D0AF088
Library path: Z:\home\alden\Games\MountBlade Warband\WSELib.dll
Setting library search path
kernel32.lib local address: 7B600000
SetDllDirectoryW local address: 7B61B940
Library path: Z:\home\alden\Games\MountBlade Warband
Library path size in bytes: 79
Library path remote address: 110000
Remote thread handle: 80
00c8:err:module:import_dll Library fmodex.dll (which is needed by L"Z:\home\alden\Games\MountBlade Warband\mb_warband.exe") not found
00c8:err:module:import_dll Library SkinMagic.dll (which is needed by L"Z:\home\alden\Games\MountBlade Warband\mb_warband.exe") not found
MESA-INTEL: warning: Haswell Vulkan support is incomplete
00c8:err:module:LdrInitializeThunk Importing dlls for L"Z:\home\alden\Games\MountBlade Warband\mb_warband.exe" failed, status c0000135
Exit code: C0000135
Injecting
kernel32.lib local address: 7B600000
LoadLibraryW local address: 7B60C844
WSE Loader by cmpxchg8b, K700, AgentSmith (Build date: Apr 11 2019 21:01:59)
OS version: 6.1.7601 SP 1.0
Command line:
WSE path: Z:\home\alden\Games\MountBlade Warband
Game executable origin: path
Game executable path: Z:\home\alden\Games\MountBlade Warband\mb_warband.exe
Game executable checksum: 1D0AF088
Library path: Z:\home\alden\Games\MountBlade Warband\WSELib.dll
Setting library search path
kernel32.lib local address: 7B600000
SetDllDirectoryW local address: 7B61B940
Library path: Z:\home\alden\Games\MountBlade Warband
Library path size in bytes: 79
Library path remote address: 110000
Remote thread handle: 80
Exit code: C0000135
Injecting
kernel32.lib local address: 7B600000
LoadLibraryW local address: 7B60C844
Failed to allocate remote process memory for library string.
If you are running an Antivirus or Security Suite, try temporarily disabling it.
I am using Linux Mint 21.3 if that helps.

Try running this:
WINEARCH="win32" WINEPREFIX="$HOME/.wine_warband" winetricks vcrun2005sp1

Then re-launching the game.

I ran the command and ran "wse_warband" in my linux_wse_installer folder and got the same exact error and terminal log.

This is the error, why it's happening I am not sure.
00c8:err:module:import_dll Library fmodex.dll (which is needed by L"Z:\home\alden\Games\MountBlade Warband\mb_warband.exe") not found
00c8:err:module:import_dll Library SkinMagic.dll (which is needed by L"Z:\home\alden\Games\MountBlade Warband\mb_warband.exe") not found

Okay, so I reinstalled your program and now mostly it works. The mouse cursor flickers but Warband seems to be otherwise functional.

How do I check if I do? That might be the key to my new issue, the game getting stuck on "loading game" when I click on new game.

@PartridgeProgramming Follow this guide https://github.com/lutris/docs/blob/master/InstallingDrivers.md

In the guide it says for Mint: "NOTE: Mint is not supported and these instructions WILL NOT work in Mint without manual intervention that is outside the scope of this guide. Following them WILL leave your packages in a broken state!!".
Here is what I get when I run "inxi -Gx", if it helps:
Graphics:
Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor Integrated Graphics
vendor: Acer Incorporated ALI driver: i915 v: kernel bus-ID: 00:02.0
Display: x11 server: X.Org v: <IP_ADDRESS> driver: X: loaded: modesetting
unloaded: fbdev,vesa gpu: i915 resolution: 1920x1080~60Hz
OpenGL: renderer: Mesa Intel HD Graphics 4600 (HSW GT2)
v: 4.6 Mesa 23.2.1-1ubuntu3.1~22.04.2 direct render: Yes

So when I run the launcher from your executable I can't seem to be able to change the directx version.

If I run WSELoader.exe directly I can change the directx (it was on 9 before), but the game won't even boot.

Can you confirm the contents of your wse_warband please?

You can try running this and seeing if it works:
WINE_PREFIX="$HOME/.wine_warband wine "/path/to/WSELoader.exe"

Which is what your wse_warband script should be.

Can you confirm the contents of your wse_warband script please?

Here is the contents of my wse_warband script:
#!/bin/sh
WINEPREFIX="$HOME/.wine_warband" wine "/home/alden/Games/MountBlade Warband/WSELoader.exe"

Have you tried running WINEPREFIX="$HOME/.wine_warband" wine "/home/alden/Games/MountBlade Warband/WSELoader.exe" in your current shell? I wonder if sh is causing issue.

When I ran that command, I got the following output on my terminal:
WSE Loader by cmpxchg8b, K700, AgentSmith (Build date: Apr 11 2019 21:01:59)
OS version: 6.1.7601 SP 1.0
Command line:
WSE path: Z:\home\alden\Games\MountBlade Warband
Game executable origin: path
Game executable path: Z:\home\alden\Games\MountBlade Warband\mb_warband.exe
Game executable checksum: 1D0AF088
Library path: Z:\home\alden\Games\MountBlade Warband\WSELib.dll
Setting library search path
kernel32.lib local address: 7B600000
SetDllDirectoryW local address: 7B61B940
Library path: Z:\home\alden\Games\MountBlade Warband
Library path size in bytes: 79
Library path remote address: 110000
Remote thread handle: 80
MESA-INTEL: warning: Haswell Vulkan support is incomplete
0094:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
0094:err:winediag:nodrv_CreateWindow The explorer process failed to start.
0094:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0094:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
0094:err:ole:apartment_createwindowifneeded CreateWindow failed with error 0
Exit code: 1
Set library search path
Injecting
kernel32.lib local address: 7B600000
LoadLibraryW local address: 7B60C844
Library path: Z:\home\alden\Games\MountBlade Warband\WSELib.dll
Library path size in bytes: 99
Library path remote address: 110000
Remote thread handle: 8C
Injected library address: 54C0000
Injected
alden@alden-Aspire-TC-605:~$ 00cc:err:winediag:nodrv_CreateWindow Application tried to create a window, but no driver could be loaded.
00cc:err:winediag:nodrv_CreateWindow The explorer process failed to start.
wine: Read access denied for device L"\??\Z:\", FS volume label and serial are not available.
wine: Read access denied for device L"\??\Z:\", FS volume label and serial are not available.
00cc:err:ntdll:RtlpWaitForCriticalSection section 02DDB0A8 "?" wait timed out in thread 00cc, blocked by 0000, retrying (60 sec)
The last line keeps repeating.

I'm going to close this as complete, as we fixed your original issue. Please open another if you have other issues. Thanks.


[Resolved] pyrcc4 not recognized 2

The question has already been asked but the answers did not fit my own trouble.
So here the problem :
I'm trying to create a plug-in. I followed the Qgis Cookbook which is excellent btw. And when I start the OSGeoW4 shell I type the following code (xxx is the name of the Beta plugin) :
cd c:\Users\Guillaume\.qgis2\python\plugins\xxx

then
make
which doesn't work nor
pyrcc4 -o resources_rc.py resources.qrc

They are not recognized as internal or external command.
So little research lead me to look after the /bin from qgis and I found pyrcc4.exe but no pyrcc4.bat
I have two python version (2.7) one from the ArcGIS package which is working nicely as a shell on pyzo python interpreter, and one downloaded from the python.org. I'm working with QGIS 2.18.23
Thanks in advance,
Have a good week,
Guillaume Nève from Belgium

So I had the answer from the fabulous computer specialist of my university. As the pyrcc4 command is searching the .exe in python files (path defined in the environnement variable from the system) we had to allow the computer to search further since it is in the QGIS 2.18 file. <"C:\Program Files\QGIS 2.18\bin\o4w_env.bat"> The code call and set path to QGIS \bin file. I hope it will help people who had the same problem ! Have a nice day !


openai.ChatCompletion no longer supported

I ran tests\minimalistic_talkbot.py
RealTimeSTT                    0.1.8
RealTimeTTS                    0.3.4
openai                         1.6.0
I got this error:
RealTimeSTT: root - WARNING - error in play() with engine azure:
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742
Traceback: Traceback (most recent call last):
File "R:\projects\RealtimeSTT\test_env\lib\site-packages\RealtimeTTS\text_to_stream.py", line 308, in play
for sentence in chunk_generator:
File "R:\projects\RealtimeSTT\test_env\lib\site-packages\RealtimeTTS\text_to_stream.py", line 552, in _synthesis_chunk_generator
for chunk in generator:
File "R:\projects\RealtimeSTT\test_env\lib\site-packages\stream2sentence\stream2sentence.py", line 193, in generate_sentences
for char in _generate_characters(generator, log_characters):
File "R:\projects\RealtimeSTT\test_env\lib\site-packages\stream2sentence\stream2sentence.py", line 85, in _generate_characters
for chunk in generator:
File "R:\projects\RealtimeSTT\test_env\lib\site-packages\RealtimeTTS\threadsafe_generators.py", line 237, in next
token = next(self.generator)
File "R:\projects\RealtimeSTT\test_env\lib\site-packages\RealtimeTTS\threadsafe_generators.py", line 147, in next
self._current_str = next(self._current_iterator)
File "R:\projects\RealtimeSTT\tests\minimalistic_talkbot.py", line 11, in generate
for chunk in openai.ChatCompletion.create(model="gpt-3.5-turbo", messages=messages, stream=True):
File "R:\projects\RealtimeSTT\test_env\lib\site-packages\openai\lib_old_api.py", line 39, in call
raise APIRemovedInV1(symbol=self._symbol)
openai.lib._old_api.APIRemovedInV1:
You tried to access openai.ChatCompletion, but this is no longer supported in openai>=1.0.0 - see the README at https://github.com/openai/openai-python for the API.
You can run openai migrate to automatically upgrade your codebase to use the 1.0.0 interface.
Alternatively, you can pin your installation to the old version, e.g. pip install openai==0.28
A detailed migration guide is available here: https://github.com/openai/openai-python/discussions/742

I am sorry, I didn't upgrade the test files so far.
Pls look here for an example of how to work with RealtimeTTS and the new OpenAI API.