chore(types): Remove outdated generated file

This file was generated by the previous version of prost-build. This behaviour was fixed in https://github.com/tokio-rs/prost/pull/726.

The ci will be fixed in #1240.

Tries to fix ci in #1240.

Rebased.


Add sandbox processing option

Sandboxes are not currently processed for new builds, need to add option to include these.

Dependant on #4

Fixed in 2.0.0.


Zoom doesn't work with svg

Hi, not sure if this is supposed to work this way. PNG images open and zoom fine, but SVG images are not zoomable at all. Any solution?

Maybe related, some svg files work fine like the files generated by Excalidraw but the files generated by Mermaid are even smaller in GLightBox than what is displayed normally.

Could be. My SVG files are plantUML generated.

I had the same issue with SVGs from Google Slides (very small view). I checked what Excalidraw writes into the SVG – seems that it sets width and height attributes for svg explicitly. After doing the same in the affected SVG, I got a proper, zoomed preview.
very small image
<svg version="1.1" viewBox="0.0 0.0 960.0 540.0" fill="none" stroke="none" stroke-linecap="square" stroke-miterlimit="10" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">

normal size image
<svg version="1.1" viewBox="0.0 0.0 960.0 540.0" width="960" height="540" fill="none" stroke="none" stroke-linecap="square" stroke-miterlimit="10" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">

2x image
<svg version="1.1" viewBox="0.0 0.0 960.0 540.0" width="1920" height="1080" fill="none" stroke="none" stroke-linecap="square" stroke-miterlimit="10" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg">


Stefanozampini/ex2p bddc

Add BDDC elasticity solver example https://github.com/mfem/mfem/issues/2796

This PR is now under review (see the table in the PR description). To help with the review process, please do not force push to the branch.

@davydden, please feel free to review

Merged in next for testing...


Add documentation for IpAddr support in Postgres

This PR updates the documentation to reflect #1822

It looks like cargo fmt needs to be run.


Desktop version

Add following features

Use media queries.
use Grid and Flexbox.
design like figma.

Hello dear sir
Actually you mean that, I should just use one input and it will be full
name same like email in size.
On Fri, Apr 7, 2023, 1:52 PM AVLESSI Matchoudi @.***>
wrote:

@.**** requested changes on this pull request.
Hi @sulaimanahmadi https://github.com/sulaimanahmadi,
Good job there 👏 !
There is only one important issue that you still need to work on to go to
the next project but you are already there!
[image: almost]
https://camo.githubusercontent.com/4f9601b422a77702aefe8e13485d2d5618cc0c30772eb2aa9f4129eac4757e06/68747470733a2f2f6d656469612e67697068792e636f6d2f6d656469612f4b7942657366386b4e5436733838534567622f67697068792e676966
Highlights

Your design is identical to the Figma design 🥇
Your website is responsive from the desktop version to the Mobile
version 👍
Your mobile design still looks like expected 💯
All linters passed ✔

Required Changes ♻
Check the comments under the review.
Optional suggestions
Every comment with the [OPTIONAL] prefix is not crucial enough to stop
the approval of this PR. However, I strongly recommend you to take them
into account as they can make your code better.
Cheers and Happy coding!👏👏👏
Feel free to leave any questions or comments in the PR thread if something
is not 100% clear.
Please, remember to tag me in your question so I can receive the
notification.
Please, do not open a new Pull Request for re-reviews. You should use the
same Pull Request submitted for the first review, either valid or invalid
unless it is requested otherwise.
As described in the Code reviews limits policy
https://microverse.zendesk.com/hc/en-us/articles/1500004088561 you have a
limited number of reviews per project (check the exact number in your
Dashboard). If you think that the code review was not fair, you can request
a second opinion using this form https://airtable.com/shrQAqnBwek5a0O0s.
In index.html
https://github.com/sulaimanahmadi/MyPortfolio/pull/8#discussion_r1160566532
:

               <input name="name" id="name" type="text" placeholder="Last Name" maxlength="30" required>

Great job, your design is identical to the Figma design 😍 However
let's remove the input for Last Name and only use the Full name input (just
like the mobile version) and make it takes the space of Last Name input
(Have the same width with the Email input) to follow the project
requirement (see image).
[image: Screenshot from 2023-04-07 09-01-53]
https://user-images.githubusercontent.com/91142432/230580869-b914fe7f-439e-4320-b3f8-7a99b811510f.png

—
Reply to this email directly, view it on GitHub
https://github.com/sulaimanahmadi/MyPortfolio/pull/8#pullrequestreview-1376008250,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A4QVLCRBLLHI6HBCQUJ3RGDW77MGRANCNFSM6AAAAAAWWKXPOI
.
You are receiving this because you were mentioned.Message ID:
@.***>

@sulaimanahmadi, Yes It's in the project requirement I also attached the requirement image to my comment


Unable to import files having .pcss extension

After updating from 2.1.0 to 3.0.1 I've to manually add "extension" on every files in my stylesheet, otherwise partial-import can't locate my files.

Here is my config

require("postcss-partial-import")({ extension: ".pcss" }),

My old way to import

@import "inc/reset";
@import "inc/variables";
@import "inc/mixins";

And now I've to add "extension"

@import "inc/reset.pcss";
@import "inc/variables.pcss";
@import "inc/mixins.pcss";

Thank you. This is now resolved in v3.1.0, which has been published.

v3.1.0 is still not working on windows (10) x64
Error in plugin 'gulp-postcss'
Message:
    Failed to find 'inc/variables'
    in [
        E:\local\webapp\private\src\postcss
    ]
Details:
    fileName: E:\local\webapp\private\src\postcss\test-web.pcss
Stack:
Error: Failed to find 'inc/variables'
    in [
        E:\local\webapp\private\src\postcss
    ]
    at E:\local\node_modules\postcss-import\lib\resolve-id.js:61:11
[17:43:29] Finished 'compile:postcss:local' after 251 ms


Rotating map markers

Rotating map markers with the ability to edit the rotation angle of existing markers.

implemented and released:
https://www.sothawo.com/2020/04/mapjfx-1-32-0-and-2-14-0-adds-the-ability-to-rotate-markers-and-labels/

Hi Peter,
What can I say?
Perfect Job!
Thanks a lot!
Greetings
pon., 6 kwi 2020 o 13:07 Peter-Josef Meisch<EMAIL_ADDRESS>napisał(a):

implemented and released:
https://www.sothawo.com/2020/04/mapjfx-1-32-0-and-2-14-0-adds-the-ability-to-rotate-markers-and-labels/
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/sothawo/mapjfx/issues/80#issuecomment-609728126, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/ADLQEKUHFROW6WVWEUPW3GDRLGZWNANCNFSM4LV42BBQ
.


Discord rss

Find bot (or make one) To post RSS feed to #socialfeed Or #changelogs
Or maybe even webhook? (Not sure if its possible)

Added bot. Awaiting rss edit to test

Bot working
Ticket closed


B7 after flashing

Hello ;)
After I flashed your latest version I got a b1 code. After holding power down button as you said and restarting I always get B7.
But it's not the usual B7 I used to get during memory check, it's B7 after 4F code.
Already tried flashing the stock version with ch341 and no success at all.
Tried removing one CPU and all ram modules, no success.
Tried booting without battery, tried reseting cmos, nothing seems to solve it ;(
Before flashing the first time I made sure my GPU supported UEFI, the GPU has a switch when toggled/untoggled it switch uefi mode or not, my GPU is a Sapphire RX 580 2GB.
Both CPUs are 2680v4
Any tips to solve this?

Hi, If you using 2 CPUs, install only CPU 1 for now and try to boot.
To flash via ch341 you need be sure the board is receiving Power
So, plug the ch341 clip to the BIOS chip.
Power on the PC when try to read/flash the BIOS chip.
Be sure to pin 1 from BIOS match to pin 1 to clip.
Flash your stock BIOS, or my stock BIOS

to flash your can use any ch341 Tool like asprogrammer for exemple.
Erase the chip and than flash your backup BIOS.

After try to boot.
If you dont have backup you can use  this original BIOS .

It's reading, writing and verifying the ROM 'correctly' at least the checksums match. Did you mean I have to flash with PSU connected and powered? I might just give another try right now but I tried it earlier.

Did it again with PSU connected and motherboard energized, no post. Still B7 after 4F.

Did it again with PSU connected and motherboard energized, no post. Still B7 after 4F.

You need to erase chip 1st
Maybe ia Just that. You rev of the board is 1.31?

Good news!
After rewriting lots of bios and being frustated I found a russian forum discussion about support on XM25QH128C chip, it was some guy trying to flash older bioses versions on this rev 1.31 and his problem was this chip specifically.
After downloading a full dump from another website I just checked it had this chip listed in the descriptors of the bios using UEFITool.
I checked the stock ROM you provided and it's probably this problem, it doesn't support this chip.
This is the descriptor region of the new bios I found and finally was able to boot my system:
Fixed: Yes Base: 0h Address: FF000000h Offset: 0h ReservedVector: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Full size: 1000h (4096) ME region offset: 1000h BIOS region offset: 800000h Region access settings: BIOS: FFh FFh ME: FFh FFh GbE:  FFh FFh BIOS access table:       Read  Write Desc  Yes   Yes  BIOS  Yes   Yes ME    Yes   Yes  GbE   Yes   Yes  PDR   Yes   Yes  Flash chips in VSCC table: 1F4700 (Atmel AT25DF321) EF3016 (Winbond W25X32) BF2541 (Microchip SST25VF016B) 1F4700 (Atmel AT25DF321) 1F4501 (Atmel AT26DF081A) 1F4600 (Atmel AT26DF161) C22014 (Macronix MX25L80) C22015 (Macronix MX25L16) C22016 (Macronix MX25U16) C22017 (Macronix MX25L64) C22018 (Macronix MX25L128) 9D7F7A (Unknown 009D7F7Ah) BF258E (Microchip SST25VF080B) BF2541 (Microchip SST25VF016B) 208015 (Micron M25PE16) EF3014 (Winbond W25X80) EF3016 (Winbond W25X32) EF3017 (Winbond W25X64) EF4017 (Winbond W25Q64) EF4018 (Winbond W25Q128) EF6017 (Winbond W25Q64) EF6018 (Winbond W25Q128) C22018 (Macronix MX25L128) A12818 (Unknown 00A12818h) **204018 (Micron XM25QH128C)**
This was yours stock rom:
Fixed: Yes Base: 0h Address: FF000000h Offset: 0h ReservedVector: FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF FF Full size: 1000h (4096) ME region offset: 1000h BIOS region offset: 800000h Region access settings: BIOS: FFh FFh ME: FFh FFh GbE:  FFh FFh BIOS access table:       Read  Write Desc  Yes   Yes  BIOS  Yes   Yes ME    Yes   Yes  GbE   Yes   Yes  PDR   Yes   Yes  Flash chips in VSCC table: 1F4700 (Atmel AT25DF321) EF3016 (Winbond W25X32) BF2541 (Microchip SST25VF016B) 1F4700 (Atmel AT25DF321) 1F4501 (Atmel AT26DF081A) 1F4600 (Atmel AT26DF161) C22014 (Macronix MX25L80) C22015 (Macronix MX25L16) C22016 (Macronix MX25U16) C22017 (Macronix MX25L64) C22018 (Macronix MX25L128) 9D7F7A (Unknown 009D7F7Ah) BF258E (Microchip SST25VF080B) BF2541 (Microchip SST25VF016B) 208015 (Micron M25PE16) EF3014 (Winbond W25X80) EF3016 (Winbond W25X32) EF3017 (Winbond W25X64) EF4017 (Winbond W25Q64) EF4018 (Winbond W25Q128) EF6017 (Winbond W25Q64) EF6018 (Winbond W25Q128) C22018 (Macronix MX25L128) 1C4018 (Unknown 001C4018h)
Perhaps it'd be nice to make some disclaimer so ppl could check if their bios chip is compatible before getting into a lot of trouble.
This is the BIOS that finally worked, just in case you want to make your mods for it: fullbackup_301123_171936.zip

I conducted some investigation and found that the BIOS you sent is (10/30/2023) ZX-DU99D4 V1.3 DU994305, whereas mine is older (05/06/2023) ZX-DU99D4 DU994304.
As you can see, the factory keeps changing BIOS chips to generic ones and updates the VSCC table whenever they make changes in their factory. This unpredictability makes it difficult for me to anticipate their next steps.
I've advised people to back up their BIOS using a disclaimer. This way, they can return to the stock version if necessary. My goal is to fix some bugs and improve its performance.
I'll include this information in the readme soon and suggest that people post their own BIOS here before flashing, so we can verify the BIOS information.
Regarding AFUWIN, I'll try to create a tutorial. I suggested AFUWIN because FTP doesn't support these counterfeit BIOS chips that the factory uses.
As you can see, the factory continues to "update" this BIOS, and there's a newer BIOS (2024 build) available. I saw it in a video and asked the person to share it, but unfortunately, he gave me an empty response.
https://www.youtube.com/watch?v=_TRXTacvTdU
I don't personally know anyone in the manufacturing process. This board is sold by various Chinese brands, and support for it is uncertain.

@thiagoretes  Did test your bios that was posted here https://xeon-e5450.ru/socket-2011-3/kllisre-x99-dual-zx-du99d4-v1-11/
and it gave me error b7.
so it confirms that is about VSCC table.
will try to make this version universal for older boards.

This was my original bios in case you want: stockbios.zip
The most useful information I found about this board were on this topic: https://forums.overclockers.ru/viewtopic.php?p=18099360#p18099360

This was my original bios in case you want: stockbios.zip
The most useful information I found about this board were on this topic: https://forums.overclockers.ru/viewtopic.php?p=18099360#p18099360

Thanks for your dump, I just find out you have the lastest bios available, so it's just not about IC  support table, something was changed in motherboard, making older bios incompatible. Your bios give me error B7 to, will investigate more and return with more data.
You help a lot today, once again thanks .

@thiagoretes  I did a port to older boards version (4304 and older) thanks to your dump. so thanks a lot for helping the comunity.
soon i will do mod to 4305 and newer board versions.
as i dont have this new board, i cant check if have bugs or need any fix.

When it's done feel free to ping me, I can test it on my board. ;)

@thiagoretes  hi, hope you well, can you test if EFI shell launch works in your factory bios ? It's a boot option of the bios.
I just wanna check if it's a problem of the lastest bios or my port get some random issue.
Thanks a lot since now.

@thiagoretes hi, hope you well, can you test if EFI shell launch works in your factory bios ? It's a boot option of the bios. I just wanna check if it's a problem of the lastest bios or my port get some random issue.
Thanks a lot since now.
Hello jwagnervaz for helping the community

I have recently got one of these dual boards model name ZX-DU99D4 V1.31. I have the latest bios dump via both FPT (16MB) and AFU(8MB). Should i post here?
Can latest bios be improved?
I have a 26** v4 but unfortunately there is no way to overclock it. Is that right? no way?
I plan to buy a 26** v3 and turboboost them, will it work with newest default bios or can you help me? :)
Thanks again

