United Russia

vegku
I was playing as Russia. I then turned into a Republic. I cannot choose United Russia as a ruling party, but I can choose Populist and Traditionalist parties. If possible, I would love to select them so it can be more accurate to how it is today.

Created "populist" variant of United Russia that could become the ruling party in a "Republic" type of regime.

Also in same commit corrected party end date from 2246.1.1 to 2300.1.1


Introduce 'keyword' AST node and inference type

Keyword types are different from primitives in that they have no literals to subsume.  In the case of null and undefined it's more correct to say they only have a single primitive to subsume.  Treating these as separate from literals and primitives makes some the inference code a bit simpler.  It also aligns with swc's definitions for TS types.

Codecov Report

Merging #236 (5c23802) into main (dfb7402) will decrease coverage by 0.26%.
The diff coverage is 58.57%.

@@            Coverage Diff             @@
##             main     #236      +/-   ##
==========================================
- Coverage   93.15%   92.88%   -0.27%
==========================================
  Files          33       34       +1
  Lines        4224     4247      +23
==========================================
+ Hits         3935     3945      +10
- Misses        289      302      +13

Impacted Files
Coverage Δ

crates/crochet_ast/src/expr.rs
57.57% <0.00%> (-1.80%)
:arrow_down:

crates/crochet_ast/src/lit.rs
100.00% <ø> (+8.69%)
:arrow_up:

crates/crochet_ast/src/prim.rs
50.00% <ø> (+7.14%)
:arrow_up:

crates/crochet_codegen/src/js.rs
94.57% <0.00%> (ø)

crates/crochet_types/src/lit.rs
100.00% <ø> (+28.57%)
:arrow_up:

crates/crochet_types/src/prim.rs
100.00% <ø> (+14.28%)
:arrow_up:

crates/crochet_ast/src/keyword.rs
16.66% <16.66%> (ø)

crates/crochet_infer/src/infer_expr.rs
94.46% <41.66%> (-1.97%)
:arrow_down:

crates/crochet_parser/src/type_ann.rs
97.70% <70.00%> (-2.30%)
:arrow_down:

crates/crochet_codegen/src/d_ts.rs
75.81% <83.33%> (+0.71%)
:arrow_up:

... and 8 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.


Return values

With the classic Navigator, you can return values from pushes:
final result = await Navigator.of(context).pushNamed('route');
Navigator.of(context).pop('result');
Currently, Routemaster has no support for this.
Questions

Is this something worth adding? How popular is this?
Can this actually be done with Navigator 2.0 and global routing?

If this isn't added, there should be documentation on how to pass values to previous pages.

This missing feature blocked us to use Routemaster in our projects. We use this feature many times to decide if refresh previous page data.

Good to know, thanks for the info. I suspect this will be a popular feature request, the problem is Navigator 2.0 doesn't really support it 😕
I was researching yesterday how Routemaster can support it, but it's a bit tricky. Any ideas are welcome, and if anyone has examples of this being done in Navigator 2.0 I'd love to see them.

Actually, this might not be as hard as I thought! Watch this space 😁

I think this is ready, but I'm concerned the API is a bit confusing and would love some feedback
You can currently get the result via the .result property:
final result = await Routemaster.of(context).push<String>('profile/1').result;
You can also get the top-most Route that was created from this navigation:
final route = await Routemaster.of(context).push<String>('profile/1').route;
...not entirely sure if this is useful though - the only useful thing I can think of is being able to access the animation of the incoming route. Is it worth adding this?

@camillobucciarelli hope this unblocks you, please let me know if the API makes sense 😁

Hi @tomgilder .
Thank you for this feature! I need it badly haha
When are you uploading 0.7.0 to pub.dev?

@EdsonBueno published! Please note the breaking changes, especially the path one - https://github.com/tomgilder/routemaster#migration-from-060-to-070

Hi guys!
@tomgilder is there any option to pop the result using the history api like Routemaster.of(context).history.back(anyResultHere)?


How do i know if one account is banned?

I Have 20 accounts and how do i know if one of them are banned?

Fire up PoGo and try to log on with each one. The desktop map does not have an indicator right now.

Go to Tools->Toggle developer tools and you have everything logged there

where would this information be logged in the dev tools?

Either search for "banned" keyword or check manually if any of your workers return with 0 pokemons, 0 pokestops and 0 gyms

? i can't find my accounts in the dev body part nor can i find anything about being banned.

I think  nhlongnguyen means you should look in the console message under dev tools

What's it mean if it says 0 pokemons, I'm getting it a lot

Scrap the above question, what does DB queue is >50 try increasing DB threads mean?

Thats what we were discussing in #1205


Blanket traits for broadcast implementation

Right now we duplicate implementations for geoarrow and geo scalars. Instead, since we own these traits, we should implement blanket implementations on scalars for anything that implements the geometry trait.

In the short term, until georust adopts traits for its algorithms, this would need a conversion from PointTrait to geo::Point, and from LineStringTrait to geo::LineString, so that the implementation could convert the input scalar to a geo scalar for use in the function


FPS drops when game goes to foreground

So, I'm having the weirdest issue. When my game is on the foreground, the GPU usage is low, and FPS is around 30-40, but when I alt tab out of the game, GPU usage goes back to 100% and FPS goes back to the usual 60-70. Windowed, borderless window, and fullscreen all with the same results.
Video of the bug below.
https://youtu.be/VlVzSXcqbR0
Happened on the second boot after the installation of the 0.8.1 release on a fresh 1.0.4 GOG game copy.

NVM, DDU + fresh Nvidia driver install fixed it for me.


Improve execution behavior in unit tests for failed activities

Motivation for the change
When executing workflow code in a unit test within the LocalWorkflowContext, activities are always run directly and synchronously. When an activity successfully returns its result or is called synchronously using .execute!(), this works well. However, when calling asynchronously using .execute(), an exception raised by the activity is unhandled causing it be raised by the execution call directly. When running against a Temporal server, exceptions raised by an activity called asynchronously are simply returned, not raised, and the activity is marked as failed.
This difference in behavior means workflow code runs quite differently inside and outside of unit tests. It limits the ability to unit test workflow code behavior involving activity failures when called via .execute().
What's changing

Wraps invocation of the activity in the LocalWorkflowContext in a rescue block that sets the exception on the future. This better simulates the behavior seen when running against a Temporal server.
Makes the exception attribute of Future public

Code in LocalWorkflowContext.execute! depends on this, but was not previously exercised in the integration tests until the above changes were made
This can be verified by running cd examples && rspec

Adds new specs for LocalWorkflowContext

One to cover the case of a failed activity that raises an exception
Two to cover existing cases going through this code path: for successfully returning and for asynchronous completion
These can be run with rspec spec/unit/lib/temporal/testing/local_workflow_context.rb

Creates a directory for grouping specs for test framework code under specs/unit/lib/temporal/testing
Moves specs for TemporalOverride from spec/unit/lib/temporal/testing_spec.rb into a dedicated file

The tests themselves have not changed except for some spacing
These can be run with rspec spec/unit/lib/temporal/testing/temporal_override.rb

Adds an integration test and new sample workflow to exercise failure of asynchronously executed activities

Can be run with cd example && rspec spec/integration/failing_activities_workflow_spec.rb

Thanks for the feedback. I'll do some updates tonight, and try to get a revision out before the Friday GMT business day.

@antstorm I believe I've addressed all your feedback. Please take another look when you get a chance


pk-web: don't 404 on unnecessary trailing slash

https://perkeep.org/download/ should redirect to https://perkeep.org/download

To be honest, I think it is wrong to correct for that. If they did not mean to visit a directory, they shouldn't have added a trailing /.
Anyway, here it is:
https://camlistore-review.googlesource.com/#/c/camlistore/+/16586


Postman/FHIR tutorial: Wrong instructions -- audience/resource

Hello.
We followed the steps to connect to FHIR server per documentation and worked a few weeks back.
Now it does not any longer. Upon investigation, it seems that the audience (resource) parameter specified in the doc is no longer valid.
before:
https://login.microsoftonline.com/TENANTID/oauth2/authorize?resource=https://azurehealthcareapis.com
after:
https://login.microsoftonline.com/TENANTID/oauth2/authorize?resource=APPID
Not sure if this is expected - you might want to check with the product group, and it would be good to hear back,
thanks
mac

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

ID: a9d1459d-b21b-7a56-d484-50c20a95c628
Version Independent ID: 9adb2b55-d08f-aa34-7d6f-5fa87e1603ae
Content: Postman FHIR server in Azure tutorial - Azure API for FHIR
Content Source: articles/healthcare-apis/access-fhir-postman-tutorial.md
Service: healthcare-apis
Sub-service: fhir
GitHub Login: @hansenms
Microsoft Alias: mihansen

Please clarify. The document states that the value should be:
https://login.microsoftonline.com/{TENANT-ID}/oauth2/authorize?resource=<audience>

where audience may be https://azurehealthcareapis.com or some other audience that you have configured on your FHIR service. It could also be an APP ID if that is how you have configured it.
So I believe the current instructions are correct. If not, please help point to the specific text.

@hansenms Thanks for the quick response.
@mmacagno Please check above response from @hansenms and respond as required. Thanks.

Thanks - following up with @hansenms and will post here findings later

After quick investigation with @hansenms (thanks!) it is user error and not a doc bug.
For posterity:
Our Azure API for FHIR instance has no longer the default audience, that was probably changed at some point. Both AppId and the correct audience (as found in the app registration manifest "identifierUris" element) work as expected.

@mmacagno, thanks.
#please-close


WARNING when compiling quantized pytorch model with vai_c_xir: MaxPool2d or AvgPool2d has been allocated to CPU.

Hello,
I quantized a pytorch model and got an .xmodel. During compilation, I get the following warning:
[UNILOG][WARNING] xir::Op{name = Resnet__Resnet_Sequential_body__bottleneck_IR_1__MaxPool2d_shortcut_layer__9252, type = pool-fix} has been allocated to CPU.
[UNILOG][WARNING] xir::Op{name = Resnet__Resnet_Sequential_body__bottleneck_IR_2__AvgPool2d_shortcut_layer__9320, type = pool-fix} has been allocated to CPU.

Has anyone had the same error or knows what might be causing this error message?
I use Vitis-AI Docker vitis-ai-cpu:1.3.411.
Hope you can help me.
Thank you!

Hi @wgshun ,
which hardware target did you choose?

@wanghong4compiler
Hi,
[UNILOG][INFO] Target architecture: DPUCZDX8G_CUSTOMIZED

Hi @wgshun ,
You can upgrade to vitis-ai >= 1.4, or you can remove the pool manually from your code.
(The pool with kernel size 1 and padding 0 doesn't modify the data, so you can delete the pool safely).


Initial

Some code and some docs and miscellaneous paperwork.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@49c66ad). Click here to learn what that means.
The diff coverage is 100%.

@@           Coverage Diff           @@
##             master     #2   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      3
  Lines             ?     73
  Branches          ?      7
=======================================
  Hits              ?     73
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

