ARROW-8817

Hi guys,
Im trying to use this lib but i'm getting the following error:
not implemented: See ARROW-8817.
From what i've seen it has something to do with union types (Option). What can be done in this cases?
For reference, the struct that i'm trying to serialize is the following (most of the fields are simple enums, except for Date which is a wrapper arrround chrono, with a properer de/serializer):
#[derive(Debug, Serialize, Deserialize, Clone)]
pub struct LoanDepoOutput {
    pub mis_id: String,
    pub reference_date: Date,
    pub loandepo_configuration_id: usize,
    pub notional: f64,
    pub issue_date: Option<Date>,
    pub start_date: Date,
    pub end_date: Date,
    pub credit_status: String,
    pub structure: Structure,
    pub side: Side,
    pub account_type: AccountType,
    pub segment: String,
    pub area: String,
    pub product_family: ProductFamily,
    pub payment_frequency: Frequency,

    pub first_ftp_rate: f64,
    pub first_client_rate: f64,
    pub second_ftp_rate: Option<f64>,
    pub second_client_rate: Option<f64>,

    // pre-calculated fields
    pub notional_local_ccy: Option<f64>,
    pub outstanding: Option<f64>,
    pub outstanding_local_ccy: Option<f64>,
    pub avg_outstanding: Option<f64>,
    pub avg_outstanding_local_ccy: Option<f64>,
    pub avg_readjustment: Option<f64>,
    pub avg_interest: Option<f64>,
    pub avg_interest_local_ccy: Option<f64>,
    pub ftp_interest: Option<f64>,
    pub ftp_interest_local_ccy: Option<f64>,
    pub earned_interest: Option<f64>,
    pub earned_interest_local_ccy: Option<f64>,
    pub margin: Option<f64>,
    pub margin_local_ccy: Option<f64>,

    pub rate_type: RateType,
    pub first_rate_frequency: Frequency,
    pub first_rate_day_counter: DayCounter,
    pub first_rate_compounding: Compounding,

    pub months_to_first_coupon: Option<i16>,
    pub second_rate_frequency: Option<Frequency>,
    pub second_rate_day_counter: Option<DayCounter>,
    pub second_rate_compounding: Option<Compounding>,

    pub currency: Currency,
    pub discount_curve_id: usize,
    pub forecast_curve_id: Option<usize>,

    pub cashflows: String,
    pub evaluation_mode: Option<EvaluationMode>,
    pub rate_change_date: Option<Date>,
    pub cashflows_source: String,
}

Regards,

Thanks for the anwser @chmp. Most of the enums contain only keys but some have values:
/// # EvaluationMode
/// Contains the information on how the evaluation should be executed.
#[derive(Debug, Serialize, Deserialize, Clone, Copy)]
pub enum EvaluationMode {
    FTPRate,
    ClientRate,
}

/// # Frequency
/// Enum representing a financial frequency.
#[derive(Serialize, Deserialize, Debug, PartialEq, Eq, Clone, Copy, PartialOrd, Ord, Hash)]
pub enum Frequency {
    NoFrequency = -1,
    Once = 0,
    Annual = 1,
    Semiannual = 2,
    EveryFourthMonth = 3,
    Quarterly = 4,
    Bimonthly = 6,
    Monthly = 12,
    EveryFourthWeek = 13,
    Biweekly = 26,
    Weekly = 52,
    Daily = 365,
    OtherFrequency = 999,
}

Both enums should encode into arrays without data, e.g., into Union arrays with each child array having NULL type. Most likely this is not the encoding that you would like to have. We discussed a related feature in #44. My guess would be that having the enum value encoded as a dictionary would be preferable.
E.g., currently the values [EvaluationMode::FTPRate, EvaluationMode::ClientRate, EvaluationMode::FTPRate] is represented as these arrays:

type: [0, 1, 0]`
offsets: [0, 0, 1]
values FTPRate: [null, null]
values ClientRate: [null]

The encoding discussed in #44 would result in the equivalent of

values: `["FTPRate", "ClientRate", "FTPRate"]

So far, I did not start working on #44, though. If this would be relevant to you as well, I could prioritize this issue.

Started work in #185

I implemented the option to serialize enums without data as strings. To use this option, you can either:

set the data type of the relevant fields to a string
trace the fields (from_samples, from_fields) with enums_without_data_as_strings(true)

Example:
#[derive(Serialize, Deserialize)]
enum U {
    A,
    B,
    C,
}

let items = [Item(U::A), Item(U::B), Item(U::C), Item(U::A)];

let tracing_options = TracingOptions::default().enums_without_data_as_strings(true);
let fields = Vec::<FieldRef>::from_type::<Item<U>>(tracing_options)?;
let batch = serde_arrow::to_record_batch(&fields, &items)?;

Would this work for you?

Merged #185


The API usage page in the documentation should point to the Redoc page

As I first time user, I was unaware of the existence of the Redoc page https://www.opencost.io/api, as it is not linked in the documentation "API usage" page (https://www.opencost.io/docs/api). There's should be a link.

I've been meaning to reorganize our docs, I'll add this to my backlog.


Close drawer after selecting Search People.

Fixes: Drawer left open after narrowing to new private chat from user screen.

Thanks.


Add pb_encode_varint32 and pb_encode_svarint32

Improves performance significantly for 32 bit microcontrollers. I only exposed it as a public API so users can optionally choose whether to use it (since it will slightly increase the binary size).
Below are the profiling results for an ARM CM4F using GCC with -O3.
 I'm a bit busy currently, but I'll try to take a closer look soon-ish

This is now merged in dev_0.4
I made the change of combining the 32-bit encoding into pb_encode_varint() with an if. This way many more encoding functions get the speed benefit, even though they cannot always guarantee that values are less than 32 bit.
However it does incur the penalty of passing a 64-bit number as a parameter to the function. It doesn't seem much of a slowdown in my tests, though.
Does this seem reasonable to you? There is also the option to still have pb_encode_varint32() as a separate function, and just to have pb_encode_varint() call it inside the if.

Closing as done.


ItemNotFoundError

mechanize._form_controls.ItemNotFoundError: name='mini_series' label=None id=None
???????????someone helps me

Which File Are you talking About?


chore(deps): update renovate/renovate docker tag to v37.89.5

This PR contains the following updates:

Package
Update
Change

renovate/renovate (source)
minor
37.81.4 -> 37.89.5

Release Notes

renovatebot/renovate (renovate/renovate)
v37.89.5
Compare Source
Bug Fixes