@thiagoretes hi, hope you well, can you test if EFI shell launch works in your factory bios ? It's a boot option of the bios. I just wanna check if it's a problem of the lastest bios or my port get some random issue.
Thanks a lot since now.

Hello
Thanks jwagnervaz for helping the community

I have recently got one of these dual board
model name ZX-DU99D4 V1.31
Bios Version DU994 3.06 x64
Flash Device : MX25L12875F
I have the latest bios dump via both FPT (16MB) and AFU(8MB). Should i send you?  will it help community?
Can latest bios be improved?
I have a 26** v4 but unfortunately there is no way to overclock it. Is that right? no way?
Do 26** v3 get turboboost unlock by default with latest BIOS or needs editing from you? can you help? :)
Thanks again

Hi, sure if you can sent the bios files would help others.
As you can see my board rev is same but hardware is different.
Soon as possible I will mod this boards with bios 3.05 or higher.
V4 don't need unlock turbo boost, an 2670 v3 with turbo boost unlocked lost in performance for an 2680 v4 stock.
V3 it's nos efficient due the 22nm vs 14nm of V4.
Bios need mods to support v3 unlock turbo.
But I don't recommend, it much better use an 2689 v4 stock for temps
It's a board with dual CPU. So stress VRM it's not a good idea.

Hi, sure if you can sent the bios files would help others. As you can see my board rev is same but hardware is different. Soon as possible I will mod this boards with bios 3.05 or higher.
Were do i send the bios file? Do you have an email or telegram?

V4 don't need unlock turbo boost, an 2670 v3 with turbo boost unlocked lost in performance for an 2680 v4 stock.
V3 it's nos efficient due the 22nm vs 14nm of V4.
It's a board with dual CPU. So stress VRM it's not a good idea.
But 2696 v3 overclocked has 25% more performance than 2696 v4. I checked
Yes true that they are less efficient, we can add extra heatsink to VRM

Bios need mods to support v3 unlock turbo. But I don't recommend, it much better use an 2680 v4 stock for temps
So can you confirm that this bios mod only helps in v3 turbo unlock? is there no use for v4 processors?
Can we we overclock v4 any way except busspeed of 100mhz?

Were do i send the bios file? Do you have an email or telegram?

Here in github you can send files

But 2696 v3 overclocked has 25% more performance than 2696 v4. I checked

Check it again
https://valid.x86.fr/3azls8
2697 v3 unlock turbo boost
Source
https://www.reddit.com/r/overclocking/comments/r1hrsr/squeezing_out_everything_from_old_intel_xeon/?rdt=52331
https://valid.x86.fr/k7ez9k
2697 v4 stock

Yes true that they are less efficient, we can add extra heatsink to VRM. I have good watercooling

WC its good to cpu, and very bad to VRM

So can you confirm that other than help of v3 turbo unlock, there is no use of this biosmod for v4 processors?

I had achieved a pseudo turbo with some bios mod, but VRM will be damaged due no good VRM for Dual CPU

Can we overclock v4 any other way except increasing little busspeed?
In theory yes but 105 seems to be the high on most cpus.

@thiagoretes hi, hope you well, can you test if EFI shell launch works in your factory bios ? It's a boot option of the bios. I just wanna check if it's a problem of the lastest bios or my port get some random issue.
Thanks a lot since now.
Edit: I did test 3 factory bios and this option does not work, I never tried before, so I dont know if it's really ever worked.
Edit2: I did test all factory versions I have, none of them works built in shell EFI boot option, so I can confirm it's a bug from factory . Will try to fix.
Edit2: bug present in all DU99D4 fixed, I find the error and fixed, will release a new bios soon with EFI Built-in Shell 2.2 Edk2 24H1.
Thanks a lot.

Long time without checking my mentions haha.
Do you still need me to test it?

@thiagoretes hi, hope you well, can you test if EFI shell launch works in your factory bios ? It's a boot option of the bios. I just wanna check if it's a problem of the lastest bios or my port get some random issue.
Thanks a lot since now.
Edit: I did test 3 factory bios and this option does not work, I never tried before, so I dont know if it's really ever worked.
Edit2: I did test all factory versions I have, none of them works built in shell EFI boot option, so I can confirm it's a bug from factory . Will try to fix.
Edit2: bug present in all DU99D4 fixed, I find the error and fixed, will release a new bios soon with EFI Built-in Shell 2.2 Edk2 24H1.
Thanks a lot.

Long time without checking my mentions haha.
Do you still need me to test it?

Thanks a lot but I already test

Here in github you can send files
attached https://we.tl/t-nhXgmgyu5m

Check it again
https://valid.x86.fr/3azls8 2697 v3 unlock turbo boost
https://valid.x86.fr/k7ez9k 2697 v4 stock
I messed the cpu models. nevermind

I had achieved a pseudo turbo with some bios mod, but VRM will be damaged due no good VRM for Dual CPU
Can you help me a bit trying this pseudo turbo. I have extra heatsinks installed on VRM and also have external temperature sensors, i would like to try? We can test or discuss i private, if you like.

Here in github you can send files

attached https://we.tl/t-nhXgmgyu5m

Check it again
https://valid.x86.fr/3azls8 2697 v3 unlock turbo boost
https://valid.x86.fr/k7ez9k 2697 v4 stock

I messed the cpu models. nevermind

I had achieved a pseudo turbo with some bios mod, but VRM will be damaged due no good VRM for Dual CPU

Is that using bios mods? pseudo meaning non-constant turbo? Can you help me a try? I have extra heatsinks installed on VRM and also have external temperature sensors. We can test or discuss i private, if you like.

@jwagnervaz All fine? did you get the file? i did not hear back

@jwagnervaz All fine? did you get the file? i did not hear back. thanks

Yes your bios is the same as @thiagoretes , I'm working in a mod for bioses newer than DU994305
Currently  my mods is compatible only with DU994304 and older bios versions.
Factory has changed the motherboard components on DU994305 board and newer.


Data Transformation - Implement Validation / Testing / Notifications (not to be confused with file output validation).

What is this?
Transform level validation.
i.e. if we receive 100 'rows / records' of data as an input, we output those 100 'rows / records'.
Ultimately we are implementing data quality metrics by monitoring for anomalies, outliers, missing values, or unexpected duplicates etc. to ensure the integrity and accuracy of the data.
By using the Notification component(s) we are alerting about the detected anomalies or issues for code or data remediation steps.
What to do:
You need to:
Implement testing & validation sections in the transform code to ensure we have performed the transform correctly.
Implement the notification components to signal where invalid transforms are captured / identified.
Acceptance Criteria