src/bfa/__init__.py
100% <100%> (ø)

src/bfa/_implementation.py
100% <100%> (ø)

src/bfa/_version.py
100% <100%> (ø)

Continue to review full report at Codecov.

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


Feature Request: fail fast invocationCount and successPercentage logic

There should be an option to not run a test with configured invocationCount and successPercentage when the successPercentage is already met.
For example: if (invocationCount == 2 && successPercentage is 50) then the test should only retry if the first attempt fails.
It answers the question of whether a test meets the desired success rate without consuming additional computing resources.
P.S. This requirement is moot if the invocations are run in parallel. In my case, the integration tests are memory bound that single threaded retry is desired.

In the mean time, what is the best work around to achieve the stated problem? I'm currently considering a custom TestRunner implementation. I appreciate the advice.

I'm also looking for something similar, but for different reasons: I am chasing a difficult bug where I want to re-run a test 10, 100 or even 1000 times. It's enough to know that it failed one time, I don't need to run the remaining 5, 50 or 500 times (or worse). @yapith did you find a workaround_


wifi traffic

Dear Developer,
I downloaded oasdb_small to my computer and tried to run search locally, but noticed there is a heavy wifi traffic. Is it normal? the search is done in a remote server or in a local computer? Thanks!

Hello! The actual search is done locally against the used pre-processed dataset (in your case oasdb_small), however; to extract the metadata for the N sequences with highest identity, the default is to extract it from the online OAS version hosted by OPIG (in order to keep the pre-processed datasets small, they do not include metadata). If you are returning a lot of sequences (large "keep_best_n"), this step might cause some heavy wifi traffic.
We understand that you might want to perform this search fully locally, so you also have the option of downloading OAS (currently ~1.3T) and extracting metadata from this local version. This allows you to run kasearch offline and most likely also speed up the meta extraction part. To use a local OAS, you need to set the argument "local_oas_path='/path/to/local/oas/'" (please see example 4 in README).
I hope this answered your question! All the best,
Tobias


How to change background color?

Hi, I was just wondering the same. It uses the surface color, so simply change that in your theme.

There are new props in v1.0.3 dropDownStyle & dropDownItemStyle that can help with your case

Thanks 👍
On Wed, Jun 9, 2021, 00:21 Fateh Farooqui @.***> wrote:

There are new props in v1.0.3 dropDownStyle & dropDownItemStyle that can
help with your case
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/fateh999/react-native-paper-dropdown/issues/12#issuecomment-857011726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ANVP5LKPJNXHLPFM73KCX23TRZRCPANCNFSM45PLBNOA
.

It's not possible to change the background color of a "closed" dropdown, even with dropDownStyle and dropDownItemStyle.
The surface color only works with background of the "menu" (after click on down arrow of dropdown).

Thanks @tobecwb that's very unfortunate. Means I will have to look for another library.

