No way to use image in Adaptive Card without direct URL to the image ?

Platform
What platform is your issue or question related to? (Delete other platforms).
Nodejs
host
Are you an author (like sending something to Outlook), or a host that is rendering your own cards?
Version of SDK
Bot builder v3
Issue
I would like to use user's profile image from MS graph in adaptive card. I have determined the API call I need to make is as follows
https://developer.microsoft.com/en-us/graph/docs/api-reference/beta/api/profilephoto_get
In this case I would be getting image as a binary data for a profile photo, that needs to converted into a base-64 string.
But, based on adaptive cards schema document looks like we should use URL property where value should be direct URL to the image
'url  string Yes	The URL to the image'
How should I approach this ? If there any way to use an IMAGE in Adaptive Card w/o direct URL to the image ??

Data URIs are already supported by the nodejs Adaptive Card renderer. Have you tried using them?

@dclaux , I haven't tried them. Is there any example usage you can point me to to refer ? That will be helpful.
From MS graph documentation this what they mention
'When you use the /photo/$value endpoint to get the binary data for a profile photo, you'll need to convert the data into a base-64 string in order to add it as an email attachment. An example in JavaScript of how to create an array that you can pass as the value of the Attachments parameter of an Outlook Message.'

Have you followed the link l posted above? There are samples there. Here is a data URI from that page used in an Adaptive Card, try it in the designer:
{
    "type": "AdaptiveCard",
    "body": [
        {
            "type": "Image",
            "style": "Person",
            "url": "data:image/png;base64,iVBORw0KGgoAAA ANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4 //8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU 5ErkJggg==",
            "size": "Small"
        }
    ],
    "$schema": "http://adaptivecards.io/schemas/adaptive-card.json",
    "version": "1.0"
}


better rain values

Hi, actually the adapter shows only e.g. 1mm or 2mm of rain expected in hour xy. It would be great to get a better resolution and one decimal place added. So values like 0.3mm, 0.9mm or 1.4mm could be seen.
It is seldom that more than 1mm rain occurs during one hour, but often smaller amounts are expected. At the moment it looks like DasWetter shows e.g. 8mm rain for today, but all hourly values are just 0mm (originally at their website they show up as 0.5 or 0.8mm and sum up to 8mm in total). I mean these values: daswetter.0.NextHours.Location_1.Day_1.Hour_1.rain_value
Thank you!

Hi there
fully support this!
I even would say it is more of a bug than an enhancement ;-)
Value from used xml file:

Value within ioBroker DasWetter adapter:

I found this german thread regarding the issue: https://forum.iobroker.net/topic/37501/daswetter-adapter-zeigt-regen-0mm
DasWetter version 3.0.3

The german thread is mine ;-)
I first thought it‘s just my fault again and I did something wrong in ioBroker somewhere...

Wow Dude, that was fast :-D Thanks a lot!
Too many Elvises here ;-) :-D


Change default language

🚀 Feature
It would be great if it was possible to mince the language automatically depending on the language set by the user in the browser.
Motivation
Otherwise, there is a drain of the audience environment. Maybe I don’t know something, and it can be done now?

Docusaurus builds a static website. The page language is hard-coded in the final html file.
If you want to build a site for multiple languages, and change the default language, you can.
Everything else is possible but it's out of the scope of Docusaurus. You can define server redirects on your host provider according to cookies and headers send by the user. It's not something that can be configured by Docusaurus in a generic way, as each host has its specificities


Test won't stop after Thread Group Duration Time if a Thread is added via Live Changes

Scenario:
Simple thread group with a debug sampler. Two users to start with a duration of 120 seconds. Once the test has started for a little bit I use Postman to increase the total thread count to 3.

Once the original two threads finish two more threads are started (with no intervention on my part). If I don't manually shut down the test then more and more threads will be created.
Below are the Jmeter logs
2022-07-13 16:04:36,287 INFO i.g.d.j.c.l.a.App: Exposed API on port 7566
2022-07-13 16:04:36,288 INFO o.a.j.g.u.JMeterMenuBar: setRunning(true, *local*)
2022-07-13 16:04:36,358 INFO o.a.j.e.StandardJMeterEngine: Starting ThreadGroup: 1 : Thread Group
2022-07-13 16:04:36,366 INFO o.a.j.e.StandardJMeterEngine: Starting 2 threads for group Thread Group.
2022-07-13 16:04:36,370 INFO o.a.j.e.StandardJMeterEngine: Thread will continue on error
2022-07-13 16:04:36,373 INFO o.a.j.t.ThreadGroup: Starting thread group... number=1 threads=2 ramp-up=1 delayedStart=false
2022-07-13 16:04:36,409 INFO o.a.j.t.ThreadGroup: Started thread group number 1
2022-07-13 16:04:36,410 INFO o.a.j.e.StandardJMeterEngine: All thread groups have been started
2022-07-13 16:04:36,410 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-1
2022-07-13 16:04:36,889 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-2
2022-07-13 16:04:36,937 INFO o.a.j.s.SampleResult: Note: Sample TimeStamps are START times
2022-07-13 16:04:36,937 INFO o.a.j.s.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2022-07-13 16:04:36,937 INFO o.a.j.s.SampleResult: sampleresult.useNanoTime=true
2022-07-13 16:04:36,937 INFO o.a.j.s.SampleResult: sampleresult.nanoThreadSleep=5000
2022-07-13 16:04:58,609 INFO o.a.j.t.ThreadGroup: Started new thread in group 1
2022-07-13 16:04:58,610 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-3
2022-07-13 16:06:36,033 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-1
2022-07-13 16:06:36,038 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-2
2022-07-13 16:06:36,544 INFO o.a.j.t.ThreadGroup: Started new thread in group 1
2022-07-13 16:06:36,546 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-4
2022-07-13 16:06:36,546 INFO o.a.j.t.ThreadGroup: Started new thread in group 1
2022-07-13 16:06:36,546 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-5
2022-07-13 16:06:40,260 INFO o.a.j.g.a.Start: Shutting test down
2022-07-13 16:06:40,330 INFO o.a.j.t.JMeterThread: Stopping: Thread Group 1-3
2022-07-13 16:06:40,330 INFO o.a.j.t.JMeterThread: Stopping: Thread Group 1-5
2022-07-13 16:06:40,330 INFO o.a.j.t.JMeterThread: Stopping: Thread Group 1-4
2022-07-13 16:06:40,588 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-3
2022-07-13 16:06:40,598 INFO o.a.j.t.ThreadGroup: Started new thread in group 1
2022-07-13 16:06:40,598 INFO o.a.j.t.ThreadGroup: Started new thread in group 1
2022-07-13 16:06:40,598 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-6
2022-07-13 16:06:40,598 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-5
2022-07-13 16:06:40,598 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-4
2022-07-13 16:06:40,598 INFO o.a.j.t.JMeterThread: Thread started: Thread Group 1-7
2022-07-13 16:06:51,220 INFO o.a.j.g.a.Start: Shutting test down
2022-07-13 16:06:55,866 INFO o.a.j.g.a.Start: Stopping test
2022-07-13 16:06:55,902 INFO o.a.j.t.JMeterThread: Stopping: Thread Group 1-6
2022-07-13 16:06:55,902 INFO o.a.j.t.JMeterThread: Stopping: Thread Group 1-7
2022-07-13 16:06:55,903 WARN o.a.j.t.JMeterThread: The delay timer was interrupted - probably did not wait as long as intended.
2022-07-13 16:06:55,903 WARN o.a.j.t.JMeterThread: The delay timer was interrupted - probably did not wait as long as intended.
2022-07-13 16:06:55,904 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-6
2022-07-13 16:06:55,904 INFO o.a.j.t.JMeterThread: Thread finished: Thread Group 1-7
2022-07-13 16:06:55,905 INFO o.a.j.e.StandardJMeterEngine: Notifying test listeners of end of test
2022-07-13 16:06:55,932 INFO o.e.j.s.AbstractConnector: Stopped<EMAIL_ADDRESS>(http/1.1)}{<IP_ADDRESS>:7566}
2022-07-13 16:06:55,957 INFO o.e.j.s.h.ContextHandler: Stopped o.e.j.s.ServletContextHandler@58ecb3cf{/,null,STOPPED}
2022-07-13 16:06:55,962 INFO i.g.d.j.c.l.LiveChanges: LiveChanges API was successfully stopped.
2022-07-13 16:06:55,963 INFO o.a.j.g.u.JMeterMenuBar: setRunning(false, *local*)

I think this has to do with the way the thread count change request tracked: once activeThreads is set to say 3 and one of the original threads stop the LiveChanges.checkForThreadChanges method will try to start a new thread to match the activeThreads count.
You'd have to track incoming change requests in a different way, maybe with a HashMap<String, Queue>.

That'd be lovely!


Navigator and updating data

Hi,
Updating a highstock graph data with the navigator results in no graph being displayed. Clicking on the range selector brings the data back.
Removing the navigator from the graph also resolves the issue.