[ ] Document (designs in Confluence & in-line code comments.
[ ] Implement validation routines.
[ ] Implement the Notification component(s) where issues need to be raised.

have ask Jim not to bother with notifications for this. The functions in the pipeline are all wrapped in a try catch that'll handle that (as long as the function raises an error on hitting an issue) notifify of a failure with a link back to logs.


Add auto_scale_batch_size for DataModule

🚀 Feature
Could you please add the auto_scale_batch_size functionality to the DataModule class. Currently when the data part is separated from the model it is impossible to set batch size to auto scale.
The following error is returned:
MisconfigurationException: Field batch_size not found in both `model` and `model.hparams`

Motivation
This functionality is very helpful in training the models and I guess moving what was already implemented to DataModule  would be fairly simple
How it should work
Exactly as in LightningModule class. I should be only obligated to add batch_size field in the class and the framework should take care of everything else, example below
class FashionMNISTDataModule(pl.LightningDataModule):
    batch_size = 1 #only this should be initialised

    def __init__(self, root='./data/FashionMNIST'):
        self.root = root

        super().__init__()

    def setup(self, stage=None):
        self.trainset = torchvision.datasets.FashionMNIST(
            root = self.root,
            train = True,
            download = True,
            transform = transforms.Compose([
                transforms.ToTensor()]))

        self.valset = torchvision.datasets.FashionMNIST(
            root = self.root,
            train = False,
            download = True,
            transform = transforms.Compose([
                transforms.ToTensor()]))

    def train_dataloader(self):
        return DataLoader(self.trainset, batch_size=self.batch_size, num_workers=4, shuffle=True)

    def val_dataloader(self):
        return DataLoader(self.valset, batch_size=self.batch_size, num_workers=4)

    def test_dataloader(self):
        return DataLoader(self.mnist_test, batch_size=self.batch_size)

dm = FashionMNISTDataModule()

trainer = pl.Trainer(max_epochs=10,
                     gpus=1,
                     auto_scale_batch_size='power')

trainer.fit(model, dm)

Wrong project I guess, I close


Support custom styling

It would be super cool if the consumer had the ability to completely override the styles on hashtags and mentions.
This provides a larger degree of customizability, thus enabling the consumer to style tags and mentions individually. (One may want to have tags and mentions to be different in color, size, weight, etc.).
This is exactly what this PR solves.
Here you get the ability to provide two new props: tagStyle and mentionStyle, respectivly.
The original colors prop is still preserved for easily setting the color, however, the two new props will take precedence over the color prop if provided.
Example of usage:
import React from "react";
import ReactDOM from "react-dom";
import { ReactTagify } from "react-tagify";

function App() {
  const tagStyle = {
    color: 'red',
    fontWeight: 500,
    cursor: 'pointer'
  };

  const mentionStyle = {
    color: 'green',
    textDecoration: 'underline',
  }

  return (

React Tagify

      <ReactTagify tagStyle={tagStyle} mentionStyle={mentionStyle}>

          “You might not think that #programmers are #artists, but programming
          is an extremely creative #profession. Its logic-based creativity”
          @JohnRomero

      </ReactTagify>

  );
}

const rootElement = document.getElementById("root");
ReactDOM.render(<App />, rootElement);

NB: This is a branch of another PR that I did, and certain changes will figure in both PR's.
However, no conflicts should be present if the other PR is merged prior to merging this.

Big Thanks @Silind ...


Replace factory to injector for the CycleDynamicFactory

Q
A

Is bugfix?
✔

New feature?
❌

Breaks BC?
❌

Factory dependency is redundant when Injector functionality suffices.
In addition, the Injector is currently more stable. Factory causes a bug when saving embeddable entities

👍


Store hidden routes on server

$ curl localhost:7071/groups/4
{"id":4,"label":"","children":[1,2],"position":{"x":847,"y":307},"hiddenRoutes":[]}
$ curl -XPUT localhost:7071/groups/4/visibility -d'{"isVisible":false, "routeId":"4_0_input"}'
$ curl localhost:7071/groups/4
{"id":4,"label":"","children":[1,2],"position":{"x":847,"y":307},"hiddenRoutes":["4_0_input"]}
$ curl -XPUT localhost:7071/groups/4/visibility -d'{"isVisible":true, "routeId":"4_0_input"}'
$ curl localhost:7071/groups/4
{"id":4,"label":"","children":[1,2],"position":{"x":847,"y":307},"hiddenRoutes":[]}

and down the websocket comes, on that second curl,
{"action":"update","type":"group","data":{"route":{"id":"4_0_input"},"group":{"id":4},"isVisible":false}}

lgtm sqash

:sun_with_face: :sunflower:


Close button doesn't work correctly

When I open a charging station entry and scroll down to the bottom (where the link to GoingElectric is), I have the problem that the close button (on the top left) doesn't work correctly. If I press it, the detail view is moved down only partially so that I get an undefined state like here:

In this case the price comparison button is not working and I also can not move the detail view up and down any more, instead I can move the map laying behind it.

I assume this occurs with the current version 1.4.2, right?
I couldn't reproduce it so far, but will try more thoroughly (with different Android versions, display sizes, etc.) when I have time.
It might be related to my recent changes here that were supposed to fix layout issues when the data in the detail panel is updated while it is currently moving (previously those changes were not rendered at all): https://github.com/johan12345/CustomBottomSheetBehavior/commit/3529a5a9f1f5ef271465ddbb501bee578e9ce2d2

Correct, I use version 1.4.2-google and have Android 8.1.0.

I was able to reproduce the bug now, even with older versions of the app. So it is not caused by the recent changes. Instead, it seems to be basically this issue: https://github.com/miguelhincapie/CustomBottomSheetBehavior/issues/46
Now I added a change that will reset the scroll position when the detail panel is closed: https://github.com/johan12345/CustomBottomSheetBehavior/commit/f4f641aab56cc392e2edc5c4b20e351399666fc3 This should fix it for the next update :)


ListCost calculation not correct

🐛 Problem
TODO: Based on a customer FOCUS export from end of May with Data from April I noticed that ListCost <> List Unit Price x Pricing Quantity
It seems, that the dimension of the Pricing Quantity is not always correct.
👣 Repro steps
None
🤔 Expected
TODO: According to the FOCUS Specification, ListCost = List Unit Price x Pricing Quantity
📷 Screenshots
TODO: If applicable, add screenshots to help explain your problem. Remove if not applicable.

ℹ Additional context
N/A
🙋♀ Ask for the community

We could use your help:

Please vote this issue up (👍) to prioritize it.
Leave comments to help us solidify the vision.

Discussed this with Dirk offline. This is a Cost Management issue that will be raised with support. We'll keep this open to track it.

@DirkBrinkmann Any updates on this from support?

@DirkBrinkmann Any updates on this from support?

@flanakin Unfortunately not.

Turns out the PricingQuantity column in FOCUS datasets was not using the correct value when x_PricingBlockSize was > 1. This issue has been resolved. We recommend re-exporting data for the full year to address this. It will impact anything using PricingQuantity or ContractedCost columns.


Set port name to  in the case the name is null

Fixes #938

cc: @wind57

Hello, when will this version be released, I see that the latest maven repository is

But the code is still old

We are currently planning doing a release next week that would contain this fix.  In the meantime you can use snapshot.
You can keep an eye on this release milestone
https://github.com/spring-cloud/spring-cloud-release/milestone/124

Okay, thank you very much!


Update affiliation of SSC members

This updates the affiliation for @ivanov (based on personal email correspondence).
We should double-check the affiliation for all SSC members too. We currently have listed:

[ ] @echarles: [no affiliation listed]
[x] @fcollonval: QuantStack
[x] @sylvaincorlay: QuantStack
[x] @ibdafna: Netflix
[x] @ivanov: [no affiliation listed]
[x] @JohanMabille: QuantStack
[ ] @isabela-pf: [no affiliation listed]
[x] @minrk: Simula Research Lab
[x] @Zsailer: Apple
[ ] @rpwagner: [no affiliation listed]
[x] @willingc: Noteable

If any of you would like to update your affiliation, please let us know here ASAP, as we'd like to announce the governance change in a blog post soon, which may contain this info.

@jasongrout could we please update my affiliation to Netflix? Many thanks

@jasongrout could we please update my affiliation to Netflix? Many thanks

Done!

Thanks Jason! Do you mind updating my affiliation to Apple? 🙂

Thanks Jason! Do you mind updating my affiliation to Apple? 🙂

Done!

@jasongrout My primary affiliation is Datalayer and the work being done as part of my Jupyter Notebook SSC activities is sponsored by Anaconda (contact is @seibert).

@jasongrout My primary affiliation is Datalayer and the work being done as part of my Jupyter Notebook SSC activities is sponsored by Anaconda (contact is @seibert).

@echarles - so what text would you like under your name in the SSC listing at https://jupyter.org/about#software-steering-council-members?

@echarles - so what text would you like under your name in the SSC listing at https://jupyter.org/about#software-steering-council-members?

I am not sure of the habits nor recommendations, but as you ask me, I would say Datalayer / Anaconda which is the most representative of my situation. Thx.

I am not sure of the habits nor recommendations, but as you ask me, I would say Datalayer / Anaconda which is the most representative of my situation. Thx.

Done, thanks! https://deploy-preview-716--jupyter-github-io.netlify.app/about

I'll merge this now to get these updates in. @isabela-pf, @rpwagner - if you'd like to add your affiliation, feel free to comment here and we can easily open up an additional PR (or feel free to open a PR yourself if you like).


custom gitlab action to publish + raise merge request (if repo already exists).

Hey, I just made a Pull Request!

[x] A changeset describing the change and affected packages.
[x] Added new action - New Scaffolding action -> which creates repo if does not exist else create a new merge request
[x] Added new action - New Catalog action -> which checks if the location already exists does not register new location and returns new location address or else register and return new location address.
[x]  integrated new actions

https://user-images.githubusercontent.com/23618736/196957175-b1f99427-1d8f-42a1-91a6-b6f34730fafb.mp4

Remember to enable automatic formatting of code (using prettier, in our case) in your editor of choice.

Also, you need to make a changeset to be sure that changes get published properly.
And I think you need to run yarn build:api-reports as well, because this changes the public surface of the package doesn't it? 🤔

yarn install failing in pipeline , not sure why @freben
@NishkarshRaj  @mufaddal7  @Ahampa07

I think you have made a mistake in some merge or so - yarn.lock has thousands and thousands of lines of change and it should be empty. You may want to recreate this pull request anew, because your state seems pretty hard to get out of.

@freben ok I will do the needful, create a new request and will tag you on that.
Thank you for your interest and support.
@NishkarshRaj


Auto scrolling does not activate for nested forceFallback lists

See http://jsbin.com/vifafarasu/1/edit?html,css,js,output. It is not possible to drag "Parent B" above "Parent A" since the auto scrolling does not activate. This only happens with forceFallback: true.

I worked around the issue in my project by forking this repo and moving _autoScroll(evt, options, this.el); line outside of the if statement. Would it be possible to make this change in this repo, or perhaps as a safer change, provide an option to force _autoScroll to be called?

Solved in latest version


Avallete/feat change api settings

Updates to Preview Branch (avallete/feat-change-api-settings) ↗

Deployments
Status
Updated

Database
⏸
Fri, 11 Oct 2024 13:34:18 UTC

Services
⏸
Fri, 11 Oct 2024 13:34:18 UTC

APIs
⏸
Fri, 11 Oct 2024 13:34:18 UTC

Tasks are run on every commit but only new migration files are pushed.
Close and reopen this PR if you want to apply changes from existing seed or migration files.

Tasks
Status
Updated

Migrations
⏸
Fri, 11 Oct 2024 13:34:18 UTC

Seeding
⏸
Fri, 11 Oct 2024 13:34:18 UTC

Edge Functions
⏸
Fri, 11 Oct 2024 13:34:18 UTC

Preview Branch Database Settings ↗.
Learn more about Supabase for Git ↗.


Optimizing model with random error

I'm not sure if this is the right place to ask.
I am trying to optimize a model using GPyOpt. My issue is that the model has a small, but significant, amount of random error - ie - when I repeat two experiments with the same hyperparameters I get different results. The error is small enough that for a small domain of hyperparameters it can be difficult to identify what is best. The easy, but costly solution, is for me to repeat the experiments multiple times and take the average - particularly inefficient if I am repeating experiments where the difference between its output value and the optimum value are so large that it can't possibly be the optimum.
My question is, is there a way for GPyOpt to do this in a more clever fashion? When I look at the reference material (and all the websites that talk about the process) it seems that the models assume that the points where an experiment has occurred is an exact value with no error - taken right to the point where if GPyOpt looks at a point twice then it must mean the optimum point has been found and the code stops.
So is there a way I can get GPyOpt to assume that there is always some error in a result with a view of finding hyperparameters that are - on average - the optimum? Where it can revisit the point (or close to it) if it thinks reducing the error (through averaging) will result in a greater improvement (by reducing the random error at that point via more sample data) than exploring another part of the problem domain?
I imagine that this is an issue for any physical experiment where variation can come from other sources than the parameters that are being refined.
Thanks in advance,
Simeon

Since the code uses eps like this:
if not ((self.num_acquisitions < self.max_iter) and (self._distance_last_evaluations() > self.eps)):                 break
Can I just get away with setting eps = -1 (since self.distance_last_evaluations() can't be less than zero) and gain the desired effect?

Hi Simeon,
This is a very interesting question. As you mention, there are several
scenarios in which consider noisy observations is needed. For this, you
need to do two things. First, to set the eps to zero (or something
negative) so the optimization doesn't stop if you collect two points in the
same location. Second, you need to tell the model that observations can be
noisy, so the Gaussian noise in the model is not automatically set to zero.
To do this you need to set 'exact_feval=False' when creating the BO object.
You will see that the optimization is less efficient as you have one extra
parameter to learn, but all BO theory applies.
Hope this help.
On 29 August 2017 at 03:36, sverzijl<EMAIL_ADDRESS>wrote:

Since the code uses eps like this:
if not ((self.num_acquisitions < self.max_iter) and (self._distance_last_evaluations()

self.eps)): break

Can I just get away with setting eps = -1 (since self.distance_last_evaluations()
can't be less than zero) and gain the desired effect?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/GPyOpt/issues/107#issuecomment-325537751,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AGiS8woHXFKgH2DJjYGWesRBBEHSd8rHks5sc3kjgaJpZM4PFOkA
.

Thank you for the response. It certainly does!

Hi,
I just have one further question in regards to this.
My thought is that I should not rely on the 'best' result found by the model since I'm less interested in the iteration with the best result and more the result that has the lowest predicted result (as it should be an estimate of an average result).
Is predict(x) in http://pythonhosted.org/GPyOpt/_modules/GPyOpt/models/gpmodel.html#GPModel_MCMC.predict
the best approach?
I've noticed for each set of hyperparameters I try I get multiple results (one for each hmc_sample). Am I meant to take the average of these?

Hi,
I have one further question on this post. Is there any simple way to get GPyOpt to find the minimum of its estimated model and output the x-coordinate? I assume f_min from reading the material outputs the minimum predicted result but I'm interested in it's x-coordinate.
Thanks in advance!

Hi @sverzijl ,
I have just read this thread because I’ve been looking for exactly the same functionality as you mentioned in your last question. Did you come up with a good solution? I am using GPyOpt with f=None I.e. doing the function evaluation outside of GPyOpt. A hacky way I thought of achieving what you mentioned is to make a second Bayesian Optimization with an LCB acquisition where I set the exploration parameter to 0. This will then just optimize the mean of the GP and use all of the Implemented acquisition function optimization code.


Some Sections in the Cookies View Do Not Translate Certain Parts

Thank you for the plugin; this is exactly what I was looking for for many weeks.
I encountered a minor issue in the view related to translation.
I had to make some code changes to make it work:"
+- line 37 :
From:

      {{ $category->title }}

  @if($category->description)

{{ $category->description }}

  @endif

To:

    @lang('cookieConsent::cookies.categories.'.$category->key().'.title')

@if($category->description)

@lang('cookieConsent::cookies.categories.'.$category->key().'.description')

@endif

The same issue also exists with the cookie description, but I haven't found a way to modify it yet...
+- line 48 :

{{ $cookie->name }}

{{ \Carbon\CarbonInterval::minutes($cookie->duration)->cascade() }}

  @if($cookie->description)

{{ $cookie->description }}

  @endif

Hi @sbono2016,
This is weird. I'm not sure the suggested fix is appropriate since you can add your own categories (which are not necessarily defined inside cookieConsent::cookies.categories). Also, I think it would be interesting to know why the default method didn't work in your case so we can figure out whether there is a problem with your project or with the package itself in a specific setup.
Could you elaborate? Thanks!

Hi,
I run into the same situation (mixed locales) and I just want to add some context about translation and the cookie registration process with service provider.
The doc says to register cookies in the boot method of a serviceProvider, but doing that raise a major problem:
The locale is probably not already setup, because the boot method is called before any other code of you app (middleware, controller, ...) it will probably fallback to the default locale causing mixed languages to be rendered in the final result.
I would recommand 2 solutions:

register cookies in a middleware after all your logic regarding setting le locale. It will work with the actual state of the package.
update the package to call @lang or __ in the blade view and only passing localization keys when registering cookies.

Same issue here. The default language of my app is "nl" and when switching to "en", some translations stay in "nl".
Most translations come through, but the category title and description and the "defaults" seem to be failing (see images).
I've created a CookieServiceprovider and added this provider as the last provider in my config/app.php.
Registering the cookies in the AppServiceProvider doesn't seem to make a difference.

What @QuentinGab mentioned is accurate. Defining cookies while booting Laravel is indeed too ealry, that's why I created PR #29 which is providing a publishable CookiesServiceProvider responsible for calling the cookies definition at the right moment in Laravel's booting lifecycle.
This will be published as v1.1.0 soon, please upgrade and read the updated "Usage" section in the docs.

I am using 1.2 and did everything in the usage section but keep having this problem. Any ideas?

I am using "codezero/laravel-localized-routes", maybe it has something to do with it?

I am using 1.2.3 and did everything in the usage section but keep having this problem.

Could you setup a repo where we could reproduce the error? Thanks!

@toonvandenbos I've setup a repo here: https://github.com/petethewizard/cookie-consent-translation-issue. There is docker compose file ready to go and bit info in the readme.

Yeah, still it's loaded before middlewares which sets up my languages. I spend a lot of time to fix this.
Doing app()->register(CookiesServiceProvider::class); inside middleware setting locale fixes problem.

Hello,
i have still the same issue. I have done all what was under Usage in the Readme file.
I have customized the view file cookies.blade.php like @sbono2016 has suggested.
But this only the half way, because details about the cookies itself is not able to translate.
Has anyone an further idea or solution?
Thx


Framgegrabber - JSON Path not valid: /applications/instances

I have pulled the latest repo and tried to execute "ifm3dpy_viewer.py"
i have handed over the following arguments ip ("<IP_ADDRESS>"), pcic port (50010), image="xyz" and left everything else as it is.
the error appeared in the call of FrameGrabber as follows
Error Message
 cd /home/john_doe/projects/INTERNAL/company_v2 ; /usr/bin/env /home/john_doe/miniconda3/envs/company_test/bin/python /home/john_doe/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher 55193 -- /home/john_doe/projects/INTERNAL/company_v2/app/sensors/ifm/ifm3d/examples/o3r/viewer/ifm3dpy_viewer.py
2023-09-04 16:40:34 ERROR [/home/john_doe/projects/INTERNAL/company_v2/app/sensors/ifm/ifm3d/modules/device/src/libifm3d_device/xmlrpc_wrapper.hpp:98] http://<IP_ADDRESS>:80/api/rpc/v1/com.ifm.efector/ -> get: RPC response indicates failure.  JSON Path not valid: /applications/instances
Traceback (most recent call last):
  File "/home/john_doe/miniconda3/envs/company_test/lib/python3.10/runpy.py", line 196, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/home/john_doe/miniconda3/envs/company_test/lib/python3.10/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/home/john_doe/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/__main__.py", line 39, in <module>
    cli.main()
  File "/home/john_doe/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 430, in main
    run()
  File "/home/john_doe/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/adapter/../../debugpy/launcher/../../debugpy/../debugpy/server/cli.py", line 284, in run_file
    runpy.run_path(target, run_name="__main__")
  File "/home/john_doe/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 321, in run_path
    return _run_module_code(code, init_globals, run_name,
  File "/home/john_doe/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 135, in _run_module_code
    _run_code(code, mod_globals, init_globals,
  File "/home/john_doe/.vscode/extensions/ms-python.python-2023.14.0/pythonFiles/lib/python/debugpy/_vendored/pydevd/_pydevd_bundle/pydevd_runpy.py", line 124, in _run_code
    exec(code, run_globals)
  File "/home/john_doe/projects/INTERNAL/company_v2/app/sensors/ifm/ifm3d/examples/o3r/viewer/ifm3dpy_viewer.py", line 115, in <module>
    asyncio.run(main())
  File "/home/john_doe/miniconda3/envs/company_test/lib/python3.10/asyncio/runners.py", line 44, in run
    return loop.run_until_complete(main)
  File "/home/john_doe/miniconda3/envs/company_test/lib/python3.10/asyncio/base_events.py", line 649, in run_until_complete
    return future.result()
  File "/home/john_doe/projects/INTERNAL/company_v2/app/sensors/ifm/ifm3d/examples/o3r/viewer/ifm3dpy_viewer.py", line 104, in main
    fg = FrameGrabber(cam, pcic_port=args.pcic_port)
ifm3dpy.device.Error: Unknown error 104012: JSON Path not valid: /applications/instances

Configuration/Environment (please complete the following information):

OS: Ubuntu 22.04

ifm3d version:
commit 81a99cf79cb0a555e65a0c3b3f98dd34a4a199ba (tag: v1.4.1)
Merge: 78a9081 d0aac1f
Author: Bangadkar, Sachin<EMAIL_ADDRESS>Date:   Thu Aug 31 14:04:45 2023 +0000
Merge branch 'Release/v1.4.1' into 'main'

using python

Hi @mxmahmoud
So that I can replicate the issue, which version of the VPU firmware are you using?

You will also want to ensure that a 3d head is attached to port0. tested the same script.
Also, ensure that port1 does not have a 2d head connected to it per https://ifm3d.com/documentation/GettingStarted/Unboxing/hw_unboxing.html?highlight=two heads same type

I have port 0, 1 connected to 3D heads and port 2,3 to 2D respectivley [0,2] [1,3]
and I am using OVP800 Firmware 1.0.14-973
I have uninstalled the python package which was installed by using the repo and installed ifm3dpy via the "pip install" command without using the repo and that worked for me. I will wait for a stable release, no hurry in this matter. Thank you!

I am having the same issue ifm3d 1.4.1 (C++), VPU Frimware 1.0.14:
Unknown error 104012: JSON Path not valid: /applications/instances
in my system the exception happens while initializing the error-framegrabber on PCIC Port 50009
std::make_sharedifm3d::FrameGrabber(o3R, 50009);

Thanks for reporting the issue. I created a known issue as a way to track this and it will be fixed in the next release.

Problem seems to be solved with version 1.4.3 and can be closed from my side


All emails are sent in english language

Even when there are templates for spanish in the crowdin project, all messages are sent in english instead of spanish.
Our Coderdojo is located in Córdoba, Argentina.
This issue was previously reported and even when was closed as solved that never happened. We still receive all emails in english instead of spanish.
Gmail - Your ticket request for Encuentro #35 - 2016 - Coderdojo Córdoba en PEZS (Evento Especial) has been approved.pdf
https://github.com/CoderDojo/cp-zen-platform/issues/852

Hi Leonardo,
Thanks for the bug report. The specific template for that email has actually not yet been translated to Spanish. https://crowdin.com/translate/zen-community-platform/1147/en-esar
We need to do a cleanup of unused templates from CrowdIn, as I can understand the confusion as an older template for the same purpose is translated.
If you are seeing this issue with emails that have been translated in CrowdIn, then it's possible that the user triggering the email (either you, or a Dojo admin) has their browser locale set to English. I have successfully tested other emails using an Argentinian Spanish locale in my browser, and it has translated correctly.
Daniel

Coderdojo LatAm volunteers completed the Argentinian spanish translation. Currently is 100% complete.
https://crowdin.com/project/zen-community-platform/es-AR

I used a Mozilla Firefox browser, Argentinian spanish version. I used it when I sent the previous email group and a few minutes again. The issue persists.

We'll need to add the Argentinian translation not sure it's in our deployment job right now @butlerx

its not currently in our deployment ill add it now

Is it fixed?  @elnomade

Closed for inactivity, please come back if it still doesn't work :)


Getting search results from other countries only

Describe the bug
I'm in Brazil and I'm having a very hard time getting local results. All the results are from other countries. Sometimes they don't even fit the search criteria.
To Reproduce
Steps to reproduce the behavior:
Set the emulator location to somewhere in Brazil (I'm using -16.127842, -52.481918).
Use the initialPosition LatLng(-16.127842, -52.481918)
Run the plugin and search for places nearby
Examples:
'amtt' returns 'amtR" results even though there is an AMTT business in the region.
'red dot' returns "red dot" results from other countries even though there is a Red Dot Customs business in the region.
On my device maps or browser if I search for those two I immediately get the correct suggestion.
I don't know if it has anything to do with the plugin or if it's google map's api fault but I thought I had to bring it up to you.
Expected behavior
It should prioritize nearby results.

I'm confident that this is solely an emulator problem, but I will investigate nonetheless when I have time for it. Thank you for your report.

I've tested on my device and the problem persists.
I found out the predictions api may use an optional parameter to set the region code to restrict results. I'll try using it and see if the results are improved.

That's it.
Using the region parameter fixed the problem. Now I'm getting relevant results.
I thought the api would use our location automatically for that. Weird that it doesn't.

@dpedrinha Great. Can you share the detailed steps so others who have the same problem and find this issue know how to fix it in detail? I.e. where to add the region parameter exactly. A code sample shall be appreciated.

This workaround doesn't seem like enough as it depends on your locale.
If you travel abroad without changing your phone's locale, you will still see results from your home country.
For example, my phone is set in British English, so my search only show results in the UK, no matter where I am at the moment.
A good workaround would be to authorize the use of:
PlacesSearchResponse response = await places.searchNearbyWithRankby(new Location(31.0424, 42.421), "distance");
which is available in the https://pub.dev/packages/google_maps_webservice package.

@Dereumaux-Adrien Very weird. When I test my American English emulator I still get results from my country (Germany). It could be enough to set the region of your current country on PlacePicker, it should not?
Maybe an option is to offer a flag that allows you to search near-by? I assume the issue with searchNearbyWithRankby is that you cannot find stuff far away, so it shall be optional.

@martin-braun If you still get all the results from germany, I don't think that will work with all use cases. If you look for a big chain of restaurants like mc donalds, do you get the most "famous" mc donalds in germany or the closest to your position?
The use of a small autocompleteRadius seems to be correcting this issue I had and still allow for searches of far away places (as long as you provide enough details in the search of course).


nixos/networking-interfaces: change preferTempAddress to allow disabling temp addresses

Motivation for this change
Fix issue #75311
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested nixosTests.networking.scripted.privacy nixosTests.networking.networkd.privacy
[x] Built manual
[x] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@GrahamcOfBorg test networking.scripted.privacy networking.networkd.privacy

Ok, I applied your suggestion. The tests passes on my end. Let's test again with:
@GrahamcOfBorg test networking.scripted.privacy networking.networkd.privacy

Thank you!

tinc interfaces still have privacy ipv6 addresses (like in https://github.com/NixOS/nixpkgs/issues/75311#issuecomment-563297293) even when
networking.interfaces."tinc.dmz".tempAddress = "disable"
:(

"net.ipv6.conf.${interface}.addr_gen_mode" = 1 does remove that "stable-privacy" address
interesting that only tinc gets the "stable-privacy" address, other vpn interfaces (wireguard for example) do not


Missing generating some json files after test

Hi,
I am using:
wdio-cucumberjs-json-reporter (2.0.2),
webdriverio 6.3.4
and generating a html report with:
multiple-cucumber-html-reporter 1.18.0 using the json created.
Problem is with missing generating some json files (not every one), which should be created after finish every test. We have a over 150 tests which are divided into 7 sets. These sets have from 13 - 27 tests. This missing of generating tests is very random, sometimes is missing some tests in set number 2 and some times in set numer 6.
Does any one encountered similar problem?

Hi @szory
Thanks for filing an issue, what could happen in this case is that the feature has the same name and that it's overwriting / concatenating the data. Can you first check in all your feature files if the feature names are all unique?

Hi @szory
Thanks for filing an issue, what could happen in this case is that the feature has the same name and that it's overwriting / concatenating the data. Can you first check in all your feature files if the feature names are all unique?

Hi, Thx for quick response. I've just checked feature files and all the names are unique....

Hi, Thx for quick response. I've just checked feature files and all the names are unique....

can you then provide a reproducible example so I can debug it?

can you then provide a reproducible example so I can debug it?

we run these tests on Jenkins, that would be ok for you if I send Console Output from Jenkins

we run these tests on Jenkins, that would be ok for you if I send Console Output from Jenkins

Sorry @szory
Yes, can you send me the Console Output and also a log of the files that are generated?

Sorry @szory
Yes, can you send me the Console Output and also a log of the files that are generated?

Hi @wswebcreation
Sorry for that huge delay....
this is the piece of Jenkins Console Output. In this sample of log is missing report called: IOOS Online Portal Password Reset:
06:29:45  2021-02-04T05:29:44.843Z INFO @wdio/local-runner: Start worker 0-70 with arg:
06:29:45  [0-70] 2021-02-04T05:29:45.231Z INFO @wdio/local-runner: Run worker command: run
06:29:45  [0-70] 2021-02-04T05:29:45.377Z INFO webdriverio: Initiate new session using the ./protocol-stub protocol
06:29:45  [0-70] RUNNING in chrome - /src/ui/features/iqos_portal/password-reset.feature
06:29:45  [0-70] 2021-02-04T05:29:45.656Z INFO webdriverio: Initiate new session using the webdriver protocol
06:29:50  [0-70] 2021-02-04T05:29:50.915Z INFO @wdio/browserstack-service: Update job with sessionId a8b233f08c64ee57926fe8b6708d8f95ef152357
06:29:51  [0-70] 2021-02-04T05:29:51.333Z INFO @wdio/browserstack-service: Windows 10 chrome session: https://automate.browserstack.com/builds/7cad3678d9bd81826e6c821092f0edd559aae365/sessions/a8b233f08c64ee57926fe8b6708d8f95ef152357
06:30:01  [0-70] 2021-02-04T05:30:01.040Z INFO @wdio/browserstack-service: Update job with sessionId a8b233f08c64ee57926fe8b6708d8f95ef152357
06:30:01  [0-70] �[32m[INFO ]: Test email created
06:30:02  [0-70] �[32m[INFO ]: User created
06:32:44  [0-70] Error in "IOOS Online Portal Password Reset: Password Reset: And I extract "Reset Password Url" within latest email titled as "Reset Password""
06:32:44  Error: function timed out, ensure the promise resolves within 60000 milliseconds
06:32:44      at Timeout._onTimeout (/home/jenkins/agent/workspace/DCE 2.0 Test Automation Framework/UI/UVT - testing/node_modules/cucumber/lib/user_code_runner.js:76:18)
06:32:44      at listOnTimeout (internal/timers.js:549:17)
06:32:44      at processTimers (internal/timers.js:492:7)
06:32:44  [0-70] 2021-02-04T05:32:39.365Z INFO @wdio/browserstack-service: Update (reloaded) job with sessionId a8b233f08c64ee57926fe8b6708d8f95ef152357, failed
06:32:44  [0-70] 2021-02-04T05:32:39.869Z INFO @wdio/browserstack-service: Update job with sessionId 31f059237d3eb781f80a69ae58726101532651d3
06:32:44  [0-70] 2021-02-04T05:32:40.270Z INFO @wdio/browserstack-service: Windows 10 chrome session: https://automate.browserstack.com/builds/7cad3678d9bd81826e6c821092f0edd559aae365/sessions/31f059237d3eb781f80a69ae58726101532651d3
06:32:44  [0-70] �[32m[INFO ]: Test email created
06:32:44  [0-70] �[32m[INFO ]: User created
06:34:08  [0-70] 2021-02-04T05:34:02.626Z WARN webdriver: Request encountered a stale element - terminating request
06:34:08  [0-70] 2021-02-04T05:34:03.837Z WARN webdriver: Request encountered a stale element - terminating request
06:35:04  [0-70] Error in "IQOS Online Portal Password Reset: Password Reset: And I extract "Reset Password Url" within latest email titled as "Reset Password""
06:35:04  Error: function timed out, ensure the promise resolves within 60000 milliseconds
06:35:04      at Timeout._onTimeout (/home/jenkins/agent/workspace/DCE 2.0 Test Automation Framework/UI/UVT - testing/node_modules/cucumber/lib/user_code_runner.js:76:18)
06:35:04      at listOnTimeout (internal/timers.js:549:17)
06:35:04      at processTimers (internal/timers.js:492:7)
06:35:51  [0-70] 2021-02-04T05:35:47.312Z WARN webdriver: Request failed with status 404 due to Session not started or terminated
06:35:51  [0-70] 2021-02-04T05:35:47.339Z WARN webdriver: Request failed with status 404 due to Session not started or terminated
06:35:51  [0-70] 2021-02-04T05:35:47.364Z WARN webdriver: Request failed with status 404 due to Session not started or terminated
06:35:51  [0-70] 2021-02-04T05:35:47.391Z ERROR webdriver: Request failed with status 404 due to Error: Session not started or terminated
06:35:51  [0-70] 2021-02-04T05:35:47.394Z ERROR @wdio/sync: Error: Session not started or terminated
06:35:51      at processTicksAndRejections (internal/process/task_queues.js:97:5)
06:35:51      at Object.afterScenario (/home/jenkins/agent/workspace/DCE 2.0 Test Automation Framework/UI/UVT - testing/src/core/conf/wdio.template.conf.js:368:13)
06:35:51      at TestCaseRunner.aroundTestStep (/home/jenkins/agent/workspace/DCE 2.0 Test Automation Framework/UI/UVT - testing/node_modules/cucumber/lib/runtime/test_case_runner.js:185:28)
06:35:51      at /home/jenkins/agent/workspace/DCE 2.0 Test Automation Framework/UI/UVT - testing/node_modules/cucumber/lib/runtime/test_case_runner.js:253:7
06:35:51  [0-70] 2021-02-04T05:35:47.396Z INFO @wdio/browserstack-service: Update job with sessionId 31f059237d3eb781f80a69ae58726101532651d3
06:36:01  [0-70] 2021-02-04T05:36:01.593Z WARN webdriver: Request failed with status 404 due to Session not started or terminated
06:36:03  [0-70] 2021-02-04T05:36:02.984Z WARN webdriver: Request failed with status 404 due to Session not started or terminated
06:36:04  [0-70] 2021-02-04T05:36:04.356Z WARN webdriver: Request failed with status 404 due to Session not started or terminated
06:36:05  [0-70] 2021-02-04T05:36:05.735Z ERROR webdriver: Request failed with status 404 due to Error: Session not started or terminated
06:36:05  [0-70] 2021-02-04T05:36:05.736Z ERROR @wdio/local-runner: Failed launching test session: Error: Session not started or terminated
06:36:05      at processTicksAndRejections (internal/process/task_queues.js:97:5)
06:36:05      at Runner.endSession (/home/jenkins/agent/workspace/DCE 2.0 Test Automation Framework/UI/UVT - testing/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/index.js:277:26)
06:36:05      at Runner.run (/home/jenkins/agent/workspace/DCE 2.0 Test Automation Framework/UI/UVT - testing/node_modules/@wdio/local-runner/node_modules/@wdio/runner/build/index.js:163:18)
06:36:05  [0-70] FAILED in chrome - /src/ui/features/iqos_portal/password-reset.feature
we have also this code in WDIO.config.js:
cucumberOpts: {
retry: 2
}
retry mechanism failed at some reason that we've got 404 and json report was not generated
Thx in advance for you any help/advise

I encountered a similar situation (we're wdio / BrowserStack), but the signal looks similar. If BrowserStack is unavailable then we don't get a report.
I create a custom reporter to troubleshoot, e.g.
class MyCustomReporter extends WDIOReporter {
public onRunnerStart(runner) {
console.log('Runner start');
}
}
And I can see that @wdio/reporter events don't seem to get fired in this situation.  For my situation it's not a wdio-cucumberjs-json-reporter issue here, more that the wdio worker is not even calling the reporting if a runner fails to start.


Update CodeOwners :'(

@NTaylorMullen are you moving on from Razor tooling?

@NTaylorMullen are you moving on from Razor tooling?

I am! Still in MS though 😄


Speaker audio route with SDK v3

Describe the bug
Hello,
We have some trouble to understand audio route management with voxeet sdk 3.1.4. Our workflow is the following, start a conference with a video and audio on the main speaker (not the phone one). Currently we have an issue when plugin our headset then unplug it, the speaker is reset on the phone.
We don't use requestaudiofocus or abandonaudiofocusrequest, that's maybe the reason of our current behaviour?
We also sometime have the main speaker audio route reseted to the phone without doing anything, so we came with a solution maybe not great to force the audio again and again, we are willing to some advices here so we can have a clean workflow.
Expected Behaviour
Main speaker always ON, but have the possibility to plug an headset and when it unplugged, go back to the main speaker.
Steps to Reproduce the Problem
For the speaker disconnection, sometime just wait into a conference and then it is reseted without any reason.
For the headset, plug it and unplug it then the main speaker is reseted to the phone speaker.
Minimalistic code (recommended)
Here is some code:
    private int resetAudioAttempts = 0; // property to help
    private final SoundManager.Call<List<MediaDevice>> onAudioDeviceUpdate = this::audioDeviceUpdated;

    ...
    setSpeaker(); // is called at the join response after open > create
    ...

    private void setSpeaker() {
        //  register audio
        if (resetAudioAttempts == 0) {
            VoxeetSDK.audio().enable(); // not sure what is line does
            VoxeetSDK.audio().registerUpdateDevices(onAudioDeviceUpdate); // example found in the voxeetuxkit: private final SoundManager.Call<List<MediaDevice>> onAudioDeviceUpdate = this::audioDeviceUpdated;
        }

        // Set speaker  so enumerate devices to find EXTERNAL_SPEAKER and if it is connected
        VoxeetSDK.audio().enumerateDevices()
                .then((ThenPromise<List<MediaDevice>, Boolean>) mediaDevices -> {
                    MediaDevice speaker = Map.find(mediaDevices,
                            mediaDevice -> mediaDevice.deviceType() == DeviceType.EXTERNAL_SPEAKER
                                    && mediaDevice.platformConnectionState() == ConnectionState.CONNECTED);

                    if (null == speaker) {
                        throw new IllegalStateException("Impossible speaker");
                    }

                    return VoxeetSDK.audio().connect(speaker);
                })
                .error(error -> Log.d("codecappvideo", "Failed audio: " + error));
    }

// Maybe that's not the good solution here, we are trying to force the speaker
// called be: private final SoundManager.Call<List<MediaDevice>> onAudioDeviceUpdate = this::audioDeviceUpdated;
    private void audioDeviceUpdated(List<MediaDevice> mediaDevices) {
        if (null == mediaDevices) return;

        for (MediaDevice mediaDevice : mediaDevices) {

            if (mediaDevice.deviceType() == DeviceType.EXTERNAL_SPEAKER) {
                if (mediaDevice.platformConnectionState() == ConnectionState.CONNECTED && mediaDevice.connectionState() == ConnectionState.DISCONNECTED) {

// asynchronously try to reset again the speaker
                    VoxeetSDK.audio().currentMediaDevice()
                            .then((ThenPromise<MediaDevice, Boolean>) currentMediaDevice -> {
                                // if there is no connected media device, reset speaker audio route ( with max 3 attempts).
                                if (null == currentMediaDevice && resetAudioAttempts <= 3) {
                                    resetAudioAttempts++;

                                    setSpeaker(); // recursive call

                                    Log.d("codecappvideo", "Audio device reconnection  " + resetAudioAttempts );

                                }
                                return Promise.resolve(true);
                            })
                            .error(error -> Log.d("codecappvideo", "Failed to get current media device: " + error));
                    break;
                } else {
                    resetAudioAttempts = 0;
                }
            }
        }
    }

So as you can see I don't think forcing the speaker is a good solution, we may have missed something in https://dolby.io/developers/interactivity-apis/reference/client-sdk/reference-android/audioservice or https://github.com/voxeet/voxeet-sdk-android-audio and we hope that you can help please.
Greetings
Specifications

Device: Samsung, Motorola, Huawei
OS: Android 7-10
Platform: Android
Version:

[e.g. Android Sdk public-sdk v3.1.4]
[e.g. Android Sdk uxkit v3.1.3]

Hardware:

[e.g. headset]

Currently we have an issue when plugin our headset then unplug it, the speaker is reset on the phone this is an expected behavior
There's a fix available in the audio sdk module used by the SDK. If you use compile ('com.voxeet.sdk:audio:2.2.1') whenever a switch from the wired headset is done, it will reflect as well (the speaker will still be disconnected because it's how the Android system is currently forcing things but at least you will know with a proper DISCONNECTED state from the external speaker MediaDevice)
As a sidenote, in your implementation, I would avoid the VoxeetSDK.audio().currentMediaDevice() since it would not show CONNECTING state ; thus making various unnecessary calls which could prevent "quick" behavior change. Using just VoxeetSDK.audio().enumerateDevices() and filtering for CONNECTING / CONNECTED devices, you could check easily what is currently be changing and have a cleaner and more maintainable implementation regarding the audio devices 👍

Thank you for your quick replay and clarifications @codlab.  So do we also need to add https://github.com/voxeet/voxeet-sdk-android-audio to our project or the sdk 3.1.4 is enough?
Ok understood as long as we know there is a change with DISCONNECTED state , then we can work with it. To catch this state do you recommend to use VoxeetSDK.audio().registerUpdateDevices(onAudioDeviceUpdate); or is there an other way to detect audio changes? ( like maybe this listener https://github.com/voxeet/voxeet-sdk-android-audio#instance? but do you have an example how to use it please? because it's not an interface but a promise )
Ok we will remove currentMediaDevice implementation, we were using it because it was given a different result and state but it wasn't a good way to do it properly as you told so.  Also do you know if this line is useful:
VoxeetSDK.audio().enable(); // not sure what is line does

to catch the state, it's better to go with the registerUpdateDevices method which will always gives you updated list whenever an Audio SDK's state or platform wide's state has been changed
(the VoxeetSDK.audio().registerUpdateDevices is the best place to go because it's wrapping an instance for you.
The Voxeet's SDK 3.1.4 is not yet including this Audio SDK version, that's why you need to put this updated dependency alongside the Voxeet's SDK until a new version is released (there's not timeframe for now for this)
The currentMediaDevice is interesting but most of the time, the enumerateDevices is the best place to find everything because it will contain every transient state as well for any devices.
Concerning the enable method, it's there to enable or not everything related to the sounds to play during a conference (even with the custom sounds you may have registered in your app - note that it does not override any use of SoundPool or things available via the system, only the methods that the Voxeet's SDK provides in the AudioService)

Hello ok thank you for those answers. So after spending some time on it I came with this solution help by your advices to remove currentMediaDevice and use  enumerateDevices instead, it's starting to work quite well.   I need your advice if this implementation is on right track please, so I replace the content of the above method private void audioDeviceUpdated(List<MediaDevice> mediaDevices) { with:
    private void audioDeviceUpdated(List<MediaDevice> mediaDevices) {
        VoxeetSDK.audio().enumerateDevices()
                .then((ThenPromise<List<MediaDevice>, Boolean>) enumeratedMediaDevices -> {
                    if (null == enumeratedMediaDevices) return Promise.resolve(true);

                    /* for Wired headset, priority number 1 */
                    for (MediaDevice mediaDevice : enumeratedMediaDevices) {
                        if (mediaDevice.deviceType() == DeviceType.WIRED_HEADSET && mediaDevice.platformConnectionState() == ConnectionState.CONNECTED) {

                            if (mediaDevice.connectionState() == ConnectionState.DISCONNECTED) {
                                return VoxeetSDK.audio().connect(mediaDevice);
                            }

                            return Promise.resolve(true);
                        }
                    }

                    /* for External speaker, priority number 2 */
                    for (MediaDevice mediaDevice : enumeratedMediaDevices) {
                        if (mediaDevice.deviceType() == DeviceType.EXTERNAL_SPEAKER && mediaDevice.platformConnectionState() == ConnectionState.CONNECTED) {

                            if (mediaDevice.connectionState() == ConnectionState.DISCONNECTED) {
                                return VoxeetSDK.audio().connect(mediaDevice);
                            }

                            return Promise.resolve(true);
                        }
                    }

                    return Promise.resolve(true);
                })
                .error(error -> Log.d("codecappvideo", "Failed to get current media device: " + error));
    }

With this implementation if an headset is connected it will prioritise it over the external speaker, what do you think about it?

you got the general idea. But this code won't work as expected, in case you want to have support for WIRED with higher priority and be always on EXTERNAL, you will need to do the following

no need to call the enumerateDevices inside the audioDeviceUpdated method, the list of the mediaDevices is always the update to date list of devices

before the two loops, register a Promise<Boolean> promise = null;

in the first loop, check for the connectionState of the WIRED headset, (keep the platformConnectionState() == CONNECTED check)

if it's CONNECTED/CONNECTING -> promise = Promise.resolve(true);
if it's DISCONNECTING/DISCONNECTED -> promise = Voxeet.audio().connect(mediaDevice);

before the second loop, check if promise is not null, if not => return it

in the second loop

you can get rid of the platformConnectionState, it will always be CONNECTED (there's always 1 external speaker)
if it's CONNECTED/CONNECTING -> promise = Promise.resolve(true);
if it's DISCONNECTING/DISCONNECTED -> promise = Voxeet.audio().connect(mediaDevice);

After this, it will work as expected in the scenario where WIRED > EXTERNAL SPEAKER > all other mode

Hello,
So we remove mediaDevice.platformConnectionState() == ConnectionState.CONNECTED for the speaker and we added bluetooth support and remove enumerateDevices, do you think we are good to go?
Is the bluetooth support is good like that?
Don't you think it's risky to connect a device if the state is "disconnecting"?
    private void audioDeviceUpdated(List<MediaDevice> mediaDevices) {
        if (null == mediaDevices) return; // need to be checked?

        Promise<Boolean> promise = null;  // as told by codlab

        /* for Wired headset, priority number 1 */
        for (MediaDevice mediaDevice : mediaDevices) {
            if (mediaDevice.deviceType() == DeviceType.WIRED_HEADSET && mediaDevice.platformConnectionState() == ConnectionState.CONNECTED) {
                if (mediaDevice.connectionState() == ConnectionState.DISCONNECTING || mediaDevice.connectionState() == ConnectionState.DISCONNECTED) {
                    promise = VoxeetSDK.audio().connect(mediaDevice);
                } else if (mediaDevice.connectionState() == ConnectionState.CONNECTING || mediaDevice.connectionState() == ConnectionState.CONNECTED) {
                    promise = Promise.resolve(true);
                }
                break;
            }
        }

        if (promise != null) { return; }

        /* for bluetooth, priority number 2 */
        for (MediaDevice mediaDevice : mediaDevices) {
            if (mediaDevice.deviceType() == DeviceType.BLUETOOTH && mediaDevice.platformConnectionState() == ConnectionState.CONNECTED) {
                if (mediaDevice.connectionState() == ConnectionState.DISCONNECTING || mediaDevice.connectionState() == ConnectionState.DISCONNECTED) {
                    promise = VoxeetSDK.audio().connect(mediaDevice);
                } else if (mediaDevice.connectionState() == ConnectionState.CONNECTING || mediaDevice.connectionState() == ConnectionState.CONNECTED) {
                    promise = Promise.resolve(true);
                }
                break;
            }
        }

        if (promise != null) { return; }

        /* for External speaker, priority number 3 */
        for (MediaDevice mediaDevice : mediaDevices) {
            if (mediaDevice.deviceType() == DeviceType.EXTERNAL_SPEAKER) { // remove mediaDevice.platformConnectionState() == ConnectionState.CONNECTED as told so.
                if (mediaDevice.connectionState() == ConnectionState.DISCONNECTING || mediaDevice.connectionState() == ConnectionState.DISCONNECTED) {
                    promise = VoxeetSDK.audio().connect(mediaDevice);  //  maybe promise is useless
                } else if (mediaDevice.connectionState() == ConnectionState.CONNECTING || mediaDevice.connectionState() == ConnectionState.CONNECTED) {
                    promise = Promise.resolve(true);     //  maybe promise is useless
                }
                break;
            }
        }

Hello,
With the above implementation we have a bug, mediaDevices from private void audioDeviceUpdated(List<MediaDevice> mediaDevices) isn't allowing us to properly switch to the right device, that's why in our first implementation we preferred using VoxeetSDK.audio().enumerateDevices() which gives us the opportunity to switch to the right device.
Is it a known issue?

your if (promise != null) { return; } and the end of your code won't do anything : the promise is not resolved -> no connection is then made. You need to use promise.then().error()

Hello,
Could you show us an example, we don't understand the above response, we aren't used to promise handling in our Java project. If the promise is properly handling, do you think it will solve our issue https://github.com/voxeet/voxeet-uxkit-android/issues/27#issuecomment-871232731 ?
Greetings.

Hello @codlab, very sorry to ping you, but did you have time to watch at our above question?
Regards.

You need to do something like :

    private void audioDeviceUpdated(@Nullable List<MediaDevice> mediaDevices) {
        if (null == mediaDevices) return; // need to be checked?

        Promise<Boolean> promise = getConnectIfPossile(mediaDevices, DeviceType.WIRED_HEADSET);

        /* for bluetooth, priority number 2 */
        if (null == promise)
            promise = getConnectIfPossile(mediaDevices, DeviceType.BLUETOOTH);

        /* for External speaker, priority number 3 */
        if (null == promise)
            promise = getConnectIfPossile(mediaDevices, DeviceType.EXTERNAL_SPEAKER);

        if (null != promise) {
            promise.then(aBoolean -> {
                // success
            }).error(error -> {
                // failure
            });
        }
    }

    @Nullable
    private Promise<Boolean> getConnectIfPossile(@NonNull List<MediaDevice> mediaDevices, @NonNull DeviceType deviceType) {
        /* for External speaker, priority number 3 */
        for (MediaDevice mediaDevice : mediaDevices) {
            if (!ConnectionState.CONNECTED.equals(mediaDevice.platformConnectionState())) continue;

            if (deviceType.equals(mediaDevice.deviceType())) { // remove mediaDevice.platformConnectionState() == ConnectionState.CONNECTED as told so.
                if (mediaDevice.connectionState() == ConnectionState.DISCONNECTING || mediaDevice.connectionState() == ConnectionState.DISCONNECTED) {
                    return VoxeetSDK.audio().connect(mediaDevice);  //  maybe promise is useless
                } else if (mediaDevice.connectionState() == ConnectionState.CONNECTING || mediaDevice.connectionState() == ConnectionState.CONNECTED) {
                    return Promise.resolve(true);     //  maybe promise is useless
                }
                return null;
            }
        }
        return null;
    }

Thank you Codlab, we are still in test process but it's better working now.


E2e story printing

Proposed changes:

fix https://github.com/RasaHQ/rasa/issues/7130

Status (please check what you already did):

[ ] added some tests for the functionality
[ ] updated the documentation
[ ] updated the changelog (please check changelog for instructions)
[ ] reformat files using black (please check Readme for instructions)

Rasa X story printing will be broken

LGTM

@Ghostvv Would you mind reviewing?

looks good, but it is better if someone who knows yaml writing will take a look

@Ghostvv I think the changes re YAML are very small in this PR. I think it'd be better to merge this now and then have @degiz review the entire changes on the e2e branch. Ok?
Can I merge then?

I'd add a TODO/create separate issue about self.entities in hash and we can merge it


restore-mbox doesn't seem to honor --label-prefix

Full steps to reproduce the issue:

Do an mbox export from Google Vault
gyb --action restore-mbox --email<EMAIL_ADDRESS>--label-prefix gybrestore
login as me@mydomain in Gmail. All the mail is restores, but all the labels are at the top level.

Expected outcome (what are you trying to do?):
I am trying to do an mbox restore into an account, but would like all the messages to be under a label.
Actual outcome (what errors or bad behavior do you see instead?):
I see all the messages restore, but --label-prefix is not applied.

Hi. Same problem here.
I've tried version 1.30 and 1.31 with --label-restored but it didn't work for me.
Try with local account, and with --service-account without positive results.
All the mail is restores, but all the labels are at the top level.
Any debug to help?
Regards

Unfortunately, I can't contribute to open source projects without jumping through some company hoops, but I will tell you that it's a 2-line change to gyb.py to make this work. Sorry that is a really unhelpful comment.

I had this problem as well, everything restored perfectly, but I could never manage to get the label argument applied.

this should be fixed in latest GYB versions, if not please re-open.

label-prefix for mbox restore doesn't work. I looked through the source code, the label-prefix code is only in the restore action, it's not executed within the restore-mbox action


Moment is not found after include

After imported moment in my porject, I used this syntax for TypeScript:
import * as moment from 'moment';
but I had an error: "moment not found";
I fixed this bug by modifying the moment.d.ts this way:
change
export = moment;
for
declare module "moment" {
    export = moment;
}

now it works.
does everybody have this issue or I do something wrong?

Same here, VS Code can't seem to find moment type definitions when using import:
import moment from "moment";
But changing the moment.d.ts file so that (at the end):
declare module "moment" {
    export = moment;
}

Fixes the problem.

@ichernev, just closing the issue without any comment? Is it fixed, is it not going to be fixed, is the issue not an issue at all?

Getting back to this waaaaay after it was closed or anything but it should be noted that this is fixed in TypeScript by passing the compiler option --esModuleInterop.
I was going through all my packages in my project and found that I applied this "hacky" resolution as proposed by daganox. Simply passing --esModuleInterop makes the main lib work fine with import moment from 'moment'


Add Bucket#compose

This PR add Bucket#compose, with support for setting the properties of the destination file and for encryption keys.
[closes #94]

While writing acceptance tests for the encryption keys support, I observed that the service uses the x-goog-encryption-key and related headers to decrypt the source files. I had expected it to use x-goog-copy-source-encryption-key for the source files and x-goog-encryption-key for the destination file, but that does not seem to be the case. Therefore, I will only be able to accept a key for the sources.
@frankyn Does this sound correct to you?

Therefore, I will only be able to accept a key for the sources. The destination file will have to be encrypted (if desired) after creation via objects.rewrite.

LGTM :+1:

@frankyn Actually, I was mistaken, it appears that if the sources are encrypted with a customer-supplied key, the destination will be encrypted with the same key.

Even better, IMO.

@blowmage @frankyn This PR is ready for review.


Optimize imports in HookedTransformer

Description
Delete a bunch of unused imports in HookedTransformer.py
No issue.
Type of change

Refactor

Checklist:

~I have commented my code, particularly in hard-to-understand areas~
~I have made corresponding changes to the documentation~
[x] My changes generate no new warnings
~have added tests that prove my fix is effective or that my feature works~
~New and existing unit tests pass locally with my changes~
~I have not rewritten tests relating to key interfaces which would affect backward compatibility~

Hmm...i just realised, maybe all these imports are unused due to the star import from TransformerLens.components import *. So actually it might be better to remove the star import. I may do this anyway as part of splitting each component into a different file

1 to avoiding import *. If you remove that and then make appropriate imports so everything works then will accept. Based on other chat, I'm not expecting splitting up the components file.


Maps deinit logic for complex key/value types

Complex map keys/value deinit are not an easy feat to manage. If a key/value type requires a deinit call to be properly freed, it is currently not managed in any way.

Probably can use hasDecl or something like that to know if a deinit "method" exists.

This example works, so all our problems are solved.
const Demo2 = struct {
    a : ?u32,
    b : ?u32,

    pub const _desc_table = .{
        .a = fd(1, .{.Varint = .ZigZagOptimized}),
        .b = fd(2, .{.Varint = .ZigZagOptimized}),
    };

    pub fn encode(self: Demo2, allocator: *mem.Allocator) ![]u8 {
        return pb_encode(self, allocator);
    }

    pub fn deinit(self: Demo2) void {
        pb_deinit(self);
    }
};

test "hasdecl" {
    try testing.expect(@hasDecl(Demo2, "deinit"));
}


[FEAT]: Live file sync

What would you like to see?
As a user, I want to be able to upload some file or link and then have that content automatically be "refreshed" when changes are introduced to the original file without having to upload a new version.
Note: Due to browser limitation and security issues this may have to be invoked manually

@timothycarambat Can you assign me this issue?
I am pretty sure I can work on this one!

@krishhh16 this is not a trivial issue and would require a substantial amount of work and implementation across the entire system. We will reserve this for the core team


[Task]: client-zip is no longer being pushed to the repository

What needs to happen?
To reduce the artifacts to upload the .zip files are excluded but excludes the client.
Issue Priority
Priority: 3
Issue Component
Component: Other

.take-issue


Adds new annotation to provide return values to future returning methods

Description
Updates the annotation package to support a new type of annotation.
Solves issue #74
Background
When your driver has a method which returns a future. Then you currently run into problem.
Since if you want to provide a default value using @DriverAction then the value which you pass in there, it needs to be a const value. Since the annotation needs to have a const constructor.
And you cannot out-of-the-box create a const-future.
Solution
We add a new annotation which you can use when your function is returning a future.
The new annotation is called: DriverFutureAction and into it you pass the return value of the future which you are retunrning. See this example for how you can use this:
class CoffeeLibraryPageDriver extends WidgetDriver {
  @DriverFutureAction(false)
  Future<bool> getCoffees() async {
    ... // Some logic..
    return false;
  }
}

That would now generate this code:
class _$TestCoffeeLibraryPageDriver extends TestDriver
    implements CoffeeLibraryPageDriver {
  @override
  Future<bool> getCoffees() {
    return Future.value(false);
  }
}

More info
This is a multi step rocket.

First we update the annotations to have this new annotation.
Then we update the generator to generate that new code using this new annotation
Update the example app to showcase how to use this new annotation

Type of Change

[x] 🚀 New feature (non-breaking change)
[ ] 🛠 Bug fix (non-breaking change)
[ ] ⚠ Breaking change (feature or bug fix which breaks existing behaviors/APIs)
[ ] 🏗 Code refactor
[ ] ⚙ Build configuration change
[ ] 📝 Documentation
[ ] 🧹 Chore / Housekeeping

This is still a draft PR.. I will add some unit tests here also.
They will come tomorrow


fix id token

@oobohP can this get merged in?

@MomenSherif Can you please review this change and merge it?


Update EfficientSAM_example.ipynb

Fix typo

Thanks for the fix. Can you resolve the conflict and send again>

The typo was fixed recently, so I can cancel my PR


Sort manifest file list in tests

Different OS's and file systems return lists of files in different  orders, not always creation order. This caused intermittent test failures.
The file list is now sorted prior to being checked to ensure a consistent order across all systems.
Fixes #816

Thanks Tim.


Added polygon drawing support.

I assume the reason this library does not already accept drawing polygons is because it requires triangulation. I had a shot a remedying that. I will admit my knowledge of the inner workings of the library are sketchy at best, and my implementation is not ideal, especially in performance, but I figure anything is better than nothing.

Thank you, this looks good! To fix the CI the formatter needs to be run in nightly mode:
rustup toolchain install nightly
cargo +nightly fmt

Regarding performance, I think it would be good to split up the triangulation step from the drawing step, so the expensive triangulation doesn't need to be done every frame. For example:
let my_polygon = Polygon::new(&[
        Vector2::new(0.0, 0.0),
        Vector2::new(1.0, 0.0),
        Vector2::new(0.0, 1.0)
]);

graphics.draw_polygon((100.0, 200.0), &my_polygon, Color::BLUE);

The triangulation would be done inside Polygon::new() -- that way draw_polygon() can simply append the already-generated triangles to the render queue.
Also just a minor note, the docs are slightly ambiguous about the order in which the vertices need to be provided. They presumably do need to be provided either clockwise or counter-clockwise, otherwise sets of vertices for certain concave shapes would have multiple possible renderings (e.g. think of a concave pentagon, with four vertices arranged in a square, and the fifth in the middle). It might be best for the docs to restrict this to "clockwise" for future-proofing, and consistency with draw_triangle().
Otherwise this is great, so thanks for submitting this!

Thanks for the feedback! Sorry about that formatting issue, I had a brain fart there.
About the order of vertices. earcutr will output the same triangulation if the input is reversed. But I think that I understand your point is that Speed2D might change to something else in the future, which may not have the same property.
I made the changes you outlined for performance. I wasn't sure what the most user friendly way of allowing for coloring of vertices was, and it didn't look quite right before, so I removed that bit. Let me know your thoughts!

Perfect, thank you! I'll aim to get this merged in within the next week.

About the order of vertices. earcutr will output the same triangulation if the input is reversed

Ah sorry, I just meant that if the vertices were in a totally random order it wouldn't work -- 12345 and 54321 should be fine, but 13524 for example would produce something weird. So a comment along the lines of "either clockwise or counter-clockwise" might be less ambiguous than "any order".
Regarding limiting it to clockwise only, after thinking about it some more, I guess people are going to unknowingly rely on the "either way" behaviour -- if we change that in future it could break that existing code, which I'd like to avoid even if the user is defying the docs :smile: So it may actually be best to say both orders are acceptable, and we'll stick to that contract in future.

I wasn't sure what the most user friendly way of allowing for coloring of vertices was, and it didn't look quite right before, so I removed that bit. Let me know your thoughts!

Yeah, that's a good point. Perhaps the Polygon struct could also store the corresponding input vertex IDs along with the triangle vertices, which would allow the user to pass in a &[Color] to draw_polygon_vertex_colors() like before.

Thanks again! I've made some changes to this and have released v1.5.0.


[WIP] Support /test-whole-conformance and daily job

Fixed issue #819

Support /test-whole-conformance to trigger a whole conformance test
Support daily whole conformance test

/test-windows-conformance

/test-windows-conformance

/test-windows-conformance

Looks good to me.

By the way, did you test that it can successfully send out email?

By the way, did you test that it can successfully send out email?

I tried it on a test job and it worked.

Looks OK to me.

/skip-all


[EOC-237] Sign in backend update with login password

Sending user data via cookie is removed.

I had to add a small fix to the layout component. On page refresh dashboard always was displayed. This error occurred because I changed the way of sending user data to the client and old logic didn't work.


Added Automated Testing for Downloading Files

Replaced Manual Node File with Automated Jest Test

Key Point of Error with Jest and Axios
Important to set Jest's Environment
/**
 * @jest-environment node
 */

@zackradisic Workflow is not using Environment Variables Correct and thus does not have CLIENT_ID

Client ID is mysteriously broken so we'll use a throwaway one for now.


Add code for a touch controller. Should work on iOS/Android

This code is cribbed from http://github.com/greggman/hft-gamepad-api and
http://github.com/greggman/happyfuntimes
It doesn't seem to work in Edge at the moment.

Finally got around to getting this to build
You should only need
index.html
controller/controller.js
controller/css/controller.cs
controller/assets/gear-icon.svg

I think
If you're a node guy and you want to mod it you can rebuild with
npm install   # installs needed packages in ./node_modules
./node_modules/grunt-cli/bin/grunt

That will build controller/controller.js

Awesome! I will upload it to the mcu tonight and test!

Darn, the .js appears to be too big; uploading it resets the device. I added gzip compression to the httpserver, but apparently 43Kb is still too big. Out of flash?

Changed it to use controller/controller.min.js. If you gzip that it's 25k.
I can try to rip stuff out after that if that doesn't work

Good move. I'll test tonight.

That did it! Just one typo: s/controller-min/controller.min/


Wiki page for extra mods

Should make a wiki page for mods that are not going to be included but could be useful for some either way. Most rejected ones, perhaps?

https://github.com/Madis0/fabulously-optimized/wiki/Mods-that-won't-be-included


How to get the schemaName and tableName with a TableScanNode?

I've search the code for many times, or there is no way for this calling?

You directly cannot get schemaName and tableName from TableScanNode.But  instances of ConnectorTableHandle may have this information based on your need.
TableScaneNode.getTableHandle().getConnectorHandle() will give an instance of ConnectorTableHandle.You can check and typecast this to your interested ConnectorTableHandle and retrieve tableName and schema name. To see how to set them see : com.facebook.presto.connector.informationSchema.InformationSchemaTableHandle.

Or instead you can call Metadata.getTableMetadata(TableScaneNode.getTableHandle()).getTable().getSchemaName();
and
Metadata.getTableMetadata(TableScaneNode.getTableHandle()).getTable().getTableName();

Thanks so much! The last answer perfectly meet my need.


Remove removal of DISPLAY environment variable

The issue has to do with the lines 9-10:
if "DISPLAY" in os.environ:
    del os.environ["DISPLAY"]

This seems to remove the DISPLAY environment variable unnecessarily, as on line 50 of xvfbwrapper.py, self.orig_display is set to the value of DISPLAY.
if 'DISPLAY' in os.environ:
    self.orig_display = os.environ['DISPLAY'].split(':')[1]

self.orig_display is checked on line 83, which is where the error occurs. Because of xvfb.py removing the environment variable and self.orig_display being set to the original value, on line 84 when it tries to remove DISPLAY, it has already been removed by xvfb.py, so it throws a KeyError.
if self.orig_display is None:
    del os.environ['DISPLAY']

The solution is simply to remove the removal of the DISPLAY environment variable in xvfb.py, as it is already handled by xvfbwrapper.py

I was going to do a pull request myself on this one.
+1 on this one.

Thanks @willzhang05!


added ability to set custom selfhosted server url

Added the option to set custom server url for use with selfhosted asciinema server
PowerSession.exe server

thank you - it doesn't look like the code is formatted, could you run a cargo fmt plz?

Hi, I've updated the formatting and the change