since it uses paper's color.background:
const myTheme = useTheme()   const customTheme = {     ...myTheme,     colors: {       ...myTheme.colors,       background: '#ffffff', // white background when closed     },   }
<Dropdown theme={customTheme}

this code worked for me to change background color of the dropdown. -react native paper dropdown

   <DropDown
     // label={'P'}
     mode={'outlined'}
     visible={showMobileDropDOwn}
     showDropDown={() => setShowMobileDropDOwn(true)}
     onDismiss={() => setShowMobileDropDOwn(false)}
     setValue={setPhoneCountry}
     value={phoneCountry}
     list={codes}
     inputProps={{
       style:{
         width:90,
         backgroundColor: 'rgb(252,243,207)',
         height:20
       }
     }}
   />

when mode is changed to mode={'outlined'} in the props, background color is set to almost white, but i tried other ways, but background color not changing


Missing glyphs for < and > in SansSerif fonts

The < and > characters have no defined metrics for SansSerif family fonts, so they are rendered in roman rather than sans-serif even when enclosed in \textsf, which is inconsistent with LaTeX. For example, consider this sequence in text mode:
< \textsf{<} \textsf{\textless}

LaTeX renders both of the second two less-than signs in sans-serif font:

However, KaTeX renders all three in the same (roman) font:

The difference appears minor, but when combined with other sans-serif characters, the difference in stroke width is more jarring.
Environment (please complete the following information):

KaTeX Version: 0.13.11

I've confirmed that those glyphs are indeed missing from the SansSerif fonts. Thanks for the report.

Ah—you are right that the glyphs are missing altogether, not just the metrics; that’s my bad. I thought I had checked by manually adding the textsf class to a span containing a < character, which appeared to work, but it looks like my system font’s fallback character just happens to look similar enough to the SansSerif fonts to blend in. (I guess, looking at the source code more carefully, that is to be expected—it looks like only the glyphs with defined metrics are included in the generated fonts to begin with.)


[Hotkeys]: Level 1 Character Hotkey to Xunlai Chest

Create hotkey to Xunlai chest on Numpad 0, blocked from sending to Guildwars
Create Factions Character
Enter Guild Hall
Press Hotkey (Nothing Occurs)
Leave Guild Hall
Enter Town (become level 2)
Press Hotkey (Works as intended)

Even if you purchase the storage, it still does not function.
Just did a quick debug of the problem, is tied to the Trigger hotkey when playing on PvP character checkbox.
In Toolbox, a level 1 character is currently considered a PvP character.

Found the cause: the pvp character detection is actually done by whether any of the first major cities are unlocked, which they aren't for a pve character during tutorial in factions or NF.  Even for NF, it's incorrect because it checks for Kamadan instead of Chahbek.
https://github.com/HasKha/GWToolboxpp/blob/5795541881683d6e73ab24d315e5cfa9013de768/GWToolboxdll/Windows/HotkeysWindow.cpp#L82

Rather than tweaking this line for chahbek and making a pr, if rather someone take the comment I made into account and check the code to see if we can properly detect the pvp status of a character

https://github.com/GregLando113/GWCA/blob/9a51bfcf2d888a901f40f1c4240a8659de5e6791/Include/GWCA/GameEntities/Player.h#L24


Format table and fix flink to flink.html

Format table for Flink interpreter doc introduced by https://github.com/apache/incubator-zeppelin/pull/303
which will change table formatting from

to

Thank you so much for catching this.
LGTM

nice, looks good.


Saves a changed row even though an old row is displayed per select

Description
I have displayed a table via SELECT.
My colleague has changed a row in this table.
I wanted to change this row and no message came up that a new state exists.
The data that was displayed to me was old after the change of my colleague.
The line was overwritten cold!
DBeaver Version
23.1.5 - Community Edition
Operating System
Windows 10
Database and driver
SQL-Server only
Steps to reproduce

I have displayed a table via SELECT.
My colleague has changed a row in this table.
I wanted to change this row and no message came up that a new state exists.

Additional context

Hello @KevinKrueger
If you know that other people can change the data in a table, you can enable auto-refresh as an option.

In other cases, DBeaver will not constantly read data and will not keep both old and new data. It would be a rather costly situation.

Thank you for your quick reply.

law of the case, there would be one million records, then no
normal thinking person will activate an automatic update.
what if a record is changed exactly in the second?
overwriting an older state with a new one without checking it before is
deadly.
especially if there is a need for processing timestamps in a software, it is not possible to simply
the old state beaten through.

Suggestion:
What's wrong with implementing a caution dialog as a precautionary measure if it is determined during saving that the record displayed is older than the one that is actually in the database?

What's wrong with implementing a caution dialog as a precautionary measure if it is determined during saving that the record displayed is older than the one that is actually in the database?

How can DBeaver understand that this row is older? Not all databases have the row number implementation. So, it needs to be checked by the key status, maybe. But if we do not have keys in a table? Or complex keys?

It's been a while since no update here. If the issue is still actual please let me know and provide additional information.


linux user requirements

For Ubuntu users I found that two packages doesn't installed by default so we need them before made this command work
cargo run --example breakout
It'll be good to have "troubleshot" or "required packages" for each operation system where user will find steps how to quick start with bevy
sudo apt-get install -y libudev-dev
sudo apt install librust-alsa-sys-dev

Yup, this is documented in docs/linux_dependencies.md and linked to the the setup docs: https://bevyengine.org/learn/book/getting-started/setup/

librust-alsa-sys-dev is not used in any way by cargo. It is an artifact of how debian and derivatives handle building rust programs on their build servers. This package contains the source of the alsa-sys crate. Cargo downloads it from the internet if you don't explicitly tell it to use the source in this package.

It's a bit "hidden", but there's docs/linux_dependencies.md.
I wasn't aware of this at first, too. I think it should probably be linked somewhere in readme.md.


Release of pdfjs-dist

Hi,
we have been following this Merge request: https://github.com/mozilla/pdf.js/pull/11964 that should solve an issue we are having. However we can see it has been merged to https://github.com/mozilla/pdfjs-dist but that there hasn't been a release of that library. Is there a release scheduled ?
Thanks for your time,

You can find all official releases on https://github.com/mozilla/pdf.js/releases. The pdfjs-dist library is for the NPM package and that follows the same release scheme. For example, the current pre-release is also available using the next tag; see https://www.npmjs.com/package/pdfjs-dist/v/next


Transparency v1 - WIP

Adding window transparency as an option in Pyglet. Utilize DWM to blur the background of windows. Include both a non-click-through and overlay style option for users to utilize.
Also closes https://github.com/pyglet/pyglet/pull/249 as we implement the same adjusted functionality here.

Is there any way we could also include some of the other transparency things into the draw event on the backend? If you look at the overlay example, we have to create a class, some globals, and a method, then call that method every loop (along with the glflush()). Would be nice to not have to do that.

Is there any way we could also include some of the other transparency things into the draw event on the backend? If you look at the overlay example, we have to create a class, some globals, and a method, then call that method every loop (along with the glflush()). Would be nice to not have to do that.

Windows have a flip method that gets called after each call to on_draw. That looks like a potentially good place for it. This can be set in win32/__init__.py, since it's not necessarily needed for other OSs.
It might be a good idea to put that behind an if flag, if there is any performance impact to it. If so, we don't want to affect the draw performance for non-transparent Window updates.

Thats super awesome! Thank you for the information. I was able to implement that without any issues. It honestly works so good I am wondering if that example is even necessary? Have any thoughts?

Closes #249

I added a couple of example images in the doc & a line regarding the overlay property. Any other things you'd like me to modify?

Sorry for the delay.  This works well on my Windows VM.
I made a small change to Window.__init__ to simplify the alpha value setting.
On my Linux machine the behavior is a bit different, but I can look into that myself later.
Basically the OVERLAY style is identical to the TRANSPARENCY style.
I'll merge this in for now, and open an issue for the Linux side.

Sorry for the delay.

No worries for the delay, I have been busy also
However, the change you implemented in init prevents this from working correctly on my machine. If I pass in a custom config of config = Config(double_buffer=True, depth_size=24, alpha_size = 8) to the window creation it works fine, but I guess I don't see that as ideal to have to do


Bug: [sdkman-init.sh interferes/breaks gcp cloud/kubectl zsh completions]

Bug report
When using gcloud sdk & kubectl zsh completions, the sdkman-init.sh appears to remove or break those completions (i.e. they fail to work).
(also using the ohmyzsh sdkman & kubectl plugins)
Moving the sdkman-init.sh call to before the gcloud sdk & kubectl completion ensures completions for all works correctly.
To reproduce
Place the following in .zshrc:
<snip - ohmyzsh defaults>
plugins=(
  git
  ripgrep
  vi-mode
  zsh-sdkman
  kubectl
)
</snip>

# The next line updates PATH for the Google Cloud SDK.
if [ -f '/home/******/share/gcloud/path.zsh.inc' ]; then . '/home/*******/share/gcloud/path.zsh.inc'; fi

# The next line enables shell command completion for gcloud.
if [ -f '/home/******/share/gcloud/completion.zsh.inc' ]; then . '/home/******/share/gcloud/completion.zsh.inc'; fi

# Completions for kubectl
(( $+commands[kubectl] )) && source <(kubectl completion zsh)

#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
#export SDKMAN_DIR="/home/*******/.sdkman"
[[ -s "/home/********/.sdkman/bin/sdkman-init.sh" ]] && source "/home/*******/.sdkman/bin/sdkman-init.sh"

System info

Arch Linux (kernel 5.13.6)
zsh 5.8.1
zsh-completions 0.33.0-1
oh-my-zsh r6081.5377cc37c-1
gcloud sdk 349.0.0
kubectl 1.18.18

Hi @andrewrembrandt, the ZSH completion for sdkman is obsolete as we are now providing our own completion out of the box. Would you mind giving it a try without the SDKMAN ohmyzsh plugin?
BTW, I have the exact same setup as you and experience no problems.

Hi @marc0der (Many thanks for the quick reply!)
I removed the sdkman ohmyzsh plugin and still find that the gcp / kubectl completions are broken sadly

Here's another thing you could try: Set your sdkman configuration to disable auto-completion by running sdk config and setting sdkman_auto_complete=false. Then try to re-enable the oh-my-zsh sdkman plugin and see what happens. Also, try having a play with the order of the oh-my-zsh plugins.
Incidentally, the oh-my-zsh sdkman completion is quite old and out of date.

Hi @marc0der , many thanks for the reminder - just found the cause & a fix.
It seems that the call to compinit (https://github.com/sdkman/sdkman-cli/blob/master/src/main/bash/sdkman-init.sh#L182) causes the gcloud sdk completions to disappear for me (or perhaps what ever the immediately previous loaded completions are).
I noticed that the gcloud sdk checks if compinit has already been called first (which is quite likely), so applied the same fix, which resolves the issue:
    if ! (( $+functions[compdef] )) ; then
      autoload -Uz compinit
      compinit
    fi

Great to hear you got it working! What I understand from this is that we need to add this check to our ZSH completion script. Is that right?
If so, would you be willing to raise a PR for this fix so that all our users can benefit?

Hi @marc0der, sure thing, just created the PR above - feel free to ask for additions etc
(By the way, many thanks for a great project - big time saver for many developers!)


SK CF images folder

Dear INSPIRE team.
May I ask you to create the folder "images" in SK country fiches folder in order to upload figures for 2024 report?
https://github.com/INSPIRE-MIF/INSPIRE-in-your-Country/tree/main/SK/Country_fiches
Thanks, Martin

Dear @MartinTuchyna
The folder was created.
All the best.

Thanks a lot Jordi!


withGraphJoined  ignored when Used alongside withGraphFetched

I am trying to withGraphJoined alongside withGraphFetched but ObjectionJS ignore withGraphJoined and fetches all relations in separate query.
const result = await User.findById(1)
  .withGraphJoined("avatar")
  .withGraphJoined("currentAddress")
  .withGraphFetched("playlists.[movies.[actors], tvShows.[actors]]")

withGraphJoined  is totally ignored and even avatar is fetched in separate query. I want to do this because there will be only one entry for avatar and currentAddress.
Is this a bug or by design. Any alternative way I can achieve this? What id the recommended way to load more than 5 relations at a time with mixed cardinality ?

Unfortunately you can't mix those two like that. What you can do, is first run the withGraphJoined query and then load the other relations using $loadGraph for the returned item.

Is this guys so desperate for attention to leave such comment. Thats sad @koskimas. I hope you'll find better meaning for life rather than waiting for strangers on internet to thank you.


Rename project folder name

This won't rename the folder but will create a new folder with this name and move the file inside it.


feat(emblem): simplify loading and use transparent image instead of black for loading

Related issues 🔗
Closes #6517. Closes #6564.
Description ℹ
Simplify the loading to make it a bit less jumpy. This is particularly for Market emblems, but
changes the loading of EmblemBase so all should load slightly quicker.

Add a transparent loading image, rather than the flash-of-black loading image
Add base64 encoded loading & missing images, rather than loading blank images over the network
Remove loading/useState listener on EmblemBase

Drafted, I might as well do https://github.com/vegaprotocol/frontend-monorepo/issues/6564 too

Dont think my review needed on this ... merge when ready

Same for this ... doesnt need me ... merge it


Add documentation for .rpm packages

Description
Improve documentation for .deb packages.
Tweak how packages are built.
Readiness checklist

[ ] I added/updated unit tests.
[ ] I added/updated integration/compatibility tests.
[ ] I added/updated comments and checked rendering.
[x] I made spot refactorings.
[x] I updated user documentation.
[x] I ran task all, and it passed.
[x] I ensured that PR title is good enough for the changelog.
[x] (for maintainers only) I set Reviewers (@FerretDB/core), Labels, Project and project's Sprint fields.
[x] I marked all done items in this checklist.

@Fashander PTAL


Simplify code and fix inconsistency for NomBank

simplify code: self._framefiles is redundant because self._fileids can be used to refer to a list of frame files, which is similar to the use of self._fileids (referring to a list of parse files) in BracketParseCorpusReader. Besides, [nomfile, nounsfile] + framefiles in line 66 is obscure. It mixes up nomfile, nounsfile, and framefiles. Considering there are self._nomfile and self._nounsfile referring to nomfile and nounsfile respectively, it is better to remove nomfile and nounsfile from self._fileids.
fix inconsistency: as is described in the doc, root is of str type normally. In the old code, however, errors will be raised from find_corpus_fileids in line 63 when framefiles is as well a string. It is because this function expects root to be an instance of PathPointer. The modified code can resolve this problem.

Thanks @zhaoyanpeng for the patches!
Is there a way to test this? Is it right that the nombank requires access to the full PTB?

@alvations  I am not sure how to write a test for the code simplification part. The patches aim to provide more clear logic.
For the inconsistency issue, can we add a test which uses string_types root and framefiles to instantiate NombankCorpusReader? In this case, string_types is valid according to the parameter descriptions and no errors will occur with the patches.
Yes, the nonbank is dependent on the PTB since it is a kind of annotation of the PTB. If we only want to test it, we can use the portion of the PTB available in the NLTK data.

Did a quick check on the identity, there's two files that aren't framefiles.
>>> from nltk.corpus import nombank
>>> len(nombank._framefiles), len(nombank.fileids())
(4705, 4707)
>>> set(nombank.fileids()).difference(nombank._framefiles)
{'nombank.1.0.words', 'nombank.1.0'}

Yes looks like _framefiles is a subset of fileids(). Let me try to add something =)

It looks like you've removed the regex reading into the framefiles https://github.com/nltk/nltk/blob/develop/nltk/corpus/reader/nombank.py#L61 from the LazyCorpusLoader() here: https://github.com/nltk/nltk/blob/develop/nltk/corpus/init.py#L379
I've put it back so that the fileids() reading exists. So that users can still specify only the subset that they want to. Otherwise the fileids() would include the readme files and other things that are not the .xml.
Also, added some tests to make sure the numbers are right as well as some template for anyone to extend the unittest.
Thanks @zhaoyanpeng for the contribution and confirming the info on fileids and framefiles!

This should LGTM once the test passes. Thanks again @zhaoyanpeng !

Thanks @zhaoyanpeng and @alvations


Update homeSlider.js

Imho, default slider looks better without autoplay.

Thank you @vamcart, i always like scrolling, but maybe we should get someone to help us to add settings to admin dashboard to enable or disable and scrolling time?

IMHO.
We need to move all theme settings from settings.json file to database table (collection).
Like store settings and configration table (colletion).
And add new options to this theme settings located in the database.


Error in preprocessing the ShapeNet Dataset

when I run : python lmdb_serializer.py /path/to/shapenet/valid.lmdb /path/to/output/shapenet/val
errors occur as follows:

This error may be due to a module name conflict. I guess it's /utils/ io.py Conflicts with Python internal file naming.
How can I solve this problem?

@zhangyanan0306
Sorry, I cannot reproduce your error.
In addition, I didn't import io in lmdb_serializer.py .

You need to install lmdb and tensorpack before running the script.
pip install lmdb tensorpack

You need to install lmdb and tensorpack before running the script.
pip install lmdb tensorpack

One of your files is named io.py ，in ‘/utils/ io.py .    Are you sure it works?  Does this name not conflict with the IO module in Python?
After rename io.py  another name, the IO error is no longer prompted.
But there is another error as follows:

It seems that GLIBC_2.27 is not supported in Ubuntu server 16.04.
You're using 18.04? What can I do to make it work on my 16.04.

Actually, I'm using Arch Linux.
Maybe you can try a lower version of open3d?
I'll upload a processed ShapeNet dataset on Google Drive later.

You need to install lmdb and tensorpack before running the script.
pip install lmdb tensorpack

One of your files is named io.py ，in ‘/utils/ io.py . Are you sure it works? Does this name not conflict with the IO module in Python?
After rename io.py another name, the IO error is no longer prompted.

But I didn't import IO in this file. Please tell me why io.py appears in the stack trace?

One of your files is named io.py ，in ‘/utils/ io.py . Are you sure it works? Does this name not conflict with the IO module in Python?
After rename io.py another name, the IO error is no longer prompted.

But I didn't import IO in this file. Please tell me why io.py appears in the stack trace?

open3d.io.write_point_cloud(os.path.join(partial_output_folder, '%02d.pcd' % idx), p)
open3d.io.write_point_cloud(os.path.join(complete_output_folder, '%s.pcd' % model_id), p)
Is it caused here?
He mistakenly gave priority to finding  /utils/io.py？

I don't think so.

I don't think so.
Are you using VS Code or PyCharm?
Try to run it in the Terminal.
Please refer to

https://stackoverflow.com/questions/26569828/pycharm-py-initialize-cant-initialize-sys-standard-streams
https://python-forum.io/Thread-Fatal-Python-error-init-sys-streams-can-t-initialize-sys-standard-streams-Attribute

I don't think so.

What could be the reason?

You can now download the processed dataset from here.

You can now download the processed dataset from here.

Thank you very much！


[bugfix] Fix creating merchant-managed subscriptions in BlueSnap for a shopper with multiple cards

WIP

Unit tests:

Remote tests:


Prepare for v.1.3 structure

Sorry if the code is lame. If you have any suggestions for improvements, please don't hesitate. Also, I'm not sure how much you care about backward compatibility. The json parsing functions are available in vim8.

Would be awesome to have this merged. I love this plugin even if I just use it for the surround functionality in .eex templates!
Currently I've created .projections.json file with contents outlined in this blog post: https://thoughtbot.com/blog/supercharge-elixir-and-phoenix-navigation-with-vim-projectionist


latest-stable can't compile

Hello,
download latest-stable from github  to have a try, it can't compile I think for a missnamed in release :
ngx_pagespeed: pagespeed optimization library not found:

   You need to separately download the pagespeed library:

     $ cd /path/to/ngx_pagespeed
     $ wget https://dl.google.com/dl/page-speed/psol/<IP_ADDRESS>.tar.gz
     $ tar -xzvf <IP_ADDRESS>.tar.gz # expands to psol/

   Or see the installation instructions:
     https://github.com/pagespeed/ngx_pagespeed#how-to-build

Thanks,
Eric

What commands did you run?

./configure --add-module=$HOME/pagespeed_new/ngx_pagespeed-${NPS_VERSION} --conf-path=/etc/nginx/nginx.conf --http-log-path=/var/log/nginx/access.log --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/body --error-log-path=/var/log/nginx/error.log --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi
NPS_VERSION set to latest-stable

You're using the manual steps, not the installer, right?
Does $HOME/pagespeed_new/ngx_pagespeed-${NPS_VERSION}/psol exist?

no

Did you download psol?

NO )))

