Different date-formats selection.

Is it possible to display date (in date-input element) in different formats?
ex: ( DD/MM/YYYY or MM/DD/YYYY or YYYY/DD/MM or YYYY/MM/DD)
Following is the code snippet from date-input.html
I tried meddling with this to no avail.
<number-input style="order:[[_orderDate.month]];" index$="[[_orderDate.month]]" hidden$="[[_hideMonth]]" pad-length="2" min="1" max="12" disabled="[[disabled]]" value="{{month}}"></number-input>
[[_localDateSeparator]]
<number-input style="order:[[_orderDate.year]];" index$="[[_orderDate.year]]" pad-length="4" disabled="[[disabled]]" value="{{year}}"></number-input>
[[_localDateSeparator]]
<number-input style="order:[[_orderDate.day]];" index$="[[_orderDate.day]]" hidden$="[[_hideDay]]" pad-length="2" min="1" max="[[_maxDayOfMonth]]" disabled="[[disabled]]" value="{{day}}"></number-input>
${super.inputTemplate || ''}

Any hints/knowlege/suggestions are highly appreciated.

You can set a different locale to the attribute locale, for example en for the English DateTimeFormat (MM/DD/YYYY), fr for the French DateTimeFormat (DD/MM/YYYY) or jp for the Japanese DateTimeFormat (YYYY/MM/DD). All Formats your Browser can provide this element will test for. By default the locale of you Browser is used, but you can set it manually. You can find an example on bottom of the demo

First of all let me apologize for not observing properly.
Yes, this is the kind of feature I was looking for.
I inspected this DatetimeMixin._localeChanged() before I opened this issue, But I could not get the hang of it.
Thank you very much!

Is there any way I can change the format in the date-input element but not the calendar?

<date-input> is linked with the <date-picker> inside the template by the locale and other attributes.
You could create a new element and extend the element you like, and overwrite the replacementInputTemplate to assign different data-bindings. For example, this would be what you expect:
    <link rel="import" href="../polymer/polymer-element.html">
    <link rel="import" href="../datetime-picker/date-picker.html">

    <dom-module id="picker-date">

    </dom-module>

locale and localeForInput are so separated.

Thanks a bunch @fooloomanzoo . Really appreciate your help with this.


Could not resolve org.eclipse.edc:edc-build:0.0.1-SNAPSHOT

Bug Report
Describe the Bug
A clear and concise description of the bug.
Expected Behavior
A clear and concise description of what you expected to happen.
Observed Behavior
A clear and concise description of what happened instead.
Steps to Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Context Information
Add any other context about the problem here.

Used version [e.g. EDC v1.0.0]

OS: [e.g. iOS, Windows]recent:///df1e6a5f19112f69b

589962d646c99ec

...

Detailed Description
If applicable, add screenshots and logs to help explain your problem.
Possible Implementation
You already know the root cause of the erroneous state and how to fix it? Feel free to share your thoughts.

Hi @rizwanmehmood94  thanks for raising this,
that's because we are rolling out the upgrade to Java 17 to EDC and all related libraries outline in this DR
This is the PR on EDC.
It will be fixed once the upgrade is completed in all project libraries
Thanks

@rizwanmehmood94 I'd add that it will be impossible to build the EDC with Java 11, please upgrade to Java 17


Cursor flickering in insert mode with vim-airline enabled

Describe the bug
The cursor is flickering on moving by arrow keys in Insert mode. It shortly appears in the beginning of the line. In Normal mode everything is fine. It happens only when vim-airline is plugged. The issue was already posted here.
To Reproduce
Detailed steps to reproduce the behavior:

Plug vim-airline with following settings

call plug#begin()
Plug 'vim-airline/vim-airline'
Plug 'vim-airline/vim-airline-themes'
call plug#end()

let g:airline_powerline_fonts = 1
let g:airline_theme = 'minimalist'
let g:airline#extensions#tabline#enabled = 1

enable insert mode in vim
move cursor, it is flickering

Expected behavior
The cursor shall not flicker on moving.
Screenshots

Environment (please complete the following information):

Vim version 8.2.2648
OS: Microsoft Windows 10 Pro, Version 10.0.19042 Build 19042
Terminal: Windows Terminal, Version: 1.7.1033.0

Additional context

vim-airline: 0.11

The same happens with lightline.vim plugin and set laststatus=2 enabled.

Try to provide a minimal reproducible example (preferably without having to install a plugin, so set the statusline manually to some values), which allows to reproduce using e.g. vim --clean. Also it may help to set 'writedelay'  to see when a redraw is happening.

I tried to launch vim --clean — no flickering in "Insert mode". Then I entered set laststatus=2 and set statusline=test — flickering returned back. With set writedelay=500 I noticed that when I move the cursor from line to line, it goes successively through all symbols from the beginning of the line. But when I press and hold the arrow, it flickers as before.
https://user-images.githubusercontent.com/53969222/116246810-95692500-a76a-11eb-9e40-6c0671b62581.mp4

I tried to launch vim --clean — no flickering in "Insert mode". Then
I entered set laststatus=2 and set statusline=test — flickering
returned back. With set writedelay=500 I noticed that when I move
the cursor from line to line, it goes successively through all symbols
from the beginning of the line. But when I press and hold the arrow,
it flickers as before.

I remembered that after patch 8.2.2803 the status line was still
flickering.  I'm sending out a patch now to fix that.
Is the cursor flickering also solved by that?
If not, can you check if the reproduction script on issue 8131 helps to
reproduce this problem?
--
hundred-and-one symptoms of being an internet addict:
182. You may not know what is happening in the world, but you know
every bit of net-gossip there is.
/// Bram Moolenaar --<EMAIL_ADDRESS>-- http://www.Moolenaar.net   \
///                                                                      \
\\        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

I remembered that after patch 8.2.2803 the status line was still
flickering.  I'm sending out a patch now to fix that.
Is the cursor flickering also solved by that?

