Write more LiveView tests

Related to issue https://github.com/danielbergholz/techschool.dev/issues/66
Hey, @danielbergholz! I added some test for courses and bootcamps in different locales. There is no need to explicitly write tested locale anymore.
Test for filtering will appear soon. :rocket:
I guess, it is possible to move the whole for block to macro, called something like test_for_locale. I'll try to figure it out :smile:

Should you close corresponding issue then, @danielbergholz?

Should you close corresponding issue then, @danielbergholz?

Hey @sabit990928!
@dmitry-sidorov mentioned he was going to write more tests for filtering, so I was waiting on that. But since the most important tests IMO were the ones related to locale, I think it makes sense to close it 🤝


refactor: revert assignment of oldmarr widget mapping

See comment in old-import/src/widgets/definitions/index.ts

revert assignment so that only old widgets are needed in the object,
this can be done ones all widgets are implemented

Created because of #1019

https://github.com/homarr-labs/homarr/pull/844/commits/ab94cdc0d4045c21e86d47de87535aecca014686#diff-e4e0568b34d327d40cdc4761d37aa3dc6c7b2675ba4315df004beed2f55cae8c
Same here


Type hinting

Notes:

Short union syntax (X | Y) introduced in Python 3.10.

May need single dispatch for count_dice.

Substantially done.


Pass ALPHA_BUILD variable to c12e-ci container

The variable wasn't being passed to the container, so the Makefile defaulted to always doing a non-alpha (regular) build, this caused the accidental publishing of 6.4.0 on PyPi :/
This will need to be merged up to from develop to staging to publish the correct alpha version.

Merging this in, the PR pipeline also builds alpha versions  - https://gocd.dci-dev.dev-eks.insights.ai/go/tab/build/detail/cortex-python-pr/29/build/1/build


TypeError: vite_ssr_import_1.Synth is not a constructor in new Sveltekit project.

Describe the bug
I created a totally new sveltekit project (i tried both v4 and v5 of svelte)
added tone using npm i tone.
imported tone using
import * as Tone from 'tone';
const synth = new Tone.Synth().toDestination();
synth.triggerAttackRelease("C4", "8n");

I get this error
TypeError: vite_ssr_import_1.Synth is not a constructor

I'm not familiar with vite, but just judging by the error, it says vite_ssr_import which might imply server-side rendering. it's possible that Tone.js (since it's designed for the browser) threw an error which stopped the rest of the loading

With 14.9.17 is there any changes to how we should import Tone? This could be the same error, I'm also using import * as Tone from 'tone';.
new Tone.Reverb(c.reverbOptions); // note that this did not raise any error in TypeScript
results in error:
export 'Reverb' (imported as 'Tone') was not found in 'tone' (module has no exports) <- error in the browser
The same code works ok with 14.7.77.

I think I have to initialize it inside the onmount. I just switched it to include it from a CDN and everything works but I read onmount is where code should be placed inside a svelte project.

With 14.9.17 is there any changes to how we should import Tone? This could be the same error, I'm also using import * as Tone from 'tone';.
new Tone.Reverb(c.reverbOptions); // note that this did not raise any error in TypeScript results in error: export 'Reverb' (imported as 'Tone') was not found in 'tone' (module has no exports) <- error in the browser
The same code works ok with 14.7.77.

@yl92 could you try npm i tone@next? There might have been some breaks with the way the package is imported, if that's the case i'll promote the @next version to @latest to hopefully resolve this issue for anyone having it

I think I have to initialize it inside the onmount. I just switched it to include it from a CDN and everything works but I read onmount is where code should be placed inside a svelte project.

Glad you got it working!


Image Upload stuck at "Processing."

Hello again,
i now got my pageflow application running with nginx and passenger.
But somehow the image upload is a bit tricky.
I added gem 'resque-scheduler', '~> 2.5.5' to my Gemfile,
and require 'resque_scheduler' to the config.ru
Then i additionally startet
$ QUEUE=* rake resque:work RAILS_ENV=production
and
$ QUEUE=* rake resque:scheduler RAILS_ENV=production
both in an own terminal window. I was able to upload one image to my first page of the example-entry. As i wanted to load an image for the second page its stuck at "Processing."
What exactly am i doing wrong or is it misconfigured?
I hope i can get some help on this one.
Best regards,
Ronald

Have you already tried everything in Troubleshooting?

Hello again :)
Redis server is running. I get no error Error connecting to Redis on localhost:6379.
All stated log files are free from error messages.
I do not get any error messages in the Pageflow Editor. It is just stuck in that state.

I guess imagemagick was not installed. Then i still wonder why uploading one image was no problem.
Now installing imagemagick, two uploads where no problem.
Is there a way in which i dont have to run the resque:scheduler and resque:work in a single terminal?
As this jobs will expire as soon as i close the terminal/ssh connection or am i mistaking?
Best regards,
Ronald

From the README:

Running Pageflow
In addition to the Rails server, you need to start two Rake tasks for the background job processing. These tasks are listed in Procfile which is generated in the project root folder by the Pageflow installer.
Consider using the foreman gem to start all of these processes (including the Rails server) with a single command in your development environment.

Thanks for that quick answer, but does this work with the nginx+passenger constellation?

Yes, why not. It's just a way to start multiple processes in development. Just don't include any Rails server since that is handled by passenger.
For production you want to look for something more stable, like monit. But that depends on you deployment choices.

Ok thank you. This should be a production environment so i will checkout monit. Hope it is not too complicated as im in time pressure by now.
It seems as the naming of the files is a problem.
"kafka2.jpg" is not uploading successfully. It is stuck at "processing"
"kafkaagain.jpg" no problem. Gets uploaded just fine.

Well, what's inside the log files which are mentioned in the trouble shooting guide?