I worked around this by implementing a custom component and calling setExtremes()
componentDidUpdate(prevProps) {
    if (!isEqual(prevProps, this.props)) {
        for (let series of this.props.getChart().series) {
            series.xAxis.setExtremes();
        }

@georgiopandarez Can you please share your workaround? Tnx!

Closing as stale, happy to reopen if someone can provide a StackBlitz/CodeSandbox demonstrating issue.


Double click right & middle buttons

When I double click left button icon shows two arcs indicating the action but there's no similar behaviour when I double click right or middle button.
I don't know if I'm missing something or it's the regular behaviour.

Regular behavior, I did not implement that (and have no Intention to do so currently)


MSVC2017, 15.5 new issues.

yesterday 2017.12.05  using MSVC2017, 15.4.4   was compiling v.2.1.1 fine.
today, upgraded to MSVC2017 15.5..  now v2.1.1 has lots of std::allocator warnings/errors.

Related: #856

if you aren't going to make the changes MS suggest for reasons of other-compiler compatibility, then at least add the #define the error suggests to suppress the warning.

What is Microsoft suggesting? I am not using MSVC myself, so I am surprised that existing code would break with a new MSVC version.

#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
if you wanted to add  #if _MSC_VER >= 1912  around that too, it might help readers to understand when/if/what it's for.

Is this relevant unless you choose C++17 as standard? Did you try whether the code of #856 still exhibits these warnings?

I am compiling with C++17, i imagine a lot of people now do.  after adding
#define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING
all warnings/errors  have gone; and v.2.1.1 compiles without error again.
i don't see a reason not to add this #define, it's clearly something that will need to be addressed eventually. it breaks builds without it.  it's a C++17 issue, not a MS specific one, it's just co-incidence the first compiler to deprecate it is the MS one.  By adding this define i don't think you are hiding a bug, just a valid deprecation warning.

If I understand correctly, #856 is addressing these warnings by solving them instead of defining away the deprecation warnings.

I think it is attempting that,  but if that fails to work because it's introducing features only supported in C++17 then that would break your C++11 support?!    Aren't you trying to support C++11 still?   are the proposed std::allocator_traits a supported C++11 feature?!
if the patch can not be applied because of breaking changes, then the #define _SILENCE_CXX17_OLD_ALLOC..  would allow the old code to continue to work, AND allow modern compilation to succeed.

@aj664 Could you check whether #856 fixes the warnings? Alternatively, could you post the error/warning messages you mentioned in your report?

(#856 is merged, so could someone check the develop branch with MSVC2017?)

I can confirm that #856 fixes the following warning in Visual Studio 2017 version 15.5:

warning STL4010: Various members of std::allocator are deprecated in C++17. Use std::allocator_traits instead of accessing these members directly. You can define _SILENCE_CXX17_OLD_ALLOCATOR_MEMBERS_DEPRECATION_WARNING or _SILENCE_ALL_CXX17_DEPRECATION_WARNINGS to acknowledge that you have received this warning.

I get a couple of these with v2.1.1, but the develop branch is fine.

Thanks a lot!


Doorbell isn’t Ringing on Homepods

I have multiple HomePods and a Nuki Opener which is connected over Nuki Bridge and Homebridge.
Everything is updated to newest version (Homebridge, NB plugin, HomePods {15.3})
In eve app i can see Doorbell is enabled and gets an new timestamp on Last Updated if someone is ringing. But the HomePods aren’t ringing.
If I tap on the endabled switch my Homebridge log says:
[28/01/2022, 12:05:09] [Nuki] Flur Opener: Enabled changed from true to false
[28/01/2022, 12:06:43] [Nuki] Flur Opener: Enabled changed from false to true
In my home app under settings/doorbell i also can’t see the Nuki opener.
Please help ;) i loved this feature

If Last Updated is updated and the button bounces in Eve, Homebridge NB is doing what it's supposed to do
I didn't get a notification on my Apple devices either when my doorbell rang yesterday.  I didn't look into it, but now I fear this might be a "feature" of iOS 15.3.  Like the Volume and Microphone services, Apple seems to support Doorbell only on video doorbell accessories.  Even before iOS 15.3, you weren't able to attach an action to Doorbell button in Home, but at least you got notifications.
I'm not sure if I can fix the Doorbell.  Documentation is severely lacking; I would need to try several combinations of accessories and services for the Opener, hoping that one will re-introduce the notifications.  I don't hold high hopes that this would succeed.
Exposing a video doorbell with a blank image seems a bit too much for my taste, assuming I would get that to work in the first place.  I haven't messed with HomeKit cameras nor video doorbells before.  I think HomeKit links a motion sensor to a video doorbell, if they're in the same room; maybe putting the Opener in the same room as a camera or video doorbell would do the trick.
I could "unlock" the Lock Mechanism service for the Opener when the bell rings, so you'd get a notification (although semantically weird) on your other Apple devices, but not on your HomePod.

Thanks for your quick reply.
I get an notification that the bell was ringed (sometimes, today once)
My opener is in a room where a camera, some motion sensors and a presence sensor are.
Apple says in their help that if you have a doorbell every homepod has a switch for doorbell ringing.
It would be very cool if you can reactivate this feature but I understand that this would be a bunch of work.
Otherwise
Thank you for your work and your great plugin!

Just got a notification on my Mac, iPad, and iPhone (all on latest OS) that the doorbell rang.  Wasn't near my HomePod, so couldn't check that.  Maybe just a hiccup in iCloud, handling the push notifications?

Had a similar issue a couple of weeks ago after moving the HomePods to a new wifi. Notifications on the phones were incoming for the doorbell, but HomePods did not ring.
A few days later HomePods started ringing again without me touching anything.

My HomePod mini is ringing once again.  As far as I cal tell, it was just a hiccup in iCloud.


chore: include full build in stdlib benchmark

!bench

!bench

!bench

!bench

!bench

!bench


Translate English to Korean (Configuration XML)

Translate Configuration XML (defaultSqlProviderType)
English to Korean

Coverage remained the same at 87.158% when pulling 6d3af75c6433adb545a1288f7d12db04bef353d0 on sjsh1623:master into f66e19ea41e6f3d2679f003c2d14c5706a344eba on mybatis:master.

Thank you, @sjsh1623 !


Create PostGIS function to merge two paths

Since QGis feature cannot be used (#1212), we should start by writing a small function merge_paths(id1, id2), that will :
#. Enlarge the first one
#. Move the topologies from the second one to the first one
#. Delete the second one
Later, we could imagine some menus in the UI...

Fixed in 2.4.0


Expanding storio-sample-app with tweet editing + some bug fixing in 'samples'

I tried to fix some minor bugs in samples and expanded storio-sample-app so one can see how works observables.

Hmm, wtf with travis-ci?
"java.lang.RuntimeException: build/intermediates/manifests/full/debug/AndroidManifest.xml not found or not a file; it should point to your project's AndroidManifest.xml"
Donno, why. It all could not happened...

I guess it is related to gradle 2.2 https://github.com/robolectric/robolectric/pull/2673


Fix toggle language behavior, some CSS updates

Fixes https://github.com/microsoft/pxt-arcade/issues/2505
Fixes https://github.com/microsoft/pxt-arcade/issues/2499
CSS pass for https://github.com/microsoft/pxt-arcade/issues/2478

(Darker one is hover behavior)

@soniakandah would love any feedback you have for modal design!

@shakao I think this looks great!

@jwunderl i'll take a look! yeah tbh i would love to ditch and rewrite the toggle styles completely, the current system is not very extensible or configurable... it might not be too hard, i think we could do it just by scrapping all current CSS and using classes based on the toggle position (first/second/etc) instead of specific editors

@jwunderl microbit toggle isn't fixed by this change, feel free to file it--i'm gonna take a quick look at the toggle and see how much work i'd be to tidy up the css!

This looks great. Thank you @shakao


cache date formatter for creating only once. For performance improvem…

…ent.
Checklist

[ ] New Extension
[ ] New Test
[ ] Changed more than one extension, but all changes are related
[ ] Trivial change (doesn't require changelog)

          5 Errors

:no_entry_sign:
Making non-trivial change requires changelog entry! Please, set trivial change or add entry to changelog.

:no_entry_sign:
EZSwiftExtensionsTest.DateTests: testDateToString, XCTAssertEqual failed: (“1970-01-01T00:00:00+00:00”) is not equal to (“1970-01-01T07:30:00+07:30”) -    EZSwiftExtensionsTests/DateTests.swift#L81

:no_entry_sign:
EZSwiftExtensionsTest.DateTests: testWeekDay, XCTAssertEqual failed: (“Sunday”) is not equal to (“Saturday”) -    EZSwiftExtensionsTests/DateTests.swift#L307

:no_entry_sign:
EZSwiftExtensionsTests.DateTests: testDateToString, XCTAssertEqual failed: (“1970-01-01T00:00:00+00:00”) is not equal to (“1970-01-01T07:30:00+07:30”) -    EZSwiftExtensionsTests/DateTests.swift#L81

:no_entry_sign:
EZSwiftExtensionsTests.DateTests: testWeekDay, XCTAssertEqual failed: (“Sunday”) is not equal to (“Saturday”) -    EZSwiftExtensionsTests/DateTests.swift#L307

          2 Messages

:book:
Executed 204 tests, with 2 failures (0 unexpected) in 4.994 (5.246) seconds

:book:
Executed 126 tests, with 2 failures (0 unexpected) in 3.829 (3.957) seconds

  Generated by :no_entry_sign: Danger


x/net/trace: use std context package

Can we have context here https://github.com/golang/net/blob/master/trace/trace.go#L80?
This https://github.com/golang/time/commit/c06e80d9300e4443158a03817b8a8cb37d230320 happened. Would the same change in trace break anything?
It's one of our sub-dependency and would like to know when this would happen :)
Thanks in advance!

This is a cascading problem.  grpc-go is now broken since this package is a dependency of ours and we support Go 1.6.  We are blocked on deprecating 1.6 and updating our imports until generated proto files use the standard context package.   AppEngine only supports Go1.6, so I believe the proto compiler can't be changed until that is updated.
Is it possible to revert these context changes and hold off on them until Go1.6 is less widely used?

@dfawley, where is the grpc-go breakage? Got some URLs?

Our tests only run on PRs and merges, so the main page doesn't show this breakage.  Here's an example from an in-progress PR:
https://travis-ci.org/grpc/grpc-go/jobs/224274230#L215

+1 on being affected by breakage. This breaks Google Cloud client libraries using gRPC on App Engine standard, which is stuck on Go 1.6.

It's been 14 months since Go 1.6. App Engine can't get another release out? Is that really what this is all about?
Go's policy is that we only test and maintain the past two releases. I could add some build tag chicanery into x/net/trace, but our builders aren't testing 1.6 anymore. I don't want to revert the change. We want to make forward progress on cleanups and other people want us to use std context.
Let me see what I can do.

https://go-review.googlesource.com/c/41413/

yak, getting this error now after this change .
golang.org/x/net/trace/trace.go:67: can't find import: "context"


Adding a front-end project: CARZILLA [gssoc'23]

Title and Issue number
Front- end Project: CARZILLA [gssoc'23]
Please add the tag of gssoc'23.

Close #2013

https://github.com/pranjay-poddar/Dev-Geeks/assets/111726483/7d7445fb-32a9-43ec-bb64-590bffd542d6
Checklist:

[X] I have mentioned the issue number in my Pull Request.
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have created a helpful and easy to understand README.md

I created a PR before but I got review to change somethings in it, this is updated version of that PR #2053

@MohitGupta121 @pranjay-poddar please review this PR


Infrastructure Page

Please NOTE - This pull request builds upon ALL previous pull requests made.  All pull requests should be merged in order.
This PR focuses on

adding the content for the infrastructure page
js added in for https://github.com/m-lab/m-lab.github.io/pull/17 was breaking subnav functionality using pushstate.  I removed this as I saw a lot of funky behavior with the subnav on the current site.  If pushstate is absolutely desired for the navigation, we can revisit.  Most of the pages are loading pretty quickly, so not sure it is completely necessary in this circumstance.  If it is desired, I think it would be easier to work from a js file that wasn't modified if possible.

@shredtechular LGTM except that we should add the subnav back in. If that's through a new js file, great. I'll go ahead with merging the outstanding PRs as is, and you can add the subnav in an upcoming PR.


HEVC: add missing parsing of some multilayer SPS elements

I have a few multiview samples generated by either iPhone or Apple's authoring tools, and for all of them i get the following:
Conformance errors                       : 1
 HEVC                                    : Yes
  General compliance                     : Bitstream parsing ran out of data to read before the end of the syntax was reached, most probably the bitstream is malformed  (offset 0xDEADBEEF)
Codec configuration box                  : hvcC+lhvC

In both cases, the offset reported is the start of whatever box follows the lhvC one, so it was clear there were LHEVCDecoderConfigurationRecord parsing related issues.
Looking into it i found one problem parsing SPS when nuh_layer_id > 0 and one when MultiLayerExtSpsFlag is true (nuh_layer_id > 0 && sps_ext_or_max_sub_layers_minus1 == 7), both of which i'm fixing in this PR, as the LHEVCDecoderConfigurationRecord itself seems to be ok.
Only the latter is enough to fix parsing the samples i have, but i'm including the other as well to ensure correct parsing for all files. You can check the syntax i'm fixing in section F.<IP_ADDRESS>.1 of ITU-T H.265

Thank you for the patch.

I have a few multiview samples generated by either iPhone or Apple's authoring tools

Can you share one?
The files I received don't show this issue.

Yes, here: https://github.com/MediaArea/MediaInfoLib/assets/2442845/48c2a34d-1924-496f-915a-8f3db28d6ada

Thank you!


Ubuntu 24.04 LTS

During installation I'm getting errors during pip upgrade. Can't install or run howdy.

Facing the same issue regarding Ubuntu 24.04 as installation worked on Linux Mint 21.3 and Tuxedo OS. The problem seems to lie with pip

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
python3-xyz, where xyz is the package you are trying to
install.

Same, I went further trying the 2 solutions mentioned in this thread but got stuck in 2 different ways. I stopped at sudo howdy add giving me RuntimeError: Unsupported image type, must be 8bit gray or RGB image. after spending an hour in the dlib and OpenCV source code trying to find a solution to feed the correct format from OpenCV to dlib. Someone better than me could maybe give it a shot.

In the end I still get howdy: command not found no matter what. I am also a beginner to Linux so I can't really come up with any other solutions/workarounds.

It just means "howdy" is not in your path, but yeah, you'll likely get the same issues as I did once you get past that. The bottom line is Howdy is broken on Ubuntu 24.04.

I got it working with the following steps. Note that it requires editing some files owned by the howdy package.
Now, I only just now got sudo howdy test to work, so I'm not promising it's a full fix, since I haven't really tested it well yet.

Install howdy as per installation instructions. It will fail but that's ok.

Install dependencies

sudo apt install python3-numpy python3-opencv

# Unsure if libdlib-dev is actually required but should help with compiling dlib.
sudo apt install libdlib-dev

Edit /var/lib/dpkg/info/howdy.postinst to disable the pip installs. There's three of them, one a bit further down. Add a # at beginning of the line to comment out.

#handleStatus(sc(["pip3", "install", "--upgrade", "pip"]))
#handleStatus(subprocess.call(["pip3", "install", "--upgrade", "numpy"]))
#handleStatus(subprocess.call(["pip3", "install", "--no-cache-dir", "opencv-python"]))

Edit /var/lib/dpkg/info/howdy.postinst again to also change the dlib version. v19.16 doesn't work with Python 3.12, that Ubuntu 24.04 comes with. I tried the currently latest version, v19.24.6, which worked. Look for and edit these two lines.

Before:
dlib_archive = "/tmp/v19.16.tar.gz"
cmd = LOADER_CMD + [dlib_archive, "https://github.com/davisking/dlib/archive/v19.16.tar.gz"]

After:
dlib_archive = "/tmp/v19.24.6.tar.gz"
cmd = LOADER_CMD + [dlib_archive, "https://github.com/davisking/dlib/archive/v19.24.6.tar.gz"]

Re-run the preinstall script to repick the device etc.

sudo /var/lib/dpkg/info/howdy.preinst install

Re-run the postinst script.

sudo /var/lib/dpkg/info/howdy.postinst configure

Same error here when installing in Ubuntu 24.04 from the boltgolt/howdy PPA. this is the full error:
/var/lib/dpkg/info/howdy.postinst:145: SyntaxWarning: invalid escape sequence '\w'
  "davisking-dlib-\w+/(dlib/(http_client|java|matlab|test/)|"

>>> Upgrading pip to the latest version

error: externally-managed-environment

× This environment is externally managed
╰─> To install Python packages system-wide, try apt install
    python3-xyz, where xyz is the package you are trying to
    install.

    If you wish to install a non-Debian-packaged Python package,
    create a virtual environment using python3 -m venv path/to/venv.
    Then use path/to/venv/bin/python and path/to/venv/bin/pip. Make
    sure you have python3-full installed.

    If you wish to install a non-Debian packaged Python application,
    it may be easiest to use pipx install xyz, which will manage a
    virtual environment for you. Make sure you have pipx installed.

    See /usr/share/doc/python3.12/README.venv for more information.

note: If you believe this is a mistake, please contact your Python installation or OS distribution provider. You can ov
erride this, at the risk of breaking your Python installation or OS, by passing --break-system-packages.
hint: See PEP 668 for the detailed specification.

A quick and dirty fix might be to use the --break-system-packages flag with pip3 in the installer's post-install script.
I think a proper solution would be to use a virtual environment instead of use the sytem environment for installing the dependencies and executing howdy

It looks like the beta branch has some changes to the Debian package that might fix the issue. It seems like it now installs the dependencies using system packages instead of pip

Edit: Unfortunately the pam.py file included in howdy requires Python 2.7, which isn't what's used by pam in 24.04 as far as I can tell. So while this makes sudo howdy test work, it still doesn't work to authenticate.
I got it working with the following steps. Note that it requires editing some files owned by the howdy package.
Now, I only just now got sudo howdy test to work, so I'm not promising it's a full fix, since I haven't really tested it well yet.

Install howdy as per installation instructions. It will fail but that's ok.
Install dependencies

sudo apt install python3-numpy python3-opencv

# Unsure if libdlib-dev is actually required but should help with compiling dlib.
sudo apt install libdlib-dev

Edit /var/lib/dpkg/info/howdy.postinst to disable the pip installs. There's three of them, one a bit further down. Add a # at beginning of the line to comment out.

#handleStatus(sc(["pip3", "install", "--upgrade", "pip"]))
#handleStatus(subprocess.call(["pip3", "install", "--upgrade", "numpy"]))
#handleStatus(subprocess.call(["pip3", "install", "--no-cache-dir", "opencv-python"]))

Edit /var/lib/dpkg/info/howdy.postinst again to also change the dlib version. v19.16 doesn't work with Python 3.12, that Ubuntu 24.04 comes with. I tried the currently latest version, v19.24.6, which worked. Look for and edit these two lines.

Before:
dlib_archive = "/tmp/v19.16.tar.gz"
cmd = LOADER_CMD + [dlib_archive, "https://github.com/davisking/dlib/archive/v19.16.tar.gz"]

After:
dlib_archive = "/tmp/v19.24.6.tar.gz"
cmd = LOADER_CMD + [dlib_archive, "https://github.com/davisking/dlib/archive/v19.24.6.tar.gz"]

Re-run the preinstall script to repick the device etc.

sudo /var/lib/dpkg/info/howdy.preinst install

Re-run the postinst script.

sudo /var/lib/dpkg/info/howdy.postinst configure

i managed to get it to work using your solution but as a test only as you said , Have you found any other solutions

Edit: Unfortunately the pam.py file included in howdy requires Python 2.7, which isn't what's used by pam in 24.04 as far as I can tell. So while this makes sudo howdy test work, it still doesn't work to authenticate.
I got it working with the following steps. Note that it requires editing some files owned by the howdy package.
Now, I only just now got sudo howdy test to work, so I'm not promising it's a full fix, since I haven't really tested it well yet.
1. Install howdy as per installation instructions. It will fail but that's ok.

2. Install dependencies

sudo apt install python3-numpy python3-opencv

# Unsure if libdlib-dev is actually required but should help with compiling dlib.
sudo apt install libdlib-dev

3. Edit /var/lib/dpkg/info/howdy.postinst to disable the pip installs. There's three of them, one a bit further down. Add a # at beginning of the line to comment out.

#handleStatus(sc(["pip3", "install", "--upgrade", "pip"]))
#handleStatus(subprocess.call(["pip3", "install", "--upgrade", "numpy"]))
#handleStatus(subprocess.call(["pip3", "install", "--no-cache-dir", "opencv-python"]))

4. Edit /var/lib/dpkg/info/howdy.postinst again to also change the dlib version. v19.16 doesn't work with Python 3.12, that Ubuntu 24.04 comes with. I tried the currently latest version, v19.24.6, which worked. Look for and edit these two lines.

Before:
dlib_archive = "/tmp/v19.16.tar.gz"
cmd = LOADER_CMD + [dlib_archive, "https://github.com/davisking/dlib/archive/v19.16.tar.gz"]

After:
dlib_archive = "/tmp/v19.24.6.tar.gz"
cmd = LOADER_CMD + [dlib_archive, "https://github.com/davisking/dlib/archive/v19.24.6.tar.gz"]

6. Re-run the preinstall script to repick the device etc.

sudo /var/lib/dpkg/info/howdy.preinst install

7. Re-run the postinst script.

sudo /var/lib/dpkg/info/howdy.postinst configure

Check the log(cat /var/log/auth.log),and you might find that module ConfigParser.py has something wrong .Actually,after Python 3.x version, ConfigParser.py has been renamed to configparser.py.
So just edit      /usr/lib/security/howdy/pam.py

import sys    #Don't forget to import sys!
--
# The config parser is named in python2 as ConfigParser but in python3 as configparser
# and here is a workaround for this.
if sys.version_info[0] == 2:
import ConfigParser
config = ConfigParser.ConfigParser()
else:
import configparser
config = configparser.ConfigParser()

# Read config from disk
config.read(os.path.dirname(os.path.abspath(__file__)) + "/config.ini")

I found it on https://blog.csdn.net/2303_79553403/article/details/140281740  ,hope that it can help you  : )


Adding graylog configuration

Adding Graylog services to docker compose and configuring the controls containers to redirect logs using the GELF driver.
This approach just lumps the Graylog services (an extra mongo DB, elasticsearch and graylog containers) into the same docker compose file. If this becomes too unwieldy we could also consider splitting the graylog part into a separate compose file which can be kept running the in background as infrastructure... Thoughts, @8ryn ?
Closes #9

In the end I split the graylog configuration into a separate compose file. Then the logging services can be started independently of the simulation/control/daq services. The workflow to start up everything then becomes:

First start logging services: docker compose -f graylog-compose.yml up -d
Then start the controls environment: docker compose up -d
Work on code, restart controls environment or individual services (docker restart <container>) - and all service logs appears in graylog.


Use  element for the document properties modal

It has been recently released in Firefox:
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog
and it's available in Safari too:
https://webkit.org/blog/12445/new-webkit-features-in-safari-15-4/

Looking at https://developer.mozilla.org/en-US/docs/Web/HTML/Element/dialog#browser_compatibility, we probably need to wait a little while longer since we try and keep the GENERIC PDF.js library/viewer compatible with at least the current Firefox ESR version; please note https://github.com/mozilla/pdf.js/wiki/Frequently-Asked-Questions#faq-support
Also, we really should be updating all of the overlays then (e.g. the PasswordPrompt as well) and not just the PDFDocumentProperties one.

Based on some quick tests, replacing our custom-overlays with <dialog> elements seems to mostly work just fine (although it will require some refactoring).
The only thing that didn't "just work" is the horizontal/vertical centering of the <dialog>s, since they end up at the top-left corner of the window, and I don't really understand why!?

@Snuffleupagus, would you mind to push what you did in order to try to figure out what's wrong with the positioning ?

I was, perhaps naively, assuming that by default the <dialog> elements would be centered automatically, since that's how all of the examples I found online seemed worked (although most of those were quite small/simple).
I also tried to replicate our old centering CSS, but that didn't seem to help in either when testing in both Firefox and Chrome.

would you mind to push what you did in order to try to figure out what's wrong with the positioning ?

Sure, please see https://github.com/mozilla/pdf.js/compare/master...Snuffleupagus:overlays-dialog for a very basic patch (ignore the ugly hacks in the JS code).

It works in commenting: https://github.com/mozilla/pdf.js/blob/feea2b78fab64d1b1c000ab5a0a6bb875d2a7dfe/web/viewer.css#L175
In chrome devtools:

I noticed that the dialog has margin set to auto when we've a 0 for all the elements.
So I just tried in unchecking and it worked.

I noticed that the dialog has margin set to auto when we've a 0 for all the elements.
So I just tried in unchecking and it worked.

Thank you; it seems that simply setting margin: auto; for the <dialog> CSS works fine :-)

There's still, as far as I'm concerned, the question if should perhaps wait a little while longer with making this change (given that the feature is fairly new)?
Besides that, the "only" thing left to do for the patch would be to fix-up the OverlayManager functionality to properly handle things now that <dialog> elements are used.

Actually, I think the patch(es) are mostly done now since everything seems to work as intended :-)
https://github.com/Snuffleupagus/pdf.js/compare/OverlayManager-private...Snuffleupagus:overlays-dialog?w=1


Global Admin required = not strictly true

Where this page says a Global Admin is required, it isn't necessarily telling the entire story. There are less privileged ways to do this. For example, the Privileged Role Administrator https://docs.microsoft.com/en-us/azure/active-directory/users-groups-roles/directory-assign-admin-roles#privileged-role-administrator can assign the Directory Reader role. This page also doesn't mention that the Directory Readers role should be assigned only to legacy applications that do not support the Consent Framework, and what the timeline is to move from a legacy mechanism to the Consent Framework.

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

ID: 2d4a33b0-87d0-f60c-1b52-aeafa889e657
Version Independent ID: c281bdb7-c98c-6853-5077-41b3dd44d3a2
Content: Configure Azure Active Directory authentication - SQL
Content Source: articles/sql-database/sql-database-aad-authentication-configure.md
Service: sql-database
Sub-service: security
GitHub Login: @GithubMirek
Microsoft Alias: mireks

@barkills Thank you very much for the detailed feedback. We are reviewing the suggestion and considering it for a future update to the documentation. In the meantime, I would like to make you aware of the Microsoft Docs contributor guide (Link), where you have access to draft contributions to be reviewed and merged into the repository.

Given the value of the feedback, I have assigned the issue to the content author to evaluate and update as appropriate.

Indeed, it would be very useful to document the minimum permissions an user needs in order to grant directory reader access to Azure AD to SQL Managed Instance - it happens very often that the person who plays the Azure AD global/company administrator role is reluctant to use that account to run a script that a developer asks him to run, each time a SQL MI instance is created..

@GithubMirek @CarlRabeler Want to follow up on this issue to see if this is still relevant. Thank you!

@vanMSFT for awareness

Following up with the Product Team.

Hi @barkills - Thank you for your patience. I confirmed with the Product Team that the only other role that can complete the task is the Privileged Role Administrator. Changes to the doc has been updated to reflect this. Thanks again for your feedback!
#please-close


New version: SBML v0.5.6

Registering package: SBML
Repository: https://github.com/LCSB-BioCore/SBML.jl
Created by: @exaexa
Version: v0.5.6
Commit: 1bed9c725212bd0d6cd4a536f6a3b80183d469fe
Reviewed by: @exaexa
Reference: https://github.com/LCSB-BioCore/SBML.jl/commit/1bed9c725212bd0d6cd4a536f6a3b80183d469fe#commitcomment-53524393

@exaexa could you add a compat entry for IfElse?


add gjo for funding finding

Description
Add gjo for funding finding (bot didn't want to add it). The README will be updated once we ask the bot to add the contributions for the tutorials.

@all-contributors add @martinjrobins for tutorials


GPU watchdog

Sometimes GPUs drop out (too aggressive overclock or other sources of instabilities).
I haven't been able to trace this anywhere in the logs. Would it be possible to create a log entry if a GPU drop out (preferably with info about core/mem clock speeds, temps, active miner and which GPU dropped out?).
If possible, also attempt one or all of the following:

Reset crashed GPU (nvidia-smi --id=X --gpu-reset - not sure this is enough to recover a crashed gpu?)
Reboot (if gpu-reset failed)

Typically when a GPU crashes it causes things like nvidia-smi etc to hang for long periods. I've not observed this happening on my system so I've no idea if it's possible to reset a card after a crash. I think rebooting the system in this event is outside the scope of what Minotaur should be doing, and is something that could be orchestrated with other scripts on the machine.

closing as i think orchestrating system events in the case of a GPU crash are outside the scope of minotaur


Illegal Instruction (core dumped)

Hi Gabriel, very interesting work!
I was tinkering around with the setup. Somehow, it only works for group theory for me. For the other domains like propositional logic, it gives me this error - Illegal instruction (core dumped) (trace attached). Can you please guide about what I might be missing in the setup?
Proving (iff false false) on cuda:0
State: G=1
State: {  }
Goal: (iff false false)

Illegal instruction (core dumped)                                                                        | 0/1000 [00:00<?, ?it/s]

Hi Ayush,
Ah, that's weird! I think the trace ended up not attached. I added a stand-alone example here: https://github.com/gpoesia/minimo/commit/736916c77b4d01f448c72e61d257faff202c94aa
Would you be able to check whether these examples work for you? (I'm assuming the issue you found was running bootstrap.py?)

Hi Gabriel, yes, I ran bootstrap.py (sorry to attach the incomplete trace). I ran example.py and again it shows the same message. Let me know if I should attach some other logs!
(minimo) ayush@MSRI-DNN2-NEW:~/reasoning/minimo/learning$ python example.py   1%|█▏                                                                                | 12/1000 [00:00<00:00, 1408.31it/s] theorem t : (= (+ (s z) (s z)) (s (s z))) {     show (= (+ (s z) (s z)) (s (+ (s z) z))) by +_s.     show (= (+ (s z) z) (s z)) by +_z.     show (= (+ (s z) (s z)) (s (s z))) by rewrite. } (minimo) ayush@MSRI-DNN2-NEW:~/reasoning/minimo/learning$ python example.py 1   0%|                                                                                | 0/1000 [00:00<?, ?it/s]Illegal instruction (core dumped)


Use new urls for authentication

Parent issue
The following specific library changes are required:
OAuth 2.0 Authorization Grant Flow (aka 3LO)
For clients using this flow, change (and test):

https://accounts.google.com/o/oauth2/token -> https://oauth2.googleapis.com/token
https://accounts.google.com/o/oauth2/revoke -> https://oauth2.googleapis.com/revoke
https://accounts.google.com/o/oauth2/tokeninfo -> https://oauth2.googleapis.com/tokeninfo
DO NOT change https://accounts.google.com/o/oauth2/auth

If the client pulls the data from the client json object, that will be updated on the server side for newly created clients and no changes to the client libraries are required.
OAuth 2.0 Assertion Flow (aka OAuth 2.0 Service Account Flow, aka “Google Credentials Auth”)
For clients using these flows, change:

https://accounts.google.com/o/oauth2/token -> https://oauth2.googleapis.com/token
The “audience” of the token from https://accounts.google.com/o/oauth2/token ->  https://oauth2.googleapis.com/token

JWT Bearer
No changes should be required for JWT Bearer authentication
ODIC Identity Tokens
There are two options.  If possible, the preferred option in this case is to:

Change https://accounts.google.com/o/oauth2/token ->  https://oauth2.googleapis.com/token
Change audience verification from “accounts.google.com” to [“accounts.google.com”, “https://accounts.google.com”]
DO NOT Change https://www.googleapis.com/oauth2/v1/certs

If this is too risky in a particular client library, then the change should be:

https://accounts.google.com/o/oauth2/token -> https://www.googleapis.com/oauth2/v3/token
DO NOT Change https://www.googleapis.com/oauth2/v1/certs

@chrisdunelm do you want to copy this into google-api-dotnet-client?

Copied to https://github.com/google/google-api-dotnet-client/issues/1269
Closing this issue.


Duplicate Update Allowed for Scoped Unique Field

Describe the bug
When updating a field in the schema marked as unique and scoped to a specific context (e.g., an accountID), the following issues occur:

The update is permitted even if another record within the same scope already has the same unique field value. This violates the expected unique constraint scoped to the specific context.
The unique record of the item being updated is not updated
An additional record is inadvertently created in the database. This record appears to have no functional purpose and should not exist.

To Reproduce

Mark a field in the schema as unique and scope it to a specific context, for example accountID.
Create a record with a value for this unique field.
Create another record with a different value for this unique field, but within the same scope (e.g accountID).
Attempt to update the record from step 3, with the same unique field value as the record from step 2.
Observe that the update goes through and an extra, seemingly purposeless, record is created.

Steps to reproduce the behavior:
Use the following code to reproduce in three simple steps - https://gist.github.com/AXSJ/5c4ccd0345683026dcb80cfb5e5d7616
info OneTable "transactWrite" "_Generic" {
    "trace": {
        "model": "_Generic",
        "cmd": {
            "TransactItems": [
                {
                    "Delete": {
                        "TableName": "table",
                        "ReturnValues": "ALL_OLD",
                        "Key": {
                            "pk": {
                                "S": "_unique#Account#${accountID}#User#code#b"
                            },
                            "sk": {
                                "S": "_unique#"
                            }
                        }
                    }
                },
                {
                    "Put": {
                        "ConditionExpression": "(attribute_not_exists(#_0)) and (attribute_not_exists(#_1))",
                        "ExpressionAttributeNames": {
                            "#_0": "pk",
                            "#_1": "sk"
                        },
                        "TableName": "table",
                        "Item": {
                            "pk": {
                                "S": "_unique#Account#${accountID}#User#code#a"
                            },
                            "sk": {
                                "S": "_unique#"
                            },
                            "_type": {
                                "S": "_Unique"
                            }
                        },
                        "ReturnValues": "NONE"
                    }
                },
                {
                    "Update": {
                        "ConditionExpression": "(attribute_exists(#_0)) and (attribute_exists(#_1))",
                        "ExpressionAttributeNames": {
                            "#_0": "pk",
                            "#_1": "sk",
                            "#_2": "id",
                            "#_3": "code",
                            "#_4": "updated"
                        },
                        "ExpressionAttributeValues": {
                            ":_0": {
                                "S": "2"
                            },
                            ":_1": {
                                "S": "a"
                            },
                            ":_2": {
                                "S": "2024-05-20T03:23:48.242Z"
                            }
                        },
                        "TableName": "table",
                        "ReturnValues": "ALL_NEW",
                        "UpdateExpression": "set #_2 = :_0, #_3 = :_1, #_4 = :_2",
                        "Key": {
                            "pk": {
                                "S": "User#2"
                            },
                            "sk": {
                                "S": "User#"
                            }
                        }
                    }
                }
            ],
            "timestamp": "2024-05-20T03:23:48.242Z"
        },
        "op": "transactWrite",
        "properties": {}
    }
}'

What the database looks like

Expected behavior

The update should be rejected if the unique field value already exists within the same context.
No additional records should be created as a result of the update attempt.

Environment (please complete the following information):

Mac OS
Node v20.12.2
OneTable Version ^2.7.2

We are facing this issue. Seems like a major flaw in unique checker which is critical to us.
Please help

Hi,
The issue here is that your update needs to provide all the properties referenced by the scope template.
i.e. you are missing the accountID on the update. Notice in the put expression the ${accountID} was not resolved:
                        "Item": {
                            "pk": {
                                "S": "_unique#Account#${accountID}#User#code#a"

We are looking into making this throw and exception in the future.
Apologies for the delay in responding to this issue.

Hi @mobsense, thank you for your help. I believe this has resolved the issue. I will proceed to update our functions to include the fields specified within the scope in the update payload as well


Disappearing relationships

I'm running into an issue where INCOMING relationships to a persisted object, lets call that object parent, of a self-referencing class are removed when I persist a new object with an OUTGOING relationship to parent.
The class has two fields for this relationship, the mapping looks like this:
    @Relationship(type = "REL", direction = "OUTGOING")
    private Entity rel;

    @Relationship(type = "REL", direction = "INCOMING")
    private Set<Entity> childRels = new HashSet<>();

In my code I create three objects, one parent and two children. After creating the children I call a method which adds the parent to their rel field.
    public Entity setRel(Entity entity) {
        rel = entity;

        return this;
    }

This results in a graph where the only REL relationship is the one that was last created.

The above graph is the result from calling setRel(parent) on child02 last.
I found that when I remove the INCOMING relationship on childRels this doesn't happen.
    @Relationship(type = "REL", direction = "OUTGOING")
    private Entity rel;

//    @Relationship(type = "REL", direction = "INCOMING")
//    private Set<Entity> childRels = new HashSet<>();

Results in the following graph:

I've created a repository which reproduces this issue. That code was tested on three machines, two Linux (arch) and one Windows 10, each running Neo4j Community 2.2.3, each resulting in the same graph. Note that the code purges the database every run.

In this case, your graph model and object model aren't in sync.
Entity.java expects that it has at most one parent, and a set of children. When you create child1 and set only the parent, the state of child1 is correct in that it has a parent and no children. But, the state of the parent is incorrect- it still has no children (even though you mean to create one via child1).
When any part of this subgraph is persisted, depending on how it's traversed, the INCOMING children are removed from the parent because the object model doesn't have any.
In contrast to this, the model you have in https://github.com/neo4j/neo4j-ogm/issues/27 is correct (your test keeps both parents and children in sync), and you can expect a fix for this today.

Alright, that sounds logical :) Thanks for the reply.


Removal of unsanctioned introduction of context

Description:
Observing functions (callbacks) are given to .subscribe(next, error, complete) by an outside code. But rxjs dictates a context of execution, instead of leaving it undefined. It sort of disrespects separation between callbacks that come from outside, and its own internals on the public API of the library.
As a result, there are issues #3229, #1981, #1949, #2140, that happen due to rxjs mangling with execution context of externally given callbacks. Library behaves in an unexpected way.
This change fixes an unsanctioned introduction of context to callback.
Now, it is possible, that this weird behaviour was introduced to help some other parts of the lib. Tests should show this. And may be those places should change instead of keeping users of the library puzzled (number of issues times minimum 1-2 hours, plus unreported cases).
Related issue (if exists):  #3229, #1981, #1949, #2140
If this will be a no-fix, at least put comment near the place that is pointed in a stack overflow error, which people get. Put some indications for poor devs :cry:

Seems like we've worked this out, I'm going to close it.


US ID7: As I logged-in user I want to be able to join a game room by entering a room-code. So that I can join a game room of my choice

[ ] By clicking on a join room button on the home screen, the user is prompted to enter a code, which will redirect the user to the corresponding waiting room

[ ] Unit test game room functionalities


chore: get devcontainer to pass trivy linting

@npalm have split this out as it'll be required for any PRs


APEXCORE-267 #resolve #comment fixing checkstyle violations in API

@vrozov please review and merge

Looks like other changes are part of the commit due to squash?

Something weird is happening. When I make the commit from my id, then the commit consists of correct files however when I change the author to "jenkins@datatorrent", it is adding additional changes.

@tweise @vrozov fixed the commit. please review.

squashed the commits.


Documentation updates for comments in #40255

Please provide a description of this PR:
Several comments made in #40255 about incorrectly done documentation updates. These are updates for those comments

/cherry-pick release-1.15

@ericvn: #40258 failed to apply on top of branch "release-1.15":
Applying: Documentation updates for comments in #40255
Using index info to reconstruct a base tree...
M	cni/pkg/repair/repair_test.go
M	operator/pkg/patch/patch.go
M	pkg/dns/client/dns_test.go
M	pkg/istio-agent/health/health_probers.go
M	pkg/kube/inject/initializer.go
M	pkg/test/framework/components/echo/echotest/filters.go
M	pkg/test/framework/components/echo/echotest/run.go
M	pkg/test/framework/components/echo/echotest/setup.go
M	pkg/test/framework/components/istio/kube.go
M	tools/bug-report/pkg/config/config.go
Falling back to patching base and 3-way merge...
Auto-merging tools/bug-report/pkg/config/config.go
CONFLICT (content): Merge conflict in tools/bug-report/pkg/config/config.go
Auto-merging pkg/test/framework/components/istio/kube.go
CONFLICT (content): Merge conflict in pkg/test/framework/components/istio/kube.go
Auto-merging pkg/test/framework/components/echo/echotest/setup.go
CONFLICT (content): Merge conflict in pkg/test/framework/components/echo/echotest/setup.go
Auto-merging pkg/test/framework/components/echo/echotest/run.go
CONFLICT (content): Merge conflict in pkg/test/framework/components/echo/echotest/run.go
Auto-merging pkg/test/framework/components/echo/echotest/filters.go
CONFLICT (content): Merge conflict in pkg/test/framework/components/echo/echotest/filters.go
Auto-merging pkg/kube/inject/initializer.go
CONFLICT (content): Merge conflict in pkg/kube/inject/initializer.go
Auto-merging pkg/istio-agent/health/health_probers.go
CONFLICT (content): Merge conflict in pkg/istio-agent/health/health_probers.go
Auto-merging pkg/dns/client/dns_test.go
CONFLICT (content): Merge conflict in pkg/dns/client/dns_test.go
Auto-merging operator/pkg/patch/patch.go
CONFLICT (content): Merge conflict in operator/pkg/patch/patch.go
Auto-merging cni/pkg/repair/repair_test.go
CONFLICT (content): Merge conflict in cni/pkg/repair/repair_test.go
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 Documentation updates for comments in #40255
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-1.15

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@ericvn: new issue created for failed cherrypick: #40281

In response to this:

/cherry-pick release-1.15

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

/cherry-pick release-1.15

@ericvn: new pull request created: #40283

In response to this:

/cherry-pick release-1.15

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.


CLOUDP-233562: Add infrastructure annotations to Openshift CSV

All Submissions:

[x] Have you signed our CLA?
[ ] Put closes #XXXX in your comment to auto-close the issue that your PR fixes (if there is one).
[ ] Update docs/release-notes/release-notes.md if your changes should be included in the release notes for the next release.

Note

All features were added except for the cnf/cni/csi variants, as per documentation
Set disconnected to false as our operator doesn't make sense without an internet connection
Set fips-compliant to false. While we support Gov and Fips is usually a requirement of Gov users, we don't have any test validating such a scenario.

@helderjs please modify these labels here:
https://github.com/mongodb/mongodb-atlas-kubernetes/blob/3769e6875a6ec8c9f81c7268ffab1de94d783fda/config/manifests/bases/mongodb-atlas-kubernetes.clusterserviceversion.yaml#L1
. The content of the bundle is generated.

:man_facepalming: Thank you, looked at the wrong place


Superfluous nesting

The library (especially if using a theme) has an unneeded and superfluous level of nesting.
Possible fix would be to add checks if a theme method returns null and not to add the element.? Or to allow a higher level of overrides. Currently the lib adds it's own containers before even applying a theme. Or an editor.
To be clear I am basing this on my experience with the bootstrap3 theme. Also my own custom theme created for a bootstrap3 form-horizontal theme.
My point of access was customising the theme; I did not really want to fork the lib. Though if you look at previous theme a number of lib items are forcibly changed).
Anyway for example:

you do not want getIndentedPanel to be a well though you are required to return an element; creates superfluous nesting

In some cases the field is nested within 4+ superfluous divs..? The issue is also within the core-lib (outside of the theme) as the core-lib also adds its own containers.
// example
JSONEditor.defaults.themes.example = JSONEditor.AbstractTheme.extend({
	getGridRow: function() { // required to return an element
		var el = document.createElement('div');
		return el;
	},
	getIndentedPanel: function() {  // required to return an element
		var el = document.createElement('div');
		return el;
	}
});

I can work around this. Though it seems selenium-ide breaks.. not your problem I know.

Is there any planned support for Bootstrap form-horizontal?  Aubrey's theme didn't work for me, but the idea seems right.  It's very difficult to fit even a small number of attributes on a page vertically.  Thanks so much for this great library!


Rolled Pyodide deps

There were structural changes to how pyodide_packages structured it's release tarballs.

Thanks @Warfields! I think it's better to just do the Pyodide release change here, the pyodide_packages update already is handled in #1566.
Also, the pyodide-lock.js should be replaced with wget https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide-lock.json. Though actually we should probably remove it since pyodide-core-0.25.0.tar.bz2 contains a copy of pyodide-lock.json anyways.
src/pyodide/internal/pyodide-lock.js

Thanks @Warfields! I think it's better to just do the Pyodide release change here, the pyodide_packages update already is handled in #1566.
Also, the pyodide-lock.js should be replaced with https://cdn.jsdelivr.net/pyodide/v0.25.0/full/pyodide-lock.json. Though actually we should probably remove it since pyodide-core-0.25.0.tar.bz2 contains a copy of pyodide-lock.json anyways. src/pyodide/internal/pyodide-lock.js

Thanks on the lockfile guidence. How close is that other PR to being merged? Both deps need to be updated to roll deps on the internal repo.

Discussed with @hoodmane OOB and decided to punt this to other PRs over the next week.

Both deps need to be updated to roll deps on the internal repo.

fwiw you should be able to roll deps on everything except the Pyodide stuff


stdcommands/undelete: fix channel messages not being fetched correctly

This commit introduced a presumably accidental change to undelete, which caused the command to only show the messages recently deleted in the channel of execution, despite the -channel flag being used.
This PR aims to fix that regression. I've tested it on a selfhost and everything works fine (again), as far as I can tell.
Thanks in advance!

Friendly bump @ashishjh-bst :)
This has been open since 23rd September and fixes a somewhat serious regression.

Hi @l-zeuch  what would be the steps to reproduce the issue, and verify ?

Send Messages in #somechannel
Delete said message(s) in #somechannel
Switch to #otherchannel
Run undelete -channel #somechannel

See error; apparently no deleted messages

Thanks! I'll test it out tomorrow merge!

Splendid.


How about let it works on page properties like another plugin TODO master?

How about let word count works on page properties like another plugin TODO master?
for example

Then, it will count all words in this page.

Thanks for the suggestion!
Once the plugin API has been updated, I'll be implementing a page wide count!
Stay tuned!


Disable backing again during transition from bookmark screen.

Describe the bug
When the back button is repeatedly pressed on the bookmark screen, nothing appears on the screen.
To Reproduce
Steps to reproduce the behavior:

Click on 'bookmark'
Click on 'back' repeatedly until the transition is complete
See blank screen

Expected behavior
Make it impossible to press the back button during a transition (when the back button has already been pressed once)
Or some similar way to make it impossible to go back.
Screenshots
I've attached a video because it's easier to understand the situation.
https://github.com/DroidKaigi/conference-app-2023/assets/59034394/d688f38f-bd9c-4f62-b47a-a12146a167ef

I would like to challenge this issue 🙋

ok, please!! 👍


AWS now supports this natively?

Was re-reading the docs today & noticed python support is now built in. Haven't tried it but might not need to load this module anymore. Still no Java support though :(
http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-lambda-function-code.html
From the docs:
For python2.7 environments, use the import statement to load the cfnresponse module, as shown in the following example:

import cfnresponse

Apparently so! Thanks for letting me know :D

Note:

The cfn-response module isn't available for source code stored in S3 buckets. You must write your own functions to send responses.

from the page linked above.

Not on python3

Still useful for python3.

Still useful for python3.


Token volume projection cannot be used to authenticate agains the apiserver

What happened:
ID tokens from the ServiceAccount Token Volume projection cannot be used to authenticate against the API server.
What you expected to happen:

Out of the box to be able to create projected volumes with tokens signed by the same key which is used to sign the service account tokens (used in kube-controller-manager)
Said token can be used to authenticate against the kube-apiserver and checked against the TokenReview API.

How to reproduce it (as minimally and precisely as possible):
Create the following Pod on 1.16 gardener cluster:
apiVersion: v1
kind: Pod
metadata:
  name: nginx
spec:
  containers:
  - image: nginx
    name: nginx
    volumeMounts:
    - mountPath: /var/run/secrets/tokens
      name: some-token
  volumes:
  - name: some-token
    projected:
      sources:
      - serviceAccountToken:
          path: some-token
          expirationSeconds: 7200

Events:
  Type     Reason       Age                   From               Message
  ----     ------       ----                  ----               -------
  Normal   Scheduled    5m15s                 default-scheduler  Successfully assigned default/nginx to some-node
  Warning  FailedMount  65s (x10 over 5m15s)  kubelet, some-node  MountVolume.SetUp failed for volume "some-token" : failed to fetch token: the server could not find the requested resource

Even if the API server is configured correctly https://github.com/gardener/gardener/blob/e796be149ae18fc38768b2888f8610c2b5f9af61/example/90-deprecated-shoot-alicloud.yaml#L120-L123 because the end-user provides the signing key, it cannot be used for authentication as the apiserver is using another public key to check the service account token.
To resolve this, I'll recommend the following:

out of the box configure the API server with

--service-account-issuer=https://<SHOOT-DOMAIN>
--service-account-signing-key-file to point to the private key used by kube-controller-manager to sign SAs.

deprecate the signing-key key and use the standard cert.key and cert.pem in the ServiceAccountSigningKey data.
use this public cert.pem key as an additional flag --service-account-key-file. This will still allow the existing service accounts to work without a problem and the projected ones can be used to authenticate against the kube-apiserver or the other system which can check those keys.

Anything else we need to know?:
Related issues:
#1073
#1288
Environment:

Gardener version: master
Kubernetes version (use kubectl version): n/a
Cloud provider or hardware configuration: n/a
Others: n/a

Another interesting feature coming soon https://github.com/kubernetes/enhancements/blob/master/keps/sig-auth/20190730-oidc-discovery.md

Fixed by https://github.com/gardener/gardener/pull/1991


Segmentation fault in SOAP for l_max > 9

Hello,
I have been attempting to calculate SOAP descriptors for a large system=polycrystal (around 700k atoms), focusing on approximately 100k specific atoms. However, when I choose l_max > 9, I encounter a Segmentation Fault. I've tested this on both my local machine and an HCP cluster, utilizing different partitions with varying memory settings, yet the issue persists.
Could this be a problem in the Dscribe library or in my code?
from dscribe.descriptors import SOAP
from ase.io.vasp import read_vasp
from collections import Counter
import numpy as np
Read the original whole pure iron polycrystal
poscar_initial = read_vasp("POSCAR")
positions_fe = poscar_initial.get_positions()
gb_indices = np.load("gb_atom_indices.npy")
gb_positions = positions_fe[gb_indices]
SOAP feature extraction
SOAP parameters
r_cut = 6
l_max = 9 # above 9 Segfault
n_max = 12
Setting up the SOAP descriptor
soap = SOAP(
species=poscar_initial.get_atomic_numbers(),
periodic=True,
r_cut=r_cut,
n_max=n_max,
l_max=l_max,
)
x = soap.create(system=poscar_initial,
centers=list(gb_positions), verbose=True)
print(x, x.shape)
np.save("dscribe_features_gb_nmax_12_lmax_12.npy", x)
I would appreciate any kind of help!

Thanks for your report @aminsakic!
Could you send the polycrystal structure that causes this problem? I could then try to reproduce the problem with your script locally.


Stick a container to the bottom aka "Where is the footer component ?"

Hello world,
So I've seen this question asked very often since 2014 and still no Footer component.
I expect you to yell "USE FLEXBOX AND THIS LINK !" but that's not working for me.
So please, is there any way I can stick my custom Footer component to the damn bottom of my webpage ?
On a populated page it's not noticeable but on a 404 or "contact us" page it's sticking to the last component's border.
It would be awesome to finaly get rid of that problem, I've already tried applying a style but semantic just overrides it.

I think that we don't need such add-on because it's too specific and can be implemented with basic CSS.
https://css-tricks.com/couple-takes-sticky-footer/

It becomes a lot more tricky when using Grids in a component. Using a container with 100vh or 100% min height stretches the grid rows and messes up the layout. I am facing the same issue as @AktasC. things go wrong especially when there's not much content on the page, if we use traditional method the footer just sticks to the bottom of the last component (which is perhaps a Grid) and if we use the min-height 100vh or 100% Grid flexbox stretches and also stretches the content in it (even when the grid doesn't have stretched prop on the columns). I don't know how easy it is to achieve but the layout examples also suffer from this exact issue (just take out the filler contents and see what happens to the footer).


Need to update Internal-PowerShellTeam-Tools/StepsToReleasePSCore.md

[x] Need to update the first section about building candidate packages as we are switching to VSTS.
[x] Need to capture the details about how to trigger the windows docker build.

Fixed via https://github.com/PowerShell/Internal-PowerShellTeam-Tools/pull/238


Update how-to-connect-selective-password-hash-synchronization.md

Add an important information for the reader informing that configuring this feature will change the password writeback behavior.
Add PowerShell command to update users in Active Directory. (Important if customer has a big number of objects to edit and wants to script the updates. We can give them a starting point)

@riantu : Thanks for your contribution! The author(s) have been notified to review your proposed change.

#sign-off

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.


do not block API calls

The event publication shall not block the webserver threads serving the API calls. Failures must not affect the API functionality.
This could be done by having either fail-fast publication of events with minimal timeouts, no immediate retries and in-memory queueing on error. Or we could move the event publication into a background thread.
The background thread approach might come with some not-so-unexpected complications:

green-threads: Darren learned the hard way that they do not offer preemptive multitasking but rather interfere with the parent process
multi-processing: a separate Python process requires interprocess communication. For sure not with files ... But do we have something like memory-pipes or shared-memory queues in Python?

The fail-fast approach would try to circumvent additional threads with the following strategy:

set time-outs to near zero
disable automatic retries by RabbitMQ client
queue events that could not be published and deliver them alongside the next event
back-off in case of sequential errors (queueing the events that arrive in the back-off period)
limit the queue and drop anything that does not fit in

if the in-memory queue is full we could as well flush it to the logs or some other file.
the problem with this approach is this:

that will eat-up disk space, at some point affecting the application again
that will put the logging system under stress
if we do not use the logging system we have to build our own log-rotation with cron

there we are again with our own hand-crafted queue


Unpin tox

It works locally for me.

no it doesn't

Wait, if it works locally but not in GHA, maybe it's the plugin's fault? I think I've seen a corresponding plugin for tox4 being separate from the one for tox3.

no, I ran tox -e mypy locally but the broken thing is the test suite. I've isolated & opened a bug: https://github.com/tox-dev/tox/issues/2904

Ah, I see. But FTR there's https://github.com/tox-dev/tox-gh too.

What does that to do with anything? Our problem is that the package pins for Mypy are from PyPI instead of from the local package. I don't see how the plugins play into that.

It's unrelated to the mypy problem but is related to the tox4 migration, IIUC.

It's unrelated to the mypy problem but is related to the tox4 migration, IIUC.

According to https://pypi.org/project/tox-gh-actions/, tox-gh-actions>=3 works with tox 3 just fine.
I would switch if there's any upsides, but I can't see any rn?

Anyways, tox has fixed the bug 🎉 and we're waiting for a release now.

According to https://pypi.org/project/tox-gh-actions/, tox-gh-actions>=3 works with tox 3 just fine.

Looks like it's ~= 3.0 though.

Looks related to the recent Hatch-scm integration. At least one of the logs failed on int('dev2').
Also, I saw a resource warning so there might be an unclosed file descriptor somewhere.

but but but… it used to work! otherwise i wouldn’t have merged it! :(
I’m currently in the process of setting up a new computer, once I’m fully functional I’ll look closer sigh

FWIW I checked this branch locally and it does work. Maybe somebody needs to stick https://github.com/marketplace/actions/debugging-with-tmate there and inspect the worker over SSH.
Oh, and I just remembered the most typical setuptools-scm mistake — the contributors usually have a full Git clone locally but CIs tend to do shallow clones. The fix is usually to set the fetch depth to 0 or run git unshallow.
Though, maybe this is not the only problem here, I haven't had time to dig deeper.

https://github.com/python-attrs/attrs/pull/1093/commits/0c9b54c887ad117a2c31a91bbbf65341e11a3131 #genius

FTR on tox-gh: it seems like it has a very different way of working than tax-gh-actions. I tries using it with structlog and 3.11 = py311 means literally "only run py311" while tox-gh-actions essentially says -f py311. For attrs it doesn't matter for now, but that's a very significant different:

(using screenshot b/c logs get lost over time)


Caps Lock key is recognised as "Undefined" in Keyboard Manager

Microsoft PowerToys version
0.53.3
Running as admin

[ ] Yes

Area(s) with issue?
Keyboard Manager
Steps to reproduce
PowerToysReport_2022-01-17-17-48-47.zip

Go to the Keyboard Manager tab
Click "Remap a key"
Add a new substitution by pressing the "+" button
For the "Key" section, select "Type Key"
Press the Caps Lock key

I have been using Keyboard Manager to "fix" my Caps Lock for a couple days now as it seems to be the only program that can recognise the keypress. I was hoping the log might reveal what the root issue is or how I can reset my laptop keyboard firmware.
Similar to  #5049 and #15182 in that keys are unrecognised but not Fn so it should be recognised.
✔ Expected Behavior
Caps Lock key displayed
❌ Actual Behavior
"Undefined" is displayed

I can't repro this.  Whatever key is being pressed is showing 255 vkey but when i tested here, I can have capslocks and my + key be recognized so i can toggle capslocks like a champ.

Yep I think this might be something about my hardware, I was hoping maybe the log might reveal something.
I also noticed since then, that pressing either the brightness up or brightness down keys both also result in Caps Lock being toggled. When checking in keyboard manager, they are also being recognised as "undefined" when using the type a key option. When holding fn to get F2/F3 the keys are recognised as expected.
I tried spamming the 3 keys that seem to work as "undefined" in this log.
PowerToysReport_2022-01-19-22-23-08.zip

if you want me to set up a Teams a call and maybe i can take a quick look.  As of now, somethings is sending keystrokes.
Could something maybe have been spilled on the keyboard or maybe the cord is frayed?

/needinfo

That would be great, thanks!
I don't think it's physical damage, nothing has been spilled, and within the bios the caps lock still functions as expected. There is an onscreen keyboard that mirrors the state of the physical one.

Did you figure this out? I have the same problem, which persists across any keyboard. Very annoying, as I've gotten used to using caps lock as a shortcut for different things.

Hey @AdrianSkib, no I never did get this figured out and just kinda lived with it for the past year. It still happens on the latest version of PowerToys so I'm going to look into it again.

Is this issue still relevant in v0.73? /needinfo

I just installed v0.73.0 to test and yes, when using the "Remap a key" -> "Select" button, pressing Caps Lock (or Brightness Up/Brightness Down) results in "Undefined" as before. I have since moved to a new laptop so it's not a massive issue for me but if needed for testing, I can access the old laptop.

Same here on Win11 & PowerToys 0.76
Kinda solution - remap this 'Undefined' Caps key to Caps and it will work as usual.

Please attach a /bugreport and share what type of device you have also what keyboard you are using if it is external.

Please attach a /bugreport and share what type of device you have also what keyboard you are using if it is external.

Sure. I'm using Microsoft Sculpt ergonomic keyboard and a custom built bluetooth mechanical keyboard
PowerToysReport_2023-12-07-17-21-48.zip

While @suxscribe has provided logs/information, I guess the bot specifically wants me to reply to keep this open. I was wondering if there is any further digging to do or are the logs enough?

The logs are reporting a key value of 255 (0xFE), which is out of the range of virtual keys. https://learn.microsoft.com/en-us/windows/win32/inputdev/virtual-key-codes
That is where the undefined is coming from. But more of the question might be why is your keyboard reporting that key code. @yuyoyuppe any ideas why this could be happening?

I have found the reason for the issue. It turns out that I had disabled the Caps Lock key via the registry a while back, and I completely forgot about it. Therefore, the issue does not affect me anymore. I'm sorry for inconvenience


PrimeVue 4.0 the component becomes larger

PrimeVue 4.0 is incompatible with TailwindCSS, causing the size of components like Button and Select to change. Input and MultiSelect components become very tall, which does not match the examples provided for PrimeVue 4.0 components.
The Input and MultiSelect components on the PrimeVue showcase page are affected by the incompatibility with TailwindCSS, leading to size changes that do not align with the examples provided on the PrimeVue 4.0 components page.

But in https://primevue.org/multiselect/

The height of components such as Input and MultiSelect has changed as well. When I disabled TailwindCSS, the component styles returned to normal.
Or how to adjust the configuration of TailwindCSS, I hope to inform me of the results (repair or not) as soon as possible, thank you!

This is due to line height of Tailwind Preflight adding line-height to every thing, you can either disable preflight or just use it as it is.
https://tailwindcss.com/docs/preflight


radial menu should be on Q instead of G

Is blocked by #40

You should also be able to use the mouse for selecting items with the Radial menu. This behaviour is consistent with 1964 GEPD, and makes more sense than using WASD while holding Q, or letting go of the mouse to use the arrow keys to select an item.

The Q radial menu has this bug where you cant change to weapons that are located in the left up and down corner.
To replicate: press Q, and while holding it down, press W and A or S and A


Add cell_type_ancestors to datasets/index response

Approach

Follow existing development_stage_ancestors pattern.

Closing as per Add tissue_ancestors to datasets/index response.


feat: update to Capacitor 6

Uses npx @capacitor/plugin-migration-v5-to-v6@latest to update this plugin to Capacitor 6

Thanks @chrisweight I'll look into this asap

@stewones  Any update ??

just released guys
thank you @chrisweight

No worries, cheers!


[QA] Login | Avatar issues after log in/log out

Build version:
v0.39.0
Issue Description:

After log in/out with an acount, log in/out with a secondary one and log in with the first one again, the visible avatar is the one of the second log in. It can also happen that the visible avatar corresponds to another user connected at the same time and in the backpack we can see their equipped wearables.
STR:

Log in with account A and then log out
Log in with account B and then log out
Log in again with account A and check the backpack and My Profile

Expected behavior:
Everything corresponds to the logged account
Current behaviour:
In world we can see the avatar of account B, it can happen that when opening the backpack, we see the avatar of OTHER user connected (see video) but when opening My Profile, we can see the correct avatar of the account A
Repro Index:

10/10
Not critical since this is a very edge case
Evidence:
Player.log
https://github.com/user-attachments/assets/5ce9ed8b-b62c-46cf-80f7-eb7118c9829a
https://github.com/user-attachments/assets/79c787dd-4ab7-4029-be2e-ea35b651b497
Additional Notes:

There's a current issue happening on latest dev and the current version of the launcher were every time the user seems to log out or log in they are kicked out of the current session...We are currently not allowed to check the complete STR due to this issue.


Close button is buggy

The close button in the top right corner is not closing the overlay every time when tapped. It takes many tries until the exact cross is hit and the onClose is fired.
Can you make the area in which the tap applies bigger?
https://github.com/JonasWanke/debug_overlay/assets/15039385/925b5411-6849-442f-a584-ae01cbfac32f
Environment:

OS version:  iOS 17.2
Flutter version:  3.19.2
Package version:  0.2.11

Hi, sorry for the really late reply! I haven't been able to reproduce this problem using the example app on Android or with debugDefaultTargetPlatformOverride = TargetPlatform.iOS. The button is just a normal CloseButton inside an AppBar. Do you have any tips to reproduce this or can look into what's causing this?


Upgrade postgresql in cnpg to v15

This is a manual process and I am not quite sure if it can be done live.

@bjw-s presents: "A cnpg database migration in two commits":

Preamble: scale down any workloads that are connected to the existing cluster
Act 1, spinning up the new cluster alongside the old: https://github.com/bjw-s/home-ops/commit/0a26675bfbd08aba830cd24ca8da533c0d881fa7 (you can probably determine what you need to uncomment there)
Intermezzo: Grab some coffee, or do as I did and watch kubectl output like a hawk
Act 2, remove the old cluster: https://github.com/bjw-s/home-ops/commit/0f656ce524a8a0696a69edbdb84dfa9820f2862e

Postgres v16 is also released.

Closing, will revisit when v14 is getting close to EOL


Add CriticalTemperatureGauge.netkan

An official continuation of Ravien’s CriticalTemperatureGauge mod with a new GitHub repo.

Soory. Haven’t deleted the .frozen file.
Request closed.


HDDS-4169. Fix some minor errors in StorageContainerManager.md

What changes were proposed in this pull request?
Fixed typo and removed duplicate title bar.
What is the link to the Apache JIRA
https://issues.apache.org/jira/projects/HDDS/issues/HDDS-4169
How was this patch tested?
It's not necessary.

Thanks! LGTM

The failed build-branch / unit (pull_request) seems not related the patch.
Let's commit it again.

Thanks @cxorm & @amaliujia for the review.
Now the CI check has passed.

Thank you @amaliujia for reviewing this PR and @cku328 for contributing it.


convert to gif no such filter

Prerequisites

[ y] Did you read FAQ section in readme.md?
[ y] Did you test with the latest releases or commit ?
[y ] Did you search for existing issues in Issues?

Description
New FFmpeg error
Invalid argument
Failed when converting image using ffmpeg -y -safe 0 -i C:\Users\01\AppData\Local\Temp\convert_ugoira6yp80p7p\i.ffconcat -filter_complex "[0:v]split[a][b];[a]palettegen=stats_mode=diff[p];[b][p]paletteuse=dither=bayer:bayer_scale=5:diff_mode=rectangle" C:\Users\01\AppData\Local\Temp\convert_ugoira6yp80p7p\temp.gif ==> ffmpeg return exit code=1, expected to return 0.
[AVFilterGraph @ 000001e686916f40] No such filter: '"'
Steps to Reproduce
convert ugoira to gif
Expected behavior: [What you expected to happen]
successful conversion
Actual behavior: [What actually happened]
convert to gif fails, continues to webm, which is [successful
pixivutil.log
Log file: [Attach the pixivutil.log file in the application folder, recommended to delete the old file, reproduce the issue, and upload the newly generated file here]
Versions
You can get this information from executing PixivUtil2.py --help.
Latest commits pulled.

try to updating to the latest full ffmpeg package? you can get it from https://www.gyan.dev/ffmpeg/builds/

looks like found the issue, need to remove the " from config.ini

@Toyem #1145 cause the problem?

Will test in a few minutes.

ok, that fixed it.
Do I just run Ugoira re-encode option to fix the downloaded files?

you can try that


Issues with the grass.

Hello! Currently the grass stays unlit when the directional light's to face the sky, at the same time, whenever you change the ambient lighting, the grass doesn't change accordingly.

I'm not sure what issue you encounter. My grass seems to be working fine
with directional light facing to the sky and the ambient light working
fine, can you provide me with a quick video? Maybe you have done something
wrong in the setup process.
Here is the video how my grass look like when directional light facing to
the sky and ambient color.
https://drive.google.com/file/d/1I8B6YRc7OlrKYPO68oNP4nkAnKyNjUme/view?usp=sharing
Vào Th 4, 20 thg 9, 2023 vào lúc 22:48 yuth @.***> đã
viết:

Hello! Currently the grass stays unlit when the directional light's to
face the sky, at the same time, whenever you change the ambient lighting,
the grass doesn't change accordingly.
—
Reply to this email directly, view it on GitHub
https://github.com/VKev/Unity-URP-Shaders-Code/issues/1, or unsubscribe
https://github.com/notifications/unsubscribe-auth/A3ZKTOF4FQT6BFS7EGOKAHLX3MF4RANCNFSM6AAAAAA5AEWD7E
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

I'm not sure what issue you encounter. My grass seems to be working fine with directional light facing to the sky and the ambient light working fine, can you provide me with a quick video? Maybe you have done something wrong in the setup process. Here is the video how my grass look like when directional light facing to the sky and ambient color. https://drive.google.com/file/d/1I8B6YRc7OlrKYPO68oNP4nkAnKyNjUme/view?usp=sharing Vào Th 4, 20 thg 9, 2023 vào lúc 22:48 yuth @.> đã viết:
…
Hello! Currently the grass stays unlit when the directional light's to face the sky, at the same time, whenever you change the ambient lighting, the grass doesn't change accordingly. — Reply to this email directly, view it on GitHub <#1>, or unsubscribe https://github.com/notifications/unsubscribe-auth/A3ZKTOF4FQT6BFS7EGOKAHLX3MF4RANCNFSM6AAAAAA5AEWD7E . You are receiving this because you are subscribed to this thread.Message ID: @.>

I tried your texture with my grass, and it working fine. Here is something you can do:

Try to tweak the lighting option in the material inspector
check your directional light whether it's cast shadow is on
update to the shader to the newest version
Let me know if the issue is fixed.

I don't know, nothing worked from above, here's the texture:

If you can, try to create another scene with the directional light set to the sky within the repo.

OK, I found an error in my shader grass. I seem to multiply ambient light to the current color of the grass in steed of adding it. So, when the camera faces up, the grass turns black with rgb(0,0,0). so, the ambient multiply it will result to black color 0,0,0. I fix just fixed that error. Hope that will work for you. I will fix the other shaders too; I will push the grass first to the repo for you to use it. Thank for helping me find that error. Please let me know if this fix your problem.


Error while training

System Information (please complete the following information):

Model Builder Version: Latest as of today (2020-04-08 )
Visual Studio Version : 2019

Describe the bug
A clear and concise description of what the bug is.
at Microsoft.ML.ModelBuilder.AutoMLService.Experiments.AutoMLExperiment`3.d__23.MoveNext() in E:\A_work\1326\s\Microsoft.ML.ModelBuilder.AutoMLService\Experiments\AutoMLExperiment.cs:line 103
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Microsoft.ML.ModelBuilder.AutoMLEngine.d__28.MoveNext() in E:\A_work\1326\s\Microsoft.ML.ModelBuilder.AutoMLService\AutoMLEngineService\AutoMLEngine.cs:line 134
To Reproduce
Steps to reproduce the behavior:
Press training after setting the data
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Training Data :

Days
Cases

1
101

2
110

3
116

4
124

5
154

6
164

7
192

8
208

9
214

10
233

11
266

12
316

13
346

14
382

15
458

16
506

17
547

18
630

19
694

20
728

21
772

22
820

23
878

24
961

25
1031

26
1122

27

28

29

30

What's your training scenario (Is that regression?) label and error message

What's your training scenario (Is that regression?) label and error message

It is regression, the dataset is very simple

@SH2015 It looks like we're running out of time training the model? There are two reasons for this. 30 rows of data is a fairly small sample and difficult to train against (ML.Net will split the set into 80% training and 20% testing). Additionally, it looks like the scenario you're trying to accomplish is more closely aligned to forecasting - predict future cases based on historical data.
Unfortunately we don't support forecasting in Model Builder yet. You can check out this tutorial  in the ML.NET docs. If you want to stay in Model Builder you could try adding the additional data to your dataset and see if that is enough data to train on. I'm guessing you won't get a very accurate model since you're really looking for a forecasting model.
Let me know if I've misinterpreted your dataset and scenario. I'll pass along to our PM a request for forecasting in Model Builder.

Closing this issue. @SH2015 please let us know if we can help with anything else. Thanks for reporting!

@beccamc Any plan to include time-series forecasts in Model Builder? there are too many applications in business for time-series analysis

@SH2015 We are planning to add this Model Builder but I'm not sure of the timeline. We're tracking this work in Issue #609. I've added your comments to that issue and pinged our PM. If you want more info, or want to provide additional feedback please checkout 609. Thanks!


File Types Not Showing Up

https://github.com/win32ss/supermium/releases .
"supermium_122_32_setup.exe" "94.4 MB" .
My problem is that when I tr to open a saved page ( Control + O ), or save a page (Control + S ), in the "Files of type" and "Save as type" all it will show is asterisk.asterisk .
This makes it impossible to open, or save, files. Like .htm, .html, .pdf, .json, etc.. Can someone tell me what to do?
How do I get it to show all the files that are on the HD?

https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem01.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem02.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem03.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem04.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem05.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem06.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem07.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem08.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem09.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem10.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem11.png
https://www.geocities.ws/arielschnee/gallery/FP-Ariel_Schnee/S_Problem12.png

Looks as known problem: #438
https://github.com/win32ss/supermium/issues/438#issuecomment-2025740977

The issue is fixed for me in "Supermium 122.0.6261.152 (R4)". Can you confirm @Ariel-Schnee  ? If yes, then please close this ticket.


use server information on client site

Original report by Reimar Bauer (Bitbucket: ReimarBauer, GitHub: ReimarBauer).

The capabilities data document should be printable. There is currently a lot information which belongs to each printout.

Showing the information is sufficient.


[wip] cli: add artifact get relevant digest

          1 Error

:no_entry_sign:
Please include a CHANGELOG entry.

  Generated by :no_entry_sign: Danger


What are the correct server public keys?

I'm trying to follow the auth_key tutorial on https://core.telegram.org/mtproto/auth_key  which states that:

server_public_key_fingerprints is a list of public RSA key fingerprints (64 lower-order bits of SHA1 (server_public_key);

I can't however seem to find a matching server key for the fingerprint the server gives me back.
In response to req_pq_multi from <IP_ADDRESS>:443 I get two fingerprints;
00000050  02 00 00 00 02 9f 4b a1  6d 10 92 96 21 6b e8 6c  |......K.m...!k.l|
00000060  02 2b b4 c3 8e 30 c9 e7                           |.+...0..|

Or more precisely 029f4ba16d109296 and 216be86c022bb4c3

The MTProto description states:

The application has a built-in public server key which can be used to verify a signature but cannot be used to sign messages.

So, assuming that this "built-in public server key" is what is fingerprinted here, I took a guess at trying out the keys in td/telegram/net/PublicRsaKeyShared.cpp using:
cat <pemkeyfile> | openssl base64 -d | openssl sha1 -hex

However, none of them match any of the fingerprints:
server_old.rsa:
(stdin)= 585bee78ec480df581633949b2afe8b3ac40f0d8
server_1.rsa:
(stdin)= 05de4db8d8fad362a6481770192385e558c73fe6
server_2.rsa:
(stdin)= b6158b9aef24f05aad3b7a3a711a5ce3016942dd
server_3.rsa:
(stdin)= 68d8b89daac76cfc6420e360c24a3c34fda4955d
server_4.rsa:
(stdin)= 1ac4948a650ae1063406812dad434befe842b3a1

(openssl rsa -RSAPublicKey_in  -in <pemfile>  | openssl base64 -d  | openssl sha1 -hex doesn't match either)
So did the algorithm change in the meantime? Am I looking in the wrong place for the keys?
Is some other magic required for hashing?
Thanks for any pointers.

No, algorithm wasn't changed, you are looking in the right place, and yes, some magic is required for hashing. The whole sentence from documentation is "server_public_key_fingerprints is a list of public RSA key fingerprints (64 lower-order bits of SHA1 (server_public_key); the public key is represented as a bare type rsa_public_key n:string e:string = RSAPublicKey, where, as usual, n and е are numbers in big endian format serialized as strings of bytes, following which SHA1 is computed) received by the server."
So you need to TL-serialize n and e and calculate sha1 from that serialization. You can find implementation of that here.

The "big end" is understandable. @levlam What kind of magic?

Thanks for the answer @levlam . The implementation you point to is still at a pretty abstract layer, and I'd like to get a more down-to-earth feel of it.
So I've tried now:

sha1(BN_bn2hex(n), BN_bn2hex(e))
sha1(BN_bn2bin(n), BN_bn2bin(e))

... both with and without prefixing the data to be hashed with the "name"; 4 bytes crc32("rsa_public_key n:string e:string = RSAPublicKey") - it's not entirely clear to me when I have to add this prefix.
The results of 2. with and without name against the "old" certificate:
HASH:
5fa5ecd1bbd6779ae616bafec2c84a81ba0b1be6
DATA:
c150023e2f70db7985ded064759cfecf0af328e69a41daf4d6f01b538135a6f91f8f8b2a0ec9ba9720ce352efcf6c5680ffc424bd634864902de0b4bd6d49f4e580230e3ae97d95c8b19442b3c0a10d8f5633fecedd6926a7f6dab0ddb7d457f9ea81b8465fcd6fffeed114011df91c059caedaf97625f6c96ecc74725556934ef781d866b34f011fce4d835a090196e9a5f0e4449af7eb697ddb9076494ca5f81104a305b6dd27665722c46b60e5df680fb16b210607ef217652e60236c255f6a28315f4083a96791d7214bf64c1df4fd0db1944fb26a2a57031b32eee64ad15a8ba68885cde74a5bfc920f6abf59ba5c75506373e7130f9042da922179251f010001

HASH:
7ff0120b13c353854ebd6f09f3d8166e5f87b702
DATA:
76cb197ac150023e2f70db7985ded064759cfecf0af328e69a41daf4d6f01b538135a6f91f8f8b2a0ec9ba9720ce352efcf6c5680ffc424bd634864902de0b4bd6d49f4e580230e3ae97d95c8b19442b3c0a10d8f5633fecedd6926a7f6dab0ddb7d457f9ea81b8465fcd6fffeed114011df91c059caedaf97625f6c96ecc74725556934ef781d866b34f011fce4d835a090196e9a5f0e4449af7eb697ddb9076494ca5f81104a305b6dd27665722c46b60e5df680fb16b210607ef217652e60236c255f6a28315f4083a96791d7214bf64c1df4fd0db1944fb26a2a57031b32eee64ad15a8ba68885cde74a5bfc920f6abf59ba5c75506373e7130f9042da922179251f010001

They still don't match, so I'm still doing something wrong.
The certificate in question:
$ openssl asn1parse -in keys/server_old.rsa
    0:d=0  hl=4 l= 266 cons: SEQUENCE
    4:d=1  hl=4 l= 257 prim: INTEGER           :C150023E2F70DB7985DED064759CFECF0AF328E69A41DAF4D6F01B538135A6F91F8F8B2A0EC9BA9720CE352EFCF6C5680FFC424BD634864902DE0B4BD6D49F4E580230E3AE97D95C8B19442B3C0A10D8F5633FECEDD6926A7F6DAB0DDB7D457F9EA81B8465FCD6FFFEED114011DF91C059CAEDAF97625F6C96ECC74725556934EF781D866B34F011FCE4D835A090196E9A5F0E4449AF7EB697DDB9076494CA5F81104A305B6DD27665722C46B60E5DF680FB16B210607EF217652E60236C255F6A28315F4083A96791D7214BF64C1DF4FD0DB1944FB26A2A57031B32EEE64AD15A8BA68885CDE74A5BFC920F6ABF59BA5C75506373E7130F9042DA922179251F
  265:d=1  hl=2 l=   3 prim: INTEGER           :010001

I also realize that this isn't an "issue" as such. Is there another forum to post questions like these concerning Telegram?

@nolash, you don't need to append "name", because documentation says "bare type", which exactly means without "name": https://core.telegram.org/mtproto/serialize#boxed-and-bare-types. But you need to serialize strings as stated in https://core.telegram.org/mtproto/serialize#base-types.

@levlam Got it! And got the right hash. Thanks for your clarifications.

update: figured a few things out and now it's
createHash("sha1").update(Buffer.concat([Buffer.from([254, 0, 1, 0]), b.subarray(9, 9 + 256), Buffer.from([3]), b.subarray(b.length - 3, b.length)])).digest("hex")

@Milk-Cool sorry didn t see this necrobump till now. happy you figured it out.

@nolash no, this unfortunately wasn't the solution to the problem. i just feel like this is closer to the solution based on the things i've read