Sorry, Bram.. I probably have to compile it, honestly, I have no idea how to make it :(

If not, can you check if the reproduction script on issue 8131 helps to
reproduce this problem?

Will try.


Trying to clear the input not working, easy fix

I'm using this as an controlled Input, all is working fine, but when i try to clear the input, setting an empty string, the component ignores it and keeps showing the old value
this can easily be fixed by replacing the line 35 of the /src/components/currency-input.js file, that currently is:
return this.props.value || this.state.value
by
return this.props.value !== undefined ? this.props.value : this.state.value
Thanks in advance for the nice and easy to use component

Hey @IvoFritsch, thanks for submitting an issue. Just so I can diagnose this right, you've got an input that's been updating, but want to clear it out by passing an empty '' as the value at some point after a state update?

@ianmcnally Yes, its exactly this tha I was trying

Fixed and released in v2.4.0. Thanks for the submission, @IvoFritsch!


new release for authenticatorAttachment

Is it possible to have a new release to capture the new authenticatorAttachment option?

Sorry for the wait, 0.6.0 is now released.


Recording long audio & video streams

Hi
I am using chrome latest version, and when I am trying to record audio & video that last 1:05 , I am getting only a 33 seconds of video and the audio usually muted after 10 second.However when I record lets say 10 sec of video+audio it works fine.
Is it a common issue ?
Thanks

Hi Mauz,
I seen the Recordrtc over node js and socket io but when long time video upload occur (around 10 minute) it take much more time and even sometime machine is getting hanged.
Is there a solution for long time video recording? I have also test the PHP-FFMPEG it also the same problem I found for long video recording.
Thanks a lot !!

I have problem with machines of only one core by processor. With machine
with more cores i not have problem. The process use 100% of core. I got
recording videos greatger than 10 minutes with machine of 6 core, by
example.
Em 27/05/2016 04:38, "developer13B"<EMAIL_ADDRESS>escreveu:

Hi Mauz,
I seen the Recordrtc over node js and socket io but when long time video
upload occur (around 10 minute) it take much more time and even sometime
machine is getting hanged.
Is there a solution for long time video recording? I have also test the
PHP-FFMPEG it also the same problem I found for long video recording.
Thanks a lot !!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/muaz-khan/WebRTC-Experiment/issues/125#issuecomment-222080769,
or mute the thread
https://github.com/notifications/unsubscribe/ACs-SdbxEB6p_bZTQjL8fSdRD1GwQvCoks5qFp9tgaJpZM4BQUB7
.

how can i Record two streams like remote stream and local stream in single somenamefile.webm file
using recordrtc.org ?

Any help on above post may help me a lot thanks..

Does webRTC support recording of audio in WAV or FLAC  format?

not sure FLAC, possibility for WAV.
On Thu, Sep 21, 2017 at 4:51 AM, Murlidhar<EMAIL_ADDRESS>wrote:

Does webRTC support recording of audio in WAV or FLAC format?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/muaz-khan/WebRTC-Experiment/issues/125#issuecomment-331007706,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ALlpH_vY77QkG0TYy5bcmo1HcoCTHEX9ks5skZ37gaJpZM4BQUB7
.

--

regards*

Mantha Chakradhar
*Office: *91 - 40 - 67681220 |
Email<EMAIL_ADDRESS>Web: www.atmecs.com
ATMECS Technologies Pvt Ltd.,
2nd Floor, Lanco Hills Technology Park, Hyderabad - 89
--
The information in this message may be proprietary and/or confidential, and
protected from disclosure. If the reader of this message is not the
intended recipient, you are hereby notified that any dissemination,
distribution or copying of this communication is strictly prohibited. If
you have received this communication in error, please notify ATMECS and
delete it from your computer.

I got a issue for above 1 minute video in chrome extension. When I send small video blob, I can see this in payload but for more than 1 minute duration video, we cant see nothing even if server response also.

Please help me to resolve this.


Sort student list in alphabetical order

Allow sorting students in alphabetical order (by name), with name written in upper or lower case

Done!


Failed to import DPU ip into vivado IP Catalog

I try to import DPU ip into vivado IP Catalog via Settings->IP->Repository,  and I select the IP location at Vitis-AI-master/DPU-TRD/dpu_ip/dpu_eu_v3_1_0, however,  warning comes that 'Cannot get enviroment domain name variable for the component vendor name. Setting the vendor name to 'user.org'', then I failed to import the ip to the catalog. Am i do it in a wrong way? thank you.

Hi, this IP is for Vitis but not Vivado. The Vivado IP for 2019.2 will be release soon. For previous version, please see https://www.xilinx.com/products/design-tools/ai-inference/ai-developer-hub.html#edge.

I try to import DPU ip into vivado IP Catalog via Settings->IP->Repository, and I select the IP location at Vitis-AI-master/DPU-TRD/dpu_ip/dpu_eu_v3_1_0, however, warning comes that 'Cannot get enviroment domain name variable for the component vendor name. Setting the vendor name to 'user.org'', then I failed to import the ip to the catalog. Am i do it in a wrong way? thank you.

Hi, this IP is for Vitis but not Vivado. The Vivado IP for 2019.2 will be release soon. For previous version, please see https://www.xilinx.com/products/design-tools/ai-inference/ai-developer-hub.html#edge.

I try to import DPU ip into vivado IP Catalog via Settings->IP->Repository, and I select the IP location at Vitis-AI-master/DPU-TRD/dpu_ip/dpu_eu_v3_1_0, however, warning comes that 'Cannot get enviroment domain name variable for the component vendor name. Setting the vendor name to 'user.org'', then I failed to import the ip to the catalog. Am i do it in a wrong way? thank you.

Hi Shenjunzhong,
I double check with 2019.2 released tool several time and it work fine. Are you using the latest version? Have this issue been solved?
Thank you.

Hi @shenjunzhong
I wonder if you have solved this issue. If not, I will submit this issue to the engineer in charge of it. If it has been resolved, please let me know and I will close this issue.
Note that if we do not receive any reply from you within 2 weeks, we will assume that this issue has been resolved and will close this issue. Thank you.

Hi @shenjunzhong
Since I haven't received your reply for a long time, I will close this issue. If you still have any questions, you can reopen this issue. Thank you.


Dual Boot Delima

I'm migrating a laptop from Windows to Linux (Kubuntu to be exact).  I'm currently dual booting, but once everything has been migrated and setup I'm going to kill the Windows partitions and expand my /home partition.
I originally setup keybase on the Windows partition, along with a paper key.  I lost the original key, but created a second.  I logged into Linux and installed keybase.  Initially, I used my keybase passphrase to login.  It told me that I needed to rekey my private folder using my first device.  Since I'm dual booting and can't run them at the same time, I tried using my paper key instead.  It failed, saying that the "Paper key is empty".
So, I deprovisioned the device (on Linux), restarted keybase (keybase ctl start/stop), and logged in again, but this time using the paper key.  I still get the same error when attempting to rekey my private folder.
Any ideas?  Log ID: cb5e441196fa8e46eca3e21c

BTW - I don't have many files in my Windows private folder.  I can copy them to a drive and migrate them that way.  If I do that, and then deprovision the Windows machine, will I still need to rekey???

@jabarihunt --sorry for the delay, we don't look at the issues list in this repo very much (keybase/client sees more action).
I've never heard of a "Paper key is empty" error before.  @patrickxb @maxtaco does that mean anything to you?
If everything is properly keyed for your paper key, then you don't have to worry about keeping your Windows partition around.  If the paper key is busted for some reason, there's a problem.
However, once you have provisioned your new device, simply booting back into Windows and running Keybase should be enough for KBFS to rekey all your existing folders to the new device key.  Then you can try going back to Linux and seeing if it worked.

Thanks for the reply @strib!
I've been going back and fourth between the two for the last week.  Every time I boot the Linux distro I get prompted to rekey.  I believe both machines would have to be running at the same time, which is impossible since I'm dual booting.
That said, The paper key issue has me stumped.
If I can't find a solution by the weekend I'll provision my wife's laptop and let it do the rekeying, then deprovision it.

The empty paper key error occurs when no words are entered at a paper key prompt.
@jabarihunt I assume you are typing your paper key into a GUI window?
I'm not aware of any issues with that code but will check with the desktop team.

Hmm, @jabarihunt could you do a keybase log send from your Window partition and let us know the ID?  I can't guess why your Windows KBFS instance isn't rekeying for you.
I assume you've actually tried (and failed) to access the folder on Linux?  I'm wondering if it could be an incorrect rekey prompt.

@patrickxb Yes, when I boot up my Linux partition is immediately prompts me.  It lists the machines that can do a rekey and has a button that spawns a new dialog asking for the paper key.  I enter my paper key there, that's when I get the error.
@strib Correct, whenever I attempt to access my private folder in Linux it fails.
LOG ID (Windows Partition): a4a810180603dee4379e841c

Ok thanks @jabarihunt.  Does like it might be useful for us to have a log send from your Linux partition too when you get a chance, showing an attempt to enter your paper key.

I can see the paper key attempts on the original log.

@strib I put it in my original post.  I can send a fresh one if you need me to.
Log ID (Linux Partition): cb5e441196fa8e46eca3e21c

@jabarihunt the desktop team is going to look into the empty paper key issue.  I created an internal ticket.  Will update you as it progresses.  Sorry for the issue.

Thank you, I really appreciate it!

(Oops, sorry, I forgot there was already a Linux log send.)
@jabarihunt -- it looks like KBFS hasn't run on your Windows partition since 9/22, and it seems like the Keybase service isn't running either (there's no status).  That would explain why Windows isn't rekeying for you.  Does it look to you like it's running in Windows?

I can access my folders.  I'm going to kill it in the system tray and restart it now.  I'll post results...

When I restarted it, the Keybase screen opened and said that it's "Loading...".  It seems to be stuck there though.  I do recal being prompted for an update not to long ago.  It seems to go well, but looks can be deceiving.

...and I CAN NOT access more folders (correction from earlier).

Ah.  @zanderz @taruti, looks like we might have a Windows upgrade failure here.  Can you please take a look?

I logged in via the CLI, then started the desktop app.  It's now running.  keybase rekey status produces:
C:\Users\Jabari\AppData\Roaming\Keybase>keybase rekey status
TLFs need rekeying:
private/jabari

Devices that can rekey:
desktop Neo

OK, I think I finally figured it out...
After looking at @strib's comment about a Windows upgrade failure, I ran keybase update check.  While it was running I was prompted to do a "repair".  After that ran, it immediately began rekeying!

Huzzah!

(Oops, didn't mean to close, there's still the empty paper key issue.)

Thanks for reminding me!  Hmmm...so should I create a new paper key and deprovision the existing paper key?

I wouldn't do that yet, seems like it could be a client bug rather than an issue with your paper key.

Your paper key probably fine. Think it is a GUI bug.

On Oct 7, 2016, at 2:41 PM, Jeremy Stribling<EMAIL_ADDRESS>wrote:
I wouldn't do that yet, seems like it could be a client bug rather than an issue with your paper key.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@patrickxb Any way to test for sure?

Do you see it in 'keybase device list'?

On Oct 7, 2016, at 2:51 PM, Jabari Hunt<EMAIL_ADDRESS>wrote:
@patrickxb Any way to test for sure?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Yes...all three are listed:
C:\Users\Jabari\AppData\Roaming\Keybase>keybase device list
Name                         Type         ID                                 Created                Last Used
==========                   ==========   ==========                         ==========             ==========
Kneo                         desktop      f3c624f6a4cb6a6523781f378827db18   2016 Sep 29 22:49:01   2016 Oct 5 08:14:32
Neo                          desktop      2bb12c4d4ea290c511bafa1398d32018   2016 Aug 25 23:40:58   2016 Oct 7 12:45:21
Paper Key (actor staff...)   backup       5005d0e99c472ce36e809fc97fdf8c18   2016 Sep 28 21:19:55   2016 Sep 29 22:49:01

Everything seems to be working great now.  I'm going to go ahead and close this issue unless anyone wants me to test something on my end...


Lua Definitions

Allow lua definitions in Sylt code.
Examples:
a : int : `return 1`

a : bool : `
    local a = 0
    local b = 1
    return a < b
`

Bugs

Only works as an outer statement. This is a bug in the current implementation. Maybe it
should only work as an outer statement however?

Thoughts

Beginning with lua and ending with luaend is cleaner, I think, but it
might be hard to do since logos does not support look-around or non-greedy
matching in regexes (from what I can find anyway).
Should inline lua be in functions? It is nice because you get a more narrow
scope and you can do side effects cleanly, kind of? The fact that only
lua definitions are allowed (in sylt) makes side effects kinda weird in this case.
Should it be an expression to allow for lua side effects
in sylt functions?
Should the lua be parsed to check for errors?

Other

Allow escaping strings with \", like: " -> \" <- "
Allow multi line strings in sylt, before it would all work except for the
generated lua code.

Some thoughts:

we should parse the lua to make sure it's valid, we already depend on Lua being installed so not a huge step. Can absolutely be a seperate PR.
isn't it a normal rust regex? Have you tried the ?-operator? https://stackoverflow.com/questions/11898998/how-can-i-write-a-regex-which-matches-non-greedy#11899069
i only want to allow lua code in the global scope. It's a bit wierd how this would work otherwise since there are side effects.
inline lua should be in functions. But maybe it should always be an expression?

isn't it a normal rust regex? Have you tried the ?-operator?
It is not in fact, logos does not depend on regex and does not allow lookaround or non-greedy matching. The reasoning beeing REDOS, denial of service with heavy regexes which would make it not blazing fast.
i only want to allow lua code in the global scope. It's a bit wierd how this would work otherwise since there are side effects.
Makes sense
inline lua should be in functions. But maybe it should always be an expression?
It would make sense. I do think the fact that inline lua is (in its current state) of the same structure as a lua module is kinda cool though :P

I think some documentation is missing as well, I should add that.

This is doubly problematic since Logos doesn't support non-greedy matching (for good reasons). https://github.com/maciejhirsz/logos/issues/133
This mentions:
/\*([^*]|\*+[^*/])*\*+/ which handles a different opening and closing symbol. I do not see the problem here, so I might be missing something. But the regexes they suppose in the thread look functional to me. I'm not entirely convinced this is impossible because of the greedy-ness off the parser.

It would make sense. I do think the fact that inline lua is (in its current state) of the same structure as a lua module is kinda cool though. :P
Absolutely! Keep the explicit return, very good point!

I think some documentation is missing as well, I should add that.
It's missing everywhere. But I honeslty don't know how valuable documentation is. I haven't seen that we get much millage out of the time spent there. But if you want to document the code or update the code examples - go for it!

There are also some things which I think we can remove now that we have inline lua.

external
the require flag can also be removed
We should also rework the entire std-lib, it's gonna be great!

These error messages are very off. Maybe parse the ` token so we don't fail if we have an odd number of them?
a : bool : `
    local a = true
    return true
`

b : bool : `
    local x = true
    `
    return x
`

start :: fn do
    print' a
end

Yields:
syntax error: a.sy:4
      Syntax Error on line 4
      Expected newline to end statement
   2 |     local a = true
   3 |     return true
   4 | `
                  ^

syntax error: a.sy:5
      Syntax Error on line 5
      No valid expression starts with 'Error'
   3 |     return true
   4 | `
   5 |
       ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

I don't know how hard this problem is to solve. It can wait til another PR, but maybe add in the test as a faulty test so we see when it changes?
This program also causes problems:
a : fn -> void : `
    return function() print(10 + 10) end
`

start :: fn do
    print' a'
end

Yields:
typecheck error: a.sy:4
      The `void` has no values and cannot be put in a variable
   2 |     return function() print(10 + 10) end
   3 | `
   4 |
                   ^
help:
      Requirement came from
   2 |     return function() print(10 + 10) end
   3 | `
   4 |
                   ^

Error: "1 errors occured."

It kinda looks like the line numbers are off because of the code block. Which is pretty annoying when you're trying to debug programs.
Have a look at these things and then let me know and we'll merge it! :D


Upgrade org.json and kaml to non vulnerable versions

org.json:json@20201115 - https://www.cve.org/CVERecord?id=CVE-2022-45688
Upgraded to org.json:json@20230227
<EMAIL_ADDRESS>- https://www.cve.org/CVERecord?id=CVE-2023-28118
Upgraded to<EMAIL_ADDRESS>Also fixed kotlin and kotlinx version to the same version: kotlinx: 1.5.0 and kotlin 1.8.10 (the version used by kotlinx)

It seems that you added some new dependencies. Are they depended by other dependencies before?

@BewareMyPower I didn't added any new dependencies. I've changed thedependencyManagement section which affects the transitive dependencies version solution to be a controlled version.


Forbid banning admins

I want to resolve #4

I suggest to add at least one test for this new behavior, if possible.

Decided we don't need tests in this PR, because there're no API tests yet.


Trailing tick on Ctrl-Click to open link in error output

Issue Type: Bug
In a output line from python test discovery like:
Error: ImportError while loading conftest 'C:\Users\my.name\Desktop\development\alpaca-solver\tests\conftest.py'.
The fort tick ' is not part of the lik, and the last tick IS part of the link so then if you Ctrl-Left-Click on the link to open the file you get
[Window Title]
Visual Studio Code
[Main Instruction]
Unable to open 'conftest.py''
[Content]
Unable to read file (Error: File not found (c:\Users\my.name\Desktop\development\alpaca-solver\tests\conftest.py'))
[Create File] [Cancel]
VS Code version: Code 1.41.0 (9579eda04fdb3a9bba2750f15193e5fafe16b959, 2019-12-11T18:37:42.077Z)
OS version: Windows_NT x64 10.0.18362
Extensions (18)

Extension
Author (truncated)
Version

vscode-django
bat
0.19.0

python-extension-pack
don
1.6.0

dotnet
for
0.0.4

elixir-ls
Jak
0.2.25

MagicPython
mag
1.1.0

vscode-elixir
mjm
1.1.0

python
ms-
2019.11.50794

remote-wsl
ms-
0.41.6

cpptools
ms-
0.26.2

csharp
ms-
1.21.9

vsliveshare
ms-
1.0.1377

erlang
pgo
0.5.2

vscode-erlang-workbench
pro
0.0.9

elixir-formatter
sar
1.3.0

python
tht
0.2.3

vscodeintellicode
Vis
1.2.0

jinja
who
0.0.8

erlang-otp
yuc
0.2.4

@RMKeene the output is presented in the terminal. Right ?

I am able to open the file. I have used the VS Code Version: Code 1.41.0.
Please find the attached screenshot

That is javascript.  This bug is with python and in the output of the test discovery for python.

/duplicate #21125


Proposed draft of a PSA Portability section for the PSA spec

A lot of the numbers in here are just made-up placeholders, although I believe some of them may be close to what we would want.

At 2017-Aug-07 PSA working group meeting, decision was made to move all of the minimal proposed scale numbers into a later "PSA profile" document.  One advantage of this is to get a PSA v1.0 out the door sooner.  Another is to decouple changes in these profiles from the definition of PSA standard metadata and externs.
Regarding the last part of this PR, regarding what kind of stateful objects (packages, control, parsers, and externs) are allowed as constructor parameters, run-time parameters, and return values, those should still be considered for inclusion in either the PSA, or if they are worth adding as restrictions for the P4_16 language itself, then in the P4_16 language spec.

Issues created to put this text in other documents:

https://github.com/p4lang/p4-spec/issues/375
https://github.com/p4lang/p4-spec/issues/376
https://github.com/p4lang/p4-spec/issues/377


Initial setup

An alternative way to initialize I2C is this command. It's a lot less work.
sudo raspi-config nonint do_i2c 0
could you add it to your install notes? Thanks
BTW Cool solution. I like it!

done, thanks! :)


Add alt_id support

OBOs for some of the sources I'm familiar with (e.g., CHEBI, GO) are pretty good with providing alt_ids. For many other sources (e.g., UniProt, HGNC) I implemented custom solutions in INDRA that could be adapted here.

Yes, this one is a low hanging fruit. The data is already there, I just never added a parser for it. The tricky part will be deciding how to handle alt ids (normalization to standard ID for example)
I think the way you do it in protmapper is a good inspiration


Use latest InstantSearch features and resolve deprecation warnings

What is this?
This pull request introduces several updates and improvements to the search functionality in terms of InstantSearch. Additionally, the pull request includes dependency updates to keep the project up-to-date with the latest versions of the libraries being used.
Changes
Added Features:

Google Analytics Middleware in index.js:

Added a googleAnalyticsMiddleware function to track page views based on user interactions with the search. This middleware is integrated into the search configuration to debounce events and send them to Google Analytics.

Code Changes:

Search Rendering in index.js:

Debounce function from instantsearch.js: Imported and utilized the debounce function for optimizing the Google Analytics events, preventing excessive event firing.
Search Configuration Updates:

Introduced routing with the history router to manage clean URLs and preserve shared state on unmount.
Simplified the logic for setting the query_by parameter based on the searchType selection.
Refined the vector query logic to be dynamically set depending on the search type.
Introduced the onStateChange function in place of the searchFunction function, as the latter has been deprecated.
Since the onStateChange function isn't triggered on first page load, the first query sent to Typesense now explicitly includes (or omits) the vector query parameter, depending on the search case.

Enhanced Result Display:

Updated the item and empty templates in hits widget to use Highlight components for better display of search results and handling of empty states.
Ensured proper decoding of HTML within search results to maintain a consistent and readable format.

Dependency Updates in package.json:

Updated Development Dependencies:

@parcel/transformer-sass updated to ^2.12.0 for compatibility and performance improvements.

Updated Dependencies:

@babel/runtime added as a new dependency to leverage runtime-specific helper functions.
Upgraded the following packages to their latest versions for better security, stability, and new features:

bootstrap to ^5.3.3
dotenv to ^16.4.5
jquery to ^3.7.1
typesense to ^1.8.2
instantsearch.js to ^4.74.0

Adjusted the typesenseServer script to use the latest typesense/typesense:27.0 Docker image.

PR Checklist

[x] I have read and signed the Contributor License Agreement.

Resolves #1


Can you add specific CSS classes to specific elements created in the survey to be able to target and customize them?

Are you requesting a feature, reporting a bug or ask a question?
I'm requesting a feature enhancement. I'd like to be able to give unique styling to elements like required questions, and the different types of buttons (previous, next and complete). But without specific CSS classes associated with them, I have to work very hard to target those elements.
What is the current behavior?
Currently these elements are created without specific CSS classes.
What is the expected behavior?
I would expect that these elements would have specific CSS classes associated with them.
How would you reproduce the current behavior (if this is a bug)?
Provide the test code and the tested page URL (if applicable)
Tested page URL:
Test code
your_code_here

Specify your

browser: Chrome
browser version: 58.0.3029.96 (64-bit)
surveyjs platform (angular or react or jquery or knockout or vue): jquery
surveyjs version: 0.12.13

@mymagicalpants I am thinking about introducing an event, where you may specify the needed CSS classes and likely remove the default. Will event work for you?
Thank you,
Andrew

Hi Andrew,
Thanks for responding so quickly. I guess I should have included an example
of the dynamically created code. Currently these elements don't have a
default CSS class to remove:
REQUIRED QUESTION:
1. Who is your favorite coach of all time?
*
Currently, there is NO CSS class associated with this question either as a
whole or just within the  that would designate it as required.
NAVIGATION:

Currently, there is NO CSS class associated with either the Previous or
Complete button, so I have to do extra work to target them to give them
unique styling.
Preferred code would add the following example CSS classes: sv_q_required,
sv_prev, sv_complete.
1. Who is your favorite coach of all time?
*

I would think this would be fine rather than having to add in functionality
to override default classes, but I'm sure some people would love that extra
level of customization.
Thanks again,
Scott
On Fri, May 12, 2017 at 2:11 AM, Andrew<EMAIL_ADDRESS>wrote:

@mymagicalpants https://github.com/mymagicalpants I am thinking about
introducing an event, where you may specify the needed CSS classes and
likely remove the default. Will event work for you?
Thank you,
Andrew
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/surveyjs/surveyjs/issues/382#issuecomment-300992428,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AWAxhJFD-21cHa5gy_q-4Z70b31ecLdvks5r4_gDgaJpZM4NYiHk
.

@mymagicalpants thanks for your proposal. We will add needed classes.
As a workaround for naviagtion buttons you may set your own classes :
Survey.defaultBootstrapCss.navigation.complete = "my-complete-btn";
Survey.defaultBootstrapCss.navigation.prev = "my-prev-btn";
Survey.defaultBootstrapCss.navigation.next = "my-next-btn";

or for standard :
Survey.defaultStandardCss.navigation.complete = "my-complete-btn";
Survey.defaultStandardCss.navigation.prev = "my-prev-btn";
Survey.defaultStandardCss.navigation.next = "my-next-btn";

For example: https://jsfiddle.net/3yj61tv4/
And we will implemented special class for required questions.

We already have marker classes for navigation buttons:
{ complete: "sv_complete_btn", prev:"sv_prev_btn", next: "sv_next_btn" }

@mymagicalpants Can you specify - what exact html element of the question markup should be marked with "sv_q_required" class? I guess it should be the root div element of the question. Am I right?

Hello has the feature to put specific classes/ids on certain questions been implemented?
If so how would I go about adding an id/class to a specific question or to the container of a specific page?

I would also like to know if it's now possible to add an id/class to specific elements.

@mymagicalpants You may change page/panel/question id: myQuestion.id = "myUniqueId";
We are generating a unique id by using a static numeric property.
@tsv2013 Could you please comment about class element.
Thank you,
Andrew

@jyclam Probably this example can help you.


add hold and drag brightness

A shortcut I normally use is hold and drag on the volume/brightness.  Currently for this app doesn't allow that, I have to hold and then release my finger.  It would be great if you could add that feature

This is a really good idea, would make it a lot smoother and quicker to change volume/brightness.


Backup job fails with "Directory not found" error

OrientDB Version: 2.2.32
Java Version: Open JDK 8
OS: Linux
OrientDB is configured to do periodic backups of a given database.
Expected behavior

The backup job should succeed, barring issues like low disk space etc.
If the backup job fails for any reason, no backup file should be generated.

Actual behavior

The backup job fails with the following error:

java.lang.IllegalArgumentException: Directory /path/to/database/<database_name>.45.wal not found
  at com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:145)
  at com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.addFolder(OZIPCompressionUtil.java:127)
  at com.orientechnologies.orient.core.compression.impl.OZIPCompressionUtil.compressDirectory(OZIPCompressionUtil.java:57)
  at com.orientechnologies.orient.core.storage.impl.local.paginated.OLocalPaginatedStorage.backup(OLocalPaginatedStorage.java:229)
  at com.orientechnologies.orient.core.db.document.ODatabaseDocumentTx.backup(ODatabaseDocumentTx.java:3060)
  at com.orientechnologies.orient.server.handler.OAutomaticBackup.fullBackupDatabase(OAutomaticBackup.java:353)
  at com.orientechnologies.orient.server.handler.OAutomaticBackup$1.run(OAutomaticBackup.java:183)
  at java.util.TimerThread.mainLoop(Timer.java:555)
  at java.util.TimerThread.run(Timer.java:505)

Even though the backup job failed, there is still a backup file left on disk. The file is corrupted since it wasn't fully written. This is possibly related to #5931 which was closed a while back.

Steps to reproduce
Unfortunately, I am not quite sure how to reproduce the issue. However, given that the error now appears regularly, perhaps it is related to the size of the database?

There is evidence that the issues started when we upgraded from 2.2.30 to 2.2.32. Hopefully that helps narrow down the problem.

Hi .
It is already fixed in 2.2.34 could you try it ?
On Mon, Apr 30, 2018, 19:10 Predrag Gruevski<EMAIL_ADDRESS>wrote:

There is evidence that the issues started when we upgraded from 2.2.30 to
2.2.32. Hopefully that helps narrow down the problem.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/8245#issuecomment-385447080,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGaah6sFuf4yrNbm7s31C9PDadxHCzcks5ttzdsgaJpZM4Tswen
.

--
Best regards,
Andrey Lomakin, R&D lead.
OrientDB Ltd
twitter: @Andrey_Lomakin
linkedin: https://ua.linkedin.com/in/andreylomakin
blogger: http://andreylomakin.blogspot.com/

Hi @laa, thanks for the speedy reply.
It doesn't seem like 2.2.34 is listed on the website: https://orientdb.com/releases/
Is there a different location where I should download it from?

Hm ...  We released 2.2.34 .
Could you dowload it from maven repository .
On Mon, Apr 30, 2018, 19:29 Predrag Gruevski<EMAIL_ADDRESS>wrote:

Hi @laa https://github.com/laa, thanks for the speedy reply.
It doesn't seem like 2.2.34 is listed on the website:
https://orientdb.com/releases/
Is there a different location where I should download it from?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/orientechnologies/orientdb/issues/8245#issuecomment-385452615,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAGaahy93FSwedBwQUvqRaOZKRE9oy6Nks5ttzvXgaJpZM4Tswen
.

--
Best regards,
Andrey Lomakin, R&D lead.
OrientDB Ltd
twitter: @Andrey_Lomakin
linkedin: https://ua.linkedin.com/in/andreylomakin
blogger: http://andreylomakin.blogspot.com/

Thanks, I'll give it a shot.

Hey @laa, I upgraded to 2.2.34 and now there's a different problem.
While the generated backup file is valid, and can be loaded onto a new server just fine, it is missing a large amount of data. A diff between the real database and the database restored from backup shows that the backup only contains 70-75% of the data of the original data. The missing data is data that was originally created at least a few days prior to the backup, and was not modified during the backup process.
Any advice would be much appreciated -- thanks in advance!

@obi1kenobi I do not get it completely. Could you provide a detailed example?
How do you make a backup. Backup is just copies and zip files which are flushed to file system. So I doubt that is ODB issue.

@obi1kenobi issue with removing of the backup file in case of error is fixed.

Thank you -- looking forward to the next release :)


Split taxonomic scope restrictions from scope restrictions on individuals

E.g. "terrestrial species" vs "nymphs".

a9c1fbfd96a2881831ab871f7d96280bca7ba065


Fix IndexError: list index out of range bug

When the returned short_name is null, fbchat throws an exception:
  File "/usr/local/lib/python2.7/site-packages/fbchat/client.py", line 792, in fetchThreadList
    return [graphql_to_thread(node) for node in j['viewer']['message_threads']['nodes']]
  File "/usr/local/lib/python2.7/site-packages/fbchat/graphql.py", line 193, in graphql_to_thread
    last_name=user.get('name').split(user.get('short_name'),1)[1].strip(),
IndexError: list index out of range

This commit fixes that scenario by accessing the last item in the list via .pop() instead of via [1]

I'm pretty sure it works when short_name is null/None, but when it's a string that's not in user['name'], then it fails. You're right though, pop is the best option in all cases


Fix RPM for shotguns

Adjust how weapons are parsed and write custom RPM formulas;

default one -> 1 / delayBetweenShots * 60
burst one 60 * burstCount / (delayBetweenShots * burstCount + delayBetweenBursts)
tac14 -> 60 / (rechamberLength + reloadSpeed / 3)
belgian -> 60 / (rechamberLength + reloadSpeed)

Assign corresponding formula for each weapon

RPM formulas provided by Sykes;
870 RPM = 60/ (0,15 + 0,1 + 0,25/1) = 120
Barret RPM = 60/ (0,45 + 0,1 + 1,2/1) = 34,3
Phoenix RPM = 60/ (0,3 + 0,1 + 0,6/1) = 60


Detect compilation trigger instead of referencing emitted assets when determining whether to inject css or reload

In lib/getCssOnlyEmittedAssetsNames.js, it's apparent that the logic regarding about whether or not to inject CSS is entirely related about the emitted files. This can work in situations where (S)CSS might not be included in JavaScript, or in situations where spritemaps or manifests aren't being generated.
Instead, determining whether or not we should inject CSS could be determined by checking the triggered source files to see if it's an injectable resource. This can be done in the watchRun compiler hook by setting a flag in the plugin to true or false depending on inspection of the keys in compiler.watchFileSystem.(watcher||wfs.watcher).
If there's interest in implementing this, I've written a webpack plugin which manipulates the values inside stats.compilation.assets. I don't think this is the ideal solution, so I haven't published or made it otherwise public in favor of my hope that we might be able to offer the functionality directly in this plugin. I'm happy to submit a pull-request if this is something people would like to see.
Ideally, there'd be an option to specify the source file extensions (probably via Regular Expressions) for testing against the triggering files.

guys, i've commented on the PR and gonna duplicate here as well:
if someone could verify that it works on all webpack versions (1-4), i will make some updates and merge the related PR to enable this, then release a new version. otherwise, i would not risk the stability of the package, as this compiler.watchFileSystem.(watcher||wfs.watcher) feels pretty shady.
thank you


Admin user

Hello how do i create a admin user ?
i have created a admin user with role administrator but i get this error
HttpException in Application.php line 900:

You mean a Voten-administrator right? Seems like I need to add a database seeder to make it easy for new installs. But anyways, create a record in appointed_users with your user_id and input administrator for appointed_as. Then clear redis cache so the app will now know you as administrator.
This is only needed for the first user. After this you'd be able to open the admin panel /backend and add new administrators there.

Hi @sullyfischer  got Whoops, looks like something went wrong. error on /backend. can't create as admin. Can you please give more information? Thank you.

Hi.
Did make the record(manually) into the database? And then did your clear Redis cahce?

Does anyone know the default admin users or how to create a new one? I can't not access to backend. Thank you very much in advance.

@mustafabozkurt there's a PR that would add it.
https://github.com/voten-co/voten/pull/24

Please help ... I can not access the backend.
I called php artisan db:seed --class=AdminUserSeeder.
Removed all the bases of Redis.


[Extensions] Added headers to extensions request

Description
Adds headers to extensions request
Companion PR: https://github.com/opensearch-project/opensearch-sdk-java/pull/643
Issues Resolved
https://github.com/opensearch-project/opensearch-sdk-java/issues/431
Check List

[ ] New functionality includes testing.

[ ] All tests pass

[ ] New functionality has been documented.

[ ] New functionality has javadoc added

[ ] Commits are signed per the DCO using --signoff
[ ] Commit changes are listed out in CHANGELOG.md file (See: Changelog)

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.

@nassipkali can you take care of the compile issue:
> Task :server:compileJava
/home/runner/work/OpenSearch/OpenSearch/server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java:117: error: no suitable method found for toMap(no arguments)
            .collect(Collectors.toMap());
                               ^
    method Collectors.<T#1,K#1,U#1>toMap(Function<? super T#1,? extends K#1>,Function<? super T#1,? extends U#1>) is not applicable
      (cannot infer type-variable(s) T#1,K#1,U#1
        (actual and formal argument lists differ in length))
    method Collectors.<T#2,K#2,U#2>toMap(Function<? super T#2,? extends K#2>,Function<? super T#2,? extends U#2>,BinaryOperator<U#2>) is not applicable
      (cannot infer type-variable(s) T#2,K#2,U#2
        (actual and formal argument lists differ in length))
    method Collectors.<T#3,K#3,U#3,M>toMap(Function<? super T#3,? extends K#3>,Function<? super T#3,? extends U#3>,BinaryOperator<U#3>,Supplier<M>) is not applicable
      (cannot infer type-variable(s) T#3,K#3,U#3,M
        (actual and formal argument lists differ in length))
  where T#1,K#1,U#1,T#2,K#2,U#2,T#3,K#3,U#3,M are type-variables:
    T#1 extends Object declared in method <T#1,K#1,U#1>toMap(Function<? super T#1,? extends K#1>,Function<? super T#1,? extends U#1>)
    K#1 extends Object declared in method <T#1,K#1,U#1>toMap(Function<? super T#1,? extends K#1>,Function<? super T#1,? extends U#1>)
    U#1 extends Object declared in method <T#1,K#1,U#1>toMap(Function<? super T#1,? extends K#1>,Function<? super T#1,? extends U#1>)
    T#2 extends Object declared in method <T#2,K#2,U#2>toMap(Function<? super T#2,? extends K#2>,Function<? super T#2,? extends U#2>,BinaryOperator<U#2>)
    K#2 extends Object declared in method <T#2,K#2,U#2>toMap(Function<? super T#2,? extends K#2>,Function<? super T#2,? extends U#2>,BinaryOperator<U#2>)
    U#2 extends Object declared in method <T#2,K#2,U#2>toMap(Function<? super T#2,? extends K#2>,Function<? super T#2,? extends U#2>,BinaryOperator<U#2>)
    T#3 extends Object declared in method <T#3,K#3,U#3,M>toMap(Function<? super T#3,? extends K#3>,Function<? super T#3,? extends U#3>,BinaryOperator<U#3>,Supplier<M>)
    K#3 extends Object declared in method <T#3,K#3,U#3,M>toMap(Function<? super T#3,? extends K#3>,Function<? super T#3,? extends U#3>,BinaryOperator<U#3>,Supplier<M>)
    U#3 extends Object declared in method <T#3,K#3,U#3,M>toMap(Function<? super T#3,? extends K#3>,Function<? super T#3,? extends U#3>,BinaryOperator<U#3>,Supplier<M>)
    M extends Map<K#3,U#3> declared in method <T#3,K#3,U#3,M>toMap(Function<? super T#3,? extends K#3>,Function<? super T#3,? extends U#3>,BinaryOperator<U#3>,Supplier<M>)
/home/runner/work/OpenSearch/OpenSearch/server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java:195: error: no suitable constructor found for ExtensionRestRequest(Method,String,Map<String,String>,Map<String,List<String>>,XContentType,BytesReference,String,HttpVersion)
                new ExtensionRestRequest(method, uri, params, filteredHeaders, contentType, content, requestIssuerIdentity, httpVersion),
                ^
    constructor ExtensionRestRequest.ExtensionRestRequest(Method,String,String,Map<String,String>,Map<String,List<String>>,XContentType,BytesReference,String,HttpVersion) is not applicable
      (actual and formal argument lists differ in length)
    constructor ExtensionRestRequest.ExtensionRestRequest(StreamInput) is not applicable
      (actual and formal argument lists differ in length)

@owaiskazi19 is last commit fixed compile errors?

@nassipkali Failed again with:
 /home/runner/work/OpenSearch/OpenSearch/server/src/main/java/org/opensearch/extensions/rest/RestSendToExtensionAction.java:116: error: cannot find symbol

            .filter(e -> allowlist.contains(e.getKey()))
                         ^
  symbol:   variable allowlist
> Task :server:compileJava
  location: class RestSendToExtensionAction

You can run ./gradlew precommit on your local to verify the change after you fix the above.

@owaiskazi19 fixed last error

@owaiskazi19 fixed last error

@nassipkali still failing. Can you check the precommit failures in the log and fix them? Thanks

@owaiskazi19 fixed all errors


OXY-97 : Add Overdue Reminder to ActiveMQ

Description
Describe the changes made and why they were made.
Ignore if these details are present on the associated Apache Fineract JIRA ticket.
Checklist
Please make sure these boxes are checked before submitting your pull request - thanks!

[ ] Write the commit message as per https://github.com/apache/fineract/#pull-requests

[ ] Acknowledge that we will not review PRs that are not passing the build ("green") - it is your responsibility to get a proposed PR to pass the build, not primarily the project's maintainers.

[ ] Create/update unit or integration tests for verifying the changes made.

[ ] Follow coding conventions at https://cwiki.apache.org/confluence/display/FINERACT/Coding+Conventions.

[ ] Add required Swagger annotation and update API documentation at fineract-provider/src/main/resources/static/legacy-docs/apiLive.htm with details of any API changes

[ ] Submission is not a "code dump".  (Large changes can be made "in repository" via a branch.  Ask on the developer mailing list for guidance, if required.)

FYI our guidelines for code reviews are at https://cwiki.apache.org/confluence/display/FINERACT/Code+Review+Guide.

Simillar PR has been created on https://github.com/fiterafrica/fineract-template/pull/1


Tsconfig.json does not resolve paths with dashes "-" in folder name

Bug Report

🔎 Search Terms
tsconfig.json, path, resolve, include, exclude, dash
🕗 Version & Regression Information
<EMAIL_ADDRESS>installed globally on VSCode Windows 10.
⏯ Playground Link
Not necessary.
💻 Code
I work with a monorepo structure and some packages are installed in more than one folder. I don't want to skipLibCheck, because I need my own src/*.d.ts files to be checked. But at the same time, if I allow all node_modules to be checked on the tsc call, I'll get many conflicts, because a lot of library types will be declared in more than one place. So, this is what I always do:
tsconfig.json
// ...
"exclude": [
    "node_modules",
    "server/node_modules",
    "server-jobs/node_modules",    // THIS DOES NOT WORK
    "server_jobs/node_modules",    // THIS WORKS
    "public"
  ]

🙁 Actual behavior
When I added the server-jobs/node_modules folder, I started getting conflict errors for packages inside server-jobs/node_modules, which made no sense, because they were supposed to be excluded.
I tried tweaking my code, and experimented with some different include/exclude patterns. Nothing seemed to work. Until I though it could be related to the folder name, because of the dash "-"  character. Since the server folder wasn't triggering any errors.
Then I changed it to server_jobs, with an underscore "_" and everything went back to normal. No more conflict errors.
I didn't find anything in the documentation for it.
https://www.typescriptlang.org/tsconfig#exclude
Is this a known issue? Is it supposed to behave like that?
🙂 Expected behavior
I expected for the tsc to parse folder names with dashes "-" without any issues, or at least for it to give me a heads up with a warning telling me that that folder name is not allowed.

This is surprising. I don't think dashes are the problem here (folders with dashes in their name work fine on other projects). Perhaps the folder name had a different type of dash (e.g. —) copy-and-pasted from somewhere? Perhaps other files were referencing the files under server-jobs?

Agree with Mine, it's implausible that dashes are the problem here; react-router exists and we would immediately hear about it if that didn't work. A more complete sample that reproduces the problem is needed.

Thank you all for the feedback.
I'm not sure if this issue is specific for the packages I'm using or not. But I can confirm that my project currently has no type errors when I run tsc --project ./tsconfig.json.
To reproduce the issue and show you guys what is happening, the only change I'm making is: to rename cloudrun_jobs folder to cloudrun-jobs and change tsconfig.json accordingly. PS: In my real case, the server folder I've mentioned in this issue is cloudrun.
To give you an idea of the project structure. Here is what I got:
app has my front-end files (React app). Both cloudrun and cloudrun-jobs are express servers that should run on cloud run instances and both have their own package.json file and corresponding node_modules folder.

So, everything was fine again, and I've renamed cloudrun_jobs to cloudrun-jobs:
Now, here are the errors I'm getting when I do a type check: I'm pasting as images because I think the formatting makes it easier to read.

Here is my full tsconfig.json after I've changed the folder name to cloudrun-jobs.
// REFERENCE
// https://www.typescriptlang.org/tsconfig

{
  "compilerOptions": {
    "allowJs": true,
    "baseUrl": ".",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "isolatedModules": true,
    "jsx": "react",
    "module": "CommonJS",
    "moduleResolution": "Node",
    "noEmit": true,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "resolveJsonModule": true,
    // "skipLibCheck": true,
    "strictNullChecks": true,
    "target": "ESNext",
    "paths": {
      "@app/*":    ["./app/*"],
      "@common/*": ["./common/*"]
    }
  },
  "ts-node": {
    "files": true     // Load files, include and exclude from tsconfig.json on startup
  },
  "include": [
    "app/**/*",
    "common/**/*",
    "cloudrun/src/**/*",
    "cloudrun-jobs/src/**/*",
    "scripts/**/*"
  ],
  "exclude": [
    "node_modules",
    "cloudrun/node_modules",
    "cloudrun/dist_app",
    "cloudrun/dist_common",
    "cloudrun/dist_service",
    "cloudrun/public",
    "cloudrun-jobs/node_modules",
    "cloudrun-jobs/dist_common",
    "cloudrun-jobs/dist_service",
    "public"
  ]
}

Here is the package.json of the cloudrun-jobs folder:
{
  "name": "cloudrun_jobs",
  "version": "1.0.0",
  "description": "",
  "main": "babel.config.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "keywords": [],
  "author": "",
  "license": "ISC",
  "dependencies": {
    "firebase-admin": "^9.5.0",
  }
}

The firebase-admin package has "@google-cloud/firestore": "^4.5.0", as one of its dependencies. And firebase-admin is listed as a devDependency in the root node_modules folder. This is probably what is being checked as a type conflict.
Before posting this comment, I'm going to change the folder name back to cloudrun_jobs and see it all goes away again.
Result: all the errors are now gone. Isn't it weird? What do you guys think?

Hey everyone,
Thank you all for the feedback. Just found out that the errors are still happening with the name server_jobs. The reason that they were gone initially is because I was deleting its node_modules before renaming (to speed up the rename operation). Of course the errors would be gone in that case. So it has nothing to do with the dashes - in the folder names.
I'm still finding it weird. Why would Typescript care for conflicts inside node_modules folder when they are being excluded?
This is now off-topic, but would be happy to hear your thoughts.
I'll close the issue since it's not about folder names at all.
This is my full tsconfig.json
// REFERENCE
// https://www.typescriptlang.org/tsconfig

{
  "compilerOptions": {
    "allowJs": true,
    "baseUrl": ".",
    "esModuleInterop": true,
    "forceConsistentCasingInFileNames": true,
    "isolatedModules": true,
    "jsx": "react",
    "module": "CommonJS",
    "moduleResolution": "Node",
    "noEmit": true,
    "noImplicitAny": true,
    "noImplicitReturns": true,
    "resolveJsonModule": true,
    // "skipLibCheck": true,
    "strictNullChecks": true,
    "target": "ESNext",
    "paths": {
      "@app/*":    ["./app/*"],
      "@common/*": ["./common/*"]
    }
  },
  "ts-node": {
    "files": true     // Load files, include and exclude from tsconfig.json on startup
  },
  "include": [
    "app/**/*",
    "common/**/*",
    "server/src/**/*",
    "server_jobs/src/**/*",
    "scripts/**/*"
  ],
  "exclude": [
    "node_modules",
    "server/node_modules",
    "server/dist_app",
    "server/dist_common",
    "server/dist_service",
    "server/public",
    "server_jobs/node_modules",
    "server_jobs/dist_common",
    "server_jobs/dist_service",
    "public"
  ]
}

After further research and debug, I found out that the errors were being caused by a version difference between the firebase-admin that was installed on the project root as a devDependency and the firebase-admin installed on the server_jobs folder as a dependency.
Since the server_jobs folder was the most recent one, it had a more recent version of that package. After updating all to the same version, the errors went away.
But I still find it weird that those errors were caught by tsc, given the fact that all node_modules were excluded.

exclude is only a filter on include; it doesn't change whether files can get imported into your program, or how they behave once present.
See also #30511

@cbdeveloper It's been a while since this issue was last answered. Have you found a solution?


Unable to vote on governance proposals

Description
An issue has been identified with users being unable to vote upon the governance proposal that proposes to change the network parameter reward.staking.delegation.delegatorShare to 0.8.
Steps to Reproduce

Navigate to the open governance proposal
Connect a Vega wallet that has Vega tokens thus allowing voting
Attempt to vote on the proposal
Note that it is not working as would be expected

(alternatively submit a tx send command using the example payload from the docs site
Expected behavior
Votings to be registered
Screenshots

Deployed to governance mainnet 23rd April ~15:15 GMT+1


GH Pages deploy not working

Can't get this to format properly when deployed on GH Pages, either using the template or forking the repo to my own account. I set the branch to main and saved in the Settings.  Flushed the browser cache (Chrome) but issue persists.
When cloning the repo and installing Jekyll, it builds just fine locally, but when I then push it back up to GH it still won't format the repo on GH Pages.
The last template I tried is at github.com/mroberts1/supreme-couscous
Any idea what the problem might be?

@mroberts1: Can you change the base URL and try? Its line number 23 of _config.yml

I tired changing the baseurl to /obsidian (the repo name) but the jekyll site still doesn't build with your theme. The deploy works fine on Netlify so I suspect the problem is jekyll plugins that aren't supported on GH pages.

@mroberts1 : I am running a fork and it's working fine - https://github.com/hfactor/hfactor.github.io

Same think here. Looks like deploy goes ok but I got a blank page.

@mroberts1 : baseurl is used for creating subpath. ie, to host at example.com/obsidian config should be baseurl: /obsidian Did you change line 23 - url: "https://jekyll-garden.github.io/" ?

@mroberts1 : Check #11.
Also, while using subpath, the hyperlinks are breaking. #20 I will sort that out soon.


Navigating to children is broken in IE11.

When the context browser is opened in IE11 any attempt to navigate to a child node, sometimes works but with an error in the log, and most times it has and unpredictable behavior, pointing to a null child and removing the parent from the header.
Steps to reproduce the problem:
Navigate to any child
Environment:
CB: Redesign Branch/today's pull
app-helpers: Master/today's pull
Browser: IE11 on a win7
Screenshots :

/cc @davidrleonard

This specific error was fixed in fe5133d5f454672cf302cdd38c1cda72362d69d2 by adding the Promise polyfill directly to the context browser. There is a different navigation bug that continues toi be an issue — clicking on the parent in the header fails.

It seems like there are not child navigation bugs with IE11 after 63d123746b924559b9c54703fdf06c4b5dc61cb5. Closing.


Remove public inputs hash

We currently hash public elements of a zksnark.  This is gas-efficient because the verification key length is minimised and the verification algorithm thus uses a minimum of gas.  However, the hash needs to be computed as part of the zksnark circuit and this is a major driver of constraint count and thus the time needed to compute a proof.  The problem is compounded by the use of a SHA256 hash to keep gas costs low (because in a non-optimistic solution the hash has to be recomputed on-chain for each transaction).
For NF_3, we only do an on-chain verification in the case of a challenge so we're less sensitive to Gas costs. Thus, we can remove the hashing of the public inputs and use the public input directly in the circuit. In this way we benefit from faster proof computation.

Circuits complete in miranda/remove-input-hash, Solidity/nodejs changes in progress


Decouple Runnables and Bundle from Coordinator

In order to facilitate #40 , access to the bundle, Directive, and Runnables will need to be decoupled from the Coordinator. The coordinator cannot be the owner of those things, as it will make things like dynamic loading and unloading difficult.
I propose an AppSource interface that dynamically returns the Directive and Runnables to the Coordinator rather than the current setup of the Coordinator loading and holding everything.

Depends on https://github.com/suborbital/reactr/issues/100


Error in android

I am getting this issue when generating app for android:
Error compiling Cordova plugin: org/chromium/customtabsclient/shared/ServiceConnection.java:32: error: diamond operator is not supported in -source 1.6.

Java 1.6?
JDK/JRE version?

Have you tried changing your language version?


Bug: ShapeInsert mode does not exit

ShapeInsert mode does not exit when a cell is selected while in ShapeInsert mode; turning Vim load off/on does not return to Normal mode.

@GarrettKaupp Thank you for your comment. (Star too!)
I have fixed this bug today, but please wait a little longer for the official release to check the side effects.
I have released the fixed version as nightly, so if you are in a hurry, please use that.

Today I have released v0.5.2 as a revised version. I hope this fixes the issue correctly.


[CHORE] - set proper Podspec setup

While using with RN 0.60.0 i experiences problems with the autolinking and the podspec settings.

Try upgrading to 2.0.0-rc10. With rc4 the project tries to build the examples from react-native-track-player which fail.
npm i<EMAIL_ADDRESS>

This is already done in the v2 branch which we're working on releasing soon @mkuczera. As @mhabegger mentioned, you can try using @next.

Hi,
the source files are now correct. But actually the podspec is missing the swift_version added in this PR:
https://github.com/react-native-kit/react-native-track-player/pull/657/files#15
"react-native-track-player does not specify a Swift version and none of the targets (Jukebox_Mobile) integrating it have the SWIFT_VERSION attribute set. Please contact the author or set the SWIFT_VERSION attribute in at least one of the targets that integrate this pod."

@dcvz @mhabegger
How about reopen it and merge?
please read this PR(#690)


native String runAndroidStudioNativeString() is not implemented

Develop branch builds correctly, however app crashes during launch on Android 4.4.2 due to java.lang.UnsatisfiedLinkError: Native method not found: com.sureshjoshi.android.ndkexample.MainActivity.runAndroidStudioNativeString:()Ljava/lang/String;

Thanks, will try to reproduce on mine Samsung S4 4.4.2

Hi @remgodow, I wasn't able to reproduce this on my 4.4.2... Are you able to get this working on other platforms? Or was it just missing a native method?

It was just a missing native method implementation.


Can we schedule the silence rule to trigger daily or weekly?

I am trying to define silence rule to suppress all alerts on Saturday and Sunday during our maintenance window and also daily at specific time when our customers re-connect.
Is their a way to achieve this?

sounds like a job for a crontab + http://bosun.org/api

I believe, this would be a very common case to silence any alert rule on specific day/time every week/day/hour and to have that support within silence rule itself would be great.
It could be like defining the start date and time to the existing start date field and to have a separate field for 'recurrence period' where we can define some thing like 1h/1d/1w/1m.

+1


Add SCM to build

Otherwise conda-installed package shows version 0.0.0

Checklist

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

Phew!


Opensearch and Dashboard Helm Charts support extra k8s Manifests

Opensearch and Dashboard Helm Charts support extra k8s Manifests
Description
Providing a new addition, like many other opensource helm charts (e.g. grafana, prometheus, argo-cd), to support extra k8s manifests using the values files.
This allows the end user to add any additional files needed to support their helm deployment. A nice use case now a days is to mount secrets on the fly by leveraging the Secrets Store CSI Driver.
Issues Resolved
[#215 ]
Check List

[x] Commits are signed per the DCO using --signoff
[x] I have bumped the chart version according to versioning
[x]  I have updated the chart changelog with all the changes that come with this pull request according to changelog.
[x]  Any new values are backwards compatible and/or have sensible default.

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.

@peterzhuamazon @DandyDeveloper @TheAlgo

@DandyDeveloper @TheAlgo please take a look when you are available. Thanks.

@JunaidChaudry why are we doing this? The normal procedure for achieving this is having opensearch as the parent dependency.
Then you can deploy whatever you need alongside opensearch. Can you show some examples of this being done elsewhere? To me this seems more restrictive then my above suggestion.

@DandyDeveloper @TheAlgo any comments about the information above ^^?
Thanks.

As a user (and enjoyer!) of this helm chart, I'm in favor of this PR because I don't love creating more charts just to hold extra items. The extraManifests pattern allows me to quickly and intentionally couple items that need to be tightly coupled to run the chart like secrets and even custom ingress items (like a Traefik Middleware or IngressRoute) that are specific to both my deployment + opensearch.

@DandyDeveloper @TheAlgo please review this PR when you available.
Ignore the version conflicts as I can fix it later.
Thanks.

If there are users who are coupling some manifests as mentioned by @FernFerret. I don't have any major concerns with this feature.
@DandyDeveloper @peterzhuamazon opinions?

If there are users who are coupling some manifests as mentioned by @FernFerret. I don't have any major concerns with this feature.
@DandyDeveloper @peterzhuamazon opinions?

I am not against it but I want others opinion as well.
@smlx @mprimeaux if you can take a look that would be great.
Thanks.


Citationkey in italic

This is simple question and I am asking it out from a curiosity. If you do not have time just ignore it.
In Zotero I notice that some of the generated CitationKeys are italic while other citation keys are not.
If I find a CitiationKey that is italic and when I press Generate Bibtex key it is transformed to normal (non-italic). The CitationKey is the same.
Is there a difference between italic and normal CitationKey?

A citation key displayed in italic is dynamic, and may change when the reference changes. When it is not italicised it means the citation key is pinned and written down in the extra field and it won't change even if you change the reference.


java.lang.NoSuchFieldError: java.net.Inet6Address.cached_scope_id on Android

I am fairly new to using Gluon/GraalVM and when running my application on android I get this exception:
Exception in thread "Thread-6" java.lang.NoSuchFieldError: java.net.Inet6Address.cached_scope_id
at com.oracle.svm.jni.functions.JNIFunctions$Support.getFieldID(JNIFunctions.java:1207)
at com.oracle.svm.jni.functions.JNIFunctions.GetFieldID(JNIFunctions.java:434)
at java.net.Inet6Address.init(Inet6Address.java)
at java.net.Inet6Address.<clinit>(Inet6Address.java:369)
at java.lang.Class.ensureInitialized(DynamicHub.java:510)
at com.oracle.svm.jni.functions.JNIFunctions.FindClass(JNIFunctions.java:355)
at java.net.PlainSocketImpl.initProto(PlainSocketImpl.java)
at java.net.PlainSocketImpl.<clinit>(PlainSocketImpl.java:43)
at java.lang.Class.ensureInitialized(DynamicHub.java:510)
at java.net.Socket.setImpl(Socket.java:523)
at java.net.Socket.<init>(Socket.java:88)
at javax.net.ssl.SSLSocket.<init>(SSLSocket.java:162)
at sun.security.ssl.BaseSSLSocketImpl.<init>(BaseSSLSocketImpl.java:61)
at sun.security.ssl.SSLSocketImpl.<init>(SSLSocketImpl.java:118)
at sun.security.ssl.SSLSocketFactoryImpl.createSocket(SSLSocketFactoryImpl.java:72)
at javax.net.ssl.SSLContextSpi.getDefaultSocket(SSLContextSpi.java:163)
at javax.net.ssl.SSLContextSpi.engineGetSupportedSSLParameters(SSLContextSpi.java:212)
at javax.net.ssl.SSLContext.getSupportedSSLParameters(SSLContext.java:471)
at jdk.internal.net.http.HttpClientImpl.getDefaultParams(HttpClientImpl.java:335)
at jdk.internal.net.http.HttpClientImpl.<init>(HttpClientImpl.java:300)
at jdk.internal.net.http.HttpClientImpl.create(HttpClientImpl.java:253)
at jdk.internal.net.http.HttpClientBuilderImpl.build(HttpClientBuilderImpl.java:135)
at java.net.http.HttpClient.newHttpClient(HttpClient.java:158)
at {my requesting class}
at java.lang.Thread.run(Thread.java:829)
at com.oracle.svm.core.thread.JavaThreads.threadStartRoutine(JavaThreads.java:597)
at com.oracle.svm.core.posix.thread.PosixJavaThreads.pthreadStartRoutine(PosixJavaThreads.java:194)

of which the request code looks like
HttpClient client = HttpClient.newHttpClient();
Builder requestBuilder = HttpRequest.newBuilder().uri(URI.create(this.endpoint));
requestBuilder.POST(BodyPublishers.ofString(gson.toJson(this.body)));
client.sendAsync(requestBuilder.build(), BodyHandlers.ofString());

The program runs fine when compiled natively for both windows and linux.
I am using Gluon's GraalVM release <IP_ADDRESS> for JDK 11 and from what I have seen from this issue the field cached_scope_id should not be present on in the java.net.Inet6Address class. My reflectionconfig-aarch64-android.json file also validates this, containing the entries :
{
    "name": "java.net.Inet6Address",
    "fields": [{ "name":"holder6", "allowUnsafeAccess":true }]
},
{
    "name": "java.net.Inet6AddressImpl",
    "methods": [{ "name":"<init>", "parameterTypes":[] }]
}

Which confuses me as I can't think of a reason that the executable would attempt to reflectively access the nonexistant cached_scope_id field.
If it is relevant, I am building using Debian 9 and deploying to an android 10 device.
I was able to reproduce this error simply by calling java.net.http.HttpClient.newHttpClient() on a brand new project with the single view project preset then running it on my android device.

I was using the following before:
GRAALVM_HOME=/opt/graalvm-svm-linux-gluon-21.2.0-dev
<groupId>com.gluonhq</groupId>
<artifactId>gluonfx-maven-plugin</artifactId>
<version>1.0.0</version>
I saw this same error message after upgrading as so:
GRAALVM_HOME=/opt/graalvm/graalvm-svm-java11-linux-gluon-<IP_ADDRESS>-Final
That error went away for me after I subsequently also upgraded as so:
<groupId>com.gluonhq</groupId>
<artifactId>gluonfx-maven-plugin</artifactId>
<version>1.0.12</version>
Actually, it didn't make my blocker go away. I see a new, different issue:

No message found for 1.not.found.as.resource

But still, I hope this helps you with your progress.

We are discussing a very similar issue here: https://github.com/gluonhq/substrate/issues/1120


Crash when resizing the window

I'm trying to build kind of a responsive feature doing that:
<div *ngFor='#widget of widgets; #i = index' [ngGridItem]="getGridInfo(widget)">
                    <div *ngIf="widget.permanentInfo.type == 'graph'">
                        <graph-widget [currentWidget]="widget"></graph-widget>
                    </div>
                    <div *ngIf="widget.permanentInfo.type == 'text'">
                        <text-widget [currentWidget]="widget"></text-widget>
                    </div>
</div>

where getGridInfo(widget) is a method in my component which returns me the right col, row, sizex, sizey according to the widget and the size of the window.
Everything works perfectly, the display of the widgets and the rescaling of the window, which mimic kind of a responsive feature, except when rescaling from md window to sm window, which makes all crash and nothing is working anymore.
If you want more information about the methods I'm using in my component:

to test the size of the window (return true if alias is the size of the window (xs, sm, md or lg):

    isBreakpoint(alias) {
        return $('.test-' + alias).is(':visible');
    }

to adapt the total number of columns according to the size of the window:

    @HostListener('window:resize')
    loadGrid() {
        if (this.isBreakpoint('sm') || this.isBreakpoint('xs')) {this.gridConfig.max_cols = 1;}
        else if (this.isBreakpoint('md')) {this.gridConfig.max_cols = 2;}
        else if (this.isBreakpoint('lg')) {this.gridConfig.max_cols = 3;}
    }

to get the right information concerning col, row, sizex, sizey of each widget according to the size of the window:

    getGridInfo(widget) {
        if (this.isBreakpoint('sm') || this.isBreakpoint('xs')) {return widget.gridInfo.sm}
        else if (this.isBreakpoint('md')) {return widget.gridInfo.md}
        else if (this.isBreakpoint('lg')) {return widget.gridInfo.lg}
    }

Like I said before, every rescaling is working except md>sm, which means: xs>sm, sm>md, md>lg, lg>md and sm>xs are working.

Can you try to reproduce it in a plunkr? It all seems to be working in my test/demo pages, so I can only imagine it's something you're end. I'm happy to take a look if you can give me a working example

I've tried to make a plunker but it is not working properly: EXCEPTION: No provider for NgGrid! (NgGridItem -> NgGrid) (http://plnkr.co/edit/y3QgzptqtCEN0Apy4Syj?p=preview). Can you help me on that so I can show you the issue I encounter with angular-2-grid please?

You haven't wrapped the [ngGridItem]s with an [ngGrid]. Add that as a containing div and it'll fix that error.

You're right, here is my new plunker: http://plnkr.co/edit/y3QgzptqtCEN0Apy4Syj?p=preview.
The problem I encounter now is that, no matter what is the effective size of the window, it tells me that it is sm or xs, so I can't reproduce the bug I'm telling you. I've tried something with 3 buttons to "artificially resize the window", which I have not found really useful (in comments in my code).
Hope it can help you!

You didn't include the bootstrap CSS which is why it wasn't working. I managed to reproduce the bug and I think it's because it's trying to set the max_cols to be less than the sizex of one of it's widgets and so entering an endless loop. I'll try to take a look this evening and see if I can put in a catch for that.

OK, it was effectively it, thanks for help. Now that I know that, I can formulate my issue from an other point of view. I still want to be able to resize my widgets and the max_cols when the window is resized by the user but I need to resize:

first, the sizex of the widgets
only after that, max_cols
(and I was doing it the other way around until now)

So I need to know when all the sizex of my widgets are modified, and I haven't been able to access that info so far. I've tried to use resizeStop, to update an array of booleans, but the event is triggered only if the user is resizing the widgets, not if it is a result of resizing the window, as it is in my example. Is there a way to catch that event? I haven't find one in the current possibilities. Do you want me to open a new post for that issue?
Her is what I've tried:
// The array of booleans
private isResizingSafe = [];

// The modified loadGrid() method
@HostListener('window:resize')
    loadGrid() {
        if (this.isResizingSafe.every(element => element == true)) {
            if (this.isBreakpoint('lg')) {this.gridConfig.max_cols = 3;}
            else if (this.isBreakpoint('md')) {this.gridConfig.max_cols = 2;}
            else if (this.isBreakpoint('sm') || this.isBreakpoint('xs')) {this.gridConfig.max_cols = 1;}
            this.isResizingSafe.fill(false);
        }
    }

// The resized(i) method, launched when resizeStop is triggered
resized(i) {
        this.isResizingSafe[i] = true;
    }

Thanks a lot for your help!

Yeaaah, thanks a lot, it's perfectly working!


Error when importing application in APIM pod using Jenkins pipeline

APIM-CLI version
1.14.3
API-Management version
7.7.20231130
Bug description
Customer is getting API not found error while trying to import an API into Axway using the CLI. We didn't have this issue before the upgrade. The Axway Version we are using is 7.7.20231130, and the CLi version we are using is 1.14.3. We are using a Cassandra Cluster with 3 Nodes, with Replication Factor as 3 and consistency_level LOCAL_QUORUM
The command being used is:
apim api import -s qa -h apimgr-qa.cacucloud.com -u REMOVED -port 80 -p REMOVED -c api-config.json -overrideSpecBasePath -clearCache 'ALL' -clientOrgsMode replace -force -forceUpdate -zeroDowntimeUpdate true
Error in debug mode:
2024-05-31 07:24:37,455 [APIManagerAPIAccessAdapter] DEBUG: Load API-Access with type: applications from API-Manager with ID: 43bb8246-5bfc-41d0-a6fc-141fd798cd0c
2024-05-31 07:24:37,455 [RestAPICall] DEBUG: Http verb:GET and URI: https://apimgr-qa.cacucloud.com:80/api/portal/v1.4/applications/43bb8246-5bfc-41d0-a6fc-141fd798cd0c/apis
2024-05-31 07:24:37,486 [APIManagerAPIAdapter] DEBUG: Found: 1 exposed API(s):
2024-05-31 07:24:37,487 [APIManagerAPIAdapter] DEBUG: Found: 1 exposed API(s):
2024-05-31 07:24:37,487 [APIManagerAPIAdapter] DEBUG: Found: 1 exposed API(s):
2024-05-31 07:24:37,487 [RestAPICall] DEBUG: Http verb:GET and URI: https://apimgr-qa.cacucloud.com:80/api/portal/v1.4/proxies/011f8fe0-f26d-4c9a-985a-4fe2ddb7f932
2024-05-31 07:24:37,511 [APIManagerAPIAdapter] ERROR: Unable to find API with ID: 011f8fe0-f26d-4c9a-985a-4fe2ddb7f932 Please have in mind during API-Update the ID is re-created or add -ignoreCache !
2024-05-31 07:24:37,512 [APIManagerAPIAdapter] DEBUG: No existing API found based on filter: []
2024-05-31 07:24:37,514 [RollbackAPIProxy] INFO : Rollback FE-API: EIP-BUS-PERSONS (ID: ea8b2210-958e-49ec-b55b-068c19cf1b4a / State: unpublished)
2024-05-31 07:24:37,515 [APIManagerAPIAdapter] DEBUG: Found: 1 exposed API(s):
2024-05-31 07:24:37,515 [APIStatusManager] DEBUG: Updating API-Status from: published to unpublished
2024-05-31 07:24:37,515 [APIManagerAPIAdapter] DEBUG: Update API-Proxy status to: unpublished
2024-05-31 07:24:37,515 [RestAPICall] DEBUG: Http verb:POST and URI: https://apimgr-qa.cacucloud.com:80/api/portal/v1.4/proxies/ea8b2210-958e-49ec-b55b-068c19cf1b4a/unpublish
2024-05-31 07:24:37,890 [APIManagerAPIAdapter] DEBUG: Deleting API-Proxy with Name : EIP-BUS-PERSONS and Id: ea8b2210-958e-49ec-b55b-068c19cf1b4a
2024-05-31 07:24:37,890 [RestAPICall] DEBUG: Http verb:DELETE and URI: https://apimgr-qa.cacucloud.com:80/api/portal/v1.4/proxies/ea8b2210-958e-49ec-b55b-068c19cf1b4a
2024-05-31 07:24:37,990 [APIManagerAPIAdapter] INFO : API: EIP-BUS-PERSONS 1.0 ( ea8b2210-958e-49ec-b55b-068c19cf1b4a ) successfully deleted
2024-05-31 07:24:37,990 [APIManagerAPIAdapter] DEBUG: Deleting Backend API : e577aed0-f954-478a-874e-504e79acd643
2024-05-31 07:24:37,990 [RestAPICall] DEBUG: Http verb:DELETE and URI: https://apimgr-qa.cacucloud.com:80/api/portal/v1.4/apirepo/e577aed0-f954-478a-874e-504e79acd643
2024-05-31 07:24:39,159 [RestAPICall] DEBUG: Http verb:GET and URI: https://apimgr-qa.cacucloud.com:80/api/portal/v1.4/apirepo?field=name&op=eq&value=EIP-BUS-PERSONS&field=createdOn&op=gt&value=1717140271675
2024-05-31 07:24:39,878 [APIManagerAPIAdapter] DEBUG: No existing API found based on filter: []
2024-05-31 07:24:39,879 [RollbackHandler] INFO : Rolled back: [Frontend-API: false, Backend-API: true]
2024-05-31 07:24:39,879 [APIImportApp] ERROR: Failure creating API-Access for application: 'StatementManager'. Error loading API-Access for applications from API-Manager
| Error loading API-Access for applications from API-Manager
| Unable to find API with ID: 011f8fe0-f26d-4c9a-985a-4fe2ddb7f932 referenced by Application: StatementManager. You may try again with -clearCache
com.axway.apim.lib.error.AppException: Failure creating API-Access for application: 'StatementManager'. Error loading API-Access for applications from API-Manager
at com.axway.apim.apiimport.actions.ManageClientApps.createAppSubscription(ManageClientApps.java:124)
at com.axway.apim.apiimport.actions.ManageClientApps.execute(ManageClientApps.java:73)
at com.axway.apim.apiimport.actions.CreateNewAPI.execute(CreateNewAPI.java:102)
at com.axway.apim.apiimport.actions.RecreateToUpdateAPI.execute(RecreateToUpdateAPI.java:34)
at com.axway.apim.apiimport.APIImportManager.applyChanges(APIImportManager.java:52)
at com.axway.apim.APIImportApp.importAPI(APIImportApp.java:93)
at com.axway.apim.APIImportApp.importAPI(APIImportApp.java:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at com.axway.apim.cli.APIManagerCLI.run(APIManagerCLI.java:131)
at com.axway.apim.cli.APIManagerCLI.main(APIManagerCLI.java:74)
Caused by: com.axway.apim.lib.error.AppException: Error loading API-Access for applications from API-Manager
at com.axway.apim.adapter.apis.APIManagerAPIAccessAdapter.getAPIAccess(APIManagerAPIAccessAdapter.java:126)
at com.axway.apim.adapter.apis.APIManagerAPIAccessAdapter.createAPIAccess(APIManagerAPIAccessAdapter.java:197)
at com.axway.apim.apiimport.actions.ManageClientApps.createAppSubscription(ManageClientApps.java:122)
... 12 more
Caused by: com.axway.apim.lib.error.AppException: Unable to find API with ID: 011f8fe0-f26d-4c9a-985a-4fe2ddb7f932 referenced by Application: StatementManager. You may try again with -clearCache
at com.axway.apim.adapter.apis.APIManagerAPIAccessAdapter.getAPIAccess(APIManagerAPIAccessAdapter.java:118)
... 14 more
2024-05-31 07:24:39,881 [APIManagerAdapter] DEBUG: Closing cache ...
2024-05-31 07:24:39,881 [RestAPICall] DEBUG: Http verb:DELETE and URI: https://apimgr-qa.cacucloud.com:80/api/portal/v1.4/login

About Customer environment:
-> This error is only present in our QA environment, and it has no issues importing into our dev environment.
-> The only difference between Dev and QA APIMGR Instances is that in dev we have a single node cassandra db and in QA we have 3 node cassandra cluster.
-> Running the CLI in a Jenkins Pipeline and using API Manager Pod.
->  the api-config.json being used to import has been uploaded as MemberService.json
cli-logs.txt
Kubernetes_pod_logs.txt
MemberService (1).json
cli-with-jvmarg.txt
cli-logs-with-delay.txt
Steps to reproduce
import API in  API Manager Pod using Jenkins pipeline.
Troubleshooting methods we used :

added the -ignoreCache option to the cli command and it is still failing
tried running the command without -forceUpdate and --zeroDowntimeUpdate true, we are seeing that the stage in the pipeline is failing (you can see the logs for the same in the file cli-debug.txt).
tried adding the -retryDelay option with 3000 milliseconds and it is still failing with the same error and after increasing the delay to 10000 and the issue still occurs. (see logs in "pod-logs-with-delay.txt")
(seem similar to -> https://github.com/Axway-API-Management-Plus/apim-cli/issues/212, -> https://github.com/Axway-API-Management-Plus/apim-cli/issues/213)
tried adding the  jvm argument in the jvm.xml file and redeploy the API Manager and the issue is still persisting. (see logs in cli-with-jvmarg.txt)

It seems the CLI is not retrying the failing API call and just returns the failed status.
Relevant log output
No response

Environment related issue.


No Serve

adds a flag --neuron.no_serve that stops an axon from being served for a validator.
useful for those running validators and servers from the same hotkey and need the axon port to be used by their miner.

Please rebase this on staging

Hey @CreativeBuilds can you please address comments in here or close the PR?

Sorry dont get notifications here and busy with another project atm. Flag stills needs adding but will close here.


[Compatibility(?)] Versions after v1.3.5-1.12.2 Crash on Startup

Hello and thank you for your work!
I've recently tried updating to your newer versions, but each of them after v1.3.5-1.12.2 cause an immediate crash. Since others haven't posted a similar issue and I'm running ~200 mods, I am guessing this is a compatibility problem.
Here's the log, which seems to reference Duplicate method name&signature in class file net/minecraft/block/BlockSoulSand as the problem. Please let me know if I can help in some way.
Thank you for your time!

Can you send a modlist?
If you have the bubble column backport mod installed, remove it; it's made redundant by this mod if you enable bubble columns in the config.

Thank you for the reply, here's my modlist.
I don't have bubble column backport; I do have futuremc, backportedflora, and coralreefs, but I tried disabling all three to no avail.

Thanks. I now see why other mod developers tend to force players to reproduce issues with just one or two mods; searching through that list took a while.
I think this is a conflict with TickCentral. It's a known issue on their end. A fix was proposed but hasn't seen much activity in over a year.
At the moment I can only suggest removing TickCentral, unfortunately.

Thank you, disabling TickCentral solves the issue!
I apologize for this taking a long time; I think some folks don't try to reproduce with fewer mods because they think the author might know the answer quickly, or can ask for further testing. I'd like to think most people would be happy to test further when asked, given that many authors don't bother responding--so thank you very much again!

@embeddedt i encountered a similar issue, maybe it could be solved in that manner without a tickcentral update?
(There was also the java.lang.ClassFormatError: Duplicate method name&signature in class file error)

That hack works because EntityPickarang happens to already override onUpdate, so an inject can be used. In my case soul sand and magma don't have an updateTick method in vanilla, so there is nothing to inject into. I did try it out of curiosity but it didn't work.
The only other solution is to inject into Block itself and only run the custom functions if the block is an instance of soul sand or magma, but that would theoretically have a performance penalty and is quite invasive just to work around a buggy ASM transformer from another mod.
Somebody forked the mod and claims to have gotten a fix working here; perhaps you could give that a try. (Unfortunately you wouldn't be able to publish it on CurseForge.)

Hmm I see, I'll give it a try and maybe I'll even be able to work it in via ModDirector.
(And yes, I am one of the devs for RotN)

I added a hack to save you guys the trouble. With 1.6.2 there will be a second config file called aquaacrobatics_core.cfg; in there you can disable the conflicting mixins and then the rest of the mod will load with TickCentral present.
Note that you'll also want to disable bubble columns in the main config (if they are enabled) as they can't really function without these mixins.
I think this is the best I can do for you for now.

Thank you very much, the effort is greatly appreciated

I added a hack to save you guys the trouble. With 1.6.2 there will be a second config file called aquaacrobatics_core.cfg; in there you can disable the conflicting mixins and then the rest of the mod will load with TickCentral present.
Note that you'll also want to disable bubble columns in the main config (if they are enabled) as they can't really function without these mixins.

Alright, thanks then!


gitlab:12.8.8 -> 12.8.9

Motivation for this change

gitaly: 12.8.8 -> 12.8.9
gitlab-workhorse: 8.21.1 -> 8.21.2
gitlab: 12.8.8 -> 12.8.9
See
https://about.gitlab.com/releases/2020/04/14/critical-security-release-gitlab-12-dot-9-dot-3-released/
for details.
gitlab: support passing --rev to the update-all script
While it's already possible to invoke update-data with the --rev
argument, one still needs to run all later phases manually.
Fix this, by having update-all also accept a --rev argument, and
pass it down to update-data.
Also, make the help text a bit more usable, by suggesting the usual
versioning scheme used these times.

Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[ ] Fits CONTRIBUTING.md.

Hm, there seems to be some bundler version incompatibilities in our bundlerEnv:
bundler: failed to load command: rake (/nix/store/xkqpm8v228zsk16qprf5hxc3yw2jnr2b-gitlab-env-12.8.9/lib/ruby/gems/2.6.0/bin/rake)
Gem::LoadError: You have already activated bundler 1.17.2, but your Gemfile requires bundler 2.1.4. Since bundler is a default gem, you can either remove your dependency on it or try updating to a newer version of bundler that supports bundler as a default gem.
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:312:in `check_for_activated_spec!'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:31:in `block in setup'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:147:in `each'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/spec_set.rb:147:in `each'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:26:in `map'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/runtime.rb:26:in `setup'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler.rb:149:in `setup'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/setup.rb:10:in `block in <top (required)>'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/ui/shell.rb:136:in `with_level'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/ui/shell.rb:88:in `silence'
  /nix/store/hindv16l90d7i4n3hk5l1x73nj068kyp-bundler-2.1.4/lib/ruby/gems/2.6.0/gems/bundler-2.1.4/lib/bundler/setup.rb:10:in `<top (required)>'
builder for '/nix/store/djq9vpdl88p5g6y78kh4r8cfrq3gv1wx-gitlab-assets-12.8.9.drv' failed with exit code 1

This seems to be another invocation of https://github.com/nix-community/bundix/issues/63. pinging @manveru.

@flokli is there a specific reason to use bundler 1.x here?

@manveru we just invoke bundix - see https://github.com/NixOS/nixpkgs/pull/85623/files#diff-e8f8af88c7b2537de05e9e8bbcd945ccL138.

It's important that you use bundix from the same nixpkgs version, so bundler won't differ.

I did set NIX_PATH=nixpkgs=/path/to/nixpkgs-gitlab, and then invoked update.py, which uses a nix-shell to provide bundix.
This should be correct, shouldn't it?

I changed the update.py to call bundix -l instead, to force writing the lockfile. There's still a problem with Bundix treating the warning that bundler emits about upgrading the lockfile version as an error.
To work around that, I invoke bundle lock separately, and then run a simple bundix afterwards:
diff --git a/pkgs/applications/version-management/gitlab/update.py b/pkgs/applications/version-management/gitlab/update.py
index a2a3a6d05b7..29a0ddee757 100755
--- a/pkgs/applications/version-management/gitlab/update.py
+++ b/pkgs/applications/version-management/gitlab/update.py
@@ -1,5 +1,5 @@
 #!/usr/bin/env nix-shell
-#! nix-shell -i python3 -p bundix common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log vgo2nix yarn2nix
+#! nix-shell -i python3 -p bundix bundler common-updater-scripts nix nix-prefetch-git python3 python3Packages.requests python3Packages.lxml python3Packages.click python3Packages.click-log vgo2nix yarn2nix

 import click
 import click_log
@@ -135,6 +135,7 @@ def update_rubyenv():
         with open(rubyenv_dir / fn, 'w') as f:
             f.write(repo.get_file(fn, rev))

+    subprocess.check_output(['bundle', 'lock'], cwd=rubyenv_dir)
     subprocess.check_output(['bundix'], cwd=rubyenv_dir)

@@ -174,7 +175,8 @@ def update_gitaly():
         with open(gitaly_dir / fn, 'w') as f:
             f.write(repo.get_file(fn, f"v{gitaly_server_version}"))

-    subprocess.check_output(['bundix'], cwd=gitaly_dir)
+    subprocess.check_output(['bundle', 'lock'], cwd=gitaly_dir)
+    subprocess.check_output(['bundix'], cwd=gitaly_dir)

     os.environ['GOROOT'] = ""
     subprocess.check_output(['vgo2nix'], cwd=gitaly_dir)

There's still an error from vgo2nix, but I think that's out of scope for me :)

@manveru thanks for taking a look!
I didn't run into the vgo2nix error, and applied your suggestion as a commit in the (now updated) PR.
I successfully managed to build gitlab with it, currently running the tests.
Is there a bug report open about bundix -l misinterpreting the warning as an error?

@GrahamcOfBorg test gitlab

Thanks @petabyteboy for merging this! Did you also backport to 20.03?

I just did so in https://github.com/NixOS/nixpkgs/commit/9153c23157a

The backport was missing the other commits in here.
Backported in c69934e1b946dbe7eea6986777c5004349a91400, 0364b92be6d2a6c0ad5acb08641b168e22eea73a, e2650954d3e2f9ff380bd0a93c63c7b762133c84 and e97d89fde2e4dc67a50e4414a2e1265a223ec60c.
Will do 19.09 shortly.

Backported to 19.09 in 7b9f3c89f35, 57df0aad151, 767ca3624c5, 68169a7ffa6 and a7ceb2536ab.

Thanks for fixing my mistake with the other commits.