The instructions have:
cd
NPS_VERSION=[check the release notes for the latest version]
wget https://github.com/pagespeed/ngx_pagespeed/archive/release-${NPS_VERSION}-beta.zip
unzip release-${NPS_VERSION}-beta.zip
cd ngx_pagespeed-release-${NPS_VERSION}-beta/
wget https://dl.google.com/dl/page-speed/psol/${NPS_VERSION}.tar.gz
tar -xzvf ${NPS_VERSION}.tar.gz  # extracts to psol/

It looks like maybe you skipped the last two steps?

oh, I see the problem, that wget will fail

And I missed this step

https://dl.google.com/dl/page-speed/psol/latest-stable.tar.gz doesn't exist, you need to use the actual version number in the url: https://dl.google.com/dl/page-speed/psol/<IP_ADDRESS>.tar.gz`

Ok jeff

Thanks @jeffkaufman


Port Desktop Python App to Linux

Enable the Desktop app to run on a dedicated RPi machine.  An encoder can allow for rotator turning.  I have a few PiHPSDR focused controllers with encoders and switches that can become a dedicated ethernet connected controller.

Desktop Python app ran on Linux Mint with no changes.  Even sees a serial device.  When changing IP address related data on the target decoder board you need to reset EEPROM then reconfigure and recal.  I think there is a remote command to change the dest and host IPs also.

Seems to work with no changes required on LinuxMint.  Should work on RPi.

Seems to work the same on RPi 4B with Bullseye 64bit.


Build Error in Conda env on Windows