No errors at all:
I, [2017-05-12T12:35:57.362639 #32107]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 4 I, [2017-05-12T12:36:02.234650 #32107]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 4 I, [2017-05-12T13:40:46.356765 #3749]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 7 I, [2017-05-12T13:40:52.346399 #3749]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 7 I, [2017-05-12T13:41:24.109508 #3889]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 8 I, [2017-05-12T13:41:29.567247 #3889]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 8 I, [2017-05-12T13:51:04.730827 #4307]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 10 I, [2017-05-12T13:51:07.921901 #4307]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 10 I, [2017-05-12T13:52:32.571503 #4477]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 13 I, [2017-05-12T13:52:35.779407 #4477]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 13 I, [2017-05-12T14:10:14.674449 #5171]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 16 I, [2017-05-12T14:10:20.840558 #5171]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 16 I, [2017-05-12T14:10:35.877999 #5299]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 17 I, [2017-05-12T14:10:40.940276 #5299]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 17 I, [2017-05-12T14:10:55.979674 #5425]  INFO -- : Pageflow::ProcessImageFileJob - perform for Pageflow::ImageFile 18 I, [2017-05-12T14:11:00.466529 #5425]  INFO -- : Pageflow::ProcessImageFileJob - result ok for Pageflow::ImageFile 18

And if you watch this file, is there a job for each and every file you upload? If for some files the upload requests succeeds, but no job processing takes place, you may have some stale resque workers living on your system which pick up jobs and die. Maybe do a ps aux | grep resque to see there are only the worker processes you expect.

ok, there seems to be a bit more than expected:

So cleaning the running processes seems to clear all problems.
Thank you for the good support again 👍


fix: log error path

Please ensure your pull request adheres to the following guidelines:

[ ] make sure to link the related issues in this description. Or if there's no issue created, make sure you
describe here the problem you're solving.
[ ] when merging / squashing, make sure the fixed issue references are visible in the commits, for easy compilation of release notes

If the PR is changing the API specification:

[ ] make sure you add a "Not implemented yet" note the endpoint description, if the implementation is not ready
yet. Ideally, return a 501 status code with a message explaining the feature is not implemented yet.
[ ] make sure you add at least one example of the request and response.

If the PR is changing the API implementation or an entity exposed through the API:

[ ] make sure you update the API specification and the examples to reflect the changes.

Related Issues
Thanks for contributing!

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

v1.27.2
GitHub release

Your semantic-release bot :package::rocket:


Spine interface destroys shared memory on exit

Bug description
Spine interfaces instantiated from Python processes destroy the shared-memory file upon exit.
Expected behavior
The shared-memory file is managed by the C++ spine process and should not be destroyed by agents.
Reproduction steps
Steps to reproduce the behavior:

Run a simulation spine
Run a Python agent
Terminate the Python agent
Check shared memory files (e.g. /dev/shm on Linux)

System

OS: Ubuntu 20.04
Vulp version: 2.2.0

I believe we are running into https://github.com/python/cpython/issues/82300


should SWID be mandatory now?

App PP v1.4 has an app note in FPT_IDV_EXT.1 that says SWID tags will be required in "the next major release" of the PP. Based on this, we should consider whether that is still applicable and, if so, should update the SFR accordingly. Since I haven't heard anything either way, I wanted to check.

Yes, this should be mandatory.

Sole source, assignment and selection should all be removed.

SFR updated for SWID tags to be the only acceptable version information. The extended component definition of the SFR remains the same,
i.e. the ECD specifies that application versioning can be done through SWID or through some other measure, and then the body text definition of the SFR forces the ST author to choose only the "SWID" option.

Issue resolved, closing.


Deployment crashed

I just deployed my app to railway.app. I have set up the database and added the DATABASE_URL to my env variable but I am getting this error

@Dhaxor if you store env variables in railway, please remove all variables in .env (but do not remove .env file). I mean this file must be empty.

@Shchepotin I am not sure I understand you correctly. Currently I don't have .env pushed to github. for railway, I copied my .env secrets to railway variables. Are you saying I should push the .env to github ?

Are you saying I should push the .env to github ?
No, I mean when you deploy your project to railway please create empty .env file, like: echo '' > .env

Are you saying I should push the .env to github ?
No, I mean when you deploy your project to railway please create empty .env file, like: echo '' > .env

I just tried this now and still the same error.

Your problem is that app can't connect to database, please deep dive in your configurations.
Also I see you try connect to host postgres, I not sure this correct in your case, looks like app pickup config from default env-example file

I'm having a similar issue here. I deployed the boilerplate to fly.io and having the following error;

nc: bad address 'postgres'

I tried to empty .env file but it did not help. I don't know how it finds "postgres". I have the DATABASE_URL as secret so it should check only that. Do you have any other idea what could be the problem? @Shchepotin


upgrade: [remark-rehype]

This PR has been opened to upgrade remark-rehype from version 11.1.0 to 11.1.1.
Review the relevant docs for potential breaking changes.
Changelog:

Updated remark-rehype from version 11.1.0 to 11.1.1.
Files changed:

More details can be found in the Snyk project MarcoMadera/Blog:package.json.
Testing instructions

[!IMPORTANT]

Check the changes in this PR to ensure no breaking changes.
Run automated tests

upgrade applied by marcomadera

@snyk-bot


Get href from EditorBlock

Hi
I set link for text into EditorBlock, but i can't get href.
Does anyone have a solution?

I'm closing this support issue due to no response. Please reopen & provide more context if you still need help with this.


Feat: Protected Areas

New Map Modal wrapper to use for different components
Protected Areas component (WIP)
Added splash screen for iOS

TODO: Finish map wrapper to receive texts properties for title and legend, button when selecting a protected area.

Set up workflow completed !!! 🎉

Country and protected area selection
Custom polygon creation
Areas of interest snapshots (AOI)
Saved AOI into the API.

Yay!! Team work! 🙌 🙌 🙌 🙌 🙌

🙏  Remember to run npm install to use the new react-native-maps fork library.


Extend FetchEmployers with Offer Reference Numbers

the Fetch Employer Request Object has a flag if the Offer Reference Numbers should also be fetched. This was added, so the Employer listing can also show if an Employer is currently used or not and for what Offers.
The overall goal is to harmonize the Employers, so no duplicate Employers will exist. So the list of Reference Numbers will allow a Client to update the Employer for a given Offer.
The change will require an API correction.

Please note, that the API extension is only working when fetching a single Employer. A later improvement of this would be to extend the API with a Map<Employer, List>. However, as it is unclear how the logic is suppose to be used, I'll leave it at this.


How to run librealsense with unsupported ubuntu kernel

Hello!
I need some help with getting the library to run on my uncommen ubuntu version (I'm not even sure if its possible)
I've got a Xilinx Ultrascale+ with arm cortex a53 and Ubuntu 15.10 running on it. Kernel Version is 4.9.
My Camera is the Creative VF0810.
I tried to follow the manual for Ubuntu installation (https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md)
but building the kernel modules doesn't work for me because of unsupported kernel version.
So I just build and installed the library which worked fine.
But now librealsense doesn't recognize my camera (which isn't surprising i think)
With lsblk I can see the camera device, but there is no video device in /dev/
Is there any possibility to get the c++ libraries to run and find my camera with this ubuntu version and kernel or is this impossible?
Best regards
Jonas

Hi @JonasNey ,
You should be able to stream depth and color without any patches given that the kernel is 4.4+.
One thing that is required on Linux is udev rules. But if the device worked on that PC at some point that i'd presume these were already applied.
Can you find the device with lsusb ? it should be identified as ID 8086:0aa5 Intel Corp.
One of the possibilities is that the device fails to enumerate as USB3, which is a must. This is also suggested by empty /dev/.
Please run dmesg -wT while plugging in the device and post the log for review.
I'd also suggest to switch USB port/cable to isolate the issue.
Alternatively - if lsusb does show the device but it's still not in /dev/ ,- try reload the driver with sudo modprobe uvcvideo.

Thanks for your answer!
I think you're right and the problem is because of USB 2.0.
I've bought a new adapter and will keep you updated if the new one works fine.

Hi @JonasNey ,
Try this script. Tested on ARM A53 running ubuntu 18.04.

Hi JonasNey,
Any update on this one? Do you still need help?
Thanks!

Hello,
I've trouble purchasing a USB Adapter that works with USB 3.0 for my board. But I'm very sure this is the problem.
Best regards
Jonas

Hi JonasNey,
Thanks for the update.
I am closing this one for now. You may update us on USB adapter for 3.0 later or open new issue if still having things wrong.
Thanks!


Bluetooth: Mesh: Fix heartbeat subscription state handling

PTS version 7.3.0 incorporates some errata which change the expected
behavior of the heartbeat subscription state. Update the code so that
the following tests pass successfully:
MESH/NODE/CFG/HBS/BV-01
MESH/NODE/CFG/HBS/BV-02
MESH/NODE/CFG/HBS/BV-03
MESH/NODE/CFG/HBS/BV-04
Signed-off-by: Johan Hedberg<EMAIL_ADDRESS>

@kolodgrz please test this

Codecov Report

Merging #9440 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #9440   +/-   ##
=======================================
  Coverage   52.17%   52.17%
=======================================
  Files         212      212
  Lines       25892    25892
  Branches     5561     5561
=======================================
  Hits        13508    13508
  Misses      10126    10126
  Partials     2258     2258

Continue to review full report at Codecov.

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

@jhedberg now it works alright.
1/4   MESH   MESH/NODE/CFG/HBS/BV-01-C   PASS            40.363
2/4   MESH   MESH/NODE/CFG/HBS/BV-02-C   PASS            58.784
3/4   MESH   MESH/NODE/CFG/HBS/BV-03-C   PASS            59.222
4/4   MESH   MESH/NODE/CFG/HBS/BV-04-C   PASS            40.626

Thanks for testing @kolodgrz . @sjanc @Vudentz @carlescufi @cvinayak could I get a review so we can get this merged? Thanks.


docs:fix $systemDirectory and $pathsConfig line number

$pathsConfig line number changed after #6327
Checklist:

[x] Securely signed commits
[x] User guide updated

Just wondering if we really need to specify in the docs the actual line numbers? IMO this is unnecessary maintenance of tracking the line numbers every time the code there changes.

Maybe it's better to just remove the line number.

This work is ridiculous. It is better to remove the line numbers.
And now the code is like this:
// Load our paths config file
// This is the line that might need to be changed, depending on your folder structure.
require FCPATH . '../app/Config/Paths.php';
// ^^^ Change this line if you move your application folder

// Load our paths config file
// This is the line that might need to be changed, depending on your folder structure.
require FCPATH . '../app/Config/Paths.php';
// ^^^ Change this line if you move your application folder

changes, for $systemDirectory I aborted because it's related to multiple apps


/group download very slow to start

When trying to download a group
./destreamer.sh -i https://msit.microsoftstream.com/group/GROUP-GUID

Things become very very slow right here
Parsing video/group urls
Fetching videos info...

Which is to be expected since groups usually have an Elon Musk's net worth in Japanese Yen number of videos.
We should either put a cap on it or allow people to pass -limit and -offset parameters (better naming welcome) so the API spraying is a bit more controlled.

We could create an hidden "archive" file that keep track of group UUIDs and to which inddex the last video arrived

We could create an hidden "archive" file that keep track of group UUIDs and to which inddex the last video arrived

Destremer shall remain stateless. Well, except login cookies.. necessary evil.
Group downloads are rare... i hope, so let's put in the minimal effort... for maximum satisfaction :)

Destremer shall remain stateless. Well, except login cookies.. necessary evil.
Group downloads are rare... i hope, so let's put in the minimal effort... for maximum satisfaction :)

We could use the async nature of JS and request them slowly in the background while downloading the others?
Or we could do what you suggested, after the end of February, when I'm done with the exams I could take a look

We could use the async nature of JS and request them slowly in the background while downloading the others?
Or we could do what you suggested, after the end of February, when I'm done with the exams I could take a look

@snobu maybe this could be solved implementing it as #333 suggests, adding a "afterDate" argument.


Add Jsonnet support

Followed the manual, I hope I did it right. It worked on my machine™

@Wilfred Are you still open for adding more languages?


What is ChannelHandler?

Your README refers to a ChannelHandler::onReturned() callback.  I can't find any reference to a channel handler in the source or an onReturned callback.  Can you please clarify what this refers to.
Thanks
Nigel

A ChannelHandler is an old interface that we used in one of the first AMQP-CPP function, more or less the same as the ConnectionHandler class. It had to be associated with each channel, and was full of methods that had to be implemented to catch errors, consumed messages, et cetera.
The current AMQP-CPP library uses C++11 features like lambda's and std::function callbacks instead of this ChannelHandler interface. The ChannelHandler no longer exist.
I've just updated the README file, and a couple of docblocks in the code to remove the last references to the ChannelHandler.

Thanks
On 26 January 2015 at 13:50, Emiel Bruijntjes<EMAIL_ADDRESS>wrote:

Closed #19
https://github.com/CopernicaMarketingSoftware/AMQP-CPP/issues/19.
—
Reply to this email directly or view it on GitHub
https://github.com/CopernicaMarketingSoftware/AMQP-CPP/issues/19#event-224631158
.


[bug]: Is it possible to expose the Homebase alarm in HomeKit?

Describe the solution you'd like
Would this be possible as it would be useful with the home and away settings and the camera motion sensors combined with other HomeKit devices such as window and door sensors.

Hello this is already the case station is exposed. I've one in my setup.

The hub is exposed with the home and away switches but I can see no alarm

When enabling debug mode do you see some issue appear?

When enabling debug mode do you see some issue appear?

No, the homebase appears with the home, away & night setting just fine. What I was asking for it if the inbuilt siren could be exposed as an additional option so that we could use it in HomeKit automations to create a security system.

haaa got it now. Dunno if we can trigger that but bear with us I've few time to spend on the plugin as of now.

haaa got it now. Dunno if we can trigger that but bear with us I've few time to spend on the plugin as of now.

Great stuff, this would be amazing.

Hi @billbazza
Just checked this. Yeah, the eufy-security-client does expose a method to trigger the alarm. But for an implementation some details would have to be clarified:

how exactly should the alarm get triggered. The way I see it, there are two options (I prefer option 1):

Integrate via On/Off Switch, so On -> the alarm is triggered: Off -> the alarm is turned off
Little Drawback: Users could hit the button by accident and would be somewhat confused by the result
Add a configuration option, that the alarm is automatically triggered when specific events are triggered (e.g. motion is detected, so alarm is triggered)
Drawbacks: Much less control over the automation

the plugin has to know for how long the alarm should be triggered. Seems to me, that the alarm cannot run indefinitely. Unfortunately Homekit doesn't have a Characteristic with which you could set a time duration (at least to my knowledge). I think this would be best achieved by a plugin setting in the configuration. Other ideas?

@lenoxys I believe I would have some time in the coming weeks to get this feature running if you don't mind.

In the eufy app, you can trigger the alarm in an automation that you can configure from homebase i.e. motion detected while away, sound alert and notify. In the home app, you would need an alarm off switch off another way to deactivate the alarm i.e. a Hidden button press or along down press on a hue switch et cetera. You could even use one of those automations to say if door is unlocked (smart door lock) the alarm will turn off. It would need some careful consideration though.

Hey @billbazza
Is it possible that you write me up on discord?
It should be no problem to include a button to turn the alarm off.
Theoretically also turning on will be no problem. But I lack some information as to how this could be useful (because I see no way to integrate this into any automations).

I'm interested in this as well. Would be great to have an option to trigger the alarm siren of the homebase via an automation. E.g. some motion gets detected during "away" mode and this leads to an alarm sound.

I'm interested in this as well. Would be great to have an option to trigger the alarm siren of the homebase via an automation. E.g. some motion gets detected during "away" mode and this leads to an alarm sound.

Still working on this.

during "away" mode

That's exactly the problem. In HomeKit automations you cannot check for different modes. So the plugin will have to handle this via an optional setting I think.
But then you'll have a switch which behaviour is not at all obvious to the user since it sometimes does something, and other times not...
It's a bit tricky to implement this with ideal UX.

Ah okay. I got it. Thanks anyway for your quick answer. Looking forward to the results.

This is implemented in the latest beta. Please give some feedback if you test this. Thx!

The beta is not working with my HB setup. :(
[12/07/2022, 09:42:46] TypeError: device.getStationSerial is not a function     at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/eufysecurity.ts:517:56     at Array.forEach (<anonymous>)     at /usr/local/lib/node_modules/homebridge-eufy-security/node_modules/eufy-security-client/src/eufysecurity.ts:516:21     at processTicksAndRejections (node:internal/process/task_queues:96:5) [12/07/2022, 09:42:46] Got SIGTERM, shutting down Homebridge... [7/12/2022, 9:42:46 AM] [EufySecurity-2.1.0-beta.7] INFO:  Finished shutdown! (node:31067) PromiseRejectionHandledWarning: Promise rejection was handled asynchronously (rejection id: 2) (Use node --trace-warnings ... to show where the warning was created)

Hi @sroettgermann
sorry to hear that. bropat changed a few things on the way devices are added and maybe this is related to an issue that will be resolved in his 2.1.1, but to know for sure I'd like to have a look at your logs, if that's possible.
Please enable debug messages and send me the log at /var/local/lib/homebridge/eufysecurity/log-lib.log

@thieren thank you. I'll have a look at it.
It seems an additional IndoorCam is causing this issue. :-(
I'll send you the log asap.

@thieren, is it possible to send it to you in a DM somehow?

@thieren, is it possible to send it to you in a DM somehow?

You could send it to me via discord. You'll find the discord link on the main page of this repo.

Alternatively I'll send you a mail.

Is implemented with release of 2.1.0


perlPackages.Minion: init at 10.13

Motivation for this change
This PR adds the Minion job queue for Perl, as well as backends for MySQL and SQLite.
Things done

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

[X] NixOS
[ ] macOS
[ ] other Linux distributions

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

@GrahamcOfBorg build perlPackages.MinionBackendSQLite perlPackages.MinionBackendmysql
@GrahamcOfBorg build perldevelPackages.MinionBackendSQLite perldevelPackages.MinionBackendmysql


Add user flow name to the md and stdout output

We need a way to reference the produced output with a user flow.
I suggest to add the following data to those formats:

flow name
date

Should the date be taken from the user flow (trace) or generated at the moment converting the JSON to an MD formated string?
This is an example of adding the user flow name and date
Example Flow Name

Step Name
Gather Mode
Performance
Accessibility
Best Practices
Seo
Pwa

Navigation report (<IP_ADDRESS>/)
navigation
-
100
92
100
30

Timespan report (<IP_ADDRESS>/)
timespan
10/11
-
5/7
-
-

Snapshot report (<IP_ADDRESS>/)
snapshot
Ø 3/4
10/10
4/5
9/9
-

Fri, 04 Nov 2022 12:46:26 GMT


Fix dominance calculation

Fixes dominance calculation when there is a forward arc from an
unreachable block A to a reachable block B.  Before this fix, we would
say that B is not dominated by the graph entry node, and instead say
that the immediate dominator of B is the psuedo-entry node of the
augmented CFG.
The fix:

Dominance is defined in terms of a traversal from the entry block
of the CFG.  So the forward DFS should start from the function
entry block, not the pseudo-entry-block.

When following edges backward during dominance calculations, only go to
nodes that are actually reachable in the forward traversal.
Important: the sense of reachability flips around when computing
post-dominance.

Fixes https://github.com/KhronosGroup/SPIRV-Tools/issues/297

Rebased

I'm interested in feedback from @umar456

+2


Use Multilingual in Trust Wallet

Hi Team,
As we are working with the iOS SDK. We need to change the language of the mnemonic show to the user and pass the same to the SDK base on the user-selected language(English, Chinese, Japanese). So Please give us the break in how we will do it.

Trust Wallet only supports English language for BIP39 mnemonics (as it is recommended by the BIP 39 itself).  One can use wallet-core HDWallet with arbitrary mnemonics with explicit 'no check' option, but that must be used with great care.


Refactor npm package

Replace .npmignore with files section which only specifies what
goes in (avoids accidents).
Ensure we export types
Fixed a bug which caused includes of a huge amount of files that were never supposed to be part of the distribution. Now we use the whitelisting method recommended by the docs to include only what we know to be needed.

References:

https://docs.npmjs.com/cli/v8/configuring-npm/package-json#files
https://cameronnokes.com/blog/the-30-second-guide-to-publishing-a-typescript-package-to-npm/
https://npm.github.io/publishing-pkgs-docs/publishing/the-npmignore-file.html

@ssbarnea Look like the CI failure is because of breaking change in PR https://github.com/ansible/vscode-ansible/pull/523/files


guiconfig.inc - wrap inline JS/CSS in CDATA

There functions screw up any kind of (X)HTML validation otherwise.

You will want to remove the "CDATA" sections in:
/usr/local/www/themes/{theme_name}/loader.js
/usr/local/www/themes/{theme_name}/bottom-loader.js

Other wise you'll get duplicate "CDATA" sections.

Sorry, and also check:
/usr/local/www/javascript/.....

Well, this was an idea to make the functions actually usable. I certainly do not have time to wade through heaps of javascript scattered across the repo to check which single pieces of those by some accident ship the CDATA already, sorry.
Forget this. Might as well nuke the functions altogether, they are unusable as it is.

this kind of change should probably be put on hold for the moment, or done against the bootstrap branch since that is likely to be what 2.3 becomes (for the moment, bootstrap branch here: https://github.com/sbeaver-netgate/pfsense)

Yeah indeed, digging into JS that's gonna get to /dev/null for most part is just waste of time. ;)


63 more parsing errors in rdf2json

ifc is possible to parse after the first two commits

It is possible to parse linsearch after the third commit.

It is possible to parse cco after the 5th commit.

It is possible to parse battinfo after the 6th commit.

It is possible to parse osmo after the 7th commit.


Rwa 943

JIRA link (if applicable)
RWA-943
Change description
https://tools.hmcts.net/jira/browse/RWA-943
Does this PR introduce a breaking change? (check one with "x")
[ ] Yes
[ X] No

Can you add a FT with search parameter as caseId, so you can retrieve one record and verify the description matching the one in den

Added FTs

Can you add a FT with search parameter as caseId, so you can retrieve one record and verify the description matching the one in den


Pagination is not working with custom routes

I got:
/pageNumber=:pageNr
which maps to:
/_page:pageNr
and even with pageNr changing it always returns first set of items.
When I test it on default routes it works.

any updates on this one?


Auto Suggest menu goes behind other components

On typing, the auto-suggest menu gets hidden behind other components on the screen. Is there a fix for that? I have tried changing z-index but nothing happened.

@prameetchakraborty How did you fix that? I'm facing the same issue.

@hos4m In the main javascript file, the listview has a "position : absolute" property which is unnecessary. You can either remove it or change the position to 'relative'. With that small change, other components will automatically get pushed below the auto-suggest menu.
So that fixes the issue :-)

@prameetchakraborty This fixed the issue, thank you!


[FR] Add /today command to get a list of pairs for the day

Is your feature request related to a problem? Please describe.
It's not related to a problem, rather to a little complication caused by having to perform multiple clicks to get a schedule for the day from /schedule command.
Describe the solution you'd like
I imagine having a /today command to get me right into today's /schedule list
Preferably with arrows to navigate trough days (and/or pairs of the day)
Describe alternatives you've considered
Clicking on /schedule, and then selecting a day, but that's too much hustle.
Additional context
Thanks to Sofia for suggesting this feature!

Desired output of /today command:

Arrows for navigation are completely option, but would be quite handy, to be honest.

Closing beforehand.


Handle console.error & console.warn calls

Does this tool only report unhandled errors, or does it also report error messages and warning messages written to the console (console.warn, console.error, etc.)?
(if not, it would be really great if it could)

Great idea! I just tested it, and I see that it's very easy to override standard console.* functions. I'll implement it soon, when I have some free time.

@barbushin, thanks for the quick reply -- that feature would be really great for me and my team, as we test our React apps.
React writes warnings & errors to the console when you violate certain design/coding rules, and this would be a great way to make those problems more visible for us. :smile:

I deployed v2.1.26 in Google WebStore. It's going to be reviewed by WebStore team and published in about 1 hour. Then it will take few hours before your Chrome will download new version. You can use chrome://extensions/ to force updating to new version.
Please let me know if it works fine. Thanks!

I deployed v2.1.26 in Google WebStore. It's going to be reviewed by WebStore team and published in about 1 hour. Then it will take few hours before your Chrome will download new version. You can use chrome://extensions/ to force updating to new version.
Please let me know if it works fine. Thanks!

@barbushin, dude, you freaking rock. :100:

This caused a lot of issues! stack[3] does not always match the regex in this code. For example, there is no parenthesis here:
"    at https://some-website-goes-here.net/Scripts/FloatingPanel.js:10:10"

When this fails, it throws an error that halts the execution of any code that uses console.warn and console.error. Websites like Jira are barely usable with this extension enabled.
I would highly suggest being a bit more defensive and fail silently (while still logging to the console) when there is an error in this extension.

@dsherret But it's already fixed in https://github.com/barbushin/javascript-errors-notifier/commit/fe2be662e23ded1f484d3c68b6b2cba0995c255b Isn't it?

@dsherret David, you was right. There was some another case with undefined index error. I fixed it in last commit and deployed in WebStore. Looks good for you?

@barbushin yup, everything's working fine now. Thanks!


How to import?

How can I import this library into my project

It it not a library, copy-paste code you need by yourself.


Domain expired

http://binaryjs.com/ is 💀

plese add the example on github

Is there documentation anywhere else?

https://github.com/binaryjs/binaryjs/tree/master/doc

are there any actively maintained fork or alternatives?


BUG: fuzzy Chinese characters

Your environment
SYSTEM INFO:
	Obsidian version: v1.1.9
	Installer version: v0.15.8
	Operating system: Windows 10 Home China 10.0.22000
	Login status: not logged in
	Insider build toggle: off
	Live preview: on
	Legacy editor: off
	Base theme: dark
	Community theme: none
	Snippets enabled: 0
	Restricted mode: on

Describe the bug
Chinese character sometimes can be very fuzzy while adjusting the size of its outer box.
To Reproduce
Steps to reproduce the behavior:

Click Rectangle
Draw a Rectangle A
Double click the center position of A
Write "基本参数设定"
Keep changing the size of A

Expected behavior
Characters should not be fuzzy.
Screenshots

is it fuzzy? sorry I am not sure :joy:

1920x1080 527 mm x 293 mm (23.7")
1920x1080 15.6" LCD (FHD)

I see. Are you using Chrome? I've created a PR attempting to fix this for chromium-based browsers: https://github.com/excalidraw/excalidraw/pull/6186
Test here: https://excalidraw-id3bc1287-excalidraw.vercel.app/#json=47qMGDyfF3arke3jQ6Ixf,EjE80jzDkFO6OHlcjjxLIw


[zk-token-sdk] Add ciphertext validity proof with 3 handles instruction

Problem
Currently, the zk-token-proof program only handles ciphertext validity proof for grouped ciphertext with 2 handles. A ciphertext validity proof for 3 handles is needed to simplify confidential transfers in spl as explained in https://github.com/anza-xyz/agave/pull/809.
Summary of Changes
Added ciphertext validity proof instructions to the zk-token-proof program. The zk-token-proof program is not activated yet and I will rekey the program feature gate once this PR is merged.

c05b7a8: Refactored the existing ciphertext validity proof instructions to make room for the variant with 3 handles.
3b33964: Added instruction data for ciphertext with 3 handles validity proofs.
50bd126: Added the actual 3 handles validity proof instructions in the zk-token-proof program.
0549bd9: Updated tests and bench code.

Fixes #

Codecov Report
Attention: Patch coverage is 76.64234% with 32 lines in your changes are missing coverage. Please review.

Project coverage is 81.9%. Comparing base (f121f73) to head (85b7ee3).

Additional details and impacted files
@@           Coverage Diff            @@
##           master     #897    +/-   ##
========================================
  Coverage    81.9%    81.9%
========================================
  Files         853      855     +2
  Lines      231779   231923   +144
========================================
+ Hits       189829   189992   +163
+ Misses      41950    41931    -19


Minor additions to EVP_DigestSignInit.pod and BIO_s_accept.pod

BIO_s_accept.pod: Document port auto-selection feature of BIO_set_accept_port()
motivated by https://github.com/openssl/openssl/pull/15281#discussion_r632460444
EVP_DigestSignInit.pod: Clarification in EVP_DigestSignFinal() parameter 'sig'
motivated by https://github.com/openssl/openssl/pull/12095#discussion_r635261951

Checklist

[x] documentation is added or updated

This pull request is ready to merge

Merged.

Thanks for doing the merge


Call for maintainer

The formatting package needs a maintainer. I made this package 6 years ago based on the HoleyMonoid package's idea. I thought it would become a staple package for me.
Since then, I have basically never actually used it in a project. It turns out, I don't like the printf-style of doing printing at all, and prefer to just manually append things. As such, it doesn't make sense for me to maintain this package.
Feel free to comment on this issue if you are interested in taking it over, either as an individual or as a group.

I'd like to volunteer maintaining this project either by myself or with any others who are also interested. I've used it in some of my projects and would be interested in keeping it working and running smoothly in upcoming compiler versions.

I also use the formatting package, so I contribute some small amount of time.

Any news here? I too would be happy to help.

I'm doing it!


"No Panda" message in Shane's OP. When using a webcam setup.

Describe the bug
Rav 4 hybrid limited 2019.
Intel cpu with 3080 nvidia.
Two webcams not recognized along with the black panda.
Panda receives the can messages in the terminal, however OP doesn't recognize it.
I get "No Panda" message in the OP whatever i try...
when running front_mount_helper.py i get:
[<EMAIL_ADDRESS>global /io/opencv/modules/videoio/src/cap_v4l.cpp (902) open VIDEOIO(V4L2:/dev/video2): can't open camera by index
OS Version
Ubuntu 20.04
openpilot version or commit
SA-master
Additional info
No response

I had same problem at my Comma 2 from this summer, with NEOS 20 and V0.8.13_v1


Ajout de Sciencespo Rennes

proof: https://en.wikipedia.org/wiki/Institut_d'études_politiques_de_Rennes

@jeremy238 First stage of verification passed, official domain is sciencespo-rennes.fr as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@jeremy238 Thank you for your patience while waiting for a review and processing your request. Pull request merged.


only Quick Guide is shown, instead of source files

The #418 is closed, but not solved. You create a repository, commits code, it works fine, but when you try to visualize the sources, it shows only the Quick Guide.

Thanks your feedback, what is version of Gogs?

Hi,
Sorry for the delay.
I'm using V<IP_ADDRESS>5 Beta.
Thanks,

@GaryHost your problem was caused by unsuccessful push operation, you can change database table field is_bare to 0 and Gogs will show you repo files.

Allright, It works now. So an unsuccessful push operation caused that ? Does it mean that each time that an unsuccessfull push will happen, i will have to change the mysql column by hand ?
Thanks very much for your help.

Does it mean that each time that an unsuccessfull push will happen, i will have to change the mysql column by hand ?

unsuccessfull already indicates that operation is failed, so I think this is reasonable. And only if your repo was created as bare repo, repo created with initial commit or has been pushed some commits will not meet this issue.

I have got the same issue, what kind of feedback can help? I see nothing of relevance in the logs.
I can push to the repos (without errors) and clone from the repos, files are there.
#1762 applies here too, maybe there is some connection to this error.

@COLABORATI What is the command and SSH URL you use for pushing?
I think you made something fundamentally wrong.

I now understood this issue - if there was just a little but more documentation it would be much easier.
Please add to the 'new repo' page some description about what actually happens: that if no template files are generated then a BARE repo is created - this bare repo will never show files, even if pushed to the repo. There is so much space on that html page - and one sentence about this can really help not to waste endless hours.
Now only that annoying #1762 keeps me from being happy...

I now understood this issue - if there was just a little but more documentation it would be much easier.
Please add to the 'new repo' page some description about what actually happens: that if no template files are generated then a BARE repo is created - this bare repo will never show files, even if pushed to the repo. There is so much space on that html page - and one sentence about this can really help not to waste endless hours.

Because it is simply not true.

If you successfully triggered commit event of Gogs, it will create an action about push: xx pushed xx to xxx on dashboard. And it set is_bare field to false in database.

Hmm, then it must be a bug. I successfully pushed (and can clone from that repo with all files), but the is_bare field is not changed. However, it works with the little workaround to populate the initial repo with some files, then there are no problems.

Yeah, but you're still not answering my question which blocks me from helping you:

What is the command and SSH URL you use for pushing?

I just ran into the same issue using Gogs <IP_ADDRESS>3 (on CentOS 6, installed using RPM). After creating a bare repo and a successful push Gogs is still showing the Quick Guide. Commands used were:
git remote add origin gogs@myserver:user/TEST.git
git push -u origin master


Hoist devDeps with Lerna

Redo of #4436
Fixes #4362
beta.36 was pushed with lerna/lerna#566, which should fix the issue we were getting on install.

Welp...

Should the react-router-native tests even be run by TravisCI?

Yeah, they can be. They're just sanity checks for now: https://github.com/ReactTraining/react-router/blob/v4/packages/react-router-native/tests/index.ios.js

Would excluding hep at all? I cannot see what the failure was, but there are some settings in hoist.

I did that for react native ("nohoist": "react-native"), but that doesn't appear to be sufficient. If we end up excluding enough stuff, I'm not sure of the benefits of hoisting at all :/

react-router-native is a special little unicorn. I'm thinking about kicking it out of the monorepo and telling it to go live by itself in another repo...


Screenshare tab disables arena view

use chrome
share another tab
arena tab goes dark
share tab shows on screenshare object
other share options appear not to work after this, desktop share, window share

Appears reliable after switching from 2020 July jitsi/lib-jitsi-meet@ff1813c to 2021 Sept. jitsi/lib-jitsi-meet@b0d27fa in #339


Problem syncing 1300 contacts from CardDAV server

RainLoop version, browser, OS:
rainloop 1.11.1
Firefox
Windows 10
Expected behavior and actual behavior:
Setting up CardDAV server, syncing contacts.
Stop after around 1000 contacts with error msg
Steps to reproduce the problem:
Logs or screenshots:
Is there some hardcoded maximum number of contacts? I did not find anything inside the ini file ...

Maybe I should explain the setup a bit more.
I am using Nextcloud as a CardDAV server for the contacts. I imported all contacts there via a vcf file, which worked out well. All contacts are visible in the nextcloud web interface.
Then I tried to setup this nextcloud server as CardDAV server in rainloop. Syncing takes a while and stops with an error message I cannot repeat here (simply forgotten). When looking into the contacts afterwards in rainloop it seems all contact up to a certain beginning character are there. I have not counted them but could well be around 1000. Since all the contacts are working in the cloud I came to the conclusion that there could be an explicit or implicit maximum inside rainloop somewhere.
Has anybody more than 1000 contacts inside rainloop via CardDAV?

Update:
In the meantime I am on rainloop 1.11.3 and it seems all contacts are synced. Is there a logfile somewhere where I can look after the CardDAV sync activities of rainloop?

Perhaps it was just some kind of error, and the contacts were not synchronized all at once.
RainLoop does not contain any changes about contacts between 1.11.1 and 1.11.3 versions.

Is there a logfile somewhere

To enable logging, find ./data/_data_/.../configs/application.ini configuration file:
[logs]
enable = On

All log files are located in ./data/_data_/.../logs directory.

Thank you for confirmation.


Trust Wallet Integration Check

Problem
We want to verify wether the integration with Trust Wallet will work out of the box or in case not - to identify the gaps and assess what it would potentially take to do it.
Solution
Run a manual test trying out the following:

the dapp example against trustwallet
connect trustwallet with the relay (local-hedera)
manually verify it works properly (this is because we use sypress for metamask in the tests)

Alternatives
No response

Trust Wallet Integration Check ✅

Transfer HBARs
Contract create
Contract call view/update
Transfer HTS


refactor(noUnusedVariables): don't report unused function params

Summary
Close #3596
Test Plan
I updated the tests.

Why is this a breaking change given that changes to lint rules, including ones that add or remove errors, are common in minor version updates? Changes like this one should be fine in a minor update.

Why is this a breaking change given that changes to lint rules, including ones that add or remove errors, are common in minor version updates? Changes like this one should be fine in a minor update.

Different reasons:

we change the use case of the rule, which removes many use cases which users rely on;
the rule noUnusedVariables is recommended, and it now suggests a rule that isn't recommended, this means that the user is forced to enable a new rule in order to achieve the same result;


Simplify custom Makefile paths

After fiddling a lot with my own Makefiles and learning some more from make, realized PR https://github.com/DISTRHO/DPF/pull/250 can be reworked in a more elegant / less obtrusive way by simply leveraging operator ?= at the appropriate places.
This almost reverts the Makefile.plugins.mk to its pre #250 version while retaining that PR functionality.

If these variables are going to be modifiable externally, please prefix them with DPF_.
Otherwise someone that by change has TARGET_DIR in their env will have a broken build.
Thanks.

If these variables are going to be modifiable externally, please prefix them with DPF_.
Otherwise someone that by chance has TARGET_DIR in their env will have a broken build.

That is absolutely right, added a commit fixing that. So these are the externally modifiable vars now:
DPF_PATH
DPF_TARGET_DIR
DPF_BUILD_DIR

Seems good to me, thanks!


Which array do i load data to from e.g. Parse?

I wanna display images in the cards, so which array is that looks for data?
I'm pretty new to Swift, so it's a little confusing.

Currently, the only information on the cards are the little bits of placeholder text.  I add the UITextLabel to the DraggableView, and then set the content in the DraggableBackgroundView.  Images use the same concept.  Set a blank UIImageView in the DraggableView, and place is properly, and then fill it with content in the backgroundView.

also have the same query regarding uiimage and uilabels with parse data and if not then remove draggbleview Background.

Find where I implemented the text label.  I placed the text label on the card, and made the text label get information from an array.  If you want to pull information from parse, pull it into an array and use that array as the datasource for the image.  You can alternatively put a uiimageview on the card and have each card pull from parse on load, but I wouldn't recommend that as it might clog up the main thread and cause stuttering


Errors upon executing script

I have cloned the repository and installed all of the dependencies, but I am getting several errors upon running the following in command line:
>>C:\Python27\python.exe C:\Users\****\*******\my_ebooks\PACKTPUB_CRAWLER\packtpub-crawler\script\spider.py --config C:\Users\****\*******\my_ebooks\PACKTPUB_CRAWLER\packtpub-crawler\config\prod_example.cfg
The Errors I'm getting are:
Traceback (most recent call last):
  File "C:\Users\****\*******\my_ebooks\PACKTPUB_CRAWLER\packtpub-crawler\script\spider.py", line 9, in <module>
    from upload import Upload, SERVICE_GOOGLE_DRIVE, SERVICE_ONEDRIVE, SERVICE_DROPBOX, SERVICE_SCP
  File "C:\Users\****\*******\my_ebooks\PACKTPUB_CRAWLER\packtpub-crawler\script\upload.py", line 1, in <module>
    from googledrive import GoogleDrive
  File "C:\Users\****\*******\my_ebooks\PACKTPUB_CRAWLER\packtpub-crawler\script\googledrive.py", line 6, in <module>
    import magic
  File "build\bdist.win-amd64\egg\magic.py", line 176, in <module>
ImportError: failed to find libmagic.  Check your installation

I'm using the prod_example.cfg file as my config file and I have changed the email and password values in it

Hi, have a look at #33


Orienteer archetype stop working

archetype testing works only for mvn install and not for mvn test. So that's not a bug.
But some usefull things were added.


markdown export of a book results in page-title headers being directly concatenated to the previous page's text

Describe the Bug
Observed in BookStack 22.02.3
After creating a book comprised of multiple pages, I went to export it as markdown for use in another rendering pipeline. This mostly worked as expected, but there was an oddity: where one page ends and the next begins, no linebreaks were inserted, so the output looks like this:
nothing is allowed to fall through the cracks.# Discovery

The title of the next page, "Discovery", is rendered as a header, but it is quite literally concatenated to the last sentence of the previous page.
I did not test this against books comprised of chapters.
Steps to Reproduce
Export, as markdown, any book comprised of pages.
Expected Behaviour
Rather than what was seen,
nothing is allowed to fall through the cracks.# Discovery

I expected to see
nothing is allowed to fall through the cracks.

# Discovery

with two linebreaks at the point of page-concatenation to produce valid markdown.
Screenshots or Additional Context
No response
Browser Details
No response
Exact BookStack Version
22.02.3
PHP Version
No response
Hosting Environment
Self-hosted, deployed from installer scripts in a Debian Bullseye VM.

Thanks for reporting @flan, Can confirm this. Have assigned to the next feature release.


Renaming to ably-asset-tracking-swift

We could rename this library to ably-asset-tracking-swift
Benefits

People search for swift library more than they search for Cocoa. See github repo lists like awesome-swift.
the SDK is written in Swift

Potential concerns:

Naming it swift might push away Objective-C developers. However, they're used to using Swift libraries in their project, and this is quite easy: https://stackoverflow.com/questions/37503201/using-swift-library-in-an-objective-c-project.

┆Issue is synchronized with this Jira Task by Unito

Relates to https://github.com/ably/ably-asset-tracking-cocoa/issues/148.

It looks like no one was resistant to this change when I mentioned it in the stand up. I think we should rename it, WDYT @QuintinWillison ? I don't have the Github permissions to do it though.

I'm going to mention this in Slack now to give people one last opportunity to object.

I don't mind doing this, especially since we are early in the lifecycle of this SDK.


Rename PhaseEquil outer constructor to PhaseEquil_ρeq, change arg order

This PR

Changes PhaseEquil outer constructor to PhaseEquil_ρeq (breaking for API changes)
Changes internal method air_temperature_given_θρq -> air_temperature_given_ρθq
Changes internal method air_temperature_given_θpq -> air_temperature_given_pθq
and changes the argument orders appropriately

This will allow us to avoid method ambiguities between PhaseEquil and PhaseEquil_ρeq.

bors r+

bors ping

bors ping

bors r+


Tests result is written in one test

Hi, thanks for your plugin. When I run two tests, the result in the testrail is written to one test. I saw that you fixed this problem, but it is repeat. Thanks

Can you please expose more information regarding two tests? Does it mean two scenarios in one feature test file?

Hello. I checked all the cases.

Two scenarios in one feature test file.
One scenario in two features tests files

Result first and second case in testrail is the same.
чт, 23 мая 2019 г. в 20:25, Peter Nguyen Tr<EMAIL_ADDRESS>
Can you please expose more information regarding two tests? Does it mean
two scenarios in one feature test file?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/PeterNgTr/codeceptjs-testrail/issues/1?email_source=notifications&email_token=ADZYMSPVMRYTJASY3MGNQ2LPW3HPDA5CNFSM4HPHR5PKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODWC5JDY#issuecomment-495309967,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ADZYMSPZQIOAKQXHR3XXSWTPW3HPDANCNFSM4HPHR5PA
.

@VSharovatov could you help testing with latest version? I hope this will fix your issue.

@PeterNgTr  I has tested latest version and everything worked fine. Thanks.

perfect! Thanks @VSharovatov!


Update awesome-fontconfig SERVER_ICON to 

Hey!
I've added the docker_machine segment to my prompt by the icon looked a bit odd (gitlab icon). This change should changed it to  server icon.
Thanks for the awesome prompt!

If you have erroneous icons with fontconfig, try #385 :)

Thanks so much for this PR, @rhabbachi! I'm not ignoring it, but I'm actually working on making a new font config option that will resolve many of the code-point issues we've seen crop up lately as some of the more common fonts have changed icons / code-points.
This will get pulled in as part of the larger change soon =)

@V1rgul @bhilburn Thanks for the update!

This has been cherry-picked onto the next branch. Thanks so much for submitting this fix, @rhabbachi! We really appreciate it =)


ruby: 2.7.5 -> 2.7.6, 3.0.3 -> 3.0.4, 3.1.1 -> 3.1.2

Description of changes
Bump patch versions for CVEs
https://www.ruby-lang.org/en/news/2022/04/12/ruby-2-7-6-released/
https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-0-4-released/
https://www.ruby-lang.org/en/news/2022/04/12/ruby-3-1-2-released/

Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[ ] Fits CONTRIBUTING.md.

This likely needs to be re-pointed to staging.
Happy for any and all feedback.

This likely needs to be re-pointed to staging.

Indeed, please point it to staging. Besides that, LGTM.

Please check out https://github.com/NixOS/nixpkgs/blob/master/CONTRIBUTING.md#rebasing-between-branches-ie-from-master-to-staging for how to correctly do a rebase without inadvertently pinging a bunch of people.

So so so sorry.

Okay. After that fiasco of chaos, I've re-pointed it at staging and verified the builds again.
As well, I hereby swear that I shall never be so cavalier again and will read CONTRIBUTING.md as though my life depends on it.

GitHub was still showing a merge issue, I've resolved that so hopefully all clean.

Please make this three commits, one for each attribute. We need to backport the bumps for 2_7 and 3_0 into staging-21.11.

Took the liberty to split them up so we have them in the next evaluation.


how to select an element while it has 2 classes?

I tried
'div[class="a b"]'
'div.a.b'
'div.a\ b'
but all of them dosen't work

Please share your full example and I can help you. Thx. 😇

div.a.b should work

Thank you


Type hints

No, I think intellisense is better at this:
Follow the TS model where the computer should infer the types.

Annoying to add type hints for tuples as per PEP


Remove info about non-existing vpc-peering-*.tf files

can we wait before merging, or mt PR will have a conflict :)


The links direct to the English website instead of the Dutch one.

Microsoft PowerToys version
0.81.1
Utility with translation issue
Advanced Paste
🌐 Language affected
Dutch
❌ Actual phrase(s)

✔ Expected phrase(s)
https://learn.microsoft.com/nl-nl/windows/powertoys/advanced-paste
ℹ Why is the current translation wrong
https://learn.microsoft.com/nl-nl/windows/powertoys/advanced-paste

@ezwep
Where do you find these links? /needinfo

@crutkas , is this a mistake on the aka.ms link?

none of the current doc pages are translated to Dutch it looks like.  This isn't a translation bug inside PowerToys or aka link failure.

Adding @alvinashcraft here as FYI

I'm looking into this. I've opened a ticket with our loc team, and as part of that I've asked for a list of which languages are supported in each content set. The full list of supported languages across Learn can be seen at https://learn.microsoft.com/locale/, but I've been told that not every content set supports every language.

Across the Windows developer docs, the 10 languages that our team is localizing: German, French, Italian, Spanish, Russian, Portuguese (Brazil), Japanese, Korean, Simplified Chinese, Traditional Chinese.
Adding others would require a justification process, and I think it would apply to the entire Windows doc set.


Add patches for Proxy WASM enabling (OSSM-1931)

Commit Message:
Additional Description:
Risk Level:
Testing:
Docs Changes:
Release Notes:
Platform Specific Features:
[Optional Runtime guard:]
[Optional Fixes #Issue]
[Optional Fixes commit #PR or SHA]
[Optional Deprecated:]
[Optional API Considerations:]

CI is still busy, but in the log output I notice:
ERROR: /home/user/.cache/bazel/_bazel_user/004a6f22074b0cbbac00100c854c36fb/external/emsdk/BUILD:11:8: Executing genrule @emsdk//:local_link_rule failed: (Exit 127): bash failed: error executing command
  (cd /home/user/.cache/bazel/_bazel_user/004a6f22074b0cbbac00100c854c36fb/sandbox/processwrapper-sandbox/7470/execroot/envoy && \
  exec env - \
    PATH=/bin:/usr/bin:/usr/local/bin \
  /bin/bash -c 'source external/bazel_tools/tools/genrule/genrule-setup.sh; /work/maistra/vendor/emsdk/local_link_to_host.sh; echo hello world >bazel-out/k8-opt-exec-2B5CBBC6-ST-3d434dd55ca0/bin/external/emsdk/hello.txt')
# Configuration: f99cb122082e97a2df774cbae6e6098f90d9bfdaa52902565c4aaa6aaa512de8
# Execution platform: @local_config_platform//:host

Use --sandbox_debug to see verbose messages from the sandbox

This PR will be closed as patches won't be used anymore


@supports syntax is made invalid after uglifying

I have a file which contains the following css:
@supports ((-webkit-clip-path: polygon(0 0, 0 0, 0 0)) or (clip-path: polygon(0 0, 0 0, 0 0))) {
...
after I've run this through uglifycss the following output is created:
@supports((-webkit-clip-path:polygon(0 0,0 0,0 0)) or(clip-path:polygon(0 0,0 0,0 0))){
version:
└─┬<EMAIL_ADDRESS>└──<EMAIL_ADDRESS>

Thanks for your report.
I tried to use the output you provided in Firefox and it worked fine. Could you be more specific?

No feedback

This bug should be reopened. Missing whitespace after or breaks the `@supports' rule in latest Chrome.

This is also the case with at least Firefox 68.0.2 and Chrome 6.0.3809.132.

The bug can be seen here: https://jsfiddle.net/te1sk5a6/.
Just add the space on the second @ rule and the text should turn blue.

The CSS Specifications specify that conjunction and disjunction tokens should have a space around:

https://www.w3.org/TR/css3-mediaqueries/#error-handling, example 20
https://www.w3.org/TR/css3-conditional/#or


Documentation wrong?

I randomly found this remark in the FAQs:
https://www.doctrine-project.org/projects/doctrine-orm/en/2.6/reference/faq.html#i-access-a-variable-and-its-null-what-is-wrong

I access a variable and its null, what is wrong?
If this variable is a public variable then you are violating one of the criteria for entities. All properties have to be protected or private for the proxy object pattern to work.

Is this true? All my entities have public fields, and no getters or setters, but doctrine does work fine. Also it is the first time I read that having private/protected fields with getter and setter is a must. Up to now I thought it is more or less a coding standard (and waste of space ;-))

@flaushi yes, that's something that was fixed in doctrine/orm 2.4, where we allowed proxying public properties.
If you want to help with the docs, send a patch to remove that paragraph :-)

I have created a PR to remove that paragraph ;-)

Thanks! I wanted to do the same but could not find the paragraph anymore. I tought it had beed deleted already... anyway thanks!


faraday::TimoutError

Hi guys,
I posted this of the issues page for the doorkeeper gem, but looking at it, I wonder if I should post here, any help would be amazing as I am completely stuck
I have been following the wiki on doorkeeper and doing the "Testing your provider with OAuth2 gem" (https://github.com/doorkeeper-gem/doorkeeper/wiki/Testing-your-provider-with-OAuth2-gem)
I am running rails 5.1.4, ruby 2.4.1, doorkeeper gem 4.2.6 and oauth2 v1.4.0
I am having issues trying to do what is done in the testing wiki in code, which is get an auth token
My sessions controller:
def new
  session[:state] = 'some state sent from amazon'
  session[:client_id] = 'some client id'
  session[:client_secret] = 'some client secret'
  session[:redirect_uri] = "#{request.base_url}/oauth/callback"
end

def create
  user = User.find_by(email: params[:session][:email].downcase)
    if user && user.authenticate(params[:session][:password])
      if user.activated?
        log_in user
        redirect_to client.auth_code.authorize_url(:redirect_uri => session[:redirect_uri])
    end
  end
end

#route for /oauth/cllback comes here
def callback
   token = client.auth_code.get_token(params[:code], :redirect_uri => session[:redirect_uri])
   # testing print to screen
   render json: token
end

private
  def client
    OAuth2::Client.new(session[:client_id], session[:client_secret], :site => request.base_url)
  end

end

So as a user i log in, I authorise the app and then it times out and I get the following log for the whole flow:
Started GET "/login?client_id=<client_id>&response_type=code&state=<amazon state>&redirect_uri=https%3A%2F%2Fpitangui.amazon.com%2Fapi%2Fskill%2Flink%2FM2X1TLJOHDU07S" for <IP_ADDRESS> at 2017-10-23 13:36:35 +0100
Processing by SessionsController#new as HTML
  Parameters: {"client_id"=>"<client_id>", "response_type"=>"code", "state"=>"<amazon state>", "redirect_uri"=>"https://pitangui.amazon.com/api/skill/link/M2X1TLJOHDU07S"}
  Rendering sessions/new.html.erb within layouts/application
  Rendered sessions/new.html.erb within layouts/application (1.5ms)
  Rendered layouts/_shim.html.erb (0.5ms)
  User Load (0.3ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
  Rendered layouts/_header.html.erb (36.3ms)
Completed 200 OK in 121ms (Views: 107.5ms | ActiveRecord: 4.0ms)

Started POST "/login" for <IP_ADDRESS> at 2017-10-23 13:40:35 +0100
Processing by SessionsController#create as HTML
  Parameters: {"utf8"=>"✓", "authenticity_token"=>"aR03Eo+jxzN+oDPrnOevHn6moTCSePoLAi2Ncc7pKbtxVQa6lLu+IzdEsfzrexpJVm6MdOugIQICyN2ZNS7hgw=="<EMAIL_ADDRESS>"password"=>"[FILTERED]", "remember_me"=>"0"}, "commit"=>"Log In"}
  User Load (0.6ms)  SELECT  "users".* FROM "users" WHERE "users"."email" = $1 LIMIT $2  [["email"<EMAIL_ADDRESS>["LIMIT", 1]]
Redirected to https://3751d64e.ngrok.io/oauth/authorize?client_id=<client_id>&redirect_uri=https%3A%2F%2F3751d64e.ngrok.io%2Foauth%2Fcallback&response_type=code
Completed 302 Found in 67ms (ActiveRecord: 0.6ms)

Started GET "/oauth/authorize?client_id=<client_id>&redirect_uri=https%3A%2F%2F3751d64e.ngrok.io%2Foauth%2Fcallback&response_type=code" for <IP_ADDRESS> at 2017-10-23 13:40:36 +0100
Processing by Doorkeeper::AuthorizationsController#new as HTML
  Parameters: {"client_id"=>"<client_id>", "redirect_uri"=>"https://3751d64e.ngrok.io/oauth/callback", "response_type"=>"code"}
  User Load (0.4ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
  Doorkeeper::Application Load (0.4ms)  SELECT  "oauth_applications".* FROM "oauth_applications" WHERE "oauth_applications"."uid" = $1 LIMIT $2  [["uid", "6067fbe8f36b4343aa297ce76348e868f9ea04b04841adb411d0885c491c1d48"], ["LIMIT", 1]]
  CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
  CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
  Doorkeeper::AccessToken Load (0.5ms)  SELECT  "oauth_access_tokens".* FROM "oauth_access_tokens" WHERE "oauth_access_tokens"."application_id" = $1 AND "oauth_access_tokens"."resource_owner_id" = $2 AND "oauth_access_tokens"."revoked_at" IS NULL ORDER BY created_at desc LIMIT $3  [["application_id", 11], ["resource_owner_id", 1], ["LIMIT", 1]]
  CACHE User Load (0.0ms)  SELECT  "users".* FROM "users" WHERE "users"."id" = $1 LIMIT $2  [["id", 1], ["LIMIT", 1]]
   (0.2ms)  BEGIN
  Doorkeeper::AccessGrant Exists (0.6ms)  SELECT  1 AS one FROM "oauth_access_grants" WHERE "oauth_access_grants"."token" = $1 LIMIT $2  [["token", "a6bd0459570f1e0116ca6b2cade1e60ae83ba439d3c70b750046cfffe3cc85e4"], ["LIMIT", 1]]
  SQL (0.5ms)  INSERT INTO "oauth_access_grants" ("resource_owner_id", "application_id", "token", "expires_in", "redirect_uri", "created_at", "scopes") VALUES ($1, $2, $3, $4, $5, $6, $7) RETURNING "id"  [["resource_owner_id", 1], ["application_id", 11], ["token", "a6bd0459570f1e0116ca6b2cade1e60ae83ba439d3c70b750046cfffe3cc85e4"], ["expires_in", 600], ["redirect_uri", "https://3751d64e.ngrok.io/oauth/callback"], ["created_at", "2017-10-23 12:40:36.235539"], ["scopes", ""]]
   (1.5ms)  COMMIT
Redirected to https://3751d64e.ngrok.io/oauth/callback?code=a6bd0459570f1e0116ca6b2cade1e60ae83ba439d3c70b750046cfffe3cc85e4
Completed 302 Found in 14ms (ActiveRecord: 4.2ms)

Started GET "/oauth/callback?code=[FILTERED]" for <IP_ADDRESS> at 2017-10-23 13:40:36 +0100
Processing by SessionsController#oauth_call as HTML
  Parameters: {"code"=>"[FILTERED]"}
Started POST "/oauth/token" for <IP_ADDRESS> at 2017-10-23 13:40:37 +0100
Completed 500 Internal Server Error in 60406ms (ActiveRecord: 0.0ms)

Faraday::TimeoutError (Net::ReadTimeout)

Cant for the life of me figure out why it works in irb but not in code.  Here is what i do in irb
irb(main):001:0> require 'oauth2'
=> true
irb(main):002:0>
irb(main):003:0* client_id    = '6067fbe8f36b4343aa297ce76348e868f9ea04b04841adb411d0885c491c1d48'
=> "6067fbe8f36b4343aa297ce76348e868f9ea04b04841adb411d0885c491c1d48"
irb(main):004:0> client_secret       = '937088f4b7579b8922ad02518477da7be699958df1b1e8a85da34f2e8b4ce086'
=> "937088f4b7579b8922ad02518477da7be699958df1b1e8a85da34f2e8b4ce086"
irb(main):005:0> redirect_uri   = 'https://3751d64e.ngrok.io/oauth/callback'
=> "https://3751d64e.ngrok.io/oauth/callback"
irb(main):006:0> site = 'https://3751d64e.ngrok.io'
=> "https://3751d64e.ngrok.io"
irb(main):007:0> state = 'some state'
=> "some state"
irb(main):008:0> client = OAuth2::Client.new(client_id, client_secret, :site => site)
=> #<OAuth2::Client:0x007fa61414c4b0 @id="6067fbe8f36b4343aa297ce76348e868f9ea04b04841adb411d0885c491c1d48", @secret="937088f4b7579b8922ad02518477da7be699958df1b1e8a85da34f2e8b4ce086", @site="https://3751d64e.ngrok.io", @options={:authorize_url=>"/oauth/authorize", :token_url=>"/oauth/token", :token_method=>:post, :auth_scheme=>:request_body, :connection_opts=>{}, :connection_build=>nil, :max_redirects=>5, :raise_errors=>true}>
irb(main):009:0> client.auth_code.authorize_url(:redirect_uri => redirect_uri)
=> "https://3751d64e.ngrok.io/oauth/authorize?client_id=6067fbe8f36b4343aa297ce76348e868f9ea04b04841adb411d0885c491c1d48&redirect_uri=https%3A%2F%2F3751d64e.ngrok.io%2Foauth%2Fcallback&response_type=code"

even If i put that uri into browser and it returns the access token:
{"token_type":"bearer","created_at":1508763209,"access_token":"38282cae5191923f1f358aece869e237d4d9742cdd7c918ae63104c57807a826","refresh_token":null,"expires_at":1508770409}

Again any help would be amazing!

Just enabled debug and got this message
WARNING: Unexpected middleware set after the adapter. This won't be supported from Faraday 1.0.


Add react-native package

this PR re-exports specific state handling and context hooks that can be used within react-native without further modification.
There are some minor typing inconveniences, e.g.
function MyComponentsStage() {
  const tracks = useTracks([Track.Source.Camera]);

  console.log(tracks);

  return (
    <>
      {tracks.map((trackRef) => (
        <VideoView
          key={trackRef.participant.identity}
          videoTrack={trackRef.publication.track as VideoTrack | undefined}
        ></VideoView>
      ))}
    </>
  );
}

where we need to cast the publication.track as a VideoTrack right now as useTracks only returns general publications without being specific about the track type.
If we want to avoid people having to install yet another package, we can also think about doing the re-export of these hooks directly in the @livekit/react-native package that exists already today.

Will need to play more with it, but seems to work well. I think the only thing we'll want to add is a LiveKitRoom version for react native, since using useLiveKitRoom and setting up the context providers feels a little clunky.

I think the only thing we'll want to add is a LiveKitRoom version

totally agree!
Would you guys prefer a separate package (the components-react-native one) or adding all these hooks to the already existing react-native package?

closing in favor of https://github.com/livekit/client-sdk-react-native/pull/139


The "Split css" commit from Jul 18 has caused our images to exceed window width

We built a hugo server on our home network earlier this year and had found your theme to be very nice, so thank you.
Question: your commit 9acb03e649540a289d794f6c1e06d4af511181f2 named "Split css" has changed the behavior of how our images are displayed. Wonder if we're doing something wrong. Now our jpg images are displayed at full resolution rather than being sized to fit the width of the desktop window or the mobile screen. They used to be sized to fit the available view port width.
We run the hugo server behind our home firewall so can't show the results, sorry. It's a project for the family. The pages all have the same problem for us. Each typically has a reference to a jpg file like
![Picture name](/img/photo.jpg)
I can see the file changes this commit made, but I don't understand hugo well enough to know where to start in narrowing things down easily. Can you offer a suggestion?
TIA.

Can you provide me with a screenshot? You can hide your private information with a mosaic. In fact, if the resolution of the image in the post is too large, it will adapt to the width of the outer container, that is, it will not be wider than the width of the article area.

The image is honoring the border on the left side of the browser window but not the right side, or the bottom for that matter. I've seen the same with Chrome on my desktop and Safari on my desktop and phone.

This problem did occur a long time ago, I remember I have fixed it. Is the theme you used is the latest?

Oh yes. Totally my fault. I just remembered I had created a copy of your _default/single.html and put it into the top level layouts/_default/single.html. When I removed my local copy, your theme worked again as expected from the latest tip.
Sorry about that. I'll make a fresh copy and work in my changes again. (I had removed the save button and added a print button I think.)
Thanks again and thanks for a very nice theme.

Never mind. Glad to help u and thanks for liking this theme.~


Multi-platform docker images

Description
Building multi-platform docker images.
Linked Issues
Closes https://github.com/undistro/zora/issues/200
How has this been tested?

docker manifest inspect ghcr.io/undistro/zora/operator:feat-multi-platform-support
running in a arm node

Checklist

[x] I have labeled this PR with the relevant Type labels
[x] I have documented my code (if applicable)
[ ] My changes are covered by tests

References:

https://docs.docker.com/build/building/multi-platform/
https://docs.docker.com/build/ci/github-actions/multi-platform/

Sorry for the Delay. Following up:
I set up a values.yaml with the following change:
...
operator:
  replicaCount: 1
  image:
    repository: ghcr.io/undistro/zora/operator
    tag: "feat-multi-platform-support"
    pullPolicy: IfNotPresent
...

But got the following error:
$ helm install zora -n zora-system -f values.yaml undistro/zora --wait
Error: INSTALLATION FAILED: failed post-install: pod zora-saas-install-hook failed

Looking at the pods got the following:
$ kubectl -n zora-system get pod -o wide
NAME                             READY   STATUS    RESTARTS   AGE   IP           NODE   NOMINATED NODE   READINESS GATES
zora-operator-65fb445f99-m8746   2/2     Running   0          19m   <IP_ADDRESS>   pi2    <none>           <none>
zora-saas-install-hook           0/1     Error     0          19m   <IP_ADDRESS>   pi4    <none>           <none>

The logs for both pods:
$ kubectl -n zora-system logs -f zora-saas-install-hook
exec /bin/sh: exec format error

$ kubectl -n zora-system logs -f zora-operator-65fb445f99-m8746 -c manager
I0310 21:27:20.816933       1 request.go:665] Waited for 1.04579305s due to client-side throttling, not priority and fairness, request: GET:https://<IP_ADDRESS>:443/apis/helm.cattle.io/v1?timeout=32s
{"level":"info","ts":"2023-03-10T21:27:21Z","logger":"controller-runtime.metrics","msg":"Metrics server is starting to listen","addr":"<IP_ADDRESS>:8080"}
{"level":"info","ts":"2023-03-10T21:27:21Z","logger":"setup","msg":"registering SaaS hooks on reconcilers","workspaceID":"bd430fe4-fbe7-452c-9d7f-a41d0baff358"}
{"level":"info","ts":"2023-03-10T21:27:21Z","logger":"setup","msg":"starting manager"}
{"level":"info","ts":"2023-03-10T21:27:21Z","msg":"Starting server","kind":"health probe","addr":"[::]:8081"}
{"level":"info","ts":"2023-03-10T21:27:21Z","msg":"Starting server","path":"/metrics","kind":"metrics","addr":"<IP_ADDRESS>:8080"}
I0310 21:27:21.251889       1 leaderelection.go:248] attempting to acquire leader lease zora-system/e0f4eef4.zora.undistro.io...
I0310 21:27:40.230012       1 leaderelection.go:258] successfully acquired lease zora-system/e0f4eef4.zora.undistro.io
{"level":"info","ts":"2023-03-10T21:27:40Z","logger":"controller.cluster","msg":"Starting EventSource","reconciler group":"zora.undistro.io","reconciler kind":"Cluster","source":"kind source: *v1alpha1.Cluster"}
{"level":"info","ts":"2023-03-10T21:27:40Z","logger":"controller.cluster","msg":"Starting Controller","reconciler group":"zora.undistro.io","reconciler kind":"Cluster"}
{"level":"info","ts":"2023-03-10T21:27:40Z","logger":"controller.clusterscan","msg":"Starting EventSource","reconciler group":"zora.undistro.io","reconciler kind":"ClusterScan","source":"kind source: *v1alpha1.ClusterScan"}
{"level":"info","ts":"2023-03-10T21:27:40Z","logger":"controller.clusterscan","msg":"Starting EventSource","reconciler group":"zora.undistro.io","reconciler kind":"ClusterScan","source":"kind source: *v1.CronJob"}
{"level":"info","ts":"2023-03-10T21:27:40Z","logger":"controller.clusterscan","msg":"Starting Controller","reconciler group":"zora.undistro.io","reconciler kind":"ClusterScan"}
{"level":"info","ts":"2023-03-10T21:27:40Z","logger":"controller.cluster","msg":"Starting workers","reconciler group":"zora.undistro.io","reconciler kind":"Cluster","worker count":1}
{"level":"info","ts":"2023-03-10T21:27:40Z","logger":"controller.clusterscan","msg":"Starting workers","reconciler group":"zora.undistro.io","reconciler kind":"ClusterScan","worker count":1}

Conclusion:
The architecture change is working like a charm and the post hook looks like to be another issue that I will investigate.
I think you can merge and thanks for work.
🙇

I have figured out the issue with the hook, the image radial/busyboxplus:curl does not support arm64 architecture.
In this pull request  https://github.com/undistro/zora/pull/204 I have changed it to curlimages/curl:7.88.1 that supports arm64 and is rootless. (https://hub.docker.com/r/curlimages/curl/tags)
Be free to use or build another one.

Thank you @wsilva
Good catch about the helm hook image!
I'm closing this PR so we can consider yours (https://github.com/undistro/zora/pull/204).


[#128160309] Simplify key presence requirement for bosh destroy

What
Simplify #450 : For destroy, TF doesn't really need the actual key to be present, as it never checks its contents against AWS. It is enough that empty file is present. This is similar to what we do in destroy-deployer pipeline (#455).
How to review
Run destroy microbosh pipeline. Check that TF completes successfully.
Who can review
not @mtekel

👍  waiting on travis then will merge.


⚠ GitLab Server has degraded performance

In 405919e, GitLab Server (https://gitlab01.its-telekom.eu) experienced degraded performance:

HTTP code: 200
Response time: 11687 ms

Resolved: GitLab Server performance has improved in fdba603.


[Icon] make claw optional

Currently it is not able to build Icon without Claw, because in all cases Spack wants to retrieve
the dependency "claw" even for cases with ~claw variant.

@elsagermann I came across this today, but I am not familiar with the icon package for Spack.
Is my fix correct or do I miss something?

@jonasjucker Sorry for the big delay, didn't get any notification. The thing is that the wrapper of the icon build system are always asking for the $CLAW variable to be set, even if this variable is not use afterwards, so yes this is needed even if claw is not used.


User Management API

Continuation of #2734.
Addresses #2701 and likely  #1363.
Progress

[x] Create
[x] Read
[x] Update
[x] Delete
[x] Listing
[x] Testing Coverage
[x] API Examples Added

Now ready to merge. Could do with some manual checking of interface-based user-management actions in release testing.
Will be part of the next release. Awaiting a closer time to release before merging.


several issues: 1. out of memory, 2. sharing lbcnn AlexNet

There is no guide for running lbcnn version resnet with the dataset Imagenet even there r requirements to download the Imagenet data set! What happened? Actually, when I run yr code with Imagenet dataset, there is an error about out of memory even the batch size is small enough. Is it sure that there is no problems for running lbcnn version resnet with the dataset Imagenet?
There is no problem for running fb.resnet with Imagenet.

Would you share lbcnn version AlexNet source code for training the dataset of Imagenet?

We didn't run Imagenet on resnet in the paper, hence no guide for running that. We are thinking of incorporating Imagenet experiments in a new pytorch repo, pending permissions from certain parties. I hope you could understand...

Thanks for kind replying!
However, there is no commnet on second issues...
In your paper, there is results on full Imagenet with LBCNN version of Alexnet. I want to train its LBCNN version and do some experiments. Please help me juefeix.. Would you share lbcnn version AlexNet source code?

Thanks for kind replying!!
I can understand what u mean but U can share at least what you done in the paper, not the progressing one isn't it. I hope you to help.
Thanks.

I wish I could help, but like I said, we are thinking of incorporating Imagenet experiments (old and new) in a new pytorch repo, pending permissions from certain parties. I hope you could understand...


Login invalid username

Doesn't display validation toast on UI, but throws Exception in Spring

Exception Handling


Get stderr or last few lines of extension-owned Terminal in API when it crashes?

I've read through https://github.com/microsoft/vscode/issues/78574 and https://github.com/microsoft/vscode/issues/62103, but please feel free to let me know if this is a duplicate or unfeasible.
Every so often we get an issue opened on the PowerShell extension like this one where the subprocess we start as a terminal crashes before we can log anything.
In those cases, it's currently quite hard to work out why the terminal crashed. We either need the user to run the invocation we pass to VSCode to start the terminal, or get them to record a GIF of the crash when they reproduce it to capture the brief moment the error message is displayed in the terminal before it's cleaned up.
If it were possible for us to get the stderr or the most recent output of the terminal in some way, we'd be able to log the error and probably have a significantly improved rate of error fixing and user satisfaction. I understand that ask is vague and there are performance implications with reading everything as it comes through and so on, but just want to express the general desire to see more than the exit code when a terminal process crashes. And query whether that's:

Already possible
Infeasible
Possibly implementable with some set of caveats

So as I understand it we cannot differentiate between stderr and stdout since the messages are just coming over a single pipe, at least without complicating things a bunch (this has been discussed before https://github.com/microsoft/node-pty/issues/71).
As for getting the last few lines of output, right now no extensions can access the terminal output kind of by design. There's a proposed-only API that gets at output (onDidWriteTerminalData) that live share uses but there are performance/security issues with it that we're not willing to accept for general use.
One thought is to expose the terminal buffer similar to TextDocument but the problem there is that the APIs would have to be asynchronous as the terminal doesn't mirror the buffer in the extension host (and definitely should not), but making it async would be inconsistent with TextDocument 😕. If you have any bright ideas on how to expose just the needed context I'm all ears, hard coding a magic number seems bad as people will just keep requesting the number be higher/configurable.

An alternative might be to add a closeTerminalOnProcessExit: 'always' | 'zero' | 'never' option for window.createTerminal. That way an extension can create a terminal that stays open even if the underlying process dies; the user can then still look at all output.


Toggle view of stock value

PR for toggle function.

Solved some conflicts in cshtml file for displaying stock values.


Issue with request path match with regex

Summary
We are having issue with Route matching. There are two routes configured under different services having paths with regex, where the request for only one route is matched & other is returning 404 as its matched incorrectly & sent to wrong service where that route is not hosted. We are not using any header or hosts for request path matching. We rely completely on the Path URI configured in the kong for request matching.
Steps To Reproduce
Here is how the config is in nutshell -
Service A -> Route A - > Path :- /individuals/details/(.+)/(.+)
Service B -> Route B - > Path :- /individuals/details/contact/(.+)/(.+)
So any request to Route B path is directed to Service A & hence resulting in Kong returning 404. Here is link & extract from documentation for route matching  - https://docs.konghq.com/2.0.x/proxy/#request-path

When proxying with path prefixes, the longest paths get evaluated first. This allow you to define two Routes with two paths: /service and /service/resource, and ensure that the former does not “shadow” the latter.

Now as per the documentation, longest path should get evaluated first so it should match Route B instead of A. Path variables in above URI's we have regex for are - /{idType}/{idValue}.
Any suggestions on why Kong is behaving like this or how best we can achieve the desired results, without using headers/hosts if possible [reducing the impact on consumers for change], will be helpful.
Additional Details

Kong version - 2.0.1

Kong Configuration -
For additional details, here is the Kong Config for routes in Kong DB-
Route A :
{
"id": "2d255493-c60b-4c75-a13b-0b92344e0964",
"path_handling": "v0",
"paths": [
"/individuals/details/contact/(.+)/(.+)"
],
"destinations": null,
"headers": null,
"protocols": [
"http",
"https"
],
"methods": [
"GET"
],
"snis": null,
"service": {
"id": "86dfb5af-eea9-4bfe-bad6-5fb6234e6dad"
},
"name": "api-B",
"strip_path": false,
"preserve_host": false,
"regex_priority": 0,
"updated_at":<PHONE_NUMBER>,
"sources": null,
"hosts": null,
"https_redirect_status_code": 426,
"tags": null,
"created_at":<PHONE_NUMBER>
}
Route B :
{
"id": "37acf130-3085-461f-8ed6-73d3ff9f98df",
"path_handling": "v0",
"paths": [
"/individuals/details/(.+)/(.+)"
],
"destinations": null,
"headers": null,
"protocols": [
"http",
"https"
],
"methods": [
"GET"
],
"snis": null,
"service": {
"id": "faf7155c-92ff-404a-9372-c4462377cbb0"
},
"name": "api-A",
"strip_path": false,
"preserve_host": false,
"regex_priority": 0,
"updated_at":<PHONE_NUMBER>,
"sources": null,
"hosts": null,
"https_redirect_status_code": 426,
"tags": null,
"created_at":<PHONE_NUMBER>
}

from the doc you link:

Kong evaluates prefix paths by length: the longest prefix paths are evaluated first. However, Kong will evaluate regex paths based on the regex_priority attribute of Routes from highest priority to lowest. Regex paths are furthermore evaluated before prefix paths.

so, the "longest path wins" rule is only for prefix paths, not regexes.   In your case, you should add regex_priority attributes.

from the doc you link:

Kong evaluates prefix paths by length: the longest prefix paths are evaluated first. However, Kong will evaluate regex paths based on the regex_priority attribute of Routes from highest priority to lowest. Regex paths are furthermore evaluated before prefix paths.

so, the "longest path wins" rule is only for prefix paths, not regexes.   In your case, you should add regex_priority attributes.

But what happens when both the paths have regex, then which one is evaluated first? what is the default order of evaluation in this case?

But what happens when both the paths have regex, then which one is evaluated first? what is the default order of evaluation in this case?

it's undefined.  that's why regex_priority is required.

it's undefined.  that's why regex_priority is required.

@javierguerragiraldez is correct. Please give regex_priority  a try and reopen if the issue still persists.

@javierguerragiraldez is correct. Please give regex_priority  a try and reopen if the issue still persists.


Upgrade efforts to date (not for merge)

This PR was created solely to expose and make clear the differences between src_d3_35 and src_d3_50. The purpose of this is to discover the extent of upgrade efforts to date (by browsing the diff), and to reveal how far these two directories have diverged.

Closing as this is just for reference.


DOC: <Issue related to /v0.2/docs/integrations/text_embedding/baidu_qianfan_endpoint/>

URL
https://python.langchain.com/v0.2/docs/integrations/text_embedding/baidu_qianfan_endpoint/
Checklist

[X] I added a very descriptive title to this issue.
[X] I included a link to the documentation page I am referring to (if applicable).

Issue with current documentation:
I run the sample code and get an error.How to solve it？
Operating environment:
python 3.10
langchain-community      0.2.7
qianfan                  <IP_ADDRESS>
Run the code:
`import os
from langchain_community.embeddings import QianfanEmbeddingsEndpoint
os.environ["QIANFAN_AK"] = "xxx"
os.environ["QIANFAN_SK"] = "xxx"
embed = QianfanEmbeddingsEndpoint()
res = embed.embed_documents(["hi", "world"])
print(res)`
Error message:
Traceback (most recent call last):   File "/llm-example/langchain/test.py", line 9, in <module>     embed = QianfanEmbeddingsEndpoint()   File "/llm-example/langchain/.venv/lib/python3.10/site-packages/pydantic/v1/main.py", line 341, in __init__     raise validation_error pydantic.v1.error_wrappers.ValidationError: 2 validation errors for QianfanEmbeddingsEndpoint qianfan_ak   str type expected (type=type_error.str) qianfan_sk   str type expected (type=type_error.str)
Idea or request for content:
No response

the same problem!!! but, my conda have many virtual environment, if i change to a special old one, it can run, i do not know why. although the same python version3.10.11, it can not run. i guess that is the version problem between baidu.qianfan and langchain

+1
Traceback (most recent call last):
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/pydevd.py", line 1537, in _exec
pydev_imports.execfile(file, globals, locals)  # execute the script
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Applications/PyCharm CE.app/Contents/plugins/python-ce/helpers/pydev/_pydev_imps/_pydev_execfile.py", line 18, in execfile
exec(compile(contents+"\n", file, 'exec'), glob, loc)
File "/Users/prisoner/PycharmProjects/llm/langchain/start_pdf.py", line 36, in
embeddings = QianfanEmbeddingsEndpoint()
^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/opt/anaconda3/lib/python3.12/site-packages/pydantic/v1/main.py", line 341, in init
raise validation_error
pydantic.v1.error_wrappers.ValidationError: 2 validation errors for QianfanEmbeddingsEndpoint
qianfan_ak
str type expected (type=type_error.str)
qianfan_sk
str type expected (type=type_error.str)