git: set --recurse-submodules flag for checkout (#26163) (74014fd)

Documentation

update references to renovate/renovate to v37.89.4 (#26198) (2836301)

v37.89.4
Compare Source
Miscellaneous Chores

deps: update github/codeql-action action to v2.22.9 (#26189) (7d69fa9)

Build System

deps: update dependency @cdktf/hcl2json to v0.19.2 (#26191) (160a045)

v37.89.3
Compare Source
Bug Fixes

presets: rename logging-log4j2 to log4j2 (#26188) (1b9eb8a)

Documentation

datasource/docker: add RENOVATE_X_DOCKER_HUB_TAGS (#26185) (6400145)

Miscellaneous Chores

deps: update dependency @swc/core to v1.3.100 (#26183) (60d9a5f)
deps: update dependency typescript to v5.3.3 (#26174) (27ad595)

v37.89.2
Compare Source
Build System

deps: update dependency google-auth-library to v9.4.1 (#26178) (8415feb)

v37.89.0
Compare Source
Features

presets: add jna & log4j2 (#26172) (f8db9ba)

v37.88.2
Compare Source
Bug Fixes

deps: update ghcr.io/containerbase/sidecar docker tag to v9.30.0 (#26170) (1c82346)

Documentation

about us: bump outside contributor number (#26162) (f4d785c)

Miscellaneous Chores

deps: update ghcr.io/containerbase/devcontainer docker tag to v9.30.0 (#26169) (30784e9)

v37.88.1
Compare Source
Bug Fixes

git): Revert "fix(git: set submodule.recurse=true" (#26157) (ac151d6)

Documentation

self-hosting examples: add codeblock titles (#26160) (40a8350)

v37.87.2
Compare Source
Build System

deps: update dependency @breejs/later to v4.2.0 (#26147) (b88fc27)

v37.87.0
Compare Source
Features

tekton: support pipelinesascode annotation (#26033) (8c17027)

Bug Fixes

datasource/custom: fix local registry path (#26142) (540ad4f)

v37.83.5
Compare Source
Bug Fixes

gitea: check for disabled issues (#26134) (a2672ef)

Continuous Integration

install with frozen (#26135) (283fbeb)

v37.83.4
Compare Source
Bug Fixes

helmfile: make resolving deps in multi-doc files more stable (#26078) (4c4bd3a)
mark npm package as commonjs (#26131) (4eecc00)

v37.83.3
Compare Source
Build System

deps: update dependency @renovatebot/osv-offline to v1.3.10 (#26122) (d7ea36e)
deps: update dependency fs-extra to v11.2.0 (#26123) (c426975)

v37.83.2
Compare Source
Miscellaneous Chores

deps: update dependency nock to v13.4.0 (#26121) (3333455)
deps: update linters (#26118) (62f1477)

Build System

deps: update dependency cacache to v18.0.1 (#26120) (0b9f98c)

v37.83.0
Compare Source
Features

replacements: add the rename of read-pkg-up to read-package-up (#26101) (ba3bd01)

Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.

[ ] If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

:tada: This PR is included in version 5.3.3 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Don't use namespace packages

Namespace packages have poor tooling support. We are stuck using old pkgutil-style namespace packages because Maturin doesn't and won't support the new native namespace packages (PyO3/maturin#811). Meanwhile, mypy supports only native namespace packages and not pkgutil-style ones (python/mypy#9393).
I think we should use pyqir_generator, pyqir_parser, pyqir_evaluator instead of pyqir.generator, pyqir.parser, pyqir.evaluator. It's simpler and just works in more scenarios.

One idea to avoid a breaking change is to create the pyqir module once in the metawheel, and from there re-export pyqir_parser as parser, pyqir_generator as generator, pyqir_evaluator as evaluator. This works like a backwards compatibility shim.
However, that only works if you have the metawheel installed, which depends on all three pyqir components. If you only want to depend on one or two of them, you wouldn't have access to the backwards compatibility shim. We could define a separate wheel that provides the pyqir module without depending on anything, and conditionally tries to import and re-export each component, ignoring missing ones.
Both of these ideas have flaws and probably aren't worth the trouble, since the breaking change itself is pretty simple to adapt to...


Adding .gitignore and deleting .DS_Store

Just minor adjustments

hey @l1x thanks for that ;-)
Could you do me a favour and update this PR with other OSes too (Windows, Linux)?
I usually generate from here: gitignore.io

Hi @heitorlessa,
Which language from gitignore would you like to see in the pull request?
Would this work? https://www.gitignore.io/api/python


New travis configuration

Since every new travis configuration requires several commits I create a new PR with all changes.
I couldn't run your solution for env in https://github.com/felipeacsi/python-acoustics/commit/9fee4229a9ea1da9c7496e70cd3cfbf522580651. Maybe I forgot something, I don't know.
The new configuration has 4 jobs for numpy 1.9.1 and 1.8.2, scipy 0.14 and pandas.

Thank you. One comment, try not explicitly mark the minor (bugfix) versions, like 1.91. Instead, use 1.9. Conda will automatically use the latest version in the 1.9 series then.


Typescript

I have converted the project to typescript. Adding typescript people to take a look. Also, I haven't chatted at all with the team on this (kinda just did this on my own) so I'd like to have a discussion on whether this is a optimal solution to adding typescript support to pwa-helpers.
Reviewers added: TS nerds and project owners
I tried to follow best-practices on redux using this guide: https://github.com/piotrwitek/react-redux-typescript-guide
but I'm still not sure if I have missed some concept here or there.

I haven't chatted at all with the Kamino team on this

Seems like a critical thing to get agreement on. As much of a TypeScript fan as I am, all the maintainers should be fully on board before switching.

I agree, it was kinda an exercise for myself to 1. understand Redux and 2. learn how TS interacts with it. I'm totally okay with rejecting this PR since it complicates the demo quite a bit, but we can also just take the outputted .d.ts files and add those to the project

If you want to have some user voice on this... It would be great :) But if you decide to keep it plane js, we can always publish @types/pwa-helpers, so it's not a must-have :)

Well, we now have correct types that can be used!

Hiiiiii ok so we did some offline chatting about this and it goes like this:

we like types! we support adding types!
at the moment this PR has no dependencies and no tool requirements, which makes it really nice and easy to use eeeeeeverywhere. We'd like to keep this as a feature
as a result, we'd like to keep the source in js (so we would also not have to deal with building and praying the types away in the build-published-to-npm version
based on this discussion (i know nothing about TS tools), i understand we have 2 options: publish the .ts typings file to this repo, or publishing them to @types.

We talked offline and your preference between these two seems to be for @types, so uhhh let's do that?

There is one difference: if we have codebase in TypeScript, our types are always up to date and we have (at least people who like TypeScript) better development experience.
We can add a prepublish hook to build it and we can easily get rid of the source if we put it into one directory (e.g. src) and add files to the package.json.
To be super safe, we can also add a precommit hook so no one commits stuff which is not compiling or does not pass tslint.
TypeScript is not only about consumers of this package, but also about people developing it.
I consider @types as the last resort.
@notwaldorf would you guys be more willing to merge this if I would improve this PR by adding a godlike config and a readme for people less experienced with TypeScript?

@merlinnot this is the option 2 i listed, right? ("publish the .ts files to this repo). I asked the local TS experts, @e111077 and @rictic and they both suggested @types, so i defer to their decision.
I don't understand from your comment what "godlike config means", and whether this still means changing the source to TS -- this is something we are not planning on doing at this time.

If you are not planning to do that, than @types are indeed a better option. I was referring to your last sentence, "preference between these two seems to be for @types".
If we'd have a source in TS, than we wouldn't get out of sync, it happens a lot with @types.
For a config I mean something that is pleasant to work with and does not allow anyone to mess up :)

Going to close this PR since my understanding is that the change isn't needed here (and it's needed in the @types repo instead). Pls reopen if I misunderstood our conclusion!


[fix] Clean malformed titles in movie queue. fix #729

Should clean up any badly formed movie titles that got added to movie queue while imdb parser was broken.

I didn't actually test this against the bad data, if someone wants to confirm it works as expected, I'll merge.

Just tested it and it did the trick and fixed the movie queue. Merging


Docs improvement

Rectify typographical inaccuracies
This PR addresses several typographical errors across various files in the project. The changes improve readability and maintain the professional standard of the documentation and code comments.
Justification
Typographical errors, while minor, can detract from the overall quality of the project. Correcting these errors ensures clarity and professionalism, making the project more accessible and understandable for current and future contributors.

closed typo-squatter


Handling Disabled & Readonly Fields

Currently, if you create a field with {{ form.myfield(readonly=true) }} or {{ form.myfield(disabled=true) }} you still need to do this to prevent the disabled/readonly fields from getting saved:
def edit_team():
    form = TeamForm(request.POST, obj=team)
    del form.myfield
    if request.POST and form.validate():
        form.populate_obj(team)
        return redirect('/teams')
    return render('edit_team.html')

Would it cause any problems if WTForms deleted disabled/readonly fields from the form by default (to improve security)?

This is intentional
Read my post here: http://stackoverflow.com/a/16576294/244393
(also links etc)

I read the SO post and the link about read only fields but I still don't get why this can't be done using a flag on the field. I am looking at the code here: https://github.com/wtforms/wtforms/blob/3d5af963f060add8e42a99bec880321e8d2b41b3/src/wtforms/form.py#L79-L80 and it seems like there should be some way for the field to skip over setting the value on the object (regardless of whatever is received from the browser).

:+1: with @cancan101 comment:
why not adding a:
email = StringField('Email', [validators.required()], readonly=True)

that would make sure email can't be populated when calling populate_obj?


Fix duplicate fields appearing when readonly_fields is set

All pytest tests pass, any feedback let me know, thanks.

Coverage increased (+0.01%) to 96.471% when pulling e9b1311886ba99b9158a8edb5ceb1570f1c3e84e on ciarancourtney:master into 49278b5aa7712b22dc0ce7c37f5e479c37978230 on ctxis:master.

Coverage increased (+0.01%) to 96.471% when pulling e9b1311886ba99b9158a8edb5ceb1570f1c3e84e on ciarancourtney:master into 49278b5aa7712b22dc0ce7c37f5e479c37978230 on ctxis:master.


Only use nuxt-svgo for certain folder

Enabling nuxt-svgo in an existing project breaks all existing images that are included with <img<EMAIL_ADDRESS>This code starts to emit empty <img> tag.
I know I can work around that with <img src="@/assets/logo.svg?url"> but that's not really a good DX. A project may have hundreds of images inserted with different means. A developer wouldn't expect that they have to update a huge amount of codebase just for the sake of adding a couple colorizable icons with nuxt-svgo.
Can we have an option to only enable svgo for a certain folder, such as assets/icons? That would allow to add nuxt-svgo to existing projects without breaking things.

I understand, I agree, I'll look into it soon

Sadly this is a little tricky, since nuxt 3.4.3 broke the module, which at first was appending a query to the import for auto imports
which would simplify doing this fix a lot easier if it didn't
without being able to do that on older versions (like yours which is specifically on 3.4.x), the fix gets tricky for components outside the auto import path
I'd like to know your opinion on this @IlyaSemenov

Sure thing, if the module does depend on newer features, pin it to ^3.5 or ^3.6. My original point was that it shouldn't be pinned to  the latest edge, that's it.

I wasn't talking about #140
anyway, I did add a new option explicitImportsOnly, which will only process imports that explicitly use the query parameters supported by the vite plugin, and are outside the autoImportPath (files inside this path can omit the query)
since this is unstable (I don't know if it will work properly in all environments due to the poor path check), I won't document it on readme
I have laxed the dependencies as well, hopefully it doesn't break, the tests passed
If it did break, will release a fix soon after it, but tests passed, so I don't think there should be any problem

@IlyaSemenov please try the new version and check if all of your issues are actually resolved :)

@jd1378 works good, thanks! The ?url is no more required for the legacy code base.
Question though, I was wondering if <img<EMAIL_ADDRESS>could somehow benefit from nuxt-svgo? With ?url (or with { explicitImportsOnly: true } now) the files are delivered verbatim. Any idea how to process them with svgo?

Oh, I see, this is discussed in #124.

The thing is I could not figure out how to optimize the SVG file, but return a URL of the optimized file
it seems like vite.js does not support such a thing, Or I am not aware of how it's done
if you found out how it's done, please let me know and I'll take a look

actually I think I figured it out
probably transform is what I was looking for

No. I don't think it's possible
tracking what it does:
https://github.com/vitejs/vite/blob/8f109a67bd54b0eb7679fe1fafc56e03a247b768/packages/vite/src/node/plugins/asset.ts#L182
https://github.com/vitejs/vite/blob/8f109a67bd54b0eb7679fe1fafc56e03a247b768/packages/vite/src/node/plugins/asset.ts#L241
I'm afraid vite.js does not provide a way to do this yet.


Package seatd having error in installation.

I was installing the buildtools for hyprland and faced the following issue.
`yay -S gdb ninja gcc cmake meson libxcb xcb-proto xcb-util xcb-util-keysyms libxfixes libx11 libxcomposite xorg-xinput libxrender pixman wayland-protocols cairo pango seatd libxkbcommon xcb-util-wm xorg-xwayland libinput
warning: gdb-12.1-2 is up to date -- reinstalling
warning: ninja-1.11.1-2 is up to date -- reinstalling
warning: gcc-12.2.1-2 is up to date -- reinstalling
warning: cmake-3.25.2-1 is up to date -- reinstalling
warning: meson-1.0.0-2 is up to date -- reinstalling
warning: libxcb-1.15-2 is up to date -- reinstalling
warning: xcb-proto-1.15.2-2 is up to date -- reinstalling
warning: xcb-util-0.4.1-1 is up to date -- reinstalling
warning: xcb-util-keysyms-0.4.1-4 is up to date -- reinstalling
warning: libxfixes-6.0.0-2 is up to date -- reinstalling
warning: libx11-1.8.4-1 is up to date -- reinstalling
warning: libxcomposite-0.4.6-1 is up to date -- reinstalling
warning: xorg-xinput-1.6.3-3 is up to date -- reinstalling
warning: libxrender-0.9.11-1 is up to date -- reinstalling
warning: pixman-0.42.2-1 is up to date -- reinstalling
warning: cairo-1.17.8-2 is up to date -- reinstalling
warning: pango-1:1.50.12-1 is up to date -- reinstalling
warning: libxkbcommon-1.5.0-1 is up to date -- reinstalling
warning: xcb-util-wm-0.4.2-1 is up to date -- reinstalling
warning: xorg-xwayland-22.1.8-1 is up to date -- reinstalling
warning: libinput-1.22.1-1 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...
Packages (23) cairo-1.17.8-2  cmake-3.25.2-1  gcc-12.2.1-2  gdb-12.1-2  libinput-1.22.1-1  libx11-1.8.4-1  libxcb-1.15-2  libxcomposite-0.4.6-1  libxfixes-6.0.0-2  libxkbcommon-1.5.0-1  libxrender-0.9.11-1
meson-1.0.0-2  ninja-1.11.1-2  pango-1:1.50.12-1  pixman-0.42.2-1  seatd-0.7.0-2  wayland-protocols-1.31-1  xcb-proto-1.15.2-2  xcb-util-0.4.1-1  xcb-util-keysyms-0.4.1-4  xcb-util-wm-0.4.2-1
xorg-xinput-1.6.3-3  xorg-xwayland-22.1.8-1
Total Download Size:     0.04 MiB
Total Installed Size:  285.15 MiB
Net Upgrade Size:        0.59 MiB
:: Proceed with installation? [Y/n] Y
:: Retrieving packages...
seatd-0.7.0-2-x86_64.pkg.tar.zst failed to download
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from at.arch.mirror.kescher.at : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirror.theo546.fr : Failed to connect to mirror.theo546.fr port 443 after 10000 ms: Timeout was reached
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirror.jordanrey.me : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from arch.kyberorg.fi : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from archlinux.koyanet.lv : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from pkg.fef.moe : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirror.sfo12.us.leaseweb.net : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from de.arch.mirror.kescher.at : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirrors.ocf.berkeley.edu : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from archlinux.uk.mirror.allworldit.com : Failed to connect to archlinux.uk.mirror.allworldit.com port 443 after 10001 ms: Timeout was reached
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from archlinux.thaller.ws : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from archmirror.it : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirror.alwyzon.net : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from archlinux.za.mirror.allworldit.com : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from arch.hu.fo : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirror.cj2.nl : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from arch.yhtez.xyz : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from zxcvfdsa.com : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirroir.labhouse.fr : The requested URL returned error: 404
error: failed retrieving file 'seatd-0.7.0-2-x86_64.pkg.tar.zst' from mirror.fra10.de.leaseweb.net : The requested URL returned error: 404
warning: failed to retrieve some files
error: failed to commit transaction (failed to retrieve some files)
Errors occurred, no packages were upgraded.
-> error installing repo packages`

"I don't know how to use Arch so I will post onto the Hyprland bug tracker!"
update your mirrors.

"I don't know how to use Arch so I will post onto the Hyprland bug tracker!"

There is no issue with hyprland, the issue is with seatd package installation. I guess the mirrors are down for some reason.
Fix for Arch Users:

Manually download the package from the source repo of seats. (repo link)
Install the package with the following command
sudo pacman -U <package-name>
Example:
sudo pacman -U seatd-0.7.0-3-x86_64.pkg.tar.zst
Now, try installing hyprland again with your preferred AUR helper.
paru -S hyprland or if you use yay yay -S hyprland

lol
update your Arch linux mirrors as vaxry said, that is the better solution for your problem!

I did update the mirrors even before posting the issue here mate.
And it didn't work as it should, so I manually installed seatd.

in any case it's not a hl issue???

I recommend you to run this command:
reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist
Note it will overwrite your pacman mirrorlist.
https://wiki.archlinux.org/title/Reflector
Good luck.

in any case it's not a hl issue???

Nope!
Hyprland is all good 👍🏻

I recommend you to run this command: sudo reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist Note it will overwrite your pacman mirrorlist. https://wiki.archlinux.org/title/Reflector Good luck.

Thanks for the help 😄 , but I already did this.

I recommend you to run this command: sudo reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist Note it will overwrite your pacman mirrorlist. https://wiki.archlinux.org/title/Reflector Good luck.

Thanks for the help smile , but I already did this.

did u fix it man?

I recommend you to run this command: sudo reflector --latest 5 --sort rate --save /etc/pacman.d/mirrorlist Note it will overwrite your pacman mirrorlist. https://wiki.archlinux.org/title/Reflector Good luck.

Thanks for the help smile , but I already did this.

did u fix it man?

I Installed all the dependencies manually by downloading the installation files. Then it worked that time!


fix(docs): minor correction

:tada: This PR is included in version 1.0.2 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


crypto/tls: tls.Conn.Close sends unnecessary close_notify if the underlying connection was already closed

Consider the following code:
	conn, _ := tls.Dial("tcp", "<IP_ADDRESS>:443", &tls.Config{ServerName: "dns.google"})
	_, _ = conn.Write([]byte("GET / HTTP/1.1\r\nHost: dns.google\r\nConnection: close\r\n\r\n"))
	_, _ = ioutil.ReadAll(conn)
	_ = conn.Close()

The problem with the way tls.Conn works in the current Golang version is that this code will guarantee that the underlying connection won't be closed gracefully and every time it'll cause RST packets sent from the remote endpoint.

Is it feasible to extend tls.Conn to take the underlying connection status into account? For instance, look for io.EOF when it reads from it?

cc @FiloSottile

cc @bradfitz @ianlancetaylor


Any possibility of NativeScript support in the future?

Feature Request: nativescript-angular support
Reasons for adopting new feature
We already use Protractor for our Angular 1.x and Angular 2+ apps.  NativeScript can be used with Appium, which some have found success using with Protractor in the past.  Using the same technology and same APIs would be useful for consistency across our tests, and possibly reuse of our test code.
For functional UI testing, the current solution for NativeScript apps is nativescript-dev-appium, which uses Mocha for testing out of the box (and I don't see any evidence of anyone successfully using anything but Mocha with it).  While you can get the job done with this, I am definitely missing the familiarity and customizability that comes with Protractor, and the fact that Protractor understands Angular and doesn't require nearly as many wait commands in the tests.
I'm not sure how much work it would take to be able to run Protractor against an Angular 2 NativeScript app (as you don't have the browser), but it sure would be awesome if this were a thing.
Is this a breaking change? (How will this affect existing functionality)
I don't expect it would be; if anything, this would open Protractor up more for fine-tuned configuration or hooks.

We're working on appium support in protractor, so once that's in a good place I think nativescript-dev-appium should be able to do everything you need.  Not sure if we'll ever support it directly but maybe if enough people want it!

Is it possible to use Protractor + Appium for native Android apps particularly messaging ?
Does protractor support native apps? Kindly confirm at the earliest.


Convert gas fee to USD

Description

Convert gas fee to USD using SortedOracles smart contract
[BONUS] Adds actual docs link in footer

📝 Changed routes:

/connect

(view full size)

Commit 2b0b063cfeb0220ea42e4d2b4e4d378c01fc8caf (https://staked-celo-web-3phq30p1g-c-labs.vercel.app).

No one available for code review


condition

growth > 8 hrs

PMID:16775007

it doesn't look like > 8 hrs growth. it looks like 8hours following addition of expression repressor?

note to self...

ok ignore


Added test targets for Pipfile, since Pipfile is not mainstream yet or supported by pip itself. It will be eventually and until then we'll specifically test the file validity.

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3231adf). Click here to learn what that means.
The diff coverage is n/a.

@@            Coverage Diff            @@
##             master      #27   +/-   ##
=========================================
  Coverage          ?   97.87%
=========================================
  Files             ?       29
  Lines             ?     3577
  Branches          ?        0
=========================================
  Hits              ?     3501
  Misses            ?       76
  Partials          ?        0

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 3231adf...4e86bd5. Read the comment docs.


ReactiveX, Reactive-Extensions and .NET

Don't know if this is the right place to ask, please let me know if there's a better one.
Is your ReactiveX Github organization/entity related to Reactive-Extensions Github organization found at https://github.com/Reactive-Extensions ?
Is one more up-to-date than the other?
And in particular, where should I look for the most complete documentation related to Rx.NET?
Yours at https://github.com/ReactiveX/Rx.NET is empty, theirs at https://github.com/Reactive-Extensions/Rx.NET is not empty, but has an empty wiki and certainly lacks in documentation when compared to RxJS, RxJava, ...
Thanks for your time

I think this is for the next versions of Rx* coming out. I don't believe this versions are out in the general public. You should stick to document found at Reactive-Extentions and http://reactivex.io/

@BrainCrumbz ... I think @BerkeleyTrue adequately answered this, but just in case:
This is the proving ground for the next version of RxJS... the current version can be found here
This will be the future home of RxJS once this version is finalized and out of beta. (it's currently pre-alpha)

Thanks both for your answers, By extension, https://github.com/Reactive-Extensions/Rx.NET should be the current official home of Rx.NET, right?

Well the "home" I think is here... but yes, that's the repository right now.


Find and replace ignores 'c' (confirm) option [$50]

The following command ignores the 'c' (confirm) option and instead just replaces any found text.
:%s/a/b/gc

---
There is a **[$50 open bounty](https://www.bountysource.com/issues/900182-find-and-replace-ignores-c-confirm-option-50?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github)** on this issue. Add to the bounty at [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F252770&utm_medium=issues&utm_source=github).

Sent a PR for an implementation: https://github.com/XVimProject/XVim/pull/699.

PR merged into development branch - can this issue be closed now?

Keep it until it is merged into master. Thanks.

Sounds good, thanks.

I think this is in master now

This issue should be closed. It's on master now.


Texture not showing with multiple renderer in 5.0.0-rc

Hello, i just update to the 5.0.0-rc, I was on the 4.8.5.
I had a game which work well on 4.8.5, I use AnimatedSprite & Sprite for all the game and I have multiple renderer.
After the update, I updated all the methods/class like extras.AnimatedSprite => AnimatedSprite, Loader => Loader.shared, etc...
Everything works  well except that I have a latency when it comes to use the same Image on multiple renderer. (and except that it seems more blurry but i think it's because you added antialiasing)
Before that, everything worked well, the images shows up immediatly after the loading.
But now the image/texture on the first renderer is ok but on the second renderer it takes times (like 30 seconds).  I made a small code that reproduces this issue, but it doesn't do the exact same as on my game.
On my game if i go on other tab and go back to the main tab, the textures will show up.
// 5.0.0 code

		var tmpRenduTizDemo = new PIXI.Renderer(160, 190,  { transparent: true, resolution: 1 });
    var myCharDemo = [new PIXI.Container(), tmpRenduTizDemo];

    document.getElementById("renderer1").appendChild(tmpRenduTizDemo.view);
	let tmpTexture = new PIXI.Sprite(PIXI.Texture.from("btn.png"));
	myCharDemo[0].addChild(tmpTexture);

	var tmpRenduTizDemo2 = new PIXI.Renderer(160, 190,  { transparent: true, resolution: 1 });
    var myCharDemo2 = [new PIXI.Container(), tmpRenduTizDemo2];

    document.getElementById("renderer2").appendChild(tmpRenduTizDemo2.view);
	let tmpTexture2 = new PIXI.Sprite(PIXI.Texture.from("btn.png"));
	myCharDemo2[0].addChild(tmpTexture2);

    var inn = setInterval(function (r) { r[1].render(r[0]); }, 1000 / 24, myCharDemo);
    var inn2 = setInterval(function (r) { r[1].render(r[0]); }, 1000 / 24, myCharDemo2);

	// 4.8.5 code
		var tmpRenduTizDemo = new PIXI.autoDetectRenderer(160, 190,  { transparent: true, resolution: 1 });
    var myCharDemo = [new PIXI.Container(), tmpRenduTizDemo];

    document.getElementById("renderer1").appendChild(tmpRenduTizDemo.view);
	let tmpTexture = new PIXI.Sprite(PIXI.Texture.fromImage("btn.png"));
	myCharDemo[0].addChild(tmpTexture);

	var tmpRenduTizDemo2 = new PIXI.autoDetectRenderer(160, 190,  { transparent: true, resolution: 1 });
    var myCharDemo2 = [new PIXI.Container(), tmpRenduTizDemo2];

    document.getElementById("renderer2").appendChild(tmpRenduTizDemo2.view);
	let tmpTexture2 = new PIXI.Sprite(PIXI.Texture.fromImage("btn.png"));
	myCharDemo2[0].addChild(tmpTexture2);

    var inn = setInterval(function (r) { r[1].render(r[0]); }, 1000 / 24, myCharDemo);
    var inn2 = setInterval(function (r) { r[1].render(r[0]); }, 1000 / 24, myCharDemo2);
	`

You can test here :
5.0.0 - http://<IP_ADDRESS>/pixi500.html
4.8.5 - http://<IP_ADDRESS>/pixi485.html
Environment
I use Chrome (last version) on Windows but this issue occurs on Firefox too (i didn't test anything else).
UPDATE : It seems to be random on Firefox (sometimes working, sometimes not), but on Chrome it keeps doing this issue

OK, temporary workaround for you:
PIXI.settings.CREATE_IMAGE_BITMAP = false;

It creates a bitmap, updates texture in first renderer and deletes bitmap, change in dirtyId forces bitmap upload by second renderer, its never ending cycle.


Fix erigon issues

Changes:

Fix erigon issues

Types of changes

[x] Bugfix (non-breaking change which fixes an issue)

Codecov Report
Patch and project coverage have no change.

Comparison is base (44e3405) 85.99% compared to head (126928b) 85.99%.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #263   +/-   ##
========================================
  Coverage    85.99%   85.99%
========================================
  Files           76       76
  Lines         4491     4491
========================================
  Hits          3862     3862
  Misses         545      545
  Partials        84       84

Flag
Coverage Δ

unittests
85.99% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


[PackageInterface] Fix isInterfacePackageEffectivelyPublic.

ValueDecl::isInterfacePackageEffectivelyPublic is used to check if a package decl in interface file can be skipped for typecheck; if the package decl is inlinable and in public or private interface, it should be allowed to skip. This PR adds a missing check by looking up the Interface source kind.
Resolves rdar://135388095

Test?

@swift-ci smoke test

@swift-ci smoke test

@swift-ci smoke test


Setting focus programmatically

I'm trying to set the focus to the monaco editor on page load, and whenever its container tab (using it inside a mat-tab-group) is selected: is it possible? I've tried to add the autofocus attribute to the ngx-monaco-editor element in HTML to get focus on page load, but no luck. I then tried to get a reference to the element and call the focus method of the editor, like this:
HTML:
<ngx-monaco-editor id="query" formControlName="query" [options]="editorOptions" autofocus #queryel></ngx-monaco-editor>

TS:
@ViewChild('queryel') private _queryElementRef: ElementRef;

ngOnInit() {
  (this._queryElementRef as any)._editorContainer.nativeElement.focus();
}

Yet this does not seem to have any effect. I tried to wrap it inside a setTimeout, like this:
    setTimeout(() => {
      (this._queryElementRef as any)._editorContainer.nativeElement.focus();
    }, 500);

Still no luck. Could anyone suggest a way of programmatically setting focus to the control so that once the page loads (or its container tab gets selected) the user can just start typing?

I got it working with a little hacky method because the component does not expose the editor property.
import { EditorComponent } from 'ngx-monaco-editor';
...
  @ViewChild('editor', { static: false }) editor: EditorComponent
  ngOnInit() {
    this.editor['_editor'].focus()
  }


Navbar documenation demos appear to be broken

Hi there, appologies if this is not the correct forum, but the navbar examples on your webpage seem to not be displaying the toggle icon.
https://getbootstrap.com/docs/4.3/components/navbar/

They didn't complete any demo. Even bootstrap 3 demo files are also altered. I can't find any working bootstrap demos anywhere.

@themacleod
One need to look at the page at the specific viewport, as these are behind breakpoints. You should see something like really:

So was this a question why these are not visible or request, to override the default breakpoints and present toggles without depending on viewport size?

Many thanks for the reply. Indeed you are correct, this was simply not viewing the collapsible elements from the correct view port.


Added started_at_after && stopped_at_after

tackles https://github.com/starkandwayne/shield/issues/418
For simplicity allows a time string for example:
 /v2/tenants/2d8b8052-a004-4f42-aaa5-3c0d67ac3225/tasks?started_at_after=1m30s"

This will show tasks started from server time - 90 seconds (1m 30s)
Same applies for stopped_at_after:
/v2/tenants/2d8b8052-a004-4f42-aaa5-3c0d67ac3225/tasks?stopped_at_after=300s"

Will get all stoped tasks from server time  - 300 seconds

Food for thought: for completeness' sake, we may want to also add a before variant, started_before and stopped_before to allow range queries.  All the machinery seems to be in place vis-a-vis the new ParseDuration function.

@jhunt Hi, just added the started_before and stoped_before may help to get give this ranges:
/tasks?started_before=10s&started_after=20s"

@nbari can you revert the whitespace-only changes?

Sure, sorry for that, I need to disable/tune my editor to avoid cleaning while saving.

@nbari any luck on reverting the whitespace changes?

Done already in the last commit

hi @jhunt should be fixed now

Thanks!


Directive names are so general (without prefix) and can cause naming collisions

The name of directives like next/prev/pagination... are very very common, 3rd parties should prefix the directives so names will be unique

Hello,
I have those problem when a use with angular foundation the directive pagination create multi directive compilation error.
Is it possible to add prefix like ui-select.
Example:

Slide1
Slide2


Enhance  static for() method to accept 4th range parameter: inclusive range flag

Enhance  static for() method to accept 4th range parameter: inclusive range flag

Resolved with 82a0f7b3a728bc56ab9ce4477c0d116eed64bed3


Improve logging capabilities and add associated docs

Fixes #9
Also see https://github.com/DiamondLightSource/python-artemis/issues/569

Test is intermittently flaky, unrelated to this PR

Test is intermittently flaky, unrelated to this PR

Is there a ticket relating to the test flakiness?

Approach makes sense, and can see us using something similar elsewhere.

This is also very similar to the approach taken in zocalo by @rjgildea. Do we think there's value in a generic diamond utils module that contains common things like logging, monitoring?

Is there a ticket relating to the test flakiness?

Yep, was in Artemis, I've moved it across. Probably should go through and move some others too

This is needed on the beamline so going to make a release off this branch


IPython ?/?? output doesn't render nicely in the text editor

Applies To

[X] Notebooks (.ipynb files)
[ ] Interactive Window and/or Cell Scripts (.py files with #%% markers)

What happened?
IPython provides ? and ?? to get a quick access to the help and source code of an object. When the output of this magic command is too long VSCode suggests opening it in a text editor (Output exceeds the size limit. Open the full output data in a text editor). However, I believe that IPython expects the output to be displayed in a terminal and as such colorizes it. This doesn't render nicely at all in the text editor.
Execute the following in a Notebook cell:
import string
string??

Follow the suggestion and open the text editor, you'll see:

(Originally reported in https://github.com/holoviz/hvplot/issues/984)
VS Code Version
Version: 1.73.1 (Universal) Commit:<PHONE_NUMBER>f055b99068d3688932416f2346dd3b Date: 2022-11-09T02:08:38.961Z Electron: 19.0.17 Chromium: 102.0.5005.167 Node.js: 16.14.2 V8: <IP_ADDRESS>-electron.0 OS: Darwin x64 21.4.0 Sandboxed: No
Jupyter Extension Version
v2022.9.1303220346
Jupyter logs
No response
Coding Language and Runtime Version
No response
Language Extension Version (if applicable)
No response
Anaconda Version (if applicable)
No response
Running Jupyter locally or remotely?
None

Ohh yes, I would be forever grateful if someone could fix this. Its driving me nuts.
This is especially pronounced if one does not want to output long text (or inspect something, as raised in this issue) but actually runs into an error message:

Which translates to this very readable error message:

being able to view outputs in a scrollable region should help with this (toggle with ctrl+K, Y by default)
It is surprisingly hard to fix the 'open in separate file link', but we should be able to strip out these extra characters in the copy output command as we do for error outputs.


[e2e]: go release main config-ldflags-noassets slsa3

Repo: https://github.com/slsa-framework/example-package/tree/v17.0.317
Run: https://github.com/slsa-framework/example-package/actions/runs/4770314717
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Trigger: release
Branch: v17.0.317
Date: Sat Apr 22 02:09:51 UTC 2023

Repo: https://github.com/slsa-framework/example-package/tree/v17.0.318
Run: https://github.com/slsa-framework/example-package/actions/runs/4775882644
Workflow file: https://github.com/slsa-framework/example-package/tree/main/.github/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Workflow runs: https://github.com/slsa-framework/example-package/actions/workflows/e2e.go.release.main.config-ldflags-noassets.slsa3.yml
Trigger: release
Branch: v17.0.318
Date: Sun Apr 23 02:18:29 UTC 2023
Tests are passing now. Closing this issue.


http://www.webpackbin.com/ seems to be down

I prepared a couple of examples for a class I have to give later today but the site now appears to be down. Dunno if this is the right place to report this so feel free to point me in the right direction.

Hi @alterx and thanks for taking time to try out the BETA. The site should not have been down today, but there is a memory error which will be fixed next week. That might have been the issue. You still having problems?

It's been up and down, seems to be stable now. Thanks for the quick response.
This is an awesome project BTW, looking forward to contributing :+1:

On Sunday evening (my local time) I did a pretty major upgrade which had some issues, so was very unstable then. But should be okay now, except installing completely new packages which has a memory issue :)
Anyways, let me know how it works out! Would be really great to get a "teaching story" on the tool, as that is one of the goals. Make it a really good teaching tool :)


Fixed empty motion comment field in motion update form.

Motion comment values were not extracted. Concerns edit button in
motion list view only.

Please add CHANGELOG entry. Then merge.


SparkSQL Refresh

@mrocklin whenever you get a chance, this is ready for review

Seems generally fine to me

here goes nothing :bomb:!


aws access key id and secret not being recognized

I created an IAM user and attached the sample policy to it and set the environment variables AWS_ACCESS_KEY_ID/AWS_ACCESS_SECRET_KEY in  my controller deployment, as stated in the docs
However, the controller seems to be trying to connect to aws using the iam role of the worker nodes instead of the access key id and secret :
2017-04-18T02:11:49.885187560Z F0418 02:11:49.884868       1 ingress.go:193] AccessDenied: User: arn:aws:sts::213232:assumed-role/yaw-Cluster-Stack-Workers-IAMRoleWorker-16S6JA1539L6M/i-0f0091907cc651398 is not authorized to perform: elasticloadbalancing:DescribeLoadBalancers
2017-04-18T02:11:49.885211637Z 	status code: 403, request id: 61d1674a-23dc-11e7-a94c-3502ef010ef0

works fine when i attach  the sample policy to the worker IAMRole, but will be great if we can just use the access key and secret instead of going through multiple worker roles and attaching to each one
running quay.io/coreos/alb-ingress-controller:0.8

Hi @yawboateng
It appears our docs were wrong, it should be AWS_SECRET_ACCESS_KEY rather than what's documented (AWS_ACCESS_SECRET_KEY).
So your env section of the manifest would look something like:
        env:
        - name: AWS_REGION
          value: us-east-2
        - name: AWS_ACCESS_KEY_ID
          value: VALUE_HERE
        - name: AWS_SECRET_ACCESS_KEY
          value: VALUE_HERE

Let me know if this solves your issue and apologies in advanced for the confusion.

@joshrosso, thanks. works now 💯


Feature: Create CLI command to run permanent VMs

Problem: We need to run an instance independently of the supervisor process.
Solution: Create an Instance CLI command tool to manage it.

The concept of the VM pool is to have a global object that keeps track of the VMs that are running. Using that object in the wrapper that launches a single VM seems weird. Would it not make more sense to directly launch the VM without the pool object ?


CRD is duplicated across multiple files

The installation documentation says that two files should be applied, one for the CRDs and one for the actual operator. The operator manifests also include the CRD and so either it shouldn't be there, or the crd.yaml is redundant.
https://github.com/dragonflydb/dragonfly-operator/blob/9de38e7c11c4fbb73e509c5921bd1b2c19e13b9d/README.md#L20-L25
https://github.com/dragonflydb/dragonfly-operator/blob/9de38e7c11c4fbb73e509c5921bd1b2c19e13b9d/manifests/crd.yaml#L1-L118
https://github.com/dragonflydb/dragonfly-operator/blob/9de38e7c11c4fbb73e509c5921bd1b2c19e13b9d/manifests/dragonfly-operator.yaml#L13-L131

I also just hit this. Seems like the installation instructions are wrong and the operator already contains all the CRDs?

Hey @uhthomas and @aaronmondal, Thanks for raising the issue! Yep the Operator installation does have all the things including the CRD! This should not have caused any issues though! I will update the readme to only include the Operator yaml installation.


Using version in artifact filename, fix for APEX-237

@tweise see

This does not work as depending on the profile there are other artifacts that will match in the script. That's the reason why the artifact name was set to be a constant name in the target directory in first place. What problem are you trying to solve here?

You mean there could be other artifacts than tests? The other way I was thinking was to get the version of the project by running a maven command and then constructing the jar filename. The way to get the version is explained here
http://stackoverflow.com/questions/3545292/how-to-get-maven-project-version-to-the-bash-command-line
Thought that would be an overkill for what we have now so didn't do that.
There is no immediate problem but this is being suggested an improvement. Seems that we are doing this because it helps coding the scripts easier but there is ambiguity when someone sees the jar file. It is not consistent with the other jar names.

As you say you end up with convoluted logic in the script. Let's find out whether the file name in the target directory is really important for other use.


support nested repositories (GitLab)

Component: server
Describe the bug
It looks like Woodpecker does not properly handle nested repositories from GitLab. Nested repositories or subgroups are a GitLab feature where a repository might exist inside a 2 level or greater hierarchy (e.g. my-org-group/team-group/category-group/actual-repository.git), as opposed to the 2 level hierarchy that is well established by SCMs (e.g. vendor/project.git).
When I try to sync my repositories in the Woodpecker UI, nothing happens. Looking that the debug error logs I get the following message:
{"level":"debug","time":"2021-12-31T17:45:34+01:00","message":"sync error: my-user: could not fetch permission of repo 'rootgroup/subgroup/my-repository': GET https://gitlab-instance.com/api/v4/projects/rootgroup/subgroup: 404 {message: 404 Project Not Found}"}

As you can see, Woodpecker is querying the wrong API endpoint:
- https://gitlab-instance.com/api/v4/projects/rootgroup/subgroup
+ https://gitlab-instance.com/api/v4/projects/rootgroup/subgroup/my-repository

I think there are two issues here, which can be resolved independently:

[ ] The complete repository sync fails/stops when only one repository fails to sync. I think Woodpecker should continue syncing the repositories and just skip the failed ones. It would be useful to display an error message to the user in that case.
[ ] Properly handle nested repositories. This might be harder to accomplish because they might need to be mapped to the tradition 2 level hierarchy as that's used internally?

References
@6543 pointed out, they had replaced the GitLab API client with github.com/xanzy/go-gitlab in recent master.

https://github.com/woodpecker-ci/woodpecker/blob/master/server/remote/gitlab/gitlab.go#L199-L207

System Info
next-d11b2bb8
built from master@d11b2bb8e5bea6f29f82a20815ef7bf3fa96a0a2

Still experiencing errors with nested repositories on latest docker build

@bck01215 Cloud you give next a try. Latest is our latest stable release which does not include those unreleased changes from master.

I'm still getting the following debug message in the next repo

Skipping nested repository nested-repo for user username, because they are not supported, yet (see #648)."}

I guess we have to introduce #1295 somehow to solve it.


BOTW "Resolution" 1280x720 -> 1920x1080 not working

It's "enabled", but resolution in game is still 1280x720. using cemu 1.14.0 and graphic packs v295
Things tried:

recompiling shader cache

toggling on/off:
-- fence skip
-- "Experimental: Use RDTSC"
-- bicubic/bilinear upscale filtering
-- all graphic packs i use

restarting cemu after every change

some combinations

graphics packs i have enabled:

AMD shadows (also doesnt seem to work, might make a new issue)
LWZX
kakariko torch
resolution
fps++ 30fps
no DOF

"Resolution" worked for me in Cemu 1.12.0
specs:
Radeon HD 7770
AMD FX-6300
8GB RAM (typically filled to 6-7GB running botw with an ~11000 count of precompiled/separable shaders on)
single monitor
Windows 7 SP1
(in case you're curious i get a nice stable 20fps in most areas, 10-15fps in kakariko)

I'll take a look into it right now

Can you please post your cemu log here for me after you run the game. The resolution pack works for me without issues.
Also try SHIFT+PRNTSCREEN combo ingame and paste it to paint and save as png, and check the sizes.

ShareX (advanced image capturing software) shows the game area to be 1280x720 within its window.
I guess it was probably necessary to mention that for compatibility reasons with another game, I'm using an AMD driver from January 2017: Radeon Crimson 16.12.2
Here is the log:
[22:28:51] ------- Init Cemu 1.14.0c ------- [22:28:51] mlc01 path: D:\CEMU\cemu_1.14.0\mlc01\ [22:28:51] Cemuhook version: <IP_ADDRESS> [22:28:51] CPU: AMD FX(tm)-6300 Six-Core Processor              [22:28:51] RAM: 8189MB [22:28:51] Used CPU extensions: SSSE3, SSE4.1, AES-NI [22:29:10] Loading .rpx -> Map "D:/CEMU/The Legend of Zelda Breath of the Wild/content/" to /vol/content/ [22:29:11] Loaded RPL module u-king (checksum 0x6267BFD0) [22:29:11] ------- Loaded title ------- [22:29:11] TitleId: 00050000-101c9400 [22:29:11] TitleVersion: v208 [22:29:11] Update path: D:\CEMU\cemu_1.14.0\mlc01\usr\title\00050000\101C9400\ [22:29:11] AOC path:    D:\CEMU\cemu_1.14.0\mlc01\usr\title\00050000\101C9400\aoc\ [22:29:11] Save path:   D:\CEMU\cemu_1.14.0\mlc01\usr\save\00050000\101C9400\user\ [22:29:11] shaderCache name: dcac9927 [22:29:11] gameprofile path: gameProfiles\00050000101c9400.ini [22:29:11] RPX hash: fb7911ad [22:29:11] RPL link time: 234ms [22:29:11] HLE scan time: 156ms [22:29:11] ------- Active settings ------- [22:29:11] CPU-Timer: host-based [22:29:11] CPU-Mode: Dual-core recompiler [22:29:11] Load shared libraries: true [22:29:11] Use RDTSC: false [22:29:11] UseSeparableShaders: true [22:29:11] GPUBufferCacheAccuracy: low (gameprofile) [22:29:11] Disable GPU fence: false (gameprofile) [22:29:11] Disable precompiled shaders: false [22:29:11] ------- Init OpenGL graphics backend ------- [22:29:11] Using OpenGL version 4.5 [22:29:11] OpenGL extensions: [22:29:11] ARB_clip_control: available [22:29:11] ARB_get_program_binary: available [22:29:11] ARB_clear_texture: available [22:29:11] ARB_copy_image: available [22:29:11] NV_depth_buffer_float: available [22:29:11] GL_VENDOR: ATI Technologies Inc. [22:29:11] GL_RENDERER: AMD Radeon HD 7700 Series [22:29:11] GL_VERSION: 4.5.13464 Compatibility Profile Context 21.19.407.0 [22:29:11] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Workarounds/AMD Shadows [22:29:11] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Enhancements/No Depth of Field [22:29:11] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Mods/Dynamic (FPS++) [22:29:11] Set vsync frequency to 30 (graphic pack The Legend of Zelda: Breath of the Wild/Mods/Dynamic (FPS++)) [22:29:11] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Workarounds/Kakariko Torch Shadows [22:29:11] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Workarounds/LWZX Crash [22:29:12] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Graphics/Resolution [22:29:12] ------- Init Audio backend ------- [22:29:12] DirectSound: available [22:29:12] XAudio 2.8: not supported [22:29:12] XAudio 2.7: available [22:29:12] ------- Run title ------- [22:29:35] Shader cache loaded. Commited mem 1945MB. Took 22932ms [22:29:35] Recompiler initialized. CPU extensions: LZCNT AVX  [22:29:35] Custom timer mode: QPC [22:29:35] Applying patch group BotwFPSV208 from pack 'Dynamic (FPS++)' v3 to module u-king (checksum 0x6267BFD0) [22:29:35] Applying patch group BotwPlsNoCrashV208 from pack '' v3 to module u-king (checksum 0x6267BFD0) [22:29:35] Applying patch group BotwAspectsV208 from pack 'Resolution' v3 to module u-king (checksum 0x6267BFD0) [22:29:35] IOSU_CRYPTO: No otp.bin found. Online mode cannot be used [22:29:35] IOSU_CRYPTO: No Seeprom.bin found. Online mode cannot be used [22:29:40] Init snd_core AX module


SAK-33876 - Urkund missing link in the student's view

@frasese could you take a look? Thanks

Thanks @jonespm


Android: allow app/build.gradle to specify additional packager arguments

If for instance you're using a custom transformer, having this hook will let you specify it without forking all of react.gradle
Test plan: Specified some additional packager args in my app's android/app/build.gradle:
project.ext.react = [
  bundleInDebug: true,
  extraPackagerArgs: ["--transformer", "path/to/my/transformer.js"]
]

and ensured they show up when gradle invokes the bundler.

By analyzing the blame information on this pull request, we identified @AndrewJack and @mkonicek to be potential reviewers.

Test failure unrelated, I must've been sitting on a bad rev or or Travis is having a problem or something.

@philikon updated the pull request.

@philikon updated the pull request.

LGTM, nice idea :)
@facebook-github-bot shipit

Thanks for importing. If you are an FB employee go to Phabricator to review.


Oracle - Navigate further to other objects when viewing the declaration of a function,  a package body, ...

Connection specification:

Database name and version: Oracle 12

Describe the problem you're observing:
It would be nice if you could navigate further to other objects if you are viewing f.e. the declaration of a function, the package body, ...
Now you can only directly navigate (F4 or rightclick and Open Declaration) to the respective objects if you copy f.e. the name of an object and paste it in a SQL script window. This would save a lot of time if you need to edit f.e. a package function that is being called from a function.

Seems we've lost this option. Thank you for the report.

Can't reproduce in DBeaver 21.2.5
Ctrl+click works for tables, procedures, and packages names in the first place.

Verrified


replaced 'request-js' to 'superagent' lib

Expected: the library can be used in the browser
dependency 'request.js' can be used only on the back-end side without issues, by replacing 'request.js' to 'superagent' we have achieved that 'blockcypher' can be used in both server and browser

Thanks. Implemented in https://github.com/blockcypher/node-client/pull/36.


tests for LUSERS

https://github.com/oragono/oragono/issues/286, https://github.com/oragono/oragono/issues/814, https://github.com/oragono/oragono/issues/848, https://github.com/oragono/oragono/issues/1077, https://github.com/oragono/oragono/issues/1225, https://github.com/oragono/oragono/issues/1303, https://github.com/oragono/oragono/issues/1326
Probably a lot of these could be caught by basic testing. Some cases:

Add and remove an anonymous user without the +i mode as default
Add and remove an anonymous user with the +i mode as default
Add and remove a single session of an always-on client
Test the "unknown" (unregistered connection) count in the middle of a registration
Test disconnecting without completing the registration

This was begun but I don't know which line items were completed: https://github.com/oragono/irctest/blob/master/irctest/server_tests/test_lusers.py

This was begun but I don't know which line items were completed: https://github.com/oragono/irctest/blob/master/irctest/server_tests/test_lusers.py


nested $in rule doesn't work

First of all, thanks for such a great project!
Given the following project resource:
const project = {
  memberships: [
      {id: 1, roleId: 1, membershipId: 1, role: { slug: 'project_owner'}},
      {id: 2, roleId: 2, membershipId: 2, role: { slug: 'collaborator'}},
      {id: 3, roleId: 3, membershipId: 3, role: { slug: 'observer'}},
  ]
}

A project collaborator (membershipId: 2) or observer (membershipId: 3) should be able to read the project above per the following rule:
canRead = membershipId => sift({
  memberships: {
    $elemMatch: { role: { slug: { $in: ['collaborator', 'observer'] } }, membershipId }
  }
})

So, these assertions should pass:
assert(canRead(2)(project) === true, 'collaborator should read project')
assert(canRead(3)(project) === true, 'observer should read project')

Unfortunately, they don't.
If on the other hand, I change the rule to the following to replace the behavior of $in with $or, then the assertions work:
canRead = membershipId => sift({
  memberships: {
    $elemMatch: {
      $or: [
        { role: { slug: 'collaborator' }, membershipId },
        { role: { slug: 'observer' }, membershipId }
      ]
    }
  }
})

Is this expected?
Edit:
if I specify the path role.slug as a string then $in works:
canRead = membershipId => sift({
  memberships: {
      $elemMatch: {
        'role.slug': { $in: ['collaborator', 'observer'] },
        membershipId
      }
  }
})

Is this expected?

Yep! This is all expected behavior based on MongoDB, but I agree that it's not that intuitive 😅. Your solution is spot on.
As to why your original code didn't work - operators ($in, $or, etc) can't be nested unless $elemMatch is used. So this doesn't work:
sift({ role: { slug: { $in: ['collaborator'] }}});

☝This is a strict equality since slug is not an operator, so everything within slug is treated like a vanilla object. You can observe this behavior even in MongoDB by trying this:
db.something.insert({ role: { slug: { $in: ['collaborator'] }}})

Then to query it:
db.something.find({ role: { slug: { $in: ['collaborator'] }}})


Optimize the registryAsConfigCenter/MetadataCenter method to return directly when the id exists in configManger

When using multiple registries, the registryAsConfigCenter method will be called multiple times. When the address of the registry is the same, the id of the generated ConfigCenterConfig is also the same, so there is no need to follow the logic behind, because in ConfigManager#addConfig Will judge the id to be repeated and return directly.
So add a judgment here, if the id of ConfigCenterConfig already exists in ConfigManager, just return it directly.
multiple registries like this (test case is servicediscovery-transfer-provider#Application in dubbo-samples project)
    <dubbo:registry id="service-discovery" address="zookeeper://<IP_ADDRESS>:2181?registry-type=service"/>
    <dubbo:registry id="normal" address="zookeeper://<IP_ADDRESS>:2181"/>

The registryAsMetadataCenter method is the same

Codecov Report

Merging #7887 (f70098e) into master (e845e16) will increase coverage by 0.02%.
The diff coverage is 0.00%.

:exclamation: Current head f70098e differs from pull request most recent head b5b9116. Consider uploading reports for the commit b5b9116 to get more accurate results

@@             Coverage Diff              @@
##             master    #7887      +/-   ##
============================================
+ Coverage     59.28%   59.30%   +0.02%
- Complexity      529      555      +26
============================================
  Files          1077     1088      +11
  Lines         43565    43810     +245
  Branches       6368     6372       +4
============================================
+ Hits          25826    25981     +155
- Misses        14879    14919      +40
- Partials       2860     2910      +50

Impacted Files
Coverage Δ

.../apache/dubbo/config/bootstrap/DubboBootstrap.java
43.47% <0.00%> (-0.23%)
:arrow_down:

...a/org/apache/dubbo/rpc/filter/AccessLogFilter.java
28.35% <0.00%> (-50.75%)
:arrow_down:

...va/org/apache/dubbo/rpc/support/AccessLogData.java
53.16% <0.00%> (-37.98%)
:arrow_down:

...ng/transport/dispatcher/all/AllChannelHandler.java
62.06% <0.00%> (-27.59%)
:arrow_down:

.../dubbo/remoting/transport/MultiMessageHandler.java
80.00% <0.00%> (-20.00%)
:arrow_down:

...ng/transport/dispatcher/WrappedChannelHandler.java
43.47% <0.00%> (-19.57%)
:arrow_down:

...bo/rpc/cluster/support/FailbackClusterInvoker.java
52.45% <0.00%> (-18.04%)
:arrow_down:

...rg/apache/dubbo/remoting/utils/PayloadDropper.java
76.92% <0.00%> (-15.39%)
:arrow_down:

...dubbo/common/status/support/LoadStatusChecker.java
50.00% <0.00%> (-11.54%)
:arrow_down:

...in/java/org/apache/dubbo/common/utils/JVMUtil.java
81.13% <0.00%> (-11.33%)
:arrow_down:

... and 129 more

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 e845e16...b5b9116. Read the comment docs.


How to enable Short types on supabase gen types typescript?

running npx supabase gen types typescript (1.85.0) generates only Database interface. I'm missing something?
example from launch week post
// Before
let movie: Database['public']['Tables']['movies']['Row'] = // ...

// After
let movie: Tables<'movies'> = // ...

Thanks in advance

I've found more explanations here: js docs
Maybe it's good to update docs in generate types section

Thanks @piccinnigius! I think we should clarify that the helper types are manually written in a separate file.


Can you explain the format of the save file? I want to write an editor for other version

Also want to know, does it work on ios or android version?

It seems that it doesn't work for my ios version. I run the binary and dll in windows and macos, but they all get exception.

Can you post an ios or android save?

https://drive.google.com/file/d/11SD80sKdv6ocYXEU70nqStJ2jiSVLtwR/view?usp=sharing
this is what i get from my ios11 users folder, using imazing

@Thealexbarney Android version(Ios idk) has a different KEY and IV. The IV needs to be reversed

Is there any method to dump the AES key and iv of the Android version？

@Thealexbarney Are the AES key and iv compiled into the libil2cpp.so？ Or written in some other files？Could you please write a tutorial about how to dump the key and iv?

I took a quick look into the Android version and the key appears to be the same as the Switch version, so I'm not sure what the differences between the versions are. Someone would have to look into it more.

@Thealexbarney  The Android version use the /data/data/jp.pokemon.pokemonquest/shared_prefs/pqdata.xml to make the AES key, but the iv and the checksumKey are some as the switch version.

on https://gbatemp.net/threads/qedit-a-pokemon-quest-web-based-save-editor.509951/page-4, post #75 says:
Update: Got it.
IV: 6E 53 64 68 64 63 33 65 63 44 44 45 4D 37 66 41
AES Key: 2F 39 65 45 45 65 76 6D 77 4A 36 41 6E 75 58 39
AES Type: 256 bit CBC
hope that can be of use.

i have to take that back, seems the skey is on a per user basis. there are instructions later in that same thread in my previous post to use game guardian, search for the iv and recover the user's skey which is in plaintext in memory.


Eval the Gems Pending gemfile after the Gemfile gems

With bundler 1.12.0 we're seeing:
$ bundle
Fetching git://github.com/rails/rails.git
Checking out files: 100% (3167/3167), done.
Fetching git://github.com/ManageIQ/handsoap.git
Fetching git://github.com/ManageIQ/rubywbem.git
Fetching git://github.com/Fryguy/config.git
Fetching git://github.com/Fryguy/deep_merge.git
The path ~/manageiq/gems/pending/gems does not exist.

Marking to be backported in case we pick up the new bundler with darga, which we should since we didn't change the bundler version constraint.


PX4 / QGC Sync on Tuning Sliders

The current tuning sliders in QGC link to parameters that we recently disabled. We need to map them to the new correct attitude parameters. @barzanisar I believe that @thomasgubler did discuss this with you last week. Have you filed issues for that or derived specs with @RomanBapst for it?
@barzanisar Please do this yourself as you already have the build setup for QGC. Here are the three tuning panels:
https://github.com/mavlink/qgroundcontrol/blob/16541062efa0acee5e128f61dcd23106a7afc1f6/src/AutoPilotPlugins/PX4/PX4TuningComponent.cc#L55-L78
Here is e.g. the one for Multicopters:
https://github.com/mavlink/qgroundcontrol/blob/16541062efa0acee5e128f61dcd23106a7afc1f6/src/AutoPilotPlugins/PX4/PX4TuningComponentCopter.qml
@RomanBapst Please take responsibility for making sure that all parameters and the wording make sense. @MaEtUgR @Stifael it would be great if you would contribute to this.

@LorenzMeier I don't remember discussing this issue with @thomasgubler but I can look into it this week.

As discussed with @RomanBapst, we should first discuss which parameters need to be exposed on the Tuning Setup. Things we discussed:

Parameters for "Hover Throttle" and "Manual minimum throttle" exist and are correctly mapped.
Sliders for "Roll sensitivity" and "Pitch sensitivity" should either map to "MC_ROLL_P and MC_PITCH_P" or "MC_ROLLRATE_P and MC_PITCHRATE_P".
In my experience I have tuned MC_ROLLRATE_P more than MC_ROLL_P to achieve either a faster roll control response or reduce oscillations. So maybe we can consider mapping Rate parameters to the "roll/pitch sensitivity" sliders?

@DonLakeFlyer @dogmaphobic

When I compile master or stable v3.3 branch, I get these weird versions of tuning sliders. However, when I open the binary version, the sliders look normal. Can anyone figure out why this is so? Is there any special way of compiling to see the tuning sliders?
@RomanBapst the fix for this issue is in my fork. Can you please confirm the values?
Also, I checked the tuning sliders for Plane and VTOL. They all exist. Do we need any changes there? Do we need to add any new parameters?

Can you move any QGC problems to QGC Issues?

often I´m using the iOS version of QGC which is not above v 3.2 and it looks for old tuning parameters like mc_roll_tc or mc_pitch_tc that are no more existing in current PX4 firmwares.
So the mapping should not be only handled by QCG otherwise newer PX4 with older QCG don´t match anymore. PX4 firmware should be able to translate tuning parameters into older QGC as well

Superseded by mavlink/qgroundcontrol#6438


Instructions for multi master

Greetings,
I have been trying to ask this on irc as well as the k8s slack, but am restoring to a ticket here. I apologize.
I wanted to know if a multi master setup is possible with bootkube, if so how do i do it, especially with the experimental etcd flag set.
Just need someone to point me in the right direction.
Thanks

For Master k8s components you should only need to give another node the master=true label.
kubectl label node node2.zbrbdl "master=true"

Then you can either create a LoadBalancer with external IP to the kubernetes service (default namespace) or point external DNS to one or all of the API server nodes for kubectl clients to use.
For self-hosted-etcd you can try the steps in the etcd-operator README.  I haven't tried that yet myself.

As @bzub points out, simply labeling the node as a master will start master components on these nodes. The main change is that you need some way of addressing your multiple api-servers from a single address. kubeconfig only supports a single api-server address, and even though you can specify multiple on the kubelet command line, only the first is really used.
So a loadbalancer which fronts all api-servers (master nodes), or DNS entry which maps to those nodes are usually good options. You would then set your api server address in the kubeconfig to point to the dns or loadbalancer.
There is also somewhat of a limitation in the internal kubernetes service where the multiple api-servers will all overwrite eachother as the only endpoint. (To see this kubectl get service kubernetes - if you have multiple apiservers running, the endpoint will constantly change).
This isn't the worst thing in the world, but it's not ideal (there is work to resolve this upstream). In the interim, an option is to also use your loadbalancer/dns entry for this endpoint as well, which can be done by setting the apiserver --advertise-address=<your loadbalancer> - so the endpoint will always point to the same location.

I'm just starting to implement an automated HA failover system for kube-apiserver with keepalived-vip and @aaronlevy your comment about the default kubernetes service was very enlightening.  I really would have overlooked that issue, as limited as it is.
Looking into it further I found that the correct behavior for the kubernetes api service is enabled by editing the kube-apiserver DaemonSet and passing the --apiserver-count=<int> to apiserver, with the correct number of master nodes.  Once that's applied, delete each apiserver one at a time to apply the change, or add the master label to a non-master node.  This way you can then keep --advertise-address=$(POD_IP) the way it is.
It's unfortunate that this isn't mentioned in the primary Kubernetes High-Availability document.
Also, please be warned if you try keepalived-vip's README example that the examples/echoheaders.yaml manifest has an improper ---- separator in the yaml, I had to remove one hyphen so there's only three.  I'll file an issue there.

@bzub be careful about using the --apiserver-count flag -- its behavior is a little less than desirable  (see: https://github.com/kubernetes/kubernetes/issues/22609)
Essentially you're putting a fixed number of endpoints into the kubernetes service, and if those endpoints happen to be down, a certain percentage of requests just fail (because the endpoints are not cleaned up).

So a loadbalancer which fronts all api-servers (master nodes), or DNS entry which maps to those nodes are usually good options. You would then set your api server address in the kubeconfig to point to the dns or loadbalancer.

I'm currently using nginx-proxy (pod,template, nginx.conf)  from the kubespray (with hard-coded upstreams) in my coreos-kubernetes cluster (I'm properly gonna setup a new 1.6 cluster with bootkube, the current cluster is 1.5.4 iirc).
Maybe we could add that pod to bootkube? We just miss a dynamic config writer which include all the master nodes in the nginx.conf.

Proof of concept: https://github.com/kubernetes-incubator/bootkube/pull/684

Correct me if I'm wrong -- this results in a single nginx pod, yes?  Won't that potentially move around the cluster and thus the HA endpoint IP will change?  (Actually, if it's just a Pod with no Deployment in front of it, won't it just go down if the current node fails?  Pods explicitly do not survive node failures.)  I like something like keepalived-vip better or even a full cluster service like Pacemaker managing things so that the IP never changes but follows the LB provider around.  Alternately maybe the Pod could be a single-replica Deployment with an init container to handle registering the current IP with DNS.

Correct me if I'm wrong -- this results in a single nginx pod, yes?

Are you referring to #684? #684 runs a nginx-prox pod on every node and listen on localhost, you would then connect to the API server through localhost.
I'm using that design (but not #684) right now in a 12 node cluster (3 masters + 7 workers + 2 "vpn" servers), it works pretty well.

add your 3 masters to round robin (external) dns, and use that DNS name from outside the cluster (or from net=host pods, importantly including kube-proxy)
configure kube-control-manager and kube-scheduler to talk to apiserver via localhost, since these jobs always run on master nodes
Add readinessprobes to apiserver manifest and change the default.kubernetes Service to refer to the self-hosted apiserver pods by selector, like a regular internal k8s Service.
use default.kubernetes (via kube-proxy) from inside the cluster as usual

No need for nginx, failover is automatic (with at worst a TCP connect retry for external clients) - except for updating the external round-robin DNS record.  Just make updating that part of your master node replacement process (which is already somewhat special-cased).


old solc versions don't work

The old solc versions don't work when selected in the Settings tab. Only working versions should appear in the drop-down.

I'm seeing the same thing.  Specifically, on 0.4.10 and below, I'm seeing this error when I try to construct my contract:

TypeError: Cannot convert undefined or null to object

It works fine on any newer version of solc.  And I'm not sure how to get more detailed information or a stack trace on that error - there's nothing in the JS console.


Point people to the v0.12 tag in the README

For people just coming to Purescript, the examples alone aren't very helpful to understanding how things work. I added a link to the latest release tag so that people can see the guide and examples from that period. I don't know when 1.0 is planning to ship, but I think this should help newcomers until then.

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

I intend to release the version as non-RC on Monday, so I don't think there's much advantage at this point :smile:
We unlinked the v0.12 docs for the opposite reason to this too, it was confusing people who were trying to use master. Next time there's a major breaking change it will live on a separate branch.

Alright, I'll close this PR then. Early congrats on the upcoming release, and I look forward to reading the latest docs! :champagne:


RYA-130 Fixed Rya Mongo Multi Binding Set Join

Fixed bug in Mongo Query Engine; added test

good catch -- about to merge.  We should think about adding a correctness test like what Jeff suggested.

merged

@amihalik can you close this pull request?


Missing example of the default hurt and damage colors

Missing example of the default hurt and damage colors that vanilla uses, please provide examples on the
https://docs.microsoft.com/en-us/minecraft/creator/reference/content/animationsreference/examples/animationrendercontroller page of the default values/colors.

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

ID: fc18d47a-e328-c81a-b3e6-3f8400b0d060
Version Independent ID: 9587d402-df15-2a0e-a690-cb0bb6ebe3f1
Content: Animation Documentation - Render Controllers
Content Source: creator/Reference/Content/AnimationsReference/Examples/AnimationRenderController.md
Product: gaming
GitHub Login: @v-josjones
Microsoft Alias: v-josjones

Hello!
It looks like we've made some progress on this. Since it's been a while, I'm going to close this issue, but if you have any additional feedback, please reach out to us!
Thanks!


Incorrect double-chest rotation

When making a double chest, if you create it "vertically"/"sideways" (see video), then chest's rotation will be wrong: one invisible block and one ghost block.
Video: https://youtu.be/BmkObOHr0To
Tested in SpongeForge 5.0.0-1492705-SNAPSHOT and SpongeVanilla-1.10.2-5.0.0-BETA-129

This is caused by Block#onBlockAdded not being called for blocks with a TileEntity (e.g. anything that extends BlockContainer. I'm looking into a fix.


Repackage to pyproject/toml, port to gpiod/gpiodevice

Testing:
git clone https://github.com/pimoroni/weatherhat-python -b repackage
cd weatherhat-python
./install.sh --unstable

Hi, all.  Hel Gibbons directed me to this git.  I set up this pull on my Pi5 with a WeatherHAT (and Pimoroni NVME drive baseboard) and it seems to work fine. I have it installed in a virtual environment, running the weather.py demo, which appears to be accurrately reading the HAT sensors and rendering the results to the HAT LCD. I've had it runnning for over a day now, nonstop, without issue. Hope this helps!


Plugin crashes with a VPC and GetAZs in the stack (Index 0 is out of bound)

Describe the bug
appsync-simulator does not succeed to launch if a VPC with GetAZs attributes is present in the stack.
The error message is Index *n* is out of bound.
To Reproduce
Here is a repro repo: https://github.com/somq/appsync-out-of-bound-issue
Expected behavior
cfn-resolver should be able to parseGetAZs & appsync-simulator should run and output the graphql URLs.
Additional context
I've tried to debug but it is not clear to me where does the issue come from.
In Index *n* is out of bound. n corresponds to the index of the AZ array, but cfn-resolvers fails to map the region to its AZ because currentRegion is undefined.
Any help would be appreciated at this point.

Any update on this one @bboure?

Sorry @somq for getting back late to you.
Could you please try the following?
In this block, add:
'AWS::Region': this.serverless.service.provider.region,

and see if this works.

Thanks for your time, it does fix the issue.
I made a PR with the change.


#181 Add template helper

Hi @leleuj,
here is the promised PR for issue #181
I also made an example: https://github.com/tuxBurner/play-pac4j-scala-demo/tree/issue/%23181
Greetings tuxburner

Excellent! One more thing and we're good to merge: can you add a few lines for this in the documentation (in this section: https://github.com/pac4j/play-pac4j#5-get-the-user-profile-profilemanager)? Thx

Perfect! Merging


save clang-format git patch as artifact on failure

Right now, if the CI job for checking style fails, it dumps text to the log that can be made into a patch. However, that text is interleaved with some other console output, and seemingly prefixed by timestamps, which means it takes manual effort to produce the actual patch file that can be git apply-ed. On my machine/browser, the Azure devops UI doesn't play nicely with text selections (e.g. vertically scrolling the log changes the selected text) which makes it annoying to successfully select the relevant patch info.
It would be more ergonomic if instead, on a style failure the patch information would be written to a file that gets uploaded as an artifact. That way, the user only has to click a button to download the file and we're sure that no clerical errors were made when manually creating the patch.

You can just comment on the PR not "/style" and it will style your code and apply it to your branch.

oh, I wasn't aware of that change. Is it documented somewhere?


Allows access to unpass node

Fixes
If the registered Consul node is unexpectedly down and not restarted immediately, other services should continue to find the registered service.
There was a problem with the previous PR, which I fixed this time
https://github.com/ThreeMammals/Ocelot/pull/810

I can't see how this can be good, If I return a node which is unhealthy or not passing it will break anyway no ?

I can't see how this can be good, If I return a node which is unhealthy or not passing it will break anyway no ?

I mentioned the details in this post：
https://github.com/ThreeMammals/Ocelot/pull/810
Both two ways can solve this problem, but it is too troublesome for the last PR to change unit tests synchronously.


Author using caching_sha2_password method not working using Go Driver

It is currently not possible for MySQL users to log into MySQL server when they use caching_sha2_password when first time connecting.
Steps to reproduce:

Create a new users which uses caching_sha2_password or do FLUSH PRIVILEGES
Execute below code and get an "access denied"

package main

import (
	"database/sql"
	"log"

	_ "github.com/golistic/pxmysql"
)

func main() {
	db, err := sql.Open("mysqlpx", "scott:tiger@tcp(<IP_ADDRESS>:33060)/somedb?useTLS=true")
	if err != nil {
		log.Fatalln(err)
	}

	var n string
	if err := db.QueryRow("SELECT NOW()").Scan(&n); err != nil {
		log.Fatalln(err)
	}
}

It does work when the user first uses the mysql or mysqlsh CLIs.

The problem lays with parsing the data source name: the useTLS is not handled.


Update Watson SDK to v5

Pretty please keep up with the dependencies changes.

Would love to if I had time… can you help? :)

If only my team has access to a TJBot 😉

Closing this issue as tjbotlib 2.0.0 updates 3rd party dependencies (finally!)


Detect socket errors and disconnections

While everything works on a first try, if you stop remote Erlang node and start it again, the things don't work anymore because it was never de-registered.

[ ] Gevent engine must detect socket errors correctly
[ ] Asyncio engine must detect socket errors correctly

Solved in 0.5.2


feat: Svelte renderer

Here's my Svelte renderer contribution. 🙏
The only thing I need help with is solving a cryptic error when trying to run npm build about importing files that aren't JavaScript — which probably has to do with importing .svelte files, but I don't know how to pass it a plugin to compile the Svelte components with Rollup.
Everything else works! 😄
https://github.com/shikijs/shiki-magic-move/assets/38083522/cc1d618b-5153-4f89-859f-2c2a555cadc1

@antfu can you please have a look when you have time? 😄

I support this addition.  Svelte is becoming a major player.

I will ship .svelte file directly to npm. Hope that would work.

@antfu The imports can't be resolved and have to be:
import { codeToKeyedTokens, createMagicMoveMachine } from '../core.mjs'
import type { MagicMoveRenderOptions, MagicMoveDifferOptions } from '../types.d.ts'

This fixes the problem but then it doesn't work in development — TypeScript also complains about there being no ShikiMagicMove import.
<script lang="ts">
  import { ShikiMagicMove } from 'shiki-magic-move/svelte'
</script>

Module '"shiki-magic-move/svelte"' has no
exported member 'ShikiMagicMove'.ts(2305)


Remove old OOP classes

This PR removes all the classes and resources that exposed the former OOP APIs of JaxSim. Now the default APIs are the functional ones.

📚 Documentation preview 📚: https://jaxsim--123.org.readthedocs.build//123/

Probably closes #52


HA 2024.12: 'ev_smart_charging' sets option flow config_entry explicitly

Version of the custom_component

v2.1.0-dev1
Configuration
Not relevant
Describe the bug
HA warns for some deprecation in 2025.12
Debug log

Detected that custom integration 'ev_smart_charging' sets option flow config_entry explicitly, which is deprecated at custom_components/ev_smart_charging/config_flow.py, line 175: self.config_entry = config_entry. This will stop working in Home Assistant 2025.12, please create a bug report at https://github.com/jonasbkarlsson/ev_smart_charging/issues

Thanks for reporting. Will fix.


Update README.md

Added awesome-diarization and Voice Datasets

Looks good, thanks for the suggestions.


Tapping the bang button dismisses the popover showing search suggestions on the iPad

After tapping to search on the iPad, tapping the bang button dismisses the search suggestion list that changes as you type (the one in the attached image).

fixed in code; waiting on testflight.

Marking complete as this looks fixed to me!


Startup errors in one of projects.

I have two project with the same linter configuration, but only in one project I have bug:
SublimeLinter: debug mode: on
SublimeLinter: temp directory: /var/folders/t6/pllpprps447gwgwh5mbghtqw0000gn/T/SublimeLinter3-max
Traceback (most recent call last):
  File "./json/decoder.py", line 242, in JSONArray
  File "./json/scanner.py", line 63, in _scan_once
StopIteration

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Applications/Sublime Text.app/Contents/MacOS/sublime_plugin.py", line 158, in on_api_ready
    m.plugin_loaded()
  File "/Users/max/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/sublimelinter.py", line 49, in plugin_loaded
    plugin.on_activated(window.active_view())
  File "/Users/max/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/sublimelinter.py", line 282, in on_activated
    self.check_syntax(view)
  File "/Users/max/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/sublimelinter.py", line 209, in check_syntax
    Linter.assign(view, reset=True)
  File "/Users/max/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/linter.py", line 744, in assign
    linter = linter_class(view, syntax)
  File "/Users/max/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/node_linter.py", line 55, in __init__
    self.read_manifest(path.getmtime(self.manifest_path))
  File "/Users/max/Library/Application Support/Sublime Text 3/Packages/SublimeLinter/lint/node_linter.py", line 226, in read_manifest
    self.cached_manifest = json.load(open(self.manifest_path))
  File "./json/__init__.py", line 274, in load
  File "./json/__init__.py", line 319, in loads
  File "./json/decoder.py", line 352, in decode
  File "./json/decoder.py", line 368, in raw_decode
  File "./json/scanner.py", line 40, in _scan_once
  File "./json/decoder.py", line 244, in JSONArray
ValueError: Expecting object: line 1 column 2 (char 1)
SublimeLinter: found existing HTML syntax, version 3
Emmet: No need to update PyV8
SublimeLinter: found existing Rails syntax, version 1
Package Control: Skipping automatic upgrade, last run at 2015-02-23 10:25:44, next run at 2015-02-23 11:25:44 or after

Sublime Linter, sublime linter eslint, OSX 10.10.2

Find file with bug, but if I copy all content to the new view, validation works right!

Glad you figured it out! This issue is resolved, right?

One question left: why linter try to parse package.json in parent folder?

It is part of the NodeLInter class, it a feature that allows the linter executable called to be in the local node_modules directory instead of installed globally.


Policy-based data structures in g++

Submission Title
Policy based data structures
Submission Type
Data Structure
Submission Description
The g++ compiler also adds support for some special data structures that are not in C++ programming language standard library. These are known as policy-based data structures.
The policy-based data structures provide the programmer a high-performance, semantic safety and flexibility as compared to the standard data structures of C++ std library.
To include these data structures to your program, the following lines should be added,
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>

using namespace __gnu_pbds;

Folder Related To
Data_Structures => Policy_Based => Filename.extension
Contributors

[ ]  C++ -

@ahampriyanshu i would like to contribute


file path can't be sent as argument

[Enter feedback here]
any reason why we can not pass the file path from command line ?

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

ID: 18f57035-1294-47a4-5750-1bd513c2bf03
Version Independent ID: 748218b2-a857-3bb9-9b9e-13dca59dd977
Content: Bicep functions - files - Azure Resource Manager
Content Source: articles/azure-resource-manager/bicep/bicep-functions-files.md
Service: azure-resource-manager
Sub-service: bicep
GitHub Login: @mumian
Microsoft Alias: jgao

@ehsan1503 - the file is loaded when the Bicep file is compiled to a JSON template, which is prior to parameters being provided. The compiler needs to resolve the file path.
#please-close


fix bool parsing from prompt and flag

Signed-off-by: David Chung<EMAIL_ADDRESS>

Please sign your commits following these rules:
https://github.com/docker/docker/blob/master/CONTRIBUTING.md#sign-your-work
The easiest way to do this is to amend the last commit:
$ git clone -b "resource-plugin" git@github.com:chungers/infrakit.git somewhere
$ cd somewhere
$ git rebase -i HEAD~842353993224
editor opens
change each 'pick' to 'edit'
save the file and quit
$ git commit --amend -s --no-edit
$ git rebase --continue # and repeat the amend for each commit
$ git push -f

Amending updates the existing PR. You DO NOT need to open a new one.


Enable weekly testing of ACR SDK in national clouds

Fixes https://github.com/azure/azure-sdk-for-net/issues/21556

Addressing this in PR https://github.com/Azure/azure-sdk-for-net/pull/23141 instead.


How start and stop with javascript?

Hi,
I'm trying to start and stop this adapter on sunrise and sunset, but having some issues.
`// Start an adapter instance at sunrise
schedule({astro: "sunrise"}, function () {
setState("system.adapter.solarmanpv.0.enabled", true);
});
// Stop an adapter instance at sunset
schedule({astro: "sunset"}, function () {
setState("system.adapter.solarmanpv.0.enabled", false);
});
`
Is there another state that will do what I want?

If you really want the adapter to be stopped/started by a Javascript, you can use this sequence:
const obj = getObject("system.adapter.solarmanpv.0"); obj.common.enabled = false;     // Adapter ausschalten //obj.common.enabled = true;      // Adapter einschalten setObject("system.adapter.solarmanpv.0", obj);


Error in requirements.txt 2 repost

reposting because no one is answering me
what i tried:changed tensorflow=1.12.2 to tensorflow=1.12.0rc1
changing python version from latest to 3.6.8
Could not find a version that satisfies the requirement tensorflow==1.13.0rc1 (from -r requirements.txt (line 32)) (from versions: ) No matching distribution found for tensorflow==1.13.0rc1 (from -r requirements.txt (line 32))

I know right? I tried every version so far, I'm running python 3.7.3 with all the files in the requirements.txt file still not working, sorry bc I can't help you...


Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException : One or more compilation failures occurred

For this error, I have tried multiple solutions which is provided by Github. But, none of them worked. Please help to check whether this issue reopen on new environment like below.
Environment:
VS 2017 Version 15.4.1
Dotnet Version 2.0.2
Reproduce Steps:

Create an Asp.Net Core Web Application->.NET Core and Asp.net Core 2.0-> Web Application(Model-View-Controller)
Create an xUnit Test Project(.NET Core)
Follow this link Integration testing in ASP.NET Core
Add true to Test.csproj which is pointed at above link.
Run test method will return below error.

Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException : One or more compilation failures occurred:
ewiqttdv.z4g(4,62): error CS0012: The type 'Attribute' is defined in an assembly that is not referenced. You must add a reference to assembly 'netstandard, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51'.

Update:
After following this suggestion , this error gone, but, it produce below new error.

Message: System.IO.FileNotFoundException : Could not load file or assembly 'Microsoft.VisualStudio.Web.CodeGeneration, Culture=neutral, PublicKeyToken=null'. The system cannot find the file specified.

What is the possible way to resolve "Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException"?
Any help would be appreciated.

@javiercn Any thoughts on this?

There are additional things that you need to do for testing MVC applications:

Disable shadow copying in your test application.
Copy the deps file of your application to the test project output folder.
Set the content root of your webhostbuilder to point to your web application instead of to your test project output folder.

@javiercn is there a wiki or doc for this? We get enough people asking for it.

@Tratcher We have a package for it, but its for the next release :). I'll see if I get some detailed instructions for this written we can point people to, but it's low priority.

I wrote a complete sample and blog post on how to do this:
The blog post is here:
https://blogs.msdn.microsoft.com/webdev/2017/12/07/testing-asp-net-core-mvc-web-apps-in-memory/
The sample is here:
https://github.com/aspnet/samples/tree/master/samples/aspnetcore/mvc/testing/TestingMVC
It's important to note that you need to run the tests using either Visual Studio or dotnet test. There are some issues that we are investigating regarding running the tests with dotnet xunit at the time.
If you still have problems after this, feel free to reopen the issue.

@javiercn please file a doc bug to pull in your blog post content.

@Tratcher https://github.com/aspnet/Docs/issues/4943