Hello, I am pretty new to all this, so bear with me. I'm trying to build this package and every step before I run "python setup.py build" works fine with no errors. However, the build command results in these errors near the end of the output. Other info that may or may not be relevant is that I am doing this in a conda environment on Windows. I manually ran pip install cmake in addition to the usual setup steps given in the docs because I didn't have it installed. Any help would be greatly appreciated.
Here is the end of the output from "python setup.py build"
C:/Users/ToppLab/Photogrammetry/OpenSfM/vcpkg/installed/x64-windows/include\glog/log_severity.h(57,1): fatal  error C11
89: #error:  ERROR macro is defined. Define GLOG_NO_ABBREVIATED_SEVERITIES before including logging.h. See the document
for detail. [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\geometry\pygeometry.vcxproj]
Building Custom Rule C:/Users/ToppLab/Photogrammetry/OpenSfM/opensfm/src/map/CMakeLists.txt
landmark.cc
map.cc
rig.cc
shot.cc
dataviews.cc
observation.cc
tracks_manager.cc
The contents of  are available only with C++17 or later.
C:\Users\ToppLab\Photogrammetry\OpenSfM\opensfm\src\map\src\tracks_manager.cc(206,69): warning C4267: 'return': convers
ion from 'size_t' to 'int', possible loss of data [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\map\map.vcxproj]
C:\Users\ToppLab\Photogrammetry\OpenSfM\opensfm\src\map\src\tracks_manager.cc(208,70): warning C4267: 'return': convers
ion from 'size_t' to 'int', possible loss of data [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\map\map.vcxproj]
C:\Users\ToppLab\Photogrammetry\OpenSfM\opensfm\src\map\src\tracks_manager.cc(376,34): warning C4267: 'argument': conve
rsion from 'size_t' to '_Ty', possible loss of data [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\map\map.vcxpro
j]
with
[
_Ty=int
]
Generating Code...
map.vcxproj -> C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\map\Release\map.lib
Building Custom Rule C:/Users/ToppLab/Photogrammetry/OpenSfM/opensfm/src/map/CMakeLists.txt
pybind.cc
C:\Users\ToppLab\Photogrammetry\OpenSfM\opensfm\src\map\python\pybind.cc(46,1): warning C4996: 'sscanf': This function
or variable may be unsafe. Consider using sscanf_s instead. To disable deprecation, use _CRT_SECURE_NO_WARNINGS. See on
line help for details. [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\map\pymap.vcxproj]
Creating library C:/Users/ToppLab/Photogrammetry/OpenSfM/cmake_build/map/Release/pymap.lib and object C:/Users/Top
pLab/Photogrammetry/OpenSfM/cmake_build/map/Release/pymap.exp
Generating code
Finished generating code
pymap.vcxproj -> C:\Users\ToppLab\Photogrammetry\OpenSfM\opensfm\pymap.cp39-win_amd64.pyd
Building Custom Rule C:/Users/ToppLab/Photogrammetry/OpenSfM/opensfm/src/robust/CMakeLists.txt
absolute_pose_model.cc
absolute_pose_known_rotation_model.cc
relative_rotation_model.cc
relative_pose_model.cc
C:/Users/ToppLab/Photogrammetry/OpenSfM/vcpkg/installed/x64-windows/include\glog/log_severity.h(57,1): fatal  error C11
89: #error:  ERROR macro is defined. Define GLOG_NO_ABBREVIATED_SEVERITIES before including logging.h. See the document
for detail. [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\robust\robust.vcxproj]
line_model.cc
instanciations.cc
C:/Users/ToppLab/Photogrammetry/OpenSfM/vcpkg/installed/x64-windows/include\glog/log_severity.h(57,1): fatal  error C11
89: #error:  ERROR macro is defined. Define GLOG_NO_ABBREVIATED_SEVERITIES before including logging.h. See the document
for detail. [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\robust\robust.vcxproj]
Generating Code...
Building Custom Rule C:/Users/ToppLab/Photogrammetry/OpenSfM/opensfm/src/sfm/CMakeLists.txt
retriangulation.cc
ba_helpers.cc
C:/Users/ToppLab/Photogrammetry/OpenSfM/vcpkg/installed/x64-windows/include\glog/log_severity.h(57,1): fatal  error C11
89: #error:  ERROR macro is defined. Define GLOG_NO_ABBREVIATED_SEVERITIES before including logging.h. See the document
for detail. [C:\Users\ToppLab\Photogrammetry\OpenSfM\cmake_build\sfm\sfm.vcxproj]
tracks_helpers.cc
Generating Code...
Traceback (most recent call last):
File "C:\Users\ToppLab\Photogrammetry\OpenSfM\setup.py", line 60, in
build_c_extension()
File "C:\Users\ToppLab\Photogrammetry\OpenSfM\setup.py", line 50, in build_c_extension
subprocess.check_call(
File "C:\Users\ToppLab\Miniconda3\lib\subprocess.py", line 373, in check_call
raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release']' returned non-zero exit status 1.

Facing the same issue.

AnyOne Can Fix this Problem?

HI @asahdjh @kenanoestreich @Loayaltal ,
This line looks like you need C++17 to compile:
The contents of are available only with C++17 or later.

Look for instructions on how to update to C++17 and then try again. I don't have access to any Windows computer, so can't help you.

I am facing the same issue while trying to build OpenSFM on windows, using a virtual environment in conda. I'm getting the same error:
subprocess.CalledProcessError: Command '['cmake', '--build', '.', '--config', 'Release']' returned non-zero exit status 1.


Plugin artifacts not deployed to plugin repository

The plugin artifacts show up correctly on https://plugins.gradle.org/plugin/com.devsoap.plugin.vaadin but they are not in the repository.
 Could not find com.devsoap.plugin:gradle-vaadin-plugin:1.2.2.
     Searched in the following locations:
         https://plugins.gradle.org/m2/com/devsoap/plugin/gradle-vaadin-plugin/1.2.2/gradle-vaadin-plugin-1.2.2.pom
         https://plugins.gradle.org/m2/com/devsoap/plugin/gradle-vaadin-plugin/1.2.2/gradle-vaadin-plugin-1.2.2.jar

Expected Behavior
The artifacts should be in the repository
Current Behavior
Artifacts are not in the repository.  This can be verified by accessing https://plugins-artifacts.gradle.org/com.devsoap.plugin/gradle-vaadin-plugin/1.2.2/3c98b960693f5dea7f35b23fc7e6e8a0bdb0343560634aaa6672df70ba0439fa/gradle-vaadin-plugin-1.2.2.pom manually
Context
Currently a blocker for us since we cannot use the plugin.
Steps to Reproduce (for bugs)
build.gradle
plugins {
  id "com.devsoap.plugin.vaadin" version "1.2.2"
}

Run gradle dependencies

@johndevs can you confirm what version of the plugin-publish plugin you are using?  You need to be using the latest version https://discuss.gradle.org/t/plugin-authors-please-use-the-latest-plugin-publish-plugin-others-may-result-in-a-broken-upload/23573

@rhart I can confirm I am using an old one, 0.9.1 to be specific. So most likely the same issue. I'll update the plugin and try again.
Would it be possible to make the build break if the plugin version is no longer compatible with the plugin site it tries to upload to? It would help a lot in noticing if something needs to get updated.

@johndevs yes, there are some improvements being worked on.
I believe I need to delete the version you have published before you try again.  Can you confirm it's ok for me to do this?

@rhart Yes, sure, go ahead, I'll rebuild/deploy them again once they are gone

@johndevs 1.2.2 has been removed, please re-publish when you're ready

@rhart Re-published the artifacts and looks like it is working again. Thanks for your help!


[Snyk] Upgrade eslint from 8.55.0 to 8.56.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade eslint from 8.55.0 to 8.56.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 22 days ago, on 2023-12-15.

Release notes

Package name: eslint

8.56.0 - 2023-12-15Features

0dd9704 feat: Support custom severity when reporting unused disable directives (#17212) (Bryan Mishkin)
31a7e3f feat: fix no-restricted-properties false negatives with unknown objects (#17818) (Arka Pratim Chaudhuri)

Bug Fixes

7d5e5f6 fix: TypeError: fs.exists is not a function on read-only file system (#17846) (Francesco Trotta)
74739c8 fix: suggestion with invalid syntax in no-promise-executor-return rule (#17812) (Bryan Mishkin)

Documentation

9007719 docs: update link in ways-to-extend.md (#17839) (Amel SELMANE)
3a22236 docs: Update README (GitHub Actions Bot)
54c3ca6 docs: fix migration-guide example (#17829) (Tanuj Kanti)
4391b71 docs: check config comments in rule examples (#17815) (Francesco Trotta)
fd28363 docs: remove mention about ESLint stylistic rules in readme (#17810) (Zwyx)
48ed5a6 docs: Update README (GitHub Actions Bot)

Chores

ba6af85 chore: upgrade<EMAIL_ADDRESS>(#17864) (Milos Djermanovic)
60a531a chore: package.json update for @ eslint/js release (Jenkins)
ba87a06 chore: update dependency markdownlint to ^0.32.0 (#17783) (renovate[bot])
9271d10 chore: add GitHub issue template for docs issues (#17845) (Josh Goldberg ✨)
70a686b chore: Convert rule tests to FlatRuleTester (#17819) (Nicholas C. Zakas)
f3a599d chore: upgrade eslint-plugin-unicorn to v49.0.0 (#17837) (唯然)
905d4b7 chore: upgrade eslint-plugin-eslint-plugin v5.2.1 (#17838) (唯然)
4d7c3ce chore: update eslint-plugin-n v16.4.0 (#17836) (唯然)
fd0c60c ci: unpin Node.js 21.2.0 (#17821) (Francesco Trotta)

8.55.0 - 2023-12-01Features

8c9e6c1 feat: importNamePattern option in no-restricted-imports (#17721) (Tanuj Kanti)

Documentation

83ece2a docs: fix typo --rules -> --rule (#17806) (OKURA Masafumi)
fffca5c docs: remove "Open in Playground" buttons for removed rules (#17791) (Francesco Trotta)
a6d9442 docs: fix correct/incorrect examples of rules (#17789) (Tanuj Kanti)
383e999 docs: update and fix examples for no-unused-vars (#17788) (Tanuj Kanti)
5a8efd5 docs: add specific stylistic rule for each deprecated rule (#17778) (Etienne)

Chores

eb8950c chore: upgrade<EMAIL_ADDRESS>(#17811) (Milos Djermanovic)
93df384 chore: package.json update for @ eslint/js release (Jenkins)
fe4b954 chore: upgrade<EMAIL_ADDRESS>(#17799) (Milos Djermanovic)
bd8911d ci: pin Node.js 21.2.0 (#17809) (Milos Djermanovic)
b29a16b chore: fix several cli tests to run in the intended flat config mode (#17797) (Milos Djermanovic)
de165c1 chore: remove unused config-extends fixtures (#17781) (Milos Djermanovic)
d4304b8 chore: remove formatting/stylistic rules from new rule templates (#17780) (Francesco Trotta)
21024fe chore: check rule examples for syntax errors (#17718) (Francesco Trotta)

    from eslint GitHub release notes

Commit messages

Package name: eslint

8e8e9f8 8.56.0
085978b Build: changelog update for 8.56.0
ba6af85 chore: upgrade<EMAIL_ADDRESS>(#17864)
60a531a chore: package.json update for @ eslint/js release
0dd9704 feat: Support custom severity when reporting unused disable directives (#17212)
31a7e3f feat: fix no-restricted-properties false negatives with unknown objects (#17818)
ba87a06 chore: update dependency markdownlint to ^0.32.0 (#17783)
7d5e5f6 fix: `TypeError: fs.exists is not a function` on read-only file system (#17846)
9271d10 chore: add GitHub issue template for docs issues (#17845)
70a686b chore: Convert rule tests to FlatRuleTester (#17819)
9007719 docs: update link in ways-to-extend.md (#17839)
f3a599d chore: upgrade eslint-plugin-unicorn to v49.0.0 (#17837)
905d4b7 chore: upgrade eslint-plugin-eslint-plugin v5.2.1 (#17838)
4d7c3ce chore: update eslint-plugin-n v16.4.0 (#17836)
3a22236 docs: Update README
54c3ca6 docs: fix migration-guide example (#17829)
4391b71 docs: check config comments in rule examples (#17815)
fd28363 docs: remove mention about ESLint stylistic rules in readme (#17810)
fd0c60c ci: unpin Node.js 21.2.0 (#17821)
48ed5a6 docs: Update README
74739c8 fix: suggestion with invalid syntax in no-promise-executor-return rule (#17812)

Compare

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

LGTM


Update "how to fix CS0433" to use extern alias (and add any extra needed steps)

I don't believe a fix using csc will be the most wanted fix.

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

ID: cc727a99-200d-d34b-a2db-72f336f6f326
Version Independent ID: fa87a308-62df-2b4c-1685-2ff9372b5c46
Content: Compiler Error CS0433
Content Source: docs/csharp/language-reference/compiler-messages/cs0433.md
Product: dotnet-csharp
Technology: csharp-diagnostics
GitHub Login: @BillWagner
Microsoft Alias: wiwagn

Related to #5410


It is possible choose between strict and non-strict mode?

Hi,
I noticed that you can not choose between strict and non-strict mode because the latter is hard coded in container command line FileBot's AMC script.
Is there any shortcut to enable strict mode?
I thought about using "AMC_CUSTOM_OPTIONS" variabile but I don't know if it could create a conflict.
Thanks

Thanks for raising this.  With the latest container image version, I made this option configurable.  See the AMC_MATCH_MODE variable.

Perfect, thank you so much.

Hello there,
Runing the latest image
sha256:4071b36d131266aa688c200faca0c13498ec1fcfd0f9e44679b3f4bb8f90bb52
root@nolazybits-omv1:~# docker exec -it filebot bash
bash-4.4# echo $AMC_MATCH_MODE
opportunistic

This is the message in my logs
* Consider using -non-strict to enable search by name and opportunistic matching
Thanks

Can you share more log messages to get the context ?


Some CSS for meta class

The current page have meta class but no value

Sending my patch for you review

Hey @RobbiNespu really sorry for taking this long. Will review both this and #28 by EOD today ☺


Fusion doesn't work if both subgraphs and Fusion servers use authorisation

Is there an existing issue for this?

[X] I have searched the existing issues

Product
Hot Chocolate
Describe the bug
If two subgraphs and Fusion servers use authorisation, both have ApplyPolicy defined and a conflict occurs in Fusion server.
Theoretically you can use IgnoreType when configuring Fusion Server, but it doesn't work.
Steps to reproduce

Create two subgraphs servers, each with an AddAuthorisation configuration.
Create FusionServer also with AddAuthorisation configuration
Run Fusion server
Try to reload fusion schema in Banana Cake Pop
Error from log section appears

Relevant log output
Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware[1]
      An unhandled exception has occurred while executing the request.
      HotChocolate.SchemaException: For more details look at the `Errors` property.

      1. The name `ApplyPolicy` was already registered by another type. (HotChocolate.Authorization.ApplyPolicyType)

         at HotChocolate.Configuration.TypeRegistry.Register(String typeName, RegisteredType registeredType)
         at HotChocolate.Configuration.TypeInitializer.CompleteTypeName(RegisteredType registeredType)
         at HotChocolate.Configuration.TypeInitializer.<CompleteNames>b__23_0(RegisteredType type)
         at HotChocolate.Configuration.TypeInitializer.ProcessTypes(TypeDependencyFulfilled fulfilled, Func`2 action)
         at HotChocolate.Configuration.TypeInitializer.CompleteNames()
         at HotChocolate.Configuration.TypeInitializer.Initialize()
         at HotChocolate.SchemaBuilder.Setup.InitializeTypes(SchemaBuilder builder, IDescriptorContext context, IReadOnlyList`1 types)
         at HotChocolate.SchemaBuilder.Setup.Create(SchemaBuilder builder, LazySchema lazySchema, IDescriptorContext context)
         at HotChocolate.SchemaBuilder.Create(IDescriptorContext context)
         at HotChocolate.SchemaBuilder.HotChocolate.ISchemaBuilder.Create(IDescriptorContext context)
         at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaAsync(ConfigurationContext context, RequestExecutorSetup setup, RequestExecutorOptions executorOptions, IServiceProvider schemaServices, TypeModuleChangeMonitor typeModuleChangeMonitor, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorResolver.CreateSchemaServicesAsync(ConfigurationContext context, RequestExecutorSetup setup, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorNoLockAsync(String schemaName, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorResolver.GetRequestExecutorAsync(String schemaName, CancellationToken cancellationToken)
         at HotChocolate.Execution.RequestExecutorProxy.GetRequestExecutorAsync(CancellationToken cancellationToken)
         at HotChocolate.AspNetCore.HttpPostMiddlewareBase.HandleRequestAsync(HttpContext context)
         at HotChocolate.AspNetCore.HttpPostMiddlewareBase.InvokeAsync(HttpContext context)
         at Microsoft.AspNetCore.Builder.EndpointRouteBuilderExtensions.<>c__DisplayClass20_0.<<UseCancellation>b__1>d.MoveNext()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
         at Symfonia.Admin.Api.GraphQL.Middlewares.LoadPlatformSchemaMiddleware.InvokeAsync(HttpContext context, RequestDelegate next) in C:\TFS\Core2\src\modules\Admin\Symfonia.Admin.Api.GraphQL\Middlewares\LoadPlatformSchemaMiddleware.cs:line 43
         at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
      --- End of stack trace from previous location ---
         at Microsoft.AspNetCore.Authorization.AuthorizationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass6_1.<<UseMiddlewareInterface>b__1>d.MoveNext()
      --- End of stack trace from previous location ---
         at Symfonia.Api.Middlewares.EnableRequestBodyBufferingMiddleware.InvokeAsync(HttpContext context) in C:\TFS\Core2\src\Symfonia.Api\Middlewares\EnableRequestBodyBufferingMiddleware.cs:line 14
         at Microsoft.AspNetCore.Authentication.AuthenticationMiddleware.Invoke(HttpContext context)
         at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddlewareImpl.Invoke(HttpContext context)

Additional Context?
No response
Version
13.3.1

You need to configure header propagation

https://thecodeblogger.com/2021/05/25/request-header-propagation-in-net-core-web-applications/

I had header propagation configured and it works fine when subgraph has authorisation and fusion server does not. The problem is when the fusion server also has authorisation. In my repro steps no request is even sent to subgraphs and problems occur. The fusion server can't even be initialised because the ApplyPolicy enum type appears twice in the fusion graph.

Thanks for reopening. I'm wondering if this should be marked as a bug rather than a question?
Can you give us a rough estimate of when we can expect a fix?
Thanks

Its not a bug as we have not implemented any authorization on the fusion gateway. At the moment its not supported. With the current version authorization is supposed to be handled by the subgraph.
We have a feature for authorization on the backlog for version 13.8.
I am closing this issue as it is by design that the gateway has no authorization capabilities as of now.
This is expected:

I had header propagation configured and it works fine when subgraph has authorisation and fusion server does not.

We are also not sure yet if there should be authorization in the gateway as this would duplicate logic that is already executed on the subgraphs. We are still discussing this topic internally. Join the fusion channel on slack as we are constantly posting the current roadmap there and giving hints as to how we implement certain aspects of the roadmap.

slack.chillicream.com

Thanks for the answer.
I think authorisation on the fusion server side would be beneficial. It would be nice to have a global common authentication and authorisation and not have to repeat it (or use it) on every subgraph/application. So the need is to have authentication/authorisation (at least the common part) on the gateway side and not on the subgraph side.

Ps:
I'm writing from the perspective of a larger company that has a cloud platform and many products around it with a single point of access.

@michaelstaib  referring to your comment about Fusion and authorization, on Jul 30 you said authorization for fusion was on the backlog for 13.8. I see now that we've jumped from 13.7 to 14.0 preview. Does the preview have authorization? Also as far as contacting you via Slack, which you mention in your class as well as in this thread, my company does not allow slack in house so unfortunately ATM this is my best known way of communicating with you.  Any better alternatives?


Add docker build and docker-compose

I ran into your rate limiting while using this API and figured I could use a local deployment of the API so that I can reset it if I need to.
Let me know if this is something you'd be interested in and I can neaten it up a bit more.

Hey @EternalDeiwos
it looks super handy, I will check it out asap.
thanks!!
Just out of curiosity, do you hit the rate limit frequently?

I'm may have pointed a class of students at it while teaching them about RESTful APIs. :sweat_smile:
We're all NATing behind a single address so we reach the limit pretty quickly.

I'm setting the headers in Nginx not in the API server. It should not be any issue with CORS.
What kind of problems are you referring to? is it related to the Docker integration that you are proposing in this PR?

Ah that would explain it.
I'm not using any kind of reverse proxy so that's why I get the CORS error. Just deploying locally using docker for development purposes.
Technically this could also be addressed by adding a nginx container to the docker-compose.yml but that seems like overkill for a single header (for my purpose at least).

Since there is no more rate limit I will close this one. Thank you!


Triage and fix remaining analyzer test failures

Over the years we've accumulated a set of tests that are known to fail under the analyzer.  Many of these tests are failing due to flaws in the tests themselves.  Others are probably failing due to analyzer bugs.  It's been a long time since we triaged these failures and evaluated which ones are worth fixing.  It would be nice to do a round of triage, fix the flawed tests, and file issues and/or make fixes to address the analyzer bugs.
It's a bit of a stretch to call this "technical debt", but since we're using the analyzer-technical-debt label to track work that we're postponing during NNBD and want to return to later, I'm going to go ahead and apply that label for now.  Once we get around to working on technical debt, we can prioritize this appropriately.

@scheglov put together a great spreadsheet triaging the test failures and categorizing them and linking to dart-lang bugs. I think this can be closed?


Export Application based hookcontext for autocompletion of services

This helps with autocompleting the application
in your hooks you can do:
(context: HookContext<User>) => {
  context.app.service('..
                       users
                       notifications
                       roles
}

So when you start typing it will give autocomplete based on declarations.ts
Though it would be recommended to add HookContext
In my app i added the HookContext in the import blacklist tslint rule like so:
    "import-blacklist": [
      true,
      { "@feathersjs/feathers": ["HookContext"] }
    ],

So you can only import hookContext of YOUR app and not the default one

Hi,
Using similar rule in eslint - no-restricted-import would be as such
"no-restricted-imports": [
            "error",
            {
                "paths": [
                    {
                        "name": "@feathersjs/feathers",
                        "importNames": ["HookContext"],
                        "message": "Please import 'HookContext' from 'src/declaraction.d.ts' instead"
                    }
                ]
            }
        ]

This would cause eslint-error in declaractions.d.ts as well, since this rule is applicable project wide. I have not yet find any way to exclude it in the ruleset using patterns
Hence, you would need to use
// eslint-disable-next-line no-restricted-imports
import { HookContext as FeathersHookContext } from '@feathersjs/feathers';

or
// at the top of the file
/* eslint-disable no-restricted-imports */

to disable the ruleset in declaractions.d.ts
Also, the generator now supports eslint rather than tslint - see https://github.com/feathersjs/generator-feathers/pull/541

I didn't check beforehand, doing so actually has some issue but I'm not quite sure why yet.

Great, thank you!


chatterbox-service engineering

Framework:?
Orm:?
Transport: Rest/Websockets
X:?

Trying to go as light as possible when building the service.
Currently:

Using this for route handling (especially for the query params) https://github.com/gorilla/mux
Using https://github.com/gorilla/websocket for websockets
No ORM (raw sql is the goal)
... will populate more later on and will reflect in the README


Running Oracle XE on Apple M1 not working (ORA-12547: TNS:lost contact)

Hi!
I tried starting Oracle XE on Docker 20.10.10 on an Apple M1 computer.
docker run -p 1521:1521 -e ORACLE_PASSWORD=pwd --platform linux/amd64 gvenzl/oracle-xe

Here is my docker info:
Client:
 Cloud integration: v1.0.20
 Version:           20.10.10
 API version:       1.41
 Go version:        go1.16.9
 Git commit:        b485636
 Built:             Mon Oct 25 07:43:15 2021
 OS/Arch:           darwin/arm64
 Context:           default
 Experimental:      true

Server: Docker Engine - Community
 Engine:
  Version:          20.10.10
  API version:      1.41 (minimum version 1.12)
  Go version:       go1.16.9
  Git commit:       e2f740d
  Built:            Mon Oct 25 07:41:10 2021
  OS/Arch:          linux/arm64
  Experimental:     false
 containerd:
  Version:          1.4.11
  GitCommit:        5b46e404f6b9f661a205e28d59c982d3634148f8
 runc:
  Version:          1.0.2
  GitCommit:        v1.0.2-0-g52b36a2
 docker-init:
  Version:          0.19.0
  GitCommit:        de40ad0

It fails whith the following log:
Listening Endpoints Summary...

  (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))

  (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))

The listener supports no services

The command completed successfully

ERROR:

ORA-12547: TNS:lost contact

SP2-0306: Invalid option.

Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]

where <logon> ::= <username>[/<password>][@<connect_identifier>]

      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]

SP2-0306: Invalid option.

Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}] [edition=value]]

where <logon> ::= <username>[/<password>][@<connect_identifier>]

      <proxy> ::= <proxyuser>[<username>][/<password>][@<connect_identifier>]

SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

Is Oracle XE not yet working on Apple M1?
Thanks!

Hi @XavierLevaux, according to https://github.com/oracle/docker-images/discussions/1951 it is currently not possible to run Oracle Database on ARM chipsets. I have heard that Apple has an x86 emulator that should automatically take care of x86 apps running on M1 but given that I do not have an M1 Mac myself yet, I cannot confirm or deny that.

@gvenzl @XavierLevaux I am also trying to get this running on Apple silicon.  I have specified the --platform linux/amd64 attribute to tell Docker to emulate x86, but I am getting the same error as above.  I'll try to run buildx locally to see if that makes a difference, and I'll report any findings.
Additionally, I'm willing to run any tests or gather additional diagnostics if anyone has ideas on how to make it work.

Same issue on my new M1 machine.
Have been able to find a workaround, @cofin ?

No. I should have come back to post my findings. I tried to build with different versions of XE with no luck. All resulted in the same TNS error.
I may have to resort to a UTM based Linux VM until there is an acceptable alternative.

Thanks a lot for your research on this, @cofin! It is highly appreciated!

There has been some movement over on https://github.com/oracle/docker-images/discussions/1951 in the meantime.
It seems that users are able to spin up Oracle databases by using a Docker Desktop alternative called colima.
Unfortunately, I still don't have an M1 Mac so I cannot verify myself but if anybody would be able to verify the approach reported over there, I would be deeply grateful.
The solution seems to be:
brew install colima
brew install docker
colima start --memory 4 --arch x86_64
docker run ...

The above-mentioned solution is working perfectly 👍

Awesome, thanks so much for confirming, @salah3x!

I can confirm it also works running on UTM and lima

Great, thanks a lot, @tomdevroomen!
I would like to add some generic info about how to run these images on Mac M1 into the ReadMe.
But given that I am not running on an M1 myself, I'm not entirely sure what method would be the most acceptable to M1 users.
I assume removing Docker Desktop and installing colima means that all images running on that Mac M1 will have to be x86_64 images? Would that cause any unwanted side effects, other than not wanting to run an x86_64 image when an arm64 is available?

I've got lima running besides docker desktop.
Via docker context you're able to choose to run docker commands through lima.
I'm using your image within a testcontainers setup, but all those workarounds aren't compatible with testcontainers
Steps to setup with UTM, but compared to (co)lima it is more work and in my experience also slower.
apple-silicon-database-installation.md
I have to reproduce to see what my installation step were with lima.

@tomdevroomen

but all those workarounds aren't compatible with testcontainers

I was able to make it work w/ testcontainers, the idea is to make sure /var/run/docker.sock is accessible.
It's symlinked to ~/.colima/default/docker.sock when starting colima, but double-check it anyway (I had to loosen up the permissions on the file to make it work).
Running colima status should print the original path of the docker socket, u can also use that to customize testcontainers' host detection.

@tomdevroomen

but all those workarounds aren't compatible with testcontainers

I was able to make it work w/ testcontainers, the idea is to make sure /var/run/docker.sock is accessible. It's symlinked to ~/.colima/default/docker.sock when starting colima, but double-check it anyway (I had to loosen up the permissions on the file to make it work). Running colima status should print the original path of the docker socket, u can also use that to customize testcontainers' host detection.

I've tried the testcontainers host detection before, but I wasn't able to make it work. It was overwritten every time with the defaults when starting testcontainers.
I'll give the symlink a try.

@salah3x I've change the host detection for testcontainers, and it is picking up the colima docker.sock.
But it's unable to connect to the Ruyk container
08:13:33.943 [main] INFO  org.testcontainers.dockerclient.DockerClientProviderStrategy - Found Docker environment with Environment variables, system properties and defaults. Resolved dockerHost=unix:///Users/user/.colima/default/docker.sock
08:13:33.944 [main] INFO  org.testcontainers.DockerClientFactory - Docker host IP address is localhost
08:13:34.277 [main] INFO  org.testcontainers.DockerClientFactory - Connected to docker:
  Server Version: 20.10.11
  API Version: 1.41
  Operating System: Alpine Linux v3.14
  Total Memory: 3938 MB
08:13:34.378 [main] INFO  org.testcontainers.utility.RegistryAuthLocator - Credential helper/store (docker-credential-desktop) does not have credentials for index.docker.io
08:13:37.693 [testcontainers-ryuk] WARN  org.testcontainers.utility.RyukResourceReaper - Can not connect to Ryuk at localhost:49154

How we you able to resolve this?

Hey all, I've been chatting with my friends at Testcontainers (wink, wink @kiview and @eddumelendez) and they have had other users bring up the question of colima, see here.
It appears, that with the following config, Testcontainers works just fine with colima:
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export DOCKER_HOST="unix://${HOME}/.colima/docker.sock"

Hey all, I've been chatting with my friends at Testcontainers (wink, wink @kiview and @eddumelendez) and they have had other users bring up the question of colima, see here.
It appears, that with the following config, Testcontainers works just fine with colima:
export TESTCONTAINERS_DOCKER_SOCKET_OVERRIDE=/var/run/docker.sock
export DOCKER_HOST="unix://${HOME}/.colima/docker.sock"

I can confirm this is working 🥳 🥳 🥳

Great, glad to hear that! :)

I've written 2 blogpost to summarise it all:
https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/
https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/
In both blogs I referred to your work @gvenzl

That's amazing, thanks so much for doing that, @tomdevroomen!
I have added the instructions into the ReadMe as well, hopefully this will help all other Apple M chip users to run these images!

I've written 2 blogpost to summarise it all:
https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/ https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/
In both blogs I referred to your work @gvenzl

Hi have you had any perf issue? I've tried same setup but takes really long for my app to connect to oracle container once it is up and running. Used to take 20 sec, now more like 2 mins.

I've written 2 blogpost to summarise it all:
https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/ https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/
In both blogs I referred to your work @gvenzl

@tomdevroomen Hi have you had any perf issue? I've tried same setup but takes really long for my app to connect to oracle container once it is up and running. Used to take 20 sec, now more like 2 mins.

Yes, there's a performance penaulty, as with colima virtualisation is used, so instructions need to be translated.
But I take that for granted, as I have no other option.

Worked with here as well, but its really slow.

Hi
It works fine, thanks! but after that all other docker images (here: redis, rabbit) were unusable and i had to create them as new ones and they are visible under 'docker ps' command but not in Docker desktop app. App is empty. Correct?

The Docker Desktop GUI is in no way connected to Colima. The Docker CLI working with Colima probably works through the Docker context.

I've written 2 blogpost to summarise it all:
https://blog.jdriven.com/2022/07/running-oracle-xe-on-apple-silicon/ https://blog.jdriven.com/2022/07/running-oracle-xe-with-testcontainers-on-apple-silicon/
In both blogs I referred to your work @gvenzl

Hi @tomdevroomen. I followed the steps in your first blog post, but I am still running into issues and I don't know what I'm missing. Would appreciate a second pair of eyes for this.
Here is my docker-compose YAML file:
version: '3.1'

services:
    oracle:
        container_name: oracleDB
        image: gvenzl/oracle-xe:18
        platform: linux/amd64
        ports:
            - "1521:1521"
        environment:
            ORACLE_PASSWORD: "StrongPassword"

And this is the log:

CONTAINER: starting up...
CONTAINER: first database startup, initializing...
CONTAINER: uncompressing database data files, please wait...
CONTAINER: done uncompressing database data files, duration: 14 seconds.
CONTAINER: starting up Oracle Database...
LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 08-AUG-2023 10:06:26
Copyright (c) 1991, 2018, Oracle.  All rights reserved.
Starting /opt/oracle/product/18c/dbhomeXE/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                08-AUG-2023 10:06:26
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
The listener supports no services
The command completed successfully
ERROR:
ORA-12547: TNS:lost contact
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}]
where  ::= [/][@<connect_identifier>]
 ::= [][/][@<connect_identifier>]
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}]
where  ::= [/][@<connect_identifier>]
 ::= [][/][@<connect_identifier>]
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus
CONTAINER: starting up...
CONTAINER: database already initialized.
CONTAINER: starting up Oracle Database...
LSNRCTL for Linux: Version <IP_ADDRESS>.0 - Production on 08-AUG-2023 10:07:20
Copyright (c) 1991, 2018, Oracle.  All rights reserved.
Starting /opt/oracle/product/18c/dbhomeXE/bin/tnslsnr: please wait...
TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
System parameter file is /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Log messages written to /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
Listening on: (DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
Connecting to (DESCRIPTION=(ADDRESS=(PROTOCOL=IPC)(KEY=EXTPROC_FOR_XE)))
STATUS of the LISTENER
Alias                     LISTENER
Version                   TNSLSNR for Linux: Version <IP_ADDRESS>.0 - Production
Start Date                08-AUG-2023 10:07:22
Uptime                    0 days 0 hr. 0 min. 0 sec
Trace Level               off
Security                  ON: Local OS Authentication
SNMP                      OFF
Default Service           XE
Listener Parameter File   /opt/oracle/product/18c/dbhomeXE/network/admin/listener.ora
Listener Log File         /opt/oracle/diag/tnslsnr/17fe1d08dc70/listener/alert/log.xml
Listening Endpoints Summary...
(DESCRIPTION=(ADDRESS=(PROTOCOL=ipc)(KEY=EXTPROC_FOR_XE)))
(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<IP_ADDRESS>)(PORT=1521)))
The listener supports no services
The command completed successfully
ERROR:
ORA-12547: TNS:lost contact
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}]
where  ::= [/][@<connect_identifier>]
 ::= [][/][@<connect_identifier>]
SP2-0306: Invalid option.
Usage: CONN[ECT] [{logon|/|proxy} [AS {SYSDBA|SYSOPER|SYSASM|SYSBACKUP|SYSDG|SYSKM|SYSRAC}]
where  ::= [/][@<connect_identifier>]
 ::= [][/][@<connect_identifier>]
SP2-0157: unable to CONNECT to ORACLE after 3 attempts, exiting SQL*Plus

@joc-a Looks like you're still trying to run de oracle image with a default docker env.
ERROR: ORA-12547: TNS:lost contact is the exact message I got when running it on a default docker env.

You can verify this with docker context list and having the active context pointing to the colima docker endpoint like this (the one with the * is the currently active one):
docker context list
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                                            KUBERNETES ENDPOINT   ORCHESTRATOR
colima              moby                colima                                    unix:///Users/user/.colima/default/docker.sock
default *           moby                Current DOCKER_HOST based configuration   unix:///Users/user/.colima/docker.sock

output of env | grep DOCKER_HOST should be
> env | grep DOCKER_HOST
DOCKER_HOST=unix:///Users/user/.colima/docker.sock

if this all doesn't point to colima, set the DOCKER_HOST, which is only active for the current shell where you're working in.

@joc-a Looks like you're still trying to run de oracle image with a default docker env.
ERROR: ORA-12547: TNS:lost contact is the exact message I got when running it on a default docker env.  You can verify this with docker context list and having the active context pointing to the colima docker endpoint like this (the one with the * is the currently active one):
docker context list
NAME                TYPE                DESCRIPTION                               DOCKER ENDPOINT                                            KUBERNETES ENDPOINT   ORCHESTRATOR
colima              moby                colima                                    unix:///Users/user/.colima/default/docker.sock
default *           moby                Current DOCKER_HOST based configuration   unix:///Users/user/.colima/docker.sock

output of env | grep DOCKER_HOST should be
> env | grep DOCKER_HOST
DOCKER_HOST=unix:///Users/user/.colima/docker.sock

if this all doesn't point to colima, set the DOCKER_HOST, which is only active for the current shell where you're working in.

@tomdevroomen I set up everything exactly as explained in your reply, but I'm still getting ORA-12547: TNS:lost contact.

Based on this new image: https://github.com/oracle/docker-images/discussions/1951#discussioncomment-6939131
Is there a chance we would get it ?


Add a Translation Tool (all language) ✨

I want to add a Translation Tool(all language) properly.
PA please assign me this task.

@khurshed07

@kvcops

This feature is already present ...

This feature is already present ...

@kvcops Where?, I didn't see

This feature is already present ...

@kvcops Where?, I didn't see

Please open these pages (chef ,story ,health ) so that you can understand


Adding Azure CosmosDB Mongo vCore as a datastore.

Pull Request (PR) Checklist
If you'd like to contribute, please follow the checklist below when submitting a PR. This will help us review and merge your changes faster! Thank you for contributing!

Type of PR: [Feature]

Short Description: I have added Azure CosmosDB MongoDB vCore as a data store. MongoDB vCore now supports vector search on embeddings, and it could be used to seamlessly integrate your AI-based applications with your data stored in the Azure CosmosDB. More details about Mongo vCore can be found here: https://learn.microsoft.com/en-us/azure/cosmos-db/mongodb/vcore/vector-search.

Issue(s) Linked: https://github.com/openai/chatgpt-retrieval-plugin/issues/380

Branch: Ensure that you have created a new branch for the changes, and it is based on the latest version of the main branch.

Code Changes: Make sure the code changes are minimal, focused, and relevant to the issue or feature being addressed.

Commit Messages: Write clear and concise commit messages that explain the purpose of each commit.

Tests: Include unit tests and/or integration tests for any new code or changes to existing code. Make sure all tests pass before submitting the PR.

Documentation: Update relevant documentation (e.g., README, inline comments, or external documentation) to reflect any changes made.

Review Requested: Request a review from at least one other contributor or maintainer of the repository.

Video Submission (For Complex/Large PRs): If your PR introduces significant changes, complexities, or a large number of lines of code, submit a brief video walkthrough along with the PR. The video should explain the purpose of the changes, the logic behind them, and how they address the issue or add the proposed feature. This will help reviewers to better understand your contribution and expedite the review process.

Pull Request Naming Convention
Use the following naming convention for your PR branches:
<type>/<short-description>-<issue-number>

<type>: The type of PR, such as bugfix, feature, enhancement, refactor, or docs. Multiple types are ok and should appear as ,
<short-description>: A brief description of the changes made, using hyphens to separate words.
<issue-number>: The issue number associated with the changes made (if applicable).

Example:
feature/advanced-chunking-strategy-123

Hey, @isafulf, @peterjdolan can you please review this PR?

I think you may have pinged the wrong Peter? I don't have any experience or expertise relevant to this change.

@pablocastro can you please review this PR?

@pablocastro can you please review this PR?

Let me find someone in the CosmosDB team to review.

@pablocastro can you please approve the PR as well now? Kevin doesn't have write access and one reviewer with write access is needed.

@isafulf can you please help approve @aayush3011 's PR given the above?

@pablocastro can you please approve the PR as well now? Kevin doesn't have write access and one reviewer with write access is needed.

I don't have commit access in this repo. Now that the PR is reviewed/approved, Isa or someone else in the OpenAI team will need to approve/merge.

Friendly ping @isafulf, @csvoss, or @luquitared if you can help approve/merge or help us find the right folks. Thanks.


BAU: Cookie mismatch is a bad request

Discussion in code quality meeting came to consensus that this is a client error so should have a 400 series http response.
Solo: @lloydnye

@SrinivasMurty Stopping the cookie mismatch from showing up as a 500.

:ok


Implement an optional parameter to do not block gestures after calling addWidgetsOverlay method

My request is to implement for example a bool value as parameter to block or don't block gestures in game when calling addWidgetsOverlay, this could make very easier to add simple buttons to the screen without need to add a new Component just to add a simple button to the screen for example.
addWidgetsOverlay("Pause Button, PauseButtonWidget(), blockGestures: false");

I am not sure I understand the need of this. The method is meant to add an overlay on your game, so it will sure block the gestures. I don't even think this is something possible to do.
Also, the widget is supposed to block only the space it occupy.

I'll try to explain the issue more detailed.
My game uses PanDetector to drag the player through the screen,
class MyGame extends BaseGame with HasWidgetsOverlay, PanDetector {

        @override
  void onPanUpdate(DragUpdateDetails details) {

    // move the player
   player.move(details.delta.dx, details.delta.dy);

    super.onPanUpdate(details);
  }

}

I need to add a pause button in game on the top-right of the screen, to the user pauses the game when he needs.

I realized that was two ways to do it:
First (the easier, faster): Add a widget overlay, the implementation will be easier since we can create a custom widget and just add it and handle the onTap to pause the game, plus I use Icons.pause from flutter, making even more easy, no need to import images to pubspec and to the project etc..
import 'package:flutter/material.dart';

class PauseButton extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Align(
      alignment: Alignment.topRight,
      child: Container(
        width: 50,
        height: 50,
        child: Material(
          color: Colors.blue,
          child: IconButton(
            icon: Icon(Icons.pause),
            onPressed: (){},
          ),
        ),
      ),
    );
  }
}

MyGame(){

addWidgetOverlay("Pause Button", PauseButton());

}

But even if I use Align or Positioned, calling addWidgetsOverlay it's blocking the gestures, even if my Container has it's own size and is not getting all the screen, it's 50 on the height and on the width.
Second:
I created a Pause Button Component, more code to do something that could be done with less code wih Widgets.
class PauseComponent extends PositionComponent with Tapable{

  Rect rect;
  Sprite spritePause = Sprite("pause_button.png"); // Had to import external image

  PauseComponent(){

    rect = Rect.fromLTWH(
        Get.find<Config>().screenSize.width * 0.92,
        Get.find<Config>().screenSize.height * 0.04,
        Get.find<Config>().screenSize.width * 0.05,
        Get.find<Config>().screenSize.height * 0.10);

  }

  @override
  void render(Canvas c) {

    spritePause.renderRect(c, rect);

  }

  @override
  void onTapDown(TapDownDetails details) {

  // This doesn't work, it seems PanDetector is overriding all screen, preventing Tapable to work.

    super.onTapDown(details);
  }
}

// This doesn't work, it seems PanDetector is overriding all screen, preventing Tapable to work.

It seems you are not using the HasTapableComponents on you game class.
Please check the docs: https://flame-engine.org/docs/input.md#tapable-components

// This doesn't work, it seems PanDetector is overriding all screen, preventing Tapable to work.

It seems you are not using the HasTapableComponents on you game class.
Please check the docs: https://flame-engine.org/docs/input.md#tapable-components

I just forgot to add here, because I wrote the code from scratch, didn't copy from the project, added now.

I am not sure what really solved the problem, but I solved removing the Container from the Pause Button widget.
import 'package:flutter/material.dart';

class PauseButton extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Align(
      alignment: Alignment.topRight,
      child: Material(
        color: Colors.blue,
        child: IconButton(
          icon: Icon(Icons.pause),
          onPressed: (){
            print("TOUCH!");
          },
        ),
      ),
    );
  }
}

And removing HasTapableComponents mixin (not sure if it was conflicting with anything), now it's working.
class MyGame extends BaseGame with HasWidgetsOverlay, PanDetector {

}


Not working

Can somebody please tell me where am I going wrong?
pip install rockstar
then I made the script mentioned in the README
and on runnning that script with python3 it says:
ImportError: No module named rockstar

probably something to do with $PATH


[libusb] update to 1.0.26

Fix #24329
Update libusb to the latest version 1.0.26
Note: no feature need to test

Thanks for the update!


Make stdout from non-script steps available as an output

Summary
There have been a couple requests for making stdout available as an output for non-script steps.
Wrapping the container to pipe stdout to a file or refactoring to use a script step both feel hacky.
Motivation
When I don't have control of or don't want to modify an image to access stdout as an output.
The hacks/workarounds are simple enough. But adding this feature would reduce some (apparently common) onboarding friction, since people seem to expect stdout to be available on outputs.result.
Proposal
I think outputs.result should contain the stdout.

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

How do we deal with large amounts of output?

@simster7 to close if done

Closed by https://github.com/argoproj/argo/pull/2584


scripts: twisterlib: Enable multiple simulator support in twister

This change introduces the ability in twister to select which
emulation/simulation tool to use on the command line.
If none is specified, it will select the first in the list.
Signed-off-by: Wilfried Chauveau<EMAIL_ADDRESS>

I don't understand why the blackbox tests are failing. Those related to fvp_baser_aemv8r will be addressed shortly.

I don't understand why the blackbox tests are failing.

https://github.com/zephyrproject-rtos/zephyr/actions/runs/11575495586/job/32222231297?pr=79174#step:9:24
scripts/tests/twister_blackbox/test_addon.py .F.FFF.......F

It seems because of changes in this PR, for example
pytest -vv $ZEPHYR_BASE/scripts/tests/twister_blackbox/test_addon.py -k test_enable_ubsan
this test expects to fail at runtime because of ubsan check, but for this PR it now pass as build only on native_sim
on main (c22233a1afcb97) fail as expected
ERROR   - native_sim/native         scripts/tests/twister_blackbox/test_data/tests/san/ubsan/san.ubsan  FAILED : Failed
INFO    - /tmp/pytest-of-rootroot/pytest-877/test_enable_ubsan_ubsan_0/blackbox-out-container/blackbox-out/native_sim_native/scripts/tests/twister_blackbox/test_data/tests/san/ubsan/san.ubsan/handler.log
ERROR   - *** Booting Zephyr OS build v4.0.0-rc1-45-gc22233a1afcb ***
Running TESTSUITE a1_1_tests
===================================================================
START - test_assert
/home/rootroot/zephyrproject/zephyr/scripts/tests/twister_blackbox/test_data/tests/san/ubsan/src/main.c:25:4: runtime error: signed integer overflow:<PHONE_NUMBER> + 256 cannot be represented in type 'int'

INFO     twister:runner.py:1433 1 test scenarios (1 test instances) selected, 0 configurations skipped (0 by static filter, 0 at runtime).
INFO     twister:reports.py:586 0 of 1 test configurations passed (0.00%), 0 built (not run), 1 failed, 0 errored, 0 skipped with 0 warnings in 11.70 seconds
INFO     twister:reports.py:609 In total 1 test cases were executed, 0 skipped on 1 out of total 860 platforms (0.12%)
INFO     twister:reports.py:618 1 test configurations executed on platforms, 0 test configurations were only built.

vs. for this PR - the black_box test passed as build only has no ubsan errror
INFO     twister:runner.py:1433 1 test scenarios (1 test instances) selected, 0 configurations skipped (0 by static filter, 0 at runtime).
INFO     twister:reports.py:586 0 of 1 test configurations passed (0.00%), 1 built (not run), 0 failed, 0 errored, 0 skipped with 0 warnings in 12.76 seconds
INFO     twister:reports.py:609 In total 0 test cases were executed, 0 skipped on 1 out of total 860 platforms (0.12%)
INFO     twister:reports.py:618 0 test configurations executed on platforms, 1 test configurations were only built.

I have set the milestone for this PR to be 4.1 as we are only accepting bug fixes and documentation updates for for 4.0

@ithinuel  please rebase

@golowanow  @hakehuang @PerMac @LukaszMrugala  please review


[WIP] (#1736) ability to force re-render a story

Issue: #1736
What I did
added forceReRender to the exports in '@storybook/react'
How to test
Storyshots
Does this need a new example in the kitchen sink apps?
Yes
Does this need an update to the documentation?
Yes
Acceptance criteria:
Platforms

[x] React
[ ] React Native
[x] Angular
[x] Vue

Functionality

[x] Ability to re-render from in stories
[ ] Ability to re-render from addons via channel

Misc

[x] Kitchen sink example (cra)
[x] Screenshots

Sceenshot

Future possibility
Standard event that can be emitted to force a reload

Think we should port this over for vue and angular as well if this was to be added as a feature.

@danielduan  Will do. I'll port it to Vue and Angular when I get a chance, then I'll update the docs for all of the,

@dangreenisrael I am making some of these changes on another branch (because I need the lifecycle to work properly) so LMK if it makes sense to port them across here.

PS as an aside -- is it expected that all new functionality needs to be implemented in all 3 (should it be 4, what about RN?) view layers to be shipped? For instance, I personally wouldn't have much idea how to (at least idiomatically) implement this in Vue and Angular. It seems like quite a barrier (maybe that's a good thing).

@tmeasday I'm planning to do a deep dive into force re-render over the winter holidays (probably December 27,28,29. Do you think your PR will be merged by then.

@tmeasday @ndelangen Do you guys want to set up a time to chat about force re-render so we can all get on the same page

@dangreenisrael - https://github.com/storybooks/storybook/pull/2503
I'm pretty convinced we should merge the above. However, I think it shouldn't be too hard to amend the above to consider a renderKey or something from the redux store.

@tmeasday, I'll rebase off 3.3/your branch before getting back to work on this

Please check if this still works after @tmeasday's change..

Changes look good to me.

Merging as @tmeasday's requested changes were made

Thank you guys for the great work. As far as I can see this has been merged in and master.  I'm using version 3.3.12 but cannot run the example code.
@dangreenisrael: Sadly when using the example code I run into the following error
When I call forceReRender I get the following error:
    at increment (0.345baf011dfa0388ca2e.hot-update.js:70)
    at HTMLUnknownElement.callCallback (preview.bundle.js:30287)
    at Object.invokeGuardedCallbackDev (preview.bundle.js:30326)
    at Object.invokeGuardedCallback (preview.bundle.js:30183)
    at Object.invokeGuardedCallbackAndCatchFirstError (preview.bundle.js:30197)
    at executeDispatch (preview.bundle.js:30581)
    at executeDispatchesInOrder (preview.bundle.js:30603)
    at executeDispatchesAndRelease (preview.bundle.js:30701)
    at executeDispatchesAndReleaseTopLevel (preview.bundle.js:30712)
    at Array.forEach (<anonymous>)

It is thrown two times: 0.345baf011dfa0388ca2e.hot-update.js:70 & @ preview.bundle.js:30355.
When I look into the cra-kitchensink folder I don't see anything special in the setup which differs from mine. Is there still a change this is related to setup? For example that I'm using different loaders? (TS, SCSS)
Thanks in advance!

@stefanKuijers could you open up an issue for this? Also, can you reproduce this issue in a public repo?

Thanks for the reply guys. I saw a few times in the branch names a 3.3 which is why I thought it was still part of 3.3.
Thanks for the great work! I will wait until 3.4.0. I see on the side now that this is assigned to the 3.4